]> git.mjollnir.org Git - moodle.git/commit
1. Changes to allow different priorities in the theme selection based on
authorikawhero <ikawhero>
Wed, 2 May 2007 09:35:35 +0000 (09:35 +0000)
committerikawhero <ikawhero>
Wed, 2 May 2007 09:35:35 +0000 (09:35 +0000)
commit8f8210b3e83a3e0e24f5206d830612dbd4b0f0e2
tree794574ba3e5cd11eb61a21bd530f3c438291ba51
parent0a5dffccd707a2ec68ba7a4ac942cf3511aa41ff
1. Changes to allow different priorities in the theme selection based on
CFG->themeorder setting

2. Changes to allow category themes. Theme can now be set for a category
which will apply to all sub-categories (unless they specifically have a
theme set) and to child courses (course theme and $CFG->themeorder
settings permitting). New config setting $CFG->allowcategorythemes must
be set. Off by default as it means extra database calls.

There is an ugly hack to find out if we are viewing course/category.php -
anyone welcome to tidy this up if they have a better idea.

GUI for setting category theme coming.
lib/weblib.php