mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Bug 365407: Reorder tabs in userprefs.cgi - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r/a=justdave
This commit is contained in:
parent
3300050416
commit
b0ef0942a2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user