function stringoverrides_admin_import in String Overrides 5
Same name and namespace in other branches
- 6 stringoverrides.admin.inc \stringoverrides_admin_import()
Menu callback for the String Overrides module to display the import administration
1 string reference to 'stringoverrides_admin_import'
- stringoverrides_menu in ./
stringoverrides.module - Implementation of hook_menu()
File
- ./
stringoverrides.admin.inc, line 133 - Admin page callbacks for the String Overrides module.
Code
function stringoverrides_admin_import() {
$form = array();
$form['#attributes'] = array(
'enctype' => "multipart/form-data",
);
$form['file'] = array(
'#type' => 'file',
'#title' => t('Import *.po File'),
'#description' => t('Attach your *.po file here to import the string overrides.'),
);
$form['import'] = array(
'#type' => 'submit',
'#value' => t('Import'),
'#weight' => 3,
);
return $form;
}