Commit e658f6a3 authored by David Lawrence's avatar David Lawrence

Bug 666695 - Voting Extension templates have unfiltered directives

r/a=mkanat
parent 937eda7d
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
[% IF votes == 1 %] [% IF votes == 1 %]
[%+ terms.abug %] [%+ terms.abug %]
[% ELSE %] [% ELSE %]
[%+ votes %] [%+ terms.bugs %] [%+ votes FILTER html %] [%+ terms.bugs %]
[% END %]. [% END %].
If you delete the user account, If you delete the user account,
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
with with
<a href="page.cgi?id=voting/bug.html&amp;bug_id= <a href="page.cgi?id=voting/bug.html&amp;bug_id=
[%- bug.id FILTER uri %]"> [%- bug.id FILTER uri %]">
[%- bug.votes %] [%- bug.votes FILTER html %]
[% IF bug.votes == 1 %] [% IF bug.votes == 1 %]
vote vote
[% ELSE %] [% ELSE %]
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
[% IF product.maxperbug < product.maxvotes AND [% IF product.maxperbug < product.maxvotes AND
product.maxperbug > 1 %] product.maxperbug > 1 %]
<font size="-1"> <font size="-1">
(Note: only [% product.maxperbug %] vote (Note: only [% product.maxperbug FILTER html %] vote
[% "s" IF product.maxperbug != 1 %] allowed per [% terms.bug %] in [% "s" IF product.maxperbug != 1 %] allowed per [% terms.bug %] in
this product.) this product.)
</font> </font>
...@@ -120,17 +120,17 @@ ...@@ -120,17 +120,17 @@
[% END %] [% END %]
[%- END %] [%- END %]
</td> </td>
<td align="right"><a name="vote_[% bug.id %]"> <td align="right"><a name="vote_[% bug.id FILTER html %]">
[% IF canedit %] [% IF canedit %]
[% IF product.onevoteonly %] [% IF product.onevoteonly %]
<input type="checkbox" name="[% bug.id %]" value="1" <input type="checkbox" name="[% bug.id FILTER html %]" value="1"
[% " checked" IF bug.count %] id="bug_[% bug.id %]"> [% " checked" IF bug.count %] id="bug_[% bug.id FILTER html %]">
[% ELSE %] [% ELSE %]
<input name="[% bug.id %]" value="[% bug.count %]" <input name="[% bug.id FILTER html %]" value="[% bug.count FILTER html %]"
size="2" id="bug_[% bug.id %]"> size="2" id="bug_[% bug.id FILTER html %]">
[% END %] [% END %]
[% ELSE %] [% ELSE %]
[% bug.count %] [% bug.count FILTER html %]
[% END %] [% END %]
</a></td> </a></td>
<td align="center"> <td align="center">
...@@ -138,15 +138,15 @@ ...@@ -138,15 +138,15 @@
</td> </td>
<td> <td>
[% bug.summary FILTER html %] [% bug.summary FILTER html %]
(<a href="page.cgi?id=voting/bug.html&amp;bug_id=[% bug.id %]">Show Votes</a>) (<a href="page.cgi?id=voting/bug.html&amp;bug_id=[% bug.id FILTER uri %]">Show Votes</a>)
</td> </td>
</tr> </tr>
[% END %] [% END %]
<tr> <tr>
<td></td> <td></td>
<td colspan="3">[% product.total %] vote <td colspan="3">[% product.total FILTER html %] vote
[% "s" IF product.total != 1 %] used out of [% product.maxvotes %] [% "s" IF product.total != 1 %] used out of [% product.maxvotes FILTER html %]
allowed. allowed.
<br> <br>
<br> <br>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment