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

Added source information to all overridden renderers.

parent 30d3d88e
Branches
Tags
No related merge requests found
......@@ -4,6 +4,10 @@ moodle-theme_boost_campus
Changes
-------
### Unreleased
* 2019-04-15 - Added source information to all overridden renderers.
### Release v3.6-r2
* 2019-02-13 - Added source information to renderers that are overridden from core directly.
......
......@@ -63,6 +63,9 @@ class core_renderer extends \theme_boost\output\core_renderer {
* Override to display an edit button again by calling the parent function
* in core/core_renderer because theme_boost's function returns an empty
* string and therefore displays nothing.
*
* MODIFICATION: This renderer function is copied and modified from /theme/boost/classes/output/core_renderer.php
*
* @param moodle_url $url The current course url.
* @return \core_renderer::edit_button Moodle edit button.
*/
......@@ -138,6 +141,8 @@ class core_renderer extends \theme_boost\output\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
*
* Wrapper for header elements.
*
* @return string HTML to display the main header.
......@@ -274,6 +279,8 @@ class core_renderer extends \theme_boost\output\core_renderer {
* This is an optional menu that can be added to a layout by a theme. It contains the
* menu for the course administration, only on the course main page.
*
* MODIFICATION: This renderer function is copied and modified from /theme/boost/classes/output/core_renderer.php
*
* @return string
*/
public function context_header_settings_menu() {
......@@ -385,6 +392,8 @@ class core_renderer extends \theme_boost\output\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
*
* @param \core_auth\output\login $form The renderable.
* @return string
*/
......@@ -423,6 +432,8 @@ class core_renderer extends \theme_boost\output\core_renderer {
/**
* Implementation of user image rendering.
*
* MODIFICATION: This renderer function is copied and modified from /theme/boost/classes/output/core_renderer.php
*
* @param help_icon $helpicon A help icon instance
* @return string HTML fragment
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment