[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/theme/clean/layout/ -> secure.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   * The secure layout.
  19   *
  20   * @package   theme_clean
  21   * @copyright 2013 Moodle, moodle.org
  22   * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  
  25  // Get the HTML for the settings bits.
  26  $html = theme_clean_get_html_for_settings($OUTPUT, $PAGE);
  27  
  28  echo $OUTPUT->doctype() ?>
  29  <html <?php echo $OUTPUT->htmlattributes(); ?>>
  30  <head>
  31      <title><?php echo $OUTPUT->page_title(); ?></title>
  32      <link rel="shortcut icon" href="<?php echo $OUTPUT->favicon(); ?>" />
  33      <?php echo $OUTPUT->standard_head_html() ?>
  34      <meta name="viewport" content="width=device-width, initial-scale=1.0">
  35  </head>
  36  
  37  <body <?php echo $OUTPUT->body_attributes(); ?>>
  38  
  39  <?php echo $OUTPUT->standard_top_of_body_html() ?>
  40  
  41  <header role="banner" class="navbar navbar-fixed-top moodle-has-zindex">
  42      <nav role="navigation" class="navbar-inner">
  43          <div class="container-fluid">
  44              <a class="brand" href="<?php echo $CFG->wwwroot;?>"><?php echo
  45                  format_string($SITE->shortname, true, array('context' => context_course::instance(SITEID)));
  46                  ?></a>
  47              <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
  48                  <span class="icon-bar"></span>
  49                  <span class="icon-bar"></span>
  50                  <span class="icon-bar"></span>
  51              </a>
  52              <div class="nav-collapse collapse">
  53                  <ul class="nav pull-right">
  54                      <li><?php echo $OUTPUT->page_heading_menu(); ?></li>
  55                  </ul>
  56              </div>
  57          </div>
  58      </nav>
  59  </header>
  60  
  61  <div id="page" class="container-fluid">
  62  
  63      <header id="page-header" class="clearfix">
  64          <?php echo $html->heading; ?>
  65      </header>
  66  
  67      <div id="page-content" class="row-fluid">
  68          <div id="region-bs-main-and-pre" class="span9">
  69              <div class="row-fluid">
  70                  <section id="region-main" class="span8 pull-right">
  71                      <?php echo $OUTPUT->main_content(); ?>
  72                  </section>
  73                  <?php echo $OUTPUT->blocks('side-pre', 'span4 desktop-first-column'); ?>
  74              </div>
  75          </div>
  76          <?php echo $OUTPUT->blocks('side-post', 'span3'); ?>
  77      </div>
  78  
  79      <?php echo $OUTPUT->standard_end_of_body_html() ?>
  80  
  81  </div>
  82  </body>
  83  </html>


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