Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public function index()
 {
     $links = LinksModel::getAllGroupsAndLinks();
     $this->addCSSFiles('links.css');
     return $this->renderPage(array('title' => 'Links', 'content_title' => 'Links', 'links' => $links), $this->_template);
 }