summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/header.html.tmpl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-07-27 05:49:02 +0200
committergerv%gerv.net <>2002-07-27 05:49:02 +0200
commitc30cf5bb3eb1149ea43ae6018fae22164d6cd010 (patch)
treed6a1d264a3411618b943fa132d0988940d92714a /template/en/default/global/header.html.tmpl
parent18b8582df8e89acc8dc7defa7b6848928327e621 (diff)
downloadbugzilla-c30cf5bb3eb1149ea43ae6018fae22164d6cd010.tar.gz
bugzilla-c30cf5bb3eb1149ea43ae6018fae22164d6cd010.tar.xz
Bug 158658 - relogin.cgi should use a template. This also adds the ability to localise messages. Patch by gerv; r=burnus.
Diffstat (limited to 'template/en/default/global/header.html.tmpl')
-rw-r--r--template/en/default/global/header.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index a6fe70190..d4cd092f9 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -33,6 +33,10 @@
# message: string. A message to display to the user. May contain HTML.
#%]
+[% IF message %]
+ [% PROCESS global/messages.html.tmpl %]
+[% END %]
+
[% DEFAULT
h1 = title
h2 = ""