summaryrefslogtreecommitdiffstats
path: root/reports.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-01-20 05:30:28 +0100
committerterry%mozilla.org <>2000-01-20 05:30:28 +0100
commit84ca1e8656b35fafb90c223f6d5995db8927af5e (patch)
tree522d1aeed9d944b86df9ce0e60149b23f3a46a6b /reports.cgi
parentc0908aed125754da87f5f57206d04a9b8a84acd8 (diff)
downloadbugzilla-84ca1e8656b35fafb90c223f6d5995db8927af5e.tar.gz
bugzilla-84ca1e8656b35fafb90c223f6d5995db8927af5e.tar.xz
Patch by Holger Schurig <holger@holger.om.org> -- don't display footer if they asked for no header.
Diffstat (limited to 'reports.cgi')
-rwxr-xr-xreports.cgi10
1 files changed, 6 insertions, 4 deletions
diff --git a/reports.cgi b/reports.cgi
index 3c2a0df45..a112b0b44 100755
--- a/reports.cgi
+++ b/reports.cgi
@@ -96,7 +96,7 @@ else
print "<font color=blue>$_</font> : " .
($::FORM{$_} ? $::FORM{$_} : "undef") . "<br>\n";
}
- PutFooter();
+ PutFooter() if $::FORM{banner};
exit;
}
@@ -107,7 +107,8 @@ print <<FIN;
<p>
FIN
-PutFooter();
+PutFooter() if $::FORM{banner};
+
##################################
# user came in with no form data #
@@ -171,6 +172,7 @@ FIN
FIN
#Add this above to get a control for showing the SQL query:
#<input type=checkbox name=showsql value=1>&nbsp;Show SQL<br>
+ PutFooter();
}
sub most_doomed
@@ -309,7 +311,7 @@ FIN
if ($bugs_count == 0)
{
print "No bugs found!\n";
- PutFooter();
+ PutFooter() if $::FORM{banner};
exit;
}
@@ -526,7 +528,7 @@ $msg
<p>
FIN
- PutFooter();
+ PutFooter() if $::FORM{banner};
exit;
}