fix logic error
This commit is contained in:
parent
8e1db6cd3d
commit
e3a6acc635
|
@ -42,12 +42,13 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
|||
<p><?php if (empty($md->datadoi) || !strpos($md->citation,$md->datadoi)) : ?><span class="label label-info">文章的引用</span>
|
||||
<?php endif; echo $this->escape($md->citation);?></p>
|
||||
<?php if (!empty($md->datadoi) && !strpos($md->citation,$md->datadoi)) : ?>
|
||||
<p><span class="label label-info">数据的引用</span><?php
|
||||
<p><span class="label label-info">数据的引用</span>
|
||||
<?php
|
||||
echo substr($md->authors,1,-1).'. '.$md->title.'. '.$md->publisher.', '.$md->publish_year.'. doi:'.$md->doi;
|
||||
echo ' ['.substr($md->author_en,1,-1).'. '.$md->title_en.'. '.$md->publisher_en.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi.']';
|
||||
?> (下载引用:<a href="/service/ris/lang/cn/uuid/<?php echo $md->uuid; ?>">RIS格式</a> | <a href="/service/ris/lang/en/uuid/<?php echo $md->uuid; ?>">RIS英文格式</a> | <a href="/service/bibtex/lang/cn/uuid/<?php echo $md->uuid; ?>">Bibtex格式</a> | <a href="/service/bibtex/lang/en/uuid/<?php echo $md->uuid; ?>">Bibtex英文格式</a>)</p>
|
||||
<?php endif; endif; ?>
|
||||
<?php endif; if ($this->ref) : ?>
|
||||
<?php endif;
|
||||
endif; if ($this->ref) : ?>
|
||||
<hr />
|
||||
<h4><i class="icon-eye-open text-success"></i>相关文献(作者推荐)</h4>
|
||||
<ol>
|
||||
|
@ -84,7 +85,7 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
|||
endforeach;
|
||||
?>
|
||||
</ol>
|
||||
<?php if ($this->userref) : ?>
|
||||
<?php endif; if ($this->userref) : ?>
|
||||
<hr />
|
||||
<h4><i class="icon-eye-open text-success"></i>数据施引文献</h4>
|
||||
<ol>
|
||||
|
|
Loading…
Reference in New Issue