diff options
author | gerv%gerv.net <> | 2003-03-25 06:33:06 +0100 |
---|---|---|
committer | gerv%gerv.net <> | 2003-03-25 06:33:06 +0100 |
commit | d97f96781715a3d13dc99deb616aa63c4aeb42d5 (patch) | |
tree | c2f5726f33e2c5226ebaf17e8ee7ca0e19a3dbac /template/en/default/account | |
parent | 30beadb614663cc4313b5101f23f55c2ce79893e (diff) | |
download | bugzilla-d97f96781715a3d13dc99deb616aa63c4aeb42d5.tar.gz bugzilla-d97f96781715a3d13dc99deb616aa63c4aeb42d5.tar.xz |
Bug 195621 - Back out taint-related changes from bug 160710. Patch by gerv; r,a=justdave.
Diffstat (limited to 'template/en/default/account')
-rw-r--r-- | template/en/default/account/prefs/prefs.html.tmpl | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl index 9d2b08051..5892cb40e 100644 --- a/template/en/default/account/prefs/prefs.html.tmpl +++ b/template/en/default/account/prefs/prefs.html.tmpl @@ -101,16 +101,8 @@ <form name="userprefsform" method="post" action="userprefs.cgi"> <input type="hidden" name="tab" value="[% current_tab.name %]"> - [%# See bug 160710 for why this is done this way %] - [% IF current_tab.name == "account" %] - [% PROCESS "account/prefs/account.html.tmpl" %] - [% ELSIF current_tab.name == "email" %] - [% PROCESS "account/prefs/email.html.tmpl" %] - [% ELSIF current_tab.name == "footer" %] - [% PROCESS "account/prefs/footer.html.tmpl" %] - [% ELSIF current_tab.name == "permissions" %] - [% PROCESS "account/prefs/permissions.html.tmpl" %] - [% END %] + [% PROCESS "account/prefs/${current_tab.name}.html.tmpl" + IF current_tab.name.defined %] [% IF current_tab.saveable %] <input type="hidden" name="dosave" value="1"> |