Merge branch 'wip-mdl-41843-m24' of git://github.com/rajeshtaneja/moodle into MOODLE_...
[moodle.git] / theme / formal_white / config.php
blobe6ea9211faa55675b833d68ff56345e889f248b5
1 <?php
3 defined('MOODLE_INTERNAL') || die();
5 // This file is part of Moodle - http://moodle.org/
6 //
7 // Moodle is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
12 // Moodle is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
17 // You should have received a copy of the GNU General Public License
18 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
20 /**
21 * Configuration for Moodle's nonzero theme.
23 * DO NOT MODIFY THIS THEME!
24 * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD.
26 * For full information about creating Moodle themes, see:
27 * http://docs.moodle.org/dev/Themes_2.0
29 * @package moodlecore
30 * @copyright Mediatouch 2000 (http://mediatouch.it/)
31 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
35 $THEME->name = 'formal_white';
36 ////////////////////////////////////////////////////
37 // Name of the theme. Most likely the name of
38 // the directory in which this file resides.
39 ////////////////////////////////////////////////////
42 $THEME->parents = array('canvas','base');
43 /////////////////////////////////////////////////////
44 // Which existing theme(s) in the /theme/ directory
45 // do you want this theme to extend. A theme can
46 // extend any number of themes. Rather than
47 // creating an entirely new theme and copying all
48 // of the CSS, you can simply create a new theme,
49 // extend the theme you like and just add the
50 // changes you want to your theme.
51 ////////////////////////////////////////////////////
54 $THEME->parents_exclude_sheets = array(
55 'canvas'=>array(
56 'pagelayout',
57 'tabs',
58 'tables',
61 ////////////////////////////////////////////////////
62 // An array of stylesheets not to inherit from the
63 // themes parents
64 ////////////////////////////////////////////////////
67 $THEME->sheets = array('frame' ,'menu', 'course',
68 'pagelayout','core', 'calendar',
69 'tabs' ,'quiz', 'forum',
70 'block' ,'formal_white');
71 ////////////////////////////////////////////////////
72 // Name of the stylesheet(s) you've including in
73 // this theme's /styles/ directory.
74 ////////////////////////////////////////////////////
77 $THEME->enable_dock = true;
78 ////////////////////////////////////////////////////
79 // Do you want to use the new navigation dock?
80 ////////////////////////////////////////////////////
83 $THEME->editor_sheets = array('editor');
84 ////////////////////////////////////////////////////
85 // An array of stylesheets to include within the
86 // body of the editor.
87 ////////////////////////////////////////////////////
90 $THEME->layouts = array(
91 'base' => array(
92 'file' => 'general.php',
93 'regions' => array('side-pre', 'side-post'),
94 'defaultregion' => 'side-pre',
96 'standard' => array(
97 'file' => 'general.php',
98 'regions' => array('side-pre', 'side-post'),
99 'defaultregion' => 'side-pre',
101 'course' => array(
102 'file' => 'general.php',
103 'regions' => array('side-pre', 'side-post'),
104 'defaultregion' => 'side-pre',
105 'options' => array('langmenu'=>true),
107 'coursecategory' => array(
108 'file' => 'general.php',
109 'regions' => array('side-pre', 'side-post'),
110 'defaultregion' => 'side-pre',
112 'incourse' => array(
113 'file' => 'general.php',
114 'regions' => array('side-pre', 'side-post'),
115 'defaultregion' => 'side-pre',
117 'frontpage' => array(
118 'file' => 'frontpage.php',
119 'regions' => array('side-pre', 'side-post'),
120 'defaultregion' => 'side-pre',
121 'options' => array('langmenu'=>true),
123 'admin' => array(
124 'file' => 'general.php',
125 'regions' => array('side-pre'),
126 'defaultregion' => 'side-pre',
128 'mydashboard' => array(
129 'file' => 'general.php',
130 'regions' => array('side-pre', 'side-post'),
131 'defaultregion' => 'side-pre',
132 'options' => array('langmenu'=>true),
134 'mypublic' => array(
135 'file' => 'general.php',
136 'regions' => array('side-pre', 'side-post'),
137 'defaultregion' => 'side-pre',
139 'login' => array(
140 'file' => 'general.php',
141 'regions' => array(),
142 'options' => array('langmenu'=>true),
144 // Pages that appear in pop-up windows - no navigation, no blocks, no header.
145 'popup' => array(
146 'file' => 'general.php',
147 'regions' => array(),
148 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
150 // No blocks and minimal footer - used for legacy frame layouts only!
151 'frametop' => array(
152 'file' => 'general.php',
153 'regions' => array(),
154 'options' => array('nofooter'=>true, 'nocoursefooter'=>true),
156 // Embeded pages, like iframe embeded in moodleform (chat)
157 'embedded' => array(
158 'file' => 'embedded.php',
159 'regions' => array(),
160 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true),
162 // Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
163 // This must not have any blocks, and it is good idea if it does not have links to
164 // other places - for example there should not be a home link in the footer...
165 'maintenance' => array(
166 'file' => 'general.php',
167 'regions' => array(),
168 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
170 // Should display the content and basic headers only.
171 'print' => array(
172 'file' => 'general.php',
173 'regions' => array(),
174 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
176 'report' => array(
177 'file' => 'report.php',
178 'regions' => array('side-pre'),
179 'defaultregion' => 'side-pre',
182 ///////////////////////////////////////////////////////////////
183 // These are all of the possible layouts in Moodle. The
184 // simplest way to do this is to keep the theme and file
185 // variables the same for every layout. Including them
186 // all in this way allows some flexibility down the road
187 // if you want to add a different layout template to a
188 // specific page.
189 ///////////////////////////////////////////////////////////////
192 $THEME->csspostprocess = 'formal_white_user_settings';
193 ////////////////////////////////////////////////////
194 // Allows the user to provide the name of a function
195 // that all CSS should be passed to before being
196 // delivered.
197 ////////////////////////////////////////////////////
200 // $THEME->javascripts
201 ////////////////////////////////////////////////////
202 // An array containing the names of JavaScript files
203 // located in /javascript/ to include in the theme.
204 // (gets included in the head)
205 ////////////////////////////////////////////////////
208 // $THEME->javascripts_footer
209 ////////////////////////////////////////////////////
210 // As above but will be included in the page footer.
211 ////////////////////////////////////////////////////
214 //$THEME->larrow = "&#60";
215 ////////////////////////////////////////////////////
216 // Overrides the left arrow image used throughout
217 // Moodle
218 ////////////////////////////////////////////////////
221 //$THEME->rarrow = "&#62";
222 ////////////////////////////////////////////////////
223 // Overrides the right arrow image used throughout Moodle
224 ////////////////////////////////////////////////////
227 // $THEME->layouts
228 ////////////////////////////////////////////////////
229 // An array setting the layouts for the theme
230 ////////////////////////////////////////////////////
233 // $THEME->parents_exclude_javascripts
234 ////////////////////////////////////////////////////
235 // An array of JavaScript files NOT to inherit from
236 // the themes parents
237 ////////////////////////////////////////////////////
240 // $THEME->parents_exclude_sheets
241 ////////////////////////////////////////////////////
242 // An array of stylesheets not to inherit from the
243 // themes parents
244 ////////////////////////////////////////////////////
247 // $THEME->plugins_exclude_sheets
248 ////////////////////////////////////////////////////
249 // An array of plugin sheets to ignore and not
250 // include.
251 ////////////////////////////////////////////////////
254 // $THEME->rendererfactory
255 ////////////////////////////////////////////////////
256 // Sets a custom render factory to use with the
257 // theme, used when working with custom renderers.
258 ////////////////////////////////////////////////////