summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-08-17 08:28:55 +0200
committerbugreport%peshkin.net <>2002-08-17 08:28:55 +0200
commite9d56927daa4929f7f406c114730bb0730016602 (patch)
tree301244b270cf5289bd020cf435c7d54ca332c95b /defparams.pl
parente8584108d410cc2cf63124d88d640aff6821b975 (diff)
downloadbugzilla-e9d56927daa4929f7f406c114730bb0730016602.tar.gz
bugzilla-e9d56927daa4929f7f406c114730bb0730016602.tar.xz
Bug 10037 - param to disable adding new quips
r=imajes, preed
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl10
1 files changed, 6 insertions, 4 deletions
diff --git a/defparams.pl b/defparams.pl
index 5a1abdc43..991b8b220 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -259,10 +259,12 @@ DefParam("cookiepath",
"t",
"/");
-DefParam("usequip",
- "If this is on, Bugzilla displays a silly quip at the beginning of buglists, and lets users add to the list of quips.",
- "b",
- 1);
+DefParam("enablequips",
+ "If this is on, Bugzilla displays a silly quip at the beginning of buglists, and lets users add to the list of quips. If this is frozen, Bugzilla will display the quip but not permit new additions.",
+ "s",
+ [['on','frozen','off'], (($::param{"usequip"} || 1) ? 'on' : 'off')],
+ \&check_multi);
+
# Added parameter - JMR, 2/16/00
DefParam("usebuggroups",