Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/formal_white/config.php
Go to the documentation of this file.
00001 <?php
00002 
00003 defined('MOODLE_INTERNAL') || die();
00004 
00005 // This file is part of Moodle - http://moodle.org/
00006 //
00007 // Moodle is free software: you can redistribute it and/or modify
00008 // it under the terms of the GNU General Public License as published by
00009 // the Free Software Foundation, either version 3 of the License, or
00010 // (at your option) any later version.
00011 //
00012 // Moodle is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 // GNU General Public License for more details.
00016 //
00017 // You should have received a copy of the GNU General Public License
00018 // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
00019 
00035 $THEME->name = 'formal_white';
00037 // Name of the theme. Most likely the name of
00038 // the directory in which this file resides.
00040 
00041 
00042 $THEME->parents = array('base','canvas');
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->parents_exclude_sheets = array(
00055     'canvas'=>array(
00056         'core',
00057         'pagelayout',
00058         'tabs',
00059         'tables',
00060     ),
00061 );
00063 // An array of stylesheets not to inherit from the
00064 // themes parents
00066 
00067 
00068 $THEME->sheets = array('frame'     ,'menu', 'course',
00069                        'pagelayout','core', 'calendar',
00070                        'tabs'      ,'quiz', 'forum',
00071                        'formal_white');
00073 // Name of the stylesheet(s) you've including in
00074 // this theme's /styles/ directory.
00076 
00077 
00078 $THEME->enable_dock = true;
00080 // Do you want to use the new navigation dock?
00082 
00083 
00084 $THEME->editor_sheets = array('editor');
00086 // An array of stylesheets to include within the
00087 // body of the editor.
00089 
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     'general' => 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         'options' => array('langmenu'=>true),
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         'options' => array('langmenu'=>true),
00123     ),
00124     'admin' => array(
00125         'file' => 'general.php',
00126         'regions' => array('side-pre'),
00127         'defaultregion' => 'side-pre',
00128     ),
00129     'mydashboard' => array(
00130         'file' => 'general.php',
00131         'regions' => array('side-pre', 'side-post'),
00132         'defaultregion' => 'side-post',
00133         'options' => array('langmenu'=>true),
00134     ),
00135     'mypublic' => array(
00136         'file' => 'general.php',
00137         'regions' => array('side-pre', 'side-post'),
00138         'defaultregion' => 'side-post',
00139     ),
00140     'login' => array(
00141         'file' => 'general.php',
00142         'regions' => array(),
00143         'options' => array('langmenu'=>true),
00144     ),
00145     // Pages that appear in pop-up windows - no navigation, no blocks, no header.
00146     'popup' => array(
00147         'file' => 'general.php',
00148         'regions' => array(),
00149         'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
00150     ),
00151     // No blocks and minimal footer - used for legacy frame layouts only!
00152     'frametop' => array(
00153         'file' => 'general.php',
00154         'regions' => array(),
00155         'options' => array('nofooter'=>true),
00156     ),
00157     // Embeded pages, like iframe embeded in moodleform (chat)
00158     'embedded' => array(
00159         'file' => 'embedded.php',
00160         'regions' => array(),
00161         'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true),
00162     ),
00163     // Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
00164     // This must not have any blocks, and it is good idea if it does not have links to
00165     // other places - for example there should not be a home link in the footer...
00166     'maintenance' => array(
00167         'file' => 'general.php',
00168         'regions' => array(),
00169         'options' => array('nofooter'=>true, 'nonavbar'=>true),
00170     ),
00171     // Should display the content and basic headers only.
00172     'print' => array(
00173         'file' => 'general.php',
00174         'regions' => array(),
00175         'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
00176     ),
00177     'report' => array(
00178         'file' => 'general.php',
00179         'regions' => array('side-pre'),
00180         'defaultregion' => 'side-pre',
00181     ),
00182 );
00184 // These are all of the possible layouts in Moodle. The
00185 // simplest way to do this is to keep the theme and file
00186 // variables the same for every layout. Including them
00187 // all in this way allows some flexibility down the road
00188 // if you want to add a different layout template to a
00189 // specific page.
00191 
00192 
00193 $THEME->csspostprocess = 'formal_white_user_settings';
00195 // Allows the user to provide the name of a function
00196 // that all CSS should be passed to before being
00197 // delivered.
00199 
00200 
00201 // $THEME->javascripts
00203 // An array containing the names of JavaScript files
00204 // located in /javascript/ to include in the theme.
00205 // (gets included in the head)
00207 
00208 
00209 // $THEME->javascripts_footer
00211 // As above but will be included in the page footer.
00213 
00214 
00215 //$THEME->larrow = "&#60";
00217 // Overrides the left arrow image used throughout
00218 // Moodle
00220 
00221 
00222 //$THEME->rarrow = "&#62";
00224 // Overrides the right arrow image used throughout Moodle
00226 
00227 
00228 // $THEME->layouts
00230 // An array setting the layouts for the theme
00232 
00233 
00234 // $THEME->parents_exclude_javascripts
00236 // An array of JavaScript files NOT to inherit from
00237 // the themes parents
00239 
00240 
00241 // $THEME->parents_exclude_sheets
00243 // An array of stylesheets not to inherit from the
00244 // themes parents
00246 
00247 
00248 // $THEME->plugins_exclude_sheets
00250 // An array of plugin sheets to ignore and not
00251 // include.
00253 
00254 
00255 // $THEME->rendererfactory
00257 // Sets a custom render factory to use with the
00258 // theme, used when working with custom renderers.
 All Data Structures Namespaces Files Functions Variables Enumerations