YITH WooCommerce Wishlist - Version 2.0.9

Version Description

  • Added: russian translation
  • Added: WooCommerce class to wishlist view form
  • Added: spinner to plugin assets
  • Added: check on "user_logged_in" for sub-templates in wishlist-view
  • Added: WordPress 4.2.3 compatibility
  • Added: WPML 3.2.2 compatibility (removed deprecated function)
  • Added: new check on is_product_in_wishlist (for unlogged users/default wishlist)
  • Tweak: escaped urls on share template
  • Tweak: removed new line between html attributes, to improve themes compatibility
  • Fixed: WPML 3.2.2 compatibility (fix suggested by Konrad)
  • Fixed: regex used to find class attr in "Add to Cart" button
  • Fixed: usage of product_id for add_to_wishlist shortcode, when global $product is not defined
  • Fixed: icon attribute for yith_wcwl_add_to_wishlist shortcode
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Wishlist
Version 2.0.9
Comparing to
See all releases

Code changes from version 2.0.8 to 2.0.9

README.txt CHANGED
@@ -3,8 +3,8 @@
3
  Contributors: yithemes
4
  Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, woocommerce 2.3 ready, shop wishlist
5
  Requires at least: 4.0
6
- Tested up to: 4.2.1
7
- Stable tag: 2.0.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -42,6 +42,7 @@ This plugin is 100% compatible with [WPML](http://wpml.org/?aid=24889&affiliate_
42
  * Persian - IRAN, ISLAMIC REPUBLIC OF
43
  * Portuguese - BRAZIL
44
  * Portuguese - PORTUGAL
 
45
  * Turkish - TURKEY
46
  * Ukrainian - UKRAINE
47
 
@@ -85,6 +86,22 @@ Yes, of course you can. To avoid Wishlist page to show product prices, you can h
85
 
86
  == Changelog ==
87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  = 2.0.8 =
89
 
90
  * Added: support WP 4.2.2
@@ -266,6 +283,7 @@ If you have suggestions about how to improve YITH WooCommerce Wishlist, you can
266
  * Persian - IRAN, ISLAMIC REPUBLIC OF
267
  * Portuguese - BRAZIL
268
  * Portuguese - PORTUGAL
 
269
  * Turkish - TURKEY
270
  * Ukrainian - UKRAINE
271
 
@@ -279,12 +297,18 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
279
 
280
  == Upgrade notice ==
281
 
282
- = 2.0.8 =
283
-
284
- * Added: support WP 4.2.2
285
- * Added: Persian translation
286
- * Added: check on cookie content
287
- * Added: Frequently Bought Together integration
288
- * Tweak: moved cookie update before first cookie usage
289
- * Updated: Italian translation
290
- * Removed: login_redirect_url variable
 
 
 
 
 
 
3
  Contributors: yithemes
4
  Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, woocommerce 2.3 ready, shop wishlist
5
  Requires at least: 4.0
6
+ Tested up to: 4.2.3
7
+ Stable tag: 2.0.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
42
  * Persian - IRAN, ISLAMIC REPUBLIC OF
43
  * Portuguese - BRAZIL
44
  * Portuguese - PORTUGAL
45
+ * Russian - RUSSIAN FEDERATION
46
  * Turkish - TURKEY
47
  * Ukrainian - UKRAINE
48
 
86
 
87
  == Changelog ==
88
 
89
+ = 2.0.9 =
90
+
91
+ * Added: russian translation
92
+ * Added: WooCommerce class to wishlist view form
93
+ * Added: spinner to plugin assets
94
+ * Added: check on "user_logged_in" for sub-templates in wishlist-view
95
+ * Added: WordPress 4.2.3 compatibility
96
+ * Added: WPML 3.2.2 compatibility (removed deprecated function)
97
+ * Added: new check on is_product_in_wishlist (for unlogged users/default wishlist)
98
+ * Tweak: escaped urls on share template
99
+ * Tweak: removed new line between html attributes, to improve themes compatibility
100
+ * Fixed: WPML 3.2.2 compatibility (fix suggested by Konrad)
101
+ * Fixed: regex used to find class attr in "Add to Cart" button
102
+ * Fixed: usage of product_id for add_to_wishlist shortcode, when global $product is not defined
103
+ * Fixed: icon attribute for yith_wcwl_add_to_wishlist shortcode
104
+
105
  = 2.0.8 =
106
 
107
  * Added: support WP 4.2.2
283
  * Persian - IRAN, ISLAMIC REPUBLIC OF
284
  * Portuguese - BRAZIL
285
  * Portuguese - PORTUGAL
286
+ * Russian - RUSSIAN FEDERATION
287
  * Turkish - TURKEY
288
  * Ukrainian - UKRAINE
289
 
297
 
298
  == Upgrade notice ==
299
 
300
+ = 2.0.9 =
301
+
302
+ * Added: russian translation
303
+ * Added: WooCommerce class to wishlist view form
304
+ * Added: spinner to plugin assets
305
+ * Added: check on "user_logged_in" for sub-templates in wishlist-view
306
+ * Added: WordPress 4.2.3 compatibility
307
+ * Added: WPML 3.2.2 compatibility (removed deprecated function)
308
+ * Added: new check on is_product_in_wishlist (for unlogged users/default wishlist)
309
+ * Tweak: escaped urls on share template
310
+ * Tweak: removed new line between html attributes, to improve themes compatibility
311
+ * Fixed: WPML 3.2.2 compatibility (fix suggested by Konrad)
312
+ * Fixed: regex used to find class attr in "Add to Cart" button
313
+ * Fixed: usage of product_id for add_to_wishlist shortcode, when global $product is not defined
314
+ * Fixed: icon attribute for yith_wcwl_add_to_wishlist shortcode
assets/images/wpspin_light.gif ADDED
Binary file
includes/class.yith-wcwl-admin-init.php CHANGED
@@ -33,7 +33,7 @@ if ( ! class_exists( 'YITH_WCWL_Admin_Init' ) ) {
33
  * @var string
34
  * @since 1.0.0
35
  */
36
- public $version = '2.0.8';
37
 
38
  /**
39
  * Plugin database version
33
  * @var string
34
  * @since 1.0.0
35
  */
36
+ public $version = '2.0.9';
37
 
38
  /**
39
  * Plugin database version
includes/class.yith-wcwl-init.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.1.5
8
  */
9
 
10
  if ( ! defined( 'YITH_WCWL' ) ) {
@@ -234,13 +234,9 @@ if ( ! class_exists( 'YITH_WCWL_Init' ) ) {
234
  * @since 1.0.0
235
  */
236
  public function add_body_class( $classes ) {
237
- $wishlist_page_id = get_option( 'yith_wcwl_wishlist_page_id' );
238
 
239
- if ( is_page( $wishlist_page_id ) ||
240
-
241
- //WPML Compatibility
242
- defined( 'ICL_PLUGIN_PATH' ) && is_page( icl_object_id( $wishlist_page_id, 'page', false ) )
243
- ) {
244
  $classes[] = 'woocommerce-wishlist';
245
  $classes[] = 'woocommerce';
246
  $classes[] = 'woocommerce-page';
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 2.0.9
8
  */
9
 
10
  if ( ! defined( 'YITH_WCWL' ) ) {
234
  * @since 1.0.0
235
  */
236
  public function add_body_class( $classes ) {
237
+ $wishlist_page_id = yith_wcwl_object_id( get_option( 'yith_wcwl_wishlist_page_id' ) );
238
 
239
+ if ( is_page( $wishlist_page_id ) ) {
 
 
 
 
240
  $classes[] = 'woocommerce-wishlist';
241
  $classes[] = 'woocommerce';
242
  $classes[] = 'woocommerce-page';
includes/class.yith-wcwl-shortcode.php CHANGED
@@ -301,10 +301,14 @@ if( ! class_exists( 'YITH_WCWL_Shortcode' ) ) {
301
  public static function add_to_wishlist( $atts, $content = null ) {
302
  global $product;
303
 
 
 
 
 
304
  $template_part = 'button';
305
 
306
  $label_option = get_option( 'yith_wcwl_add_to_wishlist_text' );
307
- $icon_option = get_option( 'yith_wcwl_add_to_wishlist_icon' ) != 'none' ? '<i class="fa ' . get_option( 'yith_wcwl_add_to_wishlist_icon' ) . '"></i>' : '';
308
 
309
  $label = apply_filters( 'yith_wcwl_button_label', $label_option );
310
  $icon = apply_filters( 'yith_wcwl_button_icon', $icon_option );
@@ -354,6 +358,8 @@ if( ! class_exists( 'YITH_WCWL_Shortcode' ) ) {
354
  $atts
355
  );
356
 
 
 
357
  // adds attributes list to params to extract in template, so it can be passed through a new get_template()
358
  $atts['atts'] = $atts;
359
 
301
  public static function add_to_wishlist( $atts, $content = null ) {
302
  global $product;
303
 
304
+ if( ! isset( $product ) ){
305
+ $product = ( isset( $atts['product_id'] ) ) ? wc_get_product( $atts['product_id'] ) : false;
306
+ }
307
+
308
  $template_part = 'button';
309
 
310
  $label_option = get_option( 'yith_wcwl_add_to_wishlist_text' );
311
+ $icon_option = get_option( 'yith_wcwl_add_to_wishlist_icon' ) != 'none' ? get_option( 'yith_wcwl_add_to_wishlist_icon' ) : '';
312
 
313
  $label = apply_filters( 'yith_wcwl_button_label', $label_option );
314
  $icon = apply_filters( 'yith_wcwl_button_icon', $icon_option );
358
  $atts
359
  );
360
 
361
+ $atts['icon'] = ! empty( $atts['icon'] ) ? '<i class="fa ' . $atts['icon'] . '"></i>' : '';
362
+
363
  // adds attributes list to params to extract in template, so it can be passed through a new get_template()
364
  $atts['atts'] = $atts;
365
 
includes/class.yith-wcwl-ui.php CHANGED
@@ -206,7 +206,7 @@ if( ! class_exists( 'YITH_WCWL_UI' ) ) {
206
 
207
  // customize
208
  $match = array();
209
- preg_match( '/<a.*class="(.*)">.*<\/a>/', $button_html, $match );
210
 
211
  if( ! empty( $match ) && isset( $match[1] ) ){
212
  $button_html = str_replace( $match[1], $match[1] . ' add_to_cart button alt', $button_html );
206
 
207
  // customize
208
  $match = array();
209
+ preg_match( '/<a.*class="([^"]*).*>.*<\/a>/', $button_html, $match );
210
 
211
  if( ! empty( $match ) && isset( $match[1] ) ){
212
  $button_html = str_replace( $match[1], $match[1] . ' add_to_cart button alt', $button_html );
includes/class.yith-wcwl.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.1.5
8
  */
9
 
10
  if ( ! defined( 'YITH_WCWL' ) ) {
@@ -154,6 +154,12 @@ if ( ! class_exists( 'YITH_WCWL' ) ) {
154
  $sql .= " AND `wishlist_id` = %d";
155
  $sql_args[] = $wishlist_id;
156
  }
 
 
 
 
 
 
157
  else{
158
  $sql .= " AND `wishlist_id` IS NULL";
159
  }
@@ -897,7 +903,7 @@ if ( ! class_exists( 'YITH_WCWL' ) ) {
897
  public function add_rewrite_rules() {
898
  global $wp_query;
899
  $wishlist_page_id = isset( $_POST['yith_wcwl_wishlist_page_id'] ) ? $_POST['yith_wcwl_wishlist_page_id'] : get_option( 'yith_wcwl_wishlist_page_id' );
900
- $wishlist_page_id = function_exists( 'icl_object_id' ) ? icl_object_id( $wishlist_page_id, 'page', true ) : $wishlist_page_id;
901
 
902
  if( empty( $wishlist_page_id ) ){
903
  return;
@@ -942,8 +948,8 @@ if ( ! class_exists( 'YITH_WCWL' ) ) {
942
  * @since 1.0.0
943
  */
944
  public function get_wishlist_url( $action = 'view' ) {
945
- $wishlist_page_id = get_option( 'yith_wcwl_wishlist_page_id' );
946
- $wishlist_page_id = function_exists( 'icl_object_id' ) ? icl_object_id( $wishlist_page_id, 'page', true ) : $wishlist_page_id;
947
 
948
  if( get_option( 'permalink_structure' ) && ! defined( 'ICL_PLUGIN_PATH' ) ) {
949
  $wishlist_permalink = trailingslashit( get_the_permalink( $wishlist_page_id ) );
@@ -972,8 +978,8 @@ if ( ! class_exists( 'YITH_WCWL' ) ) {
972
  $base_url = add_query_arg( $params, $base_url );
973
  }
974
 
975
- if( defined( 'ICL_PLUGIN_PATH' ) ){
976
- $base_url = add_query_arg( 'lang', icl_get_current_language(), $base_url );
977
  }
978
 
979
  return apply_filters( 'yith_wcwl_wishlist_page_url', esc_url_raw( $base_url ) );
@@ -1076,6 +1082,7 @@ if ( ! class_exists( 'YITH_WCWL' ) ) {
1076
  }
1077
 
1078
  /* === FONTAWESOME FIX === */
 
1079
  /**
1080
  * Modernize font-awesome class, for old wishlist users
1081
  *
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 2.0.9
8
  */
9
 
10
  if ( ! defined( 'YITH_WCWL' ) ) {
154
  $sql .= " AND `wishlist_id` = %d";
155
  $sql_args[] = $wishlist_id;
156
  }
157
+ elseif( $default_wishlist = $this->get_wishlists( array( 'user_id' => get_current_user_id(), 'is_default' => 1 ) ) ){
158
+ $default_wishlist_id = $default_wishlist[0]['ID'];
159
+
160
+ $sql .= " AND `wishlist_id` = %d";
161
+ $sql_args[] = $default_wishlist_id;
162
+ }
163
  else{
164
  $sql .= " AND `wishlist_id` IS NULL";
165
  }
903
  public function add_rewrite_rules() {
904
  global $wp_query;
905
  $wishlist_page_id = isset( $_POST['yith_wcwl_wishlist_page_id'] ) ? $_POST['yith_wcwl_wishlist_page_id'] : get_option( 'yith_wcwl_wishlist_page_id' );
906
+ $wishlist_page_id = yith_wcwl_object_id( $wishlist_page_id );
907
 
908
  if( empty( $wishlist_page_id ) ){
909
  return;
948
  * @since 1.0.0
949
  */
950
  public function get_wishlist_url( $action = 'view' ) {
951
+ global $sitepress;
952
+ $wishlist_page_id = yith_wcwl_object_id( get_option( 'yith_wcwl_wishlist_page_id' ) );
953
 
954
  if( get_option( 'permalink_structure' ) && ! defined( 'ICL_PLUGIN_PATH' ) ) {
955
  $wishlist_permalink = trailingslashit( get_the_permalink( $wishlist_page_id ) );
978
  $base_url = add_query_arg( $params, $base_url );
979
  }
980
 
981
+ if( defined( 'ICL_PLUGIN_PATH' ) && $sitepress->get_current_language() != $sitepress->get_default_language() ){
982
+ $base_url = add_query_arg( 'lang', $sitepress->get_current_language(), $base_url );
983
  }
984
 
985
  return apply_filters( 'yith_wcwl_wishlist_page_url', esc_url_raw( $base_url ) );
1082
  }
1083
 
1084
  /* === FONTAWESOME FIX === */
1085
+
1086
  /**
1087
  * Modernize font-awesome class, for old wishlist users
1088
  *
includes/functions.yith-wcwl.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.1.5
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
@@ -192,4 +192,25 @@ if( !function_exists ( 'yith_destroycookie' ) ) {
192
  function yith_destroycookie( $name ) {
193
  yith_setcookie( $name, array(), time() - 3600 );
194
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  }
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 2.0.9
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
192
  function yith_destroycookie( $name ) {
193
  yith_setcookie( $name, array(), time() - 3600 );
194
  }
195
+ }
196
+
197
+ if( !function_exists( 'yith_wcwl_object_id' ) ){
198
+ /**
199
+ * Retrieve translated page id, if wpml is installed
200
+ *
201
+ * @param $id int Original page id
202
+ * @return int Translation id
203
+ * @since 1.0.0
204
+ */
205
+ function yith_wcwl_object_id( $id ){
206
+ if( function_exists( 'wpml_object_id_filter' ) ){
207
+ return wpml_object_id_filter( $id, 'page', true );
208
+ }
209
+ elseif( function_exists( 'icl_object_id' ) ){
210
+ return icl_object_id( $id, 'page', true );
211
+ }
212
+ else{
213
+ return $id;
214
+ }
215
+ }
216
  }
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Wishlist
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
5
  * Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
6
- * Version: 2.0.8
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
3
  * Plugin Name: YITH WooCommerce Wishlist
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
5
  * Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
6
+ * Version: 2.0.9
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
languages/yit-ru_RU.mo ADDED
Binary file
languages/yit-ru_RU.po ADDED
@@ -0,0 +1,759 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WCWL\n"
4
+ "POT-Creation-Date: 2015-07-24 13:09+0100\n"
5
+ "PO-Revision-Date: 2015-07-24 13:09+0100\n"
6
+ "Last-Translator: Valentyn Zubenko <valentyn.zubenko@gmail.com>\n"
7
+ "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
+ "Language: ru\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.1\n"
13
+ "X-Poedit-KeywordsList: __;_e;_x\n"
14
+ "X-Poedit-Basepath: ..\\\n"
15
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
16
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
19
+
20
+ #: includes/class.yith-wcwl-admin-init.php:188
21
+ #: includes/class.yith-wcwl-admin-init.php:1406
22
+ #: includes/class.yith-wcwl-admin-init.php:1407
23
+ #: includes/class.yith-wcwl-install.php:240
24
+ msgid "Wishlist"
25
+ msgstr ""
26
+
27
+ #: includes/class.yith-wcwl-admin-init.php:190
28
+ #: includes/class.yith-wcwl-admin-init.php:290
29
+ msgid "Settings"
30
+ msgstr ""
31
+
32
+ #: includes/class.yith-wcwl-admin-init.php:191
33
+ #: includes/class.yith-wcwl-admin-init.php:257
34
+ msgid "Colors"
35
+ msgstr ""
36
+
37
+ #: includes/class.yith-wcwl-admin-init.php:192
38
+ #: includes/class.yith-wcwl-admin-init.php:294
39
+ msgid "Premium Version"
40
+ msgstr ""
41
+
42
+ #: includes/class.yith-wcwl-admin-init.php:318
43
+ msgid ""
44
+ "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
45
+ "link to update it."
46
+ msgstr ""
47
+
48
+ #: includes/class.yith-wcwl-admin-init.php:321
49
+ msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
50
+ msgstr ""
51
+
52
+ #: includes/class.yith-wcwl-admin-init.php:326
53
+ msgid "Plugin Documentation"
54
+ msgstr ""
55
+
56
+ #: includes/class.yith-wcwl-admin-init.php:342
57
+ msgid "Wishlist Page"
58
+ msgstr ""
59
+
60
+ #: includes/class.yith-wcwl-admin-init.php:343
61
+ msgid "Page contents: [yith_wcwl_wishlist]"
62
+ msgstr ""
63
+
64
+ #: includes/class.yith-wcwl-admin-init.php:918
65
+ msgid "Upgrade to the PREMIUM VERSION"
66
+ msgstr ""
67
+
68
+ #: includes/class.yith-wcwl-admin-init.php:921
69
+ msgid "YITH WooCommerce Wishlist"
70
+ msgstr ""
71
+
72
+ #: includes/class.yith-wcwl-admin-init.php:922
73
+ msgid "Discover the Advanced Features"
74
+ msgstr ""
75
+
76
+ #: includes/class.yith-wcwl-admin-init.php:923
77
+ msgid ""
78
+ "Upgrade to the PREMIUM VERSION\n"
79
+ "of YITH WOOCOMMERCE WISHLIST to benefit from all features!"
80
+ msgstr ""
81
+
82
+ #: includes/class.yith-wcwl-admin-init.php:930
83
+ msgid "Get Support and Pro Features"
84
+ msgstr ""
85
+
86
+ #: includes/class.yith-wcwl-admin-init.php:931
87
+ msgid ""
88
+ "By purchasing the premium version of the plugin, you will take advantage of "
89
+ "the advanced features of the product and you will get one year of free "
90
+ "updates and support through our platform available 24h/24."
91
+ msgstr ""
92
+
93
+ #: includes/class.yith-wcwl-admin-init.php:941
94
+ msgid "General Settings"
95
+ msgstr ""
96
+
97
+ #: includes/class.yith-wcwl-admin-init.php:948
98
+ msgid "Enable YITH Wishlist"
99
+ msgstr ""
100
+
101
+ #: includes/class.yith-wcwl-admin-init.php:949
102
+ #, php-format
103
+ msgid ""
104
+ "Enable all plugin features. <strong>Be sure to select at least one option in "
105
+ "the Wishlist page menu in %s.</strong> Also, please read the plugin <a href="
106
+ "\"%s\" target=\"_blank\">documentation</a>."
107
+ msgstr ""
108
+
109
+ #: includes/class.yith-wcwl-admin-init.php:956
110
+ msgid "Default wishlist title"
111
+ msgstr ""
112
+
113
+ #: includes/class.yith-wcwl-admin-init.php:958
114
+ #: includes/class.yith-wcwl-admin-init.php:959
115
+ #: includes/class.yith-wcwl-admin-init.php:1218
116
+ #: includes/class.yith-wcwl-admin-init.php:1219
117
+ #, php-format
118
+ msgid "My wishlist on %s"
119
+ msgstr "Мои закладки на %s"
120
+
121
+ #: includes/class.yith-wcwl-admin-init.php:967
122
+ msgid "Position"
123
+ msgstr ""
124
+
125
+ #: includes/class.yith-wcwl-admin-init.php:968
126
+ msgid ""
127
+ "You can add the button in variable products only after the \"Add to Cart\" "
128
+ "button or using the shortcode [yith_wcwl_add_to_wishlist]."
129
+ msgstr ""
130
+
131
+ #: includes/class.yith-wcwl-admin-init.php:974
132
+ msgid "After \"Add to cart\""
133
+ msgstr "After \"Добавить в корзину\""
134
+
135
+ #: includes/class.yith-wcwl-admin-init.php:975
136
+ msgid "After thumbnails"
137
+ msgstr ""
138
+
139
+ #: includes/class.yith-wcwl-admin-init.php:976
140
+ msgid "After summary"
141
+ msgstr ""
142
+
143
+ #: includes/class.yith-wcwl-admin-init.php:977
144
+ msgid "Use shortcode"
145
+ msgstr ""
146
+
147
+ #: includes/class.yith-wcwl-admin-init.php:982
148
+ msgid "Redirect to cart"
149
+ msgstr ""
150
+
151
+ #: includes/class.yith-wcwl-admin-init.php:983
152
+ msgid ""
153
+ "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
154
+ "page."
155
+ msgstr ""
156
+
157
+ #: includes/class.yith-wcwl-admin-init.php:990
158
+ msgid "Remove if added to the cart"
159
+ msgstr ""
160
+
161
+ #: includes/class.yith-wcwl-admin-init.php:991
162
+ msgid "Remove the product from the wishlist if it has been added to the cart."
163
+ msgstr ""
164
+
165
+ #: includes/class.yith-wcwl-admin-init.php:998
166
+ msgid "\"Add to Wishlist\" text"
167
+ msgstr ""
168
+
169
+ #: includes/class.yith-wcwl-admin-init.php:1000
170
+ #: includes/class.yith-wcwl-admin-init.php:1001
171
+ msgid "Add to Wishlist"
172
+ msgstr ""
173
+
174
+ #: includes/class.yith-wcwl-admin-init.php:1006
175
+ #, fuzzy
176
+ msgid "\"Browse wishlist\" text"
177
+ msgstr "\"Добавить в корзину\" button text"
178
+
179
+ #: includes/class.yith-wcwl-admin-init.php:1008
180
+ #: includes/class.yith-wcwl-admin-init.php:1009
181
+ #: includes/class.yith-wcwl-ui.php:81 includes/class.yith-wcwl-ui.php:82
182
+ msgid "Browse Wishlist"
183
+ msgstr ""
184
+
185
+ #: includes/class.yith-wcwl-admin-init.php:1014
186
+ msgid "\"Product already in wishlist\" text"
187
+ msgstr ""
188
+
189
+ #: includes/class.yith-wcwl-admin-init.php:1016
190
+ #: includes/class.yith-wcwl-admin-init.php:1017
191
+ #: includes/class.yith-wcwl-ui.php:82
192
+ msgid "The product is already in the wishlist!"
193
+ msgstr ""
194
+
195
+ #: includes/class.yith-wcwl-admin-init.php:1022
196
+ #, fuzzy
197
+ msgid "\"Product added\" text"
198
+ msgstr "Продукт успешно добавлен в корзину"
199
+
200
+ #: includes/class.yith-wcwl-admin-init.php:1024
201
+ #: includes/class.yith-wcwl-admin-init.php:1025
202
+ #: includes/class.yith-wcwl-ui.php:81
203
+ msgid "Product added!"
204
+ msgstr ""
205
+
206
+ #: includes/class.yith-wcwl-admin-init.php:1030
207
+ msgid "\"Add to Cart\" text"
208
+ msgstr "\"Добавить в корзину\" text"
209
+
210
+ #: includes/class.yith-wcwl-admin-init.php:1032
211
+ #: includes/class.yith-wcwl-admin-init.php:1033
212
+ msgid "Add to Cart"
213
+ msgstr "Добавить в корзину"
214
+
215
+ #: includes/class.yith-wcwl-admin-init.php:1038
216
+ #, fuzzy
217
+ msgid "Show Unit price"
218
+ msgstr "Цена"
219
+
220
+ #: includes/class.yith-wcwl-admin-init.php:1039
221
+ msgid "Show unit price for each product in wishlist"
222
+ msgstr ""
223
+
224
+ #: includes/class.yith-wcwl-admin-init.php:1047
225
+ #, fuzzy
226
+ msgid "Show \"Add to Cart\" button"
227
+ msgstr "\"Добавить в корзину\" button text"
228
+
229
+ #: includes/class.yith-wcwl-admin-init.php:1048
230
+ #, fuzzy
231
+ msgid "Show \"Add to Cart\" button for each product in wishlist"
232
+ msgstr "\"Добавить в корзину\" button background"
233
+
234
+ #: includes/class.yith-wcwl-admin-init.php:1056
235
+ #, fuzzy
236
+ msgid "Show Stock status"
237
+ msgstr "Показывать статус склада"
238
+
239
+ #: includes/class.yith-wcwl-admin-init.php:1057
240
+ msgid ""
241
+ "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
242
+ msgstr ""
243
+
244
+ #: includes/class.yith-wcwl-admin-init.php:1065
245
+ msgid "Show Date of addition"
246
+ msgstr ""
247
+
248
+ #: includes/class.yith-wcwl-admin-init.php:1066
249
+ #, fuzzy
250
+ msgid "Show the date when users have added a product to the wishlist"
251
+ msgstr "Показывать дату добавления в избранное"
252
+
253
+ #: includes/class.yith-wcwl-admin-init.php:1074
254
+ #, fuzzy
255
+ msgid "Add second remove button"
256
+ msgstr "Добавить вторую кнопку удаления"
257
+
258
+ #: includes/class.yith-wcwl-admin-init.php:1075
259
+ msgid "Add a second remove button in the last column, with extended label"
260
+ msgstr ""
261
+
262
+ #: includes/class.yith-wcwl-admin-init.php:1098
263
+ msgid "Styles"
264
+ msgstr ""
265
+
266
+ #: includes/class.yith-wcwl-admin-init.php:1105
267
+ msgid "Use buttons"
268
+ msgstr ""
269
+
270
+ #: includes/class.yith-wcwl-admin-init.php:1106
271
+ msgid "Use buttons instead of simple anchors."
272
+ msgstr ""
273
+
274
+ #: includes/class.yith-wcwl-admin-init.php:1113
275
+ msgid "Custom CSS"
276
+ msgstr ""
277
+
278
+ #: includes/class.yith-wcwl-admin-init.php:1121
279
+ msgid "Use theme style"
280
+ msgstr ""
281
+
282
+ #: includes/class.yith-wcwl-admin-init.php:1122
283
+ msgid "Use the theme style."
284
+ msgstr ""
285
+
286
+ #: includes/class.yith-wcwl-admin-init.php:1129
287
+ msgid "Rounded buttons"
288
+ msgstr ""
289
+
290
+ #: includes/class.yith-wcwl-admin-init.php:1130
291
+ msgid "Make button corners rounded"
292
+ msgstr ""
293
+
294
+ #: includes/class.yith-wcwl-admin-init.php:1137
295
+ msgid "\"Add to Wishlist\" icon"
296
+ msgstr ""
297
+
298
+ #: includes/class.yith-wcwl-admin-init.php:1138
299
+ msgid "Add an icon to the \"Add to Wishlist\" button"
300
+ msgstr ""
301
+
302
+ #: includes/class.yith-wcwl-admin-init.php:1149
303
+ msgid "\"Add to Cart\" icon"
304
+ msgstr "\"Добавить в корзину\" icon"
305
+
306
+ #: includes/class.yith-wcwl-admin-init.php:1150
307
+ msgid "Add an icon to the \"Add to Cart\" button"
308
+ msgstr "Add an icon to the \"Добавить в корзину\" button"
309
+
310
+ #: includes/class.yith-wcwl-admin-init.php:1169
311
+ msgid "Social Networks & Share"
312
+ msgstr ""
313
+
314
+ #: includes/class.yith-wcwl-admin-init.php:1176
315
+ msgid "Share on Facebook"
316
+ msgstr "Поделиться на Facebook"
317
+
318
+ #: includes/class.yith-wcwl-admin-init.php:1177
319
+ #, fuzzy
320
+ msgid "Show \"Share on Facebook\" button"
321
+ msgstr "Показать кнопку \"Поделиться в Facebook\""
322
+
323
+ #: includes/class.yith-wcwl-admin-init.php:1184
324
+ msgid "Tweet on Twitter"
325
+ msgstr "Поделиться в Twitter"
326
+
327
+ #: includes/class.yith-wcwl-admin-init.php:1185
328
+ #, fuzzy
329
+ msgid "Show \"Tweet on Twitter\" button"
330
+ msgstr "Показать кнопку \"Поделиться в Twitter\""
331
+
332
+ #: includes/class.yith-wcwl-admin-init.php:1192
333
+ msgid "Pin on Pinterest"
334
+ msgstr "Поделиться в Pinterest"
335
+
336
+ #: includes/class.yith-wcwl-admin-init.php:1193
337
+ #, fuzzy
338
+ msgid "Show \"Pin on Pinterest\" button"
339
+ msgstr "Показать кнопку \"Поделиться в Pinterest\""
340
+
341
+ #: includes/class.yith-wcwl-admin-init.php:1200
342
+ msgid "Share on Google+"
343
+ msgstr "Поделиться в Google+"
344
+
345
+ #: includes/class.yith-wcwl-admin-init.php:1201
346
+ #, fuzzy
347
+ msgid "Show \"Share on Google+\" button"
348
+ msgstr "Показать кнопку \"Поделиться в Google+\""
349
+
350
+ #: includes/class.yith-wcwl-admin-init.php:1208
351
+ msgid "Share by Email"
352
+ msgstr "Поделиться через Email"
353
+
354
+ #: includes/class.yith-wcwl-admin-init.php:1209
355
+ #, fuzzy
356
+ msgid "Show \"Share by Email\" button"
357
+ msgstr "Показать кнопку \"Поделиться через Email\""
358
+
359
+ #: includes/class.yith-wcwl-admin-init.php:1216
360
+ msgid "Social title"
361
+ msgstr ""
362
+
363
+ #: includes/class.yith-wcwl-admin-init.php:1224
364
+ msgid "Social text"
365
+ msgstr ""
366
+
367
+ #: includes/class.yith-wcwl-admin-init.php:1225
368
+ msgid ""
369
+ "It will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url"
370
+ "%</strong> where you want to show the URL of your wishlist."
371
+ msgstr ""
372
+
373
+ #: includes/class.yith-wcwl-admin-init.php:1233
374
+ msgid "Social image URL"
375
+ msgstr ""
376
+
377
+ #: includes/class.yith-wcwl-admin-init.php:1248
378
+ #, php-format
379
+ msgid ""
380
+ "If you want to take advantage of this feature, you could consider to "
381
+ "purchase the %s."
382
+ msgstr ""
383
+
384
+ #: includes/class.yith-wcwl-admin-init.php:1253
385
+ msgid "YITH WooCommerce Frequently Bought Together Integration"
386
+ msgstr ""
387
+
388
+ #: includes/class.yith-wcwl-admin-init.php:1260
389
+ msgid "Enable slider in wishlist"
390
+ msgstr ""
391
+
392
+ #: includes/class.yith-wcwl-admin-init.php:1261
393
+ #, php-format
394
+ msgid ""
395
+ "Choose to enable product slider in wishlist page with linked products (<a "
396
+ "href=\"%s\" class=\"thickbox\">Example</a>). %s"
397
+ msgstr ""
398
+
399
+ #: includes/class.yith-wcwl-admin-init.php:1298
400
+ #, fuzzy
401
+ msgid "\"Add to wishlist\" button"
402
+ msgstr "\"Добавить в корзину\" button text"
403
+
404
+ #: includes/class.yith-wcwl-admin-init.php:1301
405
+ #: includes/class.yith-wcwl-admin-init.php:1319
406
+ #: includes/class.yith-wcwl-admin-init.php:1337
407
+ #: includes/class.yith-wcwl-admin-init.php:1355
408
+ #: includes/class.yith-wcwl-admin-init.php:1373
409
+ msgid "Background"
410
+ msgstr ""
411
+
412
+ #: includes/class.yith-wcwl-admin-init.php:1302
413
+ #: includes/class.yith-wcwl-admin-init.php:1320
414
+ #: includes/class.yith-wcwl-admin-init.php:1338
415
+ #: includes/class.yith-wcwl-admin-init.php:1356
416
+ #: includes/class.yith-wcwl-admin-init.php:1374
417
+ msgid "Text"
418
+ msgstr ""
419
+
420
+ #: includes/class.yith-wcwl-admin-init.php:1303
421
+ #: includes/class.yith-wcwl-admin-init.php:1321
422
+ #: includes/class.yith-wcwl-admin-init.php:1339
423
+ #: includes/class.yith-wcwl-admin-init.php:1357
424
+ #: includes/class.yith-wcwl-admin-init.php:1375
425
+ msgid "Border"
426
+ msgstr ""
427
+
428
+ #: includes/class.yith-wcwl-admin-init.php:1310
429
+ #: includes/class.yith-wcwl-admin-init.php:1328
430
+ #: includes/class.yith-wcwl-admin-init.php:1346
431
+ #: includes/class.yith-wcwl-admin-init.php:1364
432
+ msgid "Background (hover)"
433
+ msgstr ""
434
+
435
+ #: includes/class.yith-wcwl-admin-init.php:1311
436
+ #: includes/class.yith-wcwl-admin-init.php:1329
437
+ #: includes/class.yith-wcwl-admin-init.php:1347
438
+ #: includes/class.yith-wcwl-admin-init.php:1365
439
+ msgid "Text (hover)"
440
+ msgstr ""
441
+
442
+ #: includes/class.yith-wcwl-admin-init.php:1312
443
+ #: includes/class.yith-wcwl-admin-init.php:1330
444
+ #: includes/class.yith-wcwl-admin-init.php:1348
445
+ #: includes/class.yith-wcwl-admin-init.php:1366
446
+ msgid "Border (hover)"
447
+ msgstr ""
448
+
449
+ #: includes/class.yith-wcwl-admin-init.php:1316
450
+ #, fuzzy
451
+ msgid "\"Add to Cart\" button"
452
+ msgstr "\"Добавить в корзину\" button text"
453
+
454
+ #: includes/class.yith-wcwl-admin-init.php:1334
455
+ msgid "\"Style 1\" button"
456
+ msgstr ""
457
+
458
+ #: includes/class.yith-wcwl-admin-init.php:1352
459
+ msgid "\"Style 2\" button"
460
+ msgstr ""
461
+
462
+ #: includes/class.yith-wcwl-admin-init.php:1370
463
+ msgid "Wishlist table"
464
+ msgstr ""
465
+
466
+ #: includes/class.yith-wcwl-admin-init.php:1379
467
+ msgid "Headers"
468
+ msgstr ""
469
+
470
+ #: includes/class.yith-wcwl-admin-init.php:1382
471
+ msgid "Background color"
472
+ msgstr ""
473
+
474
+ #: includes/class.yith-wcwl-admin-init.php:1472
475
+ msgid "Wishlist Activated"
476
+ msgstr ""
477
+
478
+ #: includes/class.yith-wcwl-admin-init.php:1473
479
+ #, php-format
480
+ msgid ""
481
+ "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
482
+ "can access to all the settings of our plugins that you have activated. "
483
+ "Wishlist is available in an outstanding PREMIUM version with many new "
484
+ "options, <a href=\"%s\">discover it now</a>."
485
+ msgstr ""
486
+
487
+ #: includes/class.yith-wcwl-admin-init.php:1484
488
+ msgid "Wishlist Updated"
489
+ msgstr ""
490
+
491
+ #: includes/class.yith-wcwl-admin-init.php:1485
492
+ #, php-format
493
+ msgid ""
494
+ "From now on, you can find all the options of Wishlist under YIT Plugin -> "
495
+ "Wishlist instead of WooCommerce -> Settings -> Wishlist, as in the previous "
496
+ "version. When one of our plugins is updated, a new voice will be added to "
497
+ "this menu. Wishlist has been updated with new available options, <a href=\"%s"
498
+ "\">discover the PREMIUM version.</a>"
499
+ msgstr ""
500
+
501
+ #: includes/class.yith-wcwl-init.php:361
502
+ msgid ""
503
+ "We are sorry, but this feature is available only if cookies are enabled on "
504
+ "your browser."
505
+ msgstr ""
506
+
507
+ #: includes/class.yith-wcwl-init.php:362
508
+ #, fuzzy
509
+ msgid "Product correctly added to cart"
510
+ msgstr "Продукт успешно добавлен в корзину"
511
+
512
+ #: includes/class.yith-wcwl-install.php:239
513
+ msgid "wishlist"
514
+ msgstr ""
515
+
516
+ #: includes/class.yith-wcwl-shortcode.php:242
517
+ #: includes/class.yith-wcwl-ui.php:161
518
+ msgid "Share on:"
519
+ msgstr "Поделиться в:"
520
+
521
+ #: includes/class.yith-wcwl-ui.php:116 includes/class.yith-wcwl-ui.php:199
522
+ msgid "Select options"
523
+ msgstr "Выбрать параметры"
524
+
525
+ #: includes/class.yith-wcwl-ui.php:165 templates/share.php:16
526
+ msgid "Facebook"
527
+ msgstr ""
528
+
529
+ #: includes/class.yith-wcwl-ui.php:168 templates/share.php:22
530
+ msgid "Twitter"
531
+ msgstr ""
532
+
533
+ #: includes/class.yith-wcwl-ui.php:177
534
+ msgid "email"
535
+ msgstr ""
536
+
537
+ #: includes/class.yith-wcwl.php:198
538
+ #, fuzzy
539
+ msgid "An error occurred while adding products to the wishlist."
540
+ msgstr "Произошла ошибка при добавлении продуктов в избранное"
541
+
542
+ #: includes/class.yith-wcwl.php:282
543
+ #, fuzzy
544
+ msgid "An error occurred while adding products to wishlist."
545
+ msgstr "Произошла ошибка при добавлении продуктов в избранное"
546
+
547
+ #: includes/class.yith-wcwl.php:297
548
+ msgid "The \"Remove\" option now does not require any parameter"
549
+ msgstr ""
550
+
551
+ #: includes/class.yith-wcwl.php:331
552
+ #, fuzzy
553
+ msgid "An error occurred while removing products from the wishlist"
554
+ msgstr "Произошла ошибка при удалении продуктов из избранного"
555
+
556
+ #: includes/class.yith-wcwl.php:609
557
+ msgid "You need to log in before creating a new wishlist"
558
+ msgstr "Вам необходимо авторизоваться перед созданием нового избранного"
559
+
560
+ #: includes/class.yith-wcwl.php:1319
561
+ msgid "Product successfully removed."
562
+ msgstr "Продукт успешно удален из избранного"
563
+
564
+ #: includes/class.yith-wcwl.php:1323
565
+ msgid "Error. Unable to remove the product from the wishlist."
566
+ msgstr "Ошибка. Невозможно удалить продукт из избранного."
567
+
568
+ #: includes/class.yith-wcwl.php:1327 templates/wishlist-view.php:258
569
+ msgid "No products were added to the wishlist"
570
+ msgstr "Нет продуктов добавленных в избранное."
571
+
572
+ #: includes/class.yith-wcwl.php:1369
573
+ msgid "An error as occurred."
574
+ msgstr ""
575
+
576
+ #: init.php:129
577
+ msgid ""
578
+ "YITH WooCommerce Wishlist is enabled but not effective. It requires "
579
+ "WooCommerce in order to work."
580
+ msgstr ""
581
+
582
+ #: init.php:139
583
+ msgid ""
584
+ "You can't activate the free version of YITH WooCommerce Wishlist while you "
585
+ "are using the premium one."
586
+ msgstr ""
587
+
588
+ #: templates/share.php:28
589
+ msgid "Pinterest"
590
+ msgstr ""
591
+
592
+ #: templates/share.php:34
593
+ msgid "Google+"
594
+ msgstr ""
595
+
596
+ #: templates/share.php:40
597
+ msgid "Email"
598
+ msgstr ""
599
+
600
+ #: templates/wishlist-view.php:26
601
+ msgid "Edit title"
602
+ msgstr ""
603
+
604
+ #: templates/wishlist-view.php:35
605
+ msgid "Save"
606
+ msgstr ""
607
+
608
+ #: templates/wishlist-view.php:39
609
+ msgid "Cancel"
610
+ msgstr ""
611
+
612
+ #: templates/wishlist-view.php:76
613
+ msgid "Product Name"
614
+ msgstr "Имя продукта"
615
+
616
+ #: templates/wishlist-view.php:83
617
+ msgid "Unit Price"
618
+ msgstr "Цена"
619
+
620
+ #: templates/wishlist-view.php:96
621
+ msgid "Stock Status"
622
+ msgstr "Показывать статус склада"
623
+
624
+ #: templates/wishlist-view.php:142 templates/wishlist-view.php:248
625
+ msgid "Remove this product"
626
+ msgstr ""
627
+
628
+ #: templates/wishlist-view.php:172
629
+ msgid "Free!"
630
+ msgstr ""
631
+
632
+ #: templates/wishlist-view.php:183
633
+ msgid "Out of Stock"
634
+ msgstr ""
635
+
636
+ #: templates/wishlist-view.php:186
637
+ msgid "In Stock"
638
+ msgstr "в наличии"
639
+
640
+ #: templates/wishlist-view.php:197
641
+ #, php-format
642
+ msgid "Added on : %s"
643
+ msgstr ""
644
+
645
+ #: templates/wishlist-view.php:216
646
+ msgid "Move"
647
+ msgstr ""
648
+
649
+ #: templates/wishlist-view.php:228
650
+ #, fuzzy
651
+ msgid "Shared"
652
+ msgstr "Поделиться в:"
653
+
654
+ #: templates/wishlist-view.php:231
655
+ msgid "Private"
656
+ msgstr ""
657
+
658
+ #: templates/wishlist-view.php:234
659
+ msgid "Public"
660
+ msgstr ""
661
+
662
+ #: templates/wishlist-view.php:248
663
+ msgid "Remove"
664
+ msgstr ""
665
+
666
+ #: templates/wishlist-view.php:275
667
+ msgid "Add the selected products to the cart"
668
+ msgstr ""
669
+
670
+ #: templates/wishlist-view.php:283 templates/wishlist-view.php:325
671
+ msgid "Ask for an estimate"
672
+ msgstr ""
673
+
674
+ #: yit-common/yith-panel.php:406
675
+ msgid "Select a date"
676
+ msgstr ""
677
+
678
+ #: yit-common/yith-panel.php:407
679
+ msgid "Hours"
680
+ msgstr ""
681
+
682
+ #: yit-common/yith-panel.php:408 yit-common/yith-panel.php:409
683
+ msgid "Minutes"
684
+ msgstr ""
685
+
686
+ #: yit-common/yith-panel.php:417
687
+ msgid "Upload"
688
+ msgstr ""
689
+
690
+ #: yit-common/yith-panel.php:444
691
+ msgid "px"
692
+ msgstr ""
693
+
694
+ #: yit-common/yith-panel.php:445
695
+ msgid "em"
696
+ msgstr ""
697
+
698
+ #: yit-common/yith-panel.php:446
699
+ msgid "pt"
700
+ msgstr ""
701
+
702
+ #: yit-common/yith-panel.php:447
703
+ msgid "rem"
704
+ msgstr ""
705
+
706
+ #: yit-common/yith-panel.php:457
707
+ msgid "Select a font family"
708
+ msgstr ""
709
+
710
+ #: yit-common/yith-panel.php:465
711
+ msgid "Regular"
712
+ msgstr ""
713
+
714
+ #: yit-common/yith-panel.php:466
715
+ msgid "Bold"
716
+ msgstr ""
717
+
718
+ #: yit-common/yith-panel.php:467
719
+ msgid "Extra bold"
720
+ msgstr ""
721
+
722
+ #: yit-common/yith-panel.php:468
723
+ msgid "Italic"
724
+ msgstr ""
725
+
726
+ #: yit-common/yith-panel.php:469
727
+ msgid "Italic bold"
728
+ msgstr ""
729
+
730
+ #: yit-common/yith-panel.php:481
731
+ msgid "Click to preview"
732
+ msgstr ""
733
+
734
+ #, fuzzy
735
+ #~ msgid "Add options "
736
+ #~ msgstr "Добавить в корзину"
737
+
738
+ #, fuzzy
739
+ #~ msgid "Add option"
740
+ #~ msgstr "\"Добавить в корзину\" icon"
741
+
742
+ #, fuzzy
743
+ #~ msgid "Add to gallery"
744
+ #~ msgstr "Добавить в галлерею"
745
+
746
+ #~ msgid "\"Add to Cart\" button border"
747
+ #~ msgstr "\"Добавить в корзину\" button border"
748
+
749
+ #~ msgid "\"Add to Cart\" button background (hover)"
750
+ #~ msgstr "\"Добавить в корзину\" button background (hover)"
751
+
752
+ #~ msgid "\"Add to Cart\" button text (hover)"
753
+ #~ msgstr "\"Добавить в корзину\" button text (hover)"
754
+
755
+ #~ msgid "\"Add to Cart\" button border (hover)"
756
+ #~ msgstr "\"Добавить в корзину\" button border (hover)"
757
+
758
+ #~ msgid "View Cart &rarr;"
759
+ #~ msgstr "Просмотреть корзину &rarr;"
plugin-fw/assets/css/yit-plugin-panel.css CHANGED
@@ -169,6 +169,7 @@
169
  padding-left: 6px;
170
  position: absolute;
171
  z-index: 2;
 
172
  }
173
  .ie8 .yit_options select,
174
  .ie8 .yit-options select {
169
  padding-left: 6px;
170
  position: absolute;
171
  z-index: 2;
172
+ overflow: hidden;
173
  }
174
  .ie8 .yit_options select,
175
  .ie8 .yit-options select {
plugin-fw/assets/js/metabox.js CHANGED
@@ -42,22 +42,26 @@
42
  $(document).on('click', '.metaboxes-tab .upload_button', function(e) {
43
  var send_attachment_bkp = wp.media.editor.send.attachment;
44
  var button = $(this);
45
- var id = button.attr('id').replace('-button', '');
46
- _custom_media = true;
47
- wp.media.editor.send.attachment = function(props, attachment){
48
- if ( _custom_media ) {
49
- if( $("#"+id).is('input[type=text]') ) {
50
- $("#"+id).val(attachment.url);
 
 
 
 
 
51
  } else {
52
- $("#"+id + '_custom').val(attachment.url);
53
- }
54
- } else {
55
- return _orig_send_attachment.apply( this, [props, attachment] );
56
- };
 
57
  }
58
 
59
- wp.media.editor.open(button);
60
- return false;
61
  });
62
 
63
  $('.metaboxes-tab .add_media').on('click', function(){
42
  $(document).on('click', '.metaboxes-tab .upload_button', function(e) {
43
  var send_attachment_bkp = wp.media.editor.send.attachment;
44
  var button = $(this);
45
+ if( typeof button.attr('id') != 'undefined' ) {
46
+
47
+ var id = button.attr('id').replace('-button', '');
48
+ _custom_media = true;
49
+ wp.media.editor.send.attachment = function(props, attachment){
50
+ if ( _custom_media ) {
51
+ if( $("#"+id).is('input[type=text]') ) {
52
+ $("#"+id).val(attachment.url);
53
+ } else {
54
+ $("#"+id + '_custom').val(attachment.url);
55
+ }
56
  } else {
57
+ return _orig_send_attachment.apply( this, [props, attachment] );
58
+ };
59
+ }
60
+
61
+ wp.media.editor.open(button);
62
+ return false;
63
  }
64
 
 
 
65
  });
66
 
67
  $('.metaboxes-tab .add_media').on('click', function(){
plugin-fw/assets/js/yit-plugin-panel.js CHANGED
@@ -113,36 +113,13 @@
113
  var url = $(this).val();
114
  var re = new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)");
115
 
116
- var preview = $(this).parent().siblings('.upload_img_preview');
117
  if (re.test(url)) {
118
  preview.html('<img src="' + url + '" style="max-width:600px; max-height:300px;" />');
119
  } else {
120
  preview.html('');
121
  }
122
- }).change();
123
-
124
- //$(document).on('click', '.plugin-option .upload_button', function (e) {
125
- // var send_attachment_bkp = wp.media.editor.send.attachment;
126
- // var button = $(this);
127
- // var id = button.attr('id').replace('-button', '');
128
- // _custom_media = true;
129
- // wp.media.editor.send.attachment = function (props, attachment) {
130
- // if (_custom_media) {
131
- // if ($("#" + id).is('input[type=text]')) {
132
- // $("#" + id).val(attachment.url);
133
- // } else {
134
- // $("#" + id + '_custom').val(attachment.url);
135
- // }
136
- //
137
- // } else {
138
- // return _orig_send_attachment.apply(this, [props, attachment]);
139
- // }
140
- // ;
141
- // }
142
- //
143
- // wp.media.editor.open(button);
144
- // return false;
145
- //});
146
 
147
  $( document ).on( 'click', '.plugin-option .upload_button', function(e) {
148
  e.preventDefault();
@@ -188,6 +165,7 @@
188
  var attachment = custom_uploader.state().get( 'selection' ).first().toJSON();
189
 
190
  $("#" + id).val( attachment.url );
 
191
  });
192
 
193
  //Open the uploader dialog
113
  var url = $(this).val();
114
  var re = new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)");
115
 
116
+ var preview = $(this).parents().siblings('.upload_img_preview');
117
  if (re.test(url)) {
118
  preview.html('<img src="' + url + '" style="max-width:600px; max-height:300px;" />');
119
  } else {
120
  preview.html('');
121
  }
122
+ }).trigger( 'change' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
 
124
  $( document ).on( 'click', '.plugin-option .upload_button', function(e) {
125
  e.preventDefault();
165
  var attachment = custom_uploader.state().get( 'selection' ).first().toJSON();
166
 
167
  $("#" + id).val( attachment.url );
168
+ $('.plugin-option .upload_img_url').trigger('change');
169
  });
170
 
171
  //Open the uploader dialog
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1,10 +1,10 @@
1
  (function(a){var l=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+
2
  "</span>")};a(".plugin-option .select_wrapper select").not(".chosen").each(l).change(l);a(".plugin-option .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".plugin-option .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".plugin-option .select_wrapper select[multiple]").not(".chosen").hide()});a(".plugin-option .chosen .select_wrapper select").chosen();a(".plugin-option .on_off_container span").on("click",
3
- function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),f=a(this).data("labels");a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);
4
- a(this).siblings(".feedback").find("strong").text(c.value+f)}})});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(a(".plugin-option .upload_img_url").change(function(){var b=a(this).val(),c=a(this).parent().siblings(".upload_img_preview");/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?c.html('<img src="'+b+'" style="max-width:600px; max-height:300px;" />'):c.html("")}).change(),a(document).on("click",".plugin-option .upload_button",function(b){b.preventDefault();
5
- var c,d=a(this).attr("id").replace(/-button$/,"");c||(b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})],c=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:b}),c.on("select",function(){var b=c.state().get("selection").first().toJSON();a("#"+d).val(b.url)}));c.open()}));a(".plugin-option .add_media").on("click",function(){});a("[data-field]").each(function(){var b=
6
- a(this),c="#"+b.data("field"),d="#"+b.data("dep"),e=b.data("value");a(d).on("change",function(){var b=d,g=e.toString(),h=!0;if("string"==typeof b){":radio"==b.substr(0,6)&&(b+=":checked");for(var g=g.split(","),k=0;k<g.length;k++)if(a(b).val()!=g[k])h=!1;else{h=!0;break}}h?a(c+"-container").closest("tr").show():a(c+"-container").closest("tr").hide()}).change()});a(".rm_connectedlist").each(function(){var b=a(this).find("ul"),c=a(this).find(":hidden");b.sortable({connectWith:b,update:function(d,e){var f=
7
- {};b.each(function(){var b={};a(this).children().each(function(){b[a(this).data("option")]=a(this).text()});f[a(this).data("list")]=b});c.val(JSON.stringify(f).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()});a(document).ready(function(){a(".yith-video-link").click(function(b){b.preventDefault();b=a(this).data("video-id");a("."+b).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",resizable:!1,draggable:!1,create:function(b,
8
- d){a(this).css("maxWidth","853px")},open:function(b,d){a(".ui-widget-overlay").bind("click",function(){a(this).siblings(".ui-dialog").find(".ui-dialog-content").dialog("close")})}});a(".ui-dialog :button").blur()})});a(document).ready(function(){a(".codemirror").each(function(b,c){var d=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",d)})});a(document).ready(function(){a(".google-analytic-generate").click(function(){var b=a("#"+
9
- a(this).data("textarea")).data("codemirrorInstance"),c=a("#"+a(this).data("input")).val(),d=a(this).data("basename"),e;e="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\nm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n";e+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n";e+="ga('create', '"+c+"', '"+d+"');\n";e+="ga('send', 'pageview');\n";
10
- b.replaceRange(e,b.getCursor("start"),b.getCursor("end"))})})})(jQuery);
1
  (function(a){var l=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+
2
  "</span>")};a(".plugin-option .select_wrapper select").not(".chosen").each(l).change(l);a(".plugin-option .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".plugin-option .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".plugin-option .select_wrapper select[multiple]").not(".chosen").hide()});a(".plugin-option .chosen .select_wrapper select").chosen();a(".plugin-option .on_off_container span").on("click",
3
+ function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),f=a(this).data("labels");a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);
4
+ a(this).siblings(".feedback").find("strong").text(c.value+f)}})});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(a(".plugin-option .upload_img_url").change(function(){var b=a(this).val(),c=a(this).parents().siblings(".upload_img_preview");/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?c.html('<img src="'+b+'" style="max-width:600px; max-height:300px;" />'):c.html("")}).trigger("change"),a(document).on("click",".plugin-option .upload_button",function(b){b.preventDefault();
5
+ var c,d=a(this).attr("id").replace(/-button$/,"");c||(b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})],c=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:b}),c.on("select",function(){var b=c.state().get("selection").first().toJSON();a("#"+d).val(b.url);a(".plugin-option .upload_img_url").trigger("change")}));c.open()}));a(".plugin-option .add_media").on("click",
6
+ function(){});a("[data-field]").each(function(){var b=a(this),c="#"+b.data("field"),d="#"+b.data("dep"),e=b.data("value");a(d).on("change",function(){var b=d,g=e.toString(),h=!0;if("string"==typeof b){":radio"==b.substr(0,6)&&(b+=":checked");for(var g=g.split(","),k=0;k<g.length;k++)if(a(b).val()!=g[k])h=!1;else{h=!0;break}}h?a(c+"-container").closest("tr").show():a(c+"-container").closest("tr").hide()}).change()});a(".rm_connectedlist").each(function(){var b=a(this).find("ul"),c=a(this).find(":hidden");
7
+ b.sortable({connectWith:b,update:function(d,e){var f={};b.each(function(){var b={};a(this).children().each(function(){b[a(this).data("option")]=a(this).text()});f[a(this).data("list")]=b});c.val(JSON.stringify(f).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()});a(document).ready(function(){a(".yith-video-link").click(function(b){b.preventDefault();b=a(this).data("video-id");a("."+b).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",
8
+ resizable:!1,draggable:!1,create:function(b,d){a(this).css("maxWidth","853px")},open:function(b,d){a(".ui-widget-overlay").bind("click",function(){a(this).siblings(".ui-dialog").find(".ui-dialog-content").dialog("close")})}});a(".ui-dialog :button").blur()})});a(document).ready(function(){a(".codemirror").each(function(b,c){var d=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",d)})});a(document).ready(function(){a(".google-analytic-generate").click(function(){var b=
9
+ a("#"+a(this).data("textarea")).data("codemirrorInstance"),c=a("#"+a(this).data("input")).val(),d=a(this).data("basename"),e;e="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\nm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n";e+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n";e+="ga('create', '"+c+"', '"+d+"');\n";e+="ga('send', 'pageview');\n";
10
+ b.replaceRange(e,b.getCursor("start"),b.getCursor("end"))})})})(jQuery);
plugin-fw/lib/yit-cpt-unlimited.php CHANGED
@@ -1630,7 +1630,7 @@ class YIT_CPT_Unlimited {
1630
  class: 'multi-uploader add-new-h2',
1631
  'data-uploader_title': '<?php printf( __( 'Add %s from images', 'yith-plugin-fw' ), $label_plural ) ?>',
1632
  'data-uploader_button_text': '<?php printf( __( 'Add %s', 'yith-plugin-fw' ), $label_plural ) ?>'
1633
- }).text('<?php _e( 'Add with multiupload', 'yith-plugin-fw' ) ?>');
1634
 
