3 // This file is part of Moodle - http://moodle.org/
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.
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/>.
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
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(
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(
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(
81 'file' => 'general.php',
82 'regions' => array('side-pre', 'side-post'),
83 'defaultregion' => 'side-pre',
86 'file' => 'general.php',
87 'regions' => array('side-pre', 'side-post'),
88 'defaultregion' => 'side-pre',
91 'file' => 'general.php',
92 'regions' => array('side-pre', 'side-post'),
93 'defaultregion' => 'side-pre'
95 'coursecategory' => array(
96 'file' => 'general.php',
97 'regions' => array('side-pre', 'side-post'),
98 'defaultregion' => 'side-pre',
101 'file' => 'general.php',
102 'regions' => array('side-pre', 'side-post'),
103 'defaultregion' => 'side-pre',
105 'frontpage' => array(
106 'file' => 'frontpage.php',
107 'regions' => array('side-pre', 'side-post'),
108 'defaultregion' => 'side-pre',
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-pre',
119 'options' => array('langmenu'=>true),
122 'file' => 'general.php',
123 'regions' => array('side-pre', 'side-post'),
124 'defaultregion' => 'side-pre',
127 'file' => 'general.php',
128 'regions' => array(),
129 'options' => array('langmenu'=>true),
132 'file' => 'general.php',
133 'regions' => array(),
134 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
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),
148 'file' => 'embedded.php',
149 'regions' => array(),
150 'options' => array('nofooter'=>true, 'nonavbar'=>true),
152 // Should display the content and basic headers only.
154 'file' => 'general.php',
155 'regions' => array(),
156 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
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
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
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 ////////////////////////////////////////////////////
198 ////////////////////////////////////////////////////
199 // Overrides the left arrow image used throughout
201 ////////////////////////////////////////////////////
205 ////////////////////////////////////////////////////
206 // Overrides the right arrow image used throughout Moodle
207 ////////////////////////////////////////////////////
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
227 ////////////////////////////////////////////////////
229 // $THEME->plugins_exclude_sheets
231 ////////////////////////////////////////////////////
232 // An array of plugin sheets to ignore and not
234 ////////////////////////////////////////////////////
236 // $THEME->rendererfactory
238 ////////////////////////////////////////////////////
239 // Sets a custom render factory to use with the
240 // theme, used when working with custom renderers.
241 ////////////////////////////////////////////////////