From eb793d82a1ba682ea5a712f874f707ac43c5e6f6 Mon Sep 17 00:00:00 2001 From: wlx Date: Wed, 22 Feb 2012 12:21:22 +0000 Subject: [PATCH] add author initial version --- .../default/controllers/AuthorController.php | 22 ++++++++++++++++ .../default/views/scripts/author/index.phtml | 25 ++++++++++++++++++ .../default/views/scripts/author/navi.phtml | 26 +++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 application/default/controllers/AuthorController.php create mode 100755 application/default/views/scripts/author/index.phtml create mode 100644 application/default/views/scripts/author/navi.phtml diff --git a/application/default/controllers/AuthorController.php b/application/default/controllers/AuthorController.php new file mode 100644 index 00000000..ab94f5a4 --- /dev/null +++ b/application/default/controllers/AuthorController.php @@ -0,0 +1,22 @@ +view->config = Zend_Registry::get('config'); + $this->db=Zend_Registry::get('db'); + $this->messenger=$this->_helper->getHelper('FlashMessenger'); + $this->view->messages = $this->messenger->getMessages(); + } + function indexAction() + { + } + + + function helpAction() + { + } + +} + diff --git a/application/default/views/scripts/author/index.phtml b/application/default/views/scripts/author/index.phtml new file mode 100755 index 00000000..049074d0 --- /dev/null +++ b/application/default/views/scripts/author/index.phtml @@ -0,0 +1,25 @@ +headTitle($this->config->title->site); +$this->headTitle($this->config->title->author); +$this->headTitle()->setSeparator(' - '); +$this->headLink()->appendStylesheet('/css/mdreview.css'); +$this->breadcrumb('首页'); +$this->breadcrumb($this->config->title->author); +$this->breadcrumb()->setSeparator(' > '); +?> + +
+ +
\ No newline at end of file diff --git a/application/default/views/scripts/author/navi.phtml b/application/default/views/scripts/author/navi.phtml new file mode 100644 index 00000000..dcef2bd6 --- /dev/null +++ b/application/default/views/scripts/author/navi.phtml @@ -0,0 +1,26 @@ + + + \ No newline at end of file