summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-25 07:21:56 +0200
committergerv%gerv.net <>2002-04-25 07:21:56 +0200
commitdcba2bd7a21ae0415d1b743c8a8caa0ba517c0da (patch)
tree56da3a7839deb45a5054a340d3b3eccd352bd13e /template
parentf11fd90d7ac7e03535acbc9217e2352ea888e45d (diff)
downloadbugzilla-dcba2bd7a21ae0415d1b743c8a8caa0ba517c0da.tar.gz
bugzilla-dcba2bd7a21ae0415d1b743c8a8caa0ba517c0da.tar.xz
Bug 137183 - tab names should be in the template not in the .cgi. Patch by gerv; r=afranke, myk.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/account/prefs/prefs.html.tmpl12
1 files changed, 11 insertions, 1 deletions
diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl
index 17ce7b5d6..93f004dea 100644
--- a/template/en/default/account/prefs/prefs.html.tmpl
+++ b/template/en/default/account/prefs/prefs.html.tmpl
@@ -49,13 +49,23 @@
}"
%]
+[% tabs = [ { name => "account", description => "Account settings",
+ saveable => "1" },
+ { name => "email", description => "Email settings",
+ saveable => "1" },
+ { name => "footer", description => "Page footer",
+ saveable => "1" },
+ { name => "permissions", description => "Permissions",
+ saveable => "0" } ] %]
+
<center>
<table cellspacing="0" cellpadding="10" border="0" width="100%">
<tr>
<td class="spacer">&nbsp;</td>
[% FOREACH tab = tabs %]
- [% IF tab.name == current_tab.name %]
+ [% IF tab.name == current_tab_name %]
+ [% current_tab = tab %]
<td align="center" bgcolor="lightblue" class="selected_tab">
[% tab.description %]
</td>