Commit dcb0fb5b authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 76714: correctly nests the FORM and TABLE elements.

Patch by Gerv Markham <gerv@mozilla.org>. r=myk@mozilla.org, no second review needed.
parent f4d7db71
...@@ -1357,7 +1357,7 @@ Actions: ...@@ -1357,7 +1357,7 @@ Actions:
my $mybugstemplate = Param("mybugstemplate"); my $mybugstemplate = Param("mybugstemplate");
my %substs; my %substs;
$substs{'userid'} = url_quote($::COOKIE{"Bugzilla_login"}); $substs{'userid'} = url_quote($::COOKIE{"Bugzilla_login"});
$html .= "</TR><TR>"; $html .= "<TR>";
$html .= "<TD>Preset Queries: </TD>"; $html .= "<TD>Preset Queries: </TD>";
$html .= "<TD colspan=3>\n"; $html .= "<TD colspan=3>\n";
if ($mybugslink) { if ($mybugslink) {
...@@ -1374,7 +1374,7 @@ Actions: ...@@ -1374,7 +1374,7 @@ Actions:
$html .= "<A HREF=\"buglist.cgi?&cmdtype=runnamed&namedcmd=" . $html .= "<A HREF=\"buglist.cgi?&cmdtype=runnamed&namedcmd=" .
url_quote($name) . "\"><NOBR>$name</NOBR></A>"; url_quote($name) . "\"><NOBR>$name</NOBR></A>";
} }
$html .= "</TR>\n<TR>"; $html .= "</TD></TR>\n";
} else { } else {
$html .= "</TD><TD>&nbsp;</TD><TD valign=middle align=right>\n"; $html .= "</TD><TD>&nbsp;</TD><TD valign=middle align=right>\n";
$html .= $html .=
...@@ -1383,8 +1383,8 @@ Actions: ...@@ -1383,8 +1383,8 @@ Actions:
" | <NOBR><a href=query.cgi?GoAheadAndLogIn=1>Log in</a></NOBR>"; " | <NOBR><a href=query.cgi?GoAheadAndLogIn=1>Log in</a></NOBR>";
$html .= "</TD></TR>"; $html .= "</TD></TR>";
} }
$html .= "</FORM>\n";
$html .= "</TABLE>"; $html .= "</TABLE>";
$html .= "</FORM>\n";
return $html; return $html;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment