trim description, add operation link

This commit is contained in:
wlx 2012-03-19 09:02:58 +00:00
parent 9421ae190d
commit 228f9e73f6
1 changed files with 6 additions and 6 deletions

View File

@ -33,13 +33,13 @@ $this->breadcrumb()->setSeparator(' > ');
$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>)';