| webmaster@1 | 1 <?php | 
| webmaster@1 | 2 // $Id: maintenance-page.tpl.php,v 1.3 2008/01/24 09:42:53 goba Exp $ | 
| webmaster@1 | 3 | 
| webmaster@1 | 4 /** | 
| webmaster@1 | 5  * @file maintenance-page.tpl.php | 
| webmaster@1 | 6  * | 
| webmaster@1 | 7  * This is an override of the default maintenance page. Used for Garland and | 
| webmaster@1 | 8  * Minnelli, this file should not be moved or modified since the installation | 
| webmaster@1 | 9  * and update pages depend on this file. | 
| webmaster@1 | 10  * | 
| webmaster@1 | 11  * This mirrors closely page.tpl.php for Garland in order to share the same | 
| webmaster@1 | 12  * styles. | 
| webmaster@1 | 13  */ | 
| webmaster@1 | 14 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | 
| webmaster@1 | 15   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 
| webmaster@1 | 16 <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 | 17   <head> | 
| webmaster@1 | 18     <title><?php print $head_title ?></title> | 
| webmaster@1 | 19     <?php print $head ?> | 
| webmaster@1 | 20     <?php print $styles ?> | 
| webmaster@1 | 21     <?php print $scripts ?> | 
| webmaster@1 | 22     <!--[if lt IE 7]> | 
| webmaster@1 | 23       <?php print phptemplate_get_ie_styles(); ?> | 
| webmaster@1 | 24     <![endif]--> | 
| webmaster@1 | 25   </head> | 
| webmaster@1 | 26   <body<?php print phptemplate_body_class($left, $right); ?>> | 
| webmaster@1 | 27 | 
| webmaster@1 | 28 <!-- Layout --> | 
| webmaster@1 | 29   <div id="header-region" class="clear-block"><?php print $header; ?></div> | 
| webmaster@1 | 30 | 
| webmaster@1 | 31     <div id="wrapper"> | 
| webmaster@1 | 32     <div id="container" class="clear-block"> | 
| webmaster@1 | 33 | 
| webmaster@1 | 34       <div id="header"> | 
| webmaster@1 | 35         <div id="logo-floater"> | 
| webmaster@1 | 36         <?php | 
| webmaster@1 | 37           // Prepare header | 
| webmaster@1 | 38           $site_fields = array(); | 
| webmaster@1 | 39           if ($site_name) { | 
| webmaster@1 | 40             $site_fields[] = check_plain($site_name); | 
| webmaster@1 | 41           } | 
| webmaster@1 | 42           if ($site_slogan) { | 
| webmaster@1 | 43             $site_fields[] = check_plain($site_slogan); | 
| webmaster@1 | 44           } | 
| webmaster@1 | 45           $site_title = implode(' ', $site_fields); | 
| webmaster@1 | 46           if ($site_fields) { | 
| webmaster@1 | 47             $site_fields[0] = '<span>'. $site_fields[0] .'</span>'; | 
| webmaster@1 | 48           } | 
| webmaster@1 | 49           $site_html = implode(' ', $site_fields); | 
| webmaster@1 | 50 | 
| webmaster@1 | 51           if ($logo || $site_title) { | 
| webmaster@1 | 52             print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">'; | 
| webmaster@1 | 53             if ($logo) { | 
| webmaster@1 | 54               print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />'; | 
| webmaster@1 | 55             } | 
| webmaster@1 | 56             print $site_html .'</a></h1>'; | 
| webmaster@1 | 57           } | 
| webmaster@1 | 58         ?> | 
| webmaster@1 | 59         </div> | 
| webmaster@1 | 60 | 
| webmaster@1 | 61       </div> <!-- /header --> | 
| webmaster@1 | 62 | 
| webmaster@1 | 63       <?php if ($left): ?> | 
| webmaster@1 | 64         <div id="sidebar-left" class="sidebar"> | 
| webmaster@1 | 65           <?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?> | 
| webmaster@1 | 66           <?php print $left ?> | 
| webmaster@1 | 67         </div> | 
| webmaster@1 | 68       <?php endif; ?> | 
| webmaster@1 | 69 | 
| webmaster@1 | 70       <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner"> | 
| webmaster@1 | 71           <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?> | 
| webmaster@1 | 72           <?php print $help; ?> | 
| webmaster@1 | 73           <?php print $messages; ?> | 
| webmaster@1 | 74           <div class="clear-block"> | 
| webmaster@1 | 75             <?php print $content ?> | 
| webmaster@1 | 76           </div> | 
| webmaster@1 | 77           <div id="footer"><?php print $footer_message . $footer ?></div> | 
| webmaster@1 | 78       </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center --> | 
| webmaster@1 | 79 | 
| webmaster@1 | 80       <?php if ($right): ?> | 
| webmaster@1 | 81         <div id="sidebar-right" class="sidebar"> | 
| webmaster@1 | 82           <?php print $right ?> | 
| webmaster@1 | 83         </div> | 
| webmaster@1 | 84       <?php endif; ?> | 
| webmaster@1 | 85 | 
| webmaster@1 | 86     </div> <!-- /container --> | 
| webmaster@1 | 87   </div> | 
| webmaster@1 | 88 <!-- /layout --> | 
| webmaster@1 | 89 | 
| webmaster@1 | 90   </body> | 
| webmaster@1 | 91 </html> |