mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
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.
This commit is contained in:
parent
c684febcc3
commit
fef275786f
@ -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');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user