元数据列表页导航标签 和详细展示页学科分类标签修改。

This commit is contained in:
Li Heng 2014-03-13 11:20:29 +00:00
parent b5ec7c90bb
commit 8dd5f68ee6
2 changed files with 11 additions and 9 deletions

View File

@ -1,7 +1,9 @@
<ul class="nav nav-pills">
<li class="nav-header"><h5>特色导航方式</h5></li>
<li><a href="/data/tag"><i class="icon-tags"></i>关键词浏览</a></li>
<li><a href="/data/browse"><i class="icon-align-justify"></i>全部浏览</a></li>
<li><a href="/data/onlinelist"><i class="icon-th"></i>在线数据清单</a></li>
<li><a href="/data/offlinelist"><i class="icon-th"></i>离线数据清单</a></li>
</ul>
<a href="/data/tag" class="badge badge-info ">关键词浏览</a>
<a href="/data/browse" class="badge badge-info ">全部浏览</a>
<a href="/data/onlinelist" class="badge badge-info ">在线数据清单</a>
<a href="/data/offlinelist" class="badge badge-info ">离线数据清单</a>
<?php if(!empty($this->keyword)){?>
<strong class="badge badge-info" style="margin-left:20px;"> <?= $this->keyword ?></strong><small class=""> 的搜索结果</small>
<?php }?>

View File

@ -41,10 +41,10 @@
if ($i==0) {
?>
<ul class="well well-small inline unstyled">
<li><a href="/data/tag/keytype/<?php echo $kt; ?>"><?php echo $kw[$kt]; ?></a></li>
<li><a href="/data/tag/keytype/<?php echo $kt; ?>"><?php echo $kw[$kt].":"; ?></a></li>
<?php
}
echo '<li><a href="/data/tag/'.urlencode($cg['keyword']).'"><i class="icon-tag"></i>'.$cg['keyword'].'</a></li>';
echo '<li><a href="/data/tag/'.urlencode($cg['keyword']).'"><i class="icon-tags"></i>&nbsp;&nbsp;'.$cg['keyword'].'</a></li>';
endforeach;
?>
</ul>