From e658f6a3e6af7bbcc68d235a58f2294a47074ab6 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 5 Jul 2011 00:22:06 -0400 Subject: Bug 666695 - Voting Extension templates have unfiltered directives r/a=mkanat --- .../template/en/default/pages/voting/user.html.tmpl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'extensions/Voting/template/en/default/pages') diff --git a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl index 8e886efe7..61eaf8491 100644 --- a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl +++ b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl @@ -100,7 +100,7 @@ [% IF product.maxperbug < product.maxvotes AND product.maxperbug > 1 %] - (Note: only [% product.maxperbug %] vote + (Note: only [% product.maxperbug FILTER html %] vote [% "s" IF product.maxperbug != 1 %] allowed per [% terms.bug %] in this product.) @@ -120,17 +120,17 @@ [% END %] [%- END %] - + [% IF canedit %] [% IF product.onevoteonly %] - + [% ELSE %] - + [% END %] [% ELSE %] - [% bug.count %] + [% bug.count FILTER html %] [% END %] @@ -138,15 +138,15 @@ [% bug.summary FILTER html %] - (Show Votes) + (Show Votes) [% END %] - [% product.total %] vote - [% "s" IF product.total != 1 %] used out of [% product.maxvotes %] + [% product.total FILTER html %] vote + [% "s" IF product.total != 1 %] used out of [% product.maxvotes FILTER html %] allowed.

-- cgit v1.2.3-24-g4f1b