Commit 84ca1e86 authored by terry%mozilla.org's avatar terry%mozilla.org

Patch by Holger Schurig <holger@holger.om.org> -- don't display footer if they asked for no header.

parent c0908aed
...@@ -96,7 +96,7 @@ else ...@@ -96,7 +96,7 @@ else
print "<font color=blue>$_</font> : " . print "<font color=blue>$_</font> : " .
($::FORM{$_} ? $::FORM{$_} : "undef") . "<br>\n"; ($::FORM{$_} ? $::FORM{$_} : "undef") . "<br>\n";
} }
PutFooter(); PutFooter() if $::FORM{banner};
exit; exit;
} }
...@@ -107,7 +107,8 @@ print <<FIN; ...@@ -107,7 +107,8 @@ print <<FIN;
<p> <p>
FIN FIN
PutFooter(); PutFooter() if $::FORM{banner};
################################## ##################################
# user came in with no form data # # user came in with no form data #
...@@ -171,6 +172,7 @@ FIN ...@@ -171,6 +172,7 @@ FIN
FIN FIN
#Add this above to get a control for showing the SQL query: #Add this above to get a control for showing the SQL query:
#<input type=checkbox name=showsql value=1>&nbsp;Show SQL<br> #<input type=checkbox name=showsql value=1>&nbsp;Show SQL<br>
PutFooter();
} }
sub most_doomed sub most_doomed
...@@ -309,7 +311,7 @@ FIN ...@@ -309,7 +311,7 @@ FIN
if ($bugs_count == 0) if ($bugs_count == 0)
{ {
print "No bugs found!\n"; print "No bugs found!\n";
PutFooter(); PutFooter() if $::FORM{banner};
exit; exit;
} }
...@@ -526,7 +528,7 @@ $msg ...@@ -526,7 +528,7 @@ $msg
<p> <p>
FIN FIN
PutFooter(); PutFooter() if $::FORM{banner};
exit; exit;
} }
......
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