I just noticed that Show All isn't working correctly after this adjustment. I attempted to comment out Show All as well. As shown below.
Text Formatted Code
if ($advanced_editormode) {
$navbar = new navbar;
if (!empty ($previewContent)) {
$navbar->add_menuitem($LANG24[79],'showhideEditorDiv("preview",0);return false;',true);
$navbar->add_menuitem($LANG24[80],'showhideEditorDiv("editor",1);return false;',true);
$navbar->add_menuitem($LANG24[81],'showhideEditorDiv("publish",2);return false;',true);
// $navbar->add_menuitem($LANG24[82],'showhideEditorDiv("images",3);return false;',true);
$navbar->add_menuitem($LANG24[83],'showhideEditorDiv("archive",4);return false;',true);
$navbar->add_menuitem($LANG24[84],'showhideEditorDiv("perms",5);return false;',true);
// $navbar->add_menuitem($LANG24[85],'showhideEditorDiv("all",6);return false;',true);
} else {
$navbar->add_menuitem($LANG24[80],'showhideEditorDiv("editor",0);return false;',true);
$navbar->add_menuitem($LANG24[81],'showhideEditorDiv("publish",1);return false;',true);
// $navbar->add_menuitem($LANG24[82],'showhideEditorDiv("images",2);return false;',true);
$navbar->add_menuitem($LANG24[83],'showhideEditorDiv("archive",3);return false;',true);
$navbar->add_menuitem($LANG24[84],'showhideEditorDiv("perms",4);return false;',true);
// $navbar->add_menuitem($LANG24[85],'showhideEditorDiv("all",5);return false;',true);
}
Though when I do this, the "Permissions" tab stops working. Their must be some relationship between the number of tabs or the order. I am not sure since I don't understand PHP. I would like to remove "Show All" as well after looking at it. I like the separation of Tasks for creating a story. IE: Editor, Publish Options, Archive Options, & Permissions.
Perhaps suprsidr or Dirk can take another look at this. For now I just left Show All visible. So that the Permissions tab will continue to work.