From c15ee7a4d566c9e4911ac0cc0e94edb8d357709d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 10 Apr 2005 06:18:16 +0000 Subject: Bug 225818: %FORM, %MFORM, and %COOKIE need to go away, in favor of the CGI methods - Patch by Teemu Mannermaa r=LpSolit a=myk --- template/en/default/filterexceptions.pl | 4 ---- template/en/default/request/email.txt.tmpl | 5 +++-- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'template') diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 7b7ba5134..c669b2e15 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -417,10 +417,6 @@ 'linktext.$type', ], -'bug/create/comment.txt.tmpl' => [ - 'form.comment', -], - 'bug/create/create.html.tmpl' => [ 'g.bit', 'g.description', diff --git a/template/en/default/request/email.txt.tmpl b/template/en/default/request/email.txt.tmpl index 569688cef..d59cad0ec 100644 --- a/template/en/default/request/email.txt.tmpl +++ b/template/en/default/request/email.txt.tmpl @@ -62,9 +62,10 @@ Attachment [% attidsummary %] [%- END %] [%- FILTER bullet = wrap(80) %] -[% IF form.comment.length > 0 %] +[% USE Bugzilla %] +[% IF Bugzilla.cgi.param("comment").length > 0 %] ------- Additional Comments from [% user.identity %] -[%+ form.comment %] +[%+ Bugzilla.cgi.param("comment") %] [% END %] [%- END %] -- cgit v1.2.3-24-g4f1b