[ Index ] |
PHP Cross Reference of moodle-2.8 |
[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 three 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 if (right_to_left()) { 26 $regionbsid = 'region-bs-main-and-post'; 27 } else { 28 $regionbsid = 'region-bs-main-and-pre'; 29 } 30 31 echo $OUTPUT->doctype() ?> 32 <html <?php echo $OUTPUT->htmlattributes(); ?>> 33 <head> 34 <title><?php echo $OUTPUT->page_title(); ?></title> 35 <link rel="shortcut icon" href="<?php echo $OUTPUT->favicon(); ?>" /> 36 <?php echo $OUTPUT->standard_head_html() ?> 37 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 38 </head> 39 40 <body <?php echo $OUTPUT->body_attributes(); ?>> 41 42 <?php echo $OUTPUT->standard_top_of_body_html() ?> 43 44 <header role="banner" class="navbar navbar-fixed-top moodle-has-zindex"> 45 <nav role="navigation" class="navbar-inner"> 46 <div class="container-fluid"> 47 <a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo 48 format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID))); 49 ?></a> 50 <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> 51 <span class="icon-bar"></span> 52 <span class="icon-bar"></span> 53 <span class="icon-bar"></span> 54 </a> 55 <?php echo $OUTPUT->user_menu(); ?> 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 68 <header id="page-header" class="clearfix"> 69 <div id="page-navbar" class="clearfix"> 70 <nav class="breadcrumb-nav"><?php echo $OUTPUT->navbar(); ?></nav> 71 <div class="breadcrumb-button"><?php echo $OUTPUT->page_heading_button(); ?></div> 72 </div> 73 <?php echo $OUTPUT->page_heading(); ?> 74 <div id="course-header"> 75 <?php echo $OUTPUT->course_header(); ?> 76 </div> 77 </header> 78 79 <div id="page-content" class="row-fluid"> 80 <div id="<?php echo $regionbsid ?>" class="span9"> 81 <div class="row-fluid"> 82 <section id="region-main" class="span8 pull-right"> 83 <?php 84 echo $OUTPUT->course_content_header(); 85 echo $OUTPUT->main_content(); 86 echo $OUTPUT->course_content_footer(); 87 ?> 88 </section> 89 <?php echo $OUTPUT->blocks('side-pre', 'span4 desktop-first-column'); ?> 90 </div> 91 </div> 92 <?php echo $OUTPUT->blocks('side-post', 'span3'); ?> 93 </div> 94 95 <footer id="page-footer"> 96 <div id="course-footer"><?php echo $OUTPUT->course_footer(); ?></div> 97 <p class="helplink"><?php echo $OUTPUT->page_doc_link(); ?></p> 98 <?php 99 echo $OUTPUT->login_info(); 100 echo $OUTPUT->home_link(); 101 echo $OUTPUT->standard_footer_html(); 102 ?> 103 </footer> 104 105 <?php echo $OUTPUT->standard_end_of_body_html() ?> 106 107 </div> 108 </body> 109 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |