|
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 = 'formfactor'; 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('selected', 'core', 'course', 'mods', 'blocks'); 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->editor_sheets = array('editor'); 00069 00071 // An array of stylesheets to include within the 00072 // body of the editor. 00074 00075 $THEME->layouts = array( 00076 'base' => array( 00077 'file' => 'general.php', 00078 'regions' => array('side-pre', 'side-post'), 00079 'defaultregion' => 'side-post', 00080 ), 00081 'standard' => array( 00082 'file' => 'general.php', 00083 'regions' => array('side-pre', 'side-post'), 00084 'defaultregion' => 'side-post', 00085 ), 00086 'course' => array( 00087 'file' => 'general.php', 00088 'regions' => array('side-pre', 'side-post'), 00089 'defaultregion' => 'side-post' 00090 ), 00091 'coursecategory' => array( 00092 'file' => 'general.php', 00093 'regions' => array('side-pre', 'side-post'), 00094 'defaultregion' => 'side-post', 00095 ), 00096 'incourse' => array( 00097 'file' => 'general.php', 00098 'regions' => array('side-pre', 'side-post'), 00099 'defaultregion' => 'side-post', 00100 ), 00101 'frontpage' => array( 00102 'file' => 'frontpage.php', 00103 'regions' => array('side-pre', 'side-post'), 00104 'defaultregion' => 'side-post', 00105 ), 00106 'admin' => array( 00107 'file' => 'general.php', 00108 'regions' => array('side-pre'), 00109 'defaultregion' => 'side-pre', 00110 ), 00111 'mydashboard' => array( 00112 'file' => 'general.php', 00113 'regions' => array('side-pre', 'side-post'), 00114 'defaultregion' => 'side-post', 00115 'options' => array('langmenu'=>true), 00116 ), 00117 'mypublic' => array( 00118 'file' => 'general.php', 00119 'regions' => array('side-pre', 'side-post'), 00120 'defaultregion' => 'side-post', 00121 ), 00122 'login' => array( 00123 'file' => 'general.php', 00124 'regions' => array(), 00125 'options' => array('langmenu'=>true), 00126 ), 00127 'popup' => array( 00128 'file' => 'general.php', 00129 'regions' => array(), 00130 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true), 00131 ), 00132 'frametop' => array( 00133 'file' => 'general.php', 00134 'regions' => array(), 00135 'options' => array('nofooter'=>true), 00136 ), 00137 'maintenance' => array( 00138 'file' => 'general.php', 00139 'regions' => array(), 00140 'options' => array('nofooter'=>true, 'nonavbar'=>true), 00141 ), 00142 'embedded' => array( 00143 'file' => 'embedded.php', 00144 'regions' => array(), 00145 'options' => array('nofooter'=>true, 'nonavbar'=>true), 00146 ), 00147 // Should display the content and basic headers only. 00148 'print' => array( 00149 'file' => 'general.php', 00150 'regions' => array(), 00151 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true), 00152 ), 00153 00154 ); 00155 00157 // These are all of the possible layouts in Moodle. The 00158 // simplest way to do this is to keep the theme and file 00159 // variables the same for every layout. Including them 00160 // all in this way allows some flexibility down the road 00161 // if you want to add a different layout template to a 00162 // specific page. 00164 00165 // $THEME->csspostprocess 00166 00168 // Allows the user to provide the name of a function 00169 // that all CSS should be passed to before being 00170 // delivered. 00172 00173 // $THEME->javascripts 00174 00176 // An array containing the names of JavaScript files 00177 // located in /javascript/ to include in the theme. 00178 // (gets included in the head) 00180 00181 // $THEME->javascripts_footer 00182 00184 // As above but will be included in the page footer. 00186 00187 // $THEME->larrow 00188 00190 // Overrides the left arrow image used throughout 00191 // Moodle 00193 00194 // $THEME->rarrow 00195 00197 // Overrides the right arrow image used throughout Moodle 00199 00200 // $THEME->layouts 00201 00203 // An array setting the layouts for the theme 00205 00206 // $THEME->parents_exclude_javascripts 00207 00209 // An array of JavaScript files NOT to inherit from 00210 // the themes parents 00212 00213 // $THEME->parents_exclude_sheets 00214 00216 // An array of stylesheets not to inherit from the 00217 // themes parents 00219 00220 // $THEME->plugins_exclude_sheets 00221 00223 // An array of plugin sheets to ignore and not 00224 // include. 00226 00227 // $THEME->rendererfactory 00228 00230 // Sets a custom render factory to use with the 00231 // theme, used when working with custom renderers. 00233 00234 $THEME->editor_sheets = array('editor');