2 ////////////////////////////////////////////////////////////////////////////////
3 /// This file contains a few configuration variables that control
4 /// how Moodle uses this theme.
5 ////////////////////////////////////////////////////////////////////////////////
7 $THEME->name
= 'anomaly';
9 $THEME->sheets
= array(
17 /// This variable is an array containing the names of all the
18 /// stylesheet files you want included in this theme, and in what order
19 ////////////////////////////////////////////////////////////////////////////////
21 $THEME->parents
= array('base');
22 /// This variable can be set to the name of a parent theme
23 /// which you want to have included before the current theme.
24 /// This can make it easy to make modifications to another
25 /// theme without having to actually change the files
26 /// If this variable is empty or false then a parent theme
28 ////////////////////////////////////////////////////////////////////////////////
30 $THEME->layouts
= array(
31 // Most pages - if we encounter an unknown or a missing page type, this one is used.
33 'file' => 'general.php',
37 'file' => 'general.php',
38 'regions' => array('side-pre', 'side-post'),
39 'defaultregion' => 'side-pre',
40 'options' => array('langmenu' => true)
44 'file' => 'general.php',
45 'regions' => array('side-pre', 'side-post'),
46 'defaultregion' => 'side-pre',
47 'options' => array('langmenu' => true)
50 'coursecategory' => array(
51 'file' => 'general.php',
52 'regions' => array('side-pre', 'side-post'),
53 'defaultregion' => 'side-pre',
54 'options' => array('langmenu' => true)
57 'file' => 'general.php',
58 'regions' => array('side-pre', 'side-post'),
59 'defaultregion' => 'side-pre',
60 'options' => array('langmenu' => true)
63 'file' => 'frontpage.php',
64 'regions' => array('side-pre', 'side-post'),
65 'defaultregion' => 'side-pre',
66 'options' => array('langmenu' => true)
69 'file' => 'general.php',
70 'regions' => array('side-pre'),
71 'defaultregion' => 'side-pre',
72 'options' => array('langmenu' => true)
74 'mydashboard' => array(
75 'file' => 'general.php',
76 'regions' => array('side-pre', 'side-post'),
77 'defaultregion' => 'side-pre',
78 'options' => array('langmenu' => true)
81 'file' => 'general.php',
82 'regions' => array('side-pre', 'side-post'),
83 'defaultregion' => 'side-pre',
84 'options' => array('langmenu' => true)
87 'file' => 'general.php',
90 // Pages that appear in pop-up windows - no navigation, no blocks, no header.
92 'file' => 'general.php',
94 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
96 // No blocks and minimal footer - used for legacy frame layouts only!
98 'file' => 'general.php',
100 'options' => array('nofooter', 'noblocks'=>true, 'nocoursefooter'=>true),
102 // Embeded pages, like iframe embeded in moodleform
104 'file' => 'general.php',
105 'regions' => array(),
106 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
108 // Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
109 // This must not have any blocks, and it is good idea if it does not have links to
110 // other places - for example there should not be a home link in the footer...
111 'maintenance' => array(
112 'file' => 'general.php',
113 'regions' => array(),
114 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
116 // Should display the content and basic headers only.
118 'file' => 'general.php',
119 'regions' => array(),
120 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
122 // The pagelayout used when a redirection is occuring.
124 'file' => 'embedded.php',
125 'regions' => array(),
126 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true),
128 // The pagelayout used for reports.
130 'file' => 'report.php',
131 'regions' => array('side-pre'),
132 'defaultregion' => 'side-pre',
133 'options' => array('langmenu' => true),
135 // The pagelayout used for safebrowser and securewindow.
137 'file' => 'general.php',
138 'regions' => array('side-pre', 'side-post'),
139 'defaultregion' => 'side-pre',
140 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologinlinks'=>true, 'nocourseheaderfooter'=>true),
144 $THEME->rendererfactory
= 'theme_overridden_renderer_factory';
146 $THEME->csspostprocess
= 'anomaly_process_css';
148 $THEME->enable_dock
= true;
150 $THEME->editor_sheets
= array('editor');