public function index() { $credits = CreditsModel::getAllCredits(); global $Smarty; $this->addCSSFiles('credits.css'); return $this->renderPage(array('title' => $Smarty->_config[0]['vars']['creditsTitle'], 'content_title' => $Smarty->_config[0]['vars']['creditsContentTitle'], 'credits' => $credits), $this->_template); }
public function index() { $credits = CreditsModel::getAllCredits(); $this->addCSSFiles('credits.css'); return $this->renderPage(array('title' => 'Credits', 'content_title' => 'Credits', 'credits' => $credits), $this->_template); }