fix var error

This commit is contained in:
wlx 2013-11-15 14:46:28 +00:00
parent 1ccb1300b0
commit 2bc695660b
1 changed files with 3 additions and 7 deletions

View File

@ -66,12 +66,8 @@ $this->headLink()->appendStylesheet('/css/colorbox.css');
echo '<a href="'.$this->paper['link'].'"><i class="icon-download text-success"></i>PDF下载</a>';
}
if (!empty($item['link'])) :
echo ' <a href="'.$item['link'].'">下载</a>';
endif;
if (!empty($item['ris'])) :
echo ' <a href="/service/ris/id/'.$item['id'].'">RIS下载</a>';
if (!empty($this->paper['ris'])) :
echo ' <a href="/service/ris/id/'.$this->paper['id'].'">RIS下载</a>';
endif;
?>
<a href="javascript:;" onclick="showdata('<?php echo $this->paper['id'];?>',0)"><i class="icon-external-link text-success"></i>相关数据(共<span id="referenceDataCount"></span>条)</a>