X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_beg.php;h=32a8225e21d79959f8d47db57c327cdc05ffdc18;hp=20470c43c423e0c215ee87df920dcd377bc41fd2;hb=e1653405d28923c78b2e292125306ccf61138f24;hpb=33a744d80e9c5ec1c13e8f643143146166975e9b diff --git a/inc/modules/admin/what-config_beg.php b/inc/modules/admin/what-config_beg.php index 20470c43c4..32a8225e21 100644 --- a/inc/modules/admin/what-config_beg.php +++ b/inc/modules/admin/what-config_beg.php @@ -57,7 +57,7 @@ if (isset($_POST['ok'])) $CONFIG['beg_ral_di_notify'] = $_POST['beg_ral_di_notify']; // Include sending out mails - if ((($CONFIG['beg_rallye'] == "Y") && ($CONFIG['beg_ral_en_notify'] == "Y")) || (($CONFIG['beg_rallye'] == "N") && ($CONFIG['beg_ral_di_notify'] == "Y"))) + if ((($CONFIG['beg_rallye'] == 'Y') && ($CONFIG['beg_ral_en_notify'] == 'Y')) || (($CONFIG['beg_rallye'] == 'N') && ($CONFIG['beg_ral_di_notify'] == 'Y'))) { include(PATH."inc/mails/beg_mails.php"); } @@ -77,24 +77,24 @@ if (isset($_POST['ok'])) // Activate / Deactivate beg rallye (Y/N) switch ($CONFIG['beg_rallye']) { - case "Y": + case 'Y': define('__BEG_RALLYE_Y', " checked"); define('__BEG_RALLYE_N', ""); break; - case "N": + case 'N': define('__BEG_RALLYE_Y', ""); define('__BEG_RALLYE_N', " checked"); break; } switch ($CONFIG['beg_active']) { - case "Y": + case 'Y': define('__BEG_ACTIVE_Y', " checked"); define('__BEG_ACTIVE_N', ""); break; - case "N": + case 'N': define('__BEG_ACTIVE_Y', ""); define('__BEG_ACTIVE_N', " checked"); break; @@ -113,48 +113,48 @@ if (isset($_POST['ok'])) } switch ($CONFIG['beg_ral_en_notify']) { - case "Y": + case 'Y': define('__BEG_RAL_EN_NOTIFY_Y', " checked"); define('__BEG_RAL_EN_NOTIFY_N', ""); break; - case "N": + case 'N': define('__BEG_RAL_EN_NOTIFY_Y', ""); define('__BEG_RAL_EN_NOTIFY_N', " checked"); break; } switch ($CONFIG['beg_ral_di_notify']) { - case "Y": + case 'Y': define('__BEG_RAL_DI_NOTIFY_Y', " checked"); define('__BEG_RAL_DI_NOTIFY_N', ""); break; - case "N": + case 'N': define('__BEG_RAL_DI_NOTIFY_Y', ""); define('__BEG_RAL_DI_NOTIFY_N', " checked"); break; } switch ($CONFIG['beg_new_mem_notify']) { - case "Y": + case 'Y': define('__BEG_NEW_MEMBER_NOTIFY_Y', " checked"); define('__BEG_NEW_MEMBER_NOTIFY_N', ""); break; - case "N": + case 'N': define('__BEG_NEW_MEMBER_NOTIFY_Y', ""); define('__BEG_NEW_MEMBER_NOTIFY_N', " checked"); break; } switch ($CONFIG['beg_include_own']) { - case "Y": + case 'Y': define('__BEG_INCLUDE_OWN_Y', " checked"); define('__BEG_INCLUDE_OWN_N', ""); break; - case "N": + case 'N': define('__BEG_INCLUDE_OWN_Y', ""); define('__BEG_INCLUDE_OWN_N', " checked"); break;