Merge branch 'wip-mdl-27562' of git://github.com/rajeshtaneja/moodle
[moodle.git] / theme / afterburner / config.php
blobf1b5859ca2e1fc1f3529317ea684dda64be38c13
1 <?php
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 **/
10 'afterburner_menu',
11 'afterburner_blocks',
12 'afterburner_mod',
13 'afterburner_calendar',
14 'afterburner_dock',
15 'afterburner_settings',
16 'rtl'
19 $THEME->parents_exclude_sheets = array(
20 'base'=>array(
21 'pagelayout',
22 'dock'
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
29 'base' => array(
30 'file' => 'default.php',
31 'regions' => array(),
33 // Standard layout with blocks, this is recommended for most pages with default information
34 'standard' => array(
35 'file' => 'default.php',
36 'regions' => array('side-pre', 'side-post'),
37 'defaultregion' => 'side-post',
39 // Main course page
40 'course' => array(
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()
52 'incourse' => array(
53 'file' => 'default.php',
54 'regions' => array('side-pre', 'side-post'),
55 'defaultregion' => 'side-post',
57 // The site home page.
58 'frontpage' => array(
59 'file' => 'default.php',
60 'regions' => array('side-pre', 'side-post'),
61 'defaultregion' => 'side-post',
62 'options' => array('langmenu'=>true),
64 // Server administration scripts.
65 'admin' => array(
66 'file' => 'default.php',
67 'regions' => array('side-pre'),
68 'defaultregion' => 'side-pre',
70 // My dashboard page
71 'mydashboard' => array(
72 'file' => 'default.php',
73 'regions' => array('side-post'),
74 'defaultregion' => 'side-post',
75 'options' => array('langmenu'=>true),
77 // My public page
78 'mypublic' => array(
79 'file' => 'default.php',
80 'regions' => array('side-pre'),
81 'defaultregion' => 'side-pre',
83 'login' => array(
84 'file' => 'default.php',
85 'regions' => array(),
86 'options' => array('langmenu'=>true),
89 // Pages that appear in pop-up windows - no navigation, no blocks, no header.
90 'popup' => array(
91 'file' => 'default.php',
92 'regions' => array(),
93 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologininfo'=>true),
95 // No blocks and minimal footer - used for legacy frame layouts only!
96 'frametop' => array(
97 'file' => 'default.php',
98 'regions' => array(),
99 'options' => array('nofooter'=>true),
101 // Embedded pages, like iframe/object embeded in moodleform - it needs as much space as possible
102 'embedded' => array(
103 'file' => 'embedded.php',
104 'regions' => array()
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.
115 'print' => array(
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.
121 'redirect' => array(
122 'file' => 'embedded.php',
123 'regions' => array()
125 // The pagelayout used for reports
126 'report' => array(
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';