remove unused js
This commit is contained in:
parent
fa1c074a01
commit
467652455d
|
@ -56,7 +56,7 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
|||
<?php endif; ?>
|
||||
<?php if ($md->citation) : ?>
|
||||
<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>本数据引用方式</h4>
|
||||
<p><?php if (empty($md->datadoi) || !strpos($md->citation,$md->datadoi)) : ?><span class="label label-info">文章的引用</span>
|
||||
<?php endif; echo $this->escape($md->citation);if (strpos($md->citation,$md->datadoi)) : ?>
|
||||
(下载引用:<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>)
|
||||
|
@ -135,11 +135,6 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
|||
echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($uselimit->uselimit)).'</p>';
|
||||
endforeach;
|
||||
?>
|
||||
<?php else : ?>
|
||||
<p>为尊重知识产权、保障数据作者的权益、扩展数据中心的服务、评估数据的应用潜力,请数据使用者在使用数据所产生的研究成果中(包括公开发表的论文、论著、数据产品和未公开发表的研究报告、数据产品等成果),明确注明数据来源和数据作者。对于转载(二次或多次发布)的数据,作者还须注明原始数据来源。</p>
|
||||
<p>中文发表的成果参考以下规范注明: 数据来源于黑河计划数据管理中心、寒区旱区科学数据中心(http://westdc.westgis.ac.cn)</p>
|
||||
<p>英文发表的成果依据以下规范注明: The data set is provided by Cold and Arid Regions Sciences Data Center at Lanzhou (http://westdc.westgis.ac.cn)</p>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<?php if($this->data_archives){ ?>
|
||||
<h4>数据相关新闻</h4>
|
||||
|
@ -193,28 +188,12 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
|||
<div class="tabbable"> <!-- Only required for left/right tabs -->
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#related" data-toggle="tab" id="related_t">相关数据</a></li>
|
||||
<li><a href="#literature" data-toggle="tab" id="literature_t">相关文献</a></li>
|
||||
<li><a href="#gsearch" data-toggle="tab" id="gsearch_t">相关搜索</a></li>
|
||||
<li><a href="#service" data-toggle="tab">服务记录</a></li>
|
||||
<li><a href="#recommend" data-toggle="tab" id="recommend_t">给我推荐</a></li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div id="related" class="tab-pane active">
|
||||
</div>
|
||||
<div id="literature" class="tab-pane">
|
||||
<div class="">
|
||||
<ul class="nav nav-pills lit-nav">
|
||||
<li><a href="javascript:;" class="literatures lit-nav-btn">西部计划知识库</a></li>
|
||||
<li><a href="javascript:;" class="scholar lit-nav-btn">Google学术搜索</a></li>
|
||||
<li><a href="javascript:;" class="cnkiSearch lit-nav-btn">CNKI学术搜索</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="literature-list">
|
||||
</div>
|
||||
</div>
|
||||
<div id="gsearch" class="tab-pane">
|
||||
<ul id="searchlist" class="unstyled well well-small"></ul>
|
||||
</div>
|
||||
<div id="service" class="tab-pane">
|
||||
<?php if ($this->downhistory) : ?>
|
||||
<p>最近10条服务记录如下:</p>
|
||||
|
@ -500,10 +479,6 @@ endforeach;
|
|||
<script type="text/javascript" charset="utf-8">
|
||||
$(function() {
|
||||
$(".colorbox").colorbox({photo:"true"});
|
||||
$('.googlesearch').click(function(){googleSearch('<?php echo $ev;?>');});
|
||||
$('.bingsearch').click(function(){bingSearch('<?php echo $ev;?>');});
|
||||
$('.cnkiSearch').click(function(){cnkiSearch('<?php echo $ev;?>');});
|
||||
$('.scholar').click(function(){scholarSearch('<?php echo $ev;?>');});
|
||||
$('#related_t').click(function(){related(1);});
|
||||
$('#recommend_t').click(function(){recommend(0);});
|
||||
$('#literature_t').click(function(){literature(1);$('.literatures').parent('li').addClass('active')});
|
||||
|
@ -518,12 +493,6 @@ $(function() {
|
|||
$(this).parent('li').addClass('active');
|
||||
});
|
||||
});
|
||||
$('#gsearch_t').click(function(){
|
||||
if($('#searchlist').children('li').length<1)
|
||||
{
|
||||
googleSearch('<?php echo $ev;?>');
|
||||
}
|
||||
});
|
||||
$('#show-list').click(function(e) {
|
||||
method.filelist.get($(this).attr('rel'));
|
||||
});
|
||||
|
@ -582,19 +551,7 @@ var config = { projection: "EPSG:4326"}
|
|||
//创建缩放平移控件对象
|
||||
control=new TNavigationControl(config);
|
||||
//添加缩放平移控件
|
||||
map.addControl(control);
|
||||
|
||||
function addfavorite(url,title){
|
||||
var fav_url = url;
|
||||
var fav_title = title;
|
||||
if (document.all && window.external){
|
||||
window.external.AddFavorite(fav_url,fav_title);
|
||||
}else if (window.sidebar){
|
||||
window.sidebar.addPanel(fav_title,fav_url,"");
|
||||
}else{
|
||||
alert("浏览器不支持,请手动CTRL+D加入收藏夹");
|
||||
}
|
||||
}
|
||||
map.addControl(control);
|
||||
</script>
|
||||
<?php else: ?>
|
||||
<p>Cannot find the metadata.</p>
|
||||
|
|
Loading…
Reference in New Issue