Merge branch 'MDL-39264-master-int' of git://github.com/FMCorz/moodle

This commit is contained in:
Dan Poltawski 2013-04-22 17:23:43 +01:00
commit fe5bb43ae5
2 changed files with 4 additions and 2 deletions

View File

@ -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';

View File

@ -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);