Moodle release 2.3rc1
[moodle.git] / theme / formfactor / config.php
blobddc32e8c6d2b7440408b87ed9912fe1a3fec2163
1 <?php
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.
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/>.
18 /**
19 * Configuration for Moodle's formfactor theme.
21 * DO NOT MODIFY THIS THEME!
22 * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD.
24 * For full information about creating Moodle themes, see:
25 * http://docs.moodle.org/dev/Themes_2.0
27 * @package moodlecore
28 * @copyright 2010 Patrick Malley
29 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
32 $THEME->name = 'formfactor';
34 ////////////////////////////////////////////////////
35 // Name of the theme. Most likely the name of
36 // the directory in which this file resides.
37 ////////////////////////////////////////////////////
40 $THEME->parents = array('canvas','base');
42 /////////////////////////////////////////////////////
43 // Which existing theme(s) in the /theme/ directory
44 // do you want this theme to extend. A theme can
45 // extend any number of themes. Rather than
46 // creating an entirely new theme and copying all
47 // of the CSS, you can simply create a new theme,
48 // extend the theme you like and just add the
49 // changes you want to your theme.
50 ////////////////////////////////////////////////////
53 $THEME->sheets = array('selected', 'core', 'course', 'mods', 'blocks');
55 ////////////////////////////////////////////////////
56 // Name of the stylesheet(s) you've including in
57 // this theme's /styles/ directory.
58 ////////////////////////////////////////////////////
61 $THEME->enable_dock = false;
63 ////////////////////////////////////////////////////
64 // Do you want to use the new navigation dock?
65 ////////////////////////////////////////////////////
68 // $THEME->editor_sheets = array('editor');
70 ////////////////////////////////////////////////////
71 // An array of stylesheets to include within the
72 // body of the editor.
73 ////////////////////////////////////////////////////
75 $THEME->layouts = array(
76 'base' => array(
77 'file' => 'general.php',
78 'regions' => array('side-pre', 'side-post'),
79 'defaultregion' => 'side-pre',
81 'standard' => array(
82 'file' => 'general.php',
83 'regions' => array('side-pre', 'side-post'),
84 'defaultregion' => 'side-pre',
86 'course' => array(
87 'file' => 'general.php',
88 'regions' => array('side-pre', 'side-post'),
89 'defaultregion' => 'side-pre'
91 'coursecategory' => array(
92 'file' => 'general.php',
93 'regions' => array('side-pre', 'side-post'),
94 'defaultregion' => 'side-pre',
96 'incourse' => array(
97 'file' => 'general.php',
98 'regions' => array('side-pre', 'side-post'),
99 'defaultregion' => 'side-pre',
101 'frontpage' => array(
102 'file' => 'frontpage.php',
103 'regions' => array('side-pre', 'side-post'),
104 'defaultregion' => 'side-pre',
106 'admin' => array(
107 'file' => 'general.php',
108 'regions' => array('side-pre'),
109 'defaultregion' => 'side-pre',
111 'mydashboard' => array(
112 'file' => 'general.php',
113 'regions' => array('side-pre', 'side-post'),
114 'defaultregion' => 'side-pre',
115 'options' => array('langmenu'=>true),
117 'mypublic' => array(
118 'file' => 'general.php',
119 'regions' => array('side-pre', 'side-post'),
120 'defaultregion' => 'side-pre',
122 'login' => array(
123 'file' => 'general.php',
124 'regions' => array(),
125 'options' => array('langmenu'=>true),
127 'popup' => array(
128 'file' => 'general.php',
129 'regions' => array(),
130 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
132 'frametop' => array(
133 'file' => 'general.php',
134 'regions' => array(),
135 'options' => array('nofooter'=>true),
137 'maintenance' => array(
138 'file' => 'general.php',
139 'regions' => array(),
140 'options' => array('nofooter'=>true, 'nonavbar'=>true),
142 'embedded' => array(
143 'file' => 'embedded.php',
144 'regions' => array(),
145 'options' => array('nofooter'=>true, 'nonavbar'=>true),
147 // Should display the content and basic headers only.
148 'print' => array(
149 'file' => 'general.php',
150 'regions' => array(),
151 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
156 ///////////////////////////////////////////////////////////////
157 // These are all of the possible layouts in Moodle. The
158 // simplest way to do this is to keep the theme and file
159 // variables the same for every layout. Including them
160 // all in this way allows some flexibility down the road
161 // if you want to add a different layout template to a
162 // specific page.
163 ///////////////////////////////////////////////////////////////
165 // $THEME->csspostprocess
167 ////////////////////////////////////////////////////
168 // Allows the user to provide the name of a function
169 // that all CSS should be passed to before being
170 // delivered.
171 ////////////////////////////////////////////////////
173 // $THEME->javascripts
175 ////////////////////////////////////////////////////
176 // An array containing the names of JavaScript files
177 // located in /javascript/ to include in the theme.
178 // (gets included in the head)
179 ////////////////////////////////////////////////////
181 // $THEME->javascripts_footer
183 ////////////////////////////////////////////////////
184 // As above but will be included in the page footer.
185 ////////////////////////////////////////////////////
187 // $THEME->larrow
189 ////////////////////////////////////////////////////
190 // Overrides the left arrow image used throughout
191 // Moodle
192 ////////////////////////////////////////////////////
194 // $THEME->rarrow
196 ////////////////////////////////////////////////////
197 // Overrides the right arrow image used throughout Moodle
198 ////////////////////////////////////////////////////
200 // $THEME->layouts
202 ////////////////////////////////////////////////////
203 // An array setting the layouts for the theme
204 ////////////////////////////////////////////////////
206 // $THEME->parents_exclude_javascripts
208 ////////////////////////////////////////////////////
209 // An array of JavaScript files NOT to inherit from
210 // the themes parents
211 ////////////////////////////////////////////////////
213 // $THEME->parents_exclude_sheets
215 ////////////////////////////////////////////////////
216 // An array of stylesheets not to inherit from the
217 // themes parents
218 ////////////////////////////////////////////////////
220 // $THEME->plugins_exclude_sheets
222 ////////////////////////////////////////////////////
223 // An array of plugin sheets to ignore and not
224 // include.
225 ////////////////////////////////////////////////////
227 // $THEME->rendererfactory
229 ////////////////////////////////////////////////////
230 // Sets a custom render factory to use with the
231 // theme, used when working with custom renderers.
232 ////////////////////////////////////////////////////
234 $THEME->editor_sheets = array('editor');