修改了导航内容

This commit is contained in:
Li Jianxuan 2013-09-11 08:12:29 +00:00
parent 03ca27e589
commit 256c4a3bc9
2 changed files with 124 additions and 112 deletions

View File

@ -9,11 +9,11 @@ class HiwaterController extends DataController
//$this->_helper->layout->setLayout('hiwater');
$this->debug = 1;
$acName = $this->_request->getActionName();
if(in_array($acName,array("aviation","radiometer","lidar","widas",'ccd',"nearvis","thermal")))
if(in_array($acName,array("aviation","radiometer","lidar","ccdlidar","widas",'ccdwidas',"nearvis","thermal")))
{
$this->view->pageIn = "collapse1";
}
else if(in_array($acName,array("airborne","vegstructure","vegparam","temperature","soilmoisture")))
else if(in_array($acName,array("airborne","demdsm","reflectance","vegtypeair","vegparam","temperature","soilmoisture")))
{
$this->view->pageIn = "collapse2";
}
@ -119,14 +119,19 @@ class HiwaterController extends DataController
$this->getmdlimited('激光雷达','航空遥感');
$this->_helper->viewRenderer('base');
}
function ccdlidarAction()
{
$this->getmdlimited('CCD','航空遥感',"激光雷达");
$this->_helper->viewRenderer('base');
}
function widasAction()
{
$this->getmdlimited('WIDAS','航空遥感');
$this->_helper->viewRenderer('base');
}
function ccdAction()
function ccdwidasAction()
{
$this->getmdlimited('CCD','航空遥感');
$this->getmdlimited('CCD','航空遥感','WIDAS');
$this->_helper->viewRenderer('base');
}
function nearvisAction()
@ -145,25 +150,35 @@ class HiwaterController extends DataController
$this->getmd(array('航空遥感产品','种植结构图','植被类型图','植被结构参数','数字高程模型','数字表面模型','地表温度','地表土壤水文'));
$this->_helper->viewRenderer('base');
}
function vegstructureAction()
function demdsmAction()
{
$this->getmd(array('','种植结构图'));
$this->getmd(array('DEM','DSM','DOM'),"数据产品");
$this->_helper->viewRenderer('base');
}
function reflectanceAction()
{
$this->getmd(array('地表反照率','地表反射率'),"数据产品");
$this->_helper->viewRenderer('base');
}
function vegtypeairAction()
{
$this->getmdlimited(array('植被类型',''),'数据产品');
$this->_helper->viewRenderer('base');
}
function vegparamAction()
{
$this->getmd(array('','植被结构参数'));
$this->getmd(array("",'植被结构参数'),"数据产品");
$this->_helper->viewRenderer('base');
}
function dsmAction()
function soilmoistureAction()
{
$this->getmd(array('','数字表面模型'));
$this->getmd(array('','土壤水分'),"数据产品");
$this->_helper->viewRenderer('base');
}
function temperatureAction()
{
$this->getmd(array('','地表温度'));
$this->getmd(array('','地表温度'),"数据产品");
$this->_helper->viewRenderer('base');
}
@ -337,32 +352,32 @@ class HiwaterController extends DataController
}
function smAction()
{
$this->getmdlimited(array('土壤水分'),'数据产品');
$this->getmdlimited(array('土壤水分',"卫星遥感"),'数据产品');
$this->_helper->viewRenderer('base');
}
function snowAction()
{
$this->getmdlimited(array('积雪'),'数据产品');
$this->getmdlimited(array('积雪',"卫星遥感"),'数据产品');
$this->_helper->viewRenderer('base');
}
function vegtypeAction()
{
$this->getmdlimited(array('植被类型','种植结构'),'数据产品');
$this->getmdlimited(array('植被类型','卫星遥感'),'数据产品');
$this->_helper->viewRenderer('base');
}
function vegcovAction()
{
$this->getmdlimited(array('植被覆盖度',''),'数据产品');
$this->getmdlimited(array('植被覆盖度','卫星遥感'),'数据产品');
$this->_helper->viewRenderer('base');
}
function phenologyAction()
{
$this->getmdlimited(array('物候期',''),'数据产品');
$this->getmdlimited(array('物候期','卫星遥感'),'数据产品');
$this->_helper->viewRenderer('base');
}
function nppAction()
{
$this->getmdlimited(array('NPP',''),'数据产品');
$this->getmdlimited(array('NPP','卫星遥感'),'数据产品');
$this->_helper->viewRenderer('base');
}

View File

