summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-12-17 01:37:55 +0100
committerterry%mozilla.org <>1999-12-17 01:37:55 +0100
commit653e191956e726707d6ee2f322644c6f5ed036a6 (patch)
treed7b701aaf5b99463cbb776f0d20a6e24ab6e6082 /CGI.pl
parent64dbc1f626d0a788a21d7f7895ed1448c2677a0d (diff)
downloadbugzilla-653e191956e726707d6ee2f322644c6f5ed036a6.tar.gz
bugzilla-653e191956e726707d6ee2f322644c6f5ed036a6.tar.xz
Patch by freitag@suse.de (Klaas Freitag) -- add options to let Bugzilla require comments on certain operations.
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl12
1 files changed, 10 insertions, 2 deletions
diff --git a/CGI.pl b/CGI.pl
index a5a4b3b1e..1e22afc52 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -631,8 +631,16 @@ sub DumpBugActivity {
}
-
-
+#
+# Prints a warnbanner incl. image with given message
+#
+sub warnBanner( $ )
+{
+ my ($msg) = (@_);
+ print Param("warnbannerhtml");
+ print $msg;
+ print Param("warnfooterhtml");
+}
############# Live code below here (that is, not subroutine defs) #############