@@ 514-532 (lines=19) @@ | ||
511 | $symbol = wpinv_currency_symbol( $currency ); |
|
512 | ||
513 | if ( $position == 'left' || $position == 'left_space' ) { |
|
514 | switch ( $currency ) { |
|
515 | case "GBP" : |
|
516 | case "BRL" : |
|
517 | case "EUR" : |
|
518 | case "USD" : |
|
519 | case "AUD" : |
|
520 | case "CAD" : |
|
521 | case "HKD" : |
|
522 | case "MXN" : |
|
523 | case "NZD" : |
|
524 | case "SGD" : |
|
525 | case "JPY" : |
|
526 | $price = $position == 'left_space' ? $symbol . ' ' . $amount : $symbol . $amount; |
|
527 | break; |
|
528 | default : |
|
529 | //$price = $currency . ' ' . $amount; |
|
530 | $price = $position == 'left_space' ? $symbol . ' ' . $amount : $symbol . $amount; |
|
531 | break; |
|
532 | } |
|
533 | } else { |
|
534 | switch ( $currency ) { |
|
535 | case "GBP" : |
|
@@ 534-551 (lines=18) @@ | ||
531 | break; |
|
532 | } |
|
533 | } else { |
|
534 | switch ( $currency ) { |
|
535 | case "GBP" : |
|
536 | case "BRL" : |
|
537 | case "EUR" : |
|
538 | case "USD" : |
|
539 | case "AUD" : |
|
540 | case "CAD" : |
|
541 | case "HKD" : |
|
542 | case "MXN" : |
|
543 | case "SGD" : |
|
544 | case "JPY" : |
|
545 | $price = $position == 'right_space' ? $amount . ' ' . $symbol : $amount . $symbol; |
|
546 | break; |
|
547 | default : |
|
548 | //$price = $amount . ' ' . $currency; |
|
549 | $price = $position == 'right_space' ? $amount . ' ' . $symbol : $amount . $symbol; |
|
550 | break; |
|
551 | } |
|
552 | } |
|
553 | ||
554 | if ( $negative ) { |