From a66fa64d4257d0d4690753194a6675e46ae62466 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 18 Jun 2013 12:23:33 +0000 Subject: [PATCH] add ccd navigation --- application/default/controllers/HiwaterController.php | 7 ++++++- application/default/views/scripts/hiwater/navi.phtml | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/application/default/controllers/HiwaterController.php b/application/default/controllers/HiwaterController.php index 905e6ee7..55cb1263 100644 --- a/application/default/controllers/HiwaterController.php +++ b/application/default/controllers/HiwaterController.php @@ -9,7 +9,7 @@ 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","nearvis","thermal"))) + if(in_array($acName,array("aviation","radiometer","lidar","widas",'ccd',"nearvis","thermal"))) { $this->view->pageIn = "collapse1"; } @@ -124,6 +124,11 @@ class HiwaterController extends DataController $this->getmdlimited('WIDAS','航空遥感'); $this->_helper->viewRenderer('base'); } + function ccdAction() + { + $this->getmdlimited('CCD','航空遥感'); + $this->_helper->viewRenderer('base'); + } function nearvisAction() { $this->getmdlimited('CASI','航空遥感'); diff --git a/application/default/views/scripts/hiwater/navi.phtml b/application/default/views/scripts/hiwater/navi.phtml index 66006b2e..88e2e45b 100644 --- a/application/default/views/scripts/hiwater/navi.phtml +++ b/application/default/views/scripts/hiwater/navi.phtml @@ -19,7 +19,8 @@