Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public function index()
 {
     $document = $_GET['d'];
     $documents = DocumentationModel::getAllDocuments();
     return $this->renderPage(array('title' => 'Documentation', 'content_title' => 'ScummVM Documentation', 'documents' => $documents), $this->_template);
 }