public function process() { if (!parent::process()) { return false; } $this->view->assign('headlineVar', 'HL_ARTICLE_EDIT_ALL'); $this->view->assign('listAction', 'articles/listall'); $this->view->assign('list', $this->articleItems); $minMax = $this->articleList->getMinMaxDate(); $this->view->addJsVars(array('fpcmArticleSearchMode' => -1, 'fpcmArticlSearchMinDate' => date('Y-m-d', $minMax['minDate']))); $this->view->render(); }
public function process() { if (!parent::process()) { return false; } $this->view->assign('headlineVar', 'HL_ARTICLE_EDIT_ARCHIVE'); $this->view->assign('listAction', 'articles/listarchive'); $this->view->assign('list', $this->articleItems); $this->view->assign('showArchiveStatus', false); $minMax = $this->articleList->getMinMaxDate(1); $this->view->addJsVars(array('fpcmArticleSearchMode' => 1, 'fpcmArticlSearchMinDate' => date('Y-m-d', $minMax['minDate']))); $this->view->assign('permAdd', false); $this->view->assign('showDrafts', false); $this->view->render(); }