[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 <?php 2 // This file is part of Moodle - http://moodle.org/ 3 // 4 // Moodle is free software: you can redistribute it and/or modify 5 // it under the terms of the GNU General Public License as published by 6 // the Free Software Foundation, either version 3 of the License, or 7 // (at your option) any later version. 8 // 9 // Moodle is distributed in the hope that it will be useful, 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 // GNU General Public License for more details. 13 // 14 // You should have received a copy of the GNU General Public License 15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>. 16 17 /** 18 * Configuration for Moodle's bootstrap theme. 19 * 20 * DO NOT MODIFY THIS THEME! 21 * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD. 22 * 23 * For full information about creating Moodle themes, see: 24 * http://docs.moodle.org/dev/Themes_2.0 25 * 26 * @package theme_bootstrapbase 27 * @copyright 2013 Bas Brands. www.sonsbeekmedia.nl 28 * @author Bas Brands 29 * @author David Scotson 30 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 31 */ 32 33 $THEME->doctype = 'html5'; 34 $THEME->yuicssmodules = array(); 35 $THEME->name = 'bootstrapbase'; 36 $THEME->parents = array(); 37 $THEME->sheets = array('moodle'); 38 $THEME->supportscssoptimisation = false; 39 $THEME->enable_dock = false; 40 $THEME->editor_sheets = array('editor'); 41 42 $THEME->rendererfactory = 'theme_overridden_renderer_factory'; 43 44 $THEME->layouts = array( 45 // Most backwards compatible layout without the blocks - this is the layout used by default. 46 'base' => array( 47 'file' => 'columns1.php', 48 'regions' => array(), 49 ), 50 // Standard layout with blocks, this is recommended for most pages with general information. 51 'standard' => array( 52 'file' => 'columns3.php', 53 'regions' => array('side-pre', 'side-post'), 54 'defaultregion' => 'side-pre', 55 ), 56 // Main course page. 57 'course' => array( 58 'file' => 'columns3.php', 59 'regions' => array('side-pre', 'side-post'), 60 'defaultregion' => 'side-pre', 61 'options' => array('langmenu' => true), 62 ), 63 'coursecategory' => array( 64 'file' => 'columns3.php', 65 'regions' => array('side-pre', 'side-post'), 66 'defaultregion' => 'side-pre', 67 ), 68 // Part of course, typical for modules - default page layout if $cm specified in require_login(). 69 'incourse' => array( 70 'file' => 'columns3.php', 71 'regions' => array('side-pre', 'side-post'), 72 'defaultregion' => 'side-pre', 73 ), 74 // The site home page. 75 'frontpage' => array( 76 'file' => 'columns3.php', 77 'regions' => array('side-pre', 'side-post'), 78 'defaultregion' => 'side-pre', 79 'options' => array('nonavbar' => true), 80 ), 81 // Server administration scripts. 82 'admin' => array( 83 'file' => 'columns2.php', 84 'regions' => array('side-pre'), 85 'defaultregion' => 'side-pre', 86 ), 87 // My dashboard page. 88 'mydashboard' => array( 89 'file' => 'columns3.php', 90 'regions' => array('side-pre', 'side-post'), 91 'defaultregion' => 'side-pre', 92 'options' => array('langmenu' => true), 93 ), 94 // My public page. 95 'mypublic' => array( 96 'file' => 'columns2.php', 97 'regions' => array('side-pre'), 98 'defaultregion' => 'side-pre', 99 ), 100 'login' => array( 101 'file' => 'columns1.php', 102 'regions' => array(), 103 'options' => array('langmenu' => true), 104 ), 105 106 // Pages that appear in pop-up windows - no navigation, no blocks, no header. 107 'popup' => array( 108 'file' => 'popup.php', 109 'regions' => array(), 110 'options' => array('nofooter' => true, 'nonavbar' => true), 111 ), 112 // No blocks and minimal footer - used for legacy frame layouts only! 113 'frametop' => array( 114 'file' => 'columns1.php', 115 'regions' => array(), 116 'options' => array('nofooter' => true, 'nocoursefooter' => true), 117 ), 118 // Embeded pages, like iframe/object embeded in moodleform - it needs as much space as possible. 119 'embedded' => array( 120 'file' => 'embedded.php', 121 'regions' => array() 122 ), 123 // Used during upgrade and install, and for the 'This site is undergoing maintenance' message. 124 // This must not have any blocks, links, or API calls that would lead to database or cache interaction. 125 // Please be extremely careful if you are modifying this layout. 126 'maintenance' => array( 127 'file' => 'maintenance.php', 128 'regions' => array(), 129 ), 130 // Should display the content and basic headers only. 131 'print' => array( 132 'file' => 'columns1.php', 133 'regions' => array(), 134 'options' => array('nofooter' => true, 'nonavbar' => false), 135 ), 136 // The pagelayout used when a redirection is occuring. 137 'redirect' => array( 138 'file' => 'embedded.php', 139 'regions' => array(), 140 ), 141 // The pagelayout used for reports. 142 'report' => array( 143 'file' => 'columns2.php', 144 'regions' => array('side-pre'), 145 'defaultregion' => 'side-pre', 146 ), 147 // The pagelayout used for safebrowser and securewindow. 148 'secure' => array( 149 'file' => 'secure.php', 150 'regions' => array('side-pre', 'side-post'), 151 'defaultregion' => 'side-pre' 152 ), 153 ); 154 155 $THEME->javascripts = array( 156 ); 157 $THEME->javascripts_footer = array( 158 'moodlebootstrap', 'dock' 159 ); 160 161 if (core_useragent::is_ie() && !core_useragent::check_ie_version('9.0')) { 162 $THEME->javascripts[] = 'html5shiv'; 163 } 164 165 $THEME->hidefromselector = true;
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |