X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_bonus.php;h=ec1055e32d75316284315ec11b27d8f22dd11379;hp=318b75fb216eba7b19abc1c561b6201ec561c81f;hb=039203d5428c9c6a3bed61fb3a9a16958c6fd44c;hpb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b diff --git a/inc/modules/admin/what-list_bonus.php b/inc/modules/admin/what-list_bonus.php index 318b75fb21..ec1055e32d 100644 --- a/inc/modules/admin/what-list_bonus.php +++ b/inc/modules/admin/what-list_bonus.php @@ -1,7 +1,7 @@ = '0.6.9') { // Add more bonus points here $USE = '(0'; - if (getConfig('bonus_click_yn') == 'Y') $USE .= " + `turbo_bonus`"; - if (getConfig('bonus_login_yn') == 'Y') $USE .= " + `login_bonus`"; - if (getConfig('bonus_order_yn') == 'Y') $USE .= " + `bonus_order`"; - if (getConfig('bonus_stats_yn') == 'Y') $USE .= " + `bonus_stats`"; - if (getConfig('bonus_ref_yn') == 'Y') $USE .= " + `bonus_ref`"; + if (getConfig('bonus_click_yn') == 'Y') $USE .= ' + `turbo_bonus`'; + if (getConfig('bonus_login_yn') == 'Y') $USE .= ' + `login_bonus`'; + if (getConfig('bonus_order_yn') == 'Y') $USE .= ' + `bonus_order`'; + if (getConfig('bonus_stats_yn') == 'Y') $USE .= ' + `bonus_stats`'; + if (getConfig('bonus_ref_yn') == 'Y') $USE .= ' + `bonus_ref`'; $USE .= ')'; } else { // Old version ??? @@ -123,14 +123,14 @@ ORDER BY `points` DESC, `last_online` DESC, `userid` ASC", $content['withdraw_form'] = loadTemplate('admin_list_bonus_form', true); } else { // Display message "no manual withdraw possible" - $content['withdraw_form'] = loadTemplate('admin_settings_saved', true, "
{--ADMIN_BONUS_ALREADY_WITHDRAW--}
"); + $content['withdraw_form'] = loadTemplate('admin_settings_saved', true, '
{--ADMIN_BONUS_ALREADY_WITHDRAW--}
'); } // Prepare constant for timemark if (isExtensionActive('autopurge')) { $content['autopurge_timeout'] = generateDateTime(time() - getConfig('ap_inactive_since'), 2); } else { - $content['autopurge_timeout'] = loadTemplate('admin_settings_saved', true, sprintf(getMessage('EXTENSION_PROBLEM_NOT_INSTALLED'), 'autopurge')); + $content['autopurge_timeout'] = loadTemplate('admin_settings_saved', true, getMaskedMessage('EXTENSION_PROBLEM_NOT_INSTALLED', 'autopurge')); } // Load final template