From 91341bcfc6d9e2f06b3abf3f73e05c2c60fbd30e Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Sun, 7 Apr 2002 11:13:31 +0000 Subject: Bug 133423 - Audit templates for FILTER usage r=gerv, justdave --- template/default/attachment/created.atml | 2 +- template/default/attachment/edit.atml | 6 +++--- template/default/attachment/list.atml | 4 ++-- template/default/attachment/viewall.atml | 5 +++-- 4 files changed, 9 insertions(+), 8 deletions(-) (limited to 'template/default/attachment') diff --git a/template/default/attachment/created.atml b/template/default/attachment/created.atml index ab5e5ef9c..c46afe06b 100644 --- a/template/default/attachment/created.atml +++ b/template/default/attachment/created.atml @@ -28,7 +28,7 @@

- Attachment #[% attachid %] + Attachment #[% attachid %] to Bug #[% bugid %] Created

diff --git a/template/default/attachment/edit.atml b/template/default/attachment/edit.atml index 599aff00a..1d06bfb6f 100755 --- a/template/default/attachment/edit.atml +++ b/template/default/attachment/edit.atml @@ -153,10 +153,10 @@ Description:
-
+
MIME Type:
-
+
Flags:
patch @@ -165,7 +165,7 @@ [% IF statusdefs.size %] Status:
[% FOREACH def = statusdefs %] - [% def.name %]
+ [% def.name FILTER html %]
[% END %] [% END %] diff --git a/template/default/attachment/list.atml b/template/default/attachment/list.atml index 72006cf29..12eeb03e7 100755 --- a/template/default/attachment/list.atml +++ b/template/default/attachment/list.atml @@ -43,7 +43,7 @@ [% IF attachment.ispatch %] patch [% ELSE %] - [% attachment.contenttype %] + [% attachment.contenttype FILTER html %] [% END %] @@ -55,7 +55,7 @@ none [% ELSE %] [% FOREACH s = attachment.statuses %] - [% s %]
+ [% s FILTER html %]
[% END %] [% END %] diff --git a/template/default/attachment/viewall.atml b/template/default/attachment/viewall.atml index 0500a09d4..c3cca2ff3 100755 --- a/template/default/attachment/viewall.atml +++ b/template/default/attachment/viewall.atml @@ -19,10 +19,11 @@ # Contributor(s): Myk Melez #%] +[% filtered_summary = bugsummary FILTER html %] [% INCLUDE global/header title = "View All Attachments for Bug #$bugid" h1 = "View All Attachments for Bug #$bugid" - h2 = bugsummary + h2 = filtered_summary style = " th { text-align: right; vertical-align: top; } td { text-align: left; vertical-align: top; } @@ -67,7 +68,7 @@ none [% ELSE %] [% FOREACH s = a.statuses %] - [% s %]
+ [% s FILTER html %]
[% END %] [% END %] -- cgit v1.2.3-24-g4f1b