summaryrefslogtreecommitdiff
path: root/themes/bartik/template.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-26 11:00:37 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-26 11:00:37 +0000
commitea1bd8becea0a4b214cba937390defaefd6db074 (patch)
tree65f6f6edc96d0bbe97f00942fad7d626501f4339 /themes/bartik/template.php
parent596ec7f0722e229c1d90246cd957da9e2f578e6b (diff)
downloadbrdo-ea1bd8becea0a4b214cba937390defaefd6db074.tar.gz
brdo-ea1bd8becea0a4b214cba937390defaefd6db074.tar.bz2
#790556 follow-up by aschiwi, bleen18, tim.plunkett, jensimmons: Various bug fixes to Bartik's maintenance page template
Diffstat (limited to 'themes/bartik/template.php')
-rw-r--r--themes/bartik/template.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/bartik/template.php b/themes/bartik/template.php
index 9e010d300..e94782527 100644
--- a/themes/bartik/template.php
+++ b/themes/bartik/template.php
@@ -78,6 +78,9 @@ function bartik_process_page(&$variables) {
* Implements hook_preprocess_maintenance_page().
*/
function bartik_preprocess_maintenance_page(&$variables) {
+ if (!$variables['db_is_active']) {
+ unset($variables['site_name']);
+ }
drupal_add_css(drupal_get_path('theme', 'bartik') . '/css/maintenance-page.css');
}