summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-12-31 04:53:52 +0100
committerlpsolit%gmail.com <>2006-12-31 04:53:52 +0100
commit373f33fabc6d495d197fcf0a997b716d61f1e16d (patch)
tree5028ea6bc86ca807e55d46957ee038ca7d7b761d
parent56a98b2af24af47f667dd290b2be102755fd634f (diff)
downloadbugzilla-373f33fabc6d495d197fcf0a997b716d61f1e16d.tar.gz
bugzilla-373f33fabc6d495d197fcf0a997b716d61f1e16d.tar.xz
Bug 365407: Reorder tabs in userprefs.cgi - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
-rw-r--r--template/en/default/account/prefs/prefs.html.tmpl6
-rwxr-xr-xuserprefs.cgi2
2 files changed, 4 insertions, 4 deletions
diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl
index 5f163a899..7d5f11558 100644
--- a/template/en/default/account/prefs/prefs.html.tmpl
+++ b/template/en/default/account/prefs/prefs.html.tmpl
@@ -43,14 +43,14 @@
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" } ] %]
diff --git a/userprefs.cgi b/userprefs.cgi
index 14746ada1..8e4cf5576 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -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);