@ -19,15 +19,15 @@
<ul class="nav nav-list heihe-subnav">
<li id="Nav-hiwater-radiometer"><a href="/hiwater/radiometer"><i class="icon-double-angle-right"></i>微波辐射计</a></li>
<li id="Nav-hiwater-lidar"><a href="/hiwater/lidar"><i class="icon-double-angle-right"></i>激光雷达</a></li>
<li id="Nav-hiwater-widas"><a href="/hiwater/widas"><i class="icon-double-angle-right"></i>WiDAS</a></li>
<li id="Nav-hiwater-ccd"><a href="/hiwater/ccd"><i class="icon-double-angle-right"></i>CCD</a></li>
<li id="Nav-hiwater-ccdlidar"><a href="/hiwater/ccdlidar"><i class="icon-double-angle-right"></i>CCD影像(与激光雷达并飞)</a></li>
<li id="Nav-hiwater-widas"><a href="/hiwater/widas"><i class="icon-double-angle-right"></i>多角度多波段成像观测系统WiDAS</a></li>
<li id="Nav-hiwater-ccdwidas"><a href="/hiwater/ccdwidas"><i class="icon-double-angle-right"></i>CCD影像(与多角度多波段成像观测系统并飞)</a></li>
<li id="Nav-hiwater-nearvis"><a href="/hiwater/nearvis"><i class="icon-double-angle-right"></i>可见光和近红外成像光谱仪</a></li>
<li id="Nav-hiwater-thermal"><a href="/hiwater/thermal"><i class="icon-double-angle-right"></i>热红外成像光谱仪</a></li>
</ul>
</div>
</div>
</div>
<!--
<div class="accordion-group heihe-accordion-title">
<div class="accordion-heading" id="Nav-hiwater-airborne">
<a href="/hiwater/airborne" title="查看详细" class="pull-right detail-link"><i class="icon-arrow-right"></i></a>
@ -38,17 +38,16 @@
<div id="collapse2" class="accordion-body collapse">
<div class="accordion-inner">
<ul class="nav nav-list heihe-subnav">
<li id="Nav-hiwater-vegstructure"><a href="/hiwater/vegstructure"><i class="icon-double-angle-right"></i>种植结构图</a></li>
<li id="Nav-hiwater-vegtype"><a href="/hiwater/vegtype"><i class="icon-double-angle-right"></i>植被类型图</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-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-dem"><a href="/hiwater/dem"><i class="icon-double-angle-right"></i>数字高程模型</a></li>
<li id="Nav-hiwater-dsm"><a href="/hiwater/dsm"><i class="icon-double-angle-right"></i>数字表面模型</a></li>
<li id="Nav-hiwater-temperature"><a href="/hiwater/temperature"><i class="icon-double-angle-right"></i>地表温度</a></li>
<li id="Nav-hiwater-soilmoisture"><a href="/hiwater/soilmoisture"><i class="icon-double-angle-right"></i>地表土壤水分</a></li>
<li id="Nav-hiwater-soilmoisture"><a href="/hiwater/soilmoisture"><i class="icon-double-angle-right"></i>土壤水分</a></li>
</ul>
</div>
</div>
</div> -->
</div>
<div class="accordion-group heihe-accordion-title">
<div class="accordion-heading" id="Nav-hiwater-hmon">
<a href="/hiwater/hmon" title="查看详细" class="pull-right detail-link"><i class="icon-arrow-right"></i></a>
@ -151,20 +150,25 @@
</a>
</div>
</div> -->
<div class="accordion-group heihe-accordion-title">
<div class="accordion-heading" id="Nav-hiwater-satellite">
<a class="accordion-toggle" href="/hiwater/satellite">
卫星遥感数据
</a>
</div>
</div>
<div class="accordion-group heihe-accordion-title">
<div class="accordion-heading" id="Nav-hiwater-rsproduct">
<a href="/hiwater/rsproduct" title="查看详细" class="pull-right detail-link"><i class="icon-arrow-right"></i></a>
<a class="accordion-toggle" data-toggle="collapse" data-parent="#side_accordion" href="#collapse7">
遥感产品
卫星遥感产品
</a>
</div>
<div id="collapse7" class="accordion-body collapse">
<div class="accordion-inner">
<ul class="nav nav-list heihe-subnav">
<li id="Nav-hiwater-dem"><a href="/hiwater/dem"><i class="icon-double-angle-right"></i>DEM和DSM</a></li>
<li id="Nav-hiwater-precipitation"><a href="/hiwater/precipitation"><i class="icon-double-angle-right"></i>降水</a></li>
<li id="Nav-hiwater-sm"><a href="/hiwater/sm"><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>
<li id="Nav-hiwater-sm"><a href="/hiwater/sm"><i class="icon-double-angle-right"></i>土壤水分</a></li>
<li id="Nav-hiwater-vegtype"><a href="/hiwater/vegtype"><i class="icon-double-angle-right"></i>植被类型分布</a></li>
<li id="Nav-hiwater-vegcov"><a href="/hiwater/vegcov"><i class="icon-double-angle-right"></i>植被覆盖度</a></li>
<li id="Nav-hiwater-phenology"><a href="/hiwater/phenology"><i class="icon-double-angle-right"></i>物候期</a></li>
@ -173,13 +177,6 @@
</div>
</div>
</div>
<div class="accordion-group heihe-accordion-title">
<div class="accordion-heading" id="Nav-hiwater-satellite">
<a class="accordion-toggle" href="/hiwater/satellite">
卫星遥感
</a>
</div>
</div>
<div class="accordion-group heihe-accordion-title">
<div class="accordion-heading" id="Nav-hiwater-document">
<a class="accordion-toggle" href="/hiwater/document">