OptionTree - Version 2.5.3

Version Description

  • Hotfix - Added inherit fallback to the border option type in dynamic.css.
  • Hotfix - Added none fallback to the box-shadow option type in dynamic.css.
  • Hotfix - Added inherit fallback to the colorpicker option type in dynamic.css.
  • Hotfix - Added inherit fallback to the colorpicker-opacity option type in dynamic.css.
  • Hotfix - Added filter ot_insert_css_with_markers_fallback to filter the dynamic.css fallback value.
  • Hotfix - Added filter ot_type_radio_image_attributes to filter the image attributes for each radio choice. Contributors via github @BassemN, and @valendesigns.
  • Hotfix - Refactored ot_insert_css_with_markers to remove confusing & unnecessary PHP statements and fix whitespace.
  • Hotfix - Fixed an issue in ot_insert_css_with_markers where the $option_type variable was not being set properly.
  • Hotfix - Fixed an issue where having multiple Google Fonts option types caused the "Add Google Font" button to insert multiple dropdowns.
Download this release

Release Info

Developer valendesigns
Plugin Icon wp plugin OptionTree
Version 2.5.3
Comparing to
See all releases

Code changes from version 2.5.2 to 2.5.3

assets/js/ot-admin.js CHANGED
@@ -631,7 +631,8 @@
631
  });
