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

Improved SCSS settings to be used with admin_setting_scsscode that validates...

Improved SCSS settings to be used with admin_setting_scsscode that validates the code before saving.
parent 0d5790b9
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ Changes
### Unreleased
* 2020-06-22 - Improved SCSS settings to be used with admin_setting_scsscode that validates the code before saving.
* 2020-06-08 - Adjusted post.scss due to upstream changes in theme Boost.
* 2020-06-08 - Fixed functionality bug for back to top button.
* 2020-06-05 - Fixing broken behat step.
......
......@@ -163,7 +163,7 @@ if ($ADMIN->fulltree) {
$name = 'theme_boost_campus/scsspre';
$title = get_string('rawscsspre', 'theme_boost', null, true);
$description = get_string('rawscsspre_desc', 'theme_boost', null, true);
$setting = new admin_setting_configtextarea($name, $title, $description, '', PARAM_RAW);
$setting = new admin_setting_scsscode($name, $title, $description, '', PARAM_RAW);
$setting->set_updatedcallback('theme_reset_all_caches');
$page->add($setting);
......@@ -171,7 +171,7 @@ if ($ADMIN->fulltree) {
$name = 'theme_boost_campus/scss';
$title = get_string('rawscss', 'theme_boost', null, true);
$description = get_string('rawscss_desc', 'theme_boost', null, true);
$setting = new admin_setting_configtextarea($name, $title, $description, '', PARAM_RAW);
$setting = new admin_setting_scsscode($name, $title, $description, '', PARAM_RAW);
$setting->set_updatedcallback('theme_reset_all_caches');
$page->add($setting);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment