mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-17 05:48:43 +02:00
Issue #12: English references removed, using language pack, except on code related to Issue #11 later.
This commit is contained in:
@@ -41,7 +41,7 @@ class delete extends \moodleform {
|
||||
$mform->addElement('hidden', 'id');
|
||||
$mform->setType('id', PARAM_INT);
|
||||
|
||||
$this->add_action_buttons(true, get_string('ok'));
|
||||
$this->add_action_buttons(true, get_string('remove'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -41,16 +41,16 @@ class edit extends \moodleform {
|
||||
$mform->addElement('hidden', 'id');
|
||||
$mform->setType('id', PARAM_INT);
|
||||
|
||||
$mform->addElement('date_time_selector', 'starttime', 'Start Time');
|
||||
$mform->addElement('date_time_selector', 'starttime', get_string('starttime', 'auth_outage'));
|
||||
|
||||
$mform->addElement('date_time_selector', 'stoptime', 'Stop Time');
|
||||
$mform->addElement('date_time_selector', 'stoptime', get_string('stoptime', 'auth_outage'));
|
||||
|
||||
$mform->addElement('duration', 'warningduration', 'Warning Duration');
|
||||
$mform->addElement('duration', 'warningduration', get_string('warningduration', 'auth_outage'));
|
||||
|
||||
$mform->addElement('text', 'title', 'Title');
|
||||
$mform->addElement('text', 'title', get_string('title', 'auth_outage'));
|
||||
$mform->setType('title', PARAM_TEXT);
|
||||
|
||||
$mform->addElement('editor', 'description', 'Description');
|
||||
$mform->addElement('editor', 'description', get_string('description', 'auth_outage'));
|
||||
|
||||
$this->add_action_buttons();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user