添加文献下载功能
This commit is contained in:
parent
96de62876e
commit
fc6a6ed9ae
|
@ -165,7 +165,10 @@ endforeach;
|
|||
<h2>建议参考文献</h2>
|
||||
<ol>
|
||||
<?php foreach($this->ref as $ref) :
|
||||
if (empty($ref['link']))
|
||||
echo '<li>'.$ref['reference'].'</li>';
|
||||
else
|
||||
echo '<li>'.$ref['reference'].' <a href="'.$ref['link'].'">下载</a></li>';
|
||||
endforeach;
|
||||
?>
|
||||
</ol>
|
||||
|
|
Loading…
Reference in New Issue