function import_script_selection_form in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6
Same name and namespace in other branches
- 6.2 import/merci_import.php \import_script_selection_form()
1 string reference to 'import_script_selection_form'
- import_selection_page in import/
merci_import.php
File
- import/
merci_import.php, line 257 - Administrative page for adding MERCI bucket/resource content types and items.
Code
function import_script_selection_form() {
$form = array();
$form['#attributes'] = array(
'enctype' => 'multipart/form-data',
);
$form['content_types_file'] = array(
'#type' => 'file',
'#title' => t('CSV file for bucket/resource content types'),
'#description' => t("Must be a comma separated file, double-quote text delimiters, backslash for escape character."),
);
$form['items_file'] = array(
'#type' => 'file',
'#title' => t('CSV file for bucket/resource items'),
'#description' => t("Must be a comma separated file, double-quote text delimiters, backslash for escape character."),
);
$form['has_js'] = array(
'#type' => 'hidden',
'#default_value' => FALSE,
'#attributes' => array(
'id' => 'edit-has_js',
),
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => 'Import',
);
return $form;
}