summaryrefslogtreecommitdiff
path: root/Mailman/Gui/General.py
diff options
context:
space:
mode:
authorbwarsaw2002-03-28 06:36:55 +0000
committerbwarsaw2002-03-28 06:36:55 +0000
commit0892ae116a9587590d6b6f77503ca37e15f29913 (patch)
tree626b1fa7f143801e2e89cb687fe585fba8c3a133 /Mailman/Gui/General.py
parentd2aa066499c6bbae7da8dc52258595a41b27b971 (diff)
downloadmailman-0892ae116a9587590d6b6f77503ca37e15f29913.tar.gz
mailman-0892ae116a9587590d6b6f77503ca37e15f29913.tar.zst
mailman-0892ae116a9587590d6b6f77503ca37e15f29913.zip
Diffstat (limited to 'Mailman/Gui/General.py')
-rw-r--r--Mailman/Gui/General.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Mailman/Gui/General.py b/Mailman/Gui/General.py
index 70c619385..9a6582e6d 100644
--- a/Mailman/Gui/General.py
+++ b/Mailman/Gui/General.py
@@ -325,7 +325,13 @@ class General(GUIBase):
('new_member_options', mm_cfg.Checkbox,
(opttext, optvals, 0, OPTIONS),
- 0, _('''Default options for new members joining this list.'''),
+ # The description for new_member_options includes a kludge where
+ # we add a hidden field so that even when all the checkboxes are
+ # deselected, the form data will still have a new_member_options
+ # key (it will always be a list). Otherwise, we'd never be able
+ # to tell if all were deselected!
+ 0, _('''Default options for new members joining this list.<input
+ type="hidden" name="new_member_options" value="ignore">'''),
_("""When a new member is subscribed to this list, their initial
set of options is taken from the this variable's setting.""")),