From 4650377942c2e5d715f01f8214a9c01bb281bb4a Mon Sep 17 00:00:00 2001 From: "zach%zachlipton.com" <> Date: Mon, 8 Oct 2001 00:50:22 +0000 Subject: Fix for bug 98074: Attachment manager doesn't html_escape bug titles. r1=caillon , r2=Jake --- template/default/attachment/edit.atml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'template/default/attachment') 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 Bug #[% bugid %][% END %] +[% h2 = BLOCK %][% bugsummary FILTER html %][% END %] + [% INCLUDE global/header - title = "Edit Attachment #$attachid for Bug #$bugid" - h1 = "Edit Attachment #$attachid for Bug #$bugid" - h2 = bugsummary + title = title + h1 = h1 + h2 = h2 style = " th { text-align: right; vertical-align: top; } td { text-align: left; vertical-align: top; } -- cgit v1.2.3-24-g4f1b