Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1592
 
1803
 
1803
 
currencies.php
_> 11 <?php
  22 /*
<> 3 -  $Id: currencies.php,v 1.16 2003/06/05 23:16:46 hpdl Exp $
   3+  $Id: currencies.php 1803 2008-01-11 18:16:37Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2003 osCommerce
   8+  Copyright (c) 2008 osCommerce
99 
  1010   Released under the GNU General Public License
  1111 */
     
 !
4040       if ($calculate_currency_value == true) {
  4141         $rate = (tep_not_null($currency_value)) ? $currency_value : $this->currencies[$currency_type]['value'];
  4242         $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format(tep_round($number * $rate, $this->currencies[$currency_type]['decimal_places']), $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right'];
<> 43 -// if the selected currency is in the european euro-conversion and the default currency is euro,
  44 -// the currency will displayed in the national currency and euro currency
  45 -        if ( (DEFAULT_CURRENCY == 'EUR') && ($currency_type == 'DEM' || $currency_type == 'BEF' || $currency_type == 'LUF' || $currency_type == 'ESP' || $currency_type == 'FRF' || $currency_type == 'IEP' || $currency_type == 'ITL' || $currency_type == 'NLG' || $currency_type == 'ATS' || $currency_type == 'PTE' || $currency_type == 'FIM' || $currency_type == 'GRD') ) {
  46 -          $format_string .= ' <small>[' . $this->format($number, true, 'EUR') . ']</small>';
  47 -        }
<_ 4843       } else {
  4944         $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format(tep_round($number, $this->currencies[$currency_type]['decimal_places']), $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right'];
  5045       }