1635
  var spinner = $('<span />', {
1636
  class: 'spinner',
1630
  class: 'multi-uploader add-new-h2',
1631
  'data-uploader_title': '<?php printf( __( 'Add %s from images', 'yith-plugin-fw' ), $label_plural ) ?>',
1632
  'data-uploader_button_text': '<?php printf( __( 'Add %s', 'yith-plugin-fw' ), $label_plural ) ?>'
1633
+ }).text('<?php _e( 'Upload multiple files', 'yith-plugin-fw' ) ?>');
1634
 
1635
  var spinner = $('<span />', {
1636
  class: 'spinner',
plugin-fw/lib/yit-plugin-common.php CHANGED
@@ -27,6 +27,7 @@ class YIT_Plugin_Common {
27
 
28
 
29
  'awesome_icons' => array(
 
30
  'f042' => 'adjust',
31
  'f170' => 'adn',
32
  'f037' => 'align-center',
27
 
28
 
29
  'awesome_icons' => array(
30
+ '' => 'no-icon',
31
  'f042' => 'adjust',
32
  'f170' => 'adn',
33
  'f037' => 'align-center',
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -92,7 +92,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
92
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
93
  */
94
  public function add_menu_page() {
95
- $position = apply_filters( 'yit_plugins_menu_item_position', 62.32 );
96
  add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'manage_options', 'yit_plugin_panel', NULL, YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png', $position );
97
  }
98
 
@@ -295,7 +295,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
295
  <form method="post">
296
  <?php $warning = __( 'If you continue with this action, you will reset all options in this page.', 'yith-plugin-fw' ) ?>
297
  <input type="hidden" name="yit-action" value="reset" />
298
- <input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset to Default', 'yith-plugin-fw' ) ?>" onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yith-plugin-fw' ) ?>');" />
299
  </form>
300
  <p>&nbsp;</p>
301
  <?php endif ?>
92
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
93
  */
94
  public function add_menu_page() {
95
+ $position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
96
  add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'manage_options', 'yit_plugin_panel', NULL, YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png', $position );
97
  }
98
 
295
  <form method="post">
296
  <?php $warning = __( 'If you continue with this action, you will reset all options in this page.', 'yith-plugin-fw' ) ?>
297
  <input type="hidden" name="yit-action" value="reset" />
298
+ <input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset to default', 'yith-plugin-fw' ) ?>" onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yith-plugin-fw' ) ?>');" />
299
  </form>
300
  <p>&nbsp;</p>
301
  <?php endif ?>
plugin-fw/lib/yit-plugin-subpanel.php CHANGED
@@ -97,8 +97,9 @@ if ( ! class_exists( 'YIT_Plugin_SubPanel' ) ) {
97
  if ( isset( $admin_logo ) && ! empty( $admin_logo ) && $admin_logo != '' && $admin_logo) {
98
  $logo = $admin_logo;
99
  }
 
 
100
 
101
- add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'nosuchcapability', 'yit_plugin_panel', NULL, $logo, 62 );
102
  add_submenu_page( 'yit_plugin_panel', $this->settings['label'], $this->settings['label'], 'manage_options', $this->settings['page'], array( $this, 'yit_panel' ) );
103
  remove_submenu_page( 'yit_plugin_panel', 'yit_plugin_panel' );
104
 
@@ -144,7 +145,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.', 'yith-plugin-fw' ) ?>
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', 'yith-plugin-fw' ) ?>" onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yith-plugin-fw' ) ?>');" />
148
  </form>
149
  <p>&nbsp;</p>
150
  <?php endif ?>
97
  if ( isset( $admin_logo ) && ! empty( $admin_logo ) && $admin_logo != '' && $admin_logo) {
98
  $logo = $admin_logo;
99
  }
100
+ $position = apply_filters( 'yit_plugins_menu_item_position', '62.32' );
101
+ add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'nosuchcapability', 'yit_plugin_panel', NULL, $logo, $position );
102
 
 
103
  add_submenu_page( 'yit_plugin_panel', $this->settings['label'], $this->settings['label'], 'manage_options', $this->settings['page'], array( $this, 'yit_panel' ) );
104
  remove_submenu_page( 'yit_plugin_panel', 'yit_plugin_panel' );
105
 
145
  <form method="post">
146
  <?php $warning = __( 'If you continue with this action, you will reset all the options in this page.', 'yith-plugin-fw' ) ?>
147
  <input type="hidden" name="yit-action" value="reset" />
148
+ <input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset to default', 'yith-plugin-fw' ) ?>" onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yith-plugin-fw' ) ?>');" />
149
  </form>
