2010-06-23 15:13:26 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle($this->config->title->data);
|
|
|
|
$this->headTitle('全部浏览');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->headLink()->appendStylesheet('/css/metadata.css');
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
|
|
|
$this->breadcrumb('浏览');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
?>
|
|
|
|
<div id='tools'>
|
|
|
|
<?= $this->partial('data/tools.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
<?php echo $this->page->getNavigation(); ?>
|
|
|
|
<?php foreach($this->metadata as $md) : ?>
|
|
|
|
<hr />
|
|
|
|
<div class="mditem">
|
2011-10-26 09:31:37 +00:00
|
|
|
<div class="thumb"><img src="/service/thumb/id/<?php echo $md['id'];?>" /></div>
|
2010-06-23 15:13:26 +00:00
|
|
|
<h2><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a>
|
|
|
|
<a href="/data/xml/id/<?php echo $md['id'];?>" title="XML模式查看"><img src="/images/xml.gif" /></a>
|
|
|
|
<a href="/data/map/id/<?php echo $md['id']; ?>" title="查看数据空间范围"><img src="/images/map.gif" /></a>
|
|
|
|
</h2>
|
|
|
|
<div class="summary"><?php echo str_replace(array("\r\n", "\n", "\r"),'<br />',mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']));?></div>
|
|
|
|
</div>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<hr />
|
|
|
|
<?php echo $this->page->getNavigation(); ?>
|