From fef275786fb8c942d5e60e00b43840e40fc11e1a Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 13 Jan 2010 03:00:11 +0000 Subject: [PATCH] outputlib MDL-21325 changed theme_config::DEFAULT_THEME from standard to standard old to get rid of notices. Added javascripts_footer back into the configurable array so that themes can put javascript into the footer. --- lib/outputlib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/outputlib.php b/lib/outputlib.php index cbded86407..0e71902b7b 100644 --- a/lib/outputlib.php +++ b/lib/outputlib.php @@ -105,7 +105,7 @@ class theme_config { * @var string default theme, used when requested theme not found * TODO: MDL-21149 replace with some new default theme when implemented */ - const DEFAULT_THEME = 'standard'; + const DEFAULT_THEME = 'standardold'; /** * You can base your theme on other themes by linking to the other theme as @@ -399,7 +399,7 @@ class theme_config { $baseconfig = $config; } - $configurable = array('parents', 'sheets', 'parents_exclude_sheets', 'plugins_exclude_sheets', 'javascripts', + $configurable = array('parents', 'sheets', 'parents_exclude_sheets', 'plugins_exclude_sheets', 'javascripts', 'javascripts_footer', 'parents_exclude_javascripts', 'layouts', 'resource_mp3player_colors', 'filter_mediaplugin_colors', 'rendererfactory', 'csspostprocess', 'editor_sheets', 'rarrow', 'larrow'); -- 2.39.5