mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-35078 enrol: allow times to be chose on bulk enrolment forms
Previously only a date was available, which made it ambigious whether the the enrolment was inclusive of the date. Now we use a time to make it less ambigious. This matches changes done in other forms in MDL-41173.
This commit is contained in:
parent
8f06fffbe1
commit
900a559a3c
@ -44,8 +44,8 @@ abstract class enrol_bulk_enrolment_change_form extends moodleform {
|
||||
$statusoptions = $this->get_status_options();
|
||||
$form->addElement('html', $this->get_users_table($users, $statusoptions));
|
||||
$form->addElement('select', 'status', get_string('alterstatus', 'enrol_manual'), $statusoptions, array('optional' => true));
|
||||
$form->addElement('date_selector', 'timestart', get_string('altertimestart', 'enrol_manual'), array('optional' => true));
|
||||
$form->addElement('date_selector', 'timeend', get_string('altertimeend', 'enrol_manual'), array('optional' => true));
|
||||
$form->addElement('date_time_selector', 'timestart', get_string('altertimestart', 'enrol_manual'), array('optional' => true));
|
||||
$form->addElement('date_time_selector', 'timeend', get_string('altertimeend', 'enrol_manual'), array('optional' => true));
|
||||
|
||||
$this->add_action_buttons();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user