Beispiel #1
0
 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);
 }
Beispiel #2
0
 public function index()
 {
     $credits = CreditsModel::getAllCredits();
     $this->addCSSFiles('credits.css');
     return $this->renderPage(array('title' => 'Credits', 'content_title' => 'Credits', 'credits' => $credits), $this->_template);
 }