diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-05 01:48:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-05 01:48:11 +0000 |
commit | 8f43edf27ee1f78eaf4a7d615c5d0b50803b72e5 (patch) | |
tree | 554ce2acbafb8d38286d06bb726e9348bf6b5849 /themes/bartik/template.php | |
parent | 5c918691d3c10a221bc89e3da71286c4ed679dcf (diff) | |
download | brdo-8f43edf27ee1f78eaf4a7d615c5d0b50803b72e5.tar.gz brdo-8f43edf27ee1f78eaf4a7d615c5d0b50803b72e5.tar.bz2 |
- Patch #845834 by Jeff Burnz, opalescent, bleen18: fix Bartik's header because its totally borked.
Diffstat (limited to 'themes/bartik/template.php')
-rw-r--r-- | themes/bartik/template.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/themes/bartik/template.php b/themes/bartik/template.php index 55d32a37c..9132a9f0e 100644 --- a/themes/bartik/template.php +++ b/themes/bartik/template.php @@ -103,9 +103,8 @@ function bartik_process_maintenance_page(&$variables) { * Override or insert variables into the block template. */ function bartik_preprocess_block(&$variables) { - // In the header region, visually hide the title of any menu block or of the - // user login block, but leave it accessible. - if ($variables['block']->region == 'header' && ($variables['block']->module == 'user' && $variables['block']->delta == 'login' || in_array('block-menu', $variables['classes_array']))) { + // In the header region visually hide block titles. + if ($variables['block']->region == 'header') { $variables['title_attributes_array']['class'][] = 'element-invisible'; } } |