2 // This file is part of Moodle - http://moodle.org/
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.
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/>.
18 * Configuration for Moodle's nonzero theme.
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_nonzero
27 * @copyright 2008 NodeThirtyThree (http://nodethirtythree.com/)
28 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
31 $THEME->name
= 'nonzero';
33 ////////////////////////////////////////////////////
34 // Name of the theme. Most likely the name of
35 // the directory in which this file resides.
36 ////////////////////////////////////////////////////
39 $THEME->parents
= array(
44 /////////////////////////////////////////////////////
45 // Which existing theme(s) in the /theme/ directory
46 // do you want this theme to extend. A theme can
47 // extend any number of themes. Rather than
48 // creating an entirely new theme and copying all
49 // of the CSS, you can simply create a new theme,
50 // extend the theme you like and just add the
51 // changes you want to your theme.
52 ////////////////////////////////////////////////////
55 $THEME->sheets
= array(
60 ////////////////////////////////////////////////////
61 // Name of the stylesheet(s) you've including in
62 // this theme's /styles/ directory.
63 ////////////////////////////////////////////////////
65 $THEME->parents_exclude_sheets
= array(
75 $THEME->enable_dock
= true;
77 ////////////////////////////////////////////////////
78 // Do you want to use the new navigation dock?
79 ////////////////////////////////////////////////////
82 $THEME->editor_sheets
= array('editor');
84 ////////////////////////////////////////////////////
85 // An array of stylesheets to include within the
86 // body of the editor.
87 ////////////////////////////////////////////////////
89 $THEME->layouts
= array(
91 'file' => 'general.php',
92 'regions' => array('side-pre', 'side-post'),
93 'defaultregion' => 'side-post',
96 'file' => 'general.php',
97 'regions' => array('side-pre', 'side-post'),
98 'defaultregion' => 'side-post',
101 'file' => 'general.php',
102 'regions' => array('side-pre', 'side-post'),
103 'defaultregion' => 'side-post'
105 'coursecategory' => array(
106 'file' => 'general.php',
107 'regions' => array('side-pre', 'side-post'),
108 'defaultregion' => 'side-post',
111 'file' => 'general.php',
112 'regions' => array('side-pre', 'side-post'),
113 'defaultregion' => 'side-post',
115 'frontpage' => array(
116 'file' => 'frontpage.php',
117 'regions' => array('side-pre', 'side-post'),
118 'defaultregion' => 'side-post',
121 'file' => 'general.php',
122 'regions' => array('side-pre'),
123 'defaultregion' => 'side-pre',
125 'mydashboard' => array(
126 'file' => 'general.php',
127 'regions' => array('side-pre', 'side-post'),
128 'defaultregion' => 'side-post',
129 'options' => array('langmenu'=>true),
132 'file' => 'general.php',
133 'regions' => array('side-pre', 'side-post'),
134 'defaultregion' => 'side-post',
137 'file' => 'general.php',
138 'regions' => array(),
139 'options' => array('langmenu'=>true),
142 'file' => 'general.php',
143 'regions' => array(),
144 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
147 'file' => 'general.php',
148 'regions' => array(),
149 'options' => array('nofooter'=>true, 'nocoursefooter'=>true),
151 'maintenance' => array(
152 'file' => 'general.php',
153 'regions' => array(),
154 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
158 'file' => 'embedded.php',
159 'regions' => array(),
160 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
162 // Should display the content and basic headers only.
164 'file' => 'general.php',
165 'regions' => array(),
166 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
169 'file' => 'general.php',
170 'regions' => array('side-pre'),
171 'defaultregion' => 'side-pre',
175 ///////////////////////////////////////////////////////////////
176 // These are all of the possible layouts in Moodle. The
177 // simplest way to do this is to keep the theme and file
178 // variables the same for every layout. Including them
179 // all in this way allows some flexibility down the road
180 // if you want to add a different layout template to a
182 ///////////////////////////////////////////////////////////////
184 $THEME->csspostprocess
= 'nonzero_process_css';
186 ////////////////////////////////////////////////////
187 // Allows the user to provide the name of a function
188 // that all CSS should be passed to before being
190 ////////////////////////////////////////////////////
192 // $THEME->javascripts
194 ////////////////////////////////////////////////////
195 // An array containing the names of JavaScript files
196 // located in /javascript/ to include in the theme.
197 // (gets included in the head)
198 ////////////////////////////////////////////////////
200 // $THEME->javascripts_footer
202 ////////////////////////////////////////////////////
203 // As above but will be included in the page footer.
204 ////////////////////////////////////////////////////
208 ////////////////////////////////////////////////////
209 // Overrides the left arrow image used throughout
211 ////////////////////////////////////////////////////
215 ////////////////////////////////////////////////////
216 // Overrides the right arrow image used throughout Moodle
217 ////////////////////////////////////////////////////
221 ////////////////////////////////////////////////////
222 // An array setting the layouts for the theme
223 ////////////////////////////////////////////////////
225 // $THEME->parents_exclude_javascripts
227 ////////////////////////////////////////////////////
228 // An array of JavaScript files NOT to inherit from
229 // the themes parents
230 ////////////////////////////////////////////////////
232 // $THEME->parents_exclude_sheets
234 ////////////////////////////////////////////////////
235 // An array of stylesheets not to inherit from the
237 ////////////////////////////////////////////////////
239 // $THEME->plugins_exclude_sheets
241 ////////////////////////////////////////////////////
242 // An array of plugin sheets to ignore and not
244 ////////////////////////////////////////////////////
246 // $THEME->rendererfactory
248 ////////////////////////////////////////////////////
249 // Sets a custom render factory to use with the
250 // theme, used when working with custom renderers.
251 ////////////////////////////////////////////////////