mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help
This commit is contained in:
parent
9f9193f623
commit
596509e431
55 changed files with 116 additions and 116 deletions
|
@ -2287,7 +2287,7 @@ function switchroles_form($courseid) {
|
|||
unset($roles[$CFG->guestroleid]);
|
||||
$popupurl = new moodle_url('/course/view.php', array('id'=>$courseid, 'sesskey'=>sesskey()));
|
||||
$select = new single_select($popupurl, 'switchrole', $roles, null, array(''=>get_string('switchroleto')), 'switchrole');
|
||||
$select->set_help_icon('switchrole', get_string('switchroleto'));
|
||||
$select->set_old_help_icon('switchrole', get_string('switchroleto'));
|
||||
return $OUTPUT->render($select);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue