2 // This file is part of Moodle - http://moodle.org/
4 // Moodle is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
9 // Moodle is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License
15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 * Config for the splash theme
20 * @package theme_splash
21 * @copyright 2010 Caroline Kennedy - Synergy Learning
22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25 $THEME->name
= 'splash';
27 $THEME->parents
= array(
32 $THEME->sheets
= array(
43 $THEME->editor_sheets
= array('editor');
45 $THEME->enable_dock
= true;
47 $THEME->layouts
= array(
48 // Most pages - if we encounter an unknown or a missing page type, this one is used.
50 'file' => 'general.php',
54 'file' => 'general.php',
55 'regions' => array('side-pre', 'side-post'),
56 'defaultregion' => 'side-pre',
57 'options' => array('langmenu'=>true),
61 'file' => 'general.php',
62 'regions' => array('side-pre', 'side-post'),
63 'defaultregion' => 'side-pre',
64 'options' => array('langmenu'=>true),
67 'coursecategory' => array(
68 'file' => 'general.php',
69 'regions' => array('side-pre', 'side-post'),
70 'defaultregion' => 'side-pre',
71 'options' => array('langmenu'=>true),
74 'file' => 'general.php',
75 'regions' => array('side-pre', 'side-post'),
76 'defaultregion' => 'side-pre',
77 'options' => array('langmenu'=>true),
80 'file' => 'general.php',
81 'regions' => array('side-pre', 'side-post'),
82 'defaultregion' => 'side-pre',
83 'options' => array('langmenu'=>true),
86 'file' => 'general.php',
87 'regions' => array('side-pre'),
88 'defaultregion' => 'side-pre',
89 'options' => array('langmenu'=>true),
91 'mydashboard' => array(
92 'file' => 'general.php',
93 'regions' => array('side-pre', 'side-post'),
94 'defaultregion' => 'side-pre',
95 'options' => array('langmenu'=>true),
98 'file' => 'general.php',
99 'regions' => array('side-pre', 'side-post'),
100 'defaultregion' => 'side-pre',
101 'options' => array('langmenu'=>true),
104 'file' => 'general.php',
105 'regions' => array(),
106 'options' => array('langmenu'=>true),
108 // Pages that appear in pop-up windows - no navigation, no blocks, no header.
110 'file' => 'general.php',
111 'regions' => array(),
112 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
114 // No blocks and minimal footer - used for legacy frame layouts only!
116 'file' => 'general.php',
117 'regions' => array(),
118 'options' => array('nofooter', 'noblocks'=>true, 'nocoursefooter'=>true),
120 // Embeded pages, like iframe embeded in moodleform
122 'file' => 'embedded.php',
123 'regions' => array(),
124 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
126 // Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
127 // This must not have any blocks, and it is good idea if it does not have links to
128 // other places - for example there should not be a home link in the footer...
129 'maintenance' => array(
130 'file' => 'general.php',
131 'regions' => array(),
132 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
134 // Should display the content and basic headers only.
136 'file' => 'general.php',
137 'regions' => array(),
138 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
140 // The pagelayout used when a redirection is occuring.
142 'file' => 'embedded.php',
143 'regions' => array(),
144 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true),
147 'file' => 'report.php',
148 'regions' => array('side-pre'),
149 'defaultregion' => 'side-pre',
150 'options' => array('langmenu'=>true),
154 $THEME->csspostprocess
= 'splash_process_css';
156 $THEME->javascripts
= array('colourswitcher');