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:
moodler 2005-02-13 08:34:10 +00:00
parent 373d5f2083
commit 9c4e6e2177
4 changed files with 99 additions and 118 deletions

View file

@ -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");