From dcba2bd7a21ae0415d1b743c8a8caa0ba517c0da Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Thu, 25 Apr 2002 05:21:56 +0000 Subject: Bug 137183 - tab names should be in the template not in the .cgi. Patch by gerv; r=afranke, myk. --- template/en/default/account/prefs/prefs.html.tmpl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'template/en/default/account/prefs/prefs.html.tmpl') 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" } ] %] +
[% FOREACH tab = tabs %] - [% IF tab.name == current_tab.name %] + [% IF tab.name == current_tab_name %] + [% current_tab = tab %] -- cgit v1.2.3-24-g4f1b
  [% tab.description %]