示例#1
0
 public function revisionsAction()
 {
     SxCms_Acl::requireAcl('page', 'page.revision.index');
     $wizard = new Zend_Session_Namespace('Cms_PageWizard');
     $system = new Zend_Session_Namespace('System');
     $pageProxy = new SxCms_Page_Proxy();
     $revisions = $pageProxy->getPageRevisions($wizard->page->getId(), $system->lng);
     $wizard->page->setLanguage($this->_getParam('lng'));
     $this->view->revisions = $revisions;
     $this->view->page = $wizard->page;
 }