add view & down link for multi citation
This commit is contained in:
parent
055b5a6af2
commit
1687fcab72
|
@ -39,10 +39,16 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
||||||
<h4><i class="icon-eye-open text-success"></i>本数据要求的多篇文献引用</h4>
|
<h4><i class="icon-eye-open text-success"></i>本数据要求的多篇文献引用</h4>
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach($this->mcitation as $ref) :
|
<?php foreach($this->mcitation as $ref) :
|
||||||
|
echo '<li>'.$ref->reference;
|
||||||
|
echo '<a href="/knowledge/paper/id/'.$ref->id.'"><i class="icon-info-sign text-success"></i>查看</a>';
|
||||||
if (empty($ref->link))
|
if (empty($ref->link))
|
||||||
echo '<li>'.$ref->reference.'</li>';
|
{
|
||||||
else
|
if(!empty($ref->attid))
|
||||||
echo '<li>'.$ref->reference.' <a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a></li>';
|
echo '<a href="/service/attach/id/'.$ref->attid.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}else{
|
||||||
|
echo '<a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a>';
|
||||||
|
}
|
||||||
|
echo "</li>";
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
Loading…
Reference in New Issue