MDL-25589 removing extra align value
[moodle.git] / theme / leatherbound / config.php
CommitLineData
e4249c5b
PM
1<?php
2
9c476042
PM
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.
14//
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/>.
17
18/**
19 * Configuration for Moodle's leatherbound theme.
20 *
ed5d13c0 21 * DO NOT MODIFY THIS THEME!
9c476042
PM
22 * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD.
23 *
24 * For full information about creating Moodle themes, see:
25 * http://docs.moodle.org/en/Development:Themes_2.0
26 *
27 * @package moodlecore
28 * @copyright 2010 Patrick Malley
29 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30 */
31
e4249c5b
PM
32$THEME->name = 'leatherbound';
33
34////////////////////////////////////////////////////
35// Name of the theme. Most likely the name of
ed5d13c0 36// the directory in which this file resides.
e4249c5b
PM
37////////////////////////////////////////////////////
38
39
40$THEME->parents = array(
367a75fa
SH
41 'canvas',
42 'base',
e4249c5b
PM
43);
44
45/////////////////////////////////////////////////////
46// Which existing theme(s) in the /theme/ directory
ed5d13c0
PS
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
e4249c5b
PM
52// changes you want to your theme.
53////////////////////////////////////////////////////
54
55
56$THEME->sheets = array(
367a75fa 57 'core',
e4249c5b
PM
58);
59
60////////////////////////////////////////////////////
ed5d13c0 61// Name of the stylesheet(s) you've including in
e4249c5b
PM
62// this theme's /styles/ directory.
63////////////////////////////////////////////////////
64
e4249c5b
PM
65$THEME->enable_dock = true;
66
67////////////////////////////////////////////////////
68// Do you want to use the new navigation dock?
69////////////////////////////////////////////////////
70
71
6c0fb99b 72$THEME->editor_sheets = array('editor');
e4249c5b
PM
73
74////////////////////////////////////////////////////
ed5d13c0 75// An array of stylesheets to include within the
e4249c5b
PM
76// body of the editor.
77////////////////////////////////////////////////////
78
79$THEME->layouts = array(
80 'base' => array(
81 'file' => 'general.php',
82 'regions' => array('side-pre', 'side-post'),
83 'defaultregion' => 'side-post',
84 ),
40a2b934 85 'standard' => array(
e4249c5b
PM
86 'file' => 'general.php',
87 'regions' => array('side-pre', 'side-post'),
88 'defaultregion' => 'side-post',
89 ),
90 'course' => array(
91 'file' => 'general.php',
92 'regions' => array('side-pre', 'side-post'),
93 'defaultregion' => 'side-post'
94 ),
95 'coursecategory' => array(
96 'file' => 'general.php',
97 'regions' => array('side-pre', 'side-post'),
98 'defaultregion' => 'side-post',
99 ),
100 'incourse' => array(
101 'file' => 'general.php',
102 'regions' => array('side-pre', 'side-post'),
103 'defaultregion' => 'side-post',
104 ),
105 'frontpage' => array(
106 'file' => 'frontpage.php',
107 'regions' => array('side-pre', 'side-post'),
108 'defaultregion' => 'side-post',
109 ),
110 'admin' => array(
111 'file' => 'general.php',
112 'regions' => array('side-pre'),
113 'defaultregion' => 'side-pre',
114 ),
115 'mydashboard' => array(
116 'file' => 'general.php',
117 'regions' => array('side-pre', 'side-post'),
118 'defaultregion' => 'side-post',
119 'options' => array('langmenu'=>true),
120 ),
121 'mypublic' => array(
122 'file' => 'general.php',
123 'regions' => array('side-pre', 'side-post'),
124 'defaultregion' => 'side-post',
125 ),
126 'login' => array(
127 'file' => 'general.php',
128 'regions' => array(),
129 'options' => array('langmenu'=>true),
130 ),
131 'popup' => array(
132 'file' => 'general.php',
133 'regions' => array(),
134 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
135 ),
136 'frametop' => array(
137 'file' => 'general.php',
138 'regions' => array(),
139 'options' => array('nofooter'=>true),
140 ),
141 'maintenance' => array(
142 'file' => 'general.php',
143 'regions' => array(),
144 'options' => array('nofooter'=>true, 'nonavbar'=>true),
145 ),
146 'embedded' => array(
367a75fa 147 'theme' => 'canvas',
e4249c5b
PM
148 'file' => 'embedded.php',
149 'regions' => array(),
150 'options' => array('nofooter'=>true, 'nonavbar'=>true),
151 ),
ed5d13c0
PS
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),
157 ),
367a75fa
SH
158 'report' => array(
159 'file' => 'report.php',
160 'regions' => array('side-pre'),
161 'defaultregion' => 'side-pre',
162 ),
e4249c5b
PM
163);
164
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///////////////////////////////////////////////////////////////
173
174// $THEME->csspostprocess
ed5d13c0 175
e4249c5b 176////////////////////////////////////////////////////
ed5d13c0
PS
177// Allows the user to provide the name of a function
178// that all CSS should be passed to before being
e4249c5b
PM
179// delivered.
180////////////////////////////////////////////////////
181
182// $THEME->filter_mediaplugin_colors
183
184////////////////////////////////////////////////////
ed5d13c0 185// Used to control the colours used in the small
e4249c5b
PM
186// media player for the filters
187////////////////////////////////////////////////////
188
ed5d13c0 189// $THEME->javascripts
e4249c5b
PM
190
191////////////////////////////////////////////////////
192// An array containing the names of JavaScript files
ed5d13c0 193// located in /javascript/ to include in the theme.
e4249c5b
PM
194// (gets included in the head)
195////////////////////////////////////////////////////
196
ed5d13c0 197// $THEME->javascripts_footer
e4249c5b
PM
198
199////////////////////////////////////////////////////
200// As above but will be included in the page footer.
201////////////////////////////////////////////////////
202
ed5d13c0 203// $THEME->larrow
e4249c5b
PM
204
205////////////////////////////////////////////////////
ed5d13c0 206// Overrides the left arrow image used throughout
e4249c5b
PM
207// Moodle
208////////////////////////////////////////////////////
209
ed5d13c0 210// $THEME->rarrow
e4249c5b
PM
211
212////////////////////////////////////////////////////
213// Overrides the right arrow image used throughout Moodle
214////////////////////////////////////////////////////
215
ed5d13c0 216// $THEME->layouts
e4249c5b
PM
217
218////////////////////////////////////////////////////
219// An array setting the layouts for the theme
220////////////////////////////////////////////////////
221
222// $THEME->parents_exclude_javascripts
223
224////////////////////////////////////////////////////
225// An array of JavaScript files NOT to inherit from
226// the themes parents
227////////////////////////////////////////////////////
228
ed5d13c0 229// $THEME->parents_exclude_sheets
e4249c5b
PM
230
231////////////////////////////////////////////////////
232// An array of stylesheets not to inherit from the
233// themes parents
234////////////////////////////////////////////////////
235
236// $THEME->plugins_exclude_sheets
237
238////////////////////////////////////////////////////
ed5d13c0 239// An array of plugin sheets to ignore and not
e4249c5b
PM
240// include.
241////////////////////////////////////////////////////
242
243// $THEME->renderfactory
244
245////////////////////////////////////////////////////
ed5d13c0 246// Sets a custom render factory to use with the
e4249c5b
PM
247// theme, used when working with custom renderers.
248////////////////////////////////////////////////////
249
250// $THEME->resource_mp3player_colors
251
252////////////////////////////////////////////////////
ed5d13c0 253// Controls the colours for the MP3 player
e4249c5b 254////////////////////////////////////////////////////