|
| 1 | +<?php |
| 2 | + |
| 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. |
| 14 | +// |
| 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/>. |
| 17 | + |
| 18 | +/** |
| 19 | + * Configuration for Moodle's overlay theme. |
| 20 | + * |
| 21 | + * DO NOT MODIFY THIS THEME! |
| 22 | + * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. |
| 23 | + * |
| 24 | + * For full information about creating Moodle themes, see: |
| 25 | + * http://docs.moodle.org/en/Development:Themes_2.0 |
| 26 | + * |
| 27 | + * @package moodlecore |
| 28 | + * @copyright 2008 NodeThirtyThree (http://nodethirtythree.com/) |
| 29 | + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| 30 | + */ |
| 31 | + |
| 32 | +$THEME->name = 'overlay'; |
| 33 | + |
| 34 | +//////////////////////////////////////////////////// |
| 35 | +// Name of the theme. Most likely the name of |
| 36 | +// the directory in which this file resides. |
| 37 | +//////////////////////////////////////////////////// |
| 38 | + |
| 39 | + |
| 40 | +$THEME->parents = array( |
| 41 | + 'canvas', |
| 42 | + 'base', |
| 43 | +); |
| 44 | + |
| 45 | +///////////////////////////////////////////////////// |
| 46 | +// Which existing theme(s) in the /theme/ directory |
| 47 | +// do you want this theme to extend. A theme can |
| 48 | +// extend any number of themes. Rather than |
| 49 | +// creating an entirely new theme and copying all |
| 50 | +// of the CSS, you can simply create a new theme, |
| 51 | +// extend the theme you like and just add the |
| 52 | +// changes you want to your theme. |
| 53 | +//////////////////////////////////////////////////// |
| 54 | + |
| 55 | + |
| 56 | +$THEME->sheets = array( |
| 57 | + 'core', |
| 58 | + 'settings', |
| 59 | + 'pagelayout', |
| 60 | +); |
| 61 | + |
| 62 | +//////////////////////////////////////////////////// |
| 63 | +// Name of the stylesheet(s) you've including in |
| 64 | +// this theme's /styles/ directory. |
| 65 | +//////////////////////////////////////////////////// |
| 66 | + |
| 67 | +$THEME->parents_exclude_sheets = array( |
| 68 | + 'base'=>array( |
| 69 | + 'pagelayout', |
| 70 | + ), |
| 71 | + 'canvas'=>array( |
| 72 | + 'pagelayout', |
| 73 | + ), |
| 74 | +); |
| 75 | + |
| 76 | + |
| 77 | +$THEME->enable_dock = true; |
| 78 | + |
| 79 | +//////////////////////////////////////////////////// |
| 80 | +// Do you want to use the new navigation dock? |
| 81 | +//////////////////////////////////////////////////// |
| 82 | + |
| 83 | + |
| 84 | +// $THEME->editor_sheets |
| 85 | + |
| 86 | +//////////////////////////////////////////////////// |
| 87 | +// An array of stylesheets to include within the |
| 88 | +// body of the editor. |
| 89 | +//////////////////////////////////////////////////// |
| 90 | + |
| 91 | +$THEME->layouts = array( |
| 92 | + 'base' => array( |
| 93 | + 'file' => 'general.php', |
| 94 | + 'regions' => array('side-pre', 'side-post'), |
| 95 | + 'defaultregion' => 'side-post', |
| 96 | + ), |
| 97 | + 'standard' => array( |
| 98 | + 'file' => 'general.php', |
| 99 | + 'regions' => array('side-pre', 'side-post'), |
| 100 | + 'defaultregion' => 'side-post', |
| 101 | + ), |
| 102 | + 'course' => array( |
| 103 | + 'file' => 'general.php', |
| 104 | + 'regions' => array('side-pre', 'side-post'), |
| 105 | + 'defaultregion' => 'side-post' |
| 106 | + ), |
| 107 | + 'coursecategory' => array( |
| 108 | + 'file' => 'general.php', |
| 109 | + 'regions' => array('side-pre', 'side-post'), |
| 110 | + 'defaultregion' => 'side-post', |
| 111 | + ), |
| 112 | + 'incourse' => array( |
| 113 | + 'file' => 'general.php', |
| 114 | + 'regions' => array('side-pre', 'side-post'), |
| 115 | + 'defaultregion' => 'side-post', |
| 116 | + ), |
| 117 | + 'frontpage' => array( |
| 118 | + 'file' => 'frontpage.php', |
| 119 | + 'regions' => array('side-pre', 'side-post'), |
| 120 | + 'defaultregion' => 'side-post', |
| 121 | + ), |
| 122 | + 'admin' => array( |
| 123 | + 'file' => 'general.php', |
| 124 | + 'regions' => array('side-pre'), |
| 125 | + 'defaultregion' => 'side-pre', |
| 126 | + ), |
| 127 | + 'mydashboard' => array( |
| 128 | + 'file' => 'general.php', |
| 129 | + 'regions' => array('side-pre', 'side-post'), |
| 130 | + 'defaultregion' => 'side-post', |
| 131 | + 'options' => array('langmenu'=>true), |
| 132 | + ), |
| 133 | + 'mypublic' => array( |
| 134 | + 'file' => 'general.php', |
| 135 | + 'regions' => array('side-pre', 'side-post'), |
| 136 | + 'defaultregion' => 'side-post', |
| 137 | + ), |
| 138 | + 'login' => array( |
| 139 | + 'file' => 'general.php', |
| 140 | + 'regions' => array(), |
| 141 | + 'options' => array('langmenu'=>true), |
| 142 | + ), |
| 143 | + 'popup' => array( |
| 144 | + 'file' => 'general.php', |
| 145 | + 'regions' => array(), |
| 146 | + 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true), |
| 147 | + ), |
| 148 | + 'frametop' => array( |
| 149 | + 'file' => 'general.php', |
| 150 | + 'regions' => array(), |
| 151 | + 'options' => array('nofooter'=>true), |
| 152 | + ), |
| 153 | + 'maintenance' => array( |
| 154 | + 'file' => 'general.php', |
| 155 | + 'regions' => array(), |
| 156 | + 'options' => array('nofooter'=>true, 'nonavbar'=>true), |
| 157 | + ), |
| 158 | + 'embedded' => array( |
| 159 | + 'theme' => 'canvas', |
| 160 | + 'file' => 'embedded.php', |
| 161 | + 'regions' => array(), |
| 162 | + 'options' => array('nofooter'=>true, 'nonavbar'=>true), |
| 163 | + ), |
| 164 | + |
| 165 | +); |
| 166 | + |
| 167 | +/////////////////////////////////////////////////////////////// |
| 168 | +// These are all of the possible layouts in Moodle. The |
| 169 | +// simplest way to do this is to keep the theme and file |
| 170 | +// variables the same for every layout. Including them |
| 171 | +// all in this way allows some flexibility down the road |
| 172 | +// if you want to add a different layout template to a |
| 173 | +// specific page. |
| 174 | +/////////////////////////////////////////////////////////////// |
| 175 | + |
| 176 | +$THEME->csspostprocess = 'overlay_process_css'; |
| 177 | + |
| 178 | +//////////////////////////////////////////////////// |
| 179 | +// Allows the user to provide the name of a function |
| 180 | +// that all CSS should be passed to before being |
| 181 | +// delivered. |
| 182 | +//////////////////////////////////////////////////// |
| 183 | + |
| 184 | +// $THEME->filter_mediaplugin_colors |
| 185 | + |
| 186 | +//////////////////////////////////////////////////// |
| 187 | +// Used to control the colours used in the small |
| 188 | +// media player for the filters |
| 189 | +//////////////////////////////////////////////////// |
| 190 | + |
| 191 | +// $THEME->javascripts |
| 192 | + |
| 193 | +//////////////////////////////////////////////////// |
| 194 | +// An array containing the names of JavaScript files |
| 195 | +// located in /javascript/ to include in the theme. |
| 196 | +// (gets included in the head) |
| 197 | +//////////////////////////////////////////////////// |
| 198 | + |
| 199 | +// $THEME->javascripts_footer |
| 200 | + |
| 201 | +//////////////////////////////////////////////////// |
| 202 | +// As above but will be included in the page footer. |
| 203 | +//////////////////////////////////////////////////// |
| 204 | + |
| 205 | +// $THEME->larrow |
| 206 | + |
| 207 | +//////////////////////////////////////////////////// |
| 208 | +// Overrides the left arrow image used throughout |
| 209 | +// Moodle |
| 210 | +//////////////////////////////////////////////////// |
| 211 | + |
| 212 | +// $THEME->rarrow |
| 213 | + |
| 214 | +//////////////////////////////////////////////////// |
| 215 | +// Overrides the right arrow image used throughout Moodle |
| 216 | +//////////////////////////////////////////////////// |
| 217 | + |
| 218 | +// $THEME->layouts |
| 219 | + |
| 220 | +//////////////////////////////////////////////////// |
| 221 | +// An array setting the layouts for the theme |
| 222 | +//////////////////////////////////////////////////// |
| 223 | + |
| 224 | +// $THEME->parents_exclude_javascripts |
| 225 | + |
| 226 | +//////////////////////////////////////////////////// |
| 227 | +// An array of JavaScript files NOT to inherit from |
| 228 | +// the themes parents |
| 229 | +//////////////////////////////////////////////////// |
| 230 | + |
| 231 | +// $THEME->parents_exclude_sheets |
| 232 | + |
| 233 | +//////////////////////////////////////////////////// |
| 234 | +// An array of stylesheets not to inherit from the |
| 235 | +// themes parents |
| 236 | +//////////////////////////////////////////////////// |
| 237 | + |
| 238 | +// $THEME->plugins_exclude_sheets |
| 239 | + |
| 240 | +//////////////////////////////////////////////////// |
| 241 | +// An array of plugin sheets to ignore and not |
| 242 | +// include. |
| 243 | +//////////////////////////////////////////////////// |
| 244 | + |
| 245 | +// $THEME->renderfactory |
| 246 | + |
| 247 | +//////////////////////////////////////////////////// |
| 248 | +// Sets a custom render factory to use with the |
| 249 | +// theme, used when working with custom renderers. |
| 250 | +//////////////////////////////////////////////////// |
| 251 | + |
| 252 | +// $THEME->resource_mp3player_colors |
| 253 | + |
| 254 | +//////////////////////////////////////////////////// |
| 255 | +// Controls the colours for the MP3 player |
| 256 | +//////////////////////////////////////////////////// |
0 commit comments