YITH WooCommerce Ajax Product Filter - Version 2.8.1

Version Description

  • Fixed: Dropdown issue with Remy Theme
  • Fixed: $.fn.slider is not a function after click on reset filter
  • Fixed: Reset filter in product category page doesn't works
  • Fixed: Plugin panel option style issue
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Product Filter
Version 2.8.1
Comparing to
See all releases

Code changes from version 2.8.0 to 2.8.1

Files changed (41) hide show
  1. README.txt +10 -3
  2. assets/css/admin.css +7 -0
  3. assets/js/yith-wcan-frontend.js +6 -5
  4. assets/js/yith-wcan-frontend.min.js +13 -12
  5. init.php +3 -3
  6. languages/yith-woocommerce-ajax-navigation-it_IT.mo +0 -0
  7. languages/yith-woocommerce-ajax-navigation-it_IT.po +2 -2
  8. languages/yith-woocommerce-ajax-navigation-tr_TR.mo +0 -0
  9. languages/yith-woocommerce-ajax-navigation-tr_TR.po +112 -19
  10. languages/yith-woocommerce-ajax-navigation.pot +113 -18
  11. plugin-fw/assets/css/metaboxes.css +34 -0
  12. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  13. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_flat_10_000000_40x100.png +0 -0
  14. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  15. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  16. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  17. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  18. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  19. plugin-fw/assets/css/overcast/images/jquery_ui/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  20. plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_222222_256x240.png +0 -0
  21. plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_228ef1_256x240.png +0 -0
  22. plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_ef8c08_256x240.png +0 -0
  23. plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_ffd27a_256x240.png +0 -0
  24. plugin-fw/assets/css/overcast/images/jquery_ui/ui-icons_ffffff_256x240.png +0 -0
  25. plugin-fw/assets/css/overcast/{jquery-ui-1.8.9.custom.css → jquery-ui-custom/jquery-ui-1.8.9.custom.css} +0 -0
  26. plugin-fw/assets/js/metabox.js +16 -15
  27. plugin-fw/assets/js/metabox.min.js +8 -8
  28. plugin-fw/assets/js/yit-plugin-panel.js +1 -1
  29. plugin-fw/assets/js/yit-plugin-panel.min.js +2 -2
  30. plugin-fw/init.php +1 -1
  31. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  32. plugin-fw/languages/yith-plugin-fw-it_IT.po +105 -89
  33. plugin-fw/languages/yith-plugin-fw.pot +96 -86
  34. plugin-fw/lib/yit-metabox.php +1 -1
  35. plugin-fw/lib/yit-plugin-panel.php +33 -5
  36. plugin-fw/lib/yit-plugin-subpanel.php +1 -1
  37. plugin-fw/licence/lib/yit-plugin-licence.php +1 -1
  38. plugin-fw/licence/lib/yit-theme-licence.php +1 -1
  39. plugin-fw/templates/metaboxes/types/onoff.php +2 -19
  40. plugin-fw/templates/panel/types/on-off.php +1 -1
  41. plugin-fw/templates/upgrade/upgrade-to-pro-version.php +42 -0
