2011-09-20 02:13:59 +00:00
|
|
|
|
<?php
|
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
|
$this->headTitle('后台管理');
|
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
|
|
|
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
|
|
|
|
$this->breadcrumb('元数据管理</a>');
|
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
2013-04-18 10:11:01 +00:00
|
|
|
|
$this->theme->AppendPlus($this,'colorbox');
|
2011-09-20 02:13:59 +00:00
|
|
|
|
?>
|
|
|
|
|
<div id="leftPanel">
|
|
|
|
|
<?= $this->partial('data/left.phtml'); ?>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="rightPanel">
|
|
|
|
|
<?php if ($this->msg or $this->messages) :?>
|
|
|
|
|
<div id="message">
|
|
|
|
|
<?php if ($this->msg) : ?>
|
|
|
|
|
<p><?php echo $this->msg; ?></p>
|
|
|
|
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
|
|
|
|
<p><?php echo $msg; ?></p>
|
|
|
|
|
<?php endforeach;endif; ?>
|
|
|
|
|
</div>
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
<div class="right_title">元数据管理</div>
|
|
|
|
|
|
|
|
|
|
<div class="search">
|
|
|
|
|
<form action="" method="get">
|
2013-04-29 01:49:45 +00:00
|
|
|
|
<div class="input-prepend">
|
2011-09-20 02:13:59 +00:00
|
|
|
|
<input type="hidden" name="search" value='1' />
|
2013-04-29 01:49:45 +00:00
|
|
|
|
<input class="span2 search-query" type="text" name="keyword" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字"/>
|
2013-04-29 01:43:33 +00:00
|
|
|
|
<input type="submit" class="btn" value="搜索" />
|
2013-04-29 01:49:45 +00:00
|
|
|
|
</div>
|
2011-09-20 02:13:59 +00:00
|
|
|
|
</form>
|
|
|
|
|
</div><!-- search DIV -->
|
|
|
|
|
|
|
|
|
|
<a href="/admin/data/md/down/1">下载全部xml元数据</a>
|
|
|
|
|
<?php if (count($this->paginator)): ?>
|
2012-06-13 10:12:30 +00:00
|
|
|
|
<div class="datalist">
|
|
|
|
|
<ul>
|
2011-09-20 02:13:59 +00:00
|
|
|
|
<?php foreach ($this->paginator as $item): ?>
|
2013-04-18 10:11:01 +00:00
|
|
|
|
<li class="well well-small">
|
|
|
|
|
<h4><a href="/data/<?= $item['uuid']; ?>" class="title"><?= $item['title']; ?></a></h4>
|
|
|
|
|
<p>大小:<?= $item['filesize']; ?>M,创建时间:<?= date('Y-m-d',strtotime($item['ts_created'])); ?>,查看:<?= $item['viewed']; ?>次。</p>
|
|
|
|
|
<p>
|
|
|
|
|
操作:
|
|
|
|
|
<a href="/service/geonetwork?url=metadata.edit?id=<?= $item['gid']; ?>" target="_blank">编辑</a> |
|
|
|
|
|
<a href="/admin/data/md/delete/<?= $item['uuid']; ?>">删除</a> |
|
|
|
|
|
<a href="/admin/data/sync/uuid/<?= $item['uuid']; ?>">同步</a> |
|
|
|
|
|
<a href="/admin/data/reference/show/<?php echo $item['uuid'];?>">文献管理</a> |
|
|
|
|
|
<a href="/admin/data/md/att/1/uuid/<?php echo $item['uuid'];?>">附件管理</a> |
|
|
|
|
|
<a href="/admin/data/comment/uuid/<?php echo $item['uuid'];?>">反馈管理</a> |
|
|
|
|
|
<a href="/admin/data/author/uuid/<?php echo $item['uuid'];?>">作者管理</a> |
|
|
|
|
|
<a href="/admin/data/version/uuid/<?php echo $item['uuid'];?>">版本管理</a> |
|
|
|
|
|
<?php if (@!is_numeric($item['mdstatus'])) : ?>
|
|
|
|
|
<a href="/admin/review/addon/uuid/<?php echo $item['uuid'];?>">放入元数据评审</a> |
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
<a href="/admin/data/source/do/datasource/uuid/<?php echo $item['uuid'];?>">编辑数据来源</a> |
|
|
|
|
|
<?php if(!empty($item['datasetid'])):?>
|
|
|
|
|
<a href="/admin/data/dataset/ac/getdataset/uuid/<?php echo $item['uuid'];?>" class="iframe">存档</a> |
|
|
|
|
|
<?php else: ?>
|
|
|
|
|
<a href="/admin/data/dataset/ac/getdataset/uuid/<?php echo $item['uuid'];?>" class="iframe">添加存档</a> |
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
<a href="/admin/down/sendmail/uuid/<?php echo $item['uuid'];?>" title="向数据下载者发送通知邮件">邮件通知</a> |
|
2013-04-22 10:18:48 +00:00
|
|
|
|
<a href="/admin/data/fund/uuid/<?php echo $item['uuid'];?>">支持项目</a> |
|
|
|
|
|
<a href="/admin/data/doi/uuid/<?php echo $item['uuid'];?>">DOI</a>
|
2013-04-18 10:11:01 +00:00
|
|
|
|
</p>
|
|
|
|
|
<?php if($item['author']) :?>
|
|
|
|
|
<p>数据贡献者:<?= $item['author']; ?></p>
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
<p class="content"><?= $item['description']; ?></p>
|
2012-06-13 10:12:30 +00:00
|
|
|
|
</li>
|
2011-09-20 02:13:59 +00:00
|
|
|
|
<?php endforeach; ?>
|
2012-06-13 10:12:30 +00:00
|
|
|
|
</ul>
|
2011-09-20 02:13:59 +00:00
|
|
|
|
</div>
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
<?php echo $this->paginator; ?>
|
2012-06-13 10:12:30 +00:00
|
|
|
|
</div>
|
|
|
|
|
<script>
|
|
|
|
|
$(".iframe").colorbox({iframe:true, width:"50%", height:"50%"});
|
|
|
|
|
$(".inline").colorbox({inline:true, width:"50%"});
|
|
|
|
|
function Alert(html){
|
|
|
|
|
$.colorbox({'innerWidth':'50%','html':'<h4 style="font-size:16px;font-weight:bold;">'+html+'</h4>'});
|
|
|
|
|
}
|
|
|
|
|
</script>
|