Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/standardold/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 
00018 
00037 $THEME->parents = array('standard', 'base');
00038 
00039 // TODO: All old styles are now moved into this standard theme because
00040 //       we need to go through all these and fix them.
00041 //       This means we will gradually put these back into plugins
00042 //       directories
00043 $THEME->sheets = array('pagelayout');
00044 
00045 $THEME->parents_exclude_sheets = array('base'=>array('pagelayout'));
00046 
00047 $THEME->layouts = array(
00048     // Most backwards compatible layout without the blocks - this is the layout used by default
00049     'base' => array(
00050         'file' => 'general.php',
00051         'regions' => array(),
00052     ),
00053     // Standard layout with blocks, this is recommended for most pages with general information
00054     'standard' => array(
00055         'file' => 'general.php',
00056         'regions' => array('side-pre', 'side-post'),
00057         'defaultregion' => 'side-post',
00058     ),
00059     // Main course page
00060     'course' => array(
00061         'file' => 'general.php',
00062         'regions' => array('side-pre', 'side-post'),
00063         'defaultregion' => 'side-post',
00064         'options' => array('langmenu'=>true),
00065     ),
00066     'coursecategory' => array(
00067         'file' => 'general.php',
00068         'regions' => array('side-pre', 'side-post'),
00069         'defaultregion' => 'side-post',
00070     ),
00071     // part of course, typical for modules - default page layout if $cm specified in require_login()
00072     'incourse' => array(
00073         'file' => 'general.php',
00074         'regions' => array('side-pre', 'side-post'),
00075         'defaultregion' => 'side-post',
00076     ),
00077     // The site home page.
00078     'frontpage' => array(
00079         'file' => 'frontpage.php',
00080         'regions' => array('side-pre', 'side-post'),
00081         'defaultregion' => 'side-post',
00082     ),
00083     // Server administration scripts.
00084     'admin' => array(
00085         'file' => 'general.php',
00086         'regions' => array('side-pre'),
00087         'defaultregion' => 'side-pre',
00088     ),
00089     // My dashboard page
00090     'mydashboard' => array(
00091         'file' => 'general.php',
00092         'regions' => array('side-pre', 'side-post'),
00093         'defaultregion' => 'side-post',
00094         'options' => array('langmenu'=>true),
00095     ),
00096     // My public page
00097     'mypublic' => array(
00098         'file' => 'general.php',
00099         'regions' => array('side-pre', 'side-post'),
00100         'defaultregion' => 'side-post',
00101     ),
00102     'login' => array(
00103         'file' => 'general.php',
00104         'regions' => array(),
00105         'options' => array('langmenu'=>true),
00106     ),
00107 
00108     // Pages that appear in pop-up windows - no navigation, no blocks, no header.
00109     'popup' => array(
00110         'file' => 'general.php',
00111         'regions' => array(),
00112         'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true),
00113     ),
00114     // No blocks and minimal footer - used for legacy frame layouts only!
00115     'frametop' => array(
00116         'file' => 'general.php',
00117         'regions' => array(),
00118         'options' => array('nofooter'=>true),
00119     ),
00120     // Embeded pages, like iframe/object embeded in moodleform - it needs as much space as possible
00121     'embedded' => array(
00122         'file' => 'embedded.php',
00123         'regions' => array(),
00124         'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true),
00125     ),
00126     // Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
00127     // This must not have any blocks, and it is good idea if it does not have links to
00128     // other places - for example there should not be a home link in the footer...
00129     'maintenance' => array(
00130         'file' => 'general.php',
00131         'regions' => array(),
00132         'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true),
00133     ),
00134     // Should display the content and basic headers only.
00135     'print' => array(
00136         'file' => 'general.php',
00137         'regions' => array(),
00138         'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>false, 'nocustommenu'=>true),
00139     ),
00140 );
00141 
00145 $THEME->enable_dock = false;
 All Data Structures Namespaces Files Functions Variables Enumerations