150
  <p>&nbsp;</p>
151
  <?php endif ?>
plugin-fw/templates/metaboxes/types/icon-list.php CHANGED
@@ -23,7 +23,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
23
 
24
  $current_options = wp_parse_args( $args['value'], $args['std'] );
25
  $current_icon = YIT_Icon()->get_icon_data( $current_options['icon'] );
26
- $current_icon = YIT_Icon()->get_icon_data( $std['icon'] );
27
 
28
  $options['icon'] = YIT_Plugin_Common::get_icon_list();
29
 
@@ -88,7 +88,7 @@ $options['icon'] = YIT_Plugin_Common::get_icon_list();
88
  <?php if( $std['select'] == 'custom' ) : ?>
89
  <?php printf( __( '(Default: %s <img src="%s"/>)', 'yith-plugin-fw' ), $options['select']['custom'], $std['custom'] ) ?>
90
  <?php else: ?>
91
- <?php printf( __( '(Default: <i %s></i> )', 'yith-plugin-fw' ), $current_icon ) ?>
92
  <?php endif; ?>
93
  </div>
94
 
23
 
24
  $current_options = wp_parse_args( $args['value'], $args['std'] );
25
  $current_icon = YIT_Icon()->get_icon_data( $current_options['icon'] );
26
+ $std_icon = YIT_Icon()->get_icon_data( $std['icon'] );
27
 
