소스 검색

Minor fixing labels

Julio Montoya 12 년 전
부모
커밋
c88aa256ea
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      main/admin/session_import.php

+ 2 - 3
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'), '<a href="example_session.xml" target="_blank">'.get_lang('ExampleXMLFile').'</a>'), 'CSV', 'csv');
-$form->addElement('radio', 'file_type', array(null, '<a href="example_session.csv" target="_blank">'.get_lang('ExampleCSVFile').'</a>'), 'XML', 'xml');
+$form->addElement('radio', 'file_type', array(get_lang('FileType'), '<a href="example_session.csv" target="_blank">'.get_lang('ExampleCSVFile').'</a>'), 'CSV', 'csv');
+$form->addElement('radio', 'file_type', array(null, '<a href="example_session.xml" target="_blank">'.get_lang('ExampleXMLFile').'</a>'), 'XML', 'xml');
 
 $form->addElement('checkbox', 'sendMail', null, get_lang('SendMailToUsers'));
 $form->addElement('button', 'submit', get_lang('ImportSession'));