/[drupal]/drupal/modules/system/maintenance-page.tpl.php
ViewVC logotype

Contents of /drupal/modules/system/maintenance-page.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download) (as text)
Mon Aug 3 03:04:33 2009 UTC (3 months, 3 weeks ago) by webchick
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-10, DRUPAL-7-0-UNSTABLE-9, HEAD
Changes since 1.7: +9 -9 lines
File MIME type: text/x-php
#226587 by JohnAlbin, E.Z, et al: Make sidebar regions semantic and RTL-friendly.
1 <?php
2 // $Id: maintenance-page.tpl.php,v 1.7 2009/05/28 16:44:06 webchick Exp $
3
4 /**
5 * @file
6 * Default theme implementation to display a single Drupal page while offline.
7 *
8 * All the available variables are mirrored in page.tpl.php. Some may be left
9 * blank but they are provided for consistency.
10 *
11 * @see template_preprocess()
12 * @see template_preprocess_maintenance_page()
13 */
14 ?>
15 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
16 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
17 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
18
19 <head>
20 <title><?php print $head_title; ?></title>
21 <?php print $head; ?>
22 <?php print $styles; ?>
23 <?php print $scripts; ?>
24 <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyled Content in IE */ ?> </script>
25 </head>
26 <body class="<?php print $classes; ?>">
27 <div id="page">
28 <div id="header">
29 <div id="logo-title">
30
31 <?php if (!empty($logo)): ?>
32 <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
33 <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
34 </a>
35 <?php endif; ?>
36
37 <div id="name-and-slogan">
38 <?php if (!empty($site_name)): ?>
39 <h1 id="site-name">
40 <a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
41 </h1>
42 <?php endif; ?>
43
44 <?php if (!empty($site_slogan)): ?>
45 <div id="site-slogan"><?php print $site_slogan; ?></div>
46 <?php endif; ?>
47 </div> <!-- /name-and-slogan -->
48 </div> <!-- /logo-title -->
49
50 <?php if (!empty($header)): ?>
51 <div id="header-region">
52 <?php print $header; ?>
53 </div>
54 <?php endif; ?>
55
56 </div> <!-- /header -->
57
58 <div id="container" class="clearfix">
59
60 <?php if (!empty($sidebar_first)): ?>
61 <div id="sidebar-first" class="column sidebar">
62 <?php print $sidebar_first; ?>
63 </div> <!-- /sidebar-first -->
64 <?php endif; ?>
65
66 <div id="main" class="column"><div id="main-squeeze">
67
68 <div id="content">
69 <?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
70 <?php if (!empty($messages)): print $messages; endif; ?>
71 <div id="content-content" class="clearfix">
72 <?php print $content; ?>
73 </div> <!-- /content-content -->
74 </div> <!-- /content -->
75
76 </div></div> <!-- /main-squeeze /main -->
77
78 <?php if (!empty($sidebar_second)): ?>
79 <div id="sidebar-second" class="column sidebar">
80 <?php print $sidebar_second; ?>
81 </div> <!-- /sidebar-second -->
82 <?php endif; ?>
83
84 </div> <!-- /container -->
85
86 <div id="footer-wrapper">
87 <div id="footer">
88 <?php if (!empty($footer)): print $footer; endif; ?>
89 </div> <!-- /footer -->
90 </div> <!-- /footer-wrapper -->
91
92 </div> <!-- /page -->
93
94 </body>
95 </html>

  ViewVC Help
Powered by ViewVC 1.1.2