Module config to control deletion prompt
authorJamie Cameron <jcameron@webmin.com>
Sat, 1 Nov 2008 18:21:42 +0000 (18:21 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sat, 1 Nov 2008 18:21:42 +0000 (18:21 +0000)
47 files changed:
postfix/CHANGELOG
sendmail/CHANGELOG
sendmail/config-aix
sendmail/config-cobalt-linux
sendmail/config-coherent-linux
sendmail/config-corel-linux
sendmail/config-debian-linux
sendmail/config-debian-linux-2.1-2.2
sendmail/config-debian-linux-3.0-*
sendmail/config-freebsd
sendmail/config-freebsd-4.0-*
sendmail/config-generic-linux
sendmail/config-gentoo-linux
sendmail/config-hpux
sendmail/config-irix
sendmail/config-macos
sendmail/config-macos-1.3-*
sendmail/config-mandrake-linux
sendmail/config-mandrake-linux-8.2
sendmail/config-mandrake-linux-9.0-*
sendmail/config-msc-linux
sendmail/config-netbsd
sendmail/config-open-linux
sendmail/config-open-linux-2.5
sendmail/config-open-linux-3.1e
sendmail/config-openbsd
sendmail/config-openserver
sendmail/config-osf1
sendmail/config-redhat-linux
sendmail/config-redhat-linux-10.0-*
sendmail/config-redhat-linux-7.1-7.3
sendmail/config-redhat-linux-7.4-9.0
sendmail/config-slackware-linux
sendmail/config-slackware-linux-8.0
sendmail/config-slackware-linux-8.1-*
sendmail/config-sol-linux
sendmail/config-solaris
sendmail/config-solaris-10-*
sendmail/config-solaris-7
sendmail/config-solaris-8-9
sendmail/config-suse-linux
sendmail/config-suse-linux-8.2-*
sendmail/config-turbo-linux
sendmail/config-united-linux
sendmail/config-unixware
sendmail/config.info
sendmail/del_mailqs.cgi

index 1116885..750483f 100644 (file)
@@ -60,4 +60,5 @@ Properly handle multiple reject_rbl_client DNS domains on the SMTP Client Restri
 ---- Changes since 1.430 ----
 Converted all pages to use the new Webmin UI library, for a more consistent and themable look.
 Autoreply messages containing non-ASCII characters are now properly quoted-printable encoded.
+---- Changes since 1.440 ----
 Added a module config option to control if the user is prompted for confirmation before deleting queued messages.
index b50c42f..24fe9e0 100644 (file)
@@ -37,3 +37,5 @@ Network ports and addresses used by Sendmail can now be more easily edited on th
 Added an access control page option to prevent creation and editing of catchall address mappings.
 ---- Changes since 1.430 ----
 Autoreply messages containing non-ASCII characters are now properly quoted-printable encoded.
+---- Changes since 1.440 ----
+Added a module config option to control if the user is prompted for confirmation before deleting queued messages.
index 0fe2373..dc8629b 100644 (file)
@@ -28,3 +28,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index c35307b..4f0a5b8 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 0537479..28fa906 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index e205ec5..954244c 100644 (file)
@@ -27,3 +27,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 1256a00..5cbf3e1 100644 (file)
@@ -29,3 +29,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 76bd28a..af46433 100644 (file)
@@ -29,3 +29,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index e27025c..c658e88 100644 (file)
@@ -29,3 +29,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 96409e1..ca67f30 100644 (file)
@@ -32,3 +32,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 5aada62..e5ebcb8 100644 (file)
@@ -32,3 +32,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 59a4665..c9d1fdd 100755 (executable)
@@ -37,3 +37,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 4a07949..b448e17 100755 (executable)
@@ -37,3 +37,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 27a3904..85077a2 100644 (file)
@@ -27,3 +27,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 481013d..b59bbfb 100644 (file)
@@ -35,3 +35,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 712b49b..dbbfd48 100644 (file)
@@ -32,3 +32,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 6ff73ca..efbbf0c 100644 (file)
@@ -32,3 +32,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index c63ce83..9b684eb 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index f51ff52..7d52a5a 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 715ae44..01df627 100644 (file)
@@ -31,3 +31,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 2ba7a45..9d96f76 100644 (file)
@@ -28,3 +28,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 102becf..4e3f72c 100644 (file)
@@ -32,3 +32,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 2741769..b022aec 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 452b3e4..80f6733 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 452b3e4..80f6733 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index a06ff50..e9a7ce5 100644 (file)
@@ -31,3 +31,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 28636ff..fc7a7b7 100644 (file)
@@ -28,3 +28,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 315fb28..68ce6db 100644 (file)
@@ -27,3 +27,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 303538e..dd31ad4 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 0f21957..badb8d5 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 1a685f0..b2c495a 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 0537479..28fa906 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 0a6061d..240abeb 100644 (file)
@@ -27,3 +27,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 59a4665..c9d1fdd 100755 (executable)
@@ -37,3 +37,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 1fce53d..fc74c56 100755 (executable)
@@ -37,3 +37,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index b99b00a..d50fd24 100644 (file)
@@ -37,3 +37,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 1ac9bad..cdf57f7 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 5d62fc6..a3b6303 100755 (executable)
@@ -35,3 +35,4 @@ show_cmts=0
 prefix_cmts=0
 sendmail_smf=network/smtp:sendmail
 mail_type=0
+delete_confirm=1
index 5d326c8..b747ff5 100644 (file)
@@ -36,3 +36,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 3168fa6..697a7fb 100644 (file)
@@ -36,3 +36,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index c5fb158..9a8232a 100644 (file)
@@ -29,3 +29,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 21d01c1..4f9001c 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 3aa6f51..7d1449c 100644 (file)
@@ -30,3 +30,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index c5fb158..9a8232a 100644 (file)
@@ -29,3 +29,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 8109588..4156ec5 100644 (file)
@@ -28,3 +28,4 @@ show_cmts=0
 prefix_cmts=0
 
 mail_type=0
+delete_confirm=1
index 699c50b..39165fd 100644 (file)
@@ -12,6 +12,8 @@ mailq_show=Headers to show in mail queue,2,Date-Date,From-From,To-To,Subject-Sub
 mailq_sort=Sort mail queue by,1,0-Queue ID,1-From address,2-To address,3-Subject,4-Status,5-Size
 mailq_count=Show size of mail queue on main page?,1,0-Yes,1-No
 mailq_order=Ordering when flushing mail queue,1,-Default,priority-Priority,host-Hostname,time-Date received
+delete_confirm=Prompt for confirmation before deleting?,1,1-Yes,0-No
+
 line2=System configuration,11
 sendmail_cf=Full path to sendmail.cf,8
 sendmail_features=Sendmail M4 base directory,7
index bea482d..644cffd 100755 (executable)
@@ -36,7 +36,7 @@ else {
        @files || &error($text{'delq_enone'});
        &ui_print_header(undef, $text{'delq_titles'}, "");
 
-       if ($in{'confirm'}) {
+       if ($in{'confirm'} || !$config{'delete_confirm'}) {
                # Do it!
                $count = 0;
                $conf = &get_sendmailcf();