]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_bonus.php
Listing of network type handlers finished
[mailer.git] / inc / modules / admin / what-list_bonus.php
index 2605fa99e4bcb39782f32224b60b481caa67f95a..ec1055e32d75316284315ec11b27d8f22dd11379 100644 (file)
@@ -57,11 +57,11 @@ if (getConfig('bonus_active') == 'Y') {
        if (getExtensionVersion('bonus') >= '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, "<div class=\"admin_failed\">{--ADMIN_BONUS_ALREADY_WITHDRAW--}</div>");
+                       $content['withdraw_form'] = loadTemplate('admin_settings_saved', true, '<div class="admin_failed">{--ADMIN_BONUS_ALREADY_WITHDRAW--}</div>');
                }
 
                // 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