[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/theme/bootstrapbase/layout/ -> columns1.php (source)

   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 one 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  echo $OUTPUT->doctype() ?>
  26  <html <?php echo $OUTPUT->htmlattributes(); ?>>
  27  <head>
  28      <title><?php echo $OUTPUT->page_title(); ?></title>
  29      <link rel="shortcut icon" href="<?php echo $OUTPUT->favicon(); ?>" />
  30      <?php echo $OUTPUT->standard_head_html() ?>
  31      <meta name="viewport" content="width=device-width, initial-scale=1.0">
  32  </head>
  33  
  34  <body <?php echo $OUTPUT->body_attributes(); ?>>
  35  
  36  <?php echo $OUTPUT->standard_top_of_body_html() ?>
  37  
  38  <header role="banner" class="navbar navbar-fixed-top moodle-has-zindex">
  39      <nav role="navigation" class="navbar-inner">
  40          <div class="container-fluid">
  41              <a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
  42                  format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
  43                  ?></a>
  44              <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
  45                  <span class="icon-bar"></span>
  46                  <span class="icon-bar"></span>
  47                  <span class="icon-bar"></span>
  48              </a>
  49              <?php echo $OUTPUT->user_menu(); ?>
  50              <div class="nav-collapse collapse">
  51                  <?php echo $OUTPUT->custom_menu(); ?>
  52                  <ul class="nav pull-right">
  53                      <li><?php echo $OUTPUT->page_heading_menu(); ?></li>
  54                  </ul>
  55              </div>
  56          </div>
  57      </nav>
  58  </header>
  59  
  60  <div id="page" class="container-fluid">
  61  
  62      <header id="page-header" class="clearfix">
  63          <div id="page-navbar" class="clearfix">
  64              <nav class="breadcrumb-nav"><?php echo $OUTPUT->navbar(); ?></nav>
  65              <div class="breadcrumb-button"><?php echo $OUTPUT->page_heading_button(); ?></div>
  66          </div>
  67          <?php echo $OUTPUT->page_heading(); ?>
  68          <div id="course-header">
  69              <?php echo $OUTPUT->course_header(); ?>
  70          </div>
  71      </header>
  72  
  73      <div id="page-content" class="row-fluid">
  74          <section id="region-main" class="span12">
  75              <?php
  76              echo $OUTPUT->course_content_header();
  77              echo $OUTPUT->main_content();
  78              echo $OUTPUT->course_content_footer();
  79              ?>
  80          </section>
  81      </div>
  82  
  83      <footer id="page-footer">
  84          <div id="course-footer"><?php echo $OUTPUT->course_footer(); ?></div>
  85          <p class="helplink"><?php echo $OUTPUT->page_doc_link(); ?></p>
  86          <?php
  87          echo $OUTPUT->login_info();
  88          echo $OUTPUT->home_link();
  89          echo $OUTPUT->standard_footer_html();
  90          ?>
  91      </footer>
  92  
  93      <?php echo $OUTPUT->standard_end_of_body_html() ?>
  94  
  95  </div>
  96  </body>
  97  </html>


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1