add multi reference

This commit is contained in:
wlx 2013-12-26 14:12:26 +00:00
parent 7b7699f5f5
commit 60432a9987
1 changed files with 14 additions and 1 deletions

View File

@ -34,6 +34,19 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
</p> </p>
</div> </div>
<div> <div>
<?php if ($this->mcitation) : ?>
<hr />
<h4><i class="icon-eye-open text-success"></i>本数据要求的多篇文献引用</h4>
<ol>
<?php foreach($this->mcitation as $ref) :
if (empty($ref->link))
echo '<li>'.$ref->reference.'</li>';
else
echo '<li>'.$ref->reference.' <a href="'.$ref->link.'"><i class="icon-download text-success"></i>下载</a></li>';
endforeach;
?>
</ol>
<?php else: ?>
<?php if ($md->citation) : ?> <?php if ($md->citation) : ?>
<hr /> <hr />
<h4><i class="icon-quote-left muted"></i>本数据引用方式<a class="btn btn-danger pull-right" href="/archives/help/platform/archive-23.html" ><i class="icon-comment"></i>数据引用帮助</a></h4> <h4><i class="icon-quote-left muted"></i>本数据引用方式<a class="btn btn-danger pull-right" href="/archives/help/platform/archive-23.html" ><i class="icon-comment"></i>数据引用帮助</a></h4>
@ -106,7 +119,7 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
} }
?> ?>
</ol> </ol>
<?php endif; ?> <?php endif; endif;?>
<hr /> <hr />
<h4><i class="icon-legal text-warning"></i>数据使用声明</h4> <h4><i class="icon-legal text-warning"></i>数据使用声明</h4>
<?php <?php