themes lib MDL-24895 Multiple fixes to better handle overflow.
[moodle.git] / theme / sky_high / config.php
CommitLineData
dc38e364
S
1<?php
2
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/**
dc38e364 19 *
ed5d13c0
PS
20 *
21 * DO NOT MODIFY THIS THEME!
dc38e364
S
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 */
29
30$THEME->name = 'sky_high';
31
32////////////////////////////////////////////////////
33// Name of the theme. Most likely the name of
ed5d13c0 34// the directory in which this file resides.
dc38e364
S
35////////////////////////////////////////////////////
36
37
38$THEME->parents = array(
367a75fa
SH
39 'canvas',
40 'base',
dc38e364
S
41);
42
43/////////////////////////////////////////////////////
44// Which existing theme(s) in the /theme/ directory
ed5d13c0
PS
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
dc38e364
S
50// changes you want to your theme.
51////////////////////////////////////////////////////
52
53
54$THEME->sheets = array(
367a75fa
SH
55 'core',
56 'pagelayout',
57 'menu'
dc38e364
S
58);
59
60////////////////////////////////////////////////////
ed5d13c0 61// Name of the stylesheet(s) you've including in
dc38e364
S
62// this theme's /styles/ directory.
63////////////////////////////////////////////////////
64
65$THEME->parents_exclude_sheets = array(
367a75fa
SH
66 'base'=>array(
67 'pagelayout',
68 ),
69 'canvas'=>array(
70 'pagelayout',
71 ),
dc38e364
S
72);
73
74
75$THEME->enable_dock = true;
76
77////////////////////////////////////////////////////
78// Do you want to use the new navigation dock?
79////////////////////////////////////////////////////
80
81
6c0fb99b 82$THEME->editor_sheets = array('editor');
dc38e364
S
83
84////////////////////////////////////////////////////
ed5d13c0 85// An array of stylesheets to include within the
dc38e364
S
86// body of the editor.
87////////////////////////////////////////////////////
88
89$THEME->layouts = array(
90 'base' => array(
91 'file' => 'general.php',
92 'regions' => array('side-pre', 'side-post'),
93 'defaultregion' => 'side-post',
94 ),
95 'standard' => array(
96 'file' => 'general.php',
97 'regions' => array('side-pre', 'side-post'),
98 'defaultregion' => 'side-post',
99 ),
100 'course' => array(
101 'file' => 'general.php',
102 'regions' => array('side-pre', 'side-post'),
103 'defaultregion' => 'side-post'
104 ),
105 'coursecategory' => array(
106 'file' => 'general.php',
107 'regions' => array('side-pre', 'side-post'),
108 'defaultregion' => 'side-post',
109 ),
110 'incourse' => array(
111 'file' => 'general.php',
112 'regions' => array('side-pre', 'side-post'),
113 'defaultregion' => 'side-post',
114 ),
115 'frontpage' => array(
116 'file' => 'frontpage.php',
117 'regions' => array('side-pre', 'side-post'),
118 'defaultregion' => 'side-post',
119 ),
120 'admin' => array(
121 'file' => 'general.php',
122 'regions' => array('side-pre'),
123 'defaultregion' => 'side-pre',
124 ),
125 'mydashboard' => array(
126 'file' => 'general.php',
127 'regions' => array('side-pre', 'side-post'),
128 'defaultregion' => 'side-post',
129 'options' => array('langmenu'=>true),
130 ),
131 'mypublic' => array(
132 'file' => 'general.php',
133 'regions' => array('side-pre', 'side-post'),
134 'defaultregion' => 'side-post',
135 ),
136 'login' => array(
137 'file' => 'general.php',
138 'regions' => array(),
139 'options' => array('langmenu'=>true),
140 ),
141 'popup' => array(
142 'file' => 'general.php',
143 'regions' => array(),
144 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
145 ),
146 'frametop' => array(
147 'file' => 'general.php',
148 'regions' => array(),
149 'options' => array('nofooter'=>true),
150 ),
151 'maintenance' => array(
152 'file' => 'general.php',
153 'regions' => array(),
154 'options' => array('nofooter'=>true, 'nonavbar'=>true),
155 ),
156 'embedded' => array(
367a75fa 157 'theme' => 'canvas',
dc38e364
S
158 'file' => 'embedded.php',
159 'regions' => array(),
160 'options' => array('nofooter'=>true, 'nonavbar'=>true),
161 ),
ed5d13c0
PS
162 // Should display the content and basic headers only.
163 'print' => array(
164 'file' => 'general.php',
165 'regions' => array(),
166 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
167 ),
367a75fa
SH
168 'report' => array(
169 'file' => 'general.php',
170 'regions' => array('side-pre'),
171 'defaultregion' => 'side-pre',
172 )
dc38e364
S
173);
174
175///////////////////////////////////////////////////////////////
176// These are all of the possible layouts in Moodle. The
177// simplest way to do this is to keep the theme and file
178// variables the same for every layout. Including them
179// all in this way allows some flexibility down the road
180// if you want to add a different layout template to a
181// specific page.
182///////////////////////////////////////////////////////////////
183
184$THEME->csspostprocess = 'sky_high_process_css';
ed5d13c0 185
dc38e364 186////////////////////////////////////////////////////
ed5d13c0
PS
187// Allows the user to provide the name of a function
188// that all CSS should be passed to before being
dc38e364
S
189// delivered.
190////////////////////////////////////////////////////
191
192// $THEME->filter_mediaplugin_colors
193
194////////////////////////////////////////////////////
ed5d13c0 195// Used to control the colours used in the small
dc38e364
S
196// media player for the filters
197////////////////////////////////////////////////////
198
ed5d13c0 199// $THEME->javascripts
dc38e364
S
200
201////////////////////////////////////////////////////
202// An array containing the names of JavaScript files
ed5d13c0 203// located in /javascript/ to include in the theme.
dc38e364
S
204// (gets included in the head)
205////////////////////////////////////////////////////
206
ed5d13c0 207// $THEME->javascripts_footer
dc38e364
S
208
209////////////////////////////////////////////////////
210// As above but will be included in the page footer.
211////////////////////////////////////////////////////
212
ed5d13c0 213// $THEME->larrow
dc38e364
S
214
215////////////////////////////////////////////////////
ed5d13c0 216// Overrides the left arrow image used throughout
dc38e364
S
217// Moodle
218////////////////////////////////////////////////////
219
ed5d13c0 220// $THEME->rarrow
dc38e364
S
221
222////////////////////////////////////////////////////
223// Overrides the right arrow image used throughout Moodle
224////////////////////////////////////////////////////
225
ed5d13c0 226// $THEME->layouts
dc38e364
S
227
228////////////////////////////////////////////////////
229// An array setting the layouts for the theme
230////////////////////////////////////////////////////
231
232// $THEME->parents_exclude_javascripts
233
234////////////////////////////////////////////////////
235// An array of JavaScript files NOT to inherit from
236// the themes parents
237////////////////////////////////////////////////////
238
ed5d13c0 239// $THEME->parents_exclude_sheets
dc38e364
S
240
241////////////////////////////////////////////////////
242// An array of stylesheets not to inherit from the
243// themes parents
244////////////////////////////////////////////////////
245
246// $THEME->plugins_exclude_sheets
247
248////////////////////////////////////////////////////
ed5d13c0 249// An array of plugin sheets to ignore and not
dc38e364
S
250// include.
251////////////////////////////////////////////////////
252
253// $THEME->renderfactory
254
255////////////////////////////////////////////////////
ed5d13c0 256// Sets a custom render factory to use with the
dc38e364
S
257// theme, used when working with custom renderers.
258////////////////////////////////////////////////////
259
260// $THEME->resource_mp3player_colors
261
262////////////////////////////////////////////////////
ed5d13c0 263// Controls the colours for the MP3 player
dc38e364 264////////////////////////////////////////////////////