disable hwr-info-grey for cached pages

This commit is contained in:
following
2013-04-28 13:08:07 +02:00
parent a37a3ca4aa
commit f09e45b0be

View File

@@ -219,7 +219,7 @@ class OcSmarty extends Smarty
$this->assign('breadcrumb', $menu->getBreadcrumb());
$this->assign('menucolor', $menu->getMenuColor());
$this->assign('helplink', helppagelink($this->name));
$this->assign('greybg', $loginn['username'] == 'HWR-Info');
$this->assign('greybg', !$this->caching && $loginn['username'] == 'HWR-Info');
if ($this->title == '')
$optn['template']['title'] = $menu->GetMenuTitle();