From 6168aaafa450bd016688a8737990f6470cbd6f84 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 18 Jun 2013 03:05:05 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=BB=91=E6=B2=B3logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/controllers/HeiheController.php | 1 + .../default/controllers/HiwaterController.php | 3 +- .../default/views/scripts/heihe_header.phtml | 81 +++++++++++-------- application/layouts/heihe.phtml | 80 +++++++++--------- 4 files changed, 93 insertions(+), 72 deletions(-) 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