]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 365407: Reorder tabs in userprefs.cgi - Patch by Frédéric Buclin <LpSolit@gmail...
authorlpsolit%gmail.com <>
Sun, 31 Dec 2006 03:53:52 +0000 (03:53 +0000)
committerlpsolit%gmail.com <>
Sun, 31 Dec 2006 03:53:52 +0000 (03:53 +0000)
template/en/default/account/prefs/prefs.html.tmpl
userprefs.cgi

index 5f163a89941c5a2a23de8b9aad45d807d5454b21..7d5f11558419f3e39df014ebb52efba05860a733 100644 (file)
    style_urls = ['skins/standard/admin.css']
  %]
 
-[% tabs = [ { name => "account", label => "Account Preferences", 
-              link => "userprefs.cgi?tab=account", saveable => "1" },
-            { name => "settings", label => "General Preferences", 
+[% tabs = [{ name => "settings", label => "General Preferences",
               link => "userprefs.cgi?tab=settings", saveable => "1" },
             { name => "email", label => "Email Preferences", 
               link => "userprefs.cgi?tab=email", saveable => "1" },
             { name => "saved-searches", label => "Saved Searches", 
               link => "userprefs.cgi?tab=saved-searches", saveable => "1" },
+            { name => "account", label => "Name and Password",
+              link => "userprefs.cgi?tab=account", saveable => "1" },
             { name => "permissions", label => "Permissions", 
               link => "userprefs.cgi?tab=permissions", saveable => "0" } ] %]
 
index 14746ada14d4988200cc045e09de7de19ee2eb06..8e4cf5576301d901ad4e031e276a573bfe61e5d2 100755 (executable)
@@ -506,7 +506,7 @@ $cgi->param('Bugzilla_password', $bugzilla_password);
 
 $vars->{'changes_saved'} = $cgi->param('dosave');
 
-my $current_tab_name = $cgi->param('tab') || "account";
+my $current_tab_name = $cgi->param('tab') || "settings";
 
 # The SWITCH below makes sure that this is valid
 trick_taint($current_tab_name);