[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/themes/garland/ -> maintenance-page.tpl.php (source)

   1  <?php
   2  
   3  /**
   4   * @file maintenance-page.tpl.php
   5   *
   6   * This is an override of the default maintenance page. Used for Garland and
   7   * Minnelli, this file should not be moved or modified since the installation
   8   * and update pages depend on this file.
   9   *
  10   * This mirrors closely page.tpl.php for Garland in order to share the same
  11   * styles.
  12   */
  13  ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  14    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  15  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
  16    <head>
  17      <?php print $head ?>
  18      <title><?php print $head_title ?></title>
  19      <?php print $styles ?>
  20      <?php print $scripts ?>
  21      <!--[if lt IE 7]>
  22        <?php print phptemplate_get_ie_styles(); ?>
  23      <![endif]-->
  24    </head>
  25    <body<?php print phptemplate_body_class($left, $right); ?>>
  26  
  27  <!-- Layout -->
  28    <div id="header-region" class="clear-block"><?php print $header; ?></div>
  29  
  30      <div id="wrapper">
  31      <div id="container" class="clear-block">
  32  
  33        <div id="header">
  34          <div id="logo-floater">
  35          <?php
  36            // Prepare header
  37            $site_fields = array();
  38            if ($site_name) {
  39              $site_fields[] = check_plain($site_name);
  40            }
  41            if ($site_slogan) {
  42              $site_fields[] = check_plain($site_slogan);
  43            }
  44            $site_title = implode(' ', $site_fields);
  45            if ($site_fields) {
  46              $site_fields[0] = '<span>'. $site_fields[0] .'</span>';
  47            }
  48            $site_html = implode(' ', $site_fields);
  49  
  50            if ($logo || $site_title) {
  51              print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">';
  52              if ($logo) {
  53                print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
  54              }
  55              print $site_html .'</a></h1>';
  56            }
  57          ?>
  58          </div>
  59  
  60        </div> <!-- /header -->
  61  
  62        <?php if ($left): ?>
  63          <div id="sidebar-left" class="sidebar">
  64            <?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
  65            <?php print $left ?>
  66          </div>
  67        <?php endif; ?>
  68  
  69        <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
  70            <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
  71            <?php print $help; ?>
  72            <?php print $messages; ?>
  73            <div class="clear-block">
  74              <?php print $content ?>
  75            </div>
  76            <div id="footer"><?php print $footer_message . $footer ?></div>
  77        </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
  78  
  79        <?php if ($right): ?>
  80          <div id="sidebar-right" class="sidebar">
  81            <?php print $right ?>
  82          </div>
  83        <?php endif; ?>
  84  
  85      </div> <!-- /container -->
  86    </div>
  87  <!-- /layout -->
  88  
  89    </body>
  90  </html>


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