mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +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
|
@ -50,7 +50,7 @@ class user_filter_select extends user_filter_type {
|
|||
$objs[] =& $mform->createElement('select', $this->_name.'_op', null, $this->get_operators());
|
||||
$objs[] =& $mform->createElement('select', $this->_name, null, $this->_options);
|
||||
$grp =& $mform->addElement('group', $this->_name.'_grp', $this->_label, $objs, '', false);
|
||||
$grp->setHelpButton(array('select', $this->_label, 'filters'));
|
||||
$mform->setHelpButton($this->_name.'_grp', array('select', $this->_label, 'filters'));
|
||||
$mform->disabledIf($this->_name, $this->_name.'_op', 'eq', 0);
|
||||
if (!is_null($this->_default)) {
|
||||
$mform->setDefault($this->_name, $this->_default);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue