diff --git a/application/default/controllers/HeiheController.php b/application/default/controllers/HeiheController.php index 78288c5e..78def0b4 100644 --- a/application/default/controllers/HeiheController.php +++ b/application/default/controllers/HeiheController.php @@ -9,6 +9,7 @@ class HeiheController extends DataController $this->debug = 1; $this->view->pageID = "heihe-".$this->_request->getActionName(); $this->view->nav[] = array('link'=>"/heihe",'title'=>'黑河计划数据管理中心'); + $this->_helper->layout->setLayout('heihe'); } function indexAction() diff --git a/application/default/controllers/HiwaterController.php b/application/default/controllers/HiwaterController.php index 3743b753..905e6ee7 100644 --- a/application/default/controllers/HiwaterController.php +++ b/application/default/controllers/HiwaterController.php @@ -45,7 +45,8 @@ class HiwaterController extends DataController { $this->view->pageIn = "collapse9"; } - $this->view->pageID = "hiwater-".$acName; + $this->view->pageID = "hiwater-".$acName; + $this->_helper->layout->setLayout('heihe'); } function indexAction() diff --git a/application/default/views/scripts/heihe_header.phtml b/application/default/views/scripts/heihe_header.phtml index c20fe335..ebf49bf0 100644 --- a/application/default/views/scripts/heihe_header.phtml +++ b/application/default/views/scripts/heihe_header.phtml @@ -1,34 +1,49 @@ -
- \ No newline at end of file diff --git a/application/layouts/heihe.phtml b/application/layouts/heihe.phtml index c273931f..b7329b34 100644 --- a/application/layouts/heihe.phtml +++ b/application/layouts/heihe.phtml @@ -1,39 +1,43 @@ - - - + + + + headTitle() ?> + - - - - - - headTitle() ?> - headScript() ?> - headLink() ?> - headStyle() ?> - - - render('heihe_header.phtml') ?> -
-
breadcrumb() ?>
-
layout()->content ?>
-
- render('footer.phtml') ?> - - - - - - + + + + + + + + headScript() ?> + headLink() ?> + headStyle() ?> + + + + + +
+ render('heihe_header.phtml') ?> + + layout()->content ?> + render('footer.phtml') ?> +
+ + + + + \ No newline at end of file