summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryce-mozilla%nextbus.com <>1999-05-02 03:43:58 +0200
committerbryce-mozilla%nextbus.com <>1999-05-02 03:43:58 +0200
commitf5b07da07ed7f03b79c38c59b5c843eace440c6b (patch)
tree6de66777ddbd2b07b9a18ad201cb9d1048ce5742
parent7bb0b86fdbd639d8d583116ca7a2564f3d0246e4 (diff)
downloadbugzilla-f5b07da07ed7f03b79c38c59b5c843eace440c6b.tar.gz
bugzilla-f5b07da07ed7f03b79c38c59b5c843eace440c6b.tar.xz
Fix HTML syntax errors, validate with http://validator.w3.org . Show
on the the login name that will be used as the "reporter" (to more completely represent the bug report, and to prevent people from forgetting to switch logins when using another person's browser).
-rwxr-xr-xenter_bug.cgi15
1 files changed, 8 insertions, 7 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 83792e851..15d2571b9 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -179,12 +179,14 @@ my $component_popup = make_popup('component', $::components{$product},
PutHeader ("Enter Bug");
print "
-<FORM NAME=enterForm METHOD=POST ACTION=\"post_bug.cgi\">
+<FORM METHOD=POST ACTION=\"post_bug.cgi\">
<INPUT TYPE=HIDDEN NAME=bug_status VALUE=NEW>
-<INPUT TYPE=HIDDEN NAME=reporter VALUE=$::COOKIE{'Bugzilla_login'}>
+<INPUT TYPE=HIDDEN NAME=reporter VALUE=\"$::COOKIE{'Bugzilla_login'}\">
<INPUT TYPE=HIDDEN NAME=product VALUE=\"" . value_quote($product) . "\">
<TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0>
<TR>
+ <td ALIGN=right valign=top><B>Reporter:</B></td>
+ <td valign=top>$::COOKIE{'Bugzilla_login'}</td>
<td ALIGN=right valign=top><B>Product:</B></td>
<td valign=top>$product</td>
</TR>
@@ -192,12 +194,12 @@ print "
<td ALIGN=right valign=top><B>Version:</B></td>
<td>" . Version_element(pickversion(), $product) . "</td>
<td align=right valign=top><b><a href=\"describecomponents.cgi?product=" .
- url_quote($product) . "\">Component:</b></td>
+ url_quote($product) . "\">Component:</a></b></td>
<td>$component_popup</td>
</TR>
<tr><td>&nbsp<td> <td> <td> <td> <td> </tr>
<TR>
- <td align=right><b><B><A HREF=\"bug_status.html#rep_platform\">Platform:</A></B></td>
+ <td align=right><B><A HREF=\"bug_status.html#rep_platform\">Platform:</A></B></td>
<TD>$platform_popup</TD>
<TD ALIGN=RIGHT><B><A HREF=\"bug_status.html#op_sys\">OS:</A></B></TD>
<TD>$opsys_popup</TD>
@@ -222,8 +224,7 @@ print "
</TR>
<tr><td>&nbsp<td> <td> <td> <td> <td> </tr>
<tr>
- <TD ALIGN=RIGHT><B><A HREF=\"bug_status.html#assigned_to\">Assigned To:
- </A></B></TD>
+ <TD ALIGN=RIGHT><B><A HREF=\"bug_status.html#assigned_to\">Assigned To:</A></B></TD>
<TD colspan=5>$assign_element
(Leave blank to assign to default owner for component)</td>
</tr>
@@ -248,7 +249,7 @@ print "
</TR>
<tr><td>&nbsp<td> <td> <td> <td> <td> </tr>
<tr>
- <td aligh=right valign=top><B>Description:</b>
+ <td align=right valign=top><B>Description:</b>
<td colspan=5><TEXTAREA WRAP=HARD NAME=comment ROWS=10 COLS=80>" .
value_quote(formvalue('comment')) .
"</TEXTAREA><BR></td>