Authored by Rock Zhang

去除个人中心模块各页面的顶部变色

... ... @@ -382,6 +382,8 @@ class AbstractAction extends Controller_Abstract
$header['navHome'] = $homeUrl . '?go=1&t=' . time();
}
$controller = $this->getRequest()->getControllerName();
if ($controller !== 'Home') {
// 根据COOKIE记录的频道进行导航定位
$channel = Helpers::getChannelByCookie();
switch ($channel) {
... ... @@ -399,6 +401,8 @@ class AbstractAction extends Controller_Abstract
$header['lifeStyle'] = true;
break;
}
}
$this->_view->assign('pageHeader', $header);
}
/**
... ...