mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +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
|
@ -49,13 +49,7 @@ class mod_lesson_renderer extends plugin_renderer_base {
|
|||
$output = $this->output->header();
|
||||
|
||||
if (has_capability('mod/lesson:manage', $context)) {
|
||||
|
||||
$helpicon = new moodle_help_icon();
|
||||
$helpicon->text = $activityname;
|
||||
$helpicon->page = "overview";
|
||||
$helpicon->module = "lesson";
|
||||
|
||||
$output .= $this->output->heading_with_help($helpicon);
|
||||
$output .= $this->output->heading_with_help($activityname, 'overview', 'lesson');
|
||||
|
||||
if (!empty($currenttab)) {
|
||||
ob_start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue