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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
7169a4d7
Commit
7169a4d7
authored
May 09, 2002
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 142950 - query links in footer are broken. Patch by gerv; r=ddk, afranke.
parent
35f72f65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
buglist.cgi
buglist.cgi
+5
-2
useful-links.html.tmpl
template/en/default/global/useful-links.html.tmpl
+2
-2
No files found.
buglist.cgi
View file @
7169a4d7
...
...
@@ -1124,7 +1124,7 @@ CMD: for ($::FORM{'cmdtype'}) {
# Don't add it to the list if they are reusing an existing query name.
foreach
my
$query
(
@
{
$vars
->
{
'user'
}{
'queries'
}})
{
if
(
$query
->
{
'name'
}
eq
$name
)
{
if
(
$query
->
{
'name'
}
eq
$name
&&
$query
->
{
'linkinfooter'
}
==
1
)
{
$new_in_footer
=
0
;
}
}
...
...
@@ -1132,7 +1132,10 @@ CMD: for ($::FORM{'cmdtype'}) {
print
"Content-Type: text/html\n\n"
;
# Generate and return the UI (HTML page) from the appropriate template.
if
(
$new_in_footer
)
{
push
(
@
{
$vars
->
{
'user'
}{
'queries'
}},
{
name
=>
$name
});
my
%
query
=
(
name
=>
$name
,
query
=>
$::buffer
,
linkinfooter
=>
$tofooter
);
push
(
@
{
$vars
->
{
'user'
}{
'queries'
}},
\%
query
);
}
$vars
->
{
'title'
}
=
"OK, query saved."
;
...
...
template/en/default/global/useful-links.html.tmpl
View file @
7169a4d7
...
...
@@ -97,7 +97,7 @@
<td colspan="3">
[% IF user.showmybugslink %]
<a href="buglist.cgi?bug_status=NEW&
bug_status=ASSIGNED&bug_status=REOPENED&email1=[% user.name FILTER url_quote %]&emailtype1=exact&emailassigned_to1=1&
emailreporter1=1">My Bugs
<a href="buglist.cgi?bug_status=NEW&
amp;bug_status=ASSIGNED&bug_status=REOPENED&email1=[% user.login FILTER url_quote %]&emailtype1=exact&emailassigned_to1=1&
emailreporter1=1">My Bugs
</a>
[% print_pipe = 1 %]
[% END %]
...
...
@@ -105,7 +105,7 @@
[% FOREACH q = user.queries %]
[% IF q.linkinfooter %]
[% " | " IF print_pipe %]
<a href="buglist.cgi?cmdtype=runnamed&namedcmd=[% q
FILTER url_quote %]">[% q.name FILTER no_break FILTER html
%]
<a href="buglist.cgi?cmdtype=runnamed&namedcmd=[% q
.name FILTER url_quote %]">[% q.name FILTER html FILTER no_break
%]
</a>
[% print_pipe = 1 %]
[% END %]
...
...
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