summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/overlay/overlay.module12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/overlay/overlay.module b/modules/overlay/overlay.module
index 2f7f77a97..0162b583b 100644
--- a/modules/overlay/overlay.module
+++ b/modules/overlay/overlay.module
@@ -262,6 +262,18 @@ function overlay_preprocess_html(&$variables) {
}
/**
+ * Preprocess template variables for maintenance-page.tpl.php.
+ *
+ * If the current page request is inside the overlay, add appropriate classes
+ * to the <body> element, and simplify the page title.
+ *
+ * @see overlay_preprocess_maintenance_page()
+ */
+function overlay_preprocess_maintenance_page(&$variables) {
+ overlay_preprocess_html($variables);
+}
+
+/**
* Preprocess template variables for page.tpl.php.
*
* Display breadcrumbs correctly inside the overlay.