summaryrefslogtreecommitdiff
path: root/themes/seven/template.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-12 09:22:24 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-12 09:22:24 +0000
commit6cb598ec3c76cb579d20e970c80c5db46261f0b3 (patch)
treedbdb015217e931a4141b723ad945479d971e68c9 /themes/seven/template.php
parent1c1d12b8741a1aa31d4b41f8655dbfa5fd861f97 (diff)
downloadbrdo-6cb598ec3c76cb579d20e970c80c5db46261f0b3.tar.gz
brdo-6cb598ec3c76cb579d20e970c80c5db46261f0b3.tar.bz2
- Patch #740136 by casey, cosmicdreams: CSS doesn't get included during install.
Diffstat (limited to 'themes/seven/template.php')
-rw-r--r--themes/seven/template.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/seven/template.php b/themes/seven/template.php
index cbb198980..afacb071f 100644
--- a/themes/seven/template.php
+++ b/themes/seven/template.php
@@ -2,6 +2,18 @@
// $Id$
/**
+ * Override or insert variables into the maintenance page template.
+ */
+function seven_preprocess_maintenance_page(&$vars) {
+ // While markup for normal pages is split into page.tpl.php and html.tpl.php,
+ // the markup for the maintenance page is all in the single
+ // maintenance-page.tpl.php template. So, to have what's done in
+ // seven_preprocess_html() also happen on the maintenance page, it has to be
+ // called here.
+ seven_preprocess_html($vars);
+}
+
+/**
* Override or insert variables into the html template.
*/
function seven_preprocess_html(&$vars) {