summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-10-15 05:48:47 +0200
committerlpsolit%gmail.com <>2006-10-15 05:48:47 +0200
commitb0ddda44bee03e94f04368dd68e8c0784de4a945 (patch)
treea1df1928c46bbe1b99cb06bad981dc69c13bc65d /template/en/default/bug
parentb1ef63e5bfc0d3995245b42154686db1400b2c22 (diff)
downloadbugzilla-b0ddda44bee03e94f04368dd68e8c0784de4a945.tar.gz
bugzilla-b0ddda44bee03e94f04368dd68e8c0784de4a945.tar.xz
Bug 330555: [SECURITY] H1, H2 and H3 are not filtered in global/header.html.tmpl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave a=justdave
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/create/create.html.tmpl4
-rw-r--r--template/en/default/bug/show.html.tmpl2
2 files changed, 4 insertions, 2 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 812abb075..62f8004f2 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -26,8 +26,10 @@
[% PROCESS "global/field-descs.none.tmpl" %]
+[% title = BLOCK %]Enter [% terms.Bug %]: [% product.name FILTER html %][% END %]
+
[% PROCESS global/header.html.tmpl
- title = "Enter $terms.Bug: $product.name"
+ title = title
style_urls = [ 'skins/standard/create_attachment.css' ]
javascript_urls = [ "js/attachment.js" ]
%]
diff --git a/template/en/default/bug/show.html.tmpl b/template/en/default/bug/show.html.tmpl
index eb7457a7c..07b71c8fa 100644
--- a/template/en/default/bug/show.html.tmpl
+++ b/template/en/default/bug/show.html.tmpl
@@ -31,7 +31,7 @@
[% filtered_desc = bug.short_desc FILTER html %]
[% filtered_timestamp = bug.delta_ts FILTER time %]
[% PROCESS global/header.html.tmpl
- title = "$terms.Bug $bug.bug_id - $bug.short_desc"
+ title = "$terms.Bug $bug.bug_id - $filtered_desc"
h1 = "$terms.Bug&nbsp;$bug.bug_id"
h2 = filtered_desc
h3 = "Last modified: $filtered_timestamp"