maintenance-page.tpl.php

  1. drupal
    1. 6 modules/system/maintenance-page.tpl.php
    2. 6 themes/garland/maintenance-page.tpl.php
    3. 7 themes/seven/maintenance-page.tpl.php
    4. 7 themes/bartik/templates/maintenance-page.tpl.php
    5. 7 modules/system/maintenance-page.tpl.php
    6. 7 themes/garland/maintenance-page.tpl.php
    7. 8 core/modules/system/maintenance-page.tpl.php
    8. 8 core/themes/seven/maintenance-page.tpl.php
    9. 8 core/themes/bartik/templates/maintenance-page.tpl.php

Seven's theme implementation to display a single Drupal page while offline.

All of the available variables are mirrored in page.tpl.php.

See also

template_preprocess()

template_preprocess_maintenance_page()

seven_preprocess_maintenance_page()

5 theme calls to maintenance-page.tpl.php

File

core/themes/seven/maintenance-page.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Seven's theme implementation to display a single Drupal page while offline.
  5. *
  6. * All of the available variables are mirrored in page.tpl.php.
  7. *
  8. * @see template_preprocess()
  9. * @see template_preprocess_maintenance_page()
  10. * @see seven_preprocess_maintenance_page()
  11. *
  12. * @ingroup themeable
  13. */
  14. ?>
  15. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  16. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  17. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->langcode ?>" lang="<?php print $language->langcode ?>" dir="<?php print $language->dir ?>">
  18. <head>
  19. <title><?php print $head_title; ?></title>
  20. <?php print $head; ?>
  21. <?php print $styles; ?>
  22. <?php print $scripts; ?>
  23. </head>
  24. <body class="<?php print $classes; ?>">
  25. <?php print $page_top; ?>
  26. <div id="branding">
  27. <?php if ($title): ?><h1 class="page-title"><?php print $title; ?></h1><?php endif; ?>
  28. </div>
  29. <div id="page">
  30. <?php if ($sidebar_first): ?>
  31. <div id="sidebar-first" class="sidebar">
  32. <?php if ($logo): ?>
  33. <img id="logo" src="<?php print $logo ?>" alt="<?php print $site_name ?>" />
  34. <?php endif; ?>
  35. <?php print $sidebar_first ?>
  36. </div>
  37. <?php endif; ?>
  38. <div id="content" class="clearfix">
  39. <?php if ($messages): ?>
  40. <div id="console"><?php print $messages; ?></div>
  41. <?php endif; ?>
  42. <?php if ($help): ?>
  43. <div id="help">
  44. <?php print $help; ?>
  45. </div>
  46. <?php endif; ?>
  47. <?php print $content; ?>
  48. </div>
  49. </div>
  50. <?php print $page_bottom; ?>
  51. </body>
  52. </html>

Related topics

Login or register to post comments