maintenance-page.tpl.php 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. * @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->language ?>" lang="<?php print $language->language ?>" 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. <div id="page">
  26. <div id="header">
  27. <div id="logo-title">
  28. <?php if (!empty($logo)): ?>
  29. <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
  30. <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
  31. </a>
  32. <?php endif; ?>
  33. <div id="name-and-slogan">
  34. <?php if (!empty($site_name)): ?>
  35. <h1 id="site-name">
  36. <a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
  37. </h1>
  38. <?php endif; ?>
  39. <?php if (!empty($site_slogan)): ?>
  40. <div id="site-slogan"><?php print $site_slogan; ?></div>
  41. <?php endif; ?>
  42. </div> <!-- /name-and-slogan -->
  43. </div> <!-- /logo-title -->
  44. <?php if (!empty($header)): ?>
  45. <div id="header-region">
  46. <?php print $header; ?>
  47. </div>
  48. <?php endif; ?>
  49. </div> <!-- /header -->
  50. <div id="container" class="clearfix">
  51. <?php if (!empty($sidebar_first)): ?>
  52. <div id="sidebar-first" class="column sidebar">
  53. <?php print $sidebar_first; ?>
  54. </div> <!-- /sidebar-first -->
  55. <?php endif; ?>
  56. <div id="main" class="column"><div id="main-squeeze">
  57. <div id="content">
  58. <?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
  59. <?php if (!empty($messages)): print $messages; endif; ?>
  60. <div id="content-content" class="clearfix">
  61. <?php print $content; ?>
  62. </div> <!-- /content-content -->
  63. </div> <!-- /content -->
  64. </div></div> <!-- /main-squeeze /main -->
  65. <?php if (!empty($sidebar_second)): ?>
  66. <div id="sidebar-second" class="column sidebar">
  67. <?php print $sidebar_second; ?>
  68. </div> <!-- /sidebar-second -->
  69. <?php endif; ?>
  70. </div> <!-- /container -->
  71. <div id="footer-wrapper">
  72. <div id="footer">
  73. <?php if (!empty($footer)): print $footer; endif; ?>
  74. </div> <!-- /footer -->
  75. </div> <!-- /footer-wrapper -->
  76. </div> <!-- /page -->
  77. </body>
  78. </html>