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', 'browser');
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->layouts = array(
27 // Most pages - if we encounter an unknown or a missing page type, this one is used.
29 'file' => 'general.php',
33 'file' => 'general.php',
34 'regions' => array('side-pre', 'side-post'),
35 'defaultregion' => 'side-post',
36 'options' => array('langmenu' => true)
40 'file' => 'general.php',
41 'regions' => array('side-pre', 'side-post'),
42 'defaultregion' => 'side-post',
43 'options' => array('langmenu' => true)
46 'coursecategory' => array(
47 'file' => 'general.php',
48 'regions' => array('side-pre', 'side-post'),
49 'defaultregion' => 'side-post',
50 'options' => array('langmenu' => true)
53 'file' => 'general.php',
54 'regions' => array('side-pre', 'side-post'),
55 'defaultregion' => 'side-post',
56 'options' => array('langmenu' => true)
59 'file' => 'general.php',
60 'regions' => array('side-pre', 'side-post'),
61 'defaultregion' => 'side-post',
62 'options' => array('langmenu' => true)
65 'file' => 'general.php',
66 'regions' => array('side-pre'),
67 'defaultregion' => 'side-pre',
68 'options' => array('langmenu' => true)
70 'mydashboard' => array(
71 'file' => 'general.php',
72 'regions' => array('side-pre', 'side-post'),
73 'defaultregion' => 'side-post',
74 'options' => array('langmenu' => true)
77 'file' => 'general.php',
78 'regions' => array('side-pre', 'side-post'),
79 'defaultregion' => 'side-post',
80 'options' => array('langmenu' => true)
83 'file' => 'general.php',
86 // Pages that appear in pop-up windows - no navigation, no blocks, no header.
88 'file' => 'general.php',
90 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
92 // No blocks and minimal footer - used for legacy frame layouts only!
94 'file' => 'general.php',
96 'options' => array('nofooter', 'noblocks'=>true),
98 // Embeded pages, like iframe embeded in moodleform
100 'file' => 'general.php',
101 'regions' => array(),
102 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
104 // Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
105 // This must not have any blocks, and it is good idea if it does not have links to
106 // other places - for example there should not be a home link in the footer...
107 'maintenance' => array(
108 'file' => 'general.php',
109 'regions' => array(),
110 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
112 // Should display the content and basic headers only.
114 'file' => 'general.php',
115 'regions' => array(),
116 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
119 'file' => 'report.php',
120 'regions' => array('side-pre'),
121 'defaultregion' => 'side-pre',
122 'options' => array('langmenu' => true)
126 $THEME->rendererfactory = 'theme_overridden_renderer_factory';
127 $THEME->enable_dock = true;
128 //$THEME->javascripts_footer = array('navigation');
130 $THEME->editor_sheets = array('editor');