summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-30 12:19:10 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-30 12:19:10 +0000
commite9f52b4248a5268630b51ee0746dcf8b6449d445 (patch)
tree2a75a607895da5e9ec5271971426a5344e8911a4 /themes
parent6d4b0a24fad35cfbbf48d3b3f82ff5dbc243e5cb (diff)
downloadbrdo-e9f52b4248a5268630b51ee0746dcf8b6449d445.tar.gz
brdo-e9f52b4248a5268630b51ee0746dcf8b6449d445.tar.bz2
#141727 by merlinofchaos, dvessel, sun: restore themeability support for maintenance pages (regression)
Diffstat (limited to 'themes')
-rw-r--r--themes/garland/maintenance-page.tpl.php91
1 files changed, 91 insertions, 0 deletions
diff --git a/themes/garland/maintenance-page.tpl.php b/themes/garland/maintenance-page.tpl.php
new file mode 100644
index 000000000..6087b354c
--- /dev/null
+++ b/themes/garland/maintenance-page.tpl.php
@@ -0,0 +1,91 @@
+<?php
+// $Id$
+
+/**
+ * @file maintenance-page.tpl.php
+ *
+ * This is an override of the default maintenance page. Used for Garland and
+ * Minnelli, this file should not be moved or modified since the installation
+ * and update pages depend on this file.
+ *
+ * This mirrors closely page.tpl.php for Garland in order to share the same
+ * styles.
+ */
+?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>">
+ <head>
+ <title><?php print $head_title ?></title>
+ <?php print $head ?>
+ <?php print $styles ?>
+ <?php print $scripts ?>
+ <!--[if lt IE 7]>
+ <?php print phptemplate_get_ie_styles(); ?>
+ <![endif]-->
+ </head>
+ <body<?php print phptemplate_body_class($left, $right); ?>>
+
+<!-- Layout -->
+ <div id="header-region" class="clear-block"><?php print $header; ?></div>
+
+ <div id="wrapper">
+ <div id="container" class="clear-block">
+
+ <div id="header">
+ <div id="logo-floater">
+ <?php
+ // Prepare header
+ $site_fields = array();
+ if ($site_name) {
+ $site_fields[] = check_plain($site_name);
+ }
+ if ($site_slogan) {
+ $site_fields[] = check_plain($site_slogan);
+ }
+ $site_title = implode(' ', $site_fields);
+ if ($site_fields) {
+ $site_fields[0] = '<span>'. $site_fields[0] .'</span>';
+ }
+ $site_html = implode(' ', $site_fields);
+
+ if ($logo || $site_title) {
+ print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">';
+ if ($logo) {
+ print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
+ }
+ print $site_html .'</a></h1>';
+ }
+ ?>
+ </div>
+
+ </div> <!-- /header -->
+
+ <?php if ($left): ?>
+ <div id="sidebar-left" class="sidebar">
+ <?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
+ <?php print $left ?>
+ </div>
+ <?php endif; ?>
+
+ <div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
+ <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
+ <?php print $help; ?>
+ <?php print $messages; ?>
+ <div class="clear-block">
+ <?php print $content ?>
+ </div>
+ <div id="footer"><?php print $footer_message . $footer ?></div>
+ </div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
+
+ <?php if ($right): ?>
+ <div id="sidebar-right" class="sidebar">
+ <?php print $right ?>
+ </div>
+ <?php endif; ?>
+
+ </div> <!-- /container -->
+ </div>
+<!-- /layout -->
+
+ </body>
+</html>