diff options
author | bbaetz%student.usyd.edu.au <> | 2002-04-07 13:13:31 +0200 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-04-07 13:13:31 +0200 |
commit | 91341bcfc6d9e2f06b3abf3f73e05c2c60fbd30e (patch) | |
tree | ae48a5143c8a977e8a15bc2ad9faf1defd38f70b /template/default/attachment | |
parent | ae8a18de80c43febc782c4f398e75fdf89281601 (diff) | |
download | bugzilla-91341bcfc6d9e2f06b3abf3f73e05c2c60fbd30e.tar.gz bugzilla-91341bcfc6d9e2f06b3abf3f73e05c2c60fbd30e.tar.xz |
Bug 133423 - Audit templates for FILTER usage
r=gerv, justdave
Diffstat (limited to 'template/default/attachment')
-rw-r--r-- | template/default/attachment/created.atml | 2 | ||||
-rwxr-xr-x | template/default/attachment/edit.atml | 6 | ||||
-rwxr-xr-x | template/default/attachment/list.atml | 4 | ||||
-rwxr-xr-x | template/default/attachment/viewall.atml | 5 |
4 files changed, 9 insertions, 8 deletions
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 @@ <tr> <td> <h2> - <a title="[% description %]" href="attachment.cgi?id=[% attachid %]&action=edit">Attachment #[% attachid %]</a> + <a title="[% description FILTER html %]" href="attachment.cgi?id=[% attachid %]&action=edit">Attachment #[% attachid %]</a> to <a href="show_bug.cgi?id=[% bugid %]">Bug #[% bugid %]</a> Created </h2> 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 @@ <td width="25%"> <small> <b>Description:</b><br> - <textarea rows="3" cols="25" name="description" wrap="soft">[% description %]</textarea><br> + <textarea rows="3" cols="25" name="description" wrap="soft">[% description FILTER html %]</textarea><br> <b>MIME Type:</b><br> - <input type="text" size="20" name="contenttypeentry" value="[% contenttype %]"><br> + <input type="text" size="20" name="contenttypeentry" value="[% contenttype FILTER html %]"><br> <b>Flags:</b><br> <input type="checkbox" name="ispatch" value="1"[% " checked" IF ispatch %]>patch @@ -165,7 +165,7 @@ [% IF statusdefs.size %] <b>Status:</b><br> [% FOREACH def = statusdefs %] - <input type="checkbox" name="status" value="[% def.id %]"[% " checked" IF statuses.${def.id} %]>[% def.name %]<br> + <input type="checkbox" name="status" value="[% def.id %]"[% " checked" IF statuses.${def.id} %]>[% def.name FILTER html %]<br> [% 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 %] <i>patch</i> [% ELSE %] - [% attachment.contenttype %] + [% attachment.contenttype FILTER html %] [% END %] </td> @@ -55,7 +55,7 @@ <i>none</i> [% ELSE %] [% FOREACH s = attachment.statuses %] - [% s %]<br> + [% s FILTER html %]<br> [% END %] [% END %] </nobr> 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 <myk@mozilla.org> #%] +[% filtered_summary = bugsummary FILTER html %] [% INCLUDE global/header title = "View All Attachments for Bug #$bugid" h1 = "View All Attachments for <a href=\"show_bug.cgi?id=$bugid\">Bug #$bugid</a>" - h2 = bugsummary + h2 = filtered_summary style = " th { text-align: right; vertical-align: top; } td { text-align: left; vertical-align: top; } @@ -67,7 +68,7 @@ <i>none</i> [% ELSE %] [% FOREACH s = a.statuses %] - [% s %]<br> + [% s FILTER html %]<br> [% END %] [% END %] </nobr> |