template = 'pages/faq.tpl'; } /* Display the index page. */ public function index() { $contents = FAQModel::getFAQ(); $modified = FAQModel::getLastUpdated(); global $Smarty; return $this->renderPage( array( 'title' => $Smarty->getConfigVars('faqTitle'), 'content_title' => $Smarty->getConfigVars('faqContentTitle'), 'contents' => $contents, 'modified' => $modified, ), $this->template ); } }