[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/modules/system/ -> maintenance-page.tpl.php (source)

   1  <?php
   2  
   3  /**
   4   * @file maintenance-page.tpl.php
   5   *
   6   * Theme implementation to display a single Drupal page while off-line.
   7   *
   8   * All the available variables are mirrored in page.tpl.php. Some may be left
   9   * blank but they are provided for consistency.
  10   *
  11   *
  12   * @see template_preprocess()
  13   * @see template_preprocess_maintenance_page()
  14   */
  15  ?>
  16  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  17    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  18  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
  19  
  20  <head>
  21    <?php print $head; ?>
  22    <title><?php print $head_title; ?></title>
  23    <?php print $styles; ?>
  24    <?php print $scripts; ?>
  25    <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyled Content in IE */ ?> </script>
  26  </head>
  27  <body class="<?php print $body_classes; ?>">
  28    <div id="page">
  29      <div id="header">
  30        <div id="logo-title">
  31  
  32          <?php if (!empty($logo)): ?>
  33            <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
  34              <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
  35            </a>
  36          <?php endif; ?>
  37  
  38          <div id="name-and-slogan">
  39            <?php if (!empty($site_name)): ?>
  40              <h1 id="site-name">
  41                <a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
  42              </h1>
  43            <?php endif; ?>
  44  
  45            <?php if (!empty($site_slogan)): ?>
  46              <div id="site-slogan"><?php print $site_slogan; ?></div>
  47            <?php endif; ?>
  48          </div> <!-- /name-and-slogan -->
  49        </div> <!-- /logo-title -->
  50  
  51        <?php if (!empty($header)): ?>
  52          <div id="header-region">
  53            <?php print $header; ?>
  54          </div>
  55        <?php endif; ?>
  56  
  57      </div> <!-- /header -->
  58  
  59      <div id="container" class="clear-block">
  60  
  61        <?php if (!empty($left)): ?>
  62          <div id="sidebar-left" class="column sidebar">
  63            <?php print $left; ?>
  64          </div> <!-- /sidebar-left -->
  65        <?php endif; ?>
  66  
  67        <div id="main" class="column"><div id="main-squeeze">
  68  
  69          <div id="content">
  70            <?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
  71            <?php if (!empty($messages)): print $messages; endif; ?>
  72            <div id="content-content" class="clear-block">
  73              <?php print $content; ?>
  74            </div> <!-- /content-content -->
  75          </div> <!-- /content -->
  76  
  77        </div></div> <!-- /main-squeeze /main -->
  78  
  79        <?php if (!empty($right)): ?>
  80          <div id="sidebar-right" class="column sidebar">
  81            <?php print $right; ?>
  82          </div> <!-- /sidebar-right -->
  83        <?php endif; ?>
  84  
  85      </div> <!-- /container -->
  86  
  87      <div id="footer-wrapper">
  88        <div id="footer">
  89          <?php print $footer_message; ?>
  90          <?php if (!empty($footer)): print $footer; endif; ?>
  91        </div> <!-- /footer -->
  92      </div> <!-- /footer-wrapper -->
  93  
  94    </div> <!-- /page -->
  95  
  96  </body>
  97  </html>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7