28
  $options['icon'] = YIT_Plugin_Common::get_icon_list();
29
 
88
  <?php if( $std['select'] == 'custom' ) : ?>
89
  <?php printf( __( '(Default: %s <img src="%s"/>)', 'yith-plugin-fw' ), $options['select']['custom'], $std['custom'] ) ?>
90
  <?php else: ?>
91
+ <?php printf( __( '(Default: <i %s></i> )', 'yith-plugin-fw' ), $std_icon ) ?>
92
  <?php endif; ?>
93
  </div>
94
 
templates/add-to-wishlist-button.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 2.0.0
8
  */
9
 
10
  global $product;
@@ -14,4 +14,4 @@ global $product;
14
  <?php echo $icon ?>
15
  <?php echo $label ?>
16
  </a>
17
- <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ) ?>" class="ajax-loading" alt="loading" width="16" height="16" style="visibility:hidden" />
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 2.0.8
8
  */
9
 
10
  global $product;
14
  <?php echo $icon ?>
15
  <?php echo $label ?>
16
  </a>
17
+ <img src="<?php echo esc_url( YITH_WCWL_URL . 'assets/images/wpspin_light.gif' ) ?>" class="ajax-loading" alt="loading" width="16" height="16" style="visibility:hidden" />
templates/share.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.1.5
8
  */
9
  ?>
10
 
@@ -13,7 +13,7 @@
13
  <ul>
14
  <?php if( $share_facebook_enabled ): ?>
15
  <li style="list-style-type: none; display: inline-block;">
16
- <a target="_blank" class="facebook" href="https://www.facebook.com/sharer.php?s=100&amp;p[title]=<?php echo $share_link_title ?>&amp;p[url]=<?php echo $share_link_url ?>&amp;p[summary]=<?php echo $share_summary ?>&amp;p[images][0]=<?php echo $share_image_url ?>" title="<?php _e( 'Facebook', 'yit' ) ?>"></a>
17
  </li>
18
  <?php endif; ?>
19
 
@@ -25,7 +25,7 @@
25
 
26
  <?php if( $share_pinterest_enabled ): ?>
27
  <li style="list-style-type: none; display: inline-block;">
28
- <a target="_blank" class="pinterest" href="http://pinterest.com/pin/create/button/?url=<?php echo $share_link_url ?>&amp;description=<?php echo $share_summary ?>&media=<?php echo $share_image_url ?>" title="<?php _e( 'Pinterest', 'yit' ) ?>" onclick="window.open(this.href); return false;"></a>
29
  </li>
30
  <?php endif; ?>
31
 
@@ -37,7 +37,7 @@
37
 
38
  <?php if( $share_email_enabled ): ?>
39
  <li style="list-style-type: none; display: inline-block;">
40
- <a class="email" href="mailto:?subject=I wanted you to see this site&amp;body=<?php echo $share_link_url ?>&amp;title=<?php echo $share_link_title ?>" title="<?php _e( 'Email', 'yit' ) ?>"></a>
41
  </li>
42
  <?php endif; ?>
43
  </ul>
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 2.0.9
8
  */
9
  ?>
10
 
13
  <ul>
14
  <?php if( $share_facebook_enabled ): ?>
15
  <li style="list-style-type: none; display: inline-block;">
16
+ <a target="_blank" class="facebook" href="https://www.facebook.com/sharer.php?s=100&amp;p%5Btitle%5D=<?php echo $share_link_title ?>&amp;p%5Burl%5D=<?php echo $share_link_url ?>&amp;p%5Bsummary%5D=<?php echo $share_summary ?>&amp;p%5Bimages%5D%5B0%5D=<?php echo $share_image_url ?>" title="<?php _e( 'Facebook', 'yit' ) ?>"></a>
17
  </li>
18
  <?php endif; ?>
19
 
25
 
26
  <?php if( $share_pinterest_enabled ): ?>
27
  <li style="list-style-type: none; display: inline-block;">
28
+ <a target="_blank" class="pinterest" href="http://pinterest.com/pin/create/button/?url=<?php echo $share_link_url ?>&amp;description=<?php echo $share_summary ?>&amp;media=<?php echo $share_image_url ?>" title="<?php _e( 'Pinterest', 'yit' ) ?>" onclick="window.open(this.href); return false;"></a>
29
  </li>
30
  <?php endif; ?>
31
 
37
 
38
  <?php if( $share_email_enabled ): ?>
39
  <li style="list-style-type: none; display: inline-block;">
40
+ <a class="email" href="mailto:?subject=I%20wanted%20you%20to%20see%20this%20site&amp;body=<?php echo $share_link_url ?>&amp;title=<?php echo $share_link_title ?>" title="<?php _e( 'Email', 'yit' ) ?>"></a>
41
  </li>
42
  <?php endif; ?>
43
  </ul>
templates/wishlist-view.php CHANGED
@@ -10,11 +10,7 @@
10
 
11
  <?php do_action( 'yith_wcwl_before_wishlist_form', $wishlist_meta ); ?>
12
 
13
- <form
14
- id="yith-wcwl-form"
15
- action="<?php echo esc_url( YITH_WCWL()->get_wishlist_url( 'view' . ( $wishlist_meta['is_default'] != 1 ? '/' . $wishlist_meta['wishlist_token'] : '' ) ) ) ?>"
16
- method="post"
17
- >
18
 
19
  <!-- TITLE -->
20
  <?php
@@ -50,15 +46,7 @@
50
  do_action( 'yith_wcwl_before_wishlist' ); ?>
51
 
52
  <!-- WISHLIST TABLE -->
53
- <table
54
- class="shop_table cart wishlist_table"
55
- cellspacing="0"
56
- data-pagination="<?php echo esc_attr( $pagination )?>"
57
- data-per-page="<?php echo esc_attr( $per_page )?>"
58
- data-page="<?php echo esc_attr( $current_page )?>"
59
- data-id="<?php echo ( is_user_logged_in() ) ? esc_attr( $wishlist_meta['ID'] ) : '' ?>"
60
- data-token="<?php echo ( ! empty( $wishlist_meta['wishlist_token'] ) && is_user_logged_in() ) ? esc_attr( $wishlist_meta['wishlist_token'] ) : '' ?>"
61
- >
62
 
63
  <?php $column_count = 2; ?>
64
 
@@ -288,7 +276,7 @@
288
  </div>
289
  <?php endif; ?>
290
 
291
- <?php if ( $is_user_owner && $show_ask_estimate_button && $count > 0 ): ?>
292
  <div class="ask-an-estimate-button-container">
293
  <a href="<?php echo ( $additional_info ) ? '#ask_an_estimate_popup' : $ask_estimate_url ?>" class="btn button ask-an-estimate-button" <?php echo ( $additional_info ) ? 'data-rel="prettyPhoto[ask_an_estimate]"' : '' ?> >
294
  <?php echo apply_filters( 'yith_wcwl_ask_an_estimate_icon', '<i class="fa fa-shopping-cart"></i>' )?>
@@ -300,7 +288,7 @@
300
  <?php
301
  do_action( 'yith_wcwl_before_wishlist_share' );
302
 
303
- if ( $is_user_owner && $wishlist_meta['wishlist_privacy'] != 2 && $share_enabled ){
304
  yith_wcwl_get_template( 'share.php', $share_atts );
305
  }
306
 
10
 
11
  <?php do_action( 'yith_wcwl_before_wishlist_form', $wishlist_meta ); ?>
12
 
13
+ <form id="yith-wcwl-form" action="<?php echo esc_url( YITH_WCWL()->get_wishlist_url( 'view' . ( $wishlist_meta['is_default'] != 1 ? '/' . $wishlist_meta['wishlist_token'] : '' ) ) ) ?>" method="post" class="woocommerce">
 
 
 
 
14
 
15
  <!-- TITLE -->
16
  <?php
46
  do_action( 'yith_wcwl_before_wishlist' ); ?>
47
 
48
  <!-- WISHLIST TABLE -->
49
+ <table class="shop_table cart wishlist_table" data-pagination="<?php echo esc_attr( $pagination )?>" data-per-page="<?php echo esc_attr( $per_page )?>" data-page="<?php echo esc_attr( $current_page )?>" data-id="<?php echo ( is_user_logged_in() ) ? esc_attr( $wishlist_meta['ID'] ) : '' ?>" data-token="<?php echo ( ! empty( $wishlist_meta['wishlist_token'] ) && is_user_logged_in() ) ? esc_attr( $wishlist_meta['wishlist_token'] ) : '' ?>">
 
 
 
 
 
 
 
 
50
 
51
  <?php $column_count = 2; ?>
52
 
276
  </div>
277
  <?php endif; ?>
278
 
279
+ <?php if ( is_user_logged_in() && $is_user_owner && $show_ask_estimate_button && $count > 0 ): ?>
280
  <div class="ask-an-estimate-button-container">
281
  <a href="<?php echo ( $additional_info ) ? '#ask_an_estimate_popup' : $ask_estimate_url ?>" class="btn button ask-an-estimate-button" <?php echo ( $additional_info ) ? 'data-rel="prettyPhoto[ask_an_estimate]"' : '' ?> >
282
  <?php echo apply_filters( 'yith_wcwl_ask_an_estimate_icon', '<i class="fa fa-shopping-cart"></i>' )?>
288
  <?php
289
  do_action( 'yith_wcwl_before_wishlist_share' );
290
 
291
+ if ( is_user_logged_in() && $is_user_owner && $wishlist_meta['wishlist_privacy'] != 2 && $share_enabled ){
292
  yith_wcwl_get_template( 'share.php', $share_atts );
293
  }
294