Version Description
Released Sep 12 - 2018
- New: Support to WooCommerce 3.4.5.
- New: Support to WordPress 4.9.8.
- Update: Plugin Core.
- Fix: Now is possible use shortcode [yith_quick_view] without specify the "product_id" parameter.
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Quick View |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- README.txt +184 -179
- assets/css/yith-quick-view.css +154 -154
- assets/js/frontend.js +184 -184
- assets/js/frontend.min.js +7 -7
- includes/class.yith-wcqv-admin.php +241 -238
- includes/class.yith-wcqv-frontend.php +359 -358
- includes/class.yith-wcqv.php +156 -156
- init.php +134 -126
- plugin-fw/assets/css/yith-fields.css +38 -0
- plugin-fw/assets/css/yith-select2-no-wc.css +741 -0
- plugin-fw/assets/js/jquery.colorbox.min.js +33 -24
- plugin-fw/assets/js/metabox.min.js +7 -4
- plugin-fw/assets/js/yit-cpt-unlimited.min.js +2 -2
- plugin-fw/assets/js/yit-wp-pointer.min.js +6 -3
- plugin-fw/assets/js/yith-enhanced-select-wc-2.6.min.js +5 -5
- plugin-fw/assets/js/yith-enhanced-select.min.js +8 -5
- plugin-fw/assets/js/yith-fields.js +27 -13
- plugin-fw/assets/js/yith-fields.min.js +11 -11
- plugin-fw/init.php +3 -3
- plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-es_ES.po +466 -421
- plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-it_IT.po +466 -425
- plugin-fw/languages/yith-plugin-fw.pot +167 -354
- plugin-fw/lib/yit-ajax.php +2 -2
- plugin-fw/lib/yit-assets.php +11 -7
- plugin-fw/lib/yit-debug.php +1 -2
- plugin-fw/lib/yit-upgrade.php +1 -1
- plugin-fw/licence/lib/yit-plugin-licence.php +42 -7
- plugin-fw/licence/lib/yit-theme-licence.php +1 -1
- plugin-fw/licence/templates/panel/activation/activation-panel.php +1 -1
- plugin-fw/templates/fields/ajax-posts.php +1 -2
- plugin-fw/templates/fields/ajax-terms.php +1 -2
- plugin-fw/templates/fields/resources/select2-wc-2.6.php +31 -0
- plugin-fw/templates/fields/resources/select2.php +43 -0
- plugin-fw/templates/fields/select-images.php +52 -0
- plugin-fw/templates/privacy/html-policy-content.php +36 -36
- plugin-fw/yit-functions.php +88 -9
- plugin-fw/yit-plugin.php +148 -0
- plugin-options/premium-options.php +9 -9
- plugin-options/settings-options.php +89 -89
- templates/admin/premium.php +372 -372
- templates/yith-quick-view-content.php +28 -28
- templates/yith-quick-view.php +29 -29
- uninstall.php +13 -13
- wpml-config.xml +4 -4
README.txt
CHANGED
@@ -1,179 +1,184 @@
|
|
1 |
-
=== Plugin Name ===
|
2 |
-
Contributors: yithemes
|
3 |
-
Tags: woocommerce, quick view, woocommerce quick view, products quick view
|
4 |
-
Requires at least: 4.0
|
5 |
-
Tested up to: 4.9
|
6 |
-
Stable tag: 1.3.
|
7 |
-
License: GPLv2 or later
|
8 |
-
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
-
|
10 |
-
This plugin adds the possibility to have a quick preview of the products right from product list
|
11 |
-
|
12 |
-
== Description ==
|
13 |
-
Sometimes the halfway is better: what if you are looking to a product in a list and its image is still too small?
|
14 |
-
|
15 |
-
You have to open its product page, waiting for its loading and finally observe what you are interested into.
|
16 |
-
So why don't use a simple way to look immediately at the product's distinctiveness? Here it is what Quick View can offer you.
|
17 |
-
|
18 |
-
People are more attracted to what they can see clearly. And often the classic product lists are not enough to understand the real value of a product.
|
19 |
-
That's when Quick View strikes successfully! Your clients will be free to look in a better way your products, reading also a small description with all the most important features and qualities you want to underline.
|
20 |
-
In this way, they will be more focused on what they really want and they will proceed easily to the purchase step.
|
21 |
-
|
22 |
-
**Main features:**
|
23 |
-
|
24 |
-
* Add a button in product loop to open a modal window with the product summary using ajax
|
25 |
-
* Choose to enable the prettyPhoto lightbox for images in quick view
|
26 |
-
* Customize style of modal
|
27 |
-
|
28 |
-
|
29 |
-
Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-quick-view/).
|
30 |
-
|
31 |
-
== Installation ==
|
32 |
-
|
33 |
-
1. Unzip the downloaded zip file.
|
34 |
-
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
|
35 |
-
3. Activate `YITH WooCommerce Quick View` from Plugins page.
|
36 |
-
|
37 |
-
== Screenshots ==
|
38 |
-
|
39 |
-
1. The plugin admin page.
|
40 |
-
2. The quick view button in shop page.
|
41 |
-
3. The quick view modal.
|
42 |
-
|
43 |
-
== Changelog ==
|
44 |
-
|
45 |
-
= 1.3.
|
46 |
-
|
47 |
-
* New: Support to WooCommerce 3.4.
|
48 |
-
* New: Support to WordPress 4.9.
|
49 |
-
* Update: Plugin Core.
|
50 |
-
* Fix:
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
*
|
57 |
-
*
|
58 |
-
*
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
* New: Support to
|
64 |
-
*
|
65 |
-
* Update: Plugin Core.
|
66 |
-
|
67 |
-
= 1.2.
|
68 |
-
|
69 |
-
*
|
70 |
-
*
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
*
|
77 |
-
* Update: Plugin Core.
|
78 |
-
|
79 |
-
= 1.
|
80 |
-
|
81 |
-
*
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
* Fix:
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
* New:
|
94 |
-
*
|
95 |
-
*
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
*
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
* New:
|
107 |
-
* Update:
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
*
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
* Fix:
|
120 |
-
|
121 |
-
= 1.0.
|
122 |
-
|
123 |
-
*
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
* Compatibility with
|
135 |
-
*
|
136 |
-
* Update
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
*
|
142 |
-
*
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
=== Plugin Name ===
|
2 |
+
Contributors: yithemes
|
3 |
+
Tags: woocommerce, quick view, woocommerce quick view, products quick view
|
4 |
+
Requires at least: 4.0
|
5 |
+
Tested up to: 4.9
|
6 |
+
Stable tag: 1.3.2
|
7 |
+
License: GPLv2 or later
|
8 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
+
|
10 |
+
This plugin adds the possibility to have a quick preview of the products right from product list
|
11 |
+
|
12 |
+
== Description ==
|
13 |
+
Sometimes the halfway is better: what if you are looking to a product in a list and its image is still too small?
|
14 |
+
|
15 |
+
You have to open its product page, waiting for its loading and finally observe what you are interested into.
|
16 |
+
So why don't use a simple way to look immediately at the product's distinctiveness? Here it is what Quick View can offer you.
|
17 |
+
|
18 |
+
People are more attracted to what they can see clearly. And often the classic product lists are not enough to understand the real value of a product.
|
19 |
+
That's when Quick View strikes successfully! Your clients will be free to look in a better way your products, reading also a small description with all the most important features and qualities you want to underline.
|
20 |
+
In this way, they will be more focused on what they really want and they will proceed easily to the purchase step.
|
21 |
+
|
22 |
+
**Main features:**
|
23 |
+
|
24 |
+
* Add a button in product loop to open a modal window with the product summary using ajax
|
25 |
+
* Choose to enable the prettyPhoto lightbox for images in quick view
|
26 |
+
* Customize style of modal
|
27 |
+
|
28 |
+
|
29 |
+
Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woocommerce-quick-view/).
|
30 |
+
|
31 |
+
== Installation ==
|
32 |
+
|
33 |
+
1. Unzip the downloaded zip file.
|
34 |
+
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
|
35 |
+
3. Activate `YITH WooCommerce Quick View` from Plugins page.
|
36 |
+
|
37 |
+
== Screenshots ==
|
38 |
+
|
39 |
+
1. The plugin admin page.
|
40 |
+
2. The quick view button in shop page.
|
41 |
+
3. The quick view modal.
|
42 |
+
|
43 |
+
== Changelog ==
|
44 |
+
|
45 |
+
= 1.3.2 = Released Sep 12 - 2018
|
46 |
+
|
47 |
+
* New: Support to WooCommerce 3.4.5.
|
48 |
+
* New: Support to WordPress 4.9.8.
|
49 |
+
* Update: Plugin Core.
|
50 |
+
* Fix: Now is possible use shortcode [yith_quick_view] without specify the "product_id" parameter.
|
51 |
+
|
52 |
+
= 1.3.1 = Released May 30 - 2018
|
53 |
+
|
54 |
+
* New: Support to WooCommerce 3.4.0.
|
55 |
+
* New: Support to WordPress 4.9.6.
|
56 |
+
* Update: Plugin Core.
|
57 |
+
* Fix: Product image zoom in Quick View modal.
|
58 |
+
* Fix: Removed redirect to single product page after add to cart.
|
59 |
+
* Fix: WPML compatibility issue.
|
60 |
+
|
61 |
+
= 1.3.0 = Released Feb 01 - 2018
|
62 |
+
|
63 |
+
* New: Support to WooCommerce 3.3.0.
|
64 |
+
* New: Support to WordPress 4.9.2.
|
65 |
+
* Update: Plugin Core.
|
66 |
+
|
67 |
+
= 1.2.2 = Released Oct 11 - 2017
|
68 |
+
|
69 |
+
* New: Support to WooCommerce 3.2.0 RC2.
|
70 |
+
* New: Support to WordPress 4.8.2.
|
71 |
+
* Fix: Compatibility issue with YITH WooCommerce Product Bundles.
|
72 |
+
* Update: Plugin Core.
|
73 |
+
|
74 |
+
= 1.2.1 = Released Apr 05 - 2017
|
75 |
+
|
76 |
+
* Fix: Compatibility issue with YITH WooCommerce Wishlist.
|
77 |
+
* Update: Plugin Core.
|
78 |
+
|
79 |
+
= 1.2.0 = Released Mar 31 - 2017
|
80 |
+
|
81 |
+
* New: Support to WordPress 4.7.3.
|
82 |
+
* New: Support to WooCommerce 3.0.0 RC2.
|
83 |
+
* New: Shortcode [yith_quick_view product_id="" label=""] for print "quick view" button of specified product.
|
84 |
+
* Update: Plugin Core.
|
85 |
+
|
86 |
+
= 1.1.4 = Released Oct 24 - 2016
|
87 |
+
|
88 |
+
* Fix: Status code 404 for "Quick View" on single product page
|
89 |
+
|
90 |
+
= 1.1.3 = Released Oct 20 - 2016
|
91 |
+
|
92 |
+
* New: Support to WooCommerce 2.6.5
|
93 |
+
* New: Support to WordPress 4.6.1
|
94 |
+
* Update: Plugin Core.
|
95 |
+
* Fix: Responsive style.
|
96 |
+
* Fix: Add inline css using WordPress function wp_add_inline_style.
|
97 |
+
|
98 |
+
= 1.1.2 = Released Jun 10 - 2016
|
99 |
+
|
100 |
+
* New: Added minimized js files. Plugin loads full files version if the constant "SCRIPT_DEBUG" is defined and is true.
|
101 |
+
* New: Support to WooCommerce 2.6 RC1
|
102 |
+
* Update: Plugin Core
|
103 |
+
|
104 |
+
= 1.1.1 = Released Apr 18 - 2016
|
105 |
+
|
106 |
+
* New: Compatibility with WordPress 4.5
|
107 |
+
* Update: Plugin Core
|
108 |
+
|
109 |
+
= 1.1.0 = Released Oct 30 - 2015
|
110 |
+
|
111 |
+
* New: Compatibility with YITH WooCommerce Wishlist
|
112 |
+
* New: Compatibility with YITH WooCommerce Badge Management
|
113 |
+
* New: Italian Language
|
114 |
+
* Update: Language file .pot. Changed textdomain to yith-wcqv to yith-woocommerce-quick-view
|
115 |
+
* Update: Plugin Core
|
116 |
+
|
117 |
+
= 1.0.8 = Released Aug 24 - 2015
|
118 |
+
|
119 |
+
* Fix: Main template issue
|
120 |
+
|
121 |
+
= 1.0.7 = Released Aug 21 - 2015
|
122 |
+
|
123 |
+
* New: Compatibility with Wordpress 4.3
|
124 |
+
* New: WPML config xml
|
125 |
+
* Update: Language file .pot
|
126 |
+
* Fix: Default variation select
|
127 |
+
|
128 |
+
= 1.0.6 = Released Aug 12 - 2015
|
129 |
+
|
130 |
+
* Update: Plugin Core
|
131 |
+
|
132 |
+
= 1.0.5 = Released Aug 11 - 2015
|
133 |
+
|
134 |
+
* New: Compatibility with WooCommerce 2.4
|
135 |
+
* Update: Plugin Core
|
136 |
+
* Update: Language file
|
137 |
+
|
138 |
+
= 1.0.4 = Released May 18 - 2015
|
139 |
+
|
140 |
+
* New option for enable quick view also in mobile device
|
141 |
+
* Compatibility with Wordpress 4.2.2
|
142 |
+
* Minor bug fix
|
143 |
+
* Update Plugin Core
|
144 |
+
* Update Language file
|
145 |
+
|
146 |
+
= 1.0.3 = Released Mar 11 - 2015
|
147 |
+
|
148 |
+
* Minor bug fix
|
149 |
+
* Update Plugin Core
|
150 |
+
|
151 |
+
= 1.0.2 = Released Mar 06 - 2015
|
152 |
+
|
153 |
+
* New: Action yith_quick_view_custom_style_scripts
|
154 |
+
* New: Filter 'yith_quick_view_loader_gif
|
155 |
+
|
156 |
+
= 1.0.1 = Released Feb 26 - 2015
|
157 |
+
|
158 |
+
* Minor bug fix
|
159 |
+
|
160 |
+
= 1.0.0 = Released Feb 17 - 2015
|
161 |
+
|
162 |
+
* Initial release
|
163 |
+
|
164 |
+
== Suggestions ==
|
165 |
+
|
166 |
+
If you have suggestions about how to improve YITH WooCommerce Quick View, you can [write us](mailto:plugins@yithemes.com "Your Inspiration Themes") so we can bundle them into YITH WooCommerce Quick View.
|
167 |
+
|
168 |
+
== Translators ==
|
169 |
+
|
170 |
+
= Available Languages =
|
171 |
+
* English
|
172 |
+
* Italian
|
173 |
+
|
174 |
+
If you can't find this plugin in your language and want to translate it, use the dedicated tool at [Translating WordPress](https://translate.wordpress.org/locale/it/default/wp-plugins/yith-woocommerce-quick-view "Translating WordPress").
|
175 |
+
Or, if you have created your own language pack, or have an update for an existing one, you can send it as an email attachment from our [Contacts page](http://yithemes.com/contact/ "Your Inspiration Themes") and we will bundle into YITH WooCommerce Quick View.
|
176 |
+
|
177 |
+
== Upgrade notice ==
|
178 |
+
|
179 |
+
= 1.3.2 = Released Sep 12 - 2018
|
180 |
+
|
181 |
+
* New: Support to WooCommerce 3.4.5.
|
182 |
+
* New: Support to WordPress 4.9.8.
|
183 |
+
* Update: Plugin Core.
|
184 |
+
* Fix: Now is possible use shortcode [yith_quick_view] without specify the "product_id" parameter.
|
assets/css/yith-quick-view.css
CHANGED
@@ -1,155 +1,155 @@
|
|
1 |
-
/*=======================
|
2 |
-
* MODAL POPUP STYLE
|
3 |
-
========================*/
|
4 |
-
|
5 |
-
html.yith-quick-view-is-open,
|
6 |
-
html.yith-quick-view-is-open body {
|
7 |
-
overflow: hidden;
|
8 |
-
}
|
9 |
-
|
10 |
-
#yith-quick-view-modal {
|
11 |
-
position: fixed;
|
12 |
-
visibility: hidden;
|
13 |
-
top: 0;
|
14 |
-
left: 0;
|
15 |
-
right: 0;
|
16 |
-
bottom: 0;
|
17 |
-
z-index: 1400;
|
18 |
-
opacity: 0;
|
19 |
-
text-align: center;
|
20 |
-
-webkit-transition: all 0.3s;
|
21 |
-
-moz-transition: all 0.3s;
|
22 |
-
transition: all 0.3s;
|
23 |
-
}
|
24 |
-
|
25 |
-
#yith-quick-view-modal:before {
|
26 |
-
content: '';
|
27 |
-
display: inline-block;
|
28 |
-
vertical-align: middle;
|
29 |
-
height: 100%;
|
30 |
-
width: 0;
|
31 |
-
}
|
32 |
-
|
33 |
-
#yith-quick-view-modal .yith-quick-view-overlay {
|
34 |
-
position: absolute;
|
35 |
-
top: 0;
|
36 |
-
right: 0;
|
37 |
-
bottom: 0;
|
38 |
-
left: 0;
|
39 |
-
background: rgba( 0, 0, 0, 0.8);
|
40 |
-
}
|
41 |
-
|
42 |
-
#yith-quick-view-modal .yith-wcqv-wrapper {
|
43 |
-
display: inline-block;
|
44 |
-
vertical-align: middle;
|
45 |
-
visibility: hidden;
|
46 |
-
-webkit-backface-visibility: hidden;
|
47 |
-
-moz-backface-visibility: hidden;
|
48 |
-
backface-visibility: hidden;
|
49 |
-
text-align: left;
|
50 |
-
height: 600px;
|
51 |
-
width: 1000px;
|
52 |
-
}
|
53 |
-
|
54 |
-
#yith-quick-view-modal .yith-wcqv-main {
|
55 |
-
-webkit-transform: translateY(20%);
|
56 |
-
-moz-transform: translateY(20%);
|
57 |
-
-ms-transform: translateY(20%);
|
58 |
-
transform: translateY(20%);
|
59 |
-
opacity: 0;
|
60 |
-
height: 100%;
|
61 |
-
-webkit-transition: all 0.3s;
|
62 |
-
-moz-transition: all 0.3s;
|
63 |
-
transition: all 0.3s;
|
64 |
-
-webkit-box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2);
|
65 |
-
box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2);
|
66 |
-
}
|
67 |
-
|
68 |
-
#yith-quick-view-modal.open,
|
69 |
-
#yith-quick-view-modal.open .yith-wcqv-wrapper {
|
70 |
-
visibility: visible;
|
71 |
-
opacity: 1;
|
72 |
-
}
|
73 |
-
|
74 |
-
#yith-quick-view-modal #yith-quick-view-content {
|
75 |
-
height: 100%;
|
76 |
-
}
|
77 |
-
|
78 |
-
#yith-quick-view-modal .yith-wcqv-main:after,
|
79 |
-
#yith-quick-view-modal .yith-wcqv-main:before {
|
80 |
-
content: '';
|
81 |
-
display: table;
|
82 |
-
clear: both;
|
83 |
-
}
|
84 |
-
#yith-quick-view-modal.open .yith-wcqv-main {
|
85 |
-
-webkit-transform: translateY(0);
|
86 |
-
-moz-transform: translateY(0);
|
87 |
-
-ms-transform: translateY(0);
|
88 |
-
transform: translateY(0);
|
89 |
-
opacity: 1;
|
90 |
-
height: 100%;
|
91 |
-
overflow-y: scroll;
|
92 |
-
position: relative;
|
93 |
-
}
|
94 |
-
#yith-quick-view-close {
|
95 |
-
border: 1px solid;
|
96 |
-
position: absolute;
|
97 |
-
top: 5px;
|
98 |
-
right: 5px;
|
99 |
-
width: 20px;
|
100 |
-
height: 20px;
|
101 |
-
text-align: center;
|
102 |
-
line-height: 18px;
|
103 |
-
z-index: 2;
|
104 |
-
opacity: 0.5;
|
105 |
-
}
|
106 |
-
#yith-quick-view-close:hover {
|
107 |
-
opacity: 1;
|
108 |
-
transition: all 0.2s ease;
|
109 |
-
-webkit-transition: all 0.2s ease;
|
110 |
-
-moz-transition: all 0.2s ease;
|
111 |
-
-ms-transition: all 0.2s ease;
|
112 |
-
}
|
113 |
-
#yith-quick-view-content div.images {
|
114 |
-
width: 40%;
|
115 |
-
float: left;
|
116 |
-
opacity: 1 !important;
|
117 |
-
}
|
118 |
-
#yith-quick-view-content div.summary {
|
119 |
-
margin: 0;
|
120 |
-
padding: 15px;
|
121 |
-
width: 60%;
|
122 |
-
float: left;
|
123 |
-
}
|
124 |
-
#yith-quick-view-content div.woocommerce-product-rating:after,
|
125 |
-
#yith-quick-view-content div.woocommerce-product-rating:before {
|
126 |
-
content: '';
|
127 |
-
display: table;
|
128 |
-
clear: both;
|
129 |
-
}
|
130 |
-
#yith-quick-view-content div.woocommerce-product-rating a.woocommerce-review-link {
|
131 |
-
display: none;
|
132 |
-
}
|
133 |
-
#yith-quick-view-content .onsale {
|
134 |
-
top: 5px;
|
135 |
-
right: auto;
|
136 |
-
left: 5px;
|
137 |
-
}
|
138 |
-
|
139 |
-
li.product .yith-wcqv-button .blockUI.blockOverlay:before {
|
140 |
-
background: none;
|
141 |
-
}
|
142 |
-
|
143 |
-
@media( max-width: 480px ) {
|
144 |
-
#yith-quick-view-content div.images,
|
145 |
-
#yith-quick-view-content div.summary {
|
146 |
-
width: 100%;
|
147 |
-
float: none;
|
148 |
-
}
|
149 |
-
#yith-quick-view-content div.summary {
|
150 |
-
margin: 0;
|
151 |
-
padding: 15px;
|
152 |
-
width: 100%;
|
153 |
-
float: left;
|
154 |
-
}
|
155 |
}
|
1 |
+
/*=======================
|
2 |
+
* MODAL POPUP STYLE
|
3 |
+
========================*/
|
4 |
+
|
5 |
+
html.yith-quick-view-is-open,
|
6 |
+
html.yith-quick-view-is-open body {
|
7 |
+
overflow: hidden;
|
8 |
+
}
|
9 |
+
|
10 |
+
#yith-quick-view-modal {
|
11 |
+
position: fixed;
|
12 |
+
visibility: hidden;
|
13 |
+
top: 0;
|
14 |
+
left: 0;
|
15 |
+
right: 0;
|
16 |
+
bottom: 0;
|
17 |
+
z-index: 1400;
|
18 |
+
opacity: 0;
|
19 |
+
text-align: center;
|
20 |
+
-webkit-transition: all 0.3s;
|
21 |
+
-moz-transition: all 0.3s;
|
22 |
+
transition: all 0.3s;
|
23 |
+
}
|
24 |
+
|
25 |
+
#yith-quick-view-modal:before {
|
26 |
+
content: '';
|
27 |
+
display: inline-block;
|
28 |
+
vertical-align: middle;
|
29 |
+
height: 100%;
|
30 |
+
width: 0;
|
31 |
+
}
|
32 |
+
|
33 |
+
#yith-quick-view-modal .yith-quick-view-overlay {
|
34 |
+
position: absolute;
|
35 |
+
top: 0;
|
36 |
+
right: 0;
|
37 |
+
bottom: 0;
|
38 |
+
left: 0;
|
39 |
+
background: rgba( 0, 0, 0, 0.8);
|
40 |
+
}
|
41 |
+
|
42 |
+
#yith-quick-view-modal .yith-wcqv-wrapper {
|
43 |
+
display: inline-block;
|
44 |
+
vertical-align: middle;
|
45 |
+
visibility: hidden;
|
46 |
+
-webkit-backface-visibility: hidden;
|
47 |
+
-moz-backface-visibility: hidden;
|
48 |
+
backface-visibility: hidden;
|
49 |
+
text-align: left;
|
50 |
+
height: 600px;
|
51 |
+
width: 1000px;
|
52 |
+
}
|
53 |
+
|
54 |
+
#yith-quick-view-modal .yith-wcqv-main {
|
55 |
+
-webkit-transform: translateY(20%);
|
56 |
+
-moz-transform: translateY(20%);
|
57 |
+
-ms-transform: translateY(20%);
|
58 |
+
transform: translateY(20%);
|
59 |
+
opacity: 0;
|
60 |
+
height: 100%;
|
61 |
+
-webkit-transition: all 0.3s;
|
62 |
+
-moz-transition: all 0.3s;
|
63 |
+
transition: all 0.3s;
|
64 |
+
-webkit-box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2);
|
65 |
+
box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2);
|
66 |
+
}
|
67 |
+
|
68 |
+
#yith-quick-view-modal.open,
|
69 |
+
#yith-quick-view-modal.open .yith-wcqv-wrapper {
|
70 |
+
visibility: visible;
|
71 |
+
opacity: 1;
|
72 |
+
}
|
73 |
+
|
74 |
+
#yith-quick-view-modal #yith-quick-view-content {
|
75 |
+
height: 100%;
|
76 |
+
}
|
77 |
+
|
78 |
+
#yith-quick-view-modal .yith-wcqv-main:after,
|
79 |
+
#yith-quick-view-modal .yith-wcqv-main:before {
|
80 |
+
content: '';
|
81 |
+
display: table;
|
82 |
+
clear: both;
|
83 |
+
}
|
84 |
+
#yith-quick-view-modal.open .yith-wcqv-main {
|
85 |
+
-webkit-transform: translateY(0);
|
86 |
+
-moz-transform: translateY(0);
|
87 |
+
-ms-transform: translateY(0);
|
88 |
+
transform: translateY(0);
|
89 |
+
opacity: 1;
|
90 |
+
height: 100%;
|
91 |
+
overflow-y: scroll;
|
92 |
+
position: relative;
|
93 |
+
}
|
94 |
+
#yith-quick-view-close {
|
95 |
+
border: 1px solid;
|
96 |
+
position: absolute;
|
97 |
+
top: 5px;
|
98 |
+
right: 5px;
|
99 |
+
width: 20px;
|
100 |
+
height: 20px;
|
101 |
+
text-align: center;
|
102 |
+
line-height: 18px;
|
103 |
+
z-index: 2;
|
104 |
+
opacity: 0.5;
|
105 |
+
}
|
106 |
+
#yith-quick-view-close:hover {
|
107 |
+
opacity: 1;
|
108 |
+
transition: all 0.2s ease;
|
109 |
+
-webkit-transition: all 0.2s ease;
|
110 |
+
-moz-transition: all 0.2s ease;
|
111 |
+
-ms-transition: all 0.2s ease;
|
112 |
+
}
|
113 |
+
#yith-quick-view-content div.images {
|
114 |
+
width: 40%;
|
115 |
+
float: left;
|
116 |
+
opacity: 1 !important;
|
117 |
+
}
|
118 |
+
#yith-quick-view-content div.summary {
|
119 |
+
margin: 0;
|
120 |
+
padding: 15px;
|
121 |
+
width: 60%;
|
122 |
+
float: left;
|
123 |
+
}
|
124 |
+
#yith-quick-view-content div.woocommerce-product-rating:after,
|
125 |
+
#yith-quick-view-content div.woocommerce-product-rating:before {
|
126 |
+
content: '';
|
127 |
+
display: table;
|
128 |
+
clear: both;
|
129 |
+
}
|
130 |
+
#yith-quick-view-content div.woocommerce-product-rating a.woocommerce-review-link {
|
131 |
+
display: none;
|
132 |
+
}
|
133 |
+
#yith-quick-view-content .onsale {
|
134 |
+
top: 5px;
|
135 |
+
right: auto;
|
136 |
+
left: 5px;
|
137 |
+
}
|
138 |
+
|
139 |
+
li.product .yith-wcqv-button .blockUI.blockOverlay:before {
|
140 |
+
background: none;
|
141 |
+
}
|
142 |
+
|
143 |
+
@media( max-width: 480px ) {
|
144 |
+
#yith-quick-view-content div.images,
|
145 |
+
#yith-quick-view-content div.summary {
|
146 |
+
width: 100%;
|
147 |
+
float: none;
|
148 |
+
}
|
149 |
+
#yith-quick-view-content div.summary {
|
150 |
+
margin: 0;
|
151 |
+
padding: 15px;
|
152 |
+
width: 100%;
|
153 |
+
float: left;
|
154 |
+
}
|
155 |
}
|
assets/js/frontend.js
CHANGED
@@ -1,185 +1,185 @@
|
|
1 |
-
/**
|
2 |
-
* frontend.js
|
3 |
-
*
|
4 |
-
* @author Your Inspiration Themes
|
5 |
-
* @package YITH WooCommerce Quick View
|
6 |
-
* @version 1.0.0
|
7 |
-
*/
|
8 |
-
|
9 |
-
jQuery(document).ready(function($){
|
10 |
-
"use strict";
|
11 |
-
|
12 |
-
if( typeof yith_qv === 'undefined' ) {
|
13 |
-
return;
|
14 |
-
}
|
15 |
-
|
16 |
-
var qv_modal = $(document).find( '#yith-quick-view-modal' ),
|
17 |
-
qv_overlay = qv_modal.find( '.yith-quick-view-overlay'),
|
18 |
-
qv_content = qv_modal.find( '#yith-quick-view-content' ),
|
19 |
-
qv_close = qv_modal.find( '#yith-quick-view-close' ),
|
20 |
-
qv_wrapper = qv_modal.find( '.yith-wcqv-wrapper'),
|
21 |
-
qv_wrapper_w = qv_wrapper.width(),
|
22 |
-
qv_wrapper_h = qv_wrapper.height(),
|
23 |
-
center_modal = function() {
|
24 |
-
|
25 |
-
var window_w = $(window).width(),
|
26 |
-
window_h = $(window).height(),
|
27 |
-
width = ( ( window_w - 60 ) > qv_wrapper_w ) ? qv_wrapper_w : ( window_w - 60 ),
|
28 |
-
height = ( ( window_h - 120 ) > qv_wrapper_h ) ? qv_wrapper_h : ( window_h - 120 );
|
29 |
-
|
30 |
-
qv_wrapper.css({
|
31 |
-
'left' : (( window_w/2 ) - ( width/2 )),
|
32 |
-
'top' : (( window_h/2 ) - ( height/2 )),
|
33 |
-
'width' : width + 'px',
|
34 |
-
'height' : height + 'px'
|
35 |
-
});
|
36 |
-
};
|
37 |
-
|
38 |
-
|
39 |
-
/*==================
|
40 |
-
*MAIN BUTTON OPEN
|
41 |
-
==================*/
|
42 |
-
|
43 |
-
$.fn.yith_quick_view = function() {
|
44 |
-
|
45 |
-
$(document).off( 'click', '.yith-wcqv-button' ).on( 'click', '.yith-wcqv-button', function(e){
|
46 |
-
e.preventDefault();
|
47 |
-
|
48 |
-
var t = $(this),
|
49 |
-
product_id = t.data( 'product_id' ),
|
50 |
-
is_blocked = false;
|
51 |
-
|
52 |
-
if ( typeof yith_qv.loader !== 'undefined' ) {
|
53 |
-
is_blocked = true;
|
54 |
-
t.block({
|
55 |
-
message: null,
|
56 |
-
overlayCSS : {
|
57 |
-
background: '#fff url(' + yith_qv.loader + ') no-repeat center',
|
58 |
-
opacity : 0.5,
|
59 |
-
cursor : 'none'
|
60 |
-
}
|
61 |
-
});
|
62 |
-
|
63 |
-
if( ! qv_modal.hasClass( 'loading' ) ) {
|
64 |
-
qv_modal.addClass('loading');
|
65 |
-
}
|
66 |
-
|
67 |
-
// stop loader
|
68 |
-
$(document).trigger( 'qv_loading' );
|
69 |
-
}
|
70 |
-
ajax_call( t, product_id, is_blocked );
|
71 |
-
});
|
72 |
-
};
|
73 |
-
|
74 |
-
/*================
|
75 |
-
* MAIN AJAX CALL
|
76 |
-
================*/
|
77 |
-
|
78 |
-
var ajax_call = function( t, product_id, is_blocked ) {
|
79 |
-
|
80 |
-
$.ajax({
|
81 |
-
url: yith_qv.ajaxurl,
|
82 |
-
data: {
|
83 |
-
action: 'yith_load_product_quick_view',
|
84 |
-
product_id: product_id,
|
85 |
-
lang: yith_qv.lang
|
86 |
-
},
|
87 |
-
dataType: 'html',
|
88 |
-
type: 'POST',
|
89 |
-
success: function (data) {
|
90 |
-
|
91 |
-
qv_content.html(data);
|
92 |
-
|
93 |
-
// quantity fields for WC 2.2
|
94 |
-
if (yith_qv.is2_2) {
|
95 |
-
qv_content.find('div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)').addClass('buttons_added').append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />');
|
96 |
-
}
|
97 |
-
|
98 |
-
// Variation Form
|
99 |
-
var form_variation = qv_content.find('.variations_form');
|
100 |
-
form_variation.each( function() {
|
101 |
-
$( this ).wc_variation_form();
|
102 |
-
// add Color and Label Integration
|
103 |
-
if( typeof $.fn.yith_wccl !== 'undefined' ) {
|
104 |
-
$(this).yith_wccl();
|
105 |
-
}
|
106 |
-
});
|
107 |
-
form_variation.trigger( 'check_variations' );
|
108 |
-
form_variation.trigger( 'reset_image' );
|
109 |
-
|
110 |
-
// Init prettyPhoto
|
111 |
-
if (typeof $.fn.prettyPhoto !== 'undefined') {
|
112 |
-
qv_content.find("a[data-rel^='prettyPhoto'], a.zoom").prettyPhoto({
|
113 |
-
hook: 'data-rel',
|
114 |
-
social_tools: false,
|
115 |
-
theme: 'pp_woocommerce',
|
116 |
-
horizontal_padding: 20,
|
117 |
-
opacity: 0.8,
|
118 |
-
deeplinking: false
|
119 |
-
});
|
120 |
-
}
|
121 |
-
|
122 |
-
if( typeof $.fn.wc_product_gallery !== 'undefined' ) {
|
123 |
-
qv_content.find('.woocommerce-product-gallery').each(function () {
|
124 |
-
$(this).wc_product_gallery();
|
125 |
-
});
|
126 |
-
}
|
127 |
-
|
128 |
-
if (!qv_modal.hasClass('open')) {
|
129 |
-
qv_modal.removeClass('loading').addClass('open');
|
130 |
-
if (is_blocked)
|
131 |
-
t.unblock();
|
132 |
-
}
|
133 |
-
|
134 |
-
// stop loader
|
135 |
-
$(document).trigger('qv_loader_stop');
|
136 |
-
|
137 |
-
}
|
138 |
-
});
|
139 |
-
};
|
140 |
-
|
141 |
-
/*===================
|
142 |
-
* CLOSE QUICK VIEW
|
143 |
-
===================*/
|
144 |
-
|
145 |
-
var close_modal_qv = function() {
|
146 |
-
|
147 |
-
// Close box by click overlay
|
148 |
-
qv_overlay.on( 'click', function(e){
|
149 |
-
close_qv();
|
150 |
-
});
|
151 |
-
// Close box with esc key
|
152 |
-
$(document).keyup(function(e){
|
153 |
-
if( e.keyCode === 27 )
|
154 |
-
close_qv();
|
155 |
-
});
|
156 |
-
// Close box by click close button
|
157 |
-
qv_close.on( 'click', function(e) {
|
158 |
-
e.preventDefault();
|
159 |
-
close_qv();
|
160 |
-
});
|
161 |
-
|
162 |
-
var close_qv = function() {
|
163 |
-
qv_modal.removeClass('open').removeClass('loading');
|
164 |
-
|
165 |
-
setTimeout(function () {
|
166 |
-
qv_content.html('');
|
167 |
-
}, 1000);
|
168 |
-
}
|
169 |
-
};
|
170 |
-
|
171 |
-
close_modal_qv();
|
172 |
-
|
173 |
-
|
174 |
-
center_modal();
|
175 |
-
$( window ).on( 'resize', center_modal );
|
176 |
-
|
177 |
-
// START
|
178 |
-
$.fn.yith_quick_view();
|
179 |
-
|
180 |
-
$( document ).on( 'yith_infs_adding_elem yith-wcan-ajax-filtered', function(){
|
181 |
-
// RESTART
|
182 |
-
$.fn.yith_quick_view();
|
183 |
-
});
|
184 |
-
|
185 |
});
|
1 |
+
/**
|
2 |
+
* frontend.js
|
3 |
+
*
|
4 |
+
* @author Your Inspiration Themes
|
5 |
+
* @package YITH WooCommerce Quick View
|
6 |
+
* @version 1.0.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
jQuery(document).ready(function($){
|
10 |
+
"use strict";
|
11 |
+
|
12 |
+
if( typeof yith_qv === 'undefined' ) {
|
13 |
+
return;
|
14 |
+
}
|
15 |
+
|
16 |
+
var qv_modal = $(document).find( '#yith-quick-view-modal' ),
|
17 |
+
qv_overlay = qv_modal.find( '.yith-quick-view-overlay'),
|
18 |
+
qv_content = qv_modal.find( '#yith-quick-view-content' ),
|
19 |
+
qv_close = qv_modal.find( '#yith-quick-view-close' ),
|
20 |
+
qv_wrapper = qv_modal.find( '.yith-wcqv-wrapper'),
|
21 |
+
qv_wrapper_w = qv_wrapper.width(),
|
22 |
+
qv_wrapper_h = qv_wrapper.height(),
|
23 |
+
center_modal = function() {
|
24 |
+
|
25 |
+
var window_w = $(window).width(),
|
26 |
+
window_h = $(window).height(),
|
27 |
+
width = ( ( window_w - 60 ) > qv_wrapper_w ) ? qv_wrapper_w : ( window_w - 60 ),
|
28 |
+
height = ( ( window_h - 120 ) > qv_wrapper_h ) ? qv_wrapper_h : ( window_h - 120 );
|
29 |
+
|
30 |
+
qv_wrapper.css({
|
31 |
+
'left' : (( window_w/2 ) - ( width/2 )),
|
32 |
+
'top' : (( window_h/2 ) - ( height/2 )),
|
33 |
+
'width' : width + 'px',
|
34 |
+
'height' : height + 'px'
|
35 |
+
});
|
36 |
+
};
|
37 |
+
|
38 |
+
|
39 |
+
/*==================
|
40 |
+
*MAIN BUTTON OPEN
|
41 |
+
==================*/
|
42 |
+
|
43 |
+
$.fn.yith_quick_view = function() {
|
44 |
+
|
45 |
+
$(document).off( 'click', '.yith-wcqv-button' ).on( 'click', '.yith-wcqv-button', function(e){
|
46 |
+
e.preventDefault();
|
47 |
+
|
48 |
+
var t = $(this),
|
49 |
+
product_id = t.data( 'product_id' ),
|
50 |
+
is_blocked = false;
|
51 |
+
|
52 |
+
if ( typeof yith_qv.loader !== 'undefined' ) {
|
53 |
+
is_blocked = true;
|
54 |
+
t.block({
|
55 |
+
message: null,
|
56 |
+
overlayCSS : {
|
57 |
+
background: '#fff url(' + yith_qv.loader + ') no-repeat center',
|
58 |
+
opacity : 0.5,
|
59 |
+
cursor : 'none'
|
60 |
+
}
|
61 |
+
});
|
62 |
+
|
63 |
+
if( ! qv_modal.hasClass( 'loading' ) ) {
|
64 |
+
qv_modal.addClass('loading');
|
65 |
+
}
|
66 |
+
|
67 |
+
// stop loader
|
68 |
+
$(document).trigger( 'qv_loading' );
|
69 |
+
}
|
70 |
+
ajax_call( t, product_id, is_blocked );
|
71 |
+
});
|
72 |
+
};
|
73 |
+
|
74 |
+
/*================
|
75 |
+
* MAIN AJAX CALL
|
76 |
+
================*/
|
77 |
+
|
78 |
+
var ajax_call = function( t, product_id, is_blocked ) {
|
79 |
+
|
80 |
+
$.ajax({
|
81 |
+
url: yith_qv.ajaxurl,
|
82 |
+
data: {
|
83 |
+
action: 'yith_load_product_quick_view',
|
84 |
+
product_id: product_id,
|
85 |
+
lang: yith_qv.lang
|
86 |
+
},
|
87 |
+
dataType: 'html',
|
88 |
+
type: 'POST',
|
89 |
+
success: function (data) {
|
90 |
+
|
91 |
+
qv_content.html(data);
|
92 |
+
|
93 |
+
// quantity fields for WC 2.2
|
94 |
+
if (yith_qv.is2_2) {
|
95 |
+
qv_content.find('div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)').addClass('buttons_added').append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />');
|
96 |
+
}
|
97 |
+
|
98 |
+
// Variation Form
|
99 |
+
var form_variation = qv_content.find('.variations_form');
|
100 |
+
form_variation.each( function() {
|
101 |
+
$( this ).wc_variation_form();
|
102 |
+
// add Color and Label Integration
|
103 |
+
if( typeof $.fn.yith_wccl !== 'undefined' ) {
|
104 |
+
$(this).yith_wccl();
|
105 |
+
}
|
106 |
+
});
|
107 |
+
form_variation.trigger( 'check_variations' );
|
108 |
+
form_variation.trigger( 'reset_image' );
|
109 |
+
|
110 |
+
// Init prettyPhoto
|
111 |
+
if (typeof $.fn.prettyPhoto !== 'undefined') {
|
112 |
+
qv_content.find("a[data-rel^='prettyPhoto'], a.zoom").prettyPhoto({
|
113 |
+
hook: 'data-rel',
|
114 |
+
social_tools: false,
|
115 |
+
theme: 'pp_woocommerce',
|
116 |
+
horizontal_padding: 20,
|
117 |
+
opacity: 0.8,
|
118 |
+
deeplinking: false
|
119 |
+
});
|
120 |
+
}
|
121 |
+
|
122 |
+
if( typeof $.fn.wc_product_gallery !== 'undefined' ) {
|
123 |
+
qv_content.find('.woocommerce-product-gallery').each(function () {
|
124 |
+
$(this).wc_product_gallery();
|
125 |
+
});
|
126 |
+
}
|
127 |
+
|
128 |
+
if (!qv_modal.hasClass('open')) {
|
129 |
+
qv_modal.removeClass('loading').addClass('open');
|
130 |
+
if (is_blocked)
|
131 |
+
t.unblock();
|
132 |
+
}
|
133 |
+
|
134 |
+
// stop loader
|
135 |
+
$(document).trigger('qv_loader_stop');
|
136 |
+
|
137 |
+
}
|
138 |
+
});
|
139 |
+
};
|
140 |
+
|
141 |
+
/*===================
|
142 |
+
* CLOSE QUICK VIEW
|
143 |
+
===================*/
|
144 |
+
|
145 |
+
var close_modal_qv = function() {
|
146 |
+
|
147 |
+
// Close box by click overlay
|
148 |
+
qv_overlay.on( 'click', function(e){
|
149 |
+
close_qv();
|
150 |
+
});
|
151 |
+
// Close box with esc key
|
152 |
+
$(document).keyup(function(e){
|
153 |
+
if( e.keyCode === 27 )
|
154 |
+
close_qv();
|
155 |
+
});
|
156 |
+
// Close box by click close button
|
157 |
+
qv_close.on( 'click', function(e) {
|
158 |
+
e.preventDefault();
|
159 |
+
close_qv();
|
160 |
+
});
|
161 |
+
|
162 |
+
var close_qv = function() {
|
163 |
+
qv_modal.removeClass('open').removeClass('loading');
|
164 |
+
|
165 |
+
setTimeout(function () {
|
166 |
+
qv_content.html('');
|
167 |
+
}, 1000);
|
168 |
+
}
|
169 |
+
};
|
170 |
+
|
171 |
+
close_modal_qv();
|
172 |
+
|
173 |
+
|
174 |
+
center_modal();
|
175 |
+
$( window ).on( 'resize', center_modal );
|
176 |
+
|
177 |
+
// START
|
178 |
+
$.fn.yith_quick_view();
|
179 |
+
|
180 |
+
$( document ).on( 'yith_infs_adding_elem yith-wcan-ajax-filtered', function(){
|
181 |
+
// RESTART
|
182 |
+
$.fn.yith_quick_view();
|
183 |
+
});
|
184 |
+
|
185 |
});
|
assets/js/frontend.min.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
/**
|
2 |
-
* frontend.js
|
3 |
-
*
|
4 |
-
* @author Your Inspiration Themes
|
5 |
-
* @package YITH WooCommerce Quick View
|
6 |
-
* @version 1.0.0
|
7 |
-
*/
|
8 |
jQuery(document).ready(function(e){"use strict";if("undefined"!=typeof yith_qv){var a=e(document).find("#yith-quick-view-modal"),t=a.find(".yith-quick-view-overlay"),c=a.find("#yith-quick-view-content"),n=a.find("#yith-quick-view-close"),d=a.find(".yith-wcqv-wrapper"),u=d.width(),r=d.height(),i=function(){var t=e(window).width(),i=e(window).height(),n=u<t-60?u:t-60,o=r<i-120?r:i-120;d.css({left:t/2-n/2,top:i/2-o/2,width:n+"px",height:o+"px"})};e.fn.yith_quick_view=function(){e(document).off("click",".yith-wcqv-button").on("click",".yith-wcqv-button",function(t){t.preventDefault();var i=e(this),n=i.data("product_id"),o=!1;void 0!==yith_qv.loader&&(o=!0,i.block({message:null,overlayCSS:{background:"#fff url("+yith_qv.loader+") no-repeat center",opacity:.5,cursor:"none"}}),a.hasClass("loading")||a.addClass("loading"),e(document).trigger("qv_loading")),l(i,n,o)})};var l=function(n,t,o){e.ajax({url:yith_qv.ajaxurl,data:{action:"yith_load_product_quick_view",product_id:t,lang:yith_qv.lang},dataType:"html",type:"POST",success:function(t){c.html(t),yith_qv.is2_2&&c.find("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />');var i=c.find(".variations_form");i.each(function(){e(this).wc_variation_form(),void 0!==e.fn.yith_wccl&&e(this).yith_wccl()}),i.trigger("check_variations"),i.trigger("reset_image"),void 0!==e.fn.prettyPhoto&&c.find("a[data-rel^='prettyPhoto'], a.zoom").prettyPhoto({hook:"data-rel",social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1}),void 0!==e.fn.wc_product_gallery&&c.find(".woocommerce-product-gallery").each(function(){e(this).wc_product_gallery()}),a.hasClass("open")||(a.removeClass("loading").addClass("open"),o&&n.unblock()),e(document).trigger("qv_loader_stop")}})};!function(){t.on("click",function(t){i()}),e(document).keyup(function(t){27===t.keyCode&&i()}),n.on("click",function(t){t.preventDefault(),i()});var i=function(){a.removeClass("open").removeClass("loading"),setTimeout(function(){c.html("")},1e3)}}(),i(),e(window).on("resize",i),e.fn.yith_quick_view(),e(document).on("yith_infs_adding_elem yith-wcan-ajax-filtered",function(){e.fn.yith_quick_view()})}});
|
1 |
+
/**
|
2 |
+
* frontend.js
|
3 |
+
*
|
4 |
+
* @author Your Inspiration Themes
|
5 |
+
* @package YITH WooCommerce Quick View
|
6 |
+
* @version 1.0.0
|
7 |
+
*/
|
8 |
jQuery(document).ready(function(e){"use strict";if("undefined"!=typeof yith_qv){var a=e(document).find("#yith-quick-view-modal"),t=a.find(".yith-quick-view-overlay"),c=a.find("#yith-quick-view-content"),n=a.find("#yith-quick-view-close"),d=a.find(".yith-wcqv-wrapper"),u=d.width(),r=d.height(),i=function(){var t=e(window).width(),i=e(window).height(),n=u<t-60?u:t-60,o=r<i-120?r:i-120;d.css({left:t/2-n/2,top:i/2-o/2,width:n+"px",height:o+"px"})};e.fn.yith_quick_view=function(){e(document).off("click",".yith-wcqv-button").on("click",".yith-wcqv-button",function(t){t.preventDefault();var i=e(this),n=i.data("product_id"),o=!1;void 0!==yith_qv.loader&&(o=!0,i.block({message:null,overlayCSS:{background:"#fff url("+yith_qv.loader+") no-repeat center",opacity:.5,cursor:"none"}}),a.hasClass("loading")||a.addClass("loading"),e(document).trigger("qv_loading")),l(i,n,o)})};var l=function(n,t,o){e.ajax({url:yith_qv.ajaxurl,data:{action:"yith_load_product_quick_view",product_id:t,lang:yith_qv.lang},dataType:"html",type:"POST",success:function(t){c.html(t),yith_qv.is2_2&&c.find("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />');var i=c.find(".variations_form");i.each(function(){e(this).wc_variation_form(),void 0!==e.fn.yith_wccl&&e(this).yith_wccl()}),i.trigger("check_variations"),i.trigger("reset_image"),void 0!==e.fn.prettyPhoto&&c.find("a[data-rel^='prettyPhoto'], a.zoom").prettyPhoto({hook:"data-rel",social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1}),void 0!==e.fn.wc_product_gallery&&c.find(".woocommerce-product-gallery").each(function(){e(this).wc_product_gallery()}),a.hasClass("open")||(a.removeClass("loading").addClass("open"),o&&n.unblock()),e(document).trigger("qv_loader_stop")}})};!function(){t.on("click",function(t){i()}),e(document).keyup(function(t){27===t.keyCode&&i()}),n.on("click",function(t){t.preventDefault(),i()});var i=function(){a.removeClass("open").removeClass("loading"),setTimeout(function(){c.html("")},1e3)}}(),i(),e(window).on("resize",i),e.fn.yith_quick_view(),e(document).on("yith_infs_adding_elem yith-wcan-ajax-filtered",function(){e.fn.yith_quick_view()})}});
|
includes/class.yith-wcqv-admin.php
CHANGED
@@ -1,239 +1,242 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Admin class
|
4 |
-
*
|
5 |
-
* @author Yithemes
|
6 |
-
* @package YITH WooCommerce Quick View
|
7 |
-
* @version 1.1.1
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( ! defined( 'YITH_WCQV' ) ) {
|
11 |
-
exit;
|
12 |
-
} // Exit if accessed directly
|
13 |
-
|
14 |
-
if ( ! class_exists( 'YITH_WCQV_Admin' ) ) {
|
15 |
-
/**
|
16 |
-
* Admin class.
|
17 |
-
* The class manage all the admin behaviors.
|
18 |
-
*
|
19 |
-
* @since 1.0.0
|
20 |
-
*/
|
21 |
-
class YITH_WCQV_Admin {
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Single instance of the class
|
25 |
-
*
|
26 |
-
* @var \YITH_WCQV_Admin
|
27 |
-
* @since 1.0.0
|
28 |
-
*/
|
29 |
-
protected static $instance;
|
30 |
-
|
31 |
-
/**
|
32 |
-
* Plugin options
|
33 |
-
*
|
34 |
-
* @var array
|
35 |
-
* @access public
|
36 |
-
* @since 1.0.0
|
37 |
-
*/
|
38 |
-
public $options = array();
|
39 |
-
|
40 |
-
/**
|
41 |
-
* Plugin version
|
42 |
-
*
|
43 |
-
* @var string
|
44 |
-
* @since 1.0.0
|
45 |
-
*/
|
46 |
-
public $version = YITH_WCQV_VERSION;
|
47 |
-
|
48 |
-
/**
|
49 |
-
* @var $_panel Panel Object
|
50 |
-
*/
|
51 |
-
protected $_panel;
|
52 |
-
|
53 |
-
/**
|
54 |
-
* @var $_premium string Premium tab template file name
|
55 |
-
*/
|
56 |
-
protected $_premium = 'premium.php';
|
57 |
-
|
58 |
-
/**
|
59 |
-
* @var string Premium version landing link
|
60 |
-
*/
|
61 |
-
protected $_premium_landing = 'https://yithemes.com/themes/plugins/yith-woocommerce-quick-view/';
|
62 |
-
|
63 |
-
/**
|
64 |
-
* @var string Quick View panel page
|
65 |
-
*/
|
66 |
-
protected $_panel_page = 'yith_wcqv_panel';
|
67 |
-
|
68 |
-
/**
|
69 |
-
* Various links
|
70 |
-
*
|
71 |
-
* @var string
|
72 |
-
* @access public
|
73 |
-
* @since 1.0.0
|
74 |
-
*/
|
75 |
-
public $doc_url = 'https://docs.yithemes.com/yith-woocommerce-quick-view/';
|
76 |
-
|
77 |
-
/**
|
78 |
-
* Returns single instance of the class
|
79 |
-
*
|
80 |
-
* @return \YITH_WCQV_Admin
|
81 |
-
* @since 1.0.0
|
82 |
-
*/
|
83 |
-
public static function get_instance(){
|
84 |
-
if( is_null( self::$instance ) ){
|
85 |
-
self::$instance = new self();
|
86 |
-
}
|
87 |
-
|
88 |
-
return self::$instance;
|
89 |
-
}
|
90 |
-
|
91 |
-
/**
|
92 |
-
* Constructor
|
93 |
-
*
|
94 |
-
* @access public
|
95 |
-
* @since 1.0.0
|
96 |
-
*/
|
97 |
-
public function __construct() {
|
98 |
-
|
99 |
-
// Add panel options
|
100 |
-
add_action( 'admin_menu', array( $this, 'register_panel' ), 5) ;
|
101 |
-
|
102 |
-
//Add action links
|
103 |
-
add_filter( 'plugin_action_links_' . plugin_basename( YITH_WCQV_DIR . '/' . basename( YITH_WCQV_FILE ) ), array( $this, 'action_links') );
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
// YITH WCQV Loaded
|
109 |
-
do_action( 'yith_wcqv_loaded' );
|
110 |
-
|
111 |
-
}
|
112 |
-
|
113 |
-
|
114 |
-
/**
|
115 |
-
* Action Links
|
116 |
-
*
|
117 |
-
* add the action links to plugin admin page
|
118 |
-
*
|
119 |
-
* @param $links | links plugin array
|
120 |
-
*
|
121 |
-
* @return mixed Array
|
122 |
-
* @since 1.0
|
123 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
124 |
-
* @return mixed
|
125 |
-
* @use plugin_action_links_{$plugin_file_name}
|
126 |
-
*/
|
127 |
-
public function action_links( $links ) {
|
128 |
-
|
129 |
-
$links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-woocommerce-quick-view' ) . '</a>';
|
130 |
-
$links[] = '<a href="' . $this->get_premium_landing_uri() . '" target="_blank">' . __( 'Premium Version', 'yith-woocommerce-quick-view' ) . '</a>';
|
131 |
-
|
132 |
-
return $links;
|
133 |
-
}
|
134 |
-
|
135 |
-
/**
|
136 |
-
* Add a panel under YITH Plugins tab
|
137 |
-
*
|
138 |
-
* @return void
|
139 |
-
* @since 1.0
|
140 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
141 |
-
* @use /Yit_Plugin_Panel class
|
142 |
-
* @see plugin-fw/lib/yit-plugin-panel.php
|
143 |
-
*/
|
144 |
-
public function register_panel() {
|
145 |
-
|
146 |
-
if ( ! empty( $this->_panel ) ) {
|
147 |
-
return;
|
148 |
-
}
|
149 |
-
|
150 |
-
$admin_tabs = array(
|
151 |
-
'settings' => __( 'Settings', 'yith-woocommerce-quick-view' ),
|
152 |
-
'premium' => __( 'Premium Version', 'yith-woocommerce-quick-view' ),
|
153 |
-
);
|
154 |
-
|
155 |
-
$args = array(
|
156 |
-
'create_menu_page' => true,
|
157 |
-
'parent_slug' => '',
|
158 |
-
'page_title' => __( 'Quick View', 'yith-woocommerce-quick-view' ),
|
159 |
-
'menu_title' => __( 'Quick View', 'yith-woocommerce-quick-view' ),
|
160 |
-
'capability' => 'manage_options',
|
161 |
-
'parent' => '',
|
162 |
-
'parent_page' => 'yit_plugin_panel',
|
163 |
-
'page' => $this->_panel_page,
|
164 |
-
'admin-tabs' => $admin_tabs,
|
165 |
-
'options-path' => YITH_WCQV_DIR . '/plugin-options'
|
166 |
-
);
|
167 |
-
|
168 |
-
|
169 |
-
/* === Fixed: not updated theme === */
|
170 |
-
if( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
171 |
-
require_once( 'plugin-fw/lib/yit-plugin-panel-wc.php' );
|
172 |
-
}
|
173 |
-
|
174 |
-
$this->_panel = new YIT_Plugin_Panel_WooCommerce( $args );
|
175 |
-
}
|
176 |
-
|
177 |
-
/**
|
178 |
-
* Premium Tab Template
|
179 |
-
*
|
180 |
-
* Load the premium tab template on admin page
|
181 |
-
*
|
182 |
-
* @return void
|
183 |
-
* @since 1.0
|
184 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
185 |
-
* @return void
|
186 |
-
*/
|
187 |
-
public function premium_tab() {
|
188 |
-
$premium_tab_template = YITH_WCQV_TEMPLATE_PATH . '/admin/' . $this->_premium;
|
189 |
-
if( file_exists( $premium_tab_template ) ) {
|
190 |
-
include_once($premium_tab_template);
|
191 |
-
}
|
192 |
-
|
193 |
-
}
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
*
|
223 |
-
*
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
}
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
*
|
236 |
-
|
237 |
-
|
238 |
-
|
|
|
|
|
|
|
239 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Admin class
|
4 |
+
*
|
5 |
+
* @author Yithemes
|
6 |
+
* @package YITH WooCommerce Quick View
|
7 |
+
* @version 1.1.1
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( ! defined( 'YITH_WCQV' ) ) {
|
11 |
+
exit;
|
12 |
+
} // Exit if accessed directly
|
13 |
+
|
14 |
+
if ( ! class_exists( 'YITH_WCQV_Admin' ) ) {
|
15 |
+
/**
|
16 |
+
* Admin class.
|
17 |
+
* The class manage all the admin behaviors.
|
18 |
+
*
|
19 |
+
* @since 1.0.0
|
20 |
+
*/
|
21 |
+
class YITH_WCQV_Admin {
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Single instance of the class
|
25 |
+
*
|
26 |
+
* @var \YITH_WCQV_Admin
|
27 |
+
* @since 1.0.0
|
28 |
+
*/
|
29 |
+
protected static $instance;
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Plugin options
|
33 |
+
*
|
34 |
+
* @var array
|
35 |
+
* @access public
|
36 |
+
* @since 1.0.0
|
37 |
+
*/
|
38 |
+
public $options = array();
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Plugin version
|
42 |
+
*
|
43 |
+
* @var string
|
44 |
+
* @since 1.0.0
|
45 |
+
*/
|
46 |
+
public $version = YITH_WCQV_VERSION;
|
47 |
+
|
48 |
+
/**
|
49 |
+
* @var $_panel Panel Object
|
50 |
+
*/
|
51 |
+
protected $_panel;
|
52 |
+
|
53 |
+
/**
|
54 |
+
* @var $_premium string Premium tab template file name
|
55 |
+
*/
|
56 |
+
protected $_premium = 'premium.php';
|
57 |
+
|
58 |
+
/**
|
59 |
+
* @var string Premium version landing link
|
60 |
+
*/
|
61 |
+
protected $_premium_landing = 'https://yithemes.com/themes/plugins/yith-woocommerce-quick-view/';
|
62 |
+
|
63 |
+
/**
|
64 |
+
* @var string Quick View panel page
|
65 |
+
*/
|
66 |
+
protected $_panel_page = 'yith_wcqv_panel';
|
67 |
+
|
68 |
+
/**
|
69 |
+
* Various links
|
70 |
+
*
|
71 |
+
* @var string
|
72 |
+
* @access public
|
73 |
+
* @since 1.0.0
|
74 |
+
*/
|
75 |
+
public $doc_url = 'https://docs.yithemes.com/yith-woocommerce-quick-view/';
|
76 |
+
|
77 |
+
/**
|
78 |
+
* Returns single instance of the class
|
79 |
+
*
|
80 |
+
* @return \YITH_WCQV_Admin
|
81 |
+
* @since 1.0.0
|
82 |
+
*/
|
83 |
+
public static function get_instance(){
|
84 |
+
if( is_null( self::$instance ) ){
|
85 |
+
self::$instance = new self();
|
86 |
+
}
|
87 |
+
|
88 |
+
return self::$instance;
|
89 |
+
}
|
90 |
+
|
91 |
+
/**
|
92 |
+
* Constructor
|
93 |
+
*
|
94 |
+
* @access public
|
95 |
+
* @since 1.0.0
|
96 |
+
*/
|
97 |
+
public function __construct() {
|
98 |
+
|
99 |
+
// Add panel options
|
100 |
+
add_action( 'admin_menu', array( $this, 'register_panel' ), 5) ;
|
101 |
+
|
102 |
+
//Add action links
|
103 |
+
add_filter( 'plugin_action_links_' . plugin_basename( YITH_WCQV_DIR . '/' . basename( YITH_WCQV_FILE ) ), array( $this, 'action_links') );
|
104 |
+
add_filter( 'yith_show_plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 5 );
|
105 |
+
|
106 |
+
add_action( 'yith_quick_view_premium', array( $this, 'premium_tab' ) );
|
107 |
+
|
108 |
+
// YITH WCQV Loaded
|
109 |
+
do_action( 'yith_wcqv_loaded' );
|
110 |
+
|
111 |
+
}
|
112 |
+
|
113 |
+
|
114 |
+
/**
|
115 |
+
* Action Links
|
116 |
+
*
|
117 |
+
* add the action links to plugin admin page
|
118 |
+
*
|
119 |
+
* @param $links | links plugin array
|
120 |
+
*
|
121 |
+
* @return mixed Array
|
122 |
+
* @since 1.0
|
123 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
124 |
+
* @return mixed
|
125 |
+
* @use plugin_action_links_{$plugin_file_name}
|
126 |
+
*/
|
127 |
+
public function action_links( $links ) {
|
128 |
+
|
129 |
+
$links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-woocommerce-quick-view' ) . '</a>';
|
130 |
+
$links[] = '<a href="' . $this->get_premium_landing_uri() . '" target="_blank">' . __( 'Premium Version', 'yith-woocommerce-quick-view' ) . '</a>';
|
131 |
+
|
132 |
+
return $links;
|
133 |
+
}
|
134 |
+
|
135 |
+
/**
|
136 |
+
* Add a panel under YITH Plugins tab
|
137 |
+
*
|
138 |
+
* @return void
|
139 |
+
* @since 1.0
|
140 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
141 |
+
* @use /Yit_Plugin_Panel class
|
142 |
+
* @see plugin-fw/lib/yit-plugin-panel.php
|
143 |
+
*/
|
144 |
+
public function register_panel() {
|
145 |
+
|
146 |
+
if ( ! empty( $this->_panel ) ) {
|
147 |
+
return;
|
148 |
+
}
|
149 |
+
|
150 |
+
$admin_tabs = array(
|
151 |
+
'settings' => __( 'Settings', 'yith-woocommerce-quick-view' ),
|
152 |
+
'premium' => __( 'Premium Version', 'yith-woocommerce-quick-view' ),
|
153 |
+
);
|
154 |
+
|
155 |
+
$args = array(
|
156 |
+
'create_menu_page' => true,
|
157 |
+
'parent_slug' => '',
|
158 |
+
'page_title' => __( 'Quick View', 'yith-woocommerce-quick-view' ),
|
159 |
+
'menu_title' => __( 'Quick View', 'yith-woocommerce-quick-view' ),
|
160 |
+
'capability' => 'manage_options',
|
161 |
+
'parent' => '',
|
162 |
+
'parent_page' => 'yit_plugin_panel',
|
163 |
+
'page' => $this->_panel_page,
|
164 |
+
'admin-tabs' => $admin_tabs,
|
165 |
+
'options-path' => YITH_WCQV_DIR . '/plugin-options'
|
166 |
+
);
|
167 |
+
|
168 |
+
|
169 |
+
/* === Fixed: not updated theme === */
|
170 |
+
if( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
171 |
+
require_once( 'plugin-fw/lib/yit-plugin-panel-wc.php' );
|
172 |
+
}
|
173 |
+
|
174 |
+
$this->_panel = new YIT_Plugin_Panel_WooCommerce( $args );
|
175 |
+
}
|
176 |
+
|
177 |
+
/**
|
178 |
+
* Premium Tab Template
|
179 |
+
*
|
180 |
+
* Load the premium tab template on admin page
|
181 |
+
*
|
182 |
+
* @return void
|
183 |
+
* @since 1.0
|
184 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
185 |
+
* @return void
|
186 |
+
*/
|
187 |
+
public function premium_tab() {
|
188 |
+
$premium_tab_template = YITH_WCQV_TEMPLATE_PATH . '/admin/' . $this->_premium;
|
189 |
+
if( file_exists( $premium_tab_template ) ) {
|
190 |
+
include_once($premium_tab_template);
|
191 |
+
}
|
192 |
+
|
193 |
+
}
|
194 |
+
|
195 |
+
/**
|
196 |
+
* plugin_row_meta
|
197 |
+
*
|
198 |
+
* add the action links to plugin admin page
|
199 |
+
*
|
200 |
+
* @param $plugin_meta
|
201 |
+
* @param $plugin_file
|
202 |
+
* @param $plugin_data
|
203 |
+
* @param $status
|
204 |
+
*
|
205 |
+
* @return Array
|
206 |
+
* @since 1.0
|
207 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
208 |
+
* @use plugin_row_meta
|
209 |
+
*/
|
210 |
+
public function plugin_row_meta( $new_row_meta_args, $plugin_meta, $plugin_file, $plugin_data, $status ) {
|
211 |
+
if ( defined( 'YITH_WCQV_INIT' ) && YITH_WCQV_INIT == $plugin_file ) {
|
212 |
+
$new_row_meta_args['slug'] = YITH_WCQV_SLUG;
|
213 |
+
|
214 |
+
if( defined( 'YITH_WCQV_PREMIUM' ) ){
|
215 |
+
$new_row_meta_args['is_premium'] = true;
|
216 |
+
}
|
217 |
+
}
|
218 |
+
return $new_row_meta_args;
|
219 |
+
}
|
220 |
+
|
221 |
+
/**
|
222 |
+
* Get the premium landing uri
|
223 |
+
*
|
224 |
+
* @since 1.0.0
|
225 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
226 |
+
* @return string The premium landing link
|
227 |
+
*/
|
228 |
+
public function get_premium_landing_uri(){
|
229 |
+
return defined( 'YITH_REFER_ID' ) ? $this->_premium_landing . '?refer_id=' . YITH_REFER_ID : $this->_premium_landing.'?refer_id=1030585';
|
230 |
+
}
|
231 |
+
|
232 |
+
}
|
233 |
+
}
|
234 |
+
/**
|
235 |
+
* Unique access to instance of YITH_WCQV_Admin class
|
236 |
+
*
|
237 |
+
* @return \YITH_WCQV_Admin
|
238 |
+
* @since 1.0.0
|
239 |
+
*/
|
240 |
+
function YITH_WCQV_Admin(){
|
241 |
+
return YITH_WCQV_Admin::get_instance();
|
242 |
}
|
includes/class.yith-wcqv-frontend.php
CHANGED
@@ -1,358 +1,359 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Frontend class
|
4 |
-
*
|
5 |
-
* @author Yithemes
|
6 |
-
* @package YITH WooCommerce Quick View
|
7 |
-
* @version 1.1.1
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( ! defined( 'YITH_WCQV' ) ) {
|
11 |
-
exit;
|
12 |
-
} // Exit if accessed directly
|
13 |
-
|
14 |
-
if( ! class_exists( 'YITH_WCQV_Frontend' ) ) {
|
15 |
-
/**
|
16 |
-
* Admin class.
|
17 |
-
* The class manage all the Frontend behaviors.
|
18 |
-
*
|
19 |
-
* @since 1.0.0
|
20 |
-
*/
|
21 |
-
class YITH_WCQV_Frontend {
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Single instance of the class
|
25 |
-
*
|
26 |
-
* @var \YITH_WCQV_Frontend
|
27 |
-
* @since 1.0.0
|
28 |
-
*/
|
29 |
-
protected static $instance;
|
30 |
-
|
31 |
-
/**
|
32 |
-
* Plugin version
|
33 |
-
*
|
34 |
-
* @var string
|
35 |
-
* @since 1.0.0
|
36 |
-
*/
|
37 |
-
public $version = YITH_WCQV_VERSION;
|
38 |
-
|
39 |
-
/**
|
40 |
-
* Returns single instance of the class
|
41 |
-
*
|
42 |
-
* @return \YITH_WCQV_Frontend
|
43 |
-
* @since 1.0.0
|
44 |
-
*/
|
45 |
-
public static function get_instance(){
|
46 |
-
if( is_null( self::$instance ) ){
|
47 |
-
self::$instance = new self();
|
48 |
-
}
|
49 |
-
|
50 |
-
return self::$instance;
|
51 |
-
}
|
52 |
-
|
53 |
-
/**
|
54 |
-
* Constructor
|
55 |
-
*
|
56 |
-
* @access public
|
57 |
-
* @since 1.0.0
|
58 |
-
*/
|
59 |
-
public function __construct() {
|
60 |
-
|
61 |
-
// custom styles and javascripts
|
62 |
-
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
|
63 |
-
|
64 |
-
// quick view ajax
|
65 |
-
add_action( 'wp_ajax_yith_load_product_quick_view', array( $this, 'yith_load_product_quick_view_ajax' ) );
|
66 |
-
add_action( 'wp_ajax_nopriv_yith_load_product_quick_view', array( $this, 'yith_load_product_quick_view_ajax' ) );
|
67 |
-
|
68 |
-
// add button
|
69 |
-
add_action( 'woocommerce_after_shop_loop_item', array( $this, 'yith_add_quick_view_button' ), 15 );
|
70 |
-
add_action( 'yith_wcwl_table_after_product_name', array( $this, 'yith_add_quick_view_button' ), 15, 0 );
|
71 |
-
|
72 |
-
// load modal template
|
73 |
-
add_action( 'wp_footer', array( $this, 'yith_quick_view' ) );
|
74 |
-
|
75 |
-
// load action for product template
|
76 |
-
$this->yith_quick_view_action_template();
|
77 |
-
|
78 |
-
add_shortcode( 'yith_quick_view', array( $this, 'quick_view_shortcode' ) );
|
79 |
-
add_filter( 'woocommerce_add_to_cart_form_action', array( $this, 'avoid_redirect_to_single_page'), 10, 1 );
|
80 |
-
}
|
81 |
-
|
82 |
-
/**
|
83 |
-
* Enqueue styles and scripts
|
84 |
-
*
|
85 |
-
* @access public
|
86 |
-
* @return void
|
87 |
-
* @since 1.0.0
|
88 |
-
* @author Francesco Licandro <francesco.licandro@yithemes.com>
|
89 |
-
*/
|
90 |
-
public function enqueue_styles_scripts() {
|
91 |
-
|
92 |
-
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
93 |
-
|
94 |
-
wp_register_script( 'yith-wcqv-frontend', YITH_WCQV_ASSETS_URL . '/js/frontend'.$suffix.'.js', array('jquery'), $this->version, true);
|
95 |
-
wp_enqueue_script( 'yith-wcqv-frontend' );
|
96 |
-
wp_enqueue_style( 'yith-quick-view', YITH_WCQV_ASSETS_URL . '/css/yith-quick-view.css' );
|
97 |
-
|
98 |
-
$background_modal = get_option( 'yith-wcqv-background-modal' );
|
99 |
-
$close_color = get_option( 'yith-wcqv-close-color' );
|
100 |
-
$close_color_hover = get_option( 'yith-wcqv-close-color-hover' );
|
101 |
-
|
102 |
-
$inline_style = "
|
103 |
-
#yith-quick-view-modal .yith-wcqv-main{background:{$background_modal};}
|
104 |
-
#yith-quick-view-close{color:{$close_color};}
|
105 |
-
#yith-quick-view-close:hover{color:{$close_color_hover};}";
|
106 |
-
|
107 |
-
wp_add_inline_style( 'yith-quick-view', $inline_style );
|
108 |
-
}
|
109 |
-
|
110 |
-
/**
|
111 |
-
* Add quick view button in wc product loop
|
112 |
-
*
|
113 |
-
* @access public
|
114 |
-
* @param integer|string $product_id The product id
|
115 |
-
* @param string $label The button label
|
116 |
-
* @param boolean $return
|
117 |
-
* @return string|void
|
118 |
-
* @since 1.0.0
|
119 |
-
* @author Francesco Licandro <francesco.licandro@yithemes.com>
|
120 |
-
*/
|
121 |
-
public function yith_add_quick_view_button( $product_id = 0, $label = '', $return = false ) {
|
122 |
-
|
123 |
-
global $product;
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
*
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
*
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
*
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
*
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
add_action( '
|
277 |
-
add_action( '
|
278 |
-
|
279 |
-
|
280 |
-
add_action( 'yith_wcqv_product_summary', '
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
*
|
304 |
-
*
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
*
|
325 |
-
*
|
326 |
-
* @
|
327 |
-
* @
|
328 |
-
* @
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
*
|
337 |
-
*
|
338 |
-
* @
|
339 |
-
* @
|
340 |
-
* @
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
}
|
350 |
-
|
351 |
-
|
352 |
-
*
|
353 |
-
*
|
354 |
-
* @
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Frontend class
|
4 |
+
*
|
5 |
+
* @author Yithemes
|
6 |
+
* @package YITH WooCommerce Quick View
|
7 |
+
* @version 1.1.1
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( ! defined( 'YITH_WCQV' ) ) {
|
11 |
+
exit;
|
12 |
+
} // Exit if accessed directly
|
13 |
+
|
14 |
+
if( ! class_exists( 'YITH_WCQV_Frontend' ) ) {
|
15 |
+
/**
|
16 |
+
* Admin class.
|
17 |
+
* The class manage all the Frontend behaviors.
|
18 |
+
*
|
19 |
+
* @since 1.0.0
|
20 |
+
*/
|
21 |
+
class YITH_WCQV_Frontend {
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Single instance of the class
|
25 |
+
*
|
26 |
+
* @var \YITH_WCQV_Frontend
|
27 |
+
* @since 1.0.0
|
28 |
+
*/
|
29 |
+
protected static $instance;
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Plugin version
|
33 |
+
*
|
34 |
+
* @var string
|
35 |
+
* @since 1.0.0
|
36 |
+
*/
|
37 |
+
public $version = YITH_WCQV_VERSION;
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Returns single instance of the class
|
41 |
+
*
|
42 |
+
* @return \YITH_WCQV_Frontend
|
43 |
+
* @since 1.0.0
|
44 |
+
*/
|
45 |
+
public static function get_instance(){
|
46 |
+
if( is_null( self::$instance ) ){
|
47 |
+
self::$instance = new self();
|
48 |
+
}
|
49 |
+
|
50 |
+
return self::$instance;
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Constructor
|
55 |
+
*
|
56 |
+
* @access public
|
57 |
+
* @since 1.0.0
|
58 |
+
*/
|
59 |
+
public function __construct() {
|
60 |
+
|
61 |
+
// custom styles and javascripts
|
62 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles_scripts' ) );
|
63 |
+
|
64 |
+
// quick view ajax
|
65 |
+
add_action( 'wp_ajax_yith_load_product_quick_view', array( $this, 'yith_load_product_quick_view_ajax' ) );
|
66 |
+
add_action( 'wp_ajax_nopriv_yith_load_product_quick_view', array( $this, 'yith_load_product_quick_view_ajax' ) );
|
67 |
+
|
68 |
+
// add button
|
69 |
+
add_action( 'woocommerce_after_shop_loop_item', array( $this, 'yith_add_quick_view_button' ), 15 );
|
70 |
+
add_action( 'yith_wcwl_table_after_product_name', array( $this, 'yith_add_quick_view_button' ), 15, 0 );
|
71 |
+
|
72 |
+
// load modal template
|
73 |
+
add_action( 'wp_footer', array( $this, 'yith_quick_view' ) );
|
74 |
+
|
75 |
+
// load action for product template
|
76 |
+
$this->yith_quick_view_action_template();
|
77 |
+
|
78 |
+
add_shortcode( 'yith_quick_view', array( $this, 'quick_view_shortcode' ) );
|
79 |
+
add_filter( 'woocommerce_add_to_cart_form_action', array( $this, 'avoid_redirect_to_single_page'), 10, 1 );
|
80 |
+
}
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Enqueue styles and scripts
|
84 |
+
*
|
85 |
+
* @access public
|
86 |
+
* @return void
|
87 |
+
* @since 1.0.0
|
88 |
+
* @author Francesco Licandro <francesco.licandro@yithemes.com>
|
89 |
+
*/
|
90 |
+
public function enqueue_styles_scripts() {
|
91 |
+
|
92 |
+
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
|
93 |
+
|
94 |
+
wp_register_script( 'yith-wcqv-frontend', YITH_WCQV_ASSETS_URL . '/js/frontend'.$suffix.'.js', array('jquery'), $this->version, true);
|
95 |
+
wp_enqueue_script( 'yith-wcqv-frontend' );
|
96 |
+
wp_enqueue_style( 'yith-quick-view', YITH_WCQV_ASSETS_URL . '/css/yith-quick-view.css' );
|
97 |
+
|
98 |
+
$background_modal = get_option( 'yith-wcqv-background-modal' );
|
99 |
+
$close_color = get_option( 'yith-wcqv-close-color' );
|
100 |
+
$close_color_hover = get_option( 'yith-wcqv-close-color-hover' );
|
101 |
+
|
102 |
+
$inline_style = "
|
103 |
+
#yith-quick-view-modal .yith-wcqv-main{background:{$background_modal};}
|
104 |
+
#yith-quick-view-close{color:{$close_color};}
|
105 |
+
#yith-quick-view-close:hover{color:{$close_color_hover};}";
|
106 |
+
|
107 |
+
wp_add_inline_style( 'yith-quick-view', $inline_style );
|
108 |
+
}
|
109 |
+
|
110 |
+
/**
|
111 |
+
* Add quick view button in wc product loop
|
112 |
+
*
|
113 |
+
* @access public
|
114 |
+
* @param integer|string $product_id The product id
|
115 |
+
* @param string $label The button label
|
116 |
+
* @param boolean $return
|
117 |
+
* @return string|void
|
118 |
+
* @since 1.0.0
|
119 |
+
* @author Francesco Licandro <francesco.licandro@yithemes.com>
|
120 |
+
*/
|
121 |
+
public function yith_add_quick_view_button( $product_id = 0, $label = '', $return = false ) {
|
122 |
+
|
123 |
+
global $product;
|
124 |
+
|
125 |
+
if( ! $product_id ){
|
126 |
+
$product instanceof WC_Product && $product_id = yit_get_prop( $product, 'id', true );
|
127 |
+
}
|
128 |
+
|
129 |
+
$button = '';
|
130 |
+
if( $product_id ) {
|
131 |
+
// get label
|
132 |
+
! $label && $label = $this->get_button_label();
|
133 |
+
|
134 |
+
$button = '<a href="#" class="button yith-wcqv-button" data-product_id="' . $product_id . '">' . $label . '</a>';
|
135 |
+
$button = apply_filters('yith_add_quick_view_button_html', $button, $label, $product);
|
136 |
+
}
|
137 |
+
|
138 |
+
if( $return ) {
|
139 |
+
return $button;
|
140 |
+
}
|
141 |
+
|
142 |
+
echo $button;
|
143 |
+
}
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Enqueue scripts and pass variable to js used in quick view
|
147 |
+
*
|
148 |
+
* @access public
|
149 |
+
* @return bool
|
150 |
+
* @since 1.0.0
|
151 |
+
* @author Francesco Licandro <francesco.licandro@yithemes.com>
|
152 |
+
*/
|
153 |
+
public function yith_woocommerce_quick_view() {
|
154 |
+
|
155 |
+
wp_enqueue_script( 'wc-add-to-cart-variation' );
|
156 |
+
if( version_compare( WC()->version, '3.0.0', '>=' ) ) {
|
157 |
+
if( current_theme_supports('wc-product-gallery-zoom') ) {
|
158 |
+
wp_enqueue_script('zoom');
|
159 |
+
}
|
160 |
+
if( current_theme_supports('wc-product-gallery-lightbox') ) {
|
161 |
+
wp_enqueue_script('photoswipe-ui-default');
|
162 |
+
wp_enqueue_style('photoswipe-default-skin');
|
163 |
+
if( has_action('wp_footer', 'woocommerce_photoswipe') === FALSE ) {
|
164 |
+
add_action('wp_footer', 'woocommerce_photoswipe', 15);
|
165 |
+
}
|
166 |
+
}
|
167 |
+
wp_enqueue_script('wc-single-product');
|
168 |
+
}
|
169 |
+
|
170 |
+
// enqueue wc color e label variation style
|
171 |
+
wp_enqueue_script( 'yith_wccl_frontend' );
|
172 |
+
wp_enqueue_style( 'yith_wccl_frontend' );
|
173 |
+
|
174 |
+
$lightbox_en = get_option( 'yith-wcqv-enable-lightbox' ) == 'yes' ? true : false;
|
175 |
+
|
176 |
+
// if enabled load prettyPhoto css
|
177 |
+
if( $lightbox_en ) {
|
178 |
+
|
179 |
+
$assets_path = str_replace( array( 'http:', 'https:' ), '', WC()->plugin_url() ) . '/assets/';
|
180 |
+
|
181 |
+
wp_enqueue_script( 'prettyPhoto', $assets_path . 'js/prettyPhoto/jquery.prettyPhoto.min.js', array( 'jquery' ), '3.1.5', true );
|
182 |
+
wp_enqueue_style( 'woocommerce_prettyPhoto_css', $assets_path . 'css/prettyPhoto.css' );
|
183 |
+
}
|
184 |
+
|
185 |
+
$version = version_compare( preg_replace( '/-beta-([0-9]+)/', '', WC()->version ), '2.3.0', '<' );
|
186 |
+
|
187 |
+
// loader gif
|
188 |
+
$loader = apply_filters( 'yith_quick_view_loader_gif', YITH_WCQV_ASSETS_URL . '/image/qv-loader.gif' );
|
189 |
+
|
190 |
+
// Allow user to load custom style and scripts
|
191 |
+
do_action( 'yith_quick_view_custom_style_scripts' );
|
192 |
+
|
193 |
+
wp_localize_script( 'yith-wcqv-frontend', 'yith_qv', array (
|
194 |
+
'ajaxurl' => admin_url( 'admin-ajax.php', 'relative' ),
|
195 |
+
'loader' => $loader,
|
196 |
+
'is2_2' => $version,
|
197 |
+
'lang' => defined( 'ICL_LANGUAGE_CODE' ) ? ICL_LANGUAGE_CODE : ''
|
198 |
+
)
|
199 |
+
);
|
200 |
+
|
201 |
+
return true;
|
202 |
+
}
|
203 |
+
|
204 |
+
/**
|
205 |
+
* Ajax action to load product in quick view
|
206 |
+
*
|
207 |
+
* @access public
|
208 |
+
* @return void
|
209 |
+
* @since 1.0.0
|
210 |
+
* @author Francesco Licandro <francesco.licandro@yithemes.com>
|
211 |
+
*/
|
212 |
+
public function yith_load_product_quick_view_ajax() {
|
213 |
+
|
214 |
+
if ( ! isset( $_REQUEST['product_id'] ) ) {
|
215 |
+
die();
|
216 |
+
}
|
217 |
+
|
218 |
+
global $sitepress;
|
219 |
+
|
220 |
+
$product_id = intval( $_REQUEST['product_id'] );
|
221 |
+
|
222 |
+
/**
|
223 |
+
* WPML Suppot: Localize Ajax Call
|
224 |
+
*/
|
225 |
+
$lang = isset( $_REQUEST['lang'] ) ? $_REQUEST['lang'] : '';
|
226 |
+
if( defined( 'ICL_LANGUAGE_CODE' ) && $lang && isset( $sitepress ) ) {
|
227 |
+
$sitepress->switch_lang( $lang, true );
|
228 |
+
}
|
229 |
+
|
230 |
+
// set the main wp query for the product
|
231 |
+
wp( 'p=' . $product_id . '&post_type=product' );
|
232 |
+
|
233 |
+
// remove product thumbnails gallery
|
234 |
+
remove_action( 'woocommerce_product_thumbnails', 'woocommerce_show_product_thumbnails', 20 );
|
235 |
+
|
236 |
+
// change template for variable products
|
237 |
+
if ( isset( $GLOBALS['yith_wccl'] ) ) {
|
238 |
+
$GLOBALS['yith_wccl']->obj = new YITH_WCCL_Frontend( YITH_WCCL_VERSION );
|
239 |
+
$GLOBALS['yith_wccl']->obj->override();
|
240 |
+
}
|
241 |
+
|
242 |
+
ob_start();
|
243 |
+
|
244 |
+
// load content template
|
245 |
+
wc_get_template( 'yith-quick-view-content.php', array(), '', YITH_WCQV_DIR . 'templates/' );
|
246 |
+
|
247 |
+
echo ob_get_clean();
|
248 |
+
|
249 |
+
die();
|
250 |
+
}
|
251 |
+
|
252 |
+
/**
|
253 |
+
* Load quick view template
|
254 |
+
*
|
255 |
+
* @access public
|
256 |
+
* @return void
|
257 |
+
* @since 1.0.0
|
258 |
+
* @author Francesco Licandro <francesco.licandro@yithemes.com>
|
259 |
+
*/
|
260 |
+
public function yith_quick_view() {
|
261 |
+
$this->yith_woocommerce_quick_view();
|
262 |
+
wc_get_template( 'yith-quick-view.php', array(), '', YITH_WCQV_DIR . 'templates/' );
|
263 |
+
}
|
264 |
+
|
265 |
+
/**
|
266 |
+
* Load wc action for quick view product template
|
267 |
+
*
|
268 |
+
* @access public
|
269 |
+
* @return void
|
270 |
+
* @since 1.0.0
|
271 |
+
* @author Francesco Licandro <francesco.licandro@yithemes.com>
|
272 |
+
*/
|
273 |
+
public function yith_quick_view_action_template() {
|
274 |
+
|
275 |
+
// Image
|
276 |
+
add_action( 'yith_wcqv_product_image', 'woocommerce_show_product_sale_flash', 10 );
|
277 |
+
add_action( 'yith_wcqv_product_image', 'woocommerce_show_product_images', 20 );
|
278 |
+
|
279 |
+
// Summary
|
280 |
+
add_action( 'yith_wcqv_product_summary', 'woocommerce_template_single_title', 5 );
|
281 |
+
add_action( 'yith_wcqv_product_summary', 'woocommerce_template_single_rating', 10 );
|
282 |
+
add_action( 'yith_wcqv_product_summary', 'woocommerce_template_single_price', 15 );
|
283 |
+
add_action( 'yith_wcqv_product_summary', 'woocommerce_template_single_excerpt', 20 );
|
284 |
+
add_action( 'yith_wcqv_product_summary', 'woocommerce_template_single_add_to_cart', 25 );
|
285 |
+
add_action( 'yith_wcqv_product_summary', 'woocommerce_template_single_meta', 30 );
|
286 |
+
}
|
287 |
+
|
288 |
+
/**
|
289 |
+
* Get Quick View button label
|
290 |
+
*
|
291 |
+
* @author Francesco Licandro
|
292 |
+
* @since 1.2.0
|
293 |
+
* @return string
|
294 |
+
*/
|
295 |
+
public function get_button_label(){
|
296 |
+
$label = get_option( 'yith-wcqv-button-label' );
|
297 |
+
$label = call_user_func( '__' , $label, 'yith-woocommerce-quick-view' );
|
298 |
+
|
299 |
+
return apply_filters( 'yith_wcqv_button_label', esc_html( $label ) );
|
300 |
+
}
|
301 |
+
|
302 |
+
/**
|
303 |
+
* Quick View shortcode button
|
304 |
+
*
|
305 |
+
* @access public
|
306 |
+
* @since 1.0.7
|
307 |
+
* @param array $atts
|
308 |
+
* @return string
|
309 |
+
* @author Francesco Licandro
|
310 |
+
*/
|
311 |
+
public function quick_view_shortcode( $atts ) {
|
312 |
+
|
313 |
+
$atts = shortcode_atts(array(
|
314 |
+
'product_id' => 0,
|
315 |
+
'label' => ''
|
316 |
+
), $atts );
|
317 |
+
|
318 |
+
extract( $atts );
|
319 |
+
|
320 |
+
return $this->yith_add_quick_view_button( intval( $product_id ), $label, true );
|
321 |
+
}
|
322 |
+
|
323 |
+
/**
|
324 |
+
* Check if is quick view
|
325 |
+
*
|
326 |
+
* @access public
|
327 |
+
* @return bool
|
328 |
+
* @since 1.3.1
|
329 |
+
* @author Francesco Licandro <francesco.licandro@yithemes.com>
|
330 |
+
*/
|
331 |
+
public function yith_is_quick_view() {
|
332 |
+
return ( defined('DOING_AJAX') && DOING_AJAX && isset( $_REQUEST['action'] ) && $_REQUEST['action'] == 'yith_load_product_quick_view' ) ? true : false;
|
333 |
+
}
|
334 |
+
|
335 |
+
/**
|
336 |
+
* Avoid redirect to single product page on add to cart action in quick view
|
337 |
+
*
|
338 |
+
* @since 1.3.1
|
339 |
+
* @author Francesco Licandro
|
340 |
+
* @param string $value
|
341 |
+
* @return string
|
342 |
+
*/
|
343 |
+
public function avoid_redirect_to_single_page( $value ){
|
344 |
+
if( $this->yith_is_quick_view() ) {
|
345 |
+
return '';
|
346 |
+
}
|
347 |
+
return $value;
|
348 |
+
}
|
349 |
+
}
|
350 |
+
}
|
351 |
+
/**
|
352 |
+
* Unique access to instance of YITH_WCQV_Frontend class
|
353 |
+
*
|
354 |
+
* @return \YITH_WCQV_Frontend
|
355 |
+
* @since 1.0.0
|
356 |
+
*/
|
357 |
+
function YITH_WCQV_Frontend(){
|
358 |
+
return YITH_WCQV_Frontend::get_instance();
|
359 |
+
}
|
includes/class.yith-wcqv.php
CHANGED
@@ -1,157 +1,157 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Main class
|
4 |
-
*
|
5 |
-
* @author Yithemes
|
6 |
-
* @package YITH WooCommerce Quick View
|
7 |
-
* @version 1.0.0
|
8 |
-
*/
|
9 |
-
|
10 |
-
|
11 |
-
if ( ! defined( 'YITH_WCQV' ) ) {
|
12 |
-
exit;
|
13 |
-
} // Exit if accessed directly
|
14 |
-
|
15 |
-
if ( ! class_exists( 'YITH_WCQV' ) ) {
|
16 |
-
/**
|
17 |
-
* YITH WooCommerce Quick View
|
18 |
-
*
|
19 |
-
* @since 1.0.0
|
20 |
-
*/
|
21 |
-
class YITH_WCQV {
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Single instance of the class
|
25 |
-
*
|
26 |
-
* @var \YITH_WCQV
|
27 |
-
* @since 1.0.0
|
28 |
-
*/
|
29 |
-
protected static $instance;
|
30 |
-
|
31 |
-
/**
|
32 |
-
* Plugin version
|
33 |
-
*
|
34 |
-
* @var string
|
35 |
-
* @since 1.0.0
|
36 |
-
*/
|
37 |
-
public $version = YITH_WCQV_VERSION;
|
38 |
-
|
39 |
-
/**
|
40 |
-
* Plugin object
|
41 |
-
*
|
42 |
-
* @var string
|
43 |
-
* @since 1.0.0
|
44 |
-
*/
|
45 |
-
public $obj = null;
|
46 |
-
|
47 |
-
/**
|
48 |
-
* Returns single instance of the class
|
49 |
-
*
|
50 |
-
* @return \YITH_WCQV
|
51 |
-
* @since 1.0.0
|
52 |
-
*/
|
53 |
-
public static function get_instance(){
|
54 |
-
if( is_null( self::$instance ) ){
|
55 |
-
self::$instance = new self();
|
56 |
-
}
|
57 |
-
|
58 |
-
return self::$instance;
|
59 |
-
}
|
60 |
-
|
61 |
-
/**
|
62 |
-
* Constructor
|
63 |
-
*
|
64 |
-
* @return mixed| YITH_WCQV_Admin | YITH_WCQV_Frontend
|
65 |
-
* @since 1.0.0
|
66 |
-
*/
|
67 |
-
public function __construct() {
|
68 |
-
|
69 |
-
// Load Plugin Framework
|
70 |
-
add_action( 'after_setup_theme', array( $this, 'plugin_fw_loader' ), 1 );
|
71 |
-
|
72 |
-
$action = array(
|
73 |
-
'woocommerce_get_refreshed_fragments',
|
74 |
-
'woocommerce_apply_coupon',
|
75 |
-
'woocommerce_remove_coupon',
|
76 |
-
'woocommerce_update_shipping_method',
|
77 |
-
'woocommerce_update_order_review',
|
78 |
-
'woocommerce_add_to_cart',
|
79 |
-
'woocommerce_checkout'
|
80 |
-
);
|
81 |
-
|
82 |
-
// Exit if is woocommerce ajax
|
83 |
-
if( defined( 'DOING_AJAX') && DOING_AJAX && isset( $_REQUEST['action'] ) && in_array( $_REQUEST['action'], $action ) ) {
|
84 |
-
return;
|
85 |
-
}
|
86 |
-
|
87 |
-
if ( $this->is_admin() ) {
|
88 |
-
// load admin classes
|
89 |
-
require_once( 'class.yith-wcqv-admin.php' );
|
90 |
-
YITH_WCQV_Admin();
|
91 |
-
}
|
92 |
-
|
93 |
-
if( $this->load_frontend() ) {
|
94 |
-
// load frontend classes
|
95 |
-
require_once( 'class.yith-wcqv-frontend.php' );
|
96 |
-
YITH_WCQV_Frontend();
|
97 |
-
}
|
98 |
-
}
|
99 |
-
|
100 |
-
/**
|
101 |
-
* Check if context is admin
|
102 |
-
*
|
103 |
-
* @author Francesco Licandro
|
104 |
-
* @since 1.2.0
|
105 |
-
* @return boolean
|
106 |
-
*/
|
107 |
-
public function is_admin(){
|
108 |
-
$is_ajax = ( defined( 'DOING_AJAX') && DOING_AJAX && isset( $_REQUEST['context'] ) && $_REQUEST['context'] == 'frontend' );
|
109 |
-
return apply_filters( 'yith_wcqv_is_admin', is_admin() && ! $is_ajax );
|
110 |
-
}
|
111 |
-
|
112 |
-
/**
|
113 |
-
* Check if load or not frontend
|
114 |
-
*
|
115 |
-
* @author Francesco Licandro
|
116 |
-
* @since 1.2.0
|
117 |
-
* @return boolean
|
118 |
-
*/
|
119 |
-
public function load_frontend(){
|
120 |
-
// Class frontend
|
121 |
-
$enable = get_option( 'yith-wcqv-enable', 'yes' ) == 'yes';
|
122 |
-
$enable_on_mobile = get_option( 'yith-wcqv-enable-mobile', 'yes' ) == 'yes';
|
123 |
-
$is_mobile = wp_is_mobile();
|
124 |
-
|
125 |
-
return apply_filters( 'yith_wcqv_load_frontend', ( ! $is_mobile && $enable ) || ( $is_mobile && $enable_on_mobile ) );
|
126 |
-
}
|
127 |
-
|
128 |
-
|
129 |
-
/**
|
130 |
-
* Load Plugin Framework
|
131 |
-
*
|
132 |
-
* @since 1.0
|
133 |
-
* @access public
|
134 |
-
* @return void
|
135 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
136 |
-
*/
|
137 |
-
public function plugin_fw_loader() {
|
138 |
-
if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
|
139 |
-
global $plugin_fw_data;
|
140 |
-
if( ! empty( $plugin_fw_data ) ){
|
141 |
-
$plugin_fw_file = array_shift( $plugin_fw_data );
|
142 |
-
require_once( $plugin_fw_file );
|
143 |
-
}
|
144 |
-
}
|
145 |
-
}
|
146 |
-
}
|
147 |
-
}
|
148 |
-
|
149 |
-
/**
|
150 |
-
* Unique access to instance of YITH_WCQV class
|
151 |
-
*
|
152 |
-
* @return \YITH_WCQV
|
153 |
-
* @since 1.0.0
|
154 |
-
*/
|
155 |
-
function YITH_WCQV(){
|
156 |
-
return YITH_WCQV::get_instance();
|
157 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Main class
|
4 |
+
*
|
5 |
+
* @author Yithemes
|
6 |
+
* @package YITH WooCommerce Quick View
|
7 |
+
* @version 1.0.0
|
8 |
+
*/
|
9 |
+
|
10 |
+
|
11 |
+
if ( ! defined( 'YITH_WCQV' ) ) {
|
12 |
+
exit;
|
13 |
+
} // Exit if accessed directly
|
14 |
+
|
15 |
+
if ( ! class_exists( 'YITH_WCQV' ) ) {
|
16 |
+
/**
|
17 |
+
* YITH WooCommerce Quick View
|
18 |
+
*
|
19 |
+
* @since 1.0.0
|
20 |
+
*/
|
21 |
+
class YITH_WCQV {
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Single instance of the class
|
25 |
+
*
|
26 |
+
* @var \YITH_WCQV
|
27 |
+
* @since 1.0.0
|
28 |
+
*/
|
29 |
+
protected static $instance;
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Plugin version
|
33 |
+
*
|
34 |
+
* @var string
|
35 |
+
* @since 1.0.0
|
36 |
+
*/
|
37 |
+
public $version = YITH_WCQV_VERSION;
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Plugin object
|
41 |
+
*
|
42 |
+
* @var string
|
43 |
+
* @since 1.0.0
|
44 |
+
*/
|
45 |
+
public $obj = null;
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Returns single instance of the class
|
49 |
+
*
|
50 |
+
* @return \YITH_WCQV
|
51 |
+
* @since 1.0.0
|
52 |
+
*/
|
53 |
+
public static function get_instance(){
|
54 |
+
if( is_null( self::$instance ) ){
|
55 |
+
self::$instance = new self();
|
56 |
+
}
|
57 |
+
|
58 |
+
return self::$instance;
|
59 |
+
}
|
60 |
+
|
61 |
+
/**
|
62 |
+
* Constructor
|
63 |
+
*
|
64 |
+
* @return mixed| YITH_WCQV_Admin | YITH_WCQV_Frontend
|
65 |
+
* @since 1.0.0
|
66 |
+
*/
|
67 |
+
public function __construct() {
|
68 |
+
|
69 |
+
// Load Plugin Framework
|
70 |
+
add_action( 'after_setup_theme', array( $this, 'plugin_fw_loader' ), 1 );
|
71 |
+
|
72 |
+
$action = array(
|
73 |
+
'woocommerce_get_refreshed_fragments',
|
74 |
+
'woocommerce_apply_coupon',
|
75 |
+
'woocommerce_remove_coupon',
|
76 |
+
'woocommerce_update_shipping_method',
|
77 |
+
'woocommerce_update_order_review',
|
78 |
+
'woocommerce_add_to_cart',
|
79 |
+
'woocommerce_checkout'
|
80 |
+
);
|
81 |
+
|
82 |
+
// Exit if is woocommerce ajax
|
83 |
+
if( defined( 'DOING_AJAX') && DOING_AJAX && isset( $_REQUEST['action'] ) && in_array( $_REQUEST['action'], $action ) ) {
|
84 |
+
return;
|
85 |
+
}
|
86 |
+
|
87 |
+
if ( $this->is_admin() ) {
|
88 |
+
// load admin classes
|
89 |
+
require_once( 'class.yith-wcqv-admin.php' );
|
90 |
+
YITH_WCQV_Admin();
|
91 |
+
}
|
92 |
+
|
93 |
+
if( $this->load_frontend() ) {
|
94 |
+
// load frontend classes
|
95 |
+
require_once( 'class.yith-wcqv-frontend.php' );
|
96 |
+
YITH_WCQV_Frontend();
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
/**
|
101 |
+
* Check if context is admin
|
102 |
+
*
|
103 |
+
* @author Francesco Licandro
|
104 |
+
* @since 1.2.0
|
105 |
+
* @return boolean
|
106 |
+
*/
|
107 |
+
public function is_admin(){
|
108 |
+
$is_ajax = ( defined( 'DOING_AJAX') && DOING_AJAX && isset( $_REQUEST['context'] ) && $_REQUEST['context'] == 'frontend' );
|
109 |
+
return apply_filters( 'yith_wcqv_is_admin', is_admin() && ! $is_ajax );
|
110 |
+
}
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Check if load or not frontend
|
114 |
+
*
|
115 |
+
* @author Francesco Licandro
|
116 |
+
* @since 1.2.0
|
117 |
+
* @return boolean
|
118 |
+
*/
|
119 |
+
public function load_frontend(){
|
120 |
+
// Class frontend
|
121 |
+
$enable = get_option( 'yith-wcqv-enable', 'yes' ) == 'yes';
|
122 |
+
$enable_on_mobile = get_option( 'yith-wcqv-enable-mobile', 'yes' ) == 'yes';
|
123 |
+
$is_mobile = wp_is_mobile();
|
124 |
+
|
125 |
+
return apply_filters( 'yith_wcqv_load_frontend', ( ! $is_mobile && $enable ) || ( $is_mobile && $enable_on_mobile ) );
|
126 |
+
}
|
127 |
+
|
128 |
+
|
129 |
+
/**
|
130 |
+
* Load Plugin Framework
|
131 |
+
*
|
132 |
+
* @since 1.0
|
133 |
+
* @access public
|
134 |
+
* @return void
|
135 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
136 |
+
*/
|
137 |
+
public function plugin_fw_loader() {
|
138 |
+
if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
|
139 |
+
global $plugin_fw_data;
|
140 |
+
if( ! empty( $plugin_fw_data ) ){
|
141 |
+
$plugin_fw_file = array_shift( $plugin_fw_data );
|
142 |
+
require_once( $plugin_fw_file );
|
143 |
+
}
|
144 |
+
}
|
145 |
+
}
|
146 |
+
}
|
147 |
+
}
|
148 |
+
|
149 |
+
/**
|
150 |
+
* Unique access to instance of YITH_WCQV class
|
151 |
+
*
|
152 |
+
* @return \YITH_WCQV
|
153 |
+
* @since 1.0.0
|
154 |
+
*/
|
155 |
+
function YITH_WCQV(){
|
156 |
+
return YITH_WCQV::get_instance();
|
157 |
}
|
init.php
CHANGED
@@ -1,127 +1,135 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Plugin Name: YITH WooCommerce Quick View
|
4 |
-
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-quick-view
|
5 |
-
* Description: YITH WooCommerce Quick View allows your
|
6 |
-
* Version: 1.3.
|
7 |
-
* Author: YITHEMES
|
8 |
-
* Author URI: https://yithemes.com/
|
9 |
-
* Text Domain: yith-woocommerce-quick-view
|
10 |
-
* Domain Path: /languages/
|
11 |
-
* WC requires at least: 2.5.0
|
12 |
-
* WC tested up to: 3.4.0
|
13 |
-
*
|
14 |
-
* @author Yithemes
|
15 |
-
* @package YITH WooCommerce Quick View
|
16 |
-
* @version 1.3.
|
17 |
-
*/
|
18 |
-
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
19 |
-
|
20 |
-
This program is free software; you can redistribute it and/or modify
|
21 |
-
it under the terms of the GNU General Public License, version 2, as
|
22 |
-
published by the Free Software Foundation.
|
23 |
-
|
24 |
-
This program is distributed in the hope that it will be useful,
|
25 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
26 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
27 |
-
GNU General Public License for more details.
|
28 |
-
|
29 |
-
You should have received a copy of the GNU General Public License
|
30 |
-
along with this program; if not, write to the Free Software
|
31 |
-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
32 |
-
*/
|
33 |
-
|
34 |
-
if ( !defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
|
35 |
-
|
36 |
-
if ( ! function_exists( 'is_plugin_active' ) ) {
|
37 |
-
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
38 |
-
}
|
39 |
-
|
40 |
-
function yith_wcqv_install_woocommerce_admin_notice() {
|
41 |
-
?>
|
42 |
-
<div class="error">
|
43 |
-
<p><?php _e( 'YITH WooCommerce Quick View is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-quick-view' ); ?></p>
|
44 |
-
</div>
|
45 |
-
<?php
|
46 |
-
}
|
47 |
-
|
48 |
-
|
49 |
-
function yith_wcqv_install_free_admin_notice() {
|
50 |
-
?>
|
51 |
-
<div class="error">
|
52 |
-
<p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Quick View while you are using the premium one.', 'yith-woocommerce-quick-view' ); ?></p>
|
53 |
-
</div>
|
54 |
-
<?php
|
55 |
-
}
|
56 |
-
|
57 |
-
if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
|
58 |
-
require_once 'plugin-fw/yit-plugin-registration-hook.php';
|
59 |
-
}
|
60 |
-
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
61 |
-
|
62 |
-
|
63 |
-
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
|
64 |
-
define( 'YITH_WCQV_VERSION', '1.3.
|
65 |
-
}
|
66 |
-
|
67 |
-
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
|
68 |
-
define( 'YITH_WCQV_FREE_INIT', plugin_basename( __FILE__ ) );
|
69 |
-
}
|
70 |
-
|
71 |
-
if ( ! defined( '
|
72 |
-
|
73 |
-
}
|
74 |
-
|
75 |
-
if ( ! defined( '
|
76 |
-
define( '
|
77 |
-
}
|
78 |
-
|
79 |
-
if ( ! defined( '
|
80 |
-
define( '
|
81 |
-
}
|
82 |
-
|
83 |
-
if ( ! defined( '
|
84 |
-
define( '
|
85 |
-
}
|
86 |
-
|
87 |
-
if ( ! defined( '
|
88 |
-
define( '
|
89 |
-
}
|
90 |
-
|
91 |
-
if ( ! defined( '
|
92 |
-
define( '
|
93 |
-
}
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
add_action( 'plugins_loaded', 'yith_wcqv_install', 11 );
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Plugin Name: YITH WooCommerce Quick View
|
4 |
+
* Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-quick-view
|
5 |
+
* Description: The <code><strong>YITH WooCommerce Quick View</strong></code> plugin allows your customers to have a quick look about products. <a href="https://yithemes.com/" target="_blank">Find new awesome plugins on <strong>YITH</strong></a>.
|
6 |
+
* Version: 1.3.2
|
7 |
+
* Author: YITHEMES
|
8 |
+
* Author URI: https://yithemes.com/
|
9 |
+
* Text Domain: yith-woocommerce-quick-view
|
10 |
+
* Domain Path: /languages/
|
11 |
+
* WC requires at least: 2.5.0
|
12 |
+
* WC tested up to: 3.4.0
|
13 |
+
*
|
14 |
+
* @author Yithemes
|
15 |
+
* @package YITH WooCommerce Quick View
|
16 |
+
* @version 1.3.2
|
17 |
+
*/
|
18 |
+
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
19 |
+
|
20 |
+
This program is free software; you can redistribute it and/or modify
|
21 |
+
it under the terms of the GNU General Public License, version 2, as
|
22 |
+
published by the Free Software Foundation.
|
23 |
+
|
24 |
+
This program is distributed in the hope that it will be useful,
|
25 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
26 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
27 |
+
GNU General Public License for more details.
|
28 |
+
|
29 |
+
You should have received a copy of the GNU General Public License
|
30 |
+
along with this program; if not, write to the Free Software
|
31 |
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
32 |
+
*/
|
33 |
+
|
34 |
+
if ( !defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
|
35 |
+
|
36 |
+
if ( ! function_exists( 'is_plugin_active' ) ) {
|
37 |
+
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
38 |
+
}
|
39 |
+
|
40 |
+
function yith_wcqv_install_woocommerce_admin_notice() {
|
41 |
+
?>
|
42 |
+
<div class="error">
|
43 |
+
<p><?php _e( 'YITH WooCommerce Quick View is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-quick-view' ); ?></p>
|
44 |
+
</div>
|
45 |
+
<?php
|
46 |
+
}
|
47 |
+
|
48 |
+
|
49 |
+
function yith_wcqv_install_free_admin_notice() {
|
50 |
+
?>
|
51 |
+
<div class="error">
|
52 |
+
<p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Quick View while you are using the premium one.', 'yith-woocommerce-quick-view' ); ?></p>
|
53 |
+
</div>
|
54 |
+
<?php
|
55 |
+
}
|
56 |
+
|
57 |
+
if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
|
58 |
+
require_once 'plugin-fw/yit-plugin-registration-hook.php';
|
59 |
+
}
|
60 |
+
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
61 |
+
|
62 |
+
|
63 |
+
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
|
64 |
+
define( 'YITH_WCQV_VERSION', '1.3.2' );
|
65 |
+
}
|
66 |
+
|
67 |
+
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
|
68 |
+
define( 'YITH_WCQV_FREE_INIT', plugin_basename( __FILE__ ) );
|
69 |
+
}
|
70 |
+
|
71 |
+
if ( ! defined( 'YITH_WCQV_INIT' ) ) {
|
72 |
+
define( 'YITH_WCQV_INIT', plugin_basename( __FILE__ ) );
|
73 |
+
}
|
74 |
+
|
75 |
+
if ( ! defined( 'YITH_WCQV' ) ) {
|
76 |
+
define( 'YITH_WCQV', true );
|
77 |
+
}
|
78 |
+
|
79 |
+
if ( ! defined( 'YITH_WCQV_FILE' ) ) {
|
80 |
+
define( 'YITH_WCQV_FILE', __FILE__ );
|
81 |
+
}
|
82 |
+
|
83 |
+
if ( ! defined( 'YITH_WCQV_URL' ) ) {
|
84 |
+
define( 'YITH_WCQV_URL', plugin_dir_url( __FILE__ ) );
|
85 |
+
}
|
86 |
+
|
87 |
+
if ( ! defined( 'YITH_WCQV_DIR' ) ) {
|
88 |
+
define( 'YITH_WCQV_DIR', plugin_dir_path( __FILE__ ) );
|
89 |
+
}
|
90 |
+
|
91 |
+
if ( ! defined( 'YITH_WCQV_TEMPLATE_PATH' ) ) {
|
92 |
+
define( 'YITH_WCQV_TEMPLATE_PATH', YITH_WCQV_DIR . 'templates' );
|
93 |
+
}
|
94 |
+
|
95 |
+
if ( ! defined( 'YITH_WCQV_ASSETS_URL' ) ) {
|
96 |
+
define( 'YITH_WCQV_ASSETS_URL', YITH_WCQV_URL . 'assets' );
|
97 |
+
}
|
98 |
+
|
99 |
+
if ( ! defined( 'YITH_WCQV_SLUG' ) ) {
|
100 |
+
define( 'YITH_WCQV_SLUG', 'yith-woocommerce-quick-view' );
|
101 |
+
}
|
102 |
+
|
103 |
+
/* Plugin Framework Version Check */
|
104 |
+
if( ! function_exists( 'yit_maybe_plugin_fw_loader' ) && file_exists( YITH_WCQV_DIR . 'plugin-fw/init.php' ) ) {
|
105 |
+
require_once( YITH_WCQV_DIR . 'plugin-fw/init.php' );
|
106 |
+
}
|
107 |
+
yit_maybe_plugin_fw_loader( YITH_WCQV_DIR );
|
108 |
+
|
109 |
+
function yith_wcqv_init() {
|
110 |
+
|
111 |
+
load_plugin_textdomain( 'yith-woocommerce-quick-view', false, dirname( plugin_basename( __FILE__ ) ). '/languages/' );
|
112 |
+
|
113 |
+
// Load required classes and functions
|
114 |
+
require_once('includes/class.yith-wcqv.php');
|
115 |
+
|
116 |
+
// Let's start the game!
|
117 |
+
YITH_WCQV();
|
118 |
+
}
|
119 |
+
add_action( 'yith_wcqv_init', 'yith_wcqv_init' );
|
120 |
+
|
121 |
+
|
122 |
+
function yith_wcqv_install() {
|
123 |
+
|
124 |
+
if ( ! function_exists( 'WC' ) ) {
|
125 |
+
add_action( 'admin_notices', 'yith_wcqv_install_woocommerce_admin_notice' );
|
126 |
+
}
|
127 |
+
elseif ( defined( 'YITH_WCQV_PREMIUM' ) ) {
|
128 |
+
add_action( 'admin_notices', 'yith_wcqv_install_free_admin_notice' );
|
129 |
+
deactivate_plugins( plugin_basename( __FILE__ ) );
|
130 |
+
}
|
131 |
+
else {
|
132 |
+
do_action( 'yith_wcqv_init' );
|
133 |
+
}
|
134 |
+
}
|
135 |
add_action( 'plugins_loaded', 'yith_wcqv_install', 11 );
|
plugin-fw/assets/css/yith-fields.css
CHANGED
@@ -361,4 +361,42 @@ ul.yit-icons-manager-list li.active {
|
|
361 |
/* ------- Buttons ------- */
|
362 |
.yith-plugin-fw-buttons-field-wrapper {
|
363 |
margin-top : 7px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
}
|
361 |
/* ------- Buttons ------- */
|
362 |
.yith-plugin-fw-buttons-field-wrapper {
|
363 |
margin-top : 7px;
|
364 |
+
}
|
365 |
+
|
366 |
+
/* ------- Select Images ------- */
|
367 |
+
.yith-plugin-fw-select-images__list {
|
368 |
+
margin : 0;
|
369 |
+
display : flex;
|
370 |
+
flex-wrap : wrap;
|
371 |
+
}
|
372 |
+
|
373 |
+
.yith-plugin-fw-select-images__item {
|
374 |
+
width : calc(20% - 10px);
|
375 |
+
min-width : 150px;
|
376 |
+
margin : 0 10px 10px 0;
|
377 |
+
padding : 10px;
|
378 |
+
box-sizing : border-box;
|
379 |
+
cursor : pointer;
|
380 |
+
transition : all .3s;
|
381 |
+
border : 2px solid #eee;
|
382 |
+
display : flex;
|
383 |
+
flex-direction : column;
|
384 |
+
justify-content : space-between;
|
385 |
+
}
|
386 |
+
|
387 |
+
.yith-plugin-fw-select-images__item:hover,
|
388 |
+
.yith-plugin-fw-select-images__item.yith-plugin-fw-select-images__item--selected {
|
389 |
+
border-color : #07bcce;
|
390 |
+
}
|
391 |
+
|
392 |
+
.yith-plugin-fw-select-images__item__label {
|
393 |
+
text-align : center;
|
394 |
+
font-weight : 600;
|
395 |
+
margin-bottom : 10px;
|
396 |
+
}
|
397 |
+
|
398 |
+
.yith-plugin-fw-select-images__item img {
|
399 |
+
display : block;
|
400 |
+
max-width : 100%;
|
401 |
+
margin : 0 auto;
|
402 |
}
|
plugin-fw/assets/css/yith-select2-no-wc.css
ADDED
@@ -0,0 +1,741 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.select2-container {
|
2 |
+
-webkit-box-sizing : border-box;
|
3 |
+
box-sizing : border-box;
|
4 |
+
display : inline-block;
|
5 |
+
margin : 0;
|
6 |
+
position : relative;
|
7 |
+
vertical-align : middle
|
8 |
+
}
|
9 |
+
|
10 |
+
.select2-container .select2-selection--single {
|
11 |
+
-webkit-box-sizing : border-box;
|
12 |
+
box-sizing : border-box;
|
13 |
+
cursor : pointer;
|
14 |
+
display : block;
|
15 |
+
height : 28px;
|
16 |
+
margin : 0 0 -4px;
|
17 |
+
-moz-user-select : none;
|
18 |
+
-ms-user-select : none;
|
19 |
+
user-select : none;
|
20 |
+
-webkit-user-select : none
|
21 |
+
}
|
22 |
+
|
23 |
+
.select2-container .select2-selection--single .select2-selection__rendered {
|
24 |
+
display : block;
|
25 |
+
padding-left : 8px;
|
26 |
+
padding-right : 20px;
|
27 |
+
overflow : hidden;
|
28 |
+
text-overflow : ellipsis;
|
29 |
+
white-space : nowrap
|
30 |
+
}
|
31 |
+
|
32 |
+
.select2-container .select2-selection--single .select2-selection__clear {
|
33 |
+
position : relative
|
34 |
+
}
|
35 |
+
|
36 |
+
.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
|
37 |
+
padding-right : 8px;
|
38 |
+
padding-left : 20px
|
39 |
+
}
|
40 |
+
|
41 |
+
.select2-container .select2-selection--multiple {
|
42 |
+
-webkit-box-sizing : border-box;
|
43 |
+
box-sizing : border-box;
|
44 |
+
cursor : pointer;
|
45 |
+
display : block;
|
46 |
+
min-height : 32px;
|
47 |
+
-moz-user-select : none;
|
48 |
+
-ms-user-select : none;
|
49 |
+
user-select : none;
|
50 |
+
-webkit-user-select : none
|
51 |
+
}
|
52 |
+
|
53 |
+
.select2-container .select2-selection--multiple .select2-selection__rendered {
|
54 |
+
display : inline-block;
|
55 |
+
overflow : hidden;
|
56 |
+
padding-left : 8px;
|
57 |
+
text-overflow : ellipsis;
|
58 |
+
white-space : nowrap
|
59 |
+
}
|
60 |
+
|
61 |
+
.select2-container .select2-search--inline {
|
62 |
+
float : left;
|
63 |
+
padding : 0
|
64 |
+
}
|
65 |
+
|
66 |
+
.select2-container .select2-search--inline .select2-search__field {
|
67 |
+
-webkit-box-sizing : border-box;
|
68 |
+
box-sizing : border-box;
|
69 |
+
border : none;
|
70 |
+
font-size : 100%;
|
71 |
+
margin : 0;
|
72 |
+
padding : 0
|
73 |
+
}
|
74 |
+
|
75 |
+
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
|
76 |
+
-webkit-appearance : none
|
77 |
+
}
|
78 |
+
|
79 |
+
.select2-dropdown {
|
80 |
+
background-color : #fff;
|
81 |
+
border : 1px solid #aaa;
|
82 |
+
border-radius : 4px;
|
83 |
+
-webkit-box-sizing : border-box;
|
84 |
+
box-sizing : border-box;
|
85 |
+
display : block;
|
86 |
+
position : absolute;
|
87 |
+
left : -100000px;
|
88 |
+
width : 100%;
|
89 |
+
z-index : 1051
|
90 |
+
}
|
91 |
+
|
92 |
+
.select2-results {
|
93 |
+
display : block
|
94 |
+
}
|
95 |
+
|
96 |
+
.select2-results__options {
|
97 |
+
list-style : none;
|
98 |
+
margin : 0;
|
99 |
+
padding : 0
|
100 |
+
}
|
101 |
+
|
102 |
+
.select2-results__option {
|
103 |
+
padding : 6px;
|
104 |
+
-moz-user-select : none;
|
105 |
+
-ms-user-select : none;
|
106 |
+
user-select : none;
|
107 |
+
-webkit-user-select : none
|
108 |
+
}
|
109 |
+
|
110 |
+
.select2-results__option[aria-selected], .select2-results__option[data-selected] {
|
111 |
+
cursor : pointer
|
112 |
+
}
|
113 |
+
|
114 |
+
.select2-container--open .select2-dropdown {
|
115 |
+
left : 0
|
116 |
+
}
|
117 |
+
|
118 |
+
.select2-container--open .select2-dropdown--above {
|
119 |
+
border-bottom : none;
|
120 |
+
border-bottom-left-radius : 0;
|
121 |
+
border-bottom-right-radius : 0
|
122 |
+
}
|
123 |
+
|
124 |
+
.select2-container--open .select2-dropdown--below {
|
125 |
+
border-top : none;
|
126 |
+
border-top-left-radius : 0;
|
127 |
+
border-top-right-radius : 0
|
128 |
+
}
|
129 |
+
|
130 |
+
.select2-search--dropdown {
|
131 |
+
display : block;
|
132 |
+
padding : 4px
|
133 |
+
}
|
134 |
+
|
135 |
+
.select2-search--dropdown .select2-search__field {
|
136 |
+
padding : 4px;
|
137 |
+
width : 100%;
|
138 |
+
-webkit-box-sizing : border-box;
|
139 |
+
box-sizing : border-box
|
140 |
+
}
|
141 |
+
|
142 |
+
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
|
143 |
+
-webkit-appearance : none
|
144 |
+
}
|
145 |
+
|
146 |
+
.select2-search--dropdown.select2-search--hide {
|
147 |
+
display : none
|
148 |
+
}
|
149 |
+
|
150 |
+
.select2-close-mask {
|
151 |
+
border : 0;
|
152 |
+
margin : 0;
|
153 |
+
padding : 0;
|
154 |
+
display : block;
|
155 |
+
position : fixed;
|
156 |
+
left : 0;
|
157 |
+
top : 0;
|
158 |
+
min-height : 100%;
|
159 |
+
min-width : 100%;
|
160 |
+
height : auto;
|
161 |
+
width : auto;
|
162 |
+
opacity : 0;
|
163 |
+
z-index : 99;
|
164 |
+
background-color : #fff
|
165 |
+
}
|
166 |
+
|
167 |
+
.select2-hidden-accessible {
|
168 |
+
border : 0 !important;
|
169 |
+
clip : rect(0 0 0 0) !important;
|
170 |
+
height : 1px !important;
|
171 |
+
margin : -1px !important;
|
172 |
+
overflow : hidden !important;
|
173 |
+
padding : 0 !important;
|
174 |
+
position : absolute !important;
|
175 |
+
width : 1px !important
|
176 |
+
}
|
177 |
+
|
178 |
+
.select2-container--default .select2-selection--single {
|
179 |
+
background-color : #fff;
|
180 |
+
border : 1px solid #aaa;
|
181 |
+
border-radius : 4px
|
182 |
+
}
|
183 |
+
|
184 |
+
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
185 |
+
color : #444;
|
186 |
+
line-height : 28px
|
187 |
+
}
|
188 |
+
|
189 |
+
.select2-container--default .select2-selection--single .select2-selection__clear {
|
190 |
+
cursor : pointer;
|
191 |
+
float : right;
|
192 |
+
font-weight : 700
|
193 |
+
}
|
194 |
+
|
195 |
+
.select2-container--default .select2-selection--single .select2-selection__placeholder {
|
196 |
+
color : #999
|
197 |
+
}
|
198 |
+
|
199 |
+
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
200 |
+
height : 26px;
|
201 |
+
position : absolute;
|
202 |
+
top : 1px;
|
203 |
+
right : 1px;
|
204 |
+
width : 20px
|
205 |
+
}
|
206 |
+
|
207 |
+
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
208 |
+
border-color : #888 transparent transparent transparent;
|
209 |
+
border-style : solid;
|
210 |
+
border-width : 5px 4px 0 4px;
|
211 |
+
height : 0;
|
212 |
+
left : 50%;
|
213 |
+
margin-left : -4px;
|
214 |
+
margin-top : -2px;
|
215 |
+
position : absolute;
|
216 |
+
top : 50%;
|
217 |
+
width : 0
|
218 |
+
}
|
219 |
+
|
220 |
+
.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear {
|
221 |
+
float : left
|
222 |
+
}
|
223 |
+
|
224 |
+
.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow {
|
225 |
+
left : 1px;
|
226 |
+
right : auto
|
227 |
+
}
|
228 |
+
|
229 |
+
.select2-container--default.select2-container--disabled .select2-selection--single {
|
230 |
+
background-color : #eee;
|
231 |
+
cursor : default
|
232 |
+
}
|
233 |
+
|
234 |
+
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
|
235 |
+
display : none
|
236 |
+
}
|
237 |
+
|
238 |
+
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
239 |
+
border-color : transparent transparent #888 transparent;
|
240 |
+
border-width : 0 4px 5px 4px
|
241 |
+
}
|
242 |
+
|
243 |
+
.select2-container--default .select2-selection--multiple {
|
244 |
+
background-color : #fff;
|
245 |
+
border : 1px solid #aaa;
|
246 |
+
cursor : text;
|
247 |
+
}
|
248 |
+
|
249 |
+
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
250 |
+
-webkit-box-sizing : border-box;
|
251 |
+
box-sizing : border-box;
|
252 |
+
list-style : none;
|
253 |
+
margin : 0;
|
254 |
+
padding : 0 5px;
|
255 |
+
width : 100%
|
256 |
+
}
|
257 |
+
|
258 |
+
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
|
259 |
+
list-style : none;
|
260 |
+
margin : 5px 5px 0 0
|
261 |
+
}
|
262 |
+
|
263 |
+
.select2-container--default .select2-selection--multiple .select2-selection__rendered li:before {
|
264 |
+
content : '';
|
265 |
+
display : none
|
266 |
+
}
|
267 |
+
|
268 |
+
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
|
269 |
+
color : #999;
|
270 |
+
margin-top : 5px;
|
271 |
+
float : left
|
272 |
+
}
|
273 |
+
|
274 |
+
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
275 |
+
cursor : pointer;
|
276 |
+
float : right;
|
277 |
+
font-weight : 700;
|
278 |
+
margin-top : 5px;
|
279 |
+
margin-right : 10px
|
280 |
+
}
|
281 |
+
|
282 |
+
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
283 |
+
background-color : #e4e4e4;
|
284 |
+
border : 1px solid #aaa;
|
285 |
+
border-radius : 4px;
|
286 |
+
cursor : default;
|
287 |
+
float : left;
|
288 |
+
margin-right : 5px;
|
289 |
+
margin-top : 5px;
|
290 |
+
padding : 0 5px
|
291 |
+
}
|
292 |
+
|
293 |
+
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
294 |
+
color : #999;
|
295 |
+
cursor : pointer;
|
296 |
+
display : inline-block;
|
297 |
+
font-weight : 700;
|
298 |
+
margin-right : 2px
|
299 |
+
}
|
300 |
+
|
301 |
+
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
302 |
+
color : #333
|
303 |
+
}
|
304 |
+
|
305 |
+
.select2-container--default[dir=rtl] .select2-selection--multiple .select2-search--inline, .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder {
|
306 |
+
float : right
|
307 |
+
}
|
308 |
+
|
309 |
+
.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice {
|
310 |
+
margin-left : 5px;
|
311 |
+
margin-right : auto
|
312 |
+
}
|
313 |
+
|
314 |
+
.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove {
|
315 |
+
margin-left : 2px;
|
316 |
+
margin-right : auto
|
317 |
+
}
|
318 |
+
|
319 |
+
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
320 |
+
border : solid #000 1px;
|
321 |
+
outline : 0
|
322 |
+
}
|
323 |
+
|
324 |
+
.select2-container--default.select2-container--disabled .select2-selection--multiple {
|
325 |
+
background-color : #eee;
|
326 |
+
cursor : default
|
327 |
+
}
|
328 |
+
|
329 |
+
.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
|
330 |
+
display : none
|
331 |
+
}
|
332 |
+
|
333 |
+
.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
|
334 |
+
border-top-left-radius : 0;
|
335 |
+
border-top-right-radius : 0
|
336 |
+
}
|
337 |
+
|
338 |
+
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
|
339 |
+
border-bottom-left-radius : 0;
|
340 |
+
border-bottom-right-radius : 0
|
341 |
+
}
|
342 |
+
|
343 |
+
.select2-container--default .select2-search--dropdown .select2-search__field {
|
344 |
+
border : 1px solid #aaa
|
345 |
+
}
|
346 |
+
|
347 |
+
.select2-container--default .select2-search--inline .select2-search__field {
|
348 |
+
background : 0 0;
|
349 |
+
border : none;
|
350 |
+
outline : 0;
|
351 |
+
-webkit-box-shadow : none;
|
352 |
+
box-shadow : none;
|
353 |
+
-webkit-appearance : textfield
|
354 |
+
}
|
355 |
+
|
356 |
+
.select2-container--default .select2-results > .select2-results__options {
|
357 |
+
max-height : 200px;
|
358 |
+
overflow-y : auto
|
359 |
+
}
|
360 |
+
|
361 |
+
.select2-container--default .select2-results__option[role=group] {
|
362 |
+
padding : 0
|
363 |
+
}
|
364 |
+
|
365 |
+
.select2-container--default .select2-results__option[aria-disabled=true] {
|
366 |
+
color : #999
|
367 |
+
}
|
368 |
+
|
369 |
+
.select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option[data-selected=true] {
|
370 |
+
background-color : #ddd
|
371 |
+
}
|
372 |
+
|
373 |
+
.select2-container--default .select2-results__option .select2-results__option {
|
374 |
+
padding-left : 1em
|
375 |
+
}
|
376 |
+
|
377 |
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
|
378 |
+
padding-left : 0
|
379 |
+
}
|
380 |
+
|
381 |
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
|
382 |
+
margin-left : -1em;
|
383 |
+
padding-left : 2em
|
384 |
+
}
|
385 |
+
|
386 |
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
387 |
+
margin-left : -2em;
|
388 |
+
padding-left : 3em
|
389 |
+
}
|
390 |
+
|
391 |
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
392 |
+
margin-left : -3em;
|
393 |
+
padding-left : 4em
|
394 |
+
}
|
395 |
+
|
396 |
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
397 |
+
margin-left : -4em;
|
398 |
+
padding-left : 5em
|
399 |
+
}
|
400 |
+
|
401 |
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
402 |
+
margin-left : -5em;
|
403 |
+
padding-left : 6em
|
404 |
+
}
|
405 |
+
|
406 |
+
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
|
407 |
+
background-color : #0073aa;
|
408 |
+
color : #fff
|
409 |
+
}
|
410 |
+
|
411 |
+
.select2-container--default .select2-results__group {
|
412 |
+
cursor : default;
|
413 |
+
display : block;
|
414 |
+
padding : 6px
|
415 |
+
}
|
416 |
+
|
417 |
+
.select2-container--classic .select2-selection--single {
|
418 |
+
background-color : #f7f7f7;
|
419 |
+
border : 1px solid #aaa;
|
420 |
+
border-radius : 4px;
|
421 |
+
outline : 0;
|
422 |
+
background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #fff), to(#eee));
|
423 |
+
background-image : -webkit-linear-gradient(top, #fff 50%, #eee 100%);
|
424 |
+
background-image : linear-gradient(to bottom, #fff 50%, #eee 100%);
|
425 |
+
background-repeat : repeat-x
|
426 |
+
}
|
427 |
+
|
428 |
+
.select2-container--classic .select2-selection--single:focus {
|
429 |
+
border : 1px solid #0073aa
|
430 |
+
}
|
431 |
+
|
432 |
+
.select2-container--classic .select2-selection--single .select2-selection__rendered {
|
433 |
+
color : #444;
|
434 |
+
line-height : 28px
|
435 |
+
}
|
436 |
+
|
437 |
+
.select2-container--classic .select2-selection--single .select2-selection__clear {
|
438 |
+
cursor : pointer;
|
439 |
+
float : right;
|
440 |
+
font-weight : 700;
|
441 |
+
margin-right : 10px
|
442 |
+
}
|
443 |
+
|
444 |
+
.select2-container--classic .select2-selection--single .select2-selection__placeholder {
|
445 |
+
color : #999
|
446 |
+
}
|
447 |
+
|
448 |
+
.select2-container--classic .select2-selection--single .select2-selection__arrow {
|
449 |
+
background-color : #ddd;
|
450 |
+
border : none;
|
451 |
+
border-left : 1px solid #aaa;
|
452 |
+
border-top-right-radius : 4px;
|
453 |
+
border-bottom-right-radius : 4px;
|
454 |
+
height : 26px;
|
455 |
+
position : absolute;
|
456 |
+
top : 1px;
|
457 |
+
right : 1px;
|
458 |
+
width : 20px;
|
459 |
+
background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #eee), to(#ccc));
|
460 |
+
background-image : -webkit-linear-gradient(top, #eee 50%, #ccc 100%);
|
461 |
+
background-image : linear-gradient(to bottom, #eee 50%, #ccc 100%);
|
462 |
+
background-repeat : repeat-x
|
463 |
+
}
|
464 |
+
|
465 |
+
.select2-container--classic .select2-selection--single .select2-selection__arrow b {
|
466 |
+
border-color : #888 transparent transparent transparent;
|
467 |
+
border-style : solid;
|
468 |
+
border-width : 5px 4px 0 4px;
|
469 |
+
height : 0;
|
470 |
+
left : 50%;
|
471 |
+
margin-left : -4px;
|
472 |
+
margin-top : -2px;
|
473 |
+
position : absolute;
|
474 |
+
top : 50%;
|
475 |
+
width : 0
|
476 |
+
}
|
477 |
+
|
478 |
+
.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__clear {
|
479 |
+
float : left
|
480 |
+
}
|
481 |
+
|
482 |
+
.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__arrow {
|
483 |
+
border : none;
|
484 |
+
border-right : 1px solid #aaa;
|
485 |
+
border-radius : 0;
|
486 |
+
border-top-left-radius : 4px;
|
487 |
+
border-bottom-left-radius : 4px;
|
488 |
+
left : 1px;
|
489 |
+
right : auto
|
490 |
+
}
|
491 |
+
|
492 |
+
.select2-container--classic.select2-container--open .select2-selection--single {
|
493 |
+
border : 1px solid #0073aa
|
494 |
+
}
|
495 |
+
|
496 |
+
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
|
497 |
+
background : 0 0;
|
498 |
+
border : none
|
499 |
+
}
|
500 |
+
|
501 |
+
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
502 |
+
border-color : transparent transparent #888 transparent;
|
503 |
+
border-width : 0 4px 5px 4px
|
504 |
+
}
|
505 |
+
|
506 |
+
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
|
507 |
+
border-top : none;
|
508 |
+
border-top-left-radius : 0;
|
509 |
+
border-top-right-radius : 0;
|
510 |
+
background-image : -webkit-gradient(linear, left top, left bottom, from(white), color-stop(50%, #eee));
|
511 |
+
background-image : -webkit-linear-gradient(top, #fff 0, #eee 50%);
|
512 |
+
background-image : linear-gradient(to bottom, #fff 0, #eee 50%);
|
513 |
+
background-repeat : repeat-x
|
514 |
+
}
|
515 |
+
|
516 |
+
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
|
517 |
+
border-bottom : none;
|
518 |
+
border-bottom-left-radius : 0;
|
519 |
+
border-bottom-right-radius : 0;
|
520 |
+
background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #eee), to(white));
|
521 |
+
background-image : -webkit-linear-gradient(top, #eee 50%, #fff 100%);
|
522 |
+
background-image : linear-gradient(to bottom, #eee 50%, #fff 100%);
|
523 |
+
background-repeat : repeat-x
|
524 |
+
}
|
525 |
+
|
526 |
+
.select2-container--classic .select2-selection--multiple {
|
527 |
+
background-color : #fff;
|
528 |
+
border : 1px solid #aaa;
|
529 |
+
border-radius : 4px;
|
530 |
+
cursor : text;
|
531 |
+
outline : 0
|
532 |
+
}
|
533 |
+
|
534 |
+
.select2-container--classic .select2-selection--multiple:focus {
|
535 |
+
border : 1px solid #0073aa
|
536 |
+
}
|
537 |
+
|
538 |
+
.select2-container--classic .select2-selection--multiple .select2-selection__rendered {
|
539 |
+
list-style : none;
|
540 |
+
margin : 0;
|
541 |
+
padding : 0 5px
|
542 |
+
}
|
543 |
+
|
544 |
+
.select2-container--classic .select2-selection--multiple .select2-selection__clear {
|
545 |
+
display : none
|
546 |
+
}
|
547 |
+
|
548 |
+
.select2-container--classic .select2-selection--multiple .select2-selection__choice {
|
549 |
+
background-color : #e4e4e4;
|
550 |
+
border : 1px solid #aaa;
|
551 |
+
border-radius : 4px;
|
552 |
+
cursor : default;
|
553 |
+
float : left;
|
554 |
+
margin-right : 5px;
|
555 |
+
margin-top : 5px;
|
556 |
+
padding : 0 5px
|
557 |
+
}
|
558 |
+
|
559 |
+
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
|
560 |
+
color : #888;
|
561 |
+
cursor : pointer;
|
562 |
+
display : inline-block;
|
563 |
+
font-weight : 700;
|
564 |
+
margin-right : 2px
|
565 |
+
}
|
566 |
+
|
567 |
+
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
|
568 |
+
color : #555
|
569 |
+
}
|
570 |
+
|
571 |
+
.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice {
|
572 |
+
float : right
|
573 |
+
}
|
574 |
+
|
575 |
+
.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice {
|
576 |
+
margin-left : 5px;
|
577 |
+
margin-right : auto
|
578 |
+
}
|
579 |
+
|
580 |
+
.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove {
|
581 |
+
margin-left : 2px;
|
582 |
+
margin-right : auto
|
583 |
+
}
|
584 |
+
|
585 |
+
.select2-container--classic.select2-container--open .select2-selection--multiple {
|
586 |
+
border : 1px solid #0073aa
|
587 |
+
}
|
588 |
+
|
589 |
+
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
|
590 |
+
border-top : none;
|
591 |
+
border-top-left-radius : 0;
|
592 |
+
border-top-right-radius : 0
|
593 |
+
}
|
594 |
+
|
595 |
+
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
|
596 |
+
border-bottom : none;
|
597 |
+
border-bottom-left-radius : 0;
|
598 |
+
border-bottom-right-radius : 0
|
599 |
+
}
|
600 |
+
|
601 |
+
.select2-container--classic .select2-search--dropdown .select2-search__field {
|
602 |
+
border : 1px solid #aaa;
|
603 |
+
outline : 0
|
604 |
+
}
|
605 |
+
|
606 |
+
.select2-container--classic .select2-search--inline .select2-search__field {
|
607 |
+
outline : 0;
|
608 |
+
-webkit-box-shadow : none;
|
609 |
+
box-shadow : none
|
610 |
+
}
|
611 |
+
|
612 |
+
.select2-container--classic .select2-dropdown {
|
613 |
+
background-color : #fff;
|
614 |
+
border : 1px solid transparent
|
615 |
+
}
|
616 |
+
|
617 |
+
.select2-container--classic .select2-dropdown--above {
|
618 |
+
border-bottom : none
|
619 |
+
}
|
620 |
+
|
621 |
+
.select2-container--classic .select2-dropdown--below {
|
622 |
+
border-top : none
|
623 |
+
}
|
624 |
+
|
625 |
+
.select2-container--classic .select2-results > .select2-results__options {
|
626 |
+
max-height : 200px;
|
627 |
+
overflow-y : auto
|
628 |
+
}
|
629 |
+
|
630 |
+
.select2-container--classic .select2-results__option[role=group] {
|
631 |
+
padding : 0
|
632 |
+
}
|
633 |
+
|
634 |
+
.select2-container--classic .select2-results__option[aria-disabled=true] {
|
635 |
+
color : grey
|
636 |
+
}
|
637 |
+
|
638 |
+
.select2-container--classic .select2-results__option--highlighted[aria-selected], .select2-container--classic .select2-results__option--highlighted[data-selected] {
|
639 |
+
background-color : #3875d7;
|
640 |
+
color : #fff
|
641 |
+
}
|
642 |
+
|
643 |
+
.select2-container--classic .select2-results__group {
|
644 |
+
cursor : default;
|
645 |
+
display : block;
|
646 |
+
padding : 6px
|
647 |
+
}
|
648 |
+
|
649 |
+
.select2-container--classic.select2-container--open .select2-dropdown {
|
650 |
+
border-color : #0073aa
|
651 |
+
}
|
652 |
+
|
653 |
+
|
654 |
+
.select2-drop, .select2-dropdown {
|
655 |
+
z-index : 999999 !important
|
656 |
+
}
|
657 |
+
|
658 |
+
.select2-results {
|
659 |
+
line-height : 1.5em
|
660 |
+
}
|
661 |
+
|
662 |
+
.select2-results .select2-results__group, .select2-results .select2-results__option {
|
663 |
+
margin : 0;
|
664 |
+
padding : 8px
|
665 |
+
}
|
666 |
+
|
667 |
+
.select2-results .description {
|
668 |
+
display : block;
|
669 |
+
color : #999;
|
670 |
+
padding-top : 4px
|
671 |
+
}
|
672 |
+
|
673 |
+
.select2-dropdown {
|
674 |
+
border-color : #ddd
|
675 |
+
}
|
676 |
+
|
677 |
+
.select2-dropdown--below {
|
678 |
+
-webkit-box-shadow : 0 1px 1px rgba(0, 0, 0, .1);
|
679 |
+
box-shadow : 0 1px 1px rgba(0, 0, 0, .1)
|
680 |
+
}
|
681 |
+
|
682 |
+
.select2-dropdown--above {
|
683 |
+
-webkit-box-shadow : 0 -1px 1px rgba(0, 0, 0, .1);
|
684 |
+
box-shadow : 0 -1px 1px rgba(0, 0, 0, .1)
|
685 |
+
}
|
686 |
+
|
687 |
+
.select2-container .select2-selection__rendered.ui-sortable li {
|
688 |
+
cursor : move
|
689 |
+
}
|
690 |
+
|
691 |
+
.select2-container .select2-selection {
|
692 |
+
border-color : #ddd
|
693 |
+
}
|
694 |
+
|
695 |
+
.select2-container .select2-search__field {
|
696 |
+
min-width : 150px
|
697 |
+
}
|
698 |
+
|
699 |
+
.select2-container .select2-selection--single {
|
700 |
+
height : 32px
|
701 |
+
}
|
702 |
+
|
703 |
+
.select2-container .select2-selection--single .select2-selection__rendered {
|
704 |
+
line-height : 32px;
|
705 |
+
padding-right : 24px
|
706 |
+
}
|
707 |
+
|
708 |
+
.select2-container .select2-selection--single .select2-selection__arrow {
|
709 |
+
right : 3px;
|
710 |
+
height : 30px
|
711 |
+
}
|
712 |
+
|
713 |
+
.select2-container .select2-selection--multiple {
|
714 |
+
min-height : 28px;
|
715 |
+
border-radius : 0;
|
716 |
+
line-height : 1.5
|
717 |
+
}
|
718 |
+
|
719 |
+
.select2-container .select2-selection--multiple li {
|
720 |
+
margin : 0
|
721 |
+
}
|
722 |
+
|
723 |
+
.select2-container .select2-selection--multiple .select2-selection__choice {
|
724 |
+
padding : 2px 6px
|
725 |
+
}
|
726 |
+
|
727 |
+
.select2-container .select2-selection--multiple .select2-selection__choice .description {
|
728 |
+
display : none
|
729 |
+
}
|
730 |
+
|
731 |
+
.select2-container .select2-selection__clear {
|
732 |
+
color : #999;
|
733 |
+
margin-top : -1px
|
734 |
+
}
|
735 |
+
|
736 |
+
.select2-container .select2-search--inline .select2-search__field {
|
737 |
+
font-family : inherit;
|
738 |
+
font-size : inherit;
|
739 |
+
font-weight : inherit;
|
740 |
+
padding : 3px 0
|
741 |
+
}
|
plugin-fw/assets/js/jquery.colorbox.min.js
CHANGED
@@ -1,24 +1,33 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
function(){
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
"
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Colorbox 1.6.3
|
3 |
+
license: MIT
|
4 |
+
http://www.jacklmoore.com/colorbox
|
5 |
+
*/
|
6 |
+
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(b,h,g){b instanceof String&&(b=String(b));for(var d=b.length,r=0;r<d;r++){var C=b[r];if(h.call(g,C,r,b))return{i:r,v:C}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(b,h,g){b!=Array.prototype&&b!=Object.prototype&&(b[h]=g.value)};
|
7 |
+
$jscomp.getGlobal=function(b){return"undefined"!=typeof window&&window===b?b:"undefined"!=typeof global&&null!=global?global:b};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(b,h,g,d){if(h){g=$jscomp.global;b=b.split(".");for(d=0;d<b.length-1;d++){var r=b[d];r in g||(g[r]={});g=g[r]}b=b[b.length-1];d=g[b];h=h(d);h!=d&&null!=h&&$jscomp.defineProperty(g,b,{configurable:!0,writable:!0,value:h})}};
|
8 |
+
$jscomp.polyfill("Array.prototype.find",function(b){return b?b:function(b,g){return $jscomp.findInternal(this,b,g).v}},"es6","es3");
|
9 |
+
(function(b,h,g){function d(a,f,H){a=h.createElement(a);f&&(a.id="cbox"+f);H&&(a.style.cssText=H);return b(a)}function r(){return g.innerHeight?g.innerHeight:b(g).height()}function C(a,f){f!==Object(f)&&(f={});this.cache={};this.el=a;this.value=function(a){if(void 0===this.cache[a]){var c=b(this.el).attr("data-cbox-"+a);void 0!==c?this.cache[a]=c:void 0!==f[a]?this.cache[a]=f[a]:void 0!==S[a]&&(this.cache[a]=S[a])}return this.cache[a]};this.get=function(a){a=this.value(a);return b.isFunction(a)?a.call(this.el,
|
10 |
+
this):a}}function O(a){var c=n.length;a=(p+a)%c;return 0>a?c+a:a}function q(a,b){return Math.round((/%/.test(a)?("x"===b?x.width():r())/100:1)*parseInt(a,10))}function ca(a,b){return a.get("photo")||a.get("photoRegex").test(b)}function da(a,b){return a.get("retinaUrl")&&1<g.devicePixelRatio?b.replace(a.get("photoRegex"),a.get("retinaSuffix")):b}function ea(a){"contains"in k[0]&&!k[0].contains(a.target)&&a.target!==y[0]&&(a.stopPropagation(),k.focus())}function I(a){I.str!==a&&(k.add(y).removeClass(I.str).addClass(a),
|
11 |
+
I.str=a)}function ja(c){p=0;c&&!1!==c&&"nofollow"!==c?(n=b(".cboxElement").filter(function(){var a=b.data(this,"colorbox");return(new C(this,a)).get("rel")===c}),p=n.index(a.el),-1===p&&(n=n.add(a.el),p=n.length-1)):n=b(a.el)}function E(a){b(h).trigger(a);t.triggerHandler(a)}function P(c){if(!J){var f=b(c).data("colorbox");a=new C(c,f);ja(a.get("rel"));if(!z){z=K=!0;I(a.get("className"));k.css({visibility:"hidden",display:"block",opacity:""});l=d("div","LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden");
|
12 |
+
u.css({width:"",height:""}).append(l);v=T.height()+U.height()+u.outerHeight(!0)-u.height();w=V.width()+W.width()+u.outerWidth(!0)-u.width();A=l.outerHeight(!0);B=l.outerWidth(!0);c=q(a.get("initialWidth"),"x");f=q(a.get("initialHeight"),"y");var H=a.get("maxWidth"),e=a.get("maxHeight");a.w=Math.max((!1!==H?Math.min(c,q(H,"x")):c)-B-w,0);a.h=Math.max((!1!==e?Math.min(f,q(e,"y")):f)-A-v,0);l.css({width:"",height:a.h});m.position();E("cbox_open");a.get("onOpen");X.add(Y).hide();k.focus();a.get("trapFocus")&&
|
13 |
+
h.addEventListener&&(h.addEventListener("focus",ea,!0),t.one("cbox_closed",function(){h.removeEventListener("focus",ea,!0)}));if(a.get("returnFocus"))t.one("cbox_closed",function(){b(a.el).focus()})}c=parseFloat(a.get("opacity"));y.css({opacity:c===c?c:"",cursor:a.get("overlayClose")?"pointer":"",visibility:"visible"}).show();a.get("closeButton")?Q.html(a.get("close")).appendTo(u):Q.appendTo("<div/>");ka()}}function fa(){k||(Z=!1,x=b(g),k=d("div").attr({id:"colorbox","class":!1===b.support.opacity?
|
14 |
+
"cboxIE":"",role:"dialog",tabindex:"-1"}).hide(),y=d("div","Overlay").hide(),R=b([d("div","LoadingOverlay")[0],d("div","LoadingGraphic")[0]]),F=d("div","Wrapper"),u=d("div","Content").append(Y=d("div","Title"),aa=d("div","Current"),L=b('<button type="button"/>').attr({id:"cboxPrevious"}),M=b('<button type="button"/>').attr({id:"cboxNext"}),G=d("button","Slideshow"),R),Q=b('<button type="button"/>').attr({id:"cboxClose"}),F.append(d("div").append(d("div","TopLeft"),T=d("div","TopCenter"),d("div","TopRight")),
|
15 |
+
d("div",!1,"clear:left").append(V=d("div","MiddleLeft"),u,W=d("div","MiddleRight")),d("div",!1,"clear:left").append(d("div","BottomLeft"),U=d("div","BottomCenter"),d("div","BottomRight"))).find("div div").css({"float":"left"}),N=d("div",!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),X=M.add(L).add(aa).add(G));h.body&&!k.parent().length&&b(h.body).append(y,k.append(F,N))}function la(){function c(a){1<a.which||a.shiftKey||a.altKey||a.metaKey||a.ctrlKey||(a.preventDefault(),
|
16 |
+
P(this))}if(k){if(!Z)if(Z=!0,M.click(function(){m.next()}),L.click(function(){m.prev()}),Q.click(function(){m.close()}),y.click(function(){a.get("overlayClose")&&m.close()}),b(h).bind("keydown.cbox",function(b){var c=b.keyCode;z&&a.get("escKey")&&27===c&&(b.preventDefault(),m.close());z&&a.get("arrowKey")&&n[1]&&!b.altKey&&(37===c?(b.preventDefault(),L.click()):39===c&&(b.preventDefault(),M.click()))}),b.isFunction(b.fn.on))b(h).on("click.cbox",".cboxElement",c);else b(".cboxElement").live("click.cbox",
|
17 |
+
c);return!0}return!1}function ka(){var c,f=m.prep,k=++ba;K=!0;e=!1;E("cbox_purge");E("cbox_load");a.get("onLoad");a.h=a.get("height")?q(a.get("height"),"y")-A-v:a.get("innerHeight")&&q(a.get("innerHeight"),"y");a.w=a.get("width")?q(a.get("width"),"x")-B-w:a.get("innerWidth")&&q(a.get("innerWidth"),"x");a.mw=a.w;a.mh=a.h;a.get("maxWidth")&&(a.mw=q(a.get("maxWidth"),"x")-B-w,a.mw=a.w&&a.w<a.mw?a.w:a.mw);a.get("maxHeight")&&(a.mh=q(a.get("maxHeight"),"y")-A-v,a.mh=a.h&&a.h<a.mh?a.h:a.mh);var D=a.get("href");
|
18 |
+
ha=setTimeout(function(){R.show()},100);if(a.get("inline")){var h=b(D);var l=b("<div>").hide().insertBefore(h);t.one("cbox_purge",function(){l.replaceWith(h)});f(h)}else a.get("iframe")?f(" "):a.get("html")?f(a.get("html")):ca(a,D)?(D=da(a,D),e=a.get("createImg"),b(e).addClass("cboxPhoto").bind("error.cbox",function(){f(d("div","Error").html(a.get("imgError")))}).one("load",function(){k===ba&&setTimeout(function(){a.get("retinaImage")&&1<g.devicePixelRatio&&(e.height/=g.devicePixelRatio,e.width/=
|
19 |
+
g.devicePixelRatio);if(a.get("scalePhotos")){c=function(){e.height-=e.height*d;e.width-=e.width*d};if(a.mw&&e.width>a.mw){var d=(e.width-a.mw)/e.width;c()}a.mh&&e.height>a.mh&&(d=(e.height-a.mh)/e.height,c())}a.h&&(e.style.marginTop=Math.max(a.mh-e.height,0)/2+"px");n[1]&&(a.get("loop")||n[p+1])&&(e.style.cursor="pointer",b(e).bind("click.cbox",function(){m.next()}));e.style.width=e.width+"px";e.style.height=e.height+"px";f(e)},1)}),e.src=D):D&&N.load(D,a.get("data"),function(c,e){k===ba&&f("error"===
|
20 |
+
e?d("div","Error").html(a.get("xhrError")):b(this).contents())})}var S={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,
|
21 |
+
slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return b(this).attr("href")},
|
22 |
+
title:function(){return this.title},createImg:function(){var a=new Image,f=b(this).data("cbox-img-attrs");"object"===typeof f&&b.each(f,function(b,c){a[b]=c});return a},createIframe:function(){var a=h.createElement("iframe"),f=b(this).data("cbox-iframe-attrs");"object"===typeof f&&b.each(f,function(b,c){a[b]=c});"frameBorder"in a&&(a.frameBorder=0);"allowTransparency"in a&&(a.allowTransparency="true");a.name=(new Date).getTime();a.allowFullscreen=!0;return a}},y,k,F,u,T,V,W,U,n,x,l,N,R,Y,aa,G,M,L,
|
23 |
+
Q,X,t=b("<a/>"),a,v,w,A,B,p,e,z,K,J,ha,ba=0,ia={},Z,ma=function(){function b(){clearTimeout(l)}function f(){if(a.get("loop")||n[p+1])b(),l=setTimeout(m.next,a.get("slideshowSpeed"))}function d(){G.html(a.get("slideshowStop")).unbind("click.cbox").one("click.cbox",e);t.bind("cbox_complete",f).bind("cbox_load",b);k.removeClass("cboxSlideshow_off").addClass("cboxSlideshow_on")}function e(){b();t.unbind("cbox_complete",f).unbind("cbox_load",b);G.html(a.get("slideshowStart")).unbind("click.cbox").one("click.cbox",
|
24 |
+
function(){m.next();d()});k.removeClass("cboxSlideshow_on").addClass("cboxSlideshow_off")}function h(){g=!1;G.hide();b();t.unbind("cbox_complete",f).unbind("cbox_load",b);k.removeClass("cboxSlideshow_off cboxSlideshow_on")}var g,l;return function(){g?a.get("slideshow")||(t.unbind("cbox_cleanup",h),h()):a.get("slideshow")&&n[1]&&(g=!0,t.one("cbox_cleanup",h),a.get("slideshowAuto")?d():e(),G.show())}}();if(!b.colorbox){b(fa);var m=b.fn.colorbox=b.colorbox=function(a,f){var c=this;a=a||{};b.isFunction(c)&&
|
25 |
+
(c=b("<a/>"),a.open=!0);if(!c[0])return c;fa();la()&&(f&&(a.onComplete=f),c.each(function(){var c=b.data(this,"colorbox")||{};b.data(this,"colorbox",b.extend(c,a))}).addClass("cboxElement"),f=new C(c[0],a),f.get("open")&&P(c[0]));return c};m.position=function(c,f){function d(){T[0].style.width=U[0].style.width=u[0].style.width=parseInt(k[0].style.width,10)-w+"px";u[0].style.height=V[0].style.height=W[0].style.height=parseInt(k[0].style.height,10)-v+"px"}var e=0,h=0,g=k.offset();x.unbind("resize.cbox");
|
26 |
+
k.css({top:-9E4,left:-9E4});var l=x.scrollTop();var n=x.scrollLeft();a.get("fixed")?(g.top-=l,g.left-=n,k.css({position:"fixed"})):(e=l,h=n,k.css({position:"absolute"}));h=!1!==a.get("right")?h+Math.max(x.width()-a.w-B-w-q(a.get("right"),"x"),0):!1!==a.get("left")?h+q(a.get("left"),"x"):h+Math.round(Math.max(x.width()-a.w-B-w,0)/2);e=!1!==a.get("bottom")?e+Math.max(r()-a.h-A-v-q(a.get("bottom"),"y"),0):!1!==a.get("top")?e+q(a.get("top"),"y"):e+Math.round(Math.max(r()-a.h-A-v,0)/2);k.css({top:g.top,
|
27 |
+
left:g.left,visibility:"visible"});F[0].style.width=F[0].style.height="9999px";var p={width:a.w+B+w,height:a.h+A+v,top:e,left:h};if(c){var t=0;b.each(p,function(a){p[a]!==ia[a]&&(t=c)});c=t}ia=p;c||k.css(p);k.dequeue().animate(p,{duration:c||0,complete:function(){d();K=!1;F[0].style.width=a.w+B+w+"px";F[0].style.height=a.h+A+v+"px";a.get("reposition")&&setTimeout(function(){x.bind("resize.cbox",m.position)},1);b.isFunction(f)&&f()},step:d})};m.resize=function(b){if(z){b=b||{};b.width&&(a.w=q(b.width,
|
28 |
+
"x")-B-w);b.innerWidth&&(a.w=q(b.innerWidth,"x"));l.css({width:a.w});b.height&&(a.h=q(b.height,"y")-A-v);b.innerHeight&&(a.h=q(b.innerHeight,"y"));if(!b.innerHeight&&!b.height){var c=l.scrollTop();l.css({height:"auto"});a.h=l.height()}l.css({height:a.h});c&&l.scrollTop(c);m.position("none"===a.get("transition")?0:a.get("speed"))}};m.prep=function(c){if(z){var f="none"===a.get("transition")?0:a.get("speed");l.remove();l=d("div","LoadedContent").append(c);l.hide().appendTo(N.show()).css({width:function(){a.w=
|
29 |
+
a.w||l.width();a.w=a.mw&&a.mw<a.w?a.mw:a.w;return a.w}(),overflow:a.get("scrolling")?"auto":"hidden"}).css({height:function(){a.h=a.h||l.height();a.h=a.mh&&a.mh<a.h?a.mh:a.h;return a.h}()}).prependTo(u);N.hide();b(e).css({"float":"none"});I(a.get("className"));var g=function(){function c(){!1===b.support.opacity&&k[0].style.removeAttribute("filter")}var d=n.length;if(z){var e=function(){clearTimeout(ha);R.hide();E("cbox_complete");a.get("onComplete")};Y.html(a.get("title")).show();l.show();1<d?("string"===
|
30 |
+
typeof a.get("current")&&aa.html(a.get("current").replace("{current}",p+1).replace("{total}",d)).show(),M[a.get("loop")||p<d-1?"show":"hide"]().html(a.get("next")),L[a.get("loop")||p?"show":"hide"]().html(a.get("previous")),ma(),a.get("preloading")&&b.each([O(-1),O(1)],function(){var a=n[this];var c=new C(a,b.data(a,"colorbox"));(a=c.get("href"))&&ca(c,a)&&(a=da(c,a),c=h.createElement("img"),c.src=a)})):X.hide();if(a.get("iframe")){var g=a.get("createIframe");a.get("scrolling")||(g.scrolling="no");
|
31 |
+
b(g).attr({src:a.get("href"),"class":"cboxIframe"}).one("load",e).appendTo(l);t.one("cbox_purge",function(){g.src="//about:blank"});a.get("fastIframe")&&b(g).trigger("load")}else e();"fade"===a.get("transition")?k.fadeTo(f,1,c):c()}};"fade"===a.get("transition")?k.fadeTo(f,0,function(){m.position(0,g)}):m.position(f,g)}};m.next=function(){!K&&n[1]&&(a.get("loop")||n[p+1])&&(p=O(1),P(n[p]))};m.prev=function(){!K&&n[1]&&(a.get("loop")||p)&&(p=O(-1),P(n[p]))};m.close=function(){z&&!J&&(J=!0,z=!1,E("cbox_cleanup"),
|
32 |
+
a.get("onCleanup"),x.unbind(".cbox"),y.fadeTo(a.get("fadeOut")||0,0),k.stop().fadeTo(a.get("fadeOut")||0,0,function(){k.hide();y.hide();E("cbox_purge");l.remove();setTimeout(function(){J=!1;E("cbox_closed");a.get("onClosed")},1)}))};m.remove=function(){k&&(k.stop(),b.colorbox.close(),k.stop(!1,!0).remove(),y.remove(),J=!1,k=null,b(".cboxElement").removeData("colorbox").removeClass("cboxElement"),b(h).unbind("click.cbox").unbind("keydown.cbox"))};m.element=function(){return b(a.el)};m.settings=S}})(jQuery,
|
33 |
+
document,window);
|
plugin-fw/assets/js/metabox.min.js
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
|
|
|
1 |
+
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,e,c){a instanceof String&&(a=String(a));for(var b=a.length,d=0;d<b;d++){var f=a[d];if(e.call(c,f,d,a))return{i:d,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,e,c){a!=Array.prototype&&a!=Object.prototype&&(a[e]=c.value)};
|
2 |
+
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,e,c,b){if(e){c=$jscomp.global;a=a.split(".");for(b=0;b<a.length-1;b++){var d=a[b];d in c||(c[d]={});c=c[d]}a=a[a.length-1];b=c[a];e=e(b);e!=b&&null!=e&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:e})}};
|
3 |
+
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
|
4 |
+
(function(a){function e(b,d,c,e){var f=!0;if("string"==typeof d){":radio"==d.substr(0,6)&&(d+=":checked");var g=a(d).val();"checkbox"==a(d).attr("type")&&(g=a(d).is(":checked")?"yes":"no");c=c.split(",");for(d=0;d<c.length;d++)if(g!=c[d])f=!1;else{f=!0;break}}c=a(b);b=a(b+"-container").parent();e=e.split("-");for(var h in e)if(g=e[h],f)switch(g){case "disable":b.removeClass("yith-disabled");c.attr("disabled",!1);break;case "hideme":c.show();break;default:b.show()}else switch(g){case "disable":b.addClass("yith-disabled");
|
5 |
+
c.attr("disabled",!0);break;case "hideme":c.hide();break;default:b.hide()}}a(".metaboxes-tab").each(function(){a(".tabs-panel",this).hide();var b=wpCookies.get("active_metabox_tab");b=null==b?a("ul.metaboxes-tabs li:first-child a",this).attr("href"):"#"+b;a(b).show();a(".metaboxes-tabs a",this).click(function(b){if(a(this).parent().hasClass("tabs"))b.preventDefault();else return b=a(this).attr("href"),a(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),a(this).closest(".metaboxes-tab").find(".tabs-panel").hide(),
|
6 |
+
a(b).show(),!1})});var c=a("#_active_page_options-container").parent().html();a("#_active_page_options-container").parent().remove();a(c).insertAfter("#yit-post-setting .handlediv");a(c).insertAfter("#yit-page-setting .handlediv");a("#_active_page_options-container").on("click",function(){a("#_active_page_options").is(":checked")?a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,
|
7 |
+
"pointer-events":"none"})}).click();a(".metaboxes-tab [data-dep-target]").each(function(){var b=a(this),c="#"+b.data("dep-target"),f="#"+b.data("dep-id"),h=b.data("dep-value"),k=b.data("dep-type");e(c,f,h.toString(),k);a(f).on("change",function(){e(c,f,h.toString(),k)}).change()})})(jQuery);
|
plugin-fw/assets/js/yit-cpt-unlimited.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
(function(
|
2 |
-
function(a){location.reload()});b.next("span.spinner").css("display","inline-block");
|
1 |
+
(function(d){d(".wrap h1, .wrap h2").on("click","a.multi-uploader",function(g){g.preventDefault();var b=d(this),e=!1;b.next("span.spinner").css("display","inline-block");if(!c){var c=wp.media.frames.file_frame=wp.media({title:b.data("uploader_title"),button:{text:b.data("uploader_button_text")},library:{type:"image"},multiple:!0});c.on("select",function(){var f=[];c.state().get("selection").map(function(a){a=a.toJSON();f.push({id:a.id,url:a.url,title:a.title})});d.post(ajaxurl,{images:f,post_type:typenow,
|
2 |
+
action:"yit_cptu_multiuploader"},function(a){location.reload()});b.next("span.spinner").css("display","inline-block");e=!0});c.on("close",function(){e||b.next("span.spinner").hide()})}c.open()})})(jQuery);
|
plugin-fw/assets/js/yit-wp-pointer.min.js
CHANGED
@@ -1,3 +1,6 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
1 |
+
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,c,b){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(c.call(b,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){a!=Array.prototype&&a!=Object.prototype&&(a[c]=b.value)};
|
2 |
+
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,c,b,d){if(c){b=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in b||(b[e]={});b=b[e]}a=a[a.length-1];d=b[a];c=c(d);c!=d&&null!=c&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:c})}};
|
3 |
+
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6","es3");
|
4 |
+
jQuery(document).ready(function(a){var c=custom_pointer.pointers[0],b=c.options,d=a(c.target),e=c.pointer_id;a(d).find(".wp-submenu li a").each(function(){var f=a(this),h=f.attr("href");h=h.replace("admin.php?page=","");if(h==e){var k=f.add(d),g=d.find(c.target.replace("#","."));d.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");f.pointer({pointerClass:"yit-wp-pointer",content:b.content,position:b.position,open:function(){k.toggleClass("yit-pointer-selected-row");g.addClass("yit-pointer")},
|
5 |
+
close:function(){d.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");k.toggleClass("yit-pointer-selected-row");g.removeClass("yit-pointer");a.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}else if("yith_default_pointer"==e){k=f.add(d);g=d.find(c.target.replace("#","."));var l=a(c.target);l.addClass("wp-has-current-submenu");g.pointer({pointerClass:"yit-wp-pointer",content:b.content,position:b.position,open:function(){l.addClass("yit-pointer-selected-row")},
|
6 |
+
close:function(){l.removeClass("yit-pointer-selected-row wp-has-current-submenu");a.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}})});
|
plugin-fw/assets/js/yith-enhanced-select-wc-2.6.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
jQuery(document).ready(function(
|
2 |
-
"3",escapeMarkup:function(
|
3 |
-
|
4 |
-
|
5 |
-
return c(e)},c.formatSelection=function(a){return'<div class="selected-option" data-id="'+a.id+'">'+a.text+"</div>"}):(c.multiple=!1,c.initSelection=function(a,
|
1 |
+
jQuery(document).ready(function(b){b(document.body).on("yith-framework-enhanced-select-init",function(){b(":input.yith-post-search").filter(":not(.enhanced)").each(function(){var d=b.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},b(this).data()),c={allowClear:b(this).data("allow_clear")?!0:!1,placeholder:b(this).data("placeholder"),minimumInputLength:b(this).data("minimum_input_length")?b(this).data("minimum_input_length"):
|
2 |
+
"3",escapeMarkup:function(a){return a},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(a){d.term=a;return d},results:function(a){var c=[];a&&b.each(a,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};!0===b(this).data("multiple")?(c.multiple=!0,c.initSelection=function(a,c){var f=b.parseJSON(a.attr("data-selected")),e=[];b(a.val().split(",")).each(function(a,b){e.push({id:b,text:f[b]})});return c(e)},c.formatSelection=function(a){return'<div class="selected-option" data-id="'+
|
3 |
+
a.id+'">'+a.text+"</div>"}):(c.multiple=!1,c.initSelection=function(a,b){a={id:a.val(),text:a.attr("data-selected")};return b(a)});b(this).select2(c).addClass("enhanced")});b(":input.yith-term-search").filter(":not(.enhanced)").each(function(){var d=b.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},b(this).data()),c={allowClear:b(this).data("allow_clear")?!0:!1,placeholder:b(this).data("placeholder"),minimumInputLength:b(this).data("minimum_input_length")?
|
4 |
+
b(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(a){d.term=a;return d},results:function(a){var c=[];a&&b.each(a,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};!0===b(this).data("multiple")?(c.multiple=!0,c.initSelection=function(a,c){var d=b.parseJSON(a.attr("data-selected")),e=[];b(a.val().split(",")).each(function(a,b){e.push({id:b,text:d[b]})});
|
5 |
+
return c(e)},c.formatSelection=function(a){return'<div class="selected-option" data-id="'+a.id+'">'+a.text+"</div>"}):(c.multiple=!1,c.initSelection=function(a,b){a={id:a.val(),text:a.attr("data-selected")};return b(a)});b(this).select2(c).addClass("enhanced")})}).trigger("yith-framework-enhanced-select-init")});
|
plugin-fw/assets/js/yith-enhanced-select.min.js
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
|
1 |
+
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,f,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var b=a[e];if(f.call(c,b,e,a))return{i:e,v:b}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,f,c){a!=Array.prototype&&a!=Object.prototype&&(a[f]=c.value)};
|
2 |
+
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,f,c,d){if(f){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];f=f(d);f!=d&&null!=f&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:f})}};
|
3 |
+
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
|
4 |
+
jQuery(document).ready(function(a){a(document.body).on("yith-framework-enhanced-select-init",function(){a(".yith-post-search").filter(":not(.enhanced)").each(function(){var f=a.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a(this).data()),c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):
|
5 |
+
"3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},f)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(c).addClass("enhanced");if(a(this).data("sortable")){var d=a(this),e=a(this).next(".select2-container").find("ul.select2-selection__rendered");e.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,
|
6 |
+
items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(e.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id;b=d.find('option[value="'+b+'"]')[0];d.prepend(b)})}})}});a(".yith-term-search").filter(":not(.enhanced)").each(function(){var f=a.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},a(this).data()),c={allowClear:a(this).data("allow_clear")?
|
7 |
+
!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},f)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(c).addClass("enhanced");if(a(this).data("sortable")){var d=a(this),e=a(this).next(".select2-container").find("ul.select2-selection__rendered");
|
8 |
+
e.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(e.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id;b=d.find('option[value="'+b+'"]')[0];d.prepend(b)})}})}})}).trigger("yith-framework-enhanced-select-init")});
|
plugin-fw/assets/js/yith-fields.js
CHANGED
@@ -74,12 +74,12 @@ jQuery( function ( $ ) {
|
|
74 |
var custom_uploader_states = [
|
75 |
// Main states.
|
76 |
new wp.media.controller.Library( {
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
];
|
84 |
|
85 |
// Create the media frame.
|
@@ -145,10 +145,10 @@ jQuery( function ( $ ) {
|
|
145 |
},
|
146 |
states: [
|
147 |
new wp.media.controller.Library( {
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
]
|
153 |
} );
|
154 |
|
@@ -193,7 +193,7 @@ jQuery( function ( $ ) {
|
|
193 |
|
194 |
$t.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
|
195 |
var attachment_id = $( this ).attr( 'data-attachment_id' );
|
196 |
-
attachment_ids
|
197 |
} );
|
198 |
|
199 |
$t.closest( '.image-gallery' ).find( '.image_gallery_ids' ).val( attachment_ids );
|
@@ -212,7 +212,7 @@ jQuery( function ( $ ) {
|
|
212 |
|
213 |
$gallery.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
|
214 |
var attachment_id = $( this ).attr( 'data-attachment_id' );
|
215 |
-
attachment_ids
|
216 |
} );
|
217 |
|
218 |
$image_gallery_ids.val( attachment_ids );
|
@@ -283,7 +283,7 @@ jQuery( function ( $ ) {
|
|
283 |
range: 'min',
|
284 |
step : step,
|
285 |
|
286 |
-
create: function() {
|
287 |
$( this ).find( '.ui-slider-handle' ).text( $( this ).slider( "value" ) );
|
288 |
},
|
289 |
|
@@ -347,4 +347,18 @@ jQuery( function ( $ ) {
|
|
347 |
} );
|
348 |
} );
|
349 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
350 |
} );
|
74 |
var custom_uploader_states = [
|
75 |
// Main states.
|
76 |
new wp.media.controller.Library( {
|
77 |
+
library : wp.media.query(),
|
78 |
+
multiple : false,
|
79 |
+
title : 'Choose Image',
|
80 |
+
priority : 20,
|
81 |
+
filterable: 'uploaded'
|
82 |
+
} )
|
83 |
];
|
84 |
|
85 |
// Create the media frame.
|
145 |
},
|
146 |
states: [
|
147 |
new wp.media.controller.Library( {
|
148 |
+
title : $t.data( 'choose' ),
|
149 |
+
filterable: 'all',
|
150 |
+
multiple : true
|
151 |
+
} )
|
152 |
]
|
153 |
} );
|
154 |
|
193 |
|
194 |
$t.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
|
195 |
var attachment_id = $( this ).attr( 'data-attachment_id' );
|
196 |
+
attachment_ids = attachment_ids + attachment_id + ',';
|
197 |
} );
|
198 |
|
199 |
$t.closest( '.image-gallery' ).find( '.image_gallery_ids' ).val( attachment_ids );
|
212 |
|
213 |
$gallery.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
|
214 |
var attachment_id = $( this ).attr( 'data-attachment_id' );
|
215 |
+
attachment_ids = attachment_ids + attachment_id + ',';
|
216 |
} );
|
217 |
|
218 |
$image_gallery_ids.val( attachment_ids );
|
283 |
range: 'min',
|
284 |
step : step,
|
285 |
|
286 |
+
create: function () {
|
287 |
$( this ).find( '.ui-slider-handle' ).text( $( this ).slider( "value" ) );
|
288 |
},
|
289 |
|
347 |
} );
|
348 |
} );
|
349 |
|
350 |
+
/** Select Images */
|
351 |
+
$( document ).on( 'click', '.yith-plugin-fw-select-images__item', function () {
|
352 |
+
var item = $( this ),
|
353 |
+
key = item.data( 'key' ),
|
354 |
+
wrapper = item.closest( '.yith-plugin-fw-select-images__wrapper' ),
|
355 |
+
items = wrapper.find( '.yith-plugin-fw-select-images__item' ),
|
356 |
+
select = wrapper.find( 'select' ).first();
|
357 |
+
|
358 |
+
if ( select.length ) {
|
359 |
+
select.val( key );
|
360 |
+
items.removeClass( 'yith-plugin-fw-select-images__item--selected' );
|
361 |
+
item.addClass( 'yith-plugin-fw-select-images__item--selected' );
|
362 |
+
}
|
363 |
+
} );
|
364 |
} );
|
plugin-fw/assets/js/yith-fields.min.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
-
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,g,
|
2 |
-
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,g,e
|
3 |
-
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,
|
4 |
-
jQuery(function(a){var g=a(".yith-plugin-fw-datepicker"),
|
5 |
-
a(this);b.val(b.data("default-color"));b.change()}});
|
6 |
c.html('<img src="'+b+'" style="max-width:100px; max-height:100px;" />'):c.html("")}).trigger("change"),a(document).on("click",".yith-plugin-fw-upload-button",function(b){b.preventDefault();var c=a(this).attr("id").replace(/-button$/,"");if(!f){b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];var f=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,
|
7 |
-
states:b});f.on("select",function(){var b=f.state().get("selection").first().toJSON();a("#"+c).val(b.url);a("#"+c+"-yith-attachment-id")&&a("#"+c+"-yith-attachment-id").val(b.id);
|
8 |
-
(a(document).on("click",".yith-plugin-fw .image-gallery-button",function(b){var c=a(this);b=c.closest(".image-gallery");var f=b.find(".image_gallery_ids"),k=f.val(),
|
9 |
-
a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+c.data("delete")+'">x</a></li></ul></li>'))});f.val(k)});
|
10 |
"default").each(function(){var b=a(this).attr("data-attachment_id");k=k+b+","});b.closest(".image-gallery").find(".image_gallery_ids").val(k)}})}),l.on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),c=a(this).closest(".image-gallery ul.slides-wrapper");b=b.find(".image_gallery_ids");var f="";a(this).closest("li.image").remove();c.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");f=f+b+","});b.val(f)}));m.on("click",function(){var b=
|
11 |
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()});n.each(function(){a(this).find("img").on("click",function(){var b=a(this).closest(".yith-plugin-fw-sidebar-layout"),c=b.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container");b=b.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container");var f=a(this).data("type");a(this).parent().children(":radio").attr("checked",
|
12 |
-
!1);a(this).prev(":radio").attr("checked",!0);if("undefined"!=typeof f)switch(f){case "left":c.show();b.hide();break;case "right":b.show();c.hide();break;case "double":c.show();b.show();break;default:c.hide(),b.hide()}})});p.each(function(){var b=a(this).data("val"),c=a(this).data("min"),f=a(this).data("max"),
|
13 |
c){a(this).find("input").val(c.value);a(this).find(".ui-slider-handle").text(c.value);a(this).siblings(".feedback").find("strong").text(c.value+d)}})});q.each(function(b,c){b=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",b)});a(document).on("click",".yith-plugin-fw-select-all",function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!0).trigger("change")});a(document).on("click",".yith-plugin-fw-deselect-all",
|
14 |
-
function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!1).trigger("change")});r.each(function(){var b=a(this),c=b.find(".yit-icons-manager-icon-preview").first(),
|
15 |
-
d.addClass("active")});b.on("click",".yit-icons-manager-action-set-default",function(){b.find(".yit-icons-manager-list li.default").trigger("click")})})});
|
1 |
+
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,g,d){a instanceof String&&(a=String(a));for(var e=a.length,h=0;h<e;h++){var l=a[h];if(g.call(d,l,h,a))return{i:h,v:l}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,g,d){a!=Array.prototype&&a!=Object.prototype&&(a[g]=d.value)};
|
2 |
+
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,g,d,e){if(g){d=$jscomp.global;a=a.split(".");for(e=0;e<a.length-1;e++){var h=a[e];h in d||(d[h]={});d=d[h]}a=a[a.length-1];e=d[a];g=g(e);g!=e&&null!=g&&$jscomp.defineProperty(d,a,{configurable:!0,writable:!0,value:g})}};
|
3 |
+
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,d){return $jscomp.findInternal(this,a,d).v}},"es6","es3");
|
4 |
+
jQuery(function(a){var g=a(".yith-plugin-fw-datepicker"),d=a(".yith-plugin-fw-colorpicker"),e=a(".yith-plugin-fw-upload-img-url"),h=a(".add_media"),l=a(".yith-plugin-fw .image-gallery ul.slides-wrapper"),m=a(".yith-plugin-fw-onoff-container span"),n=a(".yith-plugin-fw-sidebar-layout"),p=a(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),q=a(".codemirror"),r=a(".yit-icons-manager-wrapper");g.each(function(){var b=a(this).data();a(this).datepicker(b)});d.wpColorPicker({clear:function(){var b=
|
5 |
+
a(this);b.val(b.data("default-color"));b.change()}});d.each(function(){var b=a(this).data("variations-label");a(this).parent().parent().find("a.wp-color-result").attr("title",b)});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(e.change(function(){var b=a(this).val(),c=a(this).parent().find(".yith-plugin-fw-upload-img-preview").first();1>c.length&&(c=a(this).parent().parent().find(".yith-plugin-fw-upload-img-preview").first());/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?
|
6 |
c.html('<img src="'+b+'" style="max-width:100px; max-height:100px;" />'):c.html("")}).trigger("change"),a(document).on("click",".yith-plugin-fw-upload-button",function(b){b.preventDefault();var c=a(this).attr("id").replace(/-button$/,"");if(!f){b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];var f=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,
|
7 |
+
states:b});f.on("select",function(){var b=f.state().get("selection").first().toJSON();a("#"+c).val(b.url);a("#"+c+"-yith-attachment-id")&&a("#"+c+"-yith-attachment-id").val(b.id);e.trigger("change")})}f.open()}),a(document).on("click",".yith-plugin-fw-upload-button-reset",function(b){var c=a(this);b=c.attr("id");c=c.attr("id").replace(/-button-reset$/,"");b=a("#"+b).data("default");a("#"+c).val(b);e.trigger("change")}));h.on("click",function(){});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&
|
8 |
+
(a(document).on("click",".yith-plugin-fw .image-gallery-button",function(b){var c=a(this);b=c.closest(".image-gallery");var f=b.find(".image_gallery_ids"),k=f.val(),d=b.find("ul.slides-wrapper"),e=wp.media.frames.image_gallery=wp.media({title:c.data("choose"),button:{text:c.data("update")},states:[new wp.media.controller.Library({title:c.data("choose"),filterable:"all",multiple:!0})]});e.on("select",function(){e.state().get("selection").map(function(a){a=a.toJSON();a.id&&(k=k?k+","+a.id:a.id,d.append('<li class="image" data-attachment_id="'+
|
9 |
+
a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+c.data("delete")+'">x</a></li></ul></li>'))});f.val(k)});e.open()}),l.each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(c,f){var k="";b.find("li.image").css("cursor",
|
10 |
"default").each(function(){var b=a(this).attr("data-attachment_id");k=k+b+","});b.closest(".image-gallery").find(".image_gallery_ids").val(k)}})}),l.on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),c=a(this).closest(".image-gallery ul.slides-wrapper");b=b.find(".image_gallery_ids");var f="";a(this).closest("li.image").remove();c.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");f=f+b+","});b.val(f)}));m.on("click",function(){var b=
|
11 |
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()});n.each(function(){a(this).find("img").on("click",function(){var b=a(this).closest(".yith-plugin-fw-sidebar-layout"),c=b.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container");b=b.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container");var f=a(this).data("type");a(this).parent().children(":radio").attr("checked",
|
12 |
+
!1);a(this).prev(":radio").attr("checked",!0);if("undefined"!=typeof f)switch(f){case "left":c.show();b.hide();break;case "right":b.show();c.hide();break;case "double":c.show();b.show();break;default:c.hide(),b.hide()}})});p.each(function(){var b=a(this).data("val"),c=a(this).data("min"),f=a(this).data("max"),k=a(this).data("step"),d=a(this).data("labels");a(this).slider({value:b,min:c,max:f,range:"min",step:k,create:function(){a(this).find(".ui-slider-handle").text(a(this).slider("value"))},slide:function(b,
|
13 |
c){a(this).find("input").val(c.value);a(this).find(".ui-slider-handle").text(c.value);a(this).siblings(".feedback").find("strong").text(c.value+d)}})});q.each(function(b,c){b=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",b)});a(document).on("click",".yith-plugin-fw-select-all",function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!0).trigger("change")});a(document).on("click",".yith-plugin-fw-deselect-all",
|
14 |
+
function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!1).trigger("change")});r.each(function(){var b=a(this),c=b.find(".yit-icons-manager-icon-preview").first(),f=b.find(".yit-icons-manager-icon-text");b.on("click",".yit-icons-manager-list li",function(d){d=a(d.target).closest("li");var e=d.data("font"),g=d.data("icon"),k=d.data("key"),h=d.data("name");c.attr("data-font",e);c.attr("data-icon",g);c.attr("data-key",k);c.attr("data-name",h);f.val(e+":"+h);b.find(".yit-icons-manager-list li").removeClass("active");
|
15 |
+
d.addClass("active")});b.on("click",".yit-icons-manager-action-set-default",function(){b.find(".yit-icons-manager-list li.default").trigger("click")})});a(document).on("click",".yith-plugin-fw-select-images__item",function(){var b=a(this),c=b.data("key"),d=b.closest(".yith-plugin-fw-select-images__wrapper"),e=d.find(".yith-plugin-fw-select-images__item");d=d.find("select").first();d.length&&(d.val(c),e.removeClass("yith-plugin-fw-select-images__item--selected"),b.addClass("yith-plugin-fw-select-images__item--selected"))})});
|
plugin-fw/init.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
-
* Version: 3.0.
|
5 |
-
* Author:
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author Your Inspiration Themes
|
10 |
-
* @version 3.0.
|
11 |
*/
|
12 |
/**
|
13 |
* This file belongs to the YIT Plugin Framework.
|
1 |
<?php
|
2 |
/**
|
3 |
* Framework Name: YIT Plugin Framework
|
4 |
+
* Version: 3.0.21
|
5 |
+
* Author: YITHEMES
|
6 |
* Text Domain: yith-plugin-fw
|
7 |
* Domain Path: /languages/
|
8 |
*
|
9 |
* @author Your Inspiration Themes
|
10 |
+
* @version 3.0.20
|
11 |
*/
|
12 |
/**
|
13 |
* This file belongs to the YIT Plugin Framework.
|
plugin-fw/languages/yith-plugin-fw-es_ES.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-es_ES.po
CHANGED
@@ -4,15 +4,15 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
-
"PO-Revision-Date:
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
11 |
"Language: es_ES\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
17 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
18 |
"esc_html_x:1,2c\n"
|
@@ -22,6 +22,42 @@ msgstr ""
|
|
22 |
"X-Textdomain-Support: yes\n"
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
|
26 |
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
|
27 |
#, php-format
|
@@ -81,7 +117,7 @@ msgctxt "taxonomy singular name"
|
|
81 |
msgid "Category"
|
82 |
msgstr "Categoría"
|
83 |
|
84 |
-
#: lib/yit-cpt-unlimited.php:627
|
85 |
msgid "Search Categories"
|
86 |
msgstr "Buscar Categorías"
|
87 |
|
@@ -127,7 +163,7 @@ msgid "%s Settings"
|
|
127 |
msgstr "%s Ajustes"
|
128 |
|
129 |
#: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
|
130 |
-
#: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:
|
131 |
msgid "Settings"
|
132 |
msgstr "Ajustes"
|
133 |
|
@@ -214,8 +250,8 @@ msgstr "Enlaces rápidos"
|
|
214 |
msgid "Show frontend of the %s"
|
215 |
msgstr "Mostrar parte delantera de %s"
|
216 |
|
217 |
-
#: lib/yit-cpt-unlimited.php:1482 templates/
|
218 |
-
#: templates/
|
219 |
msgid "Name"
|
220 |
msgstr "Nombre"
|
221 |
|
@@ -228,106 +264,97 @@ msgstr "Añadir %s desde imágenes"
|
|
228 |
msgid "Upload multiple files"
|
229 |
msgstr "Cargar archivos múltiples"
|
230 |
|
231 |
-
#: lib/yit-plugin-panel-
|
232 |
-
msgid "Hide sidebar"
|
233 |
-
msgstr "Ocultar barra lateral"
|
234 |
-
|
235 |
-
#: lib/yit-plugin-panel-sidebar.php:422 templates/panel/sidebar/sidebar.php:3
|
236 |
-
msgid "Show sidebar"
|
237 |
-
msgstr "Mostrar barra lateral"
|
238 |
-
|
239 |
-
#: lib/yit-plugin-panel-wc.php:374
|
240 |
msgid "The changes you have made will be lost if you leave this page."
|
241 |
msgstr "Los cambios que has hecho se perderán si sales de esta página."
|
242 |
|
243 |
-
#: lib/yit-plugin-panel.php:
|
244 |
msgid "Plugin Settings"
|
245 |
msgstr "Ajustes del plugin"
|
246 |
|
247 |
-
#: lib/yit-plugin-panel.php:
|
248 |
msgid "How to install premium version"
|
249 |
msgstr "Cómo instalar la versión premium"
|
250 |
|
251 |
-
#: lib/yit-plugin-panel.php:
|
252 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
253 |
msgid "Save Changes"
|
254 |
msgstr "Guardar cambios"
|
255 |
|
256 |
-
#: lib/yit-plugin-panel.php:
|
257 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
258 |
msgid ""
|
259 |
"If you continue with this action, you will reset all options in this page."
|
260 |
msgstr ""
|
261 |
"Si sigues con esta acción, se reiniciarán todas las opciones en esta página."
|
262 |
|
263 |
-
#: lib/yit-plugin-panel.php:
|
264 |
msgid "Reset to default"
|
265 |
msgstr "Reiniciar a predeterminado"
|
266 |
|
267 |
-
#: lib/yit-plugin-panel.php:
|
268 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
269 |
msgid "Are you sure?"
|
270 |
msgstr "¿Estás seguro/a?"
|
271 |
|
272 |
-
#: lib/yit-plugin-panel.php:
|
273 |
msgid ""
|
274 |
"The element you have entered already exists. Please, enter another name."
|
275 |
msgstr ""
|
276 |
"El elemento que has introducido ya existe. Por favor, introduce otro nombre."
|
277 |
|
278 |
-
#: lib/yit-plugin-panel.php:
|
279 |
msgid "Settings saved"
|
280 |
msgstr "Ajustes guardados"
|
281 |
|
282 |
-
#: lib/yit-plugin-panel.php:
|
283 |
msgid "Settings reset"
|
284 |
msgstr "Ajustes reiniciados"
|
285 |
|
286 |
-
#: lib/yit-plugin-panel.php:
|
287 |
msgid "Element deleted correctly."
|
288 |
msgstr "Elemento borrado correctamente."
|
289 |
|
290 |
-
#: lib/yit-plugin-panel.php:
|
291 |
msgid "Element updated correctly."
|
292 |
msgstr "Elemento actualizado correctamente."
|
293 |
|
294 |
-
#: lib/yit-plugin-panel.php:
|
295 |
msgid "Database imported correctly."
|
296 |
msgstr "Base de datos importada correctamente."
|
297 |
|
298 |
-
#: lib/yit-plugin-panel.php:
|
299 |
msgid "An error has occurred during import. Please try again."
|
300 |
msgstr ""
|
301 |
"Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
|
302 |
|
303 |
-
#: lib/yit-plugin-panel.php:
|
304 |
msgid "The added file is not valid."
|
305 |
msgstr "El archivo añadido no es válido."
|
306 |
|
307 |
-
#: lib/yit-plugin-panel.php:
|
308 |
msgid "Sorry, import is disabled."
|
309 |
msgstr "Lo sentimos, la importación está deshabilitada."
|
310 |
|
311 |
-
#: lib/yit-plugin-panel.php:
|
312 |
msgid "Sorting successful."
|
313 |
msgstr "Clasificación fue realizada con éxito."
|
314 |
|
315 |
-
#: lib/yit-plugin-subpanel.php:149
|
316 |
-
msgid ""
|
317 |
-
"If you continue with this action, you will reset all the options in this "
|
318 |
-
"page."
|
319 |
-
msgstr ""
|
320 |
-
"Si continúas con esta acción, reiniciarás todas las opciones de esta página."
|
321 |
-
|
322 |
#: lib/yit-pointers.php:70
|
323 |
msgid "Plugins Activated"
|
324 |
msgstr "Plugins Activados"
|
325 |
|
326 |
#: lib/yit-pointers.php:71
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
msgid ""
|
328 |
-
"From now on, you can find all plugin options in
|
329 |
-
"
|
330 |
-
"
|
331 |
msgstr ""
|
332 |
"De ahora en adelante, puedes encontrar todas las opciones del plugin en el "
|
333 |
"menú YIT Plugin.\n"
|
@@ -348,15 +375,27 @@ msgid "Plugins Upgraded"
|
|
348 |
msgstr "Plugins Actualizados"
|
349 |
|
350 |
#: lib/yit-pointers.php:85
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
351 |
msgid ""
|
352 |
-
"From now on, you can find
|
353 |
-
"
|
|
|
354 |
"a new entry will be added to this menu.\n"
|
355 |
" For example, after the update, plugin "
|
356 |
"options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
|
357 |
"Search, etc.)\n"
|
358 |
" will be moved from previous location to "
|
359 |
-
"
|
360 |
msgstr ""
|
361 |
"De ahora en adelante, puedes encontrar todas las opciones de tus plugins en "
|
362 |
"el menú YIT Plugin.\n"
|
@@ -368,69 +407,96 @@ msgstr ""
|
|
368 |
" se moverán de su posición anterior a la "
|
369 |
"pestaña YIT Plugin."
|
370 |
|
371 |
-
#: lib/yit-upgrade.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
372 |
msgid "There is a new version of %plugin_name% available."
|
373 |
msgstr "Hay una nueva versión de %plugin_name% disponible."
|
374 |
|
375 |
-
#: lib/yit-upgrade.php:
|
376 |
msgid "View version %latest% details."
|
377 |
msgstr "Ver detalles de la %latest% versión"
|
378 |
|
379 |
-
#: lib/yit-upgrade.php:
|
380 |
msgid "Automatic update is unavailable for this plugin,"
|
381 |
msgstr "Las actualizaciones automáticas no están disponibles para este plugin,"
|
382 |
|
383 |
-
#: lib/yit-upgrade.php:
|
384 |
msgid ""
|
385 |
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
386 |
msgstr ""
|
387 |
"por favor, <a href=\"%activate_link%\">activa</a> tu copia de %plugin_name%."
|
388 |
|
389 |
-
#: lib/yit-upgrade.php:
|
390 |
msgid "Update now."
|
391 |
msgstr "Actualiza ahora."
|
392 |
|
393 |
-
#: lib/yit-upgrade.php:
|
394 |
-
|
|
|
|
|
395 |
msgstr "Repositorio YIThemes"
|
396 |
|
397 |
-
#: lib/yit-upgrade.php:
|
398 |
msgid "Invalid URL Provided."
|
399 |
msgstr "La URL proporcionada no es válida."
|
400 |
|
401 |
-
#: lib/yit-upgrade.php:
|
402 |
msgid "Could not create Temporary file."
|
403 |
msgstr "No se pudo crear un archivo temporal."
|
404 |
|
405 |
-
#: lib/yit-upgrade.php:
|
406 |
-
#, php-format
|
|
|
|
|
|
|
|
|
407 |
msgid ""
|
408 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
409 |
-
"yit-changelog-button\" title=\"%3$s\">View version
|
|
|
410 |
msgstr ""
|
411 |
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
|
412 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>."
|
413 |
|
414 |
-
#: lib/yit-upgrade.php:
|
415 |
-
#, php-format
|
|
|
|
|
|
|
|
|
|
|
416 |
msgid ""
|
417 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
418 |
-
"yit-changelog-button\" title=\"%3$s\">View version
|
419 |
-
"have to activate the plugin on a single site of
|
420 |
-
"automatic updates.</em>"
|
421 |
msgstr ""
|
422 |
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
|
423 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. "
|
424 |
"<em>Tienes que activar el plugin en un único sitio web desdela red para "
|
425 |
"beneficiarte de las actualizaciones automáticas.</em>"
|
426 |
|
427 |
-
#: lib/yit-upgrade.php:
|
428 |
-
#, php-format
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
msgid ""
|
430 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
431 |
-
"yit-changelog-button\" title=\"%3$s\">View version
|
432 |
-
"<em>Automatic update is unavailable for this plugin,
|
433 |
-
"title=\"License activation\">activate</a> your copy
|
|
|
434 |
msgstr ""
|
435 |
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
|
436 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. "
|
@@ -438,117 +504,119 @@ msgstr ""
|
|
438 |
"por favor <a href=\"%5$s\" title=\"License activation\">activa</a> tu copia "
|
439 |
"de %6s.</em>"
|
440 |
|
441 |
-
#: lib/yit-upgrade.php:
|
442 |
-
#, php-format
|
|
|
|
|
|
|
|
|
443 |
msgid ""
|
444 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
445 |
-
"yit-changelog-button\" title=\"%3$s\">View version
|
446 |
-
"href=\"%5$s\">update now</a>."
|
447 |
msgstr ""
|
448 |
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
|
449 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a> o "
|
450 |
"<a href=\"%5$s\">actualizar ahora</a>."
|
451 |
|
452 |
-
#: lib/yit-upgrade.php:
|
453 |
msgid "You can't update the plugins for this site."
|
454 |
msgstr "No puedes actualizar los plugins para este sitio web."
|
455 |
|
456 |
-
#: lib/yit-upgrade.php:
|
457 |
msgid ""
|
458 |
"You do not have sufficient permissions to update the plugins for this site."
|
459 |
msgstr ""
|
460 |
"No tienes suficientes permisos para actualizar los plugins para este sitio "
|
461 |
"web."
|
462 |
|
463 |
-
#: lib/yit-upgrade.php:
|
464 |
msgid "Update Plugin"
|
465 |
msgstr "Actualizar Plugin"
|
466 |
|
467 |
-
#: licence/lib/yit-licence.php:
|
468 |
#, php-format
|
469 |
msgctxt "%s = field name"
|
470 |
msgid "%s field cannot be empty"
|
471 |
msgstr "%s el campo no puede estar vacío"
|
472 |
|
473 |
-
#: licence/lib/yit-licence.php:
|
474 |
#, php-format
|
475 |
msgid "%s and %s fields cannot be empty"
|
476 |
msgstr "Los campos %s y %s no pueden estar vacíos"
|
477 |
|
478 |
-
#: licence/lib/yit-licence.php:
|
479 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
480 |
msgstr ""
|
481 |
"No fue posible contactar con el servidor remoto, por favor, inténtalo de "
|
482 |
"nuevo más tarde. ¡Gracias!"
|
483 |
|
484 |
-
#: licence/lib/yit-licence.php:
|
485 |
#: licence/templates/panel/activation/activation-panel.php:88
|
486 |
#: licence/templates/panel/activation/activation-panel.php:166
|
487 |
#: licence/templates/panel/activation/activation-panel.php:197
|
488 |
-
#: templates/metaboxes/types/contactform.php:148
|
489 |
-
#: templates/metaboxes/types/contactform.php:340
|
490 |
msgid "Email"
|
491 |
msgstr "Email"
|
492 |
|
493 |
-
#: licence/lib/yit-licence.php:
|
494 |
#: licence/templates/panel/activation/activation-panel.php:89
|
495 |
#: licence/templates/panel/activation/activation-panel.php:167
|
496 |
#: licence/templates/panel/activation/activation-panel.php:198
|
497 |
msgid "License Key"
|
498 |
msgstr "Clave de Licencia"
|
499 |
|
500 |
-
#: licence/lib/yit-licence.php:
|
501 |
msgid "Are you sure you want to deactivate the license for current site?"
|
502 |
msgstr ""
|
503 |
"¿Estás seguro/a de que quieres desactivar la licencia para el sitio web "
|
504 |
"actual?"
|
505 |
|
506 |
-
#: licence/lib/yit-licence.php:
|
507 |
msgid "Invalid Request"
|
508 |
msgstr "Solicitud inválida"
|
509 |
|
510 |
-
#: licence/lib/yit-licence.php:
|
511 |
msgid "Invalid license key"
|
512 |
msgstr "Clave de solicitud inválida"
|
513 |
|
514 |
-
#: licence/lib/yit-licence.php:
|
515 |
msgid "Software has been deactivated"
|
516 |
msgstr "El software ha sido desactivado"
|
517 |
|
518 |
-
#: licence/lib/yit-licence.php:
|
519 |
msgid "Maximum number of activations exceeded"
|
520 |
msgstr "Se ha excedido el número máximo de solicitudes"
|
521 |
|
522 |
-
#: licence/lib/yit-licence.php:
|
523 |
msgid "Invalid instance ID"
|
524 |
msgstr "Instancia ID inválida"
|
525 |
|
526 |
-
#: licence/lib/yit-licence.php:
|
527 |
msgid "Invalid security key"
|
528 |
msgstr "Clave de seguridad inválida"
|
529 |
|
530 |
-
#: licence/lib/yit-licence.php:
|
531 |
msgid "License key has expired"
|
532 |
msgstr "La clave de licencia ha caducado"
|
533 |
|
534 |
-
#: licence/lib/yit-licence.php:
|
535 |
msgid "License key has been banned"
|
536 |
msgstr "La clave de licencia ha sido bloqueada"
|
537 |
|
538 |
-
#: licence/lib/yit-licence.php:
|
539 |
msgid "Current product is not included in your YITH Club Subscription key"
|
540 |
msgstr ""
|
541 |
"Producto actual no está incluido en la clave de suscripción de Club de YITH"
|
542 |
|
543 |
-
#: licence/lib/yit-licence.php:
|
544 |
msgid "Great"
|
545 |
msgstr "Excelente"
|
546 |
|
547 |
-
#: licence/lib/yit-licence.php:
|
548 |
msgid "License successfully activated"
|
549 |
msgstr "Licencia activada con éxito"
|
550 |
|
551 |
-
#: licence/lib/yit-licence.php:
|
552 |
msgid "License key deactivated for website"
|
553 |
msgstr "Clave de licencia desactivada para nuestro sitio web"
|
554 |
|
@@ -572,6 +640,18 @@ msgstr ""
|
|
572 |
"tiempo. ¿Dónde la puedo encontrar?"
|
573 |
|
574 |
#: licence/lib/yit-theme-licence.php:163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
575 |
msgid ""
|
576 |
"If you have purchased one of our products before 27 January 2015, you can "
|
577 |
"benefit from support and updates (the services offered with the license)\n"
|
@@ -581,7 +661,7 @@ msgid ""
|
|
581 |
" After 27 January 2016, instead, if you want to benefit "
|
582 |
"from support and updates you have to buy a new license and activate it "
|
583 |
"through the license key you will be\n"
|
584 |
-
" provided with and that you can find in your
|
585 |
"account, in section \"My licenses\"."
|
586 |
msgstr ""
|
587 |
"Si has comprado uno de nuestros productos antes del 27 de enero de 2015, "
|
@@ -597,8 +677,10 @@ msgstr ""
|
|
597 |
"YIThemes, en la sección \"My licenses\"."
|
598 |
|
599 |
#: licence/templates/panel/activation/activation-panel.php:23
|
600 |
-
|
601 |
-
|
|
|
|
|
602 |
|
603 |
#: licence/templates/panel/activation/activation-panel.php:27
|
604 |
msgid ""
|
@@ -677,399 +759,362 @@ msgstr "Comprar de nuevo"
|
|
677 |
msgid "Renew license"
|
678 |
msgstr "Renovar licencia"
|
679 |
|
680 |
-
#: templates/
|
681 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
682 |
msgstr "Buscar un producto"
|
683 |
|
684 |
-
#: templates/
|
685 |
-
msgid "
|
686 |
-
msgstr "
|
687 |
|
688 |
-
#: templates/
|
689 |
-
msgid "
|
690 |
-
msgstr "
|
691 |
|
692 |
-
#: templates/
|
693 |
-
msgid "
|
694 |
-
msgstr "
|
695 |
|
696 |
-
#: templates/
|
697 |
-
msgid "
|
698 |
-
msgstr "
|
699 |
|
700 |
-
#: templates/
|
701 |
-
msgid "
|
702 |
-
msgstr "
|
703 |
|
704 |
-
#: templates/
|
705 |
-
msgid "
|
706 |
-
msgstr "
|
707 |
|
708 |
-
#: templates/
|
709 |
-
msgid "
|
710 |
-
msgstr "
|
711 |
|
712 |
-
#: templates/
|
713 |
-
|
714 |
-
|
|
|
|
|
715 |
|
716 |
-
#: templates/
|
717 |
-
msgid "
|
718 |
-
msgstr "
|
719 |
|
720 |
-
#: templates/
|
721 |
-
msgid "
|
722 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
723 |
|
724 |
-
#: templates/
|
725 |
-
msgid "
|
726 |
-
msgstr "
|
727 |
|
728 |
-
#: templates/
|
729 |
-
|
730 |
-
|
|
|
|
|
731 |
|
732 |
-
#: templates/
|
733 |
-
|
734 |
-
|
735 |
-
msgstr "Ninguno"
|
736 |
|
737 |
-
#: templates/
|
738 |
-
msgid "
|
739 |
-
msgstr "
|
740 |
|
741 |
-
#: templates/
|
742 |
-
|
743 |
-
|
744 |
-
#: templates/metaboxes/types/customtabs.php:82
|
745 |
-
msgid "Remove"
|
746 |
-
msgstr "Borrar"
|
747 |
|
748 |
-
#: templates/
|
749 |
-
|
750 |
-
|
751 |
-
msgstr "Haz click para alternar"
|
752 |
|
753 |
-
#: templates/
|
754 |
-
|
755 |
-
|
756 |
-
msgstr "Campo de título"
|
757 |
|
758 |
-
#: templates/
|
759 |
-
|
760 |
-
|
761 |
-
msgstr "Inserta el título del campo."
|
762 |
|
763 |
-
#: templates/
|
764 |
-
|
765 |
-
|
766 |
-
msgstr "Nombre del dato."
|
767 |
|
768 |
-
#: templates/metaboxes/types/
|
769 |
-
#: templates/metaboxes/types/contactform.php:282
|
770 |
-
msgid ""
|
771 |
-
"REQUIRED: Field identification name to be entered into email body. "
|
772 |
-
"<strong>Note:</strong>Use only lowercase characters and underscores."
|
773 |
-
msgstr ""
|
774 |
-
"OBLIGATORIO: El nombre del campo de identificación debe introducirse en el "
|
775 |
-
"cuerpo del email. <strong> Nota: </strong> Usa sólo minúsculas y guiones "
|
776 |
-
"bajos."
|
777 |
-
|
778 |
-
#: templates/metaboxes/types/contactform.php:95
|
779 |
-
#: templates/metaboxes/types/contactform.php:287
|
780 |
-
msgid "Field Type"
|
781 |
-
msgstr "Tipo de campo"
|
782 |
-
|
783 |
-
#: templates/metaboxes/types/contactform.php:103
|
784 |
-
#: templates/metaboxes/types/contactform.php:295
|
785 |
-
msgid "Select the type for this field."
|
786 |
-
msgstr "Selecciona el tipo para este campo."
|
787 |
-
|
788 |
-
#: templates/metaboxes/types/contactform.php:108
|
789 |
-
#: templates/metaboxes/types/contactform.php:300
|
790 |
-
msgid "Checked"
|
791 |
-
msgstr "Campo seleccionado"
|
792 |
-
|
793 |
-
#: templates/metaboxes/types/contactform.php:112
|
794 |
-
#: templates/metaboxes/types/contactform.php:304
|
795 |
-
msgid "Select this option if you want this field appears as already checked."
|
796 |
-
msgstr ""
|
797 |
-
"Selecciona esta opción si quieres que este campo aparezca como ya marcado."
|
798 |
-
|
799 |
-
#: templates/metaboxes/types/contactform.php:117
|
800 |
-
#: templates/metaboxes/types/contactform.php:309
|
801 |
-
msgid "Add options "
|
802 |
-
msgstr "Añadir opciones"
|
803 |
-
|
804 |
-
#: templates/metaboxes/types/contactform.php:118
|
805 |
-
#: templates/metaboxes/types/contactform.php:310
|
806 |
-
msgid "Add option"
|
807 |
-
msgstr "Añadir opción"
|
808 |
-
|
809 |
-
#: templates/metaboxes/types/contactform.php:121
|
810 |
-
#: templates/metaboxes/types/contactform.php:313
|
811 |
-
#: templates/metaboxes/types/contactform.php:436
|
812 |
-
msgid "Selected"
|
813 |
-
msgstr "Selecionado"
|
814 |
-
|
815 |
-
#: templates/metaboxes/types/contactform.php:124
|
816 |
-
#: templates/metaboxes/types/contactform.php:316
|
817 |
-
#: templates/metaboxes/types/contactform.php:436
|
818 |
-
msgid "Delete option"
|
819 |
-
msgstr "Borrar opción"
|
820 |
-
|
821 |
-
#: templates/metaboxes/types/contactform.php:130
|
822 |
-
#: templates/metaboxes/types/contactform.php:322
|
823 |
-
msgid "Error Message"
|
824 |
-
msgstr "Mensaje de error"
|
825 |
-
|
826 |
-
#: templates/metaboxes/types/contactform.php:134
|
827 |
-
#: templates/metaboxes/types/contactform.php:326
|
828 |
-
msgid "Insert the error message for validation."
|
829 |
-
msgstr "Inserta el mensaje de error para la validación."
|
830 |
-
|
831 |
-
#: templates/metaboxes/types/contactform.php:139
|
832 |
-
#: templates/metaboxes/types/contactform.php:331
|
833 |
-
msgid "Required"
|
834 |
-
msgstr "Campo obligatorio"
|
835 |
-
|
836 |
-
#: templates/metaboxes/types/contactform.php:143
|
837 |
-
#: templates/metaboxes/types/contactform.php:335
|
838 |
-
msgid "Select this option if it must be required."
|
839 |
-
msgstr "Selecciona esta opción si este campo debe ser obligatorio."
|
840 |
-
|
841 |
-
#: templates/metaboxes/types/contactform.php:152
|
842 |
-
#: templates/metaboxes/types/contactform.php:344
|
843 |
-
msgid "Select this option if the email must be valid."
|
844 |
-
msgstr "Selecciona esta opción si el email debe ser válido."
|
845 |
-
|
846 |
-
#: templates/metaboxes/types/contactform.php:157
|
847 |
-
#: templates/metaboxes/types/contactform.php:349
|
848 |
-
msgid "Reply To"
|
849 |
-
msgstr "Responder a"
|
850 |
-
|
851 |
-
#: templates/metaboxes/types/contactform.php:161
|
852 |
-
#: templates/metaboxes/types/contactform.php:353
|
853 |
-
msgid "Select this if it is the email you can reply to."
|
854 |
-
msgstr "Selecciona si este es el email al que puedes responder."
|
855 |
-
|
856 |
-
#: templates/metaboxes/types/contactform.php:166
|
857 |
-
#: templates/metaboxes/types/contactform.php:358
|
858 |
-
msgid "Class"
|
859 |
-
msgstr "Clase"
|
860 |
-
|
861 |
-
#: templates/metaboxes/types/contactform.php:170
|
862 |
-
#: templates/metaboxes/types/contactform.php:362
|
863 |
-
msgid ""
|
864 |
-
"Insert additional class(es) (separated by commas) for more personalization."
|
865 |
-
msgstr ""
|
866 |
-
"Inserta clase(s) adicionales (separados por comas) para más personalización."
|
867 |
-
|
868 |
-
#: templates/metaboxes/types/contactform.php:175
|
869 |
-
#: templates/metaboxes/types/contactform.php:367
|
870 |
-
msgid "Icon"
|
871 |
-
msgstr "Icono"
|
872 |
-
|
873 |
-
#: templates/metaboxes/types/contactform.php:203
|
874 |
-
#: templates/metaboxes/types/contactform.php:391
|
875 |
-
#: templates/metaboxes/types/icon-list.php:69
|
876 |
-
#: templates/metaboxes/types/select-icon.php:33
|
877 |
-
#: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
|
878 |
#: templates/panel/woocommerce/woocommerce-upload.php:40
|
879 |
msgid "Upload"
|
880 |
msgstr "Actualiza"
|
881 |
|
882 |
-
#: templates/
|
883 |
-
|
884 |
-
|
885 |
-
|
|
|
886 |
msgid "Image preview"
|
887 |
msgstr "Previsualización de imagen"
|
888 |
|
889 |
-
#: templates/metaboxes/types/
|
890 |
-
|
891 |
-
msgid "
|
892 |
-
msgstr "
|
893 |
|
894 |
-
#: templates/metaboxes/types/
|
895 |
-
|
896 |
-
msgid "
|
897 |
-
msgstr "
|
898 |
|
899 |
-
#: templates/
|
900 |
-
|
901 |
-
|
902 |
-
msgstr "Establecer el ancho de campo"
|
903 |
|
904 |
-
#:
|
905 |
-
|
906 |
-
|
|
|
907 |
|
908 |
-
#:
|
909 |
-
|
910 |
-
|
|
|
911 |
|
912 |
-
#:
|
913 |
-
|
914 |
-
msgid "
|
915 |
-
msgstr "
|
916 |
|
917 |
-
#:
|
918 |
-
|
919 |
-
msgid "
|
920 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
921 |
|
922 |
-
#:
|
923 |
-
|
924 |
-
|
|
|
|
|
925 |
|
926 |
-
|
927 |
-
|
928 |
-
msgstr "¿Quieres borrar la etiqueta personalizada?"
|
929 |
|
930 |
-
|
931 |
-
|
932 |
-
msgid "(Default: %s <img src=\"%s\"/>)"
|
933 |
-
msgstr "(Por defecto: %s <img src=\"%s\"/>)"
|
934 |
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
msgstr "
|
|
|
|
|
939 |
|
940 |
-
|
941 |
-
|
942 |
-
#: templates/metaboxes/types/images.php:38
|
943 |
-
#: templates/metaboxes/types/images.php:64
|
944 |
-
msgid "Delete image"
|
945 |
-
msgstr "Borrar imagen"
|
946 |
|
947 |
-
|
948 |
-
|
949 |
-
msgstr "Añadir imágenes a la Galería"
|
950 |
|
951 |
-
|
952 |
-
|
953 |
-
msgstr "Añadir a la galería"
|
954 |
|
955 |
-
|
956 |
-
|
957 |
-
msgstr "Añadir imágenes"
|
958 |
|
959 |
-
|
960 |
-
|
961 |
-
msgstr "Borrar"
|
962 |
|
963 |
-
|
964 |
-
|
965 |
-
msgstr "Cargar nuevas imágenes"
|
966 |
|
967 |
-
|
968 |
-
|
969 |
-
msgstr "¿Estás seguro/a de que quieres borrar esta imagen?"
|
970 |
|
971 |
-
|
972 |
-
|
973 |
-
msgid "Left sidebar"
|
974 |
-
msgstr "Barra lateral izquierda"
|
975 |
|
976 |
-
|
977 |
-
|
978 |
-
#: templates/metaboxes/types/sidebars.php:45
|
979 |
-
msgid "No sidebar"
|
980 |
-
msgstr "Sin barra lateral"
|
981 |
|
982 |
-
|
983 |
-
|
984 |
-
msgid "Right sidebar"
|
985 |
-
msgstr "Barra lateral derecha"
|
986 |
|
987 |
-
|
988 |
-
|
989 |
-
#: templates/metaboxes/types/sidebars.php:64
|
990 |
-
msgid "Choose a sidebar"
|
991 |
-
msgstr "Elige una barra lateral"
|
992 |
|
993 |
-
|
994 |
-
|
995 |
-
msgstr "Barra lateral izquierda"
|
996 |
|
997 |
-
|
998 |
-
|
999 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1000 |
|
1001 |
-
|
1002 |
-
|
1003 |
-
msgstr "px"
|
1004 |
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
|
|
|
|
|
|
|
|
1008 |
|
1009 |
-
|
1010 |
-
|
1011 |
-
msgstr "pt"
|
1012 |
|
1013 |
-
|
1014 |
-
|
1015 |
-
msgstr "rem"
|
1016 |
|
1017 |
-
|
1018 |
-
|
1019 |
-
#: templates/metaboxes/types/typography.php:217
|
1020 |
-
msgid "Web fonts"
|
1021 |
-
msgstr "Fuentes web"
|
1022 |
|
1023 |
-
|
1024 |
-
|
1025 |
-
msgstr "
|
|
|
1026 |
|
1027 |
-
|
1028 |
-
|
1029 |
-
msgstr "Normal"
|
1030 |
|
1031 |
-
|
1032 |
-
|
1033 |
-
msgstr "Negrita"
|
1034 |
|
1035 |
-
|
1036 |
-
|
1037 |
-
msgstr "Extra negrita"
|
1038 |
|
1039 |
-
|
1040 |
-
|
1041 |
-
msgstr "Cursiva"
|
1042 |
|
1043 |
-
|
1044 |
-
|
1045 |
-
msgstr "Cursiva negrita"
|
1046 |
|
1047 |
-
|
1048 |
-
|
1049 |
-
msgstr "Únete al club"
|
1050 |
|
1051 |
-
|
1052 |
-
|
1053 |
-
msgstr "Despacho Theme - 100% GRATIS"
|
1054 |
|
1055 |
-
|
1056 |
-
|
1057 |
-
msgstr "¡GRATIS!"
|
1058 |
|
1059 |
-
|
1060 |
-
|
1061 |
-
msgstr "Enlaces importantes"
|
1062 |
|
1063 |
-
|
1064 |
-
|
1065 |
-
msgstr "Reinicia"
|
1066 |
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1070 |
|
1071 |
-
#~ msgid "
|
1072 |
-
#~ msgstr "
|
1073 |
|
1074 |
#~ msgid "Current product is not included with your membership key"
|
1075 |
#~ msgstr "El producto actual no está incluido en tu clave de suscripción"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2018-08-02 16:02+0200\n"
|
8 |
+
"PO-Revision-Date: 2018-08-02 16:02+0200\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
11 |
"Language: es_ES\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 2.0.8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
17 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
18 |
"esc_html_x:1,2c\n"
|
22 |
"X-Textdomain-Support: yes\n"
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
|
25 |
+
#: lib/privacy/yit-privacy.php:24
|
26 |
+
msgctxt "Privacy Policy Guide Title"
|
27 |
+
msgid "YITH Plugins"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: lib/privacy/yit-privacy.php:59
|
31 |
+
msgctxt "Privacy Policy Content"
|
32 |
+
msgid ""
|
33 |
+
"This sample language includes the basics around what personal data your "
|
34 |
+
"store may be collecting, storing and sharing, as well as who may have access "
|
35 |
+
"to that data. Depending on what settings are enabled and which additional "
|
36 |
+
"plugins are used, the specific information shared by your store will vary. "
|
37 |
+
"We recommend consulting with a lawyer when deciding what information to "
|
38 |
+
"disclose on your privacy policy."
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: lib/privacy/yit-privacy.php:63
|
42 |
+
msgctxt "Privacy Policy Content"
|
43 |
+
msgid "What we collect and store"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: lib/privacy/yit-privacy.php:66
|
47 |
+
msgctxt "Privacy Policy Content"
|
48 |
+
msgid "Who on our team has access"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: lib/privacy/yit-privacy.php:69
|
52 |
+
msgctxt "Privacy Policy Content"
|
53 |
+
msgid "What we share with others"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: lib/privacy/yit-privacy.php:72
|
57 |
+
msgctxt "Privacy Policy Content"
|
58 |
+
msgid "Payments"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
|
62 |
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
|
63 |
#, php-format
|
117 |
msgid "Category"
|
118 |
msgstr "Categoría"
|
119 |
|
120 |
+
#: lib/yit-cpt-unlimited.php:627 templates/fields/ajax-terms.php:56
|
121 |
msgid "Search Categories"
|
122 |
msgstr "Buscar Categorías"
|
123 |
|
163 |
msgstr "%s Ajustes"
|
164 |
|
165 |
#: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
|
166 |
+
#: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:73
|
167 |
msgid "Settings"
|
168 |
msgstr "Ajustes"
|
169 |
|
250 |
msgid "Show frontend of the %s"
|
251 |
msgstr "Mostrar parte delantera de %s"
|
252 |
|
253 |
+
#: lib/yit-cpt-unlimited.php:1482 templates/fields/customtabs.php:46
|
254 |
+
#: templates/fields/customtabs.php:89
|
255 |
msgid "Name"
|
256 |
msgstr "Nombre"
|
257 |
|
264 |
msgid "Upload multiple files"
|
265 |
msgstr "Cargar archivos múltiples"
|
266 |
|
267 |
+
#: lib/yit-plugin-panel-wc.php:382
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
268 |
msgid "The changes you have made will be lost if you leave this page."
|
269 |
msgstr "Los cambios que has hecho se perderán si sales de esta página."
|
270 |
|
271 |
+
#: lib/yit-plugin-panel.php:72
|
272 |
msgid "Plugin Settings"
|
273 |
msgstr "Ajustes del plugin"
|
274 |
|
275 |
+
#: lib/yit-plugin-panel.php:330 lib/yit-plugin-panel.php:333
|
276 |
msgid "How to install premium version"
|
277 |
msgstr "Cómo instalar la versión premium"
|
278 |
|
279 |
+
#: lib/yit-plugin-panel.php:384 lib/yit-plugin-subpanel.php:155
|
280 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
281 |
msgid "Save Changes"
|
282 |
msgstr "Guardar cambios"
|
283 |
|
284 |
+
#: lib/yit-plugin-panel.php:387 lib/yit-plugin-subpanel.php:158
|
285 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
286 |
msgid ""
|
287 |
"If you continue with this action, you will reset all options in this page."
|
288 |
msgstr ""
|
289 |
"Si sigues con esta acción, se reiniciarán todas las opciones en esta página."
|
290 |
|
291 |
+
#: lib/yit-plugin-panel.php:389 lib/yit-plugin-subpanel.php:160
|
292 |
msgid "Reset to default"
|
293 |
msgstr "Reiniciar a predeterminado"
|
294 |
|
295 |
+
#: lib/yit-plugin-panel.php:390 lib/yit-plugin-subpanel.php:161
|
296 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
297 |
msgid "Are you sure?"
|
298 |
msgstr "¿Estás seguro/a?"
|
299 |
|
300 |
+
#: lib/yit-plugin-panel.php:524
|
301 |
msgid ""
|
302 |
"The element you have entered already exists. Please, enter another name."
|
303 |
msgstr ""
|
304 |
"El elemento que has introducido ya existe. Por favor, introduce otro nombre."
|
305 |
|
306 |
+
#: lib/yit-plugin-panel.php:525
|
307 |
msgid "Settings saved"
|
308 |
msgstr "Ajustes guardados"
|
309 |
|
310 |
+
#: lib/yit-plugin-panel.php:526
|
311 |
msgid "Settings reset"
|
312 |
msgstr "Ajustes reiniciados"
|
313 |
|
314 |
+
#: lib/yit-plugin-panel.php:527
|
315 |
msgid "Element deleted correctly."
|
316 |
msgstr "Elemento borrado correctamente."
|
317 |
|
318 |
+
#: lib/yit-plugin-panel.php:528 lib/yit-plugin-panel.php:529
|
319 |
msgid "Element updated correctly."
|
320 |
msgstr "Elemento actualizado correctamente."
|
321 |
|
322 |
+
#: lib/yit-plugin-panel.php:530
|
323 |
msgid "Database imported correctly."
|
324 |
msgstr "Base de datos importada correctamente."
|
325 |
|
326 |
+
#: lib/yit-plugin-panel.php:531
|
327 |
msgid "An error has occurred during import. Please try again."
|
328 |
msgstr ""
|
329 |
"Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
|
330 |
|
331 |
+
#: lib/yit-plugin-panel.php:532
|
332 |
msgid "The added file is not valid."
|
333 |
msgstr "El archivo añadido no es válido."
|
334 |
|
335 |
+
#: lib/yit-plugin-panel.php:533
|
336 |
msgid "Sorry, import is disabled."
|
337 |
msgstr "Lo sentimos, la importación está deshabilitada."
|
338 |
|
339 |
+
#: lib/yit-plugin-panel.php:534
|
340 |
msgid "Sorting successful."
|
341 |
msgstr "Clasificación fue realizada con éxito."
|
342 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
343 |
#: lib/yit-pointers.php:70
|
344 |
msgid "Plugins Activated"
|
345 |
msgstr "Plugins Activados"
|
346 |
|
347 |
#: lib/yit-pointers.php:71
|
348 |
+
#, fuzzy
|
349 |
+
#| msgid ""
|
350 |
+
#| "From now on, you can find all plugin options in YIT Plugin menu.\n"
|
351 |
+
#| " For each plugin installed, "
|
352 |
+
#| "customization settings will be available as a new entry in YIT Plugin "
|
353 |
+
#| "menu."
|
354 |
msgid ""
|
355 |
+
"From now on, you can find all plugin options in YITH Plugins menu.\n"
|
356 |
+
" Plugin customization settings will be "
|
357 |
+
"available as a new entry in YITH Plugins menu."
|
358 |
msgstr ""
|
359 |
"De ahora en adelante, puedes encontrar todas las opciones del plugin en el "
|
360 |
"menú YIT Plugin.\n"
|
375 |
msgstr "Plugins Actualizados"
|
376 |
|
377 |
#: lib/yit-pointers.php:85
|
378 |
+
#, fuzzy
|
379 |
+
#| msgid ""
|
380 |
+
#| "From now on, you can find all options of your plugins in YIT Plugin "
|
381 |
+
#| "menu.\n"
|
382 |
+
#| " Any time one of our plugins is "
|
383 |
+
#| "updated, a new entry will be added to this menu.\n"
|
384 |
+
#| " For example, after the update, plugin "
|
385 |
+
#| "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
|
386 |
+
#| "Search, etc.)\n"
|
387 |
+
#| " will be moved from previous location "
|
388 |
+
#| "to YIT Plugin tab."
|
389 |
msgid ""
|
390 |
+
"From now on, you can find the option panel of YITH plugins in YITH Plugins "
|
391 |
+
"menu.\n"
|
392 |
+
" Every time one of our plugins is added, "
|
393 |
"a new entry will be added to this menu.\n"
|
394 |
" For example, after the update, plugin "
|
395 |
"options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
|
396 |
"Search, etc.)\n"
|
397 |
" will be moved from previous location to "
|
398 |
+
"YITH Plugins tab."
|
399 |
msgstr ""
|
400 |
"De ahora en adelante, puedes encontrar todas las opciones de tus plugins en "
|
401 |
"el menú YIT Plugin.\n"
|
407 |
" se moverán de su posición anterior a la "
|
408 |
"pestaña YIT Plugin."
|
409 |
|
410 |
+
#: lib/yit-upgrade.php:89
|
411 |
+
#, fuzzy
|
412 |
+
#| msgid "Unable to contact the remote server, please try again later. Thanks!"
|
413 |
+
msgid "An unexpected error occurred, please try again later. Thanks!"
|
414 |
+
msgstr ""
|
415 |
+
"No fue posible contactar con el servidor remoto, por favor, inténtalo de "
|
416 |
+
"nuevo más tarde. ¡Gracias!"
|
417 |
+
|
418 |
+
#: lib/yit-upgrade.php:184
|
419 |
msgid "There is a new version of %plugin_name% available."
|
420 |
msgstr "Hay una nueva versión de %plugin_name% disponible."
|
421 |
|
422 |
+
#: lib/yit-upgrade.php:185
|
423 |
msgid "View version %latest% details."
|
424 |
msgstr "Ver detalles de la %latest% versión"
|
425 |
|
426 |
+
#: lib/yit-upgrade.php:186
|
427 |
msgid "Automatic update is unavailable for this plugin,"
|
428 |
msgstr "Las actualizaciones automáticas no están disponibles para este plugin,"
|
429 |
|
430 |
+
#: lib/yit-upgrade.php:187
|
431 |
msgid ""
|
432 |
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
433 |
msgstr ""
|
434 |
"por favor, <a href=\"%activate_link%\">activa</a> tu copia de %plugin_name%."
|
435 |
|
436 |
+
#: lib/yit-upgrade.php:188
|
437 |
msgid "Update now."
|
438 |
msgstr "Actualiza ahora."
|
439 |
|
440 |
+
#: lib/yit-upgrade.php:288
|
441 |
+
#, fuzzy
|
442 |
+
#| msgid "YIThemes Repository"
|
443 |
+
msgid "YITH Repository"
|
444 |
msgstr "Repositorio YIThemes"
|
445 |
|
446 |
+
#: lib/yit-upgrade.php:322
|
447 |
msgid "Invalid URL Provided."
|
448 |
msgstr "La URL proporcionada no es válida."
|
449 |
|
450 |
+
#: lib/yit-upgrade.php:335
|
451 |
msgid "Could not create Temporary file."
|
452 |
msgstr "No se pudo crear un archivo temporal."
|
453 |
|
454 |
+
#: lib/yit-upgrade.php:495
|
455 |
+
#, fuzzy, php-format
|
456 |
+
#| msgid ""
|
457 |
+
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
458 |
+
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
459 |
+
#| "details</a>."
|
460 |
msgid ""
|
461 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
462 |
+
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
463 |
+
"%4$s details</a>."
|
464 |
msgstr ""
|
465 |
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
|
466 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>."
|
467 |
|
468 |
+
#: lib/yit-upgrade.php:497
|
469 |
+
#, fuzzy, php-format
|
470 |
+
#| msgid ""
|
471 |
+
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
472 |
+
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
473 |
+
#| "details</a>. <em>You have to activate the plugin on a single site of the "
|
474 |
+
#| "network to benefit from automatic updates.</em>"
|
475 |
msgid ""
|
476 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
477 |
+
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
478 |
+
"%4$s details</a>. <em>You have to activate the plugin on a single site of "
|
479 |
+
"the network to benefit from automatic updates.</em>"
|
480 |
msgstr ""
|
481 |
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
|
482 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. "
|
483 |
"<em>Tienes que activar el plugin en un único sitio web desdela red para "
|
484 |
"beneficiarte de las actualizaciones automáticas.</em>"
|
485 |
|
486 |
+
#: lib/yit-upgrade.php:499
|
487 |
+
#, fuzzy, php-format
|
488 |
+
#| msgid ""
|
489 |
+
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
490 |
+
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
491 |
+
#| "details</a>. <em>Automatic update is unavailable for this plugin, please "
|
492 |
+
#| "<a href=\"%5$s\" title=\"License activation\">activate</a> your copy of "
|
493 |
+
#| "%6s.</em>"
|
494 |
msgid ""
|
495 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
496 |
+
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
497 |
+
"%4$s details</a>. <em>Automatic update is unavailable for this plugin, "
|
498 |
+
"please <a href=\"%5$s\" title=\"License activation\">activate</a> your copy "
|
499 |
+
"of %6s.</em>"
|
500 |
msgstr ""
|
501 |
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
|
502 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a>. "
|
504 |
"por favor <a href=\"%5$s\" title=\"License activation\">activa</a> tu copia "
|
505 |
"de %6s.</em>"
|
506 |
|
507 |
+
#: lib/yit-upgrade.php:501
|
508 |
+
#, fuzzy, php-format
|
509 |
+
#| msgid ""
|
510 |
+
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
511 |
+
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
512 |
+
#| "details</a> or <a href=\"%5$s\">update now</a>."
|
513 |
msgid ""
|
514 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
515 |
+
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
516 |
+
"%4$s details</a> or <a href=\"%5$s\">update now</a>."
|
517 |
msgstr ""
|
518 |
"Hay una nueva versión de %1$s disponible. <a href=\"%2$s\" class=\"thickbox "
|
519 |
"yit-changelog-button\" title=\"%3$s\">Ver detalles de la versión %4$s</a> o "
|
520 |
"<a href=\"%5$s\">actualizar ahora</a>."
|
521 |
|
522 |
+
#: lib/yit-upgrade.php:574
|
523 |
msgid "You can't update the plugins for this site."
|
524 |
msgstr "No puedes actualizar los plugins para este sitio web."
|
525 |
|
526 |
+
#: lib/yit-upgrade.php:578
|
527 |
msgid ""
|
528 |
"You do not have sufficient permissions to update the plugins for this site."
|
529 |
msgstr ""
|
530 |
"No tienes suficientes permisos para actualizar los plugins para este sitio "
|
531 |
"web."
|
532 |
|
533 |
+
#: lib/yit-upgrade.php:585
|
534 |
msgid "Update Plugin"
|
535 |
msgstr "Actualizar Plugin"
|
536 |
|
537 |
+
#: licence/lib/yit-licence.php:187
|
538 |
#, php-format
|
539 |
msgctxt "%s = field name"
|
540 |
msgid "%s field cannot be empty"
|
541 |
msgstr "%s el campo no puede estar vacío"
|
542 |
|
543 |
+
#: licence/lib/yit-licence.php:188
|
544 |
#, php-format
|
545 |
msgid "%s and %s fields cannot be empty"
|
546 |
msgstr "Los campos %s y %s no pueden estar vacíos"
|
547 |
|
548 |
+
#: licence/lib/yit-licence.php:189
|
549 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
550 |
msgstr ""
|
551 |
"No fue posible contactar con el servidor remoto, por favor, inténtalo de "
|
552 |
"nuevo más tarde. ¡Gracias!"
|
553 |
|
554 |
+
#: licence/lib/yit-licence.php:190
|
555 |
#: licence/templates/panel/activation/activation-panel.php:88
|
556 |
#: licence/templates/panel/activation/activation-panel.php:166
|
557 |
#: licence/templates/panel/activation/activation-panel.php:197
|
|
|
|
|
558 |
msgid "Email"
|
559 |
msgstr "Email"
|
560 |
|
561 |
+
#: licence/lib/yit-licence.php:191
|
562 |
#: licence/templates/panel/activation/activation-panel.php:89
|
563 |
#: licence/templates/panel/activation/activation-panel.php:167
|
564 |
#: licence/templates/panel/activation/activation-panel.php:198
|
565 |
msgid "License Key"
|
566 |
msgstr "Clave de Licencia"
|
567 |
|
568 |
+
#: licence/lib/yit-licence.php:192
|
569 |
msgid "Are you sure you want to deactivate the license for current site?"
|
570 |
msgstr ""
|
571 |
"¿Estás seguro/a de que quieres desactivar la licencia para el sitio web "
|
572 |
"actual?"
|
573 |
|
574 |
+
#: licence/lib/yit-licence.php:678
|
575 |
msgid "Invalid Request"
|
576 |
msgstr "Solicitud inválida"
|
577 |
|
578 |
+
#: licence/lib/yit-licence.php:679
|
579 |
msgid "Invalid license key"
|
580 |
msgstr "Clave de solicitud inválida"
|
581 |
|
582 |
+
#: licence/lib/yit-licence.php:680
|
583 |
msgid "Software has been deactivated"
|
584 |
msgstr "El software ha sido desactivado"
|
585 |
|
586 |
+
#: licence/lib/yit-licence.php:681
|
587 |
msgid "Maximum number of activations exceeded"
|
588 |
msgstr "Se ha excedido el número máximo de solicitudes"
|
589 |
|
590 |
+
#: licence/lib/yit-licence.php:682
|
591 |
msgid "Invalid instance ID"
|
592 |
msgstr "Instancia ID inválida"
|
593 |
|
594 |
+
#: licence/lib/yit-licence.php:683
|
595 |
msgid "Invalid security key"
|
596 |
msgstr "Clave de seguridad inválida"
|
597 |
|
598 |
+
#: licence/lib/yit-licence.php:684
|
599 |
msgid "License key has expired"
|
600 |
msgstr "La clave de licencia ha caducado"
|
601 |
|
602 |
+
#: licence/lib/yit-licence.php:685
|
603 |
msgid "License key has been banned"
|
604 |
msgstr "La clave de licencia ha sido bloqueada"
|
605 |
|
606 |
+
#: licence/lib/yit-licence.php:686
|
607 |
msgid "Current product is not included in your YITH Club Subscription key"
|
608 |
msgstr ""
|
609 |
"Producto actual no está incluido en la clave de suscripción de Club de YITH"
|
610 |
|
611 |
+
#: licence/lib/yit-licence.php:687
|
612 |
msgid "Great"
|
613 |
msgstr "Excelente"
|
614 |
|
615 |
+
#: licence/lib/yit-licence.php:687
|
616 |
msgid "License successfully activated"
|
617 |
msgstr "Licencia activada con éxito"
|
618 |
|
619 |
+
#: licence/lib/yit-licence.php:688
|
620 |
msgid "License key deactivated for website"
|
621 |
msgstr "Clave de licencia desactivada para nuestro sitio web"
|
622 |
|
640 |
"tiempo. ¿Dónde la puedo encontrar?"
|
641 |
|
642 |
#: licence/lib/yit-theme-licence.php:163
|
643 |
+
#, fuzzy
|
644 |
+
#| msgid ""
|
645 |
+
#| "If you have purchased one of our products before 27 January 2015, you can "
|
646 |
+
#| "benefit from support and updates (the services offered with the license)\n"
|
647 |
+
#| " until 27 January 2016 and you do not have to purchase "
|
648 |
+
#| "it again to get a new license key, because, before this date, your "
|
649 |
+
#| "license used to be activated automatically by our system.\n"
|
650 |
+
#| " After 27 January 2016, instead, if you want to "
|
651 |
+
#| "benefit from support and updates you have to buy a new license and "
|
652 |
+
#| "activate it through the license key you will be\n"
|
653 |
+
#| " provided with and that you can find in your YIThemes "
|
654 |
+
#| "account, in section \"My licenses\"."
|
655 |
msgid ""
|
656 |
"If you have purchased one of our products before 27 January 2015, you can "
|
657 |
"benefit from support and updates (the services offered with the license)\n"
|
661 |
" After 27 January 2016, instead, if you want to benefit "
|
662 |
"from support and updates you have to buy a new license and activate it "
|
663 |
"through the license key you will be\n"
|
664 |
+
" provided with and that you can find in your YITH "
|
665 |
"account, in section \"My licenses\"."
|
666 |
msgstr ""
|
667 |
"Si has comprado uno de nuestros productos antes del 27 de enero de 2015, "
|
677 |
"YIThemes, en la sección \"My licenses\"."
|
678 |
|
679 |
#: licence/templates/panel/activation/activation-panel.php:23
|
680 |
+
#, fuzzy
|
681 |
+
#| msgid "License Activation"
|
682 |
+
msgid "YITH License Activation"
|
683 |
+
msgstr "Activación de la Licencia"
|
684 |
|
685 |
#: licence/templates/panel/activation/activation-panel.php:27
|
686 |
msgid ""
|
759 |
msgid "Renew license"
|
760 |
msgstr "Renovar licencia"
|
761 |
|
762 |
+
#: templates/fields/ajax-posts.php:57
|
763 |
+
#, fuzzy
|
764 |
+
#| msgid "Search %s"
|
765 |
+
msgid "Search Posts"
|
766 |
+
msgstr "Buscar %s"
|
767 |
+
|
768 |
+
#: templates/fields/ajax-products.php:16
|
769 |
+
#, fuzzy
|
770 |
+
#| msgid "Search for a product"
|
771 |
+
msgid "Search Product"
|
772 |
msgstr "Buscar un producto"
|
773 |
|
774 |
+
#: templates/fields/customtabs.php:28
|
775 |
+
msgid "Close all"
|
776 |
+
msgstr "Cerrar todos"
|
777 |
|
778 |
+
#: templates/fields/customtabs.php:28
|
779 |
+
msgid "Expand all"
|
780 |
+
msgstr "Expandir todos"
|
781 |
|
782 |
+
#: templates/fields/customtabs.php:37 templates/fields/customtabs.php:81
|
783 |
+
msgid "Remove"
|
784 |
+
msgstr "Borrar"
|
785 |
|
786 |
+
#: templates/fields/customtabs.php:52 templates/fields/customtabs.php:94
|
787 |
+
msgid "Value"
|
788 |
+
msgstr "Valor"
|
789 |
|
790 |
+
#: templates/fields/customtabs.php:53 templates/fields/customtabs.php:95
|
791 |
+
msgid "Content of the tab. (HTML is supported)"
|
792 |
+
msgstr "Contenido de la pestaña. (HTML se soporta)"
|
793 |
|
794 |
+
#: templates/fields/customtabs.php:65
|
795 |
+
msgid "Add custom product tab"
|
796 |
+
msgstr "Añadir etiqueta de producto personalizado"
|
797 |
|
798 |
+
#: templates/fields/customtabs.php:106
|
799 |
+
msgid "Do you want to remove the custom tab?"
|
800 |
+
msgstr "¿Quieres borrar la etiqueta personalizada?"
|
801 |
|
802 |
+
#: templates/fields/icons.php:58
|
803 |
+
#, fuzzy
|
804 |
+
#| msgid "Reset Defaults"
|
805 |
+
msgid "Set Default"
|
806 |
+
msgstr "Ajustes predeterminados"
|
807 |
|
808 |
+
#: templates/fields/image-gallery.php:34 templates/fields/image-gallery.php:39
|
809 |
+
msgid "Delete image"
|
810 |
+
msgstr "Borrar imagen"
|
811 |
|
812 |
+
#: templates/fields/image-gallery.php:39
|
813 |
+
msgid "Add Images to Gallery"
|
814 |
+
msgstr "Añadir imágenes a la Galería"
|
815 |
+
|
816 |
+
#: templates/fields/image-gallery.php:39
|
817 |
+
msgid "Add to gallery"
|
818 |
+
msgstr "Añadir a la galería"
|
819 |
+
|
820 |
+
#: templates/fields/image-gallery.php:39
|
821 |
+
msgid "Add images"
|
822 |
+
msgstr "Añadir imágenes"
|
823 |
|
824 |
+
#: templates/fields/image-gallery.php:39
|
825 |
+
msgid "Delete"
|
826 |
+
msgstr "Borrar"
|
827 |
|
828 |
+
#: templates/fields/select-buttons.php:26
|
829 |
+
#, fuzzy
|
830 |
+
#| msgid "Select"
|
831 |
+
msgid "Select All"
|
832 |
+
msgstr "Seleciona"
|
833 |
|
834 |
+
#: templates/fields/select-buttons.php:33
|
835 |
+
msgid "Deselect All"
|
836 |
+
msgstr ""
|
|
|
837 |
|
838 |
+
#: templates/fields/sidebars.php:22
|
839 |
+
msgid "Left sidebar"
|
840 |
+
msgstr "Barra lateral izquierda"
|
841 |
|
842 |
+
#: templates/fields/sidebars.php:25
|
843 |
+
msgid "Right sidebar"
|
844 |
+
msgstr "Barra lateral derecha"
|
|
|
|
|
|
|
845 |
|
846 |
+
#: templates/fields/sidebars.php:28 templates/fields/sidebars.php:31
|
847 |
+
msgid "No sidebar"
|
848 |
+
msgstr "Sin barra lateral"
|
|
|
849 |
|
850 |
+
#: templates/fields/sidebars.php:39
|
851 |
+
msgid "Left Sidebar"
|
852 |
+
msgstr "Barra lateral izquierda"
|
|
|
853 |
|
854 |
+
#: templates/fields/sidebars.php:41 templates/fields/sidebars.php:54
|
855 |
+
msgid "Choose a sidebar"
|
856 |
+
msgstr "Elige una barra lateral"
|
|
|
857 |
|
858 |
+
#: templates/fields/sidebars.php:52
|
859 |
+
msgid "Right Sidebar"
|
860 |
+
msgstr "Barra lateral derecha"
|
|
|
861 |
|
862 |
+
#: templates/fields/upload.php:18 templates/metaboxes/types/icon-list.php:70
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
863 |
#: templates/panel/woocommerce/woocommerce-upload.php:40
|
864 |
msgid "Upload"
|
865 |
msgstr "Actualiza"
|
866 |
|
867 |
+
#: templates/fields/upload.php:19
|
868 |
+
msgid "Reset"
|
869 |
+
msgstr "Reinicia"
|
870 |
+
|
871 |
+
#: templates/metaboxes/types/icon-list.php:76
|
872 |
msgid "Image preview"
|
873 |
msgstr "Previsualización de imagen"
|
874 |
|
875 |
+
#: templates/metaboxes/types/icon-list.php:90
|
876 |
+
#, php-format
|
877 |
+
msgid "(Default: %s <img src=\"%s\"/>)"
|
878 |
+
msgstr "(Por defecto: %s <img src=\"%s\"/>)"
|
879 |
|
880 |
+
#: templates/metaboxes/types/icon-list.php:92
|
881 |
+
#, php-format
|
882 |
+
msgid "(Default: <i %s></i> )"
|
883 |
+
msgstr "(Por defecto: <i %s></i> )"
|
884 |
|
885 |
+
#: templates/panel/woocommerce/woocommerce-form.php:17
|
886 |
+
msgid "Reset Defaults"
|
887 |
+
msgstr "Ajustes predeterminados"
|
|
|
888 |
|
889 |
+
#: yit-plugin.php:76
|
890 |
+
msgctxt "Plugin Row Meta"
|
891 |
+
msgid "Live Demo"
|
892 |
+
msgstr ""
|
893 |
|
894 |
+
#: yit-plugin.php:81
|
895 |
+
msgctxt "Plugin Row Meta"
|
896 |
+
msgid "Documentation"
|
897 |
+
msgstr ""
|
898 |
|
899 |
+
#: yit-plugin.php:86
|
900 |
+
msgctxt "Plugin Row Meta"
|
901 |
+
msgid "Support"
|
902 |
+
msgstr ""
|
903 |
|
904 |
+
#: yit-plugin.php:91
|
905 |
+
#, fuzzy
|
906 |
+
#| msgid "Premium version upgrade"
|
907 |
+
msgctxt "Plugin Row Meta"
|
908 |
+
msgid "Premium version"
|
909 |
+
msgstr "Actualiza a la versión premium"
|
910 |
+
|
911 |
+
#: yit-plugin.php:186
|
912 |
+
#, fuzzy
|
913 |
+
#| msgid "Settings"
|
914 |
+
msgctxt "Action links"
|
915 |
+
msgid "Settings"
|
916 |
+
msgstr "Ajustes"
|
917 |
|
918 |
+
#: yit-plugin.php:190
|
919 |
+
#, fuzzy
|
920 |
+
#| msgid "License Key"
|
921 |
+
msgid "License"
|
922 |
+
msgstr "Clave de Licencia"
|
923 |
|
924 |
+
#~ msgid "Hide sidebar"
|
925 |
+
#~ msgstr "Ocultar barra lateral"
|
|
|
926 |
|
927 |
+
#~ msgid "Show sidebar"
|
928 |
+
#~ msgstr "Mostrar barra lateral"
|
|
|
|
|
929 |
|
930 |
+
#~ msgid ""
|
931 |
+
#~ "If you continue with this action, you will reset all the options in this "
|
932 |
+
#~ "page."
|
933 |
+
#~ msgstr ""
|
934 |
+
#~ "Si continúas con esta acción, reiniciarás todas las opciones de esta "
|
935 |
+
#~ "página."
|
936 |
|
937 |
+
#~ msgid "Yithemes License Activation"
|
938 |
+
#~ msgstr "Licencia de Activación Yithemes"
|
|
|
|
|
|
|
|
|
939 |
|
940 |
+
#~ msgid "No categories."
|
941 |
+
#~ msgstr "Ninguna categoría."
|
|
|
942 |
|
943 |
+
#~ msgid "+ Add New Category"
|
944 |
+
#~ msgstr "+ Añadir Nueva Categoría"
|
|
|
945 |
|
946 |
+
#~ msgid "Add"
|
947 |
+
#~ msgstr "Añadir"
|
|
|
948 |
|
949 |
+
#~ msgid "Text Input"
|
950 |
+
#~ msgstr "Text Input"
|
|
|
951 |
|
952 |
+
#~ msgid "Checkbox"
|
953 |
+
#~ msgstr "Casilla"
|
|
|
954 |
|
955 |
+
#~ msgid "Textarea"
|
956 |
+
#~ msgstr "Área de texto"
|
|
|
957 |
|
958 |
+
#~ msgid "Radio Input"
|
959 |
+
#~ msgstr "Radio Input"
|
|
|
|
|
960 |
|
961 |
+
#~ msgid "Password Field"
|
962 |
+
#~ msgstr "Campo de contraseña"
|
|
|
|
|
|
|
963 |
|
964 |
+
#~ msgid "File Upload"
|
965 |
+
#~ msgstr "Carga de archivo"
|
|
|
|
|
966 |
|
967 |
+
#~ msgid "Theme Icon"
|
968 |
+
#~ msgstr "Icono del tema"
|
|
|
|
|
|
|
969 |
|
970 |
+
#~ msgid "Custom Icon"
|
971 |
+
#~ msgstr "Icono Personalizado"
|
|
|
972 |
|
973 |
+
#~ msgid "None"
|
974 |
+
#~ msgstr "Ninguno"
|
975 |
+
|
976 |
+
#~ msgid "Add field"
|
977 |
+
#~ msgstr "Añadir campo"
|
978 |
+
|
979 |
+
#~ msgid "Click to toggle"
|
980 |
+
#~ msgstr "Haz click para alternar"
|
981 |
+
|
982 |
+
#~ msgid "Field Title"
|
983 |
+
#~ msgstr "Campo de título"
|
984 |
+
|
985 |
+
#~ msgid "Insert the title for the field."
|
986 |
+
#~ msgstr "Inserta el título del campo."
|
987 |
|
988 |
+
#~ msgid "Data Name"
|
989 |
+
#~ msgstr "Nombre del dato."
|
|
|
990 |
|
991 |
+
#~ msgid ""
|
992 |
+
#~ "REQUIRED: Field identification name to be entered into email body. "
|
993 |
+
#~ "<strong>Note:</strong>Use only lowercase characters and underscores."
|
994 |
+
#~ msgstr ""
|
995 |
+
#~ "OBLIGATORIO: El nombre del campo de identificación debe introducirse en "
|
996 |
+
#~ "el cuerpo del email. <strong> Nota: </strong> Usa sólo minúsculas y "
|
997 |
+
#~ "guiones bajos."
|
998 |
|
999 |
+
#~ msgid "Field Type"
|
1000 |
+
#~ msgstr "Tipo de campo"
|
|
|
1001 |
|
1002 |
+
#~ msgid "Select the type for this field."
|
1003 |
+
#~ msgstr "Selecciona el tipo para este campo."
|
|
|
1004 |
|
1005 |
+
#~ msgid "Checked"
|
1006 |
+
#~ msgstr "Campo seleccionado"
|
|
|
|
|
|
|
1007 |
|
1008 |
+
#~ msgid ""
|
1009 |
+
#~ "Select this option if you want this field appears as already checked."
|
1010 |
+
#~ msgstr ""
|
1011 |
+
#~ "Selecciona esta opción si quieres que este campo aparezca como ya marcado."
|
1012 |
|
1013 |
+
#~ msgid "Add options "
|
1014 |
+
#~ msgstr "Añadir opciones"
|
|
|
1015 |
|
1016 |
+
#~ msgid "Add option"
|
1017 |
+
#~ msgstr "Añadir opción"
|
|
|
1018 |
|
1019 |
+
#~ msgid "Selected"
|
1020 |
+
#~ msgstr "Selecionado"
|
|
|
1021 |
|
1022 |
+
#~ msgid "Delete option"
|
1023 |
+
#~ msgstr "Borrar opción"
|
|
|
1024 |
|
1025 |
+
#~ msgid "Error Message"
|
1026 |
+
#~ msgstr "Mensaje de error"
|
|
|
1027 |
|
1028 |
+
#~ msgid "Insert the error message for validation."
|
1029 |
+
#~ msgstr "Inserta el mensaje de error para la validación."
|
|
|
1030 |
|
1031 |
+
#~ msgid "Required"
|
1032 |
+
#~ msgstr "Campo obligatorio"
|
|
|
1033 |
|
1034 |
+
#~ msgid "Select this option if it must be required."
|
1035 |
+
#~ msgstr "Selecciona esta opción si este campo debe ser obligatorio."
|
|
|
1036 |
|
1037 |
+
#~ msgid "Select this option if the email must be valid."
|
1038 |
+
#~ msgstr "Selecciona esta opción si el email debe ser válido."
|
|
|
1039 |
|
1040 |
+
#~ msgid "Reply To"
|
1041 |
+
#~ msgstr "Responder a"
|
|
|
1042 |
|
1043 |
+
#~ msgid "Select this if it is the email you can reply to."
|
1044 |
+
#~ msgstr "Selecciona si este es el email al que puedes responder."
|
1045 |
+
|
1046 |
+
#~ msgid "Class"
|
1047 |
+
#~ msgstr "Clase"
|
1048 |
+
|
1049 |
+
#~ msgid ""
|
1050 |
+
#~ "Insert additional class(es) (separated by commas) for more "
|
1051 |
+
#~ "personalization."
|
1052 |
+
#~ msgstr ""
|
1053 |
+
#~ "Inserta clase(s) adicionales (separados por comas) para más "
|
1054 |
+
#~ "personalización."
|
1055 |
+
|
1056 |
+
#~ msgid "Icon"
|
1057 |
+
#~ msgstr "Icono"
|
1058 |
+
|
1059 |
+
#~ msgid "Insert an icon for more personalization."
|
1060 |
+
#~ msgstr "Inserta un icono para más personalización"
|
1061 |
+
|
1062 |
+
#~ msgid "Width"
|
1063 |
+
#~ msgstr "Ancho"
|
1064 |
+
|
1065 |
+
#~ msgid "Set field length."
|
1066 |
+
#~ msgstr "Establecer el ancho de campo"
|
1067 |
+
|
1068 |
+
#~ msgid "Upload new images"
|
1069 |
+
#~ msgstr "Cargar nuevas imágenes"
|
1070 |
+
|
1071 |
+
#~ msgid "Are you sure you want to remove this image?"
|
1072 |
+
#~ msgstr "¿Estás seguro/a de que quieres borrar esta imagen?"
|
1073 |
+
|
1074 |
+
#~ msgid "px"
|
1075 |
+
#~ msgstr "px"
|
1076 |
+
|
1077 |
+
#~ msgid "em"
|
1078 |
+
#~ msgstr "em"
|
1079 |
+
|
1080 |
+
#~ msgid "pt"
|
1081 |
+
#~ msgstr "pt"
|
1082 |
+
|
1083 |
+
#~ msgid "rem"
|
1084 |
+
#~ msgstr "rem"
|
1085 |
+
|
1086 |
+
#~ msgid "Web fonts"
|
1087 |
+
#~ msgstr "Fuentes web"
|
1088 |
+
|
1089 |
+
#~ msgid "Google fonts"
|
1090 |
+
#~ msgstr "Fuentes Google"
|
1091 |
+
|
1092 |
+
#~ msgid "Regular"
|
1093 |
+
#~ msgstr "Normal"
|
1094 |
+
|
1095 |
+
#~ msgid "Bold"
|
1096 |
+
#~ msgstr "Negrita"
|
1097 |
+
|
1098 |
+
#~ msgid "Extra bold"
|
1099 |
+
#~ msgstr "Extra negrita"
|
1100 |
+
|
1101 |
+
#~ msgid "Italic"
|
1102 |
+
#~ msgstr "Cursiva"
|
1103 |
+
|
1104 |
+
#~ msgid "Italic bold"
|
1105 |
+
#~ msgstr "Cursiva negrita"
|
1106 |
+
|
1107 |
+
#~ msgid "Join the club"
|
1108 |
+
#~ msgstr "Únete al club"
|
1109 |
+
|
1110 |
+
#~ msgid "Despacho Theme - 100% FREE"
|
1111 |
+
#~ msgstr "Despacho Theme - 100% GRATIS"
|
1112 |
+
|
1113 |
+
#~ msgid "FREE!"
|
1114 |
+
#~ msgstr "¡GRATIS!"
|
1115 |
|
1116 |
+
#~ msgid "Important Links"
|
1117 |
+
#~ msgstr "Enlaces importantes"
|
1118 |
|
1119 |
#~ msgid "Current product is not included with your membership key"
|
1120 |
#~ msgstr "El producto actual no está incluido en tu clave de suscripción"
|
plugin-fw/languages/yith-plugin-fw-it_IT.mo
CHANGED
Binary file
|
plugin-fw/languages/yith-plugin-fw-it_IT.po
CHANGED
@@ -4,15 +4,15 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
-
"PO-Revision-Date:
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
11 |
"Language: it_IT\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"X-Generator: Poedit
|
16 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
17 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
18 |
"esc_html_x:1,2c\n"
|
@@ -22,6 +22,44 @@ msgstr ""
|
|
22 |
"X-Textdomain-Support: yes\n"
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
|
26 |
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
|
27 |
#, php-format
|
@@ -81,7 +119,7 @@ msgctxt "taxonomy singular name"
|
|
81 |
msgid "Category"
|
82 |
msgstr "Categoria"
|
83 |
|
84 |
-
#: lib/yit-cpt-unlimited.php:627
|
85 |
msgid "Search Categories"
|
86 |
msgstr "Cerca categorie"
|
87 |
|
@@ -127,7 +165,7 @@ msgid "%s Settings"
|
|
127 |
msgstr "Impostazioni %s"
|
128 |
|
129 |
#: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
|
130 |
-
#: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:
|
131 |
msgid "Settings"
|
132 |
msgstr "Impostazioni"
|
133 |
|
@@ -212,8 +250,8 @@ msgstr "Link rapidi"
|
|
212 |
msgid "Show frontend of the %s"
|
213 |
msgstr "Mostra front end di %s"
|
214 |
|
215 |
-
#: lib/yit-cpt-unlimited.php:1482 templates/
|
216 |
-
#: templates/
|
217 |
msgid "Name"
|
218 |
msgstr "Nome"
|
219 |
|
@@ -226,32 +264,24 @@ msgstr "Aggiungi %s dalla immagini"
|
|
226 |
msgid "Upload multiple files"
|
227 |
msgstr "Carica file multipli"
|
228 |
|
229 |
-
#: lib/yit-plugin-panel-
|
230 |
-
msgid "Hide sidebar"
|
231 |
-
msgstr "Nascondi barra laterale"
|
232 |
-
|
233 |
-
#: lib/yit-plugin-panel-sidebar.php:422 templates/panel/sidebar/sidebar.php:3
|
234 |
-
msgid "Show sidebar"
|
235 |
-
msgstr "Mostra barra laterale"
|
236 |
-
|
237 |
-
#: lib/yit-plugin-panel-wc.php:374
|
238 |
msgid "The changes you have made will be lost if you leave this page."
|
239 |
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
240 |
|
241 |
-
#: lib/yit-plugin-panel.php:
|
242 |
msgid "Plugin Settings"
|
243 |
msgstr "Impostazioni plugin"
|
244 |
|
245 |
-
#: lib/yit-plugin-panel.php:
|
246 |
msgid "How to install premium version"
|
247 |
msgstr "Come installare la versione premium"
|
248 |
|
249 |
-
#: lib/yit-plugin-panel.php:
|
250 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
251 |
msgid "Save Changes"
|
252 |
msgstr "Salva modifiche"
|
253 |
|
254 |
-
#: lib/yit-plugin-panel.php:
|
255 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
256 |
msgid ""
|
257 |
"If you continue with this action, you will reset all options in this page."
|
@@ -259,73 +289,71 @@ msgstr ""
|
|
259 |
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
260 |
"reimpostate."
|
261 |
|
262 |
-
#: lib/yit-plugin-panel.php:
|
263 |
msgid "Reset to default"
|
264 |
msgstr "Ripristina configurazione predefinita"
|
265 |
|
266 |
-
#: lib/yit-plugin-panel.php:
|
267 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
268 |
msgid "Are you sure?"
|
269 |
msgstr "Sei sicuro?"
|
270 |
|
271 |
-
#: lib/yit-plugin-panel.php:
|
272 |
msgid ""
|
273 |
"The element you have entered already exists. Please, enter another name."
|
274 |
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
|
275 |
|
276 |
-
#: lib/yit-plugin-panel.php:
|
277 |
msgid "Settings saved"
|
278 |
msgstr "Impostazioni salvate"
|
279 |
|
280 |
-
#: lib/yit-plugin-panel.php:
|
281 |
msgid "Settings reset"
|
282 |
msgstr "Impostazioni azzerate"
|
283 |
|
284 |
-
#: lib/yit-plugin-panel.php:
|
285 |
msgid "Element deleted correctly."
|
286 |
msgstr "Elemento rimosso correttamente."
|
287 |
|
288 |
-
#: lib/yit-plugin-panel.php:
|
289 |
msgid "Element updated correctly."
|
290 |
msgstr "Elemento aggiornato correttamente."
|
291 |
|
292 |
-
#: lib/yit-plugin-panel.php:
|
293 |
msgid "Database imported correctly."
|
294 |
msgstr "Database importato correttamente."
|
295 |
|
296 |
-
#: lib/yit-plugin-panel.php:
|
297 |
msgid "An error has occurred during import. Please try again."
|
298 |
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
|
299 |
|
300 |
-
#: lib/yit-plugin-panel.php:
|
301 |
msgid "The added file is not valid."
|
302 |
msgstr "Il file aggiunto non è valido."
|
303 |
|
304 |
-
#: lib/yit-plugin-panel.php:
|
305 |
msgid "Sorry, import is disabled."
|
306 |
msgstr "Ci dispiace, l'importazione è disabilitata."
|
307 |
|
308 |
-
#: lib/yit-plugin-panel.php:
|
309 |
msgid "Sorting successful."
|
310 |
msgstr "Ordinamento effettuato con successo."
|
311 |
|
312 |
-
#: lib/yit-plugin-subpanel.php:149
|
313 |
-
msgid ""
|
314 |
-
"If you continue with this action, you will reset all the options in this "
|
315 |
-
"page."
|
316 |
-
msgstr ""
|
317 |
-
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
318 |
-
"reimpostate."
|
319 |
-
|
320 |
#: lib/yit-pointers.php:70
|
321 |
msgid "Plugins Activated"
|
322 |
msgstr "Plugin attivati"
|
323 |
|
324 |
#: lib/yit-pointers.php:71
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
msgid ""
|
326 |
-
"From now on, you can find all plugin options in
|
327 |
-
"
|
328 |
-
"
|
329 |
msgstr ""
|
330 |
"Da ora in poi, puoi trovare tutte le opzioni dei tuoi plugin nel menu Plugin "
|
331 |
"YIT.\n"
|
@@ -345,15 +373,27 @@ msgid "Plugins Upgraded"
|
|
345 |
msgstr "Plugin aggiornati"
|
346 |
|
347 |
#: lib/yit-pointers.php:85
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
msgid ""
|
349 |
-
"From now on, you can find
|
350 |
-
"
|
|
|
351 |
"a new entry will be added to this menu.\n"
|
352 |
" For example, after the update, plugin "
|
353 |
"options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
|
354 |
"Search, etc.)\n"
|
355 |
" will be moved from previous location to "
|
356 |
-
"
|
357 |
msgstr ""
|
358 |
"Da ora in poi, troverai tutte le opzioni dei tuoi plugin nel menu Plugin "
|
359 |
"YIT.\n"
|
@@ -363,71 +403,96 @@ msgstr ""
|
|
363 |
"quelle di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
|
364 |
"saranno trasferite nella scheda Plugin YIT."
|
365 |
|
366 |
-
#: lib/yit-upgrade.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
msgid "There is a new version of %plugin_name% available."
|
368 |
msgstr "Una nuova versione di %plugin_name% è disponibile."
|
369 |
|
370 |
-
#: lib/yit-upgrade.php:
|
371 |
msgid "View version %latest% details."
|
372 |
msgstr "Visualizza i dettagli della versione %latest%."
|
373 |
|
374 |
-
#: lib/yit-upgrade.php:
|
375 |
msgid "Automatic update is unavailable for this plugin,"
|
376 |
msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
|
377 |
|
378 |
-
#: lib/yit-upgrade.php:
|
379 |
msgid ""
|
380 |
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
381 |
msgstr ""
|
382 |
"per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di "
|
383 |
"%plugin_name%."
|
384 |
|
385 |
-
#: lib/yit-upgrade.php:
|
386 |
msgid "Update now."
|
387 |
msgstr "Aggiorna adesso."
|
388 |
|
389 |
-
#: lib/yit-upgrade.php:
|
390 |
-
|
|
|
|
|
391 |
msgstr "Repository YIThemes"
|
392 |
|
393 |
-
#: lib/yit-upgrade.php:
|
394 |
msgid "Invalid URL Provided."
|
395 |
msgstr "L'URL inserito non è valido."
|
396 |
|
397 |
-
#: lib/yit-upgrade.php:
|
398 |
msgid "Could not create Temporary file."
|
399 |
msgstr "Non è stato possibile creare il file temporaneo."
|
400 |
|
401 |
-
#: lib/yit-upgrade.php:
|
402 |
-
#, php-format
|
|
|
|
|
|
|
|
|
403 |
msgid ""
|
404 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
405 |
-
"yit-changelog-button\" title=\"%3$s\">View version
|
|
|
406 |
msgstr ""
|
407 |
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
408 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
409 |
"%4$s</a>."
|
410 |
|
411 |
-
#: lib/yit-upgrade.php:
|
412 |
-
#, php-format
|
|
|
|
|
|
|
|
|
|
|
413 |
msgid ""
|
414 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
415 |
-
"yit-changelog-button\" title=\"%3$s\">View version
|
416 |
-
"have to activate the plugin on a single site of
|
417 |
-
"automatic updates.</em>"
|
418 |
msgstr ""
|
419 |
"È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
420 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
421 |
"%4$s</a>. <em>Per poter usufruire degli aggiornamenti automatici è "
|
422 |
"necessario attivare il plugin su un solo sito.</em>"
|
423 |
|
424 |
-
#: lib/yit-upgrade.php:
|
425 |
-
#, php-format
|
|
|
|
|
|
|
|
|
|
|
|
|
426 |
msgid ""
|
427 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
428 |
-
"yit-changelog-button\" title=\"%3$s\">View version
|
429 |
-
"<em>Automatic update is unavailable for this plugin,
|
430 |
-
"title=\"License activation\">activate</a> your copy
|
|
|
431 |
msgstr ""
|
432 |
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
433 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
@@ -435,112 +500,114 @@ msgstr ""
|
|
435 |
"plugin, per piacere <a href=\"%5$s\" title=\"License activation\">attivi</a> "
|
436 |
"la sua copia di %6s.</em>"
|
437 |
|
438 |
-
#: lib/yit-upgrade.php:
|
439 |
-
#, php-format
|
|
|
|
|
|
|
|
|
440 |
msgid ""
|
441 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
442 |
-
"yit-changelog-button\" title=\"%3$s\">View version
|
443 |
-
"href=\"%5$s\">update now</a>."
|
444 |
msgstr ""
|
445 |
"È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
446 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
447 |
"%4$s</a> oppure <a href=\"%5$s\">aggiorna adesso</a>."
|
448 |
|
449 |
-
#: lib/yit-upgrade.php:
|
450 |
msgid "You can't update the plugins for this site."
|
451 |
msgstr "Non è possibile aggiornare i plugin per questo sito."
|
452 |
|
453 |
-
#: lib/yit-upgrade.php:
|
454 |
msgid ""
|
455 |
"You do not have sufficient permissions to update the plugins for this site."
|
456 |
msgstr ""
|
457 |
"Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin "
|
458 |
"in questo sito."
|
459 |
|
460 |
-
#: lib/yit-upgrade.php:
|
461 |
msgid "Update Plugin"
|
462 |
msgstr "Aggiorna plugin"
|
463 |
|
464 |
-
#: licence/lib/yit-licence.php:
|
465 |
#, php-format
|
466 |
msgctxt "%s = field name"
|
467 |
msgid "%s field cannot be empty"
|
468 |
msgstr "Il campo %s non può essere vuoto"
|
469 |
|
470 |
-
#: licence/lib/yit-licence.php:
|
471 |
#, php-format
|
472 |
msgid "%s and %s fields cannot be empty"
|
473 |
msgstr "I campi %s e %s non possono essere vuoti"
|
474 |
|
475 |
-
#: licence/lib/yit-licence.php:
|
476 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
477 |
msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
|
478 |
|
479 |
-
#: licence/lib/yit-licence.php:
|
480 |
#: licence/templates/panel/activation/activation-panel.php:88
|
481 |
#: licence/templates/panel/activation/activation-panel.php:166
|
482 |
#: licence/templates/panel/activation/activation-panel.php:197
|
483 |
-
#: templates/metaboxes/types/contactform.php:148
|
484 |
-
#: templates/metaboxes/types/contactform.php:340
|
485 |
msgid "Email"
|
486 |
msgstr "Email"
|
487 |
|
488 |
-
#: licence/lib/yit-licence.php:
|
489 |
#: licence/templates/panel/activation/activation-panel.php:89
|
490 |
#: licence/templates/panel/activation/activation-panel.php:167
|
491 |
#: licence/templates/panel/activation/activation-panel.php:198
|
492 |
msgid "License Key"
|
493 |
msgstr "Chiave di licenza"
|
494 |
|
495 |
-
#: licence/lib/yit-licence.php:
|
496 |
msgid "Are you sure you want to deactivate the license for current site?"
|
497 |
msgstr "Sei sicuro di voler disattivare la licenza per questo sito?"
|
498 |
|
499 |
-
#: licence/lib/yit-licence.php:
|
500 |
msgid "Invalid Request"
|
501 |
msgstr "Richiesta non valida"
|
502 |
|
503 |
-
#: licence/lib/yit-licence.php:
|
504 |
msgid "Invalid license key"
|
505 |
msgstr "Chiave di licenza non valida"
|
506 |
|
507 |
-
#: licence/lib/yit-licence.php:
|
508 |
msgid "Software has been deactivated"
|
509 |
msgstr "Il software è stato disattivato"
|
510 |
|
511 |
-
#: licence/lib/yit-licence.php:
|
512 |
msgid "Maximum number of activations exceeded"
|
513 |
msgstr "Hai raggiunto il numero massimo di attivazioni"
|
514 |
|
515 |
-
#: licence/lib/yit-licence.php:
|
516 |
msgid "Invalid instance ID"
|
517 |
msgstr "Istanza ID non valida"
|
518 |
|
519 |
-
#: licence/lib/yit-licence.php:
|
520 |
msgid "Invalid security key"
|
521 |
msgstr "Chiave di sicurezza non valida"
|
522 |
|
523 |
-
#: licence/lib/yit-licence.php:
|
524 |
msgid "License key has expired"
|
525 |
msgstr "La chiave di licenza è scaduta"
|
526 |
|
527 |
-
#: licence/lib/yit-licence.php:
|
528 |
msgid "License key has been banned"
|
529 |
msgstr "La chiave di licenza è stata bloccata"
|
530 |
|
531 |
-
#: licence/lib/yit-licence.php:
|
532 |
msgid "Current product is not included in your YITH Club Subscription key"
|
533 |
msgstr "Questo prodotto non è incluso nella tua licenze YITH Club Subscription"
|
534 |
|
535 |
-
#: licence/lib/yit-licence.php:
|
536 |
msgid "Great"
|
537 |
msgstr "Grande!"
|
538 |
|
539 |
-
#: licence/lib/yit-licence.php:
|
540 |
msgid "License successfully activated"
|
541 |
msgstr "Licenza attivata con successo"
|
542 |
|
543 |
-
#: licence/lib/yit-licence.php:
|
544 |
msgid "License key deactivated for website"
|
545 |
msgstr "Chiave di licenza disattivata per il sito web"
|
546 |
|
@@ -564,6 +631,18 @@ msgstr ""
|
|
564 |
"acquistato diverso tempo fa. Dove posso trovarla?"
|
565 |
|
566 |
#: licence/lib/yit-theme-licence.php:163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
567 |
msgid ""
|
568 |
"If you have purchased one of our products before 27 January 2015, you can "
|
569 |
"benefit from support and updates (the services offered with the license)\n"
|
@@ -573,7 +652,7 @@ msgid ""
|
|
573 |
" After 27 January 2016, instead, if you want to benefit "
|
574 |
"from support and updates you have to buy a new license and activate it "
|
575 |
"through the license key you will be\n"
|
576 |
-
" provided with and that you can find in your
|
577 |
"account, in section \"My licenses\"."
|
578 |
msgstr ""
|
579 |
"Se hai acquistato uno dei nostri prodotti prima del 27 gennaio 2015, potrai "
|
@@ -588,8 +667,10 @@ msgstr ""
|
|
588 |
"sezione \"My licenses\"."
|
589 |
|
590 |
#: licence/templates/panel/activation/activation-panel.php:23
|
591 |
-
|
592 |
-
|
|
|
|
|
593 |
|
594 |
#: licence/templates/panel/activation/activation-panel.php:27
|
595 |
msgid ""
|
@@ -670,399 +751,362 @@ msgstr "Acquista di nuovo"
|
|
670 |
msgid "Renew license"
|
671 |
msgstr "Rinnova la licenza"
|
672 |
|
673 |
-
#: templates/
|
674 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
675 |
msgstr "Cerca un prodotto"
|
676 |
|
677 |
-
#: templates/
|
678 |
-
msgid "
|
679 |
-
msgstr "
|
680 |
|
681 |
-
#: templates/
|
682 |
-
msgid "
|
683 |
-
msgstr "
|
684 |
|
685 |
-
#: templates/
|
686 |
-
msgid "
|
687 |
-
msgstr "
|
688 |
|
689 |
-
#: templates/
|
690 |
-
msgid "
|
691 |
-
msgstr "
|
692 |
|
693 |
-
#: templates/
|
694 |
-
msgid "
|
695 |
-
msgstr "
|
696 |
|
697 |
-
#: templates/
|
698 |
-
msgid "
|
699 |
-
msgstr "
|
700 |
|
701 |
-
#: templates/
|
702 |
-
msgid "
|
703 |
-
msgstr "
|
704 |
|
705 |
-
#: templates/
|
706 |
-
|
707 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
708 |
|
709 |
-
#: templates/
|
710 |
-
msgid "
|
711 |
-
msgstr "
|
712 |
|
713 |
-
#: templates/
|
714 |
-
msgid "
|
715 |
-
msgstr "
|
|
|
|
|
|
|
|
|
716 |
|
717 |
-
#: templates/
|
718 |
-
msgid "
|
719 |
-
msgstr "
|
720 |
|
721 |
-
#: templates/
|
722 |
-
|
723 |
-
|
|
|
|
|
724 |
|
725 |
-
#: templates/
|
726 |
-
|
727 |
-
|
728 |
-
msgstr "Nessuno"
|
729 |
|
730 |
-
#: templates/
|
731 |
-
msgid "
|
732 |
-
msgstr "
|
733 |
|
734 |
-
#: templates/
|
735 |
-
|
736 |
-
|
737 |
-
#: templates/metaboxes/types/customtabs.php:82
|
738 |
-
msgid "Remove"
|
739 |
-
msgstr "Rimuovi"
|
740 |
|
741 |
-
#: templates/
|
742 |
-
|
743 |
-
|
744 |
-
msgstr "Fai clic per aprire/chiudere"
|
745 |
|
746 |
-
#: templates/
|
747 |
-
|
748 |
-
|
749 |
-
msgstr "Titolo campo"
|
750 |
|
751 |
-
#: templates/
|
752 |
-
|
753 |
-
|
754 |
-
msgstr "Inserisci il titolo per il campo"
|
755 |
|
756 |
-
#: templates/
|
757 |
-
|
758 |
-
|
759 |
-
msgstr "Nome dati"
|
760 |
|
761 |
-
#: templates/metaboxes/types/
|
762 |
-
#: templates/metaboxes/types/contactform.php:282
|
763 |
-
msgid ""
|
764 |
-
"REQUIRED: Field identification name to be entered into email body. "
|
765 |
-
"<strong>Note:</strong>Use only lowercase characters and underscores."
|
766 |
-
msgstr ""
|
767 |
-
"RICHIESTO: Nome identificativo del campo da inserire nel corpo dell'email. "
|
768 |
-
"<strong>Nota:</strong>Puoi utilizzare solamente caratteri minuscoli e "
|
769 |
-
"underscore."
|
770 |
-
|
771 |
-
#: templates/metaboxes/types/contactform.php:95
|
772 |
-
#: templates/metaboxes/types/contactform.php:287
|
773 |
-
msgid "Field Type"
|
774 |
-
msgstr "Tipologia campo"
|
775 |
-
|
776 |
-
#: templates/metaboxes/types/contactform.php:103
|
777 |
-
#: templates/metaboxes/types/contactform.php:295
|
778 |
-
msgid "Select the type for this field."
|
779 |
-
msgstr "Seleziona il tipo di campo."
|
780 |
-
|
781 |
-
#: templates/metaboxes/types/contactform.php:108
|
782 |
-
#: templates/metaboxes/types/contactform.php:300
|
783 |
-
msgid "Checked"
|
784 |
-
msgstr "Selezionato"
|
785 |
-
|
786 |
-
#: templates/metaboxes/types/contactform.php:112
|
787 |
-
#: templates/metaboxes/types/contactform.php:304
|
788 |
-
msgid "Select this option if you want this field appears as already checked."
|
789 |
-
msgstr "Seleziona questa opzione se vuoi che il campo appaia già selezionato."
|
790 |
-
|
791 |
-
#: templates/metaboxes/types/contactform.php:117
|
792 |
-
#: templates/metaboxes/types/contactform.php:309
|
793 |
-
msgid "Add options "
|
794 |
-
msgstr "Aggiungi opzioni"
|
795 |
-
|
796 |
-
#: templates/metaboxes/types/contactform.php:118
|
797 |
-
#: templates/metaboxes/types/contactform.php:310
|
798 |
-
msgid "Add option"
|
799 |
-
msgstr "Aggiungi opzione"
|
800 |
-
|
801 |
-
#: templates/metaboxes/types/contactform.php:121
|
802 |
-
#: templates/metaboxes/types/contactform.php:313
|
803 |
-
#: templates/metaboxes/types/contactform.php:436
|
804 |
-
msgid "Selected"
|
805 |
-
msgstr "Selezionato"
|
806 |
-
|
807 |
-
#: templates/metaboxes/types/contactform.php:124
|
808 |
-
#: templates/metaboxes/types/contactform.php:316
|
809 |
-
#: templates/metaboxes/types/contactform.php:436
|
810 |
-
msgid "Delete option"
|
811 |
-
msgstr "Cancella opzione"
|
812 |
-
|
813 |
-
#: templates/metaboxes/types/contactform.php:130
|
814 |
-
#: templates/metaboxes/types/contactform.php:322
|
815 |
-
msgid "Error Message"
|
816 |
-
msgstr "Messaggio di errore"
|
817 |
-
|
818 |
-
#: templates/metaboxes/types/contactform.php:134
|
819 |
-
#: templates/metaboxes/types/contactform.php:326
|
820 |
-
msgid "Insert the error message for validation."
|
821 |
-
msgstr "Inserisci il messaggio di errore per la validazione"
|
822 |
-
|
823 |
-
#: templates/metaboxes/types/contactform.php:139
|
824 |
-
#: templates/metaboxes/types/contactform.php:331
|
825 |
-
msgid "Required"
|
826 |
-
msgstr "Obbligatorio"
|
827 |
-
|
828 |
-
#: templates/metaboxes/types/contactform.php:143
|
829 |
-
#: templates/metaboxes/types/contactform.php:335
|
830 |
-
msgid "Select this option if it must be required."
|
831 |
-
msgstr "Seleziona questa opzione se deve essere obbligatoria."
|
832 |
-
|
833 |
-
#: templates/metaboxes/types/contactform.php:152
|
834 |
-
#: templates/metaboxes/types/contactform.php:344
|
835 |
-
msgid "Select this option if the email must be valid."
|
836 |
-
msgstr "Seleziona questa opzione se l'email inserita deve essere esistente."
|
837 |
-
|
838 |
-
#: templates/metaboxes/types/contactform.php:157
|
839 |
-
#: templates/metaboxes/types/contactform.php:349
|
840 |
-
msgid "Reply To"
|
841 |
-
msgstr "Rispondi a"
|
842 |
-
|
843 |
-
#: templates/metaboxes/types/contactform.php:161
|
844 |
-
#: templates/metaboxes/types/contactform.php:353
|
845 |
-
msgid "Select this if it is the email you can reply to."
|
846 |
-
msgstr "Seleziona questo se è l'email a cui poter rispondere. "
|
847 |
-
|
848 |
-
#: templates/metaboxes/types/contactform.php:166
|
849 |
-
#: templates/metaboxes/types/contactform.php:358
|
850 |
-
msgid "Class"
|
851 |
-
msgstr "Classe"
|
852 |
-
|
853 |
-
#: templates/metaboxes/types/contactform.php:170
|
854 |
-
#: templates/metaboxes/types/contactform.php:362
|
855 |
-
msgid ""
|
856 |
-
"Insert additional class(es) (separated by commas) for more personalization."
|
857 |
-
msgstr ""
|
858 |
-
"Inserisci una o più classi (separate da virgole) per una ulteriore "
|
859 |
-
"personalizzazione."
|
860 |
-
|
861 |
-
#: templates/metaboxes/types/contactform.php:175
|
862 |
-
#: templates/metaboxes/types/contactform.php:367
|
863 |
-
msgid "Icon"
|
864 |
-
msgstr "Icona"
|
865 |
-
|
866 |
-
#: templates/metaboxes/types/contactform.php:203
|
867 |
-
#: templates/metaboxes/types/contactform.php:391
|
868 |
-
#: templates/metaboxes/types/icon-list.php:69
|
869 |
-
#: templates/metaboxes/types/select-icon.php:33
|
870 |
-
#: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
|
871 |
#: templates/panel/woocommerce/woocommerce-upload.php:40
|
872 |
msgid "Upload"
|
873 |
msgstr "Carica"
|
874 |
|
875 |
-
#: templates/
|
876 |
-
|
877 |
-
|
878 |
-
|
|
|
879 |
msgid "Image preview"
|
880 |
msgstr "Anteprima immagine"
|
881 |
|
882 |
-
#: templates/metaboxes/types/
|
883 |
-
|
884 |
-
msgid "
|
885 |
-
msgstr "
|
886 |
|
887 |
-
#: templates/metaboxes/types/
|
888 |
-
|
889 |
-
msgid "
|
890 |
-
msgstr "
|
891 |
|
892 |
-
#: templates/
|
893 |
-
|
894 |
-
|
895 |
-
msgstr "Seleziona lunghezza campo."
|
896 |
|
897 |
-
#:
|
898 |
-
|
899 |
-
|
|
|
900 |
|
901 |
-
#:
|
902 |
-
|
903 |
-
|
|
|
904 |
|
905 |
-
#:
|
906 |
-
|
907 |
-
msgid "
|
908 |
-
msgstr "
|
909 |
|
910 |
-
#:
|
911 |
-
|
912 |
-
msgid "
|
913 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
914 |
|
915 |
-
#:
|
916 |
-
|
917 |
-
|
|
|
|
|
918 |
|
919 |
-
|
920 |
-
|
921 |
-
msgstr "Vuoi rimuovere la scheda personalizzata?"
|
922 |
|
923 |
-
|
924 |
-
|
925 |
-
msgid "(Default: %s <img src=\"%s\"/>)"
|
926 |
-
msgstr "(Default: %s <img src=\"%s\"/>)"
|
927 |
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
msgstr "
|
|
|
|
|
932 |
|
933 |
-
|
934 |
-
|
935 |
-
#: templates/metaboxes/types/images.php:38
|
936 |
-
#: templates/metaboxes/types/images.php:64
|
937 |
-
msgid "Delete image"
|
938 |
-
msgstr "Rimuovi immagine"
|
939 |
|
940 |
-
|
941 |
-
|
942 |
-
msgstr "Aggiungi immagini alla galleria"
|
943 |
|
944 |
-
|
945 |
-
|
946 |
-
msgstr "Aggiungi alla galleria"
|
947 |
|
948 |
-
|
949 |
-
|
950 |
-
msgstr "Aggiungi immagini"
|
951 |
|
952 |
-
|
953 |
-
|
954 |
-
msgstr "Rimuovi"
|
955 |
|
956 |
-
|
957 |
-
|
958 |
-
msgstr "Carica nuove immagini"
|
959 |
|
960 |
-
|
961 |
-
|
962 |
-
msgstr "Confermi di voler rimuovere questa immagine?"
|
963 |
|
964 |
-
|
965 |
-
|
966 |
-
msgid "Left sidebar"
|
967 |
-
msgstr "Barra laterale sinistra"
|
968 |
|
969 |
-
|
970 |
-
|
971 |
-
#: templates/metaboxes/types/sidebars.php:45
|
972 |
-
msgid "No sidebar"
|
973 |
-
msgstr "Nessuna barra laterale"
|
974 |
|
975 |
-
|
976 |
-
|
977 |
-
msgid "Right sidebar"
|
978 |
-
msgstr "Barra laterale destra"
|
979 |
|
980 |
-
|
981 |
-
|
982 |
-
#: templates/metaboxes/types/sidebars.php:64
|
983 |
-
msgid "Choose a sidebar"
|
984 |
-
msgstr "Scegli una barra laterale"
|
985 |
|
986 |
-
|
987 |
-
|
988 |
-
msgstr "Barra laterale sinistra"
|
989 |
|
990 |
-
|
991 |
-
|
992 |
-
msgstr "Barra laterale destra"
|
993 |
|
994 |
-
|
995 |
-
|
996 |
-
msgstr "px"
|
997 |
|
998 |
-
|
999 |
-
|
1000 |
-
msgstr "em"
|
1001 |
|
1002 |
-
|
1003 |
-
|
1004 |
-
msgstr "pt"
|
1005 |
|
1006 |
-
|
1007 |
-
|
1008 |
-
msgstr "rem"
|
1009 |
|
1010 |
-
|
1011 |
-
|
1012 |
-
#: templates/metaboxes/types/typography.php:217
|
1013 |
-
msgid "Web fonts"
|
1014 |
-
msgstr "Web fonts"
|
1015 |
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
|
|
|
|
|
|
|
|
1019 |
|
1020 |
-
|
1021 |
-
|
1022 |
-
msgstr "Normale"
|
1023 |
|
1024 |
-
|
1025 |
-
|
1026 |
-
msgstr "Grassetto"
|
1027 |
|
1028 |
-
|
1029 |
-
|
1030 |
-
msgstr "Extra bold"
|
1031 |
|
1032 |
-
|
1033 |
-
|
1034 |
-
msgstr "
|
|
|
1035 |
|
1036 |
-
|
1037 |
-
|
1038 |
-
msgstr "Grassetto corsivo"
|
1039 |
|
1040 |
-
|
1041 |
-
|
1042 |
-
msgstr "Iscriviti al Club"
|
1043 |
|
1044 |
-
|
1045 |
-
|
1046 |
-
msgstr "Despacho Theme - 100% GRATUITO"
|
1047 |
|
1048 |
-
|
1049 |
-
|
1050 |
-
msgstr "GRATIS!"
|
1051 |
|
1052 |
-
|
1053 |
-
|
1054 |
-
msgstr "Link importanti"
|
1055 |
|
1056 |
-
|
1057 |
-
|
1058 |
-
msgstr "Ripristina"
|
1059 |
|
1060 |
-
|
1061 |
-
|
1062 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1063 |
|
1064 |
-
#~ msgid "
|
1065 |
-
#~ msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1066 |
|
1067 |
#~ msgid ""
|
1068 |
#~ "Have you purchased the premium version of a plugin? Don't you know how to "
|
@@ -1169,9 +1213,6 @@ msgstr "Ripristina impostazioni iniziali"
|
|
1169 |
#~ "facilmente recuperarla dalla sezione \"My Licenses\" all'interno della "
|
1170 |
#~ "sezione My Account del nostro sito yithemes.com."
|
1171 |
|
1172 |
-
#~ msgid "YITH Plugins"
|
1173 |
-
#~ msgstr "YITH Plugins"
|
1174 |
-
|
1175 |
#~ msgid ""
|
1176 |
#~ "The last step is the activation of the plugin through its license key you "
|
1177 |
#~ "received after the purchase. Click on \"License Activation\" that you "
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2018-08-02 16:02+0200\n"
|
8 |
+
"PO-Revision-Date: 2018-08-02 16:02+0200\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
11 |
"Language: it_IT\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Generator: Poedit 2.0.8\n"
|
16 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
17 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
18 |
"esc_html_x:1,2c\n"
|
22 |
"X-Textdomain-Support: yes\n"
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
|
25 |
+
#: lib/privacy/yit-privacy.php:24
|
26 |
+
#, fuzzy
|
27 |
+
#| msgid "YITH Plugins"
|
28 |
+
msgctxt "Privacy Policy Guide Title"
|
29 |
+
msgid "YITH Plugins"
|
30 |
+
msgstr "YITH Plugins"
|
31 |
+
|
32 |
+
#: lib/privacy/yit-privacy.php:59
|
33 |
+
msgctxt "Privacy Policy Content"
|
34 |
+
msgid ""
|
35 |
+
"This sample language includes the basics around what personal data your "
|
36 |
+
"store may be collecting, storing and sharing, as well as who may have access "
|
37 |
+
"to that data. Depending on what settings are enabled and which additional "
|
38 |
+
"plugins are used, the specific information shared by your store will vary. "
|
39 |
+
"We recommend consulting with a lawyer when deciding what information to "
|
40 |
+
"disclose on your privacy policy."
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: lib/privacy/yit-privacy.php:63
|
44 |
+
msgctxt "Privacy Policy Content"
|
45 |
+
msgid "What we collect and store"
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: lib/privacy/yit-privacy.php:66
|
49 |
+
msgctxt "Privacy Policy Content"
|
50 |
+
msgid "Who on our team has access"
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: lib/privacy/yit-privacy.php:69
|
54 |
+
msgctxt "Privacy Policy Content"
|
55 |
+
msgid "What we share with others"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: lib/privacy/yit-privacy.php:72
|
59 |
+
msgctxt "Privacy Policy Content"
|
60 |
+
msgid "Payments"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
|
64 |
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
|
65 |
#, php-format
|
119 |
msgid "Category"
|
120 |
msgstr "Categoria"
|
121 |
|
122 |
+
#: lib/yit-cpt-unlimited.php:627 templates/fields/ajax-terms.php:56
|
123 |
msgid "Search Categories"
|
124 |
msgstr "Cerca categorie"
|
125 |
|
165 |
msgstr "Impostazioni %s"
|
166 |
|
167 |
#: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
|
168 |
+
#: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:73
|
169 |
msgid "Settings"
|
170 |
msgstr "Impostazioni"
|
171 |
|
250 |
msgid "Show frontend of the %s"
|
251 |
msgstr "Mostra front end di %s"
|
252 |
|
253 |
+
#: lib/yit-cpt-unlimited.php:1482 templates/fields/customtabs.php:46
|
254 |
+
#: templates/fields/customtabs.php:89
|
255 |
msgid "Name"
|
256 |
msgstr "Nome"
|
257 |
|
264 |
msgid "Upload multiple files"
|
265 |
msgstr "Carica file multipli"
|
266 |
|
267 |
+
#: lib/yit-plugin-panel-wc.php:382
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
268 |
msgid "The changes you have made will be lost if you leave this page."
|
269 |
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
270 |
|
271 |
+
#: lib/yit-plugin-panel.php:72
|
272 |
msgid "Plugin Settings"
|
273 |
msgstr "Impostazioni plugin"
|
274 |
|
275 |
+
#: lib/yit-plugin-panel.php:330 lib/yit-plugin-panel.php:333
|
276 |
msgid "How to install premium version"
|
277 |
msgstr "Come installare la versione premium"
|
278 |
|
279 |
+
#: lib/yit-plugin-panel.php:384 lib/yit-plugin-subpanel.php:155
|
280 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
281 |
msgid "Save Changes"
|
282 |
msgstr "Salva modifiche"
|
283 |
|
284 |
+
#: lib/yit-plugin-panel.php:387 lib/yit-plugin-subpanel.php:158
|
285 |
#: templates/panel/woocommerce/woocommerce-form.php:14
|
286 |
msgid ""
|
287 |
"If you continue with this action, you will reset all options in this page."
|
289 |
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
290 |
"reimpostate."
|
291 |
|
292 |
+
#: lib/yit-plugin-panel.php:389 lib/yit-plugin-subpanel.php:160
|
293 |
msgid "Reset to default"
|
294 |
msgstr "Ripristina configurazione predefinita"
|
295 |
|
296 |
+
#: lib/yit-plugin-panel.php:390 lib/yit-plugin-subpanel.php:161
|
297 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
298 |
msgid "Are you sure?"
|
299 |
msgstr "Sei sicuro?"
|
300 |
|
301 |
+
#: lib/yit-plugin-panel.php:524
|
302 |
msgid ""
|
303 |
"The element you have entered already exists. Please, enter another name."
|
304 |
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
|
305 |
|
306 |
+
#: lib/yit-plugin-panel.php:525
|
307 |
msgid "Settings saved"
|
308 |
msgstr "Impostazioni salvate"
|
309 |
|
310 |
+
#: lib/yit-plugin-panel.php:526
|
311 |
msgid "Settings reset"
|
312 |
msgstr "Impostazioni azzerate"
|
313 |
|
314 |
+
#: lib/yit-plugin-panel.php:527
|
315 |
msgid "Element deleted correctly."
|
316 |
msgstr "Elemento rimosso correttamente."
|
317 |
|
318 |
+
#: lib/yit-plugin-panel.php:528 lib/yit-plugin-panel.php:529
|
319 |
msgid "Element updated correctly."
|
320 |
msgstr "Elemento aggiornato correttamente."
|
321 |
|
322 |
+
#: lib/yit-plugin-panel.php:530
|
323 |
msgid "Database imported correctly."
|
324 |
msgstr "Database importato correttamente."
|
325 |
|
326 |
+
#: lib/yit-plugin-panel.php:531
|
327 |
msgid "An error has occurred during import. Please try again."
|
328 |
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
|
329 |
|
330 |
+
#: lib/yit-plugin-panel.php:532
|
331 |
msgid "The added file is not valid."
|
332 |
msgstr "Il file aggiunto non è valido."
|
333 |
|
334 |
+
#: lib/yit-plugin-panel.php:533
|
335 |
msgid "Sorry, import is disabled."
|
336 |
msgstr "Ci dispiace, l'importazione è disabilitata."
|
337 |
|
338 |
+
#: lib/yit-plugin-panel.php:534
|
339 |
msgid "Sorting successful."
|
340 |
msgstr "Ordinamento effettuato con successo."
|
341 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
342 |
#: lib/yit-pointers.php:70
|
343 |
msgid "Plugins Activated"
|
344 |
msgstr "Plugin attivati"
|
345 |
|
346 |
#: lib/yit-pointers.php:71
|
347 |
+
#, fuzzy
|
348 |
+
#| msgid ""
|
349 |
+
#| "From now on, you can find all plugin options in YIT Plugin menu.\n"
|
350 |
+
#| " For each plugin installed, "
|
351 |
+
#| "customization settings will be available as a new entry in YIT Plugin "
|
352 |
+
#| "menu."
|
353 |
msgid ""
|
354 |
+
"From now on, you can find all plugin options in YITH Plugins menu.\n"
|
355 |
+
" Plugin customization settings will be "
|
356 |
+
"available as a new entry in YITH Plugins menu."
|
357 |
msgstr ""
|
358 |
"Da ora in poi, puoi trovare tutte le opzioni dei tuoi plugin nel menu Plugin "
|
359 |
"YIT.\n"
|
373 |
msgstr "Plugin aggiornati"
|
374 |
|
375 |
#: lib/yit-pointers.php:85
|
376 |
+
#, fuzzy
|
377 |
+
#| msgid ""
|
378 |
+
#| "From now on, you can find all options of your plugins in YIT Plugin "
|
379 |
+
#| "menu.\n"
|
380 |
+
#| " Any time one of our plugins is "
|
381 |
+
#| "updated, a new entry will be added to this menu.\n"
|
382 |
+
#| " For example, after the update, plugin "
|
383 |
+
#| "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
|
384 |
+
#| "Search, etc.)\n"
|
385 |
+
#| " will be moved from previous location "
|
386 |
+
#| "to YIT Plugin tab."
|
387 |
msgid ""
|
388 |
+
"From now on, you can find the option panel of YITH plugins in YITH Plugins "
|
389 |
+
"menu.\n"
|
390 |
+
" Every time one of our plugins is added, "
|
391 |
"a new entry will be added to this menu.\n"
|
392 |
" For example, after the update, plugin "
|
393 |
"options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
|
394 |
"Search, etc.)\n"
|
395 |
" will be moved from previous location to "
|
396 |
+
"YITH Plugins tab."
|
397 |
msgstr ""
|
398 |
"Da ora in poi, troverai tutte le opzioni dei tuoi plugin nel menu Plugin "
|
399 |
"YIT.\n"
|
403 |
"quelle di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
|
404 |
"saranno trasferite nella scheda Plugin YIT."
|
405 |
|
406 |
+
#: lib/yit-upgrade.php:89
|
407 |
+
#, fuzzy
|
408 |
+
#| msgid "Unable to contact the remote server, please try again later. Thanks!"
|
409 |
+
msgid "An unexpected error occurred, please try again later. Thanks!"
|
410 |
+
msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
|
411 |
+
|
412 |
+
#: lib/yit-upgrade.php:184
|
413 |
msgid "There is a new version of %plugin_name% available."
|
414 |
msgstr "Una nuova versione di %plugin_name% è disponibile."
|
415 |
|
416 |
+
#: lib/yit-upgrade.php:185
|
417 |
msgid "View version %latest% details."
|
418 |
msgstr "Visualizza i dettagli della versione %latest%."
|
419 |
|
420 |
+
#: lib/yit-upgrade.php:186
|
421 |
msgid "Automatic update is unavailable for this plugin,"
|
422 |
msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
|
423 |
|
424 |
+
#: lib/yit-upgrade.php:187
|
425 |
msgid ""
|
426 |
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
427 |
msgstr ""
|
428 |
"per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di "
|
429 |
"%plugin_name%."
|
430 |
|
431 |
+
#: lib/yit-upgrade.php:188
|
432 |
msgid "Update now."
|
433 |
msgstr "Aggiorna adesso."
|
434 |
|
435 |
+
#: lib/yit-upgrade.php:288
|
436 |
+
#, fuzzy
|
437 |
+
#| msgid "YIThemes Repository"
|
438 |
+
msgid "YITH Repository"
|
439 |
msgstr "Repository YIThemes"
|
440 |
|
441 |
+
#: lib/yit-upgrade.php:322
|
442 |
msgid "Invalid URL Provided."
|
443 |
msgstr "L'URL inserito non è valido."
|
444 |
|
445 |
+
#: lib/yit-upgrade.php:335
|
446 |
msgid "Could not create Temporary file."
|
447 |
msgstr "Non è stato possibile creare il file temporaneo."
|
448 |
|
449 |
+
#: lib/yit-upgrade.php:495
|
450 |
+
#, fuzzy, php-format
|
451 |
+
#| msgid ""
|
452 |
+
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
453 |
+
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
454 |
+
#| "details</a>."
|
455 |
msgid ""
|
456 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
457 |
+
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
458 |
+
"%4$s details</a>."
|
459 |
msgstr ""
|
460 |
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
461 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
462 |
"%4$s</a>."
|
463 |
|
464 |
+
#: lib/yit-upgrade.php:497
|
465 |
+
#, fuzzy, php-format
|
466 |
+
#| msgid ""
|
467 |
+
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
468 |
+
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
469 |
+
#| "details</a>. <em>You have to activate the plugin on a single site of the "
|
470 |
+
#| "network to benefit from automatic updates.</em>"
|
471 |
msgid ""
|
472 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
473 |
+
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
474 |
+
"%4$s details</a>. <em>You have to activate the plugin on a single site of "
|
475 |
+
"the network to benefit from automatic updates.</em>"
|
476 |
msgstr ""
|
477 |
"È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
478 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
479 |
"%4$s</a>. <em>Per poter usufruire degli aggiornamenti automatici è "
|
480 |
"necessario attivare il plugin su un solo sito.</em>"
|
481 |
|
482 |
+
#: lib/yit-upgrade.php:499
|
483 |
+
#, fuzzy, php-format
|
484 |
+
#| msgid ""
|
485 |
+
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
486 |
+
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
487 |
+
#| "details</a>. <em>Automatic update is unavailable for this plugin, please "
|
488 |
+
#| "<a href=\"%5$s\" title=\"License activation\">activate</a> your copy of "
|
489 |
+
#| "%6s.</em>"
|
490 |
msgid ""
|
491 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
492 |
+
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
493 |
+
"%4$s details</a>. <em>Automatic update is unavailable for this plugin, "
|
494 |
+
"please <a href=\"%5$s\" title=\"License activation\">activate</a> your copy "
|
495 |
+
"of %6s.</em>"
|
496 |
msgstr ""
|
497 |
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
498 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
500 |
"plugin, per piacere <a href=\"%5$s\" title=\"License activation\">attivi</a> "
|
501 |
"la sua copia di %6s.</em>"
|
502 |
|
503 |
+
#: lib/yit-upgrade.php:501
|
504 |
+
#, fuzzy, php-format
|
505 |
+
#| msgid ""
|
506 |
+
#| "There is a new version of %1$s available. <a href=\"%2$s\" class="
|
507 |
+
#| "\"thickbox yit-changelog-button\" title=\"%3$s\">View version %4$s "
|
508 |
+
#| "details</a> or <a href=\"%5$s\">update now</a>."
|
509 |
msgid ""
|
510 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
511 |
+
"yit-changelog-button open-plugin-details-modal\" title=\"%3$s\">View version "
|
512 |
+
"%4$s details</a> or <a href=\"%5$s\">update now</a>."
|
513 |
msgstr ""
|
514 |
"È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox "
|
515 |
"yit-changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione "
|
516 |
"%4$s</a> oppure <a href=\"%5$s\">aggiorna adesso</a>."
|
517 |
|
518 |
+
#: lib/yit-upgrade.php:574
|
519 |
msgid "You can't update the plugins for this site."
|
520 |
msgstr "Non è possibile aggiornare i plugin per questo sito."
|
521 |
|
522 |
+
#: lib/yit-upgrade.php:578
|
523 |
msgid ""
|
524 |
"You do not have sufficient permissions to update the plugins for this site."
|
525 |
msgstr ""
|
526 |
"Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin "
|
527 |
"in questo sito."
|
528 |
|
529 |
+
#: lib/yit-upgrade.php:585
|
530 |
msgid "Update Plugin"
|
531 |
msgstr "Aggiorna plugin"
|
532 |
|
533 |
+
#: licence/lib/yit-licence.php:187
|
534 |
#, php-format
|
535 |
msgctxt "%s = field name"
|
536 |
msgid "%s field cannot be empty"
|
537 |
msgstr "Il campo %s non può essere vuoto"
|
538 |
|
539 |
+
#: licence/lib/yit-licence.php:188
|
540 |
#, php-format
|
541 |
msgid "%s and %s fields cannot be empty"
|
542 |
msgstr "I campi %s e %s non possono essere vuoti"
|
543 |
|
544 |
+
#: licence/lib/yit-licence.php:189
|
545 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
546 |
msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
|
547 |
|
548 |
+
#: licence/lib/yit-licence.php:190
|
549 |
#: licence/templates/panel/activation/activation-panel.php:88
|
550 |
#: licence/templates/panel/activation/activation-panel.php:166
|
551 |
#: licence/templates/panel/activation/activation-panel.php:197
|
|
|
|
|
552 |
msgid "Email"
|
553 |
msgstr "Email"
|
554 |
|
555 |
+
#: licence/lib/yit-licence.php:191
|
556 |
#: licence/templates/panel/activation/activation-panel.php:89
|
557 |
#: licence/templates/panel/activation/activation-panel.php:167
|
558 |
#: licence/templates/panel/activation/activation-panel.php:198
|
559 |
msgid "License Key"
|
560 |
msgstr "Chiave di licenza"
|
561 |
|
562 |
+
#: licence/lib/yit-licence.php:192
|
563 |
msgid "Are you sure you want to deactivate the license for current site?"
|
564 |
msgstr "Sei sicuro di voler disattivare la licenza per questo sito?"
|
565 |
|
566 |
+
#: licence/lib/yit-licence.php:678
|
567 |
msgid "Invalid Request"
|
568 |
msgstr "Richiesta non valida"
|
569 |
|
570 |
+
#: licence/lib/yit-licence.php:679
|
571 |
msgid "Invalid license key"
|
572 |
msgstr "Chiave di licenza non valida"
|
573 |
|
574 |
+
#: licence/lib/yit-licence.php:680
|
575 |
msgid "Software has been deactivated"
|
576 |
msgstr "Il software è stato disattivato"
|
577 |
|
578 |
+
#: licence/lib/yit-licence.php:681
|
579 |
msgid "Maximum number of activations exceeded"
|
580 |
msgstr "Hai raggiunto il numero massimo di attivazioni"
|
581 |
|
582 |
+
#: licence/lib/yit-licence.php:682
|
583 |
msgid "Invalid instance ID"
|
584 |
msgstr "Istanza ID non valida"
|
585 |
|
586 |
+
#: licence/lib/yit-licence.php:683
|
587 |
msgid "Invalid security key"
|
588 |
msgstr "Chiave di sicurezza non valida"
|
589 |
|
590 |
+
#: licence/lib/yit-licence.php:684
|
591 |
msgid "License key has expired"
|
592 |
msgstr "La chiave di licenza è scaduta"
|
593 |
|
594 |
+
#: licence/lib/yit-licence.php:685
|
595 |
msgid "License key has been banned"
|
596 |
msgstr "La chiave di licenza è stata bloccata"
|
597 |
|
598 |
+
#: licence/lib/yit-licence.php:686
|
599 |
msgid "Current product is not included in your YITH Club Subscription key"
|
600 |
msgstr "Questo prodotto non è incluso nella tua licenze YITH Club Subscription"
|
601 |
|
602 |
+
#: licence/lib/yit-licence.php:687
|
603 |
msgid "Great"
|
604 |
msgstr "Grande!"
|
605 |
|
606 |
+
#: licence/lib/yit-licence.php:687
|
607 |
msgid "License successfully activated"
|
608 |
msgstr "Licenza attivata con successo"
|
609 |
|
610 |
+
#: licence/lib/yit-licence.php:688
|
611 |
msgid "License key deactivated for website"
|
612 |
msgstr "Chiave di licenza disattivata per il sito web"
|
613 |
|
631 |
"acquistato diverso tempo fa. Dove posso trovarla?"
|
632 |
|
633 |
#: licence/lib/yit-theme-licence.php:163
|
634 |
+
#, fuzzy
|
635 |
+
#| msgid ""
|
636 |
+
#| "If you have purchased one of our products before 27 January 2015, you can "
|
637 |
+
#| "benefit from support and updates (the services offered with the license)\n"
|
638 |
+
#| " until 27 January 2016 and you do not have to purchase "
|
639 |
+
#| "it again to get a new license key, because, before this date, your "
|
640 |
+
#| "license used to be activated automatically by our system.\n"
|
641 |
+
#| " After 27 January 2016, instead, if you want to "
|
642 |
+
#| "benefit from support and updates you have to buy a new license and "
|
643 |
+
#| "activate it through the license key you will be\n"
|
644 |
+
#| " provided with and that you can find in your YIThemes "
|
645 |
+
#| "account, in section \"My licenses\"."
|
646 |
msgid ""
|
647 |
"If you have purchased one of our products before 27 January 2015, you can "
|
648 |
"benefit from support and updates (the services offered with the license)\n"
|
652 |
" After 27 January 2016, instead, if you want to benefit "
|
653 |
"from support and updates you have to buy a new license and activate it "
|
654 |
"through the license key you will be\n"
|
655 |
+
" provided with and that you can find in your YITH "
|
656 |
"account, in section \"My licenses\"."
|
657 |
msgstr ""
|
658 |
"Se hai acquistato uno dei nostri prodotti prima del 27 gennaio 2015, potrai "
|
667 |
"sezione \"My licenses\"."
|
668 |
|
669 |
#: licence/templates/panel/activation/activation-panel.php:23
|
670 |
+
#, fuzzy
|
671 |
+
#| msgid "License Activation"
|
672 |
+
msgid "YITH License Activation"
|
673 |
+
msgstr "Attivazione licenza"
|
674 |
|
675 |
#: licence/templates/panel/activation/activation-panel.php:27
|
676 |
msgid ""
|
751 |
msgid "Renew license"
|
752 |
msgstr "Rinnova la licenza"
|
753 |
|
754 |
+
#: templates/fields/ajax-posts.php:57
|
755 |
+
#, fuzzy
|
756 |
+
#| msgid "Search %s"
|
757 |
+
msgid "Search Posts"
|
758 |
+
msgstr "Cerca %s"
|
759 |
+
|
760 |
+
#: templates/fields/ajax-products.php:16
|
761 |
+
#, fuzzy
|
762 |
+
#| msgid "Search for a product"
|
763 |
+
msgid "Search Product"
|
764 |
msgstr "Cerca un prodotto"
|
765 |
|
766 |
+
#: templates/fields/customtabs.php:28
|
767 |
+
msgid "Close all"
|
768 |
+
msgstr "Chiudi tutti"
|
769 |
|
770 |
+
#: templates/fields/customtabs.php:28
|
771 |
+
msgid "Expand all"
|
772 |
+
msgstr "Espandi tutti"
|
773 |
|
774 |
+
#: templates/fields/customtabs.php:37 templates/fields/customtabs.php:81
|
775 |
+
msgid "Remove"
|
776 |
+
msgstr "Rimuovi"
|
777 |
|
778 |
+
#: templates/fields/customtabs.php:52 templates/fields/customtabs.php:94
|
779 |
+
msgid "Value"
|
780 |
+
msgstr "Valore"
|
781 |
|
782 |
+
#: templates/fields/customtabs.php:53 templates/fields/customtabs.php:95
|
783 |
+
msgid "Content of the tab. (HTML is supported)"
|
784 |
+
msgstr "Contenuto della scheda (codice HTML supportato)."
|
785 |
|
786 |
+
#: templates/fields/customtabs.php:65
|
787 |
+
msgid "Add custom product tab"
|
788 |
+
msgstr "Aggiungi scheda prodotto personalizzata"
|
789 |
|
790 |
+
#: templates/fields/customtabs.php:106
|
791 |
+
msgid "Do you want to remove the custom tab?"
|
792 |
+
msgstr "Vuoi rimuovere la scheda personalizzata?"
|
793 |
|
794 |
+
#: templates/fields/icons.php:58
|
795 |
+
#, fuzzy
|
796 |
+
#| msgid "Reset Defaults"
|
797 |
+
msgid "Set Default"
|
798 |
+
msgstr "Ripristina impostazioni iniziali"
|
799 |
+
|
800 |
+
#: templates/fields/image-gallery.php:34 templates/fields/image-gallery.php:39
|
801 |
+
msgid "Delete image"
|
802 |
+
msgstr "Rimuovi immagine"
|
803 |
|
804 |
+
#: templates/fields/image-gallery.php:39
|
805 |
+
msgid "Add Images to Gallery"
|
806 |
+
msgstr "Aggiungi immagini alla galleria"
|
807 |
|
808 |
+
#: templates/fields/image-gallery.php:39
|
809 |
+
msgid "Add to gallery"
|
810 |
+
msgstr "Aggiungi alla galleria"
|
811 |
+
|
812 |
+
#: templates/fields/image-gallery.php:39
|
813 |
+
msgid "Add images"
|
814 |
+
msgstr "Aggiungi immagini"
|
815 |
|
816 |
+
#: templates/fields/image-gallery.php:39
|
817 |
+
msgid "Delete"
|
818 |
+
msgstr "Rimuovi"
|
819 |
|
820 |
+
#: templates/fields/select-buttons.php:26
|
821 |
+
#, fuzzy
|
822 |
+
#| msgid "Select"
|
823 |
+
msgid "Select All"
|
824 |
+
msgstr "Select"
|
825 |
|
826 |
+
#: templates/fields/select-buttons.php:33
|
827 |
+
msgid "Deselect All"
|
828 |
+
msgstr ""
|
|
|
829 |
|
830 |
+
#: templates/fields/sidebars.php:22
|
831 |
+
msgid "Left sidebar"
|
832 |
+
msgstr "Barra laterale sinistra"
|
833 |
|
834 |
+
#: templates/fields/sidebars.php:25
|
835 |
+
msgid "Right sidebar"
|
836 |
+
msgstr "Barra laterale destra"
|
|
|
|
|
|
|
837 |
|
838 |
+
#: templates/fields/sidebars.php:28 templates/fields/sidebars.php:31
|
839 |
+
msgid "No sidebar"
|
840 |
+
msgstr "Nessuna barra laterale"
|
|
|
841 |
|
842 |
+
#: templates/fields/sidebars.php:39
|
843 |
+
msgid "Left Sidebar"
|
844 |
+
msgstr "Barra laterale sinistra"
|
|
|
845 |
|
846 |
+
#: templates/fields/sidebars.php:41 templates/fields/sidebars.php:54
|
847 |
+
msgid "Choose a sidebar"
|
848 |
+
msgstr "Scegli una barra laterale"
|
|
|
849 |
|
850 |
+
#: templates/fields/sidebars.php:52
|
851 |
+
msgid "Right Sidebar"
|
852 |
+
msgstr "Barra laterale destra"
|
|
|
853 |
|
854 |
+
#: templates/fields/upload.php:18 templates/metaboxes/types/icon-list.php:70
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
855 |
#: templates/panel/woocommerce/woocommerce-upload.php:40
|
856 |
msgid "Upload"
|
857 |
msgstr "Carica"
|
858 |
|
859 |
+
#: templates/fields/upload.php:19
|
860 |
+
msgid "Reset"
|
861 |
+
msgstr "Ripristina"
|
862 |
+
|
863 |
+
#: templates/metaboxes/types/icon-list.php:76
|
864 |
msgid "Image preview"
|
865 |
msgstr "Anteprima immagine"
|
866 |
|
867 |
+
#: templates/metaboxes/types/icon-list.php:90
|
868 |
+
#, php-format
|
869 |
+
msgid "(Default: %s <img src=\"%s\"/>)"
|
870 |
+
msgstr "(Default: %s <img src=\"%s\"/>)"
|
871 |
|
872 |
+
#: templates/metaboxes/types/icon-list.php:92
|
873 |
+
#, php-format
|
874 |
+
msgid "(Default: <i %s></i> )"
|
875 |
+
msgstr "(Default: <i %s></i> )"
|
876 |
|
877 |
+
#: templates/panel/woocommerce/woocommerce-form.php:17
|
878 |
+
msgid "Reset Defaults"
|
879 |
+
msgstr "Ripristina impostazioni iniziali"
|
|
|
880 |
|
881 |
+
#: yit-plugin.php:76
|
882 |
+
msgctxt "Plugin Row Meta"
|
883 |
+
msgid "Live Demo"
|
884 |
+
msgstr ""
|
885 |
|
886 |
+
#: yit-plugin.php:81
|
887 |
+
msgctxt "Plugin Row Meta"
|
888 |
+
msgid "Documentation"
|
889 |
+
msgstr ""
|
890 |
|
891 |
+
#: yit-plugin.php:86
|
892 |
+
msgctxt "Plugin Row Meta"
|
893 |
+
msgid "Support"
|
894 |
+
msgstr ""
|
895 |
|
896 |
+
#: yit-plugin.php:91
|
897 |
+
#, fuzzy
|
898 |
+
#| msgid "Premium version upgrade"
|
899 |
+
msgctxt "Plugin Row Meta"
|
900 |
+
msgid "Premium version"
|
901 |
+
msgstr "Aggiorna alla versione PREMIUM"
|
902 |
+
|
903 |
+
#: yit-plugin.php:186
|
904 |
+
#, fuzzy
|
905 |
+
#| msgid "Settings"
|
906 |
+
msgctxt "Action links"
|
907 |
+
msgid "Settings"
|
908 |
+
msgstr "Impostazioni"
|
909 |
|
910 |
+
#: yit-plugin.php:190
|
911 |
+
#, fuzzy
|
912 |
+
#| msgid "License Key"
|
913 |
+
msgid "License"
|
914 |
+
msgstr "Chiave di licenza"
|
915 |
|
916 |
+
#~ msgid "Hide sidebar"
|
917 |
+
#~ msgstr "Nascondi barra laterale"
|
|
|
918 |
|
919 |
+
#~ msgid "Show sidebar"
|
920 |
+
#~ msgstr "Mostra barra laterale"
|
|
|
|
|
921 |
|
922 |
+
#~ msgid ""
|
923 |
+
#~ "If you continue with this action, you will reset all the options in this "
|
924 |
+
#~ "page."
|
925 |
+
#~ msgstr ""
|
926 |
+
#~ "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
927 |
+
#~ "reimpostate."
|
928 |
|
929 |
+
#~ msgid "Yithemes License Activation"
|
930 |
+
#~ msgstr "Attivazione licenza YIThemes"
|
|
|
|
|
|
|
|
|
931 |
|
932 |
+
#~ msgid "No categories."
|
933 |
+
#~ msgstr "Nessuna categoria"
|
|
|
934 |
|
935 |
+
#~ msgid "+ Add New Category"
|
936 |
+
#~ msgstr "+ Aggiungi nuova categoria"
|
|
|
937 |
|
938 |
+
#~ msgid "Add"
|
939 |
+
#~ msgstr "Aggiungi"
|
|
|
940 |
|
941 |
+
#~ msgid "Text Input"
|
942 |
+
#~ msgstr "Text input"
|
|
|
943 |
|
944 |
+
#~ msgid "Checkbox"
|
945 |
+
#~ msgstr "Checkbox"
|
|
|
946 |
|
947 |
+
#~ msgid "Textarea"
|
948 |
+
#~ msgstr "Textarea"
|
|
|
949 |
|
950 |
+
#~ msgid "Radio Input"
|
951 |
+
#~ msgstr "Radio input"
|
|
|
|
|
952 |
|
953 |
+
#~ msgid "Password Field"
|
954 |
+
#~ msgstr "Campo password"
|
|
|
|
|
|
|
955 |
|
956 |
+
#~ msgid "File Upload"
|
957 |
+
#~ msgstr "Carica file"
|
|
|
|
|
958 |
|
959 |
+
#~ msgid "Theme Icon"
|
960 |
+
#~ msgstr "Icona tema"
|
|
|
|
|
|
|
961 |
|
962 |
+
#~ msgid "Custom Icon"
|
963 |
+
#~ msgstr "Icona personalizzata"
|
|
|
964 |
|
965 |
+
#~ msgid "None"
|
966 |
+
#~ msgstr "Nessuno"
|
|
|
967 |
|
968 |
+
#~ msgid "Add field"
|
969 |
+
#~ msgstr "Aggiungi campo"
|
|
|
970 |
|
971 |
+
#~ msgid "Click to toggle"
|
972 |
+
#~ msgstr "Fai clic per aprire/chiudere"
|
|
|
973 |
|
974 |
+
#~ msgid "Field Title"
|
975 |
+
#~ msgstr "Titolo campo"
|
|
|
976 |
|
977 |
+
#~ msgid "Insert the title for the field."
|
978 |
+
#~ msgstr "Inserisci il titolo per il campo"
|
|
|
979 |
|
980 |
+
#~ msgid "Data Name"
|
981 |
+
#~ msgstr "Nome dati"
|
|
|
|
|
|
|
982 |
|
983 |
+
#~ msgid ""
|
984 |
+
#~ "REQUIRED: Field identification name to be entered into email body. "
|
985 |
+
#~ "<strong>Note:</strong>Use only lowercase characters and underscores."
|
986 |
+
#~ msgstr ""
|
987 |
+
#~ "RICHIESTO: Nome identificativo del campo da inserire nel corpo "
|
988 |
+
#~ "dell'email. <strong>Nota:</strong>Puoi utilizzare solamente caratteri "
|
989 |
+
#~ "minuscoli e underscore."
|
990 |
|
991 |
+
#~ msgid "Field Type"
|
992 |
+
#~ msgstr "Tipologia campo"
|
|
|
993 |
|
994 |
+
#~ msgid "Select the type for this field."
|
995 |
+
#~ msgstr "Seleziona il tipo di campo."
|
|
|
996 |
|
997 |
+
#~ msgid "Checked"
|
998 |
+
#~ msgstr "Selezionato"
|
|
|
999 |
|
1000 |
+
#~ msgid ""
|
1001 |
+
#~ "Select this option if you want this field appears as already checked."
|
1002 |
+
#~ msgstr ""
|
1003 |
+
#~ "Seleziona questa opzione se vuoi che il campo appaia già selezionato."
|
1004 |
|
1005 |
+
#~ msgid "Add options "
|
1006 |
+
#~ msgstr "Aggiungi opzioni"
|
|
|
1007 |
|
1008 |
+
#~ msgid "Add option"
|
1009 |
+
#~ msgstr "Aggiungi opzione"
|
|
|
1010 |
|
1011 |
+
#~ msgid "Selected"
|
1012 |
+
#~ msgstr "Selezionato"
|
|
|
1013 |
|
1014 |
+
#~ msgid "Delete option"
|
1015 |
+
#~ msgstr "Cancella opzione"
|
|
|
1016 |
|
1017 |
+
#~ msgid "Error Message"
|
1018 |
+
#~ msgstr "Messaggio di errore"
|
|
|
1019 |
|
1020 |
+
#~ msgid "Insert the error message for validation."
|
1021 |
+
#~ msgstr "Inserisci il messaggio di errore per la validazione"
|
|
|
1022 |
|
1023 |
+
#~ msgid "Required"
|
1024 |
+
#~ msgstr "Obbligatorio"
|
1025 |
+
|
1026 |
+
#~ msgid "Select this option if it must be required."
|
1027 |
+
#~ msgstr "Seleziona questa opzione se deve essere obbligatoria."
|
1028 |
+
|
1029 |
+
#~ msgid "Select this option if the email must be valid."
|
1030 |
+
#~ msgstr "Seleziona questa opzione se l'email inserita deve essere esistente."
|
1031 |
+
|
1032 |
+
#~ msgid "Reply To"
|
1033 |
+
#~ msgstr "Rispondi a"
|
1034 |
+
|
1035 |
+
#~ msgid "Select this if it is the email you can reply to."
|
1036 |
+
#~ msgstr "Seleziona questo se è l'email a cui poter rispondere. "
|
1037 |
+
|
1038 |
+
#~ msgid "Class"
|
1039 |
+
#~ msgstr "Classe"
|
1040 |
+
|
1041 |
+
#~ msgid ""
|
1042 |
+
#~ "Insert additional class(es) (separated by commas) for more "
|
1043 |
+
#~ "personalization."
|
1044 |
+
#~ msgstr ""
|
1045 |
+
#~ "Inserisci una o più classi (separate da virgole) per una ulteriore "
|
1046 |
+
#~ "personalizzazione."
|
1047 |
+
|
1048 |
+
#~ msgid "Icon"
|
1049 |
+
#~ msgstr "Icona"
|
1050 |
+
|
1051 |
+
#~ msgid "Insert an icon for more personalization."
|
1052 |
+
#~ msgstr "Inserisci un'icona per ulteriore personalizzazione."
|
1053 |
+
|
1054 |
+
#~ msgid "Width"
|
1055 |
+
#~ msgstr "Larghezza"
|
1056 |
+
|
1057 |
+
#~ msgid "Set field length."
|
1058 |
+
#~ msgstr "Seleziona lunghezza campo."
|
1059 |
+
|
1060 |
+
#~ msgid "Upload new images"
|
1061 |
+
#~ msgstr "Carica nuove immagini"
|
1062 |
+
|
1063 |
+
#~ msgid "Are you sure you want to remove this image?"
|
1064 |
+
#~ msgstr "Confermi di voler rimuovere questa immagine?"
|
1065 |
+
|
1066 |
+
#~ msgid "px"
|
1067 |
+
#~ msgstr "px"
|
1068 |
+
|
1069 |
+
#~ msgid "em"
|
1070 |
+
#~ msgstr "em"
|
1071 |
+
|
1072 |
+
#~ msgid "pt"
|
1073 |
+
#~ msgstr "pt"
|
1074 |
+
|
1075 |
+
#~ msgid "rem"
|
1076 |
+
#~ msgstr "rem"
|
1077 |
|
1078 |
+
#~ msgid "Web fonts"
|
1079 |
+
#~ msgstr "Web fonts"
|
1080 |
+
|
1081 |
+
#~ msgid "Google fonts"
|
1082 |
+
#~ msgstr "Google fonts"
|
1083 |
+
|
1084 |
+
#~ msgid "Regular"
|
1085 |
+
#~ msgstr "Normale"
|
1086 |
+
|
1087 |
+
#~ msgid "Bold"
|
1088 |
+
#~ msgstr "Grassetto"
|
1089 |
+
|
1090 |
+
#~ msgid "Extra bold"
|
1091 |
+
#~ msgstr "Extra bold"
|
1092 |
+
|
1093 |
+
#~ msgid "Italic"
|
1094 |
+
#~ msgstr "Corsivo"
|
1095 |
+
|
1096 |
+
#~ msgid "Italic bold"
|
1097 |
+
#~ msgstr "Grassetto corsivo"
|
1098 |
+
|
1099 |
+
#~ msgid "Join the club"
|
1100 |
+
#~ msgstr "Iscriviti al Club"
|
1101 |
+
|
1102 |
+
#~ msgid "Despacho Theme - 100% FREE"
|
1103 |
+
#~ msgstr "Despacho Theme - 100% GRATUITO"
|
1104 |
+
|
1105 |
+
#~ msgid "FREE!"
|
1106 |
+
#~ msgstr "GRATIS!"
|
1107 |
+
|
1108 |
+
#~ msgid "Important Links"
|
1109 |
+
#~ msgstr "Link importanti"
|
1110 |
|
1111 |
#~ msgid ""
|
1112 |
#~ "Have you purchased the premium version of a plugin? Don't you know how to "
|
1213 |
#~ "facilmente recuperarla dalla sezione \"My Licenses\" all'interno della "
|
1214 |
#~ "sezione My Account del nostro sito yithemes.com."
|
1215 |
|
|
|
|
|
|
|
1216 |
#~ msgid ""
|
1217 |
#~ "The last step is the activation of the plugin through its license key you "
|
1218 |
#~ "received after the purchase. Click on \"License Activation\" that you "
|
plugin-fw/languages/yith-plugin-fw.pot
CHANGED
@@ -5,24 +5,59 @@ msgid ""
|
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
7 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
8 |
-
"POT-Creation-Date:
|
9 |
"PO-Revision-Date: 2015-05-05 10:38+0100\n"
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
12 |
"Language: en\n"
|
13 |
"MIME-Version: 1.0\n"
|
14 |
-
"Content-Type: text/plain; charset=
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
-
"X-Generator: Poedit
|
17 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
18 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
19 |
-
"esc_html_x:1,2c\n"
|
20 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
21 |
"X-Poedit-SourceCharset: UTF-8\n"
|
22 |
"X-Poedit-Basepath: ..\n"
|
23 |
"X-Textdomain-Support: yes\n"
|
24 |
"X-Poedit-SearchPath-0: .\n"
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
|
27 |
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
|
28 |
#, php-format
|
@@ -82,7 +117,7 @@ msgctxt "taxonomy singular name"
|
|
82 |
msgid "Category"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: lib/yit-cpt-unlimited.php:627
|
86 |
msgid "Search Categories"
|
87 |
msgstr ""
|
88 |
|
@@ -128,7 +163,7 @@ msgid "%s Settings"
|
|
128 |
msgstr ""
|
129 |
|
130 |
#: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
|
131 |
-
#: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:
|
132 |
msgid "Settings"
|
133 |
msgstr ""
|
134 |
|
@@ -206,8 +241,8 @@ msgstr ""
|
|
206 |
msgid "Show frontend of the %s"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: lib/yit-cpt-unlimited.php:1482 templates/
|
210 |
-
#: templates/
|
211 |
msgid "Name"
|
212 |
msgstr ""
|
213 |
|
@@ -220,81 +255,77 @@ msgstr ""
|
|
220 |
msgid "Upload multiple files"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: lib/yit-plugin-panel-wc.php:
|
224 |
msgid "The changes you have made will be lost if you leave this page."
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: lib/yit-plugin-panel.php:
|
228 |
msgid "Plugin Settings"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: lib/yit-plugin-panel.php:
|
232 |
msgid "How to install premium version"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: lib/yit-plugin-panel.php:
|
236 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
237 |
msgid "Save Changes"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: lib/yit-plugin-panel.php:
|
|
|
241 |
msgid "If you continue with this action, you will reset all options in this page."
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: lib/yit-plugin-panel.php:
|
245 |
msgid "Reset to default"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: lib/yit-plugin-panel.php:
|
249 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
250 |
msgid "Are you sure?"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: lib/yit-plugin-panel.php:
|
254 |
msgid "The element you have entered already exists. Please, enter another name."
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: lib/yit-plugin-panel.php:
|
258 |
msgid "Settings saved"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: lib/yit-plugin-panel.php:
|
262 |
msgid "Settings reset"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: lib/yit-plugin-panel.php:
|
266 |
msgid "Element deleted correctly."
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: lib/yit-plugin-panel.php:
|
270 |
msgid "Element updated correctly."
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: lib/yit-plugin-panel.php:
|
274 |
msgid "Database imported correctly."
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: lib/yit-plugin-panel.php:
|
278 |
msgid "An error has occurred during import. Please try again."
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: lib/yit-plugin-panel.php:
|
282 |
msgid "The added file is not valid."
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: lib/yit-plugin-panel.php:
|
286 |
msgid "Sorry, import is disabled."
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: lib/yit-plugin-panel.php:
|
290 |
msgid "Sorting successful."
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: lib/yit-plugin-subpanel.php:149
|
294 |
-
msgid ""
|
295 |
-
"If you continue with this action, you will reset all the options in this page."
|
296 |
-
msgstr ""
|
297 |
-
|
298 |
#: lib/yit-pointers.php:70
|
299 |
msgid "Plugins Activated"
|
300 |
msgstr ""
|
@@ -329,39 +360,43 @@ msgid ""
|
|
329 |
"Plugins tab."
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: lib/yit-upgrade.php:
|
|
|
|
|
|
|
|
|
333 |
msgid "There is a new version of %plugin_name% available."
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: lib/yit-upgrade.php:
|
337 |
msgid "View version %latest% details."
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: lib/yit-upgrade.php:
|
341 |
msgid "Automatic update is unavailable for this plugin,"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: lib/yit-upgrade.php:
|
345 |
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: lib/yit-upgrade.php:
|
349 |
msgid "Update now."
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: lib/yit-upgrade.php:
|
353 |
-
msgid "
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: lib/yit-upgrade.php:
|
357 |
msgid "Invalid URL Provided."
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: lib/yit-upgrade.php:
|
361 |
msgid "Could not create Temporary file."
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: lib/yit-upgrade.php:
|
365 |
#, php-format
|
366 |
msgid ""
|
367 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
@@ -369,7 +404,7 @@ msgid ""
|
|
369 |
"details</a>."
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: lib/yit-upgrade.php:
|
373 |
#, php-format
|
374 |
msgid ""
|
375 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
@@ -378,7 +413,7 @@ msgid ""
|
|
378 |
"to benefit from automatic updates.</em>"
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: lib/yit-upgrade.php:
|
382 |
#, php-format
|
383 |
msgid ""
|
384 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
@@ -387,7 +422,7 @@ msgid ""
|
|
387 |
"\"%5$s\" title=\"License activation\">activate</a> your copy of %6s.</em>"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: lib/yit-upgrade.php:
|
391 |
#, php-format
|
392 |
msgid ""
|
393 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
@@ -395,98 +430,96 @@ msgid ""
|
|
395 |
"details</a> or <a href=\"%5$s\">update now</a>."
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: lib/yit-upgrade.php:
|
399 |
msgid "You can't update the plugins for this site."
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: lib/yit-upgrade.php:
|
403 |
msgid "You do not have sufficient permissions to update the plugins for this site."
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: lib/yit-upgrade.php:
|
407 |
msgid "Update Plugin"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: licence/lib/yit-licence.php:
|
411 |
#, php-format
|
412 |
msgctxt "%s = field name"
|
413 |
msgid "%s field cannot be empty"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: licence/lib/yit-licence.php:
|
417 |
#, php-format
|
418 |
msgid "%s and %s fields cannot be empty"
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: licence/lib/yit-licence.php:
|
422 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: licence/lib/yit-licence.php:
|
426 |
#: licence/templates/panel/activation/activation-panel.php:88
|
427 |
#: licence/templates/panel/activation/activation-panel.php:166
|
428 |
#: licence/templates/panel/activation/activation-panel.php:197
|
429 |
-
#: templates/metaboxes/types/contactform.php:148
|
430 |
-
#: templates/metaboxes/types/contactform.php:340
|
431 |
msgid "Email"
|
432 |
msgstr ""
|
433 |
|
434 |
-
#: licence/lib/yit-licence.php:
|
435 |
#: licence/templates/panel/activation/activation-panel.php:89
|
436 |
#: licence/templates/panel/activation/activation-panel.php:167
|
437 |
#: licence/templates/panel/activation/activation-panel.php:198
|
438 |
msgid "License Key"
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: licence/lib/yit-licence.php:
|
442 |
msgid "Are you sure you want to deactivate the license for current site?"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: licence/lib/yit-licence.php:
|
446 |
msgid "Invalid Request"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: licence/lib/yit-licence.php:
|
450 |
msgid "Invalid license key"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: licence/lib/yit-licence.php:
|
454 |
msgid "Software has been deactivated"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: licence/lib/yit-licence.php:
|
458 |
msgid "Maximum number of activations exceeded"
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: licence/lib/yit-licence.php:
|
462 |
msgid "Invalid instance ID"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: licence/lib/yit-licence.php:
|
466 |
msgid "Invalid security key"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: licence/lib/yit-licence.php:
|
470 |
msgid "License key has expired"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: licence/lib/yit-licence.php:
|
474 |
msgid "License key has been banned"
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: licence/lib/yit-licence.php:
|
478 |
msgid "Current product is not included in your YITH Club Subscription key"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: licence/lib/yit-licence.php:
|
482 |
msgid "Great"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: licence/lib/yit-licence.php:
|
486 |
msgid "License successfully activated"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: licence/lib/yit-licence.php:
|
490 |
msgid "License key deactivated for website"
|
491 |
msgstr ""
|
492 |
|
@@ -517,12 +550,12 @@ msgid ""
|
|
517 |
" After 27 January 2016, instead, if you want to benefit from "
|
518 |
"support and updates you have to buy a new license and activate it through the "
|
519 |
"license key you will be\n"
|
520 |
-
" provided with and that you can find in your
|
521 |
-
"
|
522 |
msgstr ""
|
523 |
|
524 |
#: licence/templates/panel/activation/activation-panel.php:23
|
525 |
-
msgid "
|
526 |
msgstr ""
|
527 |
|
528 |
#: licence/templates/panel/activation/activation-panel.php:27
|
@@ -602,370 +635,150 @@ msgstr ""
|
|
602 |
msgid "Renew license"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: templates/
|
606 |
-
msgid "Search
|
607 |
-
msgstr ""
|
608 |
-
|
609 |
-
#: templates/metaboxes/types/categories.php:36
|
610 |
-
msgid "No categories."
|
611 |
-
msgstr ""
|
612 |
-
|
613 |
-
#: templates/metaboxes/types/categories.php:42
|
614 |
-
msgid "+ Add New Category"
|
615 |
-
msgstr ""
|
616 |
-
|
617 |
-
#: templates/metaboxes/types/categories.php:46
|
618 |
-
msgid "Add"
|
619 |
-
msgstr ""
|
620 |
-
|
621 |
-
#: templates/metaboxes/types/contactform.php:7
|
622 |
-
msgid "Text Input"
|
623 |
-
msgstr ""
|
624 |
-
|
625 |
-
#: templates/metaboxes/types/contactform.php:8
|
626 |
-
msgid "Checkbox"
|
627 |
-
msgstr ""
|
628 |
-
|
629 |
-
#: templates/metaboxes/types/contactform.php:9
|
630 |
-
msgid "Select"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: templates/
|
634 |
-
msgid "
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: templates/
|
638 |
-
msgid "
|
639 |
-
msgstr ""
|
640 |
-
|
641 |
-
#: templates/metaboxes/types/contactform.php:12
|
642 |
-
msgid "Password Field"
|
643 |
-
msgstr ""
|
644 |
-
|
645 |
-
#: templates/metaboxes/types/contactform.php:13
|
646 |
-
msgid "File Upload"
|
647 |
-
msgstr ""
|
648 |
-
|
649 |
-
#: templates/metaboxes/types/contactform.php:47
|
650 |
-
msgid "Theme Icon"
|
651 |
-
msgstr ""
|
652 |
-
|
653 |
-
#: templates/metaboxes/types/contactform.php:48
|
654 |
-
msgid "Custom Icon"
|
655 |
-
msgstr ""
|
656 |
-
|
657 |
-
#: templates/metaboxes/types/contactform.php:49
|
658 |
-
#: templates/metaboxes/types/responsivesliders.php:24
|
659 |
-
msgid "None"
|
660 |
msgstr ""
|
661 |
|
662 |
-
#: templates/
|
663 |
-
msgid "
|
664 |
msgstr ""
|
665 |
|
666 |
-
#: templates/
|
667 |
-
#: templates/metaboxes/types/contactform.php:261
|
668 |
-
#: templates/metaboxes/types/customtabs.php:37
|
669 |
-
#: templates/metaboxes/types/customtabs.php:82
|
670 |
msgid "Remove"
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: templates/
|
674 |
-
#: templates/metaboxes/types/contactform.php:262
|
675 |
-
msgid "Click to toggle"
|
676 |
-
msgstr ""
|
677 |
-
|
678 |
-
#: templates/metaboxes/types/contactform.php:77
|
679 |
-
#: templates/metaboxes/types/contactform.php:269
|
680 |
-
msgid "Field Title"
|
681 |
-
msgstr ""
|
682 |
-
|
683 |
-
#: templates/metaboxes/types/contactform.php:81
|
684 |
-
#: templates/metaboxes/types/contactform.php:273
|
685 |
-
msgid "Insert the title for the field."
|
686 |
-
msgstr ""
|
687 |
-
|
688 |
-
#: templates/metaboxes/types/contactform.php:86
|
689 |
-
#: templates/metaboxes/types/contactform.php:278
|
690 |
-
msgid "Data Name"
|
691 |
-
msgstr ""
|
692 |
-
|
693 |
-
#: templates/metaboxes/types/contactform.php:90
|
694 |
-
#: templates/metaboxes/types/contactform.php:282
|
695 |
-
msgid ""
|
696 |
-
"REQUIRED: Field identification name to be entered into email body. <strong>Note:</"
|
697 |
-
"strong>Use only lowercase characters and underscores."
|
698 |
-
msgstr ""
|
699 |
-
|
700 |
-
#: templates/metaboxes/types/contactform.php:95
|
701 |
-
#: templates/metaboxes/types/contactform.php:287
|
702 |
-
msgid "Field Type"
|
703 |
-
msgstr ""
|
704 |
-
|
705 |
-
#: templates/metaboxes/types/contactform.php:103
|
706 |
-
#: templates/metaboxes/types/contactform.php:295
|
707 |
-
msgid "Select the type for this field."
|
708 |
-
msgstr ""
|
709 |
-
|
710 |
-
#: templates/metaboxes/types/contactform.php:108
|
711 |
-
#: templates/metaboxes/types/contactform.php:300
|
712 |
-
msgid "Checked"
|
713 |
-
msgstr ""
|
714 |
-
|
715 |
-
#: templates/metaboxes/types/contactform.php:112
|
716 |
-
#: templates/metaboxes/types/contactform.php:304
|
717 |
-
msgid "Select this option if you want this field appears as already checked."
|
718 |
-
msgstr ""
|
719 |
-
|
720 |
-
#: templates/metaboxes/types/contactform.php:117
|
721 |
-
#: templates/metaboxes/types/contactform.php:309
|
722 |
-
msgid "Add options "
|
723 |
-
msgstr ""
|
724 |
-
|
725 |
-
#: templates/metaboxes/types/contactform.php:118
|
726 |
-
#: templates/metaboxes/types/contactform.php:310
|
727 |
-
msgid "Add option"
|
728 |
-
msgstr ""
|
729 |
-
|
730 |
-
#: templates/metaboxes/types/contactform.php:121
|
731 |
-
#: templates/metaboxes/types/contactform.php:313
|
732 |
-
#: templates/metaboxes/types/contactform.php:436
|
733 |
-
msgid "Selected"
|
734 |
-
msgstr ""
|
735 |
-
|
736 |
-
#: templates/metaboxes/types/contactform.php:124
|
737 |
-
#: templates/metaboxes/types/contactform.php:316
|
738 |
-
#: templates/metaboxes/types/contactform.php:436
|
739 |
-
msgid "Delete option"
|
740 |
-
msgstr ""
|
741 |
-
|
742 |
-
#: templates/metaboxes/types/contactform.php:130
|
743 |
-
#: templates/metaboxes/types/contactform.php:322
|
744 |
-
msgid "Error Message"
|
745 |
-
msgstr ""
|
746 |
-
|
747 |
-
#: templates/metaboxes/types/contactform.php:134
|
748 |
-
#: templates/metaboxes/types/contactform.php:326
|
749 |
-
msgid "Insert the error message for validation."
|
750 |
-
msgstr ""
|
751 |
-
|
752 |
-
#: templates/metaboxes/types/contactform.php:139
|
753 |
-
#: templates/metaboxes/types/contactform.php:331
|
754 |
-
msgid "Required"
|
755 |
-
msgstr ""
|
756 |
-
|
757 |
-
#: templates/metaboxes/types/contactform.php:143
|
758 |
-
#: templates/metaboxes/types/contactform.php:335
|
759 |
-
msgid "Select this option if it must be required."
|
760 |
-
msgstr ""
|
761 |
-
|
762 |
-
#: templates/metaboxes/types/contactform.php:152
|
763 |
-
#: templates/metaboxes/types/contactform.php:344
|
764 |
-
msgid "Select this option if the email must be valid."
|
765 |
-
msgstr ""
|
766 |
-
|
767 |
-
#: templates/metaboxes/types/contactform.php:157
|
768 |
-
#: templates/metaboxes/types/contactform.php:349
|
769 |
-
msgid "Reply To"
|
770 |
-
msgstr ""
|
771 |
-
|
772 |
-
#: templates/metaboxes/types/contactform.php:161
|
773 |
-
#: templates/metaboxes/types/contactform.php:353
|
774 |
-
msgid "Select this if it is the email you can reply to."
|
775 |
-
msgstr ""
|
776 |
-
|
777 |
-
#: templates/metaboxes/types/contactform.php:166
|
778 |
-
#: templates/metaboxes/types/contactform.php:358
|
779 |
-
msgid "Class"
|
780 |
-
msgstr ""
|
781 |
-
|
782 |
-
#: templates/metaboxes/types/contactform.php:170
|
783 |
-
#: templates/metaboxes/types/contactform.php:362
|
784 |
-
msgid "Insert additional class(es) (separated by commas) for more personalization."
|
785 |
-
msgstr ""
|
786 |
-
|
787 |
-
#: templates/metaboxes/types/contactform.php:175
|
788 |
-
#: templates/metaboxes/types/contactform.php:367
|
789 |
-
msgid "Icon"
|
790 |
-
msgstr ""
|
791 |
-
|
792 |
-
#: templates/metaboxes/types/contactform.php:203
|
793 |
-
#: templates/metaboxes/types/contactform.php:391
|
794 |
-
#: templates/metaboxes/types/icon-list.php:69
|
795 |
-
#: templates/metaboxes/types/select-icon.php:33
|
796 |
-
#: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
|
797 |
-
#: templates/panel/woocommerce/woocommerce-upload.php:40
|
798 |
-
msgid "Upload"
|
799 |
-
msgstr ""
|
800 |
-
|
801 |
-
#: templates/metaboxes/types/contactform.php:209
|
802 |
-
#: templates/metaboxes/types/contactform.php:397
|
803 |
-
#: templates/metaboxes/types/icon-list.php:75
|
804 |
-
#: templates/metaboxes/types/select-icon.php:39
|
805 |
-
msgid "Image preview"
|
806 |
-
msgstr ""
|
807 |
-
|
808 |
-
#: templates/metaboxes/types/contactform.php:217
|
809 |
-
#: templates/metaboxes/types/contactform.php:405
|
810 |
-
msgid "Insert an icon for more personalization."
|
811 |
-
msgstr ""
|
812 |
-
|
813 |
-
#: templates/metaboxes/types/contactform.php:222
|
814 |
-
#: templates/metaboxes/types/contactform.php:409
|
815 |
-
msgid "Width"
|
816 |
-
msgstr ""
|
817 |
-
|
818 |
-
#: templates/metaboxes/types/contactform.php:247
|
819 |
-
#: templates/metaboxes/types/contactform.php:421
|
820 |
-
msgid "Set field length."
|
821 |
-
msgstr ""
|
822 |
-
|
823 |
-
#: templates/metaboxes/types/customtabs.php:28
|
824 |
-
msgid "Close all"
|
825 |
-
msgstr ""
|
826 |
-
|
827 |
-
#: templates/metaboxes/types/customtabs.php:28
|
828 |
-
msgid "Expand all"
|
829 |
-
msgstr ""
|
830 |
-
|
831 |
-
#: templates/metaboxes/types/customtabs.php:52
|
832 |
-
#: templates/metaboxes/types/customtabs.php:95
|
833 |
msgid "Value"
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: templates/
|
837 |
-
#: templates/metaboxes/types/customtabs.php:96
|
838 |
msgid "Content of the tab. (HTML is supported)"
|
839 |
msgstr ""
|
840 |
|
841 |
-
#: templates/
|
842 |
msgid "Add custom product tab"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: templates/
|
846 |
msgid "Do you want to remove the custom tab?"
|
847 |
msgstr ""
|
848 |
|
849 |
-
#: templates/
|
850 |
-
|
851 |
-
msgid "(Default: %s <img src=\"%s\"/>)"
|
852 |
-
msgstr ""
|
853 |
-
|
854 |
-
#: templates/metaboxes/types/icon-list.php:91
|
855 |
-
#, php-format
|
856 |
-
msgid "(Default: <i %s></i> )"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: templates/
|
860 |
-
#: templates/metaboxes/types/image-gallery.php:45
|
861 |
-
#: templates/metaboxes/types/images.php:38 templates/metaboxes/types/images.php:64
|
862 |
msgid "Delete image"
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: templates/
|
866 |
msgid "Add Images to Gallery"
|
867 |
msgstr ""
|
868 |
|
869 |
-
#: templates/
|
870 |
msgid "Add to gallery"
|
871 |
msgstr ""
|
872 |
|
873 |
-
#: templates/
|
874 |
msgid "Add images"
|
875 |
msgstr ""
|
876 |
|
877 |
-
#: templates/
|
878 |
msgid "Delete"
|
879 |
msgstr ""
|
880 |
|
881 |
-
#: templates/
|
882 |
-
msgid "
|
883 |
msgstr ""
|
884 |
|
885 |
-
#: templates/
|
886 |
-
msgid "
|
887 |
msgstr ""
|
888 |
|
889 |
-
#: templates/
|
890 |
-
#: templates/metaboxes/types/sidebars.php:36
|
891 |
msgid "Left sidebar"
|
892 |
msgstr ""
|
893 |
|
894 |
-
#: templates/
|
895 |
-
#: templates/metaboxes/types/sidebars.php:42
|
896 |
-
#: templates/metaboxes/types/sidebars.php:45
|
897 |
-
msgid "No sidebar"
|
898 |
-
msgstr ""
|
899 |
-
|
900 |
-
#: templates/metaboxes/types/sidebar-layout.php:31
|
901 |
-
#: templates/metaboxes/types/sidebars.php:39
|
902 |
msgid "Right sidebar"
|
903 |
msgstr ""
|
904 |
|
905 |
-
#: templates/
|
906 |
-
|
907 |
-
#: templates/metaboxes/types/sidebars.php:64
|
908 |
-
msgid "Choose a sidebar"
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: templates/
|
912 |
msgid "Left Sidebar"
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: templates/
|
916 |
-
msgid "
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: templates/
|
920 |
-
msgid "
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: templates/metaboxes/types/
|
924 |
-
|
|
|
925 |
msgstr ""
|
926 |
|
927 |
-
#: templates/
|
928 |
-
msgid "
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: templates/metaboxes/types/
|
932 |
-
msgid "
|
933 |
msgstr ""
|
934 |
|
935 |
-
#: templates/metaboxes/types/
|
936 |
-
|
937 |
-
|
938 |
-
msgid "Web fonts"
|
939 |
msgstr ""
|
940 |
|
941 |
-
#: templates/metaboxes/types/
|
942 |
-
|
|
|
943 |
msgstr ""
|
944 |
|
945 |
-
#: templates/
|
946 |
-
msgid "
|
947 |
msgstr ""
|
948 |
|
949 |
-
#:
|
950 |
-
|
|
|
951 |
msgstr ""
|
952 |
|
953 |
-
#:
|
954 |
-
|
|
|
955 |
msgstr ""
|
956 |
|
957 |
-
#:
|
958 |
-
|
|
|
959 |
msgstr ""
|
960 |
|
961 |
-
#:
|
962 |
-
|
|
|
963 |
msgstr ""
|
964 |
|
965 |
-
#:
|
966 |
-
|
|
|
967 |
msgstr ""
|
968 |
|
969 |
-
#:
|
970 |
-
msgid "
|
971 |
msgstr ""
|
5 |
msgstr ""
|
6 |
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
7 |
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
8 |
+
"POT-Creation-Date: 2018-08-02 16:02+0200\n"
|
9 |
"PO-Revision-Date: 2015-05-05 10:38+0100\n"
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
12 |
"Language: en\n"
|
13 |
"MIME-Version: 1.0\n"
|
14 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
15 |
"Content-Transfer-Encoding: 8bit\n"
|
16 |
+
"X-Generator: Poedit 2.0.8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
|
18 |
"_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
|
19 |
+
"esc_html_x:1,2c;_x;_ex\n"
|
20 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
21 |
"X-Poedit-SourceCharset: UTF-8\n"
|
22 |
"X-Poedit-Basepath: ..\n"
|
23 |
"X-Textdomain-Support: yes\n"
|
24 |
"X-Poedit-SearchPath-0: .\n"
|
25 |
|
26 |
+
#: lib/privacy/yit-privacy.php:24
|
27 |
+
msgctxt "Privacy Policy Guide Title"
|
28 |
+
msgid "YITH Plugins"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: lib/privacy/yit-privacy.php:59
|
32 |
+
msgctxt "Privacy Policy Content"
|
33 |
+
msgid ""
|
34 |
+
"This sample language includes the basics around what personal data your store may "
|
35 |
+
"be collecting, storing and sharing, as well as who may have access to that data. "
|
36 |
+
"Depending on what settings are enabled and which additional plugins are used, the "
|
37 |
+
"specific information shared by your store will vary. We recommend consulting with "
|
38 |
+
"a lawyer when deciding what information to disclose on your privacy policy."
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: lib/privacy/yit-privacy.php:63
|
42 |
+
msgctxt "Privacy Policy Content"
|
43 |
+
msgid "What we collect and store"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: lib/privacy/yit-privacy.php:66
|
47 |
+
msgctxt "Privacy Policy Content"
|
48 |
+
msgid "Who on our team has access"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: lib/privacy/yit-privacy.php:69
|
52 |
+
msgctxt "Privacy Policy Content"
|
53 |
+
msgid "What we share with others"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: lib/privacy/yit-privacy.php:72
|
57 |
+
msgctxt "Privacy Policy Content"
|
58 |
+
msgid "Payments"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
#: lib/yit-cpt-unlimited.php:460 lib/yit-cpt-unlimited.php:574
|
62 |
#: lib/yit-cpt-unlimited.php:719 lib/yit-cpt-unlimited.php:1632
|
63 |
#, php-format
|
117 |
msgid "Category"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: lib/yit-cpt-unlimited.php:627 templates/fields/ajax-terms.php:56
|
121 |
msgid "Search Categories"
|
122 |
msgstr ""
|
123 |
|
163 |
msgstr ""
|
164 |
|
165 |
#: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
|
166 |
+
#: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:73
|
167 |
msgid "Settings"
|
168 |
msgstr ""
|
169 |
|
241 |
msgid "Show frontend of the %s"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: lib/yit-cpt-unlimited.php:1482 templates/fields/customtabs.php:46
|
245 |
+
#: templates/fields/customtabs.php:89
|
246 |
msgid "Name"
|
247 |
msgstr ""
|
248 |
|
255 |
msgid "Upload multiple files"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: lib/yit-plugin-panel-wc.php:382
|
259 |
msgid "The changes you have made will be lost if you leave this page."
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: lib/yit-plugin-panel.php:72
|
263 |
msgid "Plugin Settings"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: lib/yit-plugin-panel.php:330 lib/yit-plugin-panel.php:333
|
267 |
msgid "How to install premium version"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: lib/yit-plugin-panel.php:384 lib/yit-plugin-subpanel.php:155
|
271 |
#: templates/panel/woocommerce/woocommerce-form.php:11
|
272 |
msgid "Save Changes"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: lib/yit-plugin-panel.php:387 lib/yit-plugin-subpanel.php:158
|
276 |
+
#: templates/panel/woocommerce/woocommerce-form.php:14
|
277 |
msgid "If you continue with this action, you will reset all options in this page."
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: lib/yit-plugin-panel.php:389 lib/yit-plugin-subpanel.php:160
|
281 |
msgid "Reset to default"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: lib/yit-plugin-panel.php:390 lib/yit-plugin-subpanel.php:161
|
285 |
#: templates/panel/woocommerce/woocommerce-form.php:18
|
286 |
msgid "Are you sure?"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: lib/yit-plugin-panel.php:524
|
290 |
msgid "The element you have entered already exists. Please, enter another name."
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: lib/yit-plugin-panel.php:525
|
294 |
msgid "Settings saved"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: lib/yit-plugin-panel.php:526
|
298 |
msgid "Settings reset"
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: lib/yit-plugin-panel.php:527
|
302 |
msgid "Element deleted correctly."
|
303 |
msgstr ""
|
304 |
|
305 |
+
#: lib/yit-plugin-panel.php:528 lib/yit-plugin-panel.php:529
|
306 |
msgid "Element updated correctly."
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: lib/yit-plugin-panel.php:530
|
310 |
msgid "Database imported correctly."
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: lib/yit-plugin-panel.php:531
|
314 |
msgid "An error has occurred during import. Please try again."
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: lib/yit-plugin-panel.php:532
|
318 |
msgid "The added file is not valid."
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: lib/yit-plugin-panel.php:533
|
322 |
msgid "Sorry, import is disabled."
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: lib/yit-plugin-panel.php:534
|
326 |
msgid "Sorting successful."
|
327 |
msgstr ""
|
328 |
|
|
|
|
|
|
|
|
|
|
|
329 |
#: lib/yit-pointers.php:70
|
330 |
msgid "Plugins Activated"
|
331 |
msgstr ""
|
360 |
"Plugins tab."
|
361 |
msgstr ""
|
362 |
|
363 |
+
#: lib/yit-upgrade.php:89
|
364 |
+
msgid "An unexpected error occurred, please try again later. Thanks!"
|
365 |
+
msgstr ""
|
366 |
+
|
367 |
+
#: lib/yit-upgrade.php:184
|
368 |
msgid "There is a new version of %plugin_name% available."
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: lib/yit-upgrade.php:185
|
372 |
msgid "View version %latest% details."
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: lib/yit-upgrade.php:186
|
376 |
msgid "Automatic update is unavailable for this plugin,"
|
377 |
msgstr ""
|
378 |
|
379 |
+
#: lib/yit-upgrade.php:187
|
380 |
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: lib/yit-upgrade.php:188
|
384 |
msgid "Update now."
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: lib/yit-upgrade.php:288
|
388 |
+
msgid "YITH Repository"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: lib/yit-upgrade.php:322
|
392 |
msgid "Invalid URL Provided."
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: lib/yit-upgrade.php:335
|
396 |
msgid "Could not create Temporary file."
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: lib/yit-upgrade.php:495
|
400 |
#, php-format
|
401 |
msgid ""
|
402 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
404 |
"details</a>."
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: lib/yit-upgrade.php:497
|
408 |
#, php-format
|
409 |
msgid ""
|
410 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
413 |
"to benefit from automatic updates.</em>"
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: lib/yit-upgrade.php:499
|
417 |
#, php-format
|
418 |
msgid ""
|
419 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
422 |
"\"%5$s\" title=\"License activation\">activate</a> your copy of %6s.</em>"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: lib/yit-upgrade.php:501
|
426 |
#, php-format
|
427 |
msgid ""
|
428 |
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
430 |
"details</a> or <a href=\"%5$s\">update now</a>."
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: lib/yit-upgrade.php:574
|
434 |
msgid "You can't update the plugins for this site."
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: lib/yit-upgrade.php:578
|
438 |
msgid "You do not have sufficient permissions to update the plugins for this site."
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: lib/yit-upgrade.php:585
|
442 |
msgid "Update Plugin"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: licence/lib/yit-licence.php:187
|
446 |
#, php-format
|
447 |
msgctxt "%s = field name"
|
448 |
msgid "%s field cannot be empty"
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: licence/lib/yit-licence.php:188
|
452 |
#, php-format
|
453 |
msgid "%s and %s fields cannot be empty"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: licence/lib/yit-licence.php:189
|
457 |
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: licence/lib/yit-licence.php:190
|
461 |
#: licence/templates/panel/activation/activation-panel.php:88
|
462 |
#: licence/templates/panel/activation/activation-panel.php:166
|
463 |
#: licence/templates/panel/activation/activation-panel.php:197
|
|
|
|
|
464 |
msgid "Email"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: licence/lib/yit-licence.php:191
|
468 |
#: licence/templates/panel/activation/activation-panel.php:89
|
469 |
#: licence/templates/panel/activation/activation-panel.php:167
|
470 |
#: licence/templates/panel/activation/activation-panel.php:198
|
471 |
msgid "License Key"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: licence/lib/yit-licence.php:192
|
475 |
msgid "Are you sure you want to deactivate the license for current site?"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: licence/lib/yit-licence.php:678
|
479 |
msgid "Invalid Request"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: licence/lib/yit-licence.php:679
|
483 |
msgid "Invalid license key"
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: licence/lib/yit-licence.php:680
|
487 |
msgid "Software has been deactivated"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: licence/lib/yit-licence.php:681
|
491 |
msgid "Maximum number of activations exceeded"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: licence/lib/yit-licence.php:682
|
495 |
msgid "Invalid instance ID"
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: licence/lib/yit-licence.php:683
|
499 |
msgid "Invalid security key"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: licence/lib/yit-licence.php:684
|
503 |
msgid "License key has expired"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: licence/lib/yit-licence.php:685
|
507 |
msgid "License key has been banned"
|
508 |
msgstr ""
|
509 |
|
510 |
+
#: licence/lib/yit-licence.php:686
|
511 |
msgid "Current product is not included in your YITH Club Subscription key"
|
512 |
msgstr ""
|
513 |
|
514 |
+
#: licence/lib/yit-licence.php:687
|
515 |
msgid "Great"
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: licence/lib/yit-licence.php:687
|
519 |
msgid "License successfully activated"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: licence/lib/yit-licence.php:688
|
523 |
msgid "License key deactivated for website"
|
524 |
msgstr ""
|
525 |
|
550 |
" After 27 January 2016, instead, if you want to benefit from "
|
551 |
"support and updates you have to buy a new license and activate it through the "
|
552 |
"license key you will be\n"
|
553 |
+
" provided with and that you can find in your YITH account, in "
|
554 |
+
"section \"My licenses\"."
|
555 |
msgstr ""
|
556 |
|
557 |
#: licence/templates/panel/activation/activation-panel.php:23
|
558 |
+
msgid "YITH License Activation"
|
559 |
msgstr ""
|
560 |
|
561 |
#: licence/templates/panel/activation/activation-panel.php:27
|
635 |
msgid "Renew license"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: templates/fields/ajax-posts.php:57
|
639 |
+
msgid "Search Posts"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: templates/fields/ajax-products.php:16
|
643 |
+
msgid "Search Product"
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: templates/fields/customtabs.php:28
|
647 |
+
msgid "Close all"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: templates/fields/customtabs.php:28
|
651 |
+
msgid "Expand all"
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: templates/fields/customtabs.php:37 templates/fields/customtabs.php:81
|
|
|
|
|
|
|
655 |
msgid "Remove"
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: templates/fields/customtabs.php:52 templates/fields/customtabs.php:94
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
659 |
msgid "Value"
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: templates/fields/customtabs.php:53 templates/fields/customtabs.php:95
|
|
|
663 |
msgid "Content of the tab. (HTML is supported)"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: templates/fields/customtabs.php:65
|
667 |
msgid "Add custom product tab"
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: templates/fields/customtabs.php:106
|
671 |
msgid "Do you want to remove the custom tab?"
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: templates/fields/icons.php:58
|
675 |
+
msgid "Set Default"
|
|
|
|
|
|
|
|
|
|
|
|
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: templates/fields/image-gallery.php:34 templates/fields/image-gallery.php:39
|
|
|
|
|
679 |
msgid "Delete image"
|
680 |
msgstr ""
|
681 |
|
682 |
+
#: templates/fields/image-gallery.php:39
|
683 |
msgid "Add Images to Gallery"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: templates/fields/image-gallery.php:39
|
687 |
msgid "Add to gallery"
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: templates/fields/image-gallery.php:39
|
691 |
msgid "Add images"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: templates/fields/image-gallery.php:39
|
695 |
msgid "Delete"
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: templates/fields/select-buttons.php:26
|
699 |
+
msgid "Select All"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: templates/fields/select-buttons.php:33
|
703 |
+
msgid "Deselect All"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: templates/fields/sidebars.php:22
|
|
|
707 |
msgid "Left sidebar"
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: templates/fields/sidebars.php:25
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
711 |
msgid "Right sidebar"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: templates/fields/sidebars.php:28 templates/fields/sidebars.php:31
|
715 |
+
msgid "No sidebar"
|
|
|
|
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: templates/fields/sidebars.php:39
|
719 |
msgid "Left Sidebar"
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: templates/fields/sidebars.php:41 templates/fields/sidebars.php:54
|
723 |
+
msgid "Choose a sidebar"
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: templates/fields/sidebars.php:52
|
727 |
+
msgid "Right Sidebar"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: templates/fields/upload.php:18 templates/metaboxes/types/icon-list.php:70
|
731 |
+
#: templates/panel/woocommerce/woocommerce-upload.php:40
|
732 |
+
msgid "Upload"
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: templates/fields/upload.php:19
|
736 |
+
msgid "Reset"
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: templates/metaboxes/types/icon-list.php:76
|
740 |
+
msgid "Image preview"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: templates/metaboxes/types/icon-list.php:90
|
744 |
+
#, php-format
|
745 |
+
msgid "(Default: %s <img src=\"%s\"/>)"
|
|
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: templates/metaboxes/types/icon-list.php:92
|
749 |
+
#, php-format
|
750 |
+
msgid "(Default: <i %s></i> )"
|
751 |
msgstr ""
|
752 |
|
753 |
+
#: templates/panel/woocommerce/woocommerce-form.php:17
|
754 |
+
msgid "Reset Defaults"
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: yit-plugin.php:76
|
758 |
+
msgctxt "Plugin Row Meta"
|
759 |
+
msgid "Live Demo"
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: yit-plugin.php:81
|
763 |
+
msgctxt "Plugin Row Meta"
|
764 |
+
msgid "Documentation"
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: yit-plugin.php:86
|
768 |
+
msgctxt "Plugin Row Meta"
|
769 |
+
msgid "Support"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: yit-plugin.php:91
|
773 |
+
msgctxt "Plugin Row Meta"
|
774 |
+
msgid "Premium version"
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: yit-plugin.php:186
|
778 |
+
msgctxt "Action links"
|
779 |
+
msgid "Settings"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: yit-plugin.php:190
|
783 |
+
msgid "License"
|
784 |
msgstr ""
|
plugin-fw/lib/yit-ajax.php
CHANGED
@@ -83,7 +83,7 @@ if ( !class_exists( 'YIT_Ajax' ) ) {
|
|
83 |
|
84 |
$request = $request ? $request : $_REQUEST;
|
85 |
|
86 |
-
$term = (string)
|
87 |
if ( empty( $term ) ) {
|
88 |
die();
|
89 |
}
|
@@ -208,7 +208,7 @@ if ( !class_exists( 'YIT_Ajax' ) ) {
|
|
208 |
|
209 |
check_ajax_referer( 'search-terms', 'security' );
|
210 |
|
211 |
-
$term = (string)
|
212 |
|
213 |
if ( empty( $term ) ) {
|
214 |
die();
|
83 |
|
84 |
$request = $request ? $request : $_REQUEST;
|
85 |
|
86 |
+
$term = (string) sanitize_text_field( stripslashes( $request[ 'term' ] ) );
|
87 |
if ( empty( $term ) ) {
|
88 |
die();
|
89 |
}
|
208 |
|
209 |
check_ajax_referer( 'search-terms', 'security' );
|
210 |
|
211 |
+
$term = (string) sanitize_text_field( stripslashes( $_REQUEST[ 'term' ] ) );
|
212 |
|
213 |
if ( empty( $term ) ) {
|
214 |
die();
|
plugin-fw/lib/yit-assets.php
CHANGED
@@ -69,20 +69,24 @@ if ( !class_exists( 'YIT_Assets' ) ) {
|
|
69 |
wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css' );
|
70 |
wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', false, $this->version );
|
71 |
|
|
|
72 |
if ( function_exists( 'WC' ) || !empty( $woocommerce ) ) {
|
73 |
$woocommerce_version = function_exists( 'WC' ) ? WC()->version : $woocommerce->version;
|
74 |
$wc_version_suffix = version_compare( $woocommerce_version, '3.0.0', '>=' ) ? '' : '-wc-2.6';
|
75 |
|
76 |
wp_register_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce_version );
|
77 |
-
|
78 |
-
wp_register_script( '
|
79 |
-
|
80 |
-
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
81 |
-
'search_posts_nonce' => wp_create_nonce( 'search-posts' ),
|
82 |
-
'search_terms_nonce' => wp_create_nonce( 'search-terms' ),
|
83 |
-
) );
|
84 |
}
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
wp_enqueue_style( 'yith-plugin-fw-admin', YIT_CORE_PLUGIN_URL . '/assets/css/admin.css', array(), $this->version );
|
87 |
|
88 |
}
|
69 |
wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css' );
|
70 |
wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', false, $this->version );
|
71 |
|
72 |
+
$wc_version_suffix = '';
|
73 |
if ( function_exists( 'WC' ) || !empty( $woocommerce ) ) {
|
74 |
$woocommerce_version = function_exists( 'WC' ) ? WC()->version : $woocommerce->version;
|
75 |
$wc_version_suffix = version_compare( $woocommerce_version, '3.0.0', '>=' ) ? '' : '-wc-2.6';
|
76 |
|
77 |
wp_register_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce_version );
|
78 |
+
} else {
|
79 |
+
wp_register_script( 'select2', '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js', array( 'jquery' ), '4.0.3', true );
|
80 |
+
wp_register_style( 'yith-select2-no-wc', YIT_CORE_PLUGIN_URL . '/assets/css/yith-select2-no-wc.css', false, $this->version );
|
|
|
|
|
|
|
|
|
81 |
}
|
82 |
|
83 |
+
wp_register_script( 'yith-enhanced-select', YIT_CORE_PLUGIN_URL . '/assets/js/yith-enhanced-select' . $wc_version_suffix . $suffix . '.js', array( 'jquery', 'select2' ), '1.0.0', true );
|
84 |
+
wp_localize_script( 'yith-enhanced-select', 'yith_framework_enhanced_select_params', array(
|
85 |
+
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
86 |
+
'search_posts_nonce' => wp_create_nonce( 'search-posts' ),
|
87 |
+
'search_terms_nonce' => wp_create_nonce( 'search-terms' ),
|
88 |
+
) );
|
89 |
+
|
90 |
wp_enqueue_style( 'yith-plugin-fw-admin', YIT_CORE_PLUGIN_URL . '/assets/css/admin.css', array(), $this->version );
|
91 |
|
92 |
}
|
plugin-fw/lib/yit-debug.php
CHANGED
@@ -234,8 +234,7 @@ if ( !class_exists( 'YITH_Debug' ) ) {
|
|
234 |
* @return string
|
235 |
*/
|
236 |
public function get_plugin_framework_info() {
|
237 |
-
$
|
238 |
-
$plugin_fw_version = $plugin_fw_data[ 'Version' ];
|
239 |
$plugin_fw_loaded_by = basename( dirname( YIT_CORE_PLUGIN_PATH ) );
|
240 |
|
241 |
return "$plugin_fw_version (by $plugin_fw_loaded_by)";
|
234 |
* @return string
|
235 |
*/
|
236 |
public function get_plugin_framework_info() {
|
237 |
+
$plugin_fw_version = yith_plugin_fw_get_version();
|
|
|
238 |
$plugin_fw_loaded_by = basename( dirname( YIT_CORE_PLUGIN_PATH ) );
|
239 |
|
240 |
return "$plugin_fw_version (by $plugin_fw_loaded_by)";
|
plugin-fw/lib/yit-upgrade.php
CHANGED
@@ -285,7 +285,7 @@ if ( !class_exists( 'YIT_Upgrade' ) ) {
|
|
285 |
return new WP_Error( 'no_package', $upgrader->strings[ 'no_package' ] );
|
286 |
}
|
287 |
|
288 |
-
$upgrader->skin->feedback( 'downloading_package', __( '
|
289 |
|
290 |
$download_file = $this->_download_url( $package, $args );
|
291 |
|
285 |
return new WP_Error( 'no_package', $upgrader->strings[ 'no_package' ] );
|
286 |
}
|
287 |
|
288 |
+
$upgrader->skin->feedback( 'downloading_package', __( 'YITH Repository', 'yith-plugin-fw' ) );
|
289 |
|
290 |
$download_file = $this->_download_url( $package, $args );
|
291 |
|
plugin-fw/licence/lib/yit-plugin-licence.php
CHANGED
@@ -77,7 +77,34 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
77 |
add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
|
78 |
|
79 |
/** @since 3.0.0 */
|
80 |
-
add_action( 'admin_notices',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}
|
82 |
|
83 |
/**
|
@@ -86,8 +113,7 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
86 |
* @since 3.0.0
|
87 |
*/
|
88 |
public function activate_license_notice() {
|
89 |
-
|
90 |
-
if ( apply_filters( 'yith_plugin_fw_show_activate_license_notice', $show_license_notice ) ) {
|
91 |
$products_to_activate = $this->get_to_active_products();
|
92 |
if ( !!$products_to_activate ) {
|
93 |
$product_names = array();
|
@@ -100,7 +126,7 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
100 |
$start = '<span style="display:inline-block; padding:3px 10px; margin: 0 10px 10px 0; background: #f1f1f1; border-radius: 4px;">';
|
101 |
$end = '</span>';
|
102 |
$product_list = '<div>' . $start . implode( $end . $start, $product_names ) . $end . '</div>';
|
103 |
-
$activation_url =
|
104 |
?>
|
105 |
<div class="notice notice-error">
|
106 |
<p><strong>Warning!</strong> You didn't set license key for the following products:
|
@@ -113,7 +139,6 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
113 |
}
|
114 |
}
|
115 |
|
116 |
-
|
117 |
public function licence_after_check() {
|
118 |
/* === Regenerate Update Plugins Transient === */
|
119 |
YIT_Upgrade()->force_regenerate_update_transient();
|
@@ -158,8 +183,8 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
158 |
* Premium plugin registration
|
159 |
*
|
160 |
* @param $plugin_init | string | The plugin init file
|
161 |
-
* @param $secret_key
|
162 |
-
* @param $product_id
|
163 |
*
|
164 |
* @return void
|
165 |
*
|
@@ -180,6 +205,16 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
180 |
public function get_product_type() {
|
181 |
return $this->_product_type;
|
182 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
}
|
184 |
}
|
185 |
|
77 |
add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
|
78 |
|
79 |
/** @since 3.0.0 */
|
80 |
+
add_action( 'admin_notices', function () {
|
81 |
+
$this->activate_license_notice();
|
82 |
+
}, 15 );
|
83 |
+
}
|
84 |
+
|
85 |
+
private function _show_activate_license_notice() {
|
86 |
+
$show_license_notice = current_user_can( 'update_plugins' ) && ( !isset( $_GET[ 'page' ] ) || 'yith_plugins_activation' !== $_GET[ 'page' ] );
|
87 |
+
global $wp_filter;
|
88 |
+
|
89 |
+
if ( isset( $wp_filter[ 'yith_plugin_fw_show_activate_license_notice' ] ) ) {
|
90 |
+
$filter = $wp_filter[ 'yith_plugin_fw_show_activate_license_notice' ];
|
91 |
+
$v = yith_plugin_fw_get_version();
|
92 |
+
$a = explode( '.', $v );
|
93 |
+
$l = end( $a );
|
94 |
+
$p = absint( $l );
|
95 |
+
$allowed_hook = isset( $filter[ $p ] ) ? $filter[ $p ] : false;
|
96 |
+
remove_all_filters( 'yith_plugin_fw_show_activate_license_notice' );
|
97 |
+
|
98 |
+
if ( $allowed_hook && is_array( $allowed_hook ) ) {
|
99 |
+
$cb = current( $allowed_hook );
|
100 |
+
if ( isset( $cb[ 'function' ] ) && isset( $cb[ 'accepted_args' ] ) ) {
|
101 |
+
add_filter( 'yith_plugin_fw_show_activate_license_notice', $cb[ 'function' ], 10, $cb[ 'accepted_args' ] );
|
102 |
+
}
|
103 |
+
}
|
104 |
+
|
105 |
+
}
|
106 |
+
|
107 |
+
return apply_filters( 'yith_plugin_fw_show_activate_license_notice', $show_license_notice );
|
108 |
}
|
109 |
|
110 |
/**
|
113 |
* @since 3.0.0
|
114 |
*/
|
115 |
public function activate_license_notice() {
|
116 |
+
if ( $this->_show_activate_license_notice() ) {
|
|
|
117 |
$products_to_activate = $this->get_to_active_products();
|
118 |
if ( !!$products_to_activate ) {
|
119 |
$product_names = array();
|
126 |
$start = '<span style="display:inline-block; padding:3px 10px; margin: 0 10px 10px 0; background: #f1f1f1; border-radius: 4px;">';
|
127 |
$end = '</span>';
|
128 |
$product_list = '<div>' . $start . implode( $end . $start, $product_names ) . $end . '</div>';
|
129 |
+
$activation_url = self::get_license_activation_url();
|
130 |
?>
|
131 |
<div class="notice notice-error">
|
132 |
<p><strong>Warning!</strong> You didn't set license key for the following products:
|
139 |
}
|
140 |
}
|
141 |
|
|
|
142 |
public function licence_after_check() {
|
143 |
/* === Regenerate Update Plugins Transient === */
|
144 |
YIT_Upgrade()->force_regenerate_update_transient();
|
183 |
* Premium plugin registration
|
184 |
*
|
185 |
* @param $plugin_init | string | The plugin init file
|
186 |
+
* @param $secret_key | string | The product secret key
|
187 |
+
* @param $product_id | string | The plugin slug (product_id)
|
188 |
*
|
189 |
* @return void
|
190 |
*
|
205 |
public function get_product_type() {
|
206 |
return $this->_product_type;
|
207 |
}
|
208 |
+
|
209 |
+
/**
|
210 |
+
* Get license activation URL
|
211 |
+
*
|
212 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
213 |
+
* @since 3.0.17
|
214 |
+
*/
|
215 |
+
public static function get_license_activation_url(){
|
216 |
+
return add_query_arg( array( 'page' => 'yith_plugins_activation' ), admin_url( 'admin.php' ) );
|
217 |
+
}
|
218 |
}
|
219 |
}
|
220 |
|
plugin-fw/licence/lib/yit-theme-licence.php
CHANGED
@@ -163,7 +163,7 @@ if ( !class_exists( 'YIT_Theme_Licence' ) ) {
|
|
163 |
_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)
|
164 |
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.
|
165 |
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
|
166 |
-
provided with and that you can find in your
|
167 |
?>
|
168 |
</p>
|
169 |
</div>
|
163 |
_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)
|
164 |
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.
|
165 |
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
|
166 |
+
provided with and that you can find in your YITH account, in section "My licenses".', 'yith-plugin-fw' )
|
167 |
?>
|
168 |
</p>
|
169 |
</div>
|
plugin-fw/licence/templates/panel/activation/activation-panel.php
CHANGED
@@ -20,7 +20,7 @@ $num_members_products_activate = $this->get_number_of_membership_products();
|
|
20 |
?>
|
21 |
|
22 |
<div class="yit-container product-licence-activation">
|
23 |
-
<h2><?php _e( '
|
24 |
|
25 |
<div class="licence-check-section">
|
26 |
<form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
|
20 |
?>
|
21 |
|
22 |
<div class="yit-container product-licence-activation">
|
23 |
+
<h2><?php _e( 'YITH License Activation', 'yith-plugin-fw' ) ?></h2>
|
24 |
|
25 |
<div class="licence-check-section">
|
26 |
<form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
|
plugin-fw/templates/fields/ajax-posts.php
CHANGED
@@ -16,8 +16,7 @@
|
|
16 |
|
17 |
!defined( 'ABSPATH' ) && exit; // Exit if accessed directly
|
18 |
|
19 |
-
|
20 |
-
wp_enqueue_style( 'woocommerce_admin_styles' );
|
21 |
|
22 |
$default_field = array(
|
23 |
'id' => '',
|
16 |
|
17 |
!defined( 'ABSPATH' ) && exit; // Exit if accessed directly
|
18 |
|
19 |
+
yith_plugin_fw_enqueue_enhanced_select();
|
|
|
20 |
|
21 |
$default_field = array(
|
22 |
'id' => '',
|
plugin-fw/templates/fields/ajax-terms.php
CHANGED
@@ -16,8 +16,7 @@
|
|
16 |
|
17 |
!defined( 'ABSPATH' ) && exit; // Exit if accessed directly
|
18 |
|
19 |
-
|
20 |
-
wp_enqueue_style( 'woocommerce_admin_styles' );
|
21 |
|
22 |
$default_field = array(
|
23 |
'id' => '',
|
16 |
|
17 |
!defined( 'ABSPATH' ) && exit; // Exit if accessed directly
|
18 |
|
19 |
+
yith_plugin_fw_enqueue_enhanced_select();
|
|
|
20 |
|
21 |
$default_field = array(
|
22 |
'id' => '',
|
plugin-fw/templates/fields/resources/select2-wc-2.6.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* This file belongs to the YIT Plugin Framework.
|
4 |
+
*
|
5 |
+
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
|
6 |
+
* that is bundled with this package in the file LICENSE.txt.
|
7 |
+
* It is also available through the world-wide-web at this URL:
|
8 |
+
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
+
*
|
10 |
+
* @var array $args
|
11 |
+
* @var string $custom_attributes
|
12 |
+
*
|
13 |
+
*/
|
14 |
+
|
15 |
+
!defined( 'ABSPATH' ) && exit; // Exit if accessed directly
|
16 |
+
?>
|
17 |
+
|
18 |
+
<input
|
19 |
+
type="hidden"
|
20 |
+
id="<?php echo $args[ 'id' ] ?>"
|
21 |
+
class="<?php echo $args[ 'class' ] ?>"
|
22 |
+
name="<?php echo $args[ 'name' ] ?>"
|
23 |
+
data-placeholder="<?php echo $args[ 'data-placeholder' ] ?>"
|
24 |
+
data-allow_clear="<?php echo $args[ 'data-allow_clear' ] ?>"
|
25 |
+
data-selected="<?php echo is_array( $args[ 'data-selected' ] ) ? esc_attr( json_encode( $args[ 'data-selected' ] ) ) : esc_attr( $args[ 'data-selected' ] ) ?>"
|
26 |
+
data-multiple="<?php echo $args[ 'data-multiple' ] === true ? 'true' : 'false' ?>"
|
27 |
+
<?php echo( !empty( $args[ 'data-action' ] ) ? 'data-action="' . $args[ 'data-action' ] . '"' : '' ) ?>
|
28 |
+
value="<?php echo $args[ 'value' ] ?>"
|
29 |
+
style="<?php echo $args[ 'style' ] ?>"
|
30 |
+
<?php echo $custom_attributes ?>
|
31 |
+
/>
|
plugin-fw/templates/fields/resources/select2.php
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* This file belongs to the YIT Plugin Framework.
|
4 |
+
*
|
5 |
+
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
|
6 |
+
* that is bundled with this package in the file LICENSE.txt.
|
7 |
+
* It is also available through the world-wide-web at this URL:
|
8 |
+
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
+
*
|
10 |
+
* @var array $args
|
11 |
+
* @var string $custom_attributes
|
12 |
+
*/
|
13 |
+
|
14 |
+
!defined( 'ABSPATH' ) && exit; // Exit if accessed directly
|
15 |
+
?>
|
16 |
+
|
17 |
+
<select
|
18 |
+
id="<?php echo $args[ 'id' ] ?>"
|
19 |
+
class="<?php echo $args[ 'class' ] ?>"
|
20 |
+
name="<?php echo $args[ 'name' ] ?>"
|
21 |
+
data-placeholder="<?php echo $args[ 'data-placeholder' ] ?>"
|
22 |
+
data-allow_clear="<?php echo $args[ 'data-allow_clear' ] ?>"
|
23 |
+
<?php echo !empty( $args[ 'data-action' ] ) ? 'data-action="' . $args[ 'data-action' ] . '"' : ''; ?>
|
24 |
+
<?php echo !empty( $args[ 'data-multiple' ] ) ? 'multiple="multiple"' : ''; ?>
|
25 |
+
style="<?php echo $args[ 'style' ] ?>"
|
26 |
+
<?php echo $custom_attributes ?>
|
27 |
+
>
|
28 |
+
|
29 |
+
<?php if ( !empty( $args[ 'value' ] ) ) {
|
30 |
+
$values = $args[ 'value' ];
|
31 |
+
|
32 |
+
if ( !is_array( $values ) ) {
|
33 |
+
$values = explode( ',', $values );
|
34 |
+
}
|
35 |
+
|
36 |
+
foreach ( $values as $value ): ?>
|
37 |
+
<option value="<?php echo $value; ?>" <?php selected( true, true, true ) ?> >
|
38 |
+
<?php echo $args[ 'data-selected' ][ $value ]; ?>
|
39 |
+
</option>
|
40 |
+
<?php endforeach;
|
41 |
+
}
|
42 |
+
?>
|
43 |
+
</select>
|
plugin-fw/templates/fields/select-images.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* This file belongs to the YIT Plugin Framework.
|
4 |
+
*
|
5 |
+
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
|
6 |
+
* that is bundled with this package in the file LICENSE.txt.
|
7 |
+
* It is also available through the world-wide-web at this URL:
|
8 |
+
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
+
*
|
10 |
+
* @var array $field
|
11 |
+
*/
|
12 |
+
|
13 |
+
!defined( 'ABSPATH' ) && exit; // Exit if accessed directly
|
14 |
+
|
15 |
+
extract( $field );
|
16 |
+
|
17 |
+
$class = isset( $class ) ? $class : 'yith-plugin-fw-select-images';
|
18 |
+
$wrapper_id = $id . '-wrapper';
|
19 |
+
?>
|
20 |
+
<div id="<?php echo $wrapper_id ?>" class="yith-plugin-fw-select-images__wrapper">
|
21 |
+
|
22 |
+
<select id="<?php echo $id ?>"
|
23 |
+
name="<?php echo $name ?>"
|
24 |
+
class="<?php echo $class ?>"
|
25 |
+
style="display: none"
|
26 |
+
<?php echo $custom_attributes ?>
|
27 |
+
<?php if ( isset( $data ) ) echo yith_plugin_fw_html_data_to_string( $data ); ?>>
|
28 |
+
<?php foreach ( $options as $key => $item ) :
|
29 |
+
$label = !empty( $item[ 'label' ] ) ? $item[ 'label' ] : $key;
|
30 |
+
?>
|
31 |
+
<option value="<?php echo esc_attr( $key ) ?>" <?php selected( $key, $value ); ?> ><?php echo $label ?></option>
|
32 |
+
<?php endforeach; ?>
|
33 |
+
</select>
|
34 |
+
|
35 |
+
<ul class="yith-plugin-fw-select-images__list">
|
36 |
+
<?php foreach ( $options as $key => $item ) :
|
37 |
+
$label = !empty( $item[ 'label' ] ) ? $item[ 'label' ] : $key;
|
38 |
+
$image = !empty( $item[ 'image' ] ) ? $item[ 'image' ] : '';
|
39 |
+
if ( $image ) :
|
40 |
+
$selected_class = 'yith-plugin-fw-select-images__item--selected';
|
41 |
+
$current_class = $key === $value ? $selected_class : '';
|
42 |
+
?>
|
43 |
+
<li class="yith-plugin-fw-select-images__item <?php echo $current_class ?>" data-key="<?php echo $key ?>">
|
44 |
+
<?php if ( $label ) : ?>
|
45 |
+
<div class="yith-plugin-fw-select-images__item__label"><?php echo $label ?></div>
|
46 |
+
<?php endif; ?>
|
47 |
+
<img src="<?php echo $image ?>">
|
48 |
+
</li>
|
49 |
+
<?php endif; ?>
|
50 |
+
<?php endforeach; ?>
|
51 |
+
</ul>
|
52 |
+
</div>
|
plugin-fw/templates/privacy/html-policy-content.php
CHANGED
@@ -1,37 +1,37 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* @var array $sections
|
4 |
-
*/
|
5 |
-
?>
|
6 |
-
<div class="wp-suggested-text">
|
7 |
-
<?php do_action( 'yith_plugin_fw_privacy_guide_content_before' ); ?>
|
8 |
-
|
9 |
-
<?php
|
10 |
-
foreach ( $sections as $key => $section ) {
|
11 |
-
$action = "yith_plugin_fw_privacy_guide_content_{$key}";
|
12 |
-
$content = apply_filters( 'yith_plugin_fw_privacy_guide_content', '', $key );
|
13 |
-
|
14 |
-
if ( has_action( $action ) || !empty( $section[ 'tutorial' ] ) || !empty( $section[ 'description' ] ) || $content ) {
|
15 |
-
if ( !empty( $section[ 'title' ] ) ) {
|
16 |
-
echo "<h2>{$section['title']}</h2>";
|
17 |
-
}
|
18 |
-
|
19 |
-
if ( !empty( $section[ 'tutorial' ] ) ) {
|
20 |
-
echo "<p class='privacy-policy-tutorial'>{$section['tutorial']}</p>";
|
21 |
-
}
|
22 |
-
|
23 |
-
if ( !empty( $section[ 'description' ] ) ) {
|
24 |
-
echo "<p>{$section['description']}</p>";
|
25 |
-
}
|
26 |
-
|
27 |
-
if ( !empty( $content ) ) {
|
28 |
-
echo $content;
|
29 |
-
}
|
30 |
-
}
|
31 |
-
|
32 |
-
do_action( $action );
|
33 |
-
}
|
34 |
-
?>
|
35 |
-
|
36 |
-
<?php do_action( 'yith_plugin_fw_privacy_guide_content_after' ); ?>
|
37 |
</div>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @var array $sections
|
4 |
+
*/
|
5 |
+
?>
|
6 |
+
<div class="wp-suggested-text">
|
7 |
+
<?php do_action( 'yith_plugin_fw_privacy_guide_content_before' ); ?>
|
8 |
+
|
9 |
+
<?php
|
10 |
+
foreach ( $sections as $key => $section ) {
|
11 |
+
$action = "yith_plugin_fw_privacy_guide_content_{$key}";
|
12 |
+
$content = apply_filters( 'yith_plugin_fw_privacy_guide_content', '', $key );
|
13 |
+
|
14 |
+
if ( has_action( $action ) || !empty( $section[ 'tutorial' ] ) || !empty( $section[ 'description' ] ) || $content ) {
|
15 |
+
if ( !empty( $section[ 'title' ] ) ) {
|
16 |
+
echo "<h2>{$section['title']}</h2>";
|
17 |
+
}
|
18 |
+
|
19 |
+
if ( !empty( $section[ 'tutorial' ] ) ) {
|
20 |
+
echo "<p class='privacy-policy-tutorial'>{$section['tutorial']}</p>";
|
21 |
+
}
|
22 |
+
|
23 |
+
if ( !empty( $section[ 'description' ] ) ) {
|
24 |
+
echo "<p>{$section['description']}</p>";
|
25 |
+
}
|
26 |
+
|
27 |
+
if ( !empty( $content ) ) {
|
28 |
+
echo $content;
|
29 |
+
}
|
30 |
+
}
|
31 |
+
|
32 |
+
do_action( $action );
|
33 |
+
}
|
34 |
+
?>
|
35 |
+
|
36 |
+
<?php do_action( 'yith_plugin_fw_privacy_guide_content_after' ); ?>
|
37 |
</div>
|
plugin-fw/yit-functions.php
CHANGED
@@ -187,8 +187,8 @@ if ( !function_exists( 'yit_plugin_string' ) ) {
|
|
187 |
*
|
188 |
* @param string $before What there is before the main string
|
189 |
* @param string $string The main string. If it is empty or null, the functions return null.
|
190 |
-
* @param string $after
|
191 |
-
* @param bool $echo
|
192 |
*
|
193 |
* @return string The complete string, if the main string is not empty or null
|
194 |
* @since 2.0.0
|
@@ -282,7 +282,7 @@ if ( !function_exists( 'yit_plugin_get_attachment_id' ) ) {
|
|
282 |
continue;
|
283 |
}
|
284 |
|
285 |
-
foreach ( (array)
|
286 |
if ( $values[ 'file' ] == $file && $url == str_replace( 'https://', 'http://', array_shift( wp_get_attachment_image_src( $id, $size ) ) ) ) {
|
287 |
|
288 |
return $id;
|
@@ -349,7 +349,7 @@ if ( !function_exists( 'yit_get_post_meta' ) ) {
|
|
349 |
*
|
350 |
* This function retrieve the value of a metabox attached to a post. It return either a single value or an array.
|
351 |
*
|
352 |
-
* @param int $id
|
353 |
* @param string $meta The meta key to retrieve.
|
354 |
*
|
355 |
* @return mixed Single value or array
|
@@ -380,8 +380,8 @@ if ( !function_exists( 'yit_string' ) ) {
|
|
380 |
*
|
381 |
* @param string $before What there is before the main string
|
382 |
* @param string $string The main string. If it is empty or null, the functions return null.
|
383 |
-
* @param string $after
|
384 |
-
* @param bool $echo
|
385 |
*
|
386 |
* @return string The complete string, if the main string is not empty or null
|
387 |
* @since 2.0.0
|
@@ -450,7 +450,7 @@ if ( !function_exists( 'yit_pagination' ) ) {
|
|
450 |
for ( $i = 1; $i <= $pages; $i++ ) {
|
451 |
if ( 1 != $pages && ( !( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
|
452 |
$class = ( $paged == $i ) ? " class='selected'" : '';
|
453 |
-
$html
|
454 |
}
|
455 |
}
|
456 |
|
@@ -484,7 +484,7 @@ if ( !function_exists( 'yit_registered_sidebars' ) ) {
|
|
484 |
$return = array( '' => '' );
|
485 |
}
|
486 |
|
487 |
-
foreach ( ( array )
|
488 |
$return[ $the_[ 'name' ] ] = $the_[ 'name' ];
|
489 |
}
|
490 |
|
@@ -1051,7 +1051,7 @@ if ( !function_exists( 'yith_plugin_fw_html_data_to_string' ) ) {
|
|
1051 |
if ( is_array( $data ) ) {
|
1052 |
foreach ( $data as $key => $value ) {
|
1053 |
$current_value = !is_array( $value ) ? $value : implode( ',', $value );
|
1054 |
-
$html_data
|
1055 |
}
|
1056 |
$html_data .= ' ';
|
1057 |
}
|
@@ -1073,3 +1073,82 @@ if ( !function_exists( 'yith_plugin_fw_is_true' ) ) {
|
|
1073 |
return true === $value || 1 === $value || '1' === $value || 'yes' === $value;
|
1074 |
}
|
1075 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
*
|
188 |
* @param string $before What there is before the main string
|
189 |
* @param string $string The main string. If it is empty or null, the functions return null.
|
190 |
+
* @param string $after What there is after the main string
|
191 |
+
* @param bool $echo If echo or only return it
|
192 |
*
|
193 |
* @return string The complete string, if the main string is not empty or null
|
194 |
* @since 2.0.0
|
282 |
continue;
|
283 |
}
|
284 |
|
285 |
+
foreach ( (array)$meta[ 'sizes' ] as $size => $values ) {
|
286 |
if ( $values[ 'file' ] == $file && $url == str_replace( 'https://', 'http://', array_shift( wp_get_attachment_image_src( $id, $size ) ) ) ) {
|
287 |
|
288 |
return $id;
|
349 |
*
|
350 |
* This function retrieve the value of a metabox attached to a post. It return either a single value or an array.
|
351 |
*
|
352 |
+
* @param int $id Post ID.
|
353 |
* @param string $meta The meta key to retrieve.
|
354 |
*
|
355 |
* @return mixed Single value or array
|
380 |
*
|
381 |
* @param string $before What there is before the main string
|
382 |
* @param string $string The main string. If it is empty or null, the functions return null.
|
383 |
+
* @param string $after What there is after the main string
|
384 |
+
* @param bool $echo If echo or only return it
|
385 |
*
|
386 |
* @return string The complete string, if the main string is not empty or null
|
387 |
* @since 2.0.0
|
450 |
for ( $i = 1; $i <= $pages; $i++ ) {
|
451 |
if ( 1 != $pages && ( !( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
|
452 |
$class = ( $paged == $i ) ? " class='selected'" : '';
|
453 |
+
$html .= "<a href='" . get_pagenum_link( $i ) . "'$class >$i</a>";
|
454 |
}
|
455 |
}
|
456 |
|
484 |
$return = array( '' => '' );
|
485 |
}
|
486 |
|
487 |
+
foreach ( ( array )$wp_registered_sidebars as $the_ ) {
|
488 |
$return[ $the_[ 'name' ] ] = $the_[ 'name' ];
|
489 |
}
|
490 |
|
1051 |
if ( is_array( $data ) ) {
|
1052 |
foreach ( $data as $key => $value ) {
|
1053 |
$current_value = !is_array( $value ) ? $value : implode( ',', $value );
|
1054 |
+
$html_data .= " data-$key='$current_value'";
|
1055 |
}
|
1056 |
$html_data .= ' ';
|
1057 |
}
|
1073 |
return true === $value || 1 === $value || '1' === $value || 'yes' === $value;
|
1074 |
}
|
1075 |
}
|
1076 |
+
|
1077 |
+
|
1078 |
+
if ( !function_exists( 'yith_plugin_fw_enqueue_enhanced_select' ) ) {
|
1079 |
+
function yith_plugin_fw_enqueue_enhanced_select() {
|
1080 |
+
wp_enqueue_script( 'yith-enhanced-select' );
|
1081 |
+
$select2_style_to_enqueue = function_exists( 'WC' ) ? 'woocommerce_admin_styles' : 'yith-select2-no-wc';
|
1082 |
+
wp_enqueue_style( $select2_style_to_enqueue );
|
1083 |
+
}
|
1084 |
+
}
|
1085 |
+
|
1086 |
+
if ( !function_exists( 'yit_add_select2_fields' ) ) {
|
1087 |
+
/**
|
1088 |
+
* Add select 2
|
1089 |
+
*
|
1090 |
+
* @param array $args
|
1091 |
+
*/
|
1092 |
+
function yit_add_select2_fields( $args = array() ) {
|
1093 |
+
$default = array(
|
1094 |
+
'type' => 'hidden',
|
1095 |
+
'class' => '',
|
1096 |
+
'id' => '',
|
1097 |
+
'name' => '',
|
1098 |
+
'data-placeholder' => '',
|
1099 |
+
'data-allow_clear' => false,
|
1100 |
+
'data-selected' => '',
|
1101 |
+
'data-multiple' => false,
|
1102 |
+
'data-action' => '',
|
1103 |
+
'value' => '',
|
1104 |
+
'style' => '',
|
1105 |
+
'custom-attributes' => array()
|
1106 |
+
);
|
1107 |
+
|
1108 |
+
$args = wp_parse_args( $args, $default );
|
1109 |
+
|
1110 |
+
$custom_attributes = array();
|
1111 |
+
foreach ( $args[ 'custom-attributes' ] as $attribute => $attribute_value ) {
|
1112 |
+
$custom_attributes[] = esc_attr( $attribute ) . '="' . esc_attr( $attribute_value ) . '"';
|
1113 |
+
}
|
1114 |
+
$custom_attributes = implode( ' ', $custom_attributes );
|
1115 |
+
|
1116 |
+
if ( !function_exists( 'WC' ) || version_compare( WC()->version, '2.7.0', '>=' ) ) {
|
1117 |
+
if ( $args[ 'data-multiple' ] === true && substr( $args[ 'name' ], -2 ) != '[]' ) {
|
1118 |
+
$args[ 'name' ] = $args[ 'name' ] . '[]';
|
1119 |
+
}
|
1120 |
+
$select2_template_name = 'select2.php';
|
1121 |
+
|
1122 |
+
} else {
|
1123 |
+
if ( $args[ 'data-multiple' ] === false && is_array( $args[ 'data-selected' ] ) ) {
|
1124 |
+
$args[ 'data-selected' ] = current( $args[ 'data-selected' ] );
|
1125 |
+
}
|
1126 |
+
$select2_template_name = 'select2-wc-2.6.php';
|
1127 |
+
}
|
1128 |
+
|
1129 |
+
$template = YIT_CORE_PLUGIN_TEMPLATE_PATH . '/fields/resources/' . $select2_template_name;
|
1130 |
+
if ( file_exists( $template ) ) {
|
1131 |
+
include $template;
|
1132 |
+
}
|
1133 |
+
}
|
1134 |
+
}
|
1135 |
+
|
1136 |
+
if ( !function_exists( 'yith_plugin_fw_get_version' ) ) {
|
1137 |
+
function yith_plugin_fw_get_version() {
|
1138 |
+
$plugin_fw_data = get_file_data( trailingslashit( YIT_CORE_PLUGIN_PATH ) . 'init.php', array( 'Version' => 'Version' ) );
|
1139 |
+
return $plugin_fw_data[ 'Version' ];
|
1140 |
+
}
|
1141 |
+
}
|
1142 |
+
|
1143 |
+
if ( ! function_exists( 'yith_get_premium_support_url' ) ) {
|
1144 |
+
//@TODO: To Remove
|
1145 |
+
/**
|
1146 |
+
* Return the url for My Account > Support dashboard
|
1147 |
+
*
|
1148 |
+
* @return string The complete string, if the main string is not empty or null
|
1149 |
+
* @since 2.0.0
|
1150 |
+
*/
|
1151 |
+
function yith_get_premium_support_url() {
|
1152 |
+
return 'https://yithemes.com/my-account/support/dashboard/';
|
1153 |
+
}
|
1154 |
+
}
|
plugin-fw/yit-plugin.php
CHANGED
@@ -46,6 +46,154 @@ load_textdomain( 'yith-plugin-fw', get_template_directory() . '/core/plugin-fw/y
|
|
46 |
// ...or from plugin folder
|
47 |
|| load_textdomain( 'yith-plugin-fw', dirname(__FILE__) . '/languages/yith-plugin-fw-' . apply_filters( 'plugin_locale', get_locale(), 'yith-plugin-fw' ) . '.mo' );
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
/* === WooCommerce Update Message === */
|
50 |
|
51 |
/*if( apply_filters( 'yit_fw_wc_update_message_hook', true )
|
46 |
// ...or from plugin folder
|
47 |
|| load_textdomain( 'yith-plugin-fw', dirname(__FILE__) . '/languages/yith-plugin-fw-' . apply_filters( 'plugin_locale', get_locale(), 'yith-plugin-fw' ) . '.mo' );
|
48 |
|
49 |
+
add_filter( 'plugin_row_meta', 'yit_plugin_fw_row_meta', 20, 4 );
|
50 |
+
|
51 |
+
if( ! function_exists( 'yit_plugin_fw_row_meta' ) ){
|
52 |
+
/**
|
53 |
+
* Hack the plugin author name from YITHEMES to YITH
|
54 |
+
*
|
55 |
+
* @param $plugin_meta
|
56 |
+
* @param $plugin_file
|
57 |
+
* @param $plugin_data
|
58 |
+
* @param $status
|
59 |
+
*
|
60 |
+
* @since 3.0.17
|
61 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
62 |
+
*
|
63 |
+
* @return null|string|string[] $plugin row meta array
|
64 |
+
*/
|
65 |
+
function yit_plugin_fw_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ){
|
66 |
+
$base_uri = array(
|
67 |
+
'live_demo' => 'https://plugins.yithemes.com/',
|
68 |
+
'documentation' => 'https://docs.yithemes.com/',
|
69 |
+
'premium_support' => 'https://yithemes.com/my-account/support/dashboard/',
|
70 |
+
'free_support' => 'https://wordpress.org/support/plugin/',
|
71 |
+
'premium_version' => 'https://yithemes.com/themes/plugins/'
|
72 |
+
);
|
73 |
+
|
74 |
+
$default = array(
|
75 |
+
'live_demo' => array(
|
76 |
+
'label' => _x( 'Live Demo', 'Plugin Row Meta', 'yith-plugin-fw' ),
|
77 |
+
'icon' => 'dashicons dashicons-laptop',
|
78 |
+
),
|
79 |
+
|
80 |
+
'documentation' => array(
|
81 |
+
'label' => _x( 'Documentation', 'Plugin Row Meta', 'yith-plugin-fw' ),
|
82 |
+
'icon' => 'dashicons dashicons-search',
|
83 |
+
),
|
84 |
+
|
85 |
+
'support' => array(
|
86 |
+
'label' => _x( 'Support', 'Plugin Row Meta', 'yith-plugin-fw' ),
|
87 |
+
'icon' => 'dashicons dashicons-admin-users',
|
88 |
+
),
|
89 |
+
|
90 |
+
'premium_version' => array(
|
91 |
+
'label' => _x( 'Premium version', 'Plugin Row Meta', 'yith-plugin-fw' ),
|
92 |
+
'icon' => 'dashicons dashicons-cart',
|
93 |
+
)
|
94 |
+
);
|
95 |
+
|
96 |
+
$to_show = array( 'live_demo', 'documentation', 'support', 'premium_version' );
|
97 |
+
$new_row_meta_args = apply_filters( 'yith_show_plugin_row_meta', array(
|
98 |
+
'to_show' => $to_show,
|
99 |
+
'slug' => ''
|
100 |
+
), $plugin_meta, $plugin_file, $plugin_data, $status );
|
101 |
+
$fields = isset( $new_row_meta_args['to_show'] ) ? $new_row_meta_args['to_show'] : array();
|
102 |
+
$slug = isset( $new_row_meta_args['slug'] ) ? $new_row_meta_args['slug'] : '';
|
103 |
+
$is_premium = isset( $new_row_meta_args['is_premium'] ) ? $new_row_meta_args['is_premium'] : '';
|
104 |
+
|
105 |
+
if( true == $is_premium ){
|
106 |
+
$to_remove = array_search( 'premium_version', $fields );
|
107 |
+
|
108 |
+
if( $to_remove !== false ){
|
109 |
+
unset( $fields[ $to_remove ] );
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
foreach( $fields as $field ){
|
114 |
+
$row_meta = isset( $new_row_meta_args[ $field ] ) ? wp_parse_args( $new_row_meta_args[ $field ], $default[ $field ] ) : $default[ $field ];
|
115 |
+
$url = $icon = $label = '';
|
116 |
+
|
117 |
+
// Check for Label
|
118 |
+
if( isset( $row_meta['label'] ) ){
|
119 |
+
$label = $row_meta['label'];
|
120 |
+
}
|
121 |
+
|
122 |
+
// Check for Icon
|
123 |
+
if( isset( $row_meta['icon'] ) ){
|
124 |
+
$icon = $row_meta['icon'];
|
125 |
+
}
|
126 |
+
|
127 |
+
// Check for URL
|
128 |
+
if( isset( $row_meta['url'] ) ){
|
129 |
+
$url = $row_meta['url'];
|
130 |
+
}
|
131 |
+
|
132 |
+
else{
|
133 |
+
if( ! empty( $slug ) ){
|
134 |
+
if( 'support' == $field ){
|
135 |
+
$support_field = $is_premium === true ? 'premium_support': 'free_support';
|
136 |
+
if( ! empty( $base_uri[ $support_field ] ) ){
|
137 |
+
$url = $base_uri[ $support_field ];
|
138 |
+
}
|
139 |
+
|
140 |
+
if( 'free_support' == $support_field ){
|
141 |
+
$url = $url . $slug;
|
142 |
+
}
|
143 |
+
}
|
144 |
+
|
145 |
+
else{
|
146 |
+
if( isset( $base_uri[ $field ] ) ) {
|
147 |
+
$url = $base_uri[ $field ] . $slug;
|
148 |
+
}
|
149 |
+
}
|
150 |
+
}
|
151 |
+
}
|
152 |
+
|
153 |
+
//Add YITH Refer ID
|
154 |
+
if( ! empty( $url ) && defined( 'YITH_REFER_ID' ) ){
|
155 |
+
$url = add_query_arg( array( 'refer_id', YITH_REFER_ID ), $url );
|
156 |
+
}
|
157 |
+
|
158 |
+
if( ! empty( $url ) && ! empty( $label ) ){
|
159 |
+
$plugin_meta[] = sprintf( '<a href="%s" target="_blank"><span class="%s"></span>%s</a>', $url, $icon, $label );
|
160 |
+
}
|
161 |
+
}
|
162 |
+
|
163 |
+
//Author Name Hack
|
164 |
+
$plugin_meta = preg_replace('/>YITHEMES</', '>YITH<', $plugin_meta);
|
165 |
+
|
166 |
+
return $plugin_meta;
|
167 |
+
}
|
168 |
+
}
|
169 |
+
|
170 |
+
if( ! function_exists( 'yith_add_action_links' ) ){
|
171 |
+
/**
|
172 |
+
* Action Links
|
173 |
+
*
|
174 |
+
* add the action links to plugin admin page
|
175 |
+
*
|
176 |
+
* @param $links | links plugin array
|
177 |
+
*
|
178 |
+
* @return mixed Array
|
179 |
+
* @since 1.6.5
|
180 |
+
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
181 |
+
* @return mixed
|
182 |
+
* @use plugin_action_links_{$plugin_file_name}
|
183 |
+
*/
|
184 |
+
function yith_add_action_links( $links, $panel_page = '', $is_premium = false ) {
|
185 |
+
if( ! empty( $panel_page ) ){
|
186 |
+
$links[] = sprintf( '<a href="%s">%s</a>', admin_url( "admin.php?page={$panel_page}" ), _x( 'Settings', 'Action links', 'yith-plugin-fw' ) );
|
187 |
+
}
|
188 |
+
|
189 |
+
if( $is_premium && class_exists( 'YIT_Plugin_Licence' ) ){
|
190 |
+
$links[] = sprintf( '<a href="%s">%s</a>', YIT_Plugin_Licence::get_license_activation_url(),__( 'License', 'yith-plugin-fw' ) );
|
191 |
+
}
|
192 |
+
|
193 |
+
return $links;
|
194 |
+
}
|
195 |
+
}
|
196 |
+
|
197 |
/* === WooCommerce Update Message === */
|
198 |
|
199 |
/*if( apply_filters( 'yit_fw_wc_update_message_hook', true )
|
plugin-options/premium-options.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
return array(
|
4 |
-
'premium' => array(
|
5 |
-
'home' => array(
|
6 |
-
'type' => 'custom_tab',
|
7 |
-
'action' => 'yith_quick_view_premium',
|
8 |
-
)
|
9 |
-
)
|
10 |
);
|
1 |
+
<?php
|
2 |
+
|
3 |
+
return array(
|
4 |
+
'premium' => array(
|
5 |
+
'home' => array(
|
6 |
+
'type' => 'custom_tab',
|
7 |
+
'action' => 'yith_quick_view_premium',
|
8 |
+
)
|
9 |
+
)
|
10 |
);
|
plugin-options/settings-options.php
CHANGED
@@ -1,90 +1,90 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
$settings = array(
|
4 |
-
|
5 |
-
'settings' => array(
|
6 |
-
|
7 |
-
'general-options' => array(
|
8 |
-
'title' => __( 'General Options', 'yith-woocommerce-quick-view' ),
|
9 |
-
'type' => 'title',
|
10 |
-
'desc' => '',
|
11 |
-
'id' => 'yith-wcqv-general-options'
|
12 |
-
),
|
13 |
-
|
14 |
-
'enable-quick-view' => array(
|
15 |
-
'id' => 'yith-wcqv-enable',
|
16 |
-
'name' => __( 'Enable Quick View', 'yith-woocommerce-quick-view' ),
|
17 |
-
'type' => 'checkbox',
|
18 |
-
'default' => 'yes'
|
19 |
-
),
|
20 |
-
|
21 |
-
'enable-quick-view-mobile' => array(
|
22 |
-
'id' => 'yith-wcqv-enable-mobile',
|
23 |
-
'name' => __( 'Enable Quick View on mobile', 'yith-woocommerce-quick-view' ),
|
24 |
-
'desc' => __( 'Enable quick view features on mobile device too', 'yith-woocommerce-quick-view' ),
|
25 |
-
'type' => 'checkbox',
|
26 |
-
'default' => 'yes'
|
27 |
-
),
|
28 |
-
|
29 |
-
'quick-view-label' => array(
|
30 |
-
'id' => 'yith-wcqv-button-label',
|
31 |
-
'name' => __( 'Quick View Button Label', 'yith-woocommerce-quick-view' ),
|
32 |
-
'desc' => __( 'Label for the quick view button in the WooCommerce loop.', 'yith-woocommerce-quick-view' ),
|
33 |
-
'type' => 'text',
|
34 |
-
'default' => __( 'Quick View', 'yith-woocommerce-quick-view' ),
|
35 |
-
),
|
36 |
-
|
37 |
-
'enable-lightbox' => array(
|
38 |
-
'id' => 'yith-wcqv-enable-lightbox',
|
39 |
-
'name' => __( 'Enable Lightbox', 'yith-woocommerce-quick-view' ),
|
40 |
-
'desc' => __( 'Enable lightbox. Product images will open in a lightbox.', 'yith-woocommerce-quick-view' ),
|
41 |
-
'type' => 'checkbox',
|
42 |
-
'default' => 'yes'
|
43 |
-
),
|
44 |
-
|
45 |
-
'general-options-end' => array(
|
46 |
-
'type' => 'sectionend',
|
47 |
-
'id' => 'yith-wcqv-general-options'
|
48 |
-
),
|
49 |
-
|
50 |
-
'style-options' => array(
|
51 |
-
'title' => __( 'Style Options', 'yith-woocommerce-quick-view' ),
|
52 |
-
'desc' => '',
|
53 |
-
'type' => 'title',
|
54 |
-
'id' => 'yith-wcqv-style-options'
|
55 |
-
),
|
56 |
-
|
57 |
-
'background-color-modal' => array(
|
58 |
-
'name' => __( 'Modal Window Background Color', 'yith-woocommerce-quick-view' ),
|
59 |
-
'type' => 'color',
|
60 |
-
'desc' => '',
|
61 |
-
'id' => 'yith-wcqv-background-modal',
|
62 |
-
'default' => '#ffffff'
|
63 |
-
),
|
64 |
-
|
65 |
-
'close-button-color' => array(
|
66 |
-
'name' => __( 'Closing Button Color', 'yith-woocommerce-quick-view' ),
|
67 |
-
'type' => 'color',
|
68 |
-
'desc' => '',
|
69 |
-
'id' => 'yith-wcqv-close-color',
|
70 |
-
'default' => '#cdcdcd'
|
71 |
-
),
|
72 |
-
|
73 |
-
'close-button-color-hover' => array(
|
74 |
-
'name' => __( 'Closing Button Hover Color', 'yith-woocommerce-quick-view' ),
|
75 |
-
'type' => 'color',
|
76 |
-
'desc' => '',
|
77 |
-
'id' => 'yith-wcqv-close-color-hover',
|
78 |
-
'default' => '#ff0000'
|
79 |
-
),
|
80 |
-
|
81 |
-
'style-options-end' => array(
|
82 |
-
'type' => 'sectionend',
|
83 |
-
'id' => 'yith-wcqv-style-options'
|
84 |
-
),
|
85 |
-
|
86 |
-
|
87 |
-
)
|
88 |
-
);
|
89 |
-
|
90 |
return apply_filters( 'yith_wcqv_panel_settings_options', $settings );
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$settings = array(
|
4 |
+
|
5 |
+
'settings' => array(
|
6 |
+
|
7 |
+
'general-options' => array(
|
8 |
+
'title' => __( 'General Options', 'yith-woocommerce-quick-view' ),
|
9 |
+
'type' => 'title',
|
10 |
+
'desc' => '',
|
11 |
+
'id' => 'yith-wcqv-general-options'
|
12 |
+
),
|
13 |
+
|
14 |
+
'enable-quick-view' => array(
|
15 |
+
'id' => 'yith-wcqv-enable',
|
16 |
+
'name' => __( 'Enable Quick View', 'yith-woocommerce-quick-view' ),
|
17 |
+
'type' => 'checkbox',
|
18 |
+
'default' => 'yes'
|
19 |
+
),
|
20 |
+
|
21 |
+
'enable-quick-view-mobile' => array(
|
22 |
+
'id' => 'yith-wcqv-enable-mobile',
|
23 |
+
'name' => __( 'Enable Quick View on mobile', 'yith-woocommerce-quick-view' ),
|
24 |
+
'desc' => __( 'Enable quick view features on mobile device too', 'yith-woocommerce-quick-view' ),
|
25 |
+
'type' => 'checkbox',
|
26 |
+
'default' => 'yes'
|
27 |
+
),
|
28 |
+
|
29 |
+
'quick-view-label' => array(
|
30 |
+
'id' => 'yith-wcqv-button-label',
|
31 |
+
'name' => __( 'Quick View Button Label', 'yith-woocommerce-quick-view' ),
|
32 |
+
'desc' => __( 'Label for the quick view button in the WooCommerce loop.', 'yith-woocommerce-quick-view' ),
|
33 |
+
'type' => 'text',
|
34 |
+
'default' => __( 'Quick View', 'yith-woocommerce-quick-view' ),
|
35 |
+
),
|
36 |
+
|
37 |
+
'enable-lightbox' => array(
|
38 |
+
'id' => 'yith-wcqv-enable-lightbox',
|
39 |
+
'name' => __( 'Enable Lightbox', 'yith-woocommerce-quick-view' ),
|
40 |
+
'desc' => __( 'Enable lightbox. Product images will open in a lightbox.', 'yith-woocommerce-quick-view' ),
|
41 |
+
'type' => 'checkbox',
|
42 |
+
'default' => 'yes'
|
43 |
+
),
|
44 |
+
|
45 |
+
'general-options-end' => array(
|
46 |
+
'type' => 'sectionend',
|
47 |
+
'id' => 'yith-wcqv-general-options'
|
48 |
+
),
|
49 |
+
|
50 |
+
'style-options' => array(
|
51 |
+
'title' => __( 'Style Options', 'yith-woocommerce-quick-view' ),
|
52 |
+
'desc' => '',
|
53 |
+
'type' => 'title',
|
54 |
+
'id' => 'yith-wcqv-style-options'
|
55 |
+
),
|
56 |
+
|
57 |
+
'background-color-modal' => array(
|
58 |
+
'name' => __( 'Modal Window Background Color', 'yith-woocommerce-quick-view' ),
|
59 |
+
'type' => 'color',
|
60 |
+
'desc' => '',
|
61 |
+
'id' => 'yith-wcqv-background-modal',
|
62 |
+
'default' => '#ffffff'
|
63 |
+
),
|
64 |
+
|
65 |
+
'close-button-color' => array(
|
66 |
+
'name' => __( 'Closing Button Color', 'yith-woocommerce-quick-view' ),
|
67 |
+
'type' => 'color',
|
68 |
+
'desc' => '',
|
69 |
+
'id' => 'yith-wcqv-close-color',
|
70 |
+
'default' => '#cdcdcd'
|
71 |
+
),
|
72 |
+
|
73 |
+
'close-button-color-hover' => array(
|
74 |
+
'name' => __( 'Closing Button Hover Color', 'yith-woocommerce-quick-view' ),
|
75 |
+
'type' => 'color',
|
76 |
+
'desc' => '',
|
77 |
+
'id' => 'yith-wcqv-close-color-hover',
|
78 |
+
'default' => '#ff0000'
|
79 |
+
),
|
80 |
+
|
81 |
+
'style-options-end' => array(
|
82 |
+
'type' => 'sectionend',
|
83 |
+
'id' => 'yith-wcqv-style-options'
|
84 |
+
),
|
85 |
+
|
86 |
+
|
87 |
+
)
|
88 |
+
);
|
89 |
+
|
90 |
return apply_filters( 'yith_wcqv_panel_settings_options', $settings );
|
templates/admin/premium.php
CHANGED
@@ -1,373 +1,373 @@
|
|
1 |
-
<style>
|
2 |
-
.section{
|
3 |
-
overflow-x: hidden;
|
4 |
-
}
|
5 |
-
|
6 |
-
.section{
|
7 |
-
margin-left: -20px;
|
8 |
-
margin-right: -20px;
|
9 |
-
font-family: "Raleway",san-serif;
|
10 |
-
}
|
11 |
-
.section h1{
|
12 |
-
text-align: center;
|
13 |
-
text-transform: uppercase;
|
14 |
-
color: #808a97;
|
15 |
-
font-size: 35px;
|
16 |
-
font-weight: 700;
|
17 |
-
line-height: normal;
|
18 |
-
display: inline-block;
|
19 |
-
width: 100%;
|
20 |
-
margin: 50px 0 0;
|
21 |
-
}
|
22 |
-
.section:nth-child(even){
|
23 |
-
background-color: #fff;
|
24 |
-
}
|
25 |
-
.section:nth-child(odd){
|
26 |
-
background-color: #f1f1f1;
|
27 |
-
}
|
28 |
-
.section .section-title img{
|
29 |
-
display: table-cell;
|
30 |
-
vertical-align: middle;
|
31 |
-
width: auto;
|
32 |
-
margin-right: 15px;
|
33 |
-
}
|
34 |
-
.section h2,
|
35 |
-
.section h3 {
|
36 |
-
display: inline-block;
|
37 |
-
vertical-align: middle;
|
38 |
-
padding: 0;
|
39 |
-
font-size: 24px;
|
40 |
-
font-weight: 700;
|
41 |
-
color: #808a97;
|
42 |
-
text-transform: uppercase;
|
43 |
-
}
|
44 |
-
|
45 |
-
.section .section-title h2{
|
46 |
-
display: table-cell;
|
47 |
-
vertical-align: middle;
|
48 |
-
line-height: 27px;
|
49 |
-
}
|
50 |
-
|
51 |
-
.section-title{
|
52 |
-
display: table;
|
53 |
-
}
|
54 |
-
|
55 |
-
.section h3 {
|
56 |
-
font-size: 14px;
|
57 |
-
line-height: 28px;
|
58 |
-
margin-bottom: 0;
|
59 |
-
display: block;
|
60 |
-
}
|
61 |
-
|
62 |
-
.section p{
|
63 |
-
font-size: 13px;
|
64 |
-
margin: 25px 0;
|
65 |
-
}
|
66 |
-
.section ul li{
|
67 |
-
margin-bottom: 4px;
|
68 |
-
}
|
69 |
-
.landing-container{
|
70 |
-
max-width: 750px;
|
71 |
-
margin-left: auto;
|
72 |
-
margin-right: auto;
|
73 |
-
padding: 50px 0 30px;
|
74 |
-
}
|
75 |
-
.landing-container:after{
|
76 |
-
display: block;
|
77 |
-
clear: both;
|
78 |
-
content: '';
|
79 |
-
}
|
80 |
-
.landing-container .col-1,
|
81 |
-
.landing-container .col-2{
|
82 |
-
float: left;
|
83 |
-
box-sizing: border-box;
|
84 |
-
padding: 0 15px;
|
85 |
-
}
|
86 |
-
.landing-container .col-1 img{
|
87 |
-
width: 100%;
|
88 |
-
}
|
89 |
-
.landing-container .col-1{
|
90 |
-
width: 55%;
|
91 |
-
}
|
92 |
-
.landing-container .col-2{
|
93 |
-
width: 45%;
|
94 |
-
}
|
95 |
-
.premium-cta{
|
96 |
-
background-color: #808a97;
|
97 |
-
color: #fff;
|
98 |
-
border-radius: 6px;
|
99 |
-
padding: 20px 15px;
|
100 |
-
}
|
101 |
-
.premium-cta:after{
|
102 |
-
content: '';
|
103 |
-
display: block;
|
104 |
-
clear: both;
|
105 |
-
}
|
106 |
-
.premium-cta p{
|
107 |
-
margin: 7px 0;
|
108 |
-
font-size: 14px;
|
109 |
-
font-weight: 500;
|
110 |
-
display: inline-block;
|
111 |
-
width: 60%;
|
112 |
-
}
|
113 |
-
.premium-cta a.button{
|
114 |
-
border-radius: 6px;
|
115 |
-
height: 60px;
|
116 |
-
float: right;
|
117 |
-
background: url(<?php echo YITH_WCQV_ASSETS_URL?>/image/upgrade.png) #ff643f no-repeat 13px 13px;
|
118 |
-
border-color: #ff643f;
|
119 |
-
box-shadow: none;
|
120 |
-
outline: none;
|
121 |
-
color: #fff;
|
122 |
-
position: relative;
|
123 |
-
padding: 9px 50px 9px 70px;
|
124 |
-
}
|
125 |
-
.premium-cta a.button:hover,
|
126 |
-
.premium-cta a.button:active,
|
127 |
-
.premium-cta a.button:focus{
|
128 |
-
color: #fff;
|
129 |
-
background: url(<?php echo YITH_WCQV_ASSETS_URL?>/image/upgrade.png) #971d00 no-repeat 13px 13px;
|
130 |
-
border-color: #971d00;
|
131 |
-
box-shadow: none;
|
132 |
-
outline: none;
|
133 |
-
}
|
134 |
-
.premium-cta a.button:focus{
|
135 |
-
top: 1px;
|
136 |
-
}
|
137 |
-
.premium-cta a.button span{
|
138 |
-
line-height: 13px;
|
139 |
-
}
|
140 |
-
.premium-cta a.button .highlight{
|
141 |
-
display: block;
|
142 |
-
font-size: 20px;
|
143 |
-
font-weight: 700;
|
144 |
-
line-height: 20px;
|
145 |
-
}
|
146 |
-
.premium-cta .highlight{
|
147 |
-
text-transform: uppercase;
|
148 |
-
background: none;
|
149 |
-
font-weight: 800;
|
150 |
-
color: #fff;
|
151 |
-
}
|
152 |
-
|
153 |
-
@media (max-width: 768px) {
|
154 |
-
.section{margin: 0}
|
155 |
-
.premium-cta p{
|
156 |
-
width: 100%;
|
157 |
-
}
|
158 |
-
.premium-cta{
|
159 |
-
text-align: center;
|
160 |
-
}
|
161 |
-
.premium-cta a.button{
|
162 |
-
float: none;
|
163 |
-
}
|
164 |
-
.section .section-title h2{
|
165 |
-
display: block;
|
166 |
-
margin-top: 15px;
|
167 |
-
}
|
168 |
-
}
|
169 |
-
|
170 |
-
@media (max-width: 480px){
|
171 |
-
.wrap{
|
172 |
-
margin-right: 0;
|
173 |
-
}
|
174 |
-
.section{
|
175 |
-
margin: 0;
|
176 |
-
}
|
177 |
-
.landing-container .col-1,
|
178 |
-
.landing-container .col-2{
|
179 |
-
width: 100%;
|
180 |
-
padding: 0 15px;
|
181 |
-
}
|
182 |
-
.section-odd .col-1 {
|
183 |
-
float: left;
|
184 |
-
margin-right: -100%;
|
185 |
-
}
|
186 |
-
.section-odd .col-2 {
|
187 |
-
float: right;
|
188 |
-
margin-top: 100%;
|
189 |
-
}
|
190 |
-
.section-even .landing-container .col-1{
|
191 |
-
margin-bottom: 26px;
|
192 |
-
}
|
193 |
-
}
|
194 |
-
|
195 |
-
@media (max-width: 320px){
|
196 |
-
.premium-cta a.button{
|
197 |
-
padding: 9px 20px 9px 70px;
|
198 |
-
}
|
199 |
-
|
200 |
-
.section .section-title img{
|
201 |
-
display: none;
|
202 |
-
}
|
203 |
-
}
|
204 |
-
</style>
|
205 |
-
<div class="landing">
|
206 |
-
<div class="section section-cta section-odd">
|
207 |
-
<div class="landing-container">
|
208 |
-
<div class="premium-cta">
|
209 |
-
<p>
|
210 |
-
<?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Quick View%2$s to benefit from all features!','ywqa'),'<span class="highlight">','</span>' );?>
|
211 |
-
</p>
|
212 |
-
<a href="<?php echo YITH_WCQV_Admin()->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
|
213 |
-
<span class="highlight"><?php _e('UPGRADE','yith-woocommerce-quick-view');?></span>
|
214 |
-
<span><?php _e('to the premium version','yith-woocommerce-quick-view');?></span>
|
215 |
-
</a>
|
216 |
-
</div>
|
217 |
-
</div>
|
218 |
-
</div>
|
219 |
-
<div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/01-bg.png) no-repeat #fff; background-position: 85% 75%">
|
220 |
-
<h1><?php _e('Premium Features','yith-woocommerce-quick-view');?></h1>
|
221 |
-
<div class="landing-container">
|
222 |
-
<div class="col-1">
|
223 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/01.png" alt="<?php _e('Button type','yith-woocommerce-quick-view') ?>" />
|
224 |
-
</div>
|
225 |
-
<div class="col-2">
|
226 |
-
<div class="section-title">
|
227 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/01-icon.png" alt="Review Title"/>
|
228 |
-
<h2><?php _e('BUTTON TYPE','yith-woocommerce-quick-view');?></h2>
|
229 |
-
</div>
|
230 |
-
<p><?php echo sprintf( __('Choose between the button or a custom icon to access the %1$sQuick View%2$s: you can choose to place it after the "Add To Cart" button or inside the thumbnail of the product.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
231 |
-
</div>
|
232 |
-
</div>
|
233 |
-
</div>
|
234 |
-
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/02-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
235 |
-
<div class="landing-container">
|
236 |
-
<div class="col-2">
|
237 |
-
<div class="section-title">
|
238 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/02-icon.png" alt="<?php _e('Product Navigation','yith-woocommerce-quick-view');?>" />
|
239 |
-
<h2><?php _e('Product Navigation','yith-woocommerce-quick-view'); ?> </h2>
|
240 |
-
</div>
|
241 |
-
<p><?php echo sprintf( __('The navigation in the "Quick View" allows browsing among %1$sproducts%2$s displayed in it. The navigation arrows show on mousehover the image of the next/previous product.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
242 |
-
</div>
|
243 |
-
<div class="col-1">
|
244 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/02.png" alt="<?php _e('Product Navigation','yith-woocommerce-quick-view');?>" />
|
245 |
-
</div>
|
246 |
-
</div>
|
247 |
-
</div>
|
248 |
-
<div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/03-bg.png) no-repeat #fff; background-position: 85% 100%">
|
249 |
-
<div class="landing-container">
|
250 |
-
<div class="col-1">
|
251 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/03.png" alt="Icon 03" />
|
252 |
-
</div>
|
253 |
-
<div class="col-2">
|
254 |
-
<div class="section-title">
|
255 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/03-icon.png" alt="<?php _e('Content to display','yith-woocommerce-quick-view') ?>" />
|
256 |
-
<h2><?php _e('Content to display','yith-woocommerce-quick-view') ?></h2>
|
257 |
-
</div>
|
258 |
-
<p><?php echo sprintf( __('The display of the product information in the "Quick View" are managed by %1$sadministrators%2$s who can decide whether to show everything or only a part of it.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
259 |
-
</div>
|
260 |
-
</div>
|
261 |
-
</div>
|
262 |
-
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/07-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
263 |
-
<div class="landing-container">
|
264 |
-
<div class="col-2">
|
265 |
-
<div class="section-title">
|
266 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/07-icon.png" alt="icon 04" />
|
267 |
-
<h2><?php _e('Quick View Type','yith-woocommerce-quick-view');?> </h2>
|
268 |
-
</div>
|
269 |
-
<p><?php echo sprintf( __('Quick view has two different displaying modes: the first one opens it as a %1$smodal window%2$s, the other one opens it in the page itself with a %1$scascading effect%2$s above content page.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
270 |
-
</div>
|
271 |
-
<div class="col-1">
|
272 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/07.png" alt="<?php _e('Quick view type','yith-woocommerce-quick-view');?>" />
|
273 |
-
</div>
|
274 |
-
</div>
|
275 |
-
</div>
|
276 |
-
<div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/08-bg.png) no-repeat #fff; background-position: 85% 100%">
|
277 |
-
<div class="landing-container">
|
278 |
-
<div class="col-1">
|
279 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/08.png" alt="View details" />
|
280 |
-
</div>
|
281 |
-
<div class="col-2">
|
282 |
-
<div class="section-title">
|
283 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/08-icon.png" alt="Vote the review" />
|
284 |
-
<h2><?php _e('"View details" button','yith-woocommerce-quick-view');?></h2>
|
285 |
-
</div>
|
286 |
-
<p><?php echo sprintf( __('An additional button that allows users to access product detail page directly from quick view window just with a click of the mouse.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
287 |
-
</div>
|
288 |
-
</div>
|
289 |
-
</div>
|
290 |
-
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/04-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
291 |
-
<div class="landing-container">
|
292 |
-
<div class="col-2">
|
293 |
-
<div class="section-title">
|
294 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/04-icon.png" alt="Number" />
|
295 |
-
<h2><?php _e('Type of product images','yith-woocommerce-quick-view');?></h2>
|
296 |
-
</div>
|
297 |
-
<p><?php echo sprintf( __('Each product can have more than one image: choose whether to hide or show them with the %1$sslider%2$s effect or in the classic %1$sWooCommerce%2$s display.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
298 |
-
</div>
|
299 |
-
<div class="col-1">
|
300 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/04.png" alt="Icon 04" />
|
301 |
-
</div>
|
302 |
-
</div>
|
303 |
-
</div>
|
304 |
-
<div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/05-bg.png) no-repeat #fff; background-position: 85% 100%">
|
305 |
-
<div class="landing-container">
|
306 |
-
<div class="col-1">
|
307 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/05.png" alt="Share" />
|
308 |
-
</div>
|
309 |
-
<div class="col-2">
|
310 |
-
<div class="section-title">
|
311 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL?>/image/05-icon.png" alt="icon 05" />
|
312 |
-
<h2><?php _e('SHARE','yith-woocommerce-quick-view');?></h2>
|
313 |
-
</div>
|
314 |
-
<p><?php echo sprintf( __('%1$sQuick View is also social-friendly!%2$s Activating this option, you will be able to share the Quick View on Facebook, Twitter, Pinterest, Google+, or sending an email.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
315 |
-
</div>
|
316 |
-
</div>
|
317 |
-
</div>
|
318 |
-
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/06-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
319 |
-
<div class="landing-container">
|
320 |
-
<div class="col-2">
|
321 |
-
<div class="section-title">
|
322 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/06-icon.png" alt="Icon 06" />
|
323 |
-
<h2><?php _e('Style Options','yith-woocommerce-quick-view');?></h2>
|
324 |
-
</div>
|
325 |
-
<p><?php echo sprintf( __('A rich option panel to change the colors of the %1$s"Quick View"%2$s button and of everything that is within the modal window generated.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
326 |
-
</div>
|
327 |
-
<div class="col-1">
|
328 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/06.png" alt="<?php _e('Style Options','yith-woocommerce-quick-view') ?>" />
|
329 |
-
</div>
|
330 |
-
</div>
|
331 |
-
</div>
|
332 |
-
<div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/09-bg.png) no-repeat #fff; background-position: 85% 100%">
|
333 |
-
<div class="landing-container">
|
334 |
-
<div class="col-1">
|
335 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/09.png" alt="" />
|
336 |
-
</div>
|
337 |
-
<div class="col-2">
|
338 |
-
<div class="section-title">
|
339 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL?>/image/09-icon.png" alt="icon 09" />
|
340 |
-
<h2><?php _e('SHORTCODE','yith-woocommerce-quick-view');?></h2>
|
341 |
-
</div>
|
342 |
-
<p><?php echo sprintf( __('The shortcode of plugin is a $1$srapid$2$s and $1$seasy$2$s solution: you can add a button in any spot of the page to allow your users to see the quick view of a specific product in your store.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
343 |
-
</div>
|
344 |
-
</div>
|
345 |
-
</div>
|
346 |
-
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/09-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
347 |
-
<div class="landing-container">
|
348 |
-
<div class="col-2">
|
349 |
-
<div class="section-title">
|
350 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/09-icon.png" alt="Icon 10" />
|
351 |
-
<h2><?php _e('Compatibility with other YITH\'s plugins','yith-woocommerce-quick-view');?></h2>
|
352 |
-
</div>
|
353 |
-
<p><?php echo sprintf( __('Thanks to the compatibility with %1$sYITH WooCommerce Zoom Magnifier, YITH WooCommerce Badge Management%2$s and %1$sYITH WooCommerce Wishlist%2$s, you will be free to enrich further the content of your quick view.%3$s Zoom the product image, show a badge, or add the button to open the quick view in all products available in your users\' wishlists. With YITH\'s plugins you make the difference.','yith-woocommerce-quick-view'),'<b>','</b>','<br>' );?></p>
|
354 |
-
</div>
|
355 |
-
<div class="col-1">
|
356 |
-
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/10.png" alt="" />
|
357 |
-
</div>
|
358 |
-
</div>
|
359 |
-
</div>
|
360 |
-
<div class="section section-cta section-odd">
|
361 |
-
<div class="landing-container">
|
362 |
-
<div class="premium-cta">
|
363 |
-
<p>
|
364 |
-
<?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Quick View%2$s to benefit from all features!','ywqa'),'<span class="highlight">','</span>' );?>
|
365 |
-
</p>
|
366 |
-
<a href="<?php echo YITH_WCQV_Admin()->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
|
367 |
-
<span class="highlight"><?php _e('UPGRADE','yith-woocommerce-quick-view');?></span>
|
368 |
-
<span><?php _e('to the premium version','yith-woocommerce-quick-view');?></span>
|
369 |
-
</a>
|
370 |
-
</div>
|
371 |
-
</div>
|
372 |
-
</div>
|
373 |
</div>
|
1 |
+
<style>
|
2 |
+
.section{
|
3 |
+
overflow-x: hidden;
|
4 |
+
}
|
5 |
+
|
6 |
+
.section{
|
7 |
+
margin-left: -20px;
|
8 |
+
margin-right: -20px;
|
9 |
+
font-family: "Raleway",san-serif;
|
10 |
+
}
|
11 |
+
.section h1{
|
12 |
+
text-align: center;
|
13 |
+
text-transform: uppercase;
|
14 |
+
color: #808a97;
|
15 |
+
font-size: 35px;
|
16 |
+
font-weight: 700;
|
17 |
+
line-height: normal;
|
18 |
+
display: inline-block;
|
19 |
+
width: 100%;
|
20 |
+
margin: 50px 0 0;
|
21 |
+
}
|
22 |
+
.section:nth-child(even){
|
23 |
+
background-color: #fff;
|
24 |
+
}
|
25 |
+
.section:nth-child(odd){
|
26 |
+
background-color: #f1f1f1;
|
27 |
+
}
|
28 |
+
.section .section-title img{
|
29 |
+
display: table-cell;
|
30 |
+
vertical-align: middle;
|
31 |
+
width: auto;
|
32 |
+
margin-right: 15px;
|
33 |
+
}
|
34 |
+
.section h2,
|
35 |
+
.section h3 {
|
36 |
+
display: inline-block;
|
37 |
+
vertical-align: middle;
|
38 |
+
padding: 0;
|
39 |
+
font-size: 24px;
|
40 |
+
font-weight: 700;
|
41 |
+
color: #808a97;
|
42 |
+
text-transform: uppercase;
|
43 |
+
}
|
44 |
+
|
45 |
+
.section .section-title h2{
|
46 |
+
display: table-cell;
|
47 |
+
vertical-align: middle;
|
48 |
+
line-height: 27px;
|
49 |
+
}
|
50 |
+
|
51 |
+
.section-title{
|
52 |
+
display: table;
|
53 |
+
}
|
54 |
+
|
55 |
+
.section h3 {
|
56 |
+
font-size: 14px;
|
57 |
+
line-height: 28px;
|
58 |
+
margin-bottom: 0;
|
59 |
+
display: block;
|
60 |
+
}
|
61 |
+
|
62 |
+
.section p{
|
63 |
+
font-size: 13px;
|
64 |
+
margin: 25px 0;
|
65 |
+
}
|
66 |
+
.section ul li{
|
67 |
+
margin-bottom: 4px;
|
68 |
+
}
|
69 |
+
.landing-container{
|
70 |
+
max-width: 750px;
|
71 |
+
margin-left: auto;
|
72 |
+
margin-right: auto;
|
73 |
+
padding: 50px 0 30px;
|
74 |
+
}
|
75 |
+
.landing-container:after{
|
76 |
+
display: block;
|
77 |
+
clear: both;
|
78 |
+
content: '';
|
79 |
+
}
|
80 |
+
.landing-container .col-1,
|
81 |
+
.landing-container .col-2{
|
82 |
+
float: left;
|
83 |
+
box-sizing: border-box;
|
84 |
+
padding: 0 15px;
|
85 |
+
}
|
86 |
+
.landing-container .col-1 img{
|
87 |
+
width: 100%;
|
88 |
+
}
|
89 |
+
.landing-container .col-1{
|
90 |
+
width: 55%;
|
91 |
+
}
|
92 |
+
.landing-container .col-2{
|
93 |
+
width: 45%;
|
94 |
+
}
|
95 |
+
.premium-cta{
|
96 |
+
background-color: #808a97;
|
97 |
+
color: #fff;
|
98 |
+
border-radius: 6px;
|
99 |
+
padding: 20px 15px;
|
100 |
+
}
|
101 |
+
.premium-cta:after{
|
102 |
+
content: '';
|
103 |
+
display: block;
|
104 |
+
clear: both;
|
105 |
+
}
|
106 |
+
.premium-cta p{
|
107 |
+
margin: 7px 0;
|
108 |
+
font-size: 14px;
|
109 |
+
font-weight: 500;
|
110 |
+
display: inline-block;
|
111 |
+
width: 60%;
|
112 |
+
}
|
113 |
+
.premium-cta a.button{
|
114 |
+
border-radius: 6px;
|
115 |
+
height: 60px;
|
116 |
+
float: right;
|
117 |
+
background: url(<?php echo YITH_WCQV_ASSETS_URL?>/image/upgrade.png) #ff643f no-repeat 13px 13px;
|
118 |
+
border-color: #ff643f;
|
119 |
+
box-shadow: none;
|
120 |
+
outline: none;
|
121 |
+
color: #fff;
|
122 |
+
position: relative;
|
123 |
+
padding: 9px 50px 9px 70px;
|
124 |
+
}
|
125 |
+
.premium-cta a.button:hover,
|
126 |
+
.premium-cta a.button:active,
|
127 |
+
.premium-cta a.button:focus{
|
128 |
+
color: #fff;
|
129 |
+
background: url(<?php echo YITH_WCQV_ASSETS_URL?>/image/upgrade.png) #971d00 no-repeat 13px 13px;
|
130 |
+
border-color: #971d00;
|
131 |
+
box-shadow: none;
|
132 |
+
outline: none;
|
133 |
+
}
|
134 |
+
.premium-cta a.button:focus{
|
135 |
+
top: 1px;
|
136 |
+
}
|
137 |
+
.premium-cta a.button span{
|
138 |
+
line-height: 13px;
|
139 |
+
}
|
140 |
+
.premium-cta a.button .highlight{
|
141 |
+
display: block;
|
142 |
+
font-size: 20px;
|
143 |
+
font-weight: 700;
|
144 |
+
line-height: 20px;
|
145 |
+
}
|
146 |
+
.premium-cta .highlight{
|
147 |
+
text-transform: uppercase;
|
148 |
+
background: none;
|
149 |
+
font-weight: 800;
|
150 |
+
color: #fff;
|
151 |
+
}
|
152 |
+
|
153 |
+
@media (max-width: 768px) {
|
154 |
+
.section{margin: 0}
|
155 |
+
.premium-cta p{
|
156 |
+
width: 100%;
|
157 |
+
}
|
158 |
+
.premium-cta{
|
159 |
+
text-align: center;
|
160 |
+
}
|
161 |
+
.premium-cta a.button{
|
162 |
+
float: none;
|
163 |
+
}
|
164 |
+
.section .section-title h2{
|
165 |
+
display: block;
|
166 |
+
margin-top: 15px;
|
167 |
+
}
|
168 |
+
}
|
169 |
+
|
170 |
+
@media (max-width: 480px){
|
171 |
+
.wrap{
|
172 |
+
margin-right: 0;
|
173 |
+
}
|
174 |
+
.section{
|
175 |
+
margin: 0;
|
176 |
+
}
|
177 |
+
.landing-container .col-1,
|
178 |
+
.landing-container .col-2{
|
179 |
+
width: 100%;
|
180 |
+
padding: 0 15px;
|
181 |
+
}
|
182 |
+
.section-odd .col-1 {
|
183 |
+
float: left;
|
184 |
+
margin-right: -100%;
|
185 |
+
}
|
186 |
+
.section-odd .col-2 {
|
187 |
+
float: right;
|
188 |
+
margin-top: 100%;
|
189 |
+
}
|
190 |
+
.section-even .landing-container .col-1{
|
191 |
+
margin-bottom: 26px;
|
192 |
+
}
|
193 |
+
}
|
194 |
+
|
195 |
+
@media (max-width: 320px){
|
196 |
+
.premium-cta a.button{
|
197 |
+
padding: 9px 20px 9px 70px;
|
198 |
+
}
|
199 |
+
|
200 |
+
.section .section-title img{
|
201 |
+
display: none;
|
202 |
+
}
|
203 |
+
}
|
204 |
+
</style>
|
205 |
+
<div class="landing">
|
206 |
+
<div class="section section-cta section-odd">
|
207 |
+
<div class="landing-container">
|
208 |
+
<div class="premium-cta">
|
209 |
+
<p>
|
210 |
+
<?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Quick View%2$s to benefit from all features!','ywqa'),'<span class="highlight">','</span>' );?>
|
211 |
+
</p>
|
212 |
+
<a href="<?php echo YITH_WCQV_Admin()->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
|
213 |
+
<span class="highlight"><?php _e('UPGRADE','yith-woocommerce-quick-view');?></span>
|
214 |
+
<span><?php _e('to the premium version','yith-woocommerce-quick-view');?></span>
|
215 |
+
</a>
|
216 |
+
</div>
|
217 |
+
</div>
|
218 |
+
</div>
|
219 |
+
<div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/01-bg.png) no-repeat #fff; background-position: 85% 75%">
|
220 |
+
<h1><?php _e('Premium Features','yith-woocommerce-quick-view');?></h1>
|
221 |
+
<div class="landing-container">
|
222 |
+
<div class="col-1">
|
223 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/01.png" alt="<?php _e('Button type','yith-woocommerce-quick-view') ?>" />
|
224 |
+
</div>
|
225 |
+
<div class="col-2">
|
226 |
+
<div class="section-title">
|
227 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/01-icon.png" alt="Review Title"/>
|
228 |
+
<h2><?php _e('BUTTON TYPE','yith-woocommerce-quick-view');?></h2>
|
229 |
+
</div>
|
230 |
+
<p><?php echo sprintf( __('Choose between the button or a custom icon to access the %1$sQuick View%2$s: you can choose to place it after the "Add To Cart" button or inside the thumbnail of the product.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
231 |
+
</div>
|
232 |
+
</div>
|
233 |
+
</div>
|
234 |
+
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/02-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
235 |
+
<div class="landing-container">
|
236 |
+
<div class="col-2">
|
237 |
+
<div class="section-title">
|
238 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/02-icon.png" alt="<?php _e('Product Navigation','yith-woocommerce-quick-view');?>" />
|
239 |
+
<h2><?php _e('Product Navigation','yith-woocommerce-quick-view'); ?> </h2>
|
240 |
+
</div>
|
241 |
+
<p><?php echo sprintf( __('The navigation in the "Quick View" allows browsing among %1$sproducts%2$s displayed in it. The navigation arrows show on mousehover the image of the next/previous product.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
242 |
+
</div>
|
243 |
+
<div class="col-1">
|
244 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/02.png" alt="<?php _e('Product Navigation','yith-woocommerce-quick-view');?>" />
|
245 |
+
</div>
|
246 |
+
</div>
|
247 |
+
</div>
|
248 |
+
<div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/03-bg.png) no-repeat #fff; background-position: 85% 100%">
|
249 |
+
<div class="landing-container">
|
250 |
+
<div class="col-1">
|
251 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/03.png" alt="Icon 03" />
|
252 |
+
</div>
|
253 |
+
<div class="col-2">
|
254 |
+
<div class="section-title">
|
255 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/03-icon.png" alt="<?php _e('Content to display','yith-woocommerce-quick-view') ?>" />
|
256 |
+
<h2><?php _e('Content to display','yith-woocommerce-quick-view') ?></h2>
|
257 |
+
</div>
|
258 |
+
<p><?php echo sprintf( __('The display of the product information in the "Quick View" are managed by %1$sadministrators%2$s who can decide whether to show everything or only a part of it.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
259 |
+
</div>
|
260 |
+
</div>
|
261 |
+
</div>
|
262 |
+
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/07-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
263 |
+
<div class="landing-container">
|
264 |
+
<div class="col-2">
|
265 |
+
<div class="section-title">
|
266 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/07-icon.png" alt="icon 04" />
|
267 |
+
<h2><?php _e('Quick View Type','yith-woocommerce-quick-view');?> </h2>
|
268 |
+
</div>
|
269 |
+
<p><?php echo sprintf( __('Quick view has two different displaying modes: the first one opens it as a %1$smodal window%2$s, the other one opens it in the page itself with a %1$scascading effect%2$s above content page.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
270 |
+
</div>
|
271 |
+
<div class="col-1">
|
272 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/07.png" alt="<?php _e('Quick view type','yith-woocommerce-quick-view');?>" />
|
273 |
+
</div>
|
274 |
+
</div>
|
275 |
+
</div>
|
276 |
+
<div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/08-bg.png) no-repeat #fff; background-position: 85% 100%">
|
277 |
+
<div class="landing-container">
|
278 |
+
<div class="col-1">
|
279 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/08.png" alt="View details" />
|
280 |
+
</div>
|
281 |
+
<div class="col-2">
|
282 |
+
<div class="section-title">
|
283 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/08-icon.png" alt="Vote the review" />
|
284 |
+
<h2><?php _e('"View details" button','yith-woocommerce-quick-view');?></h2>
|
285 |
+
</div>
|
286 |
+
<p><?php echo sprintf( __('An additional button that allows users to access product detail page directly from quick view window just with a click of the mouse.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
287 |
+
</div>
|
288 |
+
</div>
|
289 |
+
</div>
|
290 |
+
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/04-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
291 |
+
<div class="landing-container">
|
292 |
+
<div class="col-2">
|
293 |
+
<div class="section-title">
|
294 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/04-icon.png" alt="Number" />
|
295 |
+
<h2><?php _e('Type of product images','yith-woocommerce-quick-view');?></h2>
|
296 |
+
</div>
|
297 |
+
<p><?php echo sprintf( __('Each product can have more than one image: choose whether to hide or show them with the %1$sslider%2$s effect or in the classic %1$sWooCommerce%2$s display.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
298 |
+
</div>
|
299 |
+
<div class="col-1">
|
300 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/04.png" alt="Icon 04" />
|
301 |
+
</div>
|
302 |
+
</div>
|
303 |
+
</div>
|
304 |
+
<div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/05-bg.png) no-repeat #fff; background-position: 85% 100%">
|
305 |
+
<div class="landing-container">
|
306 |
+
<div class="col-1">
|
307 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/05.png" alt="Share" />
|
308 |
+
</div>
|
309 |
+
<div class="col-2">
|
310 |
+
<div class="section-title">
|
311 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL?>/image/05-icon.png" alt="icon 05" />
|
312 |
+
<h2><?php _e('SHARE','yith-woocommerce-quick-view');?></h2>
|
313 |
+
</div>
|
314 |
+
<p><?php echo sprintf( __('%1$sQuick View is also social-friendly!%2$s Activating this option, you will be able to share the Quick View on Facebook, Twitter, Pinterest, Google+, or sending an email.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
315 |
+
</div>
|
316 |
+
</div>
|
317 |
+
</div>
|
318 |
+
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/06-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
319 |
+
<div class="landing-container">
|
320 |
+
<div class="col-2">
|
321 |
+
<div class="section-title">
|
322 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/06-icon.png" alt="Icon 06" />
|
323 |
+
<h2><?php _e('Style Options','yith-woocommerce-quick-view');?></h2>
|
324 |
+
</div>
|
325 |
+
<p><?php echo sprintf( __('A rich option panel to change the colors of the %1$s"Quick View"%2$s button and of everything that is within the modal window generated.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
326 |
+
</div>
|
327 |
+
<div class="col-1">
|
328 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/06.png" alt="<?php _e('Style Options','yith-woocommerce-quick-view') ?>" />
|
329 |
+
</div>
|
330 |
+
</div>
|
331 |
+
</div>
|
332 |
+
<div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/09-bg.png) no-repeat #fff; background-position: 85% 100%">
|
333 |
+
<div class="landing-container">
|
334 |
+
<div class="col-1">
|
335 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/09.png" alt="" />
|
336 |
+
</div>
|
337 |
+
<div class="col-2">
|
338 |
+
<div class="section-title">
|
339 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL?>/image/09-icon.png" alt="icon 09" />
|
340 |
+
<h2><?php _e('SHORTCODE','yith-woocommerce-quick-view');?></h2>
|
341 |
+
</div>
|
342 |
+
<p><?php echo sprintf( __('The shortcode of plugin is a $1$srapid$2$s and $1$seasy$2$s solution: you can add a button in any spot of the page to allow your users to see the quick view of a specific product in your store.','yith-woocommerce-quick-view'),'<b>','</b>' );?></p>
|
343 |
+
</div>
|
344 |
+
</div>
|
345 |
+
</div>
|
346 |
+
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/09-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
347 |
+
<div class="landing-container">
|
348 |
+
<div class="col-2">
|
349 |
+
<div class="section-title">
|
350 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/09-icon.png" alt="Icon 10" />
|
351 |
+
<h2><?php _e('Compatibility with other YITH\'s plugins','yith-woocommerce-quick-view');?></h2>
|
352 |
+
</div>
|
353 |
+
<p><?php echo sprintf( __('Thanks to the compatibility with %1$sYITH WooCommerce Zoom Magnifier, YITH WooCommerce Badge Management%2$s and %1$sYITH WooCommerce Wishlist%2$s, you will be free to enrich further the content of your quick view.%3$s Zoom the product image, show a badge, or add the button to open the quick view in all products available in your users\' wishlists. With YITH\'s plugins you make the difference.','yith-woocommerce-quick-view'),'<b>','</b>','<br>' );?></p>
|
354 |
+
</div>
|
355 |
+
<div class="col-1">
|
356 |
+
<img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/10.png" alt="" />
|
357 |
+
</div>
|
358 |
+
</div>
|
359 |
+
</div>
|
360 |
+
<div class="section section-cta section-odd">
|
361 |
+
<div class="landing-container">
|
362 |
+
<div class="premium-cta">
|
363 |
+
<p>
|
364 |
+
<?php echo sprintf( __('Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Quick View%2$s to benefit from all features!','ywqa'),'<span class="highlight">','</span>' );?>
|
365 |
+
</p>
|
366 |
+
<a href="<?php echo YITH_WCQV_Admin()->get_premium_landing_uri() ?>" target="_blank" class="premium-cta-button button btn">
|
367 |
+
<span class="highlight"><?php _e('UPGRADE','yith-woocommerce-quick-view');?></span>
|
368 |
+
<span><?php _e('to the premium version','yith-woocommerce-quick-view');?></span>
|
369 |
+
</a>
|
370 |
+
</div>
|
371 |
+
</div>
|
372 |
+
</div>
|
373 |
</div>
|
templates/yith-quick-view-content.php
CHANGED
@@ -1,29 +1,29 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
* This file belongs to the YIT Framework.
|
4 |
-
*
|
5 |
-
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
|
6 |
-
* that is bundled with this package in the file LICENSE.txt.
|
7 |
-
* It is also available through the world-wide-web at this URL:
|
8 |
-
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
-
*/
|
10 |
-
|
11 |
-
while ( have_posts() ) : the_post(); ?>
|
12 |
-
|
13 |
-
<div class="product">
|
14 |
-
|
15 |
-
<div id="product-<?php the_ID(); ?>" <?php post_class('product'); ?>>
|
16 |
-
|
17 |
-
<?php do_action( 'yith_wcqv_product_image' ); ?>
|
18 |
-
|
19 |
-
<div class="summary entry-summary">
|
20 |
-
<div class="summary-content">
|
21 |
-
<?php do_action( 'yith_wcqv_product_summary' ); ?>
|
22 |
-
</div>
|
23 |
-
</div>
|
24 |
-
|
25 |
-
</div>
|
26 |
-
|
27 |
-
</div>
|
28 |
-
|
29 |
<?php endwhile; // end of the loop.
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* This file belongs to the YIT Framework.
|
4 |
+
*
|
5 |
+
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
|
6 |
+
* that is bundled with this package in the file LICENSE.txt.
|
7 |
+
* It is also available through the world-wide-web at this URL:
|
8 |
+
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
+
*/
|
10 |
+
|
11 |
+
while ( have_posts() ) : the_post(); ?>
|
12 |
+
|
13 |
+
<div class="product">
|
14 |
+
|
15 |
+
<div id="product-<?php the_ID(); ?>" <?php post_class('product'); ?>>
|
16 |
+
|
17 |
+
<?php do_action( 'yith_wcqv_product_image' ); ?>
|
18 |
+
|
19 |
+
<div class="summary entry-summary">
|
20 |
+
<div class="summary-content">
|
21 |
+
<?php do_action( 'yith_wcqv_product_summary' ); ?>
|
22 |
+
</div>
|
23 |
+
</div>
|
24 |
+
|
25 |
+
</div>
|
26 |
+
|
27 |
+
</div>
|
28 |
+
|
29 |
<?php endwhile; // end of the loop.
|
templates/yith-quick-view.php
CHANGED
@@ -1,30 +1,30 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
* This file belongs to the YIT Framework.
|
4 |
-
*
|
5 |
-
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
|
6 |
-
* that is bundled with this package in the file LICENSE.txt.
|
7 |
-
* It is also available through the world-wide-web at this URL:
|
8 |
-
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
-
*/
|
10 |
-
?>
|
11 |
-
|
12 |
-
<div id="yith-quick-view-modal">
|
13 |
-
|
14 |
-
<div class="yith-quick-view-overlay"></div>
|
15 |
-
|
16 |
-
<div class="yith-wcqv-wrapper">
|
17 |
-
|
18 |
-
<div class="yith-wcqv-main">
|
19 |
-
|
20 |
-
<div class="yith-wcqv-head">
|
21 |
-
<a href="#" id="yith-quick-view-close" class="yith-wcqv-close">X</a>
|
22 |
-
</div>
|
23 |
-
|
24 |
-
<div id="yith-quick-view-content" class="woocommerce single-product"></div>
|
25 |
-
|
26 |
-
</div>
|
27 |
-
|
28 |
-
</div>
|
29 |
-
|
30 |
</div>
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* This file belongs to the YIT Framework.
|
4 |
+
*
|
5 |
+
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
|
6 |
+
* that is bundled with this package in the file LICENSE.txt.
|
7 |
+
* It is also available through the world-wide-web at this URL:
|
8 |
+
* http://www.gnu.org/licenses/gpl-3.0.txt
|
9 |
+
*/
|
10 |
+
?>
|
11 |
+
|
12 |
+
<div id="yith-quick-view-modal">
|
13 |
+
|
14 |
+
<div class="yith-quick-view-overlay"></div>
|
15 |
+
|
16 |
+
<div class="yith-wcqv-wrapper">
|
17 |
+
|
18 |
+
<div class="yith-wcqv-main">
|
19 |
+
|
20 |
+
<div class="yith-wcqv-head">
|
21 |
+
<a href="#" id="yith-quick-view-close" class="yith-wcqv-close">X</a>
|
22 |
+
</div>
|
23 |
+
|
24 |
+
<div id="yith-quick-view-content" class="woocommerce single-product"></div>
|
25 |
+
|
26 |
+
</div>
|
27 |
+
|
28 |
+
</div>
|
29 |
+
|
30 |
</div>
|
uninstall.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Uninstall plugin
|
4 |
-
*
|
5 |
-
* @author Your Inspiration Themes
|
6 |
-
* @package YITH WooCommerce Quick View
|
7 |
-
* @version 1.0.0
|
8 |
-
*/
|
9 |
-
|
10 |
-
// If uninstall not called from WordPress exit
|
11 |
-
if( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
12 |
-
exit;
|
13 |
-
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Uninstall plugin
|
4 |
+
*
|
5 |
+
* @author Your Inspiration Themes
|
6 |
+
* @package YITH WooCommerce Quick View
|
7 |
+
* @version 1.0.0
|
8 |
+
*/
|
9 |
+
|
10 |
+
// If uninstall not called from WordPress exit
|
11 |
+
if( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
12 |
+
exit;
|
13 |
+
}
|
wpml-config.xml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
<wpml-config>
|
2 |
-
<admin-texts>
|
3 |
-
<key name="yith-wcqv-button-label" />
|
4 |
-
</admin-texts>
|
5 |
</wpml-config>
|
1 |
+
<wpml-config>
|
2 |
+
<admin-texts>
|
3 |
+
<key name="yith-wcqv-button-label" />
|
4 |
+
</admin-texts>
|
5 |
</wpml-config>
|