Merge branch 'MDL-25801' of git://github.com/timhunt/moodle
[moodle.git] / theme / leatherbound / config.php
blob823f923add55b7e7a5391ea1413eecd349a80023
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 leatherbound 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
29 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
32 $THEME->name = 'leatherbound';
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',
60 ////////////////////////////////////////////////////
61 // Name of the stylesheet(s) you've including in
62 // this theme's /styles/ directory.
63 ////////////////////////////////////////////////////
65 $THEME->enable_dock = true;
67 ////////////////////////////////////////////////////
68 // Do you want to use the new navigation dock?
69 ////////////////////////////////////////////////////
72 $THEME->editor_sheets = array('editor');
74 ////////////////////////////////////////////////////
75 // An array of stylesheets to include within the
76 // body of the editor.
77 ////////////////////////////////////////////////////
79 $THEME->layouts = array(
80 'base' => array(
81 'file' => 'general.php',
82 'regions' => array('side-pre', 'side-post'),
83 'defaultregion' => 'side-post',
85 'standard' => array(
86 'file' => 'general.php',
87 'regions' => array('side-pre', 'side-post'),
88 'defaultregion' => 'side-post',
90 'course' => array(
91 'file' => 'general.php',
92 'regions' => array('side-pre', 'side-post'),
93 'defaultregion' => 'side-post'
95 'coursecategory' => array(
96 'file' => 'general.php',
97 'regions' => array('side-pre', 'side-post'),
98 'defaultregion' => 'side-post',
100 'incourse' => array(
101 'file' => 'general.php',
102 'regions' => array('side-pre', 'side-post'),
103 'defaultregion' => 'side-post',
105 'frontpage' => array(
106 'file' => 'frontpage.php',
107 'regions' => array('side-pre', 'side-post'),
108 'defaultregion' => 'side-post',
110 'admin' => array(
111 'file' => 'general.php',
112 'regions' => array('side-pre'),
113 'defaultregion' => 'side-pre',
115 'mydashboard' => array(
116 'file' => 'general.php',
117 'regions' => array('side-pre', 'side-post'),
118 'defaultregion' => 'side-post',
119 'options' => array('langmenu'=>true),
121 'mypublic' => array(
122 'file' => 'general.php',
123 'regions' => array('side-pre', 'side-post'),
124 'defaultregion' => 'side-post',
126 'login' => array(
127 'file' => 'general.php',
128 'regions' => array(),
129 'options' => array('langmenu'=>true),
131 'popup' => array(
132 'file' => 'general.php',
133 'regions' => array(),
134 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
136 'frametop' => array(
137 'file' => 'general.php',
138 'regions' => array(),
139 'options' => array('nofooter'=>true),
141 'maintenance' => array(
142 'file' => 'general.php',
143 'regions' => array(),
144 'options' => array('nofooter'=>true, 'nonavbar'=>true),
146 'embedded' => array(
147 'theme' => 'canvas',
148 'file' => 'embedded.php',
149 'regions' => array(),
150 'options' => array('nofooter'=>true, 'nonavbar'=>true),
152 // Should display the content and basic headers only.
153 'print' => array(
154 'file' => 'general.php',
155 'regions' => array(),
156 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
158 'report' => array(
159 'file' => 'report.php',
160 'regions' => array('side-pre'),
161 'defaultregion' => 'side-pre',
165 ///////////////////////////////////////////////////////////////
166 // These are all of the possible layouts in Moodle. The
167 // simplest way to do this is to keep the theme and file
168 // variables the same for every layout. Including them
169 // all in this way allows some flexibility down the road
170 // if you want to add a different layout template to a
171 // specific page.
172 ///////////////////////////////////////////////////////////////
174 // $THEME->csspostprocess
176 ////////////////////////////////////////////////////
177 // Allows the user to provide the name of a function
178 // that all CSS should be passed to before being
179 // delivered.
180 ////////////////////////////////////////////////////
182 // $THEME->javascripts
184 ////////////////////////////////////////////////////
185 // An array containing the names of JavaScript files
186 // located in /javascript/ to include in the theme.
187 // (gets included in the head)
188 ////////////////////////////////////////////////////
190 // $THEME->javascripts_footer
192 ////////////////////////////////////////////////////
193 // As above but will be included in the page footer.
194 ////////////////////////////////////////////////////
196 // $THEME->larrow
198 ////////////////////////////////////////////////////
199 // Overrides the left arrow image used throughout
200 // Moodle
201 ////////////////////////////////////////////////////
203 // $THEME->rarrow
205 ////////////////////////////////////////////////////
206 // Overrides the right arrow image used throughout Moodle
207 ////////////////////////////////////////////////////
209 // $THEME->layouts
211 ////////////////////////////////////////////////////
212 // An array setting the layouts for the theme
213 ////////////////////////////////////////////////////
215 // $THEME->parents_exclude_javascripts
217 ////////////////////////////////////////////////////
218 // An array of JavaScript files NOT to inherit from
219 // the themes parents
220 ////////////////////////////////////////////////////
222 // $THEME->parents_exclude_sheets
224 ////////////////////////////////////////////////////
225 // An array of stylesheets not to inherit from the
226 // themes parents
227 ////////////////////////////////////////////////////
229 // $THEME->plugins_exclude_sheets
231 ////////////////////////////////////////////////////
232 // An array of plugin sheets to ignore and not
233 // include.
234 ////////////////////////////////////////////////////
236 // $THEME->rendererfactory
238 ////////////////////////////////////////////////////
239 // Sets a custom render factory to use with the
240 // theme, used when working with custom renderers.
241 ////////////////////////////////////////////////////