...
|
...
|
@@ -369,7 +369,7 @@ class AbstractAction extends Controller_Abstract |
|
|
* @param string $homeUrl 返回首页的链接
|
|
|
* @return void
|
|
|
*/
|
|
|
protected function setNavHeader($title = '', $backUrl = true, $homeUrl = '/')
|
|
|
protected function setNavHeader($title = '', $backUrl = true, $homeUrl = '/', $navBtn = false)
|
|
|
{
|
|
|
$header = array();
|
|
|
|
...
|
...
|
@@ -387,6 +387,9 @@ class AbstractAction extends Controller_Abstract |
|
|
if (!empty($homeUrl)) {
|
|
|
$header['navHome'] = $homeUrl . '?go=1&t=' . time();
|
|
|
}
|
|
|
if ($navBtn) {
|
|
|
$header['navBtn'] = true;
|
|
|
}
|
|
|
|
|
|
$controller = $this->getRequest()->getControllerName();
|
|
|
if ($controller !== 'Home') {
|
...
|
...
|
|