修复少传参数的问题

This commit is contained in:
Li Jianxuan 2011-09-21 09:44:11 +00:00
parent 261263c61b
commit 5d5bf7bca7
1 changed files with 128 additions and 128 deletions

View File

@ -20,7 +20,7 @@ $this->breadcrumb()->setSeparator(' > ');
<fieldset><legend><a href="/data/category">数据集类别</a></legend>
<ul>
<?php foreach($this->category as $cg) : ?>
<li><a href='/data/category/<?php echo $cg['code']; ?>'><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<li><a href='/data/category/code/<?php echo $cg['code']; ?>'><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
</ul></fieldset>
</div>