|
|
@ -163,7 +163,7 @@ $form = new FormValidator('course_user_import'); |
|
|
|
$form->addElement('header', '', $tool_name); |
|
|
|
$form->addElement('header', '', $tool_name); |
|
|
|
$form->addElement('file', 'import_file', get_lang('Import marks in an assessment')); |
|
|
|
$form->addElement('file', 'import_file', get_lang('Import marks in an assessment')); |
|
|
|
$form->addElement('checkbox', 'subscribe', get_lang('Action'), get_lang('Add user in the course only if not yet in')); |
|
|
|
$form->addElement('checkbox', 'subscribe', get_lang('Action'), get_lang('Add user in the course only if not yet in')); |
|
|
|
$form->addElement('checkbox', 'unsubscribe', '', get_lang('Remove user from course if his name is not in the list')); |
|
|
|
$form->addElement('checkbox', 'unsubscribe', '', get_lang('Remove users from any courses that are not mentioned explicitly in this file')); |
|
|
|
$form->addButtonImport(get_lang('Import')); |
|
|
|
$form->addButtonImport(get_lang('Import')); |
|
|
|
$form->setDefaults(['subscribe' => '1', 'unsubscribe' => 1]); |
|
|
|
$form->setDefaults(['subscribe' => '1', 'unsubscribe' => 1]); |
|
|
|
$errors = []; |
|
|
|
$errors = []; |
|
|
|