_template = 'pages/press.tpl'; } /* Display the index page. */ public function index() { $articles = ArticleModel::getAllArticles(); global $Smarty; return $this->renderPage( array( 'title' => $Smarty->getConfigVars('pressTitle'), 'content_title' => $Smarty->getConfigVars('pressContentTitle'), 'articles' => $articles, ), $this->_template ); } } ?>