|
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 = 'fusion'; 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 'pagelayout', 00059 'menus', 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(), 00096 ), 00097 'standard' => array( 00098 'file' => 'general.php', 00099 'regions' => array('side-post'), 00100 'defaultregion' => 'side-post', 00101 ), 00102 'course' => array( 00103 'file' => 'general.php', 00104 'regions' => array('side-post'), 00105 'defaultregion' => 'side-post' 00106 ), 00107 'coursecategory' => array( 00108 'file' => 'general.php', 00109 'regions' => array('side-post'), 00110 'defaultregion' => 'side-post', 00111 ), 00112 'incourse' => array( 00113 'file' => 'general.php', 00114 'regions' => array('side-post'), 00115 'defaultregion' => 'side-post', 00116 ), 00117 'frontpage' => array( 00118 'file' => 'frontpage.php', 00119 'regions' => array('side-post'), 00120 'defaultregion' => 'side-post', 00121 ), 00122 'admin' => array( 00123 'file' => 'general.php', 00124 'regions' => array('side-post'), 00125 'defaultregion' => 'side-post', 00126 ), 00127 'mydashboard' => array( 00128 'file' => 'general.php', 00129 'regions' => array('side-post'), 00130 'defaultregion' => 'side-post', 00131 'options' => array('langmenu'=>true), 00132 ), 00133 'mypublic' => array( 00134 'file' => 'general.php', 00135 'regions' => array('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 // Should display the content and basic headers only. 00165 'print' => array( 00166 'file' => 'general.php', 00167 'regions' => array(), 00168 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), 00169 ), 00170 'report' => array( 00171 'file' => 'general.php', 00172 'regions' => array('side-post'), 00173 'defaultregion' => 'side-post', 00174 ), 00175 ); 00176 00178 // These are all of the possible layouts in Moodle. The 00179 // simplest way to do this is to keep the theme and file 00180 // variables the same for every layout. Including them 00181 // all in this way allows some flexibility down the road 00182 // if you want to add a different layout template to a 00183 // specific page. 00185 00186 // $THEME->csspostprocess = 'fusion_process_css'; 00187 00189 // Allows the user to provide the name of a function 00190 // that all CSS should be passed to before being 00191 // delivered. 00193 00194 // $THEME->javascripts 00195 00197 // An array containing the names of JavaScript files 00198 // located in /javascript/ to include in the theme. 00199 // (gets included in the head) 00201 00202 // $THEME->javascripts_footer 00203 00205 // As above but will be included in the page footer. 00207 00208 $THEME->larrow = '⟨'; 00209 00211 // Overrides the left arrow image used throughout 00212 // Moodle 00214 00215 $THEME->rarrow = '⟩'; 00216 00218 // Overrides the right arrow image used throughout Moodle 00220 00221 // $THEME->layouts 00222 00224 // An array setting the layouts for the theme 00226 00227 // $THEME->parents_exclude_javascripts 00228 00230 // An array of JavaScript files NOT to inherit from 00231 // the themes parents 00233 00234 // $THEME->parents_exclude_sheets 00235 00237 // An array of stylesheets not to inherit from the 00238 // themes parents 00240 00241 // $THEME->plugins_exclude_sheets 00242 00244 // An array of plugin sheets to ignore and not 00245 // include. 00247 00248 // $THEME->rendererfactory 00249 00251 // Sets a custom render factory to use with the 00252 // theme, used when working with custom renderers. 00254 00255 $THEME->csspostprocess = 'fusion_process_css';