Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

399
 
484
 
484
 
currencies.php
_> 11 <?php
  22 /*
<> 3 -  $Id: currencies.php 399 2006-01-25 06:08:03Z hpdl $
   3+  $Id: currencies.php 484 2006-04-17 23:32:41Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
4949       return $this->currencies[$currency_code]['symbol_left'] . number_format(tep_round($number * $currency_value, $this->currencies[$currency_code]['decimal_places']), $this->currencies[$currency_code]['decimal_places'], $osC_Language->getNumericDecimalSeparator(), $osC_Language->getNumericThousandsSeparator()) . $this->currencies[$currency_code]['symbol_right'];
  5050     }
  5151 
<>  52+    function formatRaw($number, $currency_code = '', $currency_value = '') {
   53+      if (empty($currency_code) || ($this->exists($currency_code) == false)) {
   54+        $currency_code = (isset($_SESSION['currency']) ? $_SESSION['currency'] : DEFAULT_CURRENCY);
   55+      }
   56+
   57+      if (empty($currency_value) || (is_numeric($currency_value) == false)) {
   58+        $currency_value = $this->currencies[$currency_code]['value'];
   59+      }
   60+
   61+      return number_format(tep_round($number * $currency_value, $this->currencies[$currency_code]['decimal_places']), $this->currencies[$currency_code]['decimal_places'], '.', '');
   62+    }
   63+
<_ 5264     function displayPrice($price, $tax_class_id, $quantity = 1) {
  5365       global $osC_Tax;
  5466