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