maintenance-page.tpl.php

Same filename in this branch
  1. 7.x themes/garland/maintenance-page.tpl.php
  2. 7.x themes/bartik/templates/maintenance-page.tpl.php
  3. 7.x modules/system/maintenance-page.tpl.php
5 theme calls to maintenance-page.tpl.php
drupal_deliver_html_page in includes/common.inc
Packages and sends the result of a page callback to the browser as HTML.
theme_install_page in includes/theme.maintenance.inc
Returns HTML for the installation page.
theme_update_page in includes/theme.maintenance.inc
Returns HTML for the update page.
_batch_progress_page in includes/batch.inc
Outputs a batch processing page.
_drupal_log_error in includes/errors.inc
Logs a PHP error or exception and displays an error page in fatal cases.

File

themes/seven/maintenance-page.tpl.php

View source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php

print $language->language;
?>" lang="<?php

print $language->language;
?>" dir="<?php

print $language->dir;
?>">
  <head>
    <title><?php

print $head_title;
?></title>
    <?php

print $head;
?>
    <?php

print $styles;
?>
    <?php

print $scripts;
?>
  </head>
  <body class="<?php

print $classes;
?>">

  <?php

print $page_top;
?>

  <div id="branding">
    <?php

if ($title) {
    ?><h1 class="page-title"><?php

    print $title;
    ?></h1><?php

}
?>
  </div>

  <div id="page">

    <?php

if ($sidebar_first) {
    ?>
      <div id="sidebar-first" class="sidebar">
        <?php

    if ($logo) {
        ?>
          <img id="logo" src="<?php

        print $logo;
        ?>" alt="<?php

        print $site_name;
        ?>" />
        <?php

    }
    ?>
        <?php

    print $sidebar_first;
    ?>
      </div>
    <?php

}
?>

    <div id="content" class="clearfix">
      <?php

if ($messages) {
    ?>
        <div id="console"><?php

    print $messages;
    ?></div>
      <?php

}
?>
      <?php

if ($help) {
    ?>
        <div id="help">
          <?php

    print $help;
    ?>
        </div>
      <?php

}
?>
      <?php

print $content;
?>
    </div>

  </div>

  <?php

print $page_bottom;
?>

  </body>
</html>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.