_template = 'links.tpl'; } /* Display the index page. */ 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 ); } } ?>