public function getGame($target, $version, $oldLayout) { $game = CompatibilityModel::getGameData($version, $target); global $Smarty; $this->addCSSFiles(array('chart.css', 'compatibility.css')); return $this->renderPage(array('title' => preg_replace('/{version}/', $version, $Smarty->_config[0]['vars']['compatibilityTitle']), 'content_title' => preg_replace('/{version}/', $version, $Smarty->_config[0]['vars']['compatibilityContentTitle']), 'version' => $version, 'game' => $game, 'old_layout' => $oldLayout, 'support_level_desc' => $this->_supportLevelDesc, 'support_level_class' => $this->_supportLevelClass), $this->_template_details); }
public function getGame($target, $version, $oldLayout) { $game = CompatibilityModel::getGameData($version, $target); $this->addCSSFiles(array('chart.css', 'compatibility.css')); return $this->renderPage(array('title' => "Compatibility - {$version}", 'content_title' => "{$version} Compatibility", 'version' => $version, 'game' => $game, 'old_layout' => $oldLayout, 'support_level_desc' => $this->_supportLevelDesc, 'support_level_class' => $this->_supportLevelClass), $this->_template_details); }