2012-03-26 04:16:36 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle($this->config->title->author);
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
|
|
|
$this->headLink()->appendStylesheet('/css/author.css');
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/author">数据作者</a>');
|
|
|
|
$this->breadcrumb('数据版本管理');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
?>
|
|
|
|
<!-- 左侧导航 -->
|
|
|
|
<div id='sidebar'>
|
|
|
|
<div id='leftnavi'>
|
|
|
|
<?= $this->partial('author/navi.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- //左侧导航 -->
|
|
|
|
|
|
|
|
<!-- 页面内容 -->
|
|
|
|
<div id="wapper">
|
|
|
|
<div id="tabs-controller">
|
|
|
|
<ul>
|
|
|
|
<li class="box-shadow active"><a class="text-shadow" href="/author/version">所有版本概况</a></li>
|
|
|
|
<li class="box-shadow"><a class="text-shadow" href="/author/version/ac/bydata">逐数据浏览</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div id="datalist">
|
|
|
|
<?php
|
|
|
|
if (count($this->paginator)):
|
|
|
|
if ($this->mdtitle) echo "<h2>元数据:".$this->mdtitle."</h2>";
|
|
|
|
echo "<ul>";
|
|
|
|
$autoindex=0;
|
|
|
|
foreach ($this->paginator as $item):
|
|
|
|
$autoindex++;?>
|
|
|
|
<li>
|
|
|
|
<p><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><?php echo $item['title'];?></a>
|
|
|
|
【<a href="/author/version/uuid/<?php echo $item['uuid']; ?>">查看此数据所有版本</a>】</p>
|
|
|
|
<p>版本创建时间: <?php echo date("Y-m-d H:i",strtotime($item['ts_created']));?>
|
|
|
|
<?php if ($item['userid']) :
|
2012-03-27 03:53:13 +00:00
|
|
|
echo "发布人: ".(empty($item['realname'])?$item['username']:$item['realname'])." 【";
|
2012-03-26 04:16:36 +00:00
|
|
|
else :
|
|
|
|
?>
|
2012-03-27 03:53:13 +00:00
|
|
|
【<a href="/author/version/ac/delete/id/<?php echo $item['id'];?>" class="more">删除</a>
|
2012-03-26 04:16:36 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
<a href="/author/version/ac/restore/id/<?php echo $item['id'];?>" class="more">恢复到geonetwork</a>
|
|
|
|
<a href="/author/version/ac/diff/id/<?php echo $item['id'];?>" class="more">与前一版对比</a>
|
|
|
|
<a href="/author/version/ac/commit/id/<?php echo $item['id'];?>" class="more">提交评审发布</a>
|
2012-03-27 03:53:13 +00:00
|
|
|
】</p>
|
2012-03-26 04:16:36 +00:00
|
|
|
<?php if ($item['changelog']) : ?>
|
|
|
|
<p><?php echo $item['changelog']; ?></p>
|
|
|
|
<?php endif; ?>
|
|
|
|
</li>
|
|
|
|
<?php endforeach;
|
|
|
|
echo "</ul>";
|
|
|
|
endif; ?>
|
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- //页面内容 -->
|
|
|
|
<script>
|
|
|
|
$('#wapper').width($('body').width()-300);
|
|
|
|
</script>
|