summaryrefslogtreecommitdiffstats
path: root/template/en/default/account
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-08-13 15:54:35 +0200
committerbbaetz%student.usyd.edu.au <>2002-08-13 15:54:35 +0200
commit9b22dcde525cb7e0b0b88b80d627e7e1d3dd5e6c (patch)
tree5ad90a3800a05fbfc2cecb0c5f5f4dba396d852d /template/en/default/account
parentebdbe669e45bfbfecb7330475a878583e09763ca (diff)
downloadbugzilla-9b22dcde525cb7e0b0b88b80d627e7e1d3dd5e6c.tar.gz
bugzilla-9b22dcde525cb7e0b0b88b80d627e7e1d3dd5e6c.tar.xz
Bug 160710 - Taint checking causes problem with rename function
r=joel, preed
Diffstat (limited to 'template/en/default/account')
-rw-r--r--template/en/default/account/prefs/prefs.html.tmpl11
1 files changed, 10 insertions, 1 deletions
diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl
index d455b5b66..327218e17 100644
--- a/template/en/default/account/prefs/prefs.html.tmpl
+++ b/template/en/default/account/prefs/prefs.html.tmpl
@@ -100,7 +100,16 @@
<form method="post" action="userprefs.cgi">
<input type="hidden" name="tab" value="[% current_tab.name %]">
- [% PROCESS "account/prefs/${current_tab.name}.html.tmpl" IF current_tab.name.defined %]
+ [%# 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 %]
[% IF current_tab.saveable %]
<input type="hidden" name="dosave" value="1">