Three inter-related items in one commit:
[project/zen.git] / templates / maintenance-page.tpl.php
CommitLineData
1ea15598
J
1<?php
2// $Id$
3
4/**
5 * @file maintenance-page.tpl.php
6 *
7 * Theme implementation to display a single Drupal page while off-line.
8 *
9 * All the available variables are mirrored in page.tpl.php. Some may be left
10 * blank but they are provided for consistency.
11 *
12 *
13 * @see template_preprocess()
14 * @see template_preprocess_maintenance_page()
15 */
16?>
17<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
18<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>">
19
20<head>
21 <title><?php print $head_title; ?></title>
22 <?php print $head; ?>
23 <?php print $styles; ?>
24 <?php print $scripts; ?>
25</head>
d212bfc9 26<body class="<?php print $classes; ?>">
1ea15598
J
27
28 <div id="page"><div id="page-inner">
29
1ea15598
J
30 <?php if ($navbar): ?>
31 <div id="skip-to-nav"><a href="#navigation"><?php print t('Skip to Navigation'); ?></a></div>
32 <?php endif; ?>
33
0e55bd8a 34 <div id="header"><div id="header-inner" class="clearfix">
1ea15598 35
874ce1e8
J
36 <?php if ($logo): ?>
37 <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>
38 <?php endif; ?>
1ea15598 39
874ce1e8
J
40 <?php if ($site_name || $site_slogan): ?>
41 <div id="name-and-slogan">
1ea15598
J
42 <?php if ($site_name): ?>
43 <div id="site-name"><strong>
44 <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home">
45 <?php print $site_name; ?>
46 </a>
47 </strong></div>
48 <?php endif; ?>
1ea15598
J
49 <?php if ($site_slogan): ?>
50 <div id="site-slogan"><?php print $site_slogan; ?></div>
51 <?php endif; ?>
874ce1e8 52 </div> <!-- /#name-and-slogan -->
1ea15598
J
53 <?php endif; ?>
54
fdb523d3 55 <?php print $header; ?>
1ea15598
J
56
57 </div></div> <!-- /#header-inner, /#header -->
58
0e55bd8a 59 <div id="main"><div id="main-inner" class="clearfix<?php if ($navbar) { print ' with-navbar'; } ?>">
1ea15598
J
60
61 <div id="content"><div id="content-inner">
62
fdb523d3 63 <?php print $content_top; ?>
1ea15598
J
64
65 <?php if ($title || $messages): ?>
66 <div id="content-header">
67 <?php if ($title): ?>
68 <h1 class="title"><?php print $title; ?></h1>
69 <?php endif; ?>
70 <?php if ($messages): print $messages; endif; ?>
71 </div> <!-- /#content-header -->
72 <?php endif; ?>
73
74 <div id="content-area">
75 <?php print $content; ?>
76 </div>
77
fdb523d3 78 <?php print $content_bottom; ?>
1ea15598
J
79
80 </div></div> <!-- /#content-inner, /#content -->
81
82 <?php if ($navbar): ?>
fdb523d3 83 <div id="navbar">
1ea15598
J
84
85 <a name="navigation" id="navigation"></a>
86 <?php print $navbar; ?>
87
fdb523d3 88 </div> <!-- /#navbar -->
1ea15598
J
89 <?php endif; ?>
90
91 <?php if ($left): ?>
0764255f 92 <div id="sidebar-first"><div id="sidebar-first-inner" class="region region-sidebar-first">
1ea15598 93 <?php print $left; ?>
0764255f 94 </div></div> <!-- /#sidebar-first-inner, /#sidebar-first -->
1ea15598
J
95 <?php endif; ?>
96
97 <?php if ($right): ?>
0764255f 98 <div id="sidebar-second"><div id="sidebar-second-inner" class="region region-sidebar-second">
1ea15598 99 <?php print $right; ?>
0764255f 100 </div></div> <!-- /#sidebar-second-inner, /#sidebar-second -->
1ea15598
J
101 <?php endif; ?>
102
103 </div></div> <!-- /#main-inner, /#main -->
104
105 <?php if ($footer || $footer_message): ?>
fdb523d3 106 <div id="footer">
1ea15598
J
107
108 <?php if ($footer_message): ?>
109 <div id="footer-message"><?php print $footer_message; ?></div>
110 <?php endif; ?>
111
112 <?php print $footer; ?>
113
fdb523d3 114 </div> <!-- /#footer -->
1ea15598
J
115 <?php endif; ?>
116
117 </div></div> <!-- /#page-inner, /#page -->
118
119 <?php if ($closure_region): ?>
120 <div id="closure-blocks" class="region region-closure"><?php print $closure_region; ?></div>
121 <?php endif; ?>
122
123 <?php print $closure; ?>
124
125</body>
126</html>