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:
nicolasconnault 2007-03-22 05:24:29 +00:00
parent 64cba5c9d7
commit b1c72d0a07

View File

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