public function index() { $downloads = GamesModel::getAllDownloads(); $sections = GamesModel::getAllSections(); $this->addCSSFiles('games.css'); return $this->renderPage(array('title' => 'Games', 'content_title' => 'Download freeware games', 'downloads' => $downloads, 'sections' => $sections, 'release_tools' => RELEASE_TOOLS, 'release_debian' => RELEASE_DEBIAN), $this->_template); }
public function index() { $downloads = GamesModel::getAllDownloads(); $sections = GamesModel::getAllSections(); global $Smarty; $this->addCSSFiles('games.css'); return $this->renderPage(array('title' => $Smarty->_config[0]['vars']['gamesTitle'], 'content_title' => $Smarty->_config[0]['vars']['gamesContentTitle'], 'downloads' => $downloads, 'sections' => $sections, 'release_tools' => RELEASE_TOOLS, 'release_debian' => RELEASE_DEBIAN), $this->_template); }