- case "DESC":
- define('__ASC_DEFAULT' , "");
- define('__DESC_DEFAULT', " selected=\"selected\"");
- break;
- }
-
- // Transfer other config data into constants for the template (DO NOT set $_CONFIG as global in LOAD_TEMPLATE!!!)
- define('_CFG_UNCONFIRMED' , $_CONFIG['unconfirmed']);
- define('_CFG_MAX_TLENGTH' , $_CONFIG['max_tlength']);
-
- 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');
- }
-
- 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');
- }