Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
7035153b
Commit
7035153b
authored
Aug 12, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do requested checkin fixes for bug 509108.
parent
bf68d591
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
process_bug.cgi
process_bug.cgi
+4
-6
navigate.html.tmpl
template/en/default/bug/navigate.html.tmpl
+6
-4
No files found.
process_bug.cgi
View file @
7035153b
...
...
@@ -198,17 +198,15 @@ else {
$vars
->
{
'title_tag'
}
=
"bug_processed"
;
# Set up the vars for navigational <link> elements
my
@bug_list
;
if
(
$cgi
->
cookie
(
"BUGLIST"
))
{
@bug_list
=
split
(
/:/
,
$cgi
->
cookie
(
"BUGLIST"
));
}
my
(
$action
,
$next_bug
);
if
(
defined
$cgi
->
param
(
'id'
))
{
$action
=
Bugzilla
->
user
->
settings
->
{
'post_bug_submit_action'
}
->
{
'value'
};
if
(
$action
eq
'next_bug'
)
{
my
@bug_list
;
if
(
$cgi
->
cookie
(
"BUGLIST"
))
{
@bug_list
=
split
(
/:/
,
$cgi
->
cookie
(
"BUGLIST"
));
}
my
$cur
=
lsearch
(
\
@bug_list
,
$cgi
->
param
(
'id'
));
if
(
$cur
>=
0
&&
$cur
<
$#bug_list
)
{
$next_bug
=
$bug_list
[
$cur
+
1
];
...
...
template/en/default/bug/navigate.html.tmpl
View file @
7035153b
...
...
@@ -43,10 +43,12 @@
([% this_bug_idx + 1 %] of [% last_bug_list.size %])
[% END %]
[% IF this_bug_idx != -1 %]
<a href="show_bug.cgi?id=[% last_bug_list.first FILTER url_quote %]">First</a>
<a href="show_bug.cgi?id=[% last_bug_list.last FILTER url_quote %]">Last</a>
[% END %]
[% IF this_bug_idx != -1 %]
<a href="show_bug.cgi?id=
[%- last_bug_list.first FILTER url_quote %]">First</a>
<a href="show_bug.cgi?id=
[%- last_bug_list.last FILTER url_quote %]">Last</a>
[% END %]
[% IF bug.bug_id %]
[% IF this_bug_idx != -1 %]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment