Skip to content
Snippets Groups Projects
Commit 7de7e02c authored by Alexander Bias's avatar Alexander Bias
Browse files

Bugfix: Option to output the information banner without any particular...

Bugfix: Option to output the information banner without any particular Bootstrap color was broken on the login page.
parent eee1d4cd
No related branches found
Tags
No related merge requests found
...@@ -6,6 +6,7 @@ Changes ...@@ -6,6 +6,7 @@ Changes
### Unreleased ### Unreleased
* 2021-03-13 - Bugfix: Option to output the information banner without any particular Bootstrap color was broken on the login page.
* 2021-03-13 - Make Behat tests functional again on Github Actions. * 2021-03-13 - Make Behat tests functional again on Github Actions.
* 2021-03-13 - Bugfix: Unrestricted self enrolment hint did not respect existing but disabled enrolment instances. * 2021-03-13 - Bugfix: Unrestricted self enrolment hint did not respect existing but disabled enrolment instances.
......
...@@ -74,9 +74,7 @@ if ($timedibenable) { ...@@ -74,9 +74,7 @@ if ($timedibenable) {
$timedibcontent = format_text(get_config('theme_boost_campus', 'timedibcontent'), FORMAT_HTML, $formatoptions); $timedibcontent = format_text(get_config('theme_boost_campus', 'timedibcontent'), FORMAT_HTML, $formatoptions);
// Result of multiselect is a string divided by a comma, so exploding into an array. // Result of multiselect is a string divided by a comma, so exploding into an array.
$timedibshowonpages = explode(",", get_config('theme_boost_campus', 'timedibshowonpages')); $timedibshowonpages = explode(",", get_config('theme_boost_campus', 'timedibshowonpages'));
if ($perpibcss != 'none') {
$timedibcss = get_config('theme_boost_campus', 'timedibcss'); $timedibcss = get_config('theme_boost_campus', 'timedibcss');
}
$timedibstartsetting = get_config('theme_boost_campus', 'timedibstart'); $timedibstartsetting = get_config('theme_boost_campus', 'timedibstart');
$timedibendsetting = get_config('theme_boost_campus', 'timedibend'); $timedibendsetting = get_config('theme_boost_campus', 'timedibend');
// Get the current server time. // Get the current server time.
...@@ -87,7 +85,9 @@ if ($timedibenable) { ...@@ -87,7 +85,9 @@ if ($timedibenable) {
// Add the variables to the templatecontext array. // Add the variables to the templatecontext array.
$templatecontext['timedibcontent'] = $timedibcontent; $templatecontext['timedibcontent'] = $timedibcontent;
if ($timedibcss != 'none') {
$templatecontext['timedibcss'] = $timedibcss; $templatecontext['timedibcss'] = $timedibcss;
}
$templatecontext['timedinfobannershowonselectedpage'] = $timedinfobannershowonselectedpage; $templatecontext['timedinfobannershowonselectedpage'] = $timedinfobannershowonselectedpage;
} }
// MODIFICATION END. // MODIFICATION END.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment