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