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
f18f666c
Commit
f18f666c
authored
Jun 15, 2001
by
jake%acutex.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backing out previous changes as there was a better patch already attached to a different bug
parent
13b1b21d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
28 deletions
+9
-28
enter_bug.cgi
enter_bug.cgi
+9
-28
No files found.
enter_bug.cgi
View file @
f18f666c
...
...
@@ -79,13 +79,13 @@ if (!defined $::FORM{'product'}) {
}
push
(
@prodlist
,
$p
);
}
if
(
1
!=
@prodlist
)
{
print
"Content-type: text/html\n\n"
;
my
$bProdFlag
=
0
;
my
$tableContents
=
""
;
PutHeader
(
"Enter Bug"
);
print
"<H2>First, you must pick a product on which to enter\n"
;
print
"a bug.</H2>\n"
;
print
"<table>"
;
foreach
my
$p
(
@prodlist
)
{
if
(
defined
$::proddesc
{
$p
}
&&
$::proddesc
{
$p
}
eq
'0'
)
{
# Special hack. If we stuffed a "0" into proddesc, that means
...
...
@@ -93,7 +93,6 @@ if (!defined $::FORM{'product'}) {
# to allow people to specify that product here.
next
;
}
if
(
Param
(
"usebuggroupsentry"
)
&&
GroupExists
(
$p
)
&&
!
UserInGroup
(
$p
))
{
...
...
@@ -102,34 +101,16 @@ if (!defined $::FORM{'product'}) {
# group, we don't want to include that product in this list.
next
;
}
$bProdFlag
=
1
;
$tableContents
.=
"<tr><th align=right valign=top><a href=\"enter_bug.cgi?product="
.
url_quote
(
$p
)
.
"\">$p</a>:</th>\n"
;
print
"<tr><th align=right valign=top><a href=\"enter_bug.cgi?product="
.
url_quote
(
$p
)
.
"\">$p</a>:</th>\n"
;
if
(
defined
$::proddesc
{
$p
})
{
$tableContents
.=
"<td valign=top>$::proddesc{$p}</td>\n"
;
print
"<td valign=top>$::proddesc{$p}</td>\n"
;
}
$tableContents
.=
"</tr>"
;
print
"</tr>"
;
}
# display sensible message if no products were found for the user to enter bugs against
if
(
$bProdFlag
)
{
PutHeader
(
"Enter Bug"
);
print
"<H2>First, you must pick a product on which to enter a bug.</H2>\n"
;
print
"<table>\n"
;
print
$tableContents
;
print
"</table>\n"
;
}
else
{
PutHeader
(
"Permission Denied"
);
print
"Sorry. There are no products for which you may enter bugs\n"
;
print
"<P>\n"
;
}
print
"</table>\n"
;
PutFooter
();
exit
;
}
$::FORM
{
'product'
}
=
$prodlist
[
0
];
}
...
...
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