. /** * Configuration for Moodle's standard theme. * * DO NOT COPY THIS INTO NEW THEMES! Instead use some other theme as a base * for your experiments. * * Options related to theme customisations can be found at * http://phpdocs.moodle.org/HEAD/moodlecore/theme_config.html * * For an overview of how Moodle themes work, Please see * http://docs.moodle.org/en/Developement:How_Moodle_outputs_HTML * * @package moodlecore * @copyright 2009 Tim Hunt * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ $THEME->parents = array('standard', 'base'); // TODO: All old styles are now moved into this standard theme because // we need to go through all these and fix them. // This means we will gradually put these back into plugins // directories $THEME->sheets = array('pagelayout'); $THEME->parents_exclude_sheets = array('base'=>array('pagelayout')); $THEME->layouts = array( // Most backwards compatible layout without the blocks - this is the layout used by default 'base' => array( 'file' => 'general.php', 'regions' => array(), ), // Standard layout with blocks, this is recommended for most pages with general information 'standard' => array( 'file' => 'general.php', 'regions' => array('side-pre', 'side-post'), 'defaultregion' => 'side-post', ), // Main course page 'course' => array( 'file' => 'general.php', 'regions' => array('side-pre', 'side-post'), 'defaultregion' => 'side-post', 'options' => array('langmenu'=>true), ), 'coursecategory' => array( 'file' => 'general.php', 'regions' => array('side-pre', 'side-post'), 'defaultregion' => 'side-post', ), // part of course, typical for modules - default page layout if $cm specified in require_login() 'incourse' => array( 'file' => 'general.php', 'regions' => array('side-pre', 'side-post'), 'defaultregion' => 'side-post', ), // The site home page. 'frontpage' => array( 'file' => 'frontpage.php', 'regions' => array('side-pre', 'side-post'), 'defaultregion' => 'side-post', ), // Server administration scripts. 'admin' => array( 'file' => 'general.php', 'regions' => array('side-pre'), 'defaultregion' => 'side-pre', ), // My dashboard page 'mydashboard' => array( 'file' => 'general.php', 'regions' => array('side-pre', 'side-post'), 'defaultregion' => 'side-post', 'options' => array('langmenu'=>true), ), // My public page 'mypublic' => array( 'file' => 'general.php', 'regions' => array('side-pre', 'side-post'), 'defaultregion' => 'side-post', ), 'login' => array( 'file' => 'general.php', 'regions' => array(), 'options' => array('langmenu'=>true), ), // Pages that appear in pop-up windows - no navigation, no blocks, no header. 'popup' => array( 'file' => 'general.php', 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true), ), // No blocks and minimal footer - used for legacy frame layouts only! 'frametop' => array( 'file' => 'general.php', 'regions' => array(), 'options' => array('nofooter'=>true), ), // Embeded pages, like iframe/object embeded in moodleform - it needs as much space as possible 'embedded' => array( 'file' => 'embedded.php', 'regions' => array(), 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true), ), // Used during upgrade and install, and for the 'This site is undergoing maintenance' message. // This must not have any blocks, and it is good idea if it does not have links to // other places - for example there should not be a home link in the footer... 'maintenance' => array( 'file' => 'general.php', 'regions' => array(), 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true), ), // Should display the content and basic headers only. 'print' => array( 'file' => 'general.php', 'regions' => array(), 'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>false, 'nocustommenu'=>true), ), ); /** * This enables the dock on the side of the page as this theme supports it. */ $THEME->enable_dock = false;