Skip to content

Commit

Permalink
MDL-14972 groupings and groupmembers only help icons; merged from MOO…
Browse files Browse the repository at this point in the history
…DLE_19_STABLE
  • Loading branch information
skodak committed Oct 13, 2008
1 parent 267e9b3 commit 0143840
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions course/moodleform_mod.php
Expand Up @@ -329,11 +329,13 @@ function standard_coursemodule_elements($features=null, $modname=null){
}
}
$mform->addElement('select', 'groupingid', get_string('grouping', 'group'), $options);
$mform->setHelpButton('groupingid', array('grouping', get_string('grouping', 'group')));
$mform->setAdvanced('groupingid');
}

if ($this->_features->groupmembersonly) {
$mform->addElement('checkbox', 'groupmembersonly', get_string('groupmembersonly', 'group'));
$mform->setHelpButton('groupmembersonly', array('groupmembersonly', get_string('groupmembersonly', 'group')));
$mform->setAdvanced('groupmembersonly');
}
}
Expand Down

0 comments on commit 0143840

Please sign in to comment.