96 lines
3.4 KiB
Diff
96 lines
3.4 KiB
Diff
=== modified file 'template/en/default/bug/navigate.html.tmpl'
|
|
--- template/en/default/bug/navigate.html.tmpl 2008-01-28 01:21:11 +0000
|
|
+++ template/en/default/bug/navigate.html.tmpl 2011-05-26 19:06:35 +0000
|
|
@@ -44,22 +44,24 @@
|
|
[% END %]
|
|
|
|
[% IF this_bug_idx != -1 %]
|
|
- <a href="show_bug.cgi?id=[% bug_list.first %]">First</a>
|
|
- <a href="show_bug.cgi?id=[% bug_list.last %]">Last</a>
|
|
+ <a href="show_bug.cgi?id=[% bug_list.first FILTER url_quote %]">First</a>
|
|
+ <a href="show_bug.cgi?id=[% bug_list.last FILTER url_quote %]">Last</a>
|
|
[% END %]
|
|
|
|
[% IF bug.bug_id %]
|
|
[% IF this_bug_idx != -1 %]
|
|
[% IF this_bug_idx > 0 %]
|
|
[% prev_bug = this_bug_idx - 1 %]
|
|
- <a href="show_bug.cgi?id=[% bug_list.$prev_bug %]">Prev</a>
|
|
+ <a href="show_bug.cgi?id=
|
|
+ [%- bug_list.$prev_bug FILTER url_quote %]">Prev</a>
|
|
[% ELSE %]
|
|
<i><font color="#777777">Prev</font></i>
|
|
[% END %]
|
|
|
|
[% IF this_bug_idx + 1 < bug_list.size %]
|
|
[% next_bug = this_bug_idx + 1 %]
|
|
- <a href="show_bug.cgi?id=[% bug_list.$next_bug %]">Next</a>
|
|
+ <a href="show_bug.cgi?id=
|
|
+ [%- bug_list.$next_bug FILTER url_quote %]">Next</a>
|
|
[% ELSE %]
|
|
<i><font color="#777777">Next</font></i>
|
|
[% END %]
|
|
|
|
=== modified file 'template/en/default/filterexceptions.pl'
|
|
--- template/en/default/filterexceptions.pl 2009-10-26 11:31:52 +0000
|
|
+++ template/en/default/filterexceptions.pl 2011-05-26 19:15:14 +0000
|
|
@@ -250,10 +250,6 @@
|
|
],
|
|
|
|
'global/site-navigation.html.tmpl' => [
|
|
- 'bug_list.first',
|
|
- 'bug_list.$prev_bug',
|
|
- 'bug_list.$next_bug',
|
|
- 'bug_list.last',
|
|
'bug.bug_id',
|
|
'bug.votes',
|
|
],
|
|
@@ -300,13 +296,6 @@
|
|
'" spellcheck=\"$spellcheck\"" IF spellcheck',
|
|
],
|
|
|
|
-'bug/navigate.html.tmpl' => [
|
|
- 'bug_list.first',
|
|
- 'bug_list.last',
|
|
- 'bug_list.$prev_bug',
|
|
- 'bug_list.$next_bug',
|
|
-],
|
|
-
|
|
'bug/show-multiple.html.tmpl' => [
|
|
'attachment.id',
|
|
'flag.status',
|
|
|
|
=== modified file 'template/en/default/global/site-navigation.html.tmpl'
|
|
--- template/en/default/global/site-navigation.html.tmpl 2008-08-08 06:26:33 +0000
|
|
+++ template/en/default/global/site-navigation.html.tmpl 2011-05-26 19:16:12 +0000
|
|
@@ -36,8 +36,10 @@
|
|
[% IF bug_list && bug_list.size > 0 %]
|
|
<link rel="Up" href="buglist.cgi?regetlastlist=1">
|
|
|
|
- <link rel="First" href="show_bug.cgi?id=[% bug_list.first %]">
|
|
- <link rel="Last" href="show_bug.cgi?id=[% bug_list.last %]">
|
|
+ <link rel="First" href="show_bug.cgi?id=
|
|
+ [%- bug_list.first FILTER url_quote %]">
|
|
+ <link rel="Last" href="show_bug.cgi?id=
|
|
+ [%- bug_list.last FILTER url_quote %]">
|
|
|
|
[% IF bug && bug.bug_id %]
|
|
[% current_bug_idx = lsearch(bug_list, bug.bug_id) %]
|
|
@@ -45,12 +47,14 @@
|
|
|
|
[% IF current_bug_idx > 0 %]
|
|
[% prev_bug = current_bug_idx - 1 %]
|
|
- <link rel="Prev" href="show_bug.cgi?id=[% bug_list.$prev_bug %]">
|
|
+ <link rel="Prev" href="show_bug.cgi?id=
|
|
+ [%- bug_list.$prev_bug FILTER url_quote %]">
|
|
[% END %]
|
|
|
|
[% IF current_bug_idx + 1 < bug_list.size %]
|
|
[% next_bug = current_bug_idx + 1 %]
|
|
- <link rel="Next" href="show_bug.cgi?id=[% bug_list.$next_bug %]">
|
|
+ <link rel="Next" href="show_bug.cgi?id=
|
|
+ [%- bug_list.$next_bug FILTER url_quote %]">
|
|
[% END %]
|
|
|
|
[% END %]
|
|
|