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