westdc-zf1/application/admin/views/scripts/data/sync.phtml

47 lines
2.2 KiB
PHTML
Raw Normal View History

2009-03-06 03:20:46 +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('同步GEONETWORK元数据</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; ?>
<p>WESTDC有元数据<?php echo $this->mdcount->westdccount; ?>GEONETWORK有元数据<?php echo $this->mdcount->gncount; ?>WATER中元数据<?php echo $this->mdcount->watergncount; ?>条。</p>
2009-03-06 03:20:46 +00:00
<p><a href="/admin/data/sync/source/geonetwork">开始同步从GEONETWORK同步到WESTDC若有冲突以GEONETWORK为准</a> </p>
<p><a href="/admin/data/sync/source/watergn">开始同步从water同步到WESTDC若有冲突以water为准</a> </p>
<p><a href="/admin/data/sync/list/water">列出WESTDC中多出的WATER元数据</a></p>
2009-03-06 03:20:46 +00:00
<p><a href="/admin/data/sync/delete/westdc">删除WESTDC中多出的元数据</a></p>
<p><a href="/admin/data/sync/delete/water">删除WESTDC中多出的WATER元数据</a></p>
2009-03-06 03:20:46 +00:00
<p><a href="/admin/data/sync/thumb/geonetwork">同步GEONETWORK中的缩略图</a></p>
<p><a href="/admin/data/sync/thumb/water">同步WATER中的缩略图</a></p>
<p><a href="/admin/data/sync/adminuser/geonetwork">同步管理员帐号到GEONETWORK</a></p>
2009-03-06 03:20:46 +00:00
<form method="POST">
<p>指定元数据UUID: <input type="text" name="uuid"></p>
2010-07-04 11:00:26 +00:00
<button type="submit" name="submit">同步此元数据</button>
<button type="submit" name="watersubmit">同步WATER数据</button>
</form>
<?php if ($this->metadata) : ?>
<ul>
<?php foreach ($this->metadata as $md) :?>
<li><a href="/data/<?php echo $md->uuid; ?>"><?php echo $md->title;?></a></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
2009-03-06 03:20:46 +00:00
</div>