分类切换为英文

This commit is contained in:
wlx 2011-12-14 03:00:53 +00:00
parent 847efa146d
commit f2fe61c7ac
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ $this->breadcrumb()->setSeparator(' > ');
<fieldset><legend>Categories within ISO 19115</legend>
<ul>
<?php foreach($this->category as $cg) : ?>
<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>
<li><a href='/data/category/code/<?php echo $cg['code']; ?>'><?php print($cg['name']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
</ul></fieldset>
</div>