Skip to content
Snippets Groups Projects
Commit b77b8516 authored by Kathrin Osswald's avatar Kathrin Osswald
Browse files

Further formal changes to the renderers to be constistent with Moodle core.

parent a57f94ad
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ Changes
### Unreleased
* 2019-06-03 - Further formal changes to the renderers to be constistent with Moodle core.
* 2019-05-31 - Adjusted function render_help_icon() in core_renderer.php due to upstream changes in theme Boost.
* 2019-05-31 - Adjusted function render_login() in core_renderer.php due to upstream changes in theme Boost.
* 2019-05-31 - Adjusted function context_header_settings_menu() in core_renderer.php due to upstream changes in theme Boost.
......
......@@ -294,6 +294,7 @@ class core_renderer extends \core_renderer {
$showfrontpagemenu = false;
$showusermenu = false;
// We are on the course home page.
// MODIFICATION START.
// REASON: With the original code, the course settings icon will only appear on the course main page.
// Therefore the access to the course settings and related functions is not possible on other
......@@ -450,5 +451,9 @@ class core_renderer extends \core_renderer {
return $this->render_from_template('core/help_icon', $context);
}
// MODIFICATION END.
/* ORIGINAL START.
$context = $helpicon->export_for_template($this);
return $this->render_from_template('core/help_icon', $context);
ORIGINAL END. */
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment