MDL-23797 fixed some problems discovered by the new PAGE->context diag code
[moodle.git] / theme / magazine / config.php
CommitLineData
b8fce7be
S
1<?php
2
3$THEME->name = 'magazine';
4
5////////////////////////////////////////////////////
6// Name of the theme. Most likely the name of
7// the directory in which this file resides.
8////////////////////////////////////////////////////
9
10
11$THEME->parents = array('base','canvas');
12$THEME->parents_exclude_sheets = array('base'=>array('pagelayout'),'canvas'=>array('pagelayout') );
13/////////////////////////////////////////////////////
14// Which existing theme(s) in the /theme/ directory
15// do you want this theme to extend. A theme can
16// extend any number of themes. Rather than
17// creating an entirely new theme and copying all
18// of the CSS, you can simply create a new theme,
19// extend the theme you like and just add the
20// changes you want to your theme.
21////////////////////////////////////////////////////
22
23
24$THEME->sheets = array('layout','core','colors','css3');
25
26////////////////////////////////////////////////////
27// Name of the stylesheet(s) you've including in
28// this theme's /styles/ directory.
29////////////////////////////////////////////////////
30
31
32$THEME->enable_dock = true;
33
34////////////////////////////////////////////////////
35// Do you want to use the new navigation dock?
36////////////////////////////////////////////////////
37
38
39$THEME->editor_sheets = array('editor');
40
41////////////////////////////////////////////////////
42// An array of stylesheets to include within the
43// body of the editor.
44////////////////////////////////////////////////////
45
46$THEME->layouts = array(
47 'base' => array(
48 'file' => 'general.php',
49 'regions' => array('side-pre', 'side-post'),
50 'defaultregion' => 'side-post',
51 ),
52 'general' => array(
53 'file' => 'general.php',
54 'regions' => array('side-pre', 'side-post'),
55 'defaultregion' => 'side-post',
56 ),
57 'course' => array(
58 'file' => 'general.php',
59 'regions' => array('side-pre', 'side-post'),
60 'defaultregion' => 'side-post'
61 ),
62 'coursecategory' => array(
63 'file' => 'general.php',
64 'regions' => array('side-pre', 'side-post'),
65 'defaultregion' => 'side-post',
66 ),
67 'incourse' => array(
68 'file' => 'general.php',
69 'regions' => array('side-pre', 'side-post'),
70 'defaultregion' => 'side-post',
71 ),
72 'frontpage' => array(
73 'file' => 'frontpage.php',
74 'regions' => array('side-pre', 'side-post'),
75 'defaultregion' => 'side-post',
76 ),
77 'admin' => array(
78 'file' => 'general.php',
79 'regions' => array('side-pre'),
80 'defaultregion' => 'side-pre',
81 ),
82 'mydashboard' => array(
83 'file' => 'general.php',
84 'regions' => array('side-pre', 'side-post'),
85 'defaultregion' => 'side-post',
86 'options' => array('langmenu'=>true),
87 ),
88 'mypublic' => array(
89 'file' => 'general.php',
90 'regions' => array('side-pre', 'side-post'),
91 'defaultregion' => 'side-post',
92 ),
93 'login' => array(
94 'file' => 'general.php',
95 'regions' => array(),
96 'options' => array('langmenu'=>true),
97 ),
98 'popup' => array(
99 'file' => 'embedded.php',
100 'regions' => array(),
101 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
102 ),
103 'frametop' => array(
104 'file' => 'general.php',
105 'regions' => array(),
106 'options' => array('nofooter'=>true),
107 ),
108 'maintenance' => array(
109 'file' => 'general.php',
110 'regions' => array(),
111 'options' => array('nofooter'=>true, 'nonavbar'=>true),
112 ),
113 'embedded' => array(
114 'file' => 'embedded.php',
115 'regions' => array(),
116 'options' => array('nofooter'=>true, 'nonavbar'=>true),
117 ),
118
119);
120
121///////////////////////////////////////////////////////////////
122// These are all of the possible layouts in Moodle. The
123// simplest way to do this is to keep the theme and file
124// variables the same for every layout. Including them
125// all in this way allows some flexibility down the road
126// if you want to add a different layout template to a
127// specific page.
128///////////////////////////////////////////////////////////////
129//$THEME->csspostprocess = 'simplespace_process_css';
130
131////////////////////////////////////////////////////
132// Allows the user to provide the name of a function
133// that all CSS should be passed to before being
134// delivered.
135////////////////////////////////////////////////////
136
137// $THEME->filter_mediaplugin_colors
138
139////////////////////////////////////////////////////
140// Used to control the colours used in the small
141// media player for the filters
142////////////////////////////////////////////////////
143
144// $THEME->javascripts
145
146////////////////////////////////////////////////////
147// An array containing the names of JavaScript files
148// located in /javascript/ to include in the theme.
149// (gets included in the head)
150////////////////////////////////////////////////////
151
152// $THEME->javascripts_footer
153
154////////////////////////////////////////////////////
155// As above but will be included in the page footer.
156////////////////////////////////////////////////////
157
158//$THEME->larrow = "&#60";
159
160////////////////////////////////////////////////////
161// Overrides the left arrow image used throughout
162// Moodle
163////////////////////////////////////////////////////
164
165 //$THEME->rarrow = "&#62";
166
167////////////////////////////////////////////////////
168// Overrides the right arrow image used throughout Moodle
169////////////////////////////////////////////////////
170
171// $THEME->layouts
172
173////////////////////////////////////////////////////
174// An array setting the layouts for the theme
175////////////////////////////////////////////////////
176
177// $THEME->parents_exclude_javascripts
178
179////////////////////////////////////////////////////
180// An array of JavaScript files NOT to inherit from
181// the themes parents
182////////////////////////////////////////////////////
183
184// $THEME->parents_exclude_sheets
185
186////////////////////////////////////////////////////
187// An array of stylesheets not to inherit from the
188// themes parents
189////////////////////////////////////////////////////
190
191// $THEME->plugins_exclude_sheets
192
193////////////////////////////////////////////////////
194// An array of plugin sheets to ignore and not
195// include.
196////////////////////////////////////////////////////
197
198// $THEME->renderfactory
199//$THEME->rendererfactory = 'theme_simplespace_renderer_factory';
200////////////////////////////////////////////////////
201// Sets a custom render factory to use with the
202// theme, used when working with custom renderers.
203////////////////////////////////////////////////////
204
205// $THEME->resource_mp3player_colors
206
207////////////////////////////////////////////////////
208// Controls the colours for the MP3 player
209////////////////////////////////////////////////////
210$THEME->csspostprocess = 'magazine_process_css';