maintenance-page.tpl.php 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <!doctype html>
  2. <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
  3. <!--[if lt IE 7 ]> <html lang="<?php print $language->language ?>" class="no-js ie6"> <![endif]-->
  4. <!--[if IE 7 ]> <html lang="<?php print $language->language ?>" class="no-js ie7"> <![endif]-->
  5. <!--[if IE 8 ]> <html lang="<?php print $language->language ?>" class="no-js ie8"> <![endif]-->
  6. <!--[if IE 9 ]> <html lang="<?php print $language->language ?>" class="no-js ie9"> <![endif]-->
  7. <!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php print $language->language ?>" class="no-js"> <!--<![endif]-->
  8. <head>
  9. <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
  10. Remove this if you use the .htaccess -->
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  12. <title>
  13. <?php print $head_title; ?>
  14. </title>
  15. <?php print $head; ?>
  16. <meta charset="utf-8">
  17. <!-- Mobile Viewport Fix
  18. j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag
  19. device-width : Occupy full width of the screen in its current orientation
  20. initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height
  21. maximum-scale = 1.0 retains dimensions instead of zooming in if page width < device width
  22. -->
  23. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
  24. <!-- Place favicon.ico and apple-touch-icon.png in the root of your domain and delete these references -->
  25. <link rel="shortcut icon" href="<?php print $base_path . path_to_theme() ?>/favicon.ico">
  26. <link rel="apple-touch-icon" href="<?php print $base_path . path_to_theme() ?>/apple-touch-icon.png">
  27. <?php print $styles; ?>
  28. <!-- For the less-enabled mobile browsers like Opera Mini -->
  29. <link rel="stylesheet" media="handheld" href="<?php print $base_path . path_to_theme() ?>/css/handheld.css?v=1">
  30. <!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects -->
  31. <script src="<?php print $base_path . path_to_theme() ?>/js/modernizr-1.6.min.js"></script>
  32. </head>
  33. <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
  34. <body class="<?php print $body_classes; ?>">
  35. <?php if ($header): print '<div id="header-region-wrapper"><div id="header-region">'.$header.'</div></div>'; endif; ?>
  36. <div id="container">
  37. <header id="header">
  38. <div class="region-content">
  39. <?php
  40. if ($logo || $site_title) {
  41. print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">';
  42. if ($logo) {
  43. print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" title="Home" />';
  44. }
  45. print ($logo ? '' : $site_title_html) .'</a></h1>';
  46. }
  47. ?>
  48. </div>
  49. <?php if ($headerblock_left || $headerblock_middle || $headerblock_right): ?>
  50. <div id="header-blocks">
  51. <?php if ($headerblock_left): ?>
  52. <div id="headerblock-left" class="headerblock-block">
  53. <?php print $headerblock_left ?>
  54. </div>
  55. <?php endif; ?>
  56. <?php if ($headerblock_middle): ?>
  57. <div id="headerblock-middle" class="headerblock-block">
  58. <?php print $headerblock_middle?>
  59. </div>
  60. <?php endif; ?>
  61. <?php if ($headerblock_right): ?>
  62. <div id="headerblock-right" class="headerblock-block">
  63. <?php print $headerblock_right ?>
  64. </div>
  65. <?php endif; ?>
  66. </div>
  67. <?php endif; ?>
  68. </header>
  69. <!-- /header -->
  70. <main id="main">
  71. <section id="center">
  72. <?php if ($tabs) { ?><div class="tabs"><?php print $tabs ?></div><?php } ?>
  73. <?php if ($show_messages && $messages): print $messages; endif; ?>
  74. <?php if ($help): print $help; endif; ?>
  75. <?php if ($content_top): ?>
  76. <section id="content-top">
  77. <?php print $content_bottom; ?>
  78. </section>
  79. <?php endif; ?>
  80. <section id="content">
  81. <?php if ($title) { ?><h1 class="pagetitle"><?php print $title ?></h1><?php } ?>
  82. <?php print $content; ?>
  83. </section>
  84. <?php if ($content_bottom): ?>
  85. <section id="content-bottom">
  86. <?php print $content_bottom; ?>
  87. </section>
  88. <?php endif; ?>
  89. </section>
  90. <!-- /center -->
  91. <?php if ($left): ?>
  92. <section id="sidebar-left" class="sidebar">
  93. <?php print $left ?>
  94. </section>
  95. <!-- /sidebar-left -->
  96. <?php endif; ?>
  97. <?php if ($right): ?>
  98. <section id="sidebar-right" class="sidebar">
  99. <?php if ($search_box): ?><div class="block block-theme" id="searchbox"><?php print $search_box ?></div><?php endif; ?>
  100. <?php print $right ?>
  101. </section>
  102. <!-- /sidebar-right -->
  103. <?php endif; ?>
  104. </div><!-- /main -->
  105. <footer id="footer">
  106. <?php if ($footer_top): ?>
  107. <div id="footer-top-wrapper">
  108. <div id="footer-top">
  109. <?php print $footer_top ?>
  110. </div>
  111. </div>
  112. <?php endif; ?>
  113. <?php if ($footer_left || $footer_middle_left || $footer_middle_right || $footer_right): ?>
  114. <div class="footer-block">
  115. <?php if ($footer_left): ?>
  116. <div id="footer-left" class="footer-block">
  117. <?php print $footer_left ?>
  118. </div>
  119. <?php endif; ?>
  120. <?php if ($footer_middle_left): ?>
  121. <div id="footer-middle-left" class="footer-block">
  122. <?php print $footer_middle_left ?>
  123. </div>
  124. <?php endif; ?>
  125. <?php if ($footer_middle_right): ?>
  126. <div id="footer-middle-right" class="footer-block">
  127. <?php print $footer_middle_right ?>
  128. </div>
  129. <?php endif; ?>
  130. <?php if ($footer_right): ?>
  131. <div id="footer-right" class="footer-block">
  132. <?php print $footer_right ?>
  133. </div>
  134. <?php endif; ?>
  135. </div>
  136. <?php endif; ?>
  137. <?php if($footer_message): ?>
  138. <div id="footer-message">
  139. <p><?php print $footer_message ?></p>
  140. </div>
  141. <?php endif; ?>
  142. </footer>
  143. <!-- /footer -->
  144. </div>
  145. <!-- /container -->
  146. <!-- Javascript at the bottom for fast page loading -->
  147. <?php print $scripts; ?>
  148. <!-- yui profiler and profileviewer - remove for production -->
  149. <script src="<?php print $base_path . path_to_theme() ?>/js/profiling/yahoo-profiling.min.js?v=1"></script>
  150. <script src="<?php print $base_path . path_to_theme() ?>/js/profiling/config.js?v=1"></script>
  151. <!-- end profiling code -->
  152. <!--[if lt IE 7 ]>
  153. <script src="<?php print $base_path . path_to_theme() ?>/js/libs/dd_belatedpng.js"></script>
  154. <script> DD_belatedPNG.fix('img, .png_bg'); //fix any <img> or .png_bg background-images </script>
  155. <![endif]-->
  156. <?php print $closure ?>
  157. </body>
  158. </html>