From: Sam Hemelryk Date: Wed, 13 Jan 2010 03:00:11 +0000 (+0000) Subject: outputlib MDL-21325 changed theme_config::DEFAULT_THEME from standard to standard... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fef275786fb8c942d5e60e00b43840e40fc11e1a;p=moodle.git 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. --- 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');