maintenance-page.tpl.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to display a single Drupal page while offline.
  5. *
  6. * All the available variables are mirrored in html.tpl.php and page.tpl.php.
  7. * Some may be blank but they are provided for consistency.
  8. *
  9. * @see template_preprocess()
  10. * @see template_preprocess_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. <title><?php print $head_title; ?></title>
  18. <?php print $head; ?>
  19. <?php print $styles; ?>
  20. <?php print $scripts; ?>
  21. </head>
  22. <body class="<?php print $classes; ?>">
  23. <div id="page">
  24. <div id="header">
  25. <div id="logo-title">
  26. <?php if (!empty($logo)): ?>
  27. <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
  28. <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
  29. </a>
  30. <?php endif; ?>
  31. <div id="name-and-slogan">
  32. <?php if (!empty($site_name)): ?>
  33. <h1 id="site-name">
  34. <a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
  35. </h1>
  36. <?php endif; ?>
  37. <?php if (!empty($site_slogan)): ?>
  38. <div id="site-slogan"><?php print $site_slogan; ?></div>
  39. <?php endif; ?>
  40. </div> <!-- /name-and-slogan -->
  41. </div> <!-- /logo-title -->
  42. <?php if (!empty($header)): ?>
  43. <div id="header-region">
  44. <?php print $header; ?>
  45. </div>
  46. <?php endif; ?>
  47. </div> <!-- /header -->
  48. <div id="container" class="clearfix">
  49. <?php if (!empty($sidebar_first)): ?>
  50. <div id="sidebar-first" class="column sidebar">
  51. <?php print $sidebar_first; ?>
  52. </div> <!-- /sidebar-first -->
  53. <?php endif; ?>
  54. <div id="main" class="column"><div id="main-squeeze">
  55. <div id="content">
  56. <?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
  57. <?php if (!empty($messages)): print $messages; endif; ?>
  58. <div id="content-content" class="clearfix">
  59. <?php print $content; ?>
  60. </div> <!-- /content-content -->
  61. </div> <!-- /content -->
  62. </div></div> <!-- /main-squeeze /main -->
  63. <?php if (!empty($sidebar_second)): ?>
  64. <div id="sidebar-second" class="column sidebar">
  65. <?php print $sidebar_second; ?>
  66. </div> <!-- /sidebar-second -->
  67. <?php endif; ?>
  68. </div> <!-- /container -->
  69. <div id="footer-wrapper">
  70. <div id="footer">
  71. <?php if (!empty($footer)): print $footer; endif; ?>
  72. </div> <!-- /footer -->
  73. </div> <!-- /footer-wrapper -->
  74. </div> <!-- /page -->
  75. </body>
  76. </html>