Пример #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);
 }
Пример #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);
 }