function context_ui_import_page in Context 6.2
Same name and namespace in other branches
- 5 context_ui/context_ui_admin.inc \context_ui_import_page()
- 6 context_ui/context_ui.admin.inc \context_ui_import_page()
Page callback for import form. Switches form output to context form if import submission has occurred.
1 string reference to 'context_ui_import_page'
- context_ui_menu in context_ui/
context_ui.module - Implementation of hook_menu().
File
- context_ui/
context_ui.admin.inc, line 567
Code
function context_ui_import_page() {
if (!empty($_POST) && $_POST['form_id'] == 'context_ui_form') {
return drupal_get_form('context_ui_form', 'add');
}
return drupal_get_form('context_ui_import');
}