Mercurial > defr > drupal > core
comparison modules/system/maintenance-page.tpl.php @ 1:c1f4ac30525a 6.0
Drupal 6.0
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:28:28 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:5a113a1c4740 | 1:c1f4ac30525a |
---|---|
1 <?php | |
2 // $Id: maintenance-page.tpl.php,v 1.2 2008/01/24 09:42:51 goba Exp $ | |
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" | |
18 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
19 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"> | |
20 | |
21 <head> | |
22 <title><?php print $head_title; ?></title> | |
23 <?php print $head; ?> | |
24 <?php print $styles; ?> | |
25 <?php print $scripts; ?> | |
26 <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyled Content in IE */ ?> </script> | |
27 </head> | |
28 <body class="<?php print $body_classes; ?>"> | |
29 <div id="page"> | |
30 <div id="header"> | |
31 <div id="logo-title"> | |
32 | |
33 <?php if (!empty($logo)): ?> | |
34 <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo"> | |
35 <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" /> | |
36 </a> | |
37 <?php endif; ?> | |
38 | |
39 <div id="name-and-slogan"> | |
40 <?php if (!empty($site_name)): ?> | |
41 <h1 id="site-name"> | |
42 <a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a> | |
43 </h1> | |
44 <?php endif; ?> | |
45 | |
46 <?php if (!empty($site_slogan)): ?> | |
47 <div id="site-slogan"><?php print $site_slogan; ?></div> | |
48 <?php endif; ?> | |
49 </div> <!-- /name-and-slogan --> | |
50 </div> <!-- /logo-title --> | |
51 | |
52 <?php if (!empty($header)): ?> | |
53 <div id="header-region"> | |
54 <?php print $header; ?> | |
55 </div> | |
56 <?php endif; ?> | |
57 | |
58 </div> <!-- /header --> | |
59 | |
60 <div id="container" class="clear-block"> | |
61 | |
62 <?php if (!empty($left)): ?> | |
63 <div id="sidebar-left" class="column sidebar"> | |
64 <?php print $left; ?> | |
65 </div> <!-- /sidebar-left --> | |
66 <?php endif; ?> | |
67 | |
68 <div id="main" class="column"><div id="main-squeeze"> | |
69 | |
70 <div id="content"> | |
71 <?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?> | |
72 <?php if (!empty($messages)): print $messages; endif; ?> | |
73 <div id="content-content" class="clear-block"> | |
74 <?php print $content; ?> | |
75 </div> <!-- /content-content --> | |
76 </div> <!-- /content --> | |
77 | |
78 </div></div> <!-- /main-squeeze /main --> | |
79 | |
80 <?php if (!empty($right)): ?> | |
81 <div id="sidebar-right" class="column sidebar"> | |
82 <?php print $right; ?> | |
83 </div> <!-- /sidebar-right --> | |
84 <?php endif; ?> | |
85 | |
86 </div> <!-- /container --> | |
87 | |
88 <div id="footer-wrapper"> | |
89 <div id="footer"> | |
90 <?php print $footer_message; ?> | |
91 <?php if (!empty($footer)): print $footer; endif; ?> | |
92 </div> <!-- /footer --> | |
93 </div> <!-- /footer-wrapper --> | |
94 | |
95 </div> <!-- /page --> | |
96 | |
97 </body> | |
98 </html> |