重命名数据文献管理为数据文献关联管理

This commit is contained in:
wlx 2010-07-01 08:45:48 +00:00
parent 25a017ca6e
commit 047c5a156e
3 changed files with 2 additions and 48 deletions

View File

@ -1,7 +1,7 @@
<ul>
<li><a href="/admin/data/md">元数据管理</a></li>
<li><a href="/admin/data/comment">数据反馈管理</a></li>
<li><a href="/admin/data/reference">数据文献管理</a></li>
<li><a href="/admin/data/reference">数据文献关联管理</a></li>
<li><a href="/admin/data/import">上传元数据文件</a></li>
<li><a href="/admin/data/batchimport">导入服务器元数据目录</a></li>
<li><a href="/admin/data/sync">同步GeoNetwork元数据</a></li>

View File

@ -6,7 +6,7 @@
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
$this->breadcrumb('数据文献管理</a>');
$this->breadcrumb('数据文献关联管理</a>');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="leftPanel">

View File

@ -1,46 +0,0 @@
<?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; ?>
<a href="/admin/data/reference/add/1">添加新的数据文献</a><?= $this->paginator; ?>
<?php if (count($this->paginator)): ?>
<div id="datasetcd">
<?php
$u='';
$i=0;
foreach ($this->paginator as $item):
if ($u==$item['uuid']) :
$i+=1;
else :
if (!empty($u)) echo '</ul>';
$i=0;
$u=$item['uuid'];
endif;
if ($i==0) echo '<ul><li>元数据:<a href="/data/'.$item['uuid'].'">'.$item['title'].'</a><a href="/admin/data/reference/add/1/uuid/'.$item['uuid'].'">添加</a></li>';
echo '<li>文献(<a href="/admin/data/reference/edit/'.$item['mdid'].'">编辑</a> <a href="/admin/data/reference/delete/'.$item['mdid'].'">删除</a>'.$item['reference'].'</li>';
endforeach;
echo '</ul>';
?>
</div>
<?php endif; ?>
</div>