diff --git a/application/admin/controllers/SysController.php b/application/admin/controllers/SysController.php index 62addfa3..852da65b 100644 --- a/application/admin/controllers/SysController.php +++ b/application/admin/controllers/SysController.php @@ -7,7 +7,8 @@ class Admin_SysController extends Zend_Controller_Action $this->view->config = Zend_Registry::get('config'); $this->messenger=$this->_helper->getHelper('FlashMessenger'); $this->view->messages = $this->messenger->getMessages(); - $this->_helper->layout->setLayout('administry');//新UI + $this->_helper->layout->setLayout('administry');//新UI + $this->view->theme = new Theme(); } function postDispatch() diff --git a/application/admin/views/scripts/sys/recovery.phtml b/application/admin/views/scripts/sys/recovery.phtml index d97c28f5..4cf11335 100644 --- a/application/admin/views/scripts/sys/recovery.phtml +++ b/application/admin/views/scripts/sys/recovery.phtml @@ -2,7 +2,8 @@ $this->headTitle($this->config->title->site); $this->headTitle('后台管理'); $this->headTitle()->setSeparator(' - '); - $this->headLink()->appendStylesheet('/css/admin.css'); + $this->headLink()->appendStylesheet('/css/admin.css'); + $this->theme->AppendPlus($this,'colorbox'); ?>