- if ($_CONFIG['test_text'] == 'N') {
- define('_CFG_TEST_TEXT_N', ' checked');
- define('_CFG_TEST_TEXT_Y', "");
- } else {
- define('_CFG_TEST_TEXT_N', "");
- define('_CFG_TEST_TEXT_Y', ' checked');
- }
-
- switch ($_CONFIG['repay_deleted_mails']) {
- case "REPAY":
- define('_CFG_REPAY_POINTS_REPAY' , " selected=\"selected\"");
- define('_CFG_REPAY_POINTS_JACKPOT', "");
- define('_CFG_REPAY_POINTS_NONE' , "");
- break;
-
- case "JACKPOT":
- define('_CFG_REPAY_POINTS_REPAY' , "");
- define('_CFG_REPAY_POINTS_JACKPOT', " selected=\"selected\"");
- define('_CFG_REPAY_POINTS_NONE' , "");
- break;
-
- case "NONE":
- define('_CFG_REPAY_POINTS_REPAY' , "");
- define('_CFG_REPAY_POINTS_JACKPOT', "");
- define('_CFG_REPAY_POINTS_NONE' , " selected=\"selected\"");
- break;
- }
-
- if ($_CONFIG['test_subj'] == 'N') {
- define('_CFG_TEST_SUBJ_N', ' checked');
- define('_CFG_TEST_SUBJ_Y', "");
- } else {
- define('_CFG_TEST_SUBJ_N', "");
- define('_CFG_TEST_SUBJ_Y', ' checked');
- }
-
- if ($_CONFIG['url_blacklist'] == 'N') {
- define('_CFG_URL_BLIST_N', ' checked');
- define('_CFG_URL_BLIST_Y', "");
- } else {
- define('_CFG_URL_BLIST_N', "");
- define('_CFG_URL_BLIST_Y', ' checked');
- }