|
Moodle
2.2.1
http://www.collinsharper.com
|
00001 <?php 00002 00003 // This file is part of Moodle - http://moodle.org/ 00004 // 00005 // Moodle is free software: you can redistribute it and/or modify 00006 // it under the terms of the GNU General Public License as published by 00007 // the Free Software Foundation, either version 3 of the License, or 00008 // (at your option) any later version. 00009 // 00010 // Moodle is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 // GNU General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU General Public License 00016 // along with Moodle. If not, see <http://www.gnu.org/licenses/>. 00017 00032 $THEME->name = 'overlay'; 00033 00035 // Name of the theme. Most likely the name of 00036 // the directory in which this file resides. 00038 00039 00040 $THEME->parents = array( 00041 'canvas', 00042 'base', 00043 ); 00044 00046 // Which existing theme(s) in the /theme/ directory 00047 // do you want this theme to extend. A theme can 00048 // extend any number of themes. Rather than 00049 // creating an entirely new theme and copying all 00050 // of the CSS, you can simply create a new theme, 00051 // extend the theme you like and just add the 00052 // changes you want to your theme. 00054 00055 00056 $THEME->sheets = array( 00057 'core', 00058 'settings', 00059 'pagelayout', 00060 ); 00061 00063 // Name of the stylesheet(s) you've including in 00064 // this theme's /styles/ directory. 00066 00067 $THEME->parents_exclude_sheets = array( 00068 'base'=>array( 00069 'pagelayout', 00070 ), 00071 'canvas'=>array( 00072 'pagelayout', 00073 ), 00074 ); 00075 00076 00077 $THEME->enable_dock = true; 00078 00080 // Do you want to use the new navigation dock? 00082 00083 00084 $THEME->editor_sheets = array('editor'); 00085 00087 // An array of stylesheets to include within the 00088 // body of the editor. 00090 00091 $THEME->layouts = array( 00092 'base' => array( 00093 'file' => 'general.php', 00094 'regions' => array('side-pre', 'side-post'), 00095 'defaultregion' => 'side-post', 00096 ), 00097 'standard' => array( 00098 'file' => 'general.php', 00099 'regions' => array('side-pre', 'side-post'), 00100 'defaultregion' => 'side-post', 00101 ), 00102 'course' => array( 00103 'file' => 'general.php', 00104 'regions' => array('side-pre', 'side-post'), 00105 'defaultregion' => 'side-post' 00106 ), 00107 'coursecategory' => array( 00108 'file' => 'general.php', 00109 'regions' => array('side-pre', 'side-post'), 00110 'defaultregion' => 'side-post', 00111 ), 00112 'incourse' => array( 00113 'file' => 'general.php', 00114 'regions' => array('side-pre', 'side-post'), 00115 'defaultregion' => 'side-post', 00116 ), 00117 'frontpage' => array( 00118 'file' => 'frontpage.php', 00119 'regions' => array('side-pre', 'side-post'), 00120 'defaultregion' => 'side-post', 00121 ), 00122 'admin' => array( 00123 'file' => 'general.php', 00124 'regions' => array('side-pre'), 00125 'defaultregion' => 'side-pre', 00126 ), 00127 'mydashboard' => array( 00128 'file' => 'general.php', 00129 'regions' => array('side-pre', 'side-post'), 00130 'defaultregion' => 'side-post', 00131 'options' => array('langmenu'=>true), 00132 ), 00133 'mypublic' => array( 00134 'file' => 'general.php', 00135 'regions' => array('side-pre', 'side-post'), 00136 'defaultregion' => 'side-post', 00137 ), 00138 'login' => array( 00139 'file' => 'general.php', 00140 'regions' => array(), 00141 'options' => array('langmenu'=>true), 00142 ), 00143 'popup' => array( 00144 'file' => 'general.php', 00145 'regions' => array(), 00146 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true), 00147 ), 00148 'frametop' => array( 00149 'file' => 'general.php', 00150 'regions' => array(), 00151 'options' => array('nofooter'=>true), 00152 ), 00153 'maintenance' => array( 00154 'file' => 'general.php', 00155 'regions' => array(), 00156 'options' => array('nofooter'=>true, 'nonavbar'=>true), 00157 ), 00158 'embedded' => array( 00159 'theme' => 'canvas', 00160 'file' => 'embedded.php', 00161 'regions' => array(), 00162 'options' => array('nofooter'=>true, 'nonavbar'=>true), 00163 ), 00164 'report' => array( 00165 'file' => 'general.php', 00166 'regions' => array('side-pre'), 00167 'defaultregion' => 'side-pre', 00168 ), 00169 ); 00170 00172 // These are all of the possible layouts in Moodle. The 00173 // simplest way to do this is to keep the theme and file 00174 // variables the same for every layout. Including them 00175 // all in this way allows some flexibility down the road 00176 // if you want to add a different layout template to a 00177 // specific page. 00179 00180 $THEME->csspostprocess = 'overlay_process_css'; 00181 00183 // Allows the user to provide the name of a function 00184 // that all CSS should be passed to before being 00185 // delivered. 00187 00188 // $THEME->javascripts 00189 00191 // An array containing the names of JavaScript files 00192 // located in /javascript/ to include in the theme. 00193 // (gets included in the head) 00195 00196 // $THEME->javascripts_footer 00197 00199 // As above but will be included in the page footer. 00201 00202 // $THEME->larrow 00203 00205 // Overrides the left arrow image used throughout 00206 // Moodle 00208 00209 // $THEME->rarrow 00210 00212 // Overrides the right arrow image used throughout Moodle 00214 00215 // $THEME->layouts 00216 00218 // An array setting the layouts for the theme 00220 00221 // $THEME->parents_exclude_javascripts 00222 00224 // An array of JavaScript files NOT to inherit from 00225 // the themes parents 00227 00228 // $THEME->parents_exclude_sheets 00229 00231 // An array of stylesheets not to inherit from the 00232 // themes parents 00234 00235 // $THEME->plugins_exclude_sheets 00236 00238 // An array of plugin sheets to ignore and not 00239 // include. 00241 00242 // $THEME->rendererfactory 00243 00245 // Sets a custom render factory to use with the 00246 // theme, used when working with custom renderers. 00248