mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +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
|
@ -36,7 +36,7 @@ class block_search_forums extends block_base {
|
|||
'<input id="searchform_search" name="search" type="text" size="16" />';
|
||||
$this->content->text .= '<button id="searchform_button" type="submit" title="'.$search.'">'.$button.'</button><br />';
|
||||
$this->content->text .= '<a href="'.$CFG->wwwroot.'/mod/forum/search.php?id='.$this->page->course->id.'">'.$advancedsearch.'</a>';
|
||||
$this->content->text .= $OUTPUT->help_icon(moodle_help_icon::make('search', $advancedsearch));
|
||||
$this->content->text .= $OUTPUT->help_icon('search', $advancedsearch);
|
||||
$this->content->text .= '</fieldset></form></div>';
|
||||
|
||||
return $this->content;
|
||||
|
|
|
@ -232,7 +232,7 @@ class block_tags extends block_base {
|
|||
$tagthisunit = get_string('tagthisunit', $tagslang);
|
||||
$buttonadd = get_string('add', $tagslang);
|
||||
$arrowtitle = get_string('arrowtitle', $tagslang);
|
||||
$coursetaghelpbutton = $OUTPUT->help_icon(moodle_help_icon::make('addtags', 'adding tags', $tagslang));
|
||||
$coursetaghelpbutton = $OUTPUT->help_icon('addtags', 'adding tags', $tagslang);
|
||||
$sesskey = sesskey();
|
||||
$arrowright = $OUTPUT->pix_url('t/arrow_left');
|
||||
$this->content->footer .= <<<EOT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue