From a3d2103fdc85869a699f712831a26045bd71edff Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 12 Jun 2014 07:16:17 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=86=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E4=BB=8B=E7=BB=8D=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/controllers/AboutController.php | 5 +++++ .../default/views/scripts/about/navi.phtml | 3 ++- .../default/views/scripts/about/sub.phtml | 21 +++++++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 application/default/views/scripts/about/sub.phtml diff --git a/application/default/controllers/AboutController.php b/application/default/controllers/AboutController.php index 10ff59be..370b6d3a 100755 --- a/application/default/controllers/AboutController.php +++ b/application/default/controllers/AboutController.php @@ -84,6 +84,11 @@ class AboutController extends Zend_Controller_Action $archives=new Archive($this->db); $this->view->item=$archives->getOneArchive('支持项目','about'); } + function subAction() + { + $archives=new Archive($this->db); + $this->view->item=$archives->getOneArchive('本站介绍','about'); + } function publicationAction() { $ac = $this->_request->getParam("ac"); diff --git a/application/default/views/scripts/about/navi.phtml b/application/default/views/scripts/about/navi.phtml index f7a9eedf..8bc7ed1c 100644 --- a/application/default/views/scripts/about/navi.phtml +++ b/application/default/views/scripts/about/navi.phtml @@ -1,6 +1,7 @@