]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/payout_functions.php
Several more constants rewritten to getConfig()
[mailer.git] / inc / libs / payout_functions.php
index edce2bed432e2845b5cd17f7342661c5e3b60df1..835bb7394faeba8d9b6b72f89d22258d86b4e6df 100644 (file)
@@ -45,7 +45,7 @@ if (!defined('__SECURITY')) {
 //
 function PAYOUT_OUTPUT_PAYOUT_LIST ($points) {
        // Replace german decimal comma with CPU's decimal dot
-       $points = REVERT_COMMA($points);
+       $points = convertCommaToDot($points);
 
        // Enougth points?
        if ($points > 0) {
@@ -67,7 +67,7 @@ ORDER BY type", array($points), __FUNCTION__, __LINE__);
                                if ($points >= $content['min_points']) {
                                        // Ok we found one
                                        $P = $points * $content['rate'] - 0.5;
-                                       OUTPUT_HTML("<li>{--PAYOUT_IN--}: <strong><a href=\"{!URL!}/modules.php?module=login&amp;what=payout&amp;payout=".$content['id']."\">".$content['type']." ({--PAYOUT_MAX--} ".round($P)." ".$content['type'].")</a></strong></li>");
+                                       OUTPUT_HTML("<li>{--PAYOUT_IN--}: <strong><a href=\"{?URL?}/modules.php?module=login&amp;what=payout&amp;payout=".$content['id']."\">".$content['type']." ({--PAYOUT_MAX--} ".round($P)." ".$content['type'].")</a></strong></li>");
                                } // END - if
                        } // END - while