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