Merge branch 'MDL-33055_master' of git://github.com/kordan/moodle
[moodle.git] / theme / formal_white / config.php
CommitLineData
57bfc29a
AB
1<?php
2
4afb01db 3defined('MOODLE_INTERNAL') || die();
4
9deebbda
AB
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.
11//
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.
16//
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/>.
19
20/**
21 * Configuration for Moodle's nonzero theme.
22 *
23 * DO NOT MODIFY THIS THEME!
24 * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD.
25 *
26 * For full information about creating Moodle themes, see:
728ebac7 27 * http://docs.moodle.org/dev/Themes_2.0
9deebbda
AB
28 *
29 * @package moodlecore
30 * @copyright Mediatouch 2000 (http://mediatouch.it/)
31 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
32 */
57bfc29a 33
4afb01db 34
57bfc29a 35$THEME->name = 'formal_white';
9deebbda
AB
36////////////////////////////////////////////////////
37// Name of the theme. Most likely the name of
38// the directory in which this file resides.
39////////////////////////////////////////////////////
57bfc29a 40
4afb01db 41
8b83e36e 42$THEME->parents = array('canvas','base');
9deebbda
AB
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////////////////////////////////////////////////////
57bfc29a 52
57bfc29a 53
9deebbda 54$THEME->parents_exclude_sheets = array(
9c3ad72f 55 'canvas'=>array(
4afb01db 56 'pagelayout',
9c3ad72f 57 'tabs',
5e911b2e 58 'tables',
9c3ad72f 59 ),
9deebbda 60);
4afb01db 61////////////////////////////////////////////////////
62// An array of stylesheets not to inherit from the
63// themes parents
64////////////////////////////////////////////////////
65
66
67$THEME->sheets = array('frame' ,'menu', 'course',
68 'pagelayout','core', 'calendar',
712dee7a 69 'tabs' ,'quiz', 'forum',
011c24fb 70 'block' ,'formal_white');
4afb01db 71////////////////////////////////////////////////////
72// Name of the stylesheet(s) you've including in
73// this theme's /styles/ directory.
74////////////////////////////////////////////////////
75
76
77$THEME->enable_dock = true;
78////////////////////////////////////////////////////
79// Do you want to use the new navigation dock?
80////////////////////////////////////////////////////
57bfc29a 81
57bfc29a 82
4afb01db 83$THEME->editor_sheets = array('editor');
84////////////////////////////////////////////////////
85// An array of stylesheets to include within the
86// body of the editor.
87////////////////////////////////////////////////////
57bfc29a 88
57bfc29a 89
57bfc29a 90$THEME->layouts = array(
57bfc29a 91 'base' => array(
9deebbda 92 'file' => 'general.php',
4afb01db 93 'regions' => array('side-pre', 'side-post'),
94 'defaultregion' => 'side-post',
57bfc29a 95 ),
5ac3b1c0 96 'standard' => array(
9deebbda 97 'file' => 'general.php',
4afb01db 98 'regions' => array('side-pre', 'side-post'),
99 'defaultregion' => 'side-post',
57bfc29a 100 ),
57bfc29a 101 'course' => array(
9deebbda 102 'file' => 'general.php',
57bfc29a 103 'regions' => array('side-pre', 'side-post'),
4afb01db 104 'defaultregion' => 'side-post',
105 'options' => array('langmenu'=>true),
57bfc29a 106 ),
57bfc29a 107 'coursecategory' => array(
9deebbda 108 'file' => 'general.php',
57bfc29a 109 'regions' => array('side-pre', 'side-post'),
4afb01db 110 'defaultregion' => 'side-post',
57bfc29a
AB
111 ),
112 'incourse' => array(
9deebbda 113 'file' => 'general.php',
57bfc29a 114 'regions' => array('side-pre', 'side-post'),
4afb01db 115 'defaultregion' => 'side-post',
57bfc29a
AB
116 ),
117 'frontpage' => array(
4afb01db 118 'file' => 'frontpage.php',
57bfc29a 119 'regions' => array('side-pre', 'side-post'),
4afb01db 120 'defaultregion' => 'side-post',
121 'options' => array('langmenu'=>true),
57bfc29a
AB
122 ),
123 'admin' => array(
9deebbda 124 'file' => 'general.php',
57bfc29a 125 'regions' => array('side-pre'),
4afb01db 126 'defaultregion' => 'side-pre',
57bfc29a
AB
127 ),
128 'mydashboard' => array(
9deebbda 129 'file' => 'general.php',
57bfc29a 130 'regions' => array('side-pre', 'side-post'),
4afb01db 131 'defaultregion' => 'side-post',
132 'options' => array('langmenu'=>true),
57bfc29a
AB
133 ),
134 'mypublic' => array(
9deebbda 135 'file' => 'general.php',
57bfc29a 136 'regions' => array('side-pre', 'side-post'),
4afb01db 137 'defaultregion' => 'side-post',
57bfc29a
AB
138 ),
139 'login' => array(
9deebbda 140 'file' => 'general.php',
4afb01db 141 'regions' => array(),
142 'options' => array('langmenu'=>true),
57bfc29a
AB
143 ),
144 // Pages that appear in pop-up windows - no navigation, no blocks, no header.
145 'popup' => array(
110e6876 146 'file' => 'general.php',
57bfc29a 147 'regions' => array(),
4afb01db 148 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
57bfc29a
AB
149 ),
150 // No blocks and minimal footer - used for legacy frame layouts only!
151 'frametop' => array(
9deebbda 152 'file' => 'general.php',
57bfc29a 153 'regions' => array(),
4afb01db 154 'options' => array('nofooter'=>true),
57bfc29a 155 ),
4afb01db 156 // Embeded pages, like iframe embeded in moodleform (chat)
57bfc29a 157 'embedded' => array(
4afb01db 158 'file' => 'embedded.php',
57bfc29a 159 'regions' => array(),
4afb01db 160 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true),
57bfc29a
AB
161 ),
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(
9deebbda 166 'file' => 'general.php',
57bfc29a 167 'regions' => array(),
4afb01db 168 'options' => array('nofooter'=>true, 'nonavbar'=>true),
ed5d13c0
PS
169 ),
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),
175 ),
367a75fa 176 'report' => array(
1bc47427 177 'file' => 'report.php',
367a75fa 178 'regions' => array('side-pre'),
4afb01db 179 'defaultregion' => 'side-pre',
367a75fa 180 ),
57bfc29a 181);
4afb01db 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///////////////////////////////////////////////////////////////
57bfc29a 190
57bfc29a 191
4afb01db 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////////////////////////////////////////////////////
198
199
4afb01db 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////////////////////////////////////////////////////
206
207
208// $THEME->javascripts_footer
209////////////////////////////////////////////////////
210// As above but will be included in the page footer.
211////////////////////////////////////////////////////
212
213
214//$THEME->larrow = "&#60";
215////////////////////////////////////////////////////
216// Overrides the left arrow image used throughout
217// Moodle
218////////////////////////////////////////////////////
219
220
221//$THEME->rarrow = "&#62";
222////////////////////////////////////////////////////
223// Overrides the right arrow image used throughout Moodle
224////////////////////////////////////////////////////
225
226
227// $THEME->layouts
228////////////////////////////////////////////////////
229// An array setting the layouts for the theme
230////////////////////////////////////////////////////
231
232
233// $THEME->parents_exclude_javascripts
234////////////////////////////////////////////////////
235// An array of JavaScript files NOT to inherit from
236// the themes parents
237////////////////////////////////////////////////////
238
239
240// $THEME->parents_exclude_sheets
241////////////////////////////////////////////////////
242// An array of stylesheets not to inherit from the
243// themes parents
244////////////////////////////////////////////////////
245
246
247// $THEME->plugins_exclude_sheets
248////////////////////////////////////////////////////
249// An array of plugin sheets to ignore and not
250// include.
251////////////////////////////////////////////////////
252
253
254// $THEME->rendererfactory
255////////////////////////////////////////////////////
256// Sets a custom render factory to use with the
257// theme, used when working with custom renderers.
b396e167 258////////////////////////////////////////////////////