add url parameter

This commit is contained in:
wlx 2012-04-17 08:01:04 +00:00
parent 7cce200edb
commit bdd380af91
2 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ $this->breadcrumb()->setSeparator(' > ');
<h2>根据预制元数据模板创建数据</h2> <h2>根据预制元数据模板创建数据</h2>
<ul> <ul>
<?php foreach ($this->templates as $item) : ?> <?php foreach ($this->templates as $item) : ?>
<li><a href="/service/geonetwork?metadata.create?group=2&id=<?php echo $item['id']; ?>" target="_blank"><?php echo $item['title']; ?></a></li> <li><a href="/service/geonetwork?url=metadata.create?group=2&id=<?php echo $item['id']; ?>" target="_blank"><?php echo $item['title']; ?></a></li>
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
<?php endif; ?> <?php endif; ?>
@ -50,7 +50,7 @@ $this->breadcrumb()->setSeparator(' > ');
?> ?>
<li> <li>
<p><span class="title"><?php echo $item['title'];?></span> <p><span class="title"><?php echo $item['title'];?></span>
<a href="/service/geonetwork?metadata.create?group=2&id=<?php echo $item['gid']; ?>">以此为模板新建</a> <a href="/service/geonetwork?url=metadata.create?group=2&id=<?php echo $item['gid']; ?>">以此为模板新建</a>
| <a href="/data/<?php echo $item['uuid'];?>" target="_blank">查看数据</a></p> | <a href="/data/<?php echo $item['uuid'];?>" target="_blank">查看数据</a></p>
<p><?php echo mb_strlen($item['description'])>400?$this->escape(mb_substr($item['description'],0,400,'UTF-8').'...'):$this->escape($item['description']); ?></p> <p><?php echo mb_strlen($item['description'])>400?$this->escape(mb_substr($item['description'],0,400,'UTF-8').'...'):$this->escape($item['description']); ?></p>
</li> </li>

View File

@ -39,8 +39,8 @@ $this->breadcrumb()->setSeparator(' > ');
?> ?>
<li> <li>
<p><span class="title"><?php echo $item['title'];?></span> <p><span class="title"><?php echo $item['title'];?></span>
<a href="/service/geonetwork?metadata.show?id=<?php echo $item['id']; ?>">在geonetwork里查看</a> <a href="/service/geonetwork?url=metadata.show?id=<?php echo $item['id']; ?>">在geonetwork里查看</a>
| <a href="/service/geonetwork?metadata.edit?id=<?php echo $item['id']; ?>">在geonetwork里修改</a> | <a href="/service/geonetwork?url=metadata.edit?id=<?php echo $item['id']; ?>">在geonetwork里修改</a>
| <a onclick="$('#commit_submit').attr('onclick','commit(\'<?php echo $item['id'];?>\');');" href="#commitform" class="more inline">提交评审发布</a> | <a onclick="$('#commit_submit').attr('onclick','commit(\'<?php echo $item['id'];?>\');');" href="#commitform" class="more inline">提交评审发布</a>
</p> </p>
</li> </li>