add hiwater translation
This commit is contained in:
parent
8c450f4baa
commit
8f53104216
|
@ -6,7 +6,7 @@ class HiwaterController extends DataController
|
||||||
function preDispatch()
|
function preDispatch()
|
||||||
{
|
{
|
||||||
parent::preDispatch();
|
parent::preDispatch();
|
||||||
//$this->_helper->layout->setLayout('hiwater');
|
|
||||||
$this->debug = 0;
|
$this->debug = 0;
|
||||||
$acName = $this->_request->getActionName();
|
$acName = $this->_request->getActionName();
|
||||||
if(in_array($acName,array("aviation","radiometer","lidar","ccdlidar","widas",'ccdwidas',"nearvis","thermal")))
|
if(in_array($acName,array("aviation","radiometer","lidar","ccdlidar","widas",'ccdwidas',"nearvis","thermal")))
|
||||||
|
@ -46,7 +46,7 @@ class HiwaterController extends DataController
|
||||||
$this->view->pageIn = "collapse9";
|
$this->view->pageIn = "collapse9";
|
||||||
}
|
}
|
||||||
$this->view->pageID = "hiwater-".$acName;
|
$this->view->pageID = "hiwater-".$acName;
|
||||||
$this->_helper->layout->setLayout('heihe');
|
//$this->_helper->layout->setLayout('heihe');
|
||||||
}
|
}
|
||||||
|
|
||||||
function indexAction()
|
function indexAction()
|
||||||
|
|
|
@ -13,6 +13,7 @@ $this->headTitle()->setSeparator(' - ');
|
||||||
<div class="span12">
|
<div class="span12">
|
||||||
<h4><i class="icon-folder-open"></i>Data Collection</h4>
|
<h4><i class="icon-folder-open"></i>Data Collection</h4>
|
||||||
<a class="btn btn-info" href="/water"><i class="icon-folder-open"></i>WATER</a>
|
<a class="btn btn-info" href="/water"><i class="icon-folder-open"></i>WATER</a>
|
||||||
|
<a class="btn btn-info" href="/hiwater"><i class="icon-folder-open"></i>HiWATER</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="span12">
|
<div class="span12">
|
||||||
<h4><i class="icon-flag"></i>Datasets Navigator</h4>
|
<h4><i class="icon-flag"></i>Datasets Navigator</h4>
|
||||||
|
|
|
@ -3,7 +3,7 @@ $this->headTitle($this->config->title->site);
|
||||||
$this->headTitle($this->config->title->data);
|
$this->headTitle($this->config->title->data);
|
||||||
$this->headTitle()->setSeparator(' - ');
|
$this->headTitle()->setSeparator(' - ');
|
||||||
$this->headLink()->appendStylesheet('/css/water.css');
|
$this->headLink()->appendStylesheet('/css/water.css');
|
||||||
$this->nav[] = array('link'=>"/water",'title'=>'黑河生态水文遥感试验');
|
$this->nav[] = array('link'=>"/hiwater",'title'=>'HiWATER');
|
||||||
?>
|
?>
|
||||||
<?= $this->render('breadcrumbs.phtml'); ?>
|
<?= $this->render('breadcrumbs.phtml'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="accordion-group m-navs">
|
<li class="accordion-group m-navs">
|
||||||
<div class="tree-toggle accordion-heading" id="Nav-hiwater-index">
|
<div class="tree-toggle accordion-heading" id="Nav-hiwater-index">
|
||||||
<a class="accordion-toggle" title="" href="/hiwater/">黑河生态水文遥感试验</a>
|
<a class="accordion-toggle" title="" href="/hiwater/">HiWATER</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
<a class="accordion-toggle" href="/hiwater/airborne" title="查看详细">航空遥感产品</a>
|
<a class="accordion-toggle" href="/hiwater/airborne" title="查看详细">航空遥感产品</a>
|
||||||
</div>
|
</div>
|
||||||
<ul class="nav nav-list tree" id="collapse2">
|
<ul class="nav nav-list tree" id="collapse2">
|
||||||
<li id="Nav-hiwater-demdsm"><a href="/hiwater/demdsm"><i class="icon-double-angle-right"></i>DEM和DSM</a></li>
|
<li id="Nav-hiwater-demdsm"><a href="/hiwater/demdsm"><i class="icon-double-angle-right"></i>DEM & DSM</a></li>
|
||||||
<li id="Nav-hiwater-reflectance"><a href="/hiwater/reflectance"><i class="icon-double-angle-right"></i>地表反射率/反照率</a></li>
|
<li id="Nav-hiwater-reflectance"><a href="/hiwater/reflectance"><i class="icon-double-angle-right"></i>地表反射率/反照率</a></li>
|
||||||
<li id="Nav-hiwater-vegtypeair"><a href="/hiwater/vegtypeair"><i class="icon-double-angle-right"></i>植被类型分布</a></li>
|
<li id="Nav-hiwater-vegtypeair"><a href="/hiwater/vegtypeair"><i class="icon-double-angle-right"></i>植被类型分布</a></li>
|
||||||
<li id="Nav-hiwater-vegparam"><a href="/hiwater/vegparam"><i class="icon-double-angle-right"></i>植被结构参数</a></li>
|
<li id="Nav-hiwater-vegparam"><a href="/hiwater/vegparam"><i class="icon-double-angle-right"></i>植被结构参数</a></li>
|
||||||
|
@ -50,9 +50,9 @@
|
||||||
<a class="accordion-toggle" href="/hiwater/hmon2012" title="查看详细">2012</a>
|
<a class="accordion-toggle" href="/hiwater/hmon2012" title="查看详细">2012</a>
|
||||||
</div>
|
</div>
|
||||||
<ul class="nav nav-list tree">
|
<ul class="nav nav-list tree">
|
||||||
<li><a href="/hiwater/hmon2012up"><i class="icon-double-angle-right"></i>上游</a></li>
|
<li><a href="/hiwater/hmon2012up"><i class="icon-double-angle-right"></i>up-stream</a></li>
|
||||||
<li><a href="/hiwater/hmon2012middle"><i class="icon-double-angle-right"></i>中游</a></li>
|
<li><a href="/hiwater/hmon2012middle"><i class="icon-double-angle-right"></i>middle-stream</a></li>
|
||||||
<li><a href="/hiwater/hmon2012down"><i class="icon-double-angle-right"></i>下游</a></li>
|
<li><a href="/hiwater/hmon2012down"><i class="icon-double-angle-right"></i>down-stream</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -61,9 +61,9 @@
|
||||||
<a class="accordion-toggle" href="/hiwater/hmon2013" title="查看详细">2013</a>
|
<a class="accordion-toggle" href="/hiwater/hmon2013" title="查看详细">2013</a>
|
||||||
</div>
|
</div>
|
||||||
<ul class="nav nav-list tree">
|
<ul class="nav nav-list tree">
|
||||||
<li><a href="/hiwater/hmon2013up"><i class="icon-double-angle-right"></i>上游</a></li>
|
<li><a href="/hiwater/hmon2013up"><i class="icon-double-angle-right"></i>up-stream</a></li>
|
||||||
<li><a href="/hiwater/hmon2013middle"><i class="icon-double-angle-right"></i>中游</a></li>
|
<li><a href="/hiwater/hmon2013middle"><i class="icon-double-angle-right"></i>middle-stream</a></li>
|
||||||
<li><a href="/hiwater/hmon2013down"><i class="icon-double-angle-right"></i>下游</a></li>
|
<li><a href="/hiwater/hmon2013down"><i class="icon-double-angle-right"></i>down-stream</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -111,14 +111,14 @@
|
||||||
|
|
||||||
<li class="accordion-group">
|
<li class="accordion-group">
|
||||||
<div class="tree-toggle accordion-heading" id="Nav-hiwater-satellite">
|
<div class="tree-toggle accordion-heading" id="Nav-hiwater-satellite">
|
||||||
<a class="accordion-toggle" href="/hiwater/satellite">卫星遥感数据</a>
|
<a class="accordion-toggle" href="/hiwater/satellite">Satallite</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="accordion-group">
|
<li class="accordion-group">
|
||||||
<div class="tree-toggle accordion-heading" id="Nav-hiwater-rsproduct">
|
<div class="tree-toggle accordion-heading" id="Nav-hiwater-rsproduct">
|
||||||
<a href="#" class="detail-link pull-right"><i class="icon-plus"></i></a>
|
<a href="#" class="detail-link pull-right"><i class="icon-plus"></i></a>
|
||||||
<a class="accordion-toggle" href="/hiwater/rsproduct" title="查看详细">卫星遥感产品</a>
|
<a class="accordion-toggle" href="/hiwater/rsproduct" title="查看详细">Satallite products</a>
|
||||||
</div>
|
</div>
|
||||||
<ul class="nav nav-list tree" id="collapse7">
|
<ul class="nav nav-list tree" id="collapse7">
|
||||||
<li id="Nav-hiwater-snow"><a href="/hiwater/snow"><i class="icon-double-angle-right"></i>积雪</a></li>
|
<li id="Nav-hiwater-snow"><a href="/hiwater/snow"><i class="icon-double-angle-right"></i>积雪</a></li>
|
||||||
|
@ -132,24 +132,24 @@
|
||||||
|
|
||||||
<li class="accordion-group">
|
<li class="accordion-group">
|
||||||
<div class="tree-toggle accordion-heading" id="Nav-hiwater-document">
|
<div class="tree-toggle accordion-heading" id="Nav-hiwater-document">
|
||||||
<a class="accordion-toggle" href="/hiwater/document">试验文档</a>
|
<a class="accordion-toggle" href="/hiwater/document">Documents</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="accordion-group">
|
<li class="accordion-group">
|
||||||
<div class="tree-toggle accordion-heading" id="Nav-hiwater-funtion">
|
<div class="tree-toggle accordion-heading" id="Nav-hiwater-funtion">
|
||||||
<a href="#" class="detail-link pull-right"><i class="icon-plus"></i></a>
|
<a href="#" class="detail-link pull-right"><i class="icon-plus"></i></a>
|
||||||
<a class="accordion-toggle" href="#" title="查看详细">其他导航方式</a>
|
<a class="accordion-toggle" href="#">Special explores</a>
|
||||||
</div>
|
</div>
|
||||||
<ul class="nav nav-list tree" id="collapse10">
|
<ul class="nav nav-list tree" id="collapse10">
|
||||||
<li id="Nav-hiwater-tag"><a href="/hiwater/tag"><i class="icon-double-angle-right"></i>关键词浏览</a></li>
|
<li id="Nav-hiwater-tag"><a href="/hiwater/tag"><i class="icon-double-angle-right"></i>By keyword</a></li>
|
||||||
<li id="Nav-hiwater-thumb"><a href="/hiwater/thumb"><i class="icon-double-angle-right"></i>缩略图浏览</a></li>
|
<li id="Nav-hiwater-thumb"><a href="/hiwater/thumb"><i class="icon-double-angle-right"></i>By thumbnail</a></li>
|
||||||
<li id="Nav-hiwater-browse"><a href="/hiwater/browse"><i class="icon-double-angle-right"></i>全部浏览</a></li>
|
<li id="Nav-hiwater-browse"><a href="/hiwater/browse"><i class="icon-double-angle-right"></i>All browse</a></li>
|
||||||
<li id="Nav-hiwater-timeline"><a href="/hiwater/timeline"><i class="icon-double-angle-right"></i>时间轴浏览</a></li>
|
<li id="Nav-hiwater-timeline"><a href="/hiwater/timeline"><i class="icon-double-angle-right"></i>Timeline</a></li>
|
||||||
<li id="Nav-hiwater-timemap"><a href="/hiwater/timemap"><i class="icon-double-angle-right"></i>时空浏览</a></li>
|
<li id="Nav-hiwater-timemap"><a href="/hiwater/timemap"><i class="icon-double-angle-right"></i>Timemap</a></li>
|
||||||
<li id="Nav-hiwater-fund"><a href="/hiwater/fund"><i class="icon-double-angle-right"></i>项目浏览</a></li>
|
<li id="Nav-hiwater-fund"><a href="/hiwater/fund"><i class="icon-double-angle-right"></i>By fund</a></li>
|
||||||
<li id="Nav-hiwater-author"><a href="/hiwater/author"><i class="icon-double-angle-right"></i>作者浏览</a></li>
|
<li id="Nav-hiwater-author"><a href="/hiwater/author"><i class="icon-double-angle-right"></i>By author</a></li>
|
||||||
<li id="Nav-hiwater-organization"><a href="/hiwater/organization"><i class="icon-double-angle-right"></i>单位浏览</a></li>
|
<li id="Nav-hiwater-organization"><a href="/hiwater/organization"><i class="icon-double-angle-right"></i>By organization</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
|
|
||||||
|
|
||||||
<form id="search" enctype="application/x-www-form-urlencoded" action="/hiwater/search" method="post">
|
<form id="search" enctype="application/x-www-form-urlencoded" action="/hiwater/search" method="post">
|
||||||
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'回车搜索标题和摘要':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);">
|
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'Search title & abstract':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);">
|
||||||
<input type="hidden" name="submit" value="submit">
|
<input type="hidden" name="submit" value="submit">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -187,13 +187,13 @@ a:focus {outline:none;-moz-outline:none;}
|
||||||
});
|
});
|
||||||
|
|
||||||
function myfocus(element) {
|
function myfocus(element) {
|
||||||
if (element.value == '回车搜索标题和摘要') {
|
if (element.value == 'Search title & abstract') {
|
||||||
element.value = '';
|
element.value = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function myblur(element) {
|
function myblur(element) {
|
||||||
if (element.value == '') {
|
if (element.value == '') {
|
||||||
element.value = '回车搜索标题和摘要';
|
element.value = 'Search title & abstract';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue