Index: branches/RC/core/units/admin/admin_tag_processor.php =================================================================== diff -u -r11396 -r11405 --- branches/RC/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 11396) +++ branches/RC/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 11405) @@ -126,7 +126,7 @@ if (isset($section_data['show_mode']) && is_numeric($section_data['show_mode'])) { $show_mode = $section_data['show_mode']; // if super admin section -> show in super admin mode & debug mode - $show_section = (($show_mode & smSUPER_ADMIN) == smSUPER_ADMIN) && ($super_admin_mode || $debug_mode); + $show_section = $show_mode == smNORMAL || ((($show_mode & smSUPER_ADMIN) == smSUPER_ADMIN) && ($super_admin_mode || $debug_mode)); if (!$show_section) { // if section is in debug mode only && debug mode -> show $show_section = (($show_mode & smDEBUG) == smDEBUG) && $debug_mode; @@ -263,7 +263,7 @@ if (isset($section_data['show_mode']) && is_numeric($section_data['show_mode'])) { $show_mode = $section_data['show_mode']; // if super admin section -> show in super admin mode & debug mode - $show_section = (($show_mode & smSUPER_ADMIN) == smSUPER_ADMIN) && ($super_admin_mode || $debug_mode); + $show_section = $show_mode == smNORMAL || ((($show_mode & smSUPER_ADMIN) == smSUPER_ADMIN) && ($super_admin_mode || $debug_mode)); if (!$show_section) { // if section is in debug mode only && debug mode -> show $show_section = (($show_mode & smDEBUG) == smDEBUG) && $debug_mode; Index: branches/RC/core/kernel/constants.php =================================================================== diff -u -r11395 -r11405 --- branches/RC/core/kernel/constants.php (.../constants.php) (revision 11395) +++ branches/RC/core/kernel/constants.php (.../constants.php) (revision 11405) @@ -56,6 +56,8 @@ safeDefine('DBG_TOOLBAR_BUTTONS', 0); } + + define('smNORMAL', 1); // show section even, if they were marked as smDEBUG or smSUPER_ADMIN before define('smDEBUG', 2); // show section in debug mode only define('smSUPER_ADMIN', 4); // show section in super admin & debug mode