添加数据更新以及修复数据链接

This commit is contained in:
wlx 2014-06-18 05:32:36 +00:00
parent 3e9b768363
commit 9d5c2d0c07
2 changed files with 11 additions and 13 deletions

View File

@ -31,17 +31,6 @@
<?php endforeach; ?>
</ul>
</div>
<?php
$type='discipline';
?>
<div class="span12" style="border-bottom:1px dashed #E0E0E0">
<h4><a href="/data/tag/keytype/discipline"><img src="/sjyportal/img/keyword.png" width="16" height="16" />&nbsp;<?php echo $keytypezh[$type]; ?></a></h4>
<ul class="nav nav-pills">
<?php foreach($this->keywords[$type] as $cg) : ?>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']." (". $cg['count'].")"; ?></a></li>
<?php endforeach; ?>
</ul>
</div>
</div>
<div class="row">
<?php
@ -67,4 +56,13 @@
</ul>
</div>
</div>
<div class="row">
<h4>数据最近更新<a href="/service/feed" target="_blank"><i class=“icon-rss”></i></a></h4>
<ul class="unstyled">
<?php foreach($this->metadata as $md) : ?>
<li><i class=“icon-map-marker”></i><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a> </li>
<?php endforeach; ?>
<li class="more"><a href="/data/browse" class="pull-right">更多</a></li>
</ul>
</div>

View File

@ -92,7 +92,7 @@
<a href="/data/<?= $v['uuid'] ?>" title="<?= $v['title'] ?>"><i class=" icon-map-marker"> </i><?= $v['title'] ?></a>
</li>
<?php } ?>
<span class="pull-right"><a href="/data" target="_blank" class="more">更多>></a></span>
<span class="pull-right"><a href="/data/onlinelist" target="_blank" class="more">更多>></a></span>
</ul>
</div>
</div>
@ -106,7 +106,7 @@
<a href="/data/<?= $v['uuid'] ?>" title="<?= $v['title'] ?>"><i class=" icon-map-marker"> </i><?= $v['title'] ?></a>
</li>
<?php } ?>
<span class="pull-right"><a href="/data" target="_blank" class="more">更多>></a></span>
<span class="pull-right"><a href="/data/offlinelist" target="_blank" class="more">更多>></a></span>
</ul>
</div>
</div>