trim description, add operation link
This commit is contained in:
parent
9421ae190d
commit
228f9e73f6
|
@ -32,14 +32,14 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
foreach ($this->paginator as $item):
|
foreach ($this->paginator as $item):
|
||||||
$autoindex++;?>
|
$autoindex++;?>
|
||||||
<li>
|
<li>
|
||||||
<a href="/data/<?php echo $item['uuid'];?>" target="_blank"><?php echo $item['title'];?></a>
|
<a href="/data/<?php echo $item['uuid'];?>" target="_blank"><?php echo $item['title'];?></a>
|
||||||
<p><?php echo $item['description'] ?></p>
|
<?php if($item['status']==1) : ?>
|
||||||
|
【操作:申请管理|反馈管理|修改元数据|管理数据参考文献】
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<p><?php echo mb_strlen($item['description'])>400?$this->escape(mb_substr($item['description'],0,400,'UTF-8').'...'):$this->escape($item['description']); ?></p>
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
if($item['status']==1)
|
|
||||||
{
|
|
||||||
echo '';
|
|
||||||
}//已经是自己的数据
|
|
||||||
if ($item['status']==0)
|
if ($item['status']==0)
|
||||||
{
|
{
|
||||||
echo '<img src="/images/list_extensions.gif" />您已经申请该数据,请到邮箱查看激活邮件(如果没有收到请 <a href="javascript:;" onclick="apply(\''.$item['uuid'].'\')">点击这里</a>)';
|
echo '<img src="/images/list_extensions.gif" />您已经申请该数据,请到邮箱查看激活邮件(如果没有收到请 <a href="javascript:;" onclick="apply(\''.$item['uuid'].'\')">点击这里</a>)';
|
||||||
|
|
Loading…
Reference in New Issue