Version Description
- Added option for enable quick view also in mobile device
- Compatibility with Wordpress 4.2.2
- Minor bug fix
- Updated Plugin Core
- Updated Language file
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Quick View |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- README.txt +15 -4
- assets/js/frontend.js +12 -7
- class.yith-wcqv-admin.php +1 -1
- class.yith-wcqv-frontend.php +1 -1
- class.yith-wcqv.php +6 -1
- init.php +3 -3
- languages/default.po +0 -1030
- languages/yith-wcqv.pot +20 -914
- plugin-fw/assets/css/metaboxes.css +12 -1
- plugin-fw/assets/css/yit-plugin-panel.css +34 -17
- plugin-fw/assets/js/chosen/ajax-chosen.jquery.js +81 -0
- plugin-fw/assets/js/chosen/ajax-chosen.jquery.min.js +2 -0
- plugin-fw/assets/js/metabox.js +1 -1
- plugin-fw/assets/js/metabox.min.js +4 -4
- plugin-fw/assets/js/yit-plugin-panel.js +69 -20
- plugin-fw/assets/js/yit-plugin-panel.min.js +10 -9
- plugin-fw/assets/js/yit-wp-pointer.js +1 -1
- plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
- plugin-fw/languages/yith-plugin-fw-it_IT.po +988 -0
- plugin-fw/languages/yith-plugin-fw.pot +920 -0
- plugin-fw/lib/yit-cpt-unlimited.php +64 -64
- plugin-fw/lib/yit-metabox.php +9 -9
- plugin-fw/lib/yit-plugin-common.php +228 -3
- plugin-fw/lib/yit-plugin-panel-wc.php +1 -21
- plugin-fw/lib/yit-plugin-panel.php +73 -35
- plugin-fw/lib/yit-plugin-subpanel.php +4 -4
- plugin-fw/lib/yit-pointers.php +8 -8
- plugin-fw/lib/yit-upgrade.php +19 -14
- plugin-fw/lib/yit-video.php +16 -8
- plugin-fw/licence/assets/css/yit-licence.css +13 -0
- plugin-fw/licence/lib/yit-licence.php +39 -20
- plugin-fw/licence/lib/yit-plugin-licence.php +3 -2
- plugin-fw/licence/lib/yit-theme-licence.php +7 -6
- plugin-fw/licence/templates/panel/activation/activation-panel.php +39 -25
- plugin-fw/templates/metaboxes/tab.php +10 -1
- plugin-fw/templates/metaboxes/types/ajax-products.php +3 -4
- plugin-fw/templates/metaboxes/types/categories.php +2 -2
- plugin-fw/templates/metaboxes/types/contactform.php +77 -73
- plugin-fw/templates/metaboxes/types/customtabs.php +11 -11
- plugin-fw/templates/metaboxes/types/icon-list.php +4 -4
- plugin-fw/templates/metaboxes/types/image-gallery.php +8 -3
- plugin-fw/templates/metaboxes/types/images.php +10 -5
- plugin-fw/templates/metaboxes/types/onoff.php +4 -0
- plugin-fw/templates/metaboxes/types/preview.php +19 -0
- plugin-fw/templates/metaboxes/types/responsivesliders.php +1 -1
- plugin-fw/templates/metaboxes/types/select-icon.php +2 -2
- plugin-fw/templates/metaboxes/types/sidebar-layout.php +4 -4
- plugin-fw/templates/metaboxes/types/sidebars.php +8 -8
- plugin-fw/templates/metaboxes/types/typography.php +13 -13
- plugin-fw/templates/metaboxes/types/upload.php +1 -1
- plugin-fw/templates/panel/infobox.php +2 -2
- plugin-fw/templates/panel/types/upload.php +1 -1
- plugin-fw/templates/panel/videobox.php +9 -9
- plugin-fw/templates/panel/woocommerce/woocommerce-form.php +3 -3
- plugin-fw/templates/panel/woocommerce/woocommerce-upload.php +1 -1
- plugin-fw/yit-deactive-plugin.php +1 -1
- plugin-fw/yit-functions.php +3 -1
- plugin-fw/yit-plugin.php +6 -0
- plugin-options/settings-options.php +9 -1
README.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: yithemes
|
3 |
Tags: yith, woocommerce, quick view, woocommerce quick view, yit, single product, products quick view, free quick view, woocommerce extension, woocommerce plugin, product summary, summary, modal
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -42,6 +42,14 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
|
|
42 |
|
43 |
== Changelog ==
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
= 1.0.3 =
|
46 |
|
47 |
* Minor bug fix
|
@@ -74,7 +82,10 @@ If you have created your own language pack, or have an update for an existing on
|
|
74 |
|
75 |
== Upgrade notice ==
|
76 |
|
77 |
-
= 1.0.
|
78 |
|
|
|
|
|
79 |
* Minor bug fix
|
80 |
-
* Updated Plugin Core
|
|
2 |
Contributors: yithemes
|
3 |
Tags: yith, woocommerce, quick view, woocommerce quick view, yit, single product, products quick view, free quick view, woocommerce extension, woocommerce plugin, product summary, summary, modal
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 4.2
|
6 |
+
Stable tag: 1.0.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
42 |
|
43 |
== Changelog ==
|
44 |
|
45 |
+
= 1.0.4 =
|
46 |
+
|
47 |
+
* Added option for enable quick view also in mobile device
|
48 |
+
* Compatibility with Wordpress 4.2.2
|
49 |
+
* Minor bug fix
|
50 |
+
* Updated Plugin Core
|
51 |
+
* Updated Language file
|
52 |
+
|
53 |
= 1.0.3 =
|
54 |
|
55 |
* Minor bug fix
|
82 |
|
83 |
== Upgrade notice ==
|
84 |
|
85 |
+
= 1.0.4 =
|
86 |
|
87 |
+
* Added option for enable quick view also in mobile device
|
88 |
+
* Compatibility with Wordpress 4.2.2
|
89 |
* Minor bug fix
|
90 |
+
* Updated Plugin Core
|
91 |
+
* Updated Language file
|
assets/js/frontend.js
CHANGED
@@ -19,14 +19,14 @@ jQuery(document).ready(function($){
|
|
19 |
*MAIN BUTTON OPEN
|
20 |
==================*/
|
21 |
|
22 |
-
$.yith_quick_view = function() {
|
23 |
|
24 |
-
var
|
25 |
|
26 |
// remove prev click event
|
27 |
-
|
28 |
|
29 |
-
|
30 |
|
31 |
e.preventDefault();
|
32 |
|
@@ -49,9 +49,6 @@ jQuery(document).ready(function($){
|
|
49 |
});
|
50 |
};
|
51 |
|
52 |
-
// init
|
53 |
-
$.yith_quick_view();
|
54 |
-
|
55 |
/*================
|
56 |
* MAIN AJAX CALL
|
57 |
================*/
|
@@ -132,4 +129,12 @@ jQuery(document).ready(function($){
|
|
132 |
|
133 |
close_modal_qv();
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
});
|
19 |
*MAIN BUTTON OPEN
|
20 |
==================*/
|
21 |
|
22 |
+
$.fn.yith_quick_view = function() {
|
23 |
|
24 |
+
var button = $(document).find( '.yith-wcqv-button' );
|
25 |
|
26 |
// remove prev click event
|
27 |
+
button.off( 'click' );
|
28 |
|
29 |
+
button.on( 'click', function(e){
|
30 |
|
31 |
e.preventDefault();
|
32 |
|
49 |
});
|
50 |
};
|
51 |
|
|
|
|
|
|
|
52 |
/*================
|
53 |
* MAIN AJAX CALL
|
54 |
================*/
|
129 |
|
130 |
close_modal_qv();
|
131 |
|
132 |
+
// START
|
133 |
+
$.fn.yith_quick_view();
|
134 |
+
|
135 |
+
$( document ).on( 'yith_infs_adding_elem', function(){
|
136 |
+
// RESTART
|
137 |
+
$.fn.yith_quick_view();
|
138 |
+
});
|
139 |
+
|
140 |
});
|
class.yith-wcqv-admin.php
CHANGED
@@ -58,7 +58,7 @@ if ( ! class_exists( 'YITH_WCQV_Admin' ) ) {
|
|
58 |
/**
|
59 |
* @var string Premium version landing link
|
60 |
*/
|
61 |
-
protected $_premium_landing = '
|
62 |
|
63 |
/**
|
64 |
* @var string Quick View panel page
|
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
|
class.yith-wcqv-frontend.php
CHANGED
@@ -118,7 +118,7 @@ if( ! class_exists( 'YITH_WCQV_Frontend' ) ) {
|
|
118 |
|
119 |
global $product;
|
120 |
|
121 |
-
$label = get_option( 'yith-wcqv-button-label' );
|
122 |
|
123 |
echo '<a href="#" class="button yith-wcqv-button" data-product_id="' . $product->id . '">' . $label . '</a>';
|
124 |
}
|
118 |
|
119 |
global $product;
|
120 |
|
121 |
+
$label = esc_html( get_option( 'yith-wcqv-button-label' ) );
|
122 |
|
123 |
echo '<a href="#" class="button yith-wcqv-button" data-product_id="' . $product->id . '">' . $label . '</a>';
|
124 |
}
|
class.yith-wcqv.php
CHANGED
@@ -73,8 +73,13 @@ if ( ! class_exists( 'YITH_WCQV' ) ) {
|
|
73 |
if ( is_admin() ) {
|
74 |
YITH_WCQV_Admin();
|
75 |
}
|
|
|
|
|
|
|
|
|
|
|
76 |
// Class frontend
|
77 |
-
if(
|
78 |
YITH_WCQV_Frontend();
|
79 |
}
|
80 |
}
|
73 |
if ( is_admin() ) {
|
74 |
YITH_WCQV_Admin();
|
75 |
}
|
76 |
+
|
77 |
+
// Class frontend
|
78 |
+
$enable = get_option( 'yith-wcqv-enable' ) == 'yes' ? true : false;
|
79 |
+
$enable_on_mobile = get_option( 'yith-wcqv-enable-mobile' ) == 'yes' ? true : false;
|
80 |
+
|
81 |
// Class frontend
|
82 |
+
if( ( ! wp_is_mobile() && $enable ) || ( wp_is_mobile() && $enable_on_mobile && $enable ) ) {
|
83 |
YITH_WCQV_Frontend();
|
84 |
}
|
85 |
}
|
init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Quick View
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Quick View allows your users to have a quick look about products.
|
6 |
-
* Version: 1.0.
|
7 |
* Author: Yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yit
|
@@ -11,7 +11,7 @@
|
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Quick View
|
14 |
-
* @version 1.0.
|
15 |
*/
|
16 |
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
@@ -59,7 +59,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
|
59 |
|
60 |
|
61 |
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
|
62 |
-
define( 'YITH_WCQV_VERSION', '1.0.
|
63 |
}
|
64 |
|
65 |
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
|
3 |
* Plugin Name: YITH WooCommerce Quick View
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Quick View allows your users to have a quick look about products.
|
6 |
+
* Version: 1.0.4
|
7 |
* Author: Yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yit
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Quick View
|
14 |
+
* @version 1.0.4
|
15 |
*/
|
16 |
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
59 |
|
60 |
|
61 |
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
|
62 |
+
define( 'YITH_WCQV_VERSION', '1.0.4' );
|
63 |
}
|
64 |
|
65 |
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
|
languages/default.po
DELETED
@@ -1,1030 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: YITH Woocommerce Quick View\n"
|
4 |
-
"POT-Creation-Date: 2015-03-11 10:24+0100\n"
|
5 |
-
"PO-Revision-Date: 2015-03-11 10:24+0100\n"
|
6 |
-
"Last-Translator: \n"
|
7 |
-
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
8 |
-
"Language: en\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.6.4\n"
|
13 |
-
"X-Poedit-Basepath: .\n"
|
14 |
-
"Plural-Forms: nplurals=2; plural=n!=1;\n"
|
15 |
-
"X-Poedit-KeywordsList: __ ;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
|
16 |
-
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
-
"X-Poedit-SearchPath-0: ..\n"
|
19 |
-
|
20 |
-
#: ../class.yith-wcqv-admin.php:130 ../class.yith-wcqv-admin.php:152
|
21 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1048
|
22 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1196
|
23 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1202
|
24 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:62
|
25 |
-
msgid "Settings"
|
26 |
-
msgstr ""
|
27 |
-
|
28 |
-
#: ../class.yith-wcqv-admin.php:131 ../class.yith-wcqv-admin.php:153
|
29 |
-
msgid "Premium Version"
|
30 |
-
msgstr ""
|
31 |
-
|
32 |
-
#: ../class.yith-wcqv-admin.php:159 ../class.yith-wcqv-admin.php:160
|
33 |
-
#: ../plugin-options/settings-options.php:49
|
34 |
-
msgid "Quick View"
|
35 |
-
msgstr ""
|
36 |
-
|
37 |
-
#: ../class.yith-wcqv-admin.php:214
|
38 |
-
msgid "Plugin Documentation"
|
39 |
-
msgstr ""
|
40 |
-
|
41 |
-
#: ../class.yith-wcqv-admin.php:231 ../plugin-options/settings-options.php:11
|
42 |
-
#: ../plugin-options/settings-options.php:18
|
43 |
-
msgid "YITH WooCommerce Quick View"
|
44 |
-
msgstr ""
|
45 |
-
|
46 |
-
#: ../class.yith-wcqv-admin.php:232
|
47 |
-
msgid ""
|
48 |
-
"In the YIT Plugin tab you can find the YITH WooCommerce Quick View options.\n"
|
49 |
-
"\t\t\t\t\t\t\t\t\t\tWith this menu, you can access to all the settings of "
|
50 |
-
"our plugins that you have activated.\n"
|
51 |
-
"\t\t\t\t\t\t\t\t\t\tYITH WooCommerce Quick View is available in an "
|
52 |
-
"outstanding PREMIUM version with many new options,\n"
|
53 |
-
"\t\t\t\t\t\t\t\t\t\t<a href=\""
|
54 |
-
msgstr ""
|
55 |
-
|
56 |
-
#: ../init.php:41
|
57 |
-
msgid ""
|
58 |
-
"YITH WooCommerce Quick View is enabled but not effective. It requires "
|
59 |
-
"Woocommerce in order to work."
|
60 |
-
msgstr ""
|
61 |
-
|
62 |
-
#: ../init.php:50
|
63 |
-
msgid ""
|
64 |
-
"You can't activate the free version of YITH WooCommerce Quick View while you "
|
65 |
-
"are using the premium one."
|
66 |
-
msgstr ""
|
67 |
-
|
68 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:460
|
69 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:574
|
70 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:719
|
71 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1632
|
72 |
-
#, php-format
|
73 |
-
msgid "Add %s"
|
74 |
-
msgstr ""
|
75 |
-
|
76 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:461
|
77 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:575
|
78 |
-
#, php-format
|
79 |
-
msgid "Add New %s"
|
80 |
-
msgstr ""
|
81 |
-
|
82 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:462
|
83 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:576
|
84 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1267
|
85 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1304
|
86 |
-
#, php-format
|
87 |
-
msgid "Edit %s"
|
88 |
-
msgstr ""
|
89 |
-
|
90 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:463
|
91 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:577
|
92 |
-
#, php-format
|
93 |
-
msgid "New %s"
|
94 |
-
msgstr ""
|
95 |
-
|
96 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:464
|
97 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:578
|
98 |
-
#, php-format
|
99 |
-
msgid "All %s"
|
100 |
-
msgstr ""
|
101 |
-
|
102 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:465
|
103 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:579
|
104 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1251
|
105 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1305
|
106 |
-
#, php-format
|
107 |
-
msgid "View %s"
|
108 |
-
msgstr ""
|
109 |
-
|
110 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:466
|
111 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:580
|
112 |
-
#, php-format
|
113 |
-
msgid "Search %s"
|
114 |
-
msgstr ""
|
115 |
-
|
116 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:467
|
117 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:581
|
118 |
-
#, php-format
|
119 |
-
msgid "No %s found"
|
120 |
-
msgstr ""
|
121 |
-
|
122 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:468
|
123 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:582
|
124 |
-
#, php-format
|
125 |
-
msgid "No %s found in Trash"
|
126 |
-
msgstr ""
|
127 |
-
|
128 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:625
|
129 |
-
#, php-format
|
130 |
-
msgctxt "taxonomy general name"
|
131 |
-
msgid "%s Categories"
|
132 |
-
msgstr ""
|
133 |
-
|
134 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:626
|
135 |
-
msgctxt "taxonomy singular name"
|
136 |
-
msgid "Category"
|
137 |
-
msgstr ""
|
138 |
-
|
139 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:627
|
140 |
-
msgid "Search Categories"
|
141 |
-
msgstr ""
|
142 |
-
|
143 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:628
|
144 |
-
msgid "All Categories"
|
145 |
-
msgstr ""
|
146 |
-
|
147 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:629
|
148 |
-
msgid "Parent Category"
|
149 |
-
msgstr ""
|
150 |
-
|
151 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:630
|
152 |
-
msgid "Parent Category:"
|
153 |
-
msgstr ""
|
154 |
-
|
155 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:631
|
156 |
-
msgid "Edit Category"
|
157 |
-
msgstr ""
|
158 |
-
|
159 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:632
|
160 |
-
msgid "Update Category"
|
161 |
-
msgstr ""
|
162 |
-
|
163 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:633
|
164 |
-
msgid "Add New Category"
|
165 |
-
msgstr ""
|
166 |
-
|
167 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:634
|
168 |
-
msgid "New Category Name"
|
169 |
-
msgstr ""
|
170 |
-
|
171 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:635
|
172 |
-
msgid "Category"
|
173 |
-
msgstr ""
|
174 |
-
|
175 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:724
|
176 |
-
msgid "Categories"
|
177 |
-
msgstr ""
|
178 |
-
|
179 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1042
|
180 |
-
#, php-format
|
181 |
-
msgid "%s Settings"
|
182 |
-
msgstr ""
|
183 |
-
|
184 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1051
|
185 |
-
msgid "Type"
|
186 |
-
msgstr ""
|
187 |
-
|
188 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1052
|
189 |
-
msgid "Layout for this "
|
190 |
-
msgstr ""
|
191 |
-
|
192 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1058
|
193 |
-
msgid "Rewrite"
|
194 |
-
msgstr ""
|
195 |
-
|
196 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1059
|
197 |
-
msgid ""
|
198 |
-
"Univocal identification name in the URL for each product (slug from post if "
|
199 |
-
"empty)"
|
200 |
-
msgstr ""
|
201 |
-
|
202 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1064
|
203 |
-
msgid "Label in Singular"
|
204 |
-
msgstr ""
|
205 |
-
|
206 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1065
|
207 |
-
msgid "Set a label in singular (title of portfolio if empty)"
|
208 |
-
msgstr ""
|
209 |
-
|
210 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1070
|
211 |
-
msgid "Label in Plural"
|
212 |
-
msgstr ""
|
213 |
-
|
214 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1071
|
215 |
-
msgid "Set a label in plural (title of portfolio if empty)"
|
216 |
-
msgstr ""
|
217 |
-
|
218 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1076
|
219 |
-
msgid "Taxonomy"
|
220 |
-
msgstr ""
|
221 |
-
|
222 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1077
|
223 |
-
msgid ""
|
224 |
-
"If you want to use categories in the portfolio, set a name for taxonomy. "
|
225 |
-
"Name should be a slug (must not contain capital letters nor spaces) and must "
|
226 |
-
"not be more than 32 characters long (database structure restriction)."
|
227 |
-
msgstr ""
|
228 |
-
|
229 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1082
|
230 |
-
msgid "Taxonomy Rewrite"
|
231 |
-
msgstr ""
|
232 |
-
|
233 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1083
|
234 |
-
msgid "Set univocal name for each category page URL."
|
235 |
-
msgstr ""
|
236 |
-
|
237 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1088
|
238 |
-
msgid "Single layout"
|
239 |
-
msgstr ""
|
240 |
-
|
241 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1089
|
242 |
-
msgid "Layout for single page of this portfolio"
|
243 |
-
msgstr ""
|
244 |
-
|
245 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1130
|
246 |
-
msgid "layout settings"
|
247 |
-
msgstr ""
|
248 |
-
|
249 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1222
|
250 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1235
|
251 |
-
msgid "Quick links"
|
252 |
-
msgstr ""
|
253 |
-
|
254 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1475
|
255 |
-
#, php-format
|
256 |
-
msgid "Show frontend of the %s"
|
257 |
-
msgstr ""
|
258 |
-
|
259 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1482
|
260 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:46
|
261 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:90
|
262 |
-
msgid "Name"
|
263 |
-
msgstr ""
|
264 |
-
|
265 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1631
|
266 |
-
#, php-format
|
267 |
-
msgid "Add %s from images"
|
268 |
-
msgstr ""
|
269 |
-
|
270 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1633
|
271 |
-
msgid "Add with multiupload"
|
272 |
-
msgstr ""
|
273 |
-
|
274 |
-
#: ../plugin-fw/lib/yit-plugin-panel-wc.php:315
|
275 |
-
msgid "The changes you have made will be lost if you leave this page."
|
276 |
-
msgstr ""
|
277 |
-
|
278 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:61
|
279 |
-
msgid "Plugin Settings"
|
280 |
-
msgstr ""
|
281 |
-
|
282 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:94
|
283 |
-
#: ../plugin-fw/lib/yit-plugin-subpanel.php:101
|
284 |
-
msgid "YIT Plugins"
|
285 |
-
msgstr ""
|
286 |
-
|
287 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:273
|
288 |
-
#: ../plugin-fw/lib/yit-plugin-subpanel.php:142
|
289 |
-
#: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
|
290 |
-
msgid "Save Changes"
|
291 |
-
msgstr ""
|
292 |
-
|
293 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:276
|
294 |
-
#: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
|
295 |
-
msgid ""
|
296 |
-
"If you continue with this action, you will reset all options in this page."
|
297 |
-
msgstr ""
|
298 |
-
|
299 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:278
|
300 |
-
#: ../plugin-fw/lib/yit-plugin-subpanel.php:147
|
301 |
-
#: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
|
302 |
-
msgid "Reset Defaults"
|
303 |
-
msgstr ""
|
304 |
-
|
305 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:278
|
306 |
-
#: ../plugin-fw/lib/yit-plugin-subpanel.php:147
|
307 |
-
#: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
|
308 |
-
msgid "Are you sure?"
|
309 |
-
msgstr ""
|
310 |
-
|
311 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:412
|
312 |
-
msgid ""
|
313 |
-
"The element you have entered already exists. Please, enter another name."
|
314 |
-
msgstr ""
|
315 |
-
|
316 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:413
|
317 |
-
msgid "Settings saved"
|
318 |
-
msgstr ""
|
319 |
-
|
320 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:414
|
321 |
-
msgid "Settings reset"
|
322 |
-
msgstr ""
|
323 |
-
|
324 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:415
|
325 |
-
msgid "Element deleted correctly."
|
326 |
-
msgstr ""
|
327 |
-
|
328 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:416
|
329 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:417
|
330 |
-
msgid "Element updated correctly."
|
331 |
-
msgstr ""
|
332 |
-
|
333 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:418
|
334 |
-
msgid "Database imported correctly."
|
335 |
-
msgstr ""
|
336 |
-
|
337 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:419
|
338 |
-
msgid "An error has occurred during import. Please try again."
|
339 |
-
msgstr ""
|
340 |
-
|
341 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:420
|
342 |
-
msgid "The added file is not valid."
|
343 |
-
msgstr ""
|
344 |
-
|
345 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:421
|
346 |
-
msgid "Sorry, import is disabled."
|
347 |
-
msgstr ""
|
348 |
-
|
349 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:422
|
350 |
-
msgid "Sorting successful."
|
351 |
-
msgstr ""
|
352 |
-
|
353 |
-
#: ../plugin-fw/lib/yit-plugin-subpanel.php:145
|
354 |
-
msgid ""
|
355 |
-
"If you continue with this action, you will reset all the options in this "
|
356 |
-
"page."
|
357 |
-
msgstr ""
|
358 |
-
|
359 |
-
#: ../plugin-fw/lib/yit-pointers.php:70
|
360 |
-
msgid "Plugins Activated"
|
361 |
-
msgstr ""
|
362 |
-
|
363 |
-
#: ../plugin-fw/lib/yit-pointers.php:71
|
364 |
-
msgid ""
|
365 |
-
"From now on, you can find all plugin options in YIT Plugin menu.\n"
|
366 |
-
" For each plugin installed, "
|
367 |
-
"customization settings will be available as a new entry in YIT Plugin menu."
|
368 |
-
msgstr ""
|
369 |
-
|
370 |
-
#: ../plugin-fw/lib/yit-pointers.php:73 ../plugin-fw/lib/yit-pointers.php:89
|
371 |
-
msgid "Discover all our plugins available on:"
|
372 |
-
msgstr ""
|
373 |
-
|
374 |
-
#: ../plugin-fw/lib/yit-pointers.php:74 ../plugin-fw/lib/yit-pointers.php:90
|
375 |
-
msgid "and"
|
376 |
-
msgstr ""
|
377 |
-
|
378 |
-
#: ../plugin-fw/lib/yit-pointers.php:84
|
379 |
-
msgid "Plugins Upgraded"
|
380 |
-
msgstr ""
|
381 |
-
|
382 |
-
#: ../plugin-fw/lib/yit-pointers.php:85
|
383 |
-
msgid ""
|
384 |
-
"From now on, you can find all options of your plugins in YIT Plugin menu.\n"
|
385 |
-
" Any time one of our plugins is updated, "
|
386 |
-
"a new entry will be added to this menu.\n"
|
387 |
-
" For example, after the update, plugin "
|
388 |
-
"options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
|
389 |
-
"Search, etc.)\n"
|
390 |
-
" will be moved from previous location to "
|
391 |
-
"YIT Plugin tab."
|
392 |
-
msgstr ""
|
393 |
-
|
394 |
-
#: ../plugin-fw/lib/yit-upgrade.php:119
|
395 |
-
msgid "There is a new version of %plugin_name% available."
|
396 |
-
msgstr ""
|
397 |
-
|
398 |
-
#: ../plugin-fw/lib/yit-upgrade.php:120
|
399 |
-
msgid "View version %latest% details."
|
400 |
-
msgstr ""
|
401 |
-
|
402 |
-
#: ../plugin-fw/lib/yit-upgrade.php:121
|
403 |
-
msgid "Automatic update is unavailable for this plugin,"
|
404 |
-
msgstr ""
|
405 |
-
|
406 |
-
#: ../plugin-fw/lib/yit-upgrade.php:122
|
407 |
-
msgid ""
|
408 |
-
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
409 |
-
msgstr ""
|
410 |
-
|
411 |
-
#: ../plugin-fw/lib/yit-upgrade.php:123
|
412 |
-
msgid "Update now."
|
413 |
-
msgstr ""
|
414 |
-
|
415 |
-
#: ../plugin-fw/lib/yit-upgrade.php:226
|
416 |
-
msgid "Yithemes Repository"
|
417 |
-
msgstr ""
|
418 |
-
|
419 |
-
#: ../plugin-fw/lib/yit-upgrade.php:260
|
420 |
-
msgid "Invalid URL Provided."
|
421 |
-
msgstr ""
|
422 |
-
|
423 |
-
#: ../plugin-fw/lib/yit-upgrade.php:273
|
424 |
-
msgid "Could not create Temporary file."
|
425 |
-
msgstr ""
|
426 |
-
|
427 |
-
#: ../plugin-fw/lib/yit-upgrade.php:414
|
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 %4$s details</a>."
|
432 |
-
msgstr ""
|
433 |
-
|
434 |
-
#: ../plugin-fw/lib/yit-upgrade.php:416
|
435 |
-
#, php-format
|
436 |
-
msgid ""
|
437 |
-
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
438 |
-
"yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You "
|
439 |
-
"have to activate the plugin on a single site of the network to benefit from "
|
440 |
-
"automatic updates.</em>"
|
441 |
-
msgstr ""
|
442 |
-
|
443 |
-
#: ../plugin-fw/lib/yit-upgrade.php:418
|
444 |
-
#, php-format
|
445 |
-
msgid ""
|
446 |
-
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
447 |
-
"yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. "
|
448 |
-
"<em>Automatic update is unavailable for this plugin, please <a href=\"%5$s\" "
|
449 |
-
"title=\"Licence activation\">activate</a> your copy of %6s.</em>"
|
450 |
-
msgstr ""
|
451 |
-
|
452 |
-
#: ../plugin-fw/lib/yit-upgrade.php:420
|
453 |
-
#, php-format
|
454 |
-
msgid ""
|
455 |
-
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
456 |
-
"yit-changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a "
|
457 |
-
"href=\"%5$s\">update now</a>."
|
458 |
-
msgstr ""
|
459 |
-
|
460 |
-
#: ../plugin-fw/lib/yit-upgrade.php:493
|
461 |
-
msgid "You can't update the plugins for this site."
|
462 |
-
msgstr ""
|
463 |
-
|
464 |
-
#: ../plugin-fw/lib/yit-upgrade.php:497
|
465 |
-
msgid ""
|
466 |
-
"You do not have sufficient permissions to update the plugins for this site."
|
467 |
-
msgstr ""
|
468 |
-
|
469 |
-
#: ../plugin-fw/lib/yit-upgrade.php:504
|
470 |
-
msgid "Update Plugin"
|
471 |
-
msgstr ""
|
472 |
-
|
473 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:148
|
474 |
-
#, php-format
|
475 |
-
msgid "%field% field cannot be empty"
|
476 |
-
msgstr ""
|
477 |
-
|
478 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:149
|
479 |
-
msgid "%field_1% and %field_2% fields cannot be empty"
|
480 |
-
msgstr ""
|
481 |
-
|
482 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:150
|
483 |
-
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
484 |
-
msgstr ""
|
485 |
-
|
486 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:529
|
487 |
-
msgid "Invalid Request"
|
488 |
-
msgstr ""
|
489 |
-
|
490 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:530
|
491 |
-
msgid "Invalid licence key"
|
492 |
-
msgstr ""
|
493 |
-
|
494 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:531
|
495 |
-
msgid "Software has been deactivated"
|
496 |
-
msgstr ""
|
497 |
-
|
498 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:532
|
499 |
-
msgid "Maximum number of activations exceeded"
|
500 |
-
msgstr ""
|
501 |
-
|
502 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:533
|
503 |
-
msgid "Invalid instance ID"
|
504 |
-
msgstr ""
|
505 |
-
|
506 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:534
|
507 |
-
msgid "Invalid security key"
|
508 |
-
msgstr ""
|
509 |
-
|
510 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:535
|
511 |
-
msgid "Licence key has expired"
|
512 |
-
msgstr ""
|
513 |
-
|
514 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:536
|
515 |
-
msgid "Licence key has been banned"
|
516 |
-
msgstr ""
|
517 |
-
|
518 |
-
#: ../plugin-fw/licence/lib/yit-plugin-licence.php:63
|
519 |
-
#: ../plugin-fw/licence/lib/yit-plugin-licence.php:64
|
520 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:63
|
521 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:64
|
522 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:106
|
523 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:107
|
524 |
-
msgid "Licence Activation"
|
525 |
-
msgstr ""
|
526 |
-
|
527 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:114
|
528 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:115
|
529 |
-
#, php-format
|
530 |
-
msgid "%s"
|
531 |
-
msgstr ""
|
532 |
-
|
533 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:19
|
534 |
-
msgid "Yithemes Licence Activation"
|
535 |
-
msgstr ""
|
536 |
-
|
537 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:23
|
538 |
-
msgid ""
|
539 |
-
"Have you updated your licenses? Have you asked for an extension? Update "
|
540 |
-
"information concerning your products."
|
541 |
-
msgstr ""
|
542 |
-
|
543 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:25
|
544 |
-
msgid "Update licence information"
|
545 |
-
msgstr ""
|
546 |
-
|
547 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:35
|
548 |
-
msgid "Products to be activated"
|
549 |
-
msgstr ""
|
550 |
-
|
551 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:54
|
552 |
-
msgid "Activate"
|
553 |
-
msgstr ""
|
554 |
-
|
555 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:73
|
556 |
-
msgid "Activated"
|
557 |
-
msgstr ""
|
558 |
-
|
559 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:77
|
560 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:109
|
561 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:133
|
562 |
-
msgid "Product Name"
|
563 |
-
msgstr ""
|
564 |
-
|
565 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:78
|
566 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:110
|
567 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:134
|
568 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:145
|
569 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:337
|
570 |
-
msgid "Email"
|
571 |
-
msgstr ""
|
572 |
-
|
573 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:79
|
574 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:111
|
575 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:135
|
576 |
-
msgid "Licence Key"
|
577 |
-
msgstr ""
|
578 |
-
|
579 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:80
|
580 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:136
|
581 |
-
msgid "Expires"
|
582 |
-
msgstr ""
|
583 |
-
|
584 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:81
|
585 |
-
msgid "Remaining"
|
586 |
-
msgstr ""
|
587 |
-
|
588 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:82
|
589 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:95
|
590 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:137
|
591 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:147
|
592 |
-
msgid "Renew"
|
593 |
-
msgstr ""
|
594 |
-
|
595 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:93
|
596 |
-
#, php-format
|
597 |
-
msgid "%1s out of %2s"
|
598 |
-
msgstr ""
|
599 |
-
|
600 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:105
|
601 |
-
msgid "Banned"
|
602 |
-
msgstr ""
|
603 |
-
|
604 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:129
|
605 |
-
msgid "Expired"
|
606 |
-
msgstr ""
|
607 |
-
|
608 |
-
#: ../plugin-fw/templates/metaboxes/types/ajax-products.php:23
|
609 |
-
msgid "Search for a product"
|
610 |
-
msgstr ""
|
611 |
-
|
612 |
-
#: ../plugin-fw/templates/metaboxes/types/categories.php:36
|
613 |
-
msgid "No categories."
|
614 |
-
msgstr ""
|
615 |
-
|
616 |
-
#: ../plugin-fw/templates/metaboxes/types/categories.php:42
|
617 |
-
msgid "+ Add New Category"
|
618 |
-
msgstr ""
|
619 |
-
|
620 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:5
|
621 |
-
msgid "Text Input"
|
622 |
-
msgstr ""
|
623 |
-
|
624 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:6
|
625 |
-
msgid "Checkbox"
|
626 |
-
msgstr ""
|
627 |
-
|
628 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:7
|
629 |
-
msgid "Select"
|
630 |
-
msgstr ""
|
631 |
-
|
632 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:8
|
633 |
-
msgid "Textarea"
|
634 |
-
msgstr ""
|
635 |
-
|
636 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:9
|
637 |
-
msgid "Radio Input"
|
638 |
-
msgstr ""
|
639 |
-
|
640 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:10
|
641 |
-
msgid "Password Field"
|
642 |
-
msgstr ""
|
643 |
-
|
644 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:11
|
645 |
-
msgid "File Upload"
|
646 |
-
msgstr ""
|
647 |
-
|
648 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:45
|
649 |
-
msgid "Theme Icon"
|
650 |
-
msgstr ""
|
651 |
-
|
652 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:46
|
653 |
-
msgid "Custom Icon"
|
654 |
-
msgstr ""
|
655 |
-
|
656 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:47
|
657 |
-
#: ../plugin-fw/templates/metaboxes/types/responsivesliders.php:24
|
658 |
-
msgid "None"
|
659 |
-
msgstr ""
|
660 |
-
|
661 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:57
|
662 |
-
msgid "Add field"
|
663 |
-
msgstr ""
|
664 |
-
|
665 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:66
|
666 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:258
|
667 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:37
|
668 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:82
|
669 |
-
msgid "Remove"
|
670 |
-
msgstr ""
|
671 |
-
|
672 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:67
|
673 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:259
|
674 |
-
msgid "Click to toggle"
|
675 |
-
msgstr ""
|
676 |
-
|
677 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:74
|
678 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:266
|
679 |
-
msgid "Title Field"
|
680 |
-
msgstr ""
|
681 |
-
|
682 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:78
|
683 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:270
|
684 |
-
msgid "Insert the title for the field."
|
685 |
-
msgstr ""
|
686 |
-
|
687 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:83
|
688 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:275
|
689 |
-
msgid "Data Name"
|
690 |
-
msgstr ""
|
691 |
-
|
692 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:87
|
693 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:279
|
694 |
-
msgid ""
|
695 |
-
"REQUIRED: Field identification name to be entered into email body. "
|
696 |
-
"<strong>Note:</strong>Use only lowercase characters and underscores."
|
697 |
-
msgstr ""
|
698 |
-
|
699 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:92
|
700 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:284
|
701 |
-
msgid "Type field"
|
702 |
-
msgstr ""
|
703 |
-
|
704 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:100
|
705 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:292
|
706 |
-
msgid "Select the type for this field."
|
707 |
-
msgstr ""
|
708 |
-
|
709 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:105
|
710 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:297
|
711 |
-
msgid "Checked"
|
712 |
-
msgstr ""
|
713 |
-
|
714 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:109
|
715 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:301
|
716 |
-
msgid "Select this option if you want this field appears as already checked."
|
717 |
-
msgstr ""
|
718 |
-
|
719 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:114
|
720 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:306
|
721 |
-
msgid "Add options "
|
722 |
-
msgstr ""
|
723 |
-
|
724 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:115
|
725 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:307
|
726 |
-
msgid "Add option"
|
727 |
-
msgstr ""
|
728 |
-
|
729 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:118
|
730 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:310
|
731 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:432
|
732 |
-
msgid "Selected"
|
733 |
-
msgstr ""
|
734 |
-
|
735 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:121
|
736 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:313
|
737 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:432
|
738 |
-
msgid "Delete option"
|
739 |
-
msgstr ""
|
740 |
-
|
741 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:127
|
742 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:319
|
743 |
-
msgid "Error Message"
|
744 |
-
msgstr ""
|
745 |
-
|
746 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:131
|
747 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:323
|
748 |
-
msgid "Insert the error message for validation."
|
749 |
-
msgstr ""
|
750 |
-
|
751 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:136
|
752 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:328
|
753 |
-
msgid "Required"
|
754 |
-
msgstr ""
|
755 |
-
|
756 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:140
|
757 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:332
|
758 |
-
msgid "Select this option if it must be required."
|
759 |
-
msgstr ""
|
760 |
-
|
761 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:149
|
762 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:341
|
763 |
-
msgid "Select this option if the email must be valid."
|
764 |
-
msgstr ""
|
765 |
-
|
766 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:154
|
767 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:346
|
768 |
-
msgid "Reply To"
|
769 |
-
msgstr ""
|
770 |
-
|
771 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:158
|
772 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:350
|
773 |
-
msgid "Select this if it is the email you can reply to."
|
774 |
-
msgstr ""
|
775 |
-
|
776 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:163
|
777 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:355
|
778 |
-
msgid "Class"
|
779 |
-
msgstr ""
|
780 |
-
|
781 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:167
|
782 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:359
|
783 |
-
msgid ""
|
784 |
-
"Insert additional class(es) (separated by commas) for more personalization."
|
785 |
-
msgstr ""
|
786 |
-
|
787 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:172
|
788 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:364
|
789 |
-
msgid "Icon"
|
790 |
-
msgstr ""
|
791 |
-
|
792 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:200
|
793 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:388
|
794 |
-
#: ../plugin-fw/templates/metaboxes/types/icon-list.php:69
|
795 |
-
#: ../plugin-fw/templates/metaboxes/types/select-icon.php:33
|
796 |
-
#: ../plugin-fw/templates/metaboxes/types/upload.php:21
|
797 |
-
#: ../plugin-fw/templates/panel/types/upload.php:31
|
798 |
-
#: ../plugin-fw/templates/panel/woocommerce/woocommerce-upload.php:35
|
799 |
-
msgid "Upload"
|
800 |
-
msgstr ""
|
801 |
-
|
802 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:206
|
803 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:394
|
804 |
-
#: ../plugin-fw/templates/metaboxes/types/icon-list.php:75
|
805 |
-
#: ../plugin-fw/templates/metaboxes/types/select-icon.php:39
|
806 |
-
msgid "Image preview"
|
807 |
-
msgstr ""
|
808 |
-
|
809 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:214
|
810 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:402
|
811 |
-
msgid "Insert an icon for more personalization."
|
812 |
-
msgstr ""
|
813 |
-
|
814 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:219
|
815 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:406
|
816 |
-
msgid "Width"
|
817 |
-
msgstr ""
|
818 |
-
|
819 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:244
|
820 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:418
|
821 |
-
msgid "Set field length."
|
822 |
-
msgstr ""
|
823 |
-
|
824 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:28
|
825 |
-
msgid "Close all"
|
826 |
-
msgstr ""
|
827 |
-
|
828 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:28
|
829 |
-
msgid "Expand all"
|
830 |
-
msgstr ""
|
831 |
-
|
832 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:52
|
833 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:95
|
834 |
-
msgid "Value"
|
835 |
-
msgstr ""
|
836 |
-
|
837 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:53
|
838 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:96
|
839 |
-
msgid "Content of the tab. (HTML is supported)"
|
840 |
-
msgstr ""
|
841 |
-
|
842 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:65
|
843 |
-
msgid "Add custom product tab"
|
844 |
-
msgstr ""
|
845 |
-
|
846 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:107
|
847 |
-
msgid "Do you want to remove the custom tab?"
|
848 |
-
msgstr ""
|
849 |
-
|
850 |
-
#: ../plugin-fw/templates/metaboxes/types/icon-list.php:89
|
851 |
-
#, php-format
|
852 |
-
msgid "(Default: %s <img src=\"%s\"/>)"
|
853 |
-
msgstr ""
|
854 |
-
|
855 |
-
#: ../plugin-fw/templates/metaboxes/types/icon-list.php:91
|
856 |
-
#, php-format
|
857 |
-
msgid "(Default: <i %s></i> )"
|
858 |
-
msgstr ""
|
859 |
-
|
860 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:35
|
861 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
|
862 |
-
#: ../plugin-fw/templates/metaboxes/types/images.php:33
|
863 |
-
#: ../plugin-fw/templates/metaboxes/types/images.php:59
|
864 |
-
msgid "Delete image"
|
865 |
-
msgstr ""
|
866 |
-
|
867 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
|
868 |
-
msgid "Add Images to Gallery"
|
869 |
-
msgstr ""
|
870 |
-
|
871 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
|
872 |
-
msgid "Add to gallery"
|
873 |
-
msgstr ""
|
874 |
-
|
875 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
|
876 |
-
msgid "Add images"
|
877 |
-
msgstr ""
|
878 |
-
|
879 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
|
880 |
-
msgid "Delete"
|
881 |
-
msgstr ""
|
882 |
-
|
883 |
-
#: ../plugin-fw/templates/metaboxes/types/images.php:37
|
884 |
-
msgid "Upload new images"
|
885 |
-
msgstr ""
|
886 |
-
|
887 |
-
#: ../plugin-fw/templates/metaboxes/types/images.php:70
|
888 |
-
msgid "Are you sure you want to remove this image?"
|
889 |
-
msgstr ""
|
890 |
-
|
891 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:25
|
892 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:36
|
893 |
-
msgid "Left sidebar"
|
894 |
-
msgstr ""
|
895 |
-
|
896 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:28
|
897 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:42
|
898 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:45
|
899 |
-
msgid "No sidebar"
|
900 |
-
msgstr ""
|
901 |
-
|
902 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:31
|
903 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:39
|
904 |
-
msgid "Right sidebar"
|
905 |
-
msgstr ""
|
906 |
-
|
907 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:34
|
908 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:53
|
909 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:64
|
910 |
-
msgid "Choose a sidebar"
|
911 |
-
msgstr ""
|
912 |
-
|
913 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:51
|
914 |
-
msgid "Left Sidebar"
|
915 |
-
msgstr ""
|
916 |
-
|
917 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:62
|
918 |
-
msgid "Right Sidebar"
|
919 |
-
msgstr ""
|
920 |
-
|
921 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:42
|
922 |
-
msgid "px"
|
923 |
-
msgstr ""
|
924 |
-
|
925 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:43
|
926 |
-
msgid "em"
|
927 |
-
msgstr ""
|
928 |
-
|
929 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:44
|
930 |
-
msgid "pt"
|
931 |
-
msgstr ""
|
932 |
-
|
933 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:45
|
934 |
-
msgid "rem"
|
935 |
-
msgstr ""
|
936 |
-
|
937 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:59
|
938 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:153
|
939 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:217
|
940 |
-
msgid "Web fonts"
|
941 |
-
msgstr ""
|
942 |
-
|
943 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:71
|
944 |
-
msgid "Google fonts"
|
945 |
-
msgstr ""
|
946 |
-
|
947 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:96
|
948 |
-
msgid "Regular"
|
949 |
-
msgstr ""
|
950 |
-
|
951 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:97
|
952 |
-
msgid "Bold"
|
953 |
-
msgstr ""
|
954 |
-
|
955 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:98
|
956 |
-
msgid "Extra bold"
|
957 |
-
msgstr ""
|
958 |
-
|
959 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:99
|
960 |
-
msgid "Italic"
|
961 |
-
msgstr ""
|
962 |
-
|
963 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:100
|
964 |
-
msgid "Italic bold"
|
965 |
-
msgstr ""
|
966 |
-
|
967 |
-
#: ../plugin-options/settings-options.php:8
|
968 |
-
msgid "Upgrade to the PREMIUM VERSION"
|
969 |
-
msgstr ""
|
970 |
-
|
971 |
-
#: ../plugin-options/settings-options.php:12
|
972 |
-
msgid "Discover the Advanced Features"
|
973 |
-
msgstr ""
|
974 |
-
|
975 |
-
#: ../plugin-options/settings-options.php:13
|
976 |
-
msgid ""
|
977 |
-
"Upgrade to the PREMIUM VERSION of YITH WooCommerce Quick View to benefit "
|
978 |
-
"from all features!"
|
979 |
-
msgstr ""
|
980 |
-
|
981 |
-
#: ../plugin-options/settings-options.php:20
|
982 |
-
msgid "Get Support and Pro Features"
|
983 |
-
msgstr ""
|
984 |
-
|
985 |
-
#: ../plugin-options/settings-options.php:21
|
986 |
-
msgid ""
|
987 |
-
"By purchasing the premium version of the plugin, you will take advantage of "
|
988 |
-
"the advanced features of the product and you will get one year of free "
|
989 |
-
"updates and support through our platform available 24h/24."
|
990 |
-
msgstr ""
|
991 |
-
|
992 |
-
#: ../plugin-options/settings-options.php:31
|
993 |
-
msgid "General Options"
|
994 |
-
msgstr ""
|
995 |
-
|
996 |
-
#: ../plugin-options/settings-options.php:39
|
997 |
-
msgid "Enable Quick View"
|
998 |
-
msgstr ""
|
999 |
-
|
1000 |
-
#: ../plugin-options/settings-options.php:46
|
1001 |
-
msgid "Quick View Button Label"
|
1002 |
-
msgstr ""
|
1003 |
-
|
1004 |
-
#: ../plugin-options/settings-options.php:47
|
1005 |
-
msgid "Label for the quick view button in the WooCommerce loop."
|
1006 |
-
msgstr ""
|
1007 |
-
|
1008 |
-
#: ../plugin-options/settings-options.php:54
|
1009 |
-
msgid "Enable Lightbox"
|
1010 |
-
msgstr ""
|
1011 |
-
|
1012 |
-
#: ../plugin-options/settings-options.php:55
|
1013 |
-
msgid "Enable lightbox. Product images will open in a lightbox."
|
1014 |
-
msgstr ""
|
1015 |
-
|
1016 |
-
#: ../plugin-options/settings-options.php:66
|
1017 |
-
msgid "Style Options"
|
1018 |
-
msgstr ""
|
1019 |
-
|
1020 |
-
#: ../plugin-options/settings-options.php:73
|
1021 |
-
msgid "Modal Window Background Color"
|
1022 |
-
msgstr ""
|
1023 |
-
|
1024 |
-
#: ../plugin-options/settings-options.php:81
|
1025 |
-
msgid "Closing Button Color"
|
1026 |
-
msgstr ""
|
1027 |
-
|
1028 |
-
#: ../plugin-options/settings-options.php:89
|
1029 |
-
msgid "Closing Button Hover Color"
|
1030 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/yith-wcqv.pot
CHANGED
@@ -1,27 +1,24 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Quick View\n"
|
4 |
-
"POT-Creation-Date: 2015-
|
5 |
-
"PO-Revision-Date: 2015-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
8 |
"Language: en\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.6
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n!=1;\n"
|
15 |
"X-Poedit-KeywordsList: __ ;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
|
16 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
"X-Poedit-SearchPath-0: ..\n"
|
|
|
19 |
|
20 |
#: ../class.yith-wcqv-admin.php:130 ../class.yith-wcqv-admin.php:152
|
21 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1048
|
22 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1196
|
23 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1202
|
24 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:62
|
25 |
msgid "Settings"
|
26 |
msgstr ""
|
27 |
|
@@ -30,7 +27,7 @@ msgid "Premium Version"
|
|
30 |
msgstr ""
|
31 |
|
32 |
#: ../class.yith-wcqv-admin.php:159 ../class.yith-wcqv-admin.php:160
|
33 |
-
#: ../plugin-options/settings-options.php:
|
34 |
msgid "Quick View"
|
35 |
msgstr ""
|
36 |
|
@@ -65,905 +62,6 @@ msgid ""
|
|
65 |
"are using the premium one."
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:460
|
69 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:574
|
70 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:719
|
71 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1632
|
72 |
-
#, php-format
|
73 |
-
msgid "Add %s"
|
74 |
-
msgstr ""
|
75 |
-
|
76 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:461
|
77 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:575
|
78 |
-
#, php-format
|
79 |
-
msgid "Add New %s"
|
80 |
-
msgstr ""
|
81 |
-
|
82 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:462
|
83 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:576
|
84 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1267
|
85 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1304
|
86 |
-
#, php-format
|
87 |
-
msgid "Edit %s"
|
88 |
-
msgstr ""
|
89 |
-
|
90 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:463
|
91 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:577
|
92 |
-
#, php-format
|
93 |
-
msgid "New %s"
|
94 |
-
msgstr ""
|
95 |
-
|
96 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:464
|
97 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:578
|
98 |
-
#, php-format
|
99 |
-
msgid "All %s"
|
100 |
-
msgstr ""
|
101 |
-
|
102 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:465
|
103 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:579
|
104 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1251
|
105 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1305
|
106 |
-
#, php-format
|
107 |
-
msgid "View %s"
|
108 |
-
msgstr ""
|
109 |
-
|
110 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:466
|
111 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:580
|
112 |
-
#, php-format
|
113 |
-
msgid "Search %s"
|
114 |
-
msgstr ""
|
115 |
-
|
116 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:467
|
117 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:581
|
118 |
-
#, php-format
|
119 |
-
msgid "No %s found"
|
120 |
-
msgstr ""
|
121 |
-
|
122 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:468
|
123 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:582
|
124 |
-
#, php-format
|
125 |
-
msgid "No %s found in Trash"
|
126 |
-
msgstr ""
|
127 |
-
|
128 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:625
|
129 |
-
#, php-format
|
130 |
-
msgctxt "taxonomy general name"
|
131 |
-
msgid "%s Categories"
|
132 |
-
msgstr ""
|
133 |
-
|
134 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:626
|
135 |
-
msgctxt "taxonomy singular name"
|
136 |
-
msgid "Category"
|
137 |
-
msgstr ""
|
138 |
-
|
139 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:627
|
140 |
-
msgid "Search Categories"
|
141 |
-
msgstr ""
|
142 |
-
|
143 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:628
|
144 |
-
msgid "All Categories"
|
145 |
-
msgstr ""
|
146 |
-
|
147 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:629
|
148 |
-
msgid "Parent Category"
|
149 |
-
msgstr ""
|
150 |
-
|
151 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:630
|
152 |
-
msgid "Parent Category:"
|
153 |
-
msgstr ""
|
154 |
-
|
155 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:631
|
156 |
-
msgid "Edit Category"
|
157 |
-
msgstr ""
|
158 |
-
|
159 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:632
|
160 |
-
msgid "Update Category"
|
161 |
-
msgstr ""
|
162 |
-
|
163 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:633
|
164 |
-
msgid "Add New Category"
|
165 |
-
msgstr ""
|
166 |
-
|
167 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:634
|
168 |
-
msgid "New Category Name"
|
169 |
-
msgstr ""
|
170 |
-
|
171 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:635
|
172 |
-
msgid "Category"
|
173 |
-
msgstr ""
|
174 |
-
|
175 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:724
|
176 |
-
msgid "Categories"
|
177 |
-
msgstr ""
|
178 |
-
|
179 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1042
|
180 |
-
#, php-format
|
181 |
-
msgid "%s Settings"
|
182 |
-
msgstr ""
|
183 |
-
|
184 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1051
|
185 |
-
msgid "Type"
|
186 |
-
msgstr ""
|
187 |
-
|
188 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1052
|
189 |
-
msgid "Layout for this "
|
190 |
-
msgstr ""
|
191 |
-
|
192 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1058
|
193 |
-
msgid "Rewrite"
|
194 |
-
msgstr ""
|
195 |
-
|
196 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1059
|
197 |
-
msgid ""
|
198 |
-
"Univocal identification name in the URL for each product (slug from post if "
|
199 |
-
"empty)"
|
200 |
-
msgstr ""
|
201 |
-
|
202 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1064
|
203 |
-
msgid "Label in Singular"
|
204 |
-
msgstr ""
|
205 |
-
|
206 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1065
|
207 |
-
msgid "Set a label in singular (title of portfolio if empty)"
|
208 |
-
msgstr ""
|
209 |
-
|
210 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1070
|
211 |
-
msgid "Label in Plural"
|
212 |
-
msgstr ""
|
213 |
-
|
214 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1071
|
215 |
-
msgid "Set a label in plural (title of portfolio if empty)"
|
216 |
-
msgstr ""
|
217 |
-
|
218 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1076
|
219 |
-
msgid "Taxonomy"
|
220 |
-
msgstr ""
|
221 |
-
|
222 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1077
|
223 |
-
msgid ""
|
224 |
-
"If you want to use categories in the portfolio, set a name for taxonomy. "
|
225 |
-
"Name should be a slug (must not contain capital letters nor spaces) and must "
|
226 |
-
"not be more than 32 characters long (database structure restriction)."
|
227 |
-
msgstr ""
|
228 |
-
|
229 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1082
|
230 |
-
msgid "Taxonomy Rewrite"
|
231 |
-
msgstr ""
|
232 |
-
|
233 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1083
|
234 |
-
msgid "Set univocal name for each category page URL."
|
235 |
-
msgstr ""
|
236 |
-
|
237 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1088
|
238 |
-
msgid "Single layout"
|
239 |
-
msgstr ""
|
240 |
-
|
241 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1089
|
242 |
-
msgid "Layout for single page of this portfolio"
|
243 |
-
msgstr ""
|
244 |
-
|
245 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1130
|
246 |
-
msgid "layout settings"
|
247 |
-
msgstr ""
|
248 |
-
|
249 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1222
|
250 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1235
|
251 |
-
msgid "Quick links"
|
252 |
-
msgstr ""
|
253 |
-
|
254 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1475
|
255 |
-
#, php-format
|
256 |
-
msgid "Show frontend of the %s"
|
257 |
-
msgstr ""
|
258 |
-
|
259 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1482
|
260 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:46
|
261 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:90
|
262 |
-
msgid "Name"
|
263 |
-
msgstr ""
|
264 |
-
|
265 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1631
|
266 |
-
#, php-format
|
267 |
-
msgid "Add %s from images"
|
268 |
-
msgstr ""
|
269 |
-
|
270 |
-
#: ../plugin-fw/lib/yit-cpt-unlimited.php:1633
|
271 |
-
msgid "Add with multiupload"
|
272 |
-
msgstr ""
|
273 |
-
|
274 |
-
#: ../plugin-fw/lib/yit-plugin-panel-wc.php:315
|
275 |
-
msgid "The changes you have made will be lost if you leave this page."
|
276 |
-
msgstr ""
|
277 |
-
|
278 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:61
|
279 |
-
msgid "Plugin Settings"
|
280 |
-
msgstr ""
|
281 |
-
|
282 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:94
|
283 |
-
#: ../plugin-fw/lib/yit-plugin-subpanel.php:101
|
284 |
-
msgid "YIT Plugins"
|
285 |
-
msgstr ""
|
286 |
-
|
287 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:273
|
288 |
-
#: ../plugin-fw/lib/yit-plugin-subpanel.php:142
|
289 |
-
#: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
|
290 |
-
msgid "Save Changes"
|
291 |
-
msgstr ""
|
292 |
-
|
293 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:276
|
294 |
-
#: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
|
295 |
-
msgid ""
|
296 |
-
"If you continue with this action, you will reset all options in this page."
|
297 |
-
msgstr ""
|
298 |
-
|
299 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:278
|
300 |
-
#: ../plugin-fw/lib/yit-plugin-subpanel.php:147
|
301 |
-
#: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
|
302 |
-
msgid "Reset Defaults"
|
303 |
-
msgstr ""
|
304 |
-
|
305 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:278
|
306 |
-
#: ../plugin-fw/lib/yit-plugin-subpanel.php:147
|
307 |
-
#: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
|
308 |
-
msgid "Are you sure?"
|
309 |
-
msgstr ""
|
310 |
-
|
311 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:412
|
312 |
-
msgid ""
|
313 |
-
"The element you have entered already exists. Please, enter another name."
|
314 |
-
msgstr ""
|
315 |
-
|
316 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:413
|
317 |
-
msgid "Settings saved"
|
318 |
-
msgstr ""
|
319 |
-
|
320 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:414
|
321 |
-
msgid "Settings reset"
|
322 |
-
msgstr ""
|
323 |
-
|
324 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:415
|
325 |
-
msgid "Element deleted correctly."
|
326 |
-
msgstr ""
|
327 |
-
|
328 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:416
|
329 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:417
|
330 |
-
msgid "Element updated correctly."
|
331 |
-
msgstr ""
|
332 |
-
|
333 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:418
|
334 |
-
msgid "Database imported correctly."
|
335 |
-
msgstr ""
|
336 |
-
|
337 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:419
|
338 |
-
msgid "An error has occurred during import. Please try again."
|
339 |
-
msgstr ""
|
340 |
-
|
341 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:420
|
342 |
-
msgid "The added file is not valid."
|
343 |
-
msgstr ""
|
344 |
-
|
345 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:421
|
346 |
-
msgid "Sorry, import is disabled."
|
347 |
-
msgstr ""
|
348 |
-
|
349 |
-
#: ../plugin-fw/lib/yit-plugin-panel.php:422
|
350 |
-
msgid "Sorting successful."
|
351 |
-
msgstr ""
|
352 |
-
|
353 |
-
#: ../plugin-fw/lib/yit-plugin-subpanel.php:145
|
354 |
-
msgid ""
|
355 |
-
"If you continue with this action, you will reset all the options in this "
|
356 |
-
"page."
|
357 |
-
msgstr ""
|
358 |
-
|
359 |
-
#: ../plugin-fw/lib/yit-pointers.php:70
|
360 |
-
msgid "Plugins Activated"
|
361 |
-
msgstr ""
|
362 |
-
|
363 |
-
#: ../plugin-fw/lib/yit-pointers.php:71
|
364 |
-
msgid ""
|
365 |
-
"From now on, you can find all plugin options in YIT Plugin menu.\n"
|
366 |
-
" For each plugin installed, "
|
367 |
-
"customization settings will be available as a new entry in YIT Plugin menu."
|
368 |
-
msgstr ""
|
369 |
-
|
370 |
-
#: ../plugin-fw/lib/yit-pointers.php:73 ../plugin-fw/lib/yit-pointers.php:89
|
371 |
-
msgid "Discover all our plugins available on:"
|
372 |
-
msgstr ""
|
373 |
-
|
374 |
-
#: ../plugin-fw/lib/yit-pointers.php:74 ../plugin-fw/lib/yit-pointers.php:90
|
375 |
-
msgid "and"
|
376 |
-
msgstr ""
|
377 |
-
|
378 |
-
#: ../plugin-fw/lib/yit-pointers.php:84
|
379 |
-
msgid "Plugins Upgraded"
|
380 |
-
msgstr ""
|
381 |
-
|
382 |
-
#: ../plugin-fw/lib/yit-pointers.php:85
|
383 |
-
msgid ""
|
384 |
-
"From now on, you can find all options of your plugins in YIT Plugin menu.\n"
|
385 |
-
" Any time one of our plugins is updated, "
|
386 |
-
"a new entry will be added to this menu.\n"
|
387 |
-
" For example, after the update, plugin "
|
388 |
-
"options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
|
389 |
-
"Search, etc.)\n"
|
390 |
-
" will be moved from previous location to "
|
391 |
-
"YIT Plugin tab."
|
392 |
-
msgstr ""
|
393 |
-
|
394 |
-
#: ../plugin-fw/lib/yit-upgrade.php:119
|
395 |
-
msgid "There is a new version of %plugin_name% available."
|
396 |
-
msgstr ""
|
397 |
-
|
398 |
-
#: ../plugin-fw/lib/yit-upgrade.php:120
|
399 |
-
msgid "View version %latest% details."
|
400 |
-
msgstr ""
|
401 |
-
|
402 |
-
#: ../plugin-fw/lib/yit-upgrade.php:121
|
403 |
-
msgid "Automatic update is unavailable for this plugin,"
|
404 |
-
msgstr ""
|
405 |
-
|
406 |
-
#: ../plugin-fw/lib/yit-upgrade.php:122
|
407 |
-
msgid ""
|
408 |
-
"please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
409 |
-
msgstr ""
|
410 |
-
|
411 |
-
#: ../plugin-fw/lib/yit-upgrade.php:123
|
412 |
-
msgid "Update now."
|
413 |
-
msgstr ""
|
414 |
-
|
415 |
-
#: ../plugin-fw/lib/yit-upgrade.php:226
|
416 |
-
msgid "Yithemes Repository"
|
417 |
-
msgstr ""
|
418 |
-
|
419 |
-
#: ../plugin-fw/lib/yit-upgrade.php:260
|
420 |
-
msgid "Invalid URL Provided."
|
421 |
-
msgstr ""
|
422 |
-
|
423 |
-
#: ../plugin-fw/lib/yit-upgrade.php:273
|
424 |
-
msgid "Could not create Temporary file."
|
425 |
-
msgstr ""
|
426 |
-
|
427 |
-
#: ../plugin-fw/lib/yit-upgrade.php:414
|
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 %4$s details</a>."
|
432 |
-
msgstr ""
|
433 |
-
|
434 |
-
#: ../plugin-fw/lib/yit-upgrade.php:416
|
435 |
-
#, php-format
|
436 |
-
msgid ""
|
437 |
-
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
438 |
-
"yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You "
|
439 |
-
"have to activate the plugin on a single site of the network to benefit from "
|
440 |
-
"automatic updates.</em>"
|
441 |
-
msgstr ""
|
442 |
-
|
443 |
-
#: ../plugin-fw/lib/yit-upgrade.php:418
|
444 |
-
#, php-format
|
445 |
-
msgid ""
|
446 |
-
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
447 |
-
"yit-changelog-button\" title=\"%3$s\">View version %4$s details</a>. "
|
448 |
-
"<em>Automatic update is unavailable for this plugin, please <a href=\"%5$s\" "
|
449 |
-
"title=\"Licence activation\">activate</a> your copy of %6s.</em>"
|
450 |
-
msgstr ""
|
451 |
-
|
452 |
-
#: ../plugin-fw/lib/yit-upgrade.php:420
|
453 |
-
#, php-format
|
454 |
-
msgid ""
|
455 |
-
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox "
|
456 |
-
"yit-changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a "
|
457 |
-
"href=\"%5$s\">update now</a>."
|
458 |
-
msgstr ""
|
459 |
-
|
460 |
-
#: ../plugin-fw/lib/yit-upgrade.php:493
|
461 |
-
msgid "You can't update the plugins for this site."
|
462 |
-
msgstr ""
|
463 |
-
|
464 |
-
#: ../plugin-fw/lib/yit-upgrade.php:497
|
465 |
-
msgid ""
|
466 |
-
"You do not have sufficient permissions to update the plugins for this site."
|
467 |
-
msgstr ""
|
468 |
-
|
469 |
-
#: ../plugin-fw/lib/yit-upgrade.php:504
|
470 |
-
msgid "Update Plugin"
|
471 |
-
msgstr ""
|
472 |
-
|
473 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:148
|
474 |
-
#, php-format
|
475 |
-
msgid "%field% field cannot be empty"
|
476 |
-
msgstr ""
|
477 |
-
|
478 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:149
|
479 |
-
msgid "%field_1% and %field_2% fields cannot be empty"
|
480 |
-
msgstr ""
|
481 |
-
|
482 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:150
|
483 |
-
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
484 |
-
msgstr ""
|
485 |
-
|
486 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:529
|
487 |
-
msgid "Invalid Request"
|
488 |
-
msgstr ""
|
489 |
-
|
490 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:530
|
491 |
-
msgid "Invalid licence key"
|
492 |
-
msgstr ""
|
493 |
-
|
494 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:531
|
495 |
-
msgid "Software has been deactivated"
|
496 |
-
msgstr ""
|
497 |
-
|
498 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:532
|
499 |
-
msgid "Maximum number of activations exceeded"
|
500 |
-
msgstr ""
|
501 |
-
|
502 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:533
|
503 |
-
msgid "Invalid instance ID"
|
504 |
-
msgstr ""
|
505 |
-
|
506 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:534
|
507 |
-
msgid "Invalid security key"
|
508 |
-
msgstr ""
|
509 |
-
|
510 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:535
|
511 |
-
msgid "Licence key has expired"
|
512 |
-
msgstr ""
|
513 |
-
|
514 |
-
#: ../plugin-fw/licence/lib/yit-licence.php:536
|
515 |
-
msgid "Licence key has been banned"
|
516 |
-
msgstr ""
|
517 |
-
|
518 |
-
#: ../plugin-fw/licence/lib/yit-plugin-licence.php:63
|
519 |
-
#: ../plugin-fw/licence/lib/yit-plugin-licence.php:64
|
520 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:63
|
521 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:64
|
522 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:106
|
523 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:107
|
524 |
-
msgid "Licence Activation"
|
525 |
-
msgstr ""
|
526 |
-
|
527 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:114
|
528 |
-
#: ../plugin-fw/licence/lib/yit-theme-licence.php:115
|
529 |
-
#, php-format
|
530 |
-
msgid "%s"
|
531 |
-
msgstr ""
|
532 |
-
|
533 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:19
|
534 |
-
msgid "Yithemes Licence Activation"
|
535 |
-
msgstr ""
|
536 |
-
|
537 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:23
|
538 |
-
msgid ""
|
539 |
-
"Have you updated your licenses? Have you asked for an extension? Update "
|
540 |
-
"information concerning your products."
|
541 |
-
msgstr ""
|
542 |
-
|
543 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:25
|
544 |
-
msgid "Update licence information"
|
545 |
-
msgstr ""
|
546 |
-
|
547 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:35
|
548 |
-
msgid "Products to be activated"
|
549 |
-
msgstr ""
|
550 |
-
|
551 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:54
|
552 |
-
msgid "Activate"
|
553 |
-
msgstr ""
|
554 |
-
|
555 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:73
|
556 |
-
msgid "Activated"
|
557 |
-
msgstr ""
|
558 |
-
|
559 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:77
|
560 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:109
|
561 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:133
|
562 |
-
msgid "Product Name"
|
563 |
-
msgstr ""
|
564 |
-
|
565 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:78
|
566 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:110
|
567 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:134
|
568 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:145
|
569 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:337
|
570 |
-
msgid "Email"
|
571 |
-
msgstr ""
|
572 |
-
|
573 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:79
|
574 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:111
|
575 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:135
|
576 |
-
msgid "Licence Key"
|
577 |
-
msgstr ""
|
578 |
-
|
579 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:80
|
580 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:136
|
581 |
-
msgid "Expires"
|
582 |
-
msgstr ""
|
583 |
-
|
584 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:81
|
585 |
-
msgid "Remaining"
|
586 |
-
msgstr ""
|
587 |
-
|
588 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:82
|
589 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:95
|
590 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:137
|
591 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:147
|
592 |
-
msgid "Renew"
|
593 |
-
msgstr ""
|
594 |
-
|
595 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:93
|
596 |
-
#, php-format
|
597 |
-
msgid "%1s out of %2s"
|
598 |
-
msgstr ""
|
599 |
-
|
600 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:105
|
601 |
-
msgid "Banned"
|
602 |
-
msgstr ""
|
603 |
-
|
604 |
-
#: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:129
|
605 |
-
msgid "Expired"
|
606 |
-
msgstr ""
|
607 |
-
|
608 |
-
#: ../plugin-fw/templates/metaboxes/types/ajax-products.php:23
|
609 |
-
msgid "Search for a product"
|
610 |
-
msgstr ""
|
611 |
-
|
612 |
-
#: ../plugin-fw/templates/metaboxes/types/categories.php:36
|
613 |
-
msgid "No categories."
|
614 |
-
msgstr ""
|
615 |
-
|
616 |
-
#: ../plugin-fw/templates/metaboxes/types/categories.php:42
|
617 |
-
msgid "+ Add New Category"
|
618 |
-
msgstr ""
|
619 |
-
|
620 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:5
|
621 |
-
msgid "Text Input"
|
622 |
-
msgstr ""
|
623 |
-
|
624 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:6
|
625 |
-
msgid "Checkbox"
|
626 |
-
msgstr ""
|
627 |
-
|
628 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:7
|
629 |
-
msgid "Select"
|
630 |
-
msgstr ""
|
631 |
-
|
632 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:8
|
633 |
-
msgid "Textarea"
|
634 |
-
msgstr ""
|
635 |
-
|
636 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:9
|
637 |
-
msgid "Radio Input"
|
638 |
-
msgstr ""
|
639 |
-
|
640 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:10
|
641 |
-
msgid "Password Field"
|
642 |
-
msgstr ""
|
643 |
-
|
644 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:11
|
645 |
-
msgid "File Upload"
|
646 |
-
msgstr ""
|
647 |
-
|
648 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:45
|
649 |
-
msgid "Theme Icon"
|
650 |
-
msgstr ""
|
651 |
-
|
652 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:46
|
653 |
-
msgid "Custom Icon"
|
654 |
-
msgstr ""
|
655 |
-
|
656 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:47
|
657 |
-
#: ../plugin-fw/templates/metaboxes/types/responsivesliders.php:24
|
658 |
-
msgid "None"
|
659 |
-
msgstr ""
|
660 |
-
|
661 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:57
|
662 |
-
msgid "Add field"
|
663 |
-
msgstr ""
|
664 |
-
|
665 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:66
|
666 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:258
|
667 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:37
|
668 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:82
|
669 |
-
msgid "Remove"
|
670 |
-
msgstr ""
|
671 |
-
|
672 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:67
|
673 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:259
|
674 |
-
msgid "Click to toggle"
|
675 |
-
msgstr ""
|
676 |
-
|
677 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:74
|
678 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:266
|
679 |
-
msgid "Title Field"
|
680 |
-
msgstr ""
|
681 |
-
|
682 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:78
|
683 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:270
|
684 |
-
msgid "Insert the title for the field."
|
685 |
-
msgstr ""
|
686 |
-
|
687 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:83
|
688 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:275
|
689 |
-
msgid "Data Name"
|
690 |
-
msgstr ""
|
691 |
-
|
692 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:87
|
693 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:279
|
694 |
-
msgid ""
|
695 |
-
"REQUIRED: Field identification name to be entered into email body. "
|
696 |
-
"<strong>Note:</strong>Use only lowercase characters and underscores."
|
697 |
-
msgstr ""
|
698 |
-
|
699 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:92
|
700 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:284
|
701 |
-
msgid "Type field"
|
702 |
-
msgstr ""
|
703 |
-
|
704 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:100
|
705 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:292
|
706 |
-
msgid "Select the type for this field."
|
707 |
-
msgstr ""
|
708 |
-
|
709 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:105
|
710 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:297
|
711 |
-
msgid "Checked"
|
712 |
-
msgstr ""
|
713 |
-
|
714 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:109
|
715 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:301
|
716 |
-
msgid "Select this option if you want this field appears as already checked."
|
717 |
-
msgstr ""
|
718 |
-
|
719 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:114
|
720 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:306
|
721 |
-
msgid "Add options "
|
722 |
-
msgstr ""
|
723 |
-
|
724 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:115
|
725 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:307
|
726 |
-
msgid "Add option"
|
727 |
-
msgstr ""
|
728 |
-
|
729 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:118
|
730 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:310
|
731 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:432
|
732 |
-
msgid "Selected"
|
733 |
-
msgstr ""
|
734 |
-
|
735 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:121
|
736 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:313
|
737 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:432
|
738 |
-
msgid "Delete option"
|
739 |
-
msgstr ""
|
740 |
-
|
741 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:127
|
742 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:319
|
743 |
-
msgid "Error Message"
|
744 |
-
msgstr ""
|
745 |
-
|
746 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:131
|
747 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:323
|
748 |
-
msgid "Insert the error message for validation."
|
749 |
-
msgstr ""
|
750 |
-
|
751 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:136
|
752 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:328
|
753 |
-
msgid "Required"
|
754 |
-
msgstr ""
|
755 |
-
|
756 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:140
|
757 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:332
|
758 |
-
msgid "Select this option if it must be required."
|
759 |
-
msgstr ""
|
760 |
-
|
761 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:149
|
762 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:341
|
763 |
-
msgid "Select this option if the email must be valid."
|
764 |
-
msgstr ""
|
765 |
-
|
766 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:154
|
767 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:346
|
768 |
-
msgid "Reply To"
|
769 |
-
msgstr ""
|
770 |
-
|
771 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:158
|
772 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:350
|
773 |
-
msgid "Select this if it is the email you can reply to."
|
774 |
-
msgstr ""
|
775 |
-
|
776 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:163
|
777 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:355
|
778 |
-
msgid "Class"
|
779 |
-
msgstr ""
|
780 |
-
|
781 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:167
|
782 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:359
|
783 |
-
msgid ""
|
784 |
-
"Insert additional class(es) (separated by commas) for more personalization."
|
785 |
-
msgstr ""
|
786 |
-
|
787 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:172
|
788 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:364
|
789 |
-
msgid "Icon"
|
790 |
-
msgstr ""
|
791 |
-
|
792 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:200
|
793 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:388
|
794 |
-
#: ../plugin-fw/templates/metaboxes/types/icon-list.php:69
|
795 |
-
#: ../plugin-fw/templates/metaboxes/types/select-icon.php:33
|
796 |
-
#: ../plugin-fw/templates/metaboxes/types/upload.php:21
|
797 |
-
#: ../plugin-fw/templates/panel/types/upload.php:31
|
798 |
-
#: ../plugin-fw/templates/panel/woocommerce/woocommerce-upload.php:35
|
799 |
-
msgid "Upload"
|
800 |
-
msgstr ""
|
801 |
-
|
802 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:206
|
803 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:394
|
804 |
-
#: ../plugin-fw/templates/metaboxes/types/icon-list.php:75
|
805 |
-
#: ../plugin-fw/templates/metaboxes/types/select-icon.php:39
|
806 |
-
msgid "Image preview"
|
807 |
-
msgstr ""
|
808 |
-
|
809 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:214
|
810 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:402
|
811 |
-
msgid "Insert an icon for more personalization."
|
812 |
-
msgstr ""
|
813 |
-
|
814 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:219
|
815 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:406
|
816 |
-
msgid "Width"
|
817 |
-
msgstr ""
|
818 |
-
|
819 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:244
|
820 |
-
#: ../plugin-fw/templates/metaboxes/types/contactform.php:418
|
821 |
-
msgid "Set field length."
|
822 |
-
msgstr ""
|
823 |
-
|
824 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:28
|
825 |
-
msgid "Close all"
|
826 |
-
msgstr ""
|
827 |
-
|
828 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:28
|
829 |
-
msgid "Expand all"
|
830 |
-
msgstr ""
|
831 |
-
|
832 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:52
|
833 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:95
|
834 |
-
msgid "Value"
|
835 |
-
msgstr ""
|
836 |
-
|
837 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:53
|
838 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:96
|
839 |
-
msgid "Content of the tab. (HTML is supported)"
|
840 |
-
msgstr ""
|
841 |
-
|
842 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:65
|
843 |
-
msgid "Add custom product tab"
|
844 |
-
msgstr ""
|
845 |
-
|
846 |
-
#: ../plugin-fw/templates/metaboxes/types/customtabs.php:107
|
847 |
-
msgid "Do you want to remove the custom tab?"
|
848 |
-
msgstr ""
|
849 |
-
|
850 |
-
#: ../plugin-fw/templates/metaboxes/types/icon-list.php:89
|
851 |
-
#, php-format
|
852 |
-
msgid "(Default: %s <img src=\"%s\"/>)"
|
853 |
-
msgstr ""
|
854 |
-
|
855 |
-
#: ../plugin-fw/templates/metaboxes/types/icon-list.php:91
|
856 |
-
#, php-format
|
857 |
-
msgid "(Default: <i %s></i> )"
|
858 |
-
msgstr ""
|
859 |
-
|
860 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:35
|
861 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
|
862 |
-
#: ../plugin-fw/templates/metaboxes/types/images.php:33
|
863 |
-
#: ../plugin-fw/templates/metaboxes/types/images.php:59
|
864 |
-
msgid "Delete image"
|
865 |
-
msgstr ""
|
866 |
-
|
867 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
|
868 |
-
msgid "Add Images to Gallery"
|
869 |
-
msgstr ""
|
870 |
-
|
871 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
|
872 |
-
msgid "Add to gallery"
|
873 |
-
msgstr ""
|
874 |
-
|
875 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
|
876 |
-
msgid "Add images"
|
877 |
-
msgstr ""
|
878 |
-
|
879 |
-
#: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
|
880 |
-
msgid "Delete"
|
881 |
-
msgstr ""
|
882 |
-
|
883 |
-
#: ../plugin-fw/templates/metaboxes/types/images.php:37
|
884 |
-
msgid "Upload new images"
|
885 |
-
msgstr ""
|
886 |
-
|
887 |
-
#: ../plugin-fw/templates/metaboxes/types/images.php:70
|
888 |
-
msgid "Are you sure you want to remove this image?"
|
889 |
-
msgstr ""
|
890 |
-
|
891 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:25
|
892 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:36
|
893 |
-
msgid "Left sidebar"
|
894 |
-
msgstr ""
|
895 |
-
|
896 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:28
|
897 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:42
|
898 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:45
|
899 |
-
msgid "No sidebar"
|
900 |
-
msgstr ""
|
901 |
-
|
902 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:31
|
903 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:39
|
904 |
-
msgid "Right sidebar"
|
905 |
-
msgstr ""
|
906 |
-
|
907 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:34
|
908 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:53
|
909 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:64
|
910 |
-
msgid "Choose a sidebar"
|
911 |
-
msgstr ""
|
912 |
-
|
913 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:51
|
914 |
-
msgid "Left Sidebar"
|
915 |
-
msgstr ""
|
916 |
-
|
917 |
-
#: ../plugin-fw/templates/metaboxes/types/sidebars.php:62
|
918 |
-
msgid "Right Sidebar"
|
919 |
-
msgstr ""
|
920 |
-
|
921 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:42
|
922 |
-
msgid "px"
|
923 |
-
msgstr ""
|
924 |
-
|
925 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:43
|
926 |
-
msgid "em"
|
927 |
-
msgstr ""
|
928 |
-
|
929 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:44
|
930 |
-
msgid "pt"
|
931 |
-
msgstr ""
|
932 |
-
|
933 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:45
|
934 |
-
msgid "rem"
|
935 |
-
msgstr ""
|
936 |
-
|
937 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:59
|
938 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:153
|
939 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:217
|
940 |
-
msgid "Web fonts"
|
941 |
-
msgstr ""
|
942 |
-
|
943 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:71
|
944 |
-
msgid "Google fonts"
|
945 |
-
msgstr ""
|
946 |
-
|
947 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:96
|
948 |
-
msgid "Regular"
|
949 |
-
msgstr ""
|
950 |
-
|
951 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:97
|
952 |
-
msgid "Bold"
|
953 |
-
msgstr ""
|
954 |
-
|
955 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:98
|
956 |
-
msgid "Extra bold"
|
957 |
-
msgstr ""
|
958 |
-
|
959 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:99
|
960 |
-
msgid "Italic"
|
961 |
-
msgstr ""
|
962 |
-
|
963 |
-
#: ../plugin-fw/templates/metaboxes/types/typography.php:100
|
964 |
-
msgid "Italic bold"
|
965 |
-
msgstr ""
|
966 |
-
|
967 |
#: ../plugin-options/settings-options.php:8
|
968 |
msgid "Upgrade to the PREMIUM VERSION"
|
969 |
msgstr ""
|
@@ -998,33 +96,41 @@ msgid "Enable Quick View"
|
|
998 |
msgstr ""
|
999 |
|
1000 |
#: ../plugin-options/settings-options.php:46
|
1001 |
-
msgid "Quick View
|
1002 |
msgstr ""
|
1003 |
|
1004 |
#: ../plugin-options/settings-options.php:47
|
1005 |
-
msgid "
|
1006 |
msgstr ""
|
1007 |
|
1008 |
#: ../plugin-options/settings-options.php:54
|
1009 |
-
msgid "
|
1010 |
msgstr ""
|
1011 |
|
1012 |
#: ../plugin-options/settings-options.php:55
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1013 |
msgid "Enable lightbox. Product images will open in a lightbox."
|
1014 |
msgstr ""
|
1015 |
|
1016 |
-
#: ../plugin-options/settings-options.php:
|
1017 |
msgid "Style Options"
|
1018 |
msgstr ""
|
1019 |
|
1020 |
-
#: ../plugin-options/settings-options.php:
|
1021 |
msgid "Modal Window Background Color"
|
1022 |
msgstr ""
|
1023 |
|
1024 |
-
#: ../plugin-options/settings-options.php:
|
1025 |
msgid "Closing Button Color"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
-
#: ../plugin-options/settings-options.php:
|
1029 |
msgid "Closing Button Hover Color"
|
1030 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: YITH Woocommerce Quick View\n"
|
4 |
+
"POT-Creation-Date: 2015-05-18 11:52+0100\n"
|
5 |
+
"PO-Revision-Date: 2015-05-18 11:52+0100\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
8 |
"Language: en\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.7.6\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"Plural-Forms: nplurals=2; plural=n!=1;\n"
|
15 |
"X-Poedit-KeywordsList: __ ;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
|
16 |
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
"X-Poedit-SearchPath-0: ..\n"
|
19 |
+
"X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
|
20 |
|
21 |
#: ../class.yith-wcqv-admin.php:130 ../class.yith-wcqv-admin.php:152
|
|
|
|
|
|
|
|
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
27 |
msgstr ""
|
28 |
|
29 |
#: ../class.yith-wcqv-admin.php:159 ../class.yith-wcqv-admin.php:160
|
30 |
+
#: ../plugin-options/settings-options.php:57
|
31 |
msgid "Quick View"
|
32 |
msgstr ""
|
33 |
|
62 |
"are using the premium one."
|
63 |
msgstr ""
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
#: ../plugin-options/settings-options.php:8
|
66 |
msgid "Upgrade to the PREMIUM VERSION"
|
67 |
msgstr ""
|
96 |
msgstr ""
|
97 |
|
98 |
#: ../plugin-options/settings-options.php:46
|
99 |
+
msgid "Enable Quick View on mobile"
|
100 |
msgstr ""
|
101 |
|
102 |
#: ../plugin-options/settings-options.php:47
|
103 |
+
msgid "Enable quick view features on mobile device too"
|
104 |
msgstr ""
|
105 |
|
106 |
#: ../plugin-options/settings-options.php:54
|
107 |
+
msgid "Quick View Button Label"
|
108 |
msgstr ""
|
109 |
|
110 |
#: ../plugin-options/settings-options.php:55
|
111 |
+
msgid "Label for the quick view button in the WooCommerce loop."
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: ../plugin-options/settings-options.php:62
|
115 |
+
msgid "Enable Lightbox"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: ../plugin-options/settings-options.php:63
|
119 |
msgid "Enable lightbox. Product images will open in a lightbox."
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: ../plugin-options/settings-options.php:74
|
123 |
msgid "Style Options"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: ../plugin-options/settings-options.php:81
|
127 |
msgid "Modal Window Background Color"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: ../plugin-options/settings-options.php:89
|
131 |
msgid "Closing Button Color"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: ../plugin-options/settings-options.php:97
|
135 |
msgid "Closing Button Hover Color"
|
136 |
msgstr ""
|
plugin-fw/assets/css/metaboxes.css
CHANGED
@@ -595,4 +595,15 @@
|
|
595 |
.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:0}
|
596 |
.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:0}
|
597 |
.ui-widget-overlay{background:#aaa 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}
|
598 |
-
.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
595 |
.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:0}
|
596 |
.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:0}
|
597 |
.ui-widget-overlay{background:#aaa 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}
|
598 |
+
.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
|
599 |
+
|
600 |
+
|
601 |
+
.the-metabox.preview{
|
602 |
+
float: none;
|
603 |
+
}
|
604 |
+
.metaboxes-tab .the-metabox.no-label.preview{
|
605 |
+
margin-left: 184px;
|
606 |
+
}
|
607 |
+
.metaboxes-tab .the-metabox.no-label.preview img{
|
608 |
+
box-shadow: 0 1px 8px rgba(0,0,0,0.2);
|
609 |
+
}
|
plugin-fw/assets/css/yit-plugin-panel.css
CHANGED
@@ -50,7 +50,8 @@
|
|
50 |
top: -30px;
|
51 |
}
|
52 |
/*handle*/
|
53 |
-
.yit-options .ui-slider-horizontal .ui-slider-handle
|
|
|
54 |
background: transparent url(../images/slider/handle.png) no-repeat left top !important;
|
55 |
border: 0px !important;
|
56 |
top: -.35em !important;
|
@@ -59,7 +60,8 @@
|
|
59 |
}
|
60 |
|
61 |
/*bg on the left:grey*/
|
62 |
-
.yit-options .ui-slider.ui-widget-content
|
|
|
63 |
background: url(../images/slider/grey.gif) repeat-x left center !important;
|
64 |
border-color: #c1c1c0 !important;
|
65 |
height: 10px !important;
|
@@ -83,9 +85,11 @@
|
|
83 |
.plugin-option tr{
|
84 |
border-bottom: 1px solid #ccc;
|
85 |
}
|
86 |
-
.plugin-option .yit_options
|
|
|
87 |
border-bottom: 0px;
|
88 |
}
|
|
|
89 |
.plugin-option .yit_options .option {
|
90 |
width: 600px;
|
91 |
float: left;
|
@@ -95,6 +99,7 @@
|
|
95 |
padding: 25px 10px;
|
96 |
}
|
97 |
|
|
|
98 |
.yit-options .select_wrapper {
|
99 |
background: url("../images/select.png") no-repeat scroll right center #FAFAFA;
|
100 |
border-color: #CCCCCC #EEEEEE #EEEEEE #CCCCCC;
|
@@ -165,10 +170,11 @@
|
|
165 |
position: absolute;
|
166 |
z-index: 2;
|
167 |
}
|
168 |
-
.ie8 .yit_options select
|
|
|
169 |
height: 26px;
|
170 |
}
|
171 |
-
.yit_options select, .the-metabox .select_wrapper select {
|
172 |
cursor: pointer;
|
173 |
height: 28px;
|
174 |
margin: 0;
|
@@ -198,6 +204,7 @@
|
|
198 |
|
199 |
|
200 |
/* Style to woocommerce panel*/
|
|
|
201 |
#plugin-fw-wc{
|
202 |
padding-top: 20px;
|
203 |
}
|
@@ -212,49 +219,59 @@
|
|
212 |
padding:0px 10px 10px ;
|
213 |
border-bottom: 1px solid #eee;
|
214 |
}
|
215 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
width: 45%;
|
217 |
float: left;
|
218 |
padding-right: 2.5%;
|
219 |
border-right: 1px solid #ebebeb;
|
220 |
padding-bottom: 2em;
|
221 |
}
|
222 |
-
|
223 |
margin-right: 0;
|
224 |
padding-right: 0;
|
225 |
padding-left: 2.5%;
|
226 |
border: 0;
|
227 |
max-width: 49%;
|
228 |
}
|
229 |
-
|
230 |
font-size: 16px;
|
231 |
margin-bottom: 20px;
|
232 |
}
|
233 |
-
|
234 |
-
display: inline-block;
|
235 |
-
}
|
236 |
-
#plugin-fw-wc .yith-video-link {
|
237 |
width: 100%;
|
238 |
max-width: 200px;
|
239 |
float: left;
|
240 |
margin: 0 1.5em 1.5em 0;
|
241 |
}
|
242 |
-
|
243 |
width: 100%;
|
244 |
max-width: 200px;
|
245 |
float: left;
|
246 |
margin: 0 1.5em 1.5em 0;
|
247 |
}
|
248 |
-
|
249 |
max-width: 100%;
|
250 |
height: auto;
|
251 |
}
|
252 |
-
|
253 |
-
#plugin-fw-wc .yith-video-link img {
|
254 |
max-width: 100%;
|
255 |
height: auto;
|
256 |
}
|
257 |
-
|
258 |
display: none;
|
259 |
|
260 |
}
|
50 |
top: -30px;
|
51 |
}
|
52 |
/*handle*/
|
53 |
+
.yit-options .ui-slider-horizontal .ui-slider-handle,
|
54 |
+
.yit_options .ui-slider-horizontal .ui-slider-handle {
|
55 |
background: transparent url(../images/slider/handle.png) no-repeat left top !important;
|
56 |
border: 0px !important;
|
57 |
top: -.35em !important;
|
60 |
}
|
61 |
|
62 |
/*bg on the left:grey*/
|
63 |
+
.yit-options .ui-slider.ui-widget-content,
|
64 |
+
.yit_options .ui-slider.ui-widget-content {
|
65 |
background: url(../images/slider/grey.gif) repeat-x left center !important;
|
66 |
border-color: #c1c1c0 !important;
|
67 |
height: 10px !important;
|
85 |
.plugin-option tr{
|
86 |
border-bottom: 1px solid #ccc;
|
87 |
}
|
88 |
+
.plugin-option .yit_options,
|
89 |
+
.plugin-option .yit-options{
|
90 |
border-bottom: 0px;
|
91 |
}
|
92 |
+
.plugin-option .yit-options .option,
|
93 |
.plugin-option .yit_options .option {
|
94 |
width: 600px;
|
95 |
float: left;
|
99 |
padding: 25px 10px;
|
100 |
}
|
101 |
|
102 |
+
.yit_options .select_wrapper,
|
103 |
.yit-options .select_wrapper {
|
104 |
background: url("../images/select.png") no-repeat scroll right center #FAFAFA;
|
105 |
border-color: #CCCCCC #EEEEEE #EEEEEE #CCCCCC;
|
170 |
position: absolute;
|
171 |
z-index: 2;
|
172 |
}
|
173 |
+
.ie8 .yit_options select,
|
174 |
+
.ie8 .yit-options select {
|
175 |
height: 26px;
|
176 |
}
|
177 |
+
.yit_options select, .yit-options select, .the-metabox .select_wrapper select {
|
178 |
cursor: pointer;
|
179 |
height: 28px;
|
180 |
margin: 0;
|
204 |
|
205 |
|
206 |
/* Style to woocommerce panel*/
|
207 |
+
|
208 |
#plugin-fw-wc{
|
209 |
padding-top: 20px;
|
210 |
}
|
219 |
padding:0px 10px 10px ;
|
220 |
border-bottom: 1px solid #eee;
|
221 |
}
|
222 |
+
|
223 |
+
/* === VIDEO BOX === */
|
224 |
+
|
225 |
+
.yith-videobox-wrapper {
|
226 |
+
padding-top: 20px;
|
227 |
+
}
|
228 |
+
.yith-videobox-wrapper h3{
|
229 |
+
padding:0px 10px 10px ;
|
230 |
+
border-bottom: 1px solid #eee;
|
231 |
+
}
|
232 |
+
|
233 |
+
.yith-videobox-wrapper .postbox {
|
234 |
+
display: inline-block;
|
235 |
+
}
|
236 |
+
.yith-videobox-wrapper .yith_videobox .column {
|
237 |
width: 45%;
|
238 |
float: left;
|
239 |
padding-right: 2.5%;
|
240 |
border-right: 1px solid #ebebeb;
|
241 |
padding-bottom: 2em;
|
242 |
}
|
243 |
+
.yith-videobox-wrapper .yith_videobox .column.two {
|
244 |
margin-right: 0;
|
245 |
padding-right: 0;
|
246 |
padding-left: 2.5%;
|
247 |
border: 0;
|
248 |
max-width: 49%;
|
249 |
}
|
250 |
+
.yith-videobox-wrapper .yith_videobox h2{
|
251 |
font-size: 16px;
|
252 |
margin-bottom: 20px;
|
253 |
}
|
254 |
+
.yith-videobox-wrapper .yith-video-link {
|
|
|
|
|
|
|
255 |
width: 100%;
|
256 |
max-width: 200px;
|
257 |
float: left;
|
258 |
margin: 0 1.5em 1.5em 0;
|
259 |
}
|
260 |
+
.yith-videobox-wrapper .yith-video-link {
|
261 |
width: 100%;
|
262 |
max-width: 200px;
|
263 |
float: left;
|
264 |
margin: 0 1.5em 1.5em 0;
|
265 |
}
|
266 |
+
.yith-videobox-wrapper .yith-image-frame img {
|
267 |
max-width: 100%;
|
268 |
height: auto;
|
269 |
}
|
270 |
+
.yith-videobox-wrapper .yith-video-link img {
|
|
|
271 |
max-width: 100%;
|
272 |
height: auto;
|
273 |
}
|
274 |
+
.yith-videobox-wrapper .yith-video-iframe {
|
275 |
display: none;
|
276 |
|
277 |
}
|
plugin-fw/assets/js/chosen/ajax-chosen.jquery.js
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Generated by CoffeeScript 1.3.1
|
2 |
+
|
3 |
+
(function($) {
|
4 |
+
return $.fn.ajaxChosen = function(settings, callback) {
|
5 |
+
var chosenXhr, defaultOptions, options, select;
|
6 |
+
if (settings == null) {
|
7 |
+
settings = {};
|
8 |
+
}
|
9 |
+
if (callback == null) {
|
10 |
+
callback = function() {};
|
11 |
+
}
|
12 |
+
defaultOptions = {
|
13 |
+
minTermLength: 3,
|
14 |
+
afterTypeDelay: 500,
|
15 |
+
jsonTermKey: "term"
|
16 |
+
};
|
17 |
+
select = this;
|
18 |
+
chosenXhr = null;
|
19 |
+
options = $.extend({}, defaultOptions, settings);
|
20 |
+
this.chosen();
|
21 |
+
return this.each(function() {
|
22 |
+
return $(this).next('.chosen-container').find(".search-field > input, .chosen-search > input").bind('keyup', function() {
|
23 |
+
var field, msg, success, val;
|
24 |
+
val = $.trim($(this).attr('value'));
|
25 |
+
msg = val.length < options.minTermLength ? "Keep typing..." : "Looking for '" + val + "'";
|
26 |
+
select.next('.chosen-container').find('.no-results').text(msg);
|
27 |
+
if (val === $(this).data('prevVal')) {
|
28 |
+
return false;
|
29 |
+
}
|
30 |
+
$(this).data('prevVal', val);
|
31 |
+
if (this.timer) {
|
32 |
+
clearTimeout(this.timer);
|
33 |
+
}
|
34 |
+
if (val.length < options.minTermLength) {
|
35 |
+
return false;
|
36 |
+
}
|
37 |
+
field = $(this);
|
38 |
+
if (!(options.data != null)) {
|
39 |
+
options.data = {};
|
40 |
+
}
|
41 |
+
options.data[options.jsonTermKey] = val;
|
42 |
+
if (options.dataCallback != null) {
|
43 |
+
options.data = options.dataCallback(options.data);
|
44 |
+
}
|
45 |
+
success = options.success;
|
46 |
+
options.success = function(data) {
|
47 |
+
var items, selected_values;
|
48 |
+
if (!(data != null)) {
|
49 |
+
return;
|
50 |
+
}
|
51 |
+
selected_values = [];
|
52 |
+
select.find('option').each(function() {
|
53 |
+
if (!$(this).is(":selected")) {
|
54 |
+
return $(this).remove();
|
55 |
+
} else {
|
56 |
+
return selected_values.push($(this).val() + "-" + $(this).text());
|
57 |
+
}
|
58 |
+
});
|
59 |
+
items = callback(data);
|
60 |
+
$.each(items, function(value, text) {
|
61 |
+
if ($.inArray(value + "-" + text, selected_values) === -1) {
|
62 |
+
return $("<option />").attr('value', value).html(text).appendTo(select);
|
63 |
+
}
|
64 |
+
});
|
65 |
+
select.trigger("chosen:updated");
|
66 |
+
if (success != null) {
|
67 |
+
success(data);
|
68 |
+
}
|
69 |
+
field.attr('value', val);
|
70 |
+
return field.css('width', 'auto');
|
71 |
+
};
|
72 |
+
return this.timer = setTimeout(function() {
|
73 |
+
if (chosenXhr) {
|
74 |
+
chosenXhr.abort();
|
75 |
+
}
|
76 |
+
return chosenXhr = $.ajax(options);
|
77 |
+
}, options.afterTypeDelay);
|
78 |
+
});
|
79 |
+
});
|
80 |
+
};
|
81 |
+
})(jQuery);
|
plugin-fw/assets/js/chosen/ajax-chosen.jquery.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
// Generated by CoffeeScript 1.3.1
|
2 |
+
(function(e){return e.fn.ajaxChosen=function(t,n){var r,i,s,o;t==null&&(t={});n==null&&(n=function(){});i={minTermLength:3,afterTypeDelay:500,jsonTermKey:"term"};o=this;r=null;s=e.extend({},i,t);this.chosen();return this.each(function(){return e(this).next(".chosen-container").find(".search-field > input, .chosen-search > input").bind("keyup",function(){var t,i,u,a;a=e.trim(e(this).attr("value"));i=a.length<s.minTermLength?"Keep typing...":"Looking for '"+a+"'";o.next(".chosen-container").find(".no-results").text(i);if(a===e(this).data("prevVal"))return!1;e(this).data("prevVal",a);this.timer&&clearTimeout(this.timer);if(a.length<s.minTermLength)return!1;t=e(this);s.data==null&&(s.data={});s.data[s.jsonTermKey]=a;s.dataCallback!=null&&(s.data=s.dataCallback(s.data));u=s.success;s.success=function(r){var i,s;if(r==null)return;s=[];o.find("option").each(function(){return e(this).is(":selected")?s.push(e(this).val()+"-"+e(this).text()):e(this).remove()});i=n(r);e.each(i,function(t,n){if(e.inArray(t+"-"+n,s)===-1)return e("<option />").attr("value",t).html(n).appendTo(o)});o.trigger("chosen:updated");u!=null&&u(r);t.attr("value",a);return t.css("width","auto")};return this.timer=setTimeout(function(){r&&r.abort();return r=e.ajax(s)},s.afterTypeDelay)})})}})(jQuery);
|
plugin-fw/assets/js/metabox.js
CHANGED
@@ -28,7 +28,7 @@
|
|
28 |
|
29 |
var t = $(this).attr('href');
|
30 |
$(this).parent().addClass('tabs').siblings('li').removeClass('tabs');
|
31 |
-
$('.tabs-panel').slideUp('fast');
|
32 |
$(t).delay(350).slideDown('fast');
|
33 |
|
34 |
return false;
|
28 |
|
29 |
var t = $(this).attr('href');
|
30 |
$(this).parent().addClass('tabs').siblings('li').removeClass('tabs');
|
31 |
+
$(this).closest('.metaboxes-tab').find('.tabs-panel').slideUp('fast');
|
32 |
$(t).delay(350).slideDown('fast');
|
33 |
|
34 |
return false;
|
plugin-fw/assets/js/metabox.min.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
(function(a){function k(b,c,d){var e=!0;if("string"==typeof c){":radio"==c.substr(0,6)&&(c+=":checked");var g=a(c).val();"checkbox"==a(c).attr("type")&&(g=a(c).is(":checked")?"yes":"no");d=d.split(",");for(c=0;c<d.length;c++)if(g!=d[c])e=!1;else{e=!0;break}}e?a(b+"-container").parent().show():a(b+"-container").parent().hide()}a(".metaboxes-tab").each(function(){a(".tabs-panel",this).hide();var b=wpCookies.get("active_metabox_tab"),b=null==b?a("ul.metaboxes-tabs li:first-child a",this).attr("href"):
|
2 |
-
"#"+b;a(b).show();a(".metaboxes-tabs a",this).click(function(b){if(a(this).parent().hasClass("tabs"))b.preventDefault();else return b=a(this).attr("href"),a(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),a(".tabs-panel").slideUp("fast"),a(b).delay(350).slideDown("fast"),!1})});var h=!0,l=wp.media.editor.send.attachment;a(document).on("click",".metaboxes-tab .upload_button",function(b){b=a(this);var c=b.attr("id").replace("-button","");h=!0;
|
3 |
-
e){if(h)a("#"+c).is("input[type=text]")?a("#"+c).val(e.url):a("#"+c+"_custom").val(e.url);else return l.apply(this,[b,e])};wp.media.editor.open(b);return!1});a(".metaboxes-tab .add_media").on("click",function(){h=!1});a(".metaboxes-tab .panel-colorpicker").wpColorPicker({onInit:function(){console.log("test")},change:function(a,c){},clear:function(){var b=a(this);b.val(b.data("default-color"));b.change()}});a(".metaboxes-tab .panel-colorpicker").each(function(){var b=
|
4 |
-
a(this).parent().parent().find("a.wp-color-result").attr("title",b)});a(".metaboxes-tab .panel-datepicker").each(function(){a(this).datepicker()});var f=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));
|
5 |
0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+"</span>")};a(".metaboxes-tab .select_wrapper select").not(".chosen").each(f).change(f);a(".metaboxes-tab .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".metaboxes-tab .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".metaboxes-tab .select_wrapper select[multiple]").not(".chosen").hide()});
|
6 |
a(".metaboxes-tab .onoff_container span").on("click",function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".metaboxes-tab .chosen .select_wrapper select").chosen();a(".metaboxes-tab .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),g=a(this).data("labels");
|
7 |
a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);a(this).siblings(".feedback").find("strong").text(c.value+g)}})});f=a("#_active_page_options-container").parent().html();a("#_active_page_options-container").parent().remove();a(f).insertAfter("#yit-post-setting .handlediv");a(f).insertAfter("#yit-page-setting .handlediv");a("#_active_page_options-container").on("click",function(){a("#_active_page_options").is(":checked")?a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,
|
8 |
"pointer-events":"auto"}):a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,"pointer-events":"none"})}).click();a(".metaboxes-tab [data-field]").each(function(){var b=a(this),c="#"+b.data("field"),d="#"+b.data("dep"),e=b.data("value");k(c,d,e.toString());a(d).on("change",function(){k(c,d,e.toString())}).change()});a(document).on("click",".image-gallery-button",function(b){var c=a(this);b=c.closest(".image-gallery");var d=b.find(".image_gallery_ids"),
|
9 |
e=d.val(),g=b.find("ul.slides-wrapper"),f=wp.media.frames.image_gallery=wp.media({title:c.data("choose"),button:{text:c.data("update")},states:[new wp.media.controller.Library({title:c.data("choose"),filterable:"all",multiple:!0})]});f.on("select",function(){f.state().get("selection").map(function(a){a=a.toJSON();a.id&&(e=e?e+","+a.id:a.id,g.append('<li class="image" data-attachment_id="'+a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+c.data("delete")+
|
10 |
'">x</a></li></ul></li>'))});d.val(e)});f.open()});a(".image-gallery ul.slides-wrapper").each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(c,d){var e="";b.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");e=e+b+","});
|
11 |
-
b.closest(".image-gallery").find(".image_gallery_ids").val(e)}})});a(".image-gallery ul.slides-wrapper").on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),c=a(this).closest(".image-gallery ul.slides-wrapper"),b=b.find(".image_gallery_ids"),d="";a(this).closest("li.image").remove();c.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");d=d+b+","});b.val(d);return!1})})(jQuery);
|
1 |
(function(a){function k(b,c,d){var e=!0;if("string"==typeof c){":radio"==c.substr(0,6)&&(c+=":checked");var g=a(c).val();"checkbox"==a(c).attr("type")&&(g=a(c).is(":checked")?"yes":"no");d=d.split(",");for(c=0;c<d.length;c++)if(g!=d[c])e=!1;else{e=!0;break}}e?a(b+"-container").parent().show():a(b+"-container").parent().hide()}a(".metaboxes-tab").each(function(){a(".tabs-panel",this).hide();var b=wpCookies.get("active_metabox_tab"),b=null==b?a("ul.metaboxes-tabs li:first-child a",this).attr("href"):
|
2 |
+
"#"+b;a(b).show();a(".metaboxes-tabs a",this).click(function(b){if(a(this).parent().hasClass("tabs"))b.preventDefault();else return b=a(this).attr("href"),a(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),a(this).closest(".metaboxes-tab").find(".tabs-panel").slideUp("fast"),a(b).delay(350).slideDown("fast"),!1})});var h=!0,l=wp.media.editor.send.attachment;a(document).on("click",".metaboxes-tab .upload_button",function(b){b=a(this);var c=b.attr("id").replace("-button","");h=!0;
|
3 |
+
wp.media.editor.send.attachment=function(b,e){if(h)a("#"+c).is("input[type=text]")?a("#"+c).val(e.url):a("#"+c+"_custom").val(e.url);else return l.apply(this,[b,e])};wp.media.editor.open(b);return!1});a(".metaboxes-tab .add_media").on("click",function(){h=!1});a(".metaboxes-tab .panel-colorpicker").wpColorPicker({onInit:function(){console.log("test")},change:function(a,c){},clear:function(){var b=a(this);b.val(b.data("default-color"));b.change()}});a(".metaboxes-tab .panel-colorpicker").each(function(){var b=
|
4 |
+
a(this).data("variations-label");a(this).parent().parent().find("a.wp-color-result").attr("title",b)});a(".metaboxes-tab .panel-datepicker").each(function(){a(this).datepicker()});var f=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));
|
5 |
0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+"</span>")};a(".metaboxes-tab .select_wrapper select").not(".chosen").each(f).change(f);a(".metaboxes-tab .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".metaboxes-tab .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".metaboxes-tab .select_wrapper select[multiple]").not(".chosen").hide()});
|
6 |
a(".metaboxes-tab .onoff_container span").on("click",function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".metaboxes-tab .chosen .select_wrapper select").chosen();a(".metaboxes-tab .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),g=a(this).data("labels");
|
7 |
a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);a(this).siblings(".feedback").find("strong").text(c.value+g)}})});f=a("#_active_page_options-container").parent().html();a("#_active_page_options-container").parent().remove();a(f).insertAfter("#yit-post-setting .handlediv");a(f).insertAfter("#yit-page-setting .handlediv");a("#_active_page_options-container").on("click",function(){a("#_active_page_options").is(":checked")?a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,
|
8 |
"pointer-events":"auto"}):a("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,"pointer-events":"none"})}).click();a(".metaboxes-tab [data-field]").each(function(){var b=a(this),c="#"+b.data("field"),d="#"+b.data("dep"),e=b.data("value");k(c,d,e.toString());a(d).on("change",function(){k(c,d,e.toString())}).change()});a(document).on("click",".image-gallery-button",function(b){var c=a(this);b=c.closest(".image-gallery");var d=b.find(".image_gallery_ids"),
|
9 |
e=d.val(),g=b.find("ul.slides-wrapper"),f=wp.media.frames.image_gallery=wp.media({title:c.data("choose"),button:{text:c.data("update")},states:[new wp.media.controller.Library({title:c.data("choose"),filterable:"all",multiple:!0})]});f.on("select",function(){f.state().get("selection").map(function(a){a=a.toJSON();a.id&&(e=e?e+","+a.id:a.id,g.append('<li class="image" data-attachment_id="'+a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+c.data("delete")+
|
10 |
'">x</a></li></ul></li>'))});d.val(e)});f.open()});a(".image-gallery ul.slides-wrapper").each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(c,d){var e="";b.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");e=e+b+","});
|
11 |
+
b.closest(".image-gallery").find(".image_gallery_ids").val(e)}})});a(".image-gallery ul.slides-wrapper").on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),c=a(this).closest(".image-gallery ul.slides-wrapper"),b=b.find(".image_gallery_ids"),d="";a(this).closest("li.image").remove();c.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");d=d+b+","});b.val(d);return!1})})(jQuery);
|
plugin-fw/assets/js/yit-plugin-panel.js
CHANGED
@@ -121,29 +121,78 @@
|
|
121 |
}
|
122 |
}).change();
|
123 |
|
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 |
$('.plugin-option .add_media').on('click', function () {
|
121 |
}
|
122 |
}).change();
|
123 |
|
124 |
+
//$(document).on('click', '.plugin-option .upload_button', function (e) {
|
125 |
+
// var send_attachment_bkp = wp.media.editor.send.attachment;
|
126 |
+
// var button = $(this);
|
127 |
+
// var id = button.attr('id').replace('-button', '');
|
128 |
+
// _custom_media = true;
|
129 |
+
// wp.media.editor.send.attachment = function (props, attachment) {
|
130 |
+
// if (_custom_media) {
|
131 |
+
// if ($("#" + id).is('input[type=text]')) {
|
132 |
+
// $("#" + id).val(attachment.url);
|
133 |
+
// } else {
|
134 |
+
// $("#" + id + '_custom').val(attachment.url);
|
135 |
+
// }
|
136 |
+
//
|
137 |
+
// } else {
|
138 |
+
// return _orig_send_attachment.apply(this, [props, attachment]);
|
139 |
+
// }
|
140 |
+
// ;
|
141 |
+
// }
|
142 |
+
//
|
143 |
+
// wp.media.editor.open(button);
|
144 |
+
// return false;
|
145 |
+
//});
|
146 |
+
|
147 |
+
$( document ).on( 'click', '.plugin-option .upload_button', function(e) {
|
148 |
+
e.preventDefault();
|
149 |
+
|
150 |
+
var t = $(this),
|
151 |
+
custom_uploader,
|
152 |
+
id = t.attr('id').replace(/-button$/, '');
|
153 |
+
|
154 |
+
//If the uploader object has already been created, reopen the dialog
|
155 |
+
if (custom_uploader) {
|
156 |
+
custom_uploader.open();
|
157 |
+
return;
|
158 |
}
|
159 |
|
160 |
+
var custom_uploader_states = [
|
161 |
+
// Main states.
|
162 |
+
new wp.media.controller.Library({
|
163 |
+
library: wp.media.query(),
|
164 |
+
multiple: false,
|
165 |
+
title: 'Choose Image',
|
166 |
+
priority: 20,
|
167 |
+
filterable: 'uploaded'
|
168 |
+
})
|
169 |
+
];
|
170 |
+
|
171 |
+
// Create the media frame.
|
172 |
+
custom_uploader = wp.media.frames.downloadable_file = wp.media({
|
173 |
+
// Set the title of the modal.
|
174 |
+
title: 'Choose Image',
|
175 |
+
library: {
|
176 |
+
type: ''
|
177 |
+
},
|
178 |
+
button: {
|
179 |
+
text: 'Choose Image'
|
180 |
+
},
|
181 |
+
multiple: false,
|
182 |
+
states: custom_uploader_states
|
183 |
+
});
|
184 |
|
185 |
+
|
186 |
+
//When a file is selected, grab the URL and set it as the text field's value
|
187 |
+
custom_uploader.on( 'select' , function() {
|
188 |
+
var attachment = custom_uploader.state().get( 'selection' ).first().toJSON();
|
189 |
+
|
190 |
+
$("#" + id).val( attachment.url );
|
191 |
+
});
|
192 |
+
|
193 |
+
//Open the uploader dialog
|
194 |
+
custom_uploader.open();
|
195 |
+
});
|
196 |
}
|
197 |
|
198 |
$('.plugin-option .add_media').on('click', function () {
|
plugin-fw/assets/js/yit-plugin-panel.min.js
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
-
(function(a){var
|
2 |
-
"</span>")};a(".plugin-option .select_wrapper select").not(".chosen").each(
|
3 |
-
function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),
|
4 |
-
a(this).siblings(".feedback").find("strong").text(c.value+
|
5 |
-
|
6 |
-
typeof b){":radio"==b.substr(0,6)&&(b+=":checked");for(var g=g.split(","),
|
7 |
-
b});c.val(JSON.stringify(f).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()});a(document).ready(function(){a(".yith-video-link").click(function(b){b.preventDefault();b=a(this).data("video-id");a("."+b).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",resizable:!1,draggable:!1,create:function(b,
|
8 |
-
a(".ui-dialog :button").blur()})});a(document).ready(function(){a(".codemirror").each(function(b,c){var
|
9 |
-
d+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n";
|
|
1 |
+
(function(a){var l=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+
|
2 |
+
"</span>")};a(".plugin-option .select_wrapper select").not(".chosen").each(l).change(l);a(".plugin-option .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".plugin-option .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".plugin-option .select_wrapper select[multiple]").not(".chosen").hide()});a(".plugin-option .chosen .select_wrapper select").chosen();a(".plugin-option .on_off_container span").on("click",
|
3 |
+
function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),f=a(this).data("labels");a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);
|
4 |
+
a(this).siblings(".feedback").find("strong").text(c.value+f)}})});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(a(".plugin-option .upload_img_url").change(function(){var b=a(this).val(),c=a(this).parent().siblings(".upload_img_preview");/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?c.html('<img src="'+b+'" style="max-width:600px; max-height:300px;" />'):c.html("")}).change(),a(document).on("click",".plugin-option .upload_button",function(b){b.preventDefault();
|
5 |
+
var c,d=a(this).attr("id").replace(/-button$/,"");c||(b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})],c=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:b}),c.on("select",function(){var b=c.state().get("selection").first().toJSON();a("#"+d).val(b.url)}));c.open()}));a(".plugin-option .add_media").on("click",function(){});a("[data-field]").each(function(){var b=
|
6 |
+
a(this),c="#"+b.data("field"),d="#"+b.data("dep"),e=b.data("value");a(d).on("change",function(){var b=d,g=e.toString(),h=!0;if("string"==typeof b){":radio"==b.substr(0,6)&&(b+=":checked");for(var g=g.split(","),k=0;k<g.length;k++)if(a(b).val()!=g[k])h=!1;else{h=!0;break}}h?a(c+"-container").closest("tr").show():a(c+"-container").closest("tr").hide()}).change()});a(".rm_connectedlist").each(function(){var b=a(this).find("ul"),c=a(this).find(":hidden");b.sortable({connectWith:b,update:function(d,e){var f=
|
7 |
+
{};b.each(function(){var b={};a(this).children().each(function(){b[a(this).data("option")]=a(this).text()});f[a(this).data("list")]=b});c.val(JSON.stringify(f).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()});a(document).ready(function(){a(".yith-video-link").click(function(b){b.preventDefault();b=a(this).data("video-id");a("."+b).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",resizable:!1,draggable:!1,create:function(b,
|
8 |
+
d){a(this).css("maxWidth","853px")},open:function(b,d){a(".ui-widget-overlay").bind("click",function(){a(this).siblings(".ui-dialog").find(".ui-dialog-content").dialog("close")})}});a(".ui-dialog :button").blur()})});a(document).ready(function(){a(".codemirror").each(function(b,c){var d=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",d)})});a(document).ready(function(){a(".google-analytic-generate").click(function(){var b=a("#"+
|
9 |
+
a(this).data("textarea")).data("codemirrorInstance"),c=a("#"+a(this).data("input")).val(),d=a(this).data("basename"),e;e="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\nm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n";e+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n";e+="ga('create', '"+c+"', '"+d+"');\n";e+="ga('send', 'pageview');\n";
|
10 |
+
b.replaceRange(e,b.getCursor("start"),b.getCursor("end"))})})})(jQuery);
|
plugin-fw/assets/js/yit-wp-pointer.js
CHANGED
@@ -23,7 +23,7 @@ jQuery(document).ready( function($) {
|
|
23 |
pointerClass: 'yit-wp-pointer',
|
24 |
content : options.content,
|
25 |
position: options.position,
|
26 |
-
open : function () {
|
27 |
selected_plugin_row.toggleClass( 'yit-pointer-selected-row' );
|
28 |
top_level_menu.addClass( 'yit-pointer' );
|
29 |
},
|
23 |
pointerClass: 'yit-wp-pointer',
|
24 |
content : options.content,
|
25 |
position: options.position,
|
26 |
+
open : function () {
|
27 |
selected_plugin_row.toggleClass( 'yit-pointer-selected-row' );
|
28 |
top_level_menu.addClass( 'yit-pointer' );
|
29 |
},
|
plugin-fw/languages/yith-plugin-fw-it_IT.mo
ADDED
Binary file
|
plugin-fw/languages/yith-plugin-fw-it_IT.po
ADDED
@@ -0,0 +1,988 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2015 YIThemes
|
2 |
+
# This file is distributed under the same license as the YITH Plugin Starter package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
+
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2015-05-11 17:13+0100\n"
|
8 |
+
"PO-Revision-Date: 2015-05-11 17:15+0100\n"
|
9 |
+
"Last-Translator: \n"
|
10 |
+
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
11 |
+
"Language: en\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 1.7.3\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"
|
19 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
20 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
21 |
+
"X-Poedit-Basepath: ../\n"
|
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
|
28 |
+
msgid "Add %s"
|
29 |
+
msgstr "Aggiungi %s"
|
30 |
+
|
31 |
+
#: lib/yit-cpt-unlimited.php:461 lib/yit-cpt-unlimited.php:575
|
32 |
+
#, php-format
|
33 |
+
msgid "Add New %s"
|
34 |
+
msgstr "Aggiungi nuovo %s"
|
35 |
+
|
36 |
+
#: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
|
37 |
+
#: lib/yit-cpt-unlimited.php:1267 lib/yit-cpt-unlimited.php:1304
|
38 |
+
#, php-format
|
39 |
+
msgid "Edit %s"
|
40 |
+
msgstr "Modifica %s"
|
41 |
+
|
42 |
+
#: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
|
43 |
+
#, php-format
|
44 |
+
msgid "New %s"
|
45 |
+
msgstr "Nuovo %s"
|
46 |
+
|
47 |
+
#: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
|
48 |
+
#, php-format
|
49 |
+
msgid "All %s"
|
50 |
+
msgstr "Tutti %s"
|
51 |
+
|
52 |
+
#: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
|
53 |
+
#: lib/yit-cpt-unlimited.php:1251 lib/yit-cpt-unlimited.php:1305
|
54 |
+
#, php-format
|
55 |
+
msgid "View %s"
|
56 |
+
msgstr "Visualizza %s"
|
57 |
+
|
58 |
+
#: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
|
59 |
+
#, php-format
|
60 |
+
msgid "Search %s"
|
61 |
+
msgstr "Cerca %s"
|
62 |
+
|
63 |
+
#: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
|
64 |
+
#, php-format
|
65 |
+
msgid "No %s found"
|
66 |
+
msgstr "Nessun %s trovato"
|
67 |
+
|
68 |
+
#: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
|
69 |
+
#, php-format
|
70 |
+
msgid "No %s found in Trash"
|
71 |
+
msgstr "Nessun %s trovato nel cestino"
|
72 |
+
|
73 |
+
#: lib/yit-cpt-unlimited.php:625
|
74 |
+
#, php-format
|
75 |
+
msgctxt "taxonomy general name"
|
76 |
+
msgid "%s Categories"
|
77 |
+
msgstr "%s Categorie"
|
78 |
+
|
79 |
+
#: lib/yit-cpt-unlimited.php:626
|
80 |
+
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 |
+
|
88 |
+
#: lib/yit-cpt-unlimited.php:628
|
89 |
+
msgid "All Categories"
|
90 |
+
msgstr "Tutte le categorie"
|
91 |
+
|
92 |
+
#: lib/yit-cpt-unlimited.php:629
|
93 |
+
msgid "Parent Category"
|
94 |
+
msgstr "Categoria genitore"
|
95 |
+
|
96 |
+
#: lib/yit-cpt-unlimited.php:630
|
97 |
+
msgid "Parent Category:"
|
98 |
+
msgstr "Categoria genitore:"
|
99 |
+
|
100 |
+
#: lib/yit-cpt-unlimited.php:631
|
101 |
+
msgid "Edit Category"
|
102 |
+
msgstr "Modifica categoria"
|
103 |
+
|
104 |
+
#: lib/yit-cpt-unlimited.php:632
|
105 |
+
msgid "Update Category"
|
106 |
+
msgstr "Aggiorna categoria"
|
107 |
+
|
108 |
+
#: lib/yit-cpt-unlimited.php:633
|
109 |
+
msgid "Add New Category"
|
110 |
+
msgstr "Aggiungi nuova categoria"
|
111 |
+
|
112 |
+
#: lib/yit-cpt-unlimited.php:634
|
113 |
+
msgid "New Category Name"
|
114 |
+
msgstr "Nuovo nome categoria"
|
115 |
+
|
116 |
+
#: lib/yit-cpt-unlimited.php:635
|
117 |
+
msgid "Category"
|
118 |
+
msgstr "Categoria"
|
119 |
+
|
120 |
+
#: lib/yit-cpt-unlimited.php:724
|
121 |
+
msgid "Categories"
|
122 |
+
msgstr "Categorie"
|
123 |
+
|
124 |
+
#: lib/yit-cpt-unlimited.php:1042
|
125 |
+
#, php-format
|
126 |
+
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:64
|
131 |
+
msgid "Settings"
|
132 |
+
msgstr "Impostazioni"
|
133 |
+
|
134 |
+
#: lib/yit-cpt-unlimited.php:1051
|
135 |
+
msgid "Type"
|
136 |
+
msgstr "Tipologia"
|
137 |
+
|
138 |
+
#: lib/yit-cpt-unlimited.php:1052
|
139 |
+
msgid "Layout for this "
|
140 |
+
msgstr "Layout per questo"
|
141 |
+
|
142 |
+
#: lib/yit-cpt-unlimited.php:1058
|
143 |
+
msgid "Rewrite"
|
144 |
+
msgstr "Riscrivi"
|
145 |
+
|
146 |
+
#: lib/yit-cpt-unlimited.php:1059
|
147 |
+
msgid ""
|
148 |
+
"Univocal identification name in the URL for each product (slug from post if empty)"
|
149 |
+
msgstr ""
|
150 |
+
"Nome identificativo univoco nell'URL per singolo prodotto (usa slug dal post se "
|
151 |
+
"vuoto)"
|
152 |
+
|
153 |
+
#: lib/yit-cpt-unlimited.php:1064
|
154 |
+
msgid "Label in Singular"
|
155 |
+
msgstr "Etichetta singolare"
|
156 |
+
|
157 |
+
#: lib/yit-cpt-unlimited.php:1065
|
158 |
+
msgid "Set a label in singular (title of portfolio if empty)"
|
159 |
+
msgstr "Imposta un'etichetta singolare (titolo del portfolio se vuoto)"
|
160 |
+
|
161 |
+
#: lib/yit-cpt-unlimited.php:1070
|
162 |
+
msgid "Label in Plural"
|
163 |
+
msgstr "Etichetta plurale"
|
164 |
+
|
165 |
+
#: lib/yit-cpt-unlimited.php:1071
|
166 |
+
msgid "Set a label in plural (title of portfolio if empty)"
|
167 |
+
msgstr "Imposta un'etichetta plurale (titolo del portfolio se vuoto)"
|
168 |
+
|
169 |
+
#: lib/yit-cpt-unlimited.php:1076
|
170 |
+
msgid "Taxonomy"
|
171 |
+
msgstr "Tassonomia"
|
172 |
+
|
173 |
+
#: lib/yit-cpt-unlimited.php:1077
|
174 |
+
msgid ""
|
175 |
+
"If you want to use categories in the portfolio, set a name for taxonomy. Name "
|
176 |
+
"should be a slug (must not contain capital letters nor spaces) and must not be "
|
177 |
+
"more than 32 characters long (database structure restriction)."
|
178 |
+
msgstr ""
|
179 |
+
"Se vuoi aggiungere delle categorie nel portfolio, imposta un nome per la "
|
180 |
+
"tassonomia. Il nome dovrà essere in forma di slug (non deve contenere caratteri "
|
181 |
+
"maiuscoli né spazi) e non più lungo di 32 caratteri (restrizione di database)."
|
182 |
+
|
183 |
+
#: lib/yit-cpt-unlimited.php:1082
|
184 |
+
msgid "Taxonomy Rewrite"
|
185 |
+
msgstr "Riscrivi tassonomia"
|
186 |
+
|
187 |
+
#: lib/yit-cpt-unlimited.php:1083
|
188 |
+
msgid "Set univocal name for each category page URL."
|
189 |
+
msgstr "Imposta un nome univoco per l'URL della pagina di ciascuna categoria."
|
190 |
+
|
191 |
+
#: lib/yit-cpt-unlimited.php:1088
|
192 |
+
msgid "Single layout"
|
193 |
+
msgstr "Layout singolo"
|
194 |
+
|
195 |
+
#: lib/yit-cpt-unlimited.php:1089
|
196 |
+
msgid "Layout for single page of this portfolio"
|
197 |
+
msgstr "Layout per pagina singola per questo portfolio"
|
198 |
+
|
199 |
+
#: lib/yit-cpt-unlimited.php:1130
|
200 |
+
msgid "layout settings"
|
201 |
+
msgstr "impostazioni di layout"
|
202 |
+
|
203 |
+
#: lib/yit-cpt-unlimited.php:1222 lib/yit-cpt-unlimited.php:1235
|
204 |
+
msgid "Quick links"
|
205 |
+
msgstr "Link rapidi"
|
206 |
+
|
207 |
+
#: lib/yit-cpt-unlimited.php:1475
|
208 |
+
#, php-format
|
209 |
+
msgid "Show frontend of the %s"
|
210 |
+
msgstr "Mostra front end di %s"
|
211 |
+
|
212 |
+
#: lib/yit-cpt-unlimited.php:1482 templates/metaboxes/types/customtabs.php:46
|
213 |
+
#: templates/metaboxes/types/customtabs.php:90
|
214 |
+
msgid "Name"
|
215 |
+
msgstr "Nome"
|
216 |
+
|
217 |
+
#: lib/yit-cpt-unlimited.php:1631
|
218 |
+
#, php-format
|
219 |
+
msgid "Add %s from images"
|
220 |
+
msgstr "Aggiungi %s dalla immagini"
|
221 |
+
|
222 |
+
#: lib/yit-cpt-unlimited.php:1633
|
223 |
+
msgid "Add with multiupload"
|
224 |
+
msgstr "Aggiungi con caricamento multiplo"
|
225 |
+
|
226 |
+
#: lib/yit-plugin-panel-wc.php:295
|
227 |
+
msgid "The changes you have made will be lost if you leave this page."
|
228 |
+
msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
|
229 |
+
|
230 |
+
#: lib/yit-plugin-panel.php:63
|
231 |
+
msgid "Plugin Settings"
|
232 |
+
msgstr "Impostazioni plugin"
|
233 |
+
|
234 |
+
#: lib/yit-plugin-panel.php:95 lib/yit-plugin-subpanel.php:101
|
235 |
+
msgid "YIT Plugins"
|
236 |
+
msgstr "Plugin YIT"
|
237 |
+
|
238 |
+
#: lib/yit-plugin-panel.php:292 lib/yit-plugin-subpanel.php:142
|
239 |
+
#: templates/panel/woocommerce/woocommerce-form.php:5
|
240 |
+
msgid "Save Changes"
|
241 |
+
msgstr "Salva modifiche"
|
242 |
+
|
243 |
+
#: lib/yit-plugin-panel.php:295 templates/panel/woocommerce/woocommerce-form.php:8
|
244 |
+
msgid "If you continue with this action, you will reset all options in this page."
|
245 |
+
msgstr ""
|
246 |
+
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
247 |
+
"reimpostate."
|
248 |
+
|
249 |
+
#: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
|
250 |
+
msgid "Reset to Default"
|
251 |
+
msgstr "Ripristina impostazioni iniziali"
|
252 |
+
|
253 |
+
#: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
|
254 |
+
#: templates/panel/woocommerce/woocommerce-form.php:10
|
255 |
+
msgid "Are you sure?"
|
256 |
+
msgstr "Sei sicuro?"
|
257 |
+
|
258 |
+
#: lib/yit-plugin-panel.php:431
|
259 |
+
msgid "The element you have entered already exists. Please, enter another name."
|
260 |
+
msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
|
261 |
+
|
262 |
+
#: lib/yit-plugin-panel.php:432
|
263 |
+
msgid "Settings saved"
|
264 |
+
msgstr "Impostazioni salvate"
|
265 |
+
|
266 |
+
#: lib/yit-plugin-panel.php:433
|
267 |
+
msgid "Settings reset"
|
268 |
+
msgstr "Impostazioni azzerate"
|
269 |
+
|
270 |
+
#: lib/yit-plugin-panel.php:434
|
271 |
+
msgid "Element deleted correctly."
|
272 |
+
msgstr "Elemento rimosso correttamente."
|
273 |
+
|
274 |
+
#: lib/yit-plugin-panel.php:435 lib/yit-plugin-panel.php:436
|
275 |
+
msgid "Element updated correctly."
|
276 |
+
msgstr "Elemento aggiornato correttamente."
|
277 |
+
|
278 |
+
#: lib/yit-plugin-panel.php:437
|
279 |
+
msgid "Database imported correctly."
|
280 |
+
msgstr "Database importato correttamente."
|
281 |
+
|
282 |
+
#: lib/yit-plugin-panel.php:438
|
283 |
+
msgid "An error has occurred during import. Please try again."
|
284 |
+
msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
|
285 |
+
|
286 |
+
#: lib/yit-plugin-panel.php:439
|
287 |
+
msgid "The added file is not valid."
|
288 |
+
msgstr "Il file aggiunto non è valido."
|
289 |
+
|
290 |
+
#: lib/yit-plugin-panel.php:440
|
291 |
+
msgid "Sorry, import is disabled."
|
292 |
+
msgstr "Ci dispiace, l'importazione è disabilitata."
|
293 |
+
|
294 |
+
#: lib/yit-plugin-panel.php:441
|
295 |
+
msgid "Sorting successful."
|
296 |
+
msgstr "Ordinamento effettuato con successo."
|
297 |
+
|
298 |
+
#: lib/yit-plugin-subpanel.php:145
|
299 |
+
msgid ""
|
300 |
+
"If you continue with this action, you will reset all the options in this page."
|
301 |
+
msgstr ""
|
302 |
+
"Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
|
303 |
+
"reimpostate."
|
304 |
+
|
305 |
+
#: lib/yit-pointers.php:70
|
306 |
+
msgid "Plugins Activated"
|
307 |
+
msgstr "Plugin attivati"
|
308 |
+
|
309 |
+
#: lib/yit-pointers.php:71
|
310 |
+
msgid ""
|
311 |
+
"From now on, you can find all plugin options in YIT Plugin menu.\n"
|
312 |
+
" For each plugin installed, customization "
|
313 |
+
"settings will be available as a new entry in YIT Plugin menu."
|
314 |
+
msgstr ""
|
315 |
+
"Da ora in poi, puoi trovare tutte le opzioni dei tuoi plugin nel menu Plugin YIT.\n"
|
316 |
+
"Troverai le impostazioni di personalizzazione sotto una nuova voce nel menu Plugin "
|
317 |
+
"YIT."
|
318 |
+
|
319 |
+
#: lib/yit-pointers.php:73 lib/yit-pointers.php:89
|
320 |
+
msgid "Discover all our plugins available on:"
|
321 |
+
msgstr "Scopri tutti i plugin disponibili su:"
|
322 |
+
|
323 |
+
#: lib/yit-pointers.php:74 lib/yit-pointers.php:90
|
324 |
+
msgid "and"
|
325 |
+
msgstr "e"
|
326 |
+
|
327 |
+
#: lib/yit-pointers.php:84
|
328 |
+
msgid "Plugins Upgraded"
|
329 |
+
msgstr "Plugin aggiornati"
|
330 |
+
|
331 |
+
# Any time you install one of our plugins, a new entry will be added to this menu.\n
|
332 |
+
#: lib/yit-pointers.php:85
|
333 |
+
msgid ""
|
334 |
+
"From now on, you can find all options of your plugins in YIT Plugin menu.\n"
|
335 |
+
" Any time one of our plugins is updated, a new "
|
336 |
+
"entry will be added to this menu.\n"
|
337 |
+
" For example, after the update, plugin options "
|
338 |
+
"(such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)\n"
|
339 |
+
" will be moved from previous location to YIT "
|
340 |
+
"Plugin tab."
|
341 |
+
msgstr ""
|
342 |
+
"Da ora in poi, troverai tutte le opzioni dei tuoi plugin nel menu Plugin YIT.\n"
|
343 |
+
"Ogni volta che aggiornerai i nostri plugin, troverai una nuova voce in questo "
|
344 |
+
"menu.\n"
|
345 |
+
"Per esempio, dopo l'aggiornamento, le opzioni del plugin (come per esempio quelle "
|
346 |
+
"di YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search etc.)\n"
|
347 |
+
"saranno trasferite nella scheda Plugin YIT."
|
348 |
+
|
349 |
+
#: lib/yit-upgrade.php:123
|
350 |
+
msgid "There is a new version of %plugin_name% available."
|
351 |
+
msgstr "Una nuova versione di %plugin_name% è disponibile."
|
352 |
+
|
353 |
+
#: lib/yit-upgrade.php:124
|
354 |
+
msgid "View version %latest% details."
|
355 |
+
msgstr "Visualizza i dettagli della versione %latest%."
|
356 |
+
|
357 |
+
#: lib/yit-upgrade.php:125
|
358 |
+
msgid "Automatic update is unavailable for this plugin,"
|
359 |
+
msgstr "L'aggiornamento automatico non è disponibile per questo plugin,"
|
360 |
+
|
361 |
+
#: lib/yit-upgrade.php:126
|
362 |
+
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
363 |
+
msgstr ""
|
364 |
+
"per favore, <a href=\"%activate_link%\">attiva</a> la tua copia di %plugin_name%."
|
365 |
+
|
366 |
+
#: lib/yit-upgrade.php:127
|
367 |
+
msgid "Update now."
|
368 |
+
msgstr "Aggiorna adesso."
|
369 |
+
|
370 |
+
#: lib/yit-upgrade.php:230
|
371 |
+
msgid "Yithemes Repository"
|
372 |
+
msgstr "Repository YIThemes"
|
373 |
+
|
374 |
+
#: lib/yit-upgrade.php:264
|
375 |
+
msgid "Invalid URL Provided."
|
376 |
+
msgstr "L'URL inserito non è valido."
|
377 |
+
|
378 |
+
#: lib/yit-upgrade.php:277
|
379 |
+
msgid "Could not create Temporary file."
|
380 |
+
msgstr "Non è stato possibile creare il file temporaneo."
|
381 |
+
|
382 |
+
#: lib/yit-upgrade.php:419
|
383 |
+
#, php-format
|
384 |
+
msgid ""
|
385 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
386 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a>."
|
387 |
+
msgstr ""
|
388 |
+
"È disponibile una nuova versione di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
|
389 |
+
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>."
|
390 |
+
|
391 |
+
#: lib/yit-upgrade.php:421
|
392 |
+
#, php-format
|
393 |
+
msgid ""
|
394 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
395 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You have to "
|
396 |
+
"activate the plugin on a single site of the network to benefit from automatic "
|
397 |
+
"updates.</em>"
|
398 |
+
msgstr ""
|
399 |
+
"È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
|
400 |
+
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>. "
|
401 |
+
"<em>Per poter usufruire degli aggiornamenti automatici è necessario attivare il "
|
402 |
+
"plugin su un solo sito.</em>"
|
403 |
+
|
404 |
+
#: lib/yit-upgrade.php:423
|
405 |
+
#, php-format
|
406 |
+
msgid ""
|
407 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
408 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
|
409 |
+
"update is unavailable for this plugin, please <a href=\"%5$s\" title=\"Licence "
|
410 |
+
"activation\">activate</a> your copy of %6s.</em>"
|
411 |
+
msgstr ""
|
412 |
+
"È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
|
413 |
+
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a>. "
|
414 |
+
"<em>Gli aggiornamenti automatici non sono disponibili per questo plugi, per "
|
415 |
+
"favore, <a href=\"%5$s\" title=\"Licence activation\">attiva</a> la tua copia di "
|
416 |
+
"%6s.</em>"
|
417 |
+
|
418 |
+
#: lib/yit-upgrade.php:425
|
419 |
+
#, php-format
|
420 |
+
msgid ""
|
421 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
422 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s"
|
423 |
+
"\">update now</a>."
|
424 |
+
msgstr ""
|
425 |
+
"È disponibile una nuova versioni di %1$s. <a href=\"%2$s\" class=\"thickbox yit-"
|
426 |
+
"changelog-button\" title=\"%3$s\">Visualizza i dettagli della versione %4$s</a> "
|
427 |
+
"oppure <a href=\"%5$s\">aggiorna adesso</a>."
|
428 |
+
|
429 |
+
#: lib/yit-upgrade.php:498
|
430 |
+
msgid "You can't update the plugins for this site."
|
431 |
+
msgstr "Non è possibile aggiornare i plugin per questo sito."
|
432 |
+
|
433 |
+
#: lib/yit-upgrade.php:502
|
434 |
+
msgid "You do not have sufficient permissions to update the plugins for this site."
|
435 |
+
msgstr ""
|
436 |
+
"Non sei in possesso delle autorizzazioni necessarie per aggiornare i plugin in "
|
437 |
+
"questo sito."
|
438 |
+
|
439 |
+
#: lib/yit-upgrade.php:509
|
440 |
+
msgid "Update Plugin"
|
441 |
+
msgstr "Aggiorna plugin"
|
442 |
+
|
443 |
+
#: licence/lib/yit-licence.php:161
|
444 |
+
#, php-format
|
445 |
+
msgctxt "%s = field name"
|
446 |
+
msgid "%s field cannot be empty"
|
447 |
+
msgstr "Il campo %s non può essere vuoto"
|
448 |
+
|
449 |
+
#: licence/lib/yit-licence.php:162
|
450 |
+
#, php-format
|
451 |
+
msgid "%s and %s fields cannot be empty"
|
452 |
+
msgstr "I campi %s e %s non possono essere vuoti"
|
453 |
+
|
454 |
+
#: licence/lib/yit-licence.php:163
|
455 |
+
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
456 |
+
msgstr "Impossibile contattare il server remoto, prova più tardi. Grazie!"
|
457 |
+
|
458 |
+
#: licence/lib/yit-licence.php:548
|
459 |
+
msgid "Invalid Request"
|
460 |
+
msgstr "Richiesta non valida"
|
461 |
+
|
462 |
+
#: licence/lib/yit-licence.php:549
|
463 |
+
msgid "Invalid licence key"
|
464 |
+
msgstr "Chiave di licenza non valida"
|
465 |
+
|
466 |
+
#: licence/lib/yit-licence.php:550
|
467 |
+
msgid "Software has been deactivated"
|
468 |
+
msgstr "Il software è stato disattivato"
|
469 |
+
|
470 |
+
#: licence/lib/yit-licence.php:551
|
471 |
+
msgid "Maximum number of activations exceeded"
|
472 |
+
msgstr "Hai raggiunto il numero massimo di attivazioni"
|
473 |
+
|
474 |
+
#: licence/lib/yit-licence.php:552
|
475 |
+
msgid "Invalid instance ID"
|
476 |
+
msgstr "Istanza ID non valida"
|
477 |
+
|
478 |
+
#: licence/lib/yit-licence.php:553
|
479 |
+
msgid "Invalid security key"
|
480 |
+
msgstr "Chiave di sicurezza non valida"
|
481 |
+
|
482 |
+
#: licence/lib/yit-licence.php:554
|
483 |
+
msgid "Licence key has expired"
|
484 |
+
msgstr "Questa chiave di licenza è scaduta"
|
485 |
+
|
486 |
+
#: licence/lib/yit-licence.php:555
|
487 |
+
msgid "Licence key has been banned"
|
488 |
+
msgstr "Questa chiave di licenza è stata bloccata"
|
489 |
+
|
490 |
+
#: licence/lib/yit-plugin-licence.php:64 licence/lib/yit-plugin-licence.php:65
|
491 |
+
#: licence/lib/yit-theme-licence.php:64 licence/lib/yit-theme-licence.php:65
|
492 |
+
#: licence/lib/yit-theme-licence.php:107 licence/lib/yit-theme-licence.php:108
|
493 |
+
msgid "Licence Activation"
|
494 |
+
msgstr "Attivazione licenza"
|
495 |
+
|
496 |
+
#: licence/lib/yit-theme-licence.php:115 licence/lib/yit-theme-licence.php:116
|
497 |
+
#, php-format
|
498 |
+
msgid "%s"
|
499 |
+
msgstr "%s"
|
500 |
+
|
501 |
+
#: licence/templates/panel/activation/activation-panel.php:19
|
502 |
+
msgid "Yithemes Licence Activation"
|
503 |
+
msgstr "Attivazione licenza YIThemes"
|
504 |
+
|
505 |
+
#: licence/templates/panel/activation/activation-panel.php:23
|
506 |
+
msgid ""
|
507 |
+
"I cannot find the license key for activating the theme I have bought some time "
|
508 |
+
"ago. Where can I find it?"
|
509 |
+
msgstr ""
|
510 |
+
"Non riesco a trovare la chiave di licenza per l'attivazione del tema che ho "
|
511 |
+
"acquistato diverso tempo fa. Dove posso trovarla?"
|
512 |
+
|
513 |
+
#: licence/templates/panel/activation/activation-panel.php:26
|
514 |
+
msgid ""
|
515 |
+
"If you have purchased one of our products before 27 January 2015, you can benefit "
|
516 |
+
"from support and updates (the services offered with the license)\n"
|
517 |
+
" until 27 January 2016 and you do not have to purchase it again to get "
|
518 |
+
"a new license key, because, before this date, your license used to be activated "
|
519 |
+
"automatically by our system.\n"
|
520 |
+
" After 27 January 2016, instead, if you want to benefit from support "
|
521 |
+
"and updates you have to buy a new license and activate it through the license key "
|
522 |
+
"you will be\n"
|
523 |
+
" provided with and that you can find in your YIThemes account, in "
|
524 |
+
"section \"My licenses\"."
|
525 |
+
msgstr ""
|
526 |
+
"Se hai acquistato un nostro prodotto prima del 27 gennaio 2015 potrai accedere al "
|
527 |
+
"supporto e scaricare gli aggiornamenti fino al 27 gennaio 2016 e non avrai bisogno "
|
528 |
+
"di una chiave di licenza,\n"
|
529 |
+
"in quanto la tua licenza prima di questa data veniva attivata in modo automatico "
|
530 |
+
"dal nostro sistema.\n"
|
531 |
+
"Dopo il 27 gennaio 2016, invece, per poter usufruire del servizio di supporto e "
|
532 |
+
"degli aggiornamenti dovrai riacquistare il prodotto e\n"
|
533 |
+
"attivarlo con la chiave di licenza che ti sarà fornita e che puoi trovare sul tuo "
|
534 |
+
"account YIThemes, alla voce \"Le mie licenze\"."
|
535 |
+
|
536 |
+
#: licence/templates/panel/activation/activation-panel.php:37
|
537 |
+
msgid ""
|
538 |
+
"Have you updated your licenses? Have you asked for an extension? Update "
|
539 |
+
"information concerning your products."
|
540 |
+
msgstr ""
|
541 |
+
"Hai aggiornato la tua licenza? Hai richiesto un'estensione? Aggiorna le "
|
542 |
+
"informazioni dei tuoi prodotti."
|
543 |
+
|
544 |
+
#: licence/templates/panel/activation/activation-panel.php:39
|
545 |
+
msgid "Update licence information"
|
546 |
+
msgstr "Aggiorna le informazioni di licenza"
|
547 |
+
|
548 |
+
#: licence/templates/panel/activation/activation-panel.php:49
|
549 |
+
msgid "Products to be activated"
|
550 |
+
msgstr "Prodotti da attivare"
|
551 |
+
|
552 |
+
#: licence/templates/panel/activation/activation-panel.php:68
|
553 |
+
msgid "Activate"
|
554 |
+
msgstr "Attiva"
|
555 |
+
|
556 |
+
#: licence/templates/panel/activation/activation-panel.php:87
|
557 |
+
msgid "Activated"
|
558 |
+
msgstr "Attivato"
|
559 |
+
|
560 |
+
#: licence/templates/panel/activation/activation-panel.php:91
|
561 |
+
#: licence/templates/panel/activation/activation-panel.php:123
|
562 |
+
#: licence/templates/panel/activation/activation-panel.php:147
|
563 |
+
msgid "Product Name"
|
564 |
+
msgstr "Nome prodotto"
|
565 |
+
|
566 |
+
#: licence/templates/panel/activation/activation-panel.php:92
|
567 |
+
#: licence/templates/panel/activation/activation-panel.php:124
|
568 |
+
#: licence/templates/panel/activation/activation-panel.php:148
|
569 |
+
#: templates/metaboxes/types/contactform.php:148
|
570 |
+
#: templates/metaboxes/types/contactform.php:340
|
571 |
+
msgid "Email"
|
572 |
+
msgstr "Email"
|
573 |
+
|
574 |
+
#: licence/templates/panel/activation/activation-panel.php:93
|
575 |
+
#: licence/templates/panel/activation/activation-panel.php:125
|
576 |
+
#: licence/templates/panel/activation/activation-panel.php:149
|
577 |
+
msgid "Licence Key"
|
578 |
+
msgstr "Chiave di licenza"
|
579 |
+
|
580 |
+
#: licence/templates/panel/activation/activation-panel.php:94
|
581 |
+
#: licence/templates/panel/activation/activation-panel.php:150
|
582 |
+
msgid "Expires"
|
583 |
+
msgstr "Scadenza"
|
584 |
+
|
585 |
+
#: licence/templates/panel/activation/activation-panel.php:95
|
586 |
+
msgid "Remaining"
|
587 |
+
msgstr "Tempo rimanente"
|
588 |
+
|
589 |
+
#: licence/templates/panel/activation/activation-panel.php:96
|
590 |
+
#: licence/templates/panel/activation/activation-panel.php:109
|
591 |
+
#: licence/templates/panel/activation/activation-panel.php:151
|
592 |
+
#: licence/templates/panel/activation/activation-panel.php:161
|
593 |
+
msgid "Renew"
|
594 |
+
msgstr "Rinnova"
|
595 |
+
|
596 |
+
#: licence/templates/panel/activation/activation-panel.php:107
|
597 |
+
#, php-format
|
598 |
+
msgid "%1s out of %2s"
|
599 |
+
msgstr "%1s di %2s"
|
600 |
+
|
601 |
+
#: licence/templates/panel/activation/activation-panel.php:119
|
602 |
+
msgid "Banned"
|
603 |
+
msgstr "Bloccato"
|
604 |
+
|
605 |
+
#: licence/templates/panel/activation/activation-panel.php:143
|
606 |
+
msgid "Expired"
|
607 |
+
msgstr "Non più valido"
|
608 |
+
|
609 |
+
#: templates/metaboxes/types/ajax-products.php:23
|
610 |
+
msgid "Search for a product"
|
611 |
+
msgstr "Cerca un prodotto"
|
612 |
+
|
613 |
+
#: templates/metaboxes/types/categories.php:36
|
614 |
+
msgid "No categories."
|
615 |
+
msgstr "Nessuna categoria"
|
616 |
+
|
617 |
+
#: templates/metaboxes/types/categories.php:42
|
618 |
+
msgid "+ Add New Category"
|
619 |
+
msgstr "+ Aggiungi nuova categoria"
|
620 |
+
|
621 |
+
#: templates/metaboxes/types/categories.php:46
|
622 |
+
msgid "Add"
|
623 |
+
msgstr "Aggiungi"
|
624 |
+
|
625 |
+
#: templates/metaboxes/types/contactform.php:7
|
626 |
+
msgid "Text Input"
|
627 |
+
msgstr "Text input"
|
628 |
+
|
629 |
+
#: templates/metaboxes/types/contactform.php:8
|
630 |
+
msgid "Checkbox"
|
631 |
+
msgstr "Checkbox"
|
632 |
+
|
633 |
+
#: templates/metaboxes/types/contactform.php:9
|
634 |
+
msgid "Select"
|
635 |
+
msgstr "Select"
|
636 |
+
|
637 |
+
#: templates/metaboxes/types/contactform.php:10
|
638 |
+
msgid "Textarea"
|
639 |
+
msgstr "Textarea"
|
640 |
+
|
641 |
+
#: templates/metaboxes/types/contactform.php:11
|
642 |
+
msgid "Radio Input"
|
643 |
+
msgstr "Radio input"
|
644 |
+
|
645 |
+
#: templates/metaboxes/types/contactform.php:12
|
646 |
+
msgid "Password Field"
|
647 |
+
msgstr "Campo password"
|
648 |
+
|
649 |
+
#: templates/metaboxes/types/contactform.php:13
|
650 |
+
msgid "File Upload"
|
651 |
+
msgstr "Carica file"
|
652 |
+
|
653 |
+
#: templates/metaboxes/types/contactform.php:47
|
654 |
+
msgid "Theme Icon"
|
655 |
+
msgstr "Icona tema"
|
656 |
+
|
657 |
+
#: templates/metaboxes/types/contactform.php:48
|
658 |
+
msgid "Custom Icon"
|
659 |
+
msgstr "Icona personalizzata"
|
660 |
+
|
661 |
+
#: templates/metaboxes/types/contactform.php:49
|
662 |
+
#: templates/metaboxes/types/responsivesliders.php:24
|
663 |
+
msgid "None"
|
664 |
+
msgstr "Nessuno"
|
665 |
+
|
666 |
+
#: templates/metaboxes/types/contactform.php:60
|
667 |
+
msgid "Add field"
|
668 |
+
msgstr "Aggiungi campo"
|
669 |
+
|
670 |
+
#: templates/metaboxes/types/contactform.php:69
|
671 |
+
#: templates/metaboxes/types/contactform.php:261
|
672 |
+
#: templates/metaboxes/types/customtabs.php:37
|
673 |
+
#: templates/metaboxes/types/customtabs.php:82
|
674 |
+
msgid "Remove"
|
675 |
+
msgstr "Rimuovi"
|
676 |
+
|
677 |
+
#: templates/metaboxes/types/contactform.php:70
|
678 |
+
#: templates/metaboxes/types/contactform.php:262
|
679 |
+
msgid "Click to toggle"
|
680 |
+
msgstr "Fai clic per aprire/chiudere"
|
681 |
+
|
682 |
+
#: templates/metaboxes/types/contactform.php:77
|
683 |
+
#: templates/metaboxes/types/contactform.php:269
|
684 |
+
msgid "Field Title"
|
685 |
+
msgstr "Titolo campo"
|
686 |
+
|
687 |
+
#: templates/metaboxes/types/contactform.php:81
|
688 |
+
#: templates/metaboxes/types/contactform.php:273
|
689 |
+
msgid "Insert the title for the field."
|
690 |
+
msgstr "Inserisci il titolo per il campo"
|
691 |
+
|
692 |
+
#: templates/metaboxes/types/contactform.php:86
|
693 |
+
#: templates/metaboxes/types/contactform.php:278
|
694 |
+
msgid "Data Name"
|
695 |
+
msgstr "Nome dati"
|
696 |
+
|
697 |
+
#: templates/metaboxes/types/contactform.php:90
|
698 |
+
#: templates/metaboxes/types/contactform.php:282
|
699 |
+
msgid ""
|
700 |
+
"REQUIRED: Field identification name to be entered into email body. <strong>Note:</"
|
701 |
+
"strong>Use only lowercase characters and underscores."
|
702 |
+
msgstr ""
|
703 |
+
"RICHIESTO: Nome identificativo del campo da inserire nel corpo dell'email. "
|
704 |
+
"<strong>Nota:</strong>Puoi utilizzare solamente caratteri minuscoli e underscore."
|
705 |
+
|
706 |
+
#: templates/metaboxes/types/contactform.php:95
|
707 |
+
#: templates/metaboxes/types/contactform.php:287
|
708 |
+
msgid "Field Type"
|
709 |
+
msgstr "Tipologia campo"
|
710 |
+
|
711 |
+
#: templates/metaboxes/types/contactform.php:103
|
712 |
+
#: templates/metaboxes/types/contactform.php:295
|
713 |
+
msgid "Select the type for this field."
|
714 |
+
msgstr "Seleziona il tipo di campo."
|
715 |
+
|
716 |
+
#: templates/metaboxes/types/contactform.php:108
|
717 |
+
#: templates/metaboxes/types/contactform.php:300
|
718 |
+
msgid "Checked"
|
719 |
+
msgstr "Selezionato"
|
720 |
+
|
721 |
+
#: templates/metaboxes/types/contactform.php:112
|
722 |
+
#: templates/metaboxes/types/contactform.php:304
|
723 |
+
msgid "Select this option if you want this field appears as already checked."
|
724 |
+
msgstr "Seleziona questa opzione se vuoi che il campo appaia già selezionato."
|
725 |
+
|
726 |
+
#: templates/metaboxes/types/contactform.php:117
|
727 |
+
#: templates/metaboxes/types/contactform.php:309
|
728 |
+
msgid "Add options "
|
729 |
+
msgstr "Aggiungi opzioni"
|
730 |
+
|
731 |
+
#: templates/metaboxes/types/contactform.php:118
|
732 |
+
#: templates/metaboxes/types/contactform.php:310
|
733 |
+
msgid "Add option"
|
734 |
+
msgstr "Aggiungi opzione"
|
735 |
+
|
736 |
+
#: templates/metaboxes/types/contactform.php:121
|
737 |
+
#: templates/metaboxes/types/contactform.php:313
|
738 |
+
#: templates/metaboxes/types/contactform.php:436
|
739 |
+
msgid "Selected"
|
740 |
+
msgstr "Selezionato"
|
741 |
+
|
742 |
+
#: templates/metaboxes/types/contactform.php:124
|
743 |
+
#: templates/metaboxes/types/contactform.php:316
|
744 |
+
#: templates/metaboxes/types/contactform.php:436
|
745 |
+
msgid "Delete option"
|
746 |
+
msgstr "Cancella opzione"
|
747 |
+
|
748 |
+
#: templates/metaboxes/types/contactform.php:130
|
749 |
+
#: templates/metaboxes/types/contactform.php:322
|
750 |
+
msgid "Error Message"
|
751 |
+
msgstr "Messaggio di errore"
|
752 |
+
|
753 |
+
#: templates/metaboxes/types/contactform.php:134
|
754 |
+
#: templates/metaboxes/types/contactform.php:326
|
755 |
+
msgid "Insert the error message for validation."
|
756 |
+
msgstr "Inserisci il messaggio di errore per la validazione"
|
757 |
+
|
758 |
+
#: templates/metaboxes/types/contactform.php:139
|
759 |
+
#: templates/metaboxes/types/contactform.php:331
|
760 |
+
msgid "Required"
|
761 |
+
msgstr "Obbligatorio"
|
762 |
+
|
763 |
+
#: templates/metaboxes/types/contactform.php:143
|
764 |
+
#: templates/metaboxes/types/contactform.php:335
|
765 |
+
msgid "Select this option if it must be required."
|
766 |
+
msgstr "Seleziona questa opzione se deve essere obbligatoria."
|
767 |
+
|
768 |
+
#: templates/metaboxes/types/contactform.php:152
|
769 |
+
#: templates/metaboxes/types/contactform.php:344
|
770 |
+
msgid "Select this option if the email must be valid."
|
771 |
+
msgstr "Seleziona questa opzione se l'email inserita deve essere esistente."
|
772 |
+
|
773 |
+
#: templates/metaboxes/types/contactform.php:157
|
774 |
+
#: templates/metaboxes/types/contactform.php:349
|
775 |
+
msgid "Reply To"
|
776 |
+
msgstr "Rispondi a"
|
777 |
+
|
778 |
+
#: templates/metaboxes/types/contactform.php:161
|
779 |
+
#: templates/metaboxes/types/contactform.php:353
|
780 |
+
msgid "Select this if it is the email you can reply to."
|
781 |
+
msgstr "Seleziona questo se è l'email a cui poter rispondere. "
|
782 |
+
|
783 |
+
#: templates/metaboxes/types/contactform.php:166
|
784 |
+
#: templates/metaboxes/types/contactform.php:358
|
785 |
+
msgid "Class"
|
786 |
+
msgstr "Classe"
|
787 |
+
|
788 |
+
#: templates/metaboxes/types/contactform.php:170
|
789 |
+
#: templates/metaboxes/types/contactform.php:362
|
790 |
+
msgid "Insert additional class(es) (separated by commas) for more personalization."
|
791 |
+
msgstr ""
|
792 |
+
"Inserisci una o più classi (separate da virgole) per una ulteriore "
|
793 |
+
"personalizzazione."
|
794 |
+
|
795 |
+
#: templates/metaboxes/types/contactform.php:175
|
796 |
+
#: templates/metaboxes/types/contactform.php:367
|
797 |
+
msgid "Icon"
|
798 |
+
msgstr "Icona"
|
799 |
+
|
800 |
+
#: templates/metaboxes/types/contactform.php:203
|
801 |
+
#: templates/metaboxes/types/contactform.php:391
|
802 |
+
#: templates/metaboxes/types/icon-list.php:69
|
803 |
+
#: templates/metaboxes/types/select-icon.php:33
|
804 |
+
#: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
|
805 |
+
#: templates/panel/woocommerce/woocommerce-upload.php:35
|
806 |
+
msgid "Upload"
|
807 |
+
msgstr "Carica"
|
808 |
+
|
809 |
+
#: templates/metaboxes/types/contactform.php:209
|
810 |
+
#: templates/metaboxes/types/contactform.php:397
|
811 |
+
#: templates/metaboxes/types/icon-list.php:75
|
812 |
+
#: templates/metaboxes/types/select-icon.php:39
|
813 |
+
msgid "Image preview"
|
814 |
+
msgstr "Anteprima immagine"
|
815 |
+
|
816 |
+
#: templates/metaboxes/types/contactform.php:217
|
817 |
+
#: templates/metaboxes/types/contactform.php:405
|
818 |
+
msgid "Insert an icon for more personalization."
|
819 |
+
msgstr "Inserisci un'icona per ulteriore personalizzazione."
|
820 |
+
|
821 |
+
#: templates/metaboxes/types/contactform.php:222
|
822 |
+
#: templates/metaboxes/types/contactform.php:409
|
823 |
+
msgid "Width"
|
824 |
+
msgstr "Larghezza"
|
825 |
+
|
826 |
+
#: templates/metaboxes/types/contactform.php:247
|
827 |
+
#: templates/metaboxes/types/contactform.php:421
|
828 |
+
msgid "Set field length."
|
829 |
+
msgstr "Seleziona lunghezza campo."
|
830 |
+
|
831 |
+
#: templates/metaboxes/types/customtabs.php:28
|
832 |
+
msgid "Close all"
|
833 |
+
msgstr "Chiudi tutti"
|
834 |
+
|
835 |
+
#: templates/metaboxes/types/customtabs.php:28
|
836 |
+
msgid "Expand all"
|
837 |
+
msgstr "Espandi tutti"
|
838 |
+
|
839 |
+
#: templates/metaboxes/types/customtabs.php:52
|
840 |
+
#: templates/metaboxes/types/customtabs.php:95
|
841 |
+
msgid "Value"
|
842 |
+
msgstr "Valore"
|
843 |
+
|
844 |
+
#: templates/metaboxes/types/customtabs.php:53
|
845 |
+
#: templates/metaboxes/types/customtabs.php:96
|
846 |
+
msgid "Content of the tab. (HTML is supported)"
|
847 |
+
msgstr "Contenuto della scheda (codice HTML supportato)."
|
848 |
+
|
849 |
+
#: templates/metaboxes/types/customtabs.php:65
|
850 |
+
msgid "Add custom product tab"
|
851 |
+
msgstr "Aggiungi scheda prodotto personalizzata"
|
852 |
+
|
853 |
+
#: templates/metaboxes/types/customtabs.php:107
|
854 |
+
msgid "Do you want to remove the custom tab?"
|
855 |
+
msgstr "Vuoi rimuovere la scheda personalizzata?"
|
856 |
+
|
857 |
+
#: templates/metaboxes/types/icon-list.php:89
|
858 |
+
#, php-format
|
859 |
+
msgid "(Default: %s <img src=\"%s\"/>)"
|
860 |
+
msgstr "(Default: %s <img src=\"%s\"/>)"
|
861 |
+
|
862 |
+
#: templates/metaboxes/types/icon-list.php:91
|
863 |
+
#, php-format
|
864 |
+
msgid "(Default: <i %s></i> )"
|
865 |
+
msgstr "(Default: <i %s></i> )"
|
866 |
+
|
867 |
+
#: templates/metaboxes/types/image-gallery.php:40
|
868 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
869 |
+
#: templates/metaboxes/types/images.php:38 templates/metaboxes/types/images.php:64
|
870 |
+
msgid "Delete image"
|
871 |
+
msgstr "Rimuovi immagine"
|
872 |
+
|
873 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
874 |
+
msgid "Add Images to Gallery"
|
875 |
+
msgstr "Aggiungi immagini alla galleria"
|
876 |
+
|
877 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
878 |
+
msgid "Add to gallery"
|
879 |
+
msgstr "Aggiungi alla galleria"
|
880 |
+
|
881 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
882 |
+
msgid "Add images"
|
883 |
+
msgstr "Aggiungi immagini"
|
884 |
+
|
885 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
886 |
+
msgid "Delete"
|
887 |
+
msgstr "Rimuovi"
|
888 |
+
|
889 |
+
#: templates/metaboxes/types/images.php:42
|
890 |
+
msgid "Upload new images"
|
891 |
+
msgstr "Carica nuove immagini"
|
892 |
+
|
893 |
+
#: templates/metaboxes/types/images.php:75
|
894 |
+
msgid "Are you sure you want to remove this image?"
|
895 |
+
msgstr "Confermi di voler rimuovere questa immagine?"
|
896 |
+
|
897 |
+
#: templates/metaboxes/types/sidebar-layout.php:25
|
898 |
+
#: templates/metaboxes/types/sidebars.php:36
|
899 |
+
msgid "Left sidebar"
|
900 |
+
msgstr "Barra laterale sinistra"
|
901 |
+
|
902 |
+
#: templates/metaboxes/types/sidebar-layout.php:28
|
903 |
+
#: templates/metaboxes/types/sidebars.php:42
|
904 |
+
#: templates/metaboxes/types/sidebars.php:45
|
905 |
+
msgid "No sidebar"
|
906 |
+
msgstr "Nessuna barra laterale"
|
907 |
+
|
908 |
+
#: templates/metaboxes/types/sidebar-layout.php:31
|
909 |
+
#: templates/metaboxes/types/sidebars.php:39
|
910 |
+
msgid "Right sidebar"
|
911 |
+
msgstr "Barra laterale destra"
|
912 |
+
|
913 |
+
#: templates/metaboxes/types/sidebar-layout.php:34
|
914 |
+
#: templates/metaboxes/types/sidebars.php:53
|
915 |
+
#: templates/metaboxes/types/sidebars.php:64
|
916 |
+
msgid "Choose a sidebar"
|
917 |
+
msgstr "Scegli una barra laterale"
|
918 |
+
|
919 |
+
#: templates/metaboxes/types/sidebars.php:51
|
920 |
+
msgid "Left Sidebar"
|
921 |
+
msgstr "Barra laterale sinistra"
|
922 |
+
|
923 |
+
#: templates/metaboxes/types/sidebars.php:62
|
924 |
+
msgid "Right Sidebar"
|
925 |
+
msgstr "Barra laterale destra"
|
926 |
+
|
927 |
+
#: templates/metaboxes/types/typography.php:42
|
928 |
+
msgid "px"
|
929 |
+
msgstr "px"
|
930 |
+
|
931 |
+
#: templates/metaboxes/types/typography.php:43
|
932 |
+
msgid "em"
|
933 |
+
msgstr "em"
|
934 |
+
|
935 |
+
#: templates/metaboxes/types/typography.php:44
|
936 |
+
msgid "pt"
|
937 |
+
msgstr "pt"
|
938 |
+
|
939 |
+
#: templates/metaboxes/types/typography.php:45
|
940 |
+
msgid "rem"
|
941 |
+
msgstr "rem"
|
942 |
+
|
943 |
+
#: templates/metaboxes/types/typography.php:59
|
944 |
+
#: templates/metaboxes/types/typography.php:153
|
945 |
+
#: templates/metaboxes/types/typography.php:217
|
946 |
+
msgid "Web fonts"
|
947 |
+
msgstr "Web fonts"
|
948 |
+
|
949 |
+
#: templates/metaboxes/types/typography.php:71
|
950 |
+
msgid "Google fonts"
|
951 |
+
msgstr "Google fonts"
|
952 |
+
|
953 |
+
#: templates/metaboxes/types/typography.php:96
|
954 |
+
msgid "Regular"
|
955 |
+
msgstr "Normale"
|
956 |
+
|
957 |
+
#: templates/metaboxes/types/typography.php:97
|
958 |
+
msgid "Bold"
|
959 |
+
msgstr "Grassetto"
|
960 |
+
|
961 |
+
#: templates/metaboxes/types/typography.php:98
|
962 |
+
msgid "Extra bold"
|
963 |
+
msgstr "Extra bold"
|
964 |
+
|
965 |
+
#: templates/metaboxes/types/typography.php:99
|
966 |
+
msgid "Italic"
|
967 |
+
msgstr "Corsivo"
|
968 |
+
|
969 |
+
#: templates/metaboxes/types/typography.php:100
|
970 |
+
msgid "Italic bold"
|
971 |
+
msgstr "Grassetto corsivo"
|
972 |
+
|
973 |
+
#: templates/panel/woocommerce/woocommerce-form.php:10
|
974 |
+
msgid "Reset Defaults"
|
975 |
+
msgstr "Ripristina impostazioni iniziali"
|
976 |
+
|
977 |
+
#~ msgid "%field_1% and %field_2% fields cannot be empty"
|
978 |
+
#~ msgstr "I campi %field_1% e %field_2% non possono essere vuoti"
|
979 |
+
|
980 |
+
#~ msgctxt "%field% = field name"
|
981 |
+
#~ msgid "%field% field cannot be empty"
|
982 |
+
#~ msgstr "Il campo %field% non può essere vuoto"
|
983 |
+
|
984 |
+
#~ msgid "%field% testo cannot be empty"
|
985 |
+
#~ msgstr "Il campo %field% non può essere vuoto"
|
986 |
+
|
987 |
+
#~ msgid "%field% field cannot be empty"
|
988 |
+
#~ msgstr "Il campo %field% non può essere vuoto"
|
plugin-fw/languages/yith-plugin-fw.pot
ADDED
@@ -0,0 +1,920 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2015 YIThemes
|
2 |
+
# This file is distributed under the same license as the YITH Plugin Starter package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
|
6 |
+
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
+
"POT-Creation-Date: 2015-05-05 10:38+0100\n"
|
8 |
+
"PO-Revision-Date: 2015-05-05 10:38+0100\n"
|
9 |
+
"Last-Translator: \n"
|
10 |
+
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
11 |
+
"Language: en\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 1.7.6\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"
|
19 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
20 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
21 |
+
"X-Poedit-Basepath: ../\n"
|
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
|
28 |
+
msgid "Add %s"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: lib/yit-cpt-unlimited.php:461 lib/yit-cpt-unlimited.php:575
|
32 |
+
#, php-format
|
33 |
+
msgid "Add New %s"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
|
37 |
+
#: lib/yit-cpt-unlimited.php:1267 lib/yit-cpt-unlimited.php:1304
|
38 |
+
#, php-format
|
39 |
+
msgid "Edit %s"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
|
43 |
+
#, php-format
|
44 |
+
msgid "New %s"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
|
48 |
+
#, php-format
|
49 |
+
msgid "All %s"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
|
53 |
+
#: lib/yit-cpt-unlimited.php:1251 lib/yit-cpt-unlimited.php:1305
|
54 |
+
#, php-format
|
55 |
+
msgid "View %s"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
|
59 |
+
#, php-format
|
60 |
+
msgid "Search %s"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
|
64 |
+
#, php-format
|
65 |
+
msgid "No %s found"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
|
69 |
+
#, php-format
|
70 |
+
msgid "No %s found in Trash"
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
+
#: lib/yit-cpt-unlimited.php:625
|
74 |
+
#, php-format
|
75 |
+
msgctxt "taxonomy general name"
|
76 |
+
msgid "%s Categories"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: lib/yit-cpt-unlimited.php:626
|
80 |
+
msgctxt "taxonomy singular name"
|
81 |
+
msgid "Category"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: lib/yit-cpt-unlimited.php:627
|
85 |
+
msgid "Search Categories"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: lib/yit-cpt-unlimited.php:628
|
89 |
+
msgid "All Categories"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: lib/yit-cpt-unlimited.php:629
|
93 |
+
msgid "Parent Category"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: lib/yit-cpt-unlimited.php:630
|
97 |
+
msgid "Parent Category:"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: lib/yit-cpt-unlimited.php:631
|
101 |
+
msgid "Edit Category"
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: lib/yit-cpt-unlimited.php:632
|
105 |
+
msgid "Update Category"
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: lib/yit-cpt-unlimited.php:633
|
109 |
+
msgid "Add New Category"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: lib/yit-cpt-unlimited.php:634
|
113 |
+
msgid "New Category Name"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: lib/yit-cpt-unlimited.php:635
|
117 |
+
msgid "Category"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: lib/yit-cpt-unlimited.php:724
|
121 |
+
msgid "Categories"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: lib/yit-cpt-unlimited.php:1042
|
125 |
+
#, php-format
|
126 |
+
msgid "%s Settings"
|
127 |
+
msgstr ""
|
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:64
|
131 |
+
msgid "Settings"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: lib/yit-cpt-unlimited.php:1051
|
135 |
+
msgid "Type"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: lib/yit-cpt-unlimited.php:1052
|
139 |
+
msgid "Layout for this "
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: lib/yit-cpt-unlimited.php:1058
|
143 |
+
msgid "Rewrite"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: lib/yit-cpt-unlimited.php:1059
|
147 |
+
msgid ""
|
148 |
+
"Univocal identification name in the URL for each product (slug from post if empty)"
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: lib/yit-cpt-unlimited.php:1064
|
152 |
+
msgid "Label in Singular"
|
153 |
+
msgstr ""
|
154 |
+
|
155 |
+
#: lib/yit-cpt-unlimited.php:1065
|
156 |
+
msgid "Set a label in singular (title of portfolio if empty)"
|
157 |
+
msgstr ""
|
158 |
+
|
159 |
+
#: lib/yit-cpt-unlimited.php:1070
|
160 |
+
msgid "Label in Plural"
|
161 |
+
msgstr ""
|
162 |
+
|
163 |
+
#: lib/yit-cpt-unlimited.php:1071
|
164 |
+
msgid "Set a label in plural (title of portfolio if empty)"
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#: lib/yit-cpt-unlimited.php:1076
|
168 |
+
msgid "Taxonomy"
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: lib/yit-cpt-unlimited.php:1077
|
172 |
+
msgid ""
|
173 |
+
"If you want to use categories in the portfolio, set a name for taxonomy. Name "
|
174 |
+
"should be a slug (must not contain capital letters nor spaces) and must not be "
|
175 |
+
"more than 32 characters long (database structure restriction)."
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: lib/yit-cpt-unlimited.php:1082
|
179 |
+
msgid "Taxonomy Rewrite"
|
180 |
+
msgstr ""
|
181 |
+
|
182 |
+
#: lib/yit-cpt-unlimited.php:1083
|
183 |
+
msgid "Set univocal name for each category page URL."
|
184 |
+
msgstr ""
|
185 |
+
|
186 |
+
#: lib/yit-cpt-unlimited.php:1088
|
187 |
+
msgid "Single layout"
|
188 |
+
msgstr ""
|
189 |
+
|
190 |
+
#: lib/yit-cpt-unlimited.php:1089
|
191 |
+
msgid "Layout for single page of this portfolio"
|
192 |
+
msgstr ""
|
193 |
+
|
194 |
+
#: lib/yit-cpt-unlimited.php:1130
|
195 |
+
msgid "layout settings"
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
+
#: lib/yit-cpt-unlimited.php:1222 lib/yit-cpt-unlimited.php:1235
|
199 |
+
msgid "Quick links"
|
200 |
+
msgstr ""
|
201 |
+
|
202 |
+
#: lib/yit-cpt-unlimited.php:1475
|
203 |
+
#, php-format
|
204 |
+
msgid "Show frontend of the %s"
|
205 |
+
msgstr ""
|
206 |
+
|
207 |
+
#: lib/yit-cpt-unlimited.php:1482 templates/metaboxes/types/customtabs.php:46
|
208 |
+
#: templates/metaboxes/types/customtabs.php:90
|
209 |
+
msgid "Name"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: lib/yit-cpt-unlimited.php:1631
|
213 |
+
#, php-format
|
214 |
+
msgid "Add %s from images"
|
215 |
+
msgstr ""
|
216 |
+
|
217 |
+
#: lib/yit-cpt-unlimited.php:1633
|
218 |
+
msgid "Add with multiupload"
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: lib/yit-plugin-panel-wc.php:295
|
222 |
+
msgid "The changes you have made will be lost if you leave this page."
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: lib/yit-plugin-panel.php:63
|
226 |
+
msgid "Plugin Settings"
|
227 |
+
msgstr ""
|
228 |
+
|
229 |
+
#: lib/yit-plugin-panel.php:95 lib/yit-plugin-subpanel.php:101
|
230 |
+
msgid "YIT Plugins"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: lib/yit-plugin-panel.php:292 lib/yit-plugin-subpanel.php:142
|
234 |
+
#: templates/panel/woocommerce/woocommerce-form.php:5
|
235 |
+
msgid "Save Changes"
|
236 |
+
msgstr ""
|
237 |
+
|
238 |
+
#: lib/yit-plugin-panel.php:295 templates/panel/woocommerce/woocommerce-form.php:8
|
239 |
+
msgid "If you continue with this action, you will reset all options in this page."
|
240 |
+
msgstr ""
|
241 |
+
|
242 |
+
#: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
|
243 |
+
msgid "Reset to Default"
|
244 |
+
msgstr ""
|
245 |
+
|
246 |
+
#: lib/yit-plugin-panel.php:297 lib/yit-plugin-subpanel.php:147
|
247 |
+
#: templates/panel/woocommerce/woocommerce-form.php:10
|
248 |
+
msgid "Are you sure?"
|
249 |
+
msgstr ""
|
250 |
+
|
251 |
+
#: lib/yit-plugin-panel.php:431
|
252 |
+
msgid "The element you have entered already exists. Please, enter another name."
|
253 |
+
msgstr ""
|
254 |
+
|
255 |
+
#: lib/yit-plugin-panel.php:432
|
256 |
+
msgid "Settings saved"
|
257 |
+
msgstr ""
|
258 |
+
|
259 |
+
#: lib/yit-plugin-panel.php:433
|
260 |
+
msgid "Settings reset"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: lib/yit-plugin-panel.php:434
|
264 |
+
msgid "Element deleted correctly."
|
265 |
+
msgstr ""
|
266 |
+
|
267 |
+
#: lib/yit-plugin-panel.php:435 lib/yit-plugin-panel.php:436
|
268 |
+
msgid "Element updated correctly."
|
269 |
+
msgstr ""
|
270 |
+
|
271 |
+
#: lib/yit-plugin-panel.php:437
|
272 |
+
msgid "Database imported correctly."
|
273 |
+
msgstr ""
|
274 |
+
|
275 |
+
#: lib/yit-plugin-panel.php:438
|
276 |
+
msgid "An error has occurred during import. Please try again."
|
277 |
+
msgstr ""
|
278 |
+
|
279 |
+
#: lib/yit-plugin-panel.php:439
|
280 |
+
msgid "The added file is not valid."
|
281 |
+
msgstr ""
|
282 |
+
|
283 |
+
#: lib/yit-plugin-panel.php:440
|
284 |
+
msgid "Sorry, import is disabled."
|
285 |
+
msgstr ""
|
286 |
+
|
287 |
+
#: lib/yit-plugin-panel.php:441
|
288 |
+
msgid "Sorting successful."
|
289 |
+
msgstr ""
|
290 |
+
|
291 |
+
#: lib/yit-plugin-subpanel.php:145
|
292 |
+
msgid ""
|
293 |
+
"If you continue with this action, you will reset all the options in this page."
|
294 |
+
msgstr ""
|
295 |
+
|
296 |
+
#: lib/yit-pointers.php:70
|
297 |
+
msgid "Plugins Activated"
|
298 |
+
msgstr ""
|
299 |
+
|
300 |
+
#: lib/yit-pointers.php:71
|
301 |
+
msgid ""
|
302 |
+
"From now on, you can find all plugin options in YIT Plugin menu.\n"
|
303 |
+
" For each plugin installed, customization "
|
304 |
+
"settings will be available as a new entry in YIT Plugin menu."
|
305 |
+
msgstr ""
|
306 |
+
|
307 |
+
#: lib/yit-pointers.php:73 lib/yit-pointers.php:89
|
308 |
+
msgid "Discover all our plugins available on:"
|
309 |
+
msgstr ""
|
310 |
+
|
311 |
+
#: lib/yit-pointers.php:74 lib/yit-pointers.php:90
|
312 |
+
msgid "and"
|
313 |
+
msgstr ""
|
314 |
+
|
315 |
+
#: lib/yit-pointers.php:84
|
316 |
+
msgid "Plugins Upgraded"
|
317 |
+
msgstr ""
|
318 |
+
|
319 |
+
#: lib/yit-pointers.php:85
|
320 |
+
msgid ""
|
321 |
+
"From now on, you can find all options of your plugins in YIT Plugin menu.\n"
|
322 |
+
" Any time one of our plugins is updated, a new "
|
323 |
+
"entry will be added to this menu.\n"
|
324 |
+
" For example, after the update, plugin options "
|
325 |
+
"(such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)\n"
|
326 |
+
" will be moved from previous location to YIT "
|
327 |
+
"Plugin tab."
|
328 |
+
msgstr ""
|
329 |
+
|
330 |
+
#: lib/yit-upgrade.php:123
|
331 |
+
msgid "There is a new version of %plugin_name% available."
|
332 |
+
msgstr ""
|
333 |
+
|
334 |
+
#: lib/yit-upgrade.php:124
|
335 |
+
msgid "View version %latest% details."
|
336 |
+
msgstr ""
|
337 |
+
|
338 |
+
#: lib/yit-upgrade.php:125
|
339 |
+
msgid "Automatic update is unavailable for this plugin,"
|
340 |
+
msgstr ""
|
341 |
+
|
342 |
+
#: lib/yit-upgrade.php:126
|
343 |
+
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
344 |
+
msgstr ""
|
345 |
+
|
346 |
+
#: lib/yit-upgrade.php:127
|
347 |
+
msgid "Update now."
|
348 |
+
msgstr ""
|
349 |
+
|
350 |
+
#: lib/yit-upgrade.php:230
|
351 |
+
msgid "Yithemes Repository"
|
352 |
+
msgstr ""
|
353 |
+
|
354 |
+
#: lib/yit-upgrade.php:264
|
355 |
+
msgid "Invalid URL Provided."
|
356 |
+
msgstr ""
|
357 |
+
|
358 |
+
#: lib/yit-upgrade.php:277
|
359 |
+
msgid "Could not create Temporary file."
|
360 |
+
msgstr ""
|
361 |
+
|
362 |
+
#: lib/yit-upgrade.php:419
|
363 |
+
#, php-format
|
364 |
+
msgid ""
|
365 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
366 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a>."
|
367 |
+
msgstr ""
|
368 |
+
|
369 |
+
#: lib/yit-upgrade.php:421
|
370 |
+
#, php-format
|
371 |
+
msgid ""
|
372 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
373 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You have to "
|
374 |
+
"activate the plugin on a single site of the network to benefit from automatic "
|
375 |
+
"updates.</em>"
|
376 |
+
msgstr ""
|
377 |
+
|
378 |
+
#: lib/yit-upgrade.php:423
|
379 |
+
#, php-format
|
380 |
+
msgid ""
|
381 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
382 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
|
383 |
+
"update is unavailable for this plugin, please <a href=\"%5$s\" title=\"Licence "
|
384 |
+
"activation\">activate</a> your copy of %6s.</em>"
|
385 |
+
msgstr ""
|
386 |
+
|
387 |
+
#: lib/yit-upgrade.php:425
|
388 |
+
#, php-format
|
389 |
+
msgid ""
|
390 |
+
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
391 |
+
"changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s"
|
392 |
+
"\">update now</a>."
|
393 |
+
msgstr ""
|
394 |
+
|
395 |
+
#: lib/yit-upgrade.php:498
|
396 |
+
msgid "You can't update the plugins for this site."
|
397 |
+
msgstr ""
|
398 |
+
|
399 |
+
#: lib/yit-upgrade.php:502
|
400 |
+
msgid "You do not have sufficient permissions to update the plugins for this site."
|
401 |
+
msgstr ""
|
402 |
+
|
403 |
+
#: lib/yit-upgrade.php:509
|
404 |
+
msgid "Update Plugin"
|
405 |
+
msgstr ""
|
406 |
+
|
407 |
+
#: licence/lib/yit-licence.php:161
|
408 |
+
#, php-format
|
409 |
+
msgid "%field% field cannot be empty"
|
410 |
+
msgstr ""
|
411 |
+
|
412 |
+
#: licence/lib/yit-licence.php:162
|
413 |
+
msgid "%field_1% and %field_2% fields cannot be empty"
|
414 |
+
msgstr ""
|
415 |
+
|
416 |
+
#: licence/lib/yit-licence.php:163
|
417 |
+
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
418 |
+
msgstr ""
|
419 |
+
|
420 |
+
#: licence/lib/yit-licence.php:548
|
421 |
+
msgid "Invalid Request"
|
422 |
+
msgstr ""
|
423 |
+
|
424 |
+
#: licence/lib/yit-licence.php:549
|
425 |
+
msgid "Invalid licence key"
|
426 |
+
msgstr ""
|
427 |
+
|
428 |
+
#: licence/lib/yit-licence.php:550
|
429 |
+
msgid "Software has been deactivated"
|
430 |
+
msgstr ""
|
431 |
+
|
432 |
+
#: licence/lib/yit-licence.php:551
|
433 |
+
msgid "Maximum number of activations exceeded"
|
434 |
+
msgstr ""
|
435 |
+
|
436 |
+
#: licence/lib/yit-licence.php:552
|
437 |
+
msgid "Invalid instance ID"
|
438 |
+
msgstr ""
|
439 |
+
|
440 |
+
#: licence/lib/yit-licence.php:553
|
441 |
+
msgid "Invalid security key"
|
442 |
+
msgstr ""
|
443 |
+
|
444 |
+
#: licence/lib/yit-licence.php:554
|
445 |
+
msgid "Licence key has expired"
|
446 |
+
msgstr ""
|
447 |
+
|
448 |
+
#: licence/lib/yit-licence.php:555
|
449 |
+
msgid "Licence key has been banned"
|
450 |
+
msgstr ""
|
451 |
+
|
452 |
+
#: licence/lib/yit-plugin-licence.php:64 licence/lib/yit-plugin-licence.php:65
|
453 |
+
#: licence/lib/yit-theme-licence.php:64 licence/lib/yit-theme-licence.php:65
|
454 |
+
#: licence/lib/yit-theme-licence.php:107 licence/lib/yit-theme-licence.php:108
|
455 |
+
msgid "Licence Activation"
|
456 |
+
msgstr ""
|
457 |
+
|
458 |
+
#: licence/lib/yit-theme-licence.php:115 licence/lib/yit-theme-licence.php:116
|
459 |
+
#, php-format
|
460 |
+
msgid "%s"
|
461 |
+
msgstr ""
|
462 |
+
|
463 |
+
#: licence/templates/panel/activation/activation-panel.php:19
|
464 |
+
msgid "Yithemes Licence Activation"
|
465 |
+
msgstr ""
|
466 |
+
|
467 |
+
#: licence/templates/panel/activation/activation-panel.php:23
|
468 |
+
msgid ""
|
469 |
+
"I cannot find the license key for activating the theme I have bought some time "
|
470 |
+
"ago. Where can I find it?"
|
471 |
+
msgstr ""
|
472 |
+
|
473 |
+
#: licence/templates/panel/activation/activation-panel.php:26
|
474 |
+
msgid ""
|
475 |
+
"If you have purchased one of our products before 27 January 2015, you can benefit "
|
476 |
+
"from support and updates (the services offered with the license)\n"
|
477 |
+
" until 27 January 2016 and you do not have to purchase it again to get "
|
478 |
+
"a new license key, because, before this date, your license used to be activated "
|
479 |
+
"automatically by our system.\n"
|
480 |
+
" After 27 January 2016, instead, if you want to benefit from support "
|
481 |
+
"and updates you have to buy a new license and activate it through the license key "
|
482 |
+
"you will be\n"
|
483 |
+
" provided with and that you can find in your YIThemes account, in "
|
484 |
+
"section \"My licenses\"."
|
485 |
+
msgstr ""
|
486 |
+
|
487 |
+
#: licence/templates/panel/activation/activation-panel.php:37
|
488 |
+
msgid ""
|
489 |
+
"Have you updated your licenses? Have you asked for an extension? Update "
|
490 |
+
"information concerning your products."
|
491 |
+
msgstr ""
|
492 |
+
|
493 |
+
#: licence/templates/panel/activation/activation-panel.php:39
|
494 |
+
msgid "Update licence information"
|
495 |
+
msgstr ""
|
496 |
+
|
497 |
+
#: licence/templates/panel/activation/activation-panel.php:49
|
498 |
+
msgid "Products to be activated"
|
499 |
+
msgstr ""
|
500 |
+
|
501 |
+
#: licence/templates/panel/activation/activation-panel.php:68
|
502 |
+
msgid "Activate"
|
503 |
+
msgstr ""
|
504 |
+
|
505 |
+
#: licence/templates/panel/activation/activation-panel.php:87
|
506 |
+
msgid "Activated"
|
507 |
+
msgstr ""
|
508 |
+
|
509 |
+
#: licence/templates/panel/activation/activation-panel.php:91
|
510 |
+
#: licence/templates/panel/activation/activation-panel.php:123
|
511 |
+
#: licence/templates/panel/activation/activation-panel.php:147
|
512 |
+
msgid "Product Name"
|
513 |
+
msgstr ""
|
514 |
+
|
515 |
+
#: licence/templates/panel/activation/activation-panel.php:92
|
516 |
+
#: licence/templates/panel/activation/activation-panel.php:124
|
517 |
+
#: licence/templates/panel/activation/activation-panel.php:148
|
518 |
+
#: templates/metaboxes/types/contactform.php:148
|
519 |
+
#: templates/metaboxes/types/contactform.php:340
|
520 |
+
msgid "Email"
|
521 |
+
msgstr ""
|
522 |
+
|
523 |
+
#: licence/templates/panel/activation/activation-panel.php:93
|
524 |
+
#: licence/templates/panel/activation/activation-panel.php:125
|
525 |
+
#: licence/templates/panel/activation/activation-panel.php:149
|
526 |
+
msgid "Licence Key"
|
527 |
+
msgstr ""
|
528 |
+
|
529 |
+
#: licence/templates/panel/activation/activation-panel.php:94
|
530 |
+
#: licence/templates/panel/activation/activation-panel.php:150
|
531 |
+
msgid "Expires"
|
532 |
+
msgstr ""
|
533 |
+
|
534 |
+
#: licence/templates/panel/activation/activation-panel.php:95
|
535 |
+
msgid "Remaining"
|
536 |
+
msgstr ""
|
537 |
+
|
538 |
+
#: licence/templates/panel/activation/activation-panel.php:96
|
539 |
+
#: licence/templates/panel/activation/activation-panel.php:109
|
540 |
+
#: licence/templates/panel/activation/activation-panel.php:151
|
541 |
+
#: licence/templates/panel/activation/activation-panel.php:161
|
542 |
+
msgid "Renew"
|
543 |
+
msgstr ""
|
544 |
+
|
545 |
+
#: licence/templates/panel/activation/activation-panel.php:107
|
546 |
+
#, php-format
|
547 |
+
msgid "%1s out of %2s"
|
548 |
+
msgstr ""
|
549 |
+
|
550 |
+
#: licence/templates/panel/activation/activation-panel.php:119
|
551 |
+
msgid "Banned"
|
552 |
+
msgstr ""
|
553 |
+
|
554 |
+
#: licence/templates/panel/activation/activation-panel.php:143
|
555 |
+
msgid "Expired"
|
556 |
+
msgstr ""
|
557 |
+
|
558 |
+
#: templates/metaboxes/types/ajax-products.php:23
|
559 |
+
msgid "Search for a product"
|
560 |
+
msgstr ""
|
561 |
+
|
562 |
+
#: templates/metaboxes/types/categories.php:36
|
563 |
+
msgid "No categories."
|
564 |
+
msgstr ""
|
565 |
+
|
566 |
+
#: templates/metaboxes/types/categories.php:42
|
567 |
+
msgid "+ Add New Category"
|
568 |
+
msgstr ""
|
569 |
+
|
570 |
+
#: templates/metaboxes/types/categories.php:46
|
571 |
+
msgid "Add"
|
572 |
+
msgstr ""
|
573 |
+
|
574 |
+
#: templates/metaboxes/types/contactform.php:7
|
575 |
+
msgid "Text Input"
|
576 |
+
msgstr ""
|
577 |
+
|
578 |
+
#: templates/metaboxes/types/contactform.php:8
|
579 |
+
msgid "Checkbox"
|
580 |
+
msgstr ""
|
581 |
+
|
582 |
+
#: templates/metaboxes/types/contactform.php:9
|
583 |
+
msgid "Select"
|
584 |
+
msgstr ""
|
585 |
+
|
586 |
+
#: templates/metaboxes/types/contactform.php:10
|
587 |
+
msgid "Textarea"
|
588 |
+
msgstr ""
|
589 |
+
|
590 |
+
#: templates/metaboxes/types/contactform.php:11
|
591 |
+
msgid "Radio Input"
|
592 |
+
msgstr ""
|
593 |
+
|
594 |
+
#: templates/metaboxes/types/contactform.php:12
|
595 |
+
msgid "Password Field"
|
596 |
+
msgstr ""
|
597 |
+
|
598 |
+
#: templates/metaboxes/types/contactform.php:13
|
599 |
+
msgid "File Upload"
|
600 |
+
msgstr ""
|
601 |
+
|
602 |
+
#: templates/metaboxes/types/contactform.php:47
|
603 |
+
msgid "Theme Icon"
|
604 |
+
msgstr ""
|
605 |
+
|
606 |
+
#: templates/metaboxes/types/contactform.php:48
|
607 |
+
msgid "Custom Icon"
|
608 |
+
msgstr ""
|
609 |
+
|
610 |
+
#: templates/metaboxes/types/contactform.php:49
|
611 |
+
#: templates/metaboxes/types/responsivesliders.php:24
|
612 |
+
msgid "None"
|
613 |
+
msgstr ""
|
614 |
+
|
615 |
+
#: templates/metaboxes/types/contactform.php:60
|
616 |
+
msgid "Add field"
|
617 |
+
msgstr ""
|
618 |
+
|
619 |
+
#: templates/metaboxes/types/contactform.php:69
|
620 |
+
#: templates/metaboxes/types/contactform.php:261
|
621 |
+
#: templates/metaboxes/types/customtabs.php:37
|
622 |
+
#: templates/metaboxes/types/customtabs.php:82
|
623 |
+
msgid "Remove"
|
624 |
+
msgstr ""
|
625 |
+
|
626 |
+
#: templates/metaboxes/types/contactform.php:70
|
627 |
+
#: templates/metaboxes/types/contactform.php:262
|
628 |
+
msgid "Click to toggle"
|
629 |
+
msgstr ""
|
630 |
+
|
631 |
+
#: templates/metaboxes/types/contactform.php:77
|
632 |
+
#: templates/metaboxes/types/contactform.php:269
|
633 |
+
msgid "Title Field"
|
634 |
+
msgstr ""
|
635 |
+
|
636 |
+
#: templates/metaboxes/types/contactform.php:81
|
637 |
+
#: templates/metaboxes/types/contactform.php:273
|
638 |
+
msgid "Insert the title for the field."
|
639 |
+
msgstr ""
|
640 |
+
|
641 |
+
#: templates/metaboxes/types/contactform.php:86
|
642 |
+
#: templates/metaboxes/types/contactform.php:278
|
643 |
+
msgid "Data Name"
|
644 |
+
msgstr ""
|
645 |
+
|
646 |
+
#: templates/metaboxes/types/contactform.php:90
|
647 |
+
#: templates/metaboxes/types/contactform.php:282
|
648 |
+
msgid ""
|
649 |
+
"REQUIRED: Field identification name to be entered into email body. <strong>Note:</"
|
650 |
+
"strong>Use only lowercase characters and underscores."
|
651 |
+
msgstr ""
|
652 |
+
|
653 |
+
#: templates/metaboxes/types/contactform.php:95
|
654 |
+
#: templates/metaboxes/types/contactform.php:287
|
655 |
+
msgid "Type field"
|
656 |
+
msgstr ""
|
657 |
+
|
658 |
+
#: templates/metaboxes/types/contactform.php:103
|
659 |
+
#: templates/metaboxes/types/contactform.php:295
|
660 |
+
msgid "Select the type for this field."
|
661 |
+
msgstr ""
|
662 |
+
|
663 |
+
#: templates/metaboxes/types/contactform.php:108
|
664 |
+
#: templates/metaboxes/types/contactform.php:300
|
665 |
+
msgid "Checked"
|
666 |
+
msgstr ""
|
667 |
+
|
668 |
+
#: templates/metaboxes/types/contactform.php:112
|
669 |
+
#: templates/metaboxes/types/contactform.php:304
|
670 |
+
msgid "Select this option if you want this field appears as already checked."
|
671 |
+
msgstr ""
|
672 |
+
|
673 |
+
#: templates/metaboxes/types/contactform.php:117
|
674 |
+
#: templates/metaboxes/types/contactform.php:309
|
675 |
+
msgid "Add options "
|
676 |
+
msgstr ""
|
677 |
+
|
678 |
+
#: templates/metaboxes/types/contactform.php:118
|
679 |
+
#: templates/metaboxes/types/contactform.php:310
|
680 |
+
msgid "Add option"
|
681 |
+
msgstr ""
|
682 |
+
|
683 |
+
#: templates/metaboxes/types/contactform.php:121
|
684 |
+
#: templates/metaboxes/types/contactform.php:313
|
685 |
+
#: templates/metaboxes/types/contactform.php:436
|
686 |
+
msgid "Selected"
|
687 |
+
msgstr ""
|
688 |
+
|
689 |
+
#: templates/metaboxes/types/contactform.php:124
|
690 |
+
#: templates/metaboxes/types/contactform.php:316
|
691 |
+
#: templates/metaboxes/types/contactform.php:436
|
692 |
+
msgid "Delete option"
|
693 |
+
msgstr ""
|
694 |
+
|
695 |
+
#: templates/metaboxes/types/contactform.php:130
|
696 |
+
#: templates/metaboxes/types/contactform.php:322
|
697 |
+
msgid "Error Message"
|
698 |
+
msgstr ""
|
699 |
+
|
700 |
+
#: templates/metaboxes/types/contactform.php:134
|
701 |
+
#: templates/metaboxes/types/contactform.php:326
|
702 |
+
msgid "Insert the error message for validation."
|
703 |
+
msgstr ""
|
704 |
+
|
705 |
+
#: templates/metaboxes/types/contactform.php:139
|
706 |
+
#: templates/metaboxes/types/contactform.php:331
|
707 |
+
msgid "Required"
|
708 |
+
msgstr ""
|
709 |
+
|
710 |
+
#: templates/metaboxes/types/contactform.php:143
|
711 |
+
#: templates/metaboxes/types/contactform.php:335
|
712 |
+
msgid "Select this option if it must be required."
|
713 |
+
msgstr ""
|
714 |
+
|
715 |
+
#: templates/metaboxes/types/contactform.php:152
|
716 |
+
#: templates/metaboxes/types/contactform.php:344
|
717 |
+
msgid "Select this option if the email must be valid."
|
718 |
+
msgstr ""
|
719 |
+
|
720 |
+
#: templates/metaboxes/types/contactform.php:157
|
721 |
+
#: templates/metaboxes/types/contactform.php:349
|
722 |
+
msgid "Reply To"
|
723 |
+
msgstr ""
|
724 |
+
|
725 |
+
#: templates/metaboxes/types/contactform.php:161
|
726 |
+
#: templates/metaboxes/types/contactform.php:353
|
727 |
+
msgid "Select this if it is the email you can reply to."
|
728 |
+
msgstr ""
|
729 |
+
|
730 |
+
#: templates/metaboxes/types/contactform.php:166
|
731 |
+
#: templates/metaboxes/types/contactform.php:358
|
732 |
+
msgid "Class"
|
733 |
+
msgstr ""
|
734 |
+
|
735 |
+
#: templates/metaboxes/types/contactform.php:170
|
736 |
+
#: templates/metaboxes/types/contactform.php:362
|
737 |
+
msgid "Insert additional class(es) (separated by commas) for more personalization."
|
738 |
+
msgstr ""
|
739 |
+
|
740 |
+
#: templates/metaboxes/types/contactform.php:175
|
741 |
+
#: templates/metaboxes/types/contactform.php:367
|
742 |
+
msgid "Icon"
|
743 |
+
msgstr ""
|
744 |
+
|
745 |
+
#: templates/metaboxes/types/contactform.php:203
|
746 |
+
#: templates/metaboxes/types/contactform.php:391
|
747 |
+
#: templates/metaboxes/types/icon-list.php:69
|
748 |
+
#: templates/metaboxes/types/select-icon.php:33
|
749 |
+
#: templates/metaboxes/types/upload.php:21 templates/panel/types/upload.php:31
|
750 |
+
#: templates/panel/woocommerce/woocommerce-upload.php:35
|
751 |
+
msgid "Upload"
|
752 |
+
msgstr ""
|
753 |
+
|
754 |
+
#: templates/metaboxes/types/contactform.php:209
|
755 |
+
#: templates/metaboxes/types/contactform.php:397
|
756 |
+
#: templates/metaboxes/types/icon-list.php:75
|
757 |
+
#: templates/metaboxes/types/select-icon.php:39
|
758 |
+
msgid "Image preview"
|
759 |
+
msgstr ""
|
760 |
+
|
761 |
+
#: templates/metaboxes/types/contactform.php:217
|
762 |
+
#: templates/metaboxes/types/contactform.php:405
|
763 |
+
msgid "Insert an icon for more personalization."
|
764 |
+
msgstr ""
|
765 |
+
|
766 |
+
#: templates/metaboxes/types/contactform.php:222
|
767 |
+
#: templates/metaboxes/types/contactform.php:409
|
768 |
+
msgid "Width"
|
769 |
+
msgstr ""
|
770 |
+
|
771 |
+
#: templates/metaboxes/types/contactform.php:247
|
772 |
+
#: templates/metaboxes/types/contactform.php:421
|
773 |
+
msgid "Set field length."
|
774 |
+
msgstr ""
|
775 |
+
|
776 |
+
#: templates/metaboxes/types/customtabs.php:28
|
777 |
+
msgid "Close all"
|
778 |
+
msgstr ""
|
779 |
+
|
780 |
+
#: templates/metaboxes/types/customtabs.php:28
|
781 |
+
msgid "Expand all"
|
782 |
+
msgstr ""
|
783 |
+
|
784 |
+
#: templates/metaboxes/types/customtabs.php:52
|
785 |
+
#: templates/metaboxes/types/customtabs.php:95
|
786 |
+
msgid "Value"
|
787 |
+
msgstr ""
|
788 |
+
|
789 |
+
#: templates/metaboxes/types/customtabs.php:53
|
790 |
+
#: templates/metaboxes/types/customtabs.php:96
|
791 |
+
msgid "Content of the tab. (HTML is supported)"
|
792 |
+
msgstr ""
|
793 |
+
|
794 |
+
#: templates/metaboxes/types/customtabs.php:65
|
795 |
+
msgid "Add custom product tab"
|
796 |
+
msgstr ""
|
797 |
+
|
798 |
+
#: templates/metaboxes/types/customtabs.php:107
|
799 |
+
msgid "Do you want to remove the custom tab?"
|
800 |
+
msgstr ""
|
801 |
+
|
802 |
+
#: templates/metaboxes/types/icon-list.php:89
|
803 |
+
#, php-format
|
804 |
+
msgid "(Default: %s <img src=\"%s\"/>)"
|
805 |
+
msgstr ""
|
806 |
+
|
807 |
+
#: templates/metaboxes/types/icon-list.php:91
|
808 |
+
#, php-format
|
809 |
+
msgid "(Default: <i %s></i> )"
|
810 |
+
msgstr ""
|
811 |
+
|
812 |
+
#: templates/metaboxes/types/image-gallery.php:40
|
813 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
814 |
+
#: templates/metaboxes/types/images.php:38 templates/metaboxes/types/images.php:64
|
815 |
+
msgid "Delete image"
|
816 |
+
msgstr ""
|
817 |
+
|
818 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
819 |
+
msgid "Add Images to Gallery"
|
820 |
+
msgstr ""
|
821 |
+
|
822 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
823 |
+
msgid "Add to gallery"
|
824 |
+
msgstr ""
|
825 |
+
|
826 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
827 |
+
msgid "Add images"
|
828 |
+
msgstr ""
|
829 |
+
|
830 |
+
#: templates/metaboxes/types/image-gallery.php:45
|
831 |
+
msgid "Delete"
|
832 |
+
msgstr ""
|
833 |
+
|
834 |
+
#: templates/metaboxes/types/images.php:42
|
835 |
+
msgid "Upload new images"
|
836 |
+
msgstr ""
|
837 |
+
|
838 |
+
#: templates/metaboxes/types/images.php:75
|
839 |
+
msgid "Are you sure you want to remove this image?"
|
840 |
+
msgstr ""
|
841 |
+
|
842 |
+
#: templates/metaboxes/types/sidebar-layout.php:25
|
843 |
+
#: templates/metaboxes/types/sidebars.php:36
|
844 |
+
msgid "Left sidebar"
|
845 |
+
msgstr ""
|
846 |
+
|
847 |
+
#: templates/metaboxes/types/sidebar-layout.php:28
|
848 |
+
#: templates/metaboxes/types/sidebars.php:42
|
849 |
+
#: templates/metaboxes/types/sidebars.php:45
|
850 |
+
msgid "No sidebar"
|
851 |
+
msgstr ""
|
852 |
+
|
853 |
+
#: templates/metaboxes/types/sidebar-layout.php:31
|
854 |
+
#: templates/metaboxes/types/sidebars.php:39
|
855 |
+
msgid "Right sidebar"
|
856 |
+
msgstr ""
|
857 |
+
|
858 |
+
#: templates/metaboxes/types/sidebar-layout.php:34
|
859 |
+
#: templates/metaboxes/types/sidebars.php:53
|
860 |
+
#: templates/metaboxes/types/sidebars.php:64
|
861 |
+
msgid "Choose a sidebar"
|
862 |
+
msgstr ""
|
863 |
+
|
864 |
+
#: templates/metaboxes/types/sidebars.php:51
|
865 |
+
msgid "Left Sidebar"
|
866 |
+
msgstr ""
|
867 |
+
|
868 |
+
#: templates/metaboxes/types/sidebars.php:62
|
869 |
+
msgid "Right Sidebar"
|
870 |
+
msgstr ""
|
871 |
+
|
872 |
+
#: templates/metaboxes/types/typography.php:42
|
873 |
+
msgid "px"
|
874 |
+
msgstr ""
|
875 |
+
|
876 |
+
#: templates/metaboxes/types/typography.php:43
|
877 |
+
msgid "em"
|
878 |
+
msgstr ""
|
879 |
+
|
880 |
+
#: templates/metaboxes/types/typography.php:44
|
881 |
+
msgid "pt"
|
882 |
+
msgstr ""
|
883 |
+
|
884 |
+
#: templates/metaboxes/types/typography.php:45
|
885 |
+
msgid "rem"
|
886 |
+
msgstr ""
|
887 |
+
|
888 |
+
#: templates/metaboxes/types/typography.php:59
|
889 |
+
#: templates/metaboxes/types/typography.php:153
|
890 |
+
#: templates/metaboxes/types/typography.php:217
|
891 |
+
msgid "Web fonts"
|
892 |
+
msgstr ""
|
893 |
+
|
894 |
+
#: templates/metaboxes/types/typography.php:71
|
895 |
+
msgid "Google fonts"
|
896 |
+
msgstr ""
|
897 |
+
|
898 |
+
#: templates/metaboxes/types/typography.php:96
|
899 |
+
msgid "Regular"
|
900 |
+
msgstr ""
|
901 |
+
|
902 |
+
#: templates/metaboxes/types/typography.php:97
|
903 |
+
msgid "Bold"
|
904 |
+
msgstr ""
|
905 |
+
|
906 |
+
#: templates/metaboxes/types/typography.php:98
|
907 |
+
msgid "Extra bold"
|
908 |
+
msgstr ""
|
909 |
+
|
910 |
+
#: templates/metaboxes/types/typography.php:99
|
911 |
+
msgid "Italic"
|
912 |
+
msgstr ""
|
913 |
+
|
914 |
+
#: templates/metaboxes/types/typography.php:100
|
915 |
+
msgid "Italic bold"
|
916 |
+
msgstr ""
|
917 |
+
|
918 |
+
#: templates/panel/woocommerce/woocommerce-form.php:10
|
919 |
+
msgid "Reset Defaults"
|
920 |
+
msgstr ""
|
plugin-fw/lib/yit-cpt-unlimited.php
CHANGED
@@ -292,9 +292,9 @@ class YIT_CPT_Unlimited {
|
|
292 |
}
|
293 |
|
294 |
public function filter_active( $wp_query ) {
|
295 |
-
if ( isset( $wp_query->query['suppress_filters'] ) )
|
296 |
$wp_query->query['suppress_filters'] = false;
|
297 |
-
if ( isset( $wp_query->query_vars['suppress_filters'] ) )
|
298 |
$wp_query->query_vars['suppress_filters'] = false;
|
299 |
return $wp_query;
|
300 |
}
|
@@ -457,15 +457,15 @@ class YIT_CPT_Unlimited {
|
|
457 |
$labels = array(
|
458 |
'name' => ucfirst( $this->_labels['main_name'] ),
|
459 |
'singular_name' => ucfirst( $this->_labels['singular'] ),
|
460 |
-
'add_new' => sprintf( __( 'Add %s', '
|
461 |
-
'add_new_item' => sprintf( __( 'Add New %s', '
|
462 |
-
'edit_item' => sprintf( __( 'Edit %s', '
|
463 |
-
'new_item' => sprintf( __( 'New %s', '
|
464 |
-
'all_items' => sprintf( __( 'All %s', '
|
465 |
-
'view_item' => sprintf( __( 'View %s', '
|
466 |
-
'search_items' => sprintf( __( 'Search %s', '
|
467 |
-
'not_found' => sprintf( __( 'No %s found', '
|
468 |
-
'not_found_in_trash' => sprintf( __( 'No %s found in Trash', '
|
469 |
'parent_item_colon' => '',
|
470 |
'menu_name' => ucfirst( $this->_labels['menu'] )
|
471 |
);
|
@@ -571,15 +571,15 @@ class YIT_CPT_Unlimited {
|
|
571 |
$labels = array(
|
572 |
'name' => $title,
|
573 |
'singular_name' => $label_singular,
|
574 |
-
'add_new' => sprintf( __( 'Add %s', '
|
575 |
-
'add_new_item' => sprintf( __( 'Add New %s', '
|
576 |
-
'edit_item' => sprintf( __( 'Edit %s', '
|
577 |
-
'new_item' => sprintf( __( 'New %s', '
|
578 |
-
'all_items' => sprintf( __( 'All %s', '
|
579 |
-
'view_item' => sprintf( __( 'View %s', '
|
580 |
-
'search_items' => sprintf( __( 'Search %s', '
|
581 |
-
'not_found' => sprintf( __( 'No %s found', '
|
582 |
-
'not_found_in_trash' => sprintf( __( 'No %s found in Trash', '
|
583 |
'parent_item_colon' => '',
|
584 |
'menu_name' => $title
|
585 |
);
|
@@ -622,17 +622,17 @@ class YIT_CPT_Unlimited {
|
|
622 |
if ( $this->_args['has_taxonomy'] && ! empty( $taxonomy ) ) {
|
623 |
|
624 |
$labels = array(
|
625 |
-
'name' => sprintf( _x( '%s Categories', 'taxonomy general name', '
|
626 |
-
'singular_name' => _x( 'Category', 'taxonomy singular name', '
|
627 |
-
'search_items' => __( 'Search Categories', '
|
628 |
-
'all_items' => __( 'All Categories', '
|
629 |
-
'parent_item' => __( 'Parent Category', '
|
630 |
-
'parent_item_colon' => __( 'Parent Category:', '
|
631 |
-
'edit_item' => __( 'Edit Category', '
|
632 |
-
'update_item' => __( 'Update Category', '
|
633 |
-
'add_new_item' => __( 'Add New Category', '
|
634 |
-
'new_item_name' => __( 'New Category Name', '
|
635 |
-
'menu_name' => __( 'Category', '
|
636 |
);
|
637 |
|
638 |
$args = array(
|
@@ -716,12 +716,12 @@ class YIT_CPT_Unlimited {
|
|
716 |
}
|
717 |
|
718 |
$submenu[ $item ][15] = array( ucfirst( $label_plural ), 'edit_posts', 'edit.php?post_type=' . $post_type );
|
719 |
-
$submenu[ $item ][20] = array( sprintf( __('Add %s', '
|
720 |
|
721 |
global $wp_taxonomies;
|
722 |
$taxonomy = get_post_meta( $portfolio->ID, '_taxonomy', true );
|
723 |
if ( isset( $wp_taxonomies[ $taxonomy ] ) ) {
|
724 |
-
$submenu[ $item ][25] = array( __('Categories', '
|
725 |
}
|
726 |
}
|
727 |
|
@@ -1039,54 +1039,54 @@ class YIT_CPT_Unlimited {
|
|
1039 |
$single_layouts = apply_filters( 'yit_cptu_' . $this->_name . '_single_layout_values', array() );
|
1040 |
|
1041 |
$metabox_args = array(
|
1042 |
-
'label' => sprintf( __( '%s Settings', '
|
1043 |
'pages' => $this->_name, //or array( 'post-type1', 'post-type2')
|
1044 |
'context' => 'normal', //('normal', 'advanced', or 'side')
|
1045 |
'priority' => 'default',
|
1046 |
'tabs' => array(
|
1047 |
'settings' => array(
|
1048 |
-
'label' => __( 'Settings', '
|
1049 |
'fields' => apply_filters( 'yit_cptu_fields', array(
|
1050 |
'type' => array(
|
1051 |
-
'label' => __( 'Type', '
|
1052 |
-
'desc' => __( 'Layout for this '.strtolower( $this->_labels['singular'] ) , '
|
1053 |
'type' => 'select',
|
1054 |
'options' => isset( $layouts ) ? $layouts : array(),
|
1055 |
'std' => '' ),
|
1056 |
|
1057 |
'rewrite' => array(
|
1058 |
-
'label' => __( 'Rewrite', '
|
1059 |
-
'desc' => __( 'Univocal identification name in the URL for each product (slug from post if empty)', '
|
1060 |
'type' => 'text',
|
1061 |
'std' => '' ),
|
1062 |
|
1063 |
'label_singular' => array(
|
1064 |
-
'label' => __( 'Label in Singular', '
|
1065 |
-
'desc' => __( 'Set a label in singular (title of portfolio if empty)', '
|
1066 |
'type' => 'text',
|
1067 |
'std' => '' ),
|
1068 |
|
1069 |
'label_plural' => array(
|
1070 |
-
'label' => __( 'Label in Plural', '
|
1071 |
-
'desc' => __( 'Set a label in plural (title of portfolio if empty)', '
|
1072 |
'type' => 'text',
|
1073 |
'std' => '' ),
|
1074 |
|
1075 |
'taxonomy' => array(
|
1076 |
-
'label' => __( 'Taxonomy', '
|
1077 |
-
'desc' => __( 'If you want to use categories in the portfolio, set a name for taxonomy. Name should be a slug (must not contain capital letters nor spaces) and must not be more than 32 characters long (database structure restriction).', '
|
1078 |
'type' => 'text',
|
1079 |
'std' => '' ),
|
1080 |
|
1081 |
'taxonomy_rewrite' => array(
|
1082 |
-
'label' => __( 'Taxonomy Rewrite', '
|
1083 |
-
'desc' => __( 'Set univocal name for each category page URL.', '
|
1084 |
'type' => 'text',
|
1085 |
'std' => '' ),
|
1086 |
|
1087 |
'single_layout' => array(
|
1088 |
-
'label' => __( 'Single layout', '
|
1089 |
-
'desc' => __( 'Layout for single page of this portfolio', '
|
1090 |
'type' => 'select',
|
1091 |
'options' => $single_layouts,
|
1092 |
'std' => '' ),
|
@@ -1127,7 +1127,7 @@ class YIT_CPT_Unlimited {
|
|
1127 |
|
1128 |
// Section title
|
1129 |
$metabox_args['tabs']['settings']['fields'][ $layout . '_title' ] = array(
|
1130 |
-
'desc' => $args['name'] . ' ' . __( 'layout settings', '
|
1131 |
'type' => 'title',
|
1132 |
'deps' => array(
|
1133 |
'ids' => '_type',
|
@@ -1193,13 +1193,13 @@ class YIT_CPT_Unlimited {
|
|
1193 |
}
|
1194 |
|
1195 |
$metabox_args = array(
|
1196 |
-
'label' => __( 'Settings', '
|
1197 |
'pages' => $post_type, //or array( 'post-type1', 'post-type2')
|
1198 |
'context' => 'normal', //('normal', 'advanced', or 'side')
|
1199 |
'priority' => 'default',
|
1200 |
'tabs' => array(
|
1201 |
'settings' => array(
|
1202 |
-
'label' => __( 'Settings', '
|
1203 |
'fields' => $this->layouts[ $layout ]['item_fields']
|
1204 |
)
|
1205 |
)
|
@@ -1219,7 +1219,7 @@ class YIT_CPT_Unlimited {
|
|
1219 |
*/
|
1220 |
public function add_quick_links_metaboxes() {
|
1221 |
// CPTU
|
1222 |
-
add_meta_box( $this->_name . '_quick_links', __( 'Quick links', '
|
1223 |
|
1224 |
// CPTs
|
1225 |
$args = array(
|
@@ -1232,7 +1232,7 @@ class YIT_CPT_Unlimited {
|
|
1232 |
foreach ( $post_types as $post ) {
|
1233 |
$post_type = get_post_meta( $post->ID, '_post_type', true );
|
1234 |
extract( $this->_cpt_args( $post ) );
|
1235 |
-
add_meta_box( $post->post_type . '_quick_links', __( 'Quick links', '
|
1236 |
}
|
1237 |
}
|
1238 |
|
@@ -1248,7 +1248,7 @@ class YIT_CPT_Unlimited {
|
|
1248 |
public function quick_links_cptu_inner( $post ) {
|
1249 |
extract( $this->_cpt_args( $post ) );
|
1250 |
?>
|
1251 |
-
<a href="<?php echo admin_url( 'edit.php?post_type=' . get_post_meta( $post->ID, '_post_type', true ) ) ?>"><?php printf( __( 'View %s', '
|
1252 |
<?php
|
1253 |
}
|
1254 |
|
@@ -1264,7 +1264,7 @@ class YIT_CPT_Unlimited {
|
|
1264 |
public function quick_links_cpt_inner( $post ) {
|
1265 |
$post = get_post( $this->_get_id_by_name( $post->post_type ) );
|
1266 |
?>
|
1267 |
-
<a href="<?php echo admin_url( "post.php?post={$post->ID}&action=edit" ) ?>"><?php printf( __( 'Edit %s', '
|
1268 |
<?php
|
1269 |
}
|
1270 |
|
@@ -1301,8 +1301,8 @@ class YIT_CPT_Unlimited {
|
|
1301 |
|
1302 |
switch ( $column ) {
|
1303 |
case 'actions' :
|
1304 |
-
echo '<a href="' . admin_url( "post.php?post={$post_id}&action=edit" ) . '" class="button-secondary">' . sprintf( __( 'Edit %s', '
|
1305 |
-
echo '<a href="' . admin_url( 'edit.php?post_type=' . get_post_meta( $post_id, '_post_type', true ) ) . '" class="button-secondary">' . sprintf( __( 'View %s', '
|
1306 |
break;
|
1307 |
}
|
1308 |
}
|
@@ -1472,14 +1472,14 @@ class YIT_CPT_Unlimited {
|
|
1472 |
$args = array(
|
1473 |
$this->_args['shortcode_name'] => array(
|
1474 |
'title' => $this->_labels['singular'],
|
1475 |
-
'description' => sprintf( __( 'Show frontend of the %s', '
|
1476 |
'tab' => 'cpt',
|
1477 |
'create' => false,
|
1478 |
'has_content' => false,
|
1479 |
'in_visual_composer' => true,
|
1480 |
'attributes' => array(
|
1481 |
'name' => array(
|
1482 |
-
'title' => __( 'Name', '
|
1483 |
'type' => 'select',
|
1484 |
'options' => $post_types,
|
1485 |
'std' => ''
|
@@ -1628,9 +1628,9 @@ class YIT_CPT_Unlimited {
|
|
1628 |
var button = $('<a />', {
|
1629 |
href: '#',
|
1630 |
class: 'multi-uploader add-new-h2',
|
1631 |
-
'data-uploader_title': '<?php printf( __( 'Add %s from images', '
|
1632 |
-
'data-uploader_button_text': '<?php printf( __( 'Add %s', '
|
1633 |
-
}).text('<?php _e( 'Add with multiupload', '
|
1634 |
|
1635 |
var spinner = $('<span />', {
|
1636 |
class: 'spinner',
|
@@ -1751,7 +1751,7 @@ class YIT_CPT_Unlimited {
|
|
1751 |
|
1752 |
|
1753 |
// check if we are in archive template
|
1754 |
-
|
1755 |
return;
|
1756 |
}
|
1757 |
|
292 |
}
|
293 |
|
294 |
public function filter_active( $wp_query ) {
|
295 |
+
if ( is_admin() && isset( $wp_query->query['suppress_filters'] ) )
|
296 |
$wp_query->query['suppress_filters'] = false;
|
297 |
+
if ( is_admin() && isset( $wp_query->query_vars['suppress_filters'] ) )
|
298 |
$wp_query->query_vars['suppress_filters'] = false;
|
299 |
return $wp_query;
|
300 |
}
|
457 |
$labels = array(
|
458 |
'name' => ucfirst( $this->_labels['main_name'] ),
|
459 |
'singular_name' => ucfirst( $this->_labels['singular'] ),
|
460 |
+
'add_new' => sprintf( __( 'Add %s', 'yith-plugin-fw' ), ucfirst( $this->_labels['singular'] ) ),
|
461 |
+
'add_new_item' => sprintf( __( 'Add New %s', 'yith-plugin-fw' ), ucfirst( $this->_labels['singular'] ) ),
|
462 |
+
'edit_item' => sprintf( __( 'Edit %s', 'yith-plugin-fw' ), ucfirst( $this->_labels['singular'] ) ),
|
463 |
+
'new_item' => sprintf( __( 'New %s', 'yith-plugin-fw' ), ucfirst( $this->_labels['singular'] ) ),
|
464 |
+
'all_items' => sprintf( __( 'All %s', 'yith-plugin-fw' ), ucfirst( $this->_labels['plural'] ) ),
|
465 |
+
'view_item' => sprintf( __( 'View %s', 'yith-plugin-fw' ), ucfirst( $this->_labels['singular'] ) ),
|
466 |
+
'search_items' => sprintf( __( 'Search %s', 'yith-plugin-fw' ), ucfirst( $this->_labels['plural'] ) ),
|
467 |
+
'not_found' => sprintf( __( 'No %s found', 'yith-plugin-fw' ), ucfirst( $this->_labels['plural'] ) ),
|
468 |
+
'not_found_in_trash' => sprintf( __( 'No %s found in Trash', 'yith-plugin-fw' ), ucfirst( $this->_labels['plural'] ) ),
|
469 |
'parent_item_colon' => '',
|
470 |
'menu_name' => ucfirst( $this->_labels['menu'] )
|
471 |
);
|
571 |
$labels = array(
|
572 |
'name' => $title,
|
573 |
'singular_name' => $label_singular,
|
574 |
+
'add_new' => sprintf( __( 'Add %s', 'yith-plugin-fw' ), $label_singular ),
|
575 |
+
'add_new_item' => sprintf( __( 'Add New %s', 'yith-plugin-fw' ), $label_singular ),
|
576 |
+
'edit_item' => sprintf( __( 'Edit %s', 'yith-plugin-fw' ), $label_singular ),
|
577 |
+
'new_item' => sprintf( __( 'New %s', 'yith-plugin-fw' ), $label_singular ),
|
578 |
+
'all_items' => sprintf( __( 'All %s', 'yith-plugin-fw' ), $label_plural ),
|
579 |
+
'view_item' => sprintf( __( 'View %s', 'yith-plugin-fw' ), $label_singular ),
|
580 |
+
'search_items' => sprintf( __( 'Search %s', 'yith-plugin-fw' ), $label_plural ),
|
581 |
+
'not_found' => sprintf( __( 'No %s found', 'yith-plugin-fw' ), $label_plural ),
|
582 |
+
'not_found_in_trash' => sprintf( __( 'No %s found in Trash', 'yith-plugin-fw' ), $label_plural ),
|
583 |
'parent_item_colon' => '',
|
584 |
'menu_name' => $title
|
585 |
);
|
622 |
if ( $this->_args['has_taxonomy'] && ! empty( $taxonomy ) ) {
|
623 |
|
624 |
$labels = array(
|
625 |
+
'name' => sprintf( _x( '%s Categories', 'taxonomy general name', 'yith-plugin-fw' ), $label_singular ),
|
626 |
+
'singular_name' => _x( 'Category', 'taxonomy singular name', 'yith-plugin-fw' ),
|
627 |
+
'search_items' => __( 'Search Categories', 'yith-plugin-fw' ),
|
628 |
+
'all_items' => __( 'All Categories', 'yith-plugin-fw' ),
|
629 |
+
'parent_item' => __( 'Parent Category', 'yith-plugin-fw' ),
|
630 |
+
'parent_item_colon' => __( 'Parent Category:', 'yith-plugin-fw' ),
|
631 |
+
'edit_item' => __( 'Edit Category', 'yith-plugin-fw' ),
|
632 |
+
'update_item' => __( 'Update Category', 'yith-plugin-fw' ),
|
633 |
+
'add_new_item' => __( 'Add New Category', 'yith-plugin-fw' ),
|
634 |
+
'new_item_name' => __( 'New Category Name', 'yith-plugin-fw' ),
|
635 |
+
'menu_name' => __( 'Category', 'yith-plugin-fw' ),
|
636 |
);
|
637 |
|
638 |
$args = array(
|
716 |
}
|
717 |
|
718 |
$submenu[ $item ][15] = array( ucfirst( $label_plural ), 'edit_posts', 'edit.php?post_type=' . $post_type );
|
719 |
+
$submenu[ $item ][20] = array( sprintf( __('Add %s', 'yith-plugin-fw'), ucfirst( $label_singular ) ), 'edit_posts', 'post-new.php?post_type=' . $post_type );
|
720 |
|
721 |
global $wp_taxonomies;
|
722 |
$taxonomy = get_post_meta( $portfolio->ID, '_taxonomy', true );
|
723 |
if ( isset( $wp_taxonomies[ $taxonomy ] ) ) {
|
724 |
+
$submenu[ $item ][25] = array( __('Categories', 'yith-plugin-fw'), 'edit_posts', 'edit-tags.php?taxonomy=' . $taxonomy . '&post_type=' . $post_type );
|
725 |
}
|
726 |
}
|
727 |
|
1039 |
$single_layouts = apply_filters( 'yit_cptu_' . $this->_name . '_single_layout_values', array() );
|
1040 |
|
1041 |
$metabox_args = array(
|
1042 |
+
'label' => sprintf( __( '%s Settings', 'yith-plugin-fw' ), $this->_labels['singular'] ),
|
1043 |
'pages' => $this->_name, //or array( 'post-type1', 'post-type2')
|
1044 |
'context' => 'normal', //('normal', 'advanced', or 'side')
|
1045 |
'priority' => 'default',
|
1046 |
'tabs' => array(
|
1047 |
'settings' => array(
|
1048 |
+
'label' => __( 'Settings', 'yith-plugin-fw' ),
|
1049 |
'fields' => apply_filters( 'yit_cptu_fields', array(
|
1050 |
'type' => array(
|
1051 |
+
'label' => __( 'Type', 'yith-plugin-fw' ),
|
1052 |
+
'desc' => __( 'Layout for this '.strtolower( $this->_labels['singular'] ) , 'yith-plugin-fw' ),
|
1053 |
'type' => 'select',
|
1054 |
'options' => isset( $layouts ) ? $layouts : array(),
|
1055 |
'std' => '' ),
|
1056 |
|
1057 |
'rewrite' => array(
|
1058 |
+
'label' => __( 'Rewrite', 'yith-plugin-fw' ),
|
1059 |
+
'desc' => __( 'Univocal identification name in the URL for each product (slug from post if empty)', 'yith-plugin-fw' ),
|
1060 |
'type' => 'text',
|
1061 |
'std' => '' ),
|
1062 |
|
1063 |
'label_singular' => array(
|
1064 |
+
'label' => __( 'Label in Singular', 'yith-plugin-fw' ),
|
1065 |
+
'desc' => __( 'Set a label in singular (title of portfolio if empty)', 'yith-plugin-fw' ),
|
1066 |
'type' => 'text',
|
1067 |
'std' => '' ),
|
1068 |
|
1069 |
'label_plural' => array(
|
1070 |
+
'label' => __( 'Label in Plural', 'yith-plugin-fw' ),
|
1071 |
+
'desc' => __( 'Set a label in plural (title of portfolio if empty)', 'yith-plugin-fw' ),
|
1072 |
'type' => 'text',
|
1073 |
'std' => '' ),
|
1074 |
|
1075 |
'taxonomy' => array(
|
1076 |
+
'label' => __( 'Taxonomy', 'yith-plugin-fw' ),
|
1077 |
+
'desc' => __( 'If you want to use categories in the portfolio, set a name for taxonomy. Name should be a slug (must not contain capital letters nor spaces) and must not be more than 32 characters long (database structure restriction).', 'yith-plugin-fw' ),
|
1078 |
'type' => 'text',
|
1079 |
'std' => '' ),
|
1080 |
|
1081 |
'taxonomy_rewrite' => array(
|
1082 |
+
'label' => __( 'Taxonomy Rewrite', 'yith-plugin-fw' ),
|
1083 |
+
'desc' => __( 'Set univocal name for each category page URL.', 'yith-plugin-fw' ),
|
1084 |
'type' => 'text',
|
1085 |
'std' => '' ),
|
1086 |
|
1087 |
'single_layout' => array(
|
1088 |
+
'label' => __( 'Single layout', 'yith-plugin-fw' ),
|
1089 |
+
'desc' => __( 'Layout for single page of this portfolio', 'yith-plugin-fw' ),
|
1090 |
'type' => 'select',
|
1091 |
'options' => $single_layouts,
|
1092 |
'std' => '' ),
|
1127 |
|
1128 |
// Section title
|
1129 |
$metabox_args['tabs']['settings']['fields'][ $layout . '_title' ] = array(
|
1130 |
+
'desc' => $args['name'] . ' ' . __( 'layout settings', 'yith-plugin-fw' ),
|
1131 |
'type' => 'title',
|
1132 |
'deps' => array(
|
1133 |
'ids' => '_type',
|
1193 |
}
|
1194 |
|
1195 |
$metabox_args = array(
|
1196 |
+
'label' => __( 'Settings', 'yith-plugin-fw' ),
|
1197 |
'pages' => $post_type, //or array( 'post-type1', 'post-type2')
|
1198 |
'context' => 'normal', //('normal', 'advanced', or 'side')
|
1199 |
'priority' => 'default',
|
1200 |
'tabs' => array(
|
1201 |
'settings' => array(
|
1202 |
+
'label' => __( 'Settings', 'yith-plugin-fw' ),
|
1203 |
'fields' => $this->layouts[ $layout ]['item_fields']
|
1204 |
)
|
1205 |
)
|
1219 |
*/
|
1220 |
public function add_quick_links_metaboxes() {
|
1221 |
// CPTU
|
1222 |
+
add_meta_box( $this->_name . '_quick_links', __( 'Quick links', 'yith-plugin-fw' ), array( $this, 'quick_links_cptu_inner' ), $this->_name, 'side', 'high' );
|
1223 |
|
1224 |
// CPTs
|
1225 |
$args = array(
|
1232 |
foreach ( $post_types as $post ) {
|
1233 |
$post_type = get_post_meta( $post->ID, '_post_type', true );
|
1234 |
extract( $this->_cpt_args( $post ) );
|
1235 |
+
add_meta_box( $post->post_type . '_quick_links', __( 'Quick links', 'yith-plugin-fw' ), array( $this, 'quick_links_cpt_inner' ), $post_type, 'side', 'high' );
|
1236 |
}
|
1237 |
}
|
1238 |
|
1248 |
public function quick_links_cptu_inner( $post ) {
|
1249 |
extract( $this->_cpt_args( $post ) );
|
1250 |
?>
|
1251 |
+
<a href="<?php echo admin_url( 'edit.php?post_type=' . get_post_meta( $post->ID, '_post_type', true ) ) ?>"><?php printf( __( 'View %s', 'yith-plugin-fw' ), $label_plural ) ?></a>
|
1252 |
<?php
|
1253 |
}
|
1254 |
|
1264 |
public function quick_links_cpt_inner( $post ) {
|
1265 |
$post = get_post( $this->_get_id_by_name( $post->post_type ) );
|
1266 |
?>
|
1267 |
+
<a href="<?php echo admin_url( "post.php?post={$post->ID}&action=edit" ) ?>"><?php printf( __( 'Edit %s', 'yith-plugin-fw' ), $post->post_title ) ?></a>
|
1268 |
<?php
|
1269 |
}
|
1270 |
|
1301 |
|
1302 |
switch ( $column ) {
|
1303 |
case 'actions' :
|
1304 |
+
echo '<a href="' . admin_url( "post.php?post={$post_id}&action=edit" ) . '" class="button-secondary">' . sprintf( __( 'Edit %s', 'yith-plugin-fw' ), ucfirst( $this->_labels['singular'] ) ) . '</a> ';
|
1305 |
+
echo '<a href="' . admin_url( 'edit.php?post_type=' . get_post_meta( $post_id, '_post_type', true ) ) . '" class="button-secondary">' . sprintf( __( 'View %s', 'yith-plugin-fw' ), $label_plural ) . '</a> ';
|
1306 |
break;
|
1307 |
}
|
1308 |
}
|
1472 |
$args = array(
|
1473 |
$this->_args['shortcode_name'] => array(
|
1474 |
'title' => $this->_labels['singular'],
|
1475 |
+
'description' => sprintf( __( 'Show frontend of the %s', 'yith-plugin-fw' ), $this->_labels['main_name'] ),
|
1476 |
'tab' => 'cpt',
|
1477 |
'create' => false,
|
1478 |
'has_content' => false,
|
1479 |
'in_visual_composer' => true,
|
1480 |
'attributes' => array(
|
1481 |
'name' => array(
|
1482 |
+
'title' => __( 'Name', 'yith-plugin-fw' ),
|
1483 |
'type' => 'select',
|
1484 |
'options' => $post_types,
|
1485 |
'std' => ''
|
1628 |
var button = $('<a />', {
|
1629 |
href: '#',
|
1630 |
class: 'multi-uploader add-new-h2',
|
1631 |
+
'data-uploader_title': '<?php printf( __( 'Add %s from images', 'yith-plugin-fw' ), $label_plural ) ?>',
|
1632 |
+
'data-uploader_button_text': '<?php printf( __( 'Add %s', 'yith-plugin-fw' ), $label_plural ) ?>'
|
1633 |
+
}).text('<?php _e( 'Add with multiupload', 'yith-plugin-fw' ) ?>');
|
1634 |
|
1635 |
var spinner = $('<span />', {
|
1636 |
class: 'spinner',
|
1751 |
|
1752 |
|
1753 |
// check if we are in archive template
|
1754 |
+
if ( !( ! is_admin() && is_archive() && isset($wp_query->post) && $this->_is_valid( $wp_query->post->post_type ) ) ) {
|
1755 |
return;
|
1756 |
}
|
1757 |
|
plugin-fw/lib/yit-metabox.php
CHANGED
@@ -20,17 +20,17 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
|
|
20 |
* the metabox can be created using this code
|
21 |
* <code>
|
22 |
* $args1 = array(
|
23 |
-
* 'label' => __( 'Metabox Label', '
|
24 |
* 'pages' => 'page', //or array( 'post-type1', 'post-type2')
|
25 |
* 'context' => 'normal', //('normal', 'advanced', or 'side')
|
26 |
* 'priority' => 'default',
|
27 |
* 'tabs' => array(
|
28 |
* 'settings' => array( //tab
|
29 |
-
* 'label' => __( 'Settings', '
|
30 |
* 'fields' => array(
|
31 |
* 'meta_checkbox' => array(
|
32 |
-
* 'label' => __( 'Show title', '
|
33 |
-
* 'desc' => __( '
|
34 |
* 'type' => 'checkbox',
|
35 |
* 'private' => false,
|
36 |
* 'std' => '1'),
|
@@ -154,13 +154,11 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
|
|
154 |
wp_enqueue_script( 'jquery-ui-datepicker' );
|
155 |
wp_enqueue_script( 'yit-spinner', YIT_CORE_PLUGIN_URL . '/assets/js/panel.spinner.js', array( 'jquery' ), '0.0.1', true );
|
156 |
wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
|
|
|
157 |
wp_enqueue_script( 'yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox.js', array( 'jquery', 'wp-color-picker' ), '1.0.0', true );
|
158 |
wp_enqueue_style( 'jquery-ui-overcast', YIT_CORE_PLUGIN_URL . '/assets/css/overcast/jquery-ui-1.8.9.custom.css', false, '1.8.9', 'all' );
|
159 |
|
160 |
-
if( function_exists( 'WC' ) ){
|
161 |
|
162 |
-
wp_enqueue_script('ajax-chosen');
|
163 |
-
}
|
164 |
}
|
165 |
|
166 |
/**
|
@@ -407,8 +405,10 @@ if ( ! class_exists( 'YIT_Metabox' ) ) {
|
|
407 |
* @since 1.0
|
408 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
409 |
*/
|
410 |
-
public function register_metabox() {
|
411 |
-
|
|
|
|
|
412 |
}
|
413 |
|
414 |
/**
|
20 |
* the metabox can be created using this code
|
21 |
* <code>
|
22 |
* $args1 = array(
|
23 |
+
* 'label' => __( 'Metabox Label', 'yith-plugin-fw' ),
|
24 |
* 'pages' => 'page', //or array( 'post-type1', 'post-type2')
|
25 |
* 'context' => 'normal', //('normal', 'advanced', or 'side')
|
26 |
* 'priority' => 'default',
|
27 |
* 'tabs' => array(
|
28 |
* 'settings' => array( //tab
|
29 |
+
* 'label' => __( 'Settings', 'yith-plugin-fw' ),
|
30 |
* 'fields' => array(
|
31 |
* 'meta_checkbox' => array(
|
32 |
+
* 'label' => __( 'Show title', 'yith-plugin-fw' ),
|
33 |
+
* 'desc' => __( 'Choose whether to show title of the page or not.', 'yith-plugin-fw' ),
|
34 |
* 'type' => 'checkbox',
|
35 |
* 'private' => false,
|
36 |
* 'std' => '1'),
|
154 |
wp_enqueue_script( 'jquery-ui-datepicker' );
|
155 |
wp_enqueue_script( 'yit-spinner', YIT_CORE_PLUGIN_URL . '/assets/js/panel.spinner.js', array( 'jquery' ), '0.0.1', true );
|
156 |
wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
|
157 |
+
wp_enqueue_script( 'ajax-chosen', yit_load_js_file( YIT_CORE_PLUGIN_URL . '/assets/js/chosen/ajax-chosen.jquery.js' ), array( 'jquery' ), '1.1.0', true );
|
158 |
wp_enqueue_script( 'yit-metabox', YIT_CORE_PLUGIN_URL . '/assets/js/metabox.js', array( 'jquery', 'wp-color-picker' ), '1.0.0', true );
|
159 |
wp_enqueue_style( 'jquery-ui-overcast', YIT_CORE_PLUGIN_URL . '/assets/css/overcast/jquery-ui-1.8.9.custom.css', false, '1.8.9', 'all' );
|
160 |
|
|
|
161 |
|
|
|
|
|
162 |
}
|
163 |
|
164 |
/**
|
405 |
* @since 1.0
|
406 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
407 |
*/
|
408 |
+
public function register_metabox( $post_type ) {
|
409 |
+
if( in_array( $post_type, (array) $this->options['pages'] ) ){
|
410 |
+
add_meta_box( $this->id, $this->options['label'], array( $this, 'show' ), $post_type, $this->options['context'], $this->options['priority'] );
|
411 |
+
}
|
412 |
}
|
413 |
|
414 |
/**
|
plugin-fw/lib/yit-plugin-common.php
CHANGED
@@ -406,6 +406,7 @@ class YIT_Plugin_Common {
|
|
406 |
'\f0f9' => 'ambulance',
|
407 |
'\f13d' => 'anchor',
|
408 |
'\f17b' => 'android',
|
|
|
409 |
'\f103' => 'angle-double-down',
|
410 |
'\f100' => 'angle-double-left',
|
411 |
'\f101' => 'angle-double-right',
|
@@ -416,6 +417,7 @@ class YIT_Plugin_Common {
|
|
416 |
'\f106' => 'angle-up',
|
417 |
'\f179' => 'apple',
|
418 |
'\f187' => 'archive',
|
|
|
419 |
'\f0ab' => 'arrow-circle-down',
|
420 |
'\f0a8' => 'arrow-circle-left',
|
421 |
'\f01a' => 'arrow-circle-o-down',
|
@@ -433,31 +435,51 @@ class YIT_Plugin_Common {
|
|
433 |
'\f07e' => 'arrows-h',
|
434 |
'\f07d' => 'arrows-v',
|
435 |
'\f069' => 'asterisk',
|
|
|
|
|
436 |
'\f04a' => 'backward',
|
437 |
'\f05e' => 'ban',
|
|
|
|
|
438 |
'\f080' => 'bar-chart-o',
|
439 |
'\f02a' => 'barcode',
|
440 |
'\f0c9' => 'bars',
|
|
|
441 |
'\f0fc' => 'beer',
|
|
|
|
|
442 |
'\f0f3' => 'bell',
|
443 |
'\f0a2' => 'bell-o',
|
|
|
|
|
|
|
|
|
|
|
444 |
'\f171' => 'bitbucket',
|
445 |
'\f172' => 'bitbucket-square',
|
|
|
446 |
'\f032' => 'bold',
|
447 |
'\f0e7' => 'bolt',
|
|
|
448 |
'\f02d' => 'book',
|
449 |
'\f02e' => 'bookmark',
|
450 |
'\f097' => 'bookmark-o',
|
451 |
'\f0b1' => 'briefcase',
|
452 |
'\f15a' => 'btc',
|
453 |
'\f188' => 'bug',
|
|
|
454 |
'\f0f7' => 'building-o',
|
455 |
'\f0a1' => 'bullhorn',
|
456 |
'\f140' => 'bullseye',
|
|
|
|
|
|
|
|
|
457 |
'\f073' => 'calendar',
|
458 |
'\f133' => 'calendar-o',
|
459 |
'\f030' => 'camera',
|
460 |
'\f083' => 'camera-retro',
|
|
|
461 |
'\f0d7' => 'caret-down',
|
462 |
'\f0d9' => 'caret-left',
|
463 |
'\f0da' => 'caret-right',
|
@@ -466,7 +488,17 @@ class YIT_Plugin_Common {
|
|
466 |
'\f152' => 'caret-square-o-right',
|
467 |
'\f151' => 'caret-square-o-up',
|
468 |
'\f0d8' => 'caret-up',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
'\f0a3' => 'certificate',
|
|
|
470 |
'\f127' => 'chain-broken',
|
471 |
'\f00c' => 'check',
|
472 |
'\f058' => 'check-circle',
|
@@ -481,14 +513,21 @@ class YIT_Plugin_Common {
|
|
481 |
'\f053' => 'chevron-left',
|
482 |
'\f054' => 'chevron-right',
|
483 |
'\f077' => 'chevron-up',
|
|
|
|
|
484 |
'\f10c' => 'circle-o',
|
|
|
|
|
485 |
'\f0ea' => 'clipboard',
|
486 |
'\f017' => 'clock-o',
|
|
|
487 |
'\f0c2' => 'cloud',
|
488 |
'\f0ed' => 'cloud-download',
|
489 |
'\f0ee' => 'cloud-upload',
|
|
|
490 |
'\f121' => 'code',
|
491 |
'\f126' => 'code-fork',
|
|
|
492 |
'\f0f4' => 'coffee',
|
493 |
'\f013' => 'cog',
|
494 |
'\f085' => 'cogs',
|
@@ -499,23 +538,43 @@ class YIT_Plugin_Common {
|
|
499 |
'\f0e6' => 'comments-o',
|
500 |
'\f14e' => 'compass',
|
501 |
'\f066' => 'compress',
|
|
|
|
|
|
|
502 |
'\f09d' => 'credit-card',
|
503 |
'\f125' => 'crop',
|
504 |
'\f05b' => 'crosshairs',
|
505 |
'\f13c' => 'css3',
|
|
|
|
|
|
|
506 |
'\f0f5' => 'cutlery',
|
|
|
|
|
|
|
|
|
|
|
507 |
'\f108' => 'desktop',
|
|
|
|
|
|
|
|
|
508 |
'\f192' => 'dot-circle-o',
|
509 |
'\f019' => 'download',
|
510 |
'\f17d' => 'dribbble',
|
511 |
'\f16b' => 'dropbox',
|
|
|
|
|
512 |
'\f052' => 'eject',
|
513 |
'\f141' => 'ellipsis-h',
|
514 |
'\f142' => 'ellipsis-v',
|
|
|
515 |
'\f0e0' => 'envelope',
|
516 |
'\f003' => 'envelope-o',
|
|
|
517 |
'\f12d' => 'eraser',
|
518 |
'\f153' => 'eur',
|
|
|
519 |
'\f0ec' => 'exchange',
|
520 |
'\f12a' => 'exclamation',
|
521 |
'\f06a' => 'exclamation-circle',
|
@@ -525,16 +584,34 @@ class YIT_Plugin_Common {
|
|
525 |
'\f14c' => 'external-link-square',
|
526 |
'\f06e' => 'eye',
|
527 |
'\f070' => 'eye-slash',
|
|
|
528 |
'\f09a' => 'facebook',
|
|
|
|
|
529 |
'\f082' => 'facebook-square',
|
530 |
'\f049' => 'fast-backward',
|
531 |
'\f050' => 'fast-forward',
|
|
|
532 |
'\f182' => 'female',
|
533 |
'\f0fb' => 'fighter-jet',
|
534 |
'\f15b' => 'file',
|
|
|
|
|
|
|
|
|
|
|
|
|
535 |
'\f016' => 'file-o',
|
|
|
|
|
|
|
|
|
|
|
536 |
'\f15c' => 'file-text',
|
537 |
'\f0f6' => 'file-text-o',
|
|
|
|
|
|
|
538 |
'\f0c5' => 'files-o',
|
539 |
'\f008' => 'film',
|
540 |
'\f0b0' => 'filter',
|
@@ -543,6 +620,7 @@ class YIT_Plugin_Common {
|
|
543 |
'\f024' => 'flag',
|
544 |
'\f11e' => 'flag-checkered',
|
545 |
'\f11d' => 'flag-o',
|
|
|
546 |
'\f0c3' => 'flask',
|
547 |
'\f16e' => 'flickr',
|
548 |
'\f0c7' => 'floppy-o',
|
@@ -551,50 +629,84 @@ class YIT_Plugin_Common {
|
|
551 |
'\f07c' => 'folder-open',
|
552 |
'\f115' => 'folder-open-o',
|
553 |
'\f031' => 'font',
|
|
|
554 |
'\f04e' => 'forward',
|
555 |
'\f180' => 'foursquare',
|
556 |
'\f119' => 'frown-o',
|
|
|
557 |
'\f11b' => 'gamepad',
|
558 |
'\f0e3' => 'gavel',
|
559 |
'\f154' => 'gbp',
|
|
|
|
|
|
|
|
|
560 |
'\f06b' => 'gift',
|
|
|
|
|
561 |
'\f09b' => 'github',
|
562 |
'\f113' => 'github-alt',
|
563 |
'\f092' => 'github-square',
|
564 |
'\f184' => 'gittip',
|
565 |
'\f000' => 'glass',
|
566 |
'\f0ac' => 'globe',
|
|
|
567 |
'\f0d5' => 'google-plus',
|
568 |
'\f0d4' => 'google-plus-square',
|
|
|
|
|
|
|
|
|
569 |
'\f0fd' => 'h-square',
|
|
|
570 |
'\f0a7' => 'hand-o-down',
|
571 |
'\f0a5' => 'hand-o-left',
|
572 |
'\f0a4' => 'hand-o-right',
|
573 |
'\f0a6' => 'hand-o-up',
|
574 |
'\f0a0' => 'hdd-o',
|
|
|
575 |
'\f025' => 'headphones',
|
576 |
'\f004' => 'heart',
|
577 |
'\f08a' => 'heart-o',
|
|
|
|
|
578 |
'\f015' => 'home',
|
579 |
'\f0f8' => 'hospital-o',
|
|
|
580 |
'\f13b' => 'html5',
|
|
|
|
|
581 |
'\f01c' => 'inbox',
|
582 |
'\f03c' => 'indent',
|
583 |
'\f129' => 'info',
|
584 |
'\f05a' => 'info-circle',
|
585 |
'\f156' => 'inr',
|
586 |
'\f16d' => 'instagram',
|
|
|
|
|
587 |
'\f033' => 'italic',
|
|
|
588 |
'\f157' => 'jpy',
|
|
|
589 |
'\f084' => 'key',
|
590 |
'\f11c' => 'keyboard-o',
|
591 |
'\f159' => 'krw',
|
|
|
592 |
'\f109' => 'laptop',
|
|
|
|
|
593 |
'\f06c' => 'leaf',
|
|
|
|
|
594 |
'\f094' => 'lemon-o',
|
595 |
'\f149' => 'level-down',
|
596 |
'\f148' => 'level-up',
|
|
|
|
|
|
|
|
|
597 |
'\f0eb' => 'lightbulb-o',
|
|
|
598 |
'\f0c1' => 'link',
|
599 |
'\f0e1' => 'linkedin',
|
600 |
'\f08c' => 'linkedin-square',
|
@@ -611,12 +723,22 @@ class YIT_Plugin_Common {
|
|
611 |
'\f176' => 'long-arrow-up',
|
612 |
'\f0d0' => 'magic',
|
613 |
'\f076' => 'magnet',
|
|
|
|
|
614 |
'\f122' => 'mail-reply-all',
|
615 |
'\f183' => 'male',
|
616 |
'\f041' => 'map-marker',
|
|
|
|
|
|
|
|
|
|
|
617 |
'\f136' => 'maxcdn',
|
|
|
|
|
618 |
'\f0fa' => 'medkit',
|
619 |
'\f11a' => 'meh-o',
|
|
|
620 |
'\f130' => 'microphone',
|
621 |
'\f131' => 'microphone-slash',
|
622 |
'\f068' => 'minus',
|
@@ -624,25 +746,45 @@ class YIT_Plugin_Common {
|
|
624 |
'\f146' => 'minus-square',
|
625 |
'\f147' => 'minus-square-o',
|
626 |
'\f10b' => 'mobile',
|
|
|
627 |
'\f0d6' => 'money',
|
628 |
'\f186' => 'moon-o',
|
|
|
|
|
629 |
'\f001' => 'music',
|
|
|
|
|
|
|
|
|
630 |
'\f03b' => 'outdent',
|
631 |
'\f18c' => 'pagelines',
|
|
|
|
|
|
|
632 |
'\f0c6' => 'paperclip',
|
|
|
|
|
633 |
'\f04c' => 'pause',
|
|
|
|
|
634 |
'\f040' => 'pencil',
|
635 |
'\f14b' => 'pencil-square',
|
636 |
'\f044' => 'pencil-square-o',
|
637 |
'\f095' => 'phone',
|
638 |
'\f098' => 'phone-square',
|
|
|
639 |
'\f03e' => 'picture-o',
|
|
|
|
|
|
|
640 |
'\f0d2' => 'pinterest',
|
|
|
641 |
'\f0d3' => 'pinterest-square',
|
642 |
'\f072' => 'plane',
|
643 |
'\f04b' => 'play',
|
644 |
'\f144' => 'play-circle',
|
645 |
'\f01d' => 'play-circle-o',
|
|
|
646 |
'\f067' => 'plus',
|
647 |
'\f055' => 'plus-circle',
|
648 |
'\f0fe' => 'plus-square',
|
@@ -650,71 +792,119 @@ class YIT_Plugin_Common {
|
|
650 |
'\f011' => 'power-off',
|
651 |
'\f02f' => 'print',
|
652 |
'\f12e' => 'puzzle-piece',
|
|
|
653 |
'\f029' => 'qrcode',
|
654 |
'\f128' => 'question',
|
655 |
'\f059' => 'question-circle',
|
656 |
'\f10d' => 'quote-left',
|
657 |
'\f10e' => 'quote-right',
|
|
|
658 |
'\f074' => 'random',
|
|
|
|
|
|
|
|
|
659 |
'\f021' => 'refresh',
|
|
|
660 |
'\f18b' => 'renren',
|
|
|
661 |
'\f01e' => 'repeat',
|
662 |
'\f112' => 'reply',
|
663 |
'\f122' => 'reply-all',
|
664 |
'\f079' => 'retweet',
|
|
|
665 |
'\f018' => 'road',
|
666 |
'\f135' => 'rocket',
|
|
|
|
|
|
|
667 |
'\f09e' => 'rss',
|
668 |
'\f143' => 'rss-square',
|
669 |
'\f158' => 'rub',
|
|
|
|
|
|
|
670 |
'\f0c4' => 'scissors',
|
671 |
'\f002' => 'search',
|
672 |
'\f010' => 'search-minus',
|
673 |
'\f00e' => 'search-plus',
|
|
|
|
|
|
|
|
|
674 |
'\f064' => 'share',
|
|
|
|
|
675 |
'\f14d' => 'share-square',
|
676 |
'\f045' => 'share-square-o',
|
|
|
|
|
677 |
'\f132' => 'shield',
|
|
|
|
|
678 |
'\f07a' => 'shopping-cart',
|
679 |
'\f090' => 'sign-in',
|
680 |
'\f08b' => 'sign-out',
|
681 |
'\f012' => 'signal',
|
|
|
682 |
'\f0e8' => 'sitemap',
|
|
|
683 |
'\f17e' => 'skype',
|
|
|
|
|
|
|
684 |
'\f118' => 'smile-o',
|
|
|
685 |
'\f0dc' => 'sort',
|
686 |
'\f15d' => 'sort-alpha-asc',
|
687 |
'\f15e' => 'sort-alpha-desc',
|
688 |
'\f160' => 'sort-amount-asc',
|
689 |
'\f161' => 'sort-amount-desc',
|
690 |
-
'\
|
691 |
-
'\
|
|
|
692 |
'\f162' => 'sort-numeric-asc',
|
693 |
'\f163' => 'sort-numeric-desc',
|
|
|
|
|
|
|
694 |
'\f110' => 'spinner',
|
|
|
|
|
695 |
'\f0c8' => 'square',
|
696 |
'\f096' => 'square-o',
|
697 |
'\f18d' => 'stack-exchange',
|
698 |
'\f16c' => 'stack-overflow',
|
699 |
'\f005' => 'star',
|
700 |
'\f089' => 'star-half',
|
|
|
|
|
701 |
'\f123' => 'star-half-o',
|
702 |
'\f006' => 'star-o',
|
|
|
|
|
703 |
'\f048' => 'step-backward',
|
704 |
'\f051' => 'step-forward',
|
705 |
'\f0f1' => 'stethoscope',
|
706 |
'\f04d' => 'stop',
|
|
|
707 |
'\f0cc' => 'strikethrough',
|
|
|
|
|
708 |
'\f12c' => 'subscript',
|
|
|
709 |
'\f0f2' => 'suitcase',
|
710 |
'\f185' => 'sun-o',
|
711 |
'\f12b' => 'superscript',
|
|
|
712 |
'\f0ce' => 'table',
|
713 |
'\f10a' => 'tablet',
|
714 |
'\f0e4' => 'tachometer',
|
715 |
'\f02b' => 'tag',
|
716 |
'\f02c' => 'tags',
|
717 |
'\f0ae' => 'tasks',
|
|
|
|
|
718 |
'\f120' => 'terminal',
|
719 |
'\f034' => 'text-height',
|
720 |
'\f035' => 'text-width',
|
@@ -731,40 +921,75 @@ class YIT_Plugin_Common {
|
|
731 |
'\f057' => 'times-circle',
|
732 |
'\f05c' => 'times-circle-o',
|
733 |
'\f043' => 'tint',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
734 |
'\f014' => 'trash-o',
|
|
|
735 |
'\f181' => 'trello',
|
736 |
'\f091' => 'trophy',
|
737 |
'\f0d1' => 'truck',
|
738 |
'\f195' => 'try',
|
|
|
739 |
'\f173' => 'tumblr',
|
740 |
'\f174' => 'tumblr-square',
|
|
|
|
|
741 |
'\f099' => 'twitter',
|
742 |
'\f081' => 'twitter-square',
|
743 |
'\f0e9' => 'umbrella',
|
744 |
'\f0cd' => 'underline',
|
745 |
'\f0e2' => 'undo',
|
|
|
|
|
746 |
'\f09c' => 'unlock',
|
747 |
'\f13e' => 'unlock-alt',
|
|
|
748 |
'\f093' => 'upload',
|
749 |
'\f155' => 'usd',
|
750 |
'\f007' => 'user',
|
751 |
'\f0f0' => 'user-md',
|
|
|
|
|
|
|
752 |
'\f0c0' => 'users',
|
|
|
|
|
|
|
|
|
753 |
'\f03d' => 'video-camera',
|
754 |
'\f194' => 'vimeo-square',
|
|
|
755 |
'\f189' => 'vk',
|
756 |
'\f027' => 'volume-down',
|
757 |
'\f026' => 'volume-off',
|
758 |
'\f028' => 'volume-up',
|
|
|
|
|
759 |
'\f18a' => 'weibo',
|
|
|
|
|
760 |
'\f193' => 'wheelchair',
|
|
|
761 |
'\f17a' => 'windows',
|
|
|
|
|
762 |
'\f0ad' => 'wrench',
|
763 |
'\f168' => 'xing',
|
764 |
'\f169' => 'xing-square',
|
|
|
|
|
|
|
765 |
'\f167' => 'youtube',
|
766 |
'\f16a' => 'youtube-play',
|
767 |
-
'\f166' => 'youtube-square'
|
768 |
),
|
769 |
|
770 |
'awesome_icons_socials' =>array(
|
406 |
'\f0f9' => 'ambulance',
|
407 |
'\f13d' => 'anchor',
|
408 |
'\f17b' => 'android',
|
409 |
+
'\f209' => 'angellist',
|
410 |
'\f103' => 'angle-double-down',
|
411 |
'\f100' => 'angle-double-left',
|
412 |
'\f101' => 'angle-double-right',
|
417 |
'\f106' => 'angle-up',
|
418 |
'\f179' => 'apple',
|
419 |
'\f187' => 'archive',
|
420 |
+
'\f1fe' => 'area-chart',
|
421 |
'\f0ab' => 'arrow-circle-down',
|
422 |
'\f0a8' => 'arrow-circle-left',
|
423 |
'\f01a' => 'arrow-circle-o-down',
|
435 |
'\f07e' => 'arrows-h',
|
436 |
'\f07d' => 'arrows-v',
|
437 |
'\f069' => 'asterisk',
|
438 |
+
'\f1fa' => 'at',
|
439 |
+
'\f1b9' => 'automobile',
|
440 |
'\f04a' => 'backward',
|
441 |
'\f05e' => 'ban',
|
442 |
+
'\f19c' => 'bank',
|
443 |
+
'\f080' => 'bar-chart',
|
444 |
'\f080' => 'bar-chart-o',
|
445 |
'\f02a' => 'barcode',
|
446 |
'\f0c9' => 'bars',
|
447 |
+
'\f236' => 'bed',
|
448 |
'\f0fc' => 'beer',
|
449 |
+
'\f1b4' => 'behance',
|
450 |
+
'\f1b5' => 'behance-square',
|
451 |
'\f0f3' => 'bell',
|
452 |
'\f0a2' => 'bell-o',
|
453 |
+
'\f1f6' => 'bell-slash',
|
454 |
+
'\f1f7' => 'bell-slash-o',
|
455 |
+
'\f206' => 'bicycle',
|
456 |
+
'\f1e5' => 'binoculars',
|
457 |
+
'\f1fd' => 'birthday-cake',
|
458 |
'\f171' => 'bitbucket',
|
459 |
'\f172' => 'bitbucket-square',
|
460 |
+
'\f15a' => 'bitcoin',
|
461 |
'\f032' => 'bold',
|
462 |
'\f0e7' => 'bolt',
|
463 |
+
'\f1e2' => 'bomb',
|
464 |
'\f02d' => 'book',
|
465 |
'\f02e' => 'bookmark',
|
466 |
'\f097' => 'bookmark-o',
|
467 |
'\f0b1' => 'briefcase',
|
468 |
'\f15a' => 'btc',
|
469 |
'\f188' => 'bug',
|
470 |
+
'\f1ad' => 'building',
|
471 |
'\f0f7' => 'building-o',
|
472 |
'\f0a1' => 'bullhorn',
|
473 |
'\f140' => 'bullseye',
|
474 |
+
'\f207' => 'bus',
|
475 |
+
'\f20d' => 'buysellads',
|
476 |
+
'\f1ba' => 'cab',
|
477 |
+
'\f1ec' => 'calculator',
|
478 |
'\f073' => 'calendar',
|
479 |
'\f133' => 'calendar-o',
|
480 |
'\f030' => 'camera',
|
481 |
'\f083' => 'camera-retro',
|
482 |
+
'\f1b9' => 'car',
|
483 |
'\f0d7' => 'caret-down',
|
484 |
'\f0d9' => 'caret-left',
|
485 |
'\f0da' => 'caret-right',
|
488 |
'\f152' => 'caret-square-o-right',
|
489 |
'\f151' => 'caret-square-o-up',
|
490 |
'\f0d8' => 'caret-up',
|
491 |
+
'\f218' => 'cart-arrow-down',
|
492 |
+
'\f217' => 'cart-plus',
|
493 |
+
'\f20a' => 'cc',
|
494 |
+
'\f1f3' => 'cc-amex',
|
495 |
+
'\f1f2' => 'cc-discover',
|
496 |
+
'\f1f1' => 'cc-mastercard',
|
497 |
+
'\f1f4' => 'cc-paypal',
|
498 |
+
'\f1f5' => 'cc-stripe',
|
499 |
+
'\f1f0' => 'cc-visa',
|
500 |
'\f0a3' => 'certificate',
|
501 |
+
'\f0c1' => 'chain',
|
502 |
'\f127' => 'chain-broken',
|
503 |
'\f00c' => 'check',
|
504 |
'\f058' => 'check-circle',
|
513 |
'\f053' => 'chevron-left',
|
514 |
'\f054' => 'chevron-right',
|
515 |
'\f077' => 'chevron-up',
|
516 |
+
'\f1ae' => 'child',
|
517 |
+
'\f111' => 'circle',
|
518 |
'\f10c' => 'circle-o',
|
519 |
+
'\f1ce' => 'circle-o-notch',
|
520 |
+
'\f1db' => 'circle-thin',
|
521 |
'\f0ea' => 'clipboard',
|
522 |
'\f017' => 'clock-o',
|
523 |
+
'\f00d' => 'close',
|
524 |
'\f0c2' => 'cloud',
|
525 |
'\f0ed' => 'cloud-download',
|
526 |
'\f0ee' => 'cloud-upload',
|
527 |
+
'\f157' => 'cny',
|
528 |
'\f121' => 'code',
|
529 |
'\f126' => 'code-fork',
|
530 |
+
'\f1cb' => 'codepen',
|
531 |
'\f0f4' => 'coffee',
|
532 |
'\f013' => 'cog',
|
533 |
'\f085' => 'cogs',
|
538 |
'\f0e6' => 'comments-o',
|
539 |
'\f14e' => 'compass',
|
540 |
'\f066' => 'compress',
|
541 |
+
'\f20e' => 'connectdevelop',
|
542 |
+
'\f0c5' => 'copy',
|
543 |
+
'\f1f9' => 'copyright',
|
544 |
'\f09d' => 'credit-card',
|
545 |
'\f125' => 'crop',
|
546 |
'\f05b' => 'crosshairs',
|
547 |
'\f13c' => 'css3',
|
548 |
+
'\f1b2' => 'cube',
|
549 |
+
'\f1b3' => 'cubes',
|
550 |
+
'\f0c4' => 'cut',
|
551 |
'\f0f5' => 'cutlery',
|
552 |
+
'\f0e4' => 'dashboard',
|
553 |
+
'\f210' => 'dashcube',
|
554 |
+
'\f1c0' => 'database',
|
555 |
+
'\f03b' => 'dedent',
|
556 |
+
'\f1a5' => 'delicious',
|
557 |
'\f108' => 'desktop',
|
558 |
+
'\f1bd' => 'deviantart',
|
559 |
+
'\f219' => 'diamond',
|
560 |
+
'\f1a6' => 'digg',
|
561 |
+
'\f155' => 'dollar',
|
562 |
'\f192' => 'dot-circle-o',
|
563 |
'\f019' => 'download',
|
564 |
'\f17d' => 'dribbble',
|
565 |
'\f16b' => 'dropbox',
|
566 |
+
'\f1a9' => 'drupal',
|
567 |
+
'\f044' => 'edit',
|
568 |
'\f052' => 'eject',
|
569 |
'\f141' => 'ellipsis-h',
|
570 |
'\f142' => 'ellipsis-v',
|
571 |
+
'\f1d1' => 'empire',
|
572 |
'\f0e0' => 'envelope',
|
573 |
'\f003' => 'envelope-o',
|
574 |
+
'\f199' => 'envelope-square',
|
575 |
'\f12d' => 'eraser',
|
576 |
'\f153' => 'eur',
|
577 |
+
'\f153' => 'euro',
|
578 |
'\f0ec' => 'exchange',
|
579 |
'\f12a' => 'exclamation',
|
580 |
'\f06a' => 'exclamation-circle',
|
584 |
'\f14c' => 'external-link-square',
|
585 |
'\f06e' => 'eye',
|
586 |
'\f070' => 'eye-slash',
|
587 |
+
'\f1fb' => 'eyedropper',
|
588 |
'\f09a' => 'facebook',
|
589 |
+
'\f09a' => 'facebook-f',
|
590 |
+
'\f230' => 'facebook-official',
|
591 |
'\f082' => 'facebook-square',
|
592 |
'\f049' => 'fast-backward',
|
593 |
'\f050' => 'fast-forward',
|
594 |
+
'\f1ac' => 'fax',
|
595 |
'\f182' => 'female',
|
596 |
'\f0fb' => 'fighter-jet',
|
597 |
'\f15b' => 'file',
|
598 |
+
'\f1c6' => 'file-archive-o',
|
599 |
+
'\f1c7' => 'file-audio-o',
|
600 |
+
'\f1c9' => 'file-code-o',
|
601 |
+
'\f1c3' => 'file-excel-o',
|
602 |
+
'\f1c5' => 'file-image-o',
|
603 |
+
'\f1c8' => 'file-movie-o',
|
604 |
'\f016' => 'file-o',
|
605 |
+
'\f1c1' => 'file-pdf-o',
|
606 |
+
'\f1c5' => 'file-photo-o',
|
607 |
+
'\f1c5' => 'file-picture-o',
|
608 |
+
'\f1c4' => 'file-powerpoint-o',
|
609 |
+
'\f1c7' => 'file-sound-o',
|
610 |
'\f15c' => 'file-text',
|
611 |
'\f0f6' => 'file-text-o',
|
612 |
+
'\f1c8' => 'file-video-o',
|
613 |
+
'\f1c2' => 'file-word-o',
|
614 |
+
'\f1c6' => 'file-zip-o',
|
615 |
'\f0c5' => 'files-o',
|
616 |
'\f008' => 'film',
|
617 |
'\f0b0' => 'filter',
|
620 |
'\f024' => 'flag',
|
621 |
'\f11e' => 'flag-checkered',
|
622 |
'\f11d' => 'flag-o',
|
623 |
+
'\f0e7' => 'flash',
|
624 |
'\f0c3' => 'flask',
|
625 |
'\f16e' => 'flickr',
|
626 |
'\f0c7' => 'floppy-o',
|
629 |
'\f07c' => 'folder-open',
|
630 |
'\f115' => 'folder-open-o',
|
631 |
'\f031' => 'font',
|
632 |
+
'\f211' => 'forumbee',
|
633 |
'\f04e' => 'forward',
|
634 |
'\f180' => 'foursquare',
|
635 |
'\f119' => 'frown-o',
|
636 |
+
'\f1e3' => 'futbol-o',
|
637 |
'\f11b' => 'gamepad',
|
638 |
'\f0e3' => 'gavel',
|
639 |
'\f154' => 'gbp',
|
640 |
+
'\f1d1' => 'ge',
|
641 |
+
'\f013' => 'gear',
|
642 |
+
'\f085' => 'gears',
|
643 |
+
'\f1db' => 'genderless',
|
644 |
'\f06b' => 'gift',
|
645 |
+
'\f1d3' => 'git',
|
646 |
+
'\f1d2' => 'git-square',
|
647 |
'\f09b' => 'github',
|
648 |
'\f113' => 'github-alt',
|
649 |
'\f092' => 'github-square',
|
650 |
'\f184' => 'gittip',
|
651 |
'\f000' => 'glass',
|
652 |
'\f0ac' => 'globe',
|
653 |
+
'\f1a0' => 'google',
|
654 |
'\f0d5' => 'google-plus',
|
655 |
'\f0d4' => 'google-plus-square',
|
656 |
+
'\f1ee' => 'google-wallet',
|
657 |
+
'\f19d' => 'graduation-cap',
|
658 |
+
'\f184' => 'gratipay',
|
659 |
+
'\f0c0' => 'group',
|
660 |
'\f0fd' => 'h-square',
|
661 |
+
'\f1d4' => 'hacker-news',
|
662 |
'\f0a7' => 'hand-o-down',
|
663 |
'\f0a5' => 'hand-o-left',
|
664 |
'\f0a4' => 'hand-o-right',
|
665 |
'\f0a6' => 'hand-o-up',
|
666 |
'\f0a0' => 'hdd-o',
|
667 |
+
'\f1dc' => 'header',
|
668 |
'\f025' => 'headphones',
|
669 |
'\f004' => 'heart',
|
670 |
'\f08a' => 'heart-o',
|
671 |
+
'\f21e' => 'heartbeat',
|
672 |
+
'\f1da' => 'history',
|
673 |
'\f015' => 'home',
|
674 |
'\f0f8' => 'hospital-o',
|
675 |
+
'\f236' => 'hotel',
|
676 |
'\f13b' => 'html5',
|
677 |
+
'\f20b' => 'ils',
|
678 |
+
'\f03e' => 'image',
|
679 |
'\f01c' => 'inbox',
|
680 |
'\f03c' => 'indent',
|
681 |
'\f129' => 'info',
|
682 |
'\f05a' => 'info-circle',
|
683 |
'\f156' => 'inr',
|
684 |
'\f16d' => 'instagram',
|
685 |
+
'\f19c' => 'institution',
|
686 |
+
'\f208' => 'ioxhost',
|
687 |
'\f033' => 'italic',
|
688 |
+
'\f1aa' => 'joomla',
|
689 |
'\f157' => 'jpy',
|
690 |
+
'\f1cc' => 'jsfiddle',
|
691 |
'\f084' => 'key',
|
692 |
'\f11c' => 'keyboard-o',
|
693 |
'\f159' => 'krw',
|
694 |
+
'\f1ab' => 'language',
|
695 |
'\f109' => 'laptop',
|
696 |
+
'\f202' => 'lastfm',
|
697 |
+
'\f203' => 'lastfm-square',
|
698 |
'\f06c' => 'leaf',
|
699 |
+
'\f212' => 'leanpub',
|
700 |
+
'\f0e3' => 'legal',
|
701 |
'\f094' => 'lemon-o',
|
702 |
'\f149' => 'level-down',
|
703 |
'\f148' => 'level-up',
|
704 |
+
'\f1cd' => 'life-bouy',
|
705 |
+
'\f1cd' => 'life-buoy',
|
706 |
+
'\f1cd' => 'life-ring',
|
707 |
+
'\f1cd' => 'life-saver',
|
708 |
'\f0eb' => 'lightbulb-o',
|
709 |
+
'\f201' => 'line-chart',
|
710 |
'\f0c1' => 'link',
|
711 |
'\f0e1' => 'linkedin',
|
712 |
'\f08c' => 'linkedin-square',
|
723 |
'\f176' => 'long-arrow-up',
|
724 |
'\f0d0' => 'magic',
|
725 |
'\f076' => 'magnet',
|
726 |
+
'\f064' => 'mail-forward',
|
727 |
+
'\f112' => 'mail-reply',
|
728 |
'\f122' => 'mail-reply-all',
|
729 |
'\f183' => 'male',
|
730 |
'\f041' => 'map-marker',
|
731 |
+
'\f222' => 'mars',
|
732 |
+
'\f227' => 'mars-double',
|
733 |
+
'\f229' => 'mars-stroke',
|
734 |
+
'\f22b' => 'mars-stroke-h',
|
735 |
+
'\f22a' => 'mars-stroke-v',
|
736 |
'\f136' => 'maxcdn',
|
737 |
+
'\f20c' => 'meanpath',
|
738 |
+
'\f23a' => 'medium',
|
739 |
'\f0fa' => 'medkit',
|
740 |
'\f11a' => 'meh-o',
|
741 |
+
'\f223' => 'mercury',
|
742 |
'\f130' => 'microphone',
|
743 |
'\f131' => 'microphone-slash',
|
744 |
'\f068' => 'minus',
|
746 |
'\f146' => 'minus-square',
|
747 |
'\f147' => 'minus-square-o',
|
748 |
'\f10b' => 'mobile',
|
749 |
+
'\f10b' => 'mobile-phone',
|
750 |
'\f0d6' => 'money',
|
751 |
'\f186' => 'moon-o',
|
752 |
+
'\f19d' => 'mortar-board',
|
753 |
+
'\f21c' => 'motorcycle',
|
754 |
'\f001' => 'music',
|
755 |
+
'\f0c9' => 'navicon',
|
756 |
+
'\f22c' => 'neuter',
|
757 |
+
'\f1ea' => 'newspaper-o',
|
758 |
+
'\f19b' => 'openid',
|
759 |
'\f03b' => 'outdent',
|
760 |
'\f18c' => 'pagelines',
|
761 |
+
'\f1fc' => 'paint-brush',
|
762 |
+
'\f1d8' => 'paper-plane',
|
763 |
+
'\f1d9' => 'paper-plane-o',
|
764 |
'\f0c6' => 'paperclip',
|
765 |
+
'\f1dd' => 'paragraph',
|
766 |
+
'\f0ea' => 'paste',
|
767 |
'\f04c' => 'pause',
|
768 |
+
'\f1b0' => 'paw',
|
769 |
+
'\f1ed' => 'paypal',
|
770 |
'\f040' => 'pencil',
|
771 |
'\f14b' => 'pencil-square',
|
772 |
'\f044' => 'pencil-square-o',
|
773 |
'\f095' => 'phone',
|
774 |
'\f098' => 'phone-square',
|
775 |
+
'\f03e' => 'photo',
|
776 |
'\f03e' => 'picture-o',
|
777 |
+
'\f200' => 'pie-chart',
|
778 |
+
'\f1a7' => 'pied-piper',
|
779 |
+
'\f1a8' => 'pied-piper-alt',
|
780 |
'\f0d2' => 'pinterest',
|
781 |
+
'\f231' => 'pinterest-p',
|
782 |
'\f0d3' => 'pinterest-square',
|
783 |
'\f072' => 'plane',
|
784 |
'\f04b' => 'play',
|
785 |
'\f144' => 'play-circle',
|
786 |
'\f01d' => 'play-circle-o',
|
787 |
+
'\f1e6' => 'plug',
|
788 |
'\f067' => 'plus',
|
789 |
'\f055' => 'plus-circle',
|
790 |
'\f0fe' => 'plus-square',
|
792 |
'\f011' => 'power-off',
|
793 |
'\f02f' => 'print',
|
794 |
'\f12e' => 'puzzle-piece',
|
795 |
+
'\f1d6' => 'qq',
|
796 |
'\f029' => 'qrcode',
|
797 |
'\f128' => 'question',
|
798 |
'\f059' => 'question-circle',
|
799 |
'\f10d' => 'quote-left',
|
800 |
'\f10e' => 'quote-right',
|
801 |
+
'\f1d0' => 'ra',
|
802 |
'\f074' => 'random',
|
803 |
+
'\f1d0' => 'rebel',
|
804 |
+
'\f1b8' => 'recycle',
|
805 |
+
'\f1a1' => 'reddit',
|
806 |
+
'\f1a2' => 'reddit-square',
|
807 |
'\f021' => 'refresh',
|
808 |
+
'\f00d' => 'remove',
|
809 |
'\f18b' => 'renren',
|
810 |
+
'\f0c9' => 'reorder',
|
811 |
'\f01e' => 'repeat',
|
812 |
'\f112' => 'reply',
|
813 |
'\f122' => 'reply-all',
|
814 |
'\f079' => 'retweet',
|
815 |
+
'\f157' => 'rmb',
|
816 |
'\f018' => 'road',
|
817 |
'\f135' => 'rocket',
|
818 |
+
'\f0e2' => 'rotate-left',
|
819 |
+
'\f01e' => 'rotate-right',
|
820 |
+
'\f158' => 'rouble',
|
821 |
'\f09e' => 'rss',
|
822 |
'\f143' => 'rss-square',
|
823 |
'\f158' => 'rub',
|
824 |
+
'\f158' => 'ruble',
|
825 |
+
'\f156' => 'rupee',
|
826 |
+
'\f0c7' => 'save',
|
827 |
'\f0c4' => 'scissors',
|
828 |
'\f002' => 'search',
|
829 |
'\f010' => 'search-minus',
|
830 |
'\f00e' => 'search-plus',
|
831 |
+
'\f213' => 'sellsy',
|
832 |
+
'\f1d8' => 'send',
|
833 |
+
'\f1d9' => 'send-o',
|
834 |
+
'\f233' => 'server',
|
835 |
'\f064' => 'share',
|
836 |
+
'\f1e0' => 'share-alt',
|
837 |
+
'\f1e1' => 'share-alt-square',
|
838 |
'\f14d' => 'share-square',
|
839 |
'\f045' => 'share-square-o',
|
840 |
+
'\f20b' => 'shekel',
|
841 |
+
'\f20b' => 'sheqel',
|
842 |
'\f132' => 'shield',
|
843 |
+
'\f21a' => 'ship',
|
844 |
+
'\f214' => 'shirtsinbulk',
|
845 |
'\f07a' => 'shopping-cart',
|
846 |
'\f090' => 'sign-in',
|
847 |
'\f08b' => 'sign-out',
|
848 |
'\f012' => 'signal',
|
849 |
+
'\f215' => 'simplybuilt',
|
850 |
'\f0e8' => 'sitemap',
|
851 |
+
'\f216' => 'skyatlas',
|
852 |
'\f17e' => 'skype',
|
853 |
+
'\f198' => 'slack',
|
854 |
+
'\f1de' => 'sliders',
|
855 |
+
'\f1e7' => 'slideshare',
|
856 |
'\f118' => 'smile-o',
|
857 |
+
'\f1e3' => 'soccer-ball-o',
|
858 |
'\f0dc' => 'sort',
|
859 |
'\f15d' => 'sort-alpha-asc',
|
860 |
'\f15e' => 'sort-alpha-desc',
|
861 |
'\f160' => 'sort-amount-asc',
|
862 |
'\f161' => 'sort-amount-desc',
|
863 |
+
'\f0de' => 'sort-asc',
|
864 |
+
'\f0dd' => 'sort-desc',
|
865 |
+
'\f0dd' => 'sort-down',
|
866 |
'\f162' => 'sort-numeric-asc',
|
867 |
'\f163' => 'sort-numeric-desc',
|
868 |
+
'\f0de' => 'sort-up',
|
869 |
+
'\f1be' => 'soundcloud',
|
870 |
+
'\f197' => 'space-shuttle',
|
871 |
'\f110' => 'spinner',
|
872 |
+
'\f1b1' => 'spoon',
|
873 |
+
'\f1bc' => 'spotify',
|
874 |
'\f0c8' => 'square',
|
875 |
'\f096' => 'square-o',
|
876 |
'\f18d' => 'stack-exchange',
|
877 |
'\f16c' => 'stack-overflow',
|
878 |
'\f005' => 'star',
|
879 |
'\f089' => 'star-half',
|
880 |
+
'\f123' => 'star-half-empty',
|
881 |
+
'\f123' => 'star-half-full',
|
882 |
'\f123' => 'star-half-o',
|
883 |
'\f006' => 'star-o',
|
884 |
+
'\f1b6' => 'steam',
|
885 |
+
'\f1b7' => 'steam-square',
|
886 |
'\f048' => 'step-backward',
|
887 |
'\f051' => 'step-forward',
|
888 |
'\f0f1' => 'stethoscope',
|
889 |
'\f04d' => 'stop',
|
890 |
+
'\f21d' => 'street-view',
|
891 |
'\f0cc' => 'strikethrough',
|
892 |
+
'\f1a4' => 'stumbleupon',
|
893 |
+
'\f1a3' => 'stumbleupon-circle',
|
894 |
'\f12c' => 'subscript',
|
895 |
+
'\f239' => 'subway',
|
896 |
'\f0f2' => 'suitcase',
|
897 |
'\f185' => 'sun-o',
|
898 |
'\f12b' => 'superscript',
|
899 |
+
'\f1cd' => 'support',
|
900 |
'\f0ce' => 'table',
|
901 |
'\f10a' => 'tablet',
|
902 |
'\f0e4' => 'tachometer',
|
903 |
'\f02b' => 'tag',
|
904 |
'\f02c' => 'tags',
|
905 |
'\f0ae' => 'tasks',
|
906 |
+
'\f1ba' => 'taxi',
|
907 |
+
'\f1d5' => 'tencent-weibo',
|
908 |
'\f120' => 'terminal',
|
909 |
'\f034' => 'text-height',
|
910 |
'\f035' => 'text-width',
|
921 |
'\f057' => 'times-circle',
|
922 |
'\f05c' => 'times-circle-o',
|
923 |
'\f043' => 'tint',
|
924 |
+
'\f150' => 'toggle-down',
|
925 |
+
'\f191' => 'toggle-left',
|
926 |
+
'\f204' => 'toggle-off',
|
927 |
+
'\f205' => 'toggle-on',
|
928 |
+
'\f152' => 'toggle-right',
|
929 |
+
'\f151' => 'toggle-up',
|
930 |
+
'\f238' => 'train',
|
931 |
+
'\f224' => 'transgender',
|
932 |
+
'\f225' => 'transgender-alt',
|
933 |
+
'\f1f8' => 'trash',
|
934 |
'\f014' => 'trash-o',
|
935 |
+
'\f1bb' => 'tree',
|
936 |
'\f181' => 'trello',
|
937 |
'\f091' => 'trophy',
|
938 |
'\f0d1' => 'truck',
|
939 |
'\f195' => 'try',
|
940 |
+
'\f1e4' => 'tty',
|
941 |
'\f173' => 'tumblr',
|
942 |
'\f174' => 'tumblr-square',
|
943 |
+
'\f195' => 'turkish-lira',
|
944 |
+
'\f1e8' => 'twitch',
|
945 |
'\f099' => 'twitter',
|
946 |
'\f081' => 'twitter-square',
|
947 |
'\f0e9' => 'umbrella',
|
948 |
'\f0cd' => 'underline',
|
949 |
'\f0e2' => 'undo',
|
950 |
+
'\f19c' => 'university',
|
951 |
+
'\f127' => 'unlink',
|
952 |
'\f09c' => 'unlock',
|
953 |
'\f13e' => 'unlock-alt',
|
954 |
+
'\f0dc' => 'unsorted',
|
955 |
'\f093' => 'upload',
|
956 |
'\f155' => 'usd',
|
957 |
'\f007' => 'user',
|
958 |
'\f0f0' => 'user-md',
|
959 |
+
'\f234' => 'user-plus',
|
960 |
+
'\f21b' => 'user-secret',
|
961 |
+
'\f235' => 'user-times',
|
962 |
'\f0c0' => 'users',
|
963 |
+
'\f221' => 'venus',
|
964 |
+
'\f226' => 'venus-double',
|
965 |
+
'\f228' => 'venus-mars',
|
966 |
+
'\f237' => 'viacoin',
|
967 |
'\f03d' => 'video-camera',
|
968 |
'\f194' => 'vimeo-square',
|
969 |
+
'\f1ca' => 'vine',
|
970 |
'\f189' => 'vk',
|
971 |
'\f027' => 'volume-down',
|
972 |
'\f026' => 'volume-off',
|
973 |
'\f028' => 'volume-up',
|
974 |
+
'\f071' => 'warning',
|
975 |
+
'\f1d7' => 'wechat',
|
976 |
'\f18a' => 'weibo',
|
977 |
+
'\f1d7' => 'weixin',
|
978 |
+
'\f232' => 'whatsapp',
|
979 |
'\f193' => 'wheelchair',
|
980 |
+
'\f1eb' => 'wifi',
|
981 |
'\f17a' => 'windows',
|
982 |
+
'\f159' => 'won',
|
983 |
+
'\f19a' => 'wordpress',
|
984 |
'\f0ad' => 'wrench',
|
985 |
'\f168' => 'xing',
|
986 |
'\f169' => 'xing-square',
|
987 |
+
'\f19e' => 'yahoo',
|
988 |
+
'\f1e9' => 'yelp',
|
989 |
+
'\f157' => 'yen',
|
990 |
'\f167' => 'youtube',
|
991 |
'\f16a' => 'youtube-play',
|
992 |
+
'\f166' => 'youtube-square',
|
993 |
),
|
994 |
|
995 |
'awesome_icons_socials' =>array(
|
plugin-fw/lib/yit-plugin-panel-wc.php
CHANGED
@@ -232,26 +232,6 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
232 |
}
|
233 |
}
|
234 |
|
235 |
-
/**
|
236 |
-
* Fire the action to print the custom tab
|
237 |
-
*
|
238 |
-
* @param $current_tab string
|
239 |
-
*
|
240 |
-
* @return void
|
241 |
-
* @since 1.0
|
242 |
-
* @author Antonino Scarfì <antonino.scarfi@yithemes.com>
|
243 |
-
*/
|
244 |
-
public function print_video_box() {
|
245 |
-
$file = $this->settings['options-path'] . '/video-box.php';
|
246 |
-
|
247 |
-
if ( ! file_exists( $file ) ) {
|
248 |
-
return;
|
249 |
-
}
|
250 |
-
|
251 |
-
$args = include_once( $file );
|
252 |
-
$this->yit_videobox( $args );
|
253 |
-
}
|
254 |
-
|
255 |
/**
|
256 |
* Update options
|
257 |
*
|
@@ -312,7 +292,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
|
312 |
wp_enqueue_script( 'woocommerce_settings', $woocommerce->plugin_url() . '/assets/js/admin/settings.min.js', array( 'jquery', 'jquery-ui-datepicker','jquery-ui-dialog', 'jquery-ui-sortable', 'iris', 'chosen' ), $woocommerce->version, true );
|
313 |
wp_enqueue_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.min.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
|
314 |
wp_localize_script( 'woocommerce_settings', 'woocommerce_settings_params', array(
|
315 |
-
'i18n_nav_warning' => __( 'The changes you have made will be lost if you leave this page.', '
|
316 |
) );
|
317 |
}
|
318 |
|
232 |
}
|
233 |
}
|
234 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
/**
|
236 |
* Update options
|
237 |
*
|
292 |
wp_enqueue_script( 'woocommerce_settings', $woocommerce->plugin_url() . '/assets/js/admin/settings.min.js', array( 'jquery', 'jquery-ui-datepicker','jquery-ui-dialog', 'jquery-ui-sortable', 'iris', 'chosen' ), $woocommerce->version, true );
|
293 |
wp_enqueue_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.min.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
|
294 |
wp_localize_script( 'woocommerce_settings', 'woocommerce_settings_params', array(
|
295 |
+
'i18n_nav_warning' => __( 'The changes you have made will be lost if you leave this page.', 'yith-plugin-fw' )
|
296 |
) );
|
297 |
}
|
298 |
|
plugin-fw/lib/yit-plugin-panel.php
CHANGED
@@ -46,21 +46,25 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
46 |
*/
|
47 |
private $_main_array_options = array();
|
48 |
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
|
|
55 |
public function __construct( $args = array() ) {
|
56 |
|
57 |
if ( ! empty( $args ) ) {
|
58 |
|
59 |
$default_args = array(
|
60 |
'parent_slug' => 'edit.php?',
|
61 |
-
'page_title' => __( 'Plugin Settings', '
|
62 |
-
'menu_title' => __( 'Settings', '
|
63 |
-
'capability' => 'manage_options'
|
|
|
|
|
64 |
);
|
65 |
|
66 |
$this->settings = wp_parse_args( $args, $default_args );
|
@@ -70,14 +74,11 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
70 |
$this->add_menu_page();
|
71 |
}
|
72 |
|
73 |
-
add_action( 'admin_init', array(
|
74 |
-
add_action( 'admin_menu', array(
|
75 |
-
add_action( 'admin_bar_menu', array(
|
76 |
-
add_action( 'admin_init', array(
|
77 |
|
78 |
-
/* Add VideoBox and InfoBox */
|
79 |
-
add_action( 'woocommerce_admin_field_boxinfo', array( $this, 'add_infobox' ), 10, 1 );
|
80 |
-
add_action( 'woocommerce_admin_field_videobox', array( $this, 'add_videobox' ), 10, 1 );
|
81 |
}
|
82 |
|
83 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
@@ -91,7 +92,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
91 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
92 |
*/
|
93 |
public function add_menu_page() {
|
94 |
-
add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', '
|
95 |
}
|
96 |
|
97 |
/**
|
@@ -118,14 +119,18 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
118 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
119 |
*/
|
120 |
public function admin_enqueue_scripts() {
|
|
|
|
|
|
|
121 |
//scripts
|
122 |
wp_enqueue_media();
|
123 |
wp_enqueue_script( 'jquery-ui' );
|
124 |
wp_enqueue_script( 'jquery-ui-core' );
|
125 |
wp_enqueue_script( 'jquery-ui-slider' );
|
|
|
126 |
wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
|
127 |
wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
|
128 |
-
wp_enqueue_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.
|
129 |
wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
|
130 |
wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
|
131 |
|
@@ -133,9 +138,14 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
133 |
wp_register_style( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/css/codemirror/codemirror.css' );
|
134 |
|
135 |
//styles
|
|
|
|
|
|
|
136 |
wp_enqueue_style( 'jquery-ui-overcast', YIT_CORE_PLUGIN_URL . '/assets/css/overcast/jquery-ui-1.8.9.custom.css', false, '1.8.9', 'all' );
|
137 |
wp_enqueue_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $this->version );
|
138 |
wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
|
|
|
|
|
139 |
}
|
140 |
|
141 |
/**
|
@@ -148,7 +158,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
148 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
149 |
*/
|
150 |
public function register_settings() {
|
151 |
-
register_setting( 'yit_' . $this->settings['parent'] . '_options', 'yit_' . $this->settings['parent'] . '_options', array(
|
152 |
}
|
153 |
|
154 |
/**
|
@@ -223,7 +233,15 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
223 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
224 |
*/
|
225 |
public function add_setting_page() {
|
226 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
/* === Duplicate Items Hack === */
|
228 |
$this->remove_duplicate_submenu_page();
|
229 |
do_action( 'yit_after_add_settings_page' );
|
@@ -261,6 +279,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
261 |
return;
|
262 |
}
|
263 |
?>
|
|
|
264 |
<div id="wrap" class="plugin-option">
|
265 |
<?php $this->message(); ?>
|
266 |
<h2><?php echo $this->get_tab_title() ?></h2>
|
@@ -270,12 +289,12 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
270 |
<p> </p>
|
271 |
<?php settings_fields( 'yit_' . $this->settings['parent'] . '_options' ); ?>
|
272 |
<input type="hidden" name="<?php echo $this->get_name_field( 'current_tab' ) ?>" value="<?php echo esc_attr( $current_tab ) ?>" />
|
273 |
-
<input type="submit" class="button-primary" value="<?php _e( 'Save Changes', '
|
274 |
</form>
|
275 |
<form method="post">
|
276 |
-
<?php $warning = __( 'If you continue with this action, you will reset all options in this page.', '
|
277 |
<input type="hidden" name="yit-action" value="reset" />
|
278 |
-
<input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset
|
279 |
</form>
|
280 |
<p> </p>
|
281 |
<?php endif ?>
|
@@ -409,17 +428,17 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
409 |
public function message() {
|
410 |
|
411 |
$message = array(
|
412 |
-
'element_exists' => $this->get_message( '<strong>' . __( 'The element you have entered already exists. Please, enter another name.', '
|
413 |
-
'saved' => $this->get_message( '<strong>' . __( 'Settings saved', '
|
414 |
-
'reset' => $this->get_message( '<strong>' . __( 'Settings reset', '
|
415 |
-
'delete' => $this->get_message( '<strong>' . __( 'Element deleted correctly.', '
|
416 |
-
'updated' => $this->get_message( '<strong>' . __( 'Element updated correctly.', '
|
417 |
-
'settings-updated' => $this->get_message( '<strong>' . __( 'Element updated correctly.', '
|
418 |
-
'imported' => $this->get_message( '<strong>' . __( 'Database imported correctly.', '
|
419 |
-
'no-imported' => $this->get_message( '<strong>' . __( 'An error has occurred during import. Please try again.', '
|
420 |
-
'file-not-valid' => $this->get_message( '<strong>' . __( 'The added file is not valid.', '
|
421 |
-
'cant-import' => $this->get_message( '<strong>' . __( 'Sorry, import is disabled.', '
|
422 |
-
'ord' => $this->get_message( '<strong>' . __( 'Sorting successful.', '
|
423 |
);
|
424 |
|
425 |
foreach ( $message as $key => $value ) {
|
@@ -698,7 +717,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
698 |
include $type;
|
699 |
}
|
700 |
else {
|
701 |
-
do_action( "yit_panel_{$option['type']}", $option, $db_value );
|
702 |
}
|
703 |
}
|
704 |
}
|
@@ -754,6 +773,25 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
|
|
754 |
}
|
755 |
}
|
756 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
757 |
}
|
758 |
|
759 |
}
|
46 |
*/
|
47 |
private $_main_array_options = array();
|
48 |
|
49 |
+
/**
|
50 |
+
* Constructor
|
51 |
+
*
|
52 |
+
* @since 1.0
|
53 |
+
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
54 |
+
*
|
55 |
+
* @param array $args
|
56 |
+
*/
|
57 |
public function __construct( $args = array() ) {
|
58 |
|
59 |
if ( ! empty( $args ) ) {
|
60 |
|
61 |
$default_args = array(
|
62 |
'parent_slug' => 'edit.php?',
|
63 |
+
'page_title' => __( 'Plugin Settings', 'yith-plugin-fw' ),
|
64 |
+
'menu_title' => __( 'Settings', 'yith-plugin-fw' ),
|
65 |
+
'capability' => 'manage_options',
|
66 |
+
'icon_url' => '',
|
67 |
+
'position' => null
|
68 |
);
|
69 |
|
70 |
$this->settings = wp_parse_args( $args, $default_args );
|
74 |
$this->add_menu_page();
|
75 |
}
|
76 |
|
77 |
+
add_action( 'admin_init', array( $this, 'register_settings' ) );
|
78 |
+
add_action( 'admin_menu', array( $this, 'add_setting_page' ), 20 );
|
79 |
+
add_action( 'admin_bar_menu', array( $this, 'add_admin_bar_menu' ), 100 );
|
80 |
+
add_action( 'admin_init', array( $this, 'add_fields' ) );
|
81 |
|
|
|
|
|
|
|
82 |
}
|
83 |
|
84 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
92 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
93 |
*/
|
94 |
public function add_menu_page() {
|
95 |
+
add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'manage_options', 'yit_plugin_panel', NULL, YIT_CORE_PLUGIN_URL . '/assets/images/yithemes-icon.png', 62 );
|
96 |
}
|
97 |
|
98 |
/**
|
119 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
120 |
*/
|
121 |
public function admin_enqueue_scripts() {
|
122 |
+
|
123 |
+
global $wp_scripts;
|
124 |
+
|
125 |
//scripts
|
126 |
wp_enqueue_media();
|
127 |
wp_enqueue_script( 'jquery-ui' );
|
128 |
wp_enqueue_script( 'jquery-ui-core' );
|
129 |
wp_enqueue_script( 'jquery-ui-slider' );
|
130 |
+
wp_enqueue_script( 'jquery-ui-dialog' );
|
131 |
wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
|
132 |
wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
|
133 |
+
wp_enqueue_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
|
134 |
wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
|
135 |
wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
|
136 |
|
138 |
wp_register_style( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/css/codemirror/codemirror.css' );
|
139 |
|
140 |
//styles
|
141 |
+
|
142 |
+
$jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.9.2';
|
143 |
+
|
144 |
wp_enqueue_style( 'jquery-ui-overcast', YIT_CORE_PLUGIN_URL . '/assets/css/overcast/jquery-ui-1.8.9.custom.css', false, '1.8.9', 'all' );
|
145 |
wp_enqueue_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $this->version );
|
146 |
wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
|
147 |
+
|
148 |
+
wp_enqueue_style( 'jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
|
149 |
}
|
150 |
|
151 |
/**
|
158 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
159 |
*/
|
160 |
public function register_settings() {
|
161 |
+
register_setting( 'yit_' . $this->settings['parent'] . '_options', 'yit_' . $this->settings['parent'] . '_options', array( $this, 'options_validate' ) );
|
162 |
}
|
163 |
|
164 |
/**
|
233 |
* @author Emanuela Castorina <emanuela.castorina@yithemes.it>
|
234 |
*/
|
235 |
public function add_setting_page() {
|
236 |
+
$this->settings['icon_url'] = isset( $this->settings['icon_url'] ) ? $this->settings['icon_url'] : '';
|
237 |
+
$this->settings['position'] = isset( $this->settings['position'] ) ? $this->settings['position'] : null;
|
238 |
+
$parent = $this->settings['parent_slug'] . $this->settings['parent_page'];
|
239 |
+
|
240 |
+
if ( ! empty( $parent ) ) {
|
241 |
+
add_submenu_page( $parent, $this->settings['page_title'], $this->settings['menu_title'], $this->settings['capability'], $this->settings['page'], array( $this, 'yit_panel' ) );
|
242 |
+
} else {
|
243 |
+
add_menu_page( $this->settings['page_title'], $this->settings['menu_title'], $this->settings['capability'], $this->settings['page'], array( $this, 'yit_panel' ), $this->settings['icon_url'], $this->settings['position'] );
|
244 |
+
}
|
245 |
/* === Duplicate Items Hack === */
|
246 |
$this->remove_duplicate_submenu_page();
|
247 |
do_action( 'yit_after_add_settings_page' );
|
279 |
return;
|
280 |
}
|
281 |
?>
|
282 |
+
<?php $this->print_video_box(); ?>
|
283 |
<div id="wrap" class="plugin-option">
|
284 |
<?php $this->message(); ?>
|
285 |
<h2><?php echo $this->get_tab_title() ?></h2>
|
289 |
<p> </p>
|
290 |
<?php settings_fields( 'yit_' . $this->settings['parent'] . '_options' ); ?>
|
291 |
<input type="hidden" name="<?php echo $this->get_name_field( 'current_tab' ) ?>" value="<?php echo esc_attr( $current_tab ) ?>" />
|
292 |
+
<input type="submit" class="button-primary" value="<?php _e( 'Save Changes', 'yith-plugin-fw' ) ?>" style="float:left;margin-right:10px;" />
|
293 |
</form>
|
294 |
<form method="post">
|
295 |
+
<?php $warning = __( 'If you continue with this action, you will reset all options in this page.', 'yith-plugin-fw' ) ?>
|
296 |
<input type="hidden" name="yit-action" value="reset" />
|
297 |
+
<input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset to Default', 'yith-plugin-fw' ) ?>" onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yith-plugin-fw' ) ?>');" />
|
298 |
</form>
|
299 |
<p> </p>
|
300 |
<?php endif ?>
|
428 |
public function message() {
|
429 |
|
430 |
$message = array(
|
431 |
+
'element_exists' => $this->get_message( '<strong>' . __( 'The element you have entered already exists. Please, enter another name.', 'yith-plugin-fw' ) . '</strong>', 'error', false ),
|
432 |
+
'saved' => $this->get_message( '<strong>' . __( 'Settings saved', 'yith-plugin-fw' ) . '.</strong>', 'updated', false ),
|
433 |
+
'reset' => $this->get_message( '<strong>' . __( 'Settings reset', 'yith-plugin-fw' ) . '.</strong>', 'updated', false ),
|
434 |
+
'delete' => $this->get_message( '<strong>' . __( 'Element deleted correctly.', 'yith-plugin-fw' ) . '</strong>', 'updated', false ),
|
435 |
+
'updated' => $this->get_message( '<strong>' . __( 'Element updated correctly.', 'yith-plugin-fw' ) . '</strong>', 'updated', false ),
|
436 |
+
'settings-updated' => $this->get_message( '<strong>' . __( 'Element updated correctly.', 'yith-plugin-fw' ) . '</strong>', 'updated', false ),
|
437 |
+
'imported' => $this->get_message( '<strong>' . __( 'Database imported correctly.', 'yith-plugin-fw' ) . '</strong>', 'updated', false ),
|
438 |
+
'no-imported' => $this->get_message( '<strong>' . __( 'An error has occurred during import. Please try again.', 'yith-plugin-fw' ) . '</strong>', 'error', false ),
|
439 |
+
'file-not-valid' => $this->get_message( '<strong>' . __( 'The added file is not valid.', 'yith-plugin-fw' ) . '</strong>', 'error', false ),
|
440 |
+
'cant-import' => $this->get_message( '<strong>' . __( 'Sorry, import is disabled.', 'yith-plugin-fw' ) . '</strong>', 'error', false ),
|
441 |
+
'ord' => $this->get_message( '<strong>' . __( 'Sorting successful.', 'yith-plugin-fw' ) . '</strong>', 'updated', false )
|
442 |
);
|
443 |
|
444 |
foreach ( $message as $key => $value ) {
|
717 |
include $type;
|
718 |
}
|
719 |
else {
|
720 |
+
do_action( "yit_panel_{$option['type']}", $option, $db_value, $custom_attributes );
|
721 |
}
|
722 |
}
|
723 |
}
|
773 |
}
|
774 |
}
|
775 |
|
776 |
+
/**
|
777 |
+
* Fire the action to print the custom tab
|
778 |
+
*
|
779 |
+
* @return void
|
780 |
+
* @since 1.0
|
781 |
+
* @author Antonino Scarfì <antonino.scarfi@yithemes.com>
|
782 |
+
*/
|
783 |
+
public function print_video_box() {
|
784 |
+
$file = $this->settings['options-path'] . '/video-box.php';
|
785 |
+
|
786 |
+
if ( ! file_exists( $file ) ) {
|
787 |
+
return;
|
788 |
+
}
|
789 |
+
|
790 |
+
$args = include_once( $file );
|
791 |
+
|
792 |
+
$this->add_videobox( $args );
|
793 |
+
}
|
794 |
+
|
795 |
}
|
796 |
|
797 |
}
|
plugin-fw/lib/yit-plugin-subpanel.php
CHANGED
@@ -98,7 +98,7 @@ if ( ! class_exists( 'YIT_Plugin_SubPanel' ) ) {
|
|
98 |
$logo = $admin_logo;
|
99 |
}
|
100 |
|
101 |
-
add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', '
|
102 |
add_submenu_page( 'yit_plugin_panel', $this->settings['label'], $this->settings['label'], 'manage_options', $this->settings['page'], array( $this, 'yit_panel' ) );
|
103 |
remove_submenu_page( 'yit_plugin_panel', 'yit_plugin_panel' );
|
104 |
|
@@ -139,12 +139,12 @@ if ( ! class_exists( 'YIT_Plugin_SubPanel' ) ) {
|
|
139 |
<p> </p>
|
140 |
<?php settings_fields( 'yit_' . $this->settings['page'] . '_options' ); ?>
|
141 |
<input type="hidden" name="<?php echo $this->get_name_field( 'current_tab' ) ?>" value="<?php echo esc_attr( $current_tab ) ?>" />
|
142 |
-
<input type="submit" class="button-primary" value="<?php _e( 'Save Changes', '
|
143 |
</form>
|
144 |
<form method="post">
|
145 |
-
<?php $warning = __( 'If you continue with this action, you will reset all the options in this page.', '
|
146 |
<input type="hidden" name="yit-action" value="reset" />
|
147 |
-
<input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset
|
148 |
</form>
|
149 |
<p> </p>
|
150 |
<?php endif ?>
|
98 |
$logo = $admin_logo;
|
99 |
}
|
100 |
|
101 |
+
add_menu_page( 'yit_plugin_panel', __( 'YIT Plugins', 'yith-plugin-fw' ), 'nosuchcapability', 'yit_plugin_panel', NULL, $logo, 62 );
|
102 |
add_submenu_page( 'yit_plugin_panel', $this->settings['label'], $this->settings['label'], 'manage_options', $this->settings['page'], array( $this, 'yit_panel' ) );
|
103 |
remove_submenu_page( 'yit_plugin_panel', 'yit_plugin_panel' );
|
104 |
|
139 |
<p> </p>
|
140 |
<?php settings_fields( 'yit_' . $this->settings['page'] . '_options' ); ?>
|
141 |
<input type="hidden" name="<?php echo $this->get_name_field( 'current_tab' ) ?>" value="<?php echo esc_attr( $current_tab ) ?>" />
|
142 |
+
<input type="submit" class="button-primary" value="<?php _e( 'Save Changes', 'yith-plugin-fw' ) ?>" style="float:left;margin-right:10px;" />
|
143 |
</form>
|
144 |
<form method="post">
|
145 |
+
<?php $warning = __( 'If you continue with this action, you will reset all the options in this page.', 'yith-plugin-fw' ) ?>
|
146 |
<input type="hidden" name="yit-action" value="reset" />
|
147 |
+
<input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset to Default', 'yith-plugin-fw' ) ?>" onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yith-plugin-fw' ) ?>');" />
|
148 |
</form>
|
149 |
<p> </p>
|
150 |
<?php endif ?>
|
plugin-fw/lib/yit-pointers.php
CHANGED
@@ -67,11 +67,11 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
|
|
67 |
'options' => array(
|
68 |
'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">Yithemes.com</a> %s
|
69 |
<a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
|
70 |
-
__( 'Plugins Activated', '
|
71 |
__( 'From now on, you can find all plugin options in YIT Plugin menu.
|
72 |
-
For each plugin installed, customization settings will be available as a new entry in YIT Plugin menu.', '
|
73 |
-
__( 'Discover all our plugins available on:', '
|
74 |
-
__( 'and', '
|
75 |
),
|
76 |
),
|
77 |
);
|
@@ -81,13 +81,13 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
|
|
81 |
'options' => array(
|
82 |
'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">Yithemes.com</a> %s
|
83 |
<a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
|
84 |
-
__( 'Plugins Upgraded', '
|
85 |
__( 'From now on, you can find all options of your plugins in YIT Plugin menu.
|
86 |
Any time one of our plugins is updated, a new entry will be added to this menu.
|
87 |
For example, after the update, plugin options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)
|
88 |
-
will be moved from previous location to YIT Plugin tab.', '
|
89 |
-
__( 'Discover all our plugins available on:', '
|
90 |
-
__( 'and', '
|
91 |
),
|
92 |
),
|
93 |
);
|
67 |
'options' => array(
|
68 |
'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">Yithemes.com</a> %s
|
69 |
<a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
|
70 |
+
__( 'Plugins Activated', 'yith-plugin-fw' ),
|
71 |
__( 'From now on, you can find all plugin options in YIT Plugin menu.
|
72 |
+
For each plugin installed, customization settings will be available as a new entry in YIT Plugin menu.', 'yith-plugin-fw' ),
|
73 |
+
__( 'Discover all our plugins available on:', 'yith-plugin-fw' ),
|
74 |
+
__( 'and', 'yith-plugin-fw' )
|
75 |
),
|
76 |
),
|
77 |
);
|
81 |
'options' => array(
|
82 |
'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">Yithemes.com</a> %s
|
83 |
<a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
|
84 |
+
__( 'Plugins Upgraded', 'yith-plugin-fw' ),
|
85 |
__( 'From now on, you can find all options of your plugins in YIT Plugin menu.
|
86 |
Any time one of our plugins is updated, a new entry will be added to this menu.
|
87 |
For example, after the update, plugin options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)
|
88 |
+
will be moved from previous location to YIT Plugin tab.', 'yith-plugin-fw' ),
|
89 |
+
__( 'Discover all our plugins available on:', 'yith-plugin-fw' ),
|
90 |
+
__( 'and', 'yith-plugin-fw' )
|
91 |
),
|
92 |
),
|
93 |
);
|
plugin-fw/lib/yit-upgrade.php
CHANGED
@@ -59,6 +59,10 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
59 |
if( is_network_admin() ){
|
60 |
add_action( 'admin_enqueue_scripts', array( $this, 'network_admin_enqueue_scripts' ) );
|
61 |
}
|
|
|
|
|
|
|
|
|
62 |
}
|
63 |
|
64 |
/**
|
@@ -116,11 +120,11 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
116 |
$update_url = array();
|
117 |
$changelogs = array();
|
118 |
$strings = array(
|
119 |
-
'new_version' => __( 'There is a new version of %plugin_name% available.', '
|
120 |
-
'latest' => __( 'View version %latest% details.', '
|
121 |
-
'unavailable' => __( 'Automatic update is unavailable for this plugin,', '
|
122 |
-
'activate' => __( 'please <a href="%activate_link%">activate</a> your copy of %plugin_name%.', '
|
123 |
-
'update_now' => __( 'Update now.', '
|
124 |
|
125 |
);
|
126 |
|
@@ -129,7 +133,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
129 |
|
130 |
$update_url[ $init ] = wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin-multisite&plugin=') . $init, 'upgrade-plugin-multisite_' . $init );
|
131 |
$changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
|
132 |
-
$details_url[ $init ] = '#TB_inline' . add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' );
|
133 |
$changelogs[ $init ] = $this->in_theme_update_message( $this->_plugins[ $init ], $this->_plugins[ $init ]['info']['changelog'], $changelog_id, false );
|
134 |
}
|
135 |
|
@@ -223,7 +227,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
223 |
return new WP_Error( 'no_package', $upgrader->strings['no_package'] );
|
224 |
}
|
225 |
|
226 |
-
$upgrader->skin->feedback( 'downloading_package', __( 'Yithemes Repository', '
|
227 |
|
228 |
$download_file = $this->_download_url( $package, $args );
|
229 |
|
@@ -362,6 +366,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
362 |
$obj->new_version = (string)$plugin_remote_info->latest;
|
363 |
$obj->changelog = (string)$plugin_remote_info->changelog;
|
364 |
$obj->package = $package;
|
|
|
365 |
$transient->response[$init] = $obj;
|
366 |
}
|
367 |
|
@@ -400,7 +405,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
400 |
$r = $current->response[ $init ];
|
401 |
|
402 |
$changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
|
403 |
-
$details_url = '#TB_inline' . add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' );
|
404 |
|
405 |
/**
|
406 |
* @see wp_plugin_update_rows() in wp-single\wp-admin\includes\update.php
|
@@ -411,13 +416,13 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
411 |
echo '<tr class="plugin-update-tr"><td colspan="' . $wp_list_table->get_column_count() . '" class="plugin-update colspanchange"><div class="update-message">';
|
412 |
|
413 |
if( ! current_user_can( 'update_plugins' ) ){
|
414 |
-
printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>.', '
|
415 |
}elseif( is_plugin_active_for_network( $init ) ){
|
416 |
-
printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>You have to activate the plugin on a single site of the network to benefit from automatic updates.</em>', '
|
417 |
}elseif ( empty( $r->package ) ) {
|
418 |
-
printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>Automatic update is unavailable for this plugin, please <a href="%5$s" title="Licence activation">activate</a> your copy of %6s.</em>', '
|
419 |
} else {
|
420 |
-
printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a> or <a href="%5$s">update now</a>.', '
|
421 |
}
|
422 |
|
423 |
/**
|
@@ -490,11 +495,11 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
|
|
490 |
$action = isset($_REQUEST['action']) ? $_REQUEST['action'] : '';
|
491 |
|
492 |
if( 'upgrade-plugin-multisite' != $action ){
|
493 |
-
wp_die( __( 'You can\'t update the plugins for this site.', '
|
494 |
}
|
495 |
|
496 |
if ( ! current_user_can( 'update_plugins' ) ) {
|
497 |
-
wp_die( __( 'You do not have sufficient permissions to update the plugins for this site.', '
|
498 |
}
|
499 |
|
500 |
$this->check_update( get_site_transient( 'update_plugins') , true );
|
59 |
if( is_network_admin() ){
|
60 |
add_action( 'admin_enqueue_scripts', array( $this, 'network_admin_enqueue_scripts' ) );
|
61 |
}
|
62 |
+
|
63 |
+
if( defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG ){
|
64 |
+
$this->_package_url = 'http://dev.yithemes.com';
|
65 |
+
}
|
66 |
}
|
67 |
|
68 |
/**
|
120 |
$update_url = array();
|
121 |
$changelogs = array();
|
122 |
$strings = array(
|
123 |
+
'new_version' => __( 'There is a new version of %plugin_name% available.', 'yith-plugin-fw' ),
|
124 |
+
'latest' => __( 'View version %latest% details.', 'yith-plugin-fw' ),
|
125 |
+
'unavailable' => __( 'Automatic update is unavailable for this plugin,', 'yith-plugin-fw' ),
|
126 |
+
'activate' => __( 'please <a href="%activate_link%">activate</a> your copy of %plugin_name%.', 'yith-plugin-fw' ),
|
127 |
+
'update_now' => __( 'Update now.', 'yith-plugin-fw' )
|
128 |
|
129 |
);
|
130 |
|
133 |
|
134 |
$update_url[ $init ] = wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin-multisite&plugin=') . $init, 'upgrade-plugin-multisite_' . $init );
|
135 |
$changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
|
136 |
+
$details_url[ $init ] = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' ) );
|
137 |
$changelogs[ $init ] = $this->in_theme_update_message( $this->_plugins[ $init ], $this->_plugins[ $init ]['info']['changelog'], $changelog_id, false );
|
138 |
}
|
139 |
|
227 |
return new WP_Error( 'no_package', $upgrader->strings['no_package'] );
|
228 |
}
|
229 |
|
230 |
+
$upgrader->skin->feedback( 'downloading_package', __( 'Yithemes Repository', 'yith-plugin-fw' ) );
|
231 |
|
232 |
$download_file = $this->_download_url( $package, $args );
|
233 |
|
366 |
$obj->new_version = (string)$plugin_remote_info->latest;
|
367 |
$obj->changelog = (string)$plugin_remote_info->changelog;
|
368 |
$obj->package = $package;
|
369 |
+
$obj->plugin = $init;
|
370 |
$transient->response[$init] = $obj;
|
371 |
}
|
372 |
|
405 |
$r = $current->response[ $init ];
|
406 |
|
407 |
$changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
|
408 |
+
$details_url = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' ) );
|
409 |
|
410 |
/**
|
411 |
* @see wp_plugin_update_rows() in wp-single\wp-admin\includes\update.php
|
416 |
echo '<tr class="plugin-update-tr"><td colspan="' . $wp_list_table->get_column_count() . '" class="plugin-update colspanchange"><div class="update-message">';
|
417 |
|
418 |
if( ! current_user_can( 'update_plugins' ) ){
|
419 |
+
printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>.', 'yith-plugin-fw'), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
|
420 |
}elseif( is_plugin_active_for_network( $init ) ){
|
421 |
+
printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>You have to activate the plugin on a single site of the network to benefit from automatic updates.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
|
422 |
}elseif ( empty( $r->package ) ) {
|
423 |
+
printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>Automatic update is unavailable for this plugin, please <a href="%5$s" title="Licence activation">activate</a> your copy of %6s.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, YIT_Plugin_Licence()->get_licence_activation_page_url(), $this->_plugins[ $init ]['info']['Name'] );
|
424 |
} else {
|
425 |
+
printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a> or <a href="%5$s">update now</a>.', 'yith-plugin-fw'), $this->_plugins[ $init ]['info']['Name'], esc_url($details_url), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin&plugin=') . $init, 'upgrade-plugin_' . $init ) );
|
426 |
}
|
427 |
|
428 |
/**
|
495 |
$action = isset($_REQUEST['action']) ? $_REQUEST['action'] : '';
|
496 |
|
497 |
if( 'upgrade-plugin-multisite' != $action ){
|
498 |
+
wp_die( __( 'You can\'t update the plugins for this site.', 'yith-plugin-fw' ) );
|
499 |
}
|
500 |
|
501 |
if ( ! current_user_can( 'update_plugins' ) ) {
|
502 |
+
wp_die( __( 'You do not have sufficient permissions to update the plugins for this site.', 'yith-plugin-fw' ) );
|
503 |
}
|
504 |
|
505 |
$this->check_update( get_site_transient( 'update_plugins') , true );
|
plugin-fw/lib/yit-video.php
CHANGED
@@ -59,7 +59,8 @@ if ( ! class_exists( 'YIT_Video' ) ) {
|
|
59 |
|
60 |
if( ! $echo ) ob_start();
|
61 |
|
62 |
-
$id = preg_replace( '/[&|&]feature=([\w\-]*)/', '', $id );
|
|
|
63 |
|
64 |
<div class="post_video youtube">
|
65 |
<iframe wmode="transparent" width="<?php echo $width; ?>" height="<?php echo $height; ?>" src="https://www.youtube.com/embed/<?php echo $id; ?>?wmode=transparent" frameborder="0" allowfullscreen></iframe>
|
@@ -98,7 +99,8 @@ if ( ! class_exists( 'YIT_Video' ) ) {
|
|
98 |
|
99 |
if( ! $echo ) ob_start();
|
100 |
|
101 |
-
$id = preg_replace( '/[&|&]feature=([\w\-]*)/', '', $id )
|
|
|
102 |
|
103 |
<div class="post_video vimeo">
|
104 |
<iframe wmode="transparent" src="http://player.vimeo.com/video/<?php echo $id; ?>?title=0&byline=0&portrait=0" width="<?php echo $width; ?>" height="<?php echo $height; ?>" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
@@ -121,17 +123,23 @@ if ( ! class_exists( 'YIT_Video' ) ) {
|
|
121 |
*/
|
122 |
public static function video_id_by_url( $url ) {
|
123 |
$parsed = parse_url( esc_url( $url ) );
|
|
|
|
|
|
|
124 |
|
125 |
-
switch ( $parsed['host'] ) {
|
126 |
|
|
|
|
|
127 |
case 'www.youtube.com' :
|
128 |
case 'youtu.be' :
|
|
|
129 |
$id = self::youtube_id_by_url( $url );
|
130 |
return "youtube:$id";
|
131 |
|
|
|
132 |
case 'vimeo.com' :
|
133 |
-
preg_match( '/http
|
134 |
-
$id = $matches[
|
135 |
return "vimeo:$id";
|
136 |
|
137 |
default :
|
@@ -152,7 +160,7 @@ if ( ! class_exists( 'YIT_Video' ) ) {
|
|
152 |
* @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
|
153 |
*/
|
154 |
protected static function youtube_id_by_url( $url ) {
|
155 |
-
if ( preg_match( '/http
|
156 |
$url = parse_url($url, PHP_URL_PATH);
|
157 |
$url = str_replace( '/', '', $url);
|
158 |
return $url;
|
@@ -162,12 +170,12 @@ if ( ! class_exists( 'YIT_Video' ) ) {
|
|
162 |
$url = str_replace( 'v=', '', $arr['query'] );
|
163 |
return $url;
|
164 |
|
165 |
-
} elseif ( preg_match( '/http
|
166 |
$arr = parse_url($url);
|
167 |
$url = str_replace( '/v/', '', $arr['path'] );
|
168 |
return $url;
|
169 |
|
170 |
-
} elseif ( preg_match( '/http
|
171 |
$arr = parse_url($url);
|
172 |
$url = str_replace( '/embed/', '', $arr['path'] );
|
173 |
return $url;
|
59 |
|
60 |
if( ! $echo ) ob_start();
|
61 |
|
62 |
+
$id = preg_replace( '/[&|&]feature=([\w\-]*)/', '', $id );
|
63 |
+
$id = preg_replace( '/(youtube|vimeo):/', '', $id ); ?>
|
64 |
|
65 |
<div class="post_video youtube">
|
66 |
<iframe wmode="transparent" width="<?php echo $width; ?>" height="<?php echo $height; ?>" src="https://www.youtube.com/embed/<?php echo $id; ?>?wmode=transparent" frameborder="0" allowfullscreen></iframe>
|
99 |
|
100 |
if( ! $echo ) ob_start();
|
101 |
|
102 |
+
$id = preg_replace( '/[&|&]feature=([\w\-]*)/', '', $id );
|
103 |
+
$id = preg_replace( '/(youtube|vimeo):/', '', $id ); ?>
|
104 |
|
105 |
<div class="post_video vimeo">
|
106 |
<iframe wmode="transparent" src="http://player.vimeo.com/video/<?php echo $id; ?>?title=0&byline=0&portrait=0" width="<?php echo $width; ?>" height="<?php echo $height; ?>" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
123 |
*/
|
124 |
public static function video_id_by_url( $url ) {
|
125 |
$parsed = parse_url( esc_url( $url ) );
|
126 |
+
if ( ! isset( $parsed['host'] ) ) {
|
127 |
+
return false;
|
128 |
+
}
|
129 |
|
|
|
130 |
|
131 |
+
switch ( $parsed['host'] ) {
|
132 |
+
case 'youtube.com' :
|
133 |
case 'www.youtube.com' :
|
134 |
case 'youtu.be' :
|
135 |
+
case 'www.youtu.be' :
|
136 |
$id = self::youtube_id_by_url( $url );
|
137 |
return "youtube:$id";
|
138 |
|
139 |
+
case 'www.vimeo.com' :
|
140 |
case 'vimeo.com' :
|
141 |
+
preg_match( '/http(s)?:\/\/(\w+.)?vimeo\.com\/(.*)?(\/[0-9]+)/', $url, $matches );
|
142 |
+
$id = trim( $matches[4], '/' );
|
143 |
return "vimeo:$id";
|
144 |
|
145 |
default :
|
160 |
* @author Antonino Scarfi' <antonino.scarfi@yithemes.com>
|
161 |
*/
|
162 |
protected static function youtube_id_by_url( $url ) {
|
163 |
+
if ( preg_match( '/http(s)?:\/\/youtu.be/', $url, $matches) ) {
|
164 |
$url = parse_url($url, PHP_URL_PATH);
|
165 |
$url = str_replace( '/', '', $url);
|
166 |
return $url;
|
170 |
$url = str_replace( 'v=', '', $arr['query'] );
|
171 |
return $url;
|
172 |
|
173 |
+
} elseif ( preg_match( '/http(s)?:\/\/(\w+.)?youtube.com\/v/', $url, $matches) ) {
|
174 |
$arr = parse_url($url);
|
175 |
$url = str_replace( '/v/', '', $arr['path'] );
|
176 |
return $url;
|
177 |
|
178 |
+
} elseif ( preg_match( '/http(s)?:\/\/(\w+.)?youtube.com\/embed/', $url, $matches) ) {
|
179 |
$arr = parse_url($url);
|
180 |
$url = str_replace( '/embed/', '', $arr['path'] );
|
181 |
return $url;
|
plugin-fw/licence/assets/css/yit-licence.css
CHANGED
@@ -315,6 +315,19 @@
|
|
315 |
outline: 0;
|
316 |
}
|
317 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
/* === Responsive === */
|
319 |
|
320 |
@media (max-width: 767px) {}
|
315 |
outline: 0;
|
316 |
}
|
317 |
|
318 |
+
/* Licence FAQ */
|
319 |
+
.yit-container.product-licence-activation .activation-faq {
|
320 |
+
background: #ffffff;
|
321 |
+
margin-bottom: 20px;
|
322 |
+
border: 1px solid #dcdcdc;
|
323 |
+
padding: 0 15px;
|
324 |
+
border-radius: 3px;
|
325 |
+
}
|
326 |
+
|
327 |
+
.yit-container.product-licence-activation .activation-faq h3{
|
328 |
+
color: #808a97;
|
329 |
+
}
|
330 |
+
|
331 |
/* === Responsive === */
|
332 |
|
333 |
@media (max-width: 767px) {}
|
plugin-fw/licence/lib/yit-licence.php
CHANGED
@@ -62,7 +62,12 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
62 |
* @since 1.0
|
63 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
64 |
*/
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
/**
|
68 |
* Premium products registration
|
@@ -99,9 +104,17 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
99 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
100 |
*/
|
101 |
public function get_home_url() {
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
}
|
104 |
|
|
|
105 |
/**
|
106 |
* Check if the request is ajax
|
107 |
*
|
@@ -127,9 +140,9 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
127 |
/**
|
128 |
* Support to YIT Framework < 2.0
|
129 |
*/
|
130 |
-
$filename
|
131 |
-
$script_path
|
132 |
-
$style_path
|
133 |
|
134 |
wp_enqueue_script( 'yit-licence', $script_path . '/licence/assets/js/' . $filename, array( 'jquery' ), '1.0.0', true );
|
135 |
wp_enqueue_style( 'yit-theme-licence', $style_path . '/licence/assets/css/yit-licence.css' );
|
@@ -145,9 +158,9 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
145 |
*/
|
146 |
public function localize_script() {
|
147 |
wp_localize_script( 'yit-licence', 'licence_message', array(
|
148 |
-
'error' =>
|
149 |
-
'errors' => __( '%
|
150 |
-
'server' => __( 'Unable to contact the remote server, please try again later. Thanks!', '
|
151 |
)
|
152 |
);
|
153 |
}
|
@@ -176,7 +189,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
176 |
'instance' => $this->get_home_url()
|
177 |
);
|
178 |
|
179 |
-
$api_uri = add_query_arg( $args, $this->get_api_uri( 'activation' ) );
|
180 |
$response = wp_remote_get( $api_uri );
|
181 |
|
182 |
if ( is_wp_error( $response ) ) {
|
@@ -205,6 +218,9 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
205 |
|
206 |
update_option( $this->_licence_option, $options );
|
207 |
|
|
|
|
|
|
|
208 |
/* === Licence Activation Template === */
|
209 |
$body['template'] = $this->show_activation_panel();
|
210 |
}
|
@@ -244,7 +260,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
244 |
'instance' => $this->get_home_url()
|
245 |
);
|
246 |
|
247 |
-
$api_uri = add_query_arg( $args, $this->get_api_uri( 'check' ) );
|
248 |
$response = wp_remote_get( $api_uri );
|
249 |
|
250 |
if ( ! is_wp_error( $response ) ) {
|
@@ -307,6 +323,9 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
307 |
|
308 |
/* === Update Plugin Licence Information === */
|
309 |
update_option( $this->_licence_option, $licence );
|
|
|
|
|
|
|
310 |
}
|
311 |
return $status;
|
312 |
}
|
@@ -328,7 +347,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
328 |
}
|
329 |
|
330 |
/* === Regenerate Update Plugins Transient === */
|
331 |
-
|
332 |
|
333 |
do_action( 'yit_licence_after_check' );
|
334 |
|
@@ -497,7 +516,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
497 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
498 |
*/
|
499 |
public function get_licence_activation_page_url() {
|
500 |
-
return add_query_arg( array( 'page' => $this->_settings['page'] ), admin_url( 'admin.php' ) );
|
501 |
}
|
502 |
|
503 |
|
@@ -526,14 +545,14 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
|
|
526 |
public function get_error_code_message( $code ) {
|
527 |
|
528 |
$error_strings = array(
|
529 |
-
'100' => __( 'Invalid Request', '
|
530 |
-
'101' => __( 'Invalid licence key', '
|
531 |
-
'102' => __( 'Software has been deactivated', '
|
532 |
-
'103' => __( 'Maximum number of activations exceeded', '
|
533 |
-
'104' => __( 'Invalid instance ID', '
|
534 |
-
'105' => __( 'Invalid security key', '
|
535 |
-
'106' => __( 'Licence key has expired', '
|
536 |
-
'107' => __( 'Licence key has been banned', '
|
537 |
);
|
538 |
|
539 |
return isset( $error_strings[$code] ) ? $error_strings[$code] : false;
|
62 |
* @since 1.0
|
63 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
64 |
*/
|
65 |
+
public function __construct(){
|
66 |
+
|
67 |
+
if( defined( 'YIT_LICENCE_DEBUG' ) && YIT_LICENCE_DEBUG ){
|
68 |
+
$this->_api_uri = 'http://dev.yithemes.com';
|
69 |
+
}
|
70 |
+
}
|
71 |
|
72 |
/**
|
73 |
* Premium products registration
|
104 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
105 |
*/
|
106 |
public function get_home_url() {
|
107 |
+
$home_url = home_url();
|
108 |
+
$schemes = apply_filters( 'yit_licence_url_schemes', array( 'https://', 'http://' ) );
|
109 |
+
|
110 |
+
foreach( $schemes as $scheme ){
|
111 |
+
$home_url = str_replace( $scheme, '', $home_url );
|
112 |
+
}
|
113 |
+
|
114 |
+
return $home_url;
|
115 |
}
|
116 |
|
117 |
+
|
118 |
/**
|
119 |
* Check if the request is ajax
|
120 |
*
|
140 |
/**
|
141 |
* Support to YIT Framework < 2.0
|
142 |
*/
|
143 |
+
$filename = function_exists( 'yit_load_js_file' ) ? yit_load_js_file( 'yit-licence.js' ) : 'yit-licence.js';
|
144 |
+
$script_path = defined( 'YIT_CORE_PLUGIN_URL' ) ? YIT_CORE_PLUGIN_URL : get_template_directory_uri() . '/core/plugin-fw';
|
145 |
+
$style_path = defined( 'YIT_CORE_PLUGIN_URL' ) ? YIT_CORE_PLUGIN_URL : get_template_directory_uri() . '/core/plugin-fw';
|
146 |
|
147 |
wp_enqueue_script( 'yit-licence', $script_path . '/licence/assets/js/' . $filename, array( 'jquery' ), '1.0.0', true );
|
148 |
wp_enqueue_style( 'yit-theme-licence', $style_path . '/licence/assets/css/yit-licence.css' );
|
158 |
*/
|
159 |
public function localize_script() {
|
160 |
wp_localize_script( 'yit-licence', 'licence_message', array(
|
161 |
+
'error' => sprintf( _x( '%s field cannot be empty', '%s = field name', 'yith-plugin-fw' ), '%field%' ), // sprintf must be used to avoid errors with '%field%' string in translation in .po file
|
162 |
+
'errors' => sprintf( __( '%s and %s fields cannot be empty', 'yith-plugin-fw' ), '%field_1%', '%field_2' ),
|
163 |
+
'server' => __( 'Unable to contact the remote server, please try again later. Thanks!', 'yith-plugin-fw' )
|
164 |
)
|
165 |
);
|
166 |
}
|
189 |
'instance' => $this->get_home_url()
|
190 |
);
|
191 |
|
192 |
+
$api_uri = esc_url_raw( add_query_arg( $args, $this->get_api_uri( 'activation' ) ) );
|
193 |
$response = wp_remote_get( $api_uri );
|
194 |
|
195 |
if ( is_wp_error( $response ) ) {
|
218 |
|
219 |
update_option( $this->_licence_option, $options );
|
220 |
|
221 |
+
/* === Update Plugin Licence Information === */
|
222 |
+
YIT_Upgrade()->force_regenerate_update_transient();
|
223 |
+
|
224 |
/* === Licence Activation Template === */
|
225 |
$body['template'] = $this->show_activation_panel();
|
226 |
}
|
260 |
'instance' => $this->get_home_url()
|
261 |
);
|
262 |
|
263 |
+
$api_uri = esc_url_raw( add_query_arg( $args, $this->get_api_uri( 'check' ) ) );
|
264 |
$response = wp_remote_get( $api_uri );
|
265 |
|
266 |
if ( ! is_wp_error( $response ) ) {
|
323 |
|
324 |
/* === Update Plugin Licence Information === */
|
325 |
update_option( $this->_licence_option, $licence );
|
326 |
+
|
327 |
+
/* === Update Plugin Licence Information === */
|
328 |
+
YIT_Upgrade()->force_regenerate_update_transient();
|
329 |
}
|
330 |
return $status;
|
331 |
}
|
347 |
}
|
348 |
|
349 |
/* === Regenerate Update Plugins Transient === */
|
350 |
+
YIT_Upgrade()->force_regenerate_update_transient();
|
351 |
|
352 |
do_action( 'yit_licence_after_check' );
|
353 |
|
516 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
517 |
*/
|
518 |
public function get_licence_activation_page_url() {
|
519 |
+
return esc_url( add_query_arg( array( 'page' => $this->_settings['page'] ), admin_url( 'admin.php' ) ) );
|
520 |
}
|
521 |
|
522 |
|
545 |
public function get_error_code_message( $code ) {
|
546 |
|
547 |
$error_strings = array(
|
548 |
+
'100' => __( 'Invalid Request', 'yith-plugin-fw' ),
|
549 |
+
'101' => __( 'Invalid licence key', 'yith-plugin-fw' ),
|
550 |
+
'102' => __( 'Software has been deactivated', 'yith-plugin-fw' ),
|
551 |
+
'103' => __( 'Maximum number of activations exceeded', 'yith-plugin-fw' ),
|
552 |
+
'104' => __( 'Invalid instance ID', 'yith-plugin-fw' ),
|
553 |
+
'105' => __( 'Invalid security key', 'yith-plugin-fw' ),
|
554 |
+
'106' => __( 'Licence key has expired', 'yith-plugin-fw' ),
|
555 |
+
'107' => __( 'Licence key has been banned', 'yith-plugin-fw' )
|
556 |
);
|
557 |
|
558 |
return isset( $error_strings[$code] ) ? $error_strings[$code] : false;
|
plugin-fw/licence/lib/yit-plugin-licence.php
CHANGED
@@ -57,11 +57,12 @@ if ( ! class_exists( 'YIT_Plugin_Licence' ) ) {
|
|
57 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
58 |
*/
|
59 |
public function __construct() {
|
|
|
60 |
|
61 |
$this->_settings = array(
|
62 |
'parent_page' => 'yit_plugin_panel',
|
63 |
-
'page_title' => __( 'Licence Activation', '
|
64 |
-
'menu_title' => __( 'Licence Activation', '
|
65 |
'capability' => 'manage_options',
|
66 |
'page' => 'yith_plugins_activation',
|
67 |
);
|
57 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
58 |
*/
|
59 |
public function __construct() {
|
60 |
+
parent::__construct();
|
61 |
|
62 |
$this->_settings = array(
|
63 |
'parent_page' => 'yit_plugin_panel',
|
64 |
+
'page_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
|
65 |
+
'menu_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
|
66 |
'capability' => 'manage_options',
|
67 |
'page' => 'yith_plugins_activation',
|
68 |
);
|
plugin-fw/licence/lib/yit-theme-licence.php
CHANGED
@@ -57,11 +57,12 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
|
|
57 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
58 |
*/
|
59 |
public function __construct() {
|
|
|
60 |
|
61 |
$this->_settings = array(
|
62 |
'parent_page' => 'yit_product_panel',
|
63 |
-
'page_title' => __( 'Licence Activation', '
|
64 |
-
'menu_title' => __( 'Licence Activation', '
|
65 |
'capability' => 'manage_options',
|
66 |
'page' => 'yith_plugins_activation',
|
67 |
);
|
@@ -103,16 +104,16 @@ if ( ! class_exists( 'YIT_Theme_Licence' ) ) {
|
|
103 |
|
104 |
$admin_tree = array(
|
105 |
'parent_slug' => apply_filters( 'yit_licence_parent_slug', 'yit_panel'),
|
106 |
-
'page_title' => __( 'Licence Activation', '
|
107 |
-
'menu_title' => __( 'Licence Activation', '
|
108 |
'capability' => 'manage_options',
|
109 |
'menu_slug' => 'yit_panel_licence',
|
110 |
'function' => 'show_activation_panel'
|
111 |
);
|
112 |
|
113 |
add_submenu_page( $admin_tree['parent_slug'],
|
114 |
-
sprintf( __( '%s', '
|
115 |
-
sprintf( __( '%s', '
|
116 |
$admin_tree['capability'],
|
117 |
$admin_tree['menu_slug'],
|
118 |
array( $this, $admin_tree['function'] )
|
57 |
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
58 |
*/
|
59 |
public function __construct() {
|
60 |
+
parent::__construct();
|
61 |
|
62 |
$this->_settings = array(
|
63 |
'parent_page' => 'yit_product_panel',
|
64 |
+
'page_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
|
65 |
+
'menu_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
|
66 |
'capability' => 'manage_options',
|
67 |
'page' => 'yith_plugins_activation',
|
68 |
);
|
104 |
|
105 |
$admin_tree = array(
|
106 |
'parent_slug' => apply_filters( 'yit_licence_parent_slug', 'yit_panel'),
|
107 |
+
'page_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
|
108 |
+
'menu_title' => __( 'Licence Activation', 'yith-plugin-fw' ),
|
109 |
'capability' => 'manage_options',
|
110 |
'menu_slug' => 'yit_panel_licence',
|
111 |
'function' => 'show_activation_panel'
|
112 |
);
|
113 |
|
114 |
add_submenu_page( $admin_tree['parent_slug'],
|
115 |
+
sprintf( __( '%s', 'yith-plugin-fw' ), $admin_tree['page_title'] ),
|
116 |
+
sprintf( __( '%s', 'yith-plugin-fw' ), $admin_tree['menu_title'] ),
|
117 |
$admin_tree['capability'],
|
118 |
$admin_tree['menu_slug'],
|
119 |
array( $this, $admin_tree['function'] )
|
plugin-fw/licence/templates/panel/activation/activation-panel.php
CHANGED
@@ -16,13 +16,27 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
|
|
16 |
?>
|
17 |
|
18 |
<div class="yit-container product-licence-activation">
|
19 |
-
<h2><?php _e( 'Yithemes Licence Activation', '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
<div class="licence-check-section">
|
22 |
<form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
|
23 |
-
<span class="licence-label" style="display: block;"><?php _e( 'Have you updated your licenses? Have you asked for an extension? Update information concerning your products.', '
|
24 |
<input type="hidden" name="action" value="update_licence_information-<?php echo $this->_product_type ?>" />
|
25 |
-
<input type="submit" name="submit" value="<?php _e( 'Update licence information', '
|
26 |
<div class="spinner"></div>
|
27 |
</form>
|
28 |
</div>
|
@@ -32,7 +46,7 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
|
|
32 |
|
33 |
<?php if( ! empty( $to_active_products ) ) : ?>
|
34 |
<h3 class="to-active">
|
35 |
-
<?php _e( 'Products to be activated', '
|
36 |
<span class="spinner"></span>
|
37 |
</h3>
|
38 |
<div class="to-active-wrapper">
|
@@ -51,7 +65,7 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
|
|
51 |
<input type="text" name="licence_key" placeholder="Licence Key" value="" class="licence-key" />
|
52 |
</td>
|
53 |
<td class="activate-button">
|
54 |
-
<input type="submit" name="submit" value="<?php _e( 'Activate', '
|
55 |
</td>
|
56 |
</tr>
|
57 |
<input type="hidden" name="action" value="activate-<?php echo $this->_product_type ?>" />
|
@@ -70,16 +84,16 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
|
|
70 |
<!-- Activated Products -->
|
71 |
|
72 |
<?php if( ! empty( $activated_products ) ) : ?>
|
73 |
-
<h3><?php _e( 'Activated', '
|
74 |
<table class="expired-table">
|
75 |
<thead>
|
76 |
<tr>
|
77 |
-
<th><?php _e( 'Product Name', '
|
78 |
-
<th><?php _e( 'Email', '
|
79 |
-
<th><?php _e( 'Licence Key', '
|
80 |
-
<th><?php _e( 'Expires', '
|
81 |
-
<th><?php _e( 'Remaining', '
|
82 |
-
<th><?php _e( 'Renew', '
|
83 |
</tr>
|
84 |
</thead>
|
85 |
<tbody>
|
@@ -90,9 +104,9 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
|
|
90 |
<td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
|
91 |
<td class="product-licence-expires"><?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?></td>
|
92 |
<td class="product-licence-remaining">
|
93 |
-
<?php printf( __( '%1s out of %2s', '
|
94 |
</td>
|
95 |
-
<td><a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank"><?php _e( 'Renew', '
|
96 |
</tr>
|
97 |
<?php endforeach; ?>
|
98 |
</tbody>
|
@@ -102,13 +116,13 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
|
|
102 |
<!-- Banned Products -->
|
103 |
|
104 |
<?php if( ! empty( $banned_products ) ) : ?>
|
105 |
-
<h3><?php _e( 'Banned', '
|
106 |
<table class="expired-table">
|
107 |
<thead>
|
108 |
<tr>
|
109 |
-
<th><?php _e( 'Product Name', '
|
110 |
-
<th><?php _e( 'Email', '
|
111 |
-
<th><?php _e( 'Licence Key', '
|
112 |
</tr>
|
113 |
</thead>
|
114 |
<tbody>
|
@@ -126,15 +140,15 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
|
|
126 |
<!-- Expired Products -->
|
127 |
|
128 |
<?php if( ! empty( $expired_products ) ) : ?>
|
129 |
-
<h3><?php _e( 'Expired', '
|
130 |
<table class="expired-table">
|
131 |
<thead>
|
132 |
<tr>
|
133 |
-
<th><?php _e( 'Product Name', '
|
134 |
-
<th><?php _e( 'Email', '
|
135 |
-
<th><?php _e( 'Licence Key', '
|
136 |
-
<th><?php _e( 'Expires', '
|
137 |
-
<th><?php _e( 'Renew', '
|
138 |
</tr>
|
139 |
</thead>
|
140 |
<tbody>
|
@@ -144,7 +158,7 @@ $banned_products = isset( $no_active_products[ '107' ] ) ? $no_active_produc
|
|
144 |
<td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
|
145 |
<td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
|
146 |
<td class="product-licence-expires"><?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?></td>
|
147 |
-
<td><a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank"><?php _e( 'Renew', '
|
148 |
</tr>
|
149 |
<?php endforeach; ?>
|
150 |
</tbody>
|
16 |
?>
|
17 |
|
18 |
<div class="yit-container product-licence-activation">
|
19 |
+
<h2><?php _e( 'Yithemes Licence Activation', 'yith-plugin-fw' ) ?></h2>
|
20 |
+
|
21 |
+
<?php if( is_a( $this, 'YIT_Theme_Licence' ) ) : ?>
|
22 |
+
<div class="activation-faq">
|
23 |
+
<h3><?php _e( 'I cannot find the license key for activating the theme I have bought some time ago. Where can I find it?', 'yith-plugin-fw' ) ?></h3>
|
24 |
+
<p>
|
25 |
+
<?php
|
26 |
+
_e( 'If you have purchased one of our products before 27 January 2015, you can benefit from support and updates (the services offered with the license)
|
27 |
+
until 27 January 2016 and you do not have to purchase it again to get a new license key, because, before this date, your license used to be activated automatically by our system.
|
28 |
+
After 27 January 2016, instead, if you want to benefit from support and updates you have to buy a new license and activate it through the license key you will be
|
29 |
+
provided with and that you can find in your YIThemes account, in section "My licenses".', 'yith-plugin-fw' )
|
30 |
+
?>
|
31 |
+
</p>
|
32 |
+
</div>
|
33 |
+
<?php endif; ?>
|
34 |
|
35 |
<div class="licence-check-section">
|
36 |
<form method="post" id="licence-check-update" action="<?php echo admin_url( 'admin-ajax.php' ) ?>">
|
37 |
+
<span class="licence-label" style="display: block;"><?php _e( 'Have you updated your licenses? Have you asked for an extension? Update information concerning your products.', 'yith-plugin-fw' ); ?></span>
|
38 |
<input type="hidden" name="action" value="update_licence_information-<?php echo $this->_product_type ?>" />
|
39 |
+
<input type="submit" name="submit" value="<?php _e( 'Update licence information', 'yith-plugin-fw' ) ?>" class="button-licence licence-check" />
|
40 |
<div class="spinner"></div>
|
41 |
</form>
|
42 |
</div>
|
46 |
|
47 |
<?php if( ! empty( $to_active_products ) ) : ?>
|
48 |
<h3 class="to-active">
|
49 |
+
<?php _e( 'Products to be activated', 'yith-plugin-fw' ) ?>
|
50 |
<span class="spinner"></span>
|
51 |
</h3>
|
52 |
<div class="to-active-wrapper">
|
65 |
<input type="text" name="licence_key" placeholder="Licence Key" value="" class="licence-key" />
|
66 |
</td>
|
67 |
<td class="activate-button">
|
68 |
+
<input type="submit" name="submit" value="<?php _e( 'Activate', 'yith-plugin-fw' )?>" class="button-licence licence-activation" data-formid="<?php echo $info['product_id'] ?>"/>
|
69 |
</td>
|
70 |
</tr>
|
71 |
<input type="hidden" name="action" value="activate-<?php echo $this->_product_type ?>" />
|
84 |
<!-- Activated Products -->
|
85 |
|
86 |
<?php if( ! empty( $activated_products ) ) : ?>
|
87 |
+
<h3><?php _e( 'Activated', 'yith-plugin-fw' ) ?></h3>
|
88 |
<table class="expired-table">
|
89 |
<thead>
|
90 |
<tr>
|
91 |
+
<th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
|
92 |
+
<th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
|
93 |
+
<th><?php _e( 'Licence Key', 'yith-plugin-fw' ) ?></th>
|
94 |
+
<th><?php _e( 'Expires', 'yith-plugin-fw' ) ?></th>
|
95 |
+
<th><?php _e( 'Remaining', 'yith-plugin-fw' ) ?></th>
|
96 |
+
<th><?php _e( 'Renew', 'yith-plugin-fw' ) ?></th>
|
97 |
</tr>
|
98 |
</thead>
|
99 |
<tbody>
|
104 |
<td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
|
105 |
<td class="product-licence-expires"><?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?></td>
|
106 |
<td class="product-licence-remaining">
|
107 |
+
<?php printf( __( '%1s out of %2s', 'yith-plugin-fw' ), $info['licence']['activation_remaining'], $info['licence']['activation_limit'] ); ?>
|
108 |
</td>
|
109 |
+
<td><a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank"><?php _e( 'Renew', 'yith-plugin-fw' ) ?></a></td>
|
110 |
</tr>
|
111 |
<?php endforeach; ?>
|
112 |
</tbody>
|
116 |
<!-- Banned Products -->
|
117 |
|
118 |
<?php if( ! empty( $banned_products ) ) : ?>
|
119 |
+
<h3><?php _e( 'Banned', 'yith-plugin-fw' ) ?></h3>
|
120 |
<table class="expired-table">
|
121 |
<thead>
|
122 |
<tr>
|
123 |
+
<th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
|
124 |
+
<th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
|
125 |
+
<th><?php _e( 'Licence Key', 'yith-plugin-fw' ) ?></th>
|
126 |
</tr>
|
127 |
</thead>
|
128 |
<tbody>
|
140 |
<!-- Expired Products -->
|
141 |
|
142 |
<?php if( ! empty( $expired_products ) ) : ?>
|
143 |
+
<h3><?php _e( 'Expired', 'yith-plugin-fw' ) ?></h3>
|
144 |
<table class="expired-table">
|
145 |
<thead>
|
146 |
<tr>
|
147 |
+
<th><?php _e( 'Product Name', 'yith-plugin-fw' ) ?></th>
|
148 |
+
<th><?php _e( 'Email', 'yith-plugin-fw' ) ?></th>
|
149 |
+
<th><?php _e( 'Licence Key', 'yith-plugin-fw' ) ?></th>
|
150 |
+
<th><?php _e( 'Expires', 'yith-plugin-fw' ) ?></th>
|
151 |
+
<th><?php _e( 'Renew', 'yith-plugin-fw' ) ?></th>
|
152 |
</tr>
|
153 |
</thead>
|
154 |
<tbody>
|
158 |
<td class="product-licence-email"><?php echo $info['licence']['email'] ?></td>
|
159 |
<td class="product-licence-key"><?php echo $info['licence']['licence_key'] ?></td>
|
160 |
<td class="product-licence-expires"><?php echo date("F j, Y", $info['licence']['licence_expires'] ); ?></td>
|
161 |
+
<td><a class="button-licence licence-renew" href="<?php echo $this->get_renewing_uri( $info['licence']['licence_key'] ) ?>" target="_blank"><?php _e( 'Renew', 'yith-plugin-fw' ) ?></a></td>
|
162 |
</tr>
|
163 |
<?php endforeach; ?>
|
164 |
</tbody>
|
plugin-fw/templates/metaboxes/tab.php
CHANGED
@@ -56,7 +56,16 @@ do_action( 'yit_before_metaboxes_tab' ) ?>
|
|
56 |
$field['value'] = $value != '' ? $value : ( isset( $field['std'] ) ? $field['std'] : '' );
|
57 |
?>
|
58 |
<div class="the-metabox <?php echo $field['type'] ?> clearfix<?php if ( empty( $field['label'] ) ) : ?> no-label<?php endif; ?>">
|
59 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
</div>
|
61 |
<?php endforeach ?>
|
62 |
</div>
|
56 |
$field['value'] = $value != '' ? $value : ( isset( $field['std'] ) ? $field['std'] : '' );
|
57 |
?>
|
58 |
<div class="the-metabox <?php echo $field['type'] ?> clearfix<?php if ( empty( $field['label'] ) ) : ?> no-label<?php endif; ?>">
|
59 |
+
<?php $args = apply_filters('yit_fw_metaboxes_type_args', array(
|
60 |
+
'basename' => YIT_CORE_PLUGIN_PATH,
|
61 |
+
'path' => '/metaboxes/types/',
|
62 |
+
'type' => $field['type'],
|
63 |
+
'args' => array('args' => $field)
|
64 |
+
)
|
65 |
+
);
|
66 |
+
extract( $args );
|
67 |
+
?>
|
68 |
+
<?php yit_plugin_get_template( $basename, $path . $type . '.php' , $args ) ?>
|
69 |
</div>
|
70 |
<?php endforeach ?>
|
71 |
</div>
|
plugin-fw/templates/metaboxes/types/ajax-products.php
CHANGED
@@ -20,7 +20,7 @@ $multiple = ( $is_multiple ) ? ' multiple' : '';
|
|
20 |
|
21 |
<label for="<?php echo $id ?>"><?php echo $label ?></label>
|
22 |
|
23 |
-
<select id="<?php echo $id ?>" name="<?php echo $name ?><?php if( $is_multiple ) echo "[]" ?>" class="ajax_chosen_select_products" multiple="multiple" data-placeholder="<?php _e('Search for a product','
|
24 |
<?php
|
25 |
if ( $value ) {
|
26 |
foreach ( $value as $product_id ) {
|
@@ -38,9 +38,7 @@ $multiple = ( $is_multiple ) ? ' multiple' : '';
|
|
38 |
<script>
|
39 |
|
40 |
(function ($) {
|
41 |
-
|
42 |
-
// Ajax Chosen Product Selectors
|
43 |
-
|
44 |
$("select.ajax_chosen_select_products").ajaxChosen({
|
45 |
method: 'GET',
|
46 |
url: '<?php echo admin_url('admin-ajax.php') ?>',
|
@@ -59,6 +57,7 @@ $multiple = ( $is_multiple ) ? ' multiple' : '';
|
|
59 |
|
60 |
return terms;
|
61 |
});
|
|
|
62 |
|
63 |
})(jQuery);
|
64 |
</script>
|
20 |
|
21 |
<label for="<?php echo $id ?>"><?php echo $label ?></label>
|
22 |
|
23 |
+
<select id="<?php echo $id ?>" name="<?php echo $name ?><?php if( $is_multiple ) echo "[]" ?>" class="ajax_chosen_select_products" multiple="multiple" data-placeholder="<?php _e('Search for a product','yith-plugin-fw') ?>">
|
24 |
<?php
|
25 |
if ( $value ) {
|
26 |
foreach ( $value as $product_id ) {
|
38 |
<script>
|
39 |
|
40 |
(function ($) {
|
41 |
+
$(document).ready(function(){
|
|
|
|
|
42 |
$("select.ajax_chosen_select_products").ajaxChosen({
|
43 |
method: 'GET',
|
44 |
url: '<?php echo admin_url('admin-ajax.php') ?>',
|
57 |
|
58 |
return terms;
|
59 |
});
|
60 |
+
})
|
61 |
|
62 |
})(jQuery);
|
63 |
</script>
|
plugin-fw/templates/metaboxes/types/categories.php
CHANGED
@@ -33,13 +33,13 @@ $categories = yit_get_model('cpt_unlimited')->get_setting( 'categories', $post->
|
|
33 |
</li>
|
34 |
<?php endforeach; ?>
|
35 |
<?php else : ?>
|
36 |
-
<li class="remove-after-add"><i><?php _e( 'No categories.', '
|
37 |
<?php endif; ?>
|
38 |
</ul>
|
39 |
</div>
|
40 |
<div class="wp-hidden-children">
|
41 |
<h4>
|
42 |
-
<a tabindex="3" class="hide-if-no-js" href="#category-add" id="<?php echo $id ?>-category-add"><?php _e( '+ Add New Category', '
|
43 |
</h4>
|
44 |
<p class="category-add-field" id="<?php echo $id ?>-category-field">
|
45 |
<input type="text" class="newcategory" name="newcategory" style="width:100%;" id="<?php echo $id ?>-new-category" />
|
33 |
</li>
|
34 |
<?php endforeach; ?>
|
35 |
<?php else : ?>
|
36 |
+
<li class="remove-after-add"><i><?php _e( 'No categories.', 'yith-plugin-fw' ); ?></i></li>
|
37 |
<?php endif; ?>
|
38 |
</ul>
|
39 |
</div>
|
40 |
<div class="wp-hidden-children">
|
41 |
<h4>
|
42 |
+
<a tabindex="3" class="hide-if-no-js" href="#category-add" id="<?php echo $id ?>-category-add"><?php _e( '+ Add New Category', 'yith-plugin-fw' ); ?></a>
|
43 |
</h4>
|
44 |
<p class="category-add-field" id="<?php echo $id ?>-category-field">
|
45 |
<input type="text" class="newcategory" name="newcategory" style="width:100%;" id="<?php echo $id ?>-new-category" />
|
plugin-fw/templates/metaboxes/types/contactform.php
CHANGED
@@ -1,14 +1,16 @@
|
|
1 |
<?php
|
|
|
|
|
2 |
extract( $args );
|
3 |
|
4 |
$types = array(
|
5 |
-
'text' => __( 'Text Input', '
|
6 |
-
'checkbox' => __( 'Checkbox', '
|
7 |
-
'select' => __( 'Select', '
|
8 |
-
'textarea' => __( 'Textarea', '
|
9 |
-
'radio' => __( 'Radio Input', '
|
10 |
-
'password' => __( 'Password Field', '
|
11 |
-
'file' => __( 'File Upload', '
|
12 |
);
|
13 |
|
14 |
$defaults = array(
|
@@ -42,19 +44,20 @@ $index = 1;
|
|
42 |
/* Select Font Awesome */
|
43 |
|
44 |
$options["select"]=array(
|
45 |
-
'icon' => __( 'Theme Icon', '
|
46 |
-
'custom' => __( 'Custom Icon', '
|
47 |
-
'none' => __( 'None', '
|
48 |
);
|
49 |
|
50 |
$options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
51 |
|
52 |
/* End select Font Awesome */
|
53 |
?>
|
54 |
-
|
|
|
55 |
|
56 |
<p class="field-row">
|
57 |
-
<a href="" class="button-secondary add-items"><?php _e( 'Add field', '
|
58 |
<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="add-items-ajax-loading" alt="" />
|
59 |
</p>
|
60 |
|
@@ -63,33 +66,33 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
63 |
<?php while ( $index <= count( $value ) ): ?>
|
64 |
<div class="contactform_item closed">
|
65 |
<h3>
|
66 |
-
<button type="button" class="remove_item button" rel=""><?php _e( 'Remove', '
|
67 |
-
<div class="handlediv" title="<?php _e( 'Click to toggle', '
|
68 |
<strong><?php echo $value[$index]['title'] ?> <?php yit_string( '(', $types[$value[$index]['type']], ')' ) ?></strong>
|
69 |
<input type="hidden" class="contactform_menu_order" name="<?php echo $name ?>[<?php echo $index ?>][order]" value="<?php echo esc_attr( $index ) ?>" />
|
70 |
</h3>
|
71 |
<div class="inside">
|
72 |
|
73 |
<div class="the-metabox text clearfix">
|
74 |
-
<label for="<?php echo $id ?>_title_<?php echo $index ?>"><?php _e( 'Title
|
75 |
|
76 |
<p>
|
77 |
<input type="text" value="<?php echo esc_attr( $value[$index]['title'] ) ?>" id="<?php echo $id ?>_title_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][title]" />
|
78 |
-
<span class="desc inline"><?php _e( 'Insert the title for the field.', '
|
79 |
</p>
|
80 |
</div>
|
81 |
|
82 |
<div class="the-metabox text clearfix">
|
83 |
-
<label for="<?php echo $id ?>_data_name_<?php echo $index ?>"><?php _e( 'Data Name', '
|
84 |
|
85 |
<p>
|
86 |
<input type="text" value="<?php echo esc_attr( $value[$index]['data_name'] ) ?>" id="<?php echo $id ?>_data_name_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][data_name]" />
|
87 |
-
<span class="desc inline"><?php _e( 'REQUIRED: Field identification name to be entered into email body. <strong>Note:</strong>Use only lowercase characters and underscores.', '
|
88 |
</p>
|
89 |
</div>
|
90 |
|
91 |
<div class="the-metabox select clearfix text-field-type">
|
92 |
-
<label for="<?php echo $id ?>_type_<?php echo $index ?>"><?php _e( 'Type
|
93 |
|
94 |
<p>
|
95 |
<select id="<?php echo $id ?>_type_<?php echo $index ?>" name="<?php echo $name . '[' . $index . ']' ?>[type]">
|
@@ -97,79 +100,79 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
97 |
<option value="<?php echo esc_attr( $type ) ?>"<?php selected( $type, $value[$index]['type'] ) ?>><?php echo $name_type ?></option>
|
98 |
<?php endforeach; ?>
|
99 |
</select>
|
100 |
-
<span class="desc inline"><?php _e( 'Select the type for this field.', '
|
101 |
</p>
|
102 |
</div>
|
103 |
|
104 |
<div class="the-metabox checkbox clearfix deps_checkbox deps">
|
105 |
-
<label for="<?php echo $id ?>_already_checked_<?php echo $index ?>"><?php _e( 'Checked', '
|
106 |
|
107 |
<p>
|
108 |
<input type="checkbox" id="<?php echo $id ?>_already_checked_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][already_checked]" value="1"<?php checked( $value[$index]['already_checked'] ) ?> />
|
109 |
-
<span class="desc inline"><?php _e( 'Select this option if you want this field appears as already checked.', '
|
110 |
</p>
|
111 |
</div>
|
112 |
|
113 |
<div id="<?php echo $id ?>_addoptions" class="the-metabox addoptions clearfix deps_radio deps_select deps">
|
114 |
-
<label for=""><?php _e( 'Add options ', '
|
115 |
-
<a href="#" class="add-field-option button-secondary" data-index="<?php echo $index ?>"><?php _e( 'Add option', '
|
116 |
<?php foreach ( $value[$index]['options'] as $key => $option ) : ?>
|
117 |
<p class="option">
|
118 |
-
<label><input type="radio" name="<?php echo $name ?>[<?php echo $index ?>][option_selected]" value="<?php echo esc_attr( $key ) ?>"<?php checked( $value[$index]['option_selected'], $key ) ?> /> <?php _e( 'Selected', '
|
119 |
</label>
|
120 |
<input type="text" name="<?php echo $name ?>[<?php echo $index ?>][options][]" value="<?php echo $option ?>" style="width:200px" />
|
121 |
-
<a href="#" class="del-field-option button-secondary"><?php _e( 'Delete option', '
|
122 |
</p>
|
123 |
<?php endforeach; ?>
|
124 |
</div>
|
125 |
|
126 |
<div class="the-metabox text clearfix">
|
127 |
-
<label for="<?php echo $id ?>_error_<?php echo $index ?>"><?php _e( 'Error Message', '
|
128 |
|
129 |
<p>
|
130 |
<input type="text" value="<?php echo esc_attr( $value[$index]['error'] ) ?>" id="<?php echo $id ?>_error_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][error]" />
|
131 |
-
<span class="desc inline"><?php _e( 'Insert the error message for validation.', '
|
132 |
</p>
|
133 |
</div>
|
134 |
|
135 |
<div class="the-metabox checkbox clearfix">
|
136 |
-
<label for="<?php echo $id ?>_required_<?php echo $index ?>"><?php _e( 'Required', '
|
137 |
|
138 |
<p>
|
139 |
<input type="checkbox" id="<?php echo $id ?>_required_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][required]" value="1"<?php checked( $value[$index]['required'] ) ?> />
|
140 |
-
<span class="desc inline"><?php _e( 'Select this option if it must be required.', '
|
141 |
</p>
|
142 |
</div>
|
143 |
|
144 |
<div class="the-metabox checkbox clearfix">
|
145 |
-
<label for="<?php echo $id ?>_is_email_<?php echo $index ?>"><?php _e( 'Email', '
|
146 |
|
147 |
<p>
|
148 |
<input type="checkbox" id="<?php echo $id ?>_is_email_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][is_email]" value="1"<?php checked( $value[$index]['is_email'] ) ?> />
|
149 |
-
<span class="desc inline"><?php _e( 'Select this option if the email must be valid.', '
|
150 |
</p>
|
151 |
</div>
|
152 |
|
153 |
<div class="the-metabox checkbox clearfix">
|
154 |
-
<label for="<?php echo $id ?>_reply_to_<?php echo $index ?>"><?php _e( 'Reply To', '
|
155 |
|
156 |
<p>
|
157 |
<input type="checkbox" id="<?php echo $id ?>_reply_to_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][reply_to]" value="1"<?php checked( $value[$index]['reply_to'] ) ?> />
|
158 |
-
<span class="desc inline"><?php _e( 'Select this if it is the email you can reply to.', '
|
159 |
</p>
|
160 |
</div>
|
161 |
|
162 |
<div class="the-metabox text clearfix">
|
163 |
-
<label for="<?php echo $id ?>_class_<?php echo $index ?>"><?php _e( 'Class', '
|
164 |
|
165 |
<p>
|
166 |
<input type="text" value="<?php echo esc_attr( $value[$index]['class'] ) ?>" id="<?php echo $id ?>_class_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][class]" />
|
167 |
-
<span class="desc inline"><?php _e( 'Insert additional class(es) (separated by commas) for more personalization.', '
|
168 |
</p>
|
169 |
</div>
|
170 |
|
171 |
<div class="the-metabox text clearfix">
|
172 |
-
<label for="<?php echo $id ?>_icon_<?php echo $index ?>"><?php _e( 'Icon', '
|
173 |
|
174 |
<p>
|
175 |
|
@@ -197,13 +200,13 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
197 |
|
198 |
<div class="input_wrapper custom_icon">
|
199 |
<input type="text" name="<?php echo $name ?>[<?php echo $index ?>][custom]" id="<?php echo $id ?>_icon_<?php echo $index ?>[custom-icon]" value="<?php echo esc_attr( $value[$index]['custom'] ); ?>" class="upload_img_url upload_custom_icon" />
|
200 |
-
<input type="button" name="<?php echo $name ?>[<?php echo $index ?>][custom]-button" value="<?php _e( 'Upload', '
|
201 |
|
202 |
<div class="upload_img_preview" style="margin-top:10px;">
|
203 |
<?php
|
204 |
$file = $current_options['custom'];
|
205 |
if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
|
206 |
-
echo __('Image preview', '
|
207 |
}
|
208 |
?>
|
209 |
</div>
|
@@ -211,12 +214,12 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
211 |
</div>
|
212 |
</div>
|
213 |
|
214 |
-
<span class="desc inline"><?php _e( 'Insert an icon for more personalization.', '
|
215 |
</p>
|
216 |
</div>
|
217 |
|
218 |
<div class="the-metabox text clearfix">
|
219 |
-
<label for="<?php echo $id ?>_width_<?php echo $index ?>"><?php _e( 'Width', '
|
220 |
|
221 |
<p>
|
222 |
<select id="<?php echo $id ?>_width_<?php echo $index ?>" name="<?php echo $name . '[' . $index . ']' ?>[width]">
|
@@ -241,7 +244,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
241 |
}
|
242 |
?>
|
243 |
</select>
|
244 |
-
<span class="desc inline"><?php _e( 'Set field length.', '
|
245 |
</p>
|
246 |
</div>
|
247 |
</div>
|
@@ -255,33 +258,33 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
255 |
|
256 |
<div class="contactform_item closed" id="stamp_form" style="display:none;">
|
257 |
<h3>
|
258 |
-
<button type="button" class="remove_item button" rel=""><?php _e( 'Remove', '
|
259 |
-
<div class="handlediv" title="<?php _e( 'Click to toggle', '
|
260 |
<strong></strong>
|
261 |
<input disabled type="hidden" class="contactform_menu_order" name="<?php echo $name ?>[][order]" value=""/>
|
262 |
</h3>
|
263 |
<div class="inside">
|
264 |
|
265 |
<div class="the-metabox text clearfix">
|
266 |
-
<label for="<?php echo $id ?>_title"><?php _e( 'Title
|
267 |
|
268 |
<p>
|
269 |
<input disabled type="text" value="" id="<?php echo $id ?>_title" name="<?php echo $name ?>[][title]" />
|
270 |
-
<span class="desc inline"><?php _e( 'Insert the title for the field.', '
|
271 |
</p>
|
272 |
</div>
|
273 |
|
274 |
<div class="the-metabox text clearfix">
|
275 |
-
<label for="<?php echo $id ?>_data_name"><?php _e( 'Data Name', '
|
276 |
|
277 |
<p>
|
278 |
<input disabled type="text" value="" id="<?php echo $id ?>_data_name" name="<?php echo $name ?>[][data_name]" />
|
279 |
-
<span class="desc inline"><?php _e( 'REQUIRED: Field identification name to be entered into email body. <strong>Note:</strong>Use only lowercase characters and underscores.', '
|
280 |
</p>
|
281 |
</div>
|
282 |
|
283 |
<div class="the-metabox select clearfix text-field-type">
|
284 |
-
<label for="<?php echo $id ?>_type"><?php _e( 'Type
|
285 |
|
286 |
<p>
|
287 |
<select disabled id="<?php echo $id ?>_type" name="<?php echo $name ?>[][type]">
|
@@ -289,79 +292,79 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
289 |
<option value="<?php echo esc_attr( $type ) ?>"><?php echo $name_type ?></option>
|
290 |
<?php endforeach; ?>
|
291 |
</select>
|
292 |
-
<span class="desc inline"><?php _e( 'Select the type for this field.', '
|
293 |
</p>
|
294 |
</div>
|
295 |
|
296 |
<div class="the-metabox checkbox clearfix deps_checkbox deps">
|
297 |
-
<label for="<?php echo $id ?>_already_checked"><?php _e( 'Checked', '
|
298 |
|
299 |
<p>
|
300 |
<input disabled type="checkbox" id="<?php echo $id ?>_already_checked" name="<?php echo $name ?>[][already_checked]" value="1" />
|
301 |
-
<span class="desc inline"><?php _e( 'Select this option if you want this field appears as already checked.', '
|
302 |
</p>
|
303 |
</div>
|
304 |
|
305 |
<div id="<?php echo $id ?>_addoptions" class="the-metabox addoptions clearfix deps_radio deps_select deps">
|
306 |
-
<label for=""><?php _e( 'Add options ', '
|
307 |
-
<a href="#" class="add-field-option button-secondary"><?php _e( 'Add option', '
|
308 |
|
309 |
<p class="option">
|
310 |
-
<label><input disabled type="radio" name="<?php echo $name ?>[][option_selected]" value="" /> <?php _e( 'Selected', '
|
311 |
</label>
|
312 |
<input disabled type="text" name="<?php echo $name ?>[][options][]" value="" style="width:200px" />
|
313 |
-
<a href="#" class="del-field-option button-secondary"><?php _e( 'Delete option', '
|
314 |
</p>
|
315 |
|
316 |
</div>
|
317 |
|
318 |
<div class="the-metabox text clearfix">
|
319 |
-
<label for="<?php echo $id ?>_error"><?php _e( 'Error Message', '
|
320 |
|
321 |
<p>
|
322 |
<input disabled type="text" value="" id="<?php echo $id ?>_error" name="<?php echo $name ?>[][error]" />
|
323 |
-
<span class="desc inline"><?php _e( 'Insert the error message for validation.', '
|
324 |
</p>
|
325 |
</div>
|
326 |
|
327 |
<div class="the-metabox checkbox clearfix">
|
328 |
-
<label for="<?php echo $id ?>_required"><?php _e( 'Required', '
|
329 |
|
330 |
<p>
|
331 |
<input disabled type="checkbox" id="<?php echo $id ?>_required" name="<?php echo $name ?>[][required]" value="1" />
|
332 |
-
<span class="desc inline"><?php _e( 'Select this option if it must be required.', '
|
333 |
</p>
|
334 |
</div>
|
335 |
|
336 |
<div class="the-metabox checkbox clearfix">
|
337 |
-
<label for="<?php echo $id ?>_is_email"><?php _e( 'Email', '
|
338 |
|
339 |
<p>
|
340 |
<input disabled type="checkbox" id="<?php echo $id ?>_is_email" name="<?php echo $name ?>[][is_email]" value="1" />
|
341 |
-
<span class="desc inline"><?php _e( 'Select this option if the email must be valid.', '
|
342 |
</p>
|
343 |
</div>
|
344 |
|
345 |
<div class="the-metabox checkbox clearfix">
|
346 |
-
<label for="<?php echo $id ?>_reply_to"><?php _e( 'Reply To', '
|
347 |
|
348 |
<p>
|
349 |
<input disabled type="checkbox" id="<?php echo $id ?>_reply_to" name="<?php echo $name ?>[][reply_to]" value="1" />
|
350 |
-
<span class="desc inline"><?php _e( 'Select this if it is the email you can reply to.', '
|
351 |
</p>
|
352 |
</div>
|
353 |
|
354 |
<div class="the-metabox text clearfix">
|
355 |
-
<label for="<?php echo $id ?>_class"><?php _e( 'Class', '
|
356 |
|
357 |
<p>
|
358 |
<input disabled type="text" value="" id="<?php echo $id ?>_class" name="<?php echo $name ?>[][class]" />
|
359 |
-
<span class="desc inline"><?php _e( 'Insert additional class(es) (separated by commas) for more personalization.', '
|
360 |
</p>
|
361 |
</div>
|
362 |
|
363 |
<div class="the-metabox text clearfix">
|
364 |
-
<label for="<?php echo $id ?>_icon"><?php _e( 'Icon', '
|
365 |
|
366 |
<div class="option">
|
367 |
|
@@ -385,13 +388,13 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
385 |
|
386 |
<div class="input_wrapper custom_icon">
|
387 |
<input disabled type="text" name="<?php echo $name ?>[][custom]" id="<?php echo $id ?>_icon[custom-icon]" value="" class="upload_img_url upload_custom_icon" />
|
388 |
-
<input disabled type="button" name="<?php echo $name ?>[][custom]-button" value="<?php _e( 'Upload', '
|
389 |
|
390 |
<div class="upload_img_preview" style="margin-top:10px;">
|
391 |
<?php
|
392 |
$file = '';
|
393 |
if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
|
394 |
-
echo __('Image preview', '
|
395 |
}
|
396 |
?>
|
397 |
</div>
|
@@ -399,11 +402,11 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
399 |
</div>
|
400 |
</div>
|
401 |
|
402 |
-
<span class="desc inline"><?php _e( 'Insert an icon for more personalization.', '
|
403 |
</div>
|
404 |
|
405 |
<div class="the-metabox text clearfix">
|
406 |
-
<label for="<?php echo $id ?>_width"><?php _e( 'Width', '
|
407 |
|
408 |
<p>
|
409 |
<select disabled id="<?php echo $id ?>_width" name="<?php echo $name?>[][width]">
|
@@ -415,11 +418,12 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
415 |
}
|
416 |
?>
|
417 |
</select>
|
418 |
-
<span class="desc inline"><?php _e( 'Set field length.', '
|
419 |
</p>
|
420 |
</div>
|
421 |
</div>
|
422 |
</div>
|
|
|
423 |
|
424 |
<script>
|
425 |
|
@@ -429,7 +433,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
|
429 |
|
430 |
$(document).on('click', '#<?php echo $id ?>_addoptions .add-field-option', function(){
|
431 |
var select_index = $(this).data('index');
|
432 |
-
var option = "<p class='option'><label><input type='radio' name='<?php echo $name ?>[option_selected]' value='' /> <?php _e( 'Selected', '
|
433 |
|
434 |
$(option).appendTo( $(this).parents('#<?php echo $id ?>_addoptions') );
|
435 |
return false;
|
1 |
<?php
|
2 |
+
|
3 |
+
|
4 |
extract( $args );
|
5 |
|
6 |
$types = array(
|
7 |
+
'text' => __( 'Text Input', 'yith-plugin-fw' ),
|
8 |
+
'checkbox' => __( 'Checkbox', 'yith-plugin-fw' ),
|
9 |
+
'select' => __( 'Select', 'yith-plugin-fw' ),
|
10 |
+
'textarea' => __( 'Textarea', 'yith-plugin-fw' ),
|
11 |
+
'radio' => __( 'Radio Input', 'yith-plugin-fw' ),
|
12 |
+
'password' => __( 'Password Field', 'yith-plugin-fw' ),
|
13 |
+
'file' => __( 'File Upload', 'yith-plugin-fw' ),
|
14 |
);
|
15 |
|
16 |
$defaults = array(
|
44 |
/* Select Font Awesome */
|
45 |
|
46 |
$options["select"]=array(
|
47 |
+
'icon' => __( 'Theme Icon', 'yith-plugin-fw' ),
|
48 |
+
'custom' => __( 'Custom Icon', 'yith-plugin-fw' ),
|
49 |
+
'none' => __( 'None', 'yith-plugin-fw' )
|
50 |
);
|
51 |
|
52 |
$options["icon"] = YIT_Plugin_Common::get_awesome_icons();
|
53 |
|
54 |
/* End select Font Awesome */
|
55 |
?>
|
56 |
+
<div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?>>
|
57 |
+
<?php if( isset( $label ) ):?><label for="<?php echo $id ?>"><?php echo $label ?></label><?php endif;?>
|
58 |
|
59 |
<p class="field-row">
|
60 |
+
<a href="" class="button-secondary add-items"><?php _e( 'Add field', 'yith-plugin-fw' ) ?></a>
|
61 |
<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="add-items-ajax-loading" alt="" />
|
62 |
</p>
|
63 |
|
66 |
<?php while ( $index <= count( $value ) ): ?>
|
67 |
<div class="contactform_item closed">
|
68 |
<h3>
|
69 |
+
<button type="button" class="remove_item button" rel=""><?php _e( 'Remove', 'yith-plugin-fw' ) ?></button>
|
70 |
+
<div class="handlediv" title="<?php _e( 'Click to toggle', 'yith-plugin-fw' ) ?>"></div>
|
71 |
<strong><?php echo $value[$index]['title'] ?> <?php yit_string( '(', $types[$value[$index]['type']], ')' ) ?></strong>
|
72 |
<input type="hidden" class="contactform_menu_order" name="<?php echo $name ?>[<?php echo $index ?>][order]" value="<?php echo esc_attr( $index ) ?>" />
|
73 |
</h3>
|
74 |
<div class="inside">
|
75 |
|
76 |
<div class="the-metabox text clearfix">
|
77 |
+
<label for="<?php echo $id ?>_title_<?php echo $index ?>"><?php _e( 'Field Title', 'yith-plugin-fw' ) ?></label>
|
78 |
|
79 |
<p>
|
80 |
<input type="text" value="<?php echo esc_attr( $value[$index]['title'] ) ?>" id="<?php echo $id ?>_title_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][title]" />
|
81 |
+
<span class="desc inline"><?php _e( 'Insert the title for the field.', 'yith-plugin-fw' ) ?></span>
|
82 |
</p>
|
83 |
</div>
|
84 |
|
85 |
<div class="the-metabox text clearfix">
|
86 |
+
<label for="<?php echo $id ?>_data_name_<?php echo $index ?>"><?php _e( 'Data Name', 'yith-plugin-fw' ) ?></label>
|
87 |
|
88 |
<p>
|
89 |
<input type="text" value="<?php echo esc_attr( $value[$index]['data_name'] ) ?>" id="<?php echo $id ?>_data_name_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][data_name]" />
|
90 |
+
<span class="desc inline"><?php _e( 'REQUIRED: Field identification name to be entered into email body. <strong>Note:</strong>Use only lowercase characters and underscores.', 'yith-plugin-fw' ) ?></span>
|
91 |
</p>
|
92 |
</div>
|
93 |
|
94 |
<div class="the-metabox select clearfix text-field-type">
|
95 |
+
<label for="<?php echo $id ?>_type_<?php echo $index ?>"><?php _e( 'Field Type', 'yith-plugin-fw' ) ?></label>
|
96 |
|
97 |
<p>
|
98 |
<select id="<?php echo $id ?>_type_<?php echo $index ?>" name="<?php echo $name . '[' . $index . ']' ?>[type]">
|
100 |
<option value="<?php echo esc_attr( $type ) ?>"<?php selected( $type, $value[$index]['type'] ) ?>><?php echo $name_type ?></option>
|
101 |
<?php endforeach; ?>
|
102 |
</select>
|
103 |
+
<span class="desc inline"><?php _e( 'Select the type for this field.', 'yith-plugin-fw' ) ?></span>
|
104 |
</p>
|
105 |
</div>
|
106 |
|
107 |
<div class="the-metabox checkbox clearfix deps_checkbox deps">
|
108 |
+
<label for="<?php echo $id ?>_already_checked_<?php echo $index ?>"><?php _e( 'Checked', 'yith-plugin-fw' ) ?></label>
|
109 |
|
110 |
<p>
|
111 |
<input type="checkbox" id="<?php echo $id ?>_already_checked_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][already_checked]" value="1"<?php checked( $value[$index]['already_checked'] ) ?> />
|
112 |
+
<span class="desc inline"><?php _e( 'Select this option if you want this field appears as already checked.', 'yith-plugin-fw' ) ?></span>
|
113 |
</p>
|
114 |
</div>
|
115 |
|
116 |
<div id="<?php echo $id ?>_addoptions" class="the-metabox addoptions clearfix deps_radio deps_select deps">
|
117 |
+
<label for=""><?php _e( 'Add options ', 'yith-plugin-fw' ) ?></label>
|
118 |
+
<a href="#" class="add-field-option button-secondary" data-index="<?php echo $index ?>"><?php _e( 'Add option', 'yith-plugin-fw' ) ?></a><br /><br />
|
119 |
<?php foreach ( $value[$index]['options'] as $key => $option ) : ?>
|
120 |
<p class="option">
|
121 |
+
<label><input type="radio" name="<?php echo $name ?>[<?php echo $index ?>][option_selected]" value="<?php echo esc_attr( $key ) ?>"<?php checked( $value[$index]['option_selected'], $key ) ?> /> <?php _e( 'Selected', 'yith-plugin-fw' ) ?>
|
122 |
</label>
|
123 |
<input type="text" name="<?php echo $name ?>[<?php echo $index ?>][options][]" value="<?php echo $option ?>" style="width:200px" />
|
124 |
+
<a href="#" class="del-field-option button-secondary"><?php _e( 'Delete option', 'yith-plugin-fw' ) ?></a>
|
125 |
</p>
|
126 |
<?php endforeach; ?>
|
127 |
</div>
|
128 |
|
129 |
<div class="the-metabox text clearfix">
|
130 |
+
<label for="<?php echo $id ?>_error_<?php echo $index ?>"><?php _e( 'Error Message', 'yith-plugin-fw' ) ?></label>
|
131 |
|
132 |
<p>
|
133 |
<input type="text" value="<?php echo esc_attr( $value[$index]['error'] ) ?>" id="<?php echo $id ?>_error_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][error]" />
|
134 |
+
<span class="desc inline"><?php _e( 'Insert the error message for validation.', 'yith-plugin-fw' ) ?></span>
|
135 |
</p>
|
136 |
</div>
|
137 |
|
138 |
<div class="the-metabox checkbox clearfix">
|
139 |
+
<label for="<?php echo $id ?>_required_<?php echo $index ?>"><?php _e( 'Required', 'yith-plugin-fw' ) ?></label>
|
140 |
|
141 |
<p>
|
142 |
<input type="checkbox" id="<?php echo $id ?>_required_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][required]" value="1"<?php checked( $value[$index]['required'] ) ?> />
|
143 |
+
<span class="desc inline"><?php _e( 'Select this option if it must be required.', 'yith-plugin-fw' ) ?></span>
|
144 |
</p>
|
145 |
</div>
|
146 |
|
147 |
<div class="the-metabox checkbox clearfix">
|
148 |
+
<label for="<?php echo $id ?>_is_email_<?php echo $index ?>"><?php _e( 'Email', 'yith-plugin-fw' ) ?></label>
|
149 |
|
150 |
<p>
|
151 |
<input type="checkbox" id="<?php echo $id ?>_is_email_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][is_email]" value="1"<?php checked( $value[$index]['is_email'] ) ?> />
|
152 |
+
<span class="desc inline"><?php _e( 'Select this option if the email must be valid.', 'yith-plugin-fw' ) ?></span>
|
153 |
</p>
|
154 |
</div>
|
155 |
|
156 |
<div class="the-metabox checkbox clearfix">
|
157 |
+
<label for="<?php echo $id ?>_reply_to_<?php echo $index ?>"><?php _e( 'Reply To', 'yith-plugin-fw' ) ?></label>
|
158 |
|
159 |
<p>
|
160 |
<input type="checkbox" id="<?php echo $id ?>_reply_to_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][reply_to]" value="1"<?php checked( $value[$index]['reply_to'] ) ?> />
|
161 |
+
<span class="desc inline"><?php _e( 'Select this if it is the email you can reply to.', 'yith-plugin-fw' ) ?></span>
|
162 |
</p>
|
163 |
</div>
|
164 |
|
165 |
<div class="the-metabox text clearfix">
|
166 |
+
<label for="<?php echo $id ?>_class_<?php echo $index ?>"><?php _e( 'Class', 'yith-plugin-fw' ) ?></label>
|
167 |
|
168 |
<p>
|
169 |
<input type="text" value="<?php echo esc_attr( $value[$index]['class'] ) ?>" id="<?php echo $id ?>_class_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][class]" />
|
170 |
+
<span class="desc inline"><?php _e( 'Insert additional class(es) (separated by commas) for more personalization.', 'yith-plugin-fw' ) ?></span>
|
171 |
</p>
|
172 |
</div>
|
173 |
|
174 |
<div class="the-metabox text clearfix">
|
175 |
+
<label for="<?php echo $id ?>_icon_<?php echo $index ?>"><?php _e( 'Icon', 'yith-plugin-fw' ) ?></label>
|
176 |
|
177 |
<p>
|
178 |
|
200 |
|
201 |
<div class="input_wrapper custom_icon">
|
202 |
<input type="text" name="<?php echo $name ?>[<?php echo $index ?>][custom]" id="<?php echo $id ?>_icon_<?php echo $index ?>[custom-icon]" value="<?php echo esc_attr( $value[$index]['custom'] ); ?>" class="upload_img_url upload_custom_icon" />
|
203 |
+
<input type="button" name="<?php echo $name ?>[<?php echo $index ?>][custom]-button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id ?>_icon_<?php echo $index ?>[custom-icon]-button" class="upload_button button" />
|
204 |
|
205 |
<div class="upload_img_preview" style="margin-top:10px;">
|
206 |
<?php
|
207 |
$file = $current_options['custom'];
|
208 |
if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
|
209 |
+
echo __('Image preview', 'yith-plugin-fw') . ': ' . "<img src=\"" . YIT_CORE_ASSETS_URL . "/images/sleep.png\" data-src=\"$file\" />";
|
210 |
}
|
211 |
?>
|
212 |
</div>
|
214 |
</div>
|
215 |
</div>
|
216 |
|
217 |
+
<span class="desc inline"><?php _e( 'Insert an icon for more personalization.', 'yith-plugin-fw' ) ?></span>
|
218 |
</p>
|
219 |
</div>
|
220 |
|
221 |
<div class="the-metabox text clearfix">
|
222 |
+
<label for="<?php echo $id ?>_width_<?php echo $index ?>"><?php _e( 'Width', 'yith-plugin-fw' ) ?></label>
|
223 |
|
224 |
<p>
|
225 |
<select id="<?php echo $id ?>_width_<?php echo $index ?>" name="<?php echo $name . '[' . $index . ']' ?>[width]">
|
244 |
}
|
245 |
?>
|
246 |
</select>
|
247 |
+
<span class="desc inline"><?php _e( 'Set field length.', 'yith-plugin-fw' ) ?></span>
|
248 |
</p>
|
249 |
</div>
|
250 |
</div>
|
258 |
|
259 |
<div class="contactform_item closed" id="stamp_form" style="display:none;">
|
260 |
<h3>
|
261 |
+
<button type="button" class="remove_item button" rel=""><?php _e( 'Remove', 'yith-plugin-fw' ) ?></button>
|
262 |
+
<div class="handlediv" title="<?php _e( 'Click to toggle', 'yith-plugin-fw' ) ?>"></div>
|
263 |
<strong></strong>
|
264 |
<input disabled type="hidden" class="contactform_menu_order" name="<?php echo $name ?>[][order]" value=""/>
|
265 |
</h3>
|
266 |
<div class="inside">
|
267 |
|
268 |
<div class="the-metabox text clearfix">
|
269 |
+
<label for="<?php echo $id ?>_title"><?php _e( 'Field Title', 'yith-plugin-fw' ) ?></label>
|
270 |
|
271 |
<p>
|
272 |
<input disabled type="text" value="" id="<?php echo $id ?>_title" name="<?php echo $name ?>[][title]" />
|
273 |
+
<span class="desc inline"><?php _e( 'Insert the title for the field.', 'yith-plugin-fw' ) ?></span>
|
274 |
</p>
|
275 |
</div>
|
276 |
|
277 |
<div class="the-metabox text clearfix">
|
278 |
+
<label for="<?php echo $id ?>_data_name"><?php _e( 'Data Name', 'yith-plugin-fw' ) ?></label>
|
279 |
|
280 |
<p>
|
281 |
<input disabled type="text" value="" id="<?php echo $id ?>_data_name" name="<?php echo $name ?>[][data_name]" />
|
282 |
+
<span class="desc inline"><?php _e( 'REQUIRED: Field identification name to be entered into email body. <strong>Note:</strong>Use only lowercase characters and underscores.', 'yith-plugin-fw' ) ?></span>
|
283 |
</p>
|
284 |
</div>
|
285 |
|
286 |
<div class="the-metabox select clearfix text-field-type">
|
287 |
+
<label for="<?php echo $id ?>_type"><?php _e( 'Field Type', 'yith-plugin-fw' ) ?></label>
|
288 |
|
289 |
<p>
|
290 |
<select disabled id="<?php echo $id ?>_type" name="<?php echo $name ?>[][type]">
|
292 |
<option value="<?php echo esc_attr( $type ) ?>"><?php echo $name_type ?></option>
|
293 |
<?php endforeach; ?>
|
294 |
</select>
|
295 |
+
<span class="desc inline"><?php _e( 'Select the type for this field.', 'yith-plugin-fw' ) ?></span>
|
296 |
</p>
|
297 |
</div>
|
298 |
|
299 |
<div class="the-metabox checkbox clearfix deps_checkbox deps">
|
300 |
+
<label for="<?php echo $id ?>_already_checked"><?php _e( 'Checked', 'yith-plugin-fw' ) ?></label>
|
301 |
|
302 |
<p>
|
303 |
<input disabled type="checkbox" id="<?php echo $id ?>_already_checked" name="<?php echo $name ?>[][already_checked]" value="1" />
|
304 |
+
<span class="desc inline"><?php _e( 'Select this option if you want this field appears as already checked.', 'yith-plugin-fw' ) ?></span>
|
305 |
</p>
|
306 |
</div>
|
307 |
|
308 |
<div id="<?php echo $id ?>_addoptions" class="the-metabox addoptions clearfix deps_radio deps_select deps">
|
309 |
+
<label for=""><?php _e( 'Add options ', 'yith-plugin-fw' ) ?></label>
|
310 |
+
<a href="#" class="add-field-option button-secondary"><?php _e( 'Add option', 'yith-plugin-fw' ) ?></a><br /><br />
|
311 |
|
312 |
<p class="option">
|
313 |
+
<label><input disabled type="radio" name="<?php echo $name ?>[][option_selected]" value="" /> <?php _e( 'Selected', 'yith-plugin-fw' ) ?>
|
314 |
</label>
|
315 |
<input disabled type="text" name="<?php echo $name ?>[][options][]" value="" style="width:200px" />
|
316 |
+
<a href="#" class="del-field-option button-secondary"><?php _e( 'Delete option', 'yith-plugin-fw' ) ?></a>
|
317 |
</p>
|
318 |
|
319 |
</div>
|
320 |
|
321 |
<div class="the-metabox text clearfix">
|
322 |
+
<label for="<?php echo $id ?>_error"><?php _e( 'Error Message', 'yith-plugin-fw' ) ?></label>
|
323 |
|
324 |
<p>
|
325 |
<input disabled type="text" value="" id="<?php echo $id ?>_error" name="<?php echo $name ?>[][error]" />
|
326 |
+
<span class="desc inline"><?php _e( 'Insert the error message for validation.', 'yith-plugin-fw' ) ?></span>
|
327 |
</p>
|
328 |
</div>
|
329 |
|
330 |
<div class="the-metabox checkbox clearfix">
|
331 |
+
<label for="<?php echo $id ?>_required"><?php _e( 'Required', 'yith-plugin-fw' ) ?></label>
|
332 |
|
333 |
<p>
|
334 |
<input disabled type="checkbox" id="<?php echo $id ?>_required" name="<?php echo $name ?>[][required]" value="1" />
|
335 |
+
<span class="desc inline"><?php _e( 'Select this option if it must be required.', 'yith-plugin-fw' ) ?></span>
|
336 |
</p>
|
337 |
</div>
|
338 |
|
339 |
<div class="the-metabox checkbox clearfix">
|
340 |
+
<label for="<?php echo $id ?>_is_email"><?php _e( 'Email', 'yith-plugin-fw' ) ?></label>
|
341 |
|
342 |
<p>
|
343 |
<input disabled type="checkbox" id="<?php echo $id ?>_is_email" name="<?php echo $name ?>[][is_email]" value="1" />
|
344 |
+
<span class="desc inline"><?php _e( 'Select this option if the email must be valid.', 'yith-plugin-fw' ) ?></span>
|
345 |
</p>
|
346 |
</div>
|
347 |
|
348 |
<div class="the-metabox checkbox clearfix">
|
349 |
+
<label for="<?php echo $id ?>_reply_to"><?php _e( 'Reply To', 'yith-plugin-fw' ) ?></label>
|
350 |
|
351 |
<p>
|
352 |
<input disabled type="checkbox" id="<?php echo $id ?>_reply_to" name="<?php echo $name ?>[][reply_to]" value="1" />
|
353 |
+
<span class="desc inline"><?php _e( 'Select this if it is the email you can reply to.', 'yith-plugin-fw' ) ?></span>
|
354 |
</p>
|
355 |
</div>
|
356 |
|
357 |
<div class="the-metabox text clearfix">
|
358 |
+
<label for="<?php echo $id ?>_class"><?php _e( 'Class', 'yith-plugin-fw' ) ?></label>
|
359 |
|
360 |
<p>
|
361 |
<input disabled type="text" value="" id="<?php echo $id ?>_class" name="<?php echo $name ?>[][class]" />
|
362 |
+
<span class="desc inline"><?php _e( 'Insert additional class(es) (separated by commas) for more personalization.', 'yith-plugin-fw' ) ?></span>
|
363 |
</p>
|
364 |
</div>
|
365 |
|
366 |
<div class="the-metabox text clearfix">
|
367 |
+
<label for="<?php echo $id ?>_icon"><?php _e( 'Icon', 'yith-plugin-fw' ) ?></label>
|
368 |
|
369 |
<div class="option">
|
370 |
|
388 |
|
389 |
<div class="input_wrapper custom_icon">
|
390 |
<input disabled type="text" name="<?php echo $name ?>[][custom]" id="<?php echo $id ?>_icon[custom-icon]" value="" class="upload_img_url upload_custom_icon" />
|
391 |
+
<input disabled type="button" name="<?php echo $name ?>[][custom]-button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id ?>_icon[custom-icon]-button" class="upload_button button" />
|
392 |
|
393 |
<div class="upload_img_preview" style="margin-top:10px;">
|
394 |
<?php
|
395 |
$file = '';
|
396 |
if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
|
397 |
+
echo __('Image preview', 'yith-plugin-fw') . ': ' . "<img src=\"" . YIT_CORE_ASSETS_URL . "/images/sleep.png\" data-src=\"$file\" />";
|
398 |
}
|
399 |
?>
|
400 |
</div>
|
402 |
</div>
|
403 |
</div>
|
404 |
|
405 |
+
<span class="desc inline"><?php _e( 'Insert an icon for more personalization.', 'yith-plugin-fw' ) ?></span>
|
406 |
</div>
|
407 |
|
408 |
<div class="the-metabox text clearfix">
|
409 |
+
<label for="<?php echo $id ?>_width"><?php _e( 'Width', 'yith-plugin-fw' ) ?></label>
|
410 |
|
411 |
<p>
|
412 |
<select disabled id="<?php echo $id ?>_width" name="<?php echo $name?>[][width]">
|
418 |
}
|
419 |
?>
|
420 |
</select>
|
421 |
+
<span class="desc inline"><?php _e( 'Set field length.', 'yith-plugin-fw' ) ?></span>
|
422 |
</p>
|
423 |
</div>
|
424 |
</div>
|
425 |
</div>
|
426 |
+
</div>
|
427 |
|
428 |
<script>
|
429 |
|
433 |
|
434 |
$(document).on('click', '#<?php echo $id ?>_addoptions .add-field-option', function(){
|
435 |
var select_index = $(this).data('index');
|
436 |
+
var option = "<p class='option'><label><input type='radio' name='<?php echo $name ?>[option_selected]' value='' /> <?php _e( 'Selected', 'yith-plugin-fw' ) ?></label><input type='text' name='<?php echo $name ?>[" + select_index + "][options][]' style='width:200px' /> <a href='#' class='del-field-option button-secondary'><?php _e( 'Delete option', 'yith-plugin-fw' ) ?></a></p>";
|
437 |
|
438 |
$(option).appendTo( $(this).parents('#<?php echo $id ?>_addoptions') );
|
439 |
return false;
|
plugin-fw/templates/metaboxes/types/customtabs.php
CHANGED
@@ -25,7 +25,7 @@ extract($args);
|
|
25 |
<div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?>>
|
26 |
<div id="yit_custom_tabs" class="panel wc-metaboxes-wrapper" style="display: block;">
|
27 |
<p class="toolbar">
|
28 |
-
<a href="#" class="close_all"><?php _e('Close all', '
|
29 |
</p>
|
30 |
|
31 |
<div class="yit_custom_tabs wc-metaboxes ui-sortable" style="">
|
@@ -34,7 +34,7 @@ extract($args);
|
|
34 |
<?php foreach( $value as $i=>$tab ): ?>
|
35 |
<div class="yit_custom_tab wc-metabox closed" rel="0">
|
36 |
<h3>
|
37 |
-
<button type="button" class="remove_row button"><?php _e('Remove', '
|
38 |
<div class="handlediv" title="Click to toggle"></div>
|
39 |
<strong class="attribute_name"><?php echo $tab['name'] ?></strong>
|
40 |
</h3>
|
@@ -43,14 +43,14 @@ extract($args);
|
|
43 |
<tbody>
|
44 |
<tr>
|
45 |
<td class="attribute_name">
|
46 |
-
<label><?php _e('Name', '
|
47 |
<input type="text" class="attribute_name" name="<?php echo $name ?>[<?php echo $i ?>][name]" value="<?php echo esc_attr( $tab['name'] ) ?>">
|
48 |
<input type="hidden" name="<?php echo $name ?>[<?php echo $i ?>][position]" class="attribute_position" value="<?php echo $i ?>">
|
49 |
</td>
|
50 |
|
51 |
<td rowspan="3">
|
52 |
-
<label><?php _e('Value', '
|
53 |
-
<textarea name="<?php echo $name ?>[<?php echo $i ?>][value]" cols="5" rows="5" placeholder="<?php _e('Content of the tab. (HTML is supported)','
|
54 |
</td>
|
55 |
</tr>
|
56 |
</tbody>
|
@@ -62,7 +62,7 @@ extract($args);
|
|
62 |
</div>
|
63 |
|
64 |
<p class="toolbar">
|
65 |
-
<button type="button" class="button button-primary add_custom_tab"><?php _e( 'Add custom product tab', '
|
66 |
</p>
|
67 |
|
68 |
<div class="clear"></div>
|
@@ -79,7 +79,7 @@ jQuery(document).ready(function($){
|
|
79 |
// Add custom attribute row
|
80 |
$('.yit_custom_tabs').append('<div class="yit_custom_tab wc-metabox">\
|
81 |
<h3>\
|
82 |
-
<button type="button" class="remove_row button"><?php _e('Remove', '
|
83 |
<div class="handlediv" title="Click to toggle"></div>\
|
84 |
<strong class="attribute_name"></strong>\
|
85 |
</h3>\
|
@@ -87,13 +87,13 @@ jQuery(document).ready(function($){
|
|
87 |
<tbody>\
|
88 |
<tr>\
|
89 |
<td class="attribute_name">\
|
90 |
-
<label><?php _e('Name', '
|
91 |
<input type="text" class="attribute_name" name="<?php echo $name ?>[' + size + '][name]" />\
|
92 |
<input type="hidden" name="<?php echo $name ?>[' + size + '][position]" class="attribute_position" value="' + size + '" />\
|
93 |
</td>\
|
94 |
<td rowspan="3">\
|
95 |
-
<label><?php _e('Value', '
|
96 |
-
<textarea name="<?php echo $name ?>[' + size + '][value]" cols="5" rows="5" placeholder="<?php echo addslashes( __('Content of the tab. (HTML is supported)','
|
97 |
</td>\
|
98 |
</tr>\
|
99 |
</tbody>\
|
@@ -104,7 +104,7 @@ jQuery(document).ready(function($){
|
|
104 |
|
105 |
|
106 |
$('.yit_custom_tabs').on('click', 'button.remove_row', function() {
|
107 |
-
var answer = confirm("<?php _e('Do you want to remove the custom tab?', '
|
108 |
if (answer){
|
109 |
var $parent = $(this).parent().parent();
|
110 |
|
25 |
<div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?>>
|
26 |
<div id="yit_custom_tabs" class="panel wc-metaboxes-wrapper" style="display: block;">
|
27 |
<p class="toolbar">
|
28 |
+
<a href="#" class="close_all"><?php _e('Close all', 'yith-plugin-fw') ?></a><a href="#" class="expand_all"><?php _e('Expand all', 'yith-plugin-fw') ?></a>
|
29 |
</p>
|
30 |
|
31 |
<div class="yit_custom_tabs wc-metaboxes ui-sortable" style="">
|
34 |
<?php foreach( $value as $i=>$tab ): ?>
|
35 |
<div class="yit_custom_tab wc-metabox closed" rel="0">
|
36 |
<h3>
|
37 |
+
<button type="button" class="remove_row button"><?php _e('Remove', 'yith-plugin-fw') ?></button>
|
38 |
<div class="handlediv" title="Click to toggle"></div>
|
39 |
<strong class="attribute_name"><?php echo $tab['name'] ?></strong>
|
40 |
</h3>
|
43 |
<tbody>
|
44 |
<tr>
|
45 |
<td class="attribute_name">
|
46 |
+
<label><?php _e('Name', 'yith-plugin-fw') ?>:</label>
|
47 |
<input type="text" class="attribute_name" name="<?php echo $name ?>[<?php echo $i ?>][name]" value="<?php echo esc_attr( $tab['name'] ) ?>">
|
48 |
<input type="hidden" name="<?php echo $name ?>[<?php echo $i ?>][position]" class="attribute_position" value="<?php echo $i ?>">
|
49 |
</td>
|
50 |
|
51 |
<td rowspan="3">
|
52 |
+
<label><?php _e('Value', 'yith-plugin-fw') ?>:</label>
|
53 |
+
<textarea name="<?php echo $name ?>[<?php echo $i ?>][value]" cols="5" rows="5" placeholder="<?php _e('Content of the tab. (HTML is supported)','yith-plugin-fw') ?>"><?php echo $tab['value'] ?></textarea>
|
54 |
</td>
|
55 |
</tr>
|
56 |
</tbody>
|
62 |
</div>
|
63 |
|
64 |
<p class="toolbar">
|
65 |
+
<button type="button" class="button button-primary add_custom_tab"><?php _e( 'Add custom product tab', 'yith-plugin-fw' ) ?></button>
|
66 |
</p>
|
67 |
|
68 |
<div class="clear"></div>
|
79 |
// Add custom attribute row
|
80 |
$('.yit_custom_tabs').append('<div class="yit_custom_tab wc-metabox">\
|
81 |
<h3>\
|
82 |
+
<button type="button" class="remove_row button"><?php _e('Remove', 'yith-plugin-fw') ?></button>\
|
83 |
<div class="handlediv" title="Click to toggle"></div>\
|
84 |
<strong class="attribute_name"></strong>\
|
85 |
</h3>\
|
87 |
<tbody>\
|
88 |
<tr>\
|
89 |
<td class="attribute_name">\
|
90 |
+
<label><?php _e('Name', 'yith-plugin-fw') ?>:</label>\
|
91 |
<input type="text" class="attribute_name" name="<?php echo $name ?>[' + size + '][name]" />\
|
92 |
<input type="hidden" name="<?php echo $name ?>[' + size + '][position]" class="attribute_position" value="' + size + '" />\
|
93 |
</td>\
|
94 |
<td rowspan="3">\
|
95 |
+
<label><?php _e('Value', 'yith-plugin-fw') ?>:</label>\
|
96 |
+
<textarea name="<?php echo $name ?>[' + size + '][value]" cols="5" rows="5" placeholder="<?php echo addslashes( __('Content of the tab. (HTML is supported)','yith-plugin-fw') ) ?>"></textarea>\
|
97 |
</td>\
|
98 |
</tr>\
|
99 |
</tbody>\
|
104 |
|
105 |
|
106 |
$('.yit_custom_tabs').on('click', 'button.remove_row', function() {
|
107 |
+
var answer = confirm("<?php _e('Do you want to remove the custom tab?', 'yith-plugin-fw') ?>");
|
108 |
if (answer){
|
109 |
var $parent = $(this).parent().parent();
|
110 |
|
plugin-fw/templates/metaboxes/types/icon-list.php
CHANGED
@@ -66,13 +66,13 @@ $options['icon'] = YIT_Plugin_Common::get_icon_list();
|
|
66 |
|
67 |
<div class="input_wrapper custom_icon_wrapper upload" style="clear:both;">
|
68 |
<input type="text" name="<?php echo $name ?>[custom]" id="<?php echo $id ?>[custom]" value="<?php echo $current_options['custom'] ?>" class="upload_img_url upload_custom_icon" />
|
69 |
-
<input type="button" value="<?php _e( 'Upload', '
|
70 |
|
71 |
<div class="upload_img_preview" style="margin-top:10px;">
|
72 |
<?php
|
73 |
$file = $current_options['custom'];
|
74 |
if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
|
75 |
-
echo __('Image preview', '
|
76 |
}
|
77 |
?>
|
78 |
</div>
|
@@ -86,9 +86,9 @@ $options['icon'] = YIT_Plugin_Common::get_icon_list();
|
|
86 |
<div class="description">
|
87 |
<?php echo $desc ?>
|
88 |
<?php if( $std['select'] == 'custom' ) : ?>
|
89 |
-
<?php printf( __( '(Default: %s <img src="%s"/>)', '
|
90 |
<?php else: ?>
|
91 |
-
<?php printf( __( '(Default: <i %s></i> )', '
|
92 |
<?php endif; ?>
|
93 |
</div>
|
94 |
|
66 |
|
67 |
<div class="input_wrapper custom_icon_wrapper upload" style="clear:both;">
|
68 |
<input type="text" name="<?php echo $name ?>[custom]" id="<?php echo $id ?>[custom]" value="<?php echo $current_options['custom'] ?>" class="upload_img_url upload_custom_icon" />
|
69 |
+
<input type="button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id; ?>-custom-button" class="upload_button button" />
|
70 |
|
71 |
<div class="upload_img_preview" style="margin-top:10px;">
|
72 |
<?php
|
73 |
$file = $current_options['custom'];
|
74 |
if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
|
75 |
+
echo __('Image preview', 'yith-plugin-fw') . ': ' . "<img src=\"" . YIT_CORE_ASSETS_URL . "/images/sleep.png\" data-src=\"$file\" />";
|
76 |
}
|
77 |
?>
|
78 |
</div>
|
86 |
<div class="description">
|
87 |
<?php echo $desc ?>
|
88 |
<?php if( $std['select'] == 'custom' ) : ?>
|
89 |
+
<?php printf( __( '(Default: %s <img src="%s"/>)', 'yith-plugin-fw' ), $options['select']['custom'], $std['custom'] ) ?>
|
90 |
<?php else: ?>
|
91 |
+
<?php printf( __( '(Default: <i %s></i> )', 'yith-plugin-fw' ), $current_icon ) ?>
|
92 |
<?php endif; ?>
|
93 |
</div>
|
94 |
|
plugin-fw/templates/metaboxes/types/image-gallery.php
CHANGED
@@ -29,15 +29,20 @@ if ( !empty( $value ) ) {
|
|
29 |
<?php foreach ( $array_id as $image_id ) : ?>
|
30 |
<li class="image" data-attachment_id = <?php echo esc_attr($image_id) ?>>
|
31 |
<a href="#">
|
32 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
33 |
</a>
|
34 |
<ul class="actions">
|
35 |
-
<li><a href="#" class="delete" title="<?php _e( 'Delete image', '
|
36 |
</ul>
|
37 |
</li>
|
38 |
<?php endforeach; endif; ?>
|
39 |
</ul>
|
40 |
-
<input type="button" data-choose="<?php _e( 'Add Images to Gallery', '
|
41 |
<input type="hidden" class="image_gallery_ids" id="image_gallery_ids" name="<?php echo $name ?>" value="<?php echo esc_attr( $value ); ?>" />
|
42 |
</p>
|
43 |
</div>
|
29 |
<?php foreach ( $array_id as $image_id ) : ?>
|
30 |
<li class="image" data-attachment_id = <?php echo esc_attr($image_id) ?>>
|
31 |
<a href="#">
|
32 |
+
<?php
|
33 |
+
if( function_exists( 'yit_image' ) ) :
|
34 |
+
yit_image( "id=$image_id&size=admin-post-type-thumbnails" );
|
35 |
+
else:
|
36 |
+
echo wp_get_attachment_image( $image_id, array( 80, 80 ) );
|
37 |
+
endif; ?>
|
38 |
</a>
|
39 |
<ul class="actions">
|
40 |
+
<li><a href="#" class="delete" title="<?php _e( 'Delete image', 'yith-plugin-fw' ); ?>">x</a></li>
|
41 |
</ul>
|
42 |
</li>
|
43 |
<?php endforeach; endif; ?>
|
44 |
</ul>
|
45 |
+
<input type="button" data-choose="<?php _e( 'Add Images to Gallery', 'yith-plugin-fw' ); ?>" data-update="<?php _e( 'Add to gallery', 'yith-plugin-fw' ); ?>" value="<?php _e( 'Add images', 'yith-plugin-fw' ) ?>" data-delete="<?php _e( 'Delete image', 'yith-plugin-fw' ); ?>" data-text="<?php _e( 'Delete', 'yith-plugin-fw' ); ?>" id="<?php echo $id ?>-button" class="image-gallery-button button" />
|
46 |
<input type="hidden" class="image_gallery_ids" id="image_gallery_ids" name="<?php echo $name ?>" value="<?php echo esc_attr( $value ); ?>" />
|
47 |
</p>
|
48 |
</div>
|
plugin-fw/templates/metaboxes/types/images.php
CHANGED
@@ -27,14 +27,19 @@ if ( empty( $value ) || ! is_array( $value ) )
|
|
27 |
<?php if ( ! empty( $value ) ) : foreach ( $value as $image_id ) : ?>
|
28 |
<li>
|
29 |
<a href="#">
|
30 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
31 |
<input type="hidden" name="<?php echo $name ?>[]" value="<?php echo esc_attr( $image_id ) ?>" />
|
32 |
</a>
|
33 |
-
<a href="#" title="<?php _e( 'Delete image', '
|
34 |
</li>
|
35 |
<?php endforeach; endif; ?>
|
36 |
</ul>
|
37 |
-
<a href="#" class="button-secondary upload-extra-images" id="<?php echo $id ?>-upload-extra-images"><?php _e( 'Upload new images', '
|
38 |
</div>
|
39 |
<script type="text/javascript">
|
40 |
jQuery(document).ready(function($){
|
@@ -56,7 +61,7 @@ if ( empty( $value ) || ! is_array( $value ) )
|
|
56 |
var baseurl = imgurl.replace( '.' + thumburl[0], '' );
|
57 |
thumburl = baseurl + '-140x100.' + thumburl[0];
|
58 |
|
59 |
-
$('#<?php echo $id ?>-extra-images.slides-wrapper').append('<li><a href="#"><img src="'+thumburl+'" width="140" height="100" /> <input type="hidden" name="<?php echo $name ?>[]" value="'+image_id+'" /></a><a href="#" title="<?php echo addslashes( __( 'Delete image', '
|
60 |
});
|
61 |
|
62 |
tb_remove();
|
@@ -67,7 +72,7 @@ if ( empty( $value ) || ! is_array( $value ) )
|
|
67 |
});
|
68 |
|
69 |
$('#<?php echo $id ?>-extra-images a.delete').on( 'click', function(){
|
70 |
-
if ( confirm( "<?php _e( 'Are you sure you want to remove this image?', '
|
71 |
$(this).parent().remove();
|
72 |
}
|
73 |
|
27 |
<?php if ( ! empty( $value ) ) : foreach ( $value as $image_id ) : ?>
|
28 |
<li>
|
29 |
<a href="#">
|
30 |
+
<?php
|
31 |
+
if( function_exists( 'yit_image' ) ) :
|
32 |
+
yit_image( "id=$image_id&size=admin-post-type-thumbnails" );
|
33 |
+
else:
|
34 |
+
echo wp_get_attachment_image( $image_id, array( 80, 80 ) );
|
35 |
+
endif; ?>
|
36 |
<input type="hidden" name="<?php echo $name ?>[]" value="<?php echo esc_attr( $image_id ) ?>" />
|
37 |
</a>
|
38 |
+
<a href="#" title="<?php _e( 'Delete image', 'yith-plugin-fw' ) ?>" class="delete">X</a>
|
39 |
</li>
|
40 |
<?php endforeach; endif; ?>
|
41 |
</ul>
|
42 |
+
<a href="#" class="button-secondary upload-extra-images" id="<?php echo $id ?>-upload-extra-images"><?php _e( 'Upload new images', 'yith-plugin-fw' ) ?></a>
|
43 |
</div>
|
44 |
<script type="text/javascript">
|
45 |
jQuery(document).ready(function($){
|
61 |
var baseurl = imgurl.replace( '.' + thumburl[0], '' );
|
62 |
thumburl = baseurl + '-140x100.' + thumburl[0];
|
63 |
|
64 |
+
$('#<?php echo $id ?>-extra-images.slides-wrapper').append('<li><a href="#"><img src="'+thumburl+'" width="140" height="100" /> <input type="hidden" name="<?php echo $name ?>[]" value="'+image_id+'" /></a><a href="#" title="<?php echo addslashes( __( 'Delete image', 'yith-plugin-fw' ) ) ?>" class="delete">X</a></li>');
|
65 |
});
|
66 |
|
67 |
tb_remove();
|
72 |
});
|
73 |
|
74 |
$('#<?php echo $id ?>-extra-images a.delete').on( 'click', function(){
|
75 |
+
if ( confirm( "<?php _e( 'Are you sure you want to remove this image?', 'yith-plugin-fw' ) ?>" ) ) {
|
76 |
$(this).parent().remove();
|
77 |
}
|
78 |
|
plugin-fw/templates/metaboxes/types/onoff.php
CHANGED
@@ -14,6 +14,10 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
|
15 |
extract( $args );
|
16 |
|
|
|
|
|
|
|
|
|
17 |
?>
|
18 |
<div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?> class="rm_onoff onoff_container">
|
19 |
|
14 |
|
15 |
extract( $args );
|
16 |
|
17 |
+
if ( !isset( $desc ) ) {
|
18 |
+
$desc='';
|
19 |
+
}
|
20 |
+
|
21 |
?>
|
22 |
<div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?> class="rm_onoff onoff_container">
|
23 |
|
plugin-fw/templates/metaboxes/types/preview.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
11 |
+
exit;
|
12 |
+
} // Exit if accessed directly
|
13 |
+
|
14 |
+
extract( $args );
|
15 |
+
|
16 |
+
?>
|
17 |
+
<div id="<?php echo $id ?>-container" <?php if ( isset( $deps ) ): ?> data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?>>
|
18 |
+
<img src="<?php echo $value ?>" class="yit-preview">
|
19 |
+
</div>
|
plugin-fw/templates/metaboxes/types/responsivesliders.php
CHANGED
@@ -21,7 +21,7 @@ $options = yit_get_responsive_sliders();
|
|
21 |
<div class="select_wrapper">
|
22 |
<select id="<?php echo $id ?>" name="<?php echo $name ?>" <?php if ( isset( $std ) ) : ?>data-std="<?php echo $std ?>"<?php endif ?>>
|
23 |
<option></option>
|
24 |
-
<option value="none"><?php _e( 'None', '
|
25 |
<?php foreach ( $options as $key => $item ) : ?>
|
26 |
<option value="<?php echo esc_attr( $key ) ?>"<?php selected( $key, $value ) ?>><?php echo $item ?></option>
|
27 |
<?php endforeach; ?>
|
21 |
<div class="select_wrapper">
|
22 |
<select id="<?php echo $id ?>" name="<?php echo $name ?>" <?php if ( isset( $std ) ) : ?>data-std="<?php echo $std ?>"<?php endif ?>>
|
23 |
<option></option>
|
24 |
+
<option value="none"><?php _e( 'None', 'yith-plugin-fw' ) ?></option>
|
25 |
<?php foreach ( $options as $key => $item ) : ?>
|
26 |
<option value="<?php echo esc_attr( $key ) ?>"<?php selected( $key, $value ) ?>><?php echo $item ?></option>
|
27 |
<?php endforeach; ?>
|
plugin-fw/templates/metaboxes/types/select-icon.php
CHANGED
@@ -30,13 +30,13 @@ $current_options = wp_parse_args( $args['value'], $args['std'] );
|
|
30 |
|
31 |
<div class="input_wrapper custom_icon">
|
32 |
<input type="text" name="<?php echo $name ?>[custom]" id="<?php echo $id ?>[custom]" value="<?php echo $current_options['custom'] ?>" class="upload_img_url upload_custom_icon" />
|
33 |
-
<input type="button" value="<?php _e( 'Upload', '
|
34 |
|
35 |
<div class="upload_img_preview" style="margin-top:10px;">
|
36 |
<?php
|
37 |
$file = $current_options['custom'];
|
38 |
if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
|
39 |
-
echo __( 'Image preview', '
|
40 |
}
|
41 |
?>
|
42 |
</div>
|
30 |
|
31 |
<div class="input_wrapper custom_icon">
|
32 |
<input type="text" name="<?php echo $name ?>[custom]" id="<?php echo $id ?>[custom]" value="<?php echo $current_options['custom'] ?>" class="upload_img_url upload_custom_icon" />
|
33 |
+
<input type="button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id; ?>-custom-button" class="upload_button button" />
|
34 |
|
35 |
<div class="upload_img_preview" style="margin-top:10px;">
|
36 |
<?php
|
37 |
$file = $current_options['custom'];
|
38 |
if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
|
39 |
+
echo __( 'Image preview', 'yith-plugin-fw' ) . ': ' . "<img src=\"" . YIT_CORE_ASSETS_URL . "/images/sleep.png\" data-src=\"$file\" />";
|
40 |
}
|
41 |
?>
|
42 |
</div>
|
plugin-fw/templates/metaboxes/types/sidebar-layout.php
CHANGED
@@ -22,16 +22,16 @@ $sidebar = ! isset( $value['sidebar'] ) ? '' : $value['sidebar'];
|
|
22 |
|
23 |
<p class="yit-sidebar-layout">
|
24 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-left' ?>" value="sidebar-left" <?php checked( $layout, 'sidebar-left' ) ?> />
|
25 |
-
<img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/sideleft.png" title="<?php _e( 'Left sidebar', '
|
26 |
|
27 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-no' ?>" value="sidebar-no" <?php checked( $layout, 'sidebar-no' ) ?> />
|
28 |
-
<img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/noside.png" title="<?php _e( 'No sidebar', '
|
29 |
|
30 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-right' ?>" value="sidebar-right" <?php checked( $layout, 'sidebar-right' ) ?> />
|
31 |
-
<img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/sideright.png" title="<?php _e( 'Right sidebar', '
|
32 |
|
33 |
<select name="<?php echo $name ?>[sidebar]" id="<?php echo $id ?>-sidebar">
|
34 |
-
<option value="-1"><?php _e( 'Choose a sidebar', '
|
35 |
<?php foreach ( yit_registered_sidebars() as $val => $option ) { ?>
|
36 |
<option value="<?php echo esc_attr( $val ) ?>" <?php selected( $sidebar, $val ) ?>><?php echo $option; ?></option>
|
37 |
<?php } ?>
|
22 |
|
23 |
<p class="yit-sidebar-layout">
|
24 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-left' ?>" value="sidebar-left" <?php checked( $layout, 'sidebar-left' ) ?> />
|
25 |
+
<img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/sideleft.png" title="<?php _e( 'Left sidebar', 'yith-plugin-fw' ) ?>" alt="<?php _e( 'Left sidebar', 'yith-plugin-fw' ) ?>" />
|
26 |
|
27 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-no' ?>" value="sidebar-no" <?php checked( $layout, 'sidebar-no' ) ?> />
|
28 |
+
<img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/noside.png" title="<?php _e( 'No sidebar', 'yith-plugin-fw' ) ?>" alt="<?php _e( 'No sidebar', 'yith-plugin-fw' ) ?>" />
|
29 |
|
30 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-right' ?>" value="sidebar-right" <?php checked( $layout, 'sidebar-right' ) ?> />
|
31 |
+
<img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/sideright.png" title="<?php _e( 'Right sidebar', 'yith-plugin-fw' ) ?>" alt="<?php _e( 'Right sidebar', 'yith-plugin-fw' ) ?>" />
|
32 |
|
33 |
<select name="<?php echo $name ?>[sidebar]" id="<?php echo $id ?>-sidebar">
|
34 |
+
<option value="-1"><?php _e( 'Choose a sidebar', 'yith-plugin-fw' ) ?></option>
|
35 |
<?php foreach ( yit_registered_sidebars() as $val => $option ) { ?>
|
36 |
<option value="<?php echo esc_attr( $val ) ?>" <?php selected( $sidebar, $val ) ?>><?php echo $option; ?></option>
|
37 |
<?php } ?>
|
plugin-fw/templates/metaboxes/types/sidebars.php
CHANGED
@@ -33,24 +33,24 @@ $sidebar_right = ! isset( $value['sidebar-right'] ) ? '-1' : $value['sidebar-ri
|
|
33 |
<label for="_slider_name"><?php echo $label ?></label>
|
34 |
|
35 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-left' ?>" value="sidebar-left" <?php checked( $layout, 'sidebar-left' ) ?> />
|
36 |
-
<img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/sidebar-left.png" title="<?php _e( 'Left sidebar', '
|
37 |
|
38 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-right' ?>" value="sidebar-right" <?php checked( $layout, 'sidebar-right' ) ?> />
|
39 |
-
<img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/sidebar-right.png" title="<?php _e( 'Right sidebar', '
|
40 |
|
41 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-double' ?>" value="sidebar-double" <?php checked( $layout, 'sidebar-double' ) ?> />
|
42 |
-
<img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/double-sidebar.png" title="<?php _e( 'No sidebar', '
|
43 |
|
44 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-no' ?>" value="sidebar-no" <?php checked( $layout, 'sidebar-no' ) ?> />
|
45 |
-
<img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/no-sidebar.png" title="<?php _e( 'No sidebar', '
|
46 |
</div>
|
47 |
<div class="clearfix"></div>
|
48 |
<div class="option" id="choose-sidebars">
|
49 |
<div class="side">
|
50 |
<div class="select-mask" <?php if ( $layout != 'sidebar-double' && $layout != 'sidebar-left' ) { echo 'style="display:none"'; } ?> id="<?php echo $id ?>-sidebar-left-container">
|
51 |
-
<label for ="<?php echo $id ?>-sidebar-left"><?php _e('Left Sidebar','
|
52 |
<select name="<?php echo $name ?>[sidebar-left]" id="<?php echo $id ?>-sidebar-left">
|
53 |
-
<option value="-1"><?php _e( 'Choose a sidebar', '
|
54 |
<?php foreach ( yit_registered_sidebars() as $val => $option ) { ?>
|
55 |
<option value="<?php echo esc_attr( $val ) ?>" <?php selected( $sidebar_left, $val ) ?>><?php echo $option; ?></option>
|
56 |
<?php } ?>
|
@@ -59,9 +59,9 @@ $sidebar_right = ! isset( $value['sidebar-right'] ) ? '-1' : $value['sidebar-ri
|
|
59 |
</div>
|
60 |
<div class="side" style="clear: both">
|
61 |
<div class="select-mask" <?php if ( $layout != 'sidebar-double' && $layout != 'sidebar-right' ) { echo 'style="display:none"'; } ?> id="<?php echo $id ?>-sidebar-right-container">
|
62 |
-
<label for ="<?php echo $id ?>-sidebar-right"><?php _e('Right Sidebar','
|
63 |
<select name="<?php echo $name ?>[sidebar-right]" id="<?php echo $id ?>-sidebar-right">
|
64 |
-
<option value="-1"><?php _e( 'Choose a sidebar', '
|
65 |
<?php foreach ( yit_registered_sidebars() as $val => $option ) { ?>
|
66 |
<option value="<?php echo esc_attr( $val ) ?>" <?php selected( $sidebar_right, $val ) ?>><?php echo $option; ?></option>
|
67 |
<?php } ?>
|
33 |
<label for="_slider_name"><?php echo $label ?></label>
|
34 |
|
35 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-left' ?>" value="sidebar-left" <?php checked( $layout, 'sidebar-left' ) ?> />
|
36 |
+
<img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/sidebar-left.png" title="<?php _e( 'Left sidebar', 'yith-plugin-fw' ) ?>" alt="<?php _e( 'Left sidebar', 'yith-plugin-fw' ) ?>" class="<?php echo $id . '-left' ?>" />
|
37 |
|
38 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-right' ?>" value="sidebar-right" <?php checked( $layout, 'sidebar-right' ) ?> />
|
39 |
+
<img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/sidebar-right.png" title="<?php _e( 'Right sidebar', 'yith-plugin-fw' ) ?>" alt="<?php _e( 'Right sidebar', 'yith-plugin-fw' ) ?>" class="<?php echo $id . '-right' ?>" />
|
40 |
|
41 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-double' ?>" value="sidebar-double" <?php checked( $layout, 'sidebar-double' ) ?> />
|
42 |
+
<img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/double-sidebar.png" title="<?php _e( 'No sidebar', 'yith-plugin-fw' ) ?>" alt="<?php _e( 'No sidebar', 'yith-plugin-fw' ) ?>" class="<?php echo $id . '-double' ?>" />
|
43 |
|
44 |
<input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-no' ?>" value="sidebar-no" <?php checked( $layout, 'sidebar-no' ) ?> />
|
45 |
+
<img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/no-sidebar.png" title="<?php _e( 'No sidebar', 'yith-plugin-fw' ) ?>" alt="<?php _e( 'No sidebar', 'yith-plugin-fw' ) ?>" class="<?php echo $id . '-no' ?>" />
|
46 |
</div>
|
47 |
<div class="clearfix"></div>
|
48 |
<div class="option" id="choose-sidebars">
|
49 |
<div class="side">
|
50 |
<div class="select-mask" <?php if ( $layout != 'sidebar-double' && $layout != 'sidebar-left' ) { echo 'style="display:none"'; } ?> id="<?php echo $id ?>-sidebar-left-container">
|
51 |
+
<label for ="<?php echo $id ?>-sidebar-left"><?php _e('Left Sidebar','yith-plugin-fw') ?></label>
|
52 |
<select name="<?php echo $name ?>[sidebar-left]" id="<?php echo $id ?>-sidebar-left">
|
53 |
+
<option value="-1"><?php _e( 'Choose a sidebar', 'yith-plugin-fw' ) ?></option>
|
54 |
<?php foreach ( yit_registered_sidebars() as $val => $option ) { ?>
|
55 |
<option value="<?php echo esc_attr( $val ) ?>" <?php selected( $sidebar_left, $val ) ?>><?php echo $option; ?></option>
|
56 |
<?php } ?>
|
59 |
</div>
|
60 |
<div class="side" style="clear: both">
|
61 |
<div class="select-mask" <?php if ( $layout != 'sidebar-double' && $layout != 'sidebar-right' ) { echo 'style="display:none"'; } ?> id="<?php echo $id ?>-sidebar-right-container">
|
62 |
+
<label for ="<?php echo $id ?>-sidebar-right"><?php _e('Right Sidebar','yith-plugin-fw') ?></label>
|
63 |
<select name="<?php echo $name ?>[sidebar-right]" id="<?php echo $id ?>-sidebar-right">
|
64 |
+
<option value="-1"><?php _e( 'Choose a sidebar', 'yith-plugin-fw' ) ?></option>
|
65 |
<?php foreach ( yit_registered_sidebars() as $val => $option ) { ?>
|
66 |
<option value="<?php echo esc_attr( $val ) ?>" <?php selected( $sidebar_right, $val ) ?>><?php echo $option; ?></option>
|
67 |
<?php } ?>
|
plugin-fw/templates/metaboxes/types/typography.php
CHANGED
@@ -39,10 +39,10 @@ $value = wp_parse_args( $value, $defaults );
|
|
39 |
<!-- Unit -->
|
40 |
<div class="select_wrapper font-unit">
|
41 |
<select name="<?php echo $name ?>[unit]" id="<?php echo $id ?>-unit">
|
42 |
-
<option value="px" <?php selected( $value['unit'], 'px' ) ?>><?php _e( 'px', '
|
43 |
-
<option value="em" <?php selected( $value['unit'], 'em' ) ?>><?php _e( 'em', '
|
44 |
-
<option value="pt" <?php selected( $value['unit'], 'pt' ) ?>><?php _e( 'pt', '
|
45 |
-
<option value="rem" <?php selected( $value['unit'], 'rem' ) ?>><?php _e( 'rem', '
|
46 |
</select>
|
47 |
</div>
|
48 |
<?php endif; ?>
|
@@ -56,7 +56,7 @@ $value = wp_parse_args( $value, $defaults );
|
|
56 |
$google_fonts = yit_get_google_fonts();
|
57 |
|
58 |
if ( ! empty( $web_fonts ) ) {
|
59 |
-
echo '<optgroup label="' . __( 'Web fonts', '
|
60 |
|
61 |
foreach ( $web_fonts as $font_name => $rule ) {
|
62 |
?>
|
@@ -68,7 +68,7 @@ $value = wp_parse_args( $value, $defaults );
|
|
68 |
}
|
69 |
|
70 |
if ( ! empty( $google_fonts ) ) {
|
71 |
-
echo '<optgroup label="' . __( 'Google fonts', '
|
72 |
|
73 |
foreach ( $google_fonts->items as $font ) {
|
74 |
// $font_human = trim( stripslashes( end( array_slice( explode( ',', $font ), 0, 1 ) ) ), "'" );
|
@@ -93,11 +93,11 @@ $value = wp_parse_args( $value, $defaults );
|
|
93 |
<!-- Style -->
|
94 |
<div class="select_wrapper font-style">
|
95 |
<select name="<?php echo $name ?>[style]" id="<?php echo $id ?>-style">
|
96 |
-
<option value="regular" <?php selected( $value['style'], 'regular' ) ?>><?php _e( 'Regular', '
|
97 |
-
<option value="bold" <?php selected( $value['style'], 'bold' ) ?>><?php _e( 'Bold', '
|
98 |
-
<option value="extra-bold" <?php selected( $std['style'], 'extra-bold' ) ?>><?php _e( 'Extra bold', '
|
99 |
-
<option value="italic" <?php selected( $value['style'], 'italic' ) ?>><?php _e( 'Italic', '
|
100 |
-
<option value="bold-italic" <?php selected( $value['style'], 'bold-italic' ) ?>><?php _e( 'Italic bold', '
|
101 |
</select>
|
102 |
</div>
|
103 |
<?php endif; ?>
|
@@ -150,7 +150,7 @@ $value = wp_parse_args( $value, $defaults );
|
|
150 |
var group = $('#<?php echo $id ?>-family').find('option:selected').parent().attr('label');
|
151 |
|
152 |
if ($('#<?php echo $id ?>-family').length > 0) {
|
153 |
-
if (group == '<?php _e( 'Web fonts', '
|
154 |
//Web font
|
155 |
preview.css('font-family', $('#<?php echo $id ?>-family').val());
|
156 |
} else {
|
@@ -214,7 +214,7 @@ $value = wp_parse_args( $value, $defaults );
|
|
214 |
$('#<?php echo $id ?>-family').change(function () {
|
215 |
var group = $(this).find('option:selected').parent().attr('label');
|
216 |
|
217 |
-
if (group == '<?php _e( 'Web fonts', '
|
218 |
//Web font
|
219 |
preview.css('font-family', $(this).val());
|
220 |
} else {
|
39 |
<!-- Unit -->
|
40 |
<div class="select_wrapper font-unit">
|
41 |
<select name="<?php echo $name ?>[unit]" id="<?php echo $id ?>-unit">
|
42 |
+
<option value="px" <?php selected( $value['unit'], 'px' ) ?>><?php _e( 'px', 'yith-plugin-fw' ) ?></option>
|
43 |
+
<option value="em" <?php selected( $value['unit'], 'em' ) ?>><?php _e( 'em', 'yith-plugin-fw' ) ?></option>
|
44 |
+
<option value="pt" <?php selected( $value['unit'], 'pt' ) ?>><?php _e( 'pt', 'yith-plugin-fw' ) ?></option>
|
45 |
+
<option value="rem" <?php selected( $value['unit'], 'rem' ) ?>><?php _e( 'rem', 'yith-plugin-fw' ) ?></option>
|
46 |
</select>
|
47 |
</div>
|
48 |
<?php endif; ?>
|
56 |
$google_fonts = yit_get_google_fonts();
|
57 |
|
58 |
if ( ! empty( $web_fonts ) ) {
|
59 |
+
echo '<optgroup label="' . __( 'Web fonts', 'yith-plugin-fw' ) . '">';
|
60 |
|
61 |
foreach ( $web_fonts as $font_name => $rule ) {
|
62 |
?>
|
68 |
}
|
69 |
|
70 |
if ( ! empty( $google_fonts ) ) {
|
71 |
+
echo '<optgroup label="' . __( 'Google fonts', 'yith-plugin-fw' ) . '">';
|
72 |
|
73 |
foreach ( $google_fonts->items as $font ) {
|
74 |
// $font_human = trim( stripslashes( end( array_slice( explode( ',', $font ), 0, 1 ) ) ), "'" );
|
93 |
<!-- Style -->
|
94 |
<div class="select_wrapper font-style">
|
95 |
<select name="<?php echo $name ?>[style]" id="<?php echo $id ?>-style">
|
96 |
+
<option value="regular" <?php selected( $value['style'], 'regular' ) ?>><?php _e( 'Regular', 'yith-plugin-fw' ) ?></option>
|
97 |
+
<option value="bold" <?php selected( $value['style'], 'bold' ) ?>><?php _e( 'Bold', 'yith-plugin-fw' ) ?></option>
|
98 |
+
<option value="extra-bold" <?php selected( $std['style'], 'extra-bold' ) ?>><?php _e( 'Extra bold', 'yith-plugin-fw' ) ?></option>
|
99 |
+
<option value="italic" <?php selected( $value['style'], 'italic' ) ?>><?php _e( 'Italic', 'yith-plugin-fw' ) ?></option>
|
100 |
+
<option value="bold-italic" <?php selected( $value['style'], 'bold-italic' ) ?>><?php _e( 'Italic bold', 'yith-plugin-fw' ) ?></option>
|
101 |
</select>
|
102 |
</div>
|
103 |
<?php endif; ?>
|
150 |
var group = $('#<?php echo $id ?>-family').find('option:selected').parent().attr('label');
|
151 |
|
152 |
if ($('#<?php echo $id ?>-family').length > 0) {
|
153 |
+
if (group == '<?php _e( 'Web fonts', 'yith-plugin-fw' ) ?>') {
|
154 |
//Web font
|
155 |
preview.css('font-family', $('#<?php echo $id ?>-family').val());
|
156 |
} else {
|
214 |
$('#<?php echo $id ?>-family').change(function () {
|
215 |
var group = $(this).find('option:selected').parent().attr('label');
|
216 |
|
217 |
+
if (group == '<?php _e( 'Web fonts', 'yith-plugin-fw' ) ?>') {
|
218 |
//Web font
|
219 |
preview.css('font-family', $(this).val());
|
220 |
} else {
|
plugin-fw/templates/metaboxes/types/upload.php
CHANGED
@@ -18,7 +18,7 @@ extract( $args );
|
|
18 |
<label for="<?php echo $id ?>"><?php echo $label ?></label>
|
19 |
<p>
|
20 |
<input type="text" id="<?php echo $id ?>" name="<?php echo $name ?>" value="<?php echo esc_attr( $value ) ?>" <?php if( isset( $std ) ) : ?>data-std="<?php echo $std ?>"<?php endif ?> class="upload_img_url"/>
|
21 |
-
<input type="button" class="button-secondary upload_button" id="<?php echo $id ?>-button" value="<?php _e( 'Upload', '
|
22 |
<span class="desc inline"><?php echo $desc ?></span>
|
23 |
</p>
|
24 |
</div>
|
18 |
<label for="<?php echo $id ?>"><?php echo $label ?></label>
|
19 |
<p>
|
20 |
<input type="text" id="<?php echo $id ?>" name="<?php echo $name ?>" value="<?php echo esc_attr( $value ) ?>" <?php if( isset( $std ) ) : ?>data-std="<?php echo $std ?>"<?php endif ?> class="upload_img_url"/>
|
21 |
+
<input type="button" class="button-secondary upload_button" id="<?php echo $id ?>-button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" />
|
22 |
<span class="desc inline"><?php echo $desc ?></span>
|
23 |
</p>
|
24 |
</div>
|
plugin-fw/templates/panel/infobox.php
CHANGED
@@ -14,10 +14,10 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
|
15 |
/**
|
16 |
* 'section_general_settings_boxinfo' => array(
|
17 |
-
* 'name' => __( 'General information', '
|
18 |
* 'type' => 'boxinfo',
|
19 |
* 'default' => array(
|
20 |
-
* 'plugin_name' => __( 'Plugin Name', '
|
21 |
* 'buy_url' => 'http://www.yithemes.com',
|
22 |
* 'demo_url' => 'http://plugins.yithemes.com/demo-url/'
|
23 |
* ),
|
14 |
|
15 |
/**
|
16 |
* 'section_general_settings_boxinfo' => array(
|
17 |
+
* 'name' => __( 'General information', 'yith-plugin-fw' ),
|
18 |
* 'type' => 'boxinfo',
|
19 |
* 'default' => array(
|
20 |
+
* 'plugin_name' => __( 'Plugin Name', 'yith-plugin-fw' ),
|
21 |
* 'buy_url' => 'http://www.yithemes.com',
|
22 |
* 'demo_url' => 'http://plugins.yithemes.com/demo-url/'
|
23 |
* ),
|
plugin-fw/templates/panel/types/upload.php
CHANGED
@@ -28,7 +28,7 @@ $name = $this->get_name_field( $option['id'] );
|
|
28 |
<div id="<?php echo $id ?>-container" class="yit_options rm_option rm_input rm_text rm_upload" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?>>
|
29 |
<div class="option">
|
30 |
<input type="text" name="<?php echo $name ?>" id="<?php echo $id ?>" value="<?php echo $db_value == '1' ? '' : esc_attr( $db_value ) ?>" class="upload_img_url" />
|
31 |
-
<input type="button" value="<?php _e( 'Upload', '
|
32 |
</div>
|
33 |
<div class="clear"></div>
|
34 |
<span class="description"><?php echo $option['desc'] ?></span>
|
28 |
<div id="<?php echo $id ?>-container" class="yit_options rm_option rm_input rm_text rm_upload" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?>>
|
29 |
<div class="option">
|
30 |
<input type="text" name="<?php echo $name ?>" id="<?php echo $id ?>" value="<?php echo $db_value == '1' ? '' : esc_attr( $db_value ) ?>" class="upload_img_url" />
|
31 |
+
<input type="button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id ?>-button" class="upload_button button" />
|
32 |
</div>
|
33 |
<div class="clear"></div>
|
34 |
<span class="description"><?php echo $option['desc'] ?></span>
|
plugin-fw/templates/panel/videobox.php
CHANGED
@@ -16,19 +16,19 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
* Example to call this template
|
17 |
*
|
18 |
* 'section_general_settings_videobox' => array(
|
19 |
-
* 'name' => __( 'Title of box', '
|
20 |
* 'type' => 'videobox',
|
21 |
* 'default' => array(
|
22 |
-
* 'plugin_name' => __( 'Plugin Name', '
|
23 |
-
* 'title_first_column' => __( 'Title first column', '
|
24 |
-
* 'description_first_column' => __('Lorem ipsum ... ', '
|
25 |
* 'video' => array(
|
26 |
* 'video_id' => 'vimeo_code',
|
27 |
* 'video_image_url' => '#',
|
28 |
-
* 'video_description' => __( 'Lorem ipsum dolor sit amet....', '
|
29 |
* ),
|
30 |
-
* 'title_second_column' => __( 'Title first column', '
|
31 |
-
* 'description_second_column' => __('Lorem ipsum dolor sit amet.... ', '
|
32 |
* 'button' => array(
|
33 |
* 'href' => 'http://www.yithemes.com',
|
34 |
* 'title' => 'Get Support and Pro Features'
|
@@ -38,8 +38,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
38 |
* ),
|
39 |
*/
|
40 |
?>
|
41 |
-
<div id="normal-sortables" class="meta-box-sortables">
|
42 |
-
<div id="<?php echo $id ?>" class="postbox
|
43 |
<h3><span><?php echo $name ?></span></h3>
|
44 |
<div class="inside">
|
45 |
<div class="yith_videobox">
|
16 |
* Example to call this template
|
17 |
*
|
18 |
* 'section_general_settings_videobox' => array(
|
19 |
+
* 'name' => __( 'Title of box', 'yith-plugin-fw' ),
|
20 |
* 'type' => 'videobox',
|
21 |
* 'default' => array(
|
22 |
+
* 'plugin_name' => __( 'Plugin Name', 'yith-plugin-fw' ),
|
23 |
+
* 'title_first_column' => __( 'Title first column', 'yith-plugin-fw' ),
|
24 |
+
* 'description_first_column' => __('Lorem ipsum ... ', 'yith-plugin-fw'),
|
25 |
* 'video' => array(
|
26 |
* 'video_id' => 'vimeo_code',
|
27 |
* 'video_image_url' => '#',
|
28 |
+
* 'video_description' => __( 'Lorem ipsum dolor sit amet....', 'yith-plugin-fw' ),
|
29 |
* ),
|
30 |
+
* 'title_second_column' => __( 'Title first column', 'yith-plugin-fw' ),
|
31 |
+
* 'description_second_column' => __('Lorem ipsum dolor sit amet.... ', 'yith-plugin-fw'),
|
32 |
* 'button' => array(
|
33 |
* 'href' => 'http://www.yithemes.com',
|
34 |
* 'title' => 'Get Support and Pro Features'
|
38 |
* ),
|
39 |
*/
|
40 |
?>
|
41 |
+
<div id="normal-sortables" class="meta-box-sortables yith-videobox-wrapper">
|
42 |
+
<div id="<?php echo $id ?>" class="postbox">
|
43 |
<h3><span><?php echo $name ?></span></h3>
|
44 |
<div class="inside">
|
45 |
<div class="yith_videobox">
|
plugin-fw/templates/panel/woocommerce/woocommerce-form.php
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
<form id="plugin-fw-wc" method="post">
|
3 |
<?php $this->add_fields() ?>
|
4 |
<?php wp_nonce_field( 'yit_panel_wc_options_'.$this->settings['page'], 'yit_panel_wc_options_nonce' ); ?>
|
5 |
-
<input style="float: left; margin-right: 10px;" class="button-primary" type="submit" value="<?php _e( 'Save Changes', '
|
6 |
</form>
|
7 |
<form id="plugin-fw-wc-reset" method="post">
|
8 |
-
<?php $warning = __( 'If you continue with this action, you will reset all options in this page.', '
|
9 |
<input type="hidden" name="yit-action" value="wc-options-reset" />
|
10 |
-
<input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset Defaults', '
|
11 |
</form>
|
12 |
</div>
|
2 |
<form id="plugin-fw-wc" method="post">
|
3 |
<?php $this->add_fields() ?>
|
4 |
<?php wp_nonce_field( 'yit_panel_wc_options_'.$this->settings['page'], 'yit_panel_wc_options_nonce' ); ?>
|
5 |
+
<input style="float: left; margin-right: 10px;" class="button-primary" type="submit" value="<?php _e( 'Save Changes', 'yith-plugin-fw' )?>"/>
|
6 |
</form>
|
7 |
<form id="plugin-fw-wc-reset" method="post">
|
8 |
+
<?php $warning = __( 'If you continue with this action, you will reset all options in this page.', 'yith-plugin-fw' ) ?>
|
9 |
<input type="hidden" name="yit-action" value="wc-options-reset" />
|
10 |
+
<input type="submit" name="yit-reset" class="button-secondary" value="<?php _e( 'Reset Defaults', 'yith-plugin-fw' ) ?>" onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yith-plugin-fw' ) ?>');" />
|
11 |
</form>
|
12 |
</div>
|
plugin-fw/templates/panel/woocommerce/woocommerce-upload.php
CHANGED
@@ -32,7 +32,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
32 |
<div id="<?php echo $id ?>-container" class="yit_options rm_option rm_input rm_text rm_upload" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?>>
|
33 |
<div class="option">
|
34 |
<input type="text" name="<?php echo $id ?>" id="<?php echo $id ?>" value="<?php echo $value == '1' ? '' : esc_attr( $value ) ?>" class="upload_img_url" />
|
35 |
-
<input type="button" value="<?php _e( 'Upload', '
|
36 |
</div>
|
37 |
<div class="clear"></div>
|
38 |
<span class="description"><?php echo $desc ?></span>
|
32 |
<div id="<?php echo $id ?>-container" class="yit_options rm_option rm_input rm_text rm_upload" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?>>
|
33 |
<div class="option">
|
34 |
<input type="text" name="<?php echo $id ?>" id="<?php echo $id ?>" value="<?php echo $value == '1' ? '' : esc_attr( $value ) ?>" class="upload_img_url" />
|
35 |
+
<input type="button" value="<?php _e( 'Upload', 'yith-plugin-fw' ) ?>" id="<?php echo $id ?>-button" class="upload_button button" />
|
36 |
</div>
|
37 |
<div class="clear"></div>
|
38 |
<span class="description"><?php echo $desc ?></span>
|
plugin-fw/yit-deactive-plugin.php
CHANGED
@@ -26,7 +26,7 @@ if ( ! function_exists( 'yit_deactive_free_version' ) ) {
|
|
26 |
|
27 |
global $status, $page, $s;
|
28 |
$redirect = 'plugins.php?action=activate&plugin=' . $to_active . '&plugin_status=' . $status . '&paged=' . $page . '&s=' . $s;
|
29 |
-
$redirect = add_query_arg( '_wpnonce', wp_create_nonce( 'activate-plugin_' . $to_active ), $redirect );
|
30 |
|
31 |
header( 'Location: ' . $redirect );
|
32 |
exit();
|
26 |
|
27 |
global $status, $page, $s;
|
28 |
$redirect = 'plugins.php?action=activate&plugin=' . $to_active . '&plugin_status=' . $status . '&paged=' . $page . '&s=' . $s;
|
29 |
+
$redirect = esc_url_raw( add_query_arg( '_wpnonce', wp_create_nonce( 'activate-plugin_' . $to_active ), $redirect ) );
|
30 |
|
31 |
header( 'Location: ' . $redirect );
|
32 |
exit();
|
plugin-fw/yit-functions.php
CHANGED
@@ -65,7 +65,9 @@ if ( ! function_exists( 'yit_plugin_get_template' ) ) {
|
|
65 |
}
|
66 |
|
67 |
// include file located
|
68 |
-
|
|
|
|
|
69 |
|
70 |
if ( $return ) {
|
71 |
return ob_get_clean();
|
65 |
}
|
66 |
|
67 |
// include file located
|
68 |
+
if( file_exists( $located ) ){
|
69 |
+
include( $located );
|
70 |
+
}
|
71 |
|
72 |
if ( $return ) {
|
73 |
return ob_get_clean();
|
plugin-fw/yit-plugin.php
CHANGED
@@ -44,3 +44,9 @@ include_once( 'licence/lib/yit-theme-licence.php');
|
|
44 |
include_once( 'lib/yit-video.php');
|
45 |
include_once( 'lib/yit-upgrade.php');
|
46 |
include_once( 'lib/yit-pointers.php');
|
|
|
|
|
|
|
|
|
|
|
|
44 |
include_once( 'lib/yit-video.php');
|
45 |
include_once( 'lib/yit-upgrade.php');
|
46 |
include_once( 'lib/yit-pointers.php');
|
47 |
+
|
48 |
+
// load from theme folder...
|
49 |
+
load_textdomain( 'yith-plugin-fw', get_template_directory() . '/core/plugin-fw/yith-plugin-fw-' . apply_filters( 'plugin_locale', get_locale(), 'yith-plugin-fw' ) . '.mo' )
|
50 |
+
|
51 |
+
// ...or from plugin folder
|
52 |
+
|| load_textdomain( 'yith-plugin-fw', dirname(__FILE__) . '/languages/yith-plugin-fw-' . apply_filters( 'plugin_locale', get_locale(), 'yith-plugin-fw' ) . '.mo' );
|
plugin-options/settings-options.php
CHANGED
@@ -31,7 +31,7 @@ $settings = array(
|
|
31 |
'title' => __( 'General Options', 'yith-wcqv' ),
|
32 |
'type' => 'title',
|
33 |
'desc' => '',
|
34 |
-
'id' => 'yith-
|
35 |
),
|
36 |
|
37 |
'enable-quick-view' => array(
|
@@ -41,6 +41,14 @@ $settings = array(
|
|
41 |
'default' => 'yes'
|
42 |
),
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
'quick-view-label' => array(
|
45 |
'id' => 'yith-wcqv-button-label',
|
46 |
'name' => __( 'Quick View Button Label', 'yith-wcqv' ),
|
31 |
'title' => __( 'General Options', 'yith-wcqv' ),
|
32 |
'type' => 'title',
|
33 |
'desc' => '',
|
34 |
+
'id' => 'yith-wcqv-general-options'
|
35 |
),
|
36 |
|
37 |
'enable-quick-view' => array(
|
41 |
'default' => 'yes'
|
42 |
),
|
43 |
|
44 |
+
'enable-quick-view-mobile' => array(
|
45 |
+
'id' => 'yith-wcqv-enable-mobile',
|
46 |
+
'name' => __( 'Enable Quick View on mobile', 'yith-wcqv' ),
|
47 |
+
'desc' => __( 'Enable quick view features on mobile device too', 'yith-wcqv' ),
|
48 |
+
'type' => 'checkbox',
|
49 |
+
'default' => 'yes'
|
50 |
+
),
|
51 |
+
|
52 |
'quick-view-label' => array(
|
53 |
'id' => 'yith-wcqv-button-label',
|
54 |
'name' => __( 'Quick View Button Label', 'yith-wcqv' ),
|