YITH WooCommerce Catalog Mode - Version 1.2.3

Version Description

  • Added: compatibility with WooCommerce 2.5
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Catalog Mode
Version 1.2.3
Comparing to
See all releases

Code changes from version 1.2.2 to 1.2.3

init.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-catalog-mode/
5
Description: YITH WooCommerce Catalog Mode allows you to disable shop functions.
6
Author: YIThemes
7
Text Domain: yith-woocommerce-catalog-mode
8
- Version: 1.2.2
9
Author URI: http://yithemes.com/
10
*/
11
@@ -22,7 +22,7 @@ function ywctm_install_woocommerce_admin_notice() {
22
<div class="error">
23
<p><?php _e( 'YITH WooCommerce Catalog Mode is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-catalog-mode' ); ?></p>
24
</div>
25
- <?php
26
}
27
28
function ywctm_install_free_admin_notice() {
@@ -30,11 +30,11 @@ function ywctm_install_free_admin_notice() {
30
<div class="error">
31
<p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Catalog Mode while you are using the premium one.', 'yith-woocommerce-catalog-mode' ); ?></p>
32
</div>
33
- <?php
34
}
35
36
if ( !defined( 'YWCTM_VERSION' ) ) {
37
- define( 'YWCTM_VERSION', '1.2.2' );
38
}
39
40
if ( !defined( 'YWCTM_FREE_INIT' ) ) {
5
Description: YITH WooCommerce Catalog Mode allows you to disable shop functions.
6
Author: YIThemes
7
Text Domain: yith-woocommerce-catalog-mode
8
+ Version: 1.2.3
9
Author URI: http://yithemes.com/
10
*/
11
22
<div class="error">
23
<p><?php _e( 'YITH WooCommerce Catalog Mode is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-catalog-mode' ); ?></p>
24
</div>
25
+ <?php
26
}
27
28
function ywctm_install_free_admin_notice() {
30
<div class="error">
31
<p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Catalog Mode while you are using the premium one.', 'yith-woocommerce-catalog-mode' ); ?></p>
32
</div>
33
+ <?php
34
}
35
36
if ( !defined( 'YWCTM_VERSION' ) ) {
37
+ define( 'YWCTM_VERSION', '1.2.3' );
38
}
39
40
if ( !defined( 'YWCTM_FREE_INIT' ) ) {
plugin-fw/assets/css/overcast/jquery-ui-1.8.9.custom.css CHANGED
@@ -1,7 +1,7 @@
1
/*
2
- * jQuery UI CSS Framework 1.8.8
3
*
4
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
* Dual licensed under the MIT or GPL Version 2 licenses.
6
* http://jquery.org/license
7
*
@@ -42,65 +42,64 @@
42
43
44
/*
45
- * jQuery UI CSS Framework 1.8.8
46
*
47
- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
48
* Dual licensed under the MIT or GPL Version 2 licenses.
49
* http://jquery.org/license
50
*
51
* http://docs.jquery.com/UI/Theming/API
52
*
53
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Helvetica,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=dddddd&bgTextureHeader=02_glass.png&bgImgOpacityHeader=35&borderColorHeader=bbbbbb&fcHeader=444444&iconColorHeader=999999&bgColorContent=c9c9c9&bgTextureContent=05_inset_soft.png&bgImgOpacityContent=50&borderColorContent=aaaaaa&fcContent=333333&iconColorContent=999999&bgColorDefault=eeeeee&bgTextureDefault=02_glass.png&bgImgOpacityDefault=60&borderColorDefault=cccccc&fcDefault=3383bb&iconColorDefault=70b2e1&bgColorHover=f8f8f8&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=bbbbbb&fcHover=599fcf&iconColorHover=3383bb&bgColorActive=999999&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=75&borderColorActive=999999&fcActive=ffffff&iconColorActive=454545&bgColorHighlight=eeeeee&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=ffffff&fcHighlight=444444&iconColorHighlight=3383bb&bgColorError=c0402a&bgTextureError=01_flat.png&bgImgOpacityError=55&borderColorError=c0402a&fcError=ffffff&iconColorError=fbc856&bgColorOverlay=eeeeee&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=80&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=60&thicknessShadow=4px&offsetTopShadow=-4px&offsetLeftShadow=-4px&cornerRadiusShadow=0pxdow=0px
54
*/
55
56
57
/* Component containers
58
----------------------------------*/
59
- .ui-widget { font-family: Trebuchet MS, Helvetica, Arial, sans-serif; font-size: 1.1em; }
60
.ui-widget .ui-widget { font-size: 1em; }
61
- .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Helvetica, Arial, sans-serif; font-size: 1em; }
62
- .ui-widget-content { border: 1px solid #aaaaaa; background: #f1f1f1; color: #333333; }
63
.ui-widget-content a { color: #333333; }
64
- .ui-widget-header { border: 1px solid #bbbbbb; background: #ccc; color: #444444; font-weight: bold; }
65
- .ui-widget-header a { color: #444444; }
66
67
/* Interaction states
68
----------------------------------*/
69
- .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #eeeeee url(images/ui-bg_glass_60_eeeeee_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #3383bb; }
70
- .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #3383bb; text-decoration: none; }
71
- .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #bbbbbb; background: #f8f8f8 url(images/ui-bg_glass_100_f8f8f8_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #599fcf; }
72
- .ui-state-hover a, .ui-state-hover a:hover { color: #599fcf; text-decoration: none; }
73
- .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #999999; background: #999999 url(images/ui-bg_inset-hard_75_999999_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; }
74
- .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #ffffff; text-decoration: none; }
75
.ui-widget :active { outline: none; }
76
77
/* Interaction Cues
78
----------------------------------*/
79
- .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #ffffff; background: #eeeeee url(images/ui-bg_flat_55_eeeeee_40x100.png) 50% 50% repeat-x; color: #444444; }
80
- .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #444444; }
81
- .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #c0402a; background: #c0402a url(images/ui-bg_flat_55_c0402a_40x100.png) 50% 50% repeat-x; color: #ffffff; }
82
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
83
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
84
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
85
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
86
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
87
- .ui-sortable-placeholder { border: 1px dotted black; visibility: visible !important; }
88
- .ui-sortable-placeholder * { visibility: hidden; }
89
90
/* Icons
91
----------------------------------*/
92
93
/* states and images */
94
- /*.ui-widget-content .ui-icon {background-image: url(images/ui-icons_999999_256x240.png); }
95
- .ui-widget-header .ui-icon {background-image: url(images/ui-icons_999999_256x240.png); } */
96
- .ui-state-default .ui-icon { background-image: url(images/ui-icons_70b2e1_256x240.png); }
97
- /*.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_3383bb_256x240.png); }
98
- .ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
99
- .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_3383bb_256x240.png); }
100
- .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_fbc856_256x240.png); } */
101
102
/* positioning */
103
- /*.ui-icon-carat-1-n { background-position: 0 0; }
104
.ui-icon-carat-1-ne { background-position: -16px 0; }
105
.ui-icon-carat-1-e { background-position: -32px 0; }
106
.ui-icon-carat-1-se { background-position: -48px 0; }
@@ -204,11 +203,11 @@
204
.ui-icon-heart { background-position: -208px -112px; }
205
.ui-icon-star { background-position: -224px -112px; }
206
.ui-icon-link { background-position: -240px -112px; }
207
- .ui-icon-cancel { background-position: 0 -128px; } */
208
- .ui-icon-plus { background-position: -16px -128px; }
209
.ui-icon-minus { background-position: -48px -128px; }
210
.ui-icon-minusthick { background-position: -64px -128px; }
211
- /*.ui-icon-plusthick { background-position: -32px -128px; }
212
.ui-icon-close { background-position: -80px -128px; }
213
.ui-icon-closethick { background-position: -96px -128px; }
214
.ui-icon-key { background-position: -112px -128px; }
@@ -235,9 +234,9 @@
235
.ui-icon-seek-next { background-position: -32px -160px; }
236
.ui-icon-seek-prev { background-position: -48px -160px; }
237
.ui-icon-seek-end { background-position: -64px -160px; }
238
- .ui-icon-seek-start { background-position: -80px -160px; } */
239
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
240
- /*.ui-icon-seek-first { background-position: -80px -160px; }
241
.ui-icon-stop { background-position: -96px -160px; }
242
.ui-icon-eject { background-position: -112px -160px; }
243
.ui-icon-volume-off { background-position: -128px -160px; }
@@ -274,40 +273,202 @@
274
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
275
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
276
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
277
- .ui-icon-grip-diagonal-se { background-position: -80px -224px; } */
278
279
280
/* Misc visuals
281
----------------------------------*/
282
283
/* Corner radius */
284
- .ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; }
285
- .ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; }
286
- .ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; }
287
- .ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; }
288
- .ui-corner-top { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; }
289
- .ui-corner-bottom { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; }
290
- .ui-corner-right { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; }
291
- .ui-corner-left { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; }
292
- .ui-corner-all { -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; }
293
294
/* Overlays */
295
- .ui-widget-overlay { background: #eeeeee url(images/ui-bg_flat_0_eeeeee_40x100.png) 50% 50% repeat-x; opacity: .80;filter:Alpha(Opacity=80); }
296
- .ui-widget-shadow { margin: -4px 0 0 -4px; padding: 4px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .60;filter:Alpha(Opacity=60); -moz-border-radius: 0pxdow=0px; -webkit-border-radius: 0pxdow=0px; border-radius: 0pxdow=0px; }/*
297
- * jQuery UI Slider 1.8.8
298
*
299
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
300
* Dual licensed under the MIT or GPL Version 2 licenses.
301
* http://jquery.org/license
302
*
303
* http://docs.jquery.com/UI/Slider#theming
304
*/
305
- .ui-slider { position: relative; text-align: left; width:340px; float:left }
306
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
307
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
308
- .ui-slider .minCaption { float: left }
309
- .ui-slider .maxCaption { float: right }
310
- .ui-slider .feedback { text-align:center; width:100%; display:block }
311
312
.ui-slider-horizontal { height: .8em; }
313
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
@@ -319,4 +480,99 @@
319
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
320
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
321
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
322
- .ui-slider-vertical .ui-slider-range-max { top: 0; }
1
/*
2
+ * jQuery UI CSS Framework 1.8.13
3
*
4
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
* Dual licensed under the MIT or GPL Version 2 licenses.
6
* http://jquery.org/license
7
*
42
43
44
/*
45
+ * jQuery UI CSS Framework 1.8.13
46
*
47
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
48
* Dual licensed under the MIT or GPL Version 2 licenses.
49
* http://jquery.org/license
50
*
51
* http://docs.jquery.com/UI/Theming/API
52
*
53
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
54
*/
55
56
57
/* Component containers
58
----------------------------------*/
59
+ .ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
60
.ui-widget .ui-widget { font-size: 1em; }
61
+ .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
62
+ .ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(../images/jquery_ui/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
63
.ui-widget-content a { color: #333333; }
64
+ .ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(../images/jquery_ui/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
65
+ .ui-widget-header a { color: #ffffff; }
66
67
/* Interaction states
68
----------------------------------*/
69
+ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(../images/jquery_ui/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
70
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
71
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(../images/jquery_ui/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; }
72
+ .ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }
73
+ .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(../images/jquery_ui/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }
74
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }
75
.ui-widget :active { outline: none; }
76
77
/* Interaction Cues
78
----------------------------------*/
79
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(../images/jquery_ui/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
80
+ .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
81
+ .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(../images/jquery_ui/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
82
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
83
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
84
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
85
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
86
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
87
88
/* Icons
89
----------------------------------*/
90
91
/* states and images */
92
+ .ui-icon { width: 16px; height: 16px; background-image: url(../images/jquery_ui/ui-icons_222222_256x240.png); }
93
+ .ui-widget-content .ui-icon {background-image: url(../images/jquery_ui/ui-icons_222222_256x240.png); }
94
+ .ui-widget-header .ui-icon {background-image: url(../images/jquery_ui/ui-icons_ffffff_256x240.png); }
95
+ .ui-state-default .ui-icon { background-image: url(../images/jquery_ui/ui-icons_ef8c08_256x240.png); }
96
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(../images/jquery_ui/ui-icons_ef8c08_256x240.png); }
97
+ .ui-state-active .ui-icon {background-image: url(../images/jquery_ui/ui-icons_ef8c08_256x240.png); }
98
+ .ui-state-highlight .ui-icon {background-image: url(../images/jquery_ui/ui-icons_228ef1_256x240.png); }
99
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(../images/jquery_ui/ui-icons_ffd27a_256x240.png); }
100
101
/* positioning */
102
+ .ui-icon-carat-1-n { background-position: 0 0; }
103
.ui-icon-carat-1-ne { background-position: -16px 0; }
104
.ui-icon-carat-1-e { background-position: -32px 0; }
105
.ui-icon-carat-1-se { background-position: -48px 0; }
203
.ui-icon-heart { background-position: -208px -112px; }
204
.ui-icon-star { background-position: -224px -112px; }
205
.ui-icon-link { background-position: -240px -112px; }
206
+ .ui-icon-cancel { background-position: 0 -128px; }
207
+ .ui-icon-plus { background-position: -16px -128px; }
208
+ .ui-icon-plusthick { background-position: -32px -128px; }
209
.ui-icon-minus { background-position: -48px -128px; }
210
.ui-icon-minusthick { background-position: -64px -128px; }
211
.ui-icon-close { background-position: -80px -128px; }
212
.ui-icon-closethick { background-position: -96px -128px; }
213
.ui-icon-key { background-position: -112px -128px; }
234
.ui-icon-seek-next { background-position: -32px -160px; }
235
.ui-icon-seek-prev { background-position: -48px -160px; }
236
.ui-icon-seek-end { background-position: -64px -160px; }
237
+ .ui-icon-seek-start { background-position: -80px -160px; }
238
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
239
+ .ui-icon-seek-first { background-position: -80px -160px; }
240
.ui-icon-stop { background-position: -96px -160px; }
241
.ui-icon-eject { background-position: -112px -160px; }
242
.ui-icon-volume-off { background-position: -128px -160px; }
273
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
274
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
275
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
276
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
277
278
279
/* Misc visuals
280
----------------------------------*/
281
282
/* Corner radius */
283
+ .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }
284
+ .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
285
+ .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
286
+ .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
287
+ .ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
288
+ .ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
289
+ .ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
290
+ .ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
291
+ .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
292
293
/* Overlays */
294
+ .ui-widget-overlay { background: #666666 url(../images/jquery_ui/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
295
+ .ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(../images/jquery_ui/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/*
296
+ * jQuery UI Resizable 1.8.13
297
+ *
298
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
299
+ * Dual licensed under the MIT or GPL Version 2 licenses.
300
+ * http://jquery.org/license
301
+ *
302
+ * http://docs.jquery.com/UI/Resizable#theming
303
+ */
304
+ .ui-resizable { position: relative;}
305
+ .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;
306
+ /* http://bugs.jqueryui.com/ticket/7233
307
+ - Resizable: resizable handles fail to work in IE if transparent and content overlaps
308
+ */
309
+ background-image:url(data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=);
310
+ }
311
+ .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
312
+ .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
313
+ .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
314
+ .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
315
+ .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
316
+ .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
317
+ .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
318
+ .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
319
+ .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
320
+ * jQuery UI Selectable 1.8.13
321
+ *
322
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
323
+ * Dual licensed under the MIT or GPL Version 2 licenses.
324
+ * http://jquery.org/license
325
+ *
326
+ * http://docs.jquery.com/UI/Selectable#theming
327
+ */
328
+ .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
329
+ /*
330
+ * jQuery UI Accordion 1.8.13
331
+ *
332
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
333
+ * Dual licensed under the MIT or GPL Version 2 licenses.
334
+ * http://jquery.org/license
335
+ *
336
+ * http://docs.jquery.com/UI/Accordion#theming
337
+ */
338
+ /* IE/Win - Fix animation bug - #4615 */
339
+ .ui-accordion { width: 100%; }
340
+ .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
341
+ .ui-accordion .ui-accordion-li-fix { display: inline; }
342
+ .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
343
+ .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
344
+ .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
345
+ .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
346
+ .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
347
+ .ui-accordion .ui-accordion-content-active { display: block; }
348
+ /*
349
+ * jQuery UI Autocomplete 1.8.13
350
+ *
351
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
352
+ * Dual licensed under the MIT or GPL Version 2 licenses.
353
+ * http://jquery.org/license
354
+ *
355
+ * http://docs.jquery.com/UI/Autocomplete#theming
356
+ */
357
+ .ui-autocomplete { position: absolute; cursor: default; }
358
+
359
+ /* workarounds */
360
+ * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
361
+
362
+ /*
363
+ * jQuery UI Menu 1.8.13
364
*
365
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
366
* Dual licensed under the MIT or GPL Version 2 licenses.
367
* http://jquery.org/license
368
*
369
+ * http://docs.jquery.com/UI/Menu#theming
370
+ */
371
+ .ui-menu {
372
+ list-style:none;
373
+ padding: 2px;
374
+ margin: 0;
375
+ display:block;
376
+ float: left;
377
+ }
378
+ .ui-menu .ui-menu {
379
+ margin-top: -3px;
380
+ }
381
+ .ui-menu .ui-menu-item {
382
+ margin:0;
383
+ padding: 0;
384
+ zoom: 1;
385
+ float: left;
386
+ clear: left;
387
+ width: 100%;
388
+ }
389
+ .ui-menu .ui-menu-item a {
390
+ text-decoration:none;
391
+ display:block;
392
+ padding:.2em .4em;
393
+ line-height:1.5;
394
+ zoom:1;
395
+ }
396
+ .ui-menu .ui-menu-item a.ui-state-hover,
397
+ .ui-menu .ui-menu-item a.ui-state-active {
398
+ font-weight: normal;
399
+ margin: -1px;
400
+ }
401
+ /*
402
+ * jQuery UI Button 1.8.13
403
+ *
404
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
405
+ * Dual licensed under the MIT or GPL Version 2 licenses.
406
+ * http://jquery.org/license
407
+ *
408
+ * http://docs.jquery.com/UI/Button#theming
409
+ */
410
+ .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
411
+ .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
412
+ button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
413
+ .ui-button-icons-only { width: 3.4em; }
414
+ button.ui-button-icons-only { width: 3.7em; }
415
+
416
+ /*button text element */
417
+ .ui-button .ui-button-text { display: block; line-height: 1.4; }
418
+ .ui-button-text-only .ui-button-text { padding: .4em 1em; }
419
+ .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
420
+ .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
421
+ .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
422
+ .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
423
+ /* no icon support for input elements, provide padding by default */
424
+ input.ui-button { padding: .4em 1em; }
425
+
426
+ /*button icon element(s) */
427
+ .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
428
+ .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
429
+ .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
430
+ .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
431
+ .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
432
+
433
+ /*button sets*/
434
+ .ui-buttonset { margin-right: 7px; }
435
+ .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
436
+
437
+ /* workarounds */
438
+ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
439
+ /*
440
+ * jQuery UI Dialog 1.8.13
441
+ *
442
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
443
+ * Dual licensed under the MIT or GPL Version 2 licenses.
444
+ * http://jquery.org/license
445
+ *
446
+ * http://docs.jquery.com/UI/Dialog#theming
447
+ */
448
+ .ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
449
+ .ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
450
+ .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
451
+ .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
452
+ .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
453
+ .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
454
+ .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
455
+ .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
456
+ .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
457
+ .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
458
+ .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
459
+ .ui-draggable .ui-dialog-titlebar { cursor: move; }
460
+ /*
461
+ * jQuery UI Slider 1.8.13
462
+ *
463
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
464
+ * Dual licensed under the MIT or GPL Version 2 licenses.
465
+ * http://jquery.org/license
466
+ *
467
* http://docs.jquery.com/UI/Slider#theming
468
*/
469
+ .ui-slider { position: relative; text-align: left; }
470
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
471
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
472
473
.ui-slider-horizontal { height: .8em; }
474
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
480
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
481
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
482
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
483
+ .ui-slider-vertical .ui-slider-range-max { top: 0; }/*
484
+ * jQuery UI Tabs 1.8.13
485
+ *
486
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
487
+ * Dual licensed under the MIT or GPL Version 2 licenses.
488
+ * http://jquery.org/license
489
+ *
490
+ * http://docs.jquery.com/UI/Tabs#theming
491
+ */
492
+ .ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
493
+ .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
494
+ .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
495
+ .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
496
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
497
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
498
+ .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
499
+ .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
500
+ .ui-tabs .ui-tabs-hide { display: none !important; }
501
+ /*
502
+ * jQuery UI Datepicker 1.8.13
503
+ *
504
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
505
+ * Dual licensed under the MIT or GPL Version 2 licenses.
506
+ * http://jquery.org/license
507
+ *
508
+ * http://docs.jquery.com/UI/Datepicker#theming
509
+ */
510
+ .ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
511
+ .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
512
+ .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
513
+ .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
514
+ .ui-datepicker .ui-datepicker-prev { left:2px; }
515
+ .ui-datepicker .ui-datepicker-next { right:2px; }
516
+ .ui-datepicker .ui-datepicker-prev-hover { left:1px; }
517
+ .ui-datepicker .ui-datepicker-next-hover { right:1px; }
518
+ .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
519
+ .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
520
+ .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
521
+ .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
522
+ .ui-datepicker select.ui-datepicker-month,
523
+ .ui-datepicker select.ui-datepicker-year { width: 49%;}
524
+ .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
525
+ .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
526
+ .ui-datepicker td { border: 0; padding: 1px; }
527
+ .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
528
+ .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
529
+ .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
530
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
531
+
532
+ /* with multiple calendars */
533
+ .ui-datepicker.ui-datepicker-multi { width:auto; }
534
+ .ui-datepicker-multi .ui-datepicker-group { float:left; }
535
+ .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
536
+ .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
537
+ .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
538
+ .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
539
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
540
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
541
+ .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
542
+ .ui-datepicker-row-break { clear:both; width:100%; }
543
+
544
+ /* RTL support */
545
+ .ui-datepicker-rtl { direction: rtl; }
546
+ .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
547
+ .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
548
+ .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
549
+ .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
550
+ .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
551
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
552
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
553
+ .ui-datepicker-rtl .ui-datepicker-group { float:right; }
554
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
555
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
556
+
557
+ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
558
+ .ui-datepicker-cover {
559
+ display: none; /*sorry for IE5*/
560
+ display/**/: block; /*sorry for IE5*/
561
+ position: absolute; /*must have*/
562
+ z-index: -1; /*must have*/
563
+ filter: mask(); /*must have*/
564
+ top: -4px; /*must have*/
565
+ left: -4px; /*must have*/
566
+ width: 200px; /*must have*/
567
+ height: 200px; /*must have*/
568
+ }/*
569
+ * jQuery UI Progressbar 1.8.13
570
+ *
571
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
572
+ * Dual licensed under the MIT or GPL Version 2 licenses.
573
+ * http://jquery.org/license
574
+ *
575
+ * http://docs.jquery.com/UI/Progressbar#theming
576
+ */
577
+ .ui-progressbar { height:2em; text-align: left; }
578
+ .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
plugin-fw/assets/css/yit-plugin-panel.css CHANGED
@@ -631,7 +631,7 @@
631
width: 6em;
632
}
633
634
- #wpwrap h2.nav-tab-wrapper {
635
border-bottom: 1px solid #ccc;
636
}
637
631
width: 6em;
632
}
633
634
+ #wpwrap h2.nav-tab-wrapper , #wpbody-content h2.nav-tab-wrapper {
635
border-bottom: 1px solid #ccc;
636
}
637
plugin-fw/init.php CHANGED
@@ -1,7 +1,7 @@
1
<?php
2
/**
3
* Framework Name: YIT Plugin Framework
4
- * Version: 2.9.5
5
* Author: Yithemes
6
* Text Domain: yith-plugin-fw
7
* Domain Path: /languages/
1
<?php
2
/**
3
* Framework Name: YIT Plugin Framework
4
+ * Version: 2.9.9
5
* Author: Yithemes
6
* Text Domain: yith-plugin-fw
7
* Domain Path: /languages/
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -280,7 +280,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
280
281
foreach($_POST as $name => $value) {
282
283
- // Check if current POST var which name ends with a specific needle
284
$attachment_id_needle = "-yith-attachment-id";
285
$is_hidden_input = (($temp = strlen($name) - strlen($attachment_id_needle)) >= 0 && strpos($name, $attachment_id_needle, $temp) !== FALSE);
286
if ($is_hidden_input){
@@ -326,7 +326,12 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
326
wp_enqueue_media();
327
wp_enqueue_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce->version );
328
wp_register_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $woocommerce->version );
329
- wp_enqueue_style ( 'wp-jquery-ui-dialog' );
330
331
wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
332
wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
280
281
foreach($_POST as $name => $value) {
282
283
+ // Check if current POST var name ends with a specific needle and make some stuff here
284
$attachment_id_needle = "-yith-attachment-id";
285
$is_hidden_input = (($temp = strlen($name) - strlen($attachment_id_needle)) >= 0 && strpos($name, $attachment_id_needle, $temp) !== FALSE);
286
if ($is_hidden_input){
326
wp_enqueue_media();
327
wp_enqueue_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce->version );
328
wp_register_style( 'yit-plugin-style', YIT_CORE_PLUGIN_URL . '/assets/css/yit-plugin-panel.css', $woocommerce->version );
329
+
330
+ if ( 'customize.php' != $pagenow ){
331
+
332
+ wp_enqueue_style ( 'wp-jquery-ui-dialog' );
333
+
334
+ }
335
336
wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
337
wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -146,8 +146,8 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
146
wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
147
wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
148
wp_enqueue_style( 'yit-jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
149
-
150
- if( 'admin.php' == $pagenow && strpos('yit-plugins_page',get_current_screen()->id ) !== false ){
151
wp_enqueue_style( 'yit-plugin-style' );
152
wp_enqueue_script( 'yit-plugin-panel' );
153
}
146
wp_enqueue_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:400,500,600,700,800,100,200,300,900' );
147
wp_enqueue_style( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/css/chosen/chosen.css' );
148
wp_enqueue_style( 'yit-jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
149
+
150
+ if( ( 'admin.php' == $pagenow && strpos( get_current_screen()->id, 'yit-plugins_page' ) !== false ) || apply_filters( 'yit_plugin_panel_asset_loading', false ) ){
151
wp_enqueue_style( 'yit-plugin-style' );
152
wp_enqueue_script( 'yit-plugin-panel' );
153
}
plugin-fw/lib/yit-upgrade.php CHANGED
@@ -97,15 +97,27 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
97
add_action( 'admin_init', array( $this, 'remove_wp_plugin_update_row' ), 15 );
98
add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
99
} else if( is_multisite() && current_user_can( 'update_plugins' ) ) {
100
- $xml = str_replace( '%plugin_slug%', $plugin_slug, $this->_xml );
101
- $remote_xml = wp_remote_get( $xml );
102
-
103
- if( ! is_wp_error( $remote_xml ) && isset( $remote_xml['response']['code'] ) && '200' == $remote_xml['response']['code'] ) {
104
- $plugin_remote_info = new SimpleXmlElement( $remote_xml['body'] );
105
- $this->_plugins[ $plugin_init ]['info']['Latest'] = (string) $plugin_remote_info->latest;
106
- $this->_plugins[ $plugin_init ]['info']['changelog'] = (string) $plugin_remote_info->changelog;
107
- add_action( 'admin_enqueue_scripts', array( $this, 'multisite_updater_script' ) );
108
}
109
}
110
}
111
@@ -119,8 +131,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
119
*/
120
public function multisite_updater_script(){
121
122
- $update_url = array();
123
- $changelogs = array();
124
$strings = array(
125
'new_version' => __( 'There is a new version of %plugin_name% available.', 'yith-plugin-fw' ),
126
'latest' => __( 'View version %latest% details.', 'yith-plugin-fw' ),
@@ -131,8 +142,6 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
131
);
132
133
foreach( $this->_plugins as $init => $info ){
134
- YIT_Plugin_Licence()->check( $init, false );
135
-
136
$update_url[ $init ] = wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin-multisite&plugin=') . $init, 'upgrade-plugin-multisite_' . $init );
137
$changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
138
$details_url[ $init ] = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' ) );
@@ -149,8 +158,8 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
149
'strings' => $strings,
150
'changelogs' => $changelogs
151
);
152
-
153
- yit_enqueue_script( 'yit-multisite-updater', YIT_CORE_PLUGIN_URL . '/assets/js/multisite-updater.min.js', array( 'jquery' ), false, true );
154
155
wp_localize_script( 'yit-multisite-updater', 'plugins', $localize_script_args );
156
}
97
add_action( 'admin_init', array( $this, 'remove_wp_plugin_update_row' ), 15 );
98
add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
99
} else if( is_multisite() && current_user_can( 'update_plugins' ) ) {
100
+ $transient = 'yith_register_' . md5( $plugin_slug );
101
+ if( apply_filters( 'yith_register_delete_transient', false ) ){
102
+ delete_transient( $transient );
103
}
104
+ $info = get_transient( $transient );
105
+ if( false === $info || apply_filters( 'yith_register_delete_transient', false ) ){
106
+ $xml = str_replace( '%plugin_slug%', $plugin_slug, $this->_xml );
107
+ $remote_xml = wp_remote_get( $xml );
108
+
109
+ if( ! is_wp_error( $remote_xml ) && isset( $remote_xml['response']['code'] ) && '200' == $remote_xml['response']['code'] ) {
110
+ $plugin_remote_info = new SimpleXmlElement( $remote_xml['body'] );
111
+ $info['Latest'] = (string) $plugin_remote_info->latest;
112
+ $info['changelog'] = (string) $plugin_remote_info->changelog;
113
+ YIT_Plugin_Licence()->check( $plugin_slug, false );
114
+ set_transient( $transient, $info, DAY_IN_SECONDS );
115
+ }
116
+ }
117
+
118
+ $this->_plugins[ $plugin_init ]['info']['Latest'] = $info['Latest'];
119
+ $this->_plugins[ $plugin_init ]['info']['changelog'] = $info['changelog'];
120
+ add_action( 'admin_enqueue_scripts', array( $this, 'multisite_updater_script' ) );
121
}
122
}
123
131
*/
132
public function multisite_updater_script(){
133
134
+ $update_url = $changelogs = $details_url = array();
135
$strings = array(
136
'new_version' => __( 'There is a new version of %plugin_name% available.', 'yith-plugin-fw' ),
137
'latest' => __( 'View version %latest% details.', 'yith-plugin-fw' ),
142
);
143
144
foreach( $this->_plugins as $init => $info ){
145
$update_url[ $init ] = wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin-multisite&plugin=') . $init, 'upgrade-plugin-multisite_' . $init );
146
$changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
147
$details_url[ $init ] = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' ) );
158
'strings' => $strings,
159
'changelogs' => $changelogs
160
);
161
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
162
+ yit_enqueue_script( 'yit-multisite-updater', YIT_CORE_PLUGIN_URL . '/assets/js/multisite-updater' . $suffix . '.js', array( 'jquery' ), false, true );
163
164
wp_localize_script( 'yit-multisite-updater', 'plugins', $localize_script_args );
165
}
plugin-fw/licence/assets/js/yit-licence.min.js CHANGED
@@ -1,4 +1,7 @@
1
- (function(b){var g=function(d){d.on("click",function(u,d){u.preventDefault();var e=b(this),a=e.data("formid"),c=b("#"+a),f=c.serialize(),h=b(c).find(".message"),l=b(c).find(".message-wrapper"),r=c.find(".user-email"),t=c.find(".licence-key"),g=c.find(".user-email").val(),q=c.find(".licence-key").val(),m=!1,a=[],n=c.find(".product-row"),p=b("h3.to-active").find(".spinner");h.empty();l.removeClass("visible");r.removeClass("require");t.removeClass("require");n.removeClass("error");p.addClass("show");
2
- e.prop("disabled",!0).addClass("clicked");""==g&&(m=!0,a[a.length]="Email",r.addClass("require"));""==q&&(m=!0,a[a.length]="Licence Key",t.addClass("require"));if(0==m)jQuery.ajax({type:"POST",url:ajaxurl,data:f,success:function(a){p.removeClass("show");e.prop("disabled",!1).removeClass("clicked");1==a.activated?(b(".product-licence-activation").empty().replaceWith(a.template),k()):(0!=a?h.text(a.error):h.text(licence_message.server),l.addClass("visible"),n.addClass("error"))}});else{if(1==a.length)h.text(licence_message.error.replace("%field%",
3
- a[0]));else{c=licence_message.errors;for(f=0;f<a.length;f++)c=c.replace("%field_"+(f+1)+"%",a[f]),l.addClass("visible");h.text(c)}l.addClass("visible");n.addClass("error");p.removeClass("show");e.prop("disabled",!1).removeClass("clicked")}})},q=function(d){d.on("click",function(d){d.preventDefault();d=b(this);var g=b("#licence-check-update"),e=g.serialize();d.prop("disabled",!0).addClass("clicked");g.find("div.spinner").addClass("show");jQuery.ajax({type:"POST",url:ajaxurl,data:e,success:function(a){b(".product-licence-activation").empty().replaceWith(a.template);
4
- k()}})})},k=function(){var d=b(".licence-activation"),k=b(".licence-check");g(d);q(k)};k();b("body").on("click",".yit-changelog-button",function(d){b("#TB_window").remove()})})(jQuery);
1
+ (function(b){var k=function(a){a.on("click",function(v,e){v.preventDefault();var a=b(this),c=a.data("formid"),d=b("#"+c),f=d.serialize(),h=b(d).find(".message"),g=b(d).find(".message-wrapper"),m=d.find(".user-email"),u=d.find(".licence-key"),k=d.find(".user-email").val(),t=d.find(".licence-key").val(),n=!1,c=[],p=d.find(".product-row"),q=b(".licence-activation"),r=b("#products-to-active").find(".spinner");h.empty();g.removeClass("visible");m.removeClass("require");u.removeClass("require");p.removeClass("error");
2
+ r.addClass("show");a.add(q).prop("disabled",!0).addClass("clicked");""==k&&(n=!0,c[c.length]=licence_message.email,m.addClass("require"));""==t&&(n=!0,c[c.length]=licence_message.license_key,u.addClass("require"));if(0==n)jQuery.ajax({type:"POST",url:ajaxurl,data:f,success:function(c){r.removeClass("show");a.add(q).prop("disabled",!1).removeClass("clicked");1==c.activated?(b(".product-licence-activation").empty().replaceWith(c.template),l()):(0!=c?h.text(c.error):h.text(licence_message.server),g.addClass("visible"),
3
+ p.addClass("error"))}});else{if(1==c.length)h.text(licence_message.error.replace("%field%",c[0]));else{d=licence_message.errors;for(f=0;f<c.length;f++)d=d.replace("%field_"+(f+1)+"%",c[f]),g.addClass("visible");h.text(d)}g.addClass("visible");p.addClass("error");r.removeClass("show");a.add(q).prop("disabled",!1).removeClass("clicked")}})},t=function(a){a.on("click",function(a){a.preventDefault();a=b(this);var e=b("#licence-check-update"),k=e.serialize();a.prop("disabled",!0).addClass("clicked");e.find("div.spinner").addClass("show");
4
+ jQuery.ajax({type:"POST",url:ajaxurl,data:k,success:function(c){b(".product-licence-activation").empty().replaceWith(c.template);l()}})})},w=function(a){a.on("click",function(a){a.preventDefault();if(1==(1==script_info.is_debug?!0:confirm(licence_message.are_you_sure))){var e=b(this);a=e.data("licence-key");var k=e.data("licence-email"),c=e.data("product-init"),d=e.data("action"),f=b(".licence-renew"),h=b(".licence-deactive"),g=b("#yith-licence-notice"),m=b(".activated-table");e.add(f).add(h).prop("disabled",
5
+ !0).addClass("clicked");b("#activated-products").find(".spinner").addClass("show");jQuery.ajax({type:"POST",url:ajaxurl,data:{action:d,licence_key:a,email:k,product_init:c},success:function(a){g.css("maxWidth",m.width());0==a.activated&&"undefined"==typeof a.error&&(b(".product-licence-activation").empty().replaceWith(a.template),l());0==a.activated&&"undefined"!=typeof a.error?(g.find("p.yith-licence-notice-message").html(a.error),g.removeClass("notice-success").addClass("notice-error visible"),
6
+ e.add(f).add(h).add(f).prop("disabled",!1).removeClass("clicked"),b("#activated-products").find(".spinner").removeClass("show")):0==a&&(g.find("p.yith-licence-notice-message").html(licence_message.server),g.removeClass("notice-success").addClass("notice-error visible"),e.add(f).add(h).add(f).prop("disabled",!1).removeClass("clicked"),b("#activated-products").find(".spinner").removeClass("show"))}})}})},l=function(){var a=b(".licence-activation"),l=b(".licence-check"),e=b(".licence-deactive");k(a);
7
+ t(l);w(e)};l();b("body").on("click",".yit-changelog-button",function(a){b("#TB_window").remove()})})(jQuery);
readme.txt CHANGED
@@ -3,8 +3,8 @@
3
Contributors: yithemes
4
Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
Requires at least: 4.0
6
- Tested up to: 4.4
7
- Stable tag: 1.2.2
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -113,6 +113,10 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
113
114
== Changelog ==
115
116
= 1.2.2 =
117
118
* Added: compatibility with YITH WooCommerce Wishlist
@@ -197,7 +201,7 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
197
198
== Upgrade Notice ==
199
200
- Last Stable Tag 1.2.2
201
202
== Suggestions ==
203
3
Contributors: yithemes
4
Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
Requires at least: 4.0
6
+ Tested up to: 4.4.1
7
+ Stable tag: 1.2.3
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
113
114
== Changelog ==
115
116
+ = 1.2.3 =
117
+
118
+ * Added: compatibility with WooCommerce 2.5
119
+
120
= 1.2.2 =
121
122
* Added: compatibility with YITH WooCommerce Wishlist
201
202
== Upgrade Notice ==
203
204
+ Last Stable Tag 1.2.3
205
206
== Suggestions ==
207
wpml-config.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0"?>
2
+ <wpml-config>
3
+ <admin-texts>
4
+ <key name="ywctm_exclude_price_alternative_text"/>
5
+ <key name="ywctm_button_text"/>
6
+ </admin-texts>
7
+ </wpml-config>