diff options
author | gerv%gerv.net <> | 2002-04-25 03:25:49 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-04-25 03:25:49 +0200 |
commit | e0abf5a6e9bc24ddda2b38d260859192a6bbbc3a (patch) | |
tree | 6b4474964be2195b24b879ecdbaf8b3836fe0c4b /template/en/default/list | |
parent | c61b13b2ce5e7a980ea338df23a6dcccede84f37 (diff) | |
download | bugzilla-e0abf5a6e9bc24ddda2b38d260859192a6bbbc3a.tar.gz bugzilla-e0abf5a6e9bc24ddda2b38d260859192a6bbbc3a.tar.xz |
Bug 136180 - use uri/url_quote filters correctly. Patch by ddk; 2xr=gerv.
Diffstat (limited to 'template/en/default/list')
-rw-r--r-- | template/en/default/list/list.html.tmpl | 3 | ||||
-rw-r--r-- | template/en/default/list/table.html.tmpl | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 1665d7a1e..15d5fc0a0 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -25,6 +25,7 @@ [% DEFAULT title = "Bug List" %] [% style_url = "css/buglist.css" %] +[% qorder = order FILTER url_quote IF order %] [%############################################################################%] @@ -137,7 +138,7 @@ [% IF bugs.size > 1 && caneditbugs && !dotweak %] <a href="buglist.cgi?[% urlquerypart %] - [%- "&order=$order" FILTER uri html IF order %]&tweak=1">Change Several + [%- "&order=$qorder" FILTER html IF order %]&tweak=1">Change Several Bugs at Once</a> [% END %] diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index 2afc9bb9d..230fb0875 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -49,6 +49,8 @@ } %] +[% qorder = order FILTER url_quote IF order %] + [%############################################################################%] [%# Table Header #%] [%############################################################################%] @@ -98,8 +100,8 @@ [% BLOCK columnheader %] <th colspan="[% splitheader ? 2 : 1 %]"> <a href="buglist.cgi?[% urlquerypart %]&order= - [% column.name FILTER uri html %] - [% ",$order" FILTER uri html IF order %]"> + [% column.name FILTER url_quote FILTER html %] + [% ",$qorder" FILTER html IF order %]"> [%- abbrev.$id.title || column.title -%]</a> </th> [% END %] |