diff options
author | zach%zachlipton.com <> | 2001-10-08 02:50:22 +0200 |
---|---|---|
committer | zach%zachlipton.com <> | 2001-10-08 02:50:22 +0200 |
commit | 4650377942c2e5d715f01f8214a9c01bb281bb4a (patch) | |
tree | e1590d271adabfc07f7b884f6549bdaab8e1ca8f /template/default/attachment/edit.atml | |
parent | 15b28b225f4919d8362228929a7dd584e7723dfa (diff) | |
download | bugzilla-4650377942c2e5d715f01f8214a9c01bb281bb4a.tar.gz bugzilla-4650377942c2e5d715f01f8214a9c01bb281bb4a.tar.xz |
Fix for bug 98074: Attachment manager doesn't html_escape bug titles.
r1=caillon <mailto:caillon@returnzero.com>, r2=Jake
<mailto:jake@acutex.net>
Diffstat (limited to 'template/default/attachment/edit.atml')
-rwxr-xr-x | template/default/attachment/edit.atml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/template/default/attachment/edit.atml b/template/default/attachment/edit.atml index 742822369..e1fc3e035 100755 --- a/template/default/attachment/edit.atml +++ b/template/default/attachment/edit.atml @@ -1,7 +1,12 @@ +[%# Define strings that will serve as the title and header of this page %] +[% title = BLOCK %]Edit Attachment #[% attachid %] for Bug #[% bugid %][% END %] +[% h1 = BLOCK %]Edit Attachment #[% attachid %] for <a href="show_bug.cgi?id=[% bugid %]">Bug #[% bugid %]</a>[% END %] +[% h2 = BLOCK %][% bugsummary FILTER html %][% END %] + [% INCLUDE global/header - title = "Edit Attachment #$attachid for Bug #$bugid" - h1 = "Edit Attachment #$attachid for <a href=\"show_bug.cgi?id=$bugid\">Bug #$bugid</a>" - h2 = bugsummary + title = title + h1 = h1 + h2 = h2 style = " th { text-align: right; vertical-align: top; } td { text-align: left; vertical-align: top; } |