mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-39264 chat: Reformat module settings form
This commit is contained in:
parent
b88338f647
commit
47f0ae5908
@ -114,7 +114,7 @@ $string['refreshuserlist'] = 'Refresh user list';
|
||||
$string['removemessages'] = 'Remove all messages';
|
||||
$string['repeatdaily'] = 'At the same time every day';
|
||||
$string['repeatnone'] = 'No repeats - publish the specified time only';
|
||||
$string['repeattimes'] = 'Repeat sessions';
|
||||
$string['repeattimes'] = 'Repeat/publish session times';
|
||||
$string['repeatweekly'] = 'At the same time every week';
|
||||
$string['saidto'] = 'said to';
|
||||
$string['savemessages'] = 'Save past sessions';
|
||||
|
@ -25,6 +25,9 @@ class mod_chat_mod_form extends moodleform_mod {
|
||||
|
||||
$this->add_intro_editor(true, get_string('chatintro', 'chat'));
|
||||
|
||||
// Chat sessions.
|
||||
$mform->addElement('header', 'sessionshdr', get_string('sessions', 'chat'));
|
||||
|
||||
$mform->addElement('date_time_selector', 'chattime', get_string('chattime', 'chat'));
|
||||
|
||||
$options=array();
|
||||
@ -34,7 +37,6 @@ class mod_chat_mod_form extends moodleform_mod {
|
||||
$options[3] = get_string('repeatweekly', 'chat');
|
||||
$mform->addElement('select', 'schedule', get_string('repeattimes', 'chat'), $options);
|
||||
|
||||
|
||||
$options=array();
|
||||
$options[0] = get_string('neverdeletemessages', 'chat');
|
||||
$options[365] = get_string('numdays', '', 365);
|
||||
|
Loading…
x
Reference in New Issue
Block a user