3 $THEME->name
= 'afterburner';
5 $THEME->parents
= array('base');
7 $THEME->sheets
= array(
8 'afterburner_layout', /** Must come first: Page layout **/
9 'afterburner_styles', /** Must come second: default styles **/
13 'afterburner_calendar',
15 'afterburner_settings',
19 $THEME->parents_exclude_sheets
= array(
25 $THEME->editor_sheets
= array('editor');
27 $THEME->layouts
= array(
28 // Most backwards compatible layout without the blocks - this is the layout used by default
30 'file' => 'default.php',
33 // Standard layout with blocks, this is recommended for most pages with default information
35 'file' => 'default.php',
36 'regions' => array('side-pre', 'side-post'),
37 'defaultregion' => 'side-post',
41 'file' => 'default.php',
42 'regions' => array('side-pre', 'side-post'),
43 'defaultregion' => 'side-post',
44 'options' => array('langmenu'=>true),
46 'coursecategory' => array(
47 'file' => 'default.php',
48 'regions' => array('side-pre', 'side-post'),
49 'defaultregion' => 'side-post',
51 // part of course, typical for modules - default page layout if $cm specified in require_login()
53 'file' => 'default.php',
54 'regions' => array('side-pre', 'side-post'),
55 'defaultregion' => 'side-post',
57 // The site home page.
59 'file' => 'default.php',
60 'regions' => array('side-pre', 'side-post'),
61 'defaultregion' => 'side-post',
62 'options' => array('langmenu'=>true),
64 // Server administration scripts.
66 'file' => 'default.php',
67 'regions' => array('side-pre'),
68 'defaultregion' => 'side-pre',
71 'mydashboard' => array(
72 'file' => 'default.php',
73 'regions' => array('side-post'),
74 'defaultregion' => 'side-post',
75 'options' => array('langmenu'=>true),
79 'file' => 'default.php',
80 'regions' => array('side-pre'),
81 'defaultregion' => 'side-pre',
84 'file' => 'default.php',
86 'options' => array('langmenu'=>true),
89 // Pages that appear in pop-up windows - no navigation, no blocks, no header.
91 'file' => 'default.php',
93 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologininfo'=>true),
95 // No blocks and minimal footer - used for legacy frame layouts only!
97 'file' => 'default.php',
99 'options' => array('nofooter'=>true),
101 // Embedded pages, like iframe/object embeded in moodleform - it needs as much space as possible
103 'file' => 'embedded.php',
106 // Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
107 // This must not have any blocks, and it is good idea if it does not have links to
108 // other places - for example there should not be a home link in the footer...
109 'maintenance' => array(
110 'file' => 'default.php',
111 'regions' => array(),
112 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true),
114 // Should display the content and basic headers only.
116 'file' => 'default.php',
117 'regions' => array(),
118 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>false, 'nocustommenu'=>true),
120 // The pagelayout used when a redirection is occuring.
122 'file' => 'embedded.php',
125 // The pagelayout used for reports
127 'file' => 'default.php',
128 'regions' => array('side-pre'),
129 'defaultregion' => 'side-pre',
133 $THEME->enable_dock
= true;
135 $THEME->rendererfactory
= 'theme_overridden_renderer_factory';
137 $THEME->csspostprocess
= 'afterburner_process_css';