Showing
1 changed file
with
1 additions
and
28 deletions
@@ -333,7 +333,7 @@ class AbstractAction extends Controller_Abstract | @@ -333,7 +333,7 @@ class AbstractAction extends Controller_Abstract | ||
333 | */ | 333 | */ |
334 | protected function setNavFooter() | 334 | protected function setNavFooter() |
335 | { | 335 | { |
336 | - $footer = array(); | 336 | + $footer = array('showDownloadApp'=>true); |
337 | 337 | ||
338 | // 已登录 @todo | 338 | // 已登录 @todo |
339 | $name = $this->getUname(); | 339 | $name = $this->getUname(); |
@@ -345,7 +345,6 @@ class AbstractAction extends Controller_Abstract | @@ -345,7 +345,6 @@ class AbstractAction extends Controller_Abstract | ||
345 | } | 345 | } |
346 | // 未登录 | 346 | // 未登录 |
347 | else { | 347 | else { |
348 | - $footer = array(); | ||
349 | $footer['loginUrl'] = '/signin.html'; // 登录链接 | 348 | $footer['loginUrl'] = '/signin.html'; // 登录链接 |
350 | $footer['signupUrl'] = '/reg.html'; // 注册链接 | 349 | $footer['signupUrl'] = '/reg.html'; // 注册链接 |
351 | } | 350 | } |
@@ -365,18 +364,6 @@ class AbstractAction extends Controller_Abstract | @@ -365,18 +364,6 @@ class AbstractAction extends Controller_Abstract | ||
365 | } | 364 | } |
366 | 365 | ||
367 | /** | 366 | /** |
368 | - * 返回顶部软件下载有关数据 | ||
369 | - * @return array 下载有关数据 | ||
370 | - */ | ||
371 | - protected function getHeaderDownload() | ||
372 | - { | ||
373 | - return array( | ||
374 | - 'img' => 'http://img11.static.yhbimg.com/adpic/2015/02/28/18/01d83bfad41c8fca8fd1ad334216d7d733.jpg?imageView/2/w/640/h/480', | ||
375 | - 'url' => 'http://www.baidu.com' | ||
376 | - ); | ||
377 | - } | ||
378 | - | ||
379 | - /** | ||
380 | * 设置首页以及频道页顶部信息 | 367 | * 设置首页以及频道页顶部信息 |
381 | * | 368 | * |
382 | * @return void | 369 | * @return void |
@@ -388,18 +375,4 @@ class AbstractAction extends Controller_Abstract | @@ -388,18 +375,4 @@ class AbstractAction extends Controller_Abstract | ||
388 | $this->_view->assign('homeHeader', $header); | 375 | $this->_view->assign('homeHeader', $header); |
389 | } | 376 | } |
390 | 377 | ||
391 | - /** | ||
392 | - * 返回顶部软件下载有关数据 | ||
393 | - * @return array 下载有关数据 | ||
394 | - */ | ||
395 | - protected function setHeaderDownload() | ||
396 | - { | ||
397 | - $download = array( | ||
398 | - 'img' => 'http://img11.static.yhbimg.com/adpic/2015/02/28/18/01d83bfad41c8fca8fd1ad334216d7d733.jpg?imageView/2/w/640/h/480', | ||
399 | - 'url' => 'http://www.baidu.com' | ||
400 | - ); | ||
401 | - | ||
402 | - $this->_view->assign('headerDownload', $download); | ||
403 | - } | ||
404 | - | ||
405 | } | 378 | } |
-
Please register or login to post a comment