Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE
[moodle.git] / theme / nimble / config.php
bloba7fb9e3ebf6606bcfbacef261ffc3f7e3f98b606
1 <?php
3 // This file is part of Moodle - http://moodle.org/
4 //
5 // Moodle is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // Moodle is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 /**
19 * Configuration for Moodle's nimble theme.
21 * DO NOT MODIFY THIS THEME!
22 * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD.
24 * For full information about creating Moodle themes, see:
25 * http://docs.moodle.org/dev/Themes_2.0
27 * @package moodlecore
28 * @copyright 2010 Patrick Malley (http://newschoollearning.com/)
29 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
32 $THEME->name = 'nimble';
34 ////////////////////////////////////////////////////
35 // Name of the theme. Most likely the name of
36 // the directory in which this file resides.
37 ////////////////////////////////////////////////////
40 $THEME->parents = array(
41 'canvas',
42 'base',
45 /////////////////////////////////////////////////////
46 // Which existing theme(s) in the /theme/ directory
47 // do you want this theme to extend. A theme can
48 // extend any number of themes. Rather than
49 // creating an entirely new theme and copying all
50 // of the CSS, you can simply create a new theme,
51 // extend the theme you like and just add the
52 // changes you want to your theme.
53 ////////////////////////////////////////////////////
56 $THEME->sheets = array(
57 'core',
58 'pagelayout',
59 'colors',
60 'menu',
63 ////////////////////////////////////////////////////
64 // Name of the stylesheet(s) you've including in
65 // this theme's /styles/ directory.
66 ////////////////////////////////////////////////////
68 $THEME->parents_exclude_sheets = array(
69 'base'=>array(
70 'pagelayout',
72 'canvas'=>array(
73 'pagelayout',
78 $THEME->enable_dock = true;
80 ////////////////////////////////////////////////////
81 // Do you want to use the new navigation dock?
82 ////////////////////////////////////////////////////
85 $THEME->editor_sheets = array('editor');
87 ////////////////////////////////////////////////////
88 // An array of stylesheets to include within the
89 // body of the editor.
90 ////////////////////////////////////////////////////
92 $THEME->layouts = array(
93 'base' => array(
94 'file' => 'general.php',
95 'regions' => array(),
97 'standard' => array(
98 'file' => 'general.php',
99 'regions' => array('side-post'),
100 'defaultregion' => 'side-post',
102 'course' => array(
103 'file' => 'general.php',
104 'regions' => array('side-post'),
105 'defaultregion' => 'side-post'
107 'coursecategory' => array(
108 'file' => 'general.php',
109 'regions' => array('side-post'),
110 'defaultregion' => 'side-post',
112 'incourse' => array(
113 'file' => 'general.php',
114 'regions' => array('side-post'),
115 'defaultregion' => 'side-post',
117 'frontpage' => array(
118 'file' => 'frontpage.php',
119 'regions' => array('side-post'),
120 'defaultregion' => 'side-post',
122 'admin' => array(
123 'file' => 'general.php',
124 'regions' => array('side-post'),
125 'defaultregion' => 'side-post',
127 'mydashboard' => array(
128 'file' => 'general.php',
129 'regions' => array('side-post'),
130 'defaultregion' => 'side-post',
131 'options' => array('langmenu'=>true),
133 'mypublic' => array(
134 'file' => 'general.php',
135 'regions' => array('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),
148 'frametop' => array(
149 'file' => 'general.php',
150 'regions' => array(),
151 'options' => array('nofooter'=>true),
153 'maintenance' => array(
154 'file' => 'general.php',
155 'regions' => array(),
156 'options' => array('nofooter'=>true, 'nonavbar'=>true),
158 'embedded' => array(
159 'theme' => 'canvas',
160 'file' => 'embedded.php',
161 'regions' => array(),
162 'options' => array('nofooter'=>true, 'nonavbar'=>true),
164 // Should display the content and basic headers only.
165 'print' => array(
166 'file' => 'general.php',
167 'regions' => array(),
168 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
170 'report' => array(
171 'file' => 'general.php',
172 'regions' => array('side-post'),
173 'defaultregion' => 'side-post',
177 ///////////////////////////////////////////////////////////////
178 // These are all of the possible layouts in Moodle. The
179 // simplest way to do this is to keep the theme and file
180 // variables the same for every layout. Including them
181 // all in this way allows some flexibility down the road
182 // if you want to add a different layout template to a
183 // specific page.
184 ///////////////////////////////////////////////////////////////
186 // $THEME->csspostprocess = 'nimble_process_css';
188 ////////////////////////////////////////////////////
189 // Allows the user to provide the name of a function
190 // that all CSS should be passed to before being
191 // delivered.
192 ////////////////////////////////////////////////////
194 // $THEME->javascripts
196 ////////////////////////////////////////////////////
197 // An array containing the names of JavaScript files
198 // located in /javascript/ to include in the theme.
199 // (gets included in the head)
200 ////////////////////////////////////////////////////
202 // $THEME->javascripts_footer
204 ////////////////////////////////////////////////////
205 // As above but will be included in the page footer.
206 ////////////////////////////////////////////////////
208 $THEME->larrow = '&lang;';
210 ////////////////////////////////////////////////////
211 // Overrides the left arrow image used throughout
212 // Moodle
213 ////////////////////////////////////////////////////
215 $THEME->rarrow = '&rang;';
217 ////////////////////////////////////////////////////
218 // Overrides the right arrow image used throughout Moodle
219 ////////////////////////////////////////////////////
221 // $THEME->layouts
223 ////////////////////////////////////////////////////
224 // An array setting the layouts for the theme
225 ////////////////////////////////////////////////////
227 // $THEME->parents_exclude_javascripts
229 ////////////////////////////////////////////////////
230 // An array of JavaScript files NOT to inherit from
231 // the themes parents
232 ////////////////////////////////////////////////////
234 // $THEME->parents_exclude_sheets
236 ////////////////////////////////////////////////////
237 // An array of stylesheets not to inherit from the
238 // themes parents
239 ////////////////////////////////////////////////////
241 // $THEME->plugins_exclude_sheets
243 ////////////////////////////////////////////////////
244 // An array of plugin sheets to ignore and not
245 // include.
246 ////////////////////////////////////////////////////
248 // $THEME->rendererfactory
250 ////////////////////////////////////////////////////
251 // Sets a custom render factory to use with the
252 // theme, used when working with custom renderers.
253 ////////////////////////////////////////////////////
255 $THEME->csspostprocess = 'nimble_process_css';