change tab order in server, db and table menus

This commit is contained in:
Crack
2010-07-26 20:56:19 +02:00
parent 812748a50d
commit b2674e9d59
3 changed files with 38 additions and 35 deletions

View File

@@ -118,20 +118,22 @@ $tabs = array();
$tabs[] =& $tab_structure;
$tabs[] =& $tab_sql;
$tabs[] =& $tab_search;
if (PMA_Tracker::isActive()) {
$tabs[] =& $tab_tracking;
}
$tabs[] =& $tab_qbe;
$tabs[] =& $tab_export;
if (! $db_is_information_schema) {
$tabs[] =& $tab_import;
if ($cfgRelation['designerwork']) {
$tabs[] =& $tab_designer;
}
$tabs[] =& $tab_operation;
if ($is_superuser) {
$tabs[] =& $tab_privileges;
}
}
if (PMA_Tracker::isActive()) {
$tabs[] =& $tab_tracking;
}
if (! $db_is_information_schema) {
if ($cfgRelation['designerwork']) {
$tabs[] =& $tab_designer;
}
if ($is_superuser || $GLOBALS['cfg']['AllowUserDropDatabase']) {
$tabs[] =& $tab_drop;
}