Merge branch 'develop'
Showing
1 changed file
with
0 additions
and
4 deletions
@@ -11,11 +11,7 @@ | @@ -11,11 +11,7 @@ | ||
11 | ?> | 11 | ?> |
12 | <li <?php echo ($this->view->current_tag == $tag['tag']) ?'class="current"':''?>> | 12 | <li <?php echo ($this->view->current_tag == $tag['tag']) ?'class="current"':''?>> |
13 | <a href="<?php echo url('news/index',array('tag' => $tag['tag']))?>"> | 13 | <a href="<?php echo url('news/index',array('tag' => $tag['tag']))?>"> |
14 | - <?php if($tag['tag'] == ''){?> | ||
15 | - <?php echo sprintf("%s(%s)", $tag['tag'] == '' ? '全部资讯': $tag['tag'], $this->view->nums); ?> | ||
16 | - <?php }else{?> | ||
17 | <?php echo sprintf("%s(%s)", $tag['tag'] == '' ? '全部资讯': $tag['tag'], $tag['num']); ?> | 14 | <?php echo sprintf("%s(%s)", $tag['tag'] == '' ? '全部资讯': $tag['tag'], $tag['num']); ?> |
18 | - <?php }?> | ||
19 | </a> | 15 | </a> |
20 | </li> | 16 | </li> |
21 | <?php endforeach;?> | 17 | <?php endforeach;?> |
-
Please register or login to post a comment