@@ 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 | ||
@@ 507-534 (lines=28) @@ | ||
504 | ||
505 | global $wp_locale; |
|
506 | ||
507 | if ( '9.999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
508 | $thousands = '.'; |
|
509 | $dot = ','; |
|
510 | } |
|
511 | elseif ( '9,999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
512 | $thousands = ','; |
|
513 | $dot = '.'; |
|
514 | } |
|
515 | elseif ( '9\'999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
516 | $thousands = '\''; |
|
517 | $dot = '.'; |
|
518 | } |
|
519 | elseif ( '9 999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
520 | $thousands = ' '; |
|
521 | $dot = ','; |
|
522 | } |
|
523 | elseif ( '9999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
524 | $thousands = ','; |
|
525 | $dot = '.'; |
|
526 | } |
|
527 | elseif ( '9999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
528 | $thousands = '.'; |
|
529 | $dot = ','; |
|
530 | } |
|
531 | else { |
|
532 | $thousands = $wp_locale->number_format[ 'thousands_sep' ]; |
|
533 | $dot = $wp_locale->number_format[ 'decimal_point' ]; |
|
534 | } |
|
535 | ||
536 | $currency = 'usd'; |
|
537 | ||
@@ 614-641 (lines=28) @@ | ||
611 | return null; |
|
612 | } |
|
613 | ||
614 | if ( '9.999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
615 | $thousands = '.'; |
|
616 | $dot = ','; |
|
617 | } |
|
618 | elseif ( '9,999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
619 | $thousands = ','; |
|
620 | $dot = '.'; |
|
621 | } |
|
622 | elseif ( '9\'999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
623 | $thousands = '\''; |
|
624 | $dot = '.'; |
|
625 | } |
|
626 | elseif ( '9 999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
627 | $thousands = ' '; |
|
628 | $dot = ','; |
|
629 | } |
|
630 | elseif ( '9999.99' == pods_v( self::$type . '_format', $options ) ) { |
|
631 | $thousands = ''; |
|
632 | $dot = '.'; |
|
633 | } |
|
634 | elseif ( '9999,99' == pods_v( self::$type . '_format', $options ) ) { |
|
635 | $thousands = ''; |
|
636 | $dot = ','; |
|
637 | } |
|
638 | else { |
|
639 | $thousands = $wp_locale->number_format[ 'thousands_sep' ]; |
|
640 | $dot = $wp_locale->number_format[ 'decimal_point' ]; |
|
641 | } |
|
642 | ||
643 | $length = (int) pods_v( self::$type . '_max_length', $options, 12, true ); |
|
644 |