显示未提交数据的作者信息
This commit is contained in:
parent
3355712e5f
commit
f43ef26d08
|
@ -2835,7 +2835,7 @@ class Admin_DataController extends Zend_Controller_Action
|
||||||
//查看所有的未提交数据列表
|
//查看所有的未提交数据列表
|
||||||
else if((empty($ac) && empty($uuid))|| $ac=='list')
|
else if((empty($ac) && empty($uuid))|| $ac=='list')
|
||||||
{
|
{
|
||||||
$sql = "SELECT (regexp_matches(gn.data,'<resTitle>(.*)</resTitle>'))[1] as title,gn.id,gn.uuid FROM geonetworkmetadata gn
|
$sql = "SELECT (regexp_matches(gn.data,'<resTitle>(.*)</resTitle>'))[1] as title,gn.id,gn.uuid,u.username,u.realname FROM geonetworkmetadata gn left join users u on gn.owner=users.id
|
||||||
WHERE gn.uuid not in (select uuid from metadata)
|
WHERE gn.uuid not in (select uuid from metadata)
|
||||||
order by gn.id desc
|
order by gn.id desc
|
||||||
";
|
";
|
||||||
|
|
|
@ -39,7 +39,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
$autoindex++;
|
$autoindex++;
|
||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<p><span class="title"><?php echo $item['title'];?></span>
|
<p><?php echo $item['username'];?>(<?php echo $item['realname'];?>) <span class="title"><?php echo $item['title'];?></span>
|
||||||
【<a href="/service/geonetwork?url=metadata.show?id=<?php echo $item['id']; ?>" target="_blank">在geonetwork里查看</a>
|
【<a href="/service/geonetwork?url=metadata.show?id=<?php echo $item['id']; ?>" target="_blank">在geonetwork里查看</a>
|
||||||
| <a href="/service/geonetwork?url=metadata.edit?id=<?php echo $item['id']; ?>" target="_blank">在geonetwork里修改</a>
|
| <a href="/service/geonetwork?url=metadata.edit?id=<?php echo $item['id']; ?>" target="_blank">在geonetwork里修改</a>
|
||||||
| <a href="/service/geonetwork?url=metadata.delete?id=<?php echo $item['id']; ?>" target="_blank">删除此条数据</a>
|
| <a href="/service/geonetwork?url=metadata.delete?id=<?php echo $item['id']; ?>" target="_blank">删除此条数据</a>
|
||||||
|
|
Loading…
Reference in New Issue