Index: branches/5.0.x/core/units/sections/site_config_tp.php =================================================================== diff -u -r12266 -r12298 --- branches/5.0.x/core/units/sections/site_config_tp.php (.../site_config_tp.php) (revision 12266) +++ branches/5.0.x/core/units/sections/site_config_tp.php (.../site_config_tp.php) (revision 12298) @@ -1,6 +1,6 @@ Array ('image' => 'show_structure', 'title' => 'Browse Mode'), - 4 => Array ('image' => 'content_mode', 'title' => 'Content Mode'), - 2 => Array ('image' => 'show_all', 'title' => 'Layout Mode'), - 3 => Array ('image' => 'show_all', 'title' => 'Design Mode'), + EDITING_MODE_BROWSE => Array ('image' => 'show_structure', 'title' => 'Browse Mode'), + EDITING_MODE_CONTENT => Array ('image' => 'content_mode', 'title' => 'Content Mode'), + EDITING_MODE_DESIGN => Array ('image' => 'show_all', 'title' => 'Design Mode'), ); $preset_name = $this->Application->ConfigValue('AdminConsoleInterface');