@@ 399-426 (lines=28) @@ | ||
396 | ||
397 | global $wp_locale; |
|
398 | ||
399 | if ( '9.999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
400 | $thousands = '.'; |
|
401 | $dot = ','; |
|
402 | } |
|
403 | elseif ( '9,999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
404 | $thousands = ','; |
|
405 | $dot = '.'; |
|
406 | } |
|
407 | elseif ( '9\'999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
408 | $thousands = '\''; |
|
409 | $dot = '.'; |
|
410 | } |
|
411 | elseif ( '9 999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
412 | $thousands = ' '; |
|
413 | $dot = ','; |
|
414 | } |
|
415 | elseif ( '9999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
416 | $thousands = ''; |
|
417 | $dot = '.'; |
|
418 | } |
|
419 | elseif ( '9999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
420 | $thousands = ''; |
|
421 | $dot = ','; |
|
422 | } |
|
423 | else { |
|
424 | $thousands = $wp_locale->number_format[ 'thousands_sep' ]; |
|
425 | $dot = $wp_locale->number_format[ 'decimal_point' ]; |
|
426 | } |
|
427 | ||
428 | $currency = 'usd'; |
|
429 | ||
@@ 458-485 (lines=28) @@ | ||
455 | ||
456 | global $wp_locale; |
|
457 | ||
458 | if ( '9.999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
459 | $thousands = '.'; |
|
460 | $dot = ','; |
|
461 | } |
|
462 | elseif ( '9,999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
463 | $thousands = ','; |
|
464 | $dot = '.'; |
|
465 | } |
|
466 | elseif ( '9\'999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
467 | $thousands = '\''; |
|
468 | $dot = '.'; |
|
469 | } |
|
470 | elseif ( '9 999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
471 | $thousands = ' '; |
|
472 | $dot = ','; |
|
473 | } |
|
474 | elseif ( '9999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
475 | $thousands = ','; |
|
476 | $dot = '.'; |
|
477 | } |
|
478 | elseif ( '9999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
479 | $thousands = '.'; |
|
480 | $dot = ','; |
|
481 | } |
|
482 | else { |
|
483 | $thousands = $wp_locale->number_format[ 'thousands_sep' ]; |
|
484 | $dot = $wp_locale->number_format[ 'decimal_point' ]; |
|
485 | } |
|
486 | ||
487 | $currency = 'usd'; |
|
488 | ||
@@ 532-559 (lines=28) @@ | ||
529 | ||
530 | global $wp_locale; |
|
531 | ||
532 | if ( '9.999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
533 | $thousands = '.'; |
|
534 | $dot = ','; |
|
535 | } |
|
536 | elseif ( '9,999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
537 | $thousands = ','; |
|
538 | $dot = '.'; |
|
539 | } |
|
540 | elseif ( '9\'999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
541 | $thousands = '\''; |
|
542 | $dot = '.'; |
|
543 | } |
|
544 | elseif ( '9 999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
545 | $thousands = ' '; |
|
546 | $dot = ','; |
|
547 | } |
|
548 | elseif ( '9999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
549 | $thousands = ','; |
|
550 | $dot = '.'; |
|
551 | } |
|
552 | elseif ( '9999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
553 | $thousands = '.'; |
|
554 | $dot = ','; |
|
555 | } |
|
556 | else { |
|
557 | $thousands = $wp_locale->number_format[ 'thousands_sep' ]; |
|
558 | $dot = $wp_locale->number_format[ 'decimal_point' ]; |
|
559 | } |
|
560 | ||
561 | $currency = 'usd'; |
|
562 | ||
@@ 639-666 (lines=28) @@ | ||
636 | return null; |
|
637 | } |
|
638 | ||
639 | if ( '9.999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
640 | $thousands = '.'; |
|
641 | $dot = ','; |
|
642 | } |
|
643 | elseif ( '9,999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
644 | $thousands = ','; |
|
645 | $dot = '.'; |
|
646 | } |
|
647 | elseif ( '9\'999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
648 | $thousands = '\''; |
|
649 | $dot = '.'; |
|
650 | } |
|
651 | elseif ( '9 999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
652 | $thousands = ' '; |
|
653 | $dot = ','; |
|
654 | } |
|
655 | elseif ( '9999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
656 | $thousands = ''; |
|
657 | $dot = '.'; |
|
658 | } |
|
659 | elseif ( '9999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
660 | $thousands = ''; |
|
661 | $dot = ','; |
|
662 | } |
|
663 | else { |
|
664 | $thousands = $wp_locale->number_format[ 'thousands_sep' ]; |
|
665 | $dot = $wp_locale->number_format[ 'decimal_point' ]; |
|
666 | } |
|
667 | ||
668 | $length = (int) pods_v( self::$type . '_max_length', $options, 12, true ); |
|
669 |