diff --git a/application/default/controllers/AboutController.php b/application/default/controllers/AboutController.php index 647115d9..10ff59be 100755 --- a/application/default/controllers/AboutController.php +++ b/application/default/controllers/AboutController.php @@ -12,6 +12,10 @@ class AboutController extends Zend_Controller_Action $this->view->messages = $this->messenger->getMessages(); $this->db=Zend_Registry::get('db'); $this->view->pageID = "about-".$this->_request->getActionName(); + $this->view->nav = array( + array('link'=>'/','title'=>''), + array('link'=>'/about','title'=>'关于'), + ); } function contactAction() { diff --git a/application/default/controllers/ArchivesController.php b/application/default/controllers/ArchivesController.php index 65b8d5ce..86bb3cf1 100644 --- a/application/default/controllers/ArchivesController.php +++ b/application/default/controllers/ArchivesController.php @@ -8,7 +8,11 @@ class ArchivesController extends Zend_Controller_Action { $this->view->config = Zend_Registry::get('config'); $this->db=Zend_Registry::get('db'); - $this->view->theme = new Theme(); + $this->view->theme = new Theme(); + $this->view->nav = array( + array('link'=>'/','title'=>''), + array('link'=>'/archives','title'=>'新闻'), + ); } function testAction() diff --git a/application/default/views/scripts/data/category.phtml b/application/default/views/scripts/data/category.phtml index f84f0b4d..ac469aff 100755 --- a/application/default/views/scripts/data/category.phtml +++ b/application/default/views/scripts/data/category.phtml @@ -7,7 +7,6 @@ $this->headTitle()->setSeparator(' - '); $this->nav[] = array('link'=>"/data/category",'title'=>'分类浏览'); ?>
- render('breadcrumbs.phtml'); ?> partial('data/tools.phtml'); ?>
diff --git a/application/default/views/scripts/header.phtml b/application/default/views/scripts/header.phtml index 97008942..b292c8dd 100755 --- a/application/default/views/scripts/header.phtml +++ b/application/default/views/scripts/header.phtml @@ -1,5 +1,5 @@ - +
@@ -38,29 +38,5 @@
- -
- -
- - -
\ No newline at end of file +
+ render('breadcrumbs.phtml'); ?>