diff --git a/theme/afterburner/config.php b/theme/afterburner/config.php index 47ef8778a17..ca351e34520 100644 --- a/theme/afterburner/config.php +++ b/theme/afterburner/config.php @@ -130,4 +130,6 @@ $THEME->layouts = array( $THEME->enable_dock = true; -$THEME->rendererfactory = 'theme_overridden_renderer_factory'; \ No newline at end of file +$THEME->rendererfactory = 'theme_overridden_renderer_factory'; + +$THEME->csspostprocess = 'afterburner_process_css'; \ No newline at end of file diff --git a/theme/afterburner/lang/en/theme_afterburner.php b/theme/afterburner/lang/en/theme_afterburner.php index 48d12c4c349..d8665ca8b00 100644 --- a/theme/afterburner/lang/en/theme_afterburner.php +++ b/theme/afterburner/lang/en/theme_afterburner.php @@ -26,6 +26,12 @@ $string['pluginname'] = 'Afterburner'; $string['region-side-post'] = 'Right'; $string['region-side-pre'] = 'Left'; +$string['logo'] = 'Logo'; +$string['logodesc'] = 'Please add the URL to your new logo only if you want to replace the default logo for this theme.
For your information, the default logo is a JPG image 320px (wide) by 75px (high)'; +$string['footnote'] = 'Footnote'; +$string['footnotedesc'] = 'Whatever you add to this textarea will be displayed in the footer of every page.'; +$string['customcss'] = 'Custom CSS'; +$string['customcssdesc'] = 'Whatever CSS rules you add to this textarea will be reflected in every page, making for easier customization of this theme.'; $string['choosereadme'] = '
diff --git a/theme/afterburner/layout/default.php b/theme/afterburner/layout/default.php index 8c29b7c311c..d462c17d16d 100644 --- a/theme/afterburner/layout/default.php +++ b/theme/afterburner/layout/default.php @@ -13,6 +13,8 @@ $showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side- $custommenu = $OUTPUT->custom_menu(); $hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); +$hasfootnote = (!empty($PAGE->theme->settings->footnote)); + $bodyclasses = array(); if ($showsidepre && !$showsidepost) { $bodyclasses[] = 'side-pre-only'; @@ -108,6 +110,11 @@ echo $OUTPUT->doctype() ?>