Authored by tmq

Merge branch 'develop'

... ... @@ -11,11 +11,7 @@
?>
<li <?php echo ($this->view->current_tag == $tag['tag']) ?'class="current"':''?>>
<a href="<?php echo url('news/index',array('tag' => $tag['tag']))?>">
<?php if($tag['tag'] == ''){?>
<?php echo sprintf("%s(%s)", $tag['tag'] == '' ? '全部资讯': $tag['tag'], $this->view->nums); ?>
<?php }else{?>
<?php echo sprintf("%s(%s)", $tag['tag'] == '' ? '全部资讯': $tag['tag'], $tag['num']); ?>
<?php }?>
</a>
</li>
<?php endforeach;?>
... ...