Пример #1
0
 public function index()
 {
     $contents = FAQModel::getFAQ();
     $modified = FAQModel::getLastUpdated();
     $this->addCSSFiles('faq.css');
     return $this->renderPage(array('title' => 'F.A.Q.', 'content_title' => 'FAQ :: Frequently Asked Questions', 'contents' => $contents, 'modified' => $modified), $this->_template);
 }
Пример #2
0
 public function index()
 {
     $contents = FAQModel::getFAQ();
     $modified = FAQModel::getLastUpdated();
     global $Smarty;
     $this->addCSSFiles('faq.css');
     return $this->renderPage(array('title' => $Smarty->_config[0]['vars']['faqTitle'], 'content_title' => $Smarty->_config[0]['vars']['faqContentTitle'], 'contents' => $contents, 'modified' => $modified), $this->_template);
 }