41 lines
1.5 KiB
PHTML
41 lines
1.5 KiB
PHTML
<?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(' > ');
|
||
?>
|
||
<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; ?>
|
||
<?= $this->paginator; ?>
|
||
<?php if (count($this->paginator)): ?>
|
||
<div id="metadata">
|
||
<?php foreach ($this->paginator as $item): ?>
|
||
<ul><li><a href="/data/<?= $item['uuid']; ?>"><?= $item['title']; ?></a>
|
||
[大小:<?= $item['filesize']; ?>M,创建时间:<?= date('Y-m-d',strtotime($item['ts_created'])); ?>
|
||
,查看:<?= $item['viewed']; ?>次。 操作:
|
||
<a href="<?= $this->config->geonetwork->url; ?>srv/cn/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> ]</li>
|
||
<li>数据贡献者:<?= $item['author']; ?></li>
|
||
<li><?= $item['description']; ?></li>
|
||
</ul>
|
||
<?php endforeach; ?>
|
||
</div>
|
||
<?php endif; ?>
|
||
</div>
|