修正数据关键词查看首个关键词标签名称为空的问题。
This commit is contained in:
parent
9555df5796
commit
7d2bfb34fc
|
@ -19,7 +19,9 @@ if (!empty($this->codename)) $this->headTitle($this->codename);
|
|||
?>
|
||||
<fieldset><legend><?php echo $keytypezh[$type]; ?></legend>
|
||||
<ul class="nav nav-pills">
|
||||
<?php if(!empty($cg['keyword'])){ ?>
|
||||
<li><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?><span class="note pull-right">(<?php echo $cg['count']; ?>)</span></a></li>
|
||||
<?php }?>
|
||||
<?php else : ?>
|
||||
<li><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?><span class="note pull-right">(<?php echo $cg['count']; ?>)</span></a></li>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in New Issue