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
|
@ -2733,11 +2733,11 @@ function print_textarea($usehtmleditor, $rows, $cols, $width, $height, $name, $v
|
|||
* @return string|void Depending on value of $return
|
||||
*/
|
||||
function helpbutton($page, $title, $module='moodle', $image=true, $linktext=false, $text='', $return=false, $imagetext='') {
|
||||
debugging('helpbutton() has been deprecated. Please change your code to use $OUTPUT->help_icon().');
|
||||
debugging('helpbutton() has been deprecated. Please change your code to use $OUTPUT->old_help_icon().');
|
||||
|
||||
global $OUTPUT;
|
||||
|
||||
$output = $OUTPUT->help_icon($page, $title, $module, $linktext);
|
||||
$output = $OUTPUT->old_help_icon($page, $title, $module, $linktext);
|
||||
|
||||
// hide image with CSS if needed
|
||||
|
||||
|
@ -3291,7 +3291,7 @@ function popup_form($baseurl, $options, $formid, $selected='', $nothing='choose'
|
|||
$select->disabled = $disabled;
|
||||
|
||||
$select->set_label($selectlabel);
|
||||
$select->set_help_icon($help, $helptext);
|
||||
$select->set_old_help_icon($help, $helptext);
|
||||
|
||||
$output = $OUTPUT->render($select);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue