]> git.mjollnir.org Git - moodle.git/commitdiff
outputlib MDL-21325 changed theme_config::DEFAULT_THEME from standard to standard...
authorSam Hemelryk <sam@moodle.com>
Wed, 13 Jan 2010 03:00:11 +0000 (03:00 +0000)
committerSam Hemelryk <sam@moodle.com>
Wed, 13 Jan 2010 03:00:11 +0000 (03:00 +0000)
Added javascripts_footer back into the configurable array so that themes can put javascript into the footer.

lib/outputlib.php

index cbded86407233e5bfd50050a064617db450568b1..0e71902b7ba002d9475253e1aeb853c1705c4b6d 100644 (file)
@@ -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');