merge heihedata branch from r4182 to r4186

This commit is contained in:
wlx 2014-01-10 05:26:39 +00:00
parent b1a4cb94eb
commit 81bd58fe37
2 changed files with 9 additions and 6 deletions

View File

@ -19,12 +19,14 @@ $this->nav[] = array('link'=>"/haihe",'title'=>'海河流域观测数据集');
<ol start="<?php echo $this->offset; ?>">
<?php foreach($this->refs as $md) : ?>
<li><?php echo $md['reference'];
if ($md['link'])
{
echo ' [<a href="/knowledge/paper/id/'.$md['id'].'"><i class="icon-info-sign text-success"></i>查看</a>';
if (!empty($md['link'])) :
echo ' <a href="'.$md['link'].'">下载</a>';
}
else :
if (!empty($md['attid'])) echo ' <a href="/service/attach/id/'.$md['attid'].'"><i class="icon-download text-success"></i>下载</a>';
endif;
?>
[<a href="javascript:;" onclick="showdata('<?php echo $md['id'];?>',0)">相关数据</a>]
<a href="javascript:;" onclick="showdata('<?php echo $md['id'];?>',0)"><i class="icon-external-link text-success"></i>相关数据</a>]
</li>
<?php endforeach; ?>
</ol>

View File

@ -12,6 +12,7 @@
if(!empty($this->dataService)) {
$this->theme->AppendModel($this,"dataservice");
}
$this->nav[] = array('link'=>"/haihe",'title'=>'海河流域观测数据集');
?>
<style>
h3.gs_rt{font-size:110%;}
@ -66,7 +67,7 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
echo substr($md->authors,1,-1).'. '.$md->title.'. '.$md->publisher.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi;
echo ' ['.str_replace('"','',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; if ($this->ref) : ?>
<?php endif; endif; if ($this->ref) : ?>
<hr />
<h4><i class="icon-eye-open text-success"></i>相关文献(作者推荐)</h4>
<ol>