X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-points.php;h=0aceb6ee41687c56dc3ba5718967fea19e1cdd29;hb=9f5f55cd28eebd7b389c13f7c3be500ff43d0a28;hp=38ae7595f088fd2ad529288bd355349add8a9663;hpb=9b8ef341c9d2b5d587d74ba5b097d32b89419d6a;p=mailer.git diff --git a/inc/modules/member/what-points.php b/inc/modules/member/what-points.php index 38ae7595f0..0aceb6ee41 100644 --- a/inc/modules/member/what-points.php +++ b/inc/modules/member/what-points.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -157,12 +158,12 @@ if (isExtensionInstalledAndNewer('user', '0.1.2')) { if ($totalLocked == '0') $totalLocked = '0.00000'; // Remember several values in constants -$content['sum'] = translateComma($totalPoints - getUserData('used_points')); -$content['tref'] = $totalReferals; +$content['sum'] = translateComma($totalPoints - getUserData('used_points'), false); +$content['tref'] = translateComma($totalReferals); $content['tlock'] = translateComma($totalLocked); // Fixes a bug when there is no bonus extension installed -if (isExtensionInstalledAndOlder('bonus', '0.4.4')) setConfigEntry('bonus_active', "X"); +if (isExtensionInstalledAndOlder('bonus', '0.4.4')) setConfigEntry('bonus_active', 'X'); // Members shall see no special rows here $content['special_rows'] = ''; @@ -184,7 +185,7 @@ if ((isExtensionInstalledAndNewer('bonus', '0.2.2')) && (isExtensionActive('bonu } // END - if // Total bonus points - $content['ttotal'] = translateComma($content['turbo'] + $content['login'] + $content['ref'] + $content['order'] + $content['stats']); + $content['ttotal'] = translateComma($content['turbo'] + $content['login'] + $content['ref'] + $content['order'] + $content['stats'], false); // Translate more data $content['turbo'] = translateComma($content['turbo']); @@ -208,9 +209,9 @@ if ((isExtensionInstalledAndNewer('bonus', '0.2.2')) && (isExtensionActive('bonu } // Remeber values for the final template -$content['receive'] = $RECEIVED; -$content['confirmed'] = $CONFIRMED; -$content['sent'] = $SENT; +$content['receive'] = translateComma($RECEIVED); +$content['confirmed'] = translateComma($CONFIRMED); +$content['sent'] = translateComma($SENT); // Load final template if (isExtensionActive('user')) {