update hiwater controller

This commit is contained in:
jack 2018-12-11 15:50:49 +08:00
parent 172f272722
commit 1f61be723b
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class HiwaterController extends DataController
{ {
$this->view->pageIn = "collapse2"; $this->view->pageIn = "collapse2";
} }
else if(in_array($acName,array("hmon",'hmon2012','hmon2013','hmon2014','hmon2015','hmon2016','hmon2017','hmon2012up','hmon2012middle','hmon2012down','hmon2013up','hmon2013middle','hmon2013down','hmon2014up','hmon2014middle','hmon2014down','hmon2015up','hmon2015middle','hmon2015down','hmon2016up','hmon2016middle','hmon2016down','hmon2017up','hmon2017middle','hmon2017down','super','normal','prec', "satelliteet", "basinet"))) else if(in_array($acName,array("hmon",'hmon2012','hmon2013','hmon2014','hmon2015','hmon2016','hmon2017','hmon2012up','hmon2012middle','hmon2012down','hmon2013up','hmon2013middle','hmon2013down','hmon2014up','hmon2014middle','hmon2014down','hmon2015up','hmon2015middle','hmon2015down','hmon2016up','hmon2016middle','hmon2016down','hmon2017up','hmon2017middle','hmon2017down','super','normal','prec')))
{ {
$this->view->pageIn = "collapse3"; $this->view->pageIn = "collapse3";
} }
@ -45,6 +45,9 @@ class HiwaterController extends DataController
{ {
$this->view->pageIn = "collapse9"; $this->view->pageIn = "collapse9";
} }
else if(in_array($acName, array("et", "satelliteet", "basinet"))){
$this->view->pageIn = "collapse12";
}
$this->view->pageID = "hiwater-".$acName; $this->view->pageID = "hiwater-".$acName;
$this->_helper->layout->setLayout('heihe'); $this->_helper->layout->setLayout('heihe');
} }