diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-07-11 22:06:40 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-07-11 22:06:40 +0000 |
commit | 24fd7290ed83b33a199fb7edd4221e5c0f0d6ea9 (patch) | |
tree | c6eafeed53dca668bf92cf4e4e859baff56aa232 /themes/bartik/template.php | |
parent | 486157dc705273890b62aef2bf648a6e6e161410 (diff) | |
download | brdo-24fd7290ed83b33a199fb7edd4221e5c0f0d6ea9.tar.gz brdo-24fd7290ed83b33a199fb7edd4221e5c0f0d6ea9.tar.bz2 |
- Patch #850682 by bleen18: why is the maintenance page stylesheet loaded on all regular pages?
Diffstat (limited to 'themes/bartik/template.php')
-rw-r--r-- | themes/bartik/template.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/bartik/template.php b/themes/bartik/template.php index adb2ca75f..054846600 100644 --- a/themes/bartik/template.php +++ b/themes/bartik/template.php @@ -75,6 +75,13 @@ function bartik_process_page(&$variables) { } /** + * Implements hook_preprocess_maintenance_page(). + */ +function bartik_preprocess_maintenance_page(&$variables) { + drupal_add_css(drupal_get_path('theme', 'bartik') . '/css/maintenance-page.css'); +} + +/** * Override or insert variables into the maintenance page template. */ function bartik_process_maintenance_page(&$variables) { |