Ejemplo n.º 1
0
 public function index()
 {
     $downloads = DownloadsModel::getAllDownloads();
     $sections = DownloadsModel::getAllSections();
     $recommendedDownloadsJS = $this->getRecommendedDownloadsJS($downloads);
     $this->addCSSFiles('downloads.css');
     return $this->renderPage(array('title' => 'Downloads', 'content_title' => 'Download ResidualVM', 'downloads' => $downloads, 'sections' => $sections, 'release_tools' => RELEASE_TOOLS, 'release_debian' => RELEASE_DEBIAN, 'recommendedDownloadsJS' => $recommendedDownloadsJS), $this->_template);
 }
Ejemplo n.º 2
0
 public function index()
 {
     $downloads = DownloadsModel::getAllDownloads();
     $sections = DownloadsModel::getAllSections();
     $recommendedDownloadsJS = $this->getRecommendedDownloadsJS($downloads);
     global $Smarty;
     $this->addCSSFiles('downloads.css');
     return $this->renderPage(array('title' => $Smarty->_config[0]['vars']['downloadsTitle'], 'content_title' => $Smarty->_config[0]['vars']['downloadsContentTitle'], 'downloads' => $downloads, 'sections' => $sections, 'release_tools' => RELEASE_TOOLS, 'release_debian' => RELEASE_DEBIAN, 'recommendedDownloadsJS' => $recommendedDownloadsJS), $this->_template);
 }