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