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
ca721c97
Commit
ca721c97
authored
Aug 29, 2000
by
cyeh%bluemartini.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for 21583: Buzilla attachments should say what kind of file they are
parent
1f37df4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bug_form.pl
bug_form.pl
+3
-3
No files found.
bug_form.pl
View file @
ca721c97
...
...
@@ -304,15 +304,15 @@ if (@::legal_keywords) {
}
print
"<tr><td align=right><B>Attachments:</b></td>\n"
;
SendSQL
(
"select attach_id, creation_ts, description from attachments where bug_id = $id"
);
SendSQL
(
"select attach_id, creation_ts,
mimetype,
description from attachments where bug_id = $id"
);
while
(
MoreSQLData
())
{
my
(
$attachid
,
$date
,
$desc
)
=
(
FetchSQLData
());
my
(
$attachid
,
$date
,
$
mimetype
,
$
desc
)
=
(
FetchSQLData
());
if
(
$date
=~
/^(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/
)
{
$date
=
"$3/$4/$2 $5:$6"
;
}
my
$link
=
"showattachment.cgi?attach_id=$attachid"
;
$desc
=
value_quote
(
$desc
);
print
qq{<td><a href="$link">$date</a></td><td colspan=6>$desc</td></tr><tr><td></td>}
;
print
qq{<td><a href="$link">$date</a></td><td colspan=6>$desc
   ($mimetype)
</td></tr><tr><td></td>}
;
}
print
"<td colspan=7><a href=\"createattachment.cgi?id=$id\">Create a new attachment</a> (proposed patch, testcase, etc.)</td></tr></table>\n"
;
...
...
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