YITH WooCommerce Zoom Magnifier - Version 1.2.29

Version Description

Download this release

Release Info

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

Code changes from version 1.2.28 to 1.2.29

README.txt CHANGED
@@ -1,10 +1,10 @@
1
  === YITH WooCommerce Zoom Magnifier ===
2
 
3
  Contributors: yithemes
4
- Tags: zoom, magnifier, woocommerce, product image, themes, yit, e-commerce, shop, thumbnail, thumbnail slider, zoom image, carousel, image carousel
5
  Requires at least: 3.5.1
6
- Tested up to: 4.7.3
7
- Stable tag: 1.2.28
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -51,6 +51,12 @@ YITH WooCommerce Zoom Magnifier will add a new tab called "Zoom Magnifier" in "Y
51
 
52
  == Changelog ==
53
 
 
 
 
 
 
 
54
  = Version 1.2.28 - Released: Apr 06, 2017 =
55
 
56
  * Fix: Javascript error when a product variation do not have its own image set.
1
  === YITH WooCommerce Zoom Magnifier ===
2
 
3
  Contributors: yithemes
4
+ Tags: zoom, magnifier, slider, carousel, woocommerce
5
  Requires at least: 3.5.1
6
+ Tested up to: 4.7.4
7
+ Stable tag: 1.2.29
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
51
 
52
  == Changelog ==
53
 
54
+ = Version 1.2.29 - Released: Apr 30, 2017 =
55
+
56
+ * Update: YITH Plugin Framework.
57
+ * Tweak: tested up to WordPress 4.7.4.
58
+ * Tweak: changed plugin tags.
59
+
60
  = Version 1.2.28 - Released: Apr 06, 2017 =
61
 
62
  * Fix: Javascript error when a product variation do not have its own image set.
