mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-8807 and MDL-8564: Jamie had replaced the three group modes with Yes and No, for some
undocumented reason (See http://moodle.cvs.sourceforge.net/moodle/moodle/lib/form/modgroupmode.php?diff_format=h&view=log&pathrev=MOODLE_18_STABLE#revtext). I reverted his changes, and this seems to work normally now.
This commit is contained in:
parent
64cba5c9d7
commit
b1c72d0a07
@ -42,8 +42,11 @@ class MoodleQuickForm_modgroupmode extends MoodleQuickForm_select{
|
||||
switch ($event) {
|
||||
case 'createElement':
|
||||
$choices = array();
|
||||
$choices[0] = get_string('no');
|
||||
$choices[1] = get_string('yes');
|
||||
|
||||
$choices[NOGROUPS] = get_string('groupsnone');
|
||||
$choices[SEPARATEGROUPS] = get_string('groupsseparate');
|
||||
$choices[VISIBLEGROUPS] = get_string('groupsvisible');
|
||||
|
||||
$this->setHelpButton(array('groupmode', get_string('groupmode')));
|
||||
$this->load($choices);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user