Commit 373f33fa authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 365407: Reorder tabs in userprefs.cgi - Patch by Fré©ric Buclin…

Bug 365407: Reorder tabs in userprefs.cgi - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=justdave
parent 56a98b2a
......@@ -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" } ] %]
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment