3 defined('MOODLE_INTERNAL') || die();
5 $THEME->name = 'magazine';
7 ////////////////////////////////////////////////////
8 // Name of the theme. Most likely the name of
9 // the directory in which this file resides.
10 ////////////////////////////////////////////////////
12 $THEME->parents = array('canvas','base');
14 /////////////////////////////////////////////////////
15 // Which existing theme(s) in the /theme/ directory
16 // do you want this theme to extend. A theme can
17 // extend any number of themes. Rather than
18 // creating an entirely new theme and copying all
19 // of the CSS, you can simply create a new theme,
20 // extend the theme you like and just add the
21 // changes you want to your theme.
22 ////////////////////////////////////////////////////
24 $THEME->sheets = array('layout','core','colors','css3');
26 ////////////////////////////////////////////////////
27 // Name of the stylesheet(s) you've including in
28 // this theme's /styles/ directory.
29 ////////////////////////////////////////////////////
31 $THEME->parents_exclude_sheets = array('base'=>array('pagelayout'),'canvas'=>array('pagelayout') );
33 ////////////////////////////////////////////////////
34 // An array of stylesheets not to inherit from the
36 ////////////////////////////////////////////////////
38 $THEME->enable_dock = true;
40 ////////////////////////////////////////////////////
41 // Do you want to use the new navigation dock?
42 ////////////////////////////////////////////////////
44 $THEME->editor_sheets = array('editor');
46 ////////////////////////////////////////////////////
47 // An array of stylesheets to include within the
48 // body of the editor.
49 ////////////////////////////////////////////////////
51 $THEME->layouts = array(
52 // Most backwards compatible layout without the blocks - this is the layout used by default
54 'file' => 'general.php',
57 // Standard layout with blocks, this is recommended for most pages with general information
59 'file' => 'general.php',
60 'regions' => array('side-pre', 'side-post'),
61 'defaultregion' => 'side-post',
64 'file' => 'general.php',
65 'regions' => array('side-pre', 'side-post'),
66 'defaultregion' => 'side-post'
68 'coursecategory' => array(
69 'file' => 'general.php',
70 'regions' => array('side-pre', 'side-post'),
71 'defaultregion' => 'side-post',
74 'file' => 'general.php',
75 'regions' => array('side-pre', 'side-post'),
76 'defaultregion' => 'side-post',
79 'file' => 'frontpage.php',
80 'regions' => array('side-pre', 'side-post'),
81 'defaultregion' => 'side-post',
84 'file' => 'general.php',
85 'regions' => array('side-pre'),
86 'defaultregion' => 'side-pre',
88 'mydashboard' => array(
89 'file' => 'general.php',
90 'regions' => array('side-pre', 'side-post'),
91 'defaultregion' => 'side-post',
92 'options' => array('langmenu'=>true),
95 'file' => 'general.php',
96 'regions' => array('side-pre', 'side-post'),
97 'defaultregion' => 'side-post',
100 'file' => 'general.php',
101 'regions' => array(),
102 'options' => array('langmenu'=>true),
105 'file' => 'general.php',
106 'regions' => array(),
107 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
110 'file' => 'general.php',
111 'regions' => array(),
112 'options' => array('nofooter'=>true),
114 'maintenance' => array(
115 'file' => 'general.php',
116 'regions' => array(),
117 'options' => array('nofooter'=>true, 'nonavbar'=>true),
120 'file' => 'embedded.php',
121 'regions' => array(),
122 'options' => array('nofooter'=>true, 'nonavbar'=>true),
124 // Should display the content and basic headers only.
126 'file' => 'general.php',
127 'regions' => array(),
128 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
131 'file' => 'general.php',
132 'regions' => array('side-pre'),
133 'defaultregion' => 'side-pre',
137 ///////////////////////////////////////////////////////////////
138 // These are all of the possible layouts in Moodle. The
139 // simplest way to do this is to keep the theme and file
140 // variables the same for every layout. Including them
141 // all in this way allows some flexibility down the road
142 // if you want to add a different layout template to a
144 ///////////////////////////////////////////////////////////////
146 $THEME->csspostprocess = 'magazine_process_css';
148 ////////////////////////////////////////////////////
149 // Allows the user to provide the name of a function
150 // that all CSS should be passed to before being
152 ////////////////////////////////////////////////////
154 // $THEME->javascripts
156 ////////////////////////////////////////////////////
157 // An array containing the names of JavaScript files
158 // located in /javascript/ to include in the theme.
159 // (gets included in the head)
160 ////////////////////////////////////////////////////
162 // $THEME->javascripts_footer
164 ////////////////////////////////////////////////////
165 // As above but will be included in the page footer.
166 ////////////////////////////////////////////////////
168 // $THEME->larrow = "<";
170 ////////////////////////////////////////////////////
171 // Overrides the left arrow image used throughout
173 ////////////////////////////////////////////////////
175 // $THEME->rarrow = ">";
177 ////////////////////////////////////////////////////
178 // Overrides the right arrow image used throughout Moodle
179 ////////////////////////////////////////////////////
181 // $THEME->parents_exclude_javascripts
183 ////////////////////////////////////////////////////
184 // An array of JavaScript files NOT to inherit from
185 // the themes parents
186 ////////////////////////////////////////////////////
188 // $THEME->plugins_exclude_sheets
190 ////////////////////////////////////////////////////
191 // An array of plugin sheets to ignore and not
193 ////////////////////////////////////////////////////
195 // $THEME->rendererfactory
197 ////////////////////////////////////////////////////
198 // Sets a custom render factory to use with the
199 // theme, used when working with custom renderers.
200 ////////////////////////////////////////////////////