]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch by Holger Schurig <holger@holger.om.org> -- don't display footer if they asked...
authorterry%mozilla.org <>
Thu, 20 Jan 2000 04:30:28 +0000 (04:30 +0000)
committerterry%mozilla.org <>
Thu, 20 Jan 2000 04:30:28 +0000 (04:30 +0000)
reports.cgi

index 3c2a0df45331ea7cca9d3c417c1ef72303b2036c..a112b0b44f49e113bd4b309daea5abcb75f6f20c 100755 (executable)
@@ -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;
        }