YITH WooCommerce Catalog Mode - Version 1.3.2

Version Description

Last Stable Tag 1.3.2

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Catalog Mode
Version 1.3.2
Comparing to
See all releases

Code changes from version 1.3.1 to 1.3.2

Files changed (34) hide show
  1. class.yith-woocommerce-catalog-mode.php +18 -11
  2. init.php +3 -3
  3. plugin-fw/assets/css/metaboxes.css +34 -0
  4. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  5. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_flat_10_000000_40x100.png +0 -0
  6. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  7. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  8. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  9. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  10. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  11. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  12. plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_222222_256x240.png +0 -0
  13. plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_228ef1_256x240.png +0 -0
  14. plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_ef8c08_256x240.png +0 -0
  15. plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_ffd27a_256x240.png +0 -0
  16. plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_ffffff_256x240.png +0 -0
  17. plugin-fw/assets/css/overcast/{jquery-ui-1.8.9.custom.css → jquery-ui-custom/jquery-ui-1.8.9.custom.css} +0 -0
  18. plugin-fw/assets/js/metabox.js +16 -15
  19. plugin-fw/assets/js/metabox.min.js +8 -8
  20. plugin-fw/assets/js/yit-plugin-panel.js +1 -1
  21. plugin-fw/assets/js/yit-plugin-panel.min.js +2 -2
  22. plugin-fw/init.php +1 -1
  23. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  24. plugin-fw/languages/yith-plugin-fw-it_IT.po +105 -89
  25. plugin-fw/languages/yith-plugin-fw.pot +96 -86
  26. plugin-fw/lib/yit-metabox.php +1 -1
  27. plugin-fw/lib/yit-plugin-panel.php +33 -5
  28. plugin-fw/lib/yit-plugin-subpanel.php +1 -1
  29. plugin-fw/licence/lib/yit-plugin-licence.php +1 -1
  30. plugin-fw/licence/lib/yit-theme-licence.php +1 -1
  31. plugin-fw/templates/metaboxes/types/onoff.php +2 -19
  32. plugin-fw/templates/panel/types/on-off.php +1 -1
  33. plugin-fw/templates/upgrade/upgrade-to-pro-version.php +42 -0
  34. readme.txt +6 -2
