X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_other.php;h=6b5db674fc9e8fc851fa678a1a00163bfa91d932;hb=4e828541f3977c085ef54d3490b3e0069eb09a06;hp=58fe215f3a2d2e36e79eab00869efcb5495dae10;hpb=9f6146bafa428283b33164d9630a2a394e1d1d04;p=mailer.git diff --git a/inc/modules/admin/what-config_other.php b/inc/modules/admin/what-config_other.php index 58fe215f3a..6b5db674fc 100644 --- a/inc/modules/admin/what-config_other.php +++ b/inc/modules/admin/what-config_other.php @@ -35,9 +35,9 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); -} elseif ((!EXT_IS_ACTIVE("other")) || (GET_EXT_VERSION("other") == "")) { +} elseif (!EXT_IS_ACTIVE("other")) { // Missing extension! - addFatalMessage(sprintf(EXTENSION_PROBLEM_NOT_INSTALLED, "other")); + addFatalMessage(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "other"); return; } @@ -86,7 +86,7 @@ if (isset($_POST['ok'])) { define('_CFG_PROFILE_UPDATE', CREATE_TIME_SELECTIONS(getConfig('profile_update'), "profile_update" , "YM")); define('_CFG_PROF_REUPDATE' , CREATE_TIME_SELECTIONS(getConfig('resend_profile_update') , "resend_profile_update", "MWD")); - if (getConfig('order_multi_page') == "N") { + if (getConfig('order_multi_page') != "Y") { define('_CFG_ORDER_MULTI_N', " checked=\"checked\""); define('_CFG_ORDER_MULTI_Y', ""); } else { @@ -94,7 +94,7 @@ if (isset($_POST['ok'])) { define('_CFG_ORDER_MULTI_Y', " checked=\"checked\""); } - if (getConfig('autosend_active') == "N") { + if (getConfig('autosend_active') != "Y") { define('_CFG_AUTOSEND_ACTIVE_N', " checked=\"checked\""); define('_CFG_AUTOSEND_ACTIVE_Y', ""); } else { @@ -102,7 +102,7 @@ if (isset($_POST['ok'])) { define('_CFG_AUTOSEND_ACTIVE_Y', " checked=\"checked\""); } - if (getConfig('send_prof_update') == "N") { + if (getConfig('send_prof_update') != "Y") { define('_CFG_SEND_UPDATE_N', " checked=\"checked\""); define('_CFG_SEND_UPDATE_Y', ""); } else { @@ -110,7 +110,7 @@ if (isset($_POST['ok'])) { define('_CFG_SEND_UPDATE_Y', " checked=\"checked\""); } - if (getConfig('admin_notify') == "N") { + if (getConfig('admin_notify') != "Y") { define('_CFG_ADMIN_NOTIFY_N', " checked=\"checked\""); define('_CFG_ADMIN_NOTIFY_Y', ""); } else {