summaryrefslogtreecommitdiffstats
path: root/defparams.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 /defparams.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 'defparams.pl')
-rw-r--r--defparams.pl42
1 files changed, 42 insertions, 0 deletions
diff --git a/defparams.pl b/defparams.pl
index f035b5761..41841eb19 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -176,6 +176,17 @@ information about what Bugzilla is and what it can do, see
+DefParam("warnbannerhtml",
+ "HTML to prepend to warning messages.",
+ "l",
+ "<font size=+1>");
+
+DefParam("warnfooterhtml",
+ "HTML to append to warning messages.",
+ "l",
+ "</font>");
+
+
DefParam("changedmail",
q{The email that gets sent to people when a bug changes. Within this
text, %to% gets replaced by the assigned-to and reported-by people,
@@ -378,5 +389,36 @@ DefParam("browserbugmessage",
"If strictvaluechecks is on, and the bugzilla gets unexpected data from the browser, in addition to displaying the cause of the problem, it will output this HTML as well.",
"l",
"this may indicate a bug in your browser.\n");
+
+#
+# Parameters to force users to comment their changes for different actions.
+DefParam("commentonaccept",
+ "If this option is on, the user needs to enter a short comment if he accepts the bug",
+ "b", 0 );
+DefParam("commentonclearresolution",
+ "If this option is on, the user needs to enter a short comment if the bugs resolution is cleared",
+ "b", 0 );
+DefParam("commentonresolve",
+ "If this option is on, the user needs to enter a short comment if the bug is resolved",
+ "b", 0 );
+DefParam("commentonreassign",
+ "If this option is on, the user needs to enter a short comment if the bug is reassigned",
+ "b", 0 );
+DefParam("commentonreassignbycomponent",
+ "If this option is on, the user needs to enter a short comment if the bug is reassigned by component",
+ "b", 0 );
+DefParam("commentonreopen",
+ "If this option is on, the user needs to enter a short comment if the bug is reopened",
+ "b", 0 );
+DefParam("commentonverify",
+ "If this option is on, the user needs to enter a short comment if the bug is verified",
+ "b", 0 );
+DefParam("commentonclose",
+ "If this option is on, the user needs to enter a short comment if the bug is closed",
+ "b", 0 );
+DefParam("commentonduplicate",
+ "If this option is on, the user needs to enter a short comment if the bug is marked as duplicate",
+ "b", 0 );
+
1;