[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/theme/bootstrapbase/layout/ -> maintenance.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   * This layout file is designed maintenance related tasks such as upgrade and installation of plugins.
  19   *
  20   * It's ultra important that this layout file makes no use of API's unless it absolutely needs to.
  21   * Under no circumstances should it use API calls that result in database or cache interaction.
  22   *
  23   * If you are modifying this file please be extremely careful, one wrong API call and you could end up
  24   * breaking installation or upgrade unwittingly.
  25   *
  26   * @package   theme_bootstrapbase
  27   * @copyright 2012 Bas Brands, www.basbrands.nl
  28   * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  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  <div id="page" class="container-fluid">
  45  
  46      <header id="page-header" class="clearfix">
  47          <?php echo $OUTPUT->page_heading(); ?>
  48      </header>
  49  
  50      <div id="page-content" class="row-fluid">
  51          <section id="region-main" class="span12">
  52              <?php echo $OUTPUT->main_content(); ?>
  53          </section>
  54      </div>
  55  
  56      <footer id="page-footer">
  57          <?php
  58          echo $OUTPUT->standard_footer_html();
  59          ?>
  60      </footer>
  61  
  62      <?php echo $OUTPUT->standard_end_of_body_html() ?>
  63  
  64  </div>
  65  </body>
  66  </html>


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1