4 * Zen theme's implementation to display a single Drupal page while offline.
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.
9 * @see template_preprocess()
10 * @see template_preprocess_maintenance_page()
13 <!--[if IEMobile
7]><html
class="iem7" <?php
print $html_attributes; ?
>><![endif]-->
14 <!--[if lte IE
6]><html
class="ie6 ie6-7 ie6-8" <?php
print $html_attributes; ?
>><![endif]-->
15 <!--[if (IE
7)&(!IEMobile
)]><html
class="ie7 ie6-7 ie6-8" <?php
print $html_attributes; ?
>><![endif]-->
16 <!--[if IE
8]><html
class="ie8 ie6-8" <?php
print $html_attributes; ?
>><![endif]-->
17 <!--[if (gte IE
9)|(gt IEMobile
7)]><!--><html
<?php
print $html_attributes; ?
>><!--<![endif]-->
21 <title
><?php
print $head_title; ?
></title
>
23 <?php
if ($add_responsive_meta): ?
>
24 <meta name
="viewport" content
="width=device-width, target-densityDpi=160dpi, initial-scale=1">
25 <meta name
="MobileOptimized" content
="width">
26 <meta name
="HandheldFriendly" content
="true">
27 <meta name
="apple-mobile-web-app-capable" content
="yes">
29 <meta http
-equiv
="cleartype" content
="on">
30 <meta http
-equiv
="X-UA-Compatible" content
="IE=edge,chrome=1">
32 <?php
print $styles; ?
>
33 <?php
print $scripts; ?
>
34 <?php
if ($add_respond_js): ?
>
36 <script src
="<?php print $base_path . $path_to_zen; ?>/js/html5-respond.js"></script
>
38 <?php
elseif ($add_html5_shim): ?
>
40 <script src
="<?php print $base_path . $path_to_zen; ?>/js/src/html5-innershiv.js"></script
>
44 <body
class="<?php print $classes; ?>">
46 <div id
="page-wrapper"><div id
="page">
48 <header id
="header"><div
class="section clearfix">
51 <a href
="<?php print $base_path; ?>" title
="<?php print t('Home'); ?>" rel
="home" id
="logo"><img src
="<?php print $logo; ?>" alt
="<?php print t('Home'); ?>" /></a
>
54 <?php
if ($site_name || $site_slogan): ?
>
55 <hgroup id
="name-and-slogan">
56 <?php
if ($site_name): ?
>
58 <a href
="<?php print $base_path; ?>" title
="<?php print t('Home'); ?>" rel
="home"><span
><?php
print $site_name; ?
></span
></a
>
61 <?php
if ($site_slogan): ?
>
62 <h2 id
="site-slogan"><?php
print $site_slogan; ?
></h2
>
64 </hgroup
><!-- /#name-and-slogan -->
67 <?php
print $header; ?
>
69 </div
></header><!-- /.section
, /#header -->
71 <div id
="main-wrapper"><div id
="main" class="clearfix">
73 <div id
="content" class="column" role
="main"><div
class="section">
75 <?php
print $highlighted; ?
>
78 <h1
class="title"><?php
print $title; ?
></h1
>
80 <?php
print $messages; ?
>
82 <?php
print $content; ?
>
84 </div
></div
><!-- /.section
, /#content -->
86 <div id
="navigation"><div
class="section clearfix">
87 <?php
print $navigation; ?
>
88 </div
></div
><!-- /.section
, /#navigation -->
90 <?php
if ($sidebar_first || $sidebar_second): ?
>
91 <aside
class="sidebars">
92 <?php
print $sidebar_first; ?
>
93 <?php
print $sidebar_second; ?
>
94 </aside
><!-- /.sidebars
-->
97 </div
></div
><!-- /#main, /#main-wrapper -->
99 <?php
print $footer; ?
>
101 </div
></div
><!-- /#page, /#page-wrapper -->
103 <?php
print $bottom; ?
>