Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/brick/config.php
Go to the documentation of this file.
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 = 'brick';
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     'pagelayout',
00058     'core',
00059     'colors',
00060     'css3',
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
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-post'),
00096         'defaultregion' => 'side-post',
00097     ),
00098     'standard' => array(
00099         'file' => 'general.php',
00100         'regions' => array('side-post'),
00101         'defaultregion' => 'side-post',
00102     ),
00103     'course' => array(
00104         'file' => 'general.php',
00105         'regions' => array('side-post'),
00106         'defaultregion' => 'side-post'
00107     ),
00108     'coursecategory' => array(
00109         'file' => 'general.php',
00110         'regions' => array('side-post'),
00111         'defaultregion' => 'side-post',
00112     ),
00113     'incourse' => array(
00114         'file' => 'general.php',
00115         'regions' => array('side-post'),
00116         'defaultregion' => 'side-post',
00117     ),
00118     'frontpage' => array(
00119         'file' => 'frontpage.php',
00120         'regions' => array('side-post'),
00121         'defaultregion' => 'side-post',
00122     ),
00123     'admin' => array(
00124         'file' => 'general.php',
00125         'regions' => array('side-post'),
00126         'defaultregion' => 'side-post',
00127     ),
00128     'mydashboard' => array(
00129         'file' => 'general.php',
00130         'regions' => array('side-post'),
00131         'defaultregion' => 'side-post',
00132         'options' => array('langmenu'=>true),
00133     ),
00134     'mypublic' => array(
00135         'file' => 'general.php',
00136         'regions' => array('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     'report' => array(
00166         'file' => 'general.php',
00167         'regions' => array('side-post'),
00168         'defaultregion' => 'side-post',
00169     ),
00170 
00171 );
00172 
00174 // These are all of the possible layouts in Moodle. The
00175 // simplest way to do this is to keep the theme and file
00176 // variables the same for every layout. Including them
00177 // all in this way allows some flexibility down the road
00178 // if you want to add a different layout template to a
00179 // specific page.
00181 
00182 //$THEME->csspostprocess = 'arialist_process_css';
00184 // Allows the user to provide the name of a function
00185 // that all CSS should be passed to before being
00186 // delivered.
00188 
00189 // $THEME->javascripts
00190 
00192 // An array containing the names of JavaScript files
00193 // located in /javascript/ to include in the theme.
00194 // (gets included in the head)
00196 
00197 // $THEME->javascripts_footer
00198 
00200 // As above but will be included in the page footer.
00202 
00203 //$THEME->larrow    = '&lang;';
00204 
00206 // Overrides the left arrow image used throughout
00207 // Moodle
00209 
00210 //$THEME->rarrow    = '&rang;';
00211 
00213 // Overrides the right arrow image used throughout Moodle
00215 
00216 // $THEME->layouts
00217 
00219 // An array setting the layouts for the theme
00221 
00222 // $THEME->parents_exclude_javascripts
00223 
00225 // An array of JavaScript files NOT to inherit from
00226 // the themes parents
00228 
00229 // $THEME->parents_exclude_sheets
00230 
00232 // An array of stylesheets not to inherit from the
00233 // themes parents
00235 
00236 // $THEME->plugins_exclude_sheets
00237 
00239 // An array of plugin sheets to ignore and not
00240 // include.
00242 
00243 // $THEME->rendererfactory
00244 
00246 // Sets a custom render factory to use with the
00247 // theme, used when working with custom renderers.
00249 
00250 $THEME->csspostprocess = 'brick_process_css';
00251  //$THEME->rendererfactory = 'theme_overridden_renderer_factory';
00252 
 All Data Structures Namespaces Files Functions Variables Enumerations