Index: core/units/admin/admin_tag_processor.php =================================================================== --- core/units/admin/admin_tag_processor.php +++ core/units/admin/admin_tag_processor.php @@ -368,6 +368,15 @@ } $tab_data =& $sections_helper->getSectionData($section_name); + $show_mode = isset($tab_data['show_mode']) ? $tab_data['show_mode'] : smNORMAL; + $debug_only = ($show_mode == smDEBUG) || ($show_mode == smSUPER_ADMIN); + + if ( $show_mode == smHIDE + || ($debug_only && !$this->Application->isDebugMode()) + ) { + continue; + } + $block_params['t'] = $tab_data['url']['t']; $block_params['pass'] = $tab_data['url']['pass']; $block_params['title'] = $tab_data['label']; @@ -1115,4 +1124,4 @@ { return $this->Application->isCachingType(CACHING_TYPE_MEMORY); } - } \ No newline at end of file + }