assets/css/jquery-ui.css DELETED
@@ -1,1177 +0,0 @@
1
- /*! jQuery UI - v1.10.3 - 2013-05-03
2
- * http://jqueryui.com
3
- * Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css
4
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
5
- * Copyright 2013 jQuery Foundation and other contributors Licensed MIT */
6
-
7
- /* Layout helpers
8
- ----------------------------------*/
9
- .ui-helper-hidden {
10
- display: none;
11
- }
12
- .ui-helper-hidden-accessible {
13
- border: 0;
14
- clip: rect(0 0 0 0);
15
- height: 1px;
16
- margin: -1px;
17
- overflow: hidden;
18
- padding: 0;
19
- position: absolute;
20
- width: 1px;
21
- }
22
- .ui-helper-reset {
23
- margin: 0;
24
- padding: 0;
25
- border: 0;
26
- outline: 0;
27
- line-height: 1.3;
28
- text-decoration: none;
29
- font-size: 100%;
30
- list-style: none;
31
- }
32
- .ui-helper-clearfix:before,
33
- .ui-helper-clearfix:after {
34
- content: "";
35
- display: table;
36
- border-collapse: collapse;
37
- }
38
- .ui-helper-clearfix:after {
39
- clear: both;
40
- }
41
- .ui-helper-clearfix {
42
- min-height: 0; /* support: IE7 */
43
- }
44
- .ui-helper-zfix {
45
- width: 100%;
46
- height: 100%;
47
- top: 0;
48
- left: 0;
49
- position: absolute;
50
- opacity: 0;
51
- filter:Alpha(Opacity=0);
52
- }
53
-
54
- .ui-front {
55
- z-index: 100;
56
- }
57
-
58
-
59
- /* Interaction Cues
60
- ----------------------------------*/
61
- .ui-state-disabled {
62
- cursor: default !important;
63
- }
64
-
65
-
66
- /* Icons
67
- ----------------------------------*/
68
-
69
- /* states and images */
70
- .ui-icon {
71
- display: block;
72
- text-indent: -99999px;
73
- overflow: hidden;
74
- background-repeat: no-repeat;
75
- }
76
-
77
-
78
- /* Misc visuals
79
- ----------------------------------*/
80
-
81
- /* Overlays */
82
- .ui-widget-overlay {
83
- position: fixed;
84
- top: 0;
85
- left: 0;
86
- width: 100%;
87
- height: 100%;
88
- }
89
- .ui-accordion .ui-accordion-header {
90
- display: block;
91
- cursor: pointer;
92
- position: relative;
93
- margin-top: 2px;
94
- padding: .5em .5em .5em .7em;
95
- min-height: 0; /* support: IE7 */
96
- }
97
- .ui-accordion .ui-accordion-icons {
98
- padding-left: 2.2em;
99
- }
100
- .ui-accordion .ui-accordion-noicons {
101
- padding-left: .7em;
102
- }
103
- .ui-accordion .ui-accordion-icons .ui-accordion-icons {
104
- padding-left: 2.2em;
105
- }
106
- .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
107
- position: absolute;
108
- left: .5em;
109
- top: 50%;
110
- margin-top: -8px;
111
- }
112
- .ui-accordion .ui-accordion-content {
113
- padding: 1em 2.2em;
114
- border-top: 0;
115
- overflow: auto;
116
- }
117
- .ui-autocomplete {
118
- position: absolute;
119
- top: 0;
120
- left: 0;
121
- cursor: default;
122
- }
123
- .ui-button {
124
- display: inline-block;
125
- position: relative;
126
- padding: 0;
127
- line-height: normal;
128
- margin-right: .1em;
129
- cursor: pointer;
130
- vertical-align: middle;
131
- text-align: center;
132
- overflow: visible; /* removes extra width in IE */
133
- }
134
- .ui-button,
135
- .ui-button:link,
136
- .ui-button:visited,
137
- .ui-button:hover,
138
- .ui-button:active {
139
- text-decoration: none;
140
- }
141
- /* to make room for the icon, a width needs to be set here */
142
- .ui-button-icon-only {
143
- width: 2.2em;
144
- }
145
- /* button elements seem to need a little more width */
146
- button.ui-button-icon-only {
147
- width: 2.4em;
148
- }
149
- .ui-button-icons-only {
150
- width: 3.4em;
151
- }
152
- button.ui-button-icons-only {
153
- width: 3.7em;
154
- }
155
-
156
- /* button text element */
157
- .ui-button .ui-button-text {
158
- display: block;
159
- line-height: normal;
160
- }
161
- .ui-button-text-only .ui-button-text {
162
- padding: .4em 1em;
163
- }
164
- .ui-button-icon-only .ui-button-text,
165
- .ui-button-icons-only .ui-button-text {
166
- padding: .4em;
167
- text-indent: -9999999px;
168
- }
169
- .ui-button-text-icon-primary .ui-button-text,
170
- .ui-button-text-icons .ui-button-text {
171
- padding: .4em 1em .4em 2.1em;
172
- }
173
- .ui-button-text-icon-secondary .ui-button-text,
174
- .ui-button-text-icons .ui-button-text {
175
- padding: .4em 2.1em .4em 1em;
176
- }
177
- .ui-button-text-icons .ui-button-text {
178
- padding-left: 2.1em;
179
- padding-right: 2.1em;
180
- }
181
- /* no icon support for input elements, provide padding by default */
182
- input.ui-button {
183
- padding: .4em 1em;
184
- }
185
-
186
- /* button icon element(s) */
187
- .ui-button-icon-only .ui-icon,
188
- .ui-button-text-icon-primary .ui-icon,
189
- .ui-button-text-icon-secondary .ui-icon,
190
- .ui-button-text-icons .ui-icon,
191
- .ui-button-icons-only .ui-icon {
192
- position: absolute;
193
- top: 50%;
194
- margin-top: -8px;
195
- }
196
- .ui-button-icon-only .ui-icon {
197
- left: 50%;
198
- margin-left: -8px;
199
- }
200
- .ui-button-text-icon-primary .ui-button-icon-primary,
201
- .ui-button-text-icons .ui-button-icon-primary,
202
- .ui-button-icons-only .ui-button-icon-primary {
203
- left: .5em;
204
- }
205
- .ui-button-text-icon-secondary .ui-button-icon-secondary,
206
- .ui-button-text-icons .ui-button-icon-secondary,
207
- .ui-button-icons-only .ui-button-icon-secondary {
208
- right: .5em;
209
- }
210
-
211
- /* button sets */
212
- .ui-buttonset {
213
- margin-right: 7px;
214
- }
215
- .ui-buttonset .ui-button {
216
- margin-left: 0;
217
- margin-right: -.3em;
218
- }
219
-
220
- /* workarounds */
221
- /* reset extra padding in Firefox, see h5bp.com/l */
222
- input.ui-button::-moz-focus-inner,
223
- button.ui-button::-moz-focus-inner {
224
- border: 0;
225
- padding: 0;
226
- }
227
- .ui-datepicker {
228
- width: 17em;
229
- padding: .2em .2em 0;
230
- display: none;
231
- }
232
- .ui-datepicker .ui-datepicker-header {
233
- position: relative;
234
- padding: .2em 0;
235
- }
236
- .ui-datepicker .ui-datepicker-prev,
237
- .ui-datepicker .ui-datepicker-next {
238
- position: absolute;
239
- top: 2px;
240
- width: 1.8em;
241
- height: 1.8em;
242
- }
243
- .ui-datepicker .ui-datepicker-prev-hover,
244
- .ui-datepicker .ui-datepicker-next-hover {
245
- top: 1px;
246
- }
247
- .ui-datepicker .ui-datepicker-prev {
248
- left: 2px;
249
- }
250
- .ui-datepicker .ui-datepicker-next {
251
- right: 2px;
252
- }
253
- .ui-datepicker .ui-datepicker-prev-hover {
254
- left: 1px;
255
- }
256
- .ui-datepicker .ui-datepicker-next-hover {
257
- right: 1px;
258
- }
259
- .ui-datepicker .ui-datepicker-prev span,
260
- .ui-datepicker .ui-datepicker-next span {
261
- display: block;
262
- position: absolute;
263
- left: 50%;
264
- margin-left: -8px;
265
- top: 50%;
266
- margin-top: -8px;
267
- }
268
- .ui-datepicker .ui-datepicker-title {
269
- margin: 0 2.3em;
270
- line-height: 1.8em;
271
- text-align: center;
272
- }
273
- .ui-datepicker .ui-datepicker-title select {
274
- font-size: 1em;
275
- margin: 1px 0;
276
- }
277
- .ui-datepicker select.ui-datepicker-month-year {
278
- width: 100%;
279
- }
280
- .ui-datepicker select.ui-datepicker-month,
281
- .ui-datepicker select.ui-datepicker-year {
282
- width: 49%;
283
- }
284
- .ui-datepicker table {
285
- width: 100%;
286
- font-size: .9em;
287
- border-collapse: collapse;
288
- margin: 0 0 .4em;
289
- }
290
- .ui-datepicker th {
291
- padding: .7em .3em;
292
- text-align: center;
293
- font-weight: bold;
294
- border: 0;
295
- }
296
- .ui-datepicker td {
297
- border: 0;
298
- padding: 1px;
299
- }
300
- .ui-datepicker td span,
301
- .ui-datepicker td a {
302
- display: block;
303
- padding: .2em;
304
- text-align: right;
305
- text-decoration: none;
306
- }
307
- .ui-datepicker .ui-datepicker-buttonpane {
308
- background-image: none;
309
- margin: .7em 0 0 0;
310
- padding: 0 .2em;
311
- border-left: 0;
312
- border-right: 0;
313
- border-bottom: 0;
314
- }
315
- .ui-datepicker .ui-datepicker-buttonpane button {
316
- float: right;
317
- margin: .5em .2em .4em;
318
- cursor: pointer;
319
- padding: .2em .6em .3em .6em;
320
- width: auto;
321
- overflow: visible;
322
- }
323
- .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
324
- float: left;
325
- }
326
-
327
- /* with multiple calendars */
328
- .ui-datepicker.ui-datepicker-multi {
329
- width: auto;
330
- }
331
- .ui-datepicker-multi .ui-datepicker-group {
332
- float: left;
333
- }
334
- .ui-datepicker-multi .ui-datepicker-group table {
335
- width: 95%;
336
- margin: 0 auto .4em;
337
- }
338
- .ui-datepicker-multi-2 .ui-datepicker-group {
339
- width: 50%;
340
- }
341
- .ui-datepicker-multi-3 .ui-datepicker-group {
342
- width: 33.3%;
343
- }
344
- .ui-datepicker-multi-4 .ui-datepicker-group {
345
- width: 25%;
346
- }
347
- .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
348
- .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
349
- border-left-width: 0;
350
- }
351
- .ui-datepicker-multi .ui-datepicker-buttonpane {
352
- clear: left;
353
- }
354
- .ui-datepicker-row-break {
355
- clear: both;
356
- width: 100%;
357
- font-size: 0;
358
- }
359
-
360
- /* RTL support */
361
- .ui-datepicker-rtl {
362
- direction: rtl;
363
- }
364
- .ui-datepicker-rtl .ui-datepicker-prev {
365
- right: 2px;
366
- left: auto;
367
- }
368
- .ui-datepicker-rtl .ui-datepicker-next {
369
- left: 2px;
370
- right: auto;
371
- }
372
- .ui-datepicker-rtl .ui-datepicker-prev:hover {
373
- right: 1px;
374
- left: auto;
375
- }
376
- .ui-datepicker-rtl .ui-datepicker-next:hover {
377
- left: 1px;
378
- right: auto;
379
- }
380
- .ui-datepicker-rtl .ui-datepicker-buttonpane {
381
- clear: right;
382
- }
383
- .ui-datepicker-rtl .ui-datepicker-buttonpane button {
384
- float: left;
385
- }
386
- .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
387
- .ui-datepicker-rtl .ui-datepicker-group {
388
- float: right;
389
- }
390
- .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
391
- .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
392
- border-right-width: 0;
393
- border-left-width: 1px;
394
- }
395
- .ui-dialog {
396
- position: absolute;
397
- top: 0;
398
- left: 0;
399
- padding: .2em;
400
- outline: 0;
401
- }
402
- .ui-dialog .ui-dialog-titlebar {
403
- padding: .4em 1em;
404
- position: relative;
405
- }
406
- .ui-dialog .ui-dialog-title {
407
- float: left;
408
- margin: .1em 0;
409
- white-space: nowrap;
410
- width: 90%;
411
- overflow: hidden;
412
- text-overflow: ellipsis;
413
- }
414
- .ui-dialog .ui-dialog-titlebar-close {
415
- position: absolute;
416
- right: .3em;
417
- top: 50%;
418
- width: 21px;
419
- margin: -10px 0 0 0;
420
- padding: 1px;
421
- height: 20px;
422
- }
423
- .ui-dialog .ui-dialog-content {
424
- position: relative;
425
- border: 0;
426
- padding: .5em 1em;
427
- background: none;
428
- overflow: auto;
429
- }
430
- .ui-dialog .ui-dialog-buttonpane {
431
- text-align: left;
432
- border-width: 1px 0 0 0;
433
- background-image: none;
434
- margin-top: .5em;
435
- padding: .3em 1em .5em .4em;
436
- }
437
- .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
438
- float: right;
439
- }
440
- .ui-dialog .ui-dialog-buttonpane button {
441
- margin: .5em .4em .5em 0;
442
- cursor: pointer;
443
- }
444
- .ui-dialog .ui-resizable-se {
445
- width: 12px;
446
- height: 12px;
447
- right: -5px;
448
- bottom: -5px;
449
- background-position: 16px 16px;
450
- }
451
- .ui-draggable .ui-dialog-titlebar {
452
- cursor: move;
453
- }
454
- .ui-menu {
455
- list-style: none;
456
- padding: 2px;
457
- margin: 0;
458
- display: block;
459
- outline: none;
460
- }
461
- .ui-menu .ui-menu {
462
- margin-top: -3px;
463
- position: absolute;
464
- }
465
- .ui-menu .ui-menu-item {
466
- margin: 0;
467
- padding: 0;
468
- width: 100%;
469
- /* support: IE10, see #8844 */
470
- list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
471
- }
472
- .ui-menu .ui-menu-divider {
473
- margin: 5px -2px 5px -2px;
474
- height: 0;
475
- font-size: 0;
476
- line-height: 0;
477
- border-width: 1px 0 0 0;
478
- }
479
- .ui-menu .ui-menu-item a {
480
- text-decoration: none;
481
- display: block;
482
- padding: 2px .4em;
483
- line-height: 1.5;
484
- min-height: 0; /* support: IE7 */
485
- font-weight: normal;
486
- }
487
- .ui-menu .ui-menu-item a.ui-state-focus,
488
- .ui-menu .ui-menu-item a.ui-state-active {
489
- font-weight: normal;
490
- margin: -1px;
491
- }
492
-
493
- .ui-menu .ui-state-disabled {
494
- font-weight: normal;
495
- margin: .4em 0 .2em;
496
- line-height: 1.5;
497
- }
498
- .ui-menu .ui-state-disabled a {
499
- cursor: default;
500
- }
501
-
502
- /* icon support */
503
- .ui-menu-icons {
504
- position: relative;
505
- }
506
- .ui-menu-icons .ui-menu-item a {
507
- position: relative;
508
- padding-left: 2em;
509
- }
510
-
511
- /* left-aligned */
512
- .ui-menu .ui-icon {
513
- position: absolute;
514
- top: .2em;
515
- left: .2em;
516
- }
517
-
518
- /* right-aligned */
519
- .ui-menu .ui-menu-icon {
520
- position: static;
521
- float: right;
522
- }
523
- .ui-progressbar {
524
- height: 2em;
525
- text-align: left;
526
- overflow: hidden;
527
- }
528
- .ui-progressbar .ui-progressbar-value {
529
- margin: -1px;
530
- height: 100%;
531
- }
532
- .ui-progressbar .ui-progressbar-overlay {
533
- background: url("images/animated-overlay.gif");
534
- height: 100%;
535
- filter: alpha(opacity=25);
536
- opacity: 0.25;
537
- }
538
- .ui-progressbar-indeterminate .ui-progressbar-value {
539
- background-image: none;
540
- }
541
- .ui-resizable {
542
- position: relative;
543
- }
544
- .ui-resizable-handle {
545
- position: absolute;
546
- font-size: 0.1px;
547
- display: block;
548
- }
549
- .ui-resizable-disabled .ui-resizable-handle,
550
- .ui-resizable-autohide .ui-resizable-handle {
551
- display: none;
552
- }
553
- .ui-resizable-n {
554
- cursor: n-resize;
555
- height: 7px;
556
- width: 100%;
557
- top: -5px;
558
- left: 0;
559
- }
560
- .ui-resizable-s {
561
- cursor: s-resize;
562
- height: 7px;
563
- width: 100%;
564
- bottom: -5px;
565
- left: 0;
566
- }
567
- .ui-resizable-e {
568
- cursor: e-resize;
569
- width: 7px;
570
- right: -5px;
571
- top: 0;
572
- height: 100%;
573
- }
574
- .ui-resizable-w {
575
- cursor: w-resize;
576
- width: 7px;
577
- left: -5px;
578
- top: 0;
579
- height: 100%;
580
- }
581
- .ui-resizable-se {
582
- cursor: se-resize;
583
- width: 12px;
584
- height: 12px;
585
- right: 1px;
586
- bottom: 1px;
587
- }
588
- .ui-resizable-sw {
589
- cursor: sw-resize;
590
- width: 9px;
591
- height: 9px;
592
- left: -5px;
593
- bottom: -5px;
594
- }
595
- .ui-resizable-nw {
596
- cursor: nw-resize;
597
- width: 9px;
598
- height: 9px;
599
- left: -5px;
600
- top: -5px;
601
- }
602
- .ui-resizable-ne {
603
- cursor: ne-resize;
604
- width: 9px;
605
- height: 9px;
606
- right: -5px;
607
- top: -5px;
608
- }
609
- .ui-selectable-helper {
610
- position: absolute;
611
- z-index: 100;
612
- border: 1px dotted black;
613
- }
614
- .ui-slider {
615
- position: relative;
616
- text-align: left;
617
- }
618
- .ui-slider .ui-slider-handle {
619
- position: absolute;
620
- z-index: 2;
621
- width: 1.2em;
622
- height: 1.2em;
623
- cursor: default;
624
- }
625
- .ui-slider .ui-slider-range {
626
- position: absolute;
627
- z-index: 1;
628
- font-size: .7em;
629
- display: block;
630
- border: 0;
631
- background-position: 0 0;
632
- }
633
-
634
- /* For IE8 - See #6727 */
635
- .ui-slider.ui-state-disabled .ui-slider-handle,
636
- .ui-slider.ui-state-disabled .ui-slider-range {
637
- filter: inherit;
638
- }
639
-
640
- .ui-slider-horizontal {
641
- height: .8em;
642
- }
643
- .ui-slider-horizontal .ui-slider-handle {
644
- top: -.3em;
645
- margin-left: -.6em;
646
- }
647
- .ui-slider-horizontal .ui-slider-range {
648
- top: 0;
649
- height: 100%;
650
- }
651
- .ui-slider-horizontal .ui-slider-range-min {
652
- left: 0;
653
- }
654
- .ui-slider-horizontal .ui-slider-range-max {
655
- right: 0;
656
- }
657
-
658
- .ui-slider-vertical {
659
- width: .8em;
660
- height: 100px;
661
- }
662
- .ui-slider-vertical .ui-slider-handle {
663
- left: -.3em;
664
- margin-left: 0;
665
- margin-bottom: -.6em;
666
- }
667
- .ui-slider-vertical .ui-slider-range {
668
- left: 0;
669
- width: 100%;
670
- }
671
- .ui-slider-vertical .ui-slider-range-min {
672
- bottom: 0;
673
- }
674
- .ui-slider-vertical .ui-slider-range-max {
675
- top: 0;
676
- }
677
- .ui-spinner {
678
- position: relative;
679
- display: inline-block;
680
- overflow: hidden;
681
- padding: 0;
682
- vertical-align: middle;
683
- }
684
- .ui-spinner-input {
685
- border: none;
686
- background: none;
687
- color: inherit;
688
- padding: 0;
689
- margin: .2em 0;
690
- vertical-align: middle;
691
- margin-left: .4em;
692
- margin-right: 22px;
693
- }
694
- .ui-spinner-button {
695
- width: 16px;
696
- height: 50%;
697
- font-size: .5em;
698
- padding: 0;
699
- margin: 0;
700
- text-align: center;
701
- position: absolute;
702
- cursor: default;
703
- display: block;
704
- overflow: hidden;
705
- right: 0;
706
- }
707
- /* more specificity required here to overide default borders */
708
- .ui-spinner a.ui-spinner-button {
709
- border-top: none;
710
- border-bottom: none;
711
- border-right: none;
712
- }
713
- /* vertical centre icon */
714
- .ui-spinner .ui-icon {
715
- position: absolute;
716
- margin-top: -8px;
717
- top: 50%;
718
- left: 0;
719
- }
720
- .ui-spinner-up {
721
- top: 0;
722
- }
723
- .ui-spinner-down {
724
- bottom: 0;
725
- }
726
-
727
- /* TR overrides */
728
- .ui-spinner .ui-icon-triangle-1-s {
729
- /* need to fix icons sprite */
730
- background-position: -65px -16px;
731
- }
732
- .ui-tabs {
733
- position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
734
- padding: .2em;
735
- }
736
- .ui-tabs .ui-tabs-nav {
737
- margin: 0;
738
- padding: .2em .2em 0;
739
- }
740
- .ui-tabs .ui-tabs-nav li {
741
- list-style: none;
742
- float: left;
743
- position: relative;
744
- top: 0;
745
- margin: 1px .2em 0 0;
746
- border-bottom-width: 0;
747
- padding: 0;
748
- white-space: nowrap;
749
- }
750
- .ui-tabs .ui-tabs-nav li a {
751
- float: left;
752
- padding: .5em 1em;
753
- text-decoration: none;
754
- }
755
- .ui-tabs .ui-tabs-nav li.ui-tabs-active {
756
- margin-bottom: -1px;
757
- padding-bottom: 1px;
758
- }
759
- .ui-tabs .ui-tabs-nav li.ui-tabs-active a,
760
- .ui-tabs .ui-tabs-nav li.ui-state-disabled a,
761
- .ui-tabs .ui-tabs-nav li.ui-tabs-loading a {
762
- cursor: text;
763
- }
764
- .ui-tabs .ui-tabs-nav li a, /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
765
- .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a {
766
- cursor: pointer;
767
- }
768
- .ui-tabs .ui-tabs-panel {
769
- display: block;
770
- border-width: 0;
771
- padding: 1em 1.4em;
772
- background: none;
773
- }
774
- .ui-tooltip {
775
- padding: 8px;
776
- position: absolute;
777
- z-index: 9999;
778
- max-width: 300px;
779
- -webkit-box-shadow: 0 0 5px #aaa;
780
- box-shadow: 0 0 5px #aaa;
781
- }
782
- body .ui-tooltip {
783
- border-width: 2px;
784
- }
785
-
786
- /* Component containers
787
- ----------------------------------*/
788
- .ui-widget {
789
- font-family: Verdana,Arial,sans-serif;
790
- font-size: 1.1em;
791
- }
792
- .ui-widget .ui-widget {
793
- font-size: 1em;
794
- }
795
- .ui-widget input,
796
- .ui-widget select,
797
- .ui-widget textarea,
798
- .ui-widget button {
799
- font-family: Verdana,Arial,sans-serif;
800
- font-size: 1em;
801
- }
802
- .ui-widget-content {
803
- border: 1px solid #aaaaaa;
804
- background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;
805
- color: #222222;
806
- }
807
- .ui-widget-content a {
808
- color: #222222;
809
- }
810
- .ui-widget-header {
811
- border: 1px solid #aaaaaa;
812
- background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;
813
- color: #222222;
814
- font-weight: bold;
815
- }
816
- .ui-widget-header a {
817
- color: #222222;
818
- }
819
-
820
- /* Interaction states
821
- ----------------------------------*/
822
- .ui-state-default,
823
- .ui-widget-content .ui-state-default,
824
- .ui-widget-header .ui-state-default {
825
- border: 1px solid #d3d3d3;
826
- background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;
827
- font-weight: normal;
828
- color: #555555;
829
- }
830
- .ui-state-default a,
831
- .ui-state-default a:link,
832
- .ui-state-default a:visited {
833
- color: #555555;
834
- text-decoration: none;
835
- }
836
- .ui-state-hover,
837
- .ui-widget-content .ui-state-hover,
838
- .ui-widget-header .ui-state-hover,
839
- .ui-state-focus,
840
- .ui-widget-content .ui-state-focus,
841
- .ui-widget-header .ui-state-focus {
842
- border: 1px solid #999999;
843
- background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;
844
- font-weight: normal;
845
- color: #212121;
846
- }
847
- .ui-state-hover a,
848
- .ui-state-hover a:hover,
849
- .ui-state-hover a:link,
850
- .ui-state-hover a:visited {
851
- color: #212121;
852
- text-decoration: none;
853
- }
854
- .ui-state-active,
855
- .ui-widget-content .ui-state-active,
856
- .ui-widget-header .ui-state-active {
857
- border: 1px solid #aaaaaa;
858
- background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;
859
- font-weight: normal;
860
- color: #212121;
861
- }
862
- .ui-state-active a,
863
- .ui-state-active a:link,
864
- .ui-state-active a:visited {
865
- color: #212121;
866
- text-decoration: none;
867
- }
868
-
869
- /* Interaction Cues
870
- ----------------------------------*/
871
- .ui-state-highlight,
872
- .ui-widget-content .ui-state-highlight,
873
- .ui-widget-header .ui-state-highlight {
874
- border: 1px solid #fcefa1;
875
- background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;
876
- color: #363636;
877
- }
878
- .ui-state-highlight a,
879
- .ui-widget-content .ui-state-highlight a,
880
- .ui-widget-header .ui-state-highlight a {
881
- color: #363636;
882
- }
883
- .ui-state-error,
884
- .ui-widget-content .ui-state-error,
885
- .ui-widget-header .ui-state-error {
886
- border: 1px solid #cd0a0a;
887
- background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;
888
- color: #cd0a0a;
889
- }
890
- .ui-state-error a,
891
- .ui-widget-content .ui-state-error a,
892
- .ui-widget-header .ui-state-error a {
893
- color: #cd0a0a;
894
- }
895
- .ui-state-error-text,
896
- .ui-widget-content .ui-state-error-text,
897
- .ui-widget-header .ui-state-error-text {
898
- color: #cd0a0a;
899
- }
900
- .ui-priority-primary,
901
- .ui-widget-content .ui-priority-primary,
902
- .ui-widget-header .ui-priority-primary {
903
- font-weight: bold;
904
- }
905
- .ui-priority-secondary,
906
- .ui-widget-content .ui-priority-secondary,
907
- .ui-widget-header .ui-priority-secondary {
908
- opacity: .7;
909
- filter:Alpha(Opacity=70);
910
- font-weight: normal;
911
- }
912
- .ui-state-disabled,
913
- .ui-widget-content .ui-state-disabled,
914
- .ui-widget-header .ui-state-disabled {
915
- opacity: .35;
916
- filter:Alpha(Opacity=35);
917
- background-image: none;
918
- }
919
- .ui-state-disabled .ui-icon {
920
- filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
921
- }
922
-
923
- /* Icons
924
- ----------------------------------*/
925
-
926
- /* states and images */
927
- .ui-icon {
928
- width: 16px;
929
- height: 16px;
930
- }
931
- .ui-icon,
932
- .ui-widget-content .ui-icon {
933
- background-image: url(images/ui-icons_222222_256x240.png);
934
- }
935
- .ui-widget-header .ui-icon {
936
- background-image: url(images/ui-icons_222222_256x240.png);
937
- }
938
- .ui-state-default .ui-icon {
939
- background-image: url(images/ui-icons_888888_256x240.png);
940
- }
941
- .ui-state-hover .ui-icon,
942
- .ui-state-focus .ui-icon {
943
- background-image: url(images/ui-icons_454545_256x240.png);
944
- }
945
- .ui-state-active .ui-icon {
946
- background-image: url(images/ui-icons_454545_256x240.png);
947
- }
948
- .ui-state-highlight .ui-icon {
949
- background-image: url(images/ui-icons_2e83ff_256x240.png);
950
- }
951
- .ui-state-error .ui-icon,
952
- .ui-state-error-text .ui-icon {
953
- background-image: url(images/ui-icons_cd0a0a_256x240.png);
954
- }
955
-
956
- /* positioning */
957
- .ui-icon-blank { background-position: 16px 16px; }
958
- .ui-icon-carat-1-n { background-position: 0 0; }
959
- .ui-icon-carat-1-ne { background-position: -16px 0; }
960
- .ui-icon-carat-1-e { background-position: -32px 0; }
961
- .ui-icon-carat-1-se { background-position: -48px 0; }
962
- .ui-icon-carat-1-s { background-position: -64px 0; }
963
- .ui-icon-carat-1-sw { background-position: -80px 0; }
964
- .ui-icon-carat-1-w { background-position: -96px 0; }
965
- .ui-icon-carat-1-nw { background-position: -112px 0; }
966
- .ui-icon-carat-2-n-s { background-position: -128px 0; }
967
- .ui-icon-carat-2-e-w { background-position: -144px 0; }
968
- .ui-icon-triangle-1-n { background-position: 0 -16px; }
969
- .ui-icon-triangle-1-ne { background-position: -16px -16px; }
970
- .ui-icon-triangle-1-e { background-position: -32px -16px; }
971
- .ui-icon-triangle-1-se { background-position: -48px -16px; }
972
- .ui-icon-triangle-1-s { background-position: -64px -16px; }
973
- .ui-icon-triangle-1-sw { background-position: -80px -16px; }
974
- .ui-icon-triangle-1-w { background-position: -96px -16px; }
975
- .ui-icon-triangle-1-nw { background-position: -112px -16px; }
976
- .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
977
- .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
978
- .ui-icon-arrow-1-n { background-position: 0 -32px; }
979
- .ui-icon-arrow-1-ne { background-position: -16px -32px; }
980
- .ui-icon-arrow-1-e { background-position: -32px -32px; }
981
- .ui-icon-arrow-1-se { background-position: -48px -32px; }
982
- .ui-icon-arrow-1-s { background-position: -64px -32px; }
983
- .ui-icon-arrow-1-sw { background-position: -80px -32px; }
984
- .ui-icon-arrow-1-w { background-position: -96px -32px; }
985
- .ui-icon-arrow-1-nw { background-position: -112px -32px; }
986
- .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
987
- .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
988
- .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
989
- .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
990
- .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
991
- .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
992
- .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
993
- .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
994
- .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
995
- .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
996
- .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
997
- .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
998
- .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
999
- .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
1000
- .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
1001
- .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
1002
- .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
1003
- .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
1004
- .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
1005
- .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
1006
- .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
1007
- .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
1008
- .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
1009
- .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
1010
- .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
1011
- .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
1012
- .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
1013
- .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
1014
- .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
1015
- .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
1016
- .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
1017
- .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
1018
- .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
1019
- .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
1020
- .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
1021
- .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
1022
- .ui-icon-arrow-4 { background-position: 0 -80px; }
1023
- .ui-icon-arrow-4-diag { background-position: -16px -80px; }
1024
- .ui-icon-extlink { background-position: -32px -80px; }
1025
- .ui-icon-newwin { background-position: -48px -80px; }
1026
- .ui-icon-refresh { background-position: -64px -80px; }
1027
- .ui-icon-shuffle { background-position: -80px -80px; }
1028
- .ui-icon-transfer-e-w { background-position: -96px -80px; }
1029
- .ui-icon-transferthick-e-w { background-position: -112px -80px; }
1030
- .ui-icon-folder-collapsed { background-position: 0 -96px; }
1031
- .ui-icon-folder-open { background-position: -16px -96px; }
1032
- .ui-icon-document { background-position: -32px -96px; }
1033
- .ui-icon-document-b { background-position: -48px -96px; }
1034
- .ui-icon-note { background-position: -64px -96px; }
1035
- .ui-icon-mail-closed { background-position: -80px -96px; }
1036
- .ui-icon-mail-open { background-position: -96px -96px; }
1037
- .ui-icon-suitcase { background-position: -112px -96px; }
1038
- .ui-icon-comment { background-position: -128px -96px; }
1039
- .ui-icon-person { background-position: -144px -96px; }
1040
- .ui-icon-print { background-position: -160px -96px; }
1041
- .ui-icon-trash { background-position: -176px -96px; }
1042
- .ui-icon-locked { background-position: -192px -96px; }
1043
- .ui-icon-unlocked { background-position: -208px -96px; }
1044
- .ui-icon-bookmark { background-position: -224px -96px; }
1045
- .ui-icon-tag { background-position: -240px -96px; }
1046
- .ui-icon-home { background-position: 0 -112px; }
1047
- .ui-icon-flag { background-position: -16px -112px; }
1048
- .ui-icon-calendar { background-position: -32px -112px; }
1049
- .ui-icon-cart { background-position: -48px -112px; }
1050
- .ui-icon-pencil { background-position: -64px -112px; }
1051
- .ui-icon-clock { background-position: -80px -112px; }
1052
- .ui-icon-disk { background-position: -96px -112px; }
1053
- .ui-icon-calculator { background-position: -112px -112px; }
1054
- .ui-icon-zoomin { background-position: -128px -112px; }
1055
- .ui-icon-zoomout { background-position: -144px -112px; }
1056
- .ui-icon-search { background-position: -160px -112px; }
1057
- .ui-icon-wrench { background-position: -176px -112px; }
1058
- .ui-icon-gear { background-position: -192px -112px; }
1059
- .ui-icon-heart { background-position: -208px -112px; }
1060
- .ui-icon-star { background-position: -224px -112px; }
1061
- .ui-icon-link { background-position: -240px -112px; }
1062
- .ui-icon-cancel { background-position: 0 -128px; }
1063
- .ui-icon-plus { background-position: -16px -128px; }
1064
- .ui-icon-plusthick { background-position: -32px -128px; }
1065
- .ui-icon-minus { background-position: -48px -128px; }
1066
- .ui-icon-minusthick { background-position: -64px -128px; }
1067
- .ui-icon-close { background-position: -80px -128px; }
1068
- .ui-icon-closethick { background-position: -96px -128px; }
1069
- .ui-icon-key { background-position: -112px -128px; }
1070
- .ui-icon-lightbulb { background-position: -128px -128px; }
1071
- .ui-icon-scissors { background-position: -144px -128px; }
1072
- .ui-icon-clipboard { background-position: -160px -128px; }
1073
- .ui-icon-copy { background-position: -176px -128px; }
1074
- .ui-icon-contact { background-position: -192px -128px; }
1075
- .ui-icon-image { background-position: -208px -128px; }
1076
- .ui-icon-video { background-position: -224px -128px; }
1077
- .ui-icon-script { background-position: -240px -128px; }
1078
- .ui-icon-alert { background-position: 0 -144px; }
1079
- .ui-icon-info { background-position: -16px -144px; }
1080
- .ui-icon-notice { background-position: -32px -144px; }
1081
- .ui-icon-help { background-position: -48px -144px; }
1082
- .ui-icon-check { background-position: -64px -144px; }
1083
- .ui-icon-bullet { background-position: -80px -144px; }
1084
- .ui-icon-radio-on { background-position: -96px -144px; }
1085
- .ui-icon-radio-off { background-position: -112px -144px; }
1086
- .ui-icon-pin-w { background-position: -128px -144px; }
1087
- .ui-icon-pin-s { background-position: -144px -144px; }
1088
- .ui-icon-play { background-position: 0 -160px; }
1089
- .ui-icon-pause { background-position: -16px -160px; }
1090
- .ui-icon-seek-next { background-position: -32px -160px; }
1091
- .ui-icon-seek-prev { background-position: -48px -160px; }
1092
- .ui-icon-seek-end { background-position: -64px -160px; }
1093
- .ui-icon-seek-start { background-position: -80px -160px; }
1094
- /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
1095
- .ui-icon-seek-first { background-position: -80px -160px; }
1096
- .ui-icon-stop { background-position: -96px -160px; }
1097
- .ui-icon-eject { background-position: -112px -160px; }
1098
- .ui-icon-volume-off { background-position: -128px -160px; }
1099
- .ui-icon-volume-on { background-position: -144px -160px; }
1100
- .ui-icon-power { background-position: 0 -176px; }
1101
- .ui-icon-signal-diag { background-position: -16px -176px; }
1102
- .ui-icon-signal { background-position: -32px -176px; }
1103
- .ui-icon-battery-0 { background-position: -48px -176px; }
1104
- .ui-icon-battery-1 { background-position: -64px -176px; }
1105
- .ui-icon-battery-2 { background-position: -80px -176px; }
1106
- .ui-icon-battery-3 { background-position: -96px -176px; }
1107
- .ui-icon-circle-plus { background-position: 0 -192px; }
1108
- .ui-icon-circle-minus { background-position: -16px -192px; }
1109
- .ui-icon-circle-close { background-position: -32px -192px; }
1110
- .ui-icon-circle-triangle-e { background-position: -48px -192px; }
1111
- .ui-icon-circle-triangle-s { background-position: -64px -192px; }
1112
- .ui-icon-circle-triangle-w { background-position: -80px -192px; }
1113
- .ui-icon-circle-triangle-n { background-position: -96px -192px; }
1114
- .ui-icon-circle-arrow-e { background-position: -112px -192px; }
1115
- .ui-icon-circle-arrow-s { background-position: -128px -192px; }
1116
- .ui-icon-circle-arrow-w { background-position: -144px -192px; }
1117
- .ui-icon-circle-arrow-n { background-position: -160px -192px; }
1118
- .ui-icon-circle-zoomin { background-position: -176px -192px; }
1119
- .ui-icon-circle-zoomout { background-position: -192px -192px; }
1120
- .ui-icon-circle-check { background-position: -208px -192px; }
1121
- .ui-icon-circlesmall-plus { background-position: 0 -208px; }
1122
- .ui-icon-circlesmall-minus { background-position: -16px -208px; }
1123
- .ui-icon-circlesmall-close { background-position: -32px -208px; }
1124
- .ui-icon-squaresmall-plus { background-position: -48px -208px; }
1125
- .ui-icon-squaresmall-minus { background-position: -64px -208px; }
1126
- .ui-icon-squaresmall-close { background-position: -80px -208px; }
1127
- .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
1128
- .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
1129
- .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
1130
- .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
1131
- .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
1132
- .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
1133
-
1134
-
1135
- /* Misc visuals
1136
- ----------------------------------*/
1137
-
1138
- /* Corner radius */
1139
- .ui-corner-all,
1140
- .ui-corner-top,
1141
- .ui-corner-left,
1142
- .ui-corner-tl {
1143
- border-top-left-radius: 4px;
1144
- }
1145
- .ui-corner-all,
1146
- .ui-corner-top,
1147
- .ui-corner-right,
1148
- .ui-corner-tr {
1149
- border-top-right-radius: 4px;
1150
- }
1151
- .ui-corner-all,
1152
- .ui-corner-bottom,
1153
- .ui-corner-left,
1154
- .ui-corner-bl {
1155
- border-bottom-left-radius: 4px;
1156
- }
1157
- .ui-corner-all,
1158
- .ui-corner-bottom,
1159
- .ui-corner-right,
1160
- .ui-corner-br {
1161
- border-bottom-right-radius: 4px;
1162
- }
1163
-
1164
- /* Overlays */
1165
- .ui-widget-overlay {
1166
- background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
1167
- opacity: .3;
1168
- filter: Alpha(Opacity=30);
1169
- }
1170
- .ui-widget-shadow {
1171
- margin: -8px 0 0 -8px;
1172
- padding: 8px;
1173
- background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
1174
- opacity: .3;
1175
- filter: Alpha(Opacity=30);
1176
- border-radius: 8px;
1177
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/frontend.js DELETED
@@ -1,58 +0,0 @@
1
- /**
2
- * frontend.js
3
- *
4
- * @author Your Inspiration Themes
5
- * @package YITH WooCommerce Zoom Magnifier
6
- */
7
- jQuery(document).ready(function ($) {
8
-
9
- var yith_wcmg = $('.images');
10
- var yith_wcmg_zoom = $('.yith_magnifier_zoom');
11
- var yith_wcmg_image = $('.yith_magnifier_zoom img').first();
12
-
13
- var yith_wcmg_default_zoom = yith_wcmg.find('.yith_magnifier_zoom').attr('href');
14
- var yith_wcmg_default_image = yith_wcmg.find('.yith_magnifier_zoom img').attr('src');
15
-
16
- if( typeof yith_magnifier_options == 'undefined' ) {
17
- return false;
18
- }
19
-
20
- yith_wcmg.yith_magnifier(yith_magnifier_options);
21
-
22
- $(document).on('found_variation', 'form.variations_form', function (event, variation) {
23
-
24
- var image_magnifier = variation.image_magnifier ? variation.image_magnifier : yith_wcmg_default_zoom;
25
-
26
- var image_src = yith_wcmg_default_image;
27
- if (ywzm_data.wc_before_3_0 && variation.image_src) {
28
- image_src = variation.image_src;
29
- }
30
- else if (variation.image.src) {
31
- image_src = variation.image.src;
32
- }
33
-
34
- yith_wcmg_zoom.attr('href', image_magnifier);
35
- yith_wcmg_image.attr('src', image_src);
36
- yith_wcmg_image.attr('srcset', image_src);
37
- yith_wcmg_image.attr('src-orig', image_src);
38
-
39
- if (yith_wcmg.data('yith_magnifier')) {
40
- yith_wcmg.yith_magnifier('destroy');
41
- }
42
-
43
- yith_wcmg.yith_magnifier(yith_magnifier_options);
44
- }).on('reset_image', function (event) {
45
- yith_wcmg_zoom.attr('href', yith_wcmg_default_zoom);
46
- yith_wcmg_image.attr('src', yith_wcmg_default_image);
47
- yith_wcmg_image.attr('srcset', yith_wcmg_default_image);
48
- yith_wcmg_image.attr('src-orig', yith_wcmg_default_image);
49
-
50
- if (yith_wcmg.data('yith_magnifier')) {
51
- yith_wcmg.yith_magnifier('destroy');
52
- }
53
-
54
- yith_wcmg.yith_magnifier(yith_magnifier_options);
55
- });
56
-
57
- $('form.variations_form .variations select').trigger('change');
58
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/frontend.min.js DELETED
@@ -1 +0,0 @@
1
- jQuery(document).ready(function(a){var b=a(".images"),c=a(".yith_magnifier_zoom"),d=a(".yith_magnifier_zoom img").first(),e=b.find(".yith_magnifier_zoom").attr("href"),f=b.find(".yith_magnifier_zoom img").attr("src");if("undefined"==typeof yith_magnifier_options)return!1;b.yith_magnifier(yith_magnifier_options),a(document).on("found_variation","form.variations_form",function(a,g){var h=g.image_magnifier?g.image_magnifier:e,i=f;ywzm_data.wc_before_3_0&&g.image_src?i=g.image_src:g.image.src&&(i=g.image.src),c.attr("href",h),d.attr("src",i),d.attr("srcset",i),d.attr("src-orig",i),b.data("yith_magnifier")&&b.yith_magnifier("destroy"),b.yith_magnifier(yith_magnifier_options)}).on("reset_image",function(a){c.attr("href",e),d.attr("src",f),d.attr("srcset",f),d.attr("src-orig",f),b.data("yith_magnifier")&&b.yith_magnifier("destroy"),b.yith_magnifier(yith_magnifier_options)}),a("form.variations_form .variations select").trigger("change")});
 
class.yith-wcmg.php DELETED
@@ -1,80 +0,0 @@
1
- <?php
2
- /**
3
- * Main class
4
- *
5
- * @author Your Inspiration Themes
6
- * @package YITH WooCommerce Zoom Magnifier
7
- * @version 1.1.2
8
- */
9
-
10
- if ( !defined( 'YITH_WCMG' ) ) { exit; } // Exit if accessed directly
11
-
12
- if( !class_exists( 'YITH_WCMG' ) ) {
13
- /**
14
- * WooCommerce Magnifier
15
- *
16
- * @since 1.0.0
17
- */
18
- class YITH_WCMG {
19
-
20
-
21
- /**
22
- * Plugin object
23
- *
24
- * @var string
25
- * @since 1.0.0
26
- */
27
- public $obj = null;
28
-
29
- /**
30
- * Constructor
31
- *
32
- * @return mixed|YITH_WCMG_Admin|YITH_WCMG_Frontend
33
- * @since 1.0.0
34
- */
35
- public function __construct() {
36
-
37
- // actions
38
- add_action( 'init', array( $this, 'init' ) );
39
-
40
- if( is_admin() ) {
41
- $this->obj = new YITH_WCMG_Admin( );
42
- } else {
43
- $this->obj = new YITH_WCMG_Frontend( );
44
- }
45
-
46
- return $this->obj;
47
- }
48
-
49
-
50
- /**
51
- * Init method:
52
- * - default options
53
- *
54
- * @access public
55
- * @since 1.0.0
56
- */
57
- public function init() {
58
- $this->_image_sizes();
59
- }
60
-
61
-
62
- /**
63
- * Add image sizes
64
- *
65
- * Init images
66
- *
67
- * @access protected
68
- * @return void
69
- * @since 1.0.0
70
- */
71
- protected function _image_sizes() {
72
- $size = get_option('woocommerce_magnifier_image');
73
- $width = $size['width'];
74
- $height = $size['height'];
75
- $crop = isset( $size['crop'] ) ? true : false;
76
-
77
- add_image_size( 'shop_magnifier', $width, $height, $crop );
78
- }
79
- }
80
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Zoom Magnifier
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-zoom-magnifier/
5
  * Description: YITH WooCommerce Zoom Magnifier enables you to add a zoom effect to product images and a thumbnail slider for the product image gallery.
6
- * Version: 1.2.28
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-zoom-magnifier
@@ -11,7 +11,7 @@
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Magnifier
14
- * @version 1.2.28
15
  */
16
  /* Copyright 2013-2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
@@ -76,7 +76,7 @@ if ( ! function_exists ( 'yith_plugin_registration_hook' ) ) {
76
  register_activation_hook ( __FILE__, 'yith_plugin_registration_hook' );
77
 
78
  defined ( 'YITH_YWZM_FREE_INIT' ) || define ( 'YITH_YWZM_FREE_INIT', plugin_basename ( __FILE__ ) );
79
- defined ( 'YITH_YWZM_VERSION' ) || define ( 'YITH_YWZM_VERSION', '1.2.28' );
80
  defined ( 'YITH_YWZM_FILE' ) || define ( 'YITH_YWZM_FILE', __FILE__ );
81
  defined ( 'YITH_YWZM_DIR' ) || define ( 'YITH_YWZM_DIR', plugin_dir_path ( __FILE__ ) );
82
  defined ( 'YITH_YWZM_URL' ) || define ( 'YITH_YWZM_URL', plugins_url ( '/', __FILE__ ) );
3
  * Plugin Name: YITH WooCommerce Zoom Magnifier
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-zoom-magnifier/
5
  * Description: YITH WooCommerce Zoom Magnifier enables you to add a zoom effect to product images and a thumbnail slider for the product image gallery.
6
+ * Version: 1.2.29
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-zoom-magnifier
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Magnifier
14
+ * @version 1.2.29
15
  */
16
  /* Copyright 2013-2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
76
  register_activation_hook ( __FILE__, 'yith_plugin_registration_hook' );
77
 
78
  defined ( 'YITH_YWZM_FREE_INIT' ) || define ( 'YITH_YWZM_FREE_INIT', plugin_basename ( __FILE__ ) );
79
+ defined ( 'YITH_YWZM_VERSION' ) || define ( 'YITH_YWZM_VERSION', '1.2.29' );
80
  defined ( 'YITH_YWZM_FILE' ) || define ( 'YITH_YWZM_FILE', __FILE__ );
81
  defined ( 'YITH_YWZM_DIR' ) || define ( 'YITH_YWZM_DIR', plugin_dir_path ( __FILE__ ) );
82
  defined ( 'YITH_YWZM_URL' ) || define ( 'YITH_YWZM_URL', plugins_url ( '/', __FILE__ ) );
lib/class.yith-ywzm-custom-types.php CHANGED
@@ -122,7 +122,7 @@ if (!class_exists('YITH_YWZM_Custom_Types')) {
122
  $wc_clean = 'wc_clean';
123
  }
124
 
125
- update_option($value['id'], woocommerce_clean($_POST[$value['id']]));
126
  }
127
 
128
 
122
  $wc_clean = 'wc_clean';
123
  }
124
 
125
+ update_option($value['id'], $wc_clean($_POST[$value['id']]));
126
  }
127
 
128
 
plugin-fw/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 2.9.63
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.65
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
plugin-fw/yit-woocommerce-compatibility.php CHANGED
@@ -112,13 +112,8 @@ if ( !function_exists( 'yit_save_prop' ) ) {
112
  foreach ( $arg1 as $key => $value ) {
113
  yit_set_prop( $object, $key, $value );
114
 
115
- if ( $is_wc_data ) {
116
- if ( $force_update ) {
117
- $object->save();
118
- } else {
119
- yit_store_changes( $object, $key, $value );
120
- }
121
- } else {
122
  if ( yit_wc_check_post_columns( $key ) ) {
123
  yit_store_changes( $object->post, $key, $value );
124
  } else {
@@ -128,6 +123,10 @@ if ( !function_exists( 'yit_save_prop' ) ) {
128
  }
129
  }
130
  }
 
 
 
 
131
  }
132
  }
133
 
@@ -150,7 +149,7 @@ if ( !function_exists( 'yit_delete_prop' ) ) {
150
  $object->delete_meta_data( $key, $value );
151
  }
152
 
153
- yit_store_changes( $object, $key );
154
  } else {
155
  if ( yit_wc_check_post_columns( $key ) && ( !$value || $object->post->$key == $value ) ) {
156
  yit_store_changes( $object->post, $key, '' );
@@ -166,28 +165,30 @@ if ( !function_exists( 'yit_delete_prop' ) ) {
166
  if ( !function_exists( 'yit_return_new_attribute_map' ) ) {
167
  function yit_return_new_attribute_map() {
168
  return array(
169
- 'post_parent' => 'parent_id',
170
- 'post_title' => 'name',
171
- 'post_status' => 'status',
172
- 'post_content' => 'description',
173
- 'post_excerpt' => 'short_description',
174
  /* Orders */
175
- 'paid_date' => 'date_paid',
176
- '_paid_date' => '_date_paid',
177
- 'completed_date' => 'date_completed',
178
- '_completed_date' => '_date_completed',
179
- '_order_date' => '_date_created',
180
- 'order_date' => 'date_created',
181
- 'order_total' => 'total',
182
- 'customer_user' => 'customer_id',
183
- '_customer_user' => 'customer_id',
184
  /* Products */
185
- 'visibility' => 'catalog_visibility',
186
- '_visibility' => '_catalog_visibility',
187
- 'sale_price_dates_from' => 'date_on_sale_from',
188
- '_sale_price_dates_from' => '_date_on_sale_from',
189
- 'sale_price_dates_to' => 'date_on_sale_to',
190
- '_sale_price_dates_to' => '_date_on_sale_to',
 
 
191
  /*Coupons*/
192
  'coupon_amount' => 'amount',
193
  'exclude_product_ids' => 'excluded_product_ids',
@@ -210,15 +211,11 @@ if ( !function_exists( 'yit_store_changes' ) ) {
210
  */
211
  $object_reference = $object->get_id();
212
 
213
- $cache_type = is_a( $object, 'WC_Product' ) ? 'product' : 'order';
214
- $cache_key = $cache_type . '-' . $object_reference;
215
- $cache_group = $cache_type . 's';
216
-
217
  $changed_objects[ $object_reference ][ 'object' ] = $object;
218
  $changed_objects[ $object_reference ][ 'changes' ][ $key ] = $value;
219
 
220
 
221
- wp_cache_set( $cache_key, $object, $cache_group );
222
  } else {
223
  $changed_objects[ $object->ID ][ $key ] = $value;
224
  }
@@ -253,7 +250,7 @@ if ( !function_exists( 'yit_get_orders' ) ) {
253
  *
254
  */
255
  function yit_get_orders( $args ) {
256
- if ( version_compare( WC()->version, '2.6', '<' ) ) {
257
  $args[ 'fields' ] = 'objects';
258
  $posts = get_posts( $args );
259
 
@@ -269,7 +266,7 @@ if ( !function_exists( 'yit_get_products' ) ) {
269
  *
270
  */
271
  function yit_get_products( $args ) {
272
- if ( version_compare( WC()->version, '2.6', '<' ) ) {
273
  $args[ 'fields' ] = 'objects';
274
  $posts = get_posts( $args );
275
 
@@ -557,7 +554,7 @@ if ( !function_exists( 'yit_get_product_image_id' ) ) {
557
 
558
  if ( !function_exists( 'yit_get_refund_amount' ) ) {
559
  /**
560
- * @param $refund \WC_Order_Refund
561
  * @param $context string
562
  *
563
  * @return float
@@ -639,7 +636,7 @@ if ( !function_exists( 'yit_add_select2_fields' ) ) {
639
  <?php
640
  else :
641
  if ( $args[ 'data-multiple' ] === false && is_array( $args[ 'data-selected' ] ) ) {
642
- $args[ 'data-selected' ] = current($args[ 'data-selected' ]);
643
  }
644
 
645
  ?>
@@ -689,7 +686,7 @@ if ( !function_exists( 'yit_datetime_to_timestamp' ) ) {
689
  */
690
  function yit_datetime_to_timestamp( $date ) {
691
 
692
- if ( ! is_int( $date ) ) {
693
  $date = strtotime( $date );
694
  }
695
 
112
  foreach ( $arg1 as $key => $value ) {
113
  yit_set_prop( $object, $key, $value );
114
 
115
+ if ( !$is_wc_data ) {
116
+
 
 
 
 
 
117
  if ( yit_wc_check_post_columns( $key ) ) {
118
  yit_store_changes( $object->post, $key, $value );
119
  } else {
123
  }
124
  }
125
  }
126
+
127
+ if ( $is_wc_data ) {
128
+ $object->save();
129
+ }
130
  }
131
  }
132
 
149
  $object->delete_meta_data( $key, $value );
150
  }
151
 
152
+ $object->save();
153
  } else {
154
  if ( yit_wc_check_post_columns( $key ) && ( !$value || $object->post->$key == $value ) ) {
155
  yit_store_changes( $object->post, $key, '' );
165
  if ( !function_exists( 'yit_return_new_attribute_map' ) ) {
166
  function yit_return_new_attribute_map() {
167
  return array(
168
+ 'post_parent' => 'parent_id',
169
+ 'post_title' => 'name',
170
+ 'post_status' => 'status',
171
+ 'post_content' => 'description',
172
+ 'post_excerpt' => 'short_description',
173
  /* Orders */
174
+ 'paid_date' => 'date_paid',
175
+ '_paid_date' => '_date_paid',
176
+ 'completed_date' => 'date_completed',
177
+ '_completed_date' => '_date_completed',
178
+ '_order_date' => '_date_created',
179
+ 'order_date' => 'date_created',
180
+ 'order_total' => 'total',
181
+ 'customer_user' => 'customer_id',
182
+ '_customer_user' => 'customer_id',
183
  /* Products */
184
+ 'visibility' => 'catalog_visibility',
185
+ '_visibility' => '_catalog_visibility',
186
+ 'sale_price_dates_from' => 'date_on_sale_from',
187
+ '_sale_price_dates_from' => '_date_on_sale_from',
188
+ 'sale_price_dates_to' => 'date_on_sale_to',
189
+ '_sale_price_dates_to' => '_date_on_sale_to',
190
+ 'product_attributes' => 'attributes',
191
+ '_product_attributes' => '_attributes',
192
  /*Coupons*/
193
  'coupon_amount' => 'amount',
194
  'exclude_product_ids' => 'excluded_product_ids',
211
  */
212
  $object_reference = $object->get_id();
213
 
 
 
 
 
214
  $changed_objects[ $object_reference ][ 'object' ] = $object;
215
  $changed_objects[ $object_reference ][ 'changes' ][ $key ] = $value;
216
 
217
 
218
+
219
  } else {
220
  $changed_objects[ $object->ID ][ $key ] = $value;
221
  }
250
  *
251
  */
252
  function yit_get_orders( $args ) {
253
+ if ( version_compare( WC()->version, '2.7', '<' ) ) {
254
  $args[ 'fields' ] = 'objects';
255
  $posts = get_posts( $args );
256
 
266
  *
267
  */
268
  function yit_get_products( $args ) {
269
+ if ( version_compare( WC()->version, '2.7', '<' ) ) {
270
  $args[ 'fields' ] = 'objects';
271
  $posts = get_posts( $args );
272
 
554
 
555
  if ( !function_exists( 'yit_get_refund_amount' ) ) {
556
  /**
557
+ * @param $refund \WC_Order_Refund
558
  * @param $context string
559
  *
560
  * @return float
636
  <?php
637
  else :
638
  if ( $args[ 'data-multiple' ] === false && is_array( $args[ 'data-selected' ] ) ) {
639
+ $args[ 'data-selected' ] = current( $args[ 'data-selected' ] );
640
  }
641
 
642
  ?>
686
  */
687
  function yit_datetime_to_timestamp( $date ) {
688
 
689
+ if ( !is_int( $date ) ) {
690
  $date = strtotime( $date );
691
  }
692