|
|
@ -71,7 +71,6 @@ $interbreadcrumb[] = array ('url' => 'index.php', 'name' => get_lang('PlatformAd |
|
|
|
$interbreadcrumb[] = array('url' => 'usergroups.php', 'name' => get_lang('Classes')); |
|
|
|
$interbreadcrumb[] = array('url' => 'usergroups.php', 'name' => get_lang('Classes')); |
|
|
|
|
|
|
|
|
|
|
|
// Database Table Definitions |
|
|
|
// Database Table Definitions |
|
|
|
|
|
|
|
|
|
|
|
// Setting the name of the tool. |
|
|
|
// Setting the name of the tool. |
|
|
|
$tool_name = get_lang('ImportClassListCSV'); |
|
|
|
$tool_name = get_lang('ImportClassListCSV'); |
|
|
|
|
|
|
|
|
|
|
@ -84,7 +83,6 @@ $form = new FormValidator('import_classes'); |
|
|
|
$form->addElement('file', 'import_file', get_lang('ImportCSVFileLocation')); |
|
|
|
$form->addElement('file', 'import_file', get_lang('ImportCSVFileLocation')); |
|
|
|
$group = array(); |
|
|
|
$group = array(); |
|
|
|
$group[] = $form->createElement('radio', 'file_type', '', 'CSV (<a href="example_class.csv" target="_blank">' . get_lang('ExampleCSVFile') . '</a>)', 'csv'); |
|
|
|
$group[] = $form->createElement('radio', 'file_type', '', 'CSV (<a href="example_class.csv" target="_blank">' . get_lang('ExampleCSVFile') . '</a>)', 'csv'); |
|
|
|
//$group[] = $form->createElement('radio', 'file_type', null, 'XML (<a href="example.xml" target="_blank">'.get_lang('ExampleXMLFile').'</a>)', 'xml'); |
|
|
|
|
|
|
|
$form->addGroup($group, '', get_lang('FileType'), '<br/>'); |
|
|
|
$form->addGroup($group, '', get_lang('FileType'), '<br/>'); |
|
|
|
$form->addElement('style_submit_button', 'submit', get_lang('Import'), 'class="save"'); |
|
|
|
$form->addElement('style_submit_button', 'submit', get_lang('Import'), 'class="save"'); |
|
|
|
|
|
|
|
|
|
|
@ -116,6 +114,5 @@ $form->display(); |
|
|
|
"User group 1";"Description" |
|
|
|
"User group 1";"Description" |
|
|
|
</pre> |
|
|
|
</pre> |
|
|
|
<?php |
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
|
|
// Displaying the footer. |
|
|
|
// Displaying the footer. |
|
|
|
Display :: display_footer(); |
|
|
|
Display :: display_footer(); |