]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-sponsor_infos.php
Surfbar continued:
[mailer.git] / inc / modules / guest / what-sponsor_infos.php
index 7e0f927854210b40610960d95463890275755a23..886cbcc965dc1acdb5207a994afa89ffd08d669c 100644 (file)
@@ -37,7 +37,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Add description as navigation point
-ADD_DESCR("guest", basename(__FILE__));
+ADD_DESCR("guest", __FILE__);
 
 // Remove result_act
 unset($result_act);
@@ -85,15 +85,9 @@ if ($num_act > 0)
                                'rate'  => TRANSLATE_COMMA($rate),
                                'min'   => $min,
                                'curr'  => $curr,
-                               'price' => $min,
+                               'price' => TRANSLATE_COMMA($min),
                        );
 
-                       if (!ereg(",", $content['price']))
-                       {
-                               // Add missing zeros
-                               $content['price'] .= ",".str_repeat("0", $_CONFIG['max_comma']);
-                       }
-
                        // Load row template and switch color
                        $OUT_PAY .= LOAD_TEMPLATE("guest_sponsor_pay_row", true, $content);
                        $SW = 3 - $SW;