|
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 = 'boxxie'; 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('canvas','base'); 00041 00043 // Which existing theme(s) in the /theme/ directory 00044 // do you want this theme to extend. A theme can 00045 // extend any number of themes. Rather than 00046 // creating an entirely new theme and copying all 00047 // of the CSS, you can simply create a new theme, 00048 // extend the theme you like and just add the 00049 // changes you want to your theme. 00051 00052 00053 $THEME->sheets = array('core'); 00054 00056 // Name of the stylesheet(s) you've including in 00057 // this theme's /styles/ directory. 00059 00060 00061 $THEME->enable_dock = false; 00062 00064 // Do you want to use the new navigation dock? 00066 00067 00068 $THEME->layouts = array( 00069 'base' => array( 00070 'file' => 'general.php', 00071 'regions' => array('side-pre', 'side-post'), 00072 'defaultregion' => 'side-post', 00073 ), 00074 'standard' => array( 00075 'file' => 'general.php', 00076 'regions' => array('side-pre', 'side-post'), 00077 'defaultregion' => 'side-post', 00078 ), 00079 'course' => array( 00080 'file' => 'general.php', 00081 'regions' => array('side-pre', 'side-post'), 00082 'defaultregion' => 'side-post' 00083 ), 00084 'coursecategory' => array( 00085 'file' => 'general.php', 00086 'regions' => array('side-pre', 'side-post'), 00087 'defaultregion' => 'side-post', 00088 ), 00089 'incourse' => array( 00090 'file' => 'general.php', 00091 'regions' => array('side-pre', 'side-post'), 00092 'defaultregion' => 'side-post', 00093 ), 00094 'frontpage' => array( 00095 'file' => 'frontpage.php', 00096 'regions' => array('side-pre', 'side-post'), 00097 'defaultregion' => 'side-post', 00098 ), 00099 'admin' => array( 00100 'file' => 'general.php', 00101 'regions' => array('side-pre'), 00102 'defaultregion' => 'side-pre', 00103 ), 00104 'mydashboard' => array( 00105 'file' => 'general.php', 00106 'regions' => array('side-pre', 'side-post'), 00107 'defaultregion' => 'side-post', 00108 'options' => array('langmenu'=>true), 00109 ), 00110 'mypublic' => array( 00111 'file' => 'general.php', 00112 'regions' => array('side-pre', 'side-post'), 00113 'defaultregion' => 'side-post', 00114 ), 00115 'login' => array( 00116 'file' => 'general.php', 00117 'regions' => array(), 00118 'options' => array('langmenu'=>true), 00119 ), 00120 'popup' => array( 00121 'file' => 'general.php', 00122 'regions' => array(), 00123 'options' => array('nofooter'=>true), 00124 ), 00125 'frametop' => array( 00126 'file' => 'general.php', 00127 'regions' => array(), 00128 'options' => array('nofooter'=>true), 00129 ), 00130 'maintenance' => array( 00131 'theme' => 'boxxie', 00132 'file' => 'general.php', 00133 'regions' => array(), 00134 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>false, 'nocustommenu'=>true), 00135 ), 00136 'embedded' => array( 00137 'file' => 'embedded.php', 00138 'regions' => array(), 00139 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>false, 'nocustommenu'=>true), 00140 ), 00141 // Should display the content and basic headers only. 00142 'print' => array( 00143 'file' => 'general.php', 00144 'regions' => array(), 00145 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>false, 'nocustommenu'=>true), 00146 ), 00147 00148 ); 00149 00151 // These are all of the possible layouts in Moodle. The 00152 // simplest way to do this is to keep the theme and file 00153 // variables the same for every layout. Including them 00154 // all in this way allows some flexibility down the road 00155 // if you want to add a different layout template to a 00156 // specific page. 00158 00159 // $THEME->csspostprocess 00160 00162 // Allows the user to provide the name of a function 00163 // that all CSS should be passed to before being 00164 // delivered. 00166 00167 // $THEME->javascripts 00168 00170 // An array containing the names of JavaScript files 00171 // located in /javascript/ to include in the theme. 00172 // (gets included in the head) 00174 00175 // $THEME->javascripts_footer 00176 00178 // As above but will be included in the page footer. 00180 00181 // $THEME->larrow 00182 00184 // Overrides the left arrow image used throughout 00185 // Moodle 00187 00188 // $THEME->rarrow 00189 00191 // Overrides the right arrow image used throughout Moodle 00193 00194 // $THEME->layouts 00195 00197 // An array setting the layouts for the theme 00199 00200 // $THEME->parents_exclude_javascripts 00201 00203 // An array of JavaScript files NOT to inherit from 00204 // the themes parents 00206 00207 // $THEME->parents_exclude_sheets 00208 00210 // An array of stylesheets not to inherit from the 00211 // themes parents 00213 00214 // $THEME->plugins_exclude_sheets 00215 00217 // An array of plugin sheets to ignore and not 00218 // include. 00220 00221 // $THEME->rendererfactory 00222 00224 // Sets a custom render factory to use with the 00225 // theme, used when working with custom renderers. 00227