3 ////////////////////////////////////////////////////////////////////////////////
4 /// This file contains a few configuration variables that control
5 /// how Moodle uses this theme.
6 ////////////////////////////////////////////////////////////////////////////////
8 $THEME->name = 'anomaly';
10 $THEME->sheets = array('base', 'general', 'layout', 'browser','navigation');
11 /// This variable is an array containing the names of all the
12 /// stylesheet files you want included in this theme, and in what order
13 ////////////////////////////////////////////////////////////////////////////////
15 $THEME->parents = array('base'); // TODO: new themes can not be based on standardold, instead use 'base' as the base
16 /// This variable can be set to the name of a parent theme
17 /// which you want to have included before the current theme.
18 /// This can make it easy to make modifications to another
19 /// theme without having to actually change the files
20 /// If this variable is empty or false then a parent theme
22 ////////////////////////////////////////////////////////////////////////////////
24 $THEME->parents_exclude_sheets = array('base'=>array('styles_moz'));
26 $THEME->resource_mp3player_colors =
27 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
28 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
29 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes';
30 /// With this you can control the colours of the "big" MP3 player
31 /// that is used for MP3 resources.
34 $THEME->filter_mediaplugin_colors =
35 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'.
36 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'.
38 /// ...And this controls the small embedded player
40 $THEME->editor_sheets = array('styles_tinymce');
42 $THEME->layouts = array(
43 // Most pages - if we encounter an unknown or a missing page type, this one is used.
45 'file' => 'general.php',
49 'file' => 'general.php',
50 'regions' => array('side-pre', 'side-post'),
51 'defaultregion' => 'side-post'
55 'file' => 'general.php',
56 'regions' => array('side-pre', 'side-post'),
57 'defaultregion' => 'side-post'
60 'coursecategory' => array(
61 'file' => 'general.php',
62 'regions' => array('side-pre', 'side-post'),
63 'defaultregion' => 'side-post'
66 'file' => 'general.php',
67 'regions' => array('side-pre', 'side-post'),
68 'defaultregion' => 'side-post'
71 'file' => 'general.php',
72 'regions' => array('side-pre', 'side-post'),
73 'defaultregion' => 'side-post'
76 'file' => 'general.php',
77 'regions' => array('side-pre'),
78 'defaultregion' => 'side-pre'
80 'mydashboard' => array(
81 'file' => 'general.php',
82 'regions' => array('side-pre', 'side-post'),
83 'defaultregion' => 'side-post'
86 'file' => 'general.php',
87 'regions' => array('side-pre', 'side-post'),
88 'defaultregion' => 'side-post'
91 'file' => 'general.php',
94 // Pages that appear in pop-up windows - no navigation, no blocks, no header.
96 'file' => 'general.php',
98 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
100 // No blocks and minimal footer - used for legacy frame layouts only!
102 'file' => 'general.php',
103 'regions' => array(),
104 'options' => array('nofooter', 'noblocks'=>true),
106 // Embeded pages, like iframe embeded in moodleform
108 'file' => 'general.php',
109 'regions' => array(),
110 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
112 // Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
113 // This must not have any blocks, and it is good idea if it does not have links to
114 // other places - for example there should not be a home link in the footer...
115 'maintenance' => array(
116 'file' => 'general.php',
117 'regions' => array(),
118 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
122 $THEME->rendererfactory = 'theme_overridden_renderer_factory';
123 $THEME->enable_dock = true;
124 $THEME->javascripts_footer = array('navigation');