Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/leatherbound/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 = 'leatherbound';
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 );
00059 
00061 // Name of the stylesheet(s) you've including in
00062 // this theme's /styles/ directory.
00064 
00065 $THEME->enable_dock = true;
00066 
00068 // Do you want to use the new navigation dock?
00070 
00071 
00072 $THEME->editor_sheets = array('editor');
00073 
00075 // An array of stylesheets to include within the
00076 // body of the editor.
00078 
00079 $THEME->layouts = array(
00080     'base' => array(
00081         'file' => 'general.php',
00082         'regions' => array('side-pre', 'side-post'),
00083         'defaultregion' => 'side-post',
00084     ),
00085     'standard' => array(
00086         'file' => 'general.php',
00087         'regions' => array('side-pre', 'side-post'),
00088         'defaultregion' => 'side-post',
00089     ),
00090     'course' => array(
00091         'file' => 'general.php',
00092         'regions' => array('side-pre', 'side-post'),
00093         'defaultregion' => 'side-post'
00094     ),
00095     'coursecategory' => array(
00096         'file' => 'general.php',
00097         'regions' => array('side-pre', 'side-post'),
00098         'defaultregion' => 'side-post',
00099     ),
00100     'incourse' => array(
00101         'file' => 'general.php',
00102         'regions' => array('side-pre', 'side-post'),
00103         'defaultregion' => 'side-post',
00104     ),
00105     'frontpage' => array(
00106         'file' => 'frontpage.php',
00107         'regions' => array('side-pre', 'side-post'),
00108         'defaultregion' => 'side-post',
00109     ),
00110     'admin' => array(
00111         'file' => 'general.php',
00112         'regions' => array('side-pre'),
00113         'defaultregion' => 'side-pre',
00114     ),
00115     'mydashboard' => array(
00116         'file' => 'general.php',
00117         'regions' => array('side-pre', 'side-post'),
00118         'defaultregion' => 'side-post',
00119         'options' => array('langmenu'=>true),
00120     ),
00121     'mypublic' => array(
00122         'file' => 'general.php',
00123         'regions' => array('side-pre', 'side-post'),
00124         'defaultregion' => 'side-post',
00125     ),
00126     'login' => array(
00127         'file' => 'general.php',
00128         'regions' => array(),
00129         'options' => array('langmenu'=>true),
00130     ),
00131     'popup' => array(
00132         'file' => 'general.php',
00133         'regions' => array(),
00134         'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
00135     ),
00136     'frametop' => array(
00137         'file' => 'general.php',
00138         'regions' => array(),
00139         'options' => array('nofooter'=>true),
00140     ),
00141     'maintenance' => array(
00142         'file' => 'general.php',
00143         'regions' => array(),
00144         'options' => array('nofooter'=>true, 'nonavbar'=>true),
00145     ),
00146     'embedded' => array(
00147         'theme' => 'canvas',
00148         'file' => 'embedded.php',
00149         'regions' => array(),
00150         'options' => array('nofooter'=>true, 'nonavbar'=>true),
00151     ),
00152     // Should display the content and basic headers only.
00153     'print' => array(
00154         'file' => 'general.php',
00155         'regions' => array(),
00156         'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
00157     ),
00158     'report' => array(
00159         'file' => 'report.php',
00160         'regions' => array('side-pre'),
00161         'defaultregion' => 'side-pre',
00162     ),
00163 );
00164 
00166 // These are all of the possible layouts in Moodle. The
00167 // simplest way to do this is to keep the theme and file
00168 // variables the same for every layout. Including them
00169 // all in this way allows some flexibility down the road
00170 // if you want to add a different layout template to a
00171 // specific page.
00173 
00174 // $THEME->csspostprocess
00175 
00177 // Allows the user to provide the name of a function
00178 // that all CSS should be passed to before being
00179 // delivered.
00181 
00182 // $THEME->javascripts
00183 
00185 // An array containing the names of JavaScript files
00186 // located in /javascript/ to include in the theme.
00187 // (gets included in the head)
00189 
00190 // $THEME->javascripts_footer
00191 
00193 // As above but will be included in the page footer.
00195 
00196 // $THEME->larrow
00197 
00199 // Overrides the left arrow image used throughout
00200 // Moodle
00202 
00203 // $THEME->rarrow
00204 
00206 // Overrides the right arrow image used throughout Moodle
00208 
00209 // $THEME->layouts
00210 
00212 // An array setting the layouts for the theme
00214 
00215 // $THEME->parents_exclude_javascripts
00216 
00218 // An array of JavaScript files NOT to inherit from
00219 // the themes parents
00221 
00222 // $THEME->parents_exclude_sheets
00223 
00225 // An array of stylesheets not to inherit from the
00226 // themes parents
00228 
00229 // $THEME->plugins_exclude_sheets
00230 
00232 // An array of plugin sheets to ignore and not
00233 // include.
00235 
00236 // $THEME->rendererfactory
00237 
00239 // Sets a custom render factory to use with the
00240 // theme, used when working with custom renderers.
00242 
 All Data Structures Namespaces Files Functions Variables Enumerations