@@ 378-405 (lines=28) @@ | ||
375 | ||
376 | global $wp_locale; |
|
377 | ||
378 | if ( '9.999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
379 | $thousands = '.'; |
|
380 | $dot = ','; |
|
381 | } |
|
382 | elseif ( '9,999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
383 | $thousands = ','; |
|
384 | $dot = '.'; |
|
385 | } |
|
386 | elseif ( '9\'999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
387 | $thousands = '\''; |
|
388 | $dot = '.'; |
|
389 | } |
|
390 | elseif ( '9 999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
391 | $thousands = ' '; |
|
392 | $dot = ','; |
|
393 | } |
|
394 | elseif ( '9999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
395 | $thousands = ''; |
|
396 | $dot = '.'; |
|
397 | } |
|
398 | elseif ( '9999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
399 | $thousands = ''; |
|
400 | $dot = ','; |
|
401 | } |
|
402 | else { |
|
403 | $thousands = $wp_locale->number_format[ 'thousands_sep' ]; |
|
404 | $dot = $wp_locale->number_format[ 'decimal_point' ]; |
|
405 | } |
|
406 | ||
407 | $currency = 'usd'; |
|
408 | ||
@@ 437-464 (lines=28) @@ | ||
434 | ||
435 | global $wp_locale; |
|
436 | ||
437 | if ( '9.999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
438 | $thousands = '.'; |
|
439 | $dot = ','; |
|
440 | } |
|
441 | elseif ( '9,999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
442 | $thousands = ','; |
|
443 | $dot = '.'; |
|
444 | } |
|
445 | elseif ( '9\'999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
446 | $thousands = '\''; |
|
447 | $dot = '.'; |
|
448 | } |
|
449 | elseif ( '9 999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
450 | $thousands = ' '; |
|
451 | $dot = ','; |
|
452 | } |
|
453 | elseif ( '9999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
454 | $thousands = ','; |
|
455 | $dot = '.'; |
|
456 | } |
|
457 | elseif ( '9999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
458 | $thousands = '.'; |
|
459 | $dot = ','; |
|
460 | } |
|
461 | else { |
|
462 | $thousands = $wp_locale->number_format[ 'thousands_sep' ]; |
|
463 | $dot = $wp_locale->number_format[ 'decimal_point' ]; |
|
464 | } |
|
465 | ||
466 | $currency = 'usd'; |
|
467 | ||
@@ 519-546 (lines=28) @@ | ||
516 | ||
517 | global $wp_locale; |
|
518 | ||
519 | if ( '9.999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
520 | $thousands = '.'; |
|
521 | $dot = ','; |
|
522 | } |
|
523 | elseif ( '9,999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
524 | $thousands = ','; |
|
525 | $dot = '.'; |
|
526 | } |
|
527 | elseif ( '9\'999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
528 | $thousands = '\''; |
|
529 | $dot = '.'; |
|
530 | } |
|
531 | elseif ( '9 999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
532 | $thousands = ' '; |
|
533 | $dot = ','; |
|
534 | } |
|
535 | elseif ( '9999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
536 | $thousands = ','; |
|
537 | $dot = '.'; |
|
538 | } |
|
539 | elseif ( '9999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
540 | $thousands = '.'; |
|
541 | $dot = ','; |
|
542 | } |
|
543 | else { |
|
544 | $thousands = $wp_locale->number_format[ 'thousands_sep' ]; |
|
545 | $dot = $wp_locale->number_format[ 'decimal_point' ]; |
|
546 | } |
|
547 | ||
548 | $currency = 'usd'; |
|
549 | ||
@@ 637-664 (lines=28) @@ | ||
634 | return null; |
|
635 | } |
|
636 | ||
637 | if ( '9.999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
638 | $thousands = '.'; |
|
639 | $dot = ','; |
|
640 | } |
|
641 | elseif ( '9,999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
642 | $thousands = ','; |
|
643 | $dot = '.'; |
|
644 | } |
|
645 | elseif ( '9\'999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
646 | $thousands = '\''; |
|
647 | $dot = '.'; |
|
648 | } |
|
649 | elseif ( '9 999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
650 | $thousands = ' '; |
|
651 | $dot = ','; |
|
652 | } |
|
653 | elseif ( '9999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
654 | $thousands = ''; |
|
655 | $dot = '.'; |
|
656 | } |
|
657 | elseif ( '9999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
658 | $thousands = ''; |
|
659 | $dot = ','; |
|
660 | } |
|
661 | else { |
|
662 | $thousands = $wp_locale->number_format[ 'thousands_sep' ]; |
|
663 | $dot = $wp_locale->number_format[ 'decimal_point' ]; |
|
664 | } |
|
665 | ||
666 | $length = (int) pods_v( self::$type . '_max_length', $options, 12, true ); |
|
667 |