class.yith-woocommerce-catalog-mode.php CHANGED
@@ -198,7 +198,7 @@ if ( !class_exists( 'YITH_WC_Catalog_Mode' ) ) {
198
199
if ( $target_users == 'country' && defined( 'YWCTM_PREMIUM' ) ) {
200
201
- return $this->country_check($post_id);
202
203
}
204
elseif ( $target_users == 'all' ) {
@@ -339,7 +339,7 @@ if ( !class_exists( 'YITH_WC_Catalog_Mode' ) ) {
339
340
$reverse_criteria = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_price_reverse' ), $post_id, 'ywctm_exclude_hide_price_reverse' );
341
342
- if ( $reverse_criteria == 'yes' ) {
343
344
$hide = !$hide;
345
@@ -402,7 +402,7 @@ if ( !class_exists( 'YITH_WC_Catalog_Mode' ) ) {
402
403
$reverse_criteria = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_add_to_cart_reverse' ), $post_id, 'ywctm_exclude_hide_add_to_cart_reverse' );
404
405
- if ( $reverse_criteria == 'yes' ) {
406
407
$hide = !$hide;
408
@@ -461,7 +461,7 @@ if ( !class_exists( 'YITH_WC_Catalog_Mode' ) ) {
461
462
$reverse_criteria = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_add_to_cart_reverse' ), $product_id, 'ywctm_exclude_hide_add_to_cart_reverse' );
463
464
- if ( $reverse_criteria == 'yes' ) {
465
466
$passed = !$passed;
467
@@ -505,6 +505,17 @@ if ( !class_exists( 'YITH_WC_Catalog_Mode' ) ) {
505
global $post;
506
507
$hide_add_to_cart_loop = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_hide_add_to_cart_loop' ), $post->ID, 'ywctm_hide_add_to_cart_loop' );
508
509
if ( $hide_add_to_cart_loop == 'yes' ) {
510
@@ -515,19 +526,15 @@ if ( !class_exists( 'YITH_WC_Catalog_Mode' ) ) {
515
516
$hide = ( $enable_exclusion != 'yes' ? true : ( $exclude_catalog != 'yes' ? true : false ) );
517
518
- $product = wc_get_product( $post );
519
-
520
if ( $product->product_type == 'variable' ) {
521
522
- $hide_variations = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_hide_variations' ), $post->ID, 'ywctm_hide_variations' );
523
-
524
- $hide = ( $hide_variations == 'yes' ? true : false );
525
526
}
527
528
$reverse_criteria = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_add_to_cart_reverse' ), $post->ID, 'ywctm_exclude_hide_add_to_cart_reverse' );
529
530
- if ( $reverse_criteria == 'yes' ) {
531
532
$hide = !$hide;
533
@@ -537,7 +544,7 @@ if ( !class_exists( 'YITH_WC_Catalog_Mode' ) ) {
537
538
}
539
540
- if ( $this->check_price_hidden( $post->ID ) ) {
541
542
$hide = true;
543
198
199
if ( $target_users == 'country' && defined( 'YWCTM_PREMIUM' ) ) {
200
201
+ return $this->country_check( $post_id );
202
203
}
204
elseif ( $target_users == 'all' ) {
339
340
$reverse_criteria = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_price_reverse' ), $post_id, 'ywctm_exclude_hide_price_reverse' );
341
342
+ if ( $enable_exclusion == 'yes' && $reverse_criteria == 'yes' ) {
343
344
$hide = !$hide;
345
402
403
$reverse_criteria = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_add_to_cart_reverse' ), $post_id, 'ywctm_exclude_hide_add_to_cart_reverse' );
404
405
+ if ( $enable_exclusion == 'yes' && $reverse_criteria == 'yes' ) {
406
407
$hide = !$hide;
408
461
462
$reverse_criteria = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_add_to_cart_reverse' ), $product_id, 'ywctm_exclude_hide_add_to_cart_reverse' );
463
464
+ if ( $enable_exclusion == 'yes' && $reverse_criteria == 'yes' ) {
465
466
$passed = !$passed;
467
505
global $post;
506
507
$hide_add_to_cart_loop = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_hide_add_to_cart_loop' ), $post->ID, 'ywctm_hide_add_to_cart_loop' );
508
+ $hide_variations = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_hide_variations' ), $post->ID, 'ywctm_hide_variations' );
509
+
510
+ $can_hide = true;
511
+ $product = wc_get_product( $post );
512
+
513
+ if ( $product->product_type == 'variable' ) {
514
+
515
+ $can_hide = ( $hide_variations == 'yes' ? true : false );
516
+
517
+ }
518
+
519
520
if ( $hide_add_to_cart_loop == 'yes' ) {
521
526
527
$hide = ( $enable_exclusion != 'yes' ? true : ( $exclude_catalog != 'yes' ? true : false ) );
528
529
if ( $product->product_type == 'variable' ) {
530
531
+ $hide = $can_hide;
532
533
}
534
535
$reverse_criteria = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_add_to_cart_reverse' ), $post->ID, 'ywctm_exclude_hide_add_to_cart_reverse' );
536
537
+ if ( $enable_exclusion == 'yes' && $reverse_criteria == 'yes' ) {
538
539
$hide = !$hide;
540
544
545
}
546
547
+ if ( $this->check_price_hidden( $post->ID ) && $can_hide ) {
548
549
$hide = true;
550
init.php CHANGED
@@ -3,9 +3,9 @@
3
Plugin Name: YITH WooCommerce Catalog Mode
4
Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-catalog-mode/
5
Description: YITH WooCommerce Catalog Mode allows you to disable shop functions.
6
- Author: YIThemes
7
Text Domain: yith-woocommerce-catalog-mode
8
- Version: 1.3.1
9
Author URI: http://yithemes.com/
10
*/
11
@@ -34,7 +34,7 @@ function ywctm_install_free_admin_notice() {
34
}
35
36
if ( !defined( 'YWCTM_VERSION' ) ) {
37
- define( 'YWCTM_VERSION', '1.3.1' );
38
}
39
40
if ( !defined( 'YWCTM_FREE_INIT' ) ) {
3
Plugin Name: YITH WooCommerce Catalog Mode
4
Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-catalog-mode/
5
Description: YITH WooCommerce Catalog Mode allows you to disable shop functions.
6
+ Author: YITHEMES
7
Text Domain: yith-woocommerce-catalog-mode
8
+ Version: 1.3.2
9
Author URI: http://yithemes.com/
10
*/
11
34
}
35
36
if ( !defined( 'YWCTM_VERSION' ) ) {
37
+ define( 'YWCTM_VERSION', '1.3.2' );
38
}
39
40
if ( !defined( 'YWCTM_FREE_INIT' ) ) {
plugin-fw/assets/css/metaboxes.css CHANGED
@@ -176,6 +176,40 @@
176
/* on off */
177
.the-metabox .rm_onoff span.onoff { float:left; margin-right:5px; margin-left:-4px; /* image fix */ }
178
179
/* select */
180
.the-metabox .select_wrapper { width:341px; background-color:#fff; }
181
.the-metabox .select_wrapper select { width:100%; }
176
/* on off */
177
.the-metabox .rm_onoff span.onoff { float:left; margin-right:5px; margin-left:-4px; /* image fix */ }
178
179
+ /* onoff */
180
+ .rm_onoff input {
181
+ display: none;
182
+ }
183
+
184
+ .rm_onoff input + span {
185
+ cursor: pointer;
186
+ text-indent: -9999px;
187
+ display: block;
188
+ width: 85px;
189
+ height: 37px;
190
+ background: transparent url(../images/off.png);
191
+ }
192
+
193
+ .rm_onoff input:checked + span {
194
+ background: transparent url(../images/on.png);
195
+ }
196
+
197
+ .rm_onoff input.onoffchecked + span {
198
+ background: transparent url(../images/on.png);
199
+ }
200
+
201
+ .messages-panel.updated {
202
+ margin: 10px 0px 10px !important;
203
+ max-width: 1200px;
204
+ border-radius: 5px;
205
+ -webkit-box-sizing: border-box;
206
+ box-sizing: border-box;
207
+ }
208
+
209
+ .ui-widget-overlay { background-image: none !important; }
210
+
211
+
212
+
213
/* select */
214
.the-metabox .select_wrapper { width:341px; background-color:#fff; }
215
.the-metabox .select_wrapper select { width:100%; }
plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_diagonals-thick_18_b81900_40x40.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_flat_10_000000_40x100.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_glass_100_f6f6f6_1x400.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_glass_100_fdf5ce_1x400.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_glass_65_ffffff_1x400.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_gloss-wave_35_f6a828_500x100.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_highlight-soft_100_eeeeee_1x100.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_highlight-soft_75_ffe45c_1x100.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_222222_256x240.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_228ef1_256x240.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_ef8c08_256x240.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_ffd27a_256x240.png ADDED
Binary file
plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_ffffff_256x240.png ADDED
Binary file
plugin-fw/assets/css/overcast/{jquery-ui-1.8.9.custom.css → jquery-ui-custom/jquery-ui-1.8.9.custom.css} RENAMED
File without changes
plugin-fw/assets/js/metabox.js CHANGED
@@ -143,21 +143,6 @@
143
$('.metaboxes-tab .select_wrapper select[multiple]').not('.chosen').hide();
144
})
145
146
- //on-off
147
- $('.metaboxes-tab .onoff_container span').on('click', function(){
148
-
149
- var input = $( this ).prev( 'input' );
150
- var checked = input.prop( 'checked' );
151
-
152
- if( checked ) {
153
- input.prop( 'checked', false ).attr( 'value', 'no' ).removeClass('onoffchecked');
154
- } else {
155
- input.prop( 'checked', true ).attr( 'value', 'yes' ).addClass('onoffchecked');
156
- }
157
-
158
- input.change();
159
- });
160
-
161
//chosen
162
$('.metaboxes-tab .chosen .select_wrapper select').chosen();
163
@@ -349,6 +334,22 @@
349
});
350
351
352
353
354
})(jQuery);
143
$('.metaboxes-tab .select_wrapper select[multiple]').not('.chosen').hide();
144
})
145
146
//chosen
147
$('.metaboxes-tab .chosen .select_wrapper select').chosen();
148
334
});
335
336
337
+ //on-off
338
+ $('.the-metabox .rm_onoff.onoff_container span').on('click', function(ev){
339
+
340
+ var input = $( this ).prev( 'input' );
341
+ var checked = input.prop( 'checked' );
342
+
343
+ if( checked ) {
344
+ input.prop( 'checked', false ).attr( 'value', 'no' ).removeClass('onoffchecked');
345
+ } else {
346
+ input.prop( 'checked', true ).attr( 'value', 'yes' ).addClass('onoffchecked');
347
+ }
348
+
349
+ input.change();
350
+ });
351
+
352
+
353
354
355
})(jQuery);
plugin-fw/assets/js/metabox.min.js CHANGED
@@ -1,11 +1,11 @@
1
(function(a){function k(b,c,d){var e=!0;if("string"==typeof c){":radio"==c.substr(0,6)&&(c+=":checked");var g=a(c).val();"checkbox"==a(c).attr("type")&&(g=a(c).is(":checked")?"yes":"no");d=d.split(",");for(c=0;c<d.length;c++)if(g!=d[c])e=!1;else{e=!0;break}}e?a(b+"-container").parent().show():a(b+"-container").parent().hide()}a(".metaboxes-tab").each(function(){a(".tabs-panel",this).hide();var b=wpCookies.get("active_metabox_tab"),b=null==b?a("ul.metaboxes-tabs li:first-child a",this).attr("href"):
2
- "#"+b;a(b).show();a(".metaboxes-tabs a",this).click(function(b){if(a(this).parent().hasClass("tabs"))b.preventDefault();else return b=a(this).attr("href"),a(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),a(this).closest(".metaboxes-tab").find(".tabs-panel").slideUp("fast"),a(b).delay(350).slideDown("fast"),!1})});var h=!0,l=wp.media.editor.send.attachment;a(document).on("click",".metaboxes-tab .upload_button",function(b){b=a(this);var c=b.attr("id").replace("-button","");h=!0;
3
- wp.media.editor.send.attachment=function(b,e){if(h)a("#"+c).is("input[type=text]")?a("#"+c).val(e.url):a("#"+c+"_custom").val(e.url);else return l.apply(this,[b,e])};wp.media.editor.open(b);return!1});a(".metaboxes-tab .add_media").on("click",function(){h=!1});a(".metaboxes-tab .panel-colorpicker").wpColorPicker({onInit:function(){console.log("test")},change:function(a,c){},clear:function(){var b=a(this);b.val(b.data("default-color"));b.change()}});a(".metaboxes-tab .panel-colorpicker").each(function(){var b=
4
a(this).data("variations-label");a(this).parent().parent().find("a.wp-color-result").attr("title",b)});a(".metaboxes-tab .panel-datepicker").each(function(){a(this).datepicker()});var f=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));
5
0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+"</span>")};a(".metaboxes-tab .select_wrapper select").not(".chosen").each(f).change(f);a(".metaboxes-tab .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".metaboxes-tab .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".metaboxes-tab .select_wrapper select[multiple]").not(".chosen").hide()});
6
- a(".metaboxes-tab .onoff_container span").on("click",function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".metaboxes-tab .chosen .select_wrapper select").chosen();a(".metaboxes-tab .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),g=a(this).data("labels");
7
- a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);a(this).siblings(".feedback").find("strong").text(c.value+g)}})});f=a("#_active_page_options-container").parent().html();a("#_active_page_options-container").parent().remove();a(f).insertAfter("#yit-post-setting .handlediv");a(f).insertAfter("#yit-page-setting .handlediv");a("#_active_page_options-container").on("click",function(){a("#_active_page_options").is(":checked")?a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,
8
- "pointer-events":"auto"}):a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,"pointer-events":"none"})}).click();a(".metaboxes-tab [data-field]").each(function(){var b=a(this),c="#"+b.data("field"),d="#"+b.data("dep"),e=b.data("value");k(c,d,e.toString());a(d).on("change",function(){k(c,d,e.toString())}).change()});a(document).on("click",".image-gallery-button",function(b){var c=a(this);b=c.closest(".image-gallery");var d=b.find(".image_gallery_ids"),
9
- e=d.val(),g=b.find("ul.slides-wrapper"),f=wp.media.frames.image_gallery=wp.media({title:c.data("choose"),button:{text:c.data("update")},states:[new wp.media.controller.Library({title:c.data("choose"),filterable:"all",multiple:!0})]});f.on("select",function(){f.state().get("selection").map(function(a){a=a.toJSON();a.id&&(e=e?e+","+a.id:a.id,g.append('<li class="image" data-attachment_id="'+a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+c.data("delete")+
10
- '">x</a></li></ul></li>'))});d.val(e)});f.open()});a(".image-gallery ul.slides-wrapper").each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(c,d){var e="";b.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");e=e+b+","});
11
- b.closest(".image-gallery").find(".image_gallery_ids").val(e)}})});a(".image-gallery ul.slides-wrapper").on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),c=a(this).closest(".image-gallery ul.slides-wrapper"),b=b.find(".image_gallery_ids"),d="";a(this).closest("li.image").remove();c.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");d=d+b+","});b.val(d);return!1})})(jQuery);
1
(function(a){function k(b,c,d){var e=!0;if("string"==typeof c){":radio"==c.substr(0,6)&&(c+=":checked");var g=a(c).val();"checkbox"==a(c).attr("type")&&(g=a(c).is(":checked")?"yes":"no");d=d.split(",");for(c=0;c<d.length;c++)if(g!=d[c])e=!1;else{e=!0;break}}e?a(b+"-container").parent().show():a(b+"-container").parent().hide()}a(".metaboxes-tab").each(function(){a(".tabs-panel",this).hide();var b=wpCookies.get("active_metabox_tab"),b=null==b?a("ul.metaboxes-tabs li:first-child a",this).attr("href"):
2
+ "#"+b;a(b).show();a(".metaboxes-tabs a",this).click(function(b){if(a(this).parent().hasClass("tabs"))b.preventDefault();else return b=a(this).attr("href"),a(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),a(this).closest(".metaboxes-tab").find(".tabs-panel").slideUp("fast"),a(b).delay(350).slideDown("fast"),!1})});var h=!0,l=wp.media.editor.send.attachment;a(document).on("click",".metaboxes-tab .upload_button",function(b){b=a(this);if("undefined"!=typeof b.attr("id")){var c=b.attr("id").replace("-button",
3
+ "");h=!0;wp.media.editor.send.attachment=function(b,e){if(h)a("#"+c).is("input[type=text]")?a("#"+c).val(e.url):a("#"+c+"_custom").val(e.url);else return l.apply(this,[b,e])};wp.media.editor.open(b);return!1}});a(".metaboxes-tab .add_media").on("click",function(){h=!1});a(".metaboxes-tab .panel-colorpicker").wpColorPicker({onInit:function(){console.log("test")},change:function(a,c){},clear:function(){var b=a(this);b.val(b.data("default-color"));b.change()}});a(".metaboxes-tab .panel-colorpicker").each(function(){var b=
4
a(this).data("variations-label");a(this).parent().parent().find("a.wp-color-result").attr("title",b)});a(".metaboxes-tab .panel-datepicker").each(function(){a(this).datepicker()});var f=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));
5
0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+"</span>")};a(".metaboxes-tab .select_wrapper select").not(".chosen").each(f).change(f);a(".metaboxes-tab .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".metaboxes-tab .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".metaboxes-tab .select_wrapper select[multiple]").not(".chosen").hide()});
6
+ a(".metaboxes-tab .chosen .select_wrapper select").chosen();a(".metaboxes-tab .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),g=a(this).data("labels");a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);a(this).siblings(".feedback").find("strong").text(c.value+g)}})});f=a("#_active_page_options-container").parent().html();a("#_active_page_options-container").parent().remove();
7
+ a(f).insertAfter("#yit-post-setting .handlediv");a(f).insertAfter("#yit-page-setting .handlediv");a("#_active_page_options-container").on("click",function(){a("#_active_page_options").is(":checked")?a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,"pointer-events":"none"})}).click();a(".metaboxes-tab [data-field]").each(function(){var b=
8
+ a(this),c="#"+b.data("field"),d="#"+b.data("dep"),e=b.data("value");k(c,d,e.toString());a(d).on("change",function(){k(c,d,e.toString())}).change()});a(document).on("click",".image-gallery-button",function(b){var c=a(this);b=c.closest(".image-gallery");var d=b.find(".image_gallery_ids"),e=d.val(),g=b.find("ul.slides-wrapper"),f=wp.media.frames.image_gallery=wp.media({title:c.data("choose"),button:{text:c.data("update")},states:[new wp.media.controller.Library({title:c.data("choose"),filterable:"all",
9
+ multiple:!0})]});f.on("select",function(){f.state().get("selection").map(function(a){a=a.toJSON();a.id&&(e=e?e+","+a.id:a.id,g.append('<li class="image" data-attachment_id="'+a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+c.data("delete")+'">x</a></li></ul></li>'))});d.val(e)});f.open()});a(".image-gallery ul.slides-wrapper").each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,
10
+ forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(c,d){var e="";b.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");e=e+b+","});b.closest(".image-gallery").find(".image_gallery_ids").val(e)}})});a(".image-gallery ul.slides-wrapper").on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),c=a(this).closest(".image-gallery ul.slides-wrapper"),
11
+ b=b.find(".image_gallery_ids"),d="";a(this).closest("li.image").remove();c.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");d=d+b+","});b.val(d);return!1});a(".the-metabox .rm_onoff.onoff_container span").on("click",function(b){b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()})})(jQuery);
plugin-fw/assets/js/yit-plugin-panel.js CHANGED
@@ -65,7 +65,7 @@
65
$('.plugin-option .chosen .select_wrapper select').chosen();
66
67
// on-off
68
- $('.plugin-option .on_off_container span').on('click', function () {
69
var input = $(this).prev('input');
70
var checked = input.prop('checked');
71
65
$('.plugin-option .chosen .select_wrapper select').chosen();
66
67
// on-off
68
+ $('.plugin-option .onoff_container span').on('click', function () {
69
var input = $(this).prev('input');
70
var checked = input.prop('checked');
71
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1,5 +1,5 @@
1
(function(a){var l=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+
2
- "</span>")};a(".plugin-option .select_wrapper select").not(".chosen").each(l).change(l);a(".plugin-option .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".plugin-option .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".plugin-option .select_wrapper select[multiple]").not(".chosen").hide()});a(".plugin-option .chosen .select_wrapper select").chosen();a(".plugin-option .on_off_container span").on("click",
3
function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),f=a(this).data("labels");a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);
4
a(this).siblings(".feedback").find("strong").text(c.value+f)}})});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(a(".plugin-option .upload_img_url").change(function(){var b=a(this).val(),c=a(this).parents().siblings(".upload_img_preview");/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?c.html('<img src="'+b+'" style="max-width:600px; max-height:300px;" />'):c.html("")}).trigger("change"),a(document).on("click",".plugin-option .upload_button",function(b){b.preventDefault();
5
var c,d=a(this).attr("id").replace(/-button#x2F;,"");c||(b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})],c=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:b}),c.on("select",function(){var b=c.state().get("selection").first().toJSON();a("#"+d).val(b.url);a("#"+d+"-yith-attachment-id")&&a("#"+d+"-yith-attachment-id").val(b.id);a(".plugin-option .upload_img_url").trigger("change")}));
@@ -7,4 +7,4 @@ c.open()}),a(document).on("click",".plugin-option .upload_button_reset",function
7
b.substr(0,6)&&(b+=":checked");for(var g=g.split(","),k=0;k<g.length;k++)if(a(b).val()!=g[k])h=!1;else{h=!0;break}}h?a(c+"-container").closest("tr").show():a(c+"-container").closest("tr").hide()}).change()});a(".rm_connectedlist").each(function(){var b=a(this).find("ul"),c=a(this).find(":hidden");b.sortable({connectWith:b,update:function(d,e){var f={};b.each(function(){var b={};a(this).children().each(function(){b[a(this).data("option")]=a(this).text()});f[a(this).data("list")]=b});c.val(JSON.stringify(f).replace(/[\\"']/g,
8
"\\amp;").replace(/\u0000/g,"\\0"))}}).disableSelection()});a(document).ready(function(){a(".yith-video-link").click(function(b){b.preventDefault();b=a(this).data("video-id");a("."+b).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",resizable:!1,draggable:!1,create:function(b,d){a(this).css("maxWidth","853px")},open:function(b,d){a(".ui-widget-overlay").bind("click",function(){a(this).siblings(".ui-dialog").find(".ui-dialog-content").dialog("close")})}});
9
a(".ui-dialog :button").blur()})});a(document).ready(function(){a(".codemirror").each(function(b,c){var d=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",d)})});a(document).ready(function(){a(".google-analytic-generate").click(function(){var b=a("#"+a(this).data("textarea")).data("codemirrorInstance"),c=a("#"+a(this).data("input")).val(),d=a(this).data("basename"),e;e="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\nm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n";
10
- e+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n";e+="ga('create', '"+c+"', '"+d+"');\n";e+="ga('send', 'pageview');\n";b.replaceRange(e,b.getCursor("start"),b.getCursor("end"))})})})(jQuery);
1
(function(a){var l=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+
2
+ "</span>")};a(".plugin-option .select_wrapper select").not(".chosen").each(l).change(l);a(".plugin-option .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".plugin-option .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".plugin-option .select_wrapper select[multiple]").not(".chosen").hide()});a(".plugin-option .chosen .select_wrapper select").chosen();a(".plugin-option .onoff_container span").on("click",
3
function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),f=a(this).data("labels");a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);
4
a(this).siblings(".feedback").find("strong").text(c.value+f)}})});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(a(".plugin-option .upload_img_url").change(function(){var b=a(this).val(),c=a(this).parents().siblings(".upload_img_preview");/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?c.html('<img src="'+b+'" style="max-width:600px; max-height:300px;" />'):c.html("")}).trigger("change"),a(document).on("click",".plugin-option .upload_button",function(b){b.preventDefault();
5
var c,d=a(this).attr("id").replace(/-button#x2F;,"");c||(b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})],c=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:b}),c.on("select",function(){var b=c.state().get("selection").first().toJSON();a("#"+d).val(b.url);a("#"+d+"-yith-attachment-id")&&a("#"+d+"-yith-attachment-id").val(b.id);a(".plugin-option .upload_img_url").trigger("change")}));
7
b.substr(0,6)&&(b+=":checked");for(var g=g.split(","),k=0;k<g.length;k++)if(a(b).val()!=g[k])h=!1;else{h=!0;break}}h?a(c+"-container").closest("tr").show():a(c+"-container").closest("tr").hide()}).change()});a(".rm_connectedlist").each(function(){var b=a(this).find("ul"),c=a(this).find(":hidden");b.sortable({connectWith:b,update:function(d,e){var f={};b.each(function(){var b={};a(this).children().each(function(){b[a(this).data("option")]=a(this).text()});f[a(this).data("list")]=b});c.val(JSON.stringify(f).replace(/[\\"']/g,
8
"\\amp;").replace(/\u0000/g,"\\0"))}}).disableSelection()});a(document).ready(function(){a(".yith-video-link").click(function(b){b.preventDefault();b=a(this).data("video-id");a("."+b).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",resizable:!1,draggable:!1,create:function(b,d){a(this).css("maxWidth","853px")},open:function(b,d){a(".ui-widget-overlay").bind("click",function(){a(this).siblings(".ui-dialog").find(".ui-dialog-content").dialog("close")})}});
9
a(".ui-dialog :button").blur()})});a(document).ready(function(){a(".codemirror").each(function(b,c){var d=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",d)})});a(document).ready(function(){a(".google-analytic-generate").click(function(){var b=a("#"+a(this).data("textarea")).data("codemirrorInstance"),c=a("#"+a(this).data("input")).val(),d=a(this).data("basename"),e;e="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\nm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n";
10
+ e+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n";e+="ga('create', '"+c+"', '"+d+"');\n";e+="ga('send', 'pageview');\n";b.replaceRange(e,b.getCursor("start"),b.getCursor("end"))})})})(jQuery);
plugin-fw/init.php CHANGED
@@ -1,7 +1,7 @@
1
<?php
2
/**
3
* Framework Name: YIT Plugin Framework
4
- * Version: 2.9.10
5
* Author: Yithemes
6
* Text Domain: yith-plugin-fw
7
* Domain Path: /languages/
1
<?php
2
/**
3
* Framework Name: YIT Plugin Framework
4
+ * Version: 2.9.13
5
* Author: Yithemes
6
* Text Domain: yith-plugin-fw
7
* Domain Path: /languages/
plugin-fw/languages/yith-plugin-fw-it_IT.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-it_IT.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
msgstr ""
5
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2015-11-16 12:23+0100\n"
8
- "PO-Revision-Date: 2015-11-16 12:24+0100\n"
9
"Last-Translator: \n"
10
"Language-Team: YIThemes <plugins@yithemes.com>\n"
11
"Language: it_IT\n"
@@ -224,7 +224,7 @@ msgstr "Aggiungi %s dalla immagini"
224
msgid "Upload multiple files"
225
msgstr ""
226
227
- #: lib/yit-plugin-panel-wc.php:336
228
msgid "The changes you have made will be lost if you leave this page."
229
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
230
@@ -232,71 +232,71 @@ msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
232
msgid "Plugin Settings"
233
msgstr "Impostazioni plugin"
234
235
- #: lib/yit-plugin-panel.php:96 lib/yit-plugin-subpanel.php:101
236
- msgid "YIT Plugins"
237
- msgstr "YIT Plugins"
238
239
- #: lib/yit-plugin-panel.php:288 lib/yit-plugin-subpanel.php:143
240
#: templates/panel/woocommerce/woocommerce-form.php:5
241
msgid "Save Changes"
242
msgstr "Salva modifiche"
243
244
- #: lib/yit-plugin-panel.php:291 templates/panel/woocommerce/woocommerce-form.php:8
245
msgid "If you continue with this action, you will reset all options in this page."
246
msgstr ""
247
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
248
"reimpostate."
249
250
- #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
251
msgid "Reset to default"
252
msgstr ""
253
254
- #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
255
#: templates/panel/woocommerce/woocommerce-form.php:11
256
msgid "Are you sure?"
257
msgstr "Sei sicuro?"
258
259
- #: lib/yit-plugin-panel.php:427
260
msgid "The element you have entered already exists. Please, enter another name."
261
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
262
263
- #: lib/yit-plugin-panel.php:428
264
msgid "Settings saved"
265
msgstr "Impostazioni salvate"
266
267
- #: lib/yit-plugin-panel.php:429
268
msgid "Settings reset"
269
msgstr "Impostazioni azzerate"
270
271
- #: lib/yit-plugin-panel.php:430
272
msgid "Element deleted correctly."
273
msgstr "Elemento rimosso correttamente."
274
275
- #: lib/yit-plugin-panel.php:431 lib/yit-plugin-panel.php:432
276
msgid "Element updated correctly."
277
msgstr "Elemento aggiornato correttamente."
278
279
- #: lib/yit-plugin-panel.php:433
280
msgid "Database imported correctly."
281
msgstr "Database importato correttamente."
282
283
- #: lib/yit-plugin-panel.php:434
284
msgid "An error has occurred during import. Please try again."
285
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
286
287
- #: lib/yit-plugin-panel.php:435
288
msgid "The added file is not valid."
289
msgstr "Il file aggiunto non è valido."
290
291
- #: lib/yit-plugin-panel.php:436
292
msgid "Sorry, import is disabled."
293
msgstr "Ci dispiace, l'importazione è disabilitata."
294
295
- #: lib/yit-plugin-panel.php:437
296
msgid "Sorting successful."
297
msgstr "Ordinamento effettuato con successo."
298
299
- #: lib/yit-plugin-subpanel.php:146
300
msgid ""
301
"If you continue with this action, you will reset all the options in this page."
302
msgstr ""
@@ -347,40 +347,40 @@ msgstr ""
347
"di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
348
"saranno trasferite nella scheda Plugin YIT."
349
350
- #: lib/yit-upgrade.php:123
351
msgid "There is a new version of %plugin_name% available."
352
msgstr "Una nuova versione di %plugin_name% è disponibile."
353
354
- #: lib/yit-upgrade.php:124
355
msgid "View version %latest% details."
356
msgstr "Visualizza i dettagli della versione %latest%."
357
358
- #: lib/yit-upgrade.php:125
359
msgid "Automatic update is unavailable for this plugin,"
360
msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
361
362
- #: lib/yit-upgrade.php:126
363
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
364
msgstr ""
365
"per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di %plugin_name%."
366
367
- #: lib/yit-upgrade.php:127
368
msgid "Update now."
369
msgstr "Aggiorna adesso."
370
371
- #: lib/yit-upgrade.php:250
372
- msgid "Yithemes Repository"
373
- msgstr "Repository YIThemes"
374
375
- #: lib/yit-upgrade.php:284
376
msgid "Invalid URL Provided."
377
msgstr "L'URL inserito non è valido."
378
379
- #: lib/yit-upgrade.php:297
380
msgid "Could not create Temporary file."
381
msgstr "Non è stato possibile creare il file temporaneo."
382
383
- #: lib/yit-upgrade.php:439
384
#, php-format
385
msgid ""
386
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -389,7 +389,7 @@ msgstr ""
389
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
390
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>."
391
392
- #: lib/yit-upgrade.php:441
393
#, php-format
394
msgid ""
395
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -402,7 +402,7 @@ msgstr ""
402
"<em>Per poter usufruire degli aggiornamenti automatici è necessario attivare il "
403
"plugin su un solo sito.</em>"
404
405
- #: lib/yit-upgrade.php:443
406
#, php-format
407
msgid ""
408
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -411,7 +411,7 @@ msgid ""
411
"activation\">activate</a> your copy of %6s.</em>"
412
msgstr ""
413
414
- #: lib/yit-upgrade.php:445
415
#, php-format
416
msgid ""
417
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -422,111 +422,115 @@ msgstr ""
422
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a> "
423
"oppure <a href=\"%5$s\">aggiorna adesso</a>."
424
425
- #: lib/yit-upgrade.php:518
426
msgid "You can't update the plugins for this site."
427
msgstr "Non è possibile aggiornare i plugin per questo sito."
428
429
- #: lib/yit-upgrade.php:522
430
msgid "You do not have sufficient permissions to update the plugins for this site."
431
msgstr ""
432
"Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin in "
433
"questo sito."
434
435
- #: lib/yit-upgrade.php:529
436
msgid "Update Plugin"
437
msgstr "Aggiorna plugin"
438
439
- #: licence/lib/yit-licence.php:170
440
#, php-format
441
msgctxt "%s = field name"
442
msgid "%s field cannot be empty"
443
msgstr "Il campo %s non può essere vuoto"
444
445
- #: licence/lib/yit-licence.php:171
446
#, php-format
447
msgid "%s and %s fields cannot be empty"
448
msgstr "I campi %s e %s non possono essere vuoti"
449
450
- #: licence/lib/yit-licence.php:172
451
msgid "Unable to contact the remote server, please try again later. Thanks!"
452
msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
453
454
- #: licence/lib/yit-licence.php:173
455
- #: licence/templates/panel/activation/activation-panel.php:89
456
- #: licence/templates/panel/activation/activation-panel.php:164
457
- #: licence/templates/panel/activation/activation-panel.php:195
458
#: templates/metaboxes/types/contactform.php:148
459
#: templates/metaboxes/types/contactform.php:340
460
msgid "Email"
461
msgstr "Email"
462
463
- #: licence/lib/yit-licence.php:174
464
- #: licence/templates/panel/activation/activation-panel.php:90
465
- #: licence/templates/panel/activation/activation-panel.php:165
466
- #: licence/templates/panel/activation/activation-panel.php:196
467
msgid "License Key"
468
msgstr ""
469
470
- #: licence/lib/yit-licence.php:175
471
msgid "Are you sure you want to deactivate the license for current site?"
472
msgstr ""
473
474
- #: licence/lib/yit-licence.php:638
475
msgid "Invalid Request"
476
msgstr "Richiesta non valida"
477
478
- #: licence/lib/yit-licence.php:639
479
msgid "Invalid license key"
480
msgstr ""
481
482
- #: licence/lib/yit-licence.php:640
483
msgid "Software has been deactivated"
484
msgstr "Il software è stato disattivato"
485
486
- #: licence/lib/yit-licence.php:641
487
msgid "Maximum number of activations exceeded"
488
msgstr "Hai raggiunto il numero massimo di attivazioni"
489
490
- #: licence/lib/yit-licence.php:642
491
msgid "Invalid instance ID"
492
msgstr "Istanza ID non valida"
493
494
- #: licence/lib/yit-licence.php:643
495
msgid "Invalid security key"
496
msgstr "Chiave di sicurezza non valida"
497
498
- #: licence/lib/yit-licence.php:644
499
msgid "License key has expired"
500
msgstr ""
501
502
- #: licence/lib/yit-licence.php:645
503
msgid "License key has been banned"
504
msgstr ""
505
506
- #: licence/lib/yit-licence.php:646
507
msgid "Great"
508
msgstr ""
509
510
- #: licence/lib/yit-licence.php:646
511
msgid "License successfully activated"
512
msgstr ""
513
514
- #: licence/lib/yit-licence.php:647
515
msgid "License key deactivated for website"
516
msgstr ""
517
518
- #: licence/lib/yit-plugin-licence.php:68 licence/lib/yit-plugin-licence.php:69
519
- #: licence/lib/yit-theme-licence.php:70 licence/lib/yit-theme-licence.php:71
520
- #: licence/lib/yit-theme-licence.php:110 licence/lib/yit-theme-licence.php:111
521
msgid "License Activation"
522
msgstr ""
523
524
- #: licence/lib/yit-theme-licence.php:118 licence/lib/yit-theme-licence.php:119
525
#, php-format
526
msgid "%s"
527
msgstr "%s"
528
529
- #: licence/lib/yit-theme-licence.php:160
530
msgid ""
531
"I cannot find the license key for activating the theme I have bought some time "
532
"ago. Where can I find it?"
@@ -548,11 +552,11 @@ msgid ""
548
"in section \"My licenses\"."
549
msgstr ""
550
551
- #: licence/templates/panel/activation/activation-panel.php:22
552
msgid "Yithemes License Activation"
553
msgstr ""
554
555
- #: licence/templates/panel/activation/activation-panel.php:28
556
msgid ""
557
"Have you updated your licenses? Have you asked for an extension? Update "
558
"information concerning your products."
@@ -560,73 +564,75 @@ msgstr ""
560
"Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
561
"informazioni dei tuoi prodotti."
562
563
- #: licence/templates/panel/activation/activation-panel.php:30
564
msgid "Update license information"
565
msgstr ""
566
567
- #: licence/templates/panel/activation/activation-panel.php:43
568
msgid "Product to activate"
569
msgid_plural "Products to activate"
570
msgstr[0] ""
571
msgstr[1] ""
572
573
- #: licence/templates/panel/activation/activation-panel.php:62
574
msgid "Activate"
575
msgstr "Attiva"
576
577
- #: licence/templates/panel/activation/activation-panel.php:81
578
msgid "Activated"
579
msgstr "Attivato"
580
581
- #: licence/templates/panel/activation/activation-panel.php:87
582
- #: licence/templates/panel/activation/activation-panel.php:162
583
- #: licence/templates/panel/activation/activation-panel.php:192
584
msgid "Product Name"
585
msgstr "Nome prodotto"
586
587
- #: licence/templates/panel/activation/activation-panel.php:93
588
- #: licence/templates/panel/activation/activation-panel.php:199
589
msgid "Expires"
590
msgstr "Scadenza"
591
592
- #: licence/templates/panel/activation/activation-panel.php:96
593
msgid "Remaining"
594
msgstr "Tempo rimanente"
595
596
#: licence/templates/panel/activation/activation-panel.php:97
597
- #: licence/templates/panel/activation/activation-panel.php:223
598
msgid "Membership"
599
msgstr ""
600
601
- #: licence/templates/panel/activation/activation-panel.php:100
602
msgid "License Actions"
603
msgstr ""
604
605
- #: licence/templates/panel/activation/activation-panel.php:125
606
#, php-format
607
msgid "%1s out of %2s"
608
msgstr "%1s di %2s"
609
610
- #: licence/templates/panel/activation/activation-panel.php:140
611
msgid "Deactivate"
612
msgstr ""
613
614
- #: licence/templates/panel/activation/activation-panel.php:145
615
- #: licence/templates/panel/activation/activation-panel.php:202
616
- #: licence/templates/panel/activation/activation-panel.php:223
617
msgid "Renew"
618
msgstr "Rinnova"
619
620
- #: licence/templates/panel/activation/activation-panel.php:158
621
msgid "Banned"
622
msgstr "Bloccato"
623
624
- #: licence/templates/panel/activation/activation-panel.php:188
625
msgid "Expired"
626
msgstr "Non più valido"
627
628
- #: licence/templates/panel/activation/activation-panel.php:223
629
- msgid "License"
630
msgstr ""
631
632
#: templates/metaboxes/types/ajax-products.php:23
@@ -993,10 +999,20 @@ msgstr "Corsivo"
993
msgid "Italic bold"
994
msgstr "Grassetto corsivo"
995
996
#: templates/panel/woocommerce/woocommerce-form.php:11
997
msgid "Reset Defaults"
998
msgstr "Ripristina impostazioni iniziali"
999
1000
#~ msgid "Layout for this "
1001
#~ msgstr "Layout per questo"
1002
4
msgstr ""
5
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2016-03-07 15:11+0100\n"
8
+ "PO-Revision-Date: 2016-03-07 15:11+0100\n"
9
"Last-Translator: \n"
10
"Language-Team: YIThemes <plugins@yithemes.com>\n"
11
"Language: it_IT\n"
224
msgid "Upload multiple files"
225
msgstr ""
226
227
+ #: lib/yit-plugin-panel-wc.php:341
228
msgid "The changes you have made will be lost if you leave this page."
229
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
230
232
msgid "Plugin Settings"
233
msgstr "Impostazioni plugin"
234
235
+ #: lib/yit-plugin-panel.php:99 lib/yit-plugin-subpanel.php:103
236
+ msgid "YITH Plugins"
237
+ msgstr "YITH Plugins"
238
239
+ #: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:146
240
#: templates/panel/woocommerce/woocommerce-form.php:5
241
msgid "Save Changes"
242
msgstr "Salva modifiche"
243
244
+ #: lib/yit-plugin-panel.php:300 templates/panel/woocommerce/woocommerce-form.php:8
245
msgid "If you continue with this action, you will reset all options in this page."
246
msgstr ""
247
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
248
"reimpostate."
249
250
+ #: lib/yit-plugin-panel.php:302 lib/yit-plugin-subpanel.php:151
251
msgid "Reset to default"
252
msgstr ""
253
254
+ #: lib/yit-plugin-panel.php:302 lib/yit-plugin-subpanel.php:151
255
#: templates/panel/woocommerce/woocommerce-form.php:11
256
msgid "Are you sure?"
257
msgstr "Sei sicuro?"
258
259
+ #: lib/yit-plugin-panel.php:436
260
msgid "The element you have entered already exists. Please, enter another name."
261
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
262
263
+ #: lib/yit-plugin-panel.php:437
264
msgid "Settings saved"
265
msgstr "Impostazioni salvate"
266
267
+ #: lib/yit-plugin-panel.php:438
268
msgid "Settings reset"
269
msgstr "Impostazioni azzerate"
270
271
+ #: lib/yit-plugin-panel.php:439
272
msgid "Element deleted correctly."
273
msgstr "Elemento rimosso correttamente."
274
275
+ #: lib/yit-plugin-panel.php:440 lib/yit-plugin-panel.php:441
276
msgid "Element updated correctly."
277
msgstr "Elemento aggiornato correttamente."
278
279
+ #: lib/yit-plugin-panel.php:442
280
msgid "Database imported correctly."
281
msgstr "Database importato correttamente."
282
283
+ #: lib/yit-plugin-panel.php:443
284
msgid "An error has occurred during import. Please try again."
285
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
286
287
+ #: lib/yit-plugin-panel.php:444
288
msgid "The added file is not valid."
289
msgstr "Il file aggiunto non è valido."
290
291
+ #: lib/yit-plugin-panel.php:445
292
msgid "Sorry, import is disabled."
293
msgstr "Ci dispiace, l'importazione è disabilitata."
294
295
+ #: lib/yit-plugin-panel.php:446
296
msgid "Sorting successful."
297
msgstr "Ordinamento effettuato con successo."
298
299
+ #: lib/yit-plugin-subpanel.php:149
300
msgid ""
301
"If you continue with this action, you will reset all the options in this page."
302
msgstr ""
347
"di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
348
"saranno trasferite nella scheda Plugin YIT."
349
350
+ #: lib/yit-upgrade.php:136
351
msgid "There is a new version of %plugin_name% available."
352
msgstr "Una nuova versione di %plugin_name% è disponibile."
353
354
+ #: lib/yit-upgrade.php:137
355
msgid "View version %latest% details."
356
msgstr "Visualizza i dettagli della versione %latest%."
357
358
+ #: lib/yit-upgrade.php:138
359
msgid "Automatic update is unavailable for this plugin,"
360
msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
361
362
+ #: lib/yit-upgrade.php:139
363
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
364
msgstr ""
365
"per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di %plugin_name%."
366
367
+ #: lib/yit-upgrade.php:140
368
msgid "Update now."
369
msgstr "Aggiorna adesso."
370
371
+ #: lib/yit-upgrade.php:243
372
+ msgid "YIThemes Repository"
373
+ msgstr ""
374
375
+ #: lib/yit-upgrade.php:277
376
msgid "Invalid URL Provided."
377
msgstr "L'URL inserito non è valido."
378
379
+ #: lib/yit-upgrade.php:290
380
msgid "Could not create Temporary file."
381
msgstr "Non è stato possibile creare il file temporaneo."
382
383
+ #: lib/yit-upgrade.php:432
384
#, php-format
385
msgid ""
386
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
389
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
390
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>."
391
392
+ #: lib/yit-upgrade.php:434
393
#, php-format
394
msgid ""
395
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
402
"<em>Per poter usufruire degli aggiornamenti automatici è necessario attivare il "
403
"plugin su un solo sito.</em>"
404
405
+ #: lib/yit-upgrade.php:436
406
#, php-format
407
msgid ""
408
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
411
"activation\">activate</a> your copy of %6s.</em>"
412
msgstr ""
413
414
+ #: lib/yit-upgrade.php:438
415
#, php-format
416
msgid ""
417
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
422
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a> "
423
"oppure <a href=\"%5$s\">aggiorna adesso</a>."
424
425
+ #: lib/yit-upgrade.php:511
426
msgid "You can't update the plugins for this site."
427
msgstr "Non è possibile aggiornare i plugin per questo sito."
428
429
+ #: lib/yit-upgrade.php:515
430
msgid "You do not have sufficient permissions to update the plugins for this site."
431
msgstr ""
432
"Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin in "
433
"questo sito."
434
435
+ #: lib/yit-upgrade.php:522
436
msgid "Update Plugin"
437
msgstr "Aggiorna plugin"
438
439
+ #: licence/lib/yit-licence.php:182
440
#, php-format
441
msgctxt "%s = field name"
442
msgid "%s field cannot be empty"
443
msgstr "Il campo %s non può essere vuoto"
444
445
+ #: licence/lib/yit-licence.php:183
446
#, php-format
447
msgid "%s and %s fields cannot be empty"
448
msgstr "I campi %s e %s non possono essere vuoti"
449
450
+ #: licence/lib/yit-licence.php:184
451
msgid "Unable to contact the remote server, please try again later. Thanks!"
452
msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
453
454
+ #: licence/lib/yit-licence.php:185
455
+ #: licence/templates/panel/activation/activation-panel.php:88
456
+ #: licence/templates/panel/activation/activation-panel.php:166
457
+ #: licence/templates/panel/activation/activation-panel.php:197
458
#: templates/metaboxes/types/contactform.php:148
459
#: templates/metaboxes/types/contactform.php:340
460
msgid "Email"
461
msgstr "Email"
462
463
+ #: licence/lib/yit-licence.php:186
464
+ #: licence/templates/panel/activation/activation-panel.php:89
465
+ #: licence/templates/panel/activation/activation-panel.php:167
466
+ #: licence/templates/panel/activation/activation-panel.php:198
467
msgid "License Key"
468
msgstr ""
469
470
+ #: licence/lib/yit-licence.php:187
471
msgid "Are you sure you want to deactivate the license for current site?"
472
msgstr ""
473
474
+ #: licence/lib/yit-licence.php:667
475
msgid "Invalid Request"
476
msgstr "Richiesta non valida"
477
478
+ #: licence/lib/yit-licence.php:668
479
msgid "Invalid license key"
480
msgstr ""
481
482
+ #: licence/lib/yit-licence.php:669
483
msgid "Software has been deactivated"
484
msgstr "Il software è stato disattivato"
485
486
+ #: licence/lib/yit-licence.php:670
487
msgid "Maximum number of activations exceeded"
488
msgstr "Hai raggiunto il numero massimo di attivazioni"
489
490
+ #: licence/lib/yit-licence.php:671
491
msgid "Invalid instance ID"
492
msgstr "Istanza ID non valida"
493
494
+ #: licence/lib/yit-licence.php:672
495
msgid "Invalid security key"
496
msgstr "Chiave di sicurezza non valida"
497
498
+ #: licence/lib/yit-licence.php:673
499
msgid "License key has expired"
500
msgstr ""
501
502
+ #: licence/lib/yit-licence.php:674
503
msgid "License key has been banned"
504
msgstr ""
505
506
+ #: licence/lib/yit-licence.php:675
507
+ msgid "Current product is not included with your membership key"
508
+ msgstr ""
509
+
510
+ #: licence/lib/yit-licence.php:676
511
msgid "Great"
512
msgstr ""
513
514
+ #: licence/lib/yit-licence.php:676
515
msgid "License successfully activated"
516
msgstr ""
517
518
+ #: licence/lib/yit-licence.php:677
519
msgid "License key deactivated for website"
520
msgstr ""
521
522
+ #: licence/lib/yit-plugin-licence.php:67 licence/lib/yit-plugin-licence.php:68
523
+ #: licence/lib/yit-theme-licence.php:69 licence/lib/yit-theme-licence.php:70
524
+ #: licence/lib/yit-theme-licence.php:109 licence/lib/yit-theme-licence.php:110
525
msgid "License Activation"
526
msgstr ""
527
528
+ #: licence/lib/yit-theme-licence.php:117 licence/lib/yit-theme-licence.php:118
529
#, php-format
530
msgid "%s"
531
msgstr "%s"
532
533
+ #: licence/lib/yit-theme-licence.php:159
534
msgid ""
535
"I cannot find the license key for activating the theme I have bought some time "
536
"ago. Where can I find it?"
552
"in section \"My licenses\"."
553
msgstr ""
554
555
+ #: licence/templates/panel/activation/activation-panel.php:23
556
msgid "Yithemes License Activation"
557
msgstr ""
558
559
+ #: licence/templates/panel/activation/activation-panel.php:27
560
msgid ""
561
"Have you updated your licenses? Have you asked for an extension? Update "
562
"information concerning your products."
564
"Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
565
"informazioni dei tuoi prodotti."
566
567
+ #: licence/templates/panel/activation/activation-panel.php:29
568
msgid "Update license information"
569
msgstr ""
570
571
+ #: licence/templates/panel/activation/activation-panel.php:42
572
msgid "Product to activate"
573
msgid_plural "Products to activate"
574
msgstr[0] ""
575
msgstr[1] ""
576
577
+ #: licence/templates/panel/activation/activation-panel.php:61
578
msgid "Activate"
579
msgstr "Attiva"
580
581
+ #: licence/templates/panel/activation/activation-panel.php:80
582
msgid "Activated"
583
msgstr "Attivato"
584
585
+ #: licence/templates/panel/activation/activation-panel.php:86
586
+ #: licence/templates/panel/activation/activation-panel.php:164
587
+ #: licence/templates/panel/activation/activation-panel.php:194
588
msgid "Product Name"
589
msgstr "Nome prodotto"
590
591
+ #: licence/templates/panel/activation/activation-panel.php:92
592
+ #: licence/templates/panel/activation/activation-panel.php:201
593
msgid "Expires"
594
msgstr "Scadenza"
595
596
+ #: licence/templates/panel/activation/activation-panel.php:95
597
msgid "Remaining"
598
msgstr "Tempo rimanente"
599
600
#: licence/templates/panel/activation/activation-panel.php:97
601
msgid "Membership"
602
msgstr ""
603
604
+ #: licence/templates/panel/activation/activation-panel.php:101
605
msgid "License Actions"
606
msgstr ""
607
608
+ #: licence/templates/panel/activation/activation-panel.php:126
609
#, php-format
610
msgid "%1s out of %2s"
611
msgstr "%1s di %2s"
612
613
+ #: licence/templates/panel/activation/activation-panel.php:142
614
msgid "Deactivate"
615
msgstr ""
616
617
+ #: licence/templates/panel/activation/activation-panel.php:147
618
+ #: licence/templates/panel/activation/activation-panel.php:204
619
msgid "Renew"
620
msgstr "Rinnova"
621
622
+ #: licence/templates/panel/activation/activation-panel.php:160
623
msgid "Banned"
624
msgstr "Bloccato"
625
626
+ #: licence/templates/panel/activation/activation-panel.php:190
627
msgid "Expired"
628
msgstr "Non più valido"
629
630
+ #: licence/templates/panel/activation/activation-panel.php:226
631
+ msgid "Order again"
632
+ msgstr ""
633
+
634
+ #: licence/templates/panel/activation/activation-panel.php:228
635
+ msgid "Renew license"
636
msgstr ""
637
638
#: templates/metaboxes/types/ajax-products.php:23
999
msgid "Italic bold"
1000
msgstr "Grassetto corsivo"
1001
1002
+ #: templates/panel/types/upload.php:32
1003
+ msgid "Reset"
1004
+ msgstr ""
1005
+
1006
#: templates/panel/woocommerce/woocommerce-form.php:11
1007
msgid "Reset Defaults"
1008
msgstr "Ripristina impostazioni iniziali"
1009
1010
+ #~ msgid "YIT Plugins"
1011
+ #~ msgstr "YIT Plugins"
1012
+
1013
+ #~ msgid "Yithemes Repository"
1014
+ #~ msgstr "Repository YIThemes"
1015
+
1016
#~ msgid "Layout for this "
1017
#~ msgstr "Layout per questo"
1018
plugin-fw/languages/yith-plugin-fw.pot CHANGED
@@ -5,7 +5,7 @@ msgid ""
5
msgstr ""
6
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
7
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
8
- "POT-Creation-Date: 2015-11-16 12:23+0100\n"
9
"PO-Revision-Date: 2015-05-05 10:38+0100\n"
10
"Last-Translator: \n"
11
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
@@ -220,7 +220,7 @@ msgstr ""
220
msgid "Upload multiple files"
221
msgstr ""
222
223
- #: lib/yit-plugin-panel-wc.php:336
224
msgid "The changes you have made will be lost if you leave this page."
225
msgstr ""
226
@@ -228,69 +228,69 @@ msgstr ""
228
msgid "Plugin Settings"
229
msgstr ""
230
231
- #: lib/yit-plugin-panel.php:96 lib/yit-plugin-subpanel.php:101
232
- msgid "YIT Plugins"
233
msgstr ""
234
235
- #: lib/yit-plugin-panel.php:288 lib/yit-plugin-subpanel.php:143
236
#: templates/panel/woocommerce/woocommerce-form.php:5
237
msgid "Save Changes"
238
msgstr ""
239
240
- #: lib/yit-plugin-panel.php:291 templates/panel/woocommerce/woocommerce-form.php:8
241
msgid "If you continue with this action, you will reset all options in this page."
242
msgstr ""
243
244
- #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
245
msgid "Reset to default"
246
msgstr ""
247
248
- #: lib/yit-plugin-panel.php:293 lib/yit-plugin-subpanel.php:148
249
#: templates/panel/woocommerce/woocommerce-form.php:11
250
msgid "Are you sure?"
251
msgstr ""
252
253
- #: lib/yit-plugin-panel.php:427
254
msgid "The element you have entered already exists. Please, enter another name."
255
msgstr ""
256
257
- #: lib/yit-plugin-panel.php:428
258
msgid "Settings saved"
259
msgstr ""
260
261
- #: lib/yit-plugin-panel.php:429
262
msgid "Settings reset"
263
msgstr ""
264
265
- #: lib/yit-plugin-panel.php:430
266
msgid "Element deleted correctly."
267
msgstr ""
268
269
- #: lib/yit-plugin-panel.php:431 lib/yit-plugin-panel.php:432
270
msgid "Element updated correctly."
271
msgstr ""
272
273
- #: lib/yit-plugin-panel.php:433
274
msgid "Database imported correctly."
275
msgstr ""
276
277
- #: lib/yit-plugin-panel.php:434
278
msgid "An error has occurred during import. Please try again."
279
msgstr ""
280
281
- #: lib/yit-plugin-panel.php:435
282
msgid "The added file is not valid."
283
msgstr ""
284
285
- #: lib/yit-plugin-panel.php:436
286
msgid "Sorry, import is disabled."
287
msgstr ""
288
289
- #: lib/yit-plugin-panel.php:437
290
msgid "Sorting successful."
291
msgstr ""
292
293
- #: lib/yit-plugin-subpanel.php:146
294
msgid ""
295
"If you continue with this action, you will reset all the options in this page."
296
msgstr ""
@@ -329,46 +329,46 @@ msgid ""
329
"Plugin tab."
330
msgstr ""
331
332
- #: lib/yit-upgrade.php:123
333
msgid "There is a new version of %plugin_name% available."
334
msgstr ""
335
336
- #: lib/yit-upgrade.php:124
337
msgid "View version %latest% details."
338
msgstr ""
339
340
- #: lib/yit-upgrade.php:125
341
msgid "Automatic update is unavailable for this plugin,"
342
msgstr ""
343
344
- #: lib/yit-upgrade.php:126
345
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
346
msgstr ""
347
348
- #: lib/yit-upgrade.php:127
349
msgid "Update now."
350
msgstr ""
351
352
- #: lib/yit-upgrade.php:250
353
- msgid "Yithemes Repository"
354
msgstr ""
355
356
- #: lib/yit-upgrade.php:284
357
msgid "Invalid URL Provided."
358
msgstr ""
359
360
- #: lib/yit-upgrade.php:297
361
msgid "Could not create Temporary file."
362
msgstr ""
363
364
- #: lib/yit-upgrade.php:439
365
#, php-format
366
msgid ""
367
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
368
"changelog-button\" title=\"%3$s\">View version %4$s details</a>."
369
msgstr ""
370
371
- #: lib/yit-upgrade.php:441
372
#, php-format
373
msgid ""
374
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -377,7 +377,7 @@ msgid ""
377
"updates.</em>"
378
msgstr ""
379
380
- #: lib/yit-upgrade.php:443
381
#, php-format
382
msgid ""
383
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -386,7 +386,7 @@ msgid ""
386
"activation\">activate</a> your copy of %6s.</em>"
387
msgstr ""
388
389
- #: lib/yit-upgrade.php:445
390
#, php-format
391
msgid ""
392
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
@@ -394,109 +394,113 @@ msgid ""
394
"\">update now</a>."
395
msgstr ""
396
397
- #: lib/yit-upgrade.php:518
398
msgid "You can't update the plugins for this site."
399
msgstr ""
400
401
- #: lib/yit-upgrade.php:522
402
msgid "You do not have sufficient permissions to update the plugins for this site."
403
msgstr ""
404
405
- #: lib/yit-upgrade.php:529
406
msgid "Update Plugin"
407
msgstr ""
408
409
- #: licence/lib/yit-licence.php:170
410
#, php-format
411
msgctxt "%s = field name"
412
msgid "%s field cannot be empty"
413
msgstr ""
414
415
- #: licence/lib/yit-licence.php:171
416
#, php-format
417
msgid "%s and %s fields cannot be empty"
418
msgstr ""
419
420
- #: licence/lib/yit-licence.php:172
421
msgid "Unable to contact the remote server, please try again later. Thanks!"
422
msgstr ""
423
424
- #: licence/lib/yit-licence.php:173
425
- #: licence/templates/panel/activation/activation-panel.php:89
426
- #: licence/templates/panel/activation/activation-panel.php:164
427
- #: licence/templates/panel/activation/activation-panel.php:195
428
#: templates/metaboxes/types/contactform.php:148
429
#: templates/metaboxes/types/contactform.php:340
430
msgid "Email"
431
msgstr ""
432
433
- #: licence/lib/yit-licence.php:174
434
- #: licence/templates/panel/activation/activation-panel.php:90
435
- #: licence/templates/panel/activation/activation-panel.php:165
436
- #: licence/templates/panel/activation/activation-panel.php:196
437
msgid "License Key"
438
msgstr ""
439
440
- #: licence/lib/yit-licence.php:175
441
msgid "Are you sure you want to deactivate the license for current site?"
442
msgstr ""
443
444
- #: licence/lib/yit-licence.php:638
445
msgid "Invalid Request"
446
msgstr ""
447
448
- #: licence/lib/yit-licence.php:639
449
msgid "Invalid license key"
450
msgstr ""
451
452
- #: licence/lib/yit-licence.php:640
453
msgid "Software has been deactivated"
454
msgstr ""
455
456
- #: licence/lib/yit-licence.php:641
457
msgid "Maximum number of activations exceeded"
458
msgstr ""
459
460
- #: licence/lib/yit-licence.php:642
461
msgid "Invalid instance ID"
462
msgstr ""
463
464
- #: licence/lib/yit-licence.php:643
465
msgid "Invalid security key"
466
msgstr ""
467
468
- #: licence/lib/yit-licence.php:644
469
msgid "License key has expired"
470
msgstr ""
471
472
- #: licence/lib/yit-licence.php:645
473
msgid "License key has been banned"
474
msgstr ""
475
476
- #: licence/lib/yit-licence.php:646
477
msgid "Great"
478
msgstr ""
479
480
- #: licence/lib/yit-licence.php:646
481
msgid "License successfully activated"
482
msgstr ""
483
484
- #: licence/lib/yit-licence.php:647
485
msgid "License key deactivated for website"
486
msgstr ""
487
488
- #: licence/lib/yit-plugin-licence.php:68 licence/lib/yit-plugin-licence.php:69
489
- #: licence/lib/yit-theme-licence.php:70 licence/lib/yit-theme-licence.php:71
490
- #: licence/lib/yit-theme-licence.php:110 licence/lib/yit-theme-licence.php:111
491
msgid "License Activation"
492
msgstr ""
493
494
- #: licence/lib/yit-theme-licence.php:118 licence/lib/yit-theme-licence.php:119
495
#, php-format
496
msgid "%s"
497
msgstr ""
498
499
- #: licence/lib/yit-theme-licence.php:160
500
msgid ""
501
"I cannot find the license key for activating the theme I have bought some time "
502
"ago. Where can I find it?"
@@ -516,83 +520,85 @@ msgid ""
516
"in section \"My licenses\"."
517
msgstr ""
518
519
- #: licence/templates/panel/activation/activation-panel.php:22
520
msgid "Yithemes License Activation"
521
msgstr ""
522
523
- #: licence/templates/panel/activation/activation-panel.php:28
524
msgid ""
525
"Have you updated your licenses? Have you asked for an extension? Update "
526
"information concerning your products."
527
msgstr ""
528
529
- #: licence/templates/panel/activation/activation-panel.php:30
530
msgid "Update license information"
531
msgstr ""
532
533
- #: licence/templates/panel/activation/activation-panel.php:43
534
msgid "Product to activate"
535
msgid_plural "Products to activate"
536
msgstr[0] ""
537
msgstr[1] ""
538
539
- #: licence/templates/panel/activation/activation-panel.php:62
540
msgid "Activate"
541
msgstr ""
542
543
- #: licence/templates/panel/activation/activation-panel.php:81
544
msgid "Activated"
545
msgstr ""
546
547
- #: licence/templates/panel/activation/activation-panel.php:87
548
- #: licence/templates/panel/activation/activation-panel.php:162
549
- #: licence/templates/panel/activation/activation-panel.php:192
550
msgid "Product Name"
551
msgstr ""
552
553
- #: licence/templates/panel/activation/activation-panel.php:93
554
- #: licence/templates/panel/activation/activation-panel.php:199
555
msgid "Expires"
556
msgstr ""
557
558
- #: licence/templates/panel/activation/activation-panel.php:96
559
msgid "Remaining"
560
msgstr ""
561
562
#: licence/templates/panel/activation/activation-panel.php:97
563
- #: licence/templates/panel/activation/activation-panel.php:223
564
msgid "Membership"
565
msgstr ""
566
567
- #: licence/templates/panel/activation/activation-panel.php:100
568
msgid "License Actions"
569
msgstr ""
570
571
- #: licence/templates/panel/activation/activation-panel.php:125
572
#, php-format
573
msgid "%1s out of %2s"
574
msgstr ""
575
576
- #: licence/templates/panel/activation/activation-panel.php:140
577
msgid "Deactivate"
578
msgstr ""
579
580
- #: licence/templates/panel/activation/activation-panel.php:145
581
- #: licence/templates/panel/activation/activation-panel.php:202
582
- #: licence/templates/panel/activation/activation-panel.php:223
583
msgid "Renew"
584
msgstr ""
585
586
- #: licence/templates/panel/activation/activation-panel.php:158
587
msgid "Banned"
588
msgstr ""
589
590
- #: licence/templates/panel/activation/activation-panel.php:188
591
msgid "Expired"
592
msgstr ""
593
594
- #: licence/templates/panel/activation/activation-panel.php:223
595
- msgid "License"
596
msgstr ""
597
598
#: templates/metaboxes/types/ajax-products.php:23
@@ -955,6 +961,10 @@ msgstr ""
955
msgid "Italic bold"
956
msgstr ""
957
958
#: templates/panel/woocommerce/woocommerce-form.php:11
959
msgid "Reset Defaults"
960
msgstr ""
5
msgstr ""
6
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
7
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
8
+ "POT-Creation-Date: 2016-03-07 15:11+0100\n"
9
"PO-Revision-Date: 2015-05-05 10:38+0100\n"
10
"Last-Translator: \n"
11
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
220
msgid "Upload multiple files"
221
msgstr ""
222
223
+ #: lib/yit-plugin-panel-wc.php:341
224
msgid "The changes you have made will be lost if you leave this page."
225
msgstr ""
226
228
msgid "Plugin Settings"
229
msgstr ""
230
231
+ #: lib/yit-plugin-panel.php:99 lib/yit-plugin-subpanel.php:103
232
+ msgid "YITH Plugins"
233
msgstr ""
234
235
+ #: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:146
236
#: templates/panel/woocommerce/woocommerce-form.php:5
237
msgid "Save Changes"
238
msgstr ""
239
240
+ #: lib/yit-plugin-panel.php:300 templates/panel/woocommerce/woocommerce-form.php:8
241
msgid "If you continue with this action, you will reset all options in this page."
242
msgstr ""
243
244
+ #: lib/yit-plugin-panel.php:302 lib/yit-plugin-subpanel.php:151
245
msgid "Reset to default"
246
msgstr ""
247
248
+ #: lib/yit-plugin-panel.php:302 lib/yit-plugin-subpanel.php:151
249
#: templates/panel/woocommerce/woocommerce-form.php:11
250
msgid "Are you sure?"
251
msgstr ""
252
253
+ #: lib/yit-plugin-panel.php:436
254
msgid "The element you have entered already exists. Please, enter another name."
255
msgstr ""
256
257
+ #: lib/yit-plugin-panel.php:437
258
msgid "Settings saved"
259
msgstr ""
260
261
+ #: lib/yit-plugin-panel.php:438
262
msgid "Settings reset"
263
msgstr ""
264
265
+ #: lib/yit-plugin-panel.php:439
266
msgid "Element deleted correctly."
267
msgstr ""
268
269
+ #: lib/yit-plugin-panel.php:440 lib/yit-plugin-panel.php:441
270
msgid "Element updated correctly."
271
msgstr ""
272
273
+ #: lib/yit-plugin-panel.php:442
274
msgid "Database imported correctly."
275
msgstr ""
276
277
+ #: lib/yit-plugin-panel.php:443
278
msgid "An error has occurred during import. Please try again."
279
msgstr ""
280
281
+ #: lib/yit-plugin-panel.php:444
282
msgid "The added file is not valid."
283
msgstr ""
284
285
+ #: lib/yit-plugin-panel.php:445
286
msgid "Sorry, import is disabled."
287
msgstr ""
288
289
+ #: lib/yit-plugin-panel.php:446
290
msgid "Sorting successful."
291
msgstr ""
292
293
+ #: lib/yit-plugin-subpanel.php:149
294
msgid ""
295
"If you continue with this action, you will reset all the options in this page."
296
msgstr ""
329
"Plugin tab."
330
msgstr ""
331
332
+ #: lib/yit-upgrade.php:136
333
msgid "There is a new version of %plugin_name% available."
334
msgstr ""
335
336
+ #: lib/yit-upgrade.php:137
337
msgid "View version %latest% details."
338
msgstr ""
339
340
+ #: lib/yit-upgrade.php:138
341
msgid "Automatic update is unavailable for this plugin,"
342
msgstr ""
343
344
+ #: lib/yit-upgrade.php:139
345
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
346
msgstr ""
347
348
+ #: lib/yit-upgrade.php:140
349
msgid "Update now."
350
msgstr ""
351
352
+ #: lib/yit-upgrade.php:243
353
+ msgid "YIThemes Repository"
354
msgstr ""
355
356
+ #: lib/yit-upgrade.php:277
357
msgid "Invalid URL Provided."
358
msgstr ""
359
360
+ #: lib/yit-upgrade.php:290
361
msgid "Could not create Temporary file."
362
msgstr ""
363
364
+ #: lib/yit-upgrade.php:432
365
#, php-format
366
msgid ""
367
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
368
"changelog-button\" title=\"%3$s\">View version %4$s details</a>."
369
msgstr ""
370
371
+ #: lib/yit-upgrade.php:434
372
#, php-format
373
msgid ""
374
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
377
"updates.</em>"
378
msgstr ""
379
380
+ #: lib/yit-upgrade.php:436
381
#, php-format
382
msgid ""
383
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
386
"activation\">activate</a> your copy of %6s.</em>"
387
msgstr ""
388
389
+ #: lib/yit-upgrade.php:438
390
#, php-format
391
msgid ""
392
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
394
"\">update now</a>."
395
msgstr ""
396
397
+ #: lib/yit-upgrade.php:511
398
msgid "You can't update the plugins for this site."
399
msgstr ""
400
401
+ #: lib/yit-upgrade.php:515
402
msgid "You do not have sufficient permissions to update the plugins for this site."
403
msgstr ""
404
405
+ #: lib/yit-upgrade.php:522
406
msgid "Update Plugin"
407
msgstr ""
408
409
+ #: licence/lib/yit-licence.php:182
410
#, php-format
411
msgctxt "%s = field name"
412
msgid "%s field cannot be empty"
413
msgstr ""
414
415
+ #: licence/lib/yit-licence.php:183
416
#, php-format
417
msgid "%s and %s fields cannot be empty"
418
msgstr ""
419
420
+ #: licence/lib/yit-licence.php:184
421
msgid "Unable to contact the remote server, please try again later. Thanks!"
422
msgstr ""
423
424
+ #: licence/lib/yit-licence.php:185
425
+ #: licence/templates/panel/activation/activation-panel.php:88
426
+ #: licence/templates/panel/activation/activation-panel.php:166
427
+ #: licence/templates/panel/activation/activation-panel.php:197
428
#: templates/metaboxes/types/contactform.php:148
429
#: templates/metaboxes/types/contactform.php:340
430
msgid "Email"
431
msgstr ""
432
433
+ #: licence/lib/yit-licence.php:186
434
+ #: licence/templates/panel/activation/activation-panel.php:89
435
+ #: licence/templates/panel/activation/activation-panel.php:167
436
+ #: licence/templates/panel/activation/activation-panel.php:198
437
msgid "License Key"
438
msgstr ""
439
440
+ #: licence/lib/yit-licence.php:187
441
msgid "Are you sure you want to deactivate the license for current site?"
442
msgstr ""
443
444
+ #: licence/lib/yit-licence.php:667
445
msgid "Invalid Request"
446
msgstr ""
447
448
+ #: licence/lib/yit-licence.php:668
449
msgid "Invalid license key"
450
msgstr ""
451
452
+ #: licence/lib/yit-licence.php:669
453
msgid "Software has been deactivated"
454
msgstr ""
455
456
+ #: licence/lib/yit-licence.php:670
457
msgid "Maximum number of activations exceeded"
458
msgstr ""
459
460
+ #: licence/lib/yit-licence.php:671
461
msgid "Invalid instance ID"
462
msgstr ""
463
464
+ #: licence/lib/yit-licence.php:672
465
msgid "Invalid security key"
466
msgstr ""
467
468
+ #: licence/lib/yit-licence.php:673
469
msgid "License key has expired"
470
msgstr ""
471
472
+ #: licence/lib/yit-licence.php:674
473
msgid "License key has been banned"
474
msgstr ""
475
476
+ #: licence/lib/yit-licence.php:675
477
+ msgid "Current product is not included with your membership key"
478
+ msgstr ""
479
+
480
+ #: licence/lib/yit-licence.php:676
481
msgid "Great"
482
msgstr ""
483
484
+ #: licence/lib/yit-licence.php:676
485
msgid "License successfully activated"
486
msgstr ""
487
488
+ #: licence/lib/yit-licence.php:677
489
msgid "License key deactivated for website"
490
msgstr ""
491
492
+ #: licence/lib/yit-plugin-licence.php:67 licence/lib/yit-plugin-licence.php:68
493
+ #: licence/lib/yit-theme-licence.php:69 licence/lib/yit-theme-licence.php:70
494
+ #: licence/lib/yit-theme-licence.php:109 licence/lib/yit-theme-licence.php:110
495
msgid "License Activation"
496
msgstr ""
497
498
+ #: licence/lib/yit-theme-licence.php:117 licence/lib/yit-theme-licence.php:118
499
#, php-format
500
msgid "%s"
501
msgstr ""
502
503
+ #: licence/lib/yit-theme-licence.php:159
504
msgid ""
505
"I cannot find the license key for activating the theme I have bought some time "
506
"ago. Where can I find it?"
520
"in section \"My licenses\"."
521
msgstr ""
522
523
+ #: licence/templates/panel/activation/activation-panel.php:23
524
msgid "Yithemes License Activation"
525
msgstr ""
526
527
+ #: licence/templates/panel/activation/activation-panel.php:27
528
msgid ""
529
"Have you updated your licenses? Have you asked for an extension? Update "
530
"information concerning your products."
531
msgstr ""
532
533
+ #: licence/templates/panel/activation/activation-panel.php:29
534
msgid "Update license information"
535
msgstr ""
536
537
+ #: licence/templates/panel/activation/activation-panel.php:42
538
msgid "Product to activate"
539
msgid_plural "Products to activate"
540
msgstr[0] ""
541
msgstr[1] ""
542
543
+ #: licence/templates/panel/activation/activation-panel.php:61
544
msgid "Activate"
545
msgstr ""
546
547
+ #: licence/templates/panel/activation/activation-panel.php:80
548
msgid "Activated"
549
msgstr ""
550
551
+ #: licence/templates/panel/activation/activation-panel.php:86
552
+ #: licence/templates/panel/activation/activation-panel.php:164
553
+ #: licence/templates/panel/activation/activation-panel.php:194
554
msgid "Product Name"
555
msgstr ""
556
557
+ #: licence/templates/panel/activation/activation-panel.php:92
558
+ #: licence/templates/panel/activation/activation-panel.php:201
559
msgid "Expires"
560
msgstr ""
561
562
+ #: licence/templates/panel/activation/activation-panel.php:95
563
msgid "Remaining"
564
msgstr ""
565
566
#: licence/templates/panel/activation/activation-panel.php:97
567
msgid "Membership"
568
msgstr ""
569
570
+ #: licence/templates/panel/activation/activation-panel.php:101
571
msgid "License Actions"
572
msgstr ""
573
574
+ #: licence/templates/panel/activation/activation-panel.php:126
575
#, php-format
576
msgid "%1s out of %2s"
577
msgstr ""
578
579
+ #: licence/templates/panel/activation/activation-panel.php:142
580
msgid "Deactivate"
581
msgstr ""
582
583
+ #: licence/templates/panel/activation/activation-panel.php:147
584
+ #: licence/templates/panel/activation/activation-panel.php:204
585
msgid "Renew"
586
msgstr ""
587
588
+ #: licence/templates/panel/activation/activation-panel.php:160
589
msgid "Banned"
590
msgstr ""
591
592
+ #: licence/templates/panel/activation/activation-panel.php:190
593
msgid "Expired"
594
msgstr ""
595
596
+ #: licence/templates/panel/activation/activation-panel.php:226
597
+ msgid "Order again"
598
+ msgstr ""
599
+
600
+ #: licence/templates/panel/activation/activation-panel.php:228
601
+ msgid "Renew license"
602
msgstr ""
603
604
#: templates/metaboxes/types/ajax-products.php:23
961
msgid "Italic bold"
962
msgstr ""
963
964
+ #: templates/panel/types/upload.php:32
965
+ msgid "Reset"
966
+ msgstr ""
967
+
968
#: templates/panel/woocommerce/woocommerce-form.php:11
969
msgid "Reset Defaults"
970
msgstr ""
plugin-fw/lib/yit-metabox.php CHANGED
@@ -160,7 +160,7 @@ if (!class_exists('YIT_Metabox')) {
160
wp_enqueue_script('jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array('jquery'), '1.1.0', true);
161
wp_enqueue_script('ajax-chosen', yit_load_js_file(YIT_CORE_PLUGIN_URL . '/assets/js/chosen/ajax-chosen.jquery.js'), array('jquery'), '1.1.0', true);
162
wp_enqueue_script('yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox.js', array('jquery', 'wp-color-picker'), '1.0.0', true);
163
- wp_enqueue_style('jquery-ui-overcast', YIT_CORE_PLUGIN_URL . '/assets/css/overcast/jquery-ui-1.8.9.custom.css', false, '1.8.9', 'all');
164
}
165
166
/**
160
wp_enqueue_script('jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array('jquery'), '1.1.0', true);
161
wp_enqueue_script('ajax-chosen', yit_load_js_file(YIT_CORE_PLUGIN_URL . '/assets/js/chosen/ajax-chosen.jquery.js'), array('jquery'), '1.1.0', true);
162
wp_enqueue_script('yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox.js', array('jquery', 'wp-color-picker'), '1.0.0', true);
163
+ wp_enqueue_style('jquery-ui-overcast', YIT_CORE_PLUGIN_URL . '/assets/css/overcast/jquery-ui-custom/jquery-ui-1.8.9.custom.css', false, '1.8.9', 'all');
164
}
165
166
/**
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -76,8 +76,10 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
76
77
add_action( 'admin_init', array( $this, 'register_settings' ) );
78
add_action( 'admin_menu', array( $this, 'add_setting_page' ), 20 );
79
add_action( 'admin_bar_menu', array( $this, 'add_admin_bar_menu' ), 100 );
80
add_action( 'admin_init', array( $this, 'add_fields' ) );
81
82
}
83
@@ -96,7 +98,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
96
97
if( ! isset( $admin_page_hooks['yit_plugin_panel'] ) ){
98
$position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
99
- add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'manage_options', 'yit_plugin_panel', NULL, YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png', $position );
100
}
101
}
102
@@ -141,13 +143,13 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
141
//styles
142
$jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.9.2';
143
wp_register_style( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/css/codemirror/codemirror.css' );
144
- wp_enqueue_style( 'jquery-ui-overcast', YIT_CORE_PLUGIN_URL . '/assets/css/overcast/jquery-ui-1.8.9.custom.css', false, '1.8.9', 'all' );
145
wp_register_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $this->version );
146
wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
147
wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
148
wp_enqueue_style( 'yit-jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
149
-
150
- if( ( 'admin.php' == $pagenow && strpos( get_current_screen()->id, 'yit-plugins_page' ) !== false ) || apply_filters( 'yit_plugin_panel_asset_loading', false ) ){
151
wp_enqueue_style( 'yit-plugin-style' );
152
wp_enqueue_script( 'yit-plugin-panel' );
153
}
@@ -250,6 +252,23 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
250
/* === Duplicate Items Hack === */
251
$this->remove_duplicate_submenu_page();
252
do_action( 'yit_after_add_settings_page' );
253
}
254
255
/**
@@ -798,6 +817,15 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
798
$this->add_videobox( $args );
799
}
800
801
}
802
-
803
}
76
77
add_action( 'admin_init', array( $this, 'register_settings' ) );
78
add_action( 'admin_menu', array( $this, 'add_setting_page' ), 20 );
79
+ add_action( 'admin_menu', array( $this, 'add_premium_version_upgrade_to_menu' ), 100 );
80
add_action( 'admin_bar_menu', array( $this, 'add_admin_bar_menu' ), 100 );
81
add_action( 'admin_init', array( $this, 'add_fields' ) );
82
+ add_filter( 'yit_show_upgrade_to_premium_version', '__return_false' );
83
84
}
85
98
99
if( ! isset( $admin_page_hooks['yit_plugin_panel'] ) ){
100
$position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
101
+ add_menu_page( 'yit_plugin_panel', __( 'YITH Plugins', 'yith-plugin-fw' ), 'manage_options', 'yit_plugin_panel', NULL, YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png', $position );
102
}
103
}
104
143
//styles
144
$jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.9.2';
145
wp_register_style( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/css/codemirror/codemirror.css' );
146
+ wp_enqueue_style( 'jquery-ui-overcast', YIT_CORE_PLUGIN_URL . '/assets/css/overcast/jquery-ui-custom/jquery-ui-1.8.9.custom.css', false, '1.8.9', 'all' );
147
wp_register_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $this->version );
148
wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
149
wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
150
wp_enqueue_style( 'yit-jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
151
+
152
+ if( ( 'admin.php' == $pagenow && strpos( get_current_screen()->id, 'yith-plugins_page' ) !== false ) || apply_filters( 'yit_plugin_panel_asset_loading', false ) ){
153
wp_enqueue_style( 'yit-plugin-style' );
154
wp_enqueue_script( 'yit-plugin-panel' );
155
}
252
/* === Duplicate Items Hack === */
253
$this->remove_duplicate_submenu_page();
254
do_action( 'yit_after_add_settings_page' );
255
+
256
+
257
+ }
258
+
259
+ /**
260
+ * Add Premium Version upgrade menu item
261
+ *
262
+ * @return void
263
+ * @since 2.9.13
264
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
265
+ */
266
+ public function add_premium_version_upgrade_to_menu(){
267
+ global $_parent_pages;
268
+
269
+ if( apply_filters( 'yit_show_upgrade_to_premium_version', ! isset( $_parent_pages['yith_upgrade_premium_version'] ) ) ){
270
+ add_submenu_page( 'yit_plugin_panel', __( 'Premium version upgrade', 'yith-plugin-fw' ), __( 'Premium version upgrade', 'yith-plugin-fw' ), 'install_plugins', 'yith_upgrade_premium_version', array( $this, 'show_premium_version_upgrade' ) );
271
+ }
272
}
273
274
/**
817
$this->add_videobox( $args );
818
}
819
820
+ /**
821
+ * Show the upgrade to pro version page
822
+ *
823
+ * @return void
824
+ * @since 2.9.13
825
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
826
+ */
827
+ public function show_premium_version_upgrade() {
828
+ yit_plugin_get_template ( YIT_CORE_PLUGIN_PATH, 'upgrade/upgrade-to-pro-version.php' ) ;
829
+ }
830
}
831
}
plugin-fw/lib/yit-plugin-subpanel.php CHANGED
@@ -100,7 +100,7 @@ if ( ! class_exists( 'YIT_Plugin_SubPanel' ) ) {
100
101
if( ! isset( $admin_page_hooks['yit_plugin_panel'] ) ) {
102
$position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
103
- add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'nosuchcapability', 'yit_plugin_panel', NULL, $logo, $position );
104
}
105
106
add_submenu_page( 'yit_plugin_panel', $this->settings['label'], $this->settings['label'], 'manage_options', $this->settings['page'], array( $this, 'yit_panel' ) );
100
101
if( ! isset( $admin_page_hooks['yit_plugin_panel'] ) ) {
102
$position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
103
+ add_menu_page( 'yit_plugin_panel', __( 'YITH Plugins', 'yith-plugin-fw' ), 'nosuchcapability', 'yit_plugin_panel', NULL, $logo, $position );
104
}
105
106
add_submenu_page( 'yit_plugin_panel', $this->settings['label'], $this->settings['label'], 'manage_options', $this->settings['page'], array( $this, 'yit_panel' ) );
plugin-fw/licence/lib/yit-plugin-licence.php CHANGED
@@ -101,7 +101,7 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
101
}
102
103
/**
104
- * Add "Activation" submenu page under YIT Plugins
105
*
106
* @return void
107
* @since 1.0
101
}
102
103
/**
104
+ * Add "Activation" submenu page under YITH Plugins
105
*
106
* @return void
107
* @since 1.0
plugin-fw/licence/lib/yit-theme-licence.php CHANGED
@@ -96,7 +96,7 @@ if ( !class_exists( 'YIT_Theme_Licence' ) ) {
96
}
97
98
/**
99
- * Add "Activation" submenu page under YIT Plugins
100
*
101
* @return void
102
* @since 1.0
96
}
97
98
/**
99
+ * Add "Activation" submenu page under YITH Plugins
100
*
101
* @return void
102
* @since 1.0
plugin-fw/templates/metaboxes/types/onoff.php CHANGED
@@ -17,8 +17,8 @@ extract( $args );
17
if ( !isset( $desc ) ) {
18
$desc='';
19
}
20
-
21
?>
22
<div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?> class="rm_onoff onoff_container">
23
24
<label for="<?php echo $id ?>"><?php echo $label ?></label>
@@ -27,21 +27,4 @@ if ( !isset( $desc ) ) {
27
<span class="onoff">&nbsp;</span>
28
<span class="desc inline"><?php echo $desc ?></span>
29
</p>
30
- </div>
31
-
32
- <script type="text/javascript">
33
- jQuery( document ).ready( function( $ ) {
34
- $( '#<?php echo $id ?>-option span' ).click( function() {
35
- var input = $( this ).prev( 'input' );
36
- var checked = input.attr( 'checked' );
37
-
38
- if( checked ) {
39
- input.attr( 'checked', false ).attr( 'value', 0 ).removeClass('onoffchecked');
40
- } else {
41
- input.attr( 'checked', true ).attr( 'value', 1 ).addClass('onoffchecked');
42
- }
43
-
44
- input.change();
45
- } );
46
- } );
47
- </script>
17
if ( !isset( $desc ) ) {
18
$desc='';
19
}
20
?>
21
+
22
<div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?> class="rm_onoff onoff_container">
23
24
<label for="<?php echo $id ?>"><?php echo $label ?></label>
27
<span class="onoff">&nbsp;</span>
28
<span class="desc inline"><?php echo $desc ?></span>
29
</p>
30
+ </div>
plugin-fw/templates/panel/types/on-off.php CHANGED
@@ -24,7 +24,7 @@ $id = $this->get_id_field( $option['id'] );
24
$name = $this->get_name_field( $option['id'] );
25
26
?>
27
- <div id="<?php echo $id ?>-container" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?> class="on_off_container yit_options rm_option rm_input rm_onoff">
28
<div class="option">
29
<input type="checkbox" name="<?php echo $name ?>" id="<?php echo $id ?>" value="<?php echo esc_attr( $db_value ) ?>" <?php checked( $db_value, 'yes' ); ?> class="on_off<?php if ( $db_value == 'yes' ): ?> onoffchecked<?php endif ?>" <?php echo $custom_attributes ?>/>
30
<span>&nbsp;</span>
24
$name = $this->get_name_field( $option['id'] );
25
26
?>
27
+ <div id="<?php echo $id ?>-container" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?> class="onoff_container yit_options rm_option rm_input rm_onoff">
28
<div class="option">
29
<input type="checkbox" name="<?php echo $name ?>" id="<?php echo $id ?>" value="<?php echo esc_attr( $db_value ) ?>" <?php checked( $db_value, 'yes' ); ?> class="on_off<?php if ( $db_value == 'yes' ): ?> onoffchecked<?php endif ?>" <?php echo $custom_attributes ?>/>
30
<span>&nbsp;</span>
plugin-fw/templates/upgrade/upgrade-to-pro-version.php ADDED
@@ -0,0 +1,42 @@
1
+ <style>
2
+ #upgrade-to-premium h1{text-transform: uppercase; }
3
+ </style>
4
+ <div id="upgrade-to-premium">
5
+ <h1><?php _e( 'Upgrade to Premium Version', 'yith-plugin-fw' ) ?></h1>
6
+ <h3><?php _e( "Hai comprato la versione premium di un plugin ? Dopo l'acquisto non trovi dove attivare la licenza del tuo plugin premium ?", 'yith-plugin-fw' ) ?></h3>
7
+ <p class="upgrade-how-to">
8
+ <?php _e( "Per passare da un plugin FREE ad uno PREMIUM non basta semplicemnete inserire la chiave di licenza che ti è stata fornita dopo aver completato l'acquisto.
9
+ Questo perchè fisicamente si tratta di due prodotti diversi, con differenze sostanziali sia nelle opzioni disponibili sia sul numero di file presenti all'interno del pacchetto del plugin stesso.
10
+ Per iniziare ad usare il plugin PREMIUM che hai appena acquistato devi semplicemente scaricare il pacchetto PREMIUM ed installarlo sul tuo sito.", 'yith-plugin-fw' ); ?>
11
+ </p>
12
+ <p><?php _e( 'Non sai come fare ? Non è un problema, segui i passi elencati qui sotto ed in pochi minuti avrai il plugin acquistato correttamente installato sul tuo sito.', 'yith-plugin-fw' ) ?></p>
13
+ <ul class="upgrade-steps">
14
+ <li class="step">
15
+ 1. <?php _e( 'Vai su yithemes.com ed effettua il login alla sezione My Account ', 'yith-plugin-fw' ); ?>
16
+ </li>
17
+ <li class="step">
18
+ 2. <?php _e( 'Dal menù di sinistra clicca su "My Downloads" e cerca tra i download disponibili il plugin che vuoi installare, e clicca su "Download"', 'yith-plugin-fw' ); ?>
19
+ </li>
20
+ <li class="step">
21
+ 3. <?php _e( "Non appena il download del pacchetto sarà completato recati sul tuo sito web ed effettua il login all'area amministrazione di WordPress.", 'yith-plugin-fw' ); ?>
22
+ </li>
23
+ <li class="step">
24
+ 4. <?php _e( 'Dal menù di sinistra clicca sulla voce Plugins. Verrai indirizzato su una pagina con la lista dei plugin disponibili sul tuo sito. Clicca sul pulsante "Add New" che trovi in alto a sinistra vicino al titolo della pagina.', 'yith-plugin-fw' ); ?>
25
+ </li>
26
+ <li class="step">
27
+ 5. <?php _e( 'Verrai indirizzato su una nuova pagina dove trovi, in alto a sinistra vicino al titolo della pagina, il pulsante "Upload Plugin".', 'yith-plugin-fw' ); ?>
28
+ </li>
29
+ <li class="step">
30
+ 6. <?php _e( 'Cliccando su "Upload Plugins", ti troverai in una pagina dove poter effettuare l\'upload del pacchetto del plugin PREMIUM da te precedentemente scaricato. Clicca quindi su "Scegli File", cerca la cartella di download dove hai scaricato il plugin ed effettua il caricamneto del pacchetto. A questo punto ti basta attendere qualche minuto che il pacchetto venga caricato ed installato sul tuo sito.', 'yith-plugin-fw' ); ?>
31
+ </li>
32
+ <li class="step">
33
+ 7. <?php _e( 'Al termine della procedura di installazione clicca su "Attiva"', 'yith-plugin-fw' ); ?>
34
+ </li>
35
+ <li class="step">
36
+ 8. <?php _e( 'Se tutto è andato per il meglio il tuo plugin è correttamente installato sul tuo sito web. Enjoy it :-)', 'yith-plugin-fw' ); ?>
37
+ </li>
38
+ <li class="step">
39
+ 9. <?php _e( 'Ultimo step è attivare il plugin con la chiave di licenza che hai ricevuto dopo l\'acquisto. Clicca quindi sul link "License Activation" che trovi sotto "YITH Plugins" ed inserisci la license key in tuo possesso ed email utilizzata in fase di acquisto. Se non trovi l\'email che ti abbiamo inviato contenete la license key puoi facilmente recuperarla dalla sezione "My Licenses" all\'interno della sezione My Account del nostro sito yithemes.com.', 'yith-plugin-fw' ); ?>
40
+ </li>
41
+ </ul>
42
+ </div>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
Requires at least: 4.0
6
Tested up to: 4.4.2
7
- Stable tag: 1.3.1
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -113,6 +113,10 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
113
114
== Changelog ==
115
116
= Version 1.3.1 - Released: Mar 04, 2016 =
117
118
* Fixed: items excluded not added to cart
@@ -213,7 +217,7 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
213
214
== Upgrade Notice ==
215
216
- Last Stable Tag 1.3.1
217
218
== Suggestions ==
219
4
Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
Requires at least: 4.0
6
Tested up to: 4.4.2
7
+ Stable tag: 1.3.2
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
113
114
== Changelog ==
115
116
+ = Version 1.3.2 - Released: Mar 09, 2016 =
117
+
118
+ * Updated: plugin core framework
119
+
120
= Version 1.3.1 - Released: Mar 04, 2016 =
121
122
* Fixed: items excluded not added to cart
217
218
== Upgrade Notice ==
219
220
+ Last Stable Tag 1.3.2
221
222
== Suggestions ==
223