Пример #1
0
 public function index()
 {
     $subprojects = SubprojectsModel::getAllSubprojects();
     global $Smarty;
     return $this->renderPage(array('title' => $Smarty->_config[0]['vars']['subprojectsTitle'], 'content_title' => $Smarty->_config[0]['vars']['subprojectsContentTitle'], 'subprojects' => $subprojects), $this->_template);
 }
Пример #2
0
 public function index()
 {
     $subprojects = SubprojectsModel::getAllSubprojects();
     return $this->renderPage(array('title' => 'Subprojects', 'content_title' => 'Subprojects', 'subprojects' => $subprojects), $this->_template);
 }