X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-autopurge.php;h=cc27e516e5a25da5902072241206ebab09a35b02;hb=dbeb4ef1dc2e59d0c6bfab9d9666cdfa515f58e7;hp=1a729d8e10a96c7fc1f1fcd0cad2f3280254127f;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5;p=mailer.git diff --git a/inc/modules/admin/what-autopurge.php b/inc/modules/admin/what-autopurge.php index 1a729d8e10..cc27e516e5 100644 --- a/inc/modules/admin/what-autopurge.php +++ b/inc/modules/admin/what-autopurge.php @@ -45,17 +45,31 @@ if (isset($_POST['ok'])) { ADMIN_SAVE_SETTINGS($_POST); } else { // Setup constants for the template - switch ($_CONFIG['ap_inactive']) - { - case 'Y': define('__YES_IN', ' checked'); define('__NO_IN', ""); break; - case 'N': define('__YES_IN', ""); define('__NO_IN', ' checked'); break; + switch ($_CONFIG['autopurge_inactive']) { + case 'Y': + define('__YES_IN', " checked=\"checked\""); + define('__NO_IN' , ""); + break; + + case 'N': + define('__YES_IN', ""); + define('__NO_IN' , " checked=\"checked\""); + break; } - switch ($_CONFIG['ap_unconfirmed']) - { - case 'Y': define('__YES_UN', ' checked'); define('__NO_UN', ""); break; - case 'N': define('__YES_UN', ""); define('__NO_UN', ' checked'); break; + + switch ($_CONFIG['autopurge_unconfirmed']) { + case 'Y': + define('__YES_UN', " checked=\"checked\""); + define('__NO_UN' , ""); + break; + + case 'N': + define('__YES_UN', ""); + define('__NO_UN' , " checked=\"checked\""); + break; } - define('__AP_IN_SINCE', $_CONFIG['ap_in_since']); + + define('__AP_IN_SINCE', $_CONFIG['ap_inactive_since']); define('__AP_IN_TIME' , $_CONFIG['ap_in_time']); define('__AP_UN_TIME' , $_CONFIG['ap_un_time']);