maintenance-page.tpl.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. /**
  3. * @file
  4. * Implementation to display a single Drupal page while offline.
  5. *
  6. * All the available variables are mirrored in page.tpl.php.
  7. *
  8. * @see template_preprocess()
  9. * @see template_preprocess_maintenance_page()
  10. * @see bartik_process_maintenance_page()
  11. */
  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. </head>
  22. <body class="<?php print $classes; ?>" <?php print $attributes;?>>
  23. <div id="skip-link">
  24. <a href="#main-content" class="element-invisible element-focusable"><?php print t('Skip to main content'); ?></a>
  25. </div>
  26. <div id="page-wrapper"><div id="page">
  27. <div id="header"><div class="section clearfix">
  28. <?php if ($site_name || $site_slogan): ?>
  29. <div id="name-and-slogan"<?php if ($hide_site_name && $hide_site_slogan) { print ' class="element-invisible"'; } ?>>
  30. <?php if ($site_name): ?>
  31. <div id="site-name"<?php if ($hide_site_name) { print ' class="element-invisible"'; } ?>>
  32. <strong>
  33. <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
  34. </strong>
  35. </div>
  36. <?php endif; ?>
  37. <?php if ($site_slogan): ?>
  38. <div id="site-slogan"<?php if ($hide_site_slogan) { print ' class="element-invisible"'; } ?>>
  39. <?php print $site_slogan; ?>
  40. </div>
  41. <?php endif; ?>
  42. </div> <!-- /#name-and-slogan -->
  43. <?php endif; ?>
  44. </div></div> <!-- /.section, /#header -->
  45. <div id="main-wrapper"><div id="main" class="clearfix">
  46. <div id="content" class="column"><div class="section">
  47. <a id="main-content"></a>
  48. <?php if ($title): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
  49. <?php print $content; ?>
  50. <?php if ($messages): ?>
  51. <div id="messages"><div class="section clearfix">
  52. <?php print $messages; ?>
  53. </div></div> <!-- /.section, /#messages -->
  54. <?php endif; ?>
  55. </div></div> <!-- /.section, /#content -->
  56. </div></div> <!-- /#main, /#main-wrapper -->
  57. </div></div> <!-- /#page, /#page-wrapper -->
  58. </body>
  59. </html>