summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/header.html.tmpl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-19 03:56:11 +0200
committergerv%gerv.net <>2002-04-19 03:56:11 +0200
commitd033109bdc8729e9ef46fc82ad200c7d2cda5a1a (patch)
treec5f4c8adf0c7da3593567e4a51895c8f9a9b4114 /template/en/default/global/header.html.tmpl
parentb48d8ed62c0cf35960d4a454e084ae7ba8f8a71d (diff)
downloadbugzilla-d033109bdc8729e9ef46fc82ad200c7d2cda5a1a.tar.gz
bugzilla-d033109bdc8729e9ef46fc82ad200c7d2cda5a1a.tar.xz
Bug 135707 - rearrange templates to normalise filenames, and create directory structure which allows for localised versions of the templates. Earlier versions of these templates can be found, cvs removed, scattered around bugzilla/template/default; but there are no substantial changes between their initial checkin there and here.
Diffstat (limited to 'template/en/default/global/header.html.tmpl')
-rw-r--r--template/en/default/global/header.html.tmpl64
1 files changed, 64 insertions, 0 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
new file mode 100644
index 000000000..4dc89e053
--- /dev/null
+++ b/template/en/default/global/header.html.tmpl
@@ -0,0 +1,64 @@
+<!-- 1.0@bugzilla.org -->
+[% DEFAULT
+ title = ""
+ h1 = title
+ h2 = ""
+ extra = ""
+ jscript = ""
+ style = ""
+ message = ""
+%]
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+ <head>
+ <title>[% title FILTER html %]</title>
+
+ [% Param('headerhtml') %]
+
+ [% jscript %]
+
+ <script type="application/x-javascript">
+ <!--
+ [%+ INCLUDE "help/show-hide.js.tmpl" %]
+ // -->
+ </script>
+
+ [% IF style %]
+ <style type="text/css">
+ [% style %]
+ </style>
+ [% END %]
+
+ [% IF style_url %]
+ <link href="[% style_url %]" rel="stylesheet" type="text/css">
+ [% END %]
+
+ </head>
+
+ <body [% Param('bodyhtml') %][% " " %][% extra %]>
+
+ [% PerformSubsts(Param('bannerhtml')) %]
+
+[% IF h1 || h2 %]
+ <table border="0" cellspacing="0">
+ <tr>
+ <td valign="top" align="left">
+ <table border="0" cellpadding="0" cellspacing="2">
+ <tr>
+ <td valign="top" align="left" nowrap>
+ <font size="+1"><b>[% h1 %]</b></font>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td valign="middle">&nbsp;</td>
+ <td valign="middle" align="left">[% h2 %]</td>
+ </tr>
+ </table>
+[% END %]
+
+[% IF message %]
+ <table width="100%" cellspacing="0" cellpadding="5" border="1"><tr><td>
+ <font color="green">[% message %]</font>
+ </td></tr></table>
+[% END %]