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

Adjusted function full_header() in core_renderer.php due to upstream changes in theme Boost.

parent 50bf2c7b
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ Changes
### Unreleased
* 2019-05-31 - Adjusted function full_header() in core_renderer.php due to upstream changes in theme Boost.
* 2019-05-31 - Fixed referencing of renderers due to upstream changes in theme Boost.
* 2019-05-31 - Prepare compatibility for Moodle 3.7.
......
......@@ -141,7 +141,7 @@ class core_renderer extends \core_renderer {
* Override to display switched role information beneath the course header instead of the user menu.
* We change this because the switch role function is course related and therefore it should be placed in the course context.
*
* MODIFICATION: This renderer function is copied and modified from /theme/boost/classes/output/core_renderer.php
* MODIFICATION: This renderer function is copied and modified from /lib/outputrenderers.php
*
* Wrapper for header elements.
*
......@@ -197,10 +197,10 @@ class core_renderer extends \core_renderer {
// MODIFICATION START:
// Change this to add the result in the html variable to be able to add further features below the header.
// Render from the own header template.
$html = $this->render_from_template('theme_boost_campus/header', $header);
$html = $this->render_from_template('theme_boost_campus/full_header', $header);
// MODIFICATION END.
/* ORIGINAL START
return $this->render_from_template('theme_boost/header', $header);
return $this->render_from_template('core/full_header', $header);
ORIGINAL END. */
// MODIFICATION START:
......
......@@ -15,7 +15,7 @@
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template theme_boost_campus/header
@template theme_boost_campus/full_header
This template renders the header.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment