[ 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 * A two column layout for the Bootstrapbase theme. 19 * 20 * @package theme_bootstrapbase 21 * @copyright 2012 Bas Brands, www.basbrands.nl 22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 23 */ 24 25 // Set default (LTR) layout mark-up for a two column page (side-pre-only). 26 $regionmain = 'span9 pull-right'; 27 $sidepre = 'span3 desktop-first-column'; 28 // Reset layout mark-up for RTL languages. 29 if (right_to_left()) { 30 $regionmain = 'span9'; 31 $sidepre = 'span3 pull-right'; 32 } 33 34 echo $OUTPUT->doctype() ?> 35 <html <?php echo $OUTPUT->htmlattributes(); ?>> 36 <head> 37 <title><?php echo $OUTPUT->page_title(); ?></title> 38 <link rel="shortcut icon" href="<?php echo $OUTPUT->favicon(); ?>" /> 39 <?php echo $OUTPUT->standard_head_html() ?> 40 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 41 </head> 42 43 <body <?php echo $OUTPUT->body_attributes('two-column'); ?>> 44 45 <?php echo $OUTPUT->standard_top_of_body_html() ?> 46 47 <header role="banner" class="navbar navbar-fixed-top moodle-has-zindex"> 48 <nav role="navigation" class="navbar-inner"> 49 <div class="container-fluid"> 50 <a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo 51 format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID))); 52 ?></a> 53 <?php echo $OUTPUT->navbar_button(); ?> 54 <?php echo $OUTPUT->user_menu(); ?> 55 <?php echo $OUTPUT->search_box(); ?> 56 <div class="nav-collapse collapse"> 57 <?php echo $OUTPUT->custom_menu(); ?> 58 <ul class="nav pull-right"> 59 <li><?php echo $OUTPUT->page_heading_menu(); ?></li> 60 </ul> 61 </div> 62 </div> 63 </nav> 64 </header> 65 66 <div id="page" class="container-fluid"> 67 <?php echo $OUTPUT->full_header(); ?> 68 <div id="page-content" class="row-fluid"> 69 <section id="region-main" class="<?php echo $regionmain; ?>"> 70 <?php 71 echo $OUTPUT->course_content_header(); 72 echo $OUTPUT->main_content(); 73 echo $OUTPUT->course_content_footer(); 74 ?> 75 </section> 76 <?php echo $OUTPUT->blocks('side-pre', $sidepre); ?> 77 </div> 78 79 <footer id="page-footer"> 80 <div id="course-footer"><?php echo $OUTPUT->course_footer(); ?></div> 81 <p class="helplink"><?php echo $OUTPUT->page_doc_link(); ?></p> 82 <?php 83 echo $OUTPUT->login_info(); 84 echo $OUTPUT->home_link(); 85 echo $OUTPUT->standard_footer_html(); 86 ?> 87 </footer> 88 89 <?php echo $OUTPUT->standard_end_of_body_html() ?> 90 91 </div> 92 </body> 93 </html>
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 |