Version Description
Updated: Plugin Core Framework Fixed: Loader image not hided after search Fixed: Disabled submit when search string is empty Fixed: Support to WPML in query string
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Ajax Search |
Version | 1.2.6 |
Comparing to | |
See all releases |
Code changes from version 1.2.5 to 1.2.6
- README.txt +7 -1
- assets/css/yith_wcas_ajax_search.css +0 -2
- assets/js/devbridge-jquery-autocomplete.js +0 -1
- assets/js/devbridge-jquery-autocomplete.min.js +22 -22
- assets/js/frontend.js +12 -0
- assets/js/frontend.min.js +2 -2
- init.php +3 -3
- plugin-fw/assets/css/yit-plugin-panel.css +34 -17
- plugin-fw/assets/js/chosen/ajax-chosen.jquery.js +81 -0
- plugin-fw/assets/js/chosen/ajax-chosen.jquery.min.js +2 -0
- plugin-fw/lib/yit-cpt-unlimited.php +2 -2
- plugin-fw/lib/yit-metabox.php +1 -3
- plugin-fw/lib/yit-plugin-common.php +228 -3
- plugin-fw/lib/yit-plugin-panel-wc.php +0 -20
- plugin-fw/lib/yit-plugin-panel.php +56 -18
- plugin-fw/lib/yit-plugin-subpanel.php +1 -1
- plugin-fw/lib/yit-video.php +3 -1
- plugin-fw/templates/metaboxes/types/ajax-products.php +2 -3
- plugin-fw/templates/panel/videobox.php +2 -2
- plugin-options/settings-options.php +0 -2
- templates/yith-woocommerce-ajax-search.php +3 -0
README.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
|
|
4 |
Tags: ajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 4.1.1
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -67,6 +67,12 @@ In WooCommerce->Settings->Ajax Search page, you can choose the minumum size of t
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
= 1.2.5 =
|
71 |
* Fixed: Plugin installation bug
|
72 |
|
4 |
Tags: ajax, search, woocommerce, products, themes, yit, e-commerce, shop, yith, ajax search, instant search, premium, yithemes, autocomplete, autosuggest, better search, category search, custom search, highlight terms, Live Search, Predictive Search, product search, relevant search, search highlight, search product, suggest, typeahead, WooCommerce Plugin, woocommerce product search, woocommerce search, wordpress ecommerce
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 4.1.1
|
7 |
+
Stable tag: 1.2.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 1.2.6 =
|
71 |
+
Updated: Plugin Core Framework
|
72 |
+
Fixed: Loader image not hided after search
|
73 |
+
Fixed: Disabled submit when search string is empty
|
74 |
+
Fixed: Support to WPML in query string
|
75 |
+
|
76 |
= 1.2.5 =
|
77 |
* Fixed: Plugin installation bug
|
78 |
|
assets/css/yith_wcas_ajax_search.css
CHANGED
@@ -12,11 +12,9 @@
|
|
12 |
padding-bottom: 10px;
|
13 |
background: #fff;
|
14 |
border: 1px solid #ccc;
|
15 |
-
|
16 |
-moz-border-radius: 3px;
|
17 |
-webkit-border-radius: 3px;
|
18 |
border-radius: 3px;
|
19 |
-
|
20 |
-moz-box-sizing: border-box;
|
21 |
box-sizing: border-box;
|
22 |
}
|
12 |
padding-bottom: 10px;
|
13 |
background: #fff;
|
14 |
border: 1px solid #ccc;
|
|
|
15 |
-moz-border-radius: 3px;
|
16 |
-webkit-border-radius: 3px;
|
17 |
border-radius: 3px;
|
|
|
18 |
-moz-box-sizing: border-box;
|
19 |
box-sizing: border-box;
|
20 |
}
|
assets/js/devbridge-jquery-autocomplete.js
CHANGED
@@ -126,7 +126,6 @@
|
|
126 |
};
|
127 |
|
128 |
Autocomplete.prototype = {
|
129 |
-
|
130 |
killerFn: null,
|
131 |
|
132 |
initialize: function () {
|
126 |
};
|
127 |
|
128 |
Autocomplete.prototype = {
|
|
|
129 |
killerFn: null,
|
130 |
|
131 |
initialize: function () {
|
assets/js/devbridge-jquery-autocomplete.min.js
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
-
(function(d){"function"===typeof define&&define.amd?define(["jquery"],d):d(jQuery)})(function(d){function g(a,b){var c=function(){},c={autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:g.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:c,onSearchComplete:c,onSearchError:c,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,
|
2 |
-
preventBadQueries:!0,lookupFilter:function(a,b,c){return-1!==a.value.toLowerCase().indexOf(c)},paramName:"query",transformResult:function(a){return"string"===typeof a?d.parseJSON(a):a},showNoSuggestionNotice:!1,noSuggestionNotice:"No results"};this.element=a;this.el=d(a);this.suggestions=[];this.badQueries=[];this.selectedIndex=-1;this.currentValue=this.element.value;this.intervalId=0;this.cachedResponse={};this.onChange=this.onChangeInterval=null;this.isLocal=!1;this.suggestionsContainer=null;this.options=
|
3 |
-
d.extend({},c,b);this.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"};this.hint=null;this.hintValue="";this.selection=null;this.initialize();this.setOptions(b)}var h=function(){return{escapeRegExChars:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},createNode:function(a){var b=document.createElement("div");b.className=a;b.style.position="absolute";b.style.display="none";return b}}}();g.utils=h;d.Autocomplete=g;g.formatResult=function(a,b){var c=
|
4 |
-
"("+h.escapeRegExChars(b)+")";return a.value.replace(new RegExp(c,"gi"),"<strong>$1</strong>")};g.prototype={killerFn:null,initialize:function(){var a=this,b="."+a.classes.suggestion,c=a.classes.selected,e=a.options,f;a.element.setAttribute("autocomplete","off");a.killerFn=function(b){0===d(b.target).closest("."+a.options.containerClass).length&&(a.killSuggestions(),a.disableKillerFn())};a.suggestionsContainer=g.utils.createNode(e.containerClass);f=d(a.suggestionsContainer);f.appendTo(e.appendTo);
|
5 |
-
"auto"!==e.width&&f.width(e.width);f.on("mouseover.autocomplete",b,function(){a.activate(d(this).data("index"))});f.on("mouseout.autocomplete",function(){a.selectedIndex=-1;f.children("."+c).removeClass(c)});f.on("click.autocomplete",b,function(){a.select(d(this).data("index"))});a.fixPosition();a.fixPositionCapture=function(){a.visible&&a.fixPosition()};d(window).on("resize.autocomplete",a.fixPositionCapture);a.el.on("keydown.autocomplete",function(b){a.onKeyPress(b)});a.el.on("keyup.autocomplete",
|
6 |
-
function(b){a.onKeyUp(b)});a.el.on("blur.autocomplete",function(){a.onBlur()});a.el.on("focus.autocomplete",function(){a.onFocus()});a.el.on("change.autocomplete",function(b){a.onKeyUp(b)})},onFocus:function(){this.fixPosition();if(this.options.minChars<=this.el.val().length)this.onValueChange()},onBlur:function(){this.enableKillerFn()},setOptions:function(a){var b=this.options;d.extend(b,a);if(this.isLocal=d.isArray(b.lookup))b.lookup=this.verifySuggestionsFormat(b.lookup);d(this.suggestionsContainer).css({"max-height":b.maxHeight+
|
7 |
-
"px",width:b.width+"px","z-index":b.zIndex})},clearCache:function(){this.cachedResponse={};this.badQueries=[]},clear:function(){this.clearCache();this.currentValue="";this.suggestions=[]},disable:function(){this.disabled=!0;this.currentRequest&&this.currentRequest.abort()},enable:function(){this.disabled=!1},fixPosition:function(){var a;"body"===this.options.appendTo&&(a=this.el.offset(),a={top:a.top+this.el.outerHeight()+"px",left:a.left+"px"},"auto"===this.options.width&&(a.width=this.el.outerWidth()-
|
8 |
-
2+"px"),d(this.suggestionsContainer).css(a))},enableKillerFn:function(){d(document).on("click.autocomplete",this.killerFn)},disableKillerFn:function(){d(document).off("click.autocomplete",this.killerFn)},killSuggestions:function(){var a=this;a.stopKillSuggestions();a.intervalId=window.setInterval(function(){a.hide();a.stopKillSuggestions()},50)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},isCursorAtEnd:function(){var a=this.el.val().length,b=this.element.selectionStart;return"number"===
|
9 |
-
typeof b?b===a:document.selection?(b=document.selection.createRange(),b.moveStart("character",-a),a===b.text.length):!0},onKeyPress:function(a){if(!this.disabled&&!this.visible&&40===a.which&&this.currentValue)this.suggest();else if(!this.disabled&&this.visible){switch(a.which){case 27:this.el.val(this.currentValue);this.hide();break;case 39:if(this.hint&&this.options.onHint&&this.isCursorAtEnd()){this.selectHint();break}return;case 9:if(this.hint&&this.options.onHint){this.selectHint();return}case 13:if(-1===
|
10 |
-
this.selectedIndex){this.hide();return}this.select(this.selectedIndex);if(9===a.which&&!1===this.options.tabDisabled)return;break;case 38:this.moveUp();break;case 40:this.moveDown();break;default:return}a.stopImmediatePropagation();a.preventDefault()}},onKeyUp:function(a){var b=this;if(!b.disabled){switch(a.which){case 38:case 40:return}clearInterval(b.onChangeInterval);if(b.currentValue!==b.el.val())if(b.findBestHint(),0<b.options.deferRequestBy)b.onChangeInterval=setInterval(function(){b.onValueChange()},
|
11 |
-
b.options.deferRequestBy);else b.onValueChange()}},onValueChange:function(){var a=this.options,b=this.el.val(),c=this.getQuery(b);this.selection&&(this.selection=null,(a.onInvalidateSelection||d.noop).call(this.element));clearInterval(this.onChangeInterval);this.currentValue=b;this.selectedIndex=-1;if(a.triggerSelectOnValidInput&&(b=this.findSuggestionIndex(c),-1!==b)){this.select(b);return}c.length<a.minChars?this.hide():this.getSuggestions(c)},findSuggestionIndex:function(a){var b=-1,c=a.toLowerCase();
|
12 |
-
d.each(this.suggestions,function(a,d){if(d.value.toLowerCase()===c)return b=a,!1});return b},getQuery:function(a){var b=this.options.delimiter;if(!b)return a;a=a.split(b);return d.trim(a[a.length-1])},getSuggestionsLocal:function(a){var b=this.options,c=a.toLowerCase(),e=b.lookupFilter,f=parseInt(b.lookupLimit,10),b={suggestions:d.grep(b.lookup,function(b){return e(b,a,c)})};f&&b.suggestions.length>f&&(b.suggestions=b.suggestions.slice(0,f));return b},getSuggestions:function(a){var b,c=this,e=c.options,
|
13 |
-
f=e.serviceUrl,k,g;e.params[e.paramName]=a;k=e.ignoreParams?null:e.params;c.isLocal?b=c.getSuggestionsLocal(a):(d.isFunction(f)&&(f=f.call(c.element,a)),g=f+"?"+d.param(k||{}),b=c.cachedResponse[g]);b&&d.isArray(b.suggestions)?(c.suggestions=b.suggestions,c.suggest()):c.isBadQuery(a)||!1===e.onSearchStart.call(c.element,e.params)||(c.currentRequest&&c.currentRequest.abort(),c.currentRequest=d.ajax({url:f,data:k,type:e.type,dataType:e.dataType}).done(function(b){c.currentRequest=null;b=e.transformResult(b);
|
14 |
-
c.processResponse(b,a,g);e.onSearchComplete.call(c.element,a,b.suggestions)}).fail(function(b,d,f){e.onSearchError.call(c.element,a,b,d,f)}))},isBadQuery:function(a){if(!this.options.preventBadQueries)return!1;for(var b=this.badQueries,c=b.length;c--;)if(0===a.indexOf(b[c]))return!0;return!1},hide:function(){this.visible=!1;this.selectedIndex=-1;d(this.suggestionsContainer).hide();this.signalHint(null)},suggest:function(){if(0===this.suggestions.length)this.options.showNoSuggestionNotice?this.noSuggestions():
|
15 |
-
this.hide();else{var a=this.options,b=a.formatResult,c=this.getQuery(this.currentValue),e=this.classes.suggestion,f=this.classes.selected,g=d(this.suggestionsContainer),h=a.beforeRender,l="",m;if(a.triggerSelectOnValidInput&&(m=this.findSuggestionIndex(c),-1!==m)){this.select(m);return}d.each(this.suggestions,function(a,d){l+='<div class="'+e+'" data-index="'+a+'">'+b(d,c)+"</div>"});this.adjustContainerWidth();g.html(l);a.autoSelectFirst&&(this.selectedIndex=0,g.children().first().addClass(f));d.isFunction(h)&&
|
16 |
-
h.call(this.element,g);g.show();this.visible=!0;this.findBestHint()}},noSuggestions:function(){var a=d(this.suggestionsContainer),b;b=""+('<div class="autocomplete-no-suggestion">'+this.options.noSuggestionNotice+"</div>");this.adjustContainerWidth();a.html(b);a.show();this.visible=!0},adjustContainerWidth:function(){var a=this.options,b=d(this.suggestionsContainer);"auto"===a.width&&(a=this.el.outerWidth()-2,b.width(0<a?a:300))},findBestHint:function(){var a=this.el.val().toLowerCase(),b=null;a&&
|
17 |
-
(d.each(this.suggestions,function(c,d){var f=0===d.value.toLowerCase().indexOf(a);f&&(b=d);return!f}),this.signalHint(b))},signalHint:function(a){var b="";a&&(b=this.currentValue+a.value.substr(this.currentValue.length));this.hintValue!==b&&(this.hintValue=b,this.hint=a,(this.options.onHint||d.noop)(b))},verifySuggestionsFormat:function(a){return a.length&&"string"===typeof a[0]?d.map(a,function(a){return{value:a,data:null}}):a},processResponse:function(a,b,c){var d=this.options;a.suggestions=this.verifySuggestionsFormat(a.suggestions);
|
18 |
-
d.noCache||(this.cachedResponse[c]=a,d.preventBadQueries&&0===a.suggestions.length&&this.badQueries.push(b));b===this.getQuery(this.currentValue)&&(this.suggestions=a.suggestions,this.suggest())},activate:function(a){var b=this.classes.selected,c=d(this.suggestionsContainer),e=c.children();c.children("."+b).removeClass(b);this.selectedIndex=a;return-1!==this.selectedIndex&&e.length>this.selectedIndex?(a=e.get(this.selectedIndex),d(a).addClass(b),a):null},selectHint:function(){var a=d.inArray(this.hint,
|
19 |
-
this.suggestions);this.select(a)},select:function(a){this.hide();this.onSelect(a)},moveUp:function(){-1!==this.selectedIndex&&(0===this.selectedIndex?(d(this.suggestionsContainer).children().first().removeClass(this.classes.selected),this.selectedIndex=-1,this.el.val(this.currentValue),this.findBestHint()):this.adjustScroll(this.selectedIndex-1))},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(a){var b=this.activate(a),
|
20 |
-
c,e;b&&(b=b.offsetTop,c=d(this.suggestionsContainer).scrollTop(),e=c+this.options.maxHeight-25,b<c?d(this.suggestionsContainer).scrollTop(b):b>e&&d(this.suggestionsContainer).scrollTop(b-this.options.maxHeight+25),this.el.val(this.getValue(this.suggestions[a].value)),this.signalHint(null))},onSelect:function(a){var b=this.options.onSelect;a=this.suggestions[a];this.currentValue=this.getValue(a.value);this.currentValue!==this.el.val()&&this.el.val(this.currentValue);this.signalHint(null);this.suggestions=
|
21 |
-
[];this.selection=a;d.isFunction(b)&&b.call(this.element,a)},getValue:function(a){var b=this.options.delimiter,c;if(!b)return a;c=this.currentValue;b=c.split(b);return 1===b.length?a:c.substr(0,c.length-b[b.length-1].length)+a},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete");this.disableKillerFn();d(window).off("resize.autocomplete",this.fixPositionCapture);d(this.suggestionsContainer).remove()}};d.fn.autocomplete=function(a,b){return 0===arguments.length?this.first().data("autocomplete"):
|
22 |
-
this.each(function(){var c=d(this),e=c.data("autocomplete");if("string"===typeof a){if(e&&"function"===typeof e[a])e[a](b)}else e&&e.dispose&&e.dispose(),e=new g(this,a),c.data("autocomplete",e)})}});
|
1 |
+
(function(d){"function"===typeof define&&define.amd?define(["jquery"],d):d(jQuery)})(function(d){function g(a,b){var c=function(){},c={autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:g.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:c,onSearchComplete:c,onSearchError:c,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,
|
2 |
+
preventBadQueries:!0,lookupFilter:function(a,b,c){return-1!==a.value.toLowerCase().indexOf(c)},paramName:"query",transformResult:function(a){return"string"===typeof a?d.parseJSON(a):a},showNoSuggestionNotice:!1,noSuggestionNotice:"No results"};this.element=a;this.el=d(a);this.suggestions=[];this.badQueries=[];this.selectedIndex=-1;this.currentValue=this.element.value;this.intervalId=0;this.cachedResponse={};this.onChange=this.onChangeInterval=null;this.isLocal=!1;this.suggestionsContainer=null;this.options=
|
3 |
+
d.extend({},c,b);this.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"};this.hint=null;this.hintValue="";this.selection=null;this.initialize();this.setOptions(b)}var h=function(){return{escapeRegExChars:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},createNode:function(a){var b=document.createElement("div");b.className=a;b.style.position="absolute";b.style.display="none";return b}}}();g.utils=h;d.Autocomplete=g;g.formatResult=function(a,b){var c=
|
4 |
+
"("+h.escapeRegExChars(b)+")";return a.value.replace(new RegExp(c,"gi"),"<strong>$1</strong>")};g.prototype={killerFn:null,initialize:function(){var a=this,b="."+a.classes.suggestion,c=a.classes.selected,e=a.options,f;a.element.setAttribute("autocomplete","off");a.killerFn=function(b){0===d(b.target).closest("."+a.options.containerClass).length&&(a.killSuggestions(),a.disableKillerFn())};a.suggestionsContainer=g.utils.createNode(e.containerClass);f=d(a.suggestionsContainer);f.appendTo(e.appendTo);
|
5 |
+
"auto"!==e.width&&f.width(e.width);f.on("mouseover.autocomplete",b,function(){a.activate(d(this).data("index"))});f.on("mouseout.autocomplete",function(){a.selectedIndex=-1;f.children("."+c).removeClass(c)});f.on("click.autocomplete",b,function(){a.select(d(this).data("index"))});a.fixPosition();a.fixPositionCapture=function(){a.visible&&a.fixPosition()};d(window).on("resize.autocomplete",a.fixPositionCapture);a.el.on("keydown.autocomplete",function(b){a.onKeyPress(b)});a.el.on("keyup.autocomplete",
|
6 |
+
function(b){a.onKeyUp(b)});a.el.on("blur.autocomplete",function(){a.onBlur()});a.el.on("focus.autocomplete",function(){a.onFocus()});a.el.on("change.autocomplete",function(b){a.onKeyUp(b)})},onFocus:function(){this.fixPosition();if(this.options.minChars<=this.el.val().length)this.onValueChange()},onBlur:function(){this.enableKillerFn()},setOptions:function(a){var b=this.options;d.extend(b,a);if(this.isLocal=d.isArray(b.lookup))b.lookup=this.verifySuggestionsFormat(b.lookup);d(this.suggestionsContainer).css({"max-height":b.maxHeight+
|
7 |
+
"px",width:b.width+"px","z-index":b.zIndex})},clearCache:function(){this.cachedResponse={};this.badQueries=[]},clear:function(){this.clearCache();this.currentValue="";this.suggestions=[]},disable:function(){this.disabled=!0;this.currentRequest&&this.currentRequest.abort()},enable:function(){this.disabled=!1},fixPosition:function(){var a;"body"===this.options.appendTo&&(a=this.el.offset(),a={top:a.top+this.el.outerHeight()+"px",left:a.left+"px"},"auto"===this.options.width&&(a.width=this.el.outerWidth()-
|
8 |
+
2+"px"),d(this.suggestionsContainer).css(a))},enableKillerFn:function(){d(document).on("click.autocomplete",this.killerFn)},disableKillerFn:function(){d(document).off("click.autocomplete",this.killerFn)},killSuggestions:function(){var a=this;a.stopKillSuggestions();a.intervalId=window.setInterval(function(){a.hide();a.stopKillSuggestions()},50)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},isCursorAtEnd:function(){var a=this.el.val().length,b=this.element.selectionStart;return"number"===
|
9 |
+
typeof b?b===a:document.selection?(b=document.selection.createRange(),b.moveStart("character",-a),a===b.text.length):!0},onKeyPress:function(a){if(!this.disabled&&!this.visible&&40===a.which&&this.currentValue)this.suggest();else if(!this.disabled&&this.visible){switch(a.which){case 27:this.el.val(this.currentValue);this.hide();break;case 39:if(this.hint&&this.options.onHint&&this.isCursorAtEnd()){this.selectHint();break}return;case 9:if(this.hint&&this.options.onHint){this.selectHint();return}case 13:if(-1===
|
10 |
+
this.selectedIndex){this.hide();return}this.select(this.selectedIndex);if(9===a.which&&!1===this.options.tabDisabled)return;break;case 38:this.moveUp();break;case 40:this.moveDown();break;default:return}a.stopImmediatePropagation();a.preventDefault()}},onKeyUp:function(a){var b=this;if(!b.disabled){switch(a.which){case 38:case 40:return}clearInterval(b.onChangeInterval);if(b.currentValue!==b.el.val())if(b.findBestHint(),0<b.options.deferRequestBy)b.onChangeInterval=setInterval(function(){b.onValueChange()},
|
11 |
+
b.options.deferRequestBy);else b.onValueChange()}},onValueChange:function(){var a=this.options,b=this.el.val(),c=this.getQuery(b);this.selection&&(this.selection=null,(a.onInvalidateSelection||d.noop).call(this.element));clearInterval(this.onChangeInterval);this.currentValue=b;this.selectedIndex=-1;if(a.triggerSelectOnValidInput&&(b=this.findSuggestionIndex(c),-1!==b)){this.select(b);return}c.length<a.minChars?this.hide():this.getSuggestions(c)},findSuggestionIndex:function(a){var b=-1,c=a.toLowerCase();
|
12 |
+
d.each(this.suggestions,function(a,d){if(d.value.toLowerCase()===c)return b=a,!1});return b},getQuery:function(a){var b=this.options.delimiter;if(!b)return a;a=a.split(b);return d.trim(a[a.length-1])},getSuggestionsLocal:function(a){var b=this.options,c=a.toLowerCase(),e=b.lookupFilter,f=parseInt(b.lookupLimit,10),b={suggestions:d.grep(b.lookup,function(b){return e(b,a,c)})};f&&b.suggestions.length>f&&(b.suggestions=b.suggestions.slice(0,f));return b},getSuggestions:function(a){var b,c=this,e=c.options,
|
13 |
+
f=e.serviceUrl,k,g;e.params[e.paramName]=a;k=e.ignoreParams?null:e.params;c.isLocal?b=c.getSuggestionsLocal(a):(d.isFunction(f)&&(f=f.call(c.element,a)),g=f+"?"+d.param(k||{}),b=c.cachedResponse[g]);b&&d.isArray(b.suggestions)?(c.suggestions=b.suggestions,c.suggest()):c.isBadQuery(a)||!1===e.onSearchStart.call(c.element,e.params)||(c.currentRequest&&c.currentRequest.abort(),c.currentRequest=d.ajax({url:f,data:k,type:e.type,dataType:e.dataType}).done(function(b){c.currentRequest=null;b=e.transformResult(b);
|
14 |
+
c.processResponse(b,a,g);e.onSearchComplete.call(c.element,a,b.suggestions)}).fail(function(b,d,f){e.onSearchError.call(c.element,a,b,d,f)}))},isBadQuery:function(a){if(!this.options.preventBadQueries)return!1;for(var b=this.badQueries,c=b.length;c--;)if(0===a.indexOf(b[c]))return!0;return!1},hide:function(){this.visible=!1;this.selectedIndex=-1;d(this.suggestionsContainer).hide();this.signalHint(null)},suggest:function(){if(0===this.suggestions.length)this.options.showNoSuggestionNotice?this.noSuggestions():
|
15 |
+
this.hide();else{var a=this.options,b=a.formatResult,c=this.getQuery(this.currentValue),e=this.classes.suggestion,f=this.classes.selected,g=d(this.suggestionsContainer),h=a.beforeRender,l="",m;if(a.triggerSelectOnValidInput&&(m=this.findSuggestionIndex(c),-1!==m)){this.select(m);return}d.each(this.suggestions,function(a,d){l+='<div class="'+e+'" data-index="'+a+'">'+b(d,c)+"</div>"});this.adjustContainerWidth();g.html(l);a.autoSelectFirst&&(this.selectedIndex=0,g.children().first().addClass(f));d.isFunction(h)&&
|
16 |
+
h.call(this.element,g);g.show();this.visible=!0;this.findBestHint()}},noSuggestions:function(){var a=d(this.suggestionsContainer),b;b=""+('<div class="autocomplete-no-suggestion">'+this.options.noSuggestionNotice+"</div>");this.adjustContainerWidth();a.html(b);a.show();this.visible=!0},adjustContainerWidth:function(){var a=this.options,b=d(this.suggestionsContainer);"auto"===a.width&&(a=this.el.outerWidth()-2,b.width(0<a?a:300))},findBestHint:function(){var a=this.el.val().toLowerCase(),b=null;a&&
|
17 |
+
(d.each(this.suggestions,function(c,d){var f=0===d.value.toLowerCase().indexOf(a);f&&(b=d);return!f}),this.signalHint(b))},signalHint:function(a){var b="";a&&(b=this.currentValue+a.value.substr(this.currentValue.length));this.hintValue!==b&&(this.hintValue=b,this.hint=a,(this.options.onHint||d.noop)(b))},verifySuggestionsFormat:function(a){return a.length&&"string"===typeof a[0]?d.map(a,function(a){return{value:a,data:null}}):a},processResponse:function(a,b,c){var d=this.options;a.suggestions=this.verifySuggestionsFormat(a.suggestions);
|
18 |
+
d.noCache||(this.cachedResponse[c]=a,d.preventBadQueries&&0===a.suggestions.length&&this.badQueries.push(b));b===this.getQuery(this.currentValue)&&(this.suggestions=a.suggestions,this.suggest())},activate:function(a){var b=this.classes.selected,c=d(this.suggestionsContainer),e=c.children();c.children("."+b).removeClass(b);this.selectedIndex=a;return-1!==this.selectedIndex&&e.length>this.selectedIndex?(a=e.get(this.selectedIndex),d(a).addClass(b),a):null},selectHint:function(){var a=d.inArray(this.hint,
|
19 |
+
this.suggestions);this.select(a)},select:function(a){this.hide();this.onSelect(a)},moveUp:function(){-1!==this.selectedIndex&&(0===this.selectedIndex?(d(this.suggestionsContainer).children().first().removeClass(this.classes.selected),this.selectedIndex=-1,this.el.val(this.currentValue),this.findBestHint()):this.adjustScroll(this.selectedIndex-1))},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(a){var b=this.activate(a),
|
20 |
+
c,e;b&&(b=b.offsetTop,c=d(this.suggestionsContainer).scrollTop(),e=c+this.options.maxHeight-25,b<c?d(this.suggestionsContainer).scrollTop(b):b>e&&d(this.suggestionsContainer).scrollTop(b-this.options.maxHeight+25),this.el.val(this.getValue(this.suggestions[a].value)),this.signalHint(null))},onSelect:function(a){var b=this.options.onSelect;a=this.suggestions[a];this.currentValue=this.getValue(a.value);this.currentValue!==this.el.val()&&this.el.val(this.currentValue);this.signalHint(null);this.suggestions=
|
21 |
+
[];this.selection=a;d.isFunction(b)&&b.call(this.element,a)},getValue:function(a){var b=this.options.delimiter,c;if(!b)return a;c=this.currentValue;b=c.split(b);return 1===b.length?a:c.substr(0,c.length-b[b.length-1].length)+a},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete");this.disableKillerFn();d(window).off("resize.autocomplete",this.fixPositionCapture);d(this.suggestionsContainer).remove()}};d.fn.autocomplete=function(a,b){return 0===arguments.length?this.first().data("autocomplete"):
|
22 |
+
this.each(function(){var c=d(this),e=c.data("autocomplete");if("string"===typeof a){if(e&&"function"===typeof e[a])e[a](b)}else e&&e.dispose&&e.dispose(),e=new g(this,a),c.data("autocomplete",e)})}});
|
assets/js/frontend.js
CHANGED
@@ -11,8 +11,17 @@ jQuery(document).ready(function ($) {
|
|
11 |
var el = $('.yith-s'),
|
12 |
def_loader = ( typeof woocommerce_params != 'undefined' && typeof woocommerce_params.ajax_loader_url != 'undefined' ) ? woocommerce_params.ajax_loader_url : yith_wcas_params.loading,
|
13 |
loader_icon = el.data('loader-icon') == '' ? def_loader : el.data('loader-icon'),
|
|
|
14 |
min_chars = el.data('min-chars');
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
if( el.length == 0 ) el = $('#yith-s');
|
17 |
|
18 |
el.each(function () {
|
@@ -30,6 +39,9 @@ jQuery(document).ready(function ($) {
|
|
30 |
if (suggestion.id != -1) {
|
31 |
window.location.href = suggestion.url;
|
32 |
}
|
|
|
|
|
|
|
33 |
}
|
34 |
});
|
35 |
});
|
11 |
var el = $('.yith-s'),
|
12 |
def_loader = ( typeof woocommerce_params != 'undefined' && typeof woocommerce_params.ajax_loader_url != 'undefined' ) ? woocommerce_params.ajax_loader_url : yith_wcas_params.loading,
|
13 |
loader_icon = el.data('loader-icon') == '' ? def_loader : el.data('loader-icon'),
|
14 |
+
search_button = $('#yith-searchsubmit'),
|
15 |
min_chars = el.data('min-chars');
|
16 |
|
17 |
+
search_button.on('click', function(){
|
18 |
+
var form = $(this).closest('form');
|
19 |
+
if( form.find('.yith-s').val()==''){
|
20 |
+
return false;
|
21 |
+
}
|
22 |
+
return true;
|
23 |
+
});
|
24 |
+
|
25 |
if( el.length == 0 ) el = $('#yith-s');
|
26 |
|
27 |
el.each(function () {
|
39 |
if (suggestion.id != -1) {
|
40 |
window.location.href = suggestion.url;
|
41 |
}
|
42 |
+
} ,
|
43 |
+
onSearchComplete: function () {
|
44 |
+
$t.css('background', 'transparent');
|
45 |
}
|
46 |
});
|
47 |
});
|
assets/js/frontend.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
jQuery(document).ready(function(
|
2 |
-
"?action=yith_ajax_search_products",onSearchStart:function(){
|
1 |
+
jQuery(document).ready(function(b){var a=b(".yith-s"),c="undefined"!=typeof woocommerce_params&&"undefined"!=typeof woocommerce_params.ajax_loader_url?woocommerce_params.ajax_loader_url:yith_wcas_params.loading,e=""==a.data("loader-icon")?c:a.data("loader-icon"),c=b("#yith-searchsubmit"),f=a.data("min-chars");c.on("click",function(){return""==b(this).closest("form").find(".yith-s").val()?!1:!0});0==a.length&&(a=b("#yith-s"));a.each(function(){var d=b(this),c="undefined"==typeof d.data("append-to")?
|
2 |
+
d.closest(".yith-ajaxsearchform-container"):d.data("append-to");a.autocomplete({minChars:f,appendTo:c,serviceUrl:woocommerce_params.ajax_url+"?action=yith_ajax_search_products",onSearchStart:function(){b(this).css("background","url("+e+") no-repeat right center")},onSelect:function(a){-1!=a.id&&(window.location.href=a.url)},onSearchComplete:function(){d.css("background","transparent")}})})});
|
init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Ajax Search
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Ajax Search allows your users to search products in real time.
|
6 |
-
* Version: 1.2.
|
7 |
* Author: Yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yit
|
@@ -11,7 +11,7 @@
|
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Ajax Search
|
14 |
-
* @version 1.2.
|
15 |
*/
|
16 |
|
17 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
@@ -59,7 +59,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
|
59 |
if ( defined( 'YITH_WCAS_VERSION' ) ){
|
60 |
return;
|
61 |
}else{
|
62 |
-
define( 'YITH_WCAS_VERSION', '1.2.
|
63 |
}
|
64 |
|
65 |
if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
|
3 |
* Plugin Name: YITH WooCommerce Ajax Search
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Ajax Search allows your users to search products in real time.
|
6 |
+
* Version: 1.2.6
|
7 |
* Author: Yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yit
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Ajax Search
|
14 |
+
* @version 1.2.6
|
15 |
*/
|
16 |
|
17 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
59 |
if ( defined( 'YITH_WCAS_VERSION' ) ){
|
60 |
return;
|
61 |
}else{
|
62 |
+
define( 'YITH_WCAS_VERSION', '1.2.6' );
|
63 |
}
|
64 |
|
65 |
if ( ! defined( 'YITH_WCAS_FREE_INIT' ) ) {
|
plugin-fw/assets/css/yit-plugin-panel.css
CHANGED
@@ -50,7 +50,8 @@
|
|
50 |
top: -30px;
|
51 |
}
|
52 |
/*handle*/
|
53 |
-
.yit-options .ui-slider-horizontal .ui-slider-handle
|
|
|
54 |
background: transparent url(../images/slider/handle.png) no-repeat left top !important;
|
55 |
border: 0px !important;
|
56 |
top: -.35em !important;
|
@@ -59,7 +60,8 @@
|
|
59 |
}
|
60 |
|
61 |
/*bg on the left:grey*/
|
62 |
-
.yit-options .ui-slider.ui-widget-content
|
|
|
63 |
background: url(../images/slider/grey.gif) repeat-x left center !important;
|
64 |
border-color: #c1c1c0 !important;
|
65 |
height: 10px !important;
|
@@ -83,9 +85,11 @@
|
|
83 |
.plugin-option tr{
|
84 |
border-bottom: 1px solid #ccc;
|
85 |
}
|
86 |
-
.plugin-option .yit_options
|
|
|
87 |
border-bottom: 0px;
|
88 |
}
|
|
|
89 |
.plugin-option .yit_options .option {
|
90 |
width: 600px;
|
91 |
float: left;
|
@@ -95,6 +99,7 @@
|
|
95 |
padding: 25px 10px;
|
96 |
}
|
97 |
|
|
|
98 |
.yit-options .select_wrapper {
|
99 |
background: url("../images/select.png") no-repeat scroll right center #FAFAFA;
|
100 |
border-color: #CCCCCC #EEEEEE #EEEEEE #CCCCCC;
|
@@ -165,10 +170,11 @@
|
|
165 |
position: absolute;
|
166 |
z-index: 2;
|
167 |
}
|
168 |
-
.ie8 .yit_options select
|
|
|
169 |
height: 26px;
|
170 |
}
|
171 |
-
.yit_options select, .the-metabox .select_wrapper select {
|
172 |
cursor: pointer;
|
173 |
height: 28px;
|
174 |
margin: 0;
|
@@ -198,6 +204,7 @@
|
|
198 |
|
199 |
|
200 |
/* Style to woocommerce panel*/
|
|
|
201 |
#plugin-fw-wc{
|
202 |
padding-top: 20px;
|
203 |
}
|
@@ -212,49 +219,59 @@
|
|
212 |
padding:0px 10px 10px ;
|
213 |
border-bottom: 1px solid #eee;
|
214 |
}
|
215 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
width: 45%;
|
217 |
float: left;
|
218 |
padding-right: 2.5%;
|
219 |
border-right: 1px solid #ebebeb;
|
220 |
padding-bottom: 2em;
|
221 |
}
|
222 |
-
|
223 |
margin-right: 0;
|
224 |
padding-right: 0;
|
225 |
padding-left: 2.5%;
|
226 |
border: 0;
|
227 |
max-width: 49%;
|
228 |
}
|
229 |
-
|
230 |
font-size: 16px;
|
231 |
margin-bottom: 20px;
|
232 |
}
|
233 |
-
|
234 |
-
display: inline-block;
|
235 |
-
}
|
236 |
-
#plugin-fw-wc .yith-video-link {
|
237 |
width: 100%;
|
238 |
max-width: 200px;
|
239 |
float: left;
|
240 |
margin: 0 1.5em 1.5em 0;
|
241 |
}
|
242 |
-
|
243 |
width: 100%;
|
244 |
max-width: 200px;
|
245 |
float: left;
|
246 |
margin: 0 1.5em 1.5em 0;
|
247 |
}
|
248 |
-
|
249 |
max-width: 100%;
|
250 |
height: auto;
|
251 |
}
|
252 |
-
|
253 |
-
#plugin-fw-wc .yith-video-link img {
|
254 |
max-width: 100%;
|
255 |
height: auto;
|
256 |
}
|
257 |
-
|
258 |
display: none;
|
259 |
|
260 |
}
|
50 |
top: -30px;
|
51 |
}
|
52 |
/*handle*/
|
53 |
+
.yit-options .ui-slider-horizontal .ui-slider-handle,
|
54 |
+
.yit_options .ui-slider-horizontal .ui-slider-handle {
|
55 |
background: transparent url(../images/slider/handle.png) no-repeat left top !important;
|
56 |
border: 0px !important;
|
57 |
top: -.35em !important;
|
60 |
}
|
61 |
|
62 |
/*bg on the left:grey*/
|
63 |
+
.yit-options .ui-slider.ui-widget-content,
|
64 |
+
.yit_options .ui-slider.ui-widget-content {
|
65 |
background: url(../images/slider/grey.gif) repeat-x left center !important;
|
66 |
border-color: #c1c1c0 !important;
|
67 |
height: 10px !important;
|
85 |
.plugin-option tr{
|
86 |
border-bottom: 1px solid #ccc;
|
87 |
}
|
88 |
+
.plugin-option .yit_options,
|
89 |
+
.plugin-option .yit-options{
|
90 |
border-bottom: 0px;
|
91 |
}
|
92 |
+
.plugin-option .yit-options .option,
|
93 |
.plugin-option .yit_options .option {
|
94 |
width: 600px;
|
95 |
float: left;
|
99 |
padding: 25px 10px;
|
100 |
}
|
101 |
|
102 |
+
.yit_options .select_wrapper,
|
103 |
.yit-options .select_wrapper {
|
104 |
background: url("../images/select.png") no-repeat scroll right center #FAFAFA;
|
105 |
border-color: #CCCCCC #EEEEEE #EEEEEE #CCCCCC;
|
170 |
position: absolute;
|
171 |
z-index: 2;
|
172 |
}
|
173 |
+
.ie8 .yit_options select,
|
174 |
+
.ie8 .yit-options select {
|
175 |
height: 26px;
|
176 |
}
|
177 |
+
.yit_options select, .yit-options select, .the-metabox .select_wrapper select {
|
178 |
cursor: pointer;
|
179 |
height: 28px;
|
180 |
margin: 0;
|
204 |
|
205 |
|
206 |
/* Style to woocommerce panel*/
|
207 |
+
|
208 |
#plugin-fw-wc{
|
209 |
padding-top: 20px;
|
210 |
}
|
219 |
padding:0px 10px 10px ;
|
220 |
border-bottom: 1px solid #eee;
|
221 |
}
|
222 |
+
|
223 |
+
/* === VIDEO BOX === */
|
224 |
+
|
225 |
+
.yith-videobox-wrapper {
|
226 |
+
padding-top: 20px;
|
227 |
+
}
|
228 |
+
.yith-videobox-wrapper h3{
|
229 |
+
padding:0px 10px 10px ;
|
230 |
+
border-bottom: 1px solid #eee;
|
231 |
+
}
|
232 |
+
|
233 |
+
.yith-videobox-wrapper .postbox {
|
234 |
+
display: inline-block;
|
235 |
+
}
|
236 |
+
.yith-videobox-wrapper .yith_videobox .column {
|
237 |
width: 45%;
|
238 |
float: left;
|
239 |
padding-right: 2.5%;
|
240 |
border-right: 1px solid #ebebeb;
|
241 |
padding-bottom: 2em;
|
242 |
}
|
243 |
+
.yith-videobox-wrapper .yith_videobox .column.two {
|
244 |
margin-right: 0;
|
245 |
padding-right: 0;
|
246 |
padding-left: 2.5%;
|
247 |
border: 0;
|
248 |
max-width: 49%;
|
249 |
}
|
250 |
+
.yith-videobox-wrapper .yith_videobox h2{
|
251 |
font-size: 16px;
|
252 |
margin-bottom: 20px;
|
253 |
}
|
254 |
+
.yith-videobox-wrapper .yith-video-link {
|
|
|
|
|
|
|
255 |
width: 100%;
|
256 |
max-width: 200px;
|
257 |
float: left;
|
258 |
margin: 0 1.5em 1.5em 0;
|
259 |
}
|
260 |
+
.yith-videobox-wrapper .yith-video-link {
|
261 |
width: 100%;
|
262 |
max-width: 200px;
|
263 |
float: left;
|
264 |
margin: 0 1.5em 1.5em 0;
|
265 |
}
|
266 |
+
.yith-videobox-wrapper .yith-image-frame img {
|
267 |
max-width: 100%;
|
268 |
height: auto;
|
269 |
}
|
270 |
+
.yith-videobox-wrapper .yith-video-link img {
|
|
|
271 |
max-width: 100%;
|
272 |
height: auto;
|
273 |
}
|
274 |
+
.yith-videobox-wrapper .yith-video-iframe {
|
275 |
display: none;
|
276 |
|
277 |
}
|
plugin-fw/assets/js/chosen/ajax-chosen.jquery.js
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Generated by CoffeeScript 1.3.1
|
2 |
+
|
3 |
+
(function($) {
|
4 |
+
return $.fn.ajaxChosen = function(settings, callback) {
|
5 |
+
var chosenXhr, defaultOptions, options, select;
|
6 |
+
if (settings == null) {
|
7 |
+
settings = {};
|
8 |
+
}
|
9 |
+
if (callback == null) {
|
10 |
+
callback = function() {};
|
11 |
+
}
|
12 |
+
defaultOptions = {
|
13 |
+
minTermLength: 3,
|
14 |
+
afterTypeDelay: 500,
|
15 |
+
jsonTermKey: "term"
|
16 |
+
};
|
17 |
+
select = this;
|
18 |
+
chosenXhr = null;
|
19 |
+
options = $.extend({}, defaultOptions, settings);
|
20 |
+
this.chosen();
|
21 |
+
return this.each(function() {
|
22 |
+
return $(this).next('.chosen-container').find(".search-field > input, .chosen-search > input").bind('keyup', function() {
|
23 |
+
var field, msg, success, val;
|
24 |
+
val = $.trim($(this).attr('value'));
|
25 |
+
msg = val.length < options.minTermLength ? "Keep typing..." : "Looking for '" + val + "'";
|
26 |
+
select.next('.chosen-container').find('.no-results').text(msg);
|
27 |
+
if (val === $(this).data('prevVal')) {
|
28 |
+
return false;
|
29 |
+
}
|
30 |
+
$(this).data('prevVal', val);
|
31 |
+
if (this.timer) {
|
32 |
+
clearTimeout(this.timer);
|
33 |
+
}
|
34 |
+
if (val.length < options.minTermLength) {
|
35 |
+
return false;
|
36 |
+
}
|
37 |
+
field = $(this);
|
38 |
+
if (!(options.data != null)) {
|
39 |
+
options.data = {};
|
40 |
+
}
|
41 |
+
options.data[options.jsonTermKey] = val;
|
42 |
+
if (options.dataCallback != null) {
|
43 |
+
options.data = options.dataCallback(options.data);
|
44 |
+
}
|
45 |
+
success = options.success;
|
46 |
+
options.success = function(data) {
|
47 |
+
var items, selected_values;
|
48 |
+
if (!(data != null)) {
|
49 |
+
return;
|
50 |
+
}
|
51 |
+
selected_values = [];
|
52 |
+
select.find('option').each(function() {
|
53 |
+
if (!$(this).is(":selected")) {
|
54 |
+
return $(this).remove();
|
55 |
+
} else {
|
56 |
+
return selected_values.push($(this).val() + "-" + $(this).text());
|
57 |
+
}
|
58 |
+
});
|
59 |
+
items = callback(data);
|
60 |
+
$.each(items, function(value, text) {
|
61 |
+
if ($.inArray(value + "-" + text, selected_values) === -1) {
|
62 |
+
return $("<option />").attr('value', value).html(text).appendTo(select);
|
63 |
+
}
|
64 |
+
});
|
65 |
+
select.trigger("chosen:updated");
|
66 |
+
if (success != null) {
|
67 |
+
success(data);
|
68 |
+
}
|
69 |
+
field.attr('value', val);
|
70 |
+
return field.css('width', 'auto');
|
71 |
+
};
|
72 |
+
return this.timer = setTimeout(function() {
|
73 |
+
if (chosenXhr) {
|
74 |
+
chosenXhr.abort();
|
75 |
+
}
|
76 |
+
return chosenXhr = $.ajax(options);
|
77 |
+
}, options.afterTypeDelay);
|
78 |
+
});
|
79 |
+
});
|
80 |
+
};
|
81 |
+
})(jQuery);
|
plugin-fw/assets/js/chosen/ajax-chosen.jquery.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
// Generated by CoffeeScript 1.3.1
|
2 |
+
(function(e){return e.fn.ajaxChosen=function(t,n){var r,i,s,o;t==null&&(t={});n==null&&(n=function(){});i={minTermLength:3,afterTypeDelay:500,jsonTermKey:"term"};o=this;r=null;s=e.extend({},i,t);this.chosen();return this.each(function(){return e(this).next(".chosen-container").find(".search-field > input, .chosen-search > input").bind("keyup",function(){var t,i,u,a;a=e.trim(e(this).attr("value"));i=a.length<s.minTermLength?"Keep typing...":"Looking for '"+a+"'";o.next(".chosen-container").find(".no-results").text(i);if(a===e(this).data("prevVal"))return!1;e(this).data("prevVal",a);this.timer&&clearTimeout(this.timer);if(a.length<s.minTermLength)return!1;t=e(this);s.data==null&&(s.data={});s.data[s.jsonTermKey]=a;s.dataCallback!=null&&(s.data=s.dataCallback(s.data));u=s.success;s.success=function(r){var i,s;if(r==null)return;s=[];o.find("option").each(function(){return e(this).is(":selected")?s.push(e(this).val()+"-"+e(this).text()):e(this).remove()});i=n(r);e.each(i,function(t,n){if(e.inArray(t+"-"+n,s)===-1)return e("<option />").attr("value",t).html(n).appendTo(o)});o.trigger("chosen:updated");u!=null&&u(r);t.attr("value",a);return t.css("width","auto")};return this.timer=setTimeout(function(){r&&r.abort();return r=e.ajax(s)},s.afterTypeDelay)})})}})(jQuery);
|
plugin-fw/lib/yit-cpt-unlimited.php
CHANGED
@@ -292,9 +292,9 @@ class YIT_CPT_Unlimited {
|
|
292 |
}
|
293 |
|
294 |
public function filter_active( $wp_query ) {
|
295 |
-
if ( isset( $wp_query->query['suppress_filters'] ) )
|
296 |
$wp_query->query['suppress_filters'] = false;
|
297 |
-
if ( isset( $wp_query->query_vars['suppress_filters'] ) )
|
298 |
$wp_query->query_vars['suppress_filters'] = false;
|
299 |
return $wp_query;
|
300 |
}
|
292 |
}
|
293 |
|
294 |
public function filter_active( $wp_query ) {
|
295 |
+
if ( is_admin() && isset( $wp_query->query['suppress_filters'] ) )
|
296 |
$wp_query->query['suppress_filters'] = false;
|
297 |
+
if ( is_admin() && isset( $wp_query->query_vars['suppress_filters'] ) )
|
298 |
$wp_query->query_vars['suppress_filters'] = false;
|
299 |
return $wp_query;
|
300 |
}
|
plugin-fw/lib/yit-metabox.php
CHANGED
@@ -154,13 +154,11 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
|
|
154 |
wp_enqueue_script( 'jquery-ui-datepicker' );
|
155 |
wp_enqueue_script( 'yit-spinner', YIT_CORE_PLUGIN_URL . '/assets/js/panel.spinner.js', array( 'jquery' ), '0.0.1', true );
|
156 |
wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
|
|
|
157 |
wp_enqueue_script( 'yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox.js', array( 'jquery', 'wp-color-picker' ), '1.0.0', true );
|
158 |
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' );
|
159 |
|
160 |
-
if( function_exists( 'WC' ) ){
|
161 |
|
162 |
-
wp_enqueue_script('ajax-chosen');
|
163 |
-
}
|
164 |
}
|
165 |
|
166 |
/**
|
154 |
wp_enqueue_script( 'jquery-ui-datepicker' );
|
155 |
wp_enqueue_script( 'yit-spinner', YIT_CORE_PLUGIN_URL . '/assets/js/panel.spinner.js', array( 'jquery' ), '0.0.1', true );
|
156 |
wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
|
157 |
+
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 );
|
158 |
wp_enqueue_script( 'yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox.js', array( 'jquery', 'wp-color-picker' ), '1.0.0', true );
|
159 |
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' );
|
160 |
|
|
|
161 |
|
|
|
|
|
162 |
}
|
163 |
|
164 |
/**
|
plugin-fw/lib/yit-plugin-common.php
CHANGED
@@ -406,6 +406,7 @@ class YIT_Plugin_Common {
|
|
406 |
'\f0f9' => 'ambulance',
|
407 |
'\f13d' => 'anchor',
|
408 |
'\f17b' => 'android',
|
|
|
409 |
'\f103' => 'angle-double-down',
|
410 |
'\f100' => 'angle-double-left',
|
411 |
'\f101' => 'angle-double-right',
|
@@ -416,6 +417,7 @@ class YIT_Plugin_Common {
|
|
416 |
'\f106' => 'angle-up',
|
417 |
'\f179' => 'apple',
|
418 |
'\f187' => 'archive',
|
|
|
419 |
'\f0ab' => 'arrow-circle-down',
|
420 |
'\f0a8' => 'arrow-circle-left',
|
421 |
'\f01a' => 'arrow-circle-o-down',
|
@@ -433,31 +435,51 @@ class YIT_Plugin_Common {
|
|
433 |
'\f07e' => 'arrows-h',
|
434 |
'\f07d' => 'arrows-v',
|
435 |
'\f069' => 'asterisk',
|
|
|
|
|
436 |
'\f04a' => 'backward',
|
437 |
'\f05e' => 'ban',
|
|
|
|
|
438 |
'\f080' => 'bar-chart-o',
|
439 |
'\f02a' => 'barcode',
|
440 |
'\f0c9' => 'bars',
|
|
|
441 |
'\f0fc' => 'beer',
|
|
|
|
|
442 |
'\f0f3' => 'bell',
|
443 |
'\f0a2' => 'bell-o',
|
|
|
|
|
|
|
|
|
|
|
444 |
'\f171' => 'bitbucket',
|
445 |
'\f172' => 'bitbucket-square',
|
|
|
446 |
'\f032' => 'bold',
|
447 |
'\f0e7' => 'bolt',
|
|
|
448 |
'\f02d' => 'book',
|
449 |
'\f02e' => 'bookmark',
|
450 |
'\f097' => 'bookmark-o',
|
451 |
'\f0b1' => 'briefcase',
|
452 |
'\f15a' => 'btc',
|
453 |
'\f188' => 'bug',
|
|
|
454 |
'\f0f7' => 'building-o',
|
455 |
'\f0a1' => 'bullhorn',
|
456 |
'\f140' => 'bullseye',
|
|
|
|
|
|
|
|
|
457 |
'\f073' => 'calendar',
|
458 |
'\f133' => 'calendar-o',
|
459 |
'\f030' => 'camera',
|
460 |
'\f083' => 'camera-retro',
|
|
|
461 |
'\f0d7' => 'caret-down',
|
462 |
'\f0d9' => 'caret-left',
|
463 |
'\f0da' => 'caret-right',
|
@@ -466,7 +488,17 @@ class YIT_Plugin_Common {
|
|
466 |
'\f152' => 'caret-square-o-right',
|
467 |
'\f151' => 'caret-square-o-up',
|
468 |
'\f0d8' => 'caret-up',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
'\f0a3' => 'certificate',
|
|
|
470 |
'\f127' => 'chain-broken',
|
471 |
'\f00c' => 'check',
|
472 |
'\f058' => 'check-circle',
|
@@ -481,14 +513,21 @@ class YIT_Plugin_Common {
|
|
481 |
'\f053' => 'chevron-left',
|
482 |
'\f054' => 'chevron-right',
|
483 |
'\f077' => 'chevron-up',
|
|
|
|
|
484 |
'\f10c' => 'circle-o',
|
|
|
|
|
485 |
'\f0ea' => 'clipboard',
|
486 |
'\f017' => 'clock-o',
|
|
|
487 |
'\f0c2' => 'cloud',
|
488 |
'\f0ed' => 'cloud-download',
|
489 |
'\f0ee' => 'cloud-upload',
|
|
|
490 |
'\f121' => 'code',
|
491 |
'\f126' => 'code-fork',
|
|
|
492 |
'\f0f4' => 'coffee',
|
493 |
'\f013' => 'cog',
|
494 |
'\f085' => 'cogs',
|
@@ -499,23 +538,43 @@ class YIT_Plugin_Common {
|
|
499 |
'\f0e6' => 'comments-o',
|
500 |
'\f14e' => 'compass',
|
501 |
'\f066' => 'compress',
|
|
|
|
|
|
|
502 |
'\f09d' => 'credit-card',
|
503 |
'\f125' => 'crop',
|
504 |
'\f05b' => 'crosshairs',
|
505 |
'\f13c' => 'css3',
|
|
|
|
|
|
|
506 |
'\f0f5' => 'cutlery',
|
|
|
|
|
|
|
|
|
|
|
507 |
'\f108' => 'desktop',
|
|
|
|
|
|
|
|
|
508 |
'\f192' => 'dot-circle-o',
|
509 |
'\f019' => 'download',
|
510 |
'\f17d' => 'dribbble',
|
511 |
'\f16b' => 'dropbox',
|
|
|
|
|
512 |
'\f052' => 'eject',
|
513 |
'\f141' => 'ellipsis-h',
|
514 |
'\f142' => 'ellipsis-v',
|
|
|
515 |
'\f0e0' => 'envelope',
|
516 |
'\f003' => 'envelope-o',
|
|
|
517 |
'\f12d' => 'eraser',
|
518 |
'\f153' => 'eur',
|
|
|
519 |
'\f0ec' => 'exchange',
|
520 |
'\f12a' => 'exclamation',
|
521 |
'\f06a' => 'exclamation-circle',
|
@@ -525,16 +584,34 @@ class YIT_Plugin_Common {
|
|
525 |
'\f14c' => 'external-link-square',
|
526 |
'\f06e' => 'eye',
|
527 |
'\f070' => 'eye-slash',
|
|
|
528 |
'\f09a' => 'facebook',
|
|
|
|
|
529 |
'\f082' => 'facebook-square',
|
530 |
'\f049' => 'fast-backward',
|
531 |
'\f050' => 'fast-forward',
|
|
|
532 |
'\f182' => 'female',
|
533 |
'\f0fb' => 'fighter-jet',
|
534 |
'\f15b' => 'file',
|
|
|
|
|
|
|
|
|
|
|
|
|
535 |
'\f016' => 'file-o',
|
|
|
|
|
|
|
|
|
|
|
536 |
'\f15c' => 'file-text',
|
537 |
'\f0f6' => 'file-text-o',
|
|
|
|
|
|
|
538 |
'\f0c5' => 'files-o',
|
539 |
'\f008' => 'film',
|
540 |
'\f0b0' => 'filter',
|
@@ -543,6 +620,7 @@ class YIT_Plugin_Common {
|
|
543 |
'\f024' => 'flag',
|
544 |
'\f11e' => 'flag-checkered',
|
545 |
'\f11d' => 'flag-o',
|
|
|
546 |
'\f0c3' => 'flask',
|
547 |
'\f16e' => 'flickr',
|
548 |
'\f0c7' => 'floppy-o',
|
@@ -551,50 +629,84 @@ class YIT_Plugin_Common {
|
|
551 |
'\f07c' => 'folder-open',
|
552 |
'\f115' => 'folder-open-o',
|
553 |
'\f031' => 'font',
|
|
|
554 |
'\f04e' => 'forward',
|
555 |
'\f180' => 'foursquare',
|
556 |
'\f119' => 'frown-o',
|
|
|
557 |
'\f11b' => 'gamepad',
|
558 |
'\f0e3' => 'gavel',
|
559 |
'\f154' => 'gbp',
|
|
|
|
|
|
|
|
|
560 |
'\f06b' => 'gift',
|
|
|
|
|
561 |
'\f09b' => 'github',
|
562 |
'\f113' => 'github-alt',
|
563 |
'\f092' => 'github-square',
|
564 |
'\f184' => 'gittip',
|
565 |
'\f000' => 'glass',
|
566 |
'\f0ac' => 'globe',
|
|
|
567 |
'\f0d5' => 'google-plus',
|
568 |
'\f0d4' => 'google-plus-square',
|
|
|
|
|
|
|
|
|
569 |
'\f0fd' => 'h-square',
|
|
|
570 |
'\f0a7' => 'hand-o-down',
|
571 |
'\f0a5' => 'hand-o-left',
|
572 |
'\f0a4' => 'hand-o-right',
|
573 |
'\f0a6' => 'hand-o-up',
|
574 |
'\f0a0' => 'hdd-o',
|
|
|
575 |
'\f025' => 'headphones',
|
576 |
'\f004' => 'heart',
|
577 |
'\f08a' => 'heart-o',
|
|
|
|
|
578 |
'\f015' => 'home',
|
579 |
'\f0f8' => 'hospital-o',
|
|
|
580 |
'\f13b' => 'html5',
|
|
|
|
|
581 |
'\f01c' => 'inbox',
|
582 |
'\f03c' => 'indent',
|
583 |
'\f129' => 'info',
|
584 |
'\f05a' => 'info-circle',
|
585 |
'\f156' => 'inr',
|
586 |
'\f16d' => 'instagram',
|
|
|
|
|
587 |
'\f033' => 'italic',
|
|
|
588 |
'\f157' => 'jpy',
|
|
|
589 |
'\f084' => 'key',
|
590 |
'\f11c' => 'keyboard-o',
|
591 |
'\f159' => 'krw',
|
|
|
592 |
'\f109' => 'laptop',
|
|
|
|
|
593 |
'\f06c' => 'leaf',
|
|
|
|
|
594 |
'\f094' => 'lemon-o',
|
595 |
'\f149' => 'level-down',
|
596 |
'\f148' => 'level-up',
|
|
|
|
|
|
|
|
|
597 |
'\f0eb' => 'lightbulb-o',
|
|
|
598 |
'\f0c1' => 'link',
|
599 |
'\f0e1' => 'linkedin',
|
600 |
'\f08c' => 'linkedin-square',
|
@@ -611,12 +723,22 @@ class YIT_Plugin_Common {
|
|
611 |
'\f176' => 'long-arrow-up',
|
612 |
'\f0d0' => 'magic',
|
613 |
'\f076' => 'magnet',
|
|
|
|
|
614 |
'\f122' => 'mail-reply-all',
|
615 |
'\f183' => 'male',
|
616 |
'\f041' => 'map-marker',
|
|
|
|
|
|
|
|
|
|
|
617 |
'\f136' => 'maxcdn',
|
|
|
|
|
618 |
'\f0fa' => 'medkit',
|
619 |
'\f11a' => 'meh-o',
|
|
|
620 |
'\f130' => 'microphone',
|
621 |
'\f131' => 'microphone-slash',
|
622 |
'\f068' => 'minus',
|
@@ -624,25 +746,45 @@ class YIT_Plugin_Common {
|
|
624 |
'\f146' => 'minus-square',
|
625 |
'\f147' => 'minus-square-o',
|
626 |
'\f10b' => 'mobile',
|
|
|
627 |
'\f0d6' => 'money',
|
628 |
'\f186' => 'moon-o',
|
|
|
|
|
629 |
'\f001' => 'music',
|
|
|
|
|
|
|
|
|
630 |
'\f03b' => 'outdent',
|
631 |
'\f18c' => 'pagelines',
|
|
|
|
|
|
|
632 |
'\f0c6' => 'paperclip',
|
|
|
|
|
633 |
'\f04c' => 'pause',
|
|
|
|
|
634 |
'\f040' => 'pencil',
|
635 |
'\f14b' => 'pencil-square',
|
636 |
'\f044' => 'pencil-square-o',
|
637 |
'\f095' => 'phone',
|
638 |
'\f098' => 'phone-square',
|
|
|
639 |
'\f03e' => 'picture-o',
|
|
|
|
|
|
|
640 |
'\f0d2' => 'pinterest',
|
|
|
641 |
'\f0d3' => 'pinterest-square',
|
642 |
'\f072' => 'plane',
|
643 |
'\f04b' => 'play',
|
644 |
'\f144' => 'play-circle',
|
645 |
'\f01d' => 'play-circle-o',
|
|
|
646 |
'\f067' => 'plus',
|
647 |
'\f055' => 'plus-circle',
|
648 |
'\f0fe' => 'plus-square',
|
@@ -650,71 +792,119 @@ class YIT_Plugin_Common {
|
|
650 |
'\f011' => 'power-off',
|
651 |
'\f02f' => 'print',
|
652 |
'\f12e' => 'puzzle-piece',
|
|
|
653 |
'\f029' => 'qrcode',
|
654 |
'\f128' => 'question',
|
655 |
'\f059' => 'question-circle',
|
656 |
'\f10d' => 'quote-left',
|
657 |
'\f10e' => 'quote-right',
|
|
|
658 |
'\f074' => 'random',
|
|
|
|
|
|
|
|
|
659 |
'\f021' => 'refresh',
|
|
|
660 |
'\f18b' => 'renren',
|
|
|
661 |
'\f01e' => 'repeat',
|
662 |
'\f112' => 'reply',
|
663 |
'\f122' => 'reply-all',
|
664 |
'\f079' => 'retweet',
|
|
|
665 |
'\f018' => 'road',
|
666 |
'\f135' => 'rocket',
|
|
|
|
|
|
|
667 |
'\f09e' => 'rss',
|
668 |
'\f143' => 'rss-square',
|
669 |
'\f158' => 'rub',
|
|
|
|
|
|
|
670 |
'\f0c4' => 'scissors',
|
671 |
'\f002' => 'search',
|
672 |
'\f010' => 'search-minus',
|
673 |
'\f00e' => 'search-plus',
|
|
|
|
|
|
|
|
|
674 |
'\f064' => 'share',
|
|
|
|
|
675 |
'\f14d' => 'share-square',
|
676 |
'\f045' => 'share-square-o',
|
|
|
|
|
677 |
'\f132' => 'shield',
|
|
|
|
|
678 |
'\f07a' => 'shopping-cart',
|
679 |
'\f090' => 'sign-in',
|
680 |
'\f08b' => 'sign-out',
|
681 |
'\f012' => 'signal',
|
|
|
682 |
'\f0e8' => 'sitemap',
|
|
|
683 |
'\f17e' => 'skype',
|
|
|
|
|
|
|
684 |
'\f118' => 'smile-o',
|
|
|
685 |
'\f0dc' => 'sort',
|
686 |
'\f15d' => 'sort-alpha-asc',
|
687 |
'\f15e' => 'sort-alpha-desc',
|
688 |
'\f160' => 'sort-amount-asc',
|
689 |
'\f161' => 'sort-amount-desc',
|
690 |
-
'\
|
691 |
-
'\
|
|
|
692 |
'\f162' => 'sort-numeric-asc',
|
693 |
'\f163' => 'sort-numeric-desc',
|
|
|
|
|
|
|
694 |
'\f110' => 'spinner',
|
|
|
|
|
695 |
'\f0c8' => 'square',
|
696 |
'\f096' => 'square-o',
|
697 |
'\f18d' => 'stack-exchange',
|
698 |
'\f16c' => 'stack-overflow',
|
699 |
'\f005' => 'star',
|
700 |
'\f089' => 'star-half',
|
|
|
|
|
701 |
'\f123' => 'star-half-o',
|
702 |
'\f006' => 'star-o',
|
|
|
|
|
703 |
'\f048' => 'step-backward',
|
704 |
'\f051' => 'step-forward',
|
705 |
'\f0f1' => 'stethoscope',
|
706 |
'\f04d' => 'stop',
|
|
|
707 |
'\f0cc' => 'strikethrough',
|
|
|
|
|
708 |
'\f12c' => 'subscript',
|
|
|
709 |
'\f0f2' => 'suitcase',
|
710 |
'\f185' => 'sun-o',
|
711 |
'\f12b' => 'superscript',
|
|
|
712 |
'\f0ce' => 'table',
|
713 |
'\f10a' => 'tablet',
|
714 |
'\f0e4' => 'tachometer',
|
715 |
'\f02b' => 'tag',
|
716 |
'\f02c' => 'tags',
|
717 |
'\f0ae' => 'tasks',
|
|
|
|
|
718 |
'\f120' => 'terminal',
|
719 |
'\f034' => 'text-height',
|
720 |
'\f035' => 'text-width',
|
@@ -731,40 +921,75 @@ class YIT_Plugin_Common {
|
|
731 |
'\f057' => 'times-circle',
|
732 |
'\f05c' => 'times-circle-o',
|
733 |
'\f043' => 'tint',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
734 |
'\f014' => 'trash-o',
|
|
|
735 |
'\f181' => 'trello',
|
736 |
'\f091' => 'trophy',
|
737 |
'\f0d1' => 'truck',
|
738 |
'\f195' => 'try',
|
|
|
739 |
'\f173' => 'tumblr',
|
740 |
'\f174' => 'tumblr-square',
|
|
|
|
|
741 |
'\f099' => 'twitter',
|
742 |
'\f081' => 'twitter-square',
|
743 |
'\f0e9' => 'umbrella',
|
744 |
'\f0cd' => 'underline',
|
745 |
'\f0e2' => 'undo',
|
|
|
|
|
746 |
'\f09c' => 'unlock',
|
747 |
'\f13e' => 'unlock-alt',
|
|
|
748 |
'\f093' => 'upload',
|
749 |
'\f155' => 'usd',
|
750 |
'\f007' => 'user',
|
751 |
'\f0f0' => 'user-md',
|
|
|
|
|
|
|
752 |
'\f0c0' => 'users',
|
|
|
|
|
|
|
|
|
753 |
'\f03d' => 'video-camera',
|
754 |
'\f194' => 'vimeo-square',
|
|
|
755 |
'\f189' => 'vk',
|
756 |
'\f027' => 'volume-down',
|
757 |
'\f026' => 'volume-off',
|
758 |
'\f028' => 'volume-up',
|
|
|
|
|
759 |
'\f18a' => 'weibo',
|
|
|
|
|
760 |
'\f193' => 'wheelchair',
|
|
|
761 |
'\f17a' => 'windows',
|
|
|
|
|
762 |
'\f0ad' => 'wrench',
|
763 |
'\f168' => 'xing',
|
764 |
'\f169' => 'xing-square',
|
|
|
|
|
|
|
765 |
'\f167' => 'youtube',
|
766 |
'\f16a' => 'youtube-play',
|
767 |
-
'\f166' => 'youtube-square'
|
768 |
),
|
769 |
|
770 |
'awesome_icons_socials' =>array(
|
406 |
'\f0f9' => 'ambulance',
|
407 |
'\f13d' => 'anchor',
|
408 |
'\f17b' => 'android',
|
409 |
+
'\f209' => 'angellist',
|
410 |
'\f103' => 'angle-double-down',
|
411 |
'\f100' => 'angle-double-left',
|
412 |
'\f101' => 'angle-double-right',
|
417 |
'\f106' => 'angle-up',
|
418 |
'\f179' => 'apple',
|
419 |
'\f187' => 'archive',
|
420 |
+
'\f1fe' => 'area-chart',
|
421 |
'\f0ab' => 'arrow-circle-down',
|
422 |
'\f0a8' => 'arrow-circle-left',
|
423 |
'\f01a' => 'arrow-circle-o-down',
|
435 |
'\f07e' => 'arrows-h',
|
436 |
'\f07d' => 'arrows-v',
|
437 |
'\f069' => 'asterisk',
|
438 |
+
'\f1fa' => 'at',
|
439 |
+
'\f1b9' => 'automobile',
|
440 |
'\f04a' => 'backward',
|
441 |
'\f05e' => 'ban',
|
442 |
+
'\f19c' => 'bank',
|
443 |
+
'\f080' => 'bar-chart',
|
444 |
'\f080' => 'bar-chart-o',
|
445 |
'\f02a' => 'barcode',
|
446 |
'\f0c9' => 'bars',
|
447 |
+
'\f236' => 'bed',
|
448 |
'\f0fc' => 'beer',
|
449 |
+
'\f1b4' => 'behance',
|
450 |
+
'\f1b5' => 'behance-square',
|
451 |
'\f0f3' => 'bell',
|
452 |
'\f0a2' => 'bell-o',
|
453 |
+
'\f1f6' => 'bell-slash',
|
454 |
+
'\f1f7' => 'bell-slash-o',
|
455 |
+
'\f206' => 'bicycle',
|
456 |
+
'\f1e5' => 'binoculars',
|
457 |
+
'\f1fd' => 'birthday-cake',
|
458 |
'\f171' => 'bitbucket',
|
459 |
'\f172' => 'bitbucket-square',
|
460 |
+
'\f15a' => 'bitcoin',
|
461 |
'\f032' => 'bold',
|
462 |
'\f0e7' => 'bolt',
|
463 |
+
'\f1e2' => 'bomb',
|
464 |
'\f02d' => 'book',
|
465 |
'\f02e' => 'bookmark',
|
466 |
'\f097' => 'bookmark-o',
|
467 |
'\f0b1' => 'briefcase',
|
468 |
'\f15a' => 'btc',
|
469 |
'\f188' => 'bug',
|
470 |
+
'\f1ad' => 'building',
|
471 |
'\f0f7' => 'building-o',
|
472 |
'\f0a1' => 'bullhorn',
|
473 |
'\f140' => 'bullseye',
|
474 |
+
'\f207' => 'bus',
|
475 |
+
'\f20d' => 'buysellads',
|
476 |
+
'\f1ba' => 'cab',
|
477 |
+
'\f1ec' => 'calculator',
|
478 |
'\f073' => 'calendar',
|
479 |
'\f133' => 'calendar-o',
|
480 |
'\f030' => 'camera',
|
481 |
'\f083' => 'camera-retro',
|
482 |
+
'\f1b9' => 'car',
|
483 |
'\f0d7' => 'caret-down',
|
484 |
'\f0d9' => 'caret-left',
|
485 |
'\f0da' => 'caret-right',
|
488 |
'\f152' => 'caret-square-o-right',
|
489 |
'\f151' => 'caret-square-o-up',
|
490 |
'\f0d8' => 'caret-up',
|
491 |
+
'\f218' => 'cart-arrow-down',
|
492 |
+
'\f217' => 'cart-plus',
|
493 |
+
'\f20a' => 'cc',
|
494 |
+
'\f1f3' => 'cc-amex',
|
495 |
+
'\f1f2' => 'cc-discover',
|
496 |
+
'\f1f1' => 'cc-mastercard',
|
497 |
+
'\f1f4' => 'cc-paypal',
|
498 |
+
'\f1f5' => 'cc-stripe',
|
499 |
+
'\f1f0' => 'cc-visa',
|
500 |
'\f0a3' => 'certificate',
|
501 |
+
'\f0c1' => 'chain',
|
502 |
'\f127' => 'chain-broken',
|
503 |
'\f00c' => 'check',
|
504 |
'\f058' => 'check-circle',
|
513 |
'\f053' => 'chevron-left',
|
514 |
'\f054' => 'chevron-right',
|
515 |
'\f077' => 'chevron-up',
|
516 |
+
'\f1ae' => 'child',
|
517 |
+
'\f111' => 'circle',
|
518 |
'\f10c' => 'circle-o',
|
519 |
+
'\f1ce' => 'circle-o-notch',
|
520 |
+
'\f1db' => 'circle-thin',
|
521 |
'\f0ea' => 'clipboard',
|
522 |
'\f017' => 'clock-o',
|
523 |
+
'\f00d' => 'close',
|
524 |
'\f0c2' => 'cloud',
|
525 |
'\f0ed' => 'cloud-download',
|
526 |
'\f0ee' => 'cloud-upload',
|
527 |
+
'\f157' => 'cny',
|
528 |
'\f121' => 'code',
|
529 |
'\f126' => 'code-fork',
|
530 |
+
'\f1cb' => 'codepen',
|
531 |
'\f0f4' => 'coffee',
|
532 |
'\f013' => 'cog',
|
533 |
'\f085' => 'cogs',
|
538 |
'\f0e6' => 'comments-o',
|
539 |
'\f14e' => 'compass',
|
540 |
'\f066' => 'compress',
|
541 |
+
'\f20e' => 'connectdevelop',
|
542 |
+
'\f0c5' => 'copy',
|
543 |
+
'\f1f9' => 'copyright',
|
544 |
'\f09d' => 'credit-card',
|
545 |
'\f125' => 'crop',
|
546 |
'\f05b' => 'crosshairs',
|
547 |
'\f13c' => 'css3',
|
548 |
+
'\f1b2' => 'cube',
|
549 |
+
'\f1b3' => 'cubes',
|
550 |
+
'\f0c4' => 'cut',
|
551 |
'\f0f5' => 'cutlery',
|
552 |
+
'\f0e4' => 'dashboard',
|
553 |
+
'\f210' => 'dashcube',
|
554 |
+
'\f1c0' => 'database',
|
555 |
+
'\f03b' => 'dedent',
|
556 |
+
'\f1a5' => 'delicious',
|
557 |
'\f108' => 'desktop',
|
558 |
+
'\f1bd' => 'deviantart',
|
559 |
+
'\f219' => 'diamond',
|
560 |
+
'\f1a6' => 'digg',
|
561 |
+
'\f155' => 'dollar',
|
562 |
'\f192' => 'dot-circle-o',
|
563 |
'\f019' => 'download',
|
564 |
'\f17d' => 'dribbble',
|
565 |
'\f16b' => 'dropbox',
|
566 |
+
'\f1a9' => 'drupal',
|
567 |
+
'\f044' => 'edit',
|
568 |
'\f052' => 'eject',
|
569 |
'\f141' => 'ellipsis-h',
|
570 |
'\f142' => 'ellipsis-v',
|
571 |
+
'\f1d1' => 'empire',
|
572 |
'\f0e0' => 'envelope',
|
573 |
'\f003' => 'envelope-o',
|
574 |
+
'\f199' => 'envelope-square',
|
575 |
'\f12d' => 'eraser',
|
576 |
'\f153' => 'eur',
|
577 |
+
'\f153' => 'euro',
|
578 |
'\f0ec' => 'exchange',
|
579 |
'\f12a' => 'exclamation',
|
580 |
'\f06a' => 'exclamation-circle',
|
584 |
'\f14c' => 'external-link-square',
|
585 |
'\f06e' => 'eye',
|
586 |
'\f070' => 'eye-slash',
|
587 |
+
'\f1fb' => 'eyedropper',
|
588 |
'\f09a' => 'facebook',
|
589 |
+
'\f09a' => 'facebook-f',
|
590 |
+
'\f230' => 'facebook-official',
|
591 |
'\f082' => 'facebook-square',
|
592 |
'\f049' => 'fast-backward',
|
593 |
'\f050' => 'fast-forward',
|
594 |
+
'\f1ac' => 'fax',
|
595 |
'\f182' => 'female',
|
596 |
'\f0fb' => 'fighter-jet',
|
597 |
'\f15b' => 'file',
|
598 |
+
'\f1c6' => 'file-archive-o',
|
599 |
+
'\f1c7' => 'file-audio-o',
|
600 |
+
'\f1c9' => 'file-code-o',
|
601 |
+
'\f1c3' => 'file-excel-o',
|
602 |
+
'\f1c5' => 'file-image-o',
|
603 |
+
'\f1c8' => 'file-movie-o',
|
604 |
'\f016' => 'file-o',
|
605 |
+
'\f1c1' => 'file-pdf-o',
|
606 |
+
'\f1c5' => 'file-photo-o',
|
607 |
+
'\f1c5' => 'file-picture-o',
|
608 |
+
'\f1c4' => 'file-powerpoint-o',
|
609 |
+
'\f1c7' => 'file-sound-o',
|
610 |
'\f15c' => 'file-text',
|
611 |
'\f0f6' => 'file-text-o',
|
612 |
+
'\f1c8' => 'file-video-o',
|
613 |
+
'\f1c2' => 'file-word-o',
|
614 |
+
'\f1c6' => 'file-zip-o',
|
615 |
'\f0c5' => 'files-o',
|
616 |
'\f008' => 'film',
|
617 |
'\f0b0' => 'filter',
|
620 |
'\f024' => 'flag',
|
621 |
'\f11e' => 'flag-checkered',
|
622 |
'\f11d' => 'flag-o',
|
623 |
+
'\f0e7' => 'flash',
|
624 |
'\f0c3' => 'flask',
|
625 |
'\f16e' => 'flickr',
|
626 |
'\f0c7' => 'floppy-o',
|
629 |
'\f07c' => 'folder-open',
|
630 |
'\f115' => 'folder-open-o',
|
631 |
'\f031' => 'font',
|
632 |
+
'\f211' => 'forumbee',
|
633 |
'\f04e' => 'forward',
|
634 |
'\f180' => 'foursquare',
|
635 |
'\f119' => 'frown-o',
|
636 |
+
'\f1e3' => 'futbol-o',
|
637 |
'\f11b' => 'gamepad',
|
638 |
'\f0e3' => 'gavel',
|
639 |
'\f154' => 'gbp',
|
640 |
+
'\f1d1' => 'ge',
|
641 |
+
'\f013' => 'gear',
|
642 |
+
'\f085' => 'gears',
|
643 |
+
'\f1db' => 'genderless',
|
644 |
'\f06b' => 'gift',
|
645 |
+
'\f1d3' => 'git',
|
646 |
+
'\f1d2' => 'git-square',
|
647 |
'\f09b' => 'github',
|
648 |
'\f113' => 'github-alt',
|
649 |
'\f092' => 'github-square',
|
650 |
'\f184' => 'gittip',
|
651 |
'\f000' => 'glass',
|
652 |
'\f0ac' => 'globe',
|
653 |
+
'\f1a0' => 'google',
|
654 |
'\f0d5' => 'google-plus',
|
655 |
'\f0d4' => 'google-plus-square',
|
656 |
+
'\f1ee' => 'google-wallet',
|
657 |
+
'\f19d' => 'graduation-cap',
|
658 |
+
'\f184' => 'gratipay',
|
659 |
+
'\f0c0' => 'group',
|
660 |
'\f0fd' => 'h-square',
|
661 |
+
'\f1d4' => 'hacker-news',
|
662 |
'\f0a7' => 'hand-o-down',
|
663 |
'\f0a5' => 'hand-o-left',
|
664 |
'\f0a4' => 'hand-o-right',
|
665 |
'\f0a6' => 'hand-o-up',
|
666 |
'\f0a0' => 'hdd-o',
|
667 |
+
'\f1dc' => 'header',
|
668 |
'\f025' => 'headphones',
|
669 |
'\f004' => 'heart',
|
670 |
'\f08a' => 'heart-o',
|
671 |
+
'\f21e' => 'heartbeat',
|
672 |
+
'\f1da' => 'history',
|
673 |
'\f015' => 'home',
|
674 |
'\f0f8' => 'hospital-o',
|
675 |
+
'\f236' => 'hotel',
|
676 |
'\f13b' => 'html5',
|
677 |
+
'\f20b' => 'ils',
|
678 |
+
'\f03e' => 'image',
|
679 |
'\f01c' => 'inbox',
|
680 |
'\f03c' => 'indent',
|
681 |
'\f129' => 'info',
|
682 |
'\f05a' => 'info-circle',
|
683 |
'\f156' => 'inr',
|
684 |
'\f16d' => 'instagram',
|
685 |
+
'\f19c' => 'institution',
|
686 |
+
'\f208' => 'ioxhost',
|
687 |
'\f033' => 'italic',
|
688 |
+
'\f1aa' => 'joomla',
|
689 |
'\f157' => 'jpy',
|
690 |
+
'\f1cc' => 'jsfiddle',
|
691 |
'\f084' => 'key',
|
692 |
'\f11c' => 'keyboard-o',
|
693 |
'\f159' => 'krw',
|
694 |
+
'\f1ab' => 'language',
|
695 |
'\f109' => 'laptop',
|
696 |
+
'\f202' => 'lastfm',
|
697 |
+
'\f203' => 'lastfm-square',
|
698 |
'\f06c' => 'leaf',
|
699 |
+
'\f212' => 'leanpub',
|
700 |
+
'\f0e3' => 'legal',
|
701 |
'\f094' => 'lemon-o',
|
702 |
'\f149' => 'level-down',
|
703 |
'\f148' => 'level-up',
|
704 |
+
'\f1cd' => 'life-bouy',
|
705 |
+
'\f1cd' => 'life-buoy',
|
706 |
+
'\f1cd' => 'life-ring',
|
707 |
+
'\f1cd' => 'life-saver',
|
708 |
'\f0eb' => 'lightbulb-o',
|
709 |
+
'\f201' => 'line-chart',
|
710 |
'\f0c1' => 'link',
|
711 |
'\f0e1' => 'linkedin',
|
712 |
'\f08c' => 'linkedin-square',
|
723 |
'\f176' => 'long-arrow-up',
|
724 |
'\f0d0' => 'magic',
|
725 |
'\f076' => 'magnet',
|
726 |
+
'\f064' => 'mail-forward',
|
727 |
+
'\f112' => 'mail-reply',
|
728 |
'\f122' => 'mail-reply-all',
|
729 |
'\f183' => 'male',
|
730 |
'\f041' => 'map-marker',
|
731 |
+
'\f222' => 'mars',
|
732 |
+
'\f227' => 'mars-double',
|
733 |
+
'\f229' => 'mars-stroke',
|
734 |
+
'\f22b' => 'mars-stroke-h',
|
735 |
+
'\f22a' => 'mars-stroke-v',
|
736 |
'\f136' => 'maxcdn',
|
737 |
+
'\f20c' => 'meanpath',
|
738 |
+
'\f23a' => 'medium',
|
739 |
'\f0fa' => 'medkit',
|
740 |
'\f11a' => 'meh-o',
|
741 |
+
'\f223' => 'mercury',
|
742 |
'\f130' => 'microphone',
|
743 |
'\f131' => 'microphone-slash',
|
744 |
'\f068' => 'minus',
|
746 |
'\f146' => 'minus-square',
|
747 |
'\f147' => 'minus-square-o',
|
748 |
'\f10b' => 'mobile',
|
749 |
+
'\f10b' => 'mobile-phone',
|
750 |
'\f0d6' => 'money',
|
751 |
'\f186' => 'moon-o',
|
752 |
+
'\f19d' => 'mortar-board',
|
753 |
+
'\f21c' => 'motorcycle',
|
754 |
'\f001' => 'music',
|
755 |
+
'\f0c9' => 'navicon',
|
756 |
+
'\f22c' => 'neuter',
|
757 |
+
'\f1ea' => 'newspaper-o',
|
758 |
+
'\f19b' => 'openid',
|
759 |
'\f03b' => 'outdent',
|
760 |
'\f18c' => 'pagelines',
|
761 |
+
'\f1fc' => 'paint-brush',
|
762 |
+
'\f1d8' => 'paper-plane',
|
763 |
+
'\f1d9' => 'paper-plane-o',
|
764 |
'\f0c6' => 'paperclip',
|
765 |
+
'\f1dd' => 'paragraph',
|
766 |
+
'\f0ea' => 'paste',
|
767 |
'\f04c' => 'pause',
|
768 |
+
'\f1b0' => 'paw',
|
769 |
+
'\f1ed' => 'paypal',
|
770 |
'\f040' => 'pencil',
|
771 |
'\f14b' => 'pencil-square',
|
772 |
'\f044' => 'pencil-square-o',
|
773 |
'\f095' => 'phone',
|
774 |
'\f098' => 'phone-square',
|
775 |
+
'\f03e' => 'photo',
|
776 |
'\f03e' => 'picture-o',
|
777 |
+
'\f200' => 'pie-chart',
|
778 |
+
'\f1a7' => 'pied-piper',
|
779 |
+
'\f1a8' => 'pied-piper-alt',
|
780 |
'\f0d2' => 'pinterest',
|
781 |
+
'\f231' => 'pinterest-p',
|
782 |
'\f0d3' => 'pinterest-square',
|
783 |
'\f072' => 'plane',
|
784 |
'\f04b' => 'play',
|
785 |
'\f144' => 'play-circle',
|
786 |
'\f01d' => 'play-circle-o',
|
787 |
+
'\f1e6' => 'plug',
|
788 |
'\f067' => 'plus',
|
789 |
'\f055' => 'plus-circle',
|
790 |
'\f0fe' => 'plus-square',
|
792 |
'\f011' => 'power-off',
|
793 |
'\f02f' => 'print',
|
794 |
'\f12e' => 'puzzle-piece',
|
795 |
+
'\f1d6' => 'qq',
|
796 |
'\f029' => 'qrcode',
|
797 |
'\f128' => 'question',
|
798 |
'\f059' => 'question-circle',
|
799 |
'\f10d' => 'quote-left',
|
800 |
'\f10e' => 'quote-right',
|
801 |
+
'\f1d0' => 'ra',
|
802 |
'\f074' => 'random',
|
803 |
+
'\f1d0' => 'rebel',
|
804 |
+
'\f1b8' => 'recycle',
|
805 |
+
'\f1a1' => 'reddit',
|
806 |
+
'\f1a2' => 'reddit-square',
|
807 |
'\f021' => 'refresh',
|
808 |
+
'\f00d' => 'remove',
|
809 |
'\f18b' => 'renren',
|
810 |
+
'\f0c9' => 'reorder',
|
811 |
'\f01e' => 'repeat',
|
812 |
'\f112' => 'reply',
|
813 |
'\f122' => 'reply-all',
|
814 |
'\f079' => 'retweet',
|
815 |
+
'\f157' => 'rmb',
|
816 |
'\f018' => 'road',
|
817 |
'\f135' => 'rocket',
|
818 |
+
'\f0e2' => 'rotate-left',
|
819 |
+
'\f01e' => 'rotate-right',
|
820 |
+
'\f158' => 'rouble',
|
821 |
'\f09e' => 'rss',
|
822 |
'\f143' => 'rss-square',
|
823 |
'\f158' => 'rub',
|
824 |
+
'\f158' => 'ruble',
|
825 |
+
'\f156' => 'rupee',
|
826 |
+
'\f0c7' => 'save',
|
827 |
'\f0c4' => 'scissors',
|
828 |
'\f002' => 'search',
|
829 |
'\f010' => 'search-minus',
|
830 |
'\f00e' => 'search-plus',
|
831 |
+
'\f213' => 'sellsy',
|
832 |
+
'\f1d8' => 'send',
|
833 |
+
'\f1d9' => 'send-o',
|
834 |
+
'\f233' => 'server',
|
835 |
'\f064' => 'share',
|
836 |
+
'\f1e0' => 'share-alt',
|
837 |
+
'\f1e1' => 'share-alt-square',
|
838 |
'\f14d' => 'share-square',
|
839 |
'\f045' => 'share-square-o',
|
840 |
+
'\f20b' => 'shekel',
|
841 |
+
'\f20b' => 'sheqel',
|
842 |
'\f132' => 'shield',
|
843 |
+
'\f21a' => 'ship',
|
844 |
+
'\f214' => 'shirtsinbulk',
|
845 |
'\f07a' => 'shopping-cart',
|
846 |
'\f090' => 'sign-in',
|
847 |
'\f08b' => 'sign-out',
|
848 |
'\f012' => 'signal',
|
849 |
+
'\f215' => 'simplybuilt',
|
850 |
'\f0e8' => 'sitemap',
|
851 |
+
'\f216' => 'skyatlas',
|
852 |
'\f17e' => 'skype',
|
853 |
+
'\f198' => 'slack',
|
854 |
+
'\f1de' => 'sliders',
|
855 |
+
'\f1e7' => 'slideshare',
|
856 |
'\f118' => 'smile-o',
|
857 |
+
'\f1e3' => 'soccer-ball-o',
|
858 |
'\f0dc' => 'sort',
|
859 |
'\f15d' => 'sort-alpha-asc',
|
860 |
'\f15e' => 'sort-alpha-desc',
|
861 |
'\f160' => 'sort-amount-asc',
|
862 |
'\f161' => 'sort-amount-desc',
|
863 |
+
'\f0de' => 'sort-asc',
|
864 |
+
'\f0dd' => 'sort-desc',
|
865 |
+
'\f0dd' => 'sort-down',
|
866 |
'\f162' => 'sort-numeric-asc',
|
867 |
'\f163' => 'sort-numeric-desc',
|
868 |
+
'\f0de' => 'sort-up',
|
869 |
+
'\f1be' => 'soundcloud',
|
870 |
+
'\f197' => 'space-shuttle',
|
871 |
'\f110' => 'spinner',
|
872 |
+
'\f1b1' => 'spoon',
|
873 |
+
'\f1bc' => 'spotify',
|
874 |
'\f0c8' => 'square',
|
875 |
'\f096' => 'square-o',
|
876 |
'\f18d' => 'stack-exchange',
|
877 |
'\f16c' => 'stack-overflow',
|
878 |
'\f005' => 'star',
|
879 |
'\f089' => 'star-half',
|
880 |
+
'\f123' => 'star-half-empty',
|
881 |
+
'\f123' => 'star-half-full',
|
882 |
'\f123' => 'star-half-o',
|
883 |
'\f006' => 'star-o',
|
884 |
+
'\f1b6' => 'steam',
|
885 |
+
'\f1b7' => 'steam-square',
|
886 |
'\f048' => 'step-backward',
|
887 |
'\f051' => 'step-forward',
|
888 |
'\f0f1' => 'stethoscope',
|
889 |
'\f04d' => 'stop',
|
890 |
+
'\f21d' => 'street-view',
|
891 |
'\f0cc' => 'strikethrough',
|
892 |
+
'\f1a4' => 'stumbleupon',
|
893 |
+
'\f1a3' => 'stumbleupon-circle',
|
894 |
'\f12c' => 'subscript',
|
895 |
+
'\f239' => 'subway',
|
896 |
'\f0f2' => 'suitcase',
|
897 |
'\f185' => 'sun-o',
|
898 |
'\f12b' => 'superscript',
|
899 |
+
'\f1cd' => 'support',
|
900 |
'\f0ce' => 'table',
|
901 |
'\f10a' => 'tablet',
|
902 |
'\f0e4' => 'tachometer',
|
903 |
'\f02b' => 'tag',
|
904 |
'\f02c' => 'tags',
|
905 |
'\f0ae' => 'tasks',
|
906 |
+
'\f1ba' => 'taxi',
|
907 |
+
'\f1d5' => 'tencent-weibo',
|
908 |
'\f120' => 'terminal',
|
909 |
'\f034' => 'text-height',
|
910 |
'\f035' => 'text-width',
|
921 |
'\f057' => 'times-circle',
|
922 |
'\f05c' => 'times-circle-o',
|
923 |
'\f043' => 'tint',
|
924 |
+
'\f150' => 'toggle-down',
|
925 |
+
'\f191' => 'toggle-left',
|
926 |
+
'\f204' => 'toggle-off',
|
927 |
+
'\f205' => 'toggle-on',
|
928 |
+
'\f152' => 'toggle-right',
|
929 |
+
'\f151' => 'toggle-up',
|
930 |
+
'\f238' => 'train',
|
931 |
+
'\f224' => 'transgender',
|
932 |
+
'\f225' => 'transgender-alt',
|
933 |
+
'\f1f8' => 'trash',
|
934 |
'\f014' => 'trash-o',
|
935 |
+
'\f1bb' => 'tree',
|
936 |
'\f181' => 'trello',
|
937 |
'\f091' => 'trophy',
|
938 |
'\f0d1' => 'truck',
|
939 |
'\f195' => 'try',
|
940 |
+
'\f1e4' => 'tty',
|
941 |
'\f173' => 'tumblr',
|
942 |
'\f174' => 'tumblr-square',
|
943 |
+
'\f195' => 'turkish-lira',
|
944 |
+
'\f1e8' => 'twitch',
|
945 |
'\f099' => 'twitter',
|
946 |
'\f081' => 'twitter-square',
|
947 |
'\f0e9' => 'umbrella',
|
948 |
'\f0cd' => 'underline',
|
949 |
'\f0e2' => 'undo',
|
950 |
+
'\f19c' => 'university',
|
951 |
+
'\f127' => 'unlink',
|
952 |
'\f09c' => 'unlock',
|
953 |
'\f13e' => 'unlock-alt',
|
954 |
+
'\f0dc' => 'unsorted',
|
955 |
'\f093' => 'upload',
|
956 |
'\f155' => 'usd',
|
957 |
'\f007' => 'user',
|
958 |
'\f0f0' => 'user-md',
|
959 |
+
'\f234' => 'user-plus',
|
960 |
+
'\f21b' => 'user-secret',
|
961 |
+
'\f235' => 'user-times',
|
962 |
'\f0c0' => 'users',
|
963 |
+
'\f221' => 'venus',
|
964 |
+
'\f226' => 'venus-double',
|
965 |
+
'\f228' => 'venus-mars',
|
966 |
+
'\f237' => 'viacoin',
|
967 |
'\f03d' => 'video-camera',
|
968 |
'\f194' => 'vimeo-square',
|
969 |
+
'\f1ca' => 'vine',
|
970 |
'\f189' => 'vk',
|
971 |
'\f027' => 'volume-down',
|
972 |
'\f026' => 'volume-off',
|
973 |
'\f028' => 'volume-up',
|
974 |
+
'\f071' => 'warning',
|
975 |
+
'\f1d7' => 'wechat',
|
976 |
'\f18a' => 'weibo',
|
977 |
+
'\f1d7' => 'weixin',
|
978 |
+
'\f232' => 'whatsapp',
|
979 |
'\f193' => 'wheelchair',
|
980 |
+
'\f1eb' => 'wifi',
|
981 |
'\f17a' => 'windows',
|
982 |
+
'\f159' => 'won',
|
983 |
+
'\f19a' => 'wordpress',
|
984 |
'\f0ad' => 'wrench',
|
985 |
'\f168' => 'xing',
|
986 |
'\f169' => 'xing-square',
|
987 |
+
'\f19e' => 'yahoo',
|
988 |
+
'\f1e9' => 'yelp',
|
989 |
+
'\f157' => 'yen',
|
990 |
'\f167' => 'youtube',
|
991 |
'\f16a' => 'youtube-play',
|
992 |
+
'\f166' => 'youtube-square',
|
993 |
),
|
994 |
|
995 |
'awesome_icons_socials' =>array(
|
plugin-fw/lib/yit-plugin-panel-wc.php
CHANGED
@@ -232,26 +232,6 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
232 |
}
|
233 |
}
|
234 |
|
235 |
-
/**
|
236 |
-
* Fire the action to print the custom tab
|
237 |
-
*
|
238 |
-
* @param $current_tab string
|
239 |
-
*
|
240 |
-
* @return void
|
241 |
-
* @since 1.0
|
242 |
-
* @author Antonino Scarfì <antonino.scarfi@yithemes.com>
|
243 |
-
*/
|
244 |
-
public function print_video_box() {
|
245 |
-
$file = $this->settings['options-path'] . '/video-box.php';
|
246 |
-
|
247 |
-
if ( ! file_exists( $file ) ) {
|
248 |
-
return;
|
249 |
-
}
|
250 |
-
|
251 |
-
$args = include_once( $file );
|
252 |
-
$this->yit_videobox( $args );
|
253 |
-
}
|
254 |
-
|
255 |
/**
|
256 |
* Update options
|
257 |
*
|
232 |
}
|
233 |
}
|
234 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
/**
|
236 |
* Update options
|
237 |
*
|
plugin-fw/lib/yit-plugin-panel.php
CHANGED
@@ -46,12 +46,14 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
46 |
*/
|
47 |
private $_main_array_options = array();
|
48 |
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
|
|
55 |
public function __construct( $args = array() ) {
|
56 |
|
57 |
if ( ! empty( $args ) ) {
|
@@ -60,7 +62,9 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
60 |
'parent_slug' => 'edit.php?',
|
61 |
'page_title' => __( 'Plugin Settings', 'yit' ),
|
62 |
'menu_title' => __( 'Settings', 'yit' ),
|
63 |
-
'capability' => 'manage_options'
|
|
|
|
|
64 |
);
|
65 |
|
66 |
$this->settings = wp_parse_args( $args, $default_args );
|
@@ -70,14 +74,11 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
70 |
$this->add_menu_page();
|
71 |
}
|
72 |
|
73 |
-
add_action( 'admin_init', array(
|
74 |
-
add_action( 'admin_menu', array(
|
75 |
-
add_action( 'admin_bar_menu', array(
|
76 |
-
add_action( 'admin_init', array(
|
77 |
|
78 |
-
/* Add VideoBox and InfoBox */
|
79 |
-
add_action( 'woocommerce_admin_field_boxinfo', array( $this, 'add_infobox' ), 10, 1 );
|
80 |
-
add_action( 'woocommerce_admin_field_videobox', array( $this, 'add_videobox' ), 10, 1 );
|
81 |
}
|
82 |
|
83 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
@@ -118,14 +119,18 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
118 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
119 |
*/
|
120 |
public function admin_enqueue_scripts() {
|
|
|
|
|
|
|
121 |
//scripts
|
122 |
wp_enqueue_media();
|
123 |
wp_enqueue_script( 'jquery-ui' );
|
124 |
wp_enqueue_script( 'jquery-ui-core' );
|
125 |
wp_enqueue_script( 'jquery-ui-slider' );
|
|
|
126 |
wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
|
127 |
wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
|
128 |
-
wp_enqueue_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.
|
129 |
wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
|
130 |
wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
|
131 |
|
@@ -133,9 +138,14 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
133 |
wp_register_style( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/css/codemirror/codemirror.css' );
|
134 |
|
135 |
//styles
|
|
|
|
|
|
|
136 |
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' );
|
137 |
wp_enqueue_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $this->version );
|
138 |
wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
|
|
|
|
|
139 |
}
|
140 |
|
141 |
/**
|
@@ -148,7 +158,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
148 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
149 |
*/
|
150 |
public function register_settings() {
|
151 |
-
register_setting( 'yit_' . $this->settings['parent'] . '_options', 'yit_' . $this->settings['parent'] . '_options', array(
|
152 |
}
|
153 |
|
154 |
/**
|
@@ -223,7 +233,15 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
223 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
224 |
*/
|
225 |
public function add_setting_page() {
|
226 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
/* === Duplicate Items Hack === */
|
228 |
$this->remove_duplicate_submenu_page();
|
229 |
do_action( 'yit_after_add_settings_page' );
|
@@ -261,6 +279,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
261 |
return;
|
262 |
}
|
263 |
?>
|
|
|
264 |
<div id="wrap" class="plugin-option">
|
265 |
<?php $this->message(); ?>
|
266 |
<h2><?php echo $this->get_tab_title() ?></h2>
|
@@ -275,7 +294,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
275 |
<form method="post">
|
276 |
<?php $warning = __( 'If you continue with this action, you will reset all options in this page.', 'yit' ) ?>
|
277 |
<input type="hidden" name="yit-action" value="reset" />
|
278 |
-
<input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset
|
279 |
</form>
|
280 |
<p> </p>
|
281 |
<?php endif ?>
|
@@ -754,6 +773,25 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
754 |
}
|
755 |
}
|
756 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
757 |
}
|
758 |
|
759 |
}
|
46 |
*/
|
47 |
private $_main_array_options = array();
|
48 |
|
49 |
+
/**
|
50 |
+
* Constructor
|
51 |
+
*
|
52 |
+
* @since 1.0
|
53 |
+
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
54 |
+
*
|
55 |
+
* @param array $args
|
56 |
+
*/
|
57 |
public function __construct( $args = array() ) {
|
58 |
|
59 |
if ( ! empty( $args ) ) {
|
62 |
'parent_slug' => 'edit.php?',
|
63 |
'page_title' => __( 'Plugin Settings', 'yit' ),
|
64 |
'menu_title' => __( 'Settings', 'yit' ),
|
65 |
+
'capability' => 'manage_options',
|
66 |
+
'icon_url' => '',
|
67 |
+
'position' => null
|
68 |
);
|
69 |
|
70 |
$this->settings = wp_parse_args( $args, $default_args );
|
74 |
$this->add_menu_page();
|
75 |
}
|
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 |
|
84 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
119 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
120 |
*/
|
121 |
public function admin_enqueue_scripts() {
|
122 |
+
|
123 |
+
global $wp_scripts;
|
124 |
+
|
125 |
//scripts
|
126 |
wp_enqueue_media();
|
127 |
wp_enqueue_script( 'jquery-ui' );
|
128 |
wp_enqueue_script( 'jquery-ui-core' );
|
129 |
wp_enqueue_script( 'jquery-ui-slider' );
|
130 |
+
wp_enqueue_script( 'jquery-ui-dialog' );
|
131 |
wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
|
132 |
wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
|
133 |
+
wp_enqueue_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
|
134 |
wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
|
135 |
wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
|
136 |
|
138 |
wp_register_style( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/css/codemirror/codemirror.css' );
|
139 |
|
140 |
//styles
|
141 |
+
|
142 |
+
$jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.9.2';
|
143 |
+
|
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_enqueue_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 |
+
|
148 |
+
wp_enqueue_style( 'jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
|
149 |
}
|
150 |
|
151 |
/**
|
158 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
159 |
*/
|
160 |
public function register_settings() {
|
161 |
+
register_setting( 'yit_' . $this->settings['parent'] . '_options', 'yit_' . $this->settings['parent'] . '_options', array( $this, 'options_validate' ) );
|
162 |
}
|
163 |
|
164 |
/**
|
233 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
234 |
*/
|
235 |
public function add_setting_page() {
|
236 |
+
$this->settings['icon_url'] = isset( $this->settings['icon_url'] ) ? $this->settings['icon_url'] : '';
|
237 |
+
$this->settings['position'] = isset( $this->settings['position'] ) ? $this->settings['position'] : null;
|
238 |
+
$parent = $this->settings['parent_slug'] . $this->settings['parent_page'];
|
239 |
+
|
240 |
+
if ( ! empty( $parent ) ) {
|
241 |
+
add_submenu_page( $parent, $this->settings['page_title'], $this->settings['menu_title'], $this->settings['capability'], $this->settings['page'], array( $this, 'yit_panel' ) );
|
242 |
+
} else {
|
243 |
+
add_menu_page( $this->settings['page_title'], $this->settings['menu_title'], $this->settings['capability'], $this->settings['page'], array( $this, 'yit_panel' ), $this->settings['icon_url'], $this->settings['position'] );
|
244 |
+
}
|
245 |
/* === Duplicate Items Hack === */
|
246 |
$this->remove_duplicate_submenu_page();
|
247 |
do_action( 'yit_after_add_settings_page' );
|
279 |
return;
|
280 |
}
|
281 |
?>
|
282 |
+
<?php $this->print_video_box(); ?>
|
283 |
<div id="wrap" class="plugin-option">
|
284 |
<?php $this->message(); ?>
|
285 |
<h2><?php echo $this->get_tab_title() ?></h2>
|
294 |
<form method="post">
|
295 |
<?php $warning = __( 'If you continue with this action, you will reset all options in this page.', 'yit' ) ?>
|
296 |
<input type="hidden" name="yit-action" value="reset" />
|
297 |
+
<input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset to Default', 'yit' ) ?>" onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yit' ) ?>');" />
|
298 |
</form>
|
299 |
<p> </p>
|
300 |
<?php endif ?>
|
773 |
}
|
774 |
}
|
775 |
|
776 |
+
/**
|
777 |
+
* Fire the action to print the custom tab
|
778 |
+
*
|
779 |
+
* @return void
|
780 |
+
* @since 1.0
|
781 |
+
* @author Antonino Scarfì <antonino.scarfi@yithemes.com>
|
782 |
+
*/
|
783 |
+
public function print_video_box() {
|
784 |
+
$file = $this->settings['options-path'] . '/video-box.php';
|
785 |
+
|
786 |
+
if ( ! file_exists( $file ) ) {
|
787 |
+
return;
|
788 |
+
}
|
789 |
+
|
790 |
+
$args = include_once( $file );
|
791 |
+
|
792 |
+
$this->add_videobox( $args );
|
793 |
+
}
|
794 |
+
|
795 |
}
|
796 |
|
797 |
}
|
plugin-fw/lib/yit-plugin-subpanel.php
CHANGED
@@ -144,7 +144,7 @@ if ( ! class_exists( 'YIT_Plugin_SubPanel' ) ) {
|
|
144 |
<form method="post">
|
145 |
<?php $warning = __( 'If you continue with this action, you will reset all the options in this page.', 'yit' ) ?>
|
146 |
<input type="hidden" name="yit-action" value="reset" />
|
147 |
-
<input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset
|
148 |
</form>
|
149 |
<p> </p>
|
150 |
<?php endif ?>
|
144 |
<form method="post">
|
145 |
<?php $warning = __( 'If you continue with this action, you will reset all the options in this page.', 'yit' ) ?>
|
146 |
<input type="hidden" name="yit-action" value="reset" />
|
147 |
+
<input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset to Default', 'yit' ) ?>" onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yit' ) ?>');" />
|
148 |
</form>
|
149 |
<p> </p>
|
150 |
<?php endif ?>
|
plugin-fw/lib/yit-video.php
CHANGED
@@ -121,7 +121,9 @@ if ( ! class_exists( 'YIT_Video' ) ) {
|
|
121 |
*/
|
122 |
public static function video_id_by_url( $url ) {
|
123 |
$parsed = parse_url( esc_url( $url ) );
|
124 |
-
|
|
|
|
|
125 |
switch ( $parsed['host'] ) {
|
126 |
|
127 |
case 'www.youtube.com' :
|
121 |
*/
|
122 |
public static function video_id_by_url( $url ) {
|
123 |
$parsed = parse_url( esc_url( $url ) );
|
124 |
+
if ( ! isset( $parsed['host'] ) ) {
|
125 |
+
return false;
|
126 |
+
}
|
127 |
switch ( $parsed['host'] ) {
|
128 |
|
129 |
case 'www.youtube.com' :
|
plugin-fw/templates/metaboxes/types/ajax-products.php
CHANGED
@@ -38,9 +38,7 @@ $multiple = ( $is_multiple ) ? ' multiple' : '';
|
|
38 |
<script>
|
39 |
|
40 |
(function ($) {
|
41 |
-
|
42 |
-
// Ajax Chosen Product Selectors
|
43 |
-
|
44 |
$("select.ajax_chosen_select_products").ajaxChosen({
|
45 |
method: 'GET',
|
46 |
url: '<?php echo admin_url('admin-ajax.php') ?>',
|
@@ -59,6 +57,7 @@ $multiple = ( $is_multiple ) ? ' multiple' : '';
|
|
59 |
|
60 |
return terms;
|
61 |
});
|
|
|
62 |
|
63 |
})(jQuery);
|
64 |
</script>
|
38 |
<script>
|
39 |
|
40 |
(function ($) {
|
41 |
+
$(document).ready(function(){
|
|
|
|
|
42 |
$("select.ajax_chosen_select_products").ajaxChosen({
|
43 |
method: 'GET',
|
44 |
url: '<?php echo admin_url('admin-ajax.php') ?>',
|
57 |
|
58 |
return terms;
|
59 |
});
|
60 |
+
})
|
61 |
|
62 |
})(jQuery);
|
63 |
</script>
|
plugin-fw/templates/panel/videobox.php
CHANGED
@@ -38,8 +38,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
38 |
* ),
|
39 |
*/
|
40 |
?>
|
41 |
-
<div id="normal-sortables" class="meta-box-sortables">
|
42 |
-
<div id="<?php echo $id ?>" class="postbox
|
43 |
<h3><span><?php echo $name ?></span></h3>
|
44 |
<div class="inside">
|
45 |
<div class="yith_videobox">
|
38 |
* ),
|
39 |
*/
|
40 |
?>
|
41 |
+
<div id="normal-sortables" class="meta-box-sortables yith-videobox-wrapper">
|
42 |
+
<div id="<?php echo $id ?>" class="postbox">
|
43 |
<h3><span><?php echo $name ?></span></h3>
|
44 |
<div class="inside">
|
45 |
<div class="yith_videobox">
|
plugin-options/settings-options.php
CHANGED
@@ -17,8 +17,6 @@ return array(
|
|
17 |
|
18 |
'settings' => array(
|
19 |
|
20 |
-
|
21 |
-
|
22 |
'section_general_settings_videobox' => array(
|
23 |
'name' => __( 'Upgrade to the PREMIUM VERSION', 'yit' ),
|
24 |
'type' => 'videobox',
|
17 |
|
18 |
'settings' => array(
|
19 |
|
|
|
|
|
20 |
'section_general_settings_videobox' => array(
|
21 |
'name' => __( 'Upgrade to the PREMIUM VERSION', 'yit' ),
|
22 |
'type' => 'videobox',
|
templates/yith-woocommerce-ajax-search.php
CHANGED
@@ -30,6 +30,9 @@ wp_enqueue_script('yith_wcas_frontend' );
|
|
30 |
|
31 |
<input type="submit" id="yith-searchsubmit" value="<?php echo get_option('yith_wcas_search_submit_label') ?>" />
|
32 |
<input type="hidden" name="post_type" value="product" />
|
|
|
|
|
|
|
33 |
</div>
|
34 |
</form>
|
35 |
</div>
|
30 |
|
31 |
<input type="submit" id="yith-searchsubmit" value="<?php echo get_option('yith_wcas_search_submit_label') ?>" />
|
32 |
<input type="hidden" name="post_type" value="product" />
|
33 |
+
<?php if ( defined( 'ICL_LANGUAGE_CODE' ) ): ?>
|
34 |
+
<input type="hidden" name="lang" value="<?php echo( ICL_LANGUAGE_CODE ); ?>" />
|
35 |
+
<?php endif ?>
|
36 |
</div>
|
37 |
</form>
|
38 |
</div>
|