X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_order.php;h=1c8e8dd9a37fdb185593959cb7ab24e296ac8390;hb=a05706f3f5f5e6ae26c2114d2fd3ede01d5fe093;hp=c864f160edfd71fd1c519233d0f93f491431e7a8;hpb=e79e1454e88271e35086963a0422a51cc243e67a;p=mailer.git diff --git a/inc/modules/admin/what-config_order.php b/inc/modules/admin/what-config_order.php index c864f160ed..1c8e8dd9a3 100644 --- a/inc/modules/admin/what-config_order.php +++ b/inc/modules/admin/what-config_order.php @@ -45,7 +45,7 @@ if (isset($_POST['ok'])) { ADMIN_SAVE_SETTINGS($_POST); } else { // Prepare constants for the template - switch ($_CONFIG['order_max']) + switch ($_CONFIG['order_max_full']) { case "ORDER": define('__ORDER_DEFAULT', ' checked'); @@ -79,7 +79,7 @@ if (isset($_POST['ok'])) { define('_CFG_UNCONFIRMED' , $_CONFIG['unconfirmed']); define('_CFG_MAX_TLENGTH' , $_CONFIG['max_tlength']); - if ($_CONFIG['test_text'] == 'N') { + if ($_CONFIG['test_text'] == "N") { define('_CFG_TEST_TEXT_N', ' checked'); define('_CFG_TEST_TEXT_Y', ""); } else { @@ -91,23 +91,23 @@ if (isset($_POST['ok'])) { case "REPAY": define('_CFG_REPAY_POINTS_REPAY' , " selected=\"selected\""); define('_CFG_REPAY_POINTS_JACKPOT', ""); - define('_CFG_REPAY_POINTS_NONE' , ""); + define('_CFG_REPAY_POINTS_SHRED' , ""); break; case "JACKPOT": define('_CFG_REPAY_POINTS_REPAY' , ""); define('_CFG_REPAY_POINTS_JACKPOT', " selected=\"selected\""); - define('_CFG_REPAY_POINTS_NONE' , ""); + define('_CFG_REPAY_POINTS_SHRED' , ""); break; - case "NONE": + case "SHRED": define('_CFG_REPAY_POINTS_REPAY' , ""); define('_CFG_REPAY_POINTS_JACKPOT', ""); - define('_CFG_REPAY_POINTS_NONE' , " selected=\"selected\""); + define('_CFG_REPAY_POINTS_SHRED' , " selected=\"selected\""); break; } - if ($_CONFIG['test_subj'] == 'N') { + if ($_CONFIG['test_subj'] == "N") { define('_CFG_TEST_SUBJ_N', ' checked'); define('_CFG_TEST_SUBJ_Y', ""); } else { @@ -115,7 +115,7 @@ if (isset($_POST['ok'])) { define('_CFG_TEST_SUBJ_Y', ' checked'); } - if ($_CONFIG['url_blacklist'] == 'N') { + if ($_CONFIG['url_blacklist'] == "N") { define('_CFG_URL_BLIST_N', ' checked'); define('_CFG_URL_BLIST_Y', ""); } else {