MDL-40891 work around make_writable_directory() race condition
[moodle.git] / theme / sky_high / config.php
blob39343f0cb501154c945ca9d8e257c924785e3f47
1 <?php
2 // This file is part of Moodle - http://moodle.org/
3 //
4 // Moodle is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // Moodle is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License
15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
17 /**
20 * DO NOT MODIFY THIS THEME!
21 * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD.
23 * For full information about creating Moodle themes, see:
24 * http://docs.moodle.org/dev/Themes_2.0
26 * @package theme_sky_high
29 $THEME->name = 'sky_high';
31 ////////////////////////////////////////////////////
32 // Name of the theme. Most likely the name of
33 // the directory in which this file resides.
34 ////////////////////////////////////////////////////
37 $THEME->parents = array(
38 'canvas',
39 'base',
42 /////////////////////////////////////////////////////
43 // Which existing theme(s) in the /theme/ directory
44 // do you want this theme to extend. A theme can
45 // extend any number of themes. Rather than
46 // creating an entirely new theme and copying all
47 // of the CSS, you can simply create a new theme,
48 // extend the theme you like and just add the
49 // changes you want to your theme.
50 ////////////////////////////////////////////////////
53 $THEME->sheets = array(
54 'pagelayout',
55 'core',
56 'menu',
57 'report',
58 'admin',
59 'settings'
62 ////////////////////////////////////////////////////
63 // Name of the stylesheet(s) you've including in
64 // this theme's /styles/ directory.
65 ////////////////////////////////////////////////////
67 $THEME->parents_exclude_sheets = array(
68 'base'=>array(
69 'pagelayout',
71 'canvas'=>array(
72 'pagelayout',
77 $THEME->enable_dock = true;
79 ////////////////////////////////////////////////////
80 // Do you want to use the new navigation dock?
81 ////////////////////////////////////////////////////
84 $THEME->editor_sheets = array('editor');
86 ////////////////////////////////////////////////////
87 // An array of stylesheets to include within the
88 // body of the editor.
89 ////////////////////////////////////////////////////
91 $THEME->layouts = array(
92 'base' => array(
93 'file' => 'general.php',
94 'regions' => array('side-pre', 'side-post'),
95 'defaultregion' => 'side-post',
97 'standard' => array(
98 'file' => 'general.php',
99 'regions' => array('side-pre', 'side-post'),
100 'defaultregion' => 'side-post',
102 'course' => array(
103 'file' => 'general.php',
104 'regions' => array('side-pre', 'side-post'),
105 'defaultregion' => 'side-post'
107 'coursecategory' => array(
108 'file' => 'general.php',
109 'regions' => array('side-pre', 'side-post'),
110 'defaultregion' => 'side-post',
112 'incourse' => array(
113 'file' => 'general.php',
114 'regions' => array('side-pre', 'side-post'),
115 'defaultregion' => 'side-post',
117 'frontpage' => array(
118 'file' => 'frontpage.php',
119 'regions' => array('side-pre', 'side-post'),
120 'defaultregion' => 'side-post',
122 'admin' => array(
123 'file' => 'report.php',
124 'regions' => array('side-pre'),
125 'defaultregion' => 'side-pre',
127 'mydashboard' => array(
128 'file' => 'general.php',
129 'regions' => array('side-pre', 'side-post'),
130 'defaultregion' => 'side-post',
131 'options' => array('langmenu'=>true),
133 'mypublic' => array(
134 'file' => 'general.php',
135 'regions' => array('side-pre', 'side-post'),
136 'defaultregion' => 'side-post',
138 'login' => array(
139 'file' => 'general.php',
140 'regions' => array(),
141 'options' => array('langmenu'=>true),
143 'popup' => array(
144 'file' => 'general.php',
145 'regions' => array(),
146 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
148 'frametop' => array(
149 'file' => 'general.php',
150 'regions' => array(),
151 'options' => array('nofooter'=>true, 'nocoursefooter'=>true),
153 'maintenance' => array(
154 'file' => 'general.php',
155 'regions' => array(),
156 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
158 'embedded' => array(
159 'theme' => 'canvas',
160 'file' => 'embedded.php',
161 'regions' => array(),
162 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
164 // The pagelayout used when a redirection is occuring.
165 'redirect' => array(
166 'theme' => 'canvas',
167 'file' => 'embedded.php',
168 'regions' => array(),
169 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true),
171 // Should display the content and basic headers only.
172 'print' => array(
173 'file' => 'general.php',
174 'regions' => array(),
175 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
177 'report' => array(
178 'file' => 'report.php',
179 'regions' => array('side-pre'),
180 'defaultregion' => 'side-pre',
184 ///////////////////////////////////////////////////////////////
185 // These are all of the possible layouts in Moodle. The
186 // simplest way to do this is to keep the theme and file
187 // variables the same for every layout. Including them
188 // all in this way allows some flexibility down the road
189 // if you want to add a different layout template to a
190 // specific page.
191 ///////////////////////////////////////////////////////////////
193 $THEME->csspostprocess = 'sky_high_process_css';
195 ////////////////////////////////////////////////////
196 // Allows the user to provide the name of a function
197 // that all CSS should be passed to before being
198 // delivered.
199 ////////////////////////////////////////////////////
201 // $THEME->javascripts
203 ////////////////////////////////////////////////////
204 // An array containing the names of JavaScript files
205 // located in /javascript/ to include in the theme.
206 // (gets included in the head)
207 ////////////////////////////////////////////////////
209 // $THEME->javascripts_footer
211 ////////////////////////////////////////////////////
212 // As above but will be included in the page footer.
213 ////////////////////////////////////////////////////
215 // $THEME->larrow
217 ////////////////////////////////////////////////////
218 // Overrides the left arrow image used throughout
219 // Moodle
220 ////////////////////////////////////////////////////
222 // $THEME->rarrow
224 ////////////////////////////////////////////////////
225 // Overrides the right arrow image used throughout Moodle
226 ////////////////////////////////////////////////////
228 // $THEME->parents_exclude_javascripts
230 ////////////////////////////////////////////////////
231 // An array of JavaScript files NOT to inherit from
232 // the themes parents
233 ////////////////////////////////////////////////////
235 // $THEME->plugins_exclude_sheets
237 ////////////////////////////////////////////////////
238 // An array of plugin sheets to ignore and not
239 // include.
240 ////////////////////////////////////////////////////
242 // $THEME->rendererfactory
244 ////////////////////////////////////////////////////
245 // Sets a custom render factory to use with the
246 // theme, used when working with custom renderers.
247 ////////////////////////////////////////////////////