public function index() { $links = LinksModel::getAllGroupsAndLinks(); global $Smarty; $this->addCSSFiles('links.css'); return $this->renderPage(array('title' => $Smarty->_config[0]['vars']['linksTitle'], 'content_title' => $Smarty->_config[0]['vars']['linksContentTitle'], 'links' => $links), $this->_template); }
public function index() { $links = LinksModel::getAllGroupsAndLinks(); $this->addCSSFiles('links.css'); return $this->renderPage(array('title' => 'Links', 'content_title' => 'Links', 'links' => $links), $this->_template); }