| webmaster@1 | 1 <?php | 
| webmaster@1 | 2 // $Id: maintenance-page.tpl.php,v 1.2 2008/01/24 09:42:51 goba Exp $ | 
| webmaster@1 | 3 | 
| webmaster@1 | 4 /** | 
| webmaster@1 | 5  * @file maintenance-page.tpl.php | 
| webmaster@1 | 6  * | 
| webmaster@1 | 7  * Theme implementation to display a single Drupal page while off-line. | 
| webmaster@1 | 8  * | 
| webmaster@1 | 9  * All the available variables are mirrored in page.tpl.php. Some may be left | 
| webmaster@1 | 10  * blank but they are provided for consistency. | 
| webmaster@1 | 11  * | 
| webmaster@1 | 12  * | 
| webmaster@1 | 13  * @see template_preprocess() | 
| webmaster@1 | 14  * @see template_preprocess_maintenance_page() | 
| webmaster@1 | 15  */ | 
| webmaster@1 | 16 ?> | 
| webmaster@1 | 17 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | 
| webmaster@1 | 18   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 
| webmaster@1 | 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 ?>"> | 
| webmaster@1 | 20 | 
| webmaster@1 | 21 <head> | 
| webmaster@1 | 22   <title><?php print $head_title; ?></title> | 
| webmaster@1 | 23   <?php print $head; ?> | 
| webmaster@1 | 24   <?php print $styles; ?> | 
| webmaster@1 | 25   <?php print $scripts; ?> | 
| webmaster@1 | 26   <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyled Content in IE */ ?> </script> | 
| webmaster@1 | 27 </head> | 
| webmaster@1 | 28 <body class="<?php print $body_classes; ?>"> | 
| webmaster@1 | 29   <div id="page"> | 
| webmaster@1 | 30     <div id="header"> | 
| webmaster@1 | 31       <div id="logo-title"> | 
| webmaster@1 | 32 | 
| webmaster@1 | 33         <?php if (!empty($logo)): ?> | 
| webmaster@1 | 34           <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo"> | 
| webmaster@1 | 35             <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" /> | 
| webmaster@1 | 36           </a> | 
| webmaster@1 | 37         <?php endif; ?> | 
| webmaster@1 | 38 | 
| webmaster@1 | 39         <div id="name-and-slogan"> | 
| webmaster@1 | 40           <?php if (!empty($site_name)): ?> | 
| webmaster@1 | 41             <h1 id="site-name"> | 
| webmaster@1 | 42               <a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a> | 
| webmaster@1 | 43             </h1> | 
| webmaster@1 | 44           <?php endif; ?> | 
| webmaster@1 | 45 | 
| webmaster@1 | 46           <?php if (!empty($site_slogan)): ?> | 
| webmaster@1 | 47             <div id="site-slogan"><?php print $site_slogan; ?></div> | 
| webmaster@1 | 48           <?php endif; ?> | 
| webmaster@1 | 49         </div> <!-- /name-and-slogan --> | 
| webmaster@1 | 50       </div> <!-- /logo-title --> | 
| webmaster@1 | 51 | 
| webmaster@1 | 52       <?php if (!empty($header)): ?> | 
| webmaster@1 | 53         <div id="header-region"> | 
| webmaster@1 | 54           <?php print $header; ?> | 
| webmaster@1 | 55         </div> | 
| webmaster@1 | 56       <?php endif; ?> | 
| webmaster@1 | 57 | 
| webmaster@1 | 58     </div> <!-- /header --> | 
| webmaster@1 | 59 | 
| webmaster@1 | 60     <div id="container" class="clear-block"> | 
| webmaster@1 | 61 | 
| webmaster@1 | 62       <?php if (!empty($left)): ?> | 
| webmaster@1 | 63         <div id="sidebar-left" class="column sidebar"> | 
| webmaster@1 | 64           <?php print $left; ?> | 
| webmaster@1 | 65         </div> <!-- /sidebar-left --> | 
| webmaster@1 | 66       <?php endif; ?> | 
| webmaster@1 | 67 | 
| webmaster@1 | 68       <div id="main" class="column"><div id="main-squeeze"> | 
| webmaster@1 | 69 | 
| webmaster@1 | 70         <div id="content"> | 
| webmaster@1 | 71           <?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?> | 
| webmaster@1 | 72           <?php if (!empty($messages)): print $messages; endif; ?> | 
| webmaster@1 | 73           <div id="content-content" class="clear-block"> | 
| webmaster@1 | 74             <?php print $content; ?> | 
| webmaster@1 | 75           </div> <!-- /content-content --> | 
| webmaster@1 | 76         </div> <!-- /content --> | 
| webmaster@1 | 77 | 
| webmaster@1 | 78       </div></div> <!-- /main-squeeze /main --> | 
| webmaster@1 | 79 | 
| webmaster@1 | 80       <?php if (!empty($right)): ?> | 
| webmaster@1 | 81         <div id="sidebar-right" class="column sidebar"> | 
| webmaster@1 | 82           <?php print $right; ?> | 
| webmaster@1 | 83         </div> <!-- /sidebar-right --> | 
| webmaster@1 | 84       <?php endif; ?> | 
| webmaster@1 | 85 | 
| webmaster@1 | 86     </div> <!-- /container --> | 
| webmaster@1 | 87 | 
| webmaster@1 | 88     <div id="footer-wrapper"> | 
| webmaster@1 | 89       <div id="footer"> | 
| webmaster@1 | 90         <?php print $footer_message; ?> | 
| webmaster@1 | 91         <?php if (!empty($footer)): print $footer; endif; ?> | 
| webmaster@1 | 92       </div> <!-- /footer --> | 
| webmaster@1 | 93     </div> <!-- /footer-wrapper --> | 
| webmaster@1 | 94 | 
| webmaster@1 | 95   </div> <!-- /page --> | 
| webmaster@1 | 96 | 
| webmaster@1 | 97 </body> | 
| webmaster@1 | 98 </html> |