README.txt CHANGED
@@ -3,8 +3,8 @@
3
Contributors: yithemes
4
Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
Requires at least: 4.0
6
- Tested up to: 4.4.2
7
- Stable tag: 2.8.0
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -159,6 +159,13 @@ If you want to see a demonstration version of the premium plugin, you can see it
159
160
== Changelog ==
161
162
= 2.8.0 - Released: Mar 1 - 2016 =
163
164
* Tweak: Plugin Core Framework
@@ -401,4 +408,4 @@ New plugin core added.
401
402
= 1.0.0 =
403
404
- Initial release
3
Contributors: yithemes
4
Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
Requires at least: 4.0
6
+ Tested up to: 4.5.1
7
+ Stable tag: 2.8.1
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
159
160
== Changelog ==
161
162
+ = 2.8.1 =
163
+
164
+ * Fixed: Dropdown issue with Remy Theme
165
+ * Fixed: $.fn.slider is not a function after click on reset filter
166
+ * Fixed: Reset filter in product category page doesn't works
167
+ * Fixed: Plugin panel option style issue
168
+
169
= 2.8.0 - Released: Mar 1 - 2016 =
170
171
* Tweak: Plugin Core Framework
408
409
= 1.0.0 =
410
411
+ Initial release
assets/css/admin.css CHANGED
@@ -189,10 +189,17 @@ input#yit_wcan_options_yith_wcan_ajax_shop_pagination,
189
input#yit_wcan_options_yith_wcan_ajax_shop_container,
190
input#yit_wcan_options_yith_wcan_ajax_shop_result_container,
191
input#yit_wcan_options_yith_wcan_ajax_widget_title_class,
192
input#yit_wcan_options_yith_wcan_ajax_widget_title_tag {
193
width: 230px;
194
}
195
196
div#yit_wcan_options_yith_wcan_custom_style-container .option {
197
width: 85%;
198
}
189
input#yit_wcan_options_yith_wcan_ajax_shop_container,
190
input#yit_wcan_options_yith_wcan_ajax_shop_result_container,
191
input#yit_wcan_options_yith_wcan_ajax_widget_title_class,
192
+ input#yit_wcan_options_yith_wcan_ajax_scroll_top_class,
193
+ input#yit_wcan_options_yith_wcan_ajax_shop_pagination_anchor_class,
194
input#yit_wcan_options_yith_wcan_ajax_widget_title_tag {
195
width: 230px;
196
}
197
198
+ #yit_wcan_options_yith_wcan_ajax_shop_terms_order-container .select_wrapper,
199
+ #yit_wcan_options_yith_wcan_ajax_shop_filter_style-container .select_wrapper {
200
+ width: 235px;
201
+ }
202
+
203
div#yit_wcan_options_yith_wcan_custom_style-container .option {
204
width: 85%;
205
}
assets/js/yith-wcan-frontend.js CHANGED
@@ -227,10 +227,12 @@ jQuery(function ($) {
227
$(document).trigger("yith-wcan-ajax-filtered");
228
$(window).trigger("scroll");
229
if( is_reset ){
230
- var min_price = parseInt( $( yith_wcan.wc_price_slider.min_price ).data( 'min' ) ),
231
- max_price = parseInt( $( yith_wcan.wc_price_slider.max_price ).data( 'max' ) );
232
- $( yith_wcan.wc_price_slider.wrapper ).slider( 'values', [ min_price, max_price ] );
233
- $( document.body ).trigger( 'price_slider_slide', [ min_price, max_price ] );
234
$(document).trigger("yith-wcan-ajax-reset-filtered");
235
}
236
}
@@ -247,7 +249,6 @@ jQuery(function ($) {
247
$(this).yith_wcan_ajax_filters(e, this);
248
});
249
250
-
251
/*AJAX NAVIGATION DROPDOWN STYLE*/
252
253
function yit_open_select_dropdown(element) {
227
$(document).trigger("yith-wcan-ajax-filtered");
228
$(window).trigger("scroll");
229
if( is_reset ){
230
+ if( typeof $.fn.slider != 'undefined' ){
231
+ var min_price = parseInt( $( yith_wcan.wc_price_slider.min_price ).data( 'min' ) ),
232
+ max_price = parseInt( $( yith_wcan.wc_price_slider.max_price ).data( 'max' ) );
233
+ $( yith_wcan.wc_price_slider.wrapper ).slider( 'values', [ min_price, max_price ] );
234
+ $( document.body ).trigger( 'price_slider_slide', [ min_price, max_price ] );
235
+ }
236
$(document).trigger("yith-wcan-ajax-reset-filtered");
237
}
238
}
249
$(this).yith_wcan_ajax_filters(e, this);
250
});
251
252
/*AJAX NAVIGATION DROPDOWN STYLE*/
253
254
function yit_open_select_dropdown(element) {
assets/js/yith-wcan-frontend.min.js CHANGED
@@ -1,14 +1,15 @@
1
jQuery(function(a){function u(a,p){return a.replace(new RegExp("[?&]"+p+"=[^&#]*(#.*)?quot;),"$1").replace(new RegExp("([?&])"+p+"=[^&]*&"),"$1")}var x=/(?!(\[))(\.)[^.#[]*/g,y=/(#)[^.#[]*/,z=/^[\w]+/,A=/^[\w]+#x2F;,v=function(h,p){var b=[];if(A.test(h))b=[{tag:h}];else{for(var b=h,d={sel:[],val:[]},f=[],k=!1,g="",l=[],c=0,m=b.length;c<m;c++){var e=b.charAt(c);if(k)if("\\"===e&&c+1<b.length)l.push(b.charAt(++c));else if(g===e)g="",l.push(e);else if(("'"===e||'"'===e)&&""===g)g=e,l.push(e);else if("]"===
2
- e&&""===g)d.val.push(l.join("")),l=[],k=!1;else{if("]"!==e||""!==g)""===g&&","===e?(d.val.push(l.join("")),l=[]):l.push(e)}else"\\"===e&&c+1<b.length?k&&l.push(b.charAt(++c)):"["===e&&""===g?k=!0:" "===e||"+"===e?(d.sel=d.sel.join(""),f.push(d),"+"===e&&f.push({sel:"+",val:""}),d={sel:[],val:[]}):" "!==e&&"]"!==e&&d.sel.push(e)}if(0!=d.sel.length||0!=d.val.length)d.sel=d.sel.join(""),f.push(d);for(c=0;c<f.length;c++){d=f[c].sel;if("+"===d)n.tag=d;else{var n=[];n.tag=z.exec(d);n.id=y.exec(d);n.id&&
3
a.isArray(n.id)&&(n.id=n.id[0].substr(1));n.tag||(n.tag="div");n.vars=[];for(b=0;b<f[c].val.length;b++)g=f[c].val[b].indexOf("="),k=f[c].val[b].substr(0,g),g=f[c].val[b].substr(g+1),g=g.replace(/^[\s]*[\"\']*|[\"\']*[\s]*#x2F;g,""),"text"===k?n.text=g:n.vars.push([k,g]);d=d.match(x);k=[];if(d){for(b=0;b<d.length;b++)k.push(d[b].substr(1));n.className=k.join(" ")}}f[c]=n}b=f}n=[];"undefined"===typeof p&&(p=1);d=[];f=[];k=[];g=document.createElement("div");for(c=l=0;c<b.length;c++){if("+"==b[c].tag)f=
4
- k.slice(),--l;else{for(m=0;m<p;m++)if("input"==b[c].tag){e=[];e.push("<"+b[c].tag);b[c].id&&e.push("id='"+b[c].id+"'");b[c].className&&(e.push("class='"+b[c].className),c+1===b.length&&e.push(lastClass),e.push("'"));if(b[c].vars)for(var q=0;q<b[c].vars.length;q++)e.push(b[c].vars[q][0]+"='"+b[c].vars[q][1]+"'");b[c].text&&e.push("value='"+b[c].text+"'");e.push("/>");k[m]=f[m];f[m]?(f[m].innerHTML+=e.join(" "),f[m]=f[m].lastChild):(g.innerHTML=e.join(" "),f[m]=g.removeChild(g.firstChild))}else{e=document.createElement(b[c].tag);
5
- if(b[c].vars)for(q=0;q<b[c].vars.length;q++)console.log(b[c].tag,b[c].vars[q]),e.setAttribute(b[c].vars[q][0],b[c].vars[q][1]);b[c].id&&(e.id=b[c].id);b[c].className&&(e.className=b[c].className);b[c].text&&e.appendChild(document.createTextNode(b[c].text));k[m]=f[m];f[m]=f[m]?f[m].appendChild(e):e}l++||Array.prototype.push.apply(d,f)}n=a.merge(n,f)}return a(d)},w=function(h,p,b){for(var d=h.match(/%[^%]*%/g)||[],f=[],k=0;k<p.length;k++){for(var g=h,l=0;l<d.length;l++)var c=d[l].substr(1,d[l].length-
6
- 2),g=g.replace(d[l],p[k][c]);f=a.merge(f,v(g,b))}return a(f)};a.jseldom=function(h){if(2==arguments.length&&a.isPlainObject(arguments[1]))return w.apply(this,[arguments[0],[arguments[1]]]);if(1==arguments.length||2==arguments.length&&!a.isArray(arguments[1]))return v.apply(this,arguments);if(2==arguments.length)return w.apply(this,arguments)};var r=!1;a.fn.yith_wcan_ajax_filters=function(h,p){h.preventDefault();var b=p.href,d=a(p),f=d.hasClass("yith-wcan-reset-navigation");if("undefined"==typeof b&&
7
- d.parents().hasClass("price_slider_wrapper")){d.parents("form");var k=window.location,g=k.origin+k.pathname,l=g!=k.href,c=a(".price_slider_amount #min_price").val(),m=a(".price_slider_amount #max_price").val(),b=k.href;1==l&&(b=u(b,"min_price"),b=u(b,"max_price"));b=b+(g==b?"?":"&")+a.param({min_price:c,max_price:m})}"select"==d.data("type")&&(d.parents("div.yith-woo-ajax-navigation").find("a.yit-wcan-select-open").removeClass("active"),d.parent().find("div.yith-wcan-select-wrapper").animate({visibility:"hidden",
8
- opacity:0},300));a(yith_wcan.container).not(".ywcps-products").html("").addClass("yith-wcan-loading");a(document).trigger("yith-wcan-ajax-loading");"undefined"!=typeof yith_wcan_frontend&&a(yith_wcan.container).not(".ywcps-products").css("backgroundImage","url("+yith_wcan_frontend.loader_url+")");1==yith_wcan.is_mobile&&a("body").scrollTop(a(yith_wcan.scroll_top).offset().top);a(yith_wcan.pagination).hide();a(yith_wcan.result_count).hide();0!=r&&(r.abort(),r=!1);r=a.ajax({url:b,success:function(c){r=
9
- !1;a(yith_wcan.container).not(".ywcps-products").removeClass("yith-wcan-loading");0<a(c).find(yith_wcan.container).not(".ywcps-products").length?a(".yit-wcan-container").html(a(c).find(yith_wcan.container).not(".ywcps-products")):a(".yit-wcan-container").html(a(c).find(".woocommerce-info"));0<a(c).find(yith_wcan.pagination).length?(0==a(yith_wcan.pagination).length&&a.jseldom(yith_wcan.pagination).insertAfter(a(yith_wcan.container).not(".ywcps-products")),a(yith_wcan.pagination).html(a(c).find(yith_wcan.pagination).html()).show()):
10
- a(yith_wcan.pagination).empty();a("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />');0<a(c).find(yith_wcan.result_count).length&&a(yith_wcan.result_count).html(a(c).find(yith_wcan.result_count).html()).show();a(".yith-woo-ajax-navigation").add(".yith-wcan-sort-by").add(".yith-wcan-stock-on-sale").add(".yith-wcan-list-price-filter").each(function(){var b=
11
- a(this),d=b.attr("id");b.html(a(c).find("#"+d).html());""==b.text()?b.hide():b.show()});navigator.userAgent.match(/msie/i)||window.history.pushState({pageTitle:c.pageTitle},"",b);a(document).trigger("ready");a(document).trigger("yith-wcan-ajax-filtered");a(window).trigger("scroll");if(f){var d=parseInt(a(yith_wcan.wc_price_slider.min_price).data("min")),g=parseInt(a(yith_wcan.wc_price_slider.max_price).data("max"));a(yith_wcan.wc_price_slider.wrapper).slider("values",[d,g]);a(document.body).trigger("price_slider_slide",
12
- [d,g]);a(document).trigger("yith-wcan-ajax-reset-filtered")}}})};a(yith_wcan.container).not(".ywcps-products").wrap('<div class="yit-wcan-container"></div>');a(yith_wcan.container).not(".ywcps-products").wrap('<div class="yit-wcan-container"></div>');a(document).trigger("yith-wcan-wrapped");a(document).on("click",".yith-wcan a",function(h){a(this).yith_wcan_ajax_filters(h,this)});var t=function(){a("div.yith-wcan-select-wrapper").animate({visibility:"hidden",opacity:0},0);a("a.yit-wcan-select-open").removeClass("active")};
13
- a(document).on("click","a.yit-wcan-select-open.active",function(h){h.preventDefault();a(this).parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300);a(this).parent().find("a.yit-wcan-select-open").removeClass("active")});a(document).on("click","a.yit-wcan-select-open:not(.active)",function(h){h.preventDefault();a(this).parent().find("div.yith-wcan-select-wrapper").css("z-index","1").animate({visibility:"visible",opacity:1},300);a(this).parent().find("a.yit-wcan-select-open").addClass("active")});
14
- a(document).on("ready yith-wcan-ajax-filtered",function(){a("div.yith-wcan-select-wrapper ul.yith-wcan-select li.chosen");t();a("div.yith-wcan-select-wrapper").each(function(){var h="";a(this).find("ul.yith-wcan-select li.chosen").each(function(){h+=a(this).text()+", "});h=h.substring(0,h.length-2);""!=h&&a(this).parent().find("a.yit-wcan-select-open").text(h)})});a(document).on("ready",t);a("body").on("click",function(h){a(h.target).hasClass("yit-wcan-select-open")||t()})});
1
jQuery(function(a){function u(a,p){return a.replace(new RegExp("[?&]"+p+"=[^&#]*(#.*)?quot;),"$1").replace(new RegExp("([?&])"+p+"=[^&]*&"),"$1")}var x=/(?!(\[))(\.)[^.#[]*/g,y=/(#)[^.#[]*/,z=/^[\w]+/,A=/^[\w]+#x2F;,v=function(h,p){var b=[];if(A.test(h))b=[{tag:h}];else{for(var b=h,d={sel:[],val:[]},f=[],k=!1,g="",l=[],c=0,m=b.length;c<m;c++){var e=b.charAt(c);if(k)if("\\"===e&&c+1<b.length)l.push(b.charAt(++c));else if(g===e)g="",l.push(e);else if(("'"===e||'"'===e)&&""===g)g=e,l.push(e);else if("]"===
2
+ e&&""===g)d.val.push(l.join("")),l=[],k=!1;else{if("]"!==e||""!==g)""===g&&","===e?(d.val.push(l.join("")),l=[]):l.push(e)}else"\\"===e&&c+1<b.length?k&&l.push(b.charAt(++c)):"["===e&&""===g?k=!0:" "===e||"+"===e?(d.sel=d.sel.join(""),f.push(d),"+"===e&&f.push({sel:"+",val:""}),d={sel:[],val:[]}):" "!==e&&"]"!==e&&d.sel.push(e)}if(0!=d.sel.length||0!=d.val.length)d.sel=d.sel.join(""),f.push(d);for(c=0;c<f.length;c++){d=f[c].sel;if("+"===d)n.tag=d;else{var n=[];n.tag=z.exec(d);n.id=y.exec(d);n.id&&
3
a.isArray(n.id)&&(n.id=n.id[0].substr(1));n.tag||(n.tag="div");n.vars=[];for(b=0;b<f[c].val.length;b++)g=f[c].val[b].indexOf("="),k=f[c].val[b].substr(0,g),g=f[c].val[b].substr(g+1),g=g.replace(/^[\s]*[\"\']*|[\"\']*[\s]*#x2F;g,""),"text"===k?n.text=g:n.vars.push([k,g]);d=d.match(x);k=[];if(d){for(b=0;b<d.length;b++)k.push(d[b].substr(1));n.className=k.join(" ")}}f[c]=n}b=f}n=[];"undefined"===typeof p&&(p=1);d=[];f=[];k=[];g=document.createElement("div");for(c=l=0;c<b.length;c++){if("+"==b[c].tag)f=
4
+ k.slice(),--l;else{for(m=0;m<p;m++)if("input"==b[c].tag){e=[];e.push("<"+b[c].tag);b[c].id&&e.push("id='"+b[c].id+"'");b[c].className&&(e.push("class='"+b[c].className),c+1===b.length&&e.push(lastClass),e.push("'"));if(b[c].vars)for(var q=0;q<b[c].vars.length;q++)e.push(b[c].vars[q][0]+"='"+b[c].vars[q][1]+"'");b[c].text&&e.push("value='"+b[c].text+"'");e.push("/>");k[m]=f[m];f[m]?(f[m].innerHTML+=e.join(" "),f[m]=f[m].lastChild):(g.innerHTML=e.join(" "),f[m]=g.removeChild(g.firstChild))}else{e=document.createElement(b[c].tag);
5
+ if(b[c].vars)for(q=0;q<b[c].vars.length;q++)console.log(b[c].tag,b[c].vars[q]),e.setAttribute(b[c].vars[q][0],b[c].vars[q][1]);b[c].id&&(e.id=b[c].id);b[c].className&&(e.className=b[c].className);b[c].text&&e.appendChild(document.createTextNode(b[c].text));k[m]=f[m];f[m]=f[m]?f[m].appendChild(e):e}l++||Array.prototype.push.apply(d,f)}n=a.merge(n,f)}return a(d)},w=function(h,p,b){for(var d=h.match(/%[^%]*%/g)||[],f=[],k=0;k<p.length;k++){for(var g=h,l=0;l<d.length;l++)var c=d[l].substr(1,d[l].length-
6
+ 2),g=g.replace(d[l],p[k][c]);f=a.merge(f,v(g,b))}return a(f)};a.jseldom=function(h){if(2==arguments.length&&a.isPlainObject(arguments[1]))return w.apply(this,[arguments[0],[arguments[1]]]);if(1==arguments.length||2==arguments.length&&!a.isArray(arguments[1]))return v.apply(this,arguments);if(2==arguments.length)return w.apply(this,arguments)};var r=!1;a.fn.yith_wcan_ajax_filters=function(h,p){h.preventDefault();var b=p.href,d=a(p),f=d.hasClass("yith-wcan-reset-navigation");if("undefined"==typeof b&&
7
+ d.parents().hasClass("price_slider_wrapper")){d.parents("form");var k=window.location,g=k.origin+k.pathname,l=g!=k.href,c=a(".price_slider_amount #min_price").val(),m=a(".price_slider_amount #max_price").val(),b=k.href;1==l&&(b=u(b,"min_price"),b=u(b,"max_price"));b=b+(g==b?"?":"&")+a.param({min_price:c,max_price:m})}"select"==d.data("type")&&(d.parents("div.yith-woo-ajax-navigation").find("a.yit-wcan-select-open").removeClass("active"),d.parent().find("div.yith-wcan-select-wrapper").animate({visibility:"hidden",
8
+ opacity:0},300));a(yith_wcan.container).not(".ywcps-products").html("").addClass("yith-wcan-loading");a(document).trigger("yith-wcan-ajax-loading");"undefined"!=typeof yith_wcan_frontend&&a(yith_wcan.container).not(".ywcps-products").css("backgroundImage","url("+yith_wcan_frontend.loader_url+")");1==yith_wcan.is_mobile&&a("body").scrollTop(a(yith_wcan.scroll_top).offset().top);a(yith_wcan.pagination).hide();a(yith_wcan.result_count).hide();0!=r&&(r.abort(),r=!1);r=a.ajax({url:b,success:function(c){r=
9
+ !1;a(yith_wcan.container).not(".ywcps-products").removeClass("yith-wcan-loading");0<a(c).find(yith_wcan.container).not(".ywcps-products").length?a(".yit-wcan-container").html(a(c).find(yith_wcan.container).not(".ywcps-products")):a(".yit-wcan-container").html(a(c).find(".woocommerce-info"));0<a(c).find(yith_wcan.pagination).length?(0==a(yith_wcan.pagination).length&&a.jseldom(yith_wcan.pagination).insertAfter(a(yith_wcan.container).not(".ywcps-products")),a(yith_wcan.pagination).html(a(c).find(yith_wcan.pagination).html()).show()):
10
+ a(yith_wcan.pagination).empty();a("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />');0<a(c).find(yith_wcan.result_count).length&&a(yith_wcan.result_count).html(a(c).find(yith_wcan.result_count).html()).show();a(".yith-woo-ajax-navigation").add(".yith-wcan-sort-by").add(".yith-wcan-stock-on-sale").add(".yith-wcan-list-price-filter").each(function(){var b=
11
+ a(this),d=b.attr("id");b.html(a(c).find("#"+d).html());""==b.text()?b.hide():b.show()});navigator.userAgent.match(/msie/i)||window.history.pushState({pageTitle:c.pageTitle},"",b);a(document).trigger("ready");a(document).trigger("yith-wcan-ajax-filtered");a(window).trigger("scroll");if(f){if("undefined"!=typeof a.fn.slider){var d=parseInt(a(yith_wcan.wc_price_slider.min_price).data("min")),g=parseInt(a(yith_wcan.wc_price_slider.max_price).data("max"));a(yith_wcan.wc_price_slider.wrapper).slider("values",
12
+ [d,g]);a(document.body).trigger("price_slider_slide",[d,g])}a(document).trigger("yith-wcan-ajax-reset-filtered")}}})};a(yith_wcan.container).not(".ywcps-products").wrap('<div class="yit-wcan-container"></div>');a(yith_wcan.container).not(".ywcps-products").wrap('<div class="yit-wcan-container"></div>');a(document).trigger("yith-wcan-wrapped");a(document).on("click",".yith-wcan a",function(h){a(this).yith_wcan_ajax_filters(h,this)});var t=function(){a("div.yith-wcan-select-wrapper").animate({visibility:"hidden",
13
+ opacity:0},0);a("a.yit-wcan-select-open").removeClass("active")};a(document).on("click","a.yit-wcan-select-open.active",function(h){h.preventDefault();a(this).parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300);a(this).parent().find("a.yit-wcan-select-open").removeClass("active")});a(document).on("click","a.yit-wcan-select-open:not(.active)",function(h){h.preventDefault();a(this).parent().find("div.yith-wcan-select-wrapper").css("z-index",
14
+ "1").animate({visibility:"visible",opacity:1},300);a(this).parent().find("a.yit-wcan-select-open").addClass("active")});a(document).on("ready yith-wcan-ajax-filtered",function(){a("div.yith-wcan-select-wrapper ul.yith-wcan-select li.chosen");t();a("div.yith-wcan-select-wrapper").each(function(){var h="";a(this).find("ul.yith-wcan-select li.chosen").each(function(){h+=a(this).text()+", "});h=h.substring(0,h.length-2);""!=h&&a(this).parent().find("a.yit-wcan-select-open").text(h)})});a(document).on("ready",
15
+ t);a("body").on("click",function(h){a(h.target).hasClass("yit-wcan-select-open")||t()})});
init.php CHANGED
@@ -3,8 +3,8 @@
3
* Plugin Name: YITH WooCommerce Ajax Product Filter
4
* Plugin URI: http://yithemes.com/
5
* Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
6
- * Version: 2.8.0
7
- * Author: yithemes
8
* Author URI: http://yithemes.com/
9
* Text Domain: yith_wc_ajxnav
10
* Domain Path: /languages/
@@ -64,7 +64,7 @@ load_plugin_textdomain( 'yith-woocommerce-ajax-navigation', false, dirname( plug
64
! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
65
! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
66
! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
67
- ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '2.8.0' );
68
! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
69
! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
70
3
* Plugin Name: YITH WooCommerce Ajax Product Filter
4
* Plugin URI: http://yithemes.com/
5
* Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
6
+ * Version: 2.8.1
7
+ * Author: YITHEMES
8
* Author URI: http://yithemes.com/
9
* Text Domain: yith_wc_ajxnav
10
* Domain Path: /languages/
64
! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
65
! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
66
! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
67
+ ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '2.8.1' );
68
! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
69
! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
70
languages/yith-woocommerce-ajax-navigation-it_IT.mo CHANGED
Binary file
languages/yith-woocommerce-ajax-navigation-it_IT.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
msgstr ""
3
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
"Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-02-19 16:23+0100\n"
6
- "PO-Revision-Date: 2016-02-19 16:23+0100\n"
7
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
"Language-Team: \n"
9
"Language: it_IT\n"
2
msgstr ""
3
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
"Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-03-10 17:25+0100\n"
6
+ "PO-Revision-Date: 2016-03-10 17:25+0100\n"
7
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
"Language-Team: \n"
9
"Language: it_IT\n"
languages/yith-woocommerce-ajax-navigation-tr_TR.mo CHANGED
Binary file
languages/yith-woocommerce-ajax-navigation-tr_TR.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
msgstr ""
3
"Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
4
"Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-02-19 16:23+0100\n"
6
- "PO-Revision-Date: 2016-02-19 16:23+0100\n"
7
"Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
8
"Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
9
"Language: tr\n"
@@ -311,73 +311,77 @@ msgstr ""
311
msgid "Plugin Settings"
312
msgstr ""
313
314
- #: plugin-fw/lib/yit-plugin-panel.php:99
315
#: plugin-fw/lib/yit-plugin-subpanel.php:103
316
- msgid "YIT Plugins"
317
msgstr ""
318
319
- #: plugin-fw/lib/yit-plugin-panel.php:297
320
#: plugin-fw/lib/yit-plugin-subpanel.php:146
321
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
322
msgid "Save Changes"
323
msgstr ""
324
325
- #: plugin-fw/lib/yit-plugin-panel.php:300
326
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
327
msgid ""
328
"If you continue with this action, you will reset all options in this page."
329
msgstr ""
330
331
- #: plugin-fw/lib/yit-plugin-panel.php:302
332
#: plugin-fw/lib/yit-plugin-subpanel.php:151
333
msgid "Reset to default"
334
msgstr ""
335
336
- #: plugin-fw/lib/yit-plugin-panel.php:302
337
#: plugin-fw/lib/yit-plugin-subpanel.php:151
338
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
339
msgid "Are you sure?"
340
msgstr ""
341
342
- #: plugin-fw/lib/yit-plugin-panel.php:436
343
msgid ""
344
"The element you have entered already exists. Please, enter another name."
345
msgstr ""
346
347
- #: plugin-fw/lib/yit-plugin-panel.php:437
348
msgid "Settings saved"
349
msgstr ""
350
351
- #: plugin-fw/lib/yit-plugin-panel.php:438
352
msgid "Settings reset"
353
msgstr ""
354
355
- #: plugin-fw/lib/yit-plugin-panel.php:439
356
msgid "Element deleted correctly."
357
msgstr ""
358
359
- #: plugin-fw/lib/yit-plugin-panel.php:440
360
- #: plugin-fw/lib/yit-plugin-panel.php:441
361
msgid "Element updated correctly."
362
msgstr ""
363
364
- #: plugin-fw/lib/yit-plugin-panel.php:442
365
msgid "Database imported correctly."
366
msgstr ""
367
368
- #: plugin-fw/lib/yit-plugin-panel.php:443
369
msgid "An error has occurred during import. Please try again."
370
msgstr ""
371
372
- #: plugin-fw/lib/yit-plugin-panel.php:444
373
msgid "The added file is not valid."
374
msgstr ""
375
376
- #: plugin-fw/lib/yit-plugin-panel.php:445
377
msgid "Sorry, import is disabled."
378
msgstr ""
379
380
- #: plugin-fw/lib/yit-plugin-panel.php:446
381
msgid "Sorting successful."
382
msgstr ""
383
@@ -1077,6 +1081,95 @@ msgstr ""
1077
msgid "Reset Defaults"
1078
msgstr ""
1079
1080
#: settings/custom-style-options.php:24
1081
msgid "Put here your custom CSS rules:"
1082
msgstr ""
2
msgstr ""
3
"Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
4
"Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-03-10 17:25+0100\n"
6
+ "PO-Revision-Date: 2016-03-10 17:25+0100\n"
7
"Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
8
"Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
9
"Language: tr\n"
311
msgid "Plugin Settings"
312
msgstr ""
313
314
+ #: plugin-fw/lib/yit-plugin-panel.php:101
315
#: plugin-fw/lib/yit-plugin-subpanel.php:103
316
+ msgid "YITH Plugins"
317
msgstr ""
318
319
+ #: plugin-fw/lib/yit-plugin-panel.php:270
320
+ msgid "Premium version upgrade"
321
+ msgstr ""
322
+
323
+ #: plugin-fw/lib/yit-plugin-panel.php:316
324
#: plugin-fw/lib/yit-plugin-subpanel.php:146
325
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
326
msgid "Save Changes"
327
msgstr ""
328
329
+ #: plugin-fw/lib/yit-plugin-panel.php:319
330
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
331
msgid ""
332
"If you continue with this action, you will reset all options in this page."
333
msgstr ""
334
335
+ #: plugin-fw/lib/yit-plugin-panel.php:321
336
#: plugin-fw/lib/yit-plugin-subpanel.php:151
337
msgid "Reset to default"
338
msgstr ""
339
340
+ #: plugin-fw/lib/yit-plugin-panel.php:321
341
#: plugin-fw/lib/yit-plugin-subpanel.php:151
342
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
343
msgid "Are you sure?"
344
msgstr ""
345
346
+ #: plugin-fw/lib/yit-plugin-panel.php:455
347
msgid ""
348
"The element you have entered already exists. Please, enter another name."
349
msgstr ""
350
351
+ #: plugin-fw/lib/yit-plugin-panel.php:456
352
msgid "Settings saved"
353
msgstr ""
354
355
+ #: plugin-fw/lib/yit-plugin-panel.php:457
356
msgid "Settings reset"
357
msgstr ""
358
359
+ #: plugin-fw/lib/yit-plugin-panel.php:458
360
msgid "Element deleted correctly."
361
msgstr ""
362
363
+ #: plugin-fw/lib/yit-plugin-panel.php:459
364
+ #: plugin-fw/lib/yit-plugin-panel.php:460
365
msgid "Element updated correctly."
366
msgstr ""
367
368
+ #: plugin-fw/lib/yit-plugin-panel.php:461
369
msgid "Database imported correctly."
370
msgstr ""
371
372
+ #: plugin-fw/lib/yit-plugin-panel.php:462
373
msgid "An error has occurred during import. Please try again."
374
msgstr ""
375
376
+ #: plugin-fw/lib/yit-plugin-panel.php:463
377
msgid "The added file is not valid."
378
msgstr ""
379
380
+ #: plugin-fw/lib/yit-plugin-panel.php:464
381
msgid "Sorry, import is disabled."
382
msgstr ""
383
384
+ #: plugin-fw/lib/yit-plugin-panel.php:465
385
msgid "Sorting successful."
386
msgstr ""
387
1081
msgid "Reset Defaults"
1082
msgstr ""
1083
1084
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:5
1085
+ msgid "Upgrade to Premium Version"
1086
+ msgstr ""
1087
+
1088
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:6
1089
+ msgid ""
1090
+ "Hai comprato la versione premium di un plugin ? Dopo l'acquisto non trovi "
1091
+ "dove attivare la licenza del tuo plugin premium ?"
1092
+ msgstr ""
1093
+
1094
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:8
1095
+ msgid ""
1096
+ "Per passare da un plugin FREE ad uno PREMIUM non basta semplicemnete "
1097
+ "inserire la chiave di licenza che ti è stata fornita dopo aver completato "
1098
+ "l'acquisto.\n"
1099
+ " Questo perchè fisicamente si tratta di due prodotti diversi, con "
1100
+ "differenze sostanziali sia nelle opzioni disponibili sia sul numero di file "
1101
+ "presenti all'interno del pacchetto del plugin stesso.\n"
1102
+ " Per iniziare ad usare il plugin PREMIUM che hai appena acquistato "
1103
+ "devi semplicemente scaricare il pacchetto PREMIUM ed installarlo sul tuo "
1104
+ "sito."
1105
+ msgstr ""
1106
+
1107
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:12
1108
+ msgid ""
1109
+ "Non sai come fare ? Non è un problema, segui i passi elencati qui sotto ed "
1110
+ "in pochi minuti avrai il plugin acquistato correttamente installato sul tuo "
1111
+ "sito."
1112
+ msgstr ""
1113
+
1114
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:15
1115
+ msgid "Vai su yithemes.com ed effettua il login alla sezione My Account "
1116
+ msgstr ""
1117
+
1118
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:18
1119
+ msgid ""
1120
+ "Dal menù di sinistra clicca su \"My Downloads\" e cerca tra i download "
1121
+ "disponibili il plugin che vuoi installare, e clicca su \"Download\""
1122
+ msgstr ""
1123
+
1124
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:21
1125
+ msgid ""
1126
+ "Non appena il download del pacchetto sarà completato recati sul tuo sito web "
1127
+ "ed effettua il login all'area amministrazione di WordPress."
1128
+ msgstr ""
1129
+
1130
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:24
1131
+ msgid ""
1132
+ "Dal menù di sinistra clicca sulla voce Plugins. Verrai indirizzato su una "
1133
+ "pagina con la lista dei plugin disponibili sul tuo sito. Clicca sul pulsante "
1134
+ "\"Add New\" che trovi in alto a sinistra vicino al titolo della pagina."
1135
+ msgstr ""
1136
+
1137
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:27
1138
+ msgid ""
1139
+ "Verrai indirizzato su una nuova pagina dove trovi, in alto a sinistra vicino "
1140
+ "al titolo della pagina, il pulsante \"Upload Plugin\"."
1141
+ msgstr ""
1142
+
1143
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:30
1144
+ msgid ""
1145
+ "Cliccando su \"Upload Plugins\", ti troverai in una pagina dove poter "
1146
+ "effettuare l'upload del pacchetto del plugin PREMIUM da te precedentemente "
1147
+ "scaricato. Clicca quindi su \"Scegli File\", cerca la cartella di download "
1148
+ "dove hai scaricato il plugin ed effettua il caricamneto del pacchetto. A "
1149
+ "questo punto ti basta attendere qualche minuto che il pacchetto venga "
1150
+ "caricato ed installato sul tuo sito."
1151
+ msgstr ""
1152
+
1153
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:33
1154
+ msgid "Al termine della procedura di installazione clicca su \"Attiva\""
1155
+ msgstr ""
1156
+
1157
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:36
1158
+ msgid ""
1159
+ "Se tutto è andato per il meglio il tuo plugin è correttamente installato sul "
1160
+ "tuo sito web. Enjoy it :-)"
1161
+ msgstr ""
1162
+
1163
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:39
1164
+ msgid ""
1165
+ "Ultimo step è attivare il plugin con la chiave di licenza che hai ricevuto "
1166
+ "dopo l'acquisto. Clicca quindi sul link \"License Activation\" che trovi "
1167
+ "sotto \"YITH Plugins\" ed inserisci la license key in tuo possesso ed email "
1168
+ "utilizzata in fase di acquisto. Se non trovi l'email che ti abbiamo inviato "
1169
+ "contenete la license key puoi facilmente recuperarla dalla sezione \"My "
1170
+ "Licenses\" all'interno della sezione My Account del nostro sito yithemes.com."
1171
+ msgstr ""
1172
+
1173
#: settings/custom-style-options.php:24
1174
msgid "Put here your custom CSS rules:"
1175
msgstr ""
languages/yith-woocommerce-ajax-navigation.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
msgstr ""
4
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
5
"Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2016-02-19 16:23+0100\n"
7
"PO-Revision-Date: 2015-06-19 13:59+0100\n"
8
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
9
"Language-Team: \n"
@@ -312,75 +312,79 @@ msgstr ""
312
msgid "Plugin Settings"
313
msgstr ""
314
315
- #: plugin-fw/lib/yit-plugin-panel.php:99
316
#: plugin-fw/lib/yit-plugin-subpanel.php:103
317
- msgid "YIT Plugins"
318
msgstr ""
319
320
- #: plugin-fw/lib/yit-plugin-panel.php:297
321
#: plugin-fw/lib/yit-plugin-subpanel.php:146
322
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
323
msgid "Save Changes"
324
msgstr ""
325
326
- #: plugin-fw/lib/yit-plugin-panel.php:300
327
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
328
msgid ""
329
"If you continue with this action, you will reset all options in this "
330
"page."
331
msgstr ""
332
333
- #: plugin-fw/lib/yit-plugin-panel.php:302
334
#: plugin-fw/lib/yit-plugin-subpanel.php:151
335
msgid "Reset to default"
336
msgstr ""
337
338
- #: plugin-fw/lib/yit-plugin-panel.php:302
339
#: plugin-fw/lib/yit-plugin-subpanel.php:151
340
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
341
msgid "Are you sure?"
342
msgstr ""
343
344
- #: plugin-fw/lib/yit-plugin-panel.php:436
345
msgid ""
346
"The element you have entered already exists. Please, enter another "
347
"name."
348
msgstr ""
349
350
- #: plugin-fw/lib/yit-plugin-panel.php:437
351
msgid "Settings saved"
352
msgstr ""
353
354
- #: plugin-fw/lib/yit-plugin-panel.php:438
355
msgid "Settings reset"
356
msgstr ""
357
358
- #: plugin-fw/lib/yit-plugin-panel.php:439
359
msgid "Element deleted correctly."
360
msgstr ""
361
362
- #: plugin-fw/lib/yit-plugin-panel.php:440
363
- #: plugin-fw/lib/yit-plugin-panel.php:441
364
msgid "Element updated correctly."
365
msgstr ""
366
367
- #: plugin-fw/lib/yit-plugin-panel.php:442
368
msgid "Database imported correctly."
369
msgstr ""
370
371
- #: plugin-fw/lib/yit-plugin-panel.php:443
372
msgid "An error has occurred during import. Please try again."
373
msgstr ""
374
375
- #: plugin-fw/lib/yit-plugin-panel.php:444
376
msgid "The added file is not valid."
377
msgstr ""
378
379
- #: plugin-fw/lib/yit-plugin-panel.php:445
380
msgid "Sorry, import is disabled."
381
msgstr ""
382
383
- #: plugin-fw/lib/yit-plugin-panel.php:446
384
msgid "Sorting successful."
385
msgstr ""
386
@@ -1080,6 +1084,97 @@ msgstr ""
1080
msgid "Reset Defaults"
1081
msgstr ""
1082
1083
#: settings/custom-style-options.php:24
1084
msgid "Put here your custom CSS rules:"
1085
msgstr ""
3
msgstr ""
4
"Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
5
"Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2016-03-10 17:24+0100\n"
7
"PO-Revision-Date: 2015-06-19 13:59+0100\n"
8
"Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
9
"Language-Team: \n"
312
msgid "Plugin Settings"
313
msgstr ""
314
315
+ #: plugin-fw/lib/yit-plugin-panel.php:101
316
#: plugin-fw/lib/yit-plugin-subpanel.php:103
317
+ msgid "YITH Plugins"
318
msgstr ""
319
320
+ #: plugin-fw/lib/yit-plugin-panel.php:270
321
+ msgid "Premium version upgrade"
322
+ msgstr ""
323
+
324
+ #: plugin-fw/lib/yit-plugin-panel.php:316
325
#: plugin-fw/lib/yit-plugin-subpanel.php:146
326
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
327
msgid "Save Changes"
328
msgstr ""
329
330
+ #: plugin-fw/lib/yit-plugin-panel.php:319
331
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
332
msgid ""
333
"If you continue with this action, you will reset all options in this "
334
"page."
335
msgstr ""
336
337
+ #: plugin-fw/lib/yit-plugin-panel.php:321
338
#: plugin-fw/lib/yit-plugin-subpanel.php:151
339
msgid "Reset to default"
340
msgstr ""
341
342
+ #: plugin-fw/lib/yit-plugin-panel.php:321
343
#: plugin-fw/lib/yit-plugin-subpanel.php:151
344
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:11
345
msgid "Are you sure?"
346
msgstr ""
347
348
+ #: plugin-fw/lib/yit-plugin-panel.php:455
349
msgid ""
350
"The element you have entered already exists. Please, enter another "
351
"name."
352
msgstr ""
353
354
+ #: plugin-fw/lib/yit-plugin-panel.php:456
355
msgid "Settings saved"
356
msgstr ""
357
358
+ #: plugin-fw/lib/yit-plugin-panel.php:457
359
msgid "Settings reset"
360
msgstr ""
361
362
+ #: plugin-fw/lib/yit-plugin-panel.php:458
363
msgid "Element deleted correctly."
364
msgstr ""
365
366
+ #: plugin-fw/lib/yit-plugin-panel.php:459
367
+ #: plugin-fw/lib/yit-plugin-panel.php:460
368
msgid "Element updated correctly."
369
msgstr ""
370
371
+ #: plugin-fw/lib/yit-plugin-panel.php:461
372
msgid "Database imported correctly."
373
msgstr ""
374
375
+ #: plugin-fw/lib/yit-plugin-panel.php:462
376
msgid "An error has occurred during import. Please try again."
377
msgstr ""
378
379
+ #: plugin-fw/lib/yit-plugin-panel.php:463
380
msgid "The added file is not valid."
381
msgstr ""
382
383
+ #: plugin-fw/lib/yit-plugin-panel.php:464
384
msgid "Sorry, import is disabled."
385
msgstr ""
386
387
+ #: plugin-fw/lib/yit-plugin-panel.php:465
388
msgid "Sorting successful."
389
msgstr ""
390
1084
msgid "Reset Defaults"
1085
msgstr ""
1086
1087
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:5
1088
+ msgid "Upgrade to Premium Version"
1089
+ msgstr ""
1090
+
1091
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:6
1092
+ msgid ""
1093
+ "Hai comprato la versione premium di un plugin ? Dopo l'acquisto non "
1094
+ "trovi dove attivare la licenza del tuo plugin premium ?"
1095
+ msgstr ""
1096
+
1097
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:8
1098
+ msgid ""
1099
+ "Per passare da un plugin FREE ad uno PREMIUM non basta semplicemnete "
1100
+ "inserire la chiave di licenza che ti è stata fornita dopo aver "
1101
+ "completato l'acquisto.\n"
1102
+ " Questo perchè fisicamente si tratta di due prodotti diversi, "
1103
+ "con differenze sostanziali sia nelle opzioni disponibili sia sul "
1104
+ "numero di file presenti all'interno del pacchetto del plugin stesso.\n"
1105
+ " Per iniziare ad usare il plugin PREMIUM che hai appena "
1106
+ "acquistato devi semplicemente scaricare il pacchetto PREMIUM ed "
1107
+ "installarlo sul tuo sito."
1108
+ msgstr ""
1109
+
1110
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:12
1111
+ msgid ""
1112
+ "Non sai come fare ? Non è un problema, segui i passi elencati qui "
1113
+ "sotto ed in pochi minuti avrai il plugin acquistato correttamente "
1114
+ "installato sul tuo sito."
1115
+ msgstr ""
1116
+
1117
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:15
1118
+ msgid "Vai su yithemes.com ed effettua il login alla sezione My Account "
1119
+ msgstr ""
1120
+
1121
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:18
1122
+ msgid ""
1123
+ "Dal menù di sinistra clicca su \"My Downloads\" e cerca tra i download "
1124
+ "disponibili il plugin che vuoi installare, e clicca su \"Download\""
1125
+ msgstr ""
1126
+
1127
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:21
1128
+ msgid ""
1129
+ "Non appena il download del pacchetto sarà completato recati sul tuo "
1130
+ "sito web ed effettua il login all'area amministrazione di WordPress."
1131
+ msgstr ""
1132
+
1133
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:24
1134
+ msgid ""
1135
+ "Dal menù di sinistra clicca sulla voce Plugins. Verrai indirizzato su "
1136
+ "una pagina con la lista dei plugin disponibili sul tuo sito. Clicca "
1137
+ "sul pulsante \"Add New\" che trovi in alto a sinistra vicino al titolo "
1138
+ "della pagina."
1139
+ msgstr ""
1140
+
1141
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:27
1142
+ msgid ""
1143
+ "Verrai indirizzato su una nuova pagina dove trovi, in alto a sinistra "
1144
+ "vicino al titolo della pagina, il pulsante \"Upload Plugin\"."
1145
+ msgstr ""
1146
+
1147
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:30
1148
+ msgid ""
1149
+ "Cliccando su \"Upload Plugins\", ti troverai in una pagina dove poter "
1150
+ "effettuare l'upload del pacchetto del plugin PREMIUM da te "
1151
+ "precedentemente scaricato. Clicca quindi su \"Scegli File\", cerca la "
1152
+ "cartella di download dove hai scaricato il plugin ed effettua il "
1153
+ "caricamneto del pacchetto. A questo punto ti basta attendere qualche "
1154
+ "minuto che il pacchetto venga caricato ed installato sul tuo sito."
1155
+ msgstr ""
1156
+
1157
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:33
1158
+ msgid "Al termine della procedura di installazione clicca su \"Attiva\""
1159
+ msgstr ""
1160
+
1161
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:36
1162
+ msgid ""
1163
+ "Se tutto è andato per il meglio il tuo plugin è correttamente "
1164
+ "installato sul tuo sito web. Enjoy it :-)"
1165
+ msgstr ""
1166
+
1167
+ #: plugin-fw/templates/upgrade/upgrade-to-pro-version.php:39
1168
+ msgid ""
1169
+ "Ultimo step è attivare il plugin con la chiave di licenza che hai "
1170
+ "ricevuto dopo l'acquisto. Clicca quindi sul link \"License Activation"
1171
+ "\" che trovi sotto \"YITH Plugins\" ed inserisci la license key in tuo "
1172
+ "possesso ed email utilizzata in fase di acquisto. Se non trovi l'email "
1173
+ "che ti abbiamo inviato contenete la license key puoi facilmente "
1174
+ "recuperarla dalla sezione \"My Licenses\" all'interno della sezione My "
1175
+ "Account del nostro sito yithemes.com."
1176
+ msgstr ""
1177
+
1178
#: settings/custom-style-options.php:24
1179
msgid "Put here your custom CSS rules:"
1180
msgstr ""
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 @@