aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbwarsaw <>2004-04-30 16:50:42 +0000
committerbwarsaw <>2004-04-30 16:50:42 +0000
commit667815a84051e93111695654ecbf63c16a1422e0 (patch)
treecd5356c6eacc74323e79ae3100e2a131477229cd
parentc612f9836ed46b9ad9c9fd64e02374953938447c (diff)
downloadmailman2-667815a84051e93111695654ecbf63c16a1422e0.tar.gz
mailman2-667815a84051e93111695654ecbf63c16a1422e0.tar.xz
mailman2-667815a84051e93111695654ecbf63c16a1422e0.zip
main(): Add discard checkbox above the last submit button too.
-rw-r--r--Mailman/Cgi/admindb.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mailman/Cgi/admindb.py b/Mailman/Cgi/admindb.py
index 3a4a1ebb..248f7657 100644
--- a/Mailman/Cgi/admindb.py
+++ b/Mailman/Cgi/admindb.py
@@ -236,6 +236,11 @@ def main():
if addform:
doc.AddItem(form)
form.AddItem('<hr>')
+ form.AddItem(Center(
+ CheckBox('discardalldefersp', 0).Format() +
+ '&nbsp;' +
+ _('Discard all messages marked <em>Defer</em>')
+ ))
form.AddItem(Center(SubmitButton('submit', _('Submit All Data'))))
doc.AddItem(mlist.GetMailmanFooter())
print doc.Format()