public function index() { $document = $_GET['d']; global $Smarty; $documents = DocumentationModel::getAllDocuments(); return $this->renderPage(array('title' => $Smarty->_config[0]['vars']['documentationTitle'], 'content_title' => $Smarty->_config[0]['vars']['documentationContentTitle'], 'documents' => $documents), $this->_template); }
public function index() { $document = $_GET['d']; $documents = DocumentationModel::getAllDocuments(); return $this->renderPage(array('title' => 'Documentation', 'content_title' => 'ScummVM Documentation', 'documents' => $documents), $this->_template); }