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); }
public function index() { $subprojects = SubprojectsModel::getAllSubprojects(); return $this->renderPage(array('title' => 'Subprojects', 'content_title' => 'Subprojects', 'subprojects' => $subprojects), $this->_template); }