diff options
Diffstat (limited to 'themes/seven/template.php')
-rw-r--r-- | themes/seven/template.php | 12 |
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) { |