From 373f33fabc6d495d197fcf0a997b716d61f1e16d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 31 Dec 2006 03:53:52 +0000 Subject: Bug 365407: Reorder tabs in userprefs.cgi - Patch by Frédéric Buclin r/a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/account/prefs/prefs.html.tmpl | 6 +++--- userprefs.cgi | 2 +- 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); -- cgit v1.2.3-24-g4f1b