]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 398701: Replace |FILTER url_quote| by |FILTER uri|, including extensions/Voting
authorFrédéric Buclin <LpSolit@gmail.com>
Fri, 27 Aug 2010 19:53:10 +0000 (21:53 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 27 Aug 2010 19:53:10 +0000 (21:53 +0200)
r/a=mkanat

extensions/Voting/template/en/default/hook/admin/products/updated-changes.html.tmpl
extensions/Voting/template/en/default/hook/bug/edit-after_importance.html.tmpl
extensions/Voting/template/en/default/pages/voting/bug.html.tmpl
extensions/Voting/template/en/default/pages/voting/user.html.tmpl

index 139fc641bde922a07cdb1461c2ea22d39691ea2c..af2b1c10280df92cae91c1d88439d0e611364831 100644 (file)
@@ -59,7 +59,7 @@
   [% IF changes.too_many_votes.size %]
     [% FOREACH detail = changes.too_many_votes %]
       &rarr;removed votes for [% terms.bug %] <a href="show_bug.cgi?id=
-     [%- detail.id FILTER url_quote %]">
+     [%- detail.id FILTER uri %]">
      [%- detail.id FILTER html %]</a> from [% detail.name FILTER html %]<br>
     [% END %]
   [% ELSE %]
@@ -72,7 +72,7 @@
   [% IF changes.too_many_total_votes.size %]
     [% FOREACH detail = changes.too_many_total_votes %]
       &rarr;removed votes for [% terms.bug %] <a href="show_bug.cgi?id=
-     [%- detail.id FILTER url_quote %]">
+     [%- detail.id FILTER uri %]">
      [%- detail.id FILTER html %]</a> from [% detail.name FILTER html %]<br>
     [% END %]
   [% ELSE %]
index 606f981ee7a1c28ef2a99b3cafd30c36eb2d5d05..fea82601a89d5bf3a59f8ac409e341a390a73926 100644 (file)
@@ -26,7 +26,7 @@
     [% IF bug.votes %]
       with
       <a href="page.cgi?id=voting/bug.html&amp;bug_id=
-               [%- bug.id FILTER url_quote %]">
+               [%- bug.id FILTER uri %]">
         [%- bug.votes %] 
         [% IF bug.votes == 1 %]
             vote
@@ -35,7 +35,7 @@
         [% END %]</a>
     [% END %]
     (<a href="page.cgi?id=voting/user.html&amp;bug_id=
-              [%- bug.id FILTER url_quote %]#vote_
-              [%- bug.id FILTER url_quote %]">vote</a>)
+              [%- bug.id FILTER uri %]#vote_
+              [%- bug.id FILTER uri %]">vote</a>)
   </span>
 [% END %]
index 03434a5053046be213891be84be450178f75b719..0aa7072b74096d28e6b900c504f223030e165669 100644 (file)
@@ -45,7 +45,7 @@
     <tr>
       <td>
           <a href="page.cgi?id=voting/user.html&amp;user_id=
-                  [%- voter.id FILTER url_quote %]">
+                  [%- voter.id FILTER uri %]">
           [% voter.login_name FILTER email FILTER html %]
         </a>
       </td>
index 8000792243315c01809727a61b8d71f4424b8467..f2ac160f856e52ecfb6075cd26a3c2c9ba088b01 100644 (file)
@@ -93,7 +93,7 @@
         <tr>
           <th>[% product.name FILTER html %]</th>
           <td colspan="2" ><a href="buglist.cgi?bug_id=
-              [%- product.bug_ids.join(",") FILTER url_quote %]">([% terms.bug %] list)</a>
+              [%- product.bug_ids.join(",") FILTER uri %]">([% terms.bug %] list)</a>
           </td>
           <td>
             [% IF product.maxperbug < product.maxvotes AND
 
     [% IF canedit %]
       <input type="submit" value="Change My Votes" id="change"> or 
-      <a href="buglist.cgi?bug_id=[% all_bug_ids.join(",") FILTER url_quote %]">view all
+      <a href="buglist.cgi?bug_id=[% all_bug_ids.join(",") FILTER uri %]">view all
         as [% terms.bug %] list</a>
       <br>
       <br>
       [% END %]
       and then click <b>Change My Votes</b>.
     [% ELSE %]
-       <a href="buglist.cgi?bug_id=[% all_bug_ids.join(",") FILTER url_quote %]">View all
+       <a href="buglist.cgi?bug_id=[% all_bug_ids.join(",") FILTER uri %]">View all
          as [% terms.bug %] list</a>
     [% END %]
   </form>