From f39ea78f7a4c2019b97cedca65b87d8fb446ad59 Mon Sep 17 00:00:00 2001 From: Kathrin Osswald <kathrin.osswald@uni-ulm.de> Date: Fri, 31 May 2019 12:09:36 +0200 Subject: [PATCH] Adjusted function render_login() in core_renderer.php due to upstream changes in theme Boost. --- CHANGES.md | 1 + classes/output/core_renderer.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index c9fefe8..acaf8a2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 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. * 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. diff --git a/classes/output/core_renderer.php b/classes/output/core_renderer.php index cf58768..787b7bc 100644 --- a/classes/output/core_renderer.php +++ b/classes/output/core_renderer.php @@ -392,7 +392,7 @@ class core_renderer extends \core_renderer { * Override to use theme_boost_campus login template * Renders the login form. * - * 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 * * @param \core_auth\output\login $form The renderable. * @return string @@ -415,7 +415,7 @@ class core_renderer extends \core_renderer { } $context->logourl = $url; $context->sitename = format_string($SITE->fullname, true, - ['context' => context_course::instance(SITEID), "escape" => false]); + ['context' => context_course::instance(SITEID), "escape" => false]); // MODIFICATION START. // Only if setting "loginform" is checked, then call own login.mustache. if (get_config('theme_boost_campus', 'loginform') == 'yes') { -- GitLab