mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions
This commit is contained in:
parent
48a67d9f01
commit
4bcc51185c
113 changed files with 442 additions and 970 deletions
|
@ -33,7 +33,7 @@ class user_filter_globalrole extends user_filter_type {
|
|||
*/
|
||||
function setupForm(&$mform) {
|
||||
$obj =& $mform->addElement('select', $this->_name, $this->_label, $this->get_roles());
|
||||
$obj->setHelpButton(array('globalrole', $this->_label, 'filters'));
|
||||
$mform->setHelpButton($this->_name, array('globalrole', $this->_label, 'filters'));
|
||||
$mform->setDefault($this->_name, 0);
|
||||
if ($this->_advanced) {
|
||||
$mform->setAdvanced($this->_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue