Issue #1135120 by JohnAlbin: PHP notice about undefined $highlight variable on mainte...
[project/zen.git] / templates / maintenance-page.tpl.php
1 <?php
2 /**
3 * @file
4 * Zen theme's 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
17 <head>
18 <title><?php print $head_title; ?></title>
19 <?php print $head; ?>
20 <?php print $styles; ?>
21 <?php print $scripts; ?>
22 </head>
23 <body class="<?php print $classes; ?>">
24
25 <div id="page-wrapper"><div id="page">
26
27 <div id="header"><div class="section clearfix">
28
29 <?php if ($logo): ?>
30 <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>
31 <?php endif; ?>
32
33 <?php if ($site_name || $site_slogan): ?>
34 <div id="name-and-slogan">
35 <?php if ($site_name): ?>
36 <div id="site-name"><strong>
37 <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home">
38 <span><?php print $site_name; ?></span>
39 </a>
40 </strong></div>
41 <?php endif; ?>
42 <?php if ($site_slogan): ?>
43 <div id="site-slogan"><?php print $site_slogan; ?></div>
44 <?php endif; ?>
45 </div><!-- /#name-and-slogan -->
46 <?php endif; ?>
47
48 <?php print $header; ?>
49
50 </div></div><!-- /.section, /#header -->
51
52 <div id="main-wrapper"><div id="main" class="clearfix<?php if ($navigation) { print ' with-navigation'; } ?>">
53
54 <div id="content" class="column"><div class="section">
55
56 <?php print $highlighted; ?>
57
58 <?php if ($title): ?>
59 <h1 class="title"><?php print $title; ?></h1>
60 <?php endif; ?>
61 <?php print $messages; ?>
62
63 <?php print $content; ?>
64
65 </div></div><!-- /.section, /#content -->
66
67 <?php if ($navigation): ?>
68 <div id="navigation"><div class="section clearfix">
69
70 <?php print $navigation; ?>
71
72 </div></div><!-- /.section, /#navigation -->
73 <?php endif; ?>
74
75 <?php print $sidebar_first; ?>
76
77 <?php print $sidebar_second; ?>
78
79 </div></div><!-- /#main, /#main-wrapper -->
80
81 <?php print $footer; ?>
82
83 </div></div><!-- /#page, /#page-wrapper -->
84
85 <?php print $bottom; ?>
86
87 </body>
88 </html>