MDL-42081 EditPDF: Add default stamp images
[moodle.git] / theme / anomaly / config.php
blobc921541e58f77629a694825969cc92806709bea5
1 <?php
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(
10 'base',
11 'general',
12 'browser',
13 'dock',
14 'menu',
15 'settings'
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
27 /// is not used.
28 ////////////////////////////////////////////////////////////////////////////////
30 $THEME->layouts = array(
31 // Most pages - if we encounter an unknown or a missing page type, this one is used.
32 'base' => array(
33 'file' => 'general.php',
34 'regions' => array()
36 'standard' => array(
37 'file' => 'general.php',
38 'regions' => array('side-pre', 'side-post'),
39 'defaultregion' => 'side-pre',
40 'options' => array('langmenu' => true)
42 // Course page
43 'course' => array(
44 'file' => 'general.php',
45 'regions' => array('side-pre', 'side-post'),
46 'defaultregion' => 'side-pre',
47 'options' => array('langmenu' => true)
49 // Course page
50 'coursecategory' => array(
51 'file' => 'general.php',
52 'regions' => array('side-pre', 'side-post'),
53 'defaultregion' => 'side-pre',
54 'options' => array('langmenu' => true)
56 'incourse' => array(
57 'file' => 'general.php',
58 'regions' => array('side-pre', 'side-post'),
59 'defaultregion' => 'side-pre',
60 'options' => array('langmenu' => true)
62 'frontpage' => array(
63 'file' => 'frontpage.php',
64 'regions' => array('side-pre', 'side-post'),
65 'defaultregion' => 'side-pre',
66 'options' => array('langmenu' => true)
68 'admin' => array(
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)
80 'mypublic' => array(
81 'file' => 'general.php',
82 'regions' => array('side-pre', 'side-post'),
83 'defaultregion' => 'side-pre',
84 'options' => array('langmenu' => true)
86 'login' => array(
87 'file' => 'general.php',
88 'regions' => array()
90 // Pages that appear in pop-up windows - no navigation, no blocks, no header.
91 'popup' => array(
92 'file' => 'general.php',
93 'regions' => array(),
94 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
96 // No blocks and minimal footer - used for legacy frame layouts only!
97 'frametop' => array(
98 'file' => 'general.php',
99 'regions' => array(),
100 'options' => array('nofooter', 'noblocks'=>true, 'nocoursefooter'=>true),
102 // Embeded pages, like iframe embeded in moodleform
103 'embedded' => array(
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.
117 'print' => array(
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.
123 'redirect' => array(
124 'file' => 'embedded.php',
125 'regions' => array(),
126 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true),
128 // The pagelayout used for reports.
129 'report' => array(
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.
136 'secure' => array(
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');