mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Really big cleanup of how "forced" themes were implemented.
Course themes now work better. theme/xxxx/styles.php is now really short because all the logic is in weblib.php.
This commit is contained in:
parent
373d5f2083
commit
9c4e6e2177
4 changed files with 99 additions and 118 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
$CFG->theme = $preview;
|
||||
|
||||
theme_setup($CFG->theme, 'localconfig=true&themename='.$CFG->theme);
|
||||
theme_setup($CFG->theme, array('forceconfig='.$CFG->theme));
|
||||
|
||||
$stradministration = get_string("administration");
|
||||
$strconfiguration = get_string("configuration");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue