YITH WooCommerce Zoom Magnifier - Version 1.1.8

Version Description

  • Fixed: compatibility with some YITHEMES themes.
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Zoom Magnifier
Version 1.1.8
Comparing to
See all releases

Code changes from version 1.1.7 to 1.1.8

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: zoom, magnifier, woocommerce, product image, themes, yit, e-commerce, shop, thumbnail, thumbnail slider, zoom image, carousel, image carousel
5
  Requires at least: 3.5.1
6
  Tested up to: 4.1
7
- Stable tag: 1.1.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -25,8 +25,9 @@ The Wordpress plugin also adds a slider below the featured image with your produ
25
  * Add a slider showing product image thumbnails.
26
  * Customize the slider behavior.
27
 
 
 
28
  Discover all the features of the plugin and install it in your theme: the result will be extremely satisfying.
29
- Full documentation is available [here](http://yithemes.com/docs-plugins/yith_woocommerce_magnifier/).
30
 
31
  == Installation ==
32
  Important: First of all, you have to download and activate WooCommerce plugin, which is mandatory for Yith WooCommerce Zoom Magnifier to be working.
@@ -58,6 +59,10 @@ The size of the Zoom Image is automatically setted. If you want to change these
58
 
59
  == Changelog ==
60
 
 
 
 
 
61
  = 1.1.7 =
62
 
63
  * Fixed: Unwanted expand link on product image.
4
  Tags: zoom, magnifier, woocommerce, product image, themes, yit, e-commerce, shop, thumbnail, thumbnail slider, zoom image, carousel, image carousel
5
  Requires at least: 3.5.1
6
  Tested up to: 4.1
7
+ Stable tag: 1.1.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
25
  * Add a slider showing product image thumbnails.
26
  * Customize the slider behavior.
27
 
28
+ For a more detailed list of options and features of the plugin, please look at the [official documentation](http://yithemes.com/docs-plugins/yith_woocommerce_magnifier/ "Yith WooCommerce Zoom Magnifier official documentation").
29
+
30
  Discover all the features of the plugin and install it in your theme: the result will be extremely satisfying.
 
31
 
32
  == Installation ==
33
  Important: First of all, you have to download and activate WooCommerce plugin, which is mandatory for Yith WooCommerce Zoom Magnifier to be working.
59
 
60
  == Changelog ==
61
 
62
+ = 1.1.8 =
63
+
64
+ * Fixed: compatibility with some YITHEMES themes.
65
+
66
  = 1.1.7 =
67
 
68
  * Fixed: Unwanted expand link on product image.
assets/js/yith_magnifier.js CHANGED
@@ -296,12 +296,20 @@
296
  self.IMG_smallImage = new Image();
297
  self.IMG_smallImage.src = self.zoomImage.attr('src');
298
 
 
299
  if( $.browser.msie && $.browser.version == 8 ) {
 
300
  $(self.IMG_zoomImage).load(function(){
 
 
301
  self._initTrap();
302
  });
303
  } else {
 
 
304
  $([self.IMG_zoomImage, self.IMG_smallImage]).imagesLoaded(function(){
 
 
305
  self._initTrap();
306
  });
307
  }
296
  self.IMG_smallImage = new Image();
297
  self.IMG_smallImage.src = self.zoomImage.attr('src');
298
 
299
+ console.log($.browser);
300
  if( $.browser.msie && $.browser.version == 8 ) {
301
+ console.log('1');
302
  $(self.IMG_zoomImage).load(function(){
303
+ console.log('2');
304
+
305
  self._initTrap();
306
  });
307
  } else {
308
+ console.log('3');
309
+
310
  $([self.IMG_zoomImage, self.IMG_smallImage]).imagesLoaded(function(){
311
+ console.log('4');
312
+
313
  self._initTrap();
314
  });
315
  }
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Zoom Magnifier
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-zoom-magnifier/
5
  * Description: YITH WooCommerce Zoom Magnifier enables you to add a zoom effect to product images and a thumbnail slider for the product image gallery.
6
- * Version: 1.1.7
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: ywzm
@@ -11,7 +11,7 @@
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Magnifier
14
- * @version 1.1.7
15
  */
16
  /* Copyright 2013-2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
@@ -65,7 +65,7 @@ if ( ! defined( 'YITH_YWZM_FREE_INIT' ) ) {
65
  }
66
 
67
  if ( ! defined( 'YITH_YWZM_VERSION' ) ) {
68
- define( 'YITH_YWZM_VERSION', '1.1.7' );
69
  }
70
 
71
  if ( ! defined( 'YITH_YWZM_FILE' ) ) {
3
  * Plugin Name: YITH WooCommerce Zoom Magnifier
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-zoom-magnifier/
5
  * Description: YITH WooCommerce Zoom Magnifier enables you to add a zoom effect to product images and a thumbnail slider for the product image gallery.
6
+ * Version: 1.1.8
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: ywzm
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Magnifier
14
+ * @version 1.1.8
15
  */
16
  /* Copyright 2013-2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
65
  }
66
 
67
  if ( ! defined( 'YITH_YWZM_VERSION' ) ) {
68
+ define( 'YITH_YWZM_VERSION', '1.1.8' );
69
  }
70
 
71
  if ( ! defined( 'YITH_YWZM_FILE' ) ) {
lib/class.yith-ywzm-custom-types.php CHANGED
@@ -48,11 +48,11 @@ if ( ! class_exists( 'YITH_YWZM_Custom_Types' ) ) {
48
  add_action( 'woocommerce_admin_field_picker', array( $this, 'admin_fields_picker' ) );
49
  add_action( 'woocommerce_update_option_picker', array( $this, 'admin_update_option' ) );
50
 
51
- add_action( 'woocommerce_admin_field_yit_wc_image_width', array(
52
  $this,
53
- 'admin_fields_yit_wc_image_width'
54
  ) );
55
- add_action( 'woocommerce_update_option_yit_wc_image_width', array( $this, 'yit_upload_update' ), 10, 1 );
56
  }
57
 
58
  /**
@@ -156,14 +156,14 @@ if ( ! class_exists( 'YITH_YWZM_Custom_Types' ) ) {
156
  }
157
 
158
  /**
159
- * Create new Woocommerce admin field: yit_wc_image_width
160
  *
161
  * @access public
162
  * @param array $value
163
  * @return void
164
  * @since 1.1.3
165
  */
166
- public function admin_fields_yit_wc_image_width( $value ){
167
 
168
  $width = WC_Admin_Settings::get_option( $value['id'] . '[width]', $value['default']['width'] );
169
  $height = WC_Admin_Settings::get_option( $value['id'] . '[height]', $value['default']['height'] );
48
  add_action( 'woocommerce_admin_field_picker', array( $this, 'admin_fields_picker' ) );
49
  add_action( 'woocommerce_update_option_picker', array( $this, 'admin_update_option' ) );
50
 
51
+ add_action( 'woocommerce_admin_field_yith_ywzm_image_width', array(
52
  $this,
53
+ 'admin_fields_yith_ywzm_image_width'
54
  ) );
55
+ add_action( 'woocommerce_update_option_yith_ywzm_image_width', array( $this, 'yit_upload_update' ), 10, 1 );
56
  }
57
 
58
  /**
156
  }
157
 
158
  /**
159
+ * Create new Woocommerce admin field: yith_ywzm_image_width
160
  *
161
  * @access public
162
  * @param array $value
163
  * @return void
164
  * @since 1.1.3
165
  */
166
+ public function admin_fields_yith_ywzm_image_width( $value ){
167
 
168
  $width = WC_Admin_Settings::get_option( $value['id'] . '[width]', $value['default']['width'] );
169
  $height = WC_Admin_Settings::get_option( $value['id'] . '[height]', $value['default']['height'] );
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;
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;
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
- '\f0dd' => 'sort-asc',
691
- '\f0de' => 'sort-desc',
 
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.php CHANGED
@@ -46,12 +46,14 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
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
  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,10 +74,10 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
70
  $this->add_menu_page();
71
  }
72
 
73
- add_action( 'admin_init', array( &$this, 'register_settings' ) );
74
- add_action( 'admin_menu', array( &$this, 'add_setting_page' ) );
75
- add_action( 'admin_bar_menu', array( &$this, 'add_admin_bar_menu' ), 100 );
76
- add_action( 'admin_init', array( &$this, 'add_fields' ) );
77
 
78
  }
79
 
@@ -154,7 +158,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
154
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
155
  */
156
  public function register_settings() {
157
- register_setting( 'yit_' . $this->settings['parent'] . '_options', 'yit_' . $this->settings['parent'] . '_options', array( &$this, 'options_validate' ) );
158
  }
159
 
160
  /**
@@ -229,7 +233,15 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
229
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
230
  */
231
  public function add_setting_page() {
232
- add_submenu_page( $this->settings['parent_slug'] . $this->settings['parent_page'], $this->settings['page_title'], $this->settings['menu_title'], $this->settings['capability'], $this->settings['page'], array( &$this, 'yit_panel' ) );
 
 
 
 
 
 
 
 
233
  /* === Duplicate Items Hack === */
234
  $this->remove_duplicate_submenu_page();
235
  do_action( 'yit_after_add_settings_page' );
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
 
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' );
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/licence/assets/css/yit-licence.css CHANGED
@@ -315,6 +315,19 @@
315
  outline: 0;
316
  }
317
 
 
 
 
 
 
 
 
 
 
 
 
 
 
318
  /* === Responsive === */
319
 
320
  @media (max-width: 767px) {}
315
  outline: 0;
316
  }
317
 
318
+ /* Licence FAQ */
319
+ .yit-container.product-licence-activation .activation-faq {
320
+ background: #ffffff;
321
+ margin-bottom: 20px;
322
+ border: 1px solid #dcdcdc;
323
+ padding: 0 15px;
324
+ border-radius: 3px;
325
+ }
326
+
327
+ .yit-container.product-licence-activation .activation-faq h3{
328
+ color: #808a97;
329
+ }
330
+
331
  /* === Responsive === */
332
 
333
  @media (max-width: 767px) {}
plugin-fw/licence/templates/panel/activation/activation-panel.php CHANGED
@@ -18,6 +18,20 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
18
  <div class="yit-container product-licence-activation">
19
  <h2><?php _e( 'Yithemes Licence Activation', 'yit' ) ?></h2>
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  <div class="licence-check-section">
22
  <form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
23
  <span class="licence-label" style="display: block;"><?php _e( 'Have you updated your licenses? Have you asked for an extension? Update information concerning your products.', 'yit' ); ?></span>
18
  <div class="yit-container product-licence-activation">
19
  <h2><?php _e( 'Yithemes Licence Activation', 'yit' ) ?></h2>
20
 
21
+ <?php if( is_a( $this, 'YIT_Theme_Licence' ) ) : ?>
22
+ <div class="activation-faq">
23
+ <h3><?php _e( 'I cannot find the license key for activating the theme I have bought some time ago. Where can I find it?', 'yit' ) ?></h3>
24
+ <p>
25
+ <?php
26
+ _e( 'If you have purchased one of our products before 27 January 2015, you can benefit from support and updates (the services offered with the license)
27
+ until 27 January 2016 and you do not have to purchase it again to get a new license key, because, before this date, your license used to be activated automatically by our system.
28
+ After 27 January 2016, instead, if you want to benefit from support and updates you have to buy a new license and activate it through the license key you will be
29
+ provided with and that you can find in your YIThemes account, in section "My licenses".', 'yit' )
30
+ ?>
31
+ </p>
32
+ </div>
33
+ <?php endif; ?>
34
+
35
  <div class="licence-check-section">
36
  <form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
37
  <span class="licence-label" style="display: block;"><?php _e( 'Have you updated your licenses? Have you asked for an extension? Update information concerning your products.', 'yit' ); ?></span>
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/metaboxes/types/image-gallery.php CHANGED
@@ -29,7 +29,12 @@ if ( !empty( $value ) ) {
29
  <?php foreach ( $array_id as $image_id ) : ?>
30
  <li class="image" data-attachment_id = <?php echo esc_attr($image_id) ?>>
31
  <a href="#">
32
- <?php yit_image( "id=$image_id&size=admin-post-type-thumbnails" ); ?>
 
 
 
 
 
33
  </a>
34
  <ul class="actions">
35
  <li><a href="#" class="delete" title="<?php _e( 'Delete image', 'yit' ); ?>">x</a></li>
29
  <?php foreach ( $array_id as $image_id ) : ?>
30
  <li class="image" data-attachment_id = <?php echo esc_attr($image_id) ?>>
31
  <a href="#">
32
+ <?php
33
+ if( function_exists( 'yit_image' ) ) :
34
+ yit_image( "id=$image_id&size=admin-post-type-thumbnails" );
35
+ else:
36
+ echo wp_get_attachment_image( $image_id, array( 80, 80 ) );
37
+ endif; ?>
38
  </a>
39
  <ul class="actions">
40
  <li><a href="#" class="delete" title="<?php _e( 'Delete image', 'yit' ); ?>">x</a></li>
plugin-fw/templates/metaboxes/types/images.php CHANGED
@@ -27,7 +27,12 @@ if ( empty( $value ) || ! is_array( $value ) )
27
  <?php if ( ! empty( $value ) ) : foreach ( $value as $image_id ) : ?>
28
  <li>
29
  <a href="#">
30
- <?php yit_image( "id=$image_id&size=admin-post-type-thumbnails" );//echo wp_get_attachment_image( $image_id, 'admin-post-type-thumbnails' ); ?>
 
 
 
 
 
31
  <input type="hidden" name="<?php echo $name ?>[]" value="<?php echo esc_attr( $image_id ) ?>" />
32
  </a>
33
  <a href="#" title="<?php _e( 'Delete image', 'yit' ) ?>" class="delete">X</a>
27
  <?php if ( ! empty( $value ) ) : foreach ( $value as $image_id ) : ?>
28
  <li>
29
  <a href="#">
30
+ <?php
31
+ if( function_exists( 'yit_image' ) ) :
32
+ yit_image( "id=$image_id&size=admin-post-type-thumbnails" );
33
+ else:
34
+ echo wp_get_attachment_image( $image_id, array( 80, 80 ) );
35
+ endif; ?>
36
  <input type="hidden" name="<?php echo $name ?>[]" value="<?php echo esc_attr( $image_id ) ?>" />
37
  </a>
38
  <a href="#" title="<?php _e( 'Delete image', 'yit' ) ?>" class="delete">X</a>
plugin-options/general-options.php CHANGED
@@ -17,7 +17,7 @@ $image_size = array(
17
  'desc' => __( 'The size of the images used within the magnifier box', 'yit' ),
18
  'id' => 'woocommerce_magnifier_image',
19
  'css' => '',
20
- 'type' => 'yit_wc_image_width',
21
  'default' => array(
22
  'width' => 600,
23
  'height' => 600,
17
  'desc' => __( 'The size of the images used within the magnifier box', 'yit' ),
18
  'id' => 'woocommerce_magnifier_image',
19
  'css' => '',
20
+ 'type' => 'yith_ywzm_image_width',
21
  'default' => array(
22
  'width' => 600,
23
  'height' => 600,