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(' > ');
|
2012-06-13 10:12:30 +00:00
|
|
|
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
|
|
|
|
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
|
|
|
|
|
$this->headLink()->appendStylesheet('/css/colorbox.css');
|
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">
|
|
|
|
|
<input type="hidden" name="search" value='1' />
|
|
|
|
|
<ul>
|
|
|
|
|
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li>
|
|
|
|
|
<li><input type="submit" class="searchbtn" value="搜索" /></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</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): ?>
|
2012-06-13 10:12:30 +00:00
|
|
|
|
<li><p><a href="/data/<?= $item['uuid']; ?>" class="title"><?= $item['title']; ?></a></p>
|
|
|
|
|
<p>大小:<?= $item['filesize']; ?>M,创建时间:<?= date('Y-m-d',strtotime($item['ts_created'])); ?>
|
2011-09-20 02:13:59 +00:00
|
|
|
|
,查看:<?= $item['viewed']; ?>次。 操作:
|
2012-06-13 10:12:30 +00:00
|
|
|
|
<a href="/service/geonetwork?url=metadata.edit?id=<?= $item['gid']; ?>" target="_blank">编辑</a> |
|
|
|
|
|
<a href="/admin/data/md/delete/<?= $item['id']; ?>">删除</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> |
|
2011-10-26 09:23:29 +00:00
|
|
|
|
<?php if (@!is_numeric($item['mdstatus'])) : ?>
|
2012-06-13 10:12:30 +00:00
|
|
|
|
<a href="/admin/review/addon/uuid/<?php echo $item['uuid'];?>">放入元数据评审</a> |
|
2011-10-26 09:23:29 +00:00
|
|
|
|
<?php endif; ?>
|
2012-06-13 10:12:30 +00:00
|
|
|
|
<a href="/admin/data/source/do/datasource/uuid/<?php echo $item['uuid'];?>">编辑数据来源</a> |
|
2012-06-14 02:00:33 +00:00
|
|
|
|
<?php if(!empty($item['datasetid'])):?>
|
2012-06-13 10:12:30 +00:00
|
|
|
|
<a href="/admin/data/dataset/ac/getdataset/uuid/<?php echo $item['uuid'];?>" class="iframe">存档</a>
|
2012-06-14 02:00:33 +00:00
|
|
|
|
<?php else: ?>
|
|
|
|
|
<a href="/admin/data/dataset/ac/getdataset/uuid/<?php echo $item['uuid'];?>" class="iframe">添加存档</a>
|
2012-06-13 10:12:30 +00:00
|
|
|
|
<?php endif;?>
|
|
|
|
|
</p>
|
|
|
|
|
<?php if($item['author']) :?>
|
|
|
|
|
<p>数据贡献者:<?= $item['author']; ?></p>
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
<p class="content"><?= $item['description']; ?></p>
|
|
|
|
|
</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>
|