add_tab('cms_menu_build', 'build', 'cms_menu_build_block', 'block'); $this->add_tab('cms_menu_build', 'pages', 'cms_menu_pages', 'list'); } $this->add_tab('cms_menu_build', 'frbr_pages', 'frbr_pages_menu', 'list'); } if($cms_active) { $this->add_tab('cms_menu_editorial', 'editorial', 'cms_menu_editorial_gest', 'list'); $this->add_tab('cms_menu_editorial', 'section', 'cms_new_section_form_title', 'edit', '&id=new'); $this->add_tab('cms_menu_editorial', 'article', 'cms_new_article_form_title', 'edit', '&id=new'); $this->add_tab('cms_menu_editorial', 'collection', 'cms_collections_form_title'); } if($cms_active && (SESSrights & CMS_BUILD_AUTH)) { $modules_parser = new cms_modules_parser(); $managed_modules = $modules_parser->get_managed_modules(); foreach($managed_modules as $managed_module){ $this->add_tab('cms_manage_module_menu', 'manage', $managed_module['name'], $managed_module['sub'], '&action=get_form'); } } } }