From c88aa256eaa7cc2e5f0b97e08fec58d524f6825c Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 25 Jul 2012 14:11:07 +0200 Subject: [PATCH] Minor fixing labels --- main/admin/session_import.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main/admin/session_import.php b/main/admin/session_import.php index abe3bad4ac..b15e3fdd15 100644 --- a/main/admin/session_import.php +++ b/main/admin/session_import.php @@ -83,7 +83,6 @@ if ($_POST['formSent']) { if (empty($password)) { $password = api_generate_password(); } - switch ($node_user->Status) { case 'student' : $status = 5; @@ -781,8 +780,8 @@ $form = new FormValidator('import_sessions', 'post', api_get_self(), null, array $form->addElement('hidden', 'formSent', 1); $form->addElement('file', 'import_file', get_lang('ImportFileLocation')); -$form->addElement('radio', 'file_type', array(get_lang('FileType'), ''.get_lang('ExampleXMLFile').''), 'CSV', 'csv'); -$form->addElement('radio', 'file_type', array(null, ''.get_lang('ExampleCSVFile').''), 'XML', 'xml'); +$form->addElement('radio', 'file_type', array(get_lang('FileType'), ''.get_lang('ExampleCSVFile').''), 'CSV', 'csv'); +$form->addElement('radio', 'file_type', array(null, ''.get_lang('ExampleXMLFile').''), 'XML', 'xml'); $form->addElement('checkbox', 'sendMail', null, get_lang('SendMailToUsers')); $form->addElement('button', 'submit', get_lang('ImportSession'));