632
  $('.js-add-google-font').on('click', function (event) {
633
  var $group = $(this).parent('.format-setting-inner').find('.type-google-font-group'),
634
- $clone = $('.type-google-font-group-clone').clone(true),
 
635
  $count = $group.length ? $group.length : 0;
636
  $clone.attr('class', 'type-google-font-group');
637
  var replacer = function(index, elm) {
@@ -646,7 +647,7 @@
646
  $('.option-tree-google-font-subsets', $clone).each( function() {
647
  $(this).attr('data-field-id-prefix', replacer ).attr('data-field-name', replacer );
648
  });
649
- $('.type-google-font-group-clone').before($clone)
650
  event.preventDefault()
651
  });
652
  $('.js-remove-google-font').on('click', function (event) {
631
  });
632
  $('.js-add-google-font').on('click', function (event) {
633
  var $group = $(this).parent('.format-setting-inner').find('.type-google-font-group'),
634
+ $el_clone = $(this).prev('.type-google-font-group-clone'),
635
+ $clone = $el_clone.clone(true),
636
  $count = $group.length ? $group.length : 0;
637
  $clone.attr('class', 'type-google-font-group');
638
  var replacer = function(index, elm) {
647
  $('.option-tree-google-font-subsets', $clone).each( function() {
648
  $(this).attr('data-field-id-prefix', replacer ).attr('data-field-name', replacer );
649
  });
650
+ $el_clone.before($clone)
651
  event.preventDefault()
652
  });
653
  $('.js-remove-google-font').on('click', function (event) {
includes/ot-functions-admin.php CHANGED
@@ -3422,12 +3422,12 @@ if ( ! function_exists( 'ot_social_links_settings' ) ) {
3422
  *
3423
  * @access public
3424
  * @since 1.1.8
3425
- * @updated 2.0.12
3426
  */
3427
  if ( ! function_exists( 'ot_insert_css_with_markers' ) ) {
3428
 
3429
  function ot_insert_css_with_markers( $field_id = '', $insertion = '', $meta = false ) {
3430
-
3431
  /* missing $field_id or $insertion exit early */
3432
  if ( '' == $field_id || '' == $insertion )
3433
  return;
@@ -3440,7 +3440,7 @@ if ( ! function_exists( 'ot_insert_css_with_markers' ) ) {
3440
  $filepath = $multisite_filepath;
3441
  }
3442
  }
3443
-
3444
  /* allow filter on path */
3445
  $filepath = apply_filters( 'css_option_file_path', $filepath, $field_id );
3446
 
@@ -3462,117 +3462,122 @@ if ( ! function_exists( 'ot_insert_css_with_markers' ) ) {
3462
 
3463
  /* insert CSS into file */
3464
  if ( file_exists( $filepath ) ) {
3465
-
3466
  $insertion = ot_normalize_css( $insertion );
3467
  $regex = "/{{([a-zA-Z0-9\_\-\#\|\=]+)}}/";
3468
  $marker = $field_id;
3469
-
3470
  /* Match custom CSS */
3471
  preg_match_all( $regex, $insertion, $matches );
3472
-
3473
  /* Loop through CSS */
3474
  foreach( $matches[0] as $option ) {
3475
 
3476
  $value = '';
3477
- $option_id = str_replace( array( '{{', '}}' ), '', $option );
3478
- $option_array = explode( '|', $option_id );
 
3479
  $option_type = ot_get_option_type_by_id( $option_id );
3480
-
3481
- /* get the array value */
 
3482
  if ( $meta ) {
3483
  global $post;
3484
-
3485
- $value = get_post_meta( $post->ID, $option_array[0], true );
3486
-
 
3487
  } else {
3488
-
3489
  $options = get_option( ot_options_id() );
3490
-
3491
- if ( isset( $options[$option_array[0]] ) ) {
3492
-
3493
- $value = $options[$option_array[0]];
3494
-
3495
  }
3496
-
3497
  }
3498
-
 
3499
  if ( is_array( $value ) ) {
3500
-
3501
- if ( ! isset( $option_array[1] ) ) {
3502
-
3503
- /* Measurement */
3504
- if ( isset( $value[0] ) && isset( $value[1] ) ) {
3505
-
3506
- /* set $value with measurement properties */
3507
- $value = $value[0].$value[1];
3508
-
3509
- /* Border */
3510
- } else if ( ot_array_keys_exists( $value, array( 'width', 'unit', 'style', 'color' ) ) && ! ot_array_keys_exists( $value, array( 'top', 'right', 'bottom', 'left', 'height', 'inset', 'offset-x', 'offset-y', 'blur-radius', 'spread-radius' ) ) ) {
 
3511
  $border = array();
3512
-
3513
  $unit = ! empty( $value['unit'] ) ? $value['unit'] : 'px';
3514
-
3515
  if ( ! empty( $value['width'] ) )
3516
  $border[] = $value['width'].$unit;
3517
-
3518
  if ( ! empty( $value['style'] ) )
3519
  $border[] = $value['style'];
3520
-
3521
  if ( ! empty( $value['color'] ) )
3522
  $border[] = $value['color'];
3523
-
3524
  /* set $value with border properties or empty string */
3525
  $value = ! empty( $border ) ? implode( ' ', $border ) : '';
3526
-
3527
- /* Box Shadow */
3528
- } else if ( ot_array_keys_exists( $value, array( 'inset', 'offset-x', 'offset-y', 'blur-radius', 'spread-radius', 'color' ) ) && ! ot_array_keys_exists( $value, array( 'width', 'height', 'unit', 'style', 'top', 'right', 'bottom', 'left' ) ) ) {
3529
 
3530
  /* set $value with box-shadow properties or empty string */
3531
  $value = ! empty( $value ) ? implode( ' ', $value ) : '';
3532
-
3533
- /* Dimension */
3534
- } else if ( ot_array_keys_exists( $value, array( 'width', 'height', 'unit' ) ) && ! ot_array_keys_exists( $value, array( 'style', 'color', 'top', 'right', 'bottom', 'left' ) ) ) {
3535
  $dimension = array();
3536
-
3537
  $unit = ! empty( $value['unit'] ) ? $value['unit'] : 'px';
3538
-
3539
  if ( ! empty( $value['width'] ) )
3540
  $dimension[] = $value['width'].$unit;
3541
-
3542
  if ( ! empty( $value['height'] ) )
3543
  $dimension[] = $value['height'].$unit;
3544
-
3545
- /* set $value with dimension properties or empty string */
3546
  $value = ! empty( $dimension ) ? implode( ' ', $dimension ) : '';
3547
-
3548
- /* Spacing */
3549
- } else if ( ot_array_keys_exists( $value, array( 'top', 'right', 'bottom', 'left', 'unit' ) ) && ! ot_array_keys_exists( $value, array( 'width', 'height', 'style', 'color' ) ) ) {
3550
  $spacing = array();
3551
-
3552
  $unit = ! empty( $value['unit'] ) ? $value['unit'] : 'px';
3553
-
3554
  if ( ! empty( $value['top'] ) )
3555
  $spacing[] = $value['top'].$unit;
3556
-
3557
  if ( ! empty( $value['right'] ) )
3558
  $spacing[] = $value['right'].$unit;
3559
-
3560
  if ( ! empty( $value['bottom'] ) )
3561
  $spacing[] = $value['bottom'].$unit;
3562
-
3563
  if ( ! empty( $value['left'] ) )
3564
  $spacing[] = $value['left'].$unit;
3565
-
3566
- /* set $value with spacing properties or empty string */
3567
  $value = ! empty( $spacing ) ? implode( ' ', $spacing ) : '';
3568
-
3569
- /* typography */
3570
- } else if ( ot_array_keys_exists( $value, array( 'font-color', 'font-family', 'font-size', 'font-style', 'font-variant', 'font-weight', 'letter-spacing', 'line-height', 'text-decoration', 'text-transform' ) ) ) {
3571
  $font = array();
3572
-
3573
  if ( ! empty( $value['font-color'] ) )
3574
  $font[] = "color: " . $value['font-color'] . ";";
3575
-
3576
  if ( ! empty( $value['font-family'] ) ) {
3577
  foreach ( ot_recognized_font_families( $marker ) as $key => $v ) {
3578
  if ( $key == $value['font-family'] ) {
@@ -3580,122 +3585,167 @@ if ( ! function_exists( 'ot_insert_css_with_markers' ) ) {
3580
  }
3581
  }
3582
  }
3583
-
3584
  if ( ! empty( $value['font-size'] ) )
3585
  $font[] = "font-size: " . $value['font-size'] . ";";
3586
-
3587
  if ( ! empty( $value['font-style'] ) )
3588
  $font[] = "font-style: " . $value['font-style'] . ";";
3589
-
3590
  if ( ! empty( $value['font-variant'] ) )
3591
  $font[] = "font-variant: " . $value['font-variant'] . ";";
3592
-
3593
  if ( ! empty( $value['font-weight'] ) )
3594
  $font[] = "font-weight: " . $value['font-weight'] . ";";
3595
-
3596
  if ( ! empty( $value['letter-spacing'] ) )
3597
  $font[] = "letter-spacing: " . $value['letter-spacing'] . ";";
3598
-
3599
  if ( ! empty( $value['line-height'] ) )
3600
  $font[] = "line-height: " . $value['line-height'] . ";";
3601
-
3602
  if ( ! empty( $value['text-decoration'] ) )
3603
  $font[] = "text-decoration: " . $value['text-decoration'] . ";";
3604
-
3605
  if ( ! empty( $value['text-transform'] ) )
3606
  $font[] = "text-transform: " . $value['text-transform'] . ";";
3607
-
3608
- /* set $value with font properties or empty string */
3609
  $value = ! empty( $font ) ? implode( "\n", $font ) : '';
3610
-
3611
- /* background */
3612
- } else if ( ot_array_keys_exists( $value, array( 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', 'background-size' ) ) ) {
3613
  $bg = array();
3614
-
3615
  if ( ! empty( $value['background-color'] ) )
3616
  $bg[] = $value['background-color'];
3617
-
3618
  if ( ! empty( $value['background-image'] ) ) {
3619
-
3620
- /* If an attachment ID is stored here fetch its URL and replace the value */
3621
  if ( wp_attachment_is_image( $value['background-image'] ) ) {
3622
-
3623
  $attachment_data = wp_get_attachment_image_src( $value['background-image'], 'original' );
3624
-
3625
- /* check for attachment data */
3626
  if ( $attachment_data ) {
3627
-
3628
  $value['background-image'] = $attachment_data[0];
3629
-
3630
  }
3631
-
3632
  }
3633
-
3634
  $bg[] = 'url("' . $value['background-image'] . '")';
3635
-
3636
  }
3637
-
3638
  if ( ! empty( $value['background-repeat'] ) )
3639
  $bg[] = $value['background-repeat'];
3640
-
3641
  if ( ! empty( $value['background-attachment'] ) )
3642
  $bg[] = $value['background-attachment'];
3643
-
3644
  if ( ! empty( $value['background-position'] ) )
3645
  $bg[] = $value['background-position'];
3646
-
3647
  if ( ! empty( $value['background-size'] ) )
3648
  $size = $value['background-size'];
3649
-
3650
- /* set $value with background properties or empty string */
3651
  $value = ! empty( $bg ) ? 'background: ' . implode( " ", $bg ) . ';' : '';
3652
-
3653
  if ( isset( $size ) ) {
3654
  if ( ! empty( $bg ) ) {
3655
  $value.= apply_filters( 'ot_insert_css_with_markers_bg_size_white_space', "\n\x20\x20", $option_id );
3656
  }
3657
  $value.= "background-size: $size;";
3658
  }
3659
-
3660
  }
3661
-
3662
  } else {
3663
-
3664
- $value = $value[$option_array[1]];
3665
-
3666
  }
3667
-
3668
  }
3669
-
3670
- /* If an attachment ID is stored here fetch its URL and replace the value */
3671
  if ( $option_type == 'upload' && wp_attachment_is_image( $value ) ) {
3672
-
3673
  $attachment_data = wp_get_attachment_image_src( $value, 'original' );
3674
-
3675
- /* check for attachment data */
3676
  if ( $attachment_data ) {
3677
-
3678
  $value = $attachment_data[0];
3679
-
3680
  }
3681
-
3682
  }
3683
 
3684
- // Fallback when value is empty
3685
- if ( empty( $value ) && isset( $option_array[1] ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3686
 
3687
- // Link Color `inherit` fallback
3688
- if ( in_array( $option_array[1], array( 'link', 'hover', 'active', 'visited', 'focus' ) ) ) {
3689
- $value = 'inherit';
3690
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3691
  }
3692
 
3693
  // Filter the CSS
3694
  $value = apply_filters( 'ot_insert_css_with_markers_value', $value, $option_id );
3695
-
3696
- /* insert CSS, even if the value is empty */
3697
  $insertion = stripslashes( str_replace( $option, $value, $insertion ) );
3698
-
3699
  }
3700
 
3701
  // Can't write to the file so we error out
@@ -3703,37 +3753,37 @@ if ( ! function_exists( 'ot_insert_css_with_markers' ) ) {
3703
  add_settings_error( 'option-tree', 'dynamic_css', sprintf( __( 'Unable to write to file %s.', 'option-tree' ), '<code>' . $filepath . '</code>' ), 'error' );
3704
  return false;
3705
  }
3706
-
3707
- /* create array from the lines of code */
3708
  $markerdata = explode( "\n", implode( '', file( $filepath ) ) );
3709
-
3710
- /* can't write to the file return false */
3711
  if ( ! $f = ot_file_open( $filepath, 'w' ) ) {
3712
  return false;
3713
  }
3714
-
3715
  $searching = true;
3716
  $foundit = false;
3717
-
3718
- /* has array of lines */
3719
  if ( ! empty( $markerdata ) ) {
3720
-
3721
- /* foreach line of code */
3722
  foreach( $markerdata as $n => $markerline ) {
3723
-
3724
- /* found begining of marker, set $searching to false */
3725
  if ( $markerline == "/* BEGIN {$marker} */" )
3726
  $searching = false;
3727
-
3728
- /* keep rewrite each line of CSS */
3729
  if ( $searching == true ) {
3730
  if ( $n + 1 < count( $markerdata ) )
3731
  ot_file_write( $f, "{$markerline}\n" );
3732
  else
3733
  ot_file_write( $f, "{$markerline}" );
3734
  }
3735
-
3736
- /* found end marker write code */
3737
  if ( $markerline == "/* END {$marker} */" ) {
3738
  ot_file_write( $f, "/* BEGIN {$marker} */\n" );
3739
  ot_file_write( $f, "{$insertion}\n" );
@@ -3741,23 +3791,23 @@ if ( ! function_exists( 'ot_insert_css_with_markers' ) ) {
3741
  $searching = true;
3742
  $foundit = true;
3743
  }
3744
-
3745
  }
3746
-
3747
  }
3748
-
3749
- /* nothing inserted, write code. DO IT, DO IT! */
3750
  if ( ! $foundit ) {
3751
  ot_file_write( $f, "/* BEGIN {$marker} */\n" );
3752
  ot_file_write( $f, "{$insertion}\n" );
3753
  ot_file_write( $f, "/* END {$marker} */\n" );
3754
  }
3755
-
3756
- /* close file */
3757
  ot_file_close( $f );
3758
  return true;
3759
  }
3760
-
3761
  return false;
3762
 
3763
  }
3422
  *
3423
  * @access public
3424
  * @since 1.1.8
3425
+ * @updated 2.5.3
3426
  */
3427
  if ( ! function_exists( 'ot_insert_css_with_markers' ) ) {
3428
 
3429
  function ot_insert_css_with_markers( $field_id = '', $insertion = '', $meta = false ) {
3430
+
3431
  /* missing $field_id or $insertion exit early */
3432
  if ( '' == $field_id || '' == $insertion )
3433
  return;
3440
  $filepath = $multisite_filepath;
3441
  }
3442
  }
3443
+
3444
  /* allow filter on path */
3445
  $filepath = apply_filters( 'css_option_file_path', $filepath, $field_id );
3446
 
3462
 
3463
  /* insert CSS into file */
3464
  if ( file_exists( $filepath ) ) {
3465
+
3466
  $insertion = ot_normalize_css( $insertion );
3467
  $regex = "/{{([a-zA-Z0-9\_\-\#\|\=]+)}}/";
3468
  $marker = $field_id;
3469
+
3470
  /* Match custom CSS */
3471
  preg_match_all( $regex, $insertion, $matches );
3472
+
3473
  /* Loop through CSS */
3474
  foreach( $matches[0] as $option ) {
3475
 
3476
  $value = '';
3477
+ $option_array = explode( '|', str_replace( array( '{{', '}}' ), '', $option ) );
3478
+ $option_id = isset( $option_array[0] ) ? $option_array[0] : '';
3479
+ $option_key = isset( $option_array[1] ) ? $option_array[1] : '';
3480
  $option_type = ot_get_option_type_by_id( $option_id );
3481
+ $fallback = '';
3482
+
3483
+ // Get the meta array value
3484
  if ( $meta ) {
3485
  global $post;
3486
+
3487
+ $value = get_post_meta( $post->ID, $option_id, true );
3488
+
3489
+ // Get the options array value
3490
  } else {
3491
+
3492
  $options = get_option( ot_options_id() );
3493
+
3494
+ if ( isset( $options[$option_id] ) ) {
3495
+
3496
+ $value = $options[$option_id];
3497
+
3498
  }
3499
+
3500
  }
3501
+
3502
+ // This in an array of values
3503
  if ( is_array( $value ) ) {
3504
+
3505
+ if ( empty( $option_key ) ) {
3506
+
3507
+ // Measurement
3508
+ if ( $option_type == 'measurement' ) {
3509
+
3510
+ // Set $value with measurement properties
3511
+ if ( isset( $value[0] ) && isset( $value[1] ) )
3512
+ $value = $value[0].$value[1];
3513
+
3514
+ // Border
3515
+ } else if ( $option_type == 'border' ) {
3516
  $border = array();
3517
+
3518
  $unit = ! empty( $value['unit'] ) ? $value['unit'] : 'px';
3519
+
3520
  if ( ! empty( $value['width'] ) )
3521
  $border[] = $value['width'].$unit;
3522
+
3523
  if ( ! empty( $value['style'] ) )
3524
  $border[] = $value['style'];
3525
+
3526
  if ( ! empty( $value['color'] ) )
3527
  $border[] = $value['color'];
3528
+
3529
  /* set $value with border properties or empty string */
3530
  $value = ! empty( $border ) ? implode( ' ', $border ) : '';
3531
+
3532
+ // Box Shadow
3533
+ } else if ( $option_type == 'box-shadow' ) {
3534
 
3535
  /* set $value with box-shadow properties or empty string */
3536
  $value = ! empty( $value ) ? implode( ' ', $value ) : '';
3537
+
3538
+ // Dimension
3539
+ } else if ( $option_type == 'dimension' ) {
3540
  $dimension = array();
3541
+
3542
  $unit = ! empty( $value['unit'] ) ? $value['unit'] : 'px';
3543
+
3544
  if ( ! empty( $value['width'] ) )
3545
  $dimension[] = $value['width'].$unit;
3546
+
3547
  if ( ! empty( $value['height'] ) )
3548
  $dimension[] = $value['height'].$unit;
3549
+
3550
+ // Set $value with dimension properties or empty string
3551
  $value = ! empty( $dimension ) ? implode( ' ', $dimension ) : '';
3552
+
3553
+ // Spacing
3554
+ } else if ( $option_type == 'spacing' ) {
3555
  $spacing = array();
3556
+
3557
  $unit = ! empty( $value['unit'] ) ? $value['unit'] : 'px';
3558
+
3559
  if ( ! empty( $value['top'] ) )
3560
  $spacing[] = $value['top'].$unit;
3561
+
3562
  if ( ! empty( $value['right'] ) )
3563
  $spacing[] = $value['right'].$unit;
3564
+
3565
  if ( ! empty( $value['bottom'] ) )
3566
  $spacing[] = $value['bottom'].$unit;
3567
+
3568
  if ( ! empty( $value['left'] ) )
3569
  $spacing[] = $value['left'].$unit;
3570
+
3571
+ // Set $value with spacing properties or empty string
3572
  $value = ! empty( $spacing ) ? implode( ' ', $spacing ) : '';
3573
+
3574
+ // Typography
3575
+ } else if ( $option_type == 'typography' ) {
3576
  $font = array();
3577
+
3578
  if ( ! empty( $value['font-color'] ) )
3579
  $font[] = "color: " . $value['font-color'] . ";";
3580
+
3581
  if ( ! empty( $value['font-family'] ) ) {
3582
  foreach ( ot_recognized_font_families( $marker ) as $key => $v ) {
3583
  if ( $key == $value['font-family'] ) {
3585
  }
3586
  }
3587
  }
3588
+
3589
  if ( ! empty( $value['font-size'] ) )
3590
  $font[] = "font-size: " . $value['font-size'] . ";";
3591
+
3592
  if ( ! empty( $value['font-style'] ) )
3593
  $font[] = "font-style: " . $value['font-style'] . ";";
3594
+
3595
  if ( ! empty( $value['font-variant'] ) )
3596
  $font[] = "font-variant: " . $value['font-variant'] . ";";
3597
+
3598
  if ( ! empty( $value['font-weight'] ) )
3599
  $font[] = "font-weight: " . $value['font-weight'] . ";";
3600
+
3601
  if ( ! empty( $value['letter-spacing'] ) )
3602
  $font[] = "letter-spacing: " . $value['letter-spacing'] . ";";
3603
+
3604
  if ( ! empty( $value['line-height'] ) )
3605
  $font[] = "line-height: " . $value['line-height'] . ";";
3606
+
3607
  if ( ! empty( $value['text-decoration'] ) )
3608
  $font[] = "text-decoration: " . $value['text-decoration'] . ";";
3609
+
3610
  if ( ! empty( $value['text-transform'] ) )
3611
  $font[] = "text-transform: " . $value['text-transform'] . ";";
3612
+
3613
+ // Set $value with font properties or empty string
3614
  $value = ! empty( $font ) ? implode( "\n", $font ) : '';
3615
+
3616
+ // Background
3617
+ } else if ( $option_type == 'background' ) {
3618
  $bg = array();
3619
+
3620
  if ( ! empty( $value['background-color'] ) )
3621
  $bg[] = $value['background-color'];
3622
+
3623
  if ( ! empty( $value['background-image'] ) ) {
3624
+
3625
+ // If an attachment ID is stored here fetch its URL and replace the value
3626
  if ( wp_attachment_is_image( $value['background-image'] ) ) {
3627
+
3628
  $attachment_data = wp_get_attachment_image_src( $value['background-image'], 'original' );
3629
+
3630
+ // Check for attachment data
3631
  if ( $attachment_data ) {
3632
+
3633
  $value['background-image'] = $attachment_data[0];
3634
+
3635
  }
3636
+
3637
  }
3638
+
3639
  $bg[] = 'url("' . $value['background-image'] . '")';
3640
+
3641
  }
3642
+
3643
  if ( ! empty( $value['background-repeat'] ) )
3644
  $bg[] = $value['background-repeat'];
3645
+
3646
  if ( ! empty( $value['background-attachment'] ) )
3647
  $bg[] = $value['background-attachment'];
3648
+
3649
  if ( ! empty( $value['background-position'] ) )
3650
  $bg[] = $value['background-position'];
3651
+
3652
  if ( ! empty( $value['background-size'] ) )
3653
  $size = $value['background-size'];
3654
+
3655
+ // Set $value with background properties or empty string
3656
  $value = ! empty( $bg ) ? 'background: ' . implode( " ", $bg ) . ';' : '';
3657
+
3658
  if ( isset( $size ) ) {
3659
  if ( ! empty( $bg ) ) {
3660
  $value.= apply_filters( 'ot_insert_css_with_markers_bg_size_white_space', "\n\x20\x20", $option_id );
3661
  }
3662
  $value.= "background-size: $size;";
3663
  }
3664
+
3665
  }
3666
+
3667
  } else {
3668
+
3669
+ $value = $value[$option_key];
3670
+
3671
  }
3672
+
3673
  }
3674
+
3675
+ // If an attachment ID is stored here fetch its URL and replace the value
3676
  if ( $option_type == 'upload' && wp_attachment_is_image( $value ) ) {
3677
+
3678
  $attachment_data = wp_get_attachment_image_src( $value, 'original' );
3679
+
3680
+ // Check for attachment data
3681
  if ( $attachment_data ) {
3682
+
3683
  $value = $attachment_data[0];
3684
+
3685
  }
3686
+
3687
  }
3688
 
3689
+ // Attempt to fallback when `$value` is empty
3690
+ if ( empty( $value ) ) {
3691
+
3692
+ // We're trying to access a single array key
3693
+ if ( ! empty( $option_key ) ) {
3694
+
3695
+ // Link Color `inherit`
3696
+ if ( $option_type == 'link-color' ) {
3697
+ $fallback = 'inherit';
3698
+ }
3699
+
3700
+ } else {
3701
+
3702
+ // Border
3703
+ if ( $option_type == 'border' ) {
3704
+ $fallback = 'inherit';
3705
+ }
3706
+
3707
+ // Box Shadow
3708
+ if ( $option_type == 'box-shadow' ) {
3709
+ $fallback = 'none';
3710
+ }
3711
+
3712
+ // Colorpicker
3713
+ if ( $option_type == 'colorpicker' ) {
3714
+ $fallback = 'inherit';
3715
+ }
3716
+
3717
+ // Colorpicker Opacity
3718
+ if ( $option_type == 'colorpicker-opacity' ) {
3719
+ $fallback = 'inherit';
3720
+ }
3721
 
 
 
 
3722
  }
3723
+
3724
+ /**
3725
+ * Filter the `dynamic.css` fallback value.
3726
+ *
3727
+ * @since 2.5.3
3728
+ *
3729
+ * @param string $fallback The default CSS fallback value.
3730
+ * @param string $option_id The option ID.
3731
+ * @param string $option_type The option type.
3732
+ * @param string $option_key The option array key.
3733
+ */
3734
+ $fallback = apply_filters( 'ot_insert_css_with_markers_fallback', $fallback, $option_id, $option_type, $option_key );
3735
+
3736
+ }
3737
+
3738
+ // Let's fallback!
3739
+ if ( ! empty( $fallback ) ) {
3740
+ $value = $fallback;
3741
  }
3742
 
3743
  // Filter the CSS
3744
  $value = apply_filters( 'ot_insert_css_with_markers_value', $value, $option_id );
3745
+
3746
+ // Insert CSS, even if the value is empty
3747
  $insertion = stripslashes( str_replace( $option, $value, $insertion ) );
3748
+
3749
  }
3750
 
3751
  // Can't write to the file so we error out
3753
  add_settings_error( 'option-tree', 'dynamic_css', sprintf( __( 'Unable to write to file %s.', 'option-tree' ), '<code>' . $filepath . '</code>' ), 'error' );
3754
  return false;
3755
  }
3756
+
3757
+ // Create array from the lines of code
3758
  $markerdata = explode( "\n", implode( '', file( $filepath ) ) );
3759
+
3760
+ // Can't write to the file return false
3761
  if ( ! $f = ot_file_open( $filepath, 'w' ) ) {
3762
  return false;
3763
  }
3764
+
3765
  $searching = true;
3766
  $foundit = false;
3767
+
3768
+ // Has array of lines
3769
  if ( ! empty( $markerdata ) ) {
3770
+
3771
+ // Foreach line of code
3772
  foreach( $markerdata as $n => $markerline ) {
3773
+
3774
+ // Found begining of marker, set $searching to false
3775
  if ( $markerline == "/* BEGIN {$marker} */" )
3776
  $searching = false;
3777
+
3778
+ // Keep searching each line of CSS
3779
  if ( $searching == true ) {
3780
  if ( $n + 1 < count( $markerdata ) )
3781
  ot_file_write( $f, "{$markerline}\n" );
3782
  else
3783
  ot_file_write( $f, "{$markerline}" );
3784
  }
3785
+
3786
+ // Found end marker write code
3787
  if ( $markerline == "/* END {$marker} */" ) {
3788
  ot_file_write( $f, "/* BEGIN {$marker} */\n" );
3789
  ot_file_write( $f, "{$insertion}\n" );
3791
  $searching = true;
3792
  $foundit = true;
3793
  }
3794
+
3795
  }
3796
+
3797
  }
3798
+
3799
+ // Nothing inserted, write code. DO IT, DO IT!
3800
  if ( ! $foundit ) {
3801
  ot_file_write( $f, "/* BEGIN {$marker} */\n" );
3802
  ot_file_write( $f, "{$insertion}\n" );
3803
  ot_file_write( $f, "/* END {$marker} */\n" );
3804
  }
3805
+
3806
+ // Close file
3807
  ot_file_close( $f );
3808
  return true;
3809
  }
3810
+
3811
  return false;
3812
 
3813
  }
includes/ot-functions-option-types.php CHANGED
@@ -2035,9 +2035,20 @@ if ( ! function_exists( 'ot_type_radio_image' ) ) {
2035
  /* make radio image source filterable */
2036
  $src = apply_filters( 'ot_type_radio_image_src', $src, $field_id );
2037
 
 
 
 
 
 
 
 
 
 
 
 
2038
  echo '<div class="option-tree-ui-radio-images">';
2039
  echo '<p style="display:none"><input type="radio" name="' . esc_attr( $field_name ) . '" id="' . esc_attr( $field_id ) . '-' . esc_attr( $key ) . '" value="' . esc_attr( $choice['value'] ) . '"' . checked( $field_value, $choice['value'], false ) . ' class="option-tree-ui-radio option-tree-ui-images" /><label for="' . esc_attr( $field_id ) . '-' . esc_attr( $key ) . '">' . esc_attr( $choice['label'] ) . '</label></p>';
2040
- echo '<img src="' . esc_url( $src ) . '" alt="' . esc_attr( $choice['label'] ) .'" title="' . esc_attr( $choice['label'] ) .'" class="option-tree-ui-radio-image ' . esc_attr( $field_class ) . ( $field_value == $choice['value'] ? ' option-tree-ui-radio-image-selected' : '' ) . '" />';
2041
  echo '</div>';
2042
  }
2043
 
2035
  /* make radio image source filterable */
2036
  $src = apply_filters( 'ot_type_radio_image_src', $src, $field_id );
2037
 
2038
+ /**
2039
+ * Filter the image attributes.
2040
+ *
2041
+ * @since 2.5.3
2042
+ *
2043
+ * @param string $attributes The image attributes.
2044
+ * @param string $field_id The field ID.
2045
+ * @param array $choice The choice.
2046
+ */
2047
+ $attributes = apply_filters( 'ot_type_radio_image_attributes', '', $field_id, $choice );
2048
+
2049
  echo '<div class="option-tree-ui-radio-images">';
2050
  echo '<p style="display:none"><input type="radio" name="' . esc_attr( $field_name ) . '" id="' . esc_attr( $field_id ) . '-' . esc_attr( $key ) . '" value="' . esc_attr( $choice['value'] ) . '"' . checked( $field_value, $choice['value'], false ) . ' class="option-tree-ui-radio option-tree-ui-images" /><label for="' . esc_attr( $field_id ) . '-' . esc_attr( $key ) . '">' . esc_attr( $choice['label'] ) . '</label></p>';
2051
+ echo '<img ' . $attributes . ' src="' . esc_url( $src ) . '" alt="' . esc_attr( $choice['label'] ) .'" title="' . esc_attr( $choice['label'] ) .'" class="option-tree-ui-radio-image ' . esc_attr( $field_class ) . ( $field_value == $choice['value'] ? ' option-tree-ui-radio-image-selected' : '' ) . '" />';
2052
  echo '</div>';
2053
  }
2054
 
languages/option-tree-et.mo CHANGED
Binary file
languages/option-tree-et.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: OptionTree\n"
4
- "POT-Creation-Date: 2015-03-30 18:37-0800\n"
5
- "PO-Revision-Date: 2015-03-30 18:38-0800\n"
6
  "Last-Translator: Derek Herman <derek@valendesigns.com>\n"
7
  "Language-Team: Valen Designs\n"
8
  "Language: et_EE\n"
@@ -300,7 +300,7 @@ msgstr "Saada OptionTree-le"
300
 
301
  #: ../includes/ot-functions-admin.php:847
302
  #: ../includes/ot-functions-option-types.php:257
303
- #: ../includes/ot-functions-option-types.php:3207
304
  msgid "Remove Media"
305
  msgstr "Eemalda meedia"
306
 
@@ -500,7 +500,7 @@ msgid "Dimension"
500
  msgstr "Mõõtmed"
501
 
502
  #: ../includes/ot-functions-admin.php:2429
503
- #: ../includes/ot-functions-admin.php:5413
504
  #: ../includes/ot-functions-docs-page.php:168
505
  msgid "Gallery"
506
  msgstr "Galerii"
@@ -681,7 +681,7 @@ msgstr "Kaks küljendusmenüüd paremal"
681
 
682
  #: ../includes/ot-functions-admin.php:3260
683
  #: ../includes/ot-functions-admin.php:3316
684
- #: ../includes/ot-functions-admin.php:5453
685
  msgid "Link"
686
  msgstr "Viide"
687
 
@@ -714,47 +714,47 @@ msgstr ""
714
  "Sisesta link profiilile või lehele sellel sotsiaalmeedia veebilehel. Ära "
715
  "unusta lisada lingi ette %s osa."
716
 
717
- #: ../includes/ot-functions-admin.php:3703
718
  #, php-format
719
  msgid "Unable to write to file %s."
720
  msgstr ""
721
 
722
- #: ../includes/ot-functions-admin.php:3973
723
  msgid "edit"
724
  msgstr "muuda"
725
 
726
- #: ../includes/ot-functions-admin.php:3974
727
- #: ../includes/ot-functions-admin.php:4042
728
- #: ../includes/ot-functions-admin.php:4043
729
- #: ../includes/ot-functions-admin.php:4205
730
- #: ../includes/ot-functions-admin.php:4206
731
- #: ../includes/ot-functions-admin.php:4271
732
- #: ../includes/ot-functions-admin.php:4272
733
- #: ../includes/ot-functions-admin.php:4399
734
- #: ../includes/ot-functions-admin.php:4400
735
- #: ../includes/ot-functions-admin.php:4552
736
- #: ../includes/ot-functions-admin.php:4553
737
  msgid "Edit"
738
  msgstr "Muuda"
739
 
740
- #: ../includes/ot-functions-admin.php:3976
741
- #: ../includes/ot-functions-admin.php:3977
742
- #: ../includes/ot-functions-admin.php:4045
743
- #: ../includes/ot-functions-admin.php:4046
744
- #: ../includes/ot-functions-admin.php:4208
745
- #: ../includes/ot-functions-admin.php:4209
746
- #: ../includes/ot-functions-admin.php:4274
747
- #: ../includes/ot-functions-admin.php:4275
748
- #: ../includes/ot-functions-admin.php:4333
749
- #: ../includes/ot-functions-admin.php:4334
750
- #: ../includes/ot-functions-admin.php:4402
751
- #: ../includes/ot-functions-admin.php:4403
752
- #: ../includes/ot-functions-admin.php:4555
753
- #: ../includes/ot-functions-admin.php:4556
754
  msgid "Delete"
755
  msgstr "Kustuta"
756
 
757
- #: ../includes/ot-functions-admin.php:3983
758
  msgid ""
759
  "<strong>Section Title</strong>: Displayed as a menu item on the Theme "
760
  "Options page."
@@ -762,7 +762,7 @@ msgstr ""
762
  "<strong>Sektsiooni pealkiri</strong>: Näidatakse menüü elemendina teema "
763
  "valikute lehel."
764
 
765
- #: ../includes/ot-functions-admin.php:3991
766
  msgid ""
767
  "<strong>Section ID</strong>: A unique lower case alphanumeric string, "
768
  "underscores allowed."
@@ -770,7 +770,7 @@ msgstr ""
770
  "<strong>Sektsiooni ID</strong>: unikaalne väiketähtedega tähtnumbriline "
771
  "string, alakriipsud lubatud."
772
 
773
- #: ../includes/ot-functions-admin.php:4052
774
  msgid ""
775
  "<strong>Label</strong>: Displayed as the label of a form element on the "
776
  "Theme Options page."
@@ -778,8 +778,8 @@ msgstr ""
778
  "<strong>Nimetus</strong>: Näidatakse kui vormi elemendi nimetust teema "
779
  "valikute lehel."
780
 
781
- #: ../includes/ot-functions-admin.php:4060
782
- #: ../includes/ot-functions-admin.php:4289
783
  msgid ""
784
  "<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
785
  "allowed."
@@ -787,14 +787,14 @@ msgstr ""
787
  "<strong>ID</strong>: unikaalne väiketähtedega tähtnumbriline string, "
788
  "alakriipsud lubatud."
789
 
790
- #: ../includes/ot-functions-admin.php:4068
791
  msgid ""
792
  "<strong>Type</strong>: Choose one of the available option types from the "
793
  "dropdown."
794
  msgstr ""
795
  "<strong>Tüüp</strong>: vali rippmenüüst üks pakutavatest valiku tüüpidest."
796
 
797
- #: ../includes/ot-functions-admin.php:4079
798
  msgid ""
799
  "<strong>Description</strong>: Enter a detailed description for the users to "
800
  "read on the Theme Options page, HTML is allowed. This is also where you "
@@ -804,7 +804,7 @@ msgstr ""
804
  "saavad lugeda teema valikute lehel. HTML on lubatud. See on ühtlasi ka koht, "
805
  "kuhu sisestada tekstibloki ja pealkirjaga tekstibloki valikutüüpide sisu."
806
 
807
- #: ../includes/ot-functions-admin.php:4087
808
  msgid ""
809
  "<strong>Choices</strong>: This will only affect the following option types: "
810
  "Checkbox, Radio, Select & Select Image."
@@ -812,21 +812,21 @@ msgstr ""
812
  "<strong>Valikud</strong>: mõjutab vaid järgnevaid valikutüüpe: valikkastid, "
813
  "raadiokastid, rippvalik ja pildi valik."
814
 
815
- #: ../includes/ot-functions-admin.php:4092
816
  msgid "Add Choice"
817
  msgstr "Lisa valik"
818
 
819
- #: ../includes/ot-functions-admin.php:4098
820
  msgid ""
821
  "<strong>Settings</strong>: This will only affect the List Item option type."
822
  msgstr "<strong>Sätted</strong>: mõjutab vaid nimekirja elemendi valikutüüpi."
823
 
824
- #: ../includes/ot-functions-admin.php:4103
825
  #: ../includes/ot-functions-settings-page.php:93
826
  msgid "Add Setting"
827
  msgstr "Lisa säte"
828
 
829
- #: ../includes/ot-functions-admin.php:4109
830
  msgid ""
831
  "<strong>Standard</strong>: Setting the standard value for your option only "
832
  "works for some option types. Read the <code>OptionTree->Documentation</code> "
@@ -836,7 +836,7 @@ msgstr ""
836
  "valikutüübile. Lisainfot leiad <code>OptionTree->Dokumentatsioon</code> "
837
  "lehelt."
838
 
839
- #: ../includes/ot-functions-admin.php:4117
840
  msgid ""
841
  "<strong>Rows</strong>: Enter a numeric value for the number of rows in your "
842
  "textarea. This will only affect the following option types: CSS, Textarea, & "
@@ -846,7 +846,7 @@ msgstr ""
846
  "tekstiväljal. Mõjutab vaid järgnevaid valikutüüpe: CSS, tekstiväli ja lihtne "
847
  "tekstiväli."
848
 
849
- #: ../includes/ot-functions-admin.php:4125
850
  msgid ""
851
  "<strong>Post Type</strong>: Add a comma separated list of post type like "
852
  "'post,page'. This will only affect the following option types: Custom Post "
@@ -857,7 +857,7 @@ msgstr ""
857
  "valikutüüpe: enda loodud postitüübi valikkastid ja enda loodud postitüübi "
858
  "rippvalik."
859
 
860
- #: ../includes/ot-functions-admin.php:4133
861
  msgid ""
862
  "<strong>Taxonomy</strong>: Add a comma separated list of any registered "
863
  "taxonomy like 'category,post_tag'. This will only affect the following "
@@ -867,7 +867,7 @@ msgstr ""
867
  "taksonoomiatest nagu 'category,post_tag'. See mõjutab vaid järgnevaid "
868
  "valikutüüpe: taksonoomia valikukastid & taksonoomia rippvalik."
869
 
870
- #: ../includes/ot-functions-admin.php:4141
871
  msgid ""
872
  "<strong>Min, Max, & Step</strong>: Add a comma separated list of options in "
873
  "the following format <code>0,100,1</code> (slide from <code>0-100</code> in "
@@ -880,12 +880,12 @@ msgstr ""
880
  "code> intervalliga <code>1</code> ). Need kolm väärtust näitavad miinimumi, "
881
  "maksimumi ja astme valikuid ning mõjutavad vaid numbriliuguri valikutüüpi."
882
 
883
- #: ../includes/ot-functions-admin.php:4149
884
  msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
885
  msgstr ""
886
  "<strong>CSS klass</strong>: Soovi korral lisa sellele valikutüübile klass."
887
 
888
- #: ../includes/ot-functions-admin.php:4157
889
  #, php-format
890
  msgid ""
891
  "<strong>Condition</strong>: Add a comma separated list (no spaces) of "
@@ -898,7 +898,7 @@ msgstr ""
898
  "tühjaks. Nendes näidetes on <code>value</code> kohahoidja teie tingimustele, "
899
  "mis võivad olla kujul %s."
900
 
901
- #: ../includes/ot-functions-admin.php:4165
902
  msgid ""
903
  "<strong>Operator</strong>: Choose the logical operator to compute the result "
904
  "of the conditions."
@@ -906,30 +906,30 @@ msgstr ""
906
  "<strong>Operaator</strong>: vali loogiline operaator, millega arvutada välja "
907
  "tingimuste tulemus."
908
 
909
- #: ../includes/ot-functions-admin.php:4168
910
  #: ../includes/ot-functions-docs-page.php:111
911
  #: ../includes/ot-functions-docs-page.php:378
912
  msgid "and"
913
  msgstr "ja"
914
 
915
- #: ../includes/ot-functions-admin.php:4169
916
  msgid "or"
917
  msgstr "või"
918
 
919
- #: ../includes/ot-functions-admin.php:4215
920
  #: ../includes/ot-functions-docs-page.php:29
921
  msgid "Label"
922
  msgstr "Nimetus"
923
 
924
- #: ../includes/ot-functions-admin.php:4225
925
  msgid "Value"
926
  msgstr "Väärtus"
927
 
928
- #: ../includes/ot-functions-admin.php:4235
929
  msgid "Image Source (Radio Image only)"
930
  msgstr "Pildi allikas ( ainult pildiga raadiovaliku jaoks )"
931
 
932
- #: ../includes/ot-functions-admin.php:4281
933
  msgid ""
934
  "<strong>Title</strong>: Displayed as a contextual help menu item on the "
935
  "Theme Options page."
@@ -937,7 +937,7 @@ msgstr ""
937
  "<strong>Pealkiri</strong>: kuvatakse kui kontekstipõhine abimenüü element "
938
  "teema valikute lehel."
939
 
940
- #: ../includes/ot-functions-admin.php:4297
941
  msgid ""
942
  "<strong>Content</strong>: Enter the HTML content about this contextual help "
943
  "item displayed on the Theme Option page for end users to read."
@@ -945,57 +945,57 @@ msgstr ""
945
  "<strong>Sisu</strong>: sisesta HTML sisu selle kontekstipõhise elemendi "
946
  "kohta. Näidatakse teema valikute lehel lõppkasutajatele."
947
 
948
- #: ../includes/ot-functions-admin.php:4328
949
  msgid "Layout"
950
  msgstr "Paigutus"
951
 
952
- #: ../includes/ot-functions-admin.php:4330
953
- #: ../includes/ot-functions-admin.php:4331
954
  msgid "Activate"
955
  msgstr "Aktiveeri"
956
 
957
- #: ../includes/ot-functions-admin.php:4367 ../includes/ot-meta-box-api.php:223
958
  #: ../includes/ot-settings-api.php:610
959
  msgid "Title"
960
  msgstr "Pealkiri"
961
 
962
- #: ../includes/ot-functions-admin.php:4707
963
  msgid "New Layout"
964
  msgstr "Uus paigutus"
965
 
966
- #: ../includes/ot-functions-admin.php:5462
967
  msgid "Link URL"
968
  msgstr "Viide"
969
 
970
- #: ../includes/ot-functions-admin.php:5469
971
  msgid "Link Title"
972
  msgstr "Lingi pealkiri"
973
 
974
- #: ../includes/ot-functions-admin.php:5499
975
  msgid "Quote"
976
  msgstr "Tsitaat"
977
 
978
- #: ../includes/ot-functions-admin.php:5508
979
  msgid "Source Name (ex. author, singer, actor)"
980
  msgstr "Allika nimi (nt autor, laulja, näitleja)"
981
 
982
- #: ../includes/ot-functions-admin.php:5515
983
  msgid "Source URL"
984
  msgstr "Allika URL"
985
 
986
- #: ../includes/ot-functions-admin.php:5522
987
  msgid "Source Title (ex. book, song, movie)"
988
  msgstr "Allika pealkiri (nt raamat, laul, film)"
989
 
990
- #: ../includes/ot-functions-admin.php:5529
991
  msgid "Source Date"
992
  msgstr "Allika kuupäev"
993
 
994
- #: ../includes/ot-functions-admin.php:5559
995
  msgid "Video"
996
  msgstr "Video"
997
 
998
- #: ../includes/ot-functions-admin.php:5568
999
  #, php-format
1000
  msgid ""
1001
  "Embed video from services like Youtube, Vimeo, or Hulu. You can find a list "
@@ -1006,16 +1006,16 @@ msgstr ""
1006
  "Nimekirja toetatud oEmbed veebilehtedest leiad %1$s. Teine variant oleks "
1007
  "kasutada sisse ehitatud lühikoodi %2$s."
1008
 
1009
- #: ../includes/ot-functions-admin.php:5568
1010
- #: ../includes/ot-functions-admin.php:5607
1011
  msgid "Wordpress Codex"
1012
  msgstr "Wordpress Codex"
1013
 
1014
- #: ../includes/ot-functions-admin.php:5598
1015
  msgid "Audio"
1016
  msgstr "Audio"
1017
 
1018
- #: ../includes/ot-functions-admin.php:5607
1019
  #, php-format
1020
  msgid ""
1021
  "Embed audio from services like SoundCloud and Rdio. You can find a list of "
@@ -2402,7 +2402,7 @@ msgid "background-image"
2402
  msgstr "background-image"
2403
 
2404
  #: ../includes/ot-functions-option-types.php:241
2405
- #: ../includes/ot-functions-option-types.php:3191
2406
  msgid "Add Media"
2407
  msgstr "Lisa meediat"
2408
 
@@ -2414,7 +2414,7 @@ msgstr "width"
2414
  #: ../includes/ot-functions-option-types.php:327
2415
  #: ../includes/ot-functions-option-types.php:1065
2416
  #: ../includes/ot-functions-option-types.php:1550
2417
- #: ../includes/ot-functions-option-types.php:2495
2418
  msgid "unit"
2419
  msgstr "ühik"
2420
 
@@ -2447,8 +2447,8 @@ msgstr "Kategooriaid ei leitud"
2447
  #: ../includes/ot-functions-option-types.php:870
2448
  #: ../includes/ot-functions-option-types.php:1819
2449
  #: ../includes/ot-functions-option-types.php:1930
2450
- #: ../includes/ot-functions-option-types.php:2635
2451
- #: ../includes/ot-functions-option-types.php:2750
2452
  msgid "Choose One"
2453
  msgstr "Valik üks"
2454
 
@@ -2503,14 +2503,14 @@ msgid "Focus"
2503
  msgstr "Fookus"
2504
 
2505
  #: ../includes/ot-functions-option-types.php:1497
2506
- #: ../includes/ot-functions-option-types.php:2235
2507
- #: ../includes/ot-functions-option-types.php:2400
2508
  msgid "Add New"
2509
  msgstr "Lisa uus"
2510
 
2511
  #: ../includes/ot-functions-option-types.php:1500
2512
- #: ../includes/ot-functions-option-types.php:2238
2513
- #: ../includes/ot-functions-option-types.php:2403
2514
  msgid "You can re-order with drag & drop, the order will update after saving."
2515
  msgstr ""
2516
  "Lohistades saab elemente ümber paigutada. Järjekord uueneb peale "
@@ -2529,105 +2529,105 @@ msgstr "Väljas"
2529
  msgid "No Pages Found"
2530
  msgstr "Lehekülgi ei leitud"
2531
 
2532
- #: ../includes/ot-functions-option-types.php:2158
2533
  msgid "Choose Sidebar"
2534
  msgstr "Vali küljendusmenüü"
2535
 
2536
- #: ../includes/ot-functions-option-types.php:2163
2537
  msgid "No Sidebars"
2538
  msgstr "Küljendusmenüüd puuduvad"
2539
 
2540
- #: ../includes/ot-functions-option-types.php:2271
2541
  msgid "Facebook"
2542
  msgstr "Facebook"
2543
 
2544
- #: ../includes/ot-functions-option-types.php:2276
2545
  msgid "Twitter"
2546
  msgstr "Twitter"
2547
 
2548
- #: ../includes/ot-functions-option-types.php:2281
2549
  msgid "Google+"
2550
  msgstr "Google+"
2551
 
2552
- #: ../includes/ot-functions-option-types.php:2286
2553
  msgid "LinkedIn"
2554
  msgstr "LinkedIn"
2555
 
2556
- #: ../includes/ot-functions-option-types.php:2291
2557
  msgid "Pinterest"
2558
  msgstr "Pinterest"
2559
 
2560
- #: ../includes/ot-functions-option-types.php:2296
2561
  msgid "Youtube"
2562
  msgstr "Youtube"
2563
 
2564
- #: ../includes/ot-functions-option-types.php:2301
2565
  msgid "Dribbble"
2566
  msgstr "Dribbble"
2567
 
2568
- #: ../includes/ot-functions-option-types.php:2306
2569
  msgid "Github"
2570
  msgstr "Github"
2571
 
2572
- #: ../includes/ot-functions-option-types.php:2311
2573
  msgid "Forrst"
2574
  msgstr "Forrst"
2575
 
2576
- #: ../includes/ot-functions-option-types.php:2316
2577
  msgid "Digg"
2578
  msgstr "Digg"
2579
 
2580
- #: ../includes/ot-functions-option-types.php:2321
2581
  msgid "Delicious"
2582
  msgstr "Delicious"
2583
 
2584
- #: ../includes/ot-functions-option-types.php:2326
2585
  msgid "Tumblr"
2586
  msgstr "Tumblr"
2587
 
2588
- #: ../includes/ot-functions-option-types.php:2331
2589
  msgid "Skype"
2590
  msgstr "Skype"
2591
 
2592
- #: ../includes/ot-functions-option-types.php:2336
2593
  msgid "SoundCloud"
2594
  msgstr "SoundCloud"
2595
 
2596
- #: ../includes/ot-functions-option-types.php:2341
2597
  msgid "Vimeo"
2598
  msgstr "Vimeo"
2599
 
2600
- #: ../includes/ot-functions-option-types.php:2346
2601
  msgid "Flickr"
2602
  msgstr "Flickr"
2603
 
2604
- #: ../includes/ot-functions-option-types.php:2351
2605
  msgid "VK.com"
2606
  msgstr "VK.com"
2607
 
2608
- #: ../includes/ot-functions-option-types.php:2457
2609
  msgid "top"
2610
  msgstr "top"
2611
 
2612
- #: ../includes/ot-functions-option-types.php:2466
2613
  msgid "right"
2614
  msgstr "right"
2615
 
2616
- #: ../includes/ot-functions-option-types.php:2475
2617
  msgid "bottom"
2618
  msgstr "bottom"
2619
 
2620
- #: ../includes/ot-functions-option-types.php:2484
2621
  msgid "left"
2622
  msgstr "left"
2623
 
2624
- #: ../includes/ot-functions-option-types.php:2586
2625
- #: ../includes/ot-functions-option-types.php:2640
2626
  msgid "No Tags Found"
2627
  msgstr "Märksõnu ei leitud"
2628
 
2629
- #: ../includes/ot-functions-option-types.php:2698
2630
- #: ../includes/ot-functions-option-types.php:2755
2631
  msgid "No Taxonomies Found"
2632
  msgstr "Taksonoomiaid ei leitud"
2633
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: OptionTree\n"
4
+ "POT-Creation-Date: 2015-04-09 11:26-0800\n"
5
+ "PO-Revision-Date: 2015-04-09 11:26-0800\n"
6
  "Last-Translator: Derek Herman <derek@valendesigns.com>\n"
7
  "Language-Team: Valen Designs\n"
8
  "Language: et_EE\n"
300
 
301
  #: ../includes/ot-functions-admin.php:847
302
  #: ../includes/ot-functions-option-types.php:257
303
+ #: ../includes/ot-functions-option-types.php:3218
304
  msgid "Remove Media"
305
  msgstr "Eemalda meedia"
306
 
500
  msgstr "Mõõtmed"
501
 
502
  #: ../includes/ot-functions-admin.php:2429
503
+ #: ../includes/ot-functions-admin.php:5463
504
  #: ../includes/ot-functions-docs-page.php:168
505
  msgid "Gallery"
506
  msgstr "Galerii"
681
 
682
  #: ../includes/ot-functions-admin.php:3260
683
  #: ../includes/ot-functions-admin.php:3316
684
+ #: ../includes/ot-functions-admin.php:5503
685
  msgid "Link"
686
  msgstr "Viide"
687
 
714
  "Sisesta link profiilile või lehele sellel sotsiaalmeedia veebilehel. Ära "
715
  "unusta lisada lingi ette %s osa."
716
 
717
+ #: ../includes/ot-functions-admin.php:3753
718
  #, php-format
719
  msgid "Unable to write to file %s."
720
  msgstr ""
721
 
722
+ #: ../includes/ot-functions-admin.php:4023
723
  msgid "edit"
724
  msgstr "muuda"
725
 
726
+ #: ../includes/ot-functions-admin.php:4024
727
+ #: ../includes/ot-functions-admin.php:4092
728
+ #: ../includes/ot-functions-admin.php:4093
729
+ #: ../includes/ot-functions-admin.php:4255
730
+ #: ../includes/ot-functions-admin.php:4256
731
+ #: ../includes/ot-functions-admin.php:4321
732
+ #: ../includes/ot-functions-admin.php:4322
733
+ #: ../includes/ot-functions-admin.php:4449
734
+ #: ../includes/ot-functions-admin.php:4450
735
+ #: ../includes/ot-functions-admin.php:4602
736
+ #: ../includes/ot-functions-admin.php:4603
737
  msgid "Edit"
738
  msgstr "Muuda"
739
 
740
+ #: ../includes/ot-functions-admin.php:4026
741
+ #: ../includes/ot-functions-admin.php:4027
742
+ #: ../includes/ot-functions-admin.php:4095
743
+ #: ../includes/ot-functions-admin.php:4096
744
+ #: ../includes/ot-functions-admin.php:4258
745
+ #: ../includes/ot-functions-admin.php:4259
746
+ #: ../includes/ot-functions-admin.php:4324
747
+ #: ../includes/ot-functions-admin.php:4325
748
+ #: ../includes/ot-functions-admin.php:4383
749
+ #: ../includes/ot-functions-admin.php:4384
750
+ #: ../includes/ot-functions-admin.php:4452
751
+ #: ../includes/ot-functions-admin.php:4453
752
+ #: ../includes/ot-functions-admin.php:4605
753
+ #: ../includes/ot-functions-admin.php:4606
754
  msgid "Delete"
755
  msgstr "Kustuta"
756
 
757
+ #: ../includes/ot-functions-admin.php:4033
758
  msgid ""
759
  "<strong>Section Title</strong>: Displayed as a menu item on the Theme "
760
  "Options page."
762
  "<strong>Sektsiooni pealkiri</strong>: Näidatakse menüü elemendina teema "
763
  "valikute lehel."
764
 
765
+ #: ../includes/ot-functions-admin.php:4041
766
  msgid ""
767
  "<strong>Section ID</strong>: A unique lower case alphanumeric string, "
768
  "underscores allowed."
770
  "<strong>Sektsiooni ID</strong>: unikaalne väiketähtedega tähtnumbriline "
771
  "string, alakriipsud lubatud."
772
 
773
+ #: ../includes/ot-functions-admin.php:4102
774
  msgid ""
775
  "<strong>Label</strong>: Displayed as the label of a form element on the "
776
  "Theme Options page."
778
  "<strong>Nimetus</strong>: Näidatakse kui vormi elemendi nimetust teema "
779
  "valikute lehel."
780
 
781
+ #: ../includes/ot-functions-admin.php:4110
782
+ #: ../includes/ot-functions-admin.php:4339
783
  msgid ""
784
  "<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
785
  "allowed."
787
  "<strong>ID</strong>: unikaalne väiketähtedega tähtnumbriline string, "
788
  "alakriipsud lubatud."
789
 
790
+ #: ../includes/ot-functions-admin.php:4118
791
  msgid ""
792
  "<strong>Type</strong>: Choose one of the available option types from the "
793
  "dropdown."
794
  msgstr ""
795
  "<strong>Tüüp</strong>: vali rippmenüüst üks pakutavatest valiku tüüpidest."
796
 
797
+ #: ../includes/ot-functions-admin.php:4129
798
  msgid ""
799
  "<strong>Description</strong>: Enter a detailed description for the users to "
800
  "read on the Theme Options page, HTML is allowed. This is also where you "
804
  "saavad lugeda teema valikute lehel. HTML on lubatud. See on ühtlasi ka koht, "
805
  "kuhu sisestada tekstibloki ja pealkirjaga tekstibloki valikutüüpide sisu."
806
 
807
+ #: ../includes/ot-functions-admin.php:4137
808
  msgid ""
809
  "<strong>Choices</strong>: This will only affect the following option types: "
810
  "Checkbox, Radio, Select & Select Image."
812
  "<strong>Valikud</strong>: mõjutab vaid järgnevaid valikutüüpe: valikkastid, "
813
  "raadiokastid, rippvalik ja pildi valik."
814
 
815
+ #: ../includes/ot-functions-admin.php:4142
816
  msgid "Add Choice"
817
  msgstr "Lisa valik"
818
 
819
+ #: ../includes/ot-functions-admin.php:4148
820
  msgid ""
821
  "<strong>Settings</strong>: This will only affect the List Item option type."
822
  msgstr "<strong>Sätted</strong>: mõjutab vaid nimekirja elemendi valikutüüpi."
823
 
824
+ #: ../includes/ot-functions-admin.php:4153
825
  #: ../includes/ot-functions-settings-page.php:93
826
  msgid "Add Setting"
827
  msgstr "Lisa säte"
828
 
829
+ #: ../includes/ot-functions-admin.php:4159
830
  msgid ""
831
  "<strong>Standard</strong>: Setting the standard value for your option only "
832
  "works for some option types. Read the <code>OptionTree->Documentation</code> "
836
  "valikutüübile. Lisainfot leiad <code>OptionTree->Dokumentatsioon</code> "
837
  "lehelt."
838
 
839
+ #: ../includes/ot-functions-admin.php:4167
840
  msgid ""
841
  "<strong>Rows</strong>: Enter a numeric value for the number of rows in your "
842
  "textarea. This will only affect the following option types: CSS, Textarea, & "
846
  "tekstiväljal. Mõjutab vaid järgnevaid valikutüüpe: CSS, tekstiväli ja lihtne "
847
  "tekstiväli."
848
 
849
+ #: ../includes/ot-functions-admin.php:4175
850
  msgid ""
851
  "<strong>Post Type</strong>: Add a comma separated list of post type like "
852
  "'post,page'. This will only affect the following option types: Custom Post "
857
  "valikutüüpe: enda loodud postitüübi valikkastid ja enda loodud postitüübi "
858
  "rippvalik."
859
 
860
+ #: ../includes/ot-functions-admin.php:4183
861
  msgid ""
862
  "<strong>Taxonomy</strong>: Add a comma separated list of any registered "
863
  "taxonomy like 'category,post_tag'. This will only affect the following "
867
  "taksonoomiatest nagu 'category,post_tag'. See mõjutab vaid järgnevaid "
868
  "valikutüüpe: taksonoomia valikukastid & taksonoomia rippvalik."
869
 
870
+ #: ../includes/ot-functions-admin.php:4191
871
  msgid ""
872
  "<strong>Min, Max, & Step</strong>: Add a comma separated list of options in "
873
  "the following format <code>0,100,1</code> (slide from <code>0-100</code> in "
880
  "code> intervalliga <code>1</code> ). Need kolm väärtust näitavad miinimumi, "
881
  "maksimumi ja astme valikuid ning mõjutavad vaid numbriliuguri valikutüüpi."
882
 
883
+ #: ../includes/ot-functions-admin.php:4199
884
  msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
885
  msgstr ""
886
  "<strong>CSS klass</strong>: Soovi korral lisa sellele valikutüübile klass."
887
 
888
+ #: ../includes/ot-functions-admin.php:4207
889
  #, php-format
890
  msgid ""
891
  "<strong>Condition</strong>: Add a comma separated list (no spaces) of "
898
  "tühjaks. Nendes näidetes on <code>value</code> kohahoidja teie tingimustele, "
899
  "mis võivad olla kujul %s."
900
 
901
+ #: ../includes/ot-functions-admin.php:4215
902
  msgid ""
903
  "<strong>Operator</strong>: Choose the logical operator to compute the result "
904
  "of the conditions."
906
  "<strong>Operaator</strong>: vali loogiline operaator, millega arvutada välja "
907
  "tingimuste tulemus."
908
 
909
+ #: ../includes/ot-functions-admin.php:4218
910
  #: ../includes/ot-functions-docs-page.php:111
911
  #: ../includes/ot-functions-docs-page.php:378
912
  msgid "and"
913
  msgstr "ja"
914
 
915
+ #: ../includes/ot-functions-admin.php:4219
916
  msgid "or"
917
  msgstr "või"
918
 
919
+ #: ../includes/ot-functions-admin.php:4265
920
  #: ../includes/ot-functions-docs-page.php:29
921
  msgid "Label"
922
  msgstr "Nimetus"
923
 
924
+ #: ../includes/ot-functions-admin.php:4275
925
  msgid "Value"
926
  msgstr "Väärtus"
927
 
928
+ #: ../includes/ot-functions-admin.php:4285
929
  msgid "Image Source (Radio Image only)"
930
  msgstr "Pildi allikas ( ainult pildiga raadiovaliku jaoks )"
931
 
932
+ #: ../includes/ot-functions-admin.php:4331
933
  msgid ""
934
  "<strong>Title</strong>: Displayed as a contextual help menu item on the "
935
  "Theme Options page."
937
  "<strong>Pealkiri</strong>: kuvatakse kui kontekstipõhine abimenüü element "
938
  "teema valikute lehel."
939
 
940
+ #: ../includes/ot-functions-admin.php:4347
941
  msgid ""
942
  "<strong>Content</strong>: Enter the HTML content about this contextual help "
943
  "item displayed on the Theme Option page for end users to read."
945
  "<strong>Sisu</strong>: sisesta HTML sisu selle kontekstipõhise elemendi "
946
  "kohta. Näidatakse teema valikute lehel lõppkasutajatele."
947
 
948
+ #: ../includes/ot-functions-admin.php:4378
949
  msgid "Layout"
950
  msgstr "Paigutus"
951
 
952
+ #: ../includes/ot-functions-admin.php:4380
953
+ #: ../includes/ot-functions-admin.php:4381
954
  msgid "Activate"
955
  msgstr "Aktiveeri"
956
 
957
+ #: ../includes/ot-functions-admin.php:4417 ../includes/ot-meta-box-api.php:223
958
  #: ../includes/ot-settings-api.php:610
959
  msgid "Title"
960
  msgstr "Pealkiri"
961
 
962
+ #: ../includes/ot-functions-admin.php:4757
963
  msgid "New Layout"
964
  msgstr "Uus paigutus"
965
 
966
+ #: ../includes/ot-functions-admin.php:5512
967
  msgid "Link URL"
968
  msgstr "Viide"
969
 
970
+ #: ../includes/ot-functions-admin.php:5519
971
  msgid "Link Title"
972
  msgstr "Lingi pealkiri"
973
 
974
+ #: ../includes/ot-functions-admin.php:5549
975
  msgid "Quote"
976
  msgstr "Tsitaat"
977
 
978
+ #: ../includes/ot-functions-admin.php:5558
979
  msgid "Source Name (ex. author, singer, actor)"
980
  msgstr "Allika nimi (nt autor, laulja, näitleja)"
981
 
982
+ #: ../includes/ot-functions-admin.php:5565
983
  msgid "Source URL"
984
  msgstr "Allika URL"
985
 
986
+ #: ../includes/ot-functions-admin.php:5572
987
  msgid "Source Title (ex. book, song, movie)"
988
  msgstr "Allika pealkiri (nt raamat, laul, film)"
989
 
990
+ #: ../includes/ot-functions-admin.php:5579
991
  msgid "Source Date"
992
  msgstr "Allika kuupäev"
993
 
994
+ #: ../includes/ot-functions-admin.php:5609
995
  msgid "Video"
996
  msgstr "Video"
997
 
998
+ #: ../includes/ot-functions-admin.php:5618
999
  #, php-format
1000
  msgid ""
1001
  "Embed video from services like Youtube, Vimeo, or Hulu. You can find a list "
1006
  "Nimekirja toetatud oEmbed veebilehtedest leiad %1$s. Teine variant oleks "
1007
  "kasutada sisse ehitatud lühikoodi %2$s."
1008
 
1009
+ #: ../includes/ot-functions-admin.php:5618
1010
+ #: ../includes/ot-functions-admin.php:5657
1011
  msgid "Wordpress Codex"
1012
  msgstr "Wordpress Codex"
1013
 
1014
+ #: ../includes/ot-functions-admin.php:5648
1015
  msgid "Audio"
1016
  msgstr "Audio"
1017
 
1018
+ #: ../includes/ot-functions-admin.php:5657
1019
  #, php-format
1020
  msgid ""
1021
  "Embed audio from services like SoundCloud and Rdio. You can find a list of "
2402
  msgstr "background-image"
2403
 
2404
  #: ../includes/ot-functions-option-types.php:241
2405
+ #: ../includes/ot-functions-option-types.php:3202
2406
  msgid "Add Media"
2407
  msgstr "Lisa meediat"
2408
 
2414
  #: ../includes/ot-functions-option-types.php:327
2415
  #: ../includes/ot-functions-option-types.php:1065
2416
  #: ../includes/ot-functions-option-types.php:1550
2417
+ #: ../includes/ot-functions-option-types.php:2506
2418
  msgid "unit"
2419
  msgstr "ühik"
2420
 
2447
  #: ../includes/ot-functions-option-types.php:870
2448
  #: ../includes/ot-functions-option-types.php:1819
2449
  #: ../includes/ot-functions-option-types.php:1930
2450
+ #: ../includes/ot-functions-option-types.php:2646
2451
+ #: ../includes/ot-functions-option-types.php:2761
2452
  msgid "Choose One"
2453
  msgstr "Valik üks"
2454
 
2503
  msgstr "Fookus"
2504
 
2505
  #: ../includes/ot-functions-option-types.php:1497
2506
+ #: ../includes/ot-functions-option-types.php:2246
2507
+ #: ../includes/ot-functions-option-types.php:2411
2508
  msgid "Add New"
2509
  msgstr "Lisa uus"
2510
 
2511
  #: ../includes/ot-functions-option-types.php:1500
2512
+ #: ../includes/ot-functions-option-types.php:2249
2513
+ #: ../includes/ot-functions-option-types.php:2414
2514
  msgid "You can re-order with drag & drop, the order will update after saving."
2515
  msgstr ""
2516
  "Lohistades saab elemente ümber paigutada. Järjekord uueneb peale "
2529
  msgid "No Pages Found"
2530
  msgstr "Lehekülgi ei leitud"
2531
 
2532
+ #: ../includes/ot-functions-option-types.php:2169
2533
  msgid "Choose Sidebar"
2534
  msgstr "Vali küljendusmenüü"
2535
 
2536
+ #: ../includes/ot-functions-option-types.php:2174
2537
  msgid "No Sidebars"
2538
  msgstr "Küljendusmenüüd puuduvad"
2539
 
2540
+ #: ../includes/ot-functions-option-types.php:2282
2541
  msgid "Facebook"
2542
  msgstr "Facebook"
2543
 
2544
+ #: ../includes/ot-functions-option-types.php:2287
2545
  msgid "Twitter"
2546
  msgstr "Twitter"
2547
 
2548
+ #: ../includes/ot-functions-option-types.php:2292
2549
  msgid "Google+"
2550
  msgstr "Google+"
2551
 
2552
+ #: ../includes/ot-functions-option-types.php:2297
2553
  msgid "LinkedIn"
2554
  msgstr "LinkedIn"
2555
 
2556
+ #: ../includes/ot-functions-option-types.php:2302
2557
  msgid "Pinterest"
2558
  msgstr "Pinterest"
2559
 
2560
+ #: ../includes/ot-functions-option-types.php:2307
2561
  msgid "Youtube"
2562
  msgstr "Youtube"
2563
 
2564
+ #: ../includes/ot-functions-option-types.php:2312
2565
  msgid "Dribbble"
2566
  msgstr "Dribbble"
2567
 
2568
+ #: ../includes/ot-functions-option-types.php:2317
2569
  msgid "Github"
2570
  msgstr "Github"
2571
 
2572
+ #: ../includes/ot-functions-option-types.php:2322
2573
  msgid "Forrst"
2574
  msgstr "Forrst"
2575
 
2576
+ #: ../includes/ot-functions-option-types.php:2327
2577
  msgid "Digg"
2578
  msgstr "Digg"
2579
 
2580
+ #: ../includes/ot-functions-option-types.php:2332
2581
  msgid "Delicious"
2582
  msgstr "Delicious"
2583
 
2584
+ #: ../includes/ot-functions-option-types.php:2337
2585
  msgid "Tumblr"
2586
  msgstr "Tumblr"
2587
 
2588
+ #: ../includes/ot-functions-option-types.php:2342
2589
  msgid "Skype"
2590
  msgstr "Skype"
2591
 
2592
+ #: ../includes/ot-functions-option-types.php:2347
2593
  msgid "SoundCloud"
2594
  msgstr "SoundCloud"
2595
 
2596
+ #: ../includes/ot-functions-option-types.php:2352
2597
  msgid "Vimeo"
2598
  msgstr "Vimeo"
2599
 
2600
+ #: ../includes/ot-functions-option-types.php:2357
2601
  msgid "Flickr"
2602
  msgstr "Flickr"
2603
 
2604
+ #: ../includes/ot-functions-option-types.php:2362
2605
  msgid "VK.com"
2606
  msgstr "VK.com"
2607
 
2608
+ #: ../includes/ot-functions-option-types.php:2468
2609
  msgid "top"
2610
  msgstr "top"
2611
 
2612
+ #: ../includes/ot-functions-option-types.php:2477
2613
  msgid "right"
2614
  msgstr "right"
2615
 
2616
+ #: ../includes/ot-functions-option-types.php:2486
2617
  msgid "bottom"
2618
  msgstr "bottom"
2619
 
2620
+ #: ../includes/ot-functions-option-types.php:2495
2621
  msgid "left"
2622
  msgstr "left"
2623
 
2624
+ #: ../includes/ot-functions-option-types.php:2597
2625
+ #: ../includes/ot-functions-option-types.php:2651
2626
  msgid "No Tags Found"
2627
  msgstr "Märksõnu ei leitud"
2628
 
2629
+ #: ../includes/ot-functions-option-types.php:2709
2630
+ #: ../includes/ot-functions-option-types.php:2766
2631
  msgid "No Taxonomies Found"
2632
  msgstr "Taksonoomiaid ei leitud"
2633
 
languages/option-tree.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: OptionTree\n"
4
- "POT-Creation-Date: 2015-03-30 18:36-0800\n"
5
- "PO-Revision-Date: 2015-03-30 18:37-0800\n"
6
  "Last-Translator: Derek Herman <derek@valendesigns.com>\n"
7
  "Language-Team: Valen Designs\n"
8
  "Language: en\n"
@@ -278,7 +278,7 @@ msgstr ""
278
 
279
  #: ../includes/ot-functions-admin.php:847
280
  #: ../includes/ot-functions-option-types.php:257
281
- #: ../includes/ot-functions-option-types.php:3207
282
  msgid "Remove Media"
283
  msgstr ""
284
 
@@ -478,7 +478,7 @@ msgid "Dimension"
478
  msgstr ""
479
 
480
  #: ../includes/ot-functions-admin.php:2429
481
- #: ../includes/ot-functions-admin.php:5413
482
  #: ../includes/ot-functions-docs-page.php:168
483
  msgid "Gallery"
484
  msgstr ""
@@ -659,7 +659,7 @@ msgstr ""
659
 
660
  #: ../includes/ot-functions-admin.php:3260
661
  #: ../includes/ot-functions-admin.php:3316
662
- #: ../includes/ot-functions-admin.php:5453
663
  msgid "Link"
664
  msgstr ""
665
 
@@ -690,133 +690,133 @@ msgid ""
690
  "the %s part to the front of the link."
691
  msgstr ""
692
 
693
- #: ../includes/ot-functions-admin.php:3703
694
  #, php-format
695
  msgid "Unable to write to file %s."
696
  msgstr ""
697
 
698
- #: ../includes/ot-functions-admin.php:3973
699
  msgid "edit"
700
  msgstr ""
701
 
702
- #: ../includes/ot-functions-admin.php:3974
703
- #: ../includes/ot-functions-admin.php:4042
704
- #: ../includes/ot-functions-admin.php:4043
705
- #: ../includes/ot-functions-admin.php:4205
706
- #: ../includes/ot-functions-admin.php:4206
707
- #: ../includes/ot-functions-admin.php:4271
708
- #: ../includes/ot-functions-admin.php:4272
709
- #: ../includes/ot-functions-admin.php:4399
710
- #: ../includes/ot-functions-admin.php:4400
711
- #: ../includes/ot-functions-admin.php:4552
712
- #: ../includes/ot-functions-admin.php:4553
713
  msgid "Edit"
714
  msgstr ""
715
 
716
- #: ../includes/ot-functions-admin.php:3976
717
- #: ../includes/ot-functions-admin.php:3977
718
- #: ../includes/ot-functions-admin.php:4045
719
- #: ../includes/ot-functions-admin.php:4046
720
- #: ../includes/ot-functions-admin.php:4208
721
- #: ../includes/ot-functions-admin.php:4209
722
- #: ../includes/ot-functions-admin.php:4274
723
- #: ../includes/ot-functions-admin.php:4275
724
- #: ../includes/ot-functions-admin.php:4333
725
- #: ../includes/ot-functions-admin.php:4334
726
- #: ../includes/ot-functions-admin.php:4402
727
- #: ../includes/ot-functions-admin.php:4403
728
- #: ../includes/ot-functions-admin.php:4555
729
- #: ../includes/ot-functions-admin.php:4556
730
  msgid "Delete"
731
  msgstr ""
732
 
733
- #: ../includes/ot-functions-admin.php:3983
734
  msgid ""
735
  "<strong>Section Title</strong>: Displayed as a menu item on the Theme "
736
  "Options page."
737
  msgstr ""
738
 
739
- #: ../includes/ot-functions-admin.php:3991
740
  msgid ""
741
  "<strong>Section ID</strong>: A unique lower case alphanumeric string, "
742
  "underscores allowed."
743
  msgstr ""
744
 
745
- #: ../includes/ot-functions-admin.php:4052
746
  msgid ""
747
  "<strong>Label</strong>: Displayed as the label of a form element on the "
748
  "Theme Options page."
749
  msgstr ""
750
 
751
- #: ../includes/ot-functions-admin.php:4060
752
- #: ../includes/ot-functions-admin.php:4289
753
  msgid ""
754
  "<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
755
  "allowed."
756
  msgstr ""
757
 
758
- #: ../includes/ot-functions-admin.php:4068
759
  msgid ""
760
  "<strong>Type</strong>: Choose one of the available option types from the "
761
  "dropdown."
762
  msgstr ""
763
 
764
- #: ../includes/ot-functions-admin.php:4079
765
  msgid ""
766
  "<strong>Description</strong>: Enter a detailed description for the users to "
767
  "read on the Theme Options page, HTML is allowed. This is also where you "
768
  "enter content for both the Textblock & Textblock Titled option types."
769
  msgstr ""
770
 
771
- #: ../includes/ot-functions-admin.php:4087
772
  msgid ""
773
  "<strong>Choices</strong>: This will only affect the following option types: "
774
  "Checkbox, Radio, Select & Select Image."
775
  msgstr ""
776
 
777
- #: ../includes/ot-functions-admin.php:4092
778
  msgid "Add Choice"
779
  msgstr ""
780
 
781
- #: ../includes/ot-functions-admin.php:4098
782
  msgid ""
783
  "<strong>Settings</strong>: This will only affect the List Item option type."
784
  msgstr ""
785
 
786
- #: ../includes/ot-functions-admin.php:4103
787
  #: ../includes/ot-functions-settings-page.php:93
788
  msgid "Add Setting"
789
  msgstr ""
790
 
791
- #: ../includes/ot-functions-admin.php:4109
792
  msgid ""
793
  "<strong>Standard</strong>: Setting the standard value for your option only "
794
  "works for some option types. Read the <code>OptionTree->Documentation</code> "
795
  "for more information on which ones."
796
  msgstr ""
797
 
798
- #: ../includes/ot-functions-admin.php:4117
799
  msgid ""
800
  "<strong>Rows</strong>: Enter a numeric value for the number of rows in your "
801
  "textarea. This will only affect the following option types: CSS, Textarea, & "
802
  "Textarea Simple."
803
  msgstr ""
804
 
805
- #: ../includes/ot-functions-admin.php:4125
806
  msgid ""
807
  "<strong>Post Type</strong>: Add a comma separated list of post type like "
808
  "'post,page'. This will only affect the following option types: Custom Post "
809
  "Type Checkbox, & Custom Post Type Select."
810
  msgstr ""
811
 
812
- #: ../includes/ot-functions-admin.php:4133
813
  msgid ""
814
  "<strong>Taxonomy</strong>: Add a comma separated list of any registered "
815
  "taxonomy like 'category,post_tag'. This will only affect the following "
816
  "option types: Taxonomy Checkbox, & Taxonomy Select."
817
  msgstr ""
818
 
819
- #: ../includes/ot-functions-admin.php:4141
820
  msgid ""
821
  "<strong>Min, Max, & Step</strong>: Add a comma separated list of options in "
822
  "the following format <code>0,100,1</code> (slide from <code>0-100</code> in "
@@ -825,11 +825,11 @@ msgid ""
825
  "type."
826
  msgstr ""
827
 
828
- #: ../includes/ot-functions-admin.php:4149
829
  msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
830
  msgstr ""
831
 
832
- #: ../includes/ot-functions-admin.php:4157
833
  #, php-format
834
  msgid ""
835
  "<strong>Condition</strong>: Add a comma separated list (no spaces) of "
@@ -838,98 +838,98 @@ msgid ""
838
  "placeholder for your condition, which can be in the form of %s."
839
  msgstr ""
840
 
841
- #: ../includes/ot-functions-admin.php:4165
842
  msgid ""
843
  "<strong>Operator</strong>: Choose the logical operator to compute the result "
844
  "of the conditions."
845
  msgstr ""
846
 
847
- #: ../includes/ot-functions-admin.php:4168
848
  #: ../includes/ot-functions-docs-page.php:111
849
  #: ../includes/ot-functions-docs-page.php:378
850
  msgid "and"
851
  msgstr ""
852
 
853
- #: ../includes/ot-functions-admin.php:4169
854
  msgid "or"
855
  msgstr ""
856
 
857
- #: ../includes/ot-functions-admin.php:4215
858
  #: ../includes/ot-functions-docs-page.php:29
859
  msgid "Label"
860
  msgstr ""
861
 
862
- #: ../includes/ot-functions-admin.php:4225
863
  msgid "Value"
864
  msgstr ""
865
 
866
- #: ../includes/ot-functions-admin.php:4235
867
  msgid "Image Source (Radio Image only)"
868
  msgstr ""
869
 
870
- #: ../includes/ot-functions-admin.php:4281
871
  msgid ""
872
  "<strong>Title</strong>: Displayed as a contextual help menu item on the "
873
  "Theme Options page."
874
  msgstr ""
875
 
876
- #: ../includes/ot-functions-admin.php:4297
877
  msgid ""
878
  "<strong>Content</strong>: Enter the HTML content about this contextual help "
879
  "item displayed on the Theme Option page for end users to read."
880
  msgstr ""
881
 
882
- #: ../includes/ot-functions-admin.php:4328
883
  msgid "Layout"
884
  msgstr ""
885
 
886
- #: ../includes/ot-functions-admin.php:4330
887
- #: ../includes/ot-functions-admin.php:4331
888
  msgid "Activate"
889
  msgstr ""
890
 
891
- #: ../includes/ot-functions-admin.php:4367 ../includes/ot-meta-box-api.php:223
892
  #: ../includes/ot-settings-api.php:610
893
  msgid "Title"
894
  msgstr ""
895
 
896
- #: ../includes/ot-functions-admin.php:4707
897
  msgid "New Layout"
898
  msgstr ""
899
 
900
- #: ../includes/ot-functions-admin.php:5462
901
  msgid "Link URL"
902
  msgstr ""
903
 
904
- #: ../includes/ot-functions-admin.php:5469
905
  msgid "Link Title"
906
  msgstr ""
907
 
908
- #: ../includes/ot-functions-admin.php:5499
909
  msgid "Quote"
910
  msgstr ""
911
 
912
- #: ../includes/ot-functions-admin.php:5508
913
  msgid "Source Name (ex. author, singer, actor)"
914
  msgstr ""
915
 
916
- #: ../includes/ot-functions-admin.php:5515
917
  msgid "Source URL"
918
  msgstr ""
919
 
920
- #: ../includes/ot-functions-admin.php:5522
921
  msgid "Source Title (ex. book, song, movie)"
922
  msgstr ""
923
 
924
- #: ../includes/ot-functions-admin.php:5529
925
  msgid "Source Date"
926
  msgstr ""
927
 
928
- #: ../includes/ot-functions-admin.php:5559
929
  msgid "Video"
930
  msgstr ""
931
 
932
- #: ../includes/ot-functions-admin.php:5568
933
  #, php-format
934
  msgid ""
935
  "Embed video from services like Youtube, Vimeo, or Hulu. You can find a list "
@@ -937,16 +937,16 @@ msgid ""
937
  "built-in %2$s shortcode."
938
  msgstr ""
939
 
940
- #: ../includes/ot-functions-admin.php:5568
941
- #: ../includes/ot-functions-admin.php:5607
942
  msgid "Wordpress Codex"
943
  msgstr ""
944
 
945
- #: ../includes/ot-functions-admin.php:5598
946
  msgid "Audio"
947
  msgstr ""
948
 
949
- #: ../includes/ot-functions-admin.php:5607
950
  #, php-format
951
  msgid ""
952
  "Embed audio from services like SoundCloud and Rdio. You can find a list of "
@@ -2010,7 +2010,7 @@ msgid "background-image"
2010
  msgstr ""
2011
 
2012
  #: ../includes/ot-functions-option-types.php:241
2013
- #: ../includes/ot-functions-option-types.php:3191
2014
  msgid "Add Media"
2015
  msgstr ""
2016
 
@@ -2022,7 +2022,7 @@ msgstr ""
2022
  #: ../includes/ot-functions-option-types.php:327
2023
  #: ../includes/ot-functions-option-types.php:1065
2024
  #: ../includes/ot-functions-option-types.php:1550
2025
- #: ../includes/ot-functions-option-types.php:2495
2026
  msgid "unit"
2027
  msgstr ""
2028
 
@@ -2055,8 +2055,8 @@ msgstr ""
2055
  #: ../includes/ot-functions-option-types.php:870
2056
  #: ../includes/ot-functions-option-types.php:1819
2057
  #: ../includes/ot-functions-option-types.php:1930
2058
- #: ../includes/ot-functions-option-types.php:2635
2059
- #: ../includes/ot-functions-option-types.php:2750
2060
  msgid "Choose One"
2061
  msgstr ""
2062
 
@@ -2111,14 +2111,14 @@ msgid "Focus"
2111
  msgstr ""
2112
 
2113
  #: ../includes/ot-functions-option-types.php:1497
2114
- #: ../includes/ot-functions-option-types.php:2235
2115
- #: ../includes/ot-functions-option-types.php:2400
2116
  msgid "Add New"
2117
  msgstr ""
2118
 
2119
  #: ../includes/ot-functions-option-types.php:1500
2120
- #: ../includes/ot-functions-option-types.php:2238
2121
- #: ../includes/ot-functions-option-types.php:2403
2122
  msgid "You can re-order with drag & drop, the order will update after saving."
2123
  msgstr ""
2124
 
@@ -2135,105 +2135,105 @@ msgstr ""
2135
  msgid "No Pages Found"
2136
  msgstr ""
2137
 
2138
- #: ../includes/ot-functions-option-types.php:2158
2139
  msgid "Choose Sidebar"
2140
  msgstr ""
2141
 
2142
- #: ../includes/ot-functions-option-types.php:2163
2143
  msgid "No Sidebars"
2144
  msgstr ""
2145
 
2146
- #: ../includes/ot-functions-option-types.php:2271
2147
  msgid "Facebook"
2148
  msgstr ""
2149
 
2150
- #: ../includes/ot-functions-option-types.php:2276
2151
  msgid "Twitter"
2152
  msgstr ""
2153
 
2154
- #: ../includes/ot-functions-option-types.php:2281
2155
  msgid "Google+"
2156
  msgstr ""
2157
 
2158
- #: ../includes/ot-functions-option-types.php:2286
2159
  msgid "LinkedIn"
2160
  msgstr ""
2161
 
2162
- #: ../includes/ot-functions-option-types.php:2291
2163
  msgid "Pinterest"
2164
  msgstr ""
2165
 
2166
- #: ../includes/ot-functions-option-types.php:2296
2167
  msgid "Youtube"
2168
  msgstr ""
2169
 
2170
- #: ../includes/ot-functions-option-types.php:2301
2171
  msgid "Dribbble"
2172
  msgstr ""
2173
 
2174
- #: ../includes/ot-functions-option-types.php:2306
2175
  msgid "Github"
2176
  msgstr ""
2177
 
2178
- #: ../includes/ot-functions-option-types.php:2311
2179
  msgid "Forrst"
2180
  msgstr ""
2181
 
2182
- #: ../includes/ot-functions-option-types.php:2316
2183
  msgid "Digg"
2184
  msgstr ""
2185
 
2186
- #: ../includes/ot-functions-option-types.php:2321
2187
  msgid "Delicious"
2188
  msgstr ""
2189
 
2190
- #: ../includes/ot-functions-option-types.php:2326
2191
  msgid "Tumblr"
2192
  msgstr ""
2193
 
2194
- #: ../includes/ot-functions-option-types.php:2331
2195
  msgid "Skype"
2196
  msgstr ""
2197
 
2198
- #: ../includes/ot-functions-option-types.php:2336
2199
  msgid "SoundCloud"
2200
  msgstr ""
2201
 
2202
- #: ../includes/ot-functions-option-types.php:2341
2203
  msgid "Vimeo"
2204
  msgstr ""
2205
 
2206
- #: ../includes/ot-functions-option-types.php:2346
2207
  msgid "Flickr"
2208
  msgstr ""
2209
 
2210
- #: ../includes/ot-functions-option-types.php:2351
2211
  msgid "VK.com"
2212
  msgstr ""
2213
 
2214
- #: ../includes/ot-functions-option-types.php:2457
2215
  msgid "top"
2216
  msgstr ""
2217
 
2218
- #: ../includes/ot-functions-option-types.php:2466
2219
  msgid "right"
2220
  msgstr ""
2221
 
2222
- #: ../includes/ot-functions-option-types.php:2475
2223
  msgid "bottom"
2224
  msgstr ""
2225
 
2226
- #: ../includes/ot-functions-option-types.php:2484
2227
  msgid "left"
2228
  msgstr ""
2229
 
2230
- #: ../includes/ot-functions-option-types.php:2586
2231
- #: ../includes/ot-functions-option-types.php:2640
2232
  msgid "No Tags Found"
2233
  msgstr ""
2234
 
2235
- #: ../includes/ot-functions-option-types.php:2698
2236
- #: ../includes/ot-functions-option-types.php:2755
2237
  msgid "No Taxonomies Found"
2238
  msgstr ""
2239
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: OptionTree\n"
4
+ "POT-Creation-Date: 2015-04-09 11:25-0800\n"
5
+ "PO-Revision-Date: 2015-04-09 11:25-0800\n"
6
  "Last-Translator: Derek Herman <derek@valendesigns.com>\n"
7
  "Language-Team: Valen Designs\n"
8
  "Language: en\n"
278
 
279
  #: ../includes/ot-functions-admin.php:847
280
  #: ../includes/ot-functions-option-types.php:257
281
+ #: ../includes/ot-functions-option-types.php:3218
282
  msgid "Remove Media"
283
  msgstr ""
284
 
478
  msgstr ""
479
 
480
  #: ../includes/ot-functions-admin.php:2429
481
+ #: ../includes/ot-functions-admin.php:5463
482
  #: ../includes/ot-functions-docs-page.php:168
483
  msgid "Gallery"
484
  msgstr ""
659
 
660
  #: ../includes/ot-functions-admin.php:3260
661
  #: ../includes/ot-functions-admin.php:3316
662
+ #: ../includes/ot-functions-admin.php:5503
663
  msgid "Link"
664
  msgstr ""
665
 
690
  "the %s part to the front of the link."
691
  msgstr ""
692
 
693
+ #: ../includes/ot-functions-admin.php:3753
694
  #, php-format
695
  msgid "Unable to write to file %s."
696
  msgstr ""
697
 
698
+ #: ../includes/ot-functions-admin.php:4023
699
  msgid "edit"
700
  msgstr ""
701
 
702
+ #: ../includes/ot-functions-admin.php:4024
703
+ #: ../includes/ot-functions-admin.php:4092
704
+ #: ../includes/ot-functions-admin.php:4093
705
+ #: ../includes/ot-functions-admin.php:4255
706
+ #: ../includes/ot-functions-admin.php:4256
707
+ #: ../includes/ot-functions-admin.php:4321
708
+ #: ../includes/ot-functions-admin.php:4322
709
+ #: ../includes/ot-functions-admin.php:4449
710
+ #: ../includes/ot-functions-admin.php:4450
711
+ #: ../includes/ot-functions-admin.php:4602
712
+ #: ../includes/ot-functions-admin.php:4603
713
  msgid "Edit"
714
  msgstr ""
715
 
716
+ #: ../includes/ot-functions-admin.php:4026
717
+ #: ../includes/ot-functions-admin.php:4027
718
+ #: ../includes/ot-functions-admin.php:4095
719
+ #: ../includes/ot-functions-admin.php:4096
720
+ #: ../includes/ot-functions-admin.php:4258
721
+ #: ../includes/ot-functions-admin.php:4259
722
+ #: ../includes/ot-functions-admin.php:4324
723
+ #: ../includes/ot-functions-admin.php:4325
724
+ #: ../includes/ot-functions-admin.php:4383
725
+ #: ../includes/ot-functions-admin.php:4384
726
+ #: ../includes/ot-functions-admin.php:4452
727
+ #: ../includes/ot-functions-admin.php:4453
728
+ #: ../includes/ot-functions-admin.php:4605
729
+ #: ../includes/ot-functions-admin.php:4606
730
  msgid "Delete"
731
  msgstr ""
732
 
733
+ #: ../includes/ot-functions-admin.php:4033
734
  msgid ""
735
  "<strong>Section Title</strong>: Displayed as a menu item on the Theme "
736
  "Options page."
737
  msgstr ""
738
 
739
+ #: ../includes/ot-functions-admin.php:4041
740
  msgid ""
741
  "<strong>Section ID</strong>: A unique lower case alphanumeric string, "
742
  "underscores allowed."
743
  msgstr ""
744
 
745
+ #: ../includes/ot-functions-admin.php:4102
746
  msgid ""
747
  "<strong>Label</strong>: Displayed as the label of a form element on the "
748
  "Theme Options page."
749
  msgstr ""
750
 
751
+ #: ../includes/ot-functions-admin.php:4110
752
+ #: ../includes/ot-functions-admin.php:4339
753
  msgid ""
754
  "<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
755
  "allowed."
756
  msgstr ""
757
 
758
+ #: ../includes/ot-functions-admin.php:4118
759
  msgid ""
760
  "<strong>Type</strong>: Choose one of the available option types from the "
761
  "dropdown."
762
  msgstr ""
763
 
764
+ #: ../includes/ot-functions-admin.php:4129
765
  msgid ""
766
  "<strong>Description</strong>: Enter a detailed description for the users to "
767
  "read on the Theme Options page, HTML is allowed. This is also where you "
768
  "enter content for both the Textblock & Textblock Titled option types."
769
  msgstr ""
770
 
771
+ #: ../includes/ot-functions-admin.php:4137
772
  msgid ""
773
  "<strong>Choices</strong>: This will only affect the following option types: "
774
  "Checkbox, Radio, Select & Select Image."
775
  msgstr ""
776
 
777
+ #: ../includes/ot-functions-admin.php:4142
778
  msgid "Add Choice"
779
  msgstr ""
780
 
781
+ #: ../includes/ot-functions-admin.php:4148
782
  msgid ""
783
  "<strong>Settings</strong>: This will only affect the List Item option type."
784
  msgstr ""
785
 
786
+ #: ../includes/ot-functions-admin.php:4153
787
  #: ../includes/ot-functions-settings-page.php:93
788
  msgid "Add Setting"
789
  msgstr ""
790
 
791
+ #: ../includes/ot-functions-admin.php:4159
792
  msgid ""
793
  "<strong>Standard</strong>: Setting the standard value for your option only "
794
  "works for some option types. Read the <code>OptionTree->Documentation</code> "
795
  "for more information on which ones."
796
  msgstr ""
797
 
798
+ #: ../includes/ot-functions-admin.php:4167
799
  msgid ""
800
  "<strong>Rows</strong>: Enter a numeric value for the number of rows in your "
801
  "textarea. This will only affect the following option types: CSS, Textarea, & "
802
  "Textarea Simple."
803
  msgstr ""
804
 
805
+ #: ../includes/ot-functions-admin.php:4175
806
  msgid ""
807
  "<strong>Post Type</strong>: Add a comma separated list of post type like "
808
  "'post,page'. This will only affect the following option types: Custom Post "
809
  "Type Checkbox, & Custom Post Type Select."
810
  msgstr ""
811
 
812
+ #: ../includes/ot-functions-admin.php:4183
813
  msgid ""
814
  "<strong>Taxonomy</strong>: Add a comma separated list of any registered "
815
  "taxonomy like 'category,post_tag'. This will only affect the following "
816
  "option types: Taxonomy Checkbox, & Taxonomy Select."
817
  msgstr ""
818
 
819
+ #: ../includes/ot-functions-admin.php:4191
820
  msgid ""
821
  "<strong>Min, Max, & Step</strong>: Add a comma separated list of options in "
822
  "the following format <code>0,100,1</code> (slide from <code>0-100</code> in "
825
  "type."
826
  msgstr ""
827
 
828
+ #: ../includes/ot-functions-admin.php:4199
829
  msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
830
  msgstr ""
831
 
832
+ #: ../includes/ot-functions-admin.php:4207
833
  #, php-format
834
  msgid ""
835
  "<strong>Condition</strong>: Add a comma separated list (no spaces) of "
838
  "placeholder for your condition, which can be in the form of %s."
839
  msgstr ""
840
 
841
+ #: ../includes/ot-functions-admin.php:4215
842
  msgid ""
843
  "<strong>Operator</strong>: Choose the logical operator to compute the result "
844
  "of the conditions."
845
  msgstr ""
846
 
847
+ #: ../includes/ot-functions-admin.php:4218
848
  #: ../includes/ot-functions-docs-page.php:111
849
  #: ../includes/ot-functions-docs-page.php:378
850
  msgid "and"
851
  msgstr ""
852
 
853
+ #: ../includes/ot-functions-admin.php:4219
854
  msgid "or"
855
  msgstr ""
856
 
857
+ #: ../includes/ot-functions-admin.php:4265
858
  #: ../includes/ot-functions-docs-page.php:29
859
  msgid "Label"
860
  msgstr ""
861
 
862
+ #: ../includes/ot-functions-admin.php:4275
863
  msgid "Value"
864
  msgstr ""
865
 
866
+ #: ../includes/ot-functions-admin.php:4285
867
  msgid "Image Source (Radio Image only)"
868
  msgstr ""
869
 
870
+ #: ../includes/ot-functions-admin.php:4331
871
  msgid ""
872
  "<strong>Title</strong>: Displayed as a contextual help menu item on the "
873
  "Theme Options page."
874
  msgstr ""
875
 
876
+ #: ../includes/ot-functions-admin.php:4347
877
  msgid ""
878
  "<strong>Content</strong>: Enter the HTML content about this contextual help "
879
  "item displayed on the Theme Option page for end users to read."
880
  msgstr ""
881
 
882
+ #: ../includes/ot-functions-admin.php:4378
883
  msgid "Layout"
884
  msgstr ""
885
 
886
+ #: ../includes/ot-functions-admin.php:4380
887
+ #: ../includes/ot-functions-admin.php:4381
888
  msgid "Activate"
889
  msgstr ""
890
 
891
+ #: ../includes/ot-functions-admin.php:4417 ../includes/ot-meta-box-api.php:223
892
  #: ../includes/ot-settings-api.php:610
893
  msgid "Title"
894
  msgstr ""
895
 
896
+ #: ../includes/ot-functions-admin.php:4757
897
  msgid "New Layout"
898
  msgstr ""
899
 
900
+ #: ../includes/ot-functions-admin.php:5512
901
  msgid "Link URL"
902
  msgstr ""
903
 
904
+ #: ../includes/ot-functions-admin.php:5519
905
  msgid "Link Title"
906
  msgstr ""
907
 
908
+ #: ../includes/ot-functions-admin.php:5549
909
  msgid "Quote"
910
  msgstr ""
911
 
912
+ #: ../includes/ot-functions-admin.php:5558
913
  msgid "Source Name (ex. author, singer, actor)"
914
  msgstr ""
915
 
916
+ #: ../includes/ot-functions-admin.php:5565
917
  msgid "Source URL"
918
  msgstr ""
919
 
920
+ #: ../includes/ot-functions-admin.php:5572
921
  msgid "Source Title (ex. book, song, movie)"
922
  msgstr ""
923
 
924
+ #: ../includes/ot-functions-admin.php:5579
925
  msgid "Source Date"
926
  msgstr ""
927
 
928
+ #: ../includes/ot-functions-admin.php:5609
929
  msgid "Video"
930
  msgstr ""
931
 
932
+ #: ../includes/ot-functions-admin.php:5618
933
  #, php-format
934
  msgid ""
935
  "Embed video from services like Youtube, Vimeo, or Hulu. You can find a list "
937
  "built-in %2$s shortcode."
938
  msgstr ""
939
 
940
+ #: ../includes/ot-functions-admin.php:5618
941
+ #: ../includes/ot-functions-admin.php:5657
942
  msgid "Wordpress Codex"
943
  msgstr ""
944
 
945
+ #: ../includes/ot-functions-admin.php:5648
946
  msgid "Audio"
947
  msgstr ""
948
 
949
+ #: ../includes/ot-functions-admin.php:5657
950
  #, php-format
951
  msgid ""
952
  "Embed audio from services like SoundCloud and Rdio. You can find a list of "
2010
  msgstr ""
2011
 
2012
  #: ../includes/ot-functions-option-types.php:241
2013
+ #: ../includes/ot-functions-option-types.php:3202
2014
  msgid "Add Media"
2015
  msgstr ""
2016
 
2022
  #: ../includes/ot-functions-option-types.php:327
2023
  #: ../includes/ot-functions-option-types.php:1065
2024
  #: ../includes/ot-functions-option-types.php:1550
2025
+ #: ../includes/ot-functions-option-types.php:2506
2026
  msgid "unit"
2027
  msgstr ""
2028
 
2055
  #: ../includes/ot-functions-option-types.php:870
2056
  #: ../includes/ot-functions-option-types.php:1819
2057
  #: ../includes/ot-functions-option-types.php:1930
2058
+ #: ../includes/ot-functions-option-types.php:2646
2059
+ #: ../includes/ot-functions-option-types.php:2761
2060
  msgid "Choose One"
2061
  msgstr ""
2062
 
2111
  msgstr ""
2112
 
2113
  #: ../includes/ot-functions-option-types.php:1497
2114
+ #: ../includes/ot-functions-option-types.php:2246
2115
+ #: ../includes/ot-functions-option-types.php:2411
2116
  msgid "Add New"
2117
  msgstr ""
2118
 
2119
  #: ../includes/ot-functions-option-types.php:1500
2120
+ #: ../includes/ot-functions-option-types.php:2249
2121
+ #: ../includes/ot-functions-option-types.php:2414
2122
  msgid "You can re-order with drag & drop, the order will update after saving."
2123
  msgstr ""
2124
 
2135
  msgid "No Pages Found"
2136
  msgstr ""
2137
 
2138
+ #: ../includes/ot-functions-option-types.php:2169
2139
  msgid "Choose Sidebar"
2140
  msgstr ""
2141
 
2142
+ #: ../includes/ot-functions-option-types.php:2174
2143
  msgid "No Sidebars"
2144
  msgstr ""
2145
 
2146
+ #: ../includes/ot-functions-option-types.php:2282
2147
  msgid "Facebook"
2148
  msgstr ""
2149
 
2150
+ #: ../includes/ot-functions-option-types.php:2287
2151
  msgid "Twitter"
2152
  msgstr ""
2153
 
2154
+ #: ../includes/ot-functions-option-types.php:2292
2155
  msgid "Google+"
2156
  msgstr ""
2157
 
2158
+ #: ../includes/ot-functions-option-types.php:2297
2159
  msgid "LinkedIn"
2160
  msgstr ""
2161
 
2162
+ #: ../includes/ot-functions-option-types.php:2302
2163
  msgid "Pinterest"
2164
  msgstr ""
2165
 
2166
+ #: ../includes/ot-functions-option-types.php:2307
2167
  msgid "Youtube"
2168
  msgstr ""
2169
 
2170
+ #: ../includes/ot-functions-option-types.php:2312
2171
  msgid "Dribbble"
2172
  msgstr ""
2173
 
2174
+ #: ../includes/ot-functions-option-types.php:2317
2175
  msgid "Github"
2176
  msgstr ""
2177
 
2178
+ #: ../includes/ot-functions-option-types.php:2322
2179
  msgid "Forrst"
2180
  msgstr ""
2181
 
2182
+ #: ../includes/ot-functions-option-types.php:2327
2183
  msgid "Digg"
2184
  msgstr ""
2185
 
2186
+ #: ../includes/ot-functions-option-types.php:2332
2187
  msgid "Delicious"
2188
  msgstr ""
2189
 
2190
+ #: ../includes/ot-functions-option-types.php:2337
2191
  msgid "Tumblr"
2192
  msgstr ""
2193
 
2194
+ #: ../includes/ot-functions-option-types.php:2342
2195
  msgid "Skype"
2196
  msgstr ""
2197
 
2198
+ #: ../includes/ot-functions-option-types.php:2347
2199
  msgid "SoundCloud"
2200
  msgstr ""
2201
 
2202
+ #: ../includes/ot-functions-option-types.php:2352
2203
  msgid "Vimeo"
2204
  msgstr ""
2205
 
2206
+ #: ../includes/ot-functions-option-types.php:2357
2207
  msgid "Flickr"
2208
  msgstr ""
2209
 
2210
+ #: ../includes/ot-functions-option-types.php:2362
2211
  msgid "VK.com"
2212
  msgstr ""
2213
 
2214
+ #: ../includes/ot-functions-option-types.php:2468
2215
  msgid "top"
2216
  msgstr ""
2217
 
2218
+ #: ../includes/ot-functions-option-types.php:2477
2219
  msgid "right"
2220
  msgstr ""
2221
 
2222
+ #: ../includes/ot-functions-option-types.php:2486
2223
  msgid "bottom"
2224
  msgstr ""
2225
 
2226
+ #: ../includes/ot-functions-option-types.php:2495
2227
  msgid "left"
2228
  msgstr ""
2229
 
2230
+ #: ../includes/ot-functions-option-types.php:2597
2231
+ #: ../includes/ot-functions-option-types.php:2651
2232
  msgid "No Tags Found"
2233
  msgstr ""
2234
 
2235
+ #: ../includes/ot-functions-option-types.php:2709
2236
+ #: ../includes/ot-functions-option-types.php:2766
2237
  msgid "No Taxonomies Found"
2238
  msgstr ""
2239
 
ot-loader.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: OptionTree
4
  * Plugin URI: https://github.com/valendesigns/option-tree/
5
  * Description: Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
6
- * Version: 2.5.2
7
  * Author: Derek Herman
8
  * Author URI: http://valendesigns.com
9
  * License: GPLv3
@@ -178,7 +178,7 @@ if ( ! class_exists( 'OT_Loader' ) ) {
178
  /**
179
  * Current Version number.
180
  */
181
- define( 'OT_VERSION', '2.5.2' );
182
 
183
  /**
184
  * For developers: Theme mode.
3
  * Plugin Name: OptionTree
4
  * Plugin URI: https://github.com/valendesigns/option-tree/
5
  * Description: Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
6
+ * Version: 2.5.3
7
  * Author: Derek Herman
8
  * Author URI: http://valendesigns.com
9
  * License: GPLv3
178
  /**
179
  * Current Version number.
180
  */
181
+ define( 'OT_VERSION', '2.5.3' );
182
 
183
  /**
184
  * For developers: Theme mode.
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/NuXI3T
4
  Tags: options, theme options, meta boxes
5
  Requires at least: 3.8
6
  Tested up to: 4.2-beta3
7
- Stable tag: 2.5.2
8
  License: GPLv3
9
 
10
  Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
@@ -126,8 +126,19 @@ The most likely scenario is your theme already has OptionTree installed in Theme
126
 
127
  == Changelog ==
128
 
 
 
 
 
 
 
 
 
 
 
 
129
  = 2.5.2 =
130
- * Hotfix - Add `inherit` fallback to the `link-color` option type in dynamic.css.
131
  * Hotfix - Remove `$.browser.msie` JS error caused by function being deprecated.
132
  * Hotfix - Change `hover` to `mouseenter mouseleave` to stop jQuery migrate error message.
133
  * Hotfix - Don't allow duplicate Google Fonts in the `ot-google-fonts-css` enqueue.
4
  Tags: options, theme options, meta boxes
5
  Requires at least: 3.8
6
  Tested up to: 4.2-beta3
7
+ Stable tag: 2.5.3
8
  License: GPLv3
9
 
10
  Theme Options UI Builder for WordPress. A simple way to create & save Theme Options and Meta Boxes for free or premium themes.
126
 
127
  == Changelog ==
128
 
129
+ = 2.5.3 =
130
+ * Hotfix - Added `inherit` fallback to the `border` option type in dynamic.css.
131
+ * Hotfix - Added `none` fallback to the `box-shadow` option type in dynamic.css.
132
+ * Hotfix - Added `inherit` fallback to the `colorpicker` option type in dynamic.css.
133
+ * Hotfix - Added `inherit` fallback to the `colorpicker-opacity` option type in dynamic.css.
134
+ * Hotfix - Added filter `ot_insert_css_with_markers_fallback` to filter the `dynamic.css` fallback value.
135
+ * Hotfix - Added filter `ot_type_radio_image_attributes` to filter the image attributes for each radio choice. Contributors via github @BassemN, and @valendesigns.
136
+ * Hotfix - Refactored `ot_insert_css_with_markers` to remove confusing & unnecessary PHP statements and fix whitespace.
137
+ * Hotfix - Fixed an issue in `ot_insert_css_with_markers` where the `$option_type` variable was not being set properly.
138
+ * Hotfix - Fixed an issue where having multiple Google Fonts option types caused the "Add Google Font" button to insert multiple dropdowns.
139
+
140
  = 2.5.2 =
141
+ * Hotfix - Added `inherit` fallback to the `link-color` option type in dynamic.css.
142
  * Hotfix - Remove `$.browser.msie` JS error caused by function being deprecated.
143
  * Hotfix - Change `hover` to `mouseenter mouseleave` to stop jQuery migrate error message.
144
  * Hotfix - Don't allow duplicate Google Fonts in the `ot-google-fonts-css` enqueue.