...
|
...
|
@@ -345,7 +345,6 @@ class AbstractAction extends Controller_Abstract |
|
|
}
|
|
|
// 未登录
|
|
|
else {
|
|
|
$footer = array();
|
|
|
$footer['loginUrl'] = '/signin.html'; // 登录链接
|
|
|
$footer['signupUrl'] = '/reg.html'; // 注册链接
|
|
|
}
|
...
|
...
|
@@ -365,18 +364,6 @@ class AbstractAction extends Controller_Abstract |
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 返回顶部软件下载有关数据
|
|
|
* @return array 下载有关数据
|
|
|
*/
|
|
|
protected function getHeaderDownload()
|
|
|
{
|
|
|
return array(
|
|
|
'img' => 'http://img11.static.yhbimg.com/adpic/2015/02/28/18/01d83bfad41c8fca8fd1ad334216d7d733.jpg?imageView/2/w/640/h/480',
|
|
|
'url' => 'http://www.baidu.com'
|
|
|
);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 设置首页以及频道页顶部信息
|
|
|
*
|
|
|
* @return void
|
...
|
...
|
@@ -388,18 +375,4 @@ class AbstractAction extends Controller_Abstract |
|
|
$this->_view->assign('homeHeader', $header);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 返回顶部软件下载有关数据
|
|
|
* @return array 下载有关数据
|
|
|
*/
|
|
|
protected function setHeaderDownload()
|
|
|
{
|
|
|
$download = array(
|
|
|
'img' => 'http://img11.static.yhbimg.com/adpic/2015/02/28/18/01d83bfad41c8fca8fd1ad334216d7d733.jpg?imageView/2/w/640/h/480',
|
|
|
'url' => 'http://www.baidu.com'
|
|
|
);
|
|
|
|
|
|
$this->_view->assign('headerDownload', $download);
|
|
|
}
|
|
|
|
|
|
} |
...
|
...
|
|