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