Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/splash/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 
00026 $THEME->name = 'splash';
00027 
00029 // Name of the theme.
00031 
00032 
00033 $THEME->parents = array(
00034     'canvas',
00035     'base',
00036 );
00037 
00039 // List exsisting theme(s) to use as parents.
00041 
00042 
00043 $THEME->sheets = array(
00044     'sl',
00045     'green',
00046     'blue',
00047     'orange',
00048     'ie',
00049 );
00050 
00052 // Name of the stylesheet(s) you are including in
00053 // this new theme's /styles/ directory.
00055 
00056 $THEME->enable_dock = true;
00057 
00059 // Do you want to use the new navigation dock?
00061 
00062 
00063 $THEME->layouts = array(
00064     // Most pages - if we encounter an unknown or a missing page type, this one is used.
00065     'base' => array(
00066         'file' => 'general.php',
00067         'regions' => array()
00068     ),
00069     'standard' => array(
00070         'file' => 'general.php',
00071         'regions' => array('side-pre', 'side-post'),
00072         'defaultregion' => 'side-post'
00073     ),
00074     // Course page
00075     'course' => array(
00076         'file' => 'general.php',
00077         'regions' => array('side-pre', 'side-post'),
00078         'defaultregion' => 'side-post'
00079     ),
00080     // Course page
00081     'coursecategory' => array(
00082         'file' => 'general.php',
00083         'regions' => array('side-pre', 'side-post'),
00084         'defaultregion' => 'side-post'
00085     ),
00086     'incourse' => array(
00087         'file' => 'general.php',
00088         'regions' => array('side-pre', 'side-post'),
00089         'defaultregion' => 'side-post'
00090     ),
00091     'frontpage' => array(
00092         'file' => 'general.php',
00093         'regions' => array('side-pre', 'side-post'),
00094         'defaultregion' => 'side-post'
00095     ),
00096     'admin' => array(
00097         'file' => 'general.php',
00098         'regions' => array('side-pre'),
00099         'defaultregion' => 'side-pre'
00100     ),
00101     'mydashboard' => array(
00102         'file' => 'general.php',
00103         'regions' => array('side-pre', 'side-post'),
00104         'defaultregion' => 'side-post'
00105     ),
00106     'mypublic' => array(
00107         'file' => 'general.php',
00108         'regions' => array('side-pre', 'side-post'),
00109         'defaultregion' => 'side-post'
00110     ),
00111     'login' => array(
00112         'file' => 'general.php',
00113         'regions' => array()
00114     ),
00115     // Pages that appear in pop-up windows - no navigation, no blocks, no header.
00116     'popup' => array(
00117         'file' => 'general.php',
00118         'regions' => array(),
00119         'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
00120     ),
00121     // No blocks and minimal footer - used for legacy frame layouts only!
00122     'frametop' => array(
00123         'file' => 'general.php',
00124         'regions' => array(),
00125         'options' => array('nofooter', 'noblocks'=>true),
00126     ),
00127     // Embeded pages, like iframe embeded in moodleform
00128     'embedded' => array(
00129         'theme' => 'canvas',
00130         'file' => 'embedded.php',
00131         'regions' => array(),
00132         'options' => array('nofooter'=>true, 'nonavbar'=>true),
00133     ),
00134     // Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
00135     // This must not have any blocks, and it is good idea if it does not have links to
00136     // other places - for example there should not be a home link in the footer...
00137     'maintenance' => array(
00138         'file' => 'general.php',
00139         'regions' => array(),
00140         'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true),
00141     ),
00142     // Should display the content and basic headers only.
00143     'print' => array(
00144         'file' => 'general.php',
00145         'regions' => array(),
00146         'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
00147     ),
00148     'report' => array(
00149         'file' => 'report.php',
00150         'regions' => array('side-pre'),
00151         'defaultregion' => 'side-pre'
00152     ),
00153 );
00154 
00155 
00157 // These are all of the possible layouts in Moodle.
00159 
00160 
00161 $THEME->csspostprocess = 'splash_process_css';
00162 
00163 
00164 
00166 // Splash Theme Specific settings for Administrators to customise
00167 // css.
00169 
00170 $THEME->editor_sheets = array('editor');
 All Data Structures Namespaces Files Functions Variables Enumerations