Merge branch 'MDL-35644-MOODLE_22_STABLE' of git://github.com/mouneyrac/moodle into...
[moodle.git] / theme / canvas / config.php
blob21241462b34460ae695eff2e7c28e06d48df95eb
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 Canvas theme.
21 * This theme is special, and implements a minimalist theme with basic styles.
22 * It is intended to be used with Base as a starting point for other themes to build upon.
23 * It is not recommend to actually choose this theme for production sites!
25 * DO NOT COPY THIS TO START NEW THEMES!
26 * Start with another theme, like "standard".
28 * For full information about creating Moodle themes, see:
29 * http://docs.moodle.org/dev/Themes_2.0
31 * @package moodlecore
32 * @copyright 2010 Patrick Malley
33 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
36 $THEME->name = 'canvas';
38 ////////////////////////////////////////////////////
39 // Name of the theme. Most likely the name of
40 // the directory in which this file resides.
41 ////////////////////////////////////////////////////
43 $THEME->parents = array('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 ////////////////////////////////////////////////////
55 $THEME->sheets = array(
56 'pagelayout',
57 'text',
58 'core',
59 'course',
60 'mods',
61 'blocks',
62 'tabs',
63 'admin',
64 'tables',
65 'popups',
66 'question',
69 ////////////////////////////////////////////////////
70 // Name of the stylesheet(s) you've including in
71 // this theme's /styles/ directory.
72 ////////////////////////////////////////////////////
74 $THEME->parents_exclude_sheets = array();
76 ////////////////////////////////////////////////////
77 // An array of stylesheets not to inherit from the
78 // themes parents
79 ////////////////////////////////////////////////////
81 $THEME->layouts = array(
82 'base' => array(
83 'file' => 'general.php',
84 'regions' => array('side-pre', 'side-post'),
85 'defaultregion' => 'side-post',
87 'standard' => array(
88 'file' => 'general.php',
89 'regions' => array('side-pre', 'side-post'),
90 'defaultregion' => 'side-post',
92 'course' => array(
93 'file' => 'general.php',
94 'regions' => array('side-pre', 'side-post'),
95 'defaultregion' => 'side-post'
97 'coursecategory' => array(
98 'file' => 'general.php',
99 'regions' => array('side-pre', 'side-post'),
100 'defaultregion' => 'side-post',
102 'incourse' => array(
103 'file' => 'general.php',
104 'regions' => array('side-pre', 'side-post'),
105 'defaultregion' => 'side-post',
107 'frontpage' => array(
108 'file' => 'frontpage.php',
109 'regions' => array('side-pre', 'side-post'),
110 'defaultregion' => 'side-post',
112 'admin' => array(
113 'file' => 'general.php',
114 'regions' => array('side-pre'),
115 'defaultregion' => 'side-pre',
117 'mydashboard' => array(
118 'file' => 'general.php',
119 'regions' => array('side-pre', 'side-post'),
120 'defaultregion' => 'side-post',
121 'options' => array('langmenu'=>true),
123 'mypublic' => array(
124 'file' => 'general.php',
125 'regions' => array('side-pre', 'side-post'),
126 'defaultregion' => 'side-post',
128 'login' => array(
129 'file' => 'general.php',
130 'regions' => array(),
131 'options' => array('langmenu'=>true),
133 'popup' => array(
134 'file' => 'general.php',
135 'regions' => array(),
136 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
138 'frametop' => array(
139 'file' => 'general.php',
140 'regions' => array(),
141 'options' => array('nofooter'=>true),
143 'maintenance' => array(
144 'file' => 'general.php',
145 'regions' => array(),
146 'options' => array('nofooter'=>true, 'nonavbar'=>true),
148 'embedded' => array(
149 'file' => 'embedded.php',
150 'regions' => array(),
151 'options' => array('nofooter'=>true, 'nonavbar'=>true),
153 // Should display the content and basic headers only.
154 'print' => array(
155 'file' => 'general.php',
156 'regions' => array(),
157 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
159 // The pagelayout used when a redirection is occuring.
160 'redirect' => array(
161 'file' => 'embedded.php',
162 'regions' => array(),
163 'options' => array('nofooter'=>true, 'nonavbar'=>true),
165 'report' => array(
166 'file' => 'report.php',
167 'regions' => array('side-pre'),
168 'defaultregion' => 'side-pre',
172 /////////////////////////////////////////////////////////
173 // These are all of the possible layouts in Moodle. The
174 // simplest way to do this is to keep the theme and file
175 // variables the same for every layout. Including them
176 // all in this way allows some flexibility down the road
177 // if you want to add a different layout template to a
178 // specific page.
179 /////////////////////////////////////////////////////////
181 $THEME->hidefromselector = true;
183 /////////////////////////////////////////////////////
184 // We don't want the base theme to be shown on the
185 // theme selection screen, by setting this to true
186 // it will only be shown if theme designer mode is
187 // switched on.
188 /////////////////////////////////////////////////////
190 // $THEME->enable_dock = false;
192 ////////////////////////////////////////////////////
193 // Do you want to use the new navigation dock?
194 ////////////////////////////////////////////////////
196 $THEME->editor_sheets = array('editor');
198 ////////////////////////////////////////////////////
199 // An array of stylesheets to include within the
200 // body of the editor.
201 ////////////////////////////////////////////////////
203 // $THEME->csspostprocess
205 ////////////////////////////////////////////////////
206 // Allows the user to provide the name of a function
207 // that all CSS should be passed to before being
208 // delivered.
209 ////////////////////////////////////////////////////
211 // $THEME->javascripts
213 ////////////////////////////////////////////////////
214 // An array containing the names of JavaScript files
215 // located in /javascript/ to include in the theme.
216 // (gets included in the head)
217 ////////////////////////////////////////////////////
219 // $THEME->javascripts_footer
221 ////////////////////////////////////////////////////
222 // As above but will be included in the page footer.
223 ////////////////////////////////////////////////////
225 // $THEME->larrow
227 ////////////////////////////////////////////////////
228 // Overrides the left arrow image used throughout
229 // Moodle
230 ////////////////////////////////////////////////////
232 // $THEME->rarrow
234 ////////////////////////////////////////////////////
235 // Overrides the right arrow image used throughout Moodle
236 ////////////////////////////////////////////////////
238 // $THEME->parents_exclude_javascripts
240 ////////////////////////////////////////////////////
241 // An array of JavaScript files NOT to inherit from
242 // the themes parents
243 ////////////////////////////////////////////////////
245 // $THEME->plugins_exclude_sheets
247 ////////////////////////////////////////////////////
248 // An array of plugin sheets to ignore and not
249 // include.
250 ////////////////////////////////////////////////////
252 // $THEME->rendererfactory
254 ////////////////////////////////////////////////////
255 // Sets a custom render factory to use with the
256 // theme, used when working with custom renderers.
257 ////////////////////////////////////////////////////