Ejemplo n.º 1
0
 protected function topLevelInterface()
 {
     if ($this->user->hasPerm('viewcontentadmin')) {
         $pages = CMSPage::getContentPages();
         $this->smarty->assign('pages', $pages);
         $this->template = 'admin/content.tpl';
     }
 }