modify fixes bug to first iteration
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -18,7 +18,7 @@ class ListController extends AbstractAction | @@ -18,7 +18,7 @@ class ListController extends AbstractAction | ||
18 | public function indexAction() | 18 | public function indexAction() |
19 | { | 19 | { |
20 | $this->setTitle('逛'); | 20 | $this->setTitle('逛'); |
21 | - $this->setNavHeader('逛', true, SITE_DOMAIN); | 21 | + $this->setNavHeader('逛', true, SITE_MAIN); |
22 | 22 | ||
23 | $category = ListData::category(); | 23 | $category = ListData::category(); |
24 | $articleGroup = array(); | 24 | $articleGroup = array(); |
@@ -108,7 +108,7 @@ class ListController extends AbstractAction | @@ -108,7 +108,7 @@ class ListController extends AbstractAction | ||
108 | } | 108 | } |
109 | 109 | ||
110 | $this->setTitle($tag); | 110 | $this->setTitle($tag); |
111 | - $this->setNavHeader($tag, true, SITE_DOMAIN); | 111 | + $this->setNavHeader($tag, true, SITE_MAIN); |
112 | 112 | ||
113 | $data = array(); | 113 | $data = array(); |
114 | // 模板中使用JS的标识 | 114 | // 模板中使用JS的标识 |
@@ -142,7 +142,7 @@ class ListController extends AbstractAction | @@ -142,7 +142,7 @@ class ListController extends AbstractAction | ||
142 | } | 142 | } |
143 | 143 | ||
144 | $this->setTitle('编辑简介'); | 144 | $this->setTitle('编辑简介'); |
145 | - $this->setNavHeader('编辑简介', true, SITE_DOMAIN); | 145 | + $this->setNavHeader('编辑简介', true, SITE_MAIN); |
146 | 146 | ||
147 | $uid = $this->getUid(); | 147 | $uid = $this->getUid(); |
148 | $udid = $this->getUdid(); | 148 | $udid = $this->getUdid(); |
-
Please register or login to post a comment