summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/prefs/prefs.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/account/prefs/prefs.html.tmpl')
-rw-r--r--template/en/default/account/prefs/prefs.html.tmpl17
1 files changed, 9 insertions, 8 deletions
diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl
index ae3f9c842..2c560f5b6 100644
--- a/template/en/default/account/prefs/prefs.html.tmpl
+++ b/template/en/default/account/prefs/prefs.html.tmpl
@@ -23,14 +23,6 @@
#%]
[% filtered_login = user.login FILTER html %]
-[% PROCESS global/header.html.tmpl
- title = "User Preferences"
- subheader = filtered_login
- style_urls = ['skins/standard/admin.css']
- javascript_urls = ['js/util.js', 'js/field.js']
- doc_section = "userpreferences.html"
- yui = ['autocomplete']
- %]
[% tabs = [{ name => "settings", label => "General Preferences",
link => "userprefs.cgi?tab=settings", saveable => "1" },
@@ -52,6 +44,15 @@
[% END %]
[% END %]
+[% PROCESS global/header.html.tmpl
+ title = current_tab.label
+ subheader = filtered_login
+ style_urls = ['skins/standard/admin.css']
+ javascript_urls = ['js/util.js', 'js/field.js']
+ doc_section = "userpreferences.html"
+ yui = ['autocomplete']
+ %]
+
[% WRAPPER global/tabs.html.tmpl
tabs = tabs
current_tab = current_tab