移除不用的js内容
This commit is contained in:
parent
83c650c537
commit
e85fd5bf7d
|
@ -134,11 +134,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>';
|
echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($uselimit->uselimit)).'</p>';
|
||||||
endforeach;
|
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 endif; ?>
|
||||||
<?php if($this->data_archives){ ?>
|
<?php if($this->data_archives){ ?>
|
||||||
<h4>数据相关新闻</h4>
|
<h4>数据相关新闻</h4>
|
||||||
|
@ -192,28 +187,12 @@ if ($md->title_en) echo '<br />'.$this->escape($md->title_en);?>
|
||||||
<div class="tabbable"> <!-- Only required for left/right tabs -->
|
<div class="tabbable"> <!-- Only required for left/right tabs -->
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li class="active"><a href="#related" data-toggle="tab" id="related_t">相关数据</a></li>
|
<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="#service" data-toggle="tab">服务记录</a></li>
|
||||||
<li><a href="#recommend" data-toggle="tab" id="recommend_t">给我推荐</a></li>
|
<li><a href="#recommend" data-toggle="tab" id="recommend_t">给我推荐</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div id="related" class="tab-pane active">
|
<div id="related" class="tab-pane active">
|
||||||
</div>
|
</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">
|
<div id="service" class="tab-pane">
|
||||||
<?php if ($this->downhistory) : ?>
|
<?php if ($this->downhistory) : ?>
|
||||||
<p>最近10条服务记录如下:</p>
|
<p>最近10条服务记录如下:</p>
|
||||||
|
@ -501,10 +480,6 @@ endforeach;
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
$(function() {
|
$(function() {
|
||||||
$(".colorbox").colorbox({photo:"true"});
|
$(".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);});
|
$('#related_t').click(function(){related(1);});
|
||||||
$('#recommend_t').click(function(){recommend(0);});
|
$('#recommend_t').click(function(){recommend(0);});
|
||||||
$('#literature_t').click(function(){literature(1);$('.literatures').parent('li').addClass('active')});
|
$('#literature_t').click(function(){literature(1);$('.literatures').parent('li').addClass('active')});
|
||||||
|
@ -518,12 +493,6 @@ $(function() {
|
||||||
});
|
});
|
||||||
$(this).parent('li').addClass('active');
|
$(this).parent('li').addClass('active');
|
||||||
});
|
});
|
||||||
});
|
|
||||||
$('#gsearch_t').click(function(){
|
|
||||||
if($('#searchlist').children('li').length<1)
|
|
||||||
{
|
|
||||||
googleSearch('<?php echo $ev;?>');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
$('#show-list').click(function(e) {
|
$('#show-list').click(function(e) {
|
||||||
method.filelist.get($(this).attr('rel'));
|
method.filelist.get($(this).attr('rel'));
|
||||||
|
@ -584,18 +553,6 @@ function ajaxpage(page){
|
||||||
control=new TNavigationControl(config);
|
control=new TNavigationControl(config);
|
||||||
//添加缩放平移控件
|
//添加缩放平移控件
|
||||||
map.addControl(control);
|
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加入收藏夹");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<p>Cannot find the metadata.</p>
|
<p>Cannot find the metadata.</p>
|
||||||
|
|
Loading…
Reference in New Issue