Authored by Rock Zhang

去除订单结算中选择地址、选择优惠券页面以及品牌一览页面右上角的导航菜单

Code Review By Rock Zhang
@@ -375,7 +375,7 @@ class IndexController extends AbstractAction @@ -375,7 +375,7 @@ class IndexController extends AbstractAction
375 375
376 // 设置网站标题 376 // 设置网站标题
377 $this->setTitle('选择地址'); 377 $this->setTitle('选择地址');
378 - $this->setNavHeader('选择地址', Helpers::url('/cart/index/orderEnsure')); 378 + $this->setNavHeader('选择地址', Helpers::url('/cart/index/orderEnsure'), false);
379 379
380 $uid = $this->getUid(true); 380 $uid = $this->getUid(true);
381 $address = UserModel::getAddressData($uid); 381 $address = UserModel::getAddressData($uid);
@@ -397,7 +397,7 @@ class IndexController extends AbstractAction @@ -397,7 +397,7 @@ class IndexController extends AbstractAction
397 397
398 // 设置网站标题 398 // 设置网站标题
399 $this->setTitle('选择优惠券'); 399 $this->setTitle('选择优惠券');
400 - $this->setNavHeader('选择优惠券', Helpers::url('/cart/index/orderEnsure')); 400 + $this->setNavHeader('选择优惠券', Helpers::url('/cart/index/orderEnsure'), false);
401 401
402 $this->_view->display('select-coupon', array( 402 $this->_view->display('select-coupon', array(
403 'selectCouponPage' => true, 403 'selectCouponPage' => true,
@@ -410,8 +410,6 @@ class IndexController extends AbstractAction @@ -410,8 +410,6 @@ class IndexController extends AbstractAction
410 */ 410 */
411 public function orderSubAction() 411 public function orderSubAction()
412 { 412 {
413 - $result = array();  
414 -  
415 if ($this->isAjax()) { 413 if ($this->isAjax()) {
416 $uid = $this->getUid(true); 414 $uid = $this->getUid(true);
417 $addressId = $this->post('addressId', null); 415 $addressId = $this->post('addressId', null);
@@ -18,7 +18,7 @@ class BrandController extends AbstractAction @@ -18,7 +18,7 @@ class BrandController extends AbstractAction
18 public function indexAction() 18 public function indexAction()
19 { 19 {
20 $this->setTitle('品牌一览'); 20 $this->setTitle('品牌一览');
21 - $this->setNavHeader('品牌一览', '/boys?go=1&t=' . time()); 21 + $this->setNavHeader('品牌一览', '/boys?go=1&t=' . time(), false);
22 22
23 /* 判断参数是否有效 */ 23 /* 判断参数是否有效 */
24 $channel = null; 24 $channel = null;