YITH WooCommerce Zoom Magnifier - Version 1.2.0

Version Description

Download this release

Release Info

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

Code changes from version 1.1.8 to 1.2.0

README.txt CHANGED
@@ -3,8 +3,8 @@
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.1
7
- Stable tag: 1.1.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -59,6 +59,11 @@ The size of the Zoom Image is automatically setted. If you want to change these
59
 
60
  == Changelog ==
61
 
 
 
 
 
 
62
  = 1.1.8 =
63
 
64
  * Fixed: compatibility with some YITHEMES themes.
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.2
7
+ Stable tag: 1.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
59
 
60
  == Changelog ==
61
 
62
+ = Version 1.2.0 - RELEASED: APR 22, 2015 ==
63
+
64
+ * Fix : security issue (https://make.wordpress.org/plugins/2015/04/20/fixing-add_query_arg-and-remove_query_arg-usage/)
65
+ * Tweak : support up to Wordpress 4.2
66
+
67
  = 1.1.8 =
68
 
69
  * Fixed: compatibility with some YITHEMES themes.
assets/js/yith_magnifier.js CHANGED
@@ -296,19 +296,14 @@
296
  self.IMG_smallImage = new Image();
297
  self.IMG_smallImage.src = self.zoomImage.attr('src');
298
 
299
- console.log($.browser);
300
  if( $.browser.msie && $.browser.version == 8 ) {
301
- console.log('1');
302
  $(self.IMG_zoomImage).load(function(){
303
- console.log('2');
304
 
305
  self._initTrap();
306
  });
307
  } else {
308
- console.log('3');
309
 
310
  $([self.IMG_zoomImage, self.IMG_smallImage]).imagesLoaded(function(){
311
- console.log('4');
312
 
313
  self._initTrap();
314
  });
296
  self.IMG_smallImage = new Image();
297
  self.IMG_smallImage.src = self.zoomImage.attr('src');
298
 
 
299
  if( $.browser.msie && $.browser.version == 8 ) {
 
300
  $(self.IMG_zoomImage).load(function(){
 
301
 
302
  self._initTrap();
303
  });
304
  } else {
 
305
 
306
  $([self.IMG_zoomImage, self.IMG_smallImage]).imagesLoaded(function(){
 
307
 
308
  self._initTrap();
309
  });
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.1.8
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: ywzm
@@ -11,7 +11,7 @@
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Magnifier
14
- * @version 1.1.8
15
  */
16
  /* Copyright 2013-2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
@@ -65,7 +65,7 @@ if ( ! defined( 'YITH_YWZM_FREE_INIT' ) ) {
65
  }
66
 
67
  if ( ! defined( 'YITH_YWZM_VERSION' ) ) {
68
- define( 'YITH_YWZM_VERSION', '1.1.8' );
69
  }
70
 
71
  if ( ! defined( 'YITH_YWZM_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.0
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: ywzm
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Magnifier
14
+ * @version 1.2.0
15
  */
16
  /* Copyright 2013-2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
65
  }
66
 
67
  if ( ! defined( 'YITH_YWZM_VERSION' ) ) {
68
+ define( 'YITH_YWZM_VERSION', '1.2.0' );
69
  }
70
 
71
  if ( ! defined( 'YITH_YWZM_FILE' ) ) {
languages/default.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Order Tracking\n"
4
- "POT-Creation-Date: 2015-03-17 14:32+0100\n"
5
- "PO-Revision-Date: 2015-03-17 14:32+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: en\n"
@@ -58,7 +58,7 @@ msgstr ""
58
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1048
59
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1196
60
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1202
61
- #: ../plugin-fw/lib/yit-plugin-panel.php:62
62
  msgid "Settings"
63
  msgstr ""
64
 
@@ -294,82 +294,81 @@ msgstr ""
294
  msgid "Add with multiupload"
295
  msgstr ""
296
 
297
- #: ../plugin-fw/lib/yit-plugin-panel-wc.php:315
298
  msgid "The changes you have made will be lost if you leave this page."
299
  msgstr ""
300
 
301
- #: ../plugin-fw/lib/yit-plugin-panel.php:61
302
  msgid "Plugin Settings"
303
  msgstr ""
304
 
305
- #: ../plugin-fw/lib/yit-plugin-panel.php:94
306
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:101
307
  msgid "YIT Plugins"
308
  msgstr ""
309
 
310
- #: ../plugin-fw/lib/yit-plugin-panel.php:273
311
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:142
312
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
313
  msgid "Save Changes"
314
  msgstr ""
315
 
316
- #: ../plugin-fw/lib/yit-plugin-panel.php:276
317
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
318
  msgid ""
319
  "If you continue with this action, you will reset all options in this page."
320
  msgstr ""
321
 
322
- #: ../plugin-fw/lib/yit-plugin-panel.php:278
323
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:147
324
- #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
325
- msgid "Reset Defaults"
326
  msgstr ""
327
 
328
- #: ../plugin-fw/lib/yit-plugin-panel.php:278
329
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:147
330
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
331
  msgid "Are you sure?"
332
  msgstr ""
333
 
334
- #: ../plugin-fw/lib/yit-plugin-panel.php:412
335
  msgid ""
336
  "The element you have entered already exists. Please, enter another name."
337
  msgstr ""
338
 
339
- #: ../plugin-fw/lib/yit-plugin-panel.php:413
340
  msgid "Settings saved"
341
  msgstr ""
342
 
343
- #: ../plugin-fw/lib/yit-plugin-panel.php:414
344
  msgid "Settings reset"
345
  msgstr ""
346
 
347
- #: ../plugin-fw/lib/yit-plugin-panel.php:415
348
  msgid "Element deleted correctly."
349
  msgstr ""
350
 
351
- #: ../plugin-fw/lib/yit-plugin-panel.php:416
352
- #: ../plugin-fw/lib/yit-plugin-panel.php:417
353
  msgid "Element updated correctly."
354
  msgstr ""
355
 
356
- #: ../plugin-fw/lib/yit-plugin-panel.php:418
357
  msgid "Database imported correctly."
358
  msgstr ""
359
 
360
- #: ../plugin-fw/lib/yit-plugin-panel.php:419
361
  msgid "An error has occurred during import. Please try again."
362
  msgstr ""
363
 
364
- #: ../plugin-fw/lib/yit-plugin-panel.php:420
365
  msgid "The added file is not valid."
366
  msgstr ""
367
 
368
- #: ../plugin-fw/lib/yit-plugin-panel.php:421
369
  msgid "Sorry, import is disabled."
370
  msgstr ""
371
 
372
- #: ../plugin-fw/lib/yit-plugin-panel.php:422
373
  msgid "Sorting successful."
374
  msgstr ""
375
 
@@ -559,72 +558,92 @@ msgstr ""
559
 
560
  #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:23
561
  msgid ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
562
  "Have you updated your licenses? Have you asked for an extension? Update "
563
  "information concerning your products."
564
  msgstr ""
565
 
566
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:25
567
  msgid "Update licence information"
568
  msgstr ""
569
 
570
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:35
571
  msgid "Products to be activated"
572
  msgstr ""
573
 
574
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:54
575
  msgid "Activate"
576
  msgstr ""
577
 
578
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:73
579
  msgid "Activated"
580
  msgstr ""
581
 
582
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:77
583
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:109
584
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:133
585
  msgid "Product Name"
586
  msgstr ""
587
 
588
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:78
589
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:110
590
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:134
591
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:145
592
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:337
593
  msgid "Email"
594
  msgstr ""
595
 
596
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:79
597
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:111
598
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:135
599
  msgid "Licence Key"
600
  msgstr ""
601
 
602
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:80
603
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:136
604
  msgid "Expires"
605
  msgstr ""
606
 
607
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:81
608
  msgid "Remaining"
609
  msgstr ""
610
 
611
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:82
612
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:95
613
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:137
614
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:147
615
  msgid "Renew"
616
  msgstr ""
617
 
618
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:93
619
  #, php-format
620
  msgid "%1s out of %2s"
621
  msgstr ""
622
 
623
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:105
624
  msgid "Banned"
625
  msgstr ""
626
 
627
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:129
628
  msgid "Expired"
629
  msgstr ""
630
 
@@ -640,208 +659,208 @@ msgstr ""
640
  msgid "+ Add New Category"
641
  msgstr ""
642
 
643
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:5
644
  msgid "Text Input"
645
  msgstr ""
646
 
647
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:6
648
  msgid "Checkbox"
649
  msgstr ""
650
 
651
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:7
652
  msgid "Select"
653
  msgstr ""
654
 
655
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:8
656
  msgid "Textarea"
657
  msgstr ""
658
 
659
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:9
660
  msgid "Radio Input"
661
  msgstr ""
662
 
663
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:10
664
  msgid "Password Field"
665
  msgstr ""
666
 
667
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:11
668
  msgid "File Upload"
669
  msgstr ""
670
 
671
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:45
672
  msgid "Theme Icon"
673
  msgstr ""
674
 
675
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:46
676
  msgid "Custom Icon"
677
  msgstr ""
678
 
679
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:47
680
  #: ../plugin-fw/templates/metaboxes/types/responsivesliders.php:24
681
  msgid "None"
682
  msgstr ""
683
 
684
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:57
685
  msgid "Add field"
686
  msgstr ""
687
 
688
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:66
689
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:258
690
  #: ../plugin-fw/templates/metaboxes/types/customtabs.php:37
691
  #: ../plugin-fw/templates/metaboxes/types/customtabs.php:82
692
  msgid "Remove"
693
  msgstr ""
694
 
695
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:67
696
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:259
697
  msgid "Click to toggle"
698
  msgstr ""
699
 
700
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:74
701
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:266
702
  msgid "Title Field"
703
  msgstr ""
704
 
705
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:78
706
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:270
707
  msgid "Insert the title for the field."
708
  msgstr ""
709
 
710
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:83
711
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:275
712
  msgid "Data Name"
713
  msgstr ""
714
 
715
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:87
716
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:279
717
  msgid ""
718
  "REQUIRED: Field identification name to be entered into email body. "
719
  "<strong>Note:</strong>Use only lowercase characters and underscores."
720
  msgstr ""
721
 
722
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:92
723
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:284
724
  msgid "Type field"
725
  msgstr ""
726
 
727
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:100
728
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:292
729
  msgid "Select the type for this field."
730
  msgstr ""
731
 
732
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:105
733
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:297
734
  msgid "Checked"
735
  msgstr ""
736
 
737
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:109
738
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:301
739
  msgid "Select this option if you want this field appears as already checked."
740
  msgstr ""
741
 
742
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:114
743
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:306
744
  msgid "Add options "
745
  msgstr ""
746
 
747
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:115
748
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:307
749
- msgid "Add option"
750
- msgstr ""
751
-
752
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:118
753
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:310
754
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:432
755
- msgid "Selected"
756
  msgstr ""
757
 
758
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:121
759
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:313
760
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:432
 
 
 
 
 
 
761
  msgid "Delete option"
762
  msgstr ""
763
 
764
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:127
765
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:319
766
  msgid "Error Message"
767
  msgstr ""
768
 
769
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:131
770
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:323
771
  msgid "Insert the error message for validation."
772
  msgstr ""
773
 
774
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:136
775
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:328
776
  msgid "Required"
777
  msgstr ""
778
 
779
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:140
780
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:332
781
  msgid "Select this option if it must be required."
782
  msgstr ""
783
 
784
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:149
785
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:341
786
  msgid "Select this option if the email must be valid."
787
  msgstr ""
788
 
789
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:154
790
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:346
791
  msgid "Reply To"
792
  msgstr ""
793
 
794
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:158
795
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:350
796
  msgid "Select this if it is the email you can reply to."
797
  msgstr ""
798
 
799
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:163
800
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:355
801
  msgid "Class"
802
  msgstr ""
803
 
804
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:167
805
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:359
806
  msgid ""
807
  "Insert additional class(es) (separated by commas) for more personalization."
808
  msgstr ""
809
 
810
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:172
811
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:364
812
  msgid "Icon"
813
  msgstr ""
814
 
815
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:200
816
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:388
817
  #: ../plugin-fw/templates/metaboxes/types/icon-list.php:69
818
  #: ../plugin-fw/templates/metaboxes/types/select-icon.php:33
819
  #: ../plugin-fw/templates/metaboxes/types/upload.php:21
820
  #: ../plugin-fw/templates/panel/types/upload.php:31
821
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-upload.php:35
822
- #: ../yit-common/yith-panel.php:417
823
  msgid "Upload"
824
  msgstr ""
825
 
826
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:206
827
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:394
828
  #: ../plugin-fw/templates/metaboxes/types/icon-list.php:75
829
  #: ../plugin-fw/templates/metaboxes/types/select-icon.php:39
830
  msgid "Image preview"
831
  msgstr ""
832
 
833
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:214
834
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:402
835
  msgid "Insert an icon for more personalization."
836
  msgstr ""
837
 
838
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:219
839
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:406
840
  msgid "Width"
841
  msgstr ""
842
 
843
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:244
844
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:418
845
  msgid "Set field length."
846
  msgstr ""
847
 
@@ -881,34 +900,34 @@ msgstr ""
881
  msgid "(Default: <i %s></i> )"
882
  msgstr ""
883
 
884
- #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:35
885
  #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
886
- #: ../plugin-fw/templates/metaboxes/types/images.php:33
887
- #: ../plugin-fw/templates/metaboxes/types/images.php:59
 
888
  msgid "Delete image"
889
  msgstr ""
890
 
891
- #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
892
  msgid "Add Images to Gallery"
893
  msgstr ""
894
 
895
- #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
896
  msgid "Add to gallery"
897
  msgstr ""
898
 
899
- #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
900
  msgid "Add images"
901
  msgstr ""
902
 
903
- #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
904
  msgid "Delete"
905
  msgstr ""
906
 
907
- #: ../plugin-fw/templates/metaboxes/types/images.php:37
908
  msgid "Upload new images"
909
  msgstr ""
910
 
911
- #: ../plugin-fw/templates/metaboxes/types/images.php:70
912
  msgid "Are you sure you want to remove this image?"
913
  msgstr ""
914
 
@@ -943,22 +962,22 @@ msgid "Right Sidebar"
943
  msgstr ""
944
 
945
  #: ../plugin-fw/templates/metaboxes/types/typography.php:42
946
- #: ../yit-common/yith-panel.php:444
947
  msgid "px"
948
  msgstr ""
949
 
950
  #: ../plugin-fw/templates/metaboxes/types/typography.php:43
951
- #: ../yit-common/yith-panel.php:445
952
  msgid "em"
953
  msgstr ""
954
 
955
  #: ../plugin-fw/templates/metaboxes/types/typography.php:44
956
- #: ../yit-common/yith-panel.php:446
957
  msgid "pt"
958
  msgstr ""
959
 
960
  #: ../plugin-fw/templates/metaboxes/types/typography.php:45
961
- #: ../yit-common/yith-panel.php:447
962
  msgid "rem"
963
  msgstr ""
964
 
@@ -973,30 +992,34 @@ msgid "Google fonts"
973
  msgstr ""
974
 
975
  #: ../plugin-fw/templates/metaboxes/types/typography.php:96
976
- #: ../yit-common/yith-panel.php:465
977
  msgid "Regular"
978
  msgstr ""
979
 
980
  #: ../plugin-fw/templates/metaboxes/types/typography.php:97
981
- #: ../yit-common/yith-panel.php:466
982
  msgid "Bold"
983
  msgstr ""
984
 
985
  #: ../plugin-fw/templates/metaboxes/types/typography.php:98
986
- #: ../yit-common/yith-panel.php:467
987
  msgid "Extra bold"
988
  msgstr ""
989
 
990
  #: ../plugin-fw/templates/metaboxes/types/typography.php:99
991
- #: ../yit-common/yith-panel.php:468
992
  msgid "Italic"
993
  msgstr ""
994
 
995
  #: ../plugin-fw/templates/metaboxes/types/typography.php:100
996
- #: ../yit-common/yith-panel.php:469
997
  msgid "Italic bold"
998
  msgstr ""
999
 
 
 
 
 
1000
  #: ../plugin-options/general-options.php:16
1001
  msgid "Image size"
1002
  msgstr ""
@@ -1182,22 +1205,22 @@ msgid ""
1182
  "and support through our platform available 24h/24."
1183
  msgstr ""
1184
 
1185
- #: ../yit-common/yith-panel.php:406
1186
  msgid "Select a date"
1187
  msgstr ""
1188
 
1189
- #: ../yit-common/yith-panel.php:407
1190
  msgid "Hours"
1191
  msgstr ""
1192
 
1193
- #: ../yit-common/yith-panel.php:408 ../yit-common/yith-panel.php:409
1194
  msgid "Minutes"
1195
  msgstr ""
1196
 
1197
- #: ../yit-common/yith-panel.php:457
1198
  msgid "Select a font family"
1199
  msgstr ""
1200
 
1201
- #: ../yit-common/yith-panel.php:481
1202
  msgid "Click to preview"
1203
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Order Tracking\n"
4
+ "POT-Creation-Date: 2015-04-22 12:25+0100\n"
5
+ "PO-Revision-Date: 2015-04-22 12:25+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: en\n"
58
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1048
59
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1196
60
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1202
61
+ #: ../plugin-fw/lib/yit-plugin-panel.php:64
62
  msgid "Settings"
63
  msgstr ""
64
 
294
  msgid "Add with multiupload"
295
  msgstr ""
296
 
297
+ #: ../plugin-fw/lib/yit-plugin-panel-wc.php:295
298
  msgid "The changes you have made will be lost if you leave this page."
299
  msgstr ""
300
 
301
+ #: ../plugin-fw/lib/yit-plugin-panel.php:63
302
  msgid "Plugin Settings"
303
  msgstr ""
304
 
305
+ #: ../plugin-fw/lib/yit-plugin-panel.php:95
306
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:101
307
  msgid "YIT Plugins"
308
  msgstr ""
309
 
310
+ #: ../plugin-fw/lib/yit-plugin-panel.php:292
311
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:142
312
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
313
  msgid "Save Changes"
314
  msgstr ""
315
 
316
+ #: ../plugin-fw/lib/yit-plugin-panel.php:295
317
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
318
  msgid ""
319
  "If you continue with this action, you will reset all options in this page."
320
  msgstr ""
321
 
322
+ #: ../plugin-fw/lib/yit-plugin-panel.php:297
323
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:147
324
+ msgid "Reset to Default"
 
325
  msgstr ""
326
 
327
+ #: ../plugin-fw/lib/yit-plugin-panel.php:297
328
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:147
329
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
330
  msgid "Are you sure?"
331
  msgstr ""
332
 
333
+ #: ../plugin-fw/lib/yit-plugin-panel.php:431
334
  msgid ""
335
  "The element you have entered already exists. Please, enter another name."
336
  msgstr ""
337
 
338
+ #: ../plugin-fw/lib/yit-plugin-panel.php:432
339
  msgid "Settings saved"
340
  msgstr ""
341
 
342
+ #: ../plugin-fw/lib/yit-plugin-panel.php:433
343
  msgid "Settings reset"
344
  msgstr ""
345
 
346
+ #: ../plugin-fw/lib/yit-plugin-panel.php:434
347
  msgid "Element deleted correctly."
348
  msgstr ""
349
 
350
+ #: ../plugin-fw/lib/yit-plugin-panel.php:435
351
+ #: ../plugin-fw/lib/yit-plugin-panel.php:436
352
  msgid "Element updated correctly."
353
  msgstr ""
354
 
355
+ #: ../plugin-fw/lib/yit-plugin-panel.php:437
356
  msgid "Database imported correctly."
357
  msgstr ""
358
 
359
+ #: ../plugin-fw/lib/yit-plugin-panel.php:438
360
  msgid "An error has occurred during import. Please try again."
361
  msgstr ""
362
 
363
+ #: ../plugin-fw/lib/yit-plugin-panel.php:439
364
  msgid "The added file is not valid."
365
  msgstr ""
366
 
367
+ #: ../plugin-fw/lib/yit-plugin-panel.php:440
368
  msgid "Sorry, import is disabled."
369
  msgstr ""
370
 
371
+ #: ../plugin-fw/lib/yit-plugin-panel.php:441
372
  msgid "Sorting successful."
373
  msgstr ""
374
 
558
 
559
  #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:23
560
  msgid ""
561
+ "I cannot find the license key for activating the theme I have bought some "
562
+ "time ago. Where can I find it?"
563
+ msgstr ""
564
+
565
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:26
566
+ msgid ""
567
+ "If you have purchased one of our products before 27 January 2015, you can "
568
+ "benefit from support and updates (the services offered with the license)\n"
569
+ " until 27 January 2016 and you do not have to purchase it again "
570
+ "to get a new license key, because, before this date, your license used to be "
571
+ "activated automatically by our system.\n"
572
+ " After 27 January 2016, instead, if you want to benefit from "
573
+ "support and updates you have to buy a new license and activate it through "
574
+ "the license key you will be\n"
575
+ " provided with and that you can find in your YIThemes account, in "
576
+ "section \"My licenses\"."
577
+ msgstr ""
578
+
579
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:37
580
+ msgid ""
581
  "Have you updated your licenses? Have you asked for an extension? Update "
582
  "information concerning your products."
583
  msgstr ""
584
 
585
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:39
586
  msgid "Update licence information"
587
  msgstr ""
588
 
589
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:49
590
  msgid "Products to be activated"
591
  msgstr ""
592
 
593
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:68
594
  msgid "Activate"
595
  msgstr ""
596
 
597
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:87
598
  msgid "Activated"
599
  msgstr ""
600
 
601
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:91
602
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:123
603
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:147
604
  msgid "Product Name"
605
  msgstr ""
606
 
607
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:92
608
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:124
609
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:148
610
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:148
611
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:340
612
  msgid "Email"
613
  msgstr ""
614
 
615
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:93
616
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:125
617
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:149
618
  msgid "Licence Key"
619
  msgstr ""
620
 
621
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:94
622
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:150
623
  msgid "Expires"
624
  msgstr ""
625
 
626
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:95
627
  msgid "Remaining"
628
  msgstr ""
629
 
630
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:96
631
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:109
632
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:151
633
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:161
634
  msgid "Renew"
635
  msgstr ""
636
 
637
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:107
638
  #, php-format
639
  msgid "%1s out of %2s"
640
  msgstr ""
641
 
642
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:119
643
  msgid "Banned"
644
  msgstr ""
645
 
646
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:143
647
  msgid "Expired"
648
  msgstr ""
649
 
659
  msgid "+ Add New Category"
660
  msgstr ""
661
 
662
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:7
663
  msgid "Text Input"
664
  msgstr ""
665
 
666
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:8
667
  msgid "Checkbox"
668
  msgstr ""
669
 
670
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:9
671
  msgid "Select"
672
  msgstr ""
673
 
674
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:10
675
  msgid "Textarea"
676
  msgstr ""
677
 
678
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:11
679
  msgid "Radio Input"
680
  msgstr ""
681
 
682
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:12
683
  msgid "Password Field"
684
  msgstr ""
685
 
686
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:13
687
  msgid "File Upload"
688
  msgstr ""
689
 
690
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:47
691
  msgid "Theme Icon"
692
  msgstr ""
693
 
694
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:48
695
  msgid "Custom Icon"
696
  msgstr ""
697
 
698
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:49
699
  #: ../plugin-fw/templates/metaboxes/types/responsivesliders.php:24
700
  msgid "None"
701
  msgstr ""
702
 
703
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:60
704
  msgid "Add field"
705
  msgstr ""
706
 
707
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:69
708
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:261
709
  #: ../plugin-fw/templates/metaboxes/types/customtabs.php:37
710
  #: ../plugin-fw/templates/metaboxes/types/customtabs.php:82
711
  msgid "Remove"
712
  msgstr ""
713
 
714
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:70
715
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:262
716
  msgid "Click to toggle"
717
  msgstr ""
718
 
719
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:77
720
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:269
721
  msgid "Title Field"
722
  msgstr ""
723
 
724
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:81
725
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:273
726
  msgid "Insert the title for the field."
727
  msgstr ""
728
 
729
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:86
730
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:278
731
  msgid "Data Name"
732
  msgstr ""
733
 
734
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:90
735
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:282
736
  msgid ""
737
  "REQUIRED: Field identification name to be entered into email body. "
738
  "<strong>Note:</strong>Use only lowercase characters and underscores."
739
  msgstr ""
740
 
741
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:95
742
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:287
743
  msgid "Type field"
744
  msgstr ""
745
 
746
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:103
747
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:295
748
  msgid "Select the type for this field."
749
  msgstr ""
750
 
751
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:108
752
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:300
753
  msgid "Checked"
754
  msgstr ""
755
 
756
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:112
757
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:304
758
  msgid "Select this option if you want this field appears as already checked."
759
  msgstr ""
760
 
761
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:117
762
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:309
763
  msgid "Add options "
764
  msgstr ""
765
 
 
 
 
 
 
766
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:118
767
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:310
768
+ msgid "Add option"
 
769
  msgstr ""
770
 
771
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:121
772
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:313
773
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:436
774
+ msgid "Selected"
775
+ msgstr ""
776
+
777
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:124
778
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:316
779
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:436
780
  msgid "Delete option"
781
  msgstr ""
782
 
783
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:130
784
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:322
785
  msgid "Error Message"
786
  msgstr ""
787
 
788
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:134
789
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:326
790
  msgid "Insert the error message for validation."
791
  msgstr ""
792
 
793
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:139
794
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:331
795
  msgid "Required"
796
  msgstr ""
797
 
798
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:143
799
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:335
800
  msgid "Select this option if it must be required."
801
  msgstr ""
802
 
803
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:152
804
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:344
805
  msgid "Select this option if the email must be valid."
806
  msgstr ""
807
 
808
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:157
809
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:349
810
  msgid "Reply To"
811
  msgstr ""
812
 
813
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:161
814
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:353
815
  msgid "Select this if it is the email you can reply to."
816
  msgstr ""
817
 
818
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:166
819
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:358
820
  msgid "Class"
821
  msgstr ""
822
 
823
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:170
824
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:362
825
  msgid ""
826
  "Insert additional class(es) (separated by commas) for more personalization."
827
  msgstr ""
828
 
829
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:175
830
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:367
831
  msgid "Icon"
832
  msgstr ""
833
 
834
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:203
835
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:391
836
  #: ../plugin-fw/templates/metaboxes/types/icon-list.php:69
837
  #: ../plugin-fw/templates/metaboxes/types/select-icon.php:33
838
  #: ../plugin-fw/templates/metaboxes/types/upload.php:21
839
  #: ../plugin-fw/templates/panel/types/upload.php:31
840
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-upload.php:35
841
+ #: ../yit-common/yith-panel.php:435
842
  msgid "Upload"
843
  msgstr ""
844
 
845
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:209
846
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:397
847
  #: ../plugin-fw/templates/metaboxes/types/icon-list.php:75
848
  #: ../plugin-fw/templates/metaboxes/types/select-icon.php:39
849
  msgid "Image preview"
850
  msgstr ""
851
 
852
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:217
853
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:405
854
  msgid "Insert an icon for more personalization."
855
  msgstr ""
856
 
857
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:222
858
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:409
859
  msgid "Width"
860
  msgstr ""
861
 
862
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:247
863
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:421
864
  msgid "Set field length."
865
  msgstr ""
866
 
900
  msgid "(Default: <i %s></i> )"
901
  msgstr ""
902
 
 
903
  #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
904
+ #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:45
905
+ #: ../plugin-fw/templates/metaboxes/types/images.php:38
906
+ #: ../plugin-fw/templates/metaboxes/types/images.php:64
907
  msgid "Delete image"
908
  msgstr ""
909
 
910
+ #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:45
911
  msgid "Add Images to Gallery"
912
  msgstr ""
913
 
914
+ #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:45
915
  msgid "Add to gallery"
916
  msgstr ""
917
 
918
+ #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:45
919
  msgid "Add images"
920
  msgstr ""
921
 
922
+ #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:45
923
  msgid "Delete"
924
  msgstr ""
925
 
926
+ #: ../plugin-fw/templates/metaboxes/types/images.php:42
927
  msgid "Upload new images"
928
  msgstr ""
929
 
930
+ #: ../plugin-fw/templates/metaboxes/types/images.php:75
931
  msgid "Are you sure you want to remove this image?"
932
  msgstr ""
933
 
962
  msgstr ""
963
 
964
  #: ../plugin-fw/templates/metaboxes/types/typography.php:42
965
+ #: ../yit-common/yith-panel.php:472
966
  msgid "px"
967
  msgstr ""
968
 
969
  #: ../plugin-fw/templates/metaboxes/types/typography.php:43
970
+ #: ../yit-common/yith-panel.php:474
971
  msgid "em"
972
  msgstr ""
973
 
974
  #: ../plugin-fw/templates/metaboxes/types/typography.php:44
975
+ #: ../yit-common/yith-panel.php:476
976
  msgid "pt"
977
  msgstr ""
978
 
979
  #: ../plugin-fw/templates/metaboxes/types/typography.php:45
980
+ #: ../yit-common/yith-panel.php:478
981
  msgid "rem"
982
  msgstr ""
983
 
992
  msgstr ""
993
 
994
  #: ../plugin-fw/templates/metaboxes/types/typography.php:96
995
+ #: ../yit-common/yith-panel.php:500
996
  msgid "Regular"
997
  msgstr ""
998
 
999
  #: ../plugin-fw/templates/metaboxes/types/typography.php:97
1000
+ #: ../yit-common/yith-panel.php:502
1001
  msgid "Bold"
1002
  msgstr ""
1003
 
1004
  #: ../plugin-fw/templates/metaboxes/types/typography.php:98
1005
+ #: ../yit-common/yith-panel.php:504
1006
  msgid "Extra bold"
1007
  msgstr ""
1008
 
1009
  #: ../plugin-fw/templates/metaboxes/types/typography.php:99
1010
+ #: ../yit-common/yith-panel.php:506
1011
  msgid "Italic"
1012
  msgstr ""
1013
 
1014
  #: ../plugin-fw/templates/metaboxes/types/typography.php:100
1015
+ #: ../yit-common/yith-panel.php:508
1016
  msgid "Italic bold"
1017
  msgstr ""
1018
 
1019
+ #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
1020
+ msgid "Reset Defaults"
1021
+ msgstr ""
1022
+
1023
  #: ../plugin-options/general-options.php:16
1024
  msgid "Image size"
1025
  msgstr ""
1205
  "and support through our platform available 24h/24."
1206
  msgstr ""
1207
 
1208
+ #: ../yit-common/yith-panel.php:424
1209
  msgid "Select a date"
1210
  msgstr ""
1211
 
1212
+ #: ../yit-common/yith-panel.php:425
1213
  msgid "Hours"
1214
  msgstr ""
1215
 
1216
+ #: ../yit-common/yith-panel.php:426 ../yit-common/yith-panel.php:427
1217
  msgid "Minutes"
1218
  msgstr ""
1219
 
1220
+ #: ../yit-common/yith-panel.php:490
1221
  msgid "Select a font family"
1222
  msgstr ""
1223
 
1224
+ #: ../yit-common/yith-panel.php:524
1225
  msgid "Click to preview"
1226
  msgstr ""
languages/ywzm.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Order Tracking\n"
4
- "POT-Creation-Date: 2015-03-17 14:21+0100\n"
5
- "PO-Revision-Date: 2015-03-17 14:21+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: en\n"
@@ -17,115 +17,27 @@ msgstr ""
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: ..\n"
19
 
20
- #: ../class.yith-wcmg-admin.php:92
21
  msgid "Image Size"
22
  msgstr ""
23
 
24
- #: ../class.yith-wcmg-admin.php:93 ../plugin-options/general-options.php:17
25
  msgid "The size of the images used within the magnifier box"
26
  msgstr ""
27
 
28
- #: ../init.php:45
29
  msgid ""
30
  "YITH WooCommerce Zoom Magnifier is enabled but not effective. It requires "
31
- "WooCommerce in order to work."
32
  msgstr ""
33
 
34
- #: ../lib/class.yith-products-exclusion.php:40
35
- msgid "product"
36
- msgstr ""
37
-
38
- #: ../lib/class.yith-products-exclusion.php:41
39
- msgid "products"
40
- msgstr ""
41
-
42
- #: ../lib/class.yith-products-exclusion.php:59
43
- msgid "Product"
44
- msgstr ""
45
-
46
- #: ../lib/class.yith-products-exclusion.php:84
47
- msgid "Remove from exclusions"
48
- msgstr ""
49
-
50
- #: ../lib/class.yith-products-exclusion.php:87
51
- msgid "Edit product"
52
- msgstr ""
53
-
54
- #: ../lib/class.yith-products-exclusion.php:92
55
- msgid "Remove from list"
56
- msgstr ""
57
-
58
- #: ../lib/class.yith-products-exclusion.php:132
59
- #, php-format
60
- msgid "%s product removed successfully"
61
- msgid_plural "%s products removed successfully"
62
- msgstr[0] ""
63
- msgstr[1] ""
64
-
65
- #: ../lib/class.yith-products-exclusion.php:152
66
- #, php-format
67
- msgid "%s product added successfully"
68
- msgid_plural "%s products added successfully"
69
- msgstr[0] ""
70
- msgstr[1] ""
71
-
72
- #: ../lib/class.yith-products-exclusion.php:156
73
- msgid "Product updated successfully"
74
- msgstr ""
75
-
76
- #: ../lib/class.yith-products-exclusion.php:175
77
- #: ../lib/class.yith-ywzm-plugin-fw-loader.php:130
78
- msgid "Single Product Exclusion List"
79
- msgstr ""
80
-
81
- #: ../lib/class.yith-products-exclusion.php:186
82
- msgid "Add Products"
83
- msgstr ""
84
-
85
- #: ../lib/class.yith-products-exclusion.php:206
86
- msgid "Products to exclude"
87
- msgstr ""
88
-
89
- #: ../lib/class.yith-products-exclusion.php:229
90
- msgid "Add product exclusion"
91
- msgstr ""
92
-
93
- #: ../lib/class.yith-products-exclusion.php:233
94
- msgid "Return to exclusion list"
95
- msgstr ""
96
-
97
- #: ../lib/class.yith-products-exclusion.php:288
98
- msgid "Select at least one product"
99
- msgstr ""
100
-
101
- #: ../lib/class.yith-woocommerce-zoom-magnifier-premium.php:134
102
- msgid "Exclude product categories"
103
- msgstr ""
104
-
105
- #: ../lib/class.yith-woocommerce-zoom-magnifier-premium.php:149
106
- msgid "Top"
107
- msgstr ""
108
-
109
- #: ../lib/class.yith-woocommerce-zoom-magnifier-premium.php:150
110
- #: ../plugin-options/general-options.php:104
111
- msgid "Right"
112
- msgstr ""
113
-
114
- #: ../lib/class.yith-woocommerce-zoom-magnifier-premium.php:151
115
- msgid "Bottom"
116
- msgstr ""
117
-
118
- #: ../lib/class.yith-woocommerce-zoom-magnifier-premium.php:152
119
- msgid "Left"
120
- msgstr ""
121
-
122
- #: ../lib/class.yith-woocommerce-zoom-magnifier-premium.php:153
123
- #: ../plugin-options/general-options.php:105
124
- #: ../plugin-options/general-options.php:117
125
- msgid "Inside"
126
  msgstr ""
127
 
128
- #: ../lib/class.yith-ywzm-custom-types.php:180
129
  msgid "Do you want to hard crop the image?"
130
  msgstr ""
131
 
@@ -134,38 +46,42 @@ msgid "General"
134
  msgstr ""
135
 
136
  #: ../lib/class.yith-ywzm-plugin-fw-loader.php:127
137
- #: ../lib/class.yith-ywzm-plugin-fw-loader.php:192
138
  msgid "Premium Version"
139
  msgstr ""
140
 
141
- #: ../lib/class.yith-ywzm-plugin-fw-loader.php:189
 
 
 
 
142
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1048
143
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1196
144
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1202
145
- #: ../plugin-fw/lib/yit-plugin-panel.php:62
146
  msgid "Settings"
147
  msgstr ""
148
 
149
- #: ../lib/class.yith-ywzm-plugin-fw-loader.php:217
150
  msgid "Plugin Documentation"
151
  msgstr ""
152
 
153
- #: ../lib/class.yith-ywzm-plugin-fw-loader.php:230
154
  msgid ""
155
  "YITH WooCommerce Zoom Magnifier is available in an outstanding PREMIUM "
156
  "version with many new options, discover it now."
157
  msgstr ""
158
 
159
- #: ../lib/class.yith-ywzm-plugin-fw-loader.php:231
160
  msgid "Premium version"
161
  msgstr ""
162
 
163
- #: ../lib/class.yith-ywzm-plugin-fw-loader.php:238
164
- #: ../plugin-options/general-options.php:216
165
  msgid "YITH WooCommerce Zoom Magnifier"
166
  msgstr ""
167
 
168
- #: ../lib/class.yith-ywzm-plugin-fw-loader.php:239
169
  msgid ""
170
  "In YIT Plugins tab you can find YITH WooCommerce Zoom Magnifier options."
171
  "<br> From this menu you can access all settings of the YITH plugins "
@@ -378,82 +294,81 @@ msgstr ""
378
  msgid "Add with multiupload"
379
  msgstr ""
380
 
381
- #: ../plugin-fw/lib/yit-plugin-panel-wc.php:315
382
  msgid "The changes you have made will be lost if you leave this page."
383
  msgstr ""
384
 
385
- #: ../plugin-fw/lib/yit-plugin-panel.php:61
386
  msgid "Plugin Settings"
387
  msgstr ""
388
 
389
- #: ../plugin-fw/lib/yit-plugin-panel.php:94
390
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:101
391
  msgid "YIT Plugins"
392
  msgstr ""
393
 
394
- #: ../plugin-fw/lib/yit-plugin-panel.php:273
395
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:142
396
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
397
  msgid "Save Changes"
398
  msgstr ""
399
 
400
- #: ../plugin-fw/lib/yit-plugin-panel.php:276
401
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
402
  msgid ""
403
  "If you continue with this action, you will reset all options in this page."
404
  msgstr ""
405
 
406
- #: ../plugin-fw/lib/yit-plugin-panel.php:278
407
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:147
408
- #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
409
- msgid "Reset Defaults"
410
  msgstr ""
411
 
412
- #: ../plugin-fw/lib/yit-plugin-panel.php:278
413
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:147
414
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
415
  msgid "Are you sure?"
416
  msgstr ""
417
 
418
- #: ../plugin-fw/lib/yit-plugin-panel.php:412
419
  msgid ""
420
  "The element you have entered already exists. Please, enter another name."
421
  msgstr ""
422
 
423
- #: ../plugin-fw/lib/yit-plugin-panel.php:413
424
  msgid "Settings saved"
425
  msgstr ""
426
 
427
- #: ../plugin-fw/lib/yit-plugin-panel.php:414
428
  msgid "Settings reset"
429
  msgstr ""
430
 
431
- #: ../plugin-fw/lib/yit-plugin-panel.php:415
432
  msgid "Element deleted correctly."
433
  msgstr ""
434
 
435
- #: ../plugin-fw/lib/yit-plugin-panel.php:416
436
- #: ../plugin-fw/lib/yit-plugin-panel.php:417
437
  msgid "Element updated correctly."
438
  msgstr ""
439
 
440
- #: ../plugin-fw/lib/yit-plugin-panel.php:418
441
  msgid "Database imported correctly."
442
  msgstr ""
443
 
444
- #: ../plugin-fw/lib/yit-plugin-panel.php:419
445
  msgid "An error has occurred during import. Please try again."
446
  msgstr ""
447
 
448
- #: ../plugin-fw/lib/yit-plugin-panel.php:420
449
  msgid "The added file is not valid."
450
  msgstr ""
451
 
452
- #: ../plugin-fw/lib/yit-plugin-panel.php:421
453
  msgid "Sorry, import is disabled."
454
  msgstr ""
455
 
456
- #: ../plugin-fw/lib/yit-plugin-panel.php:422
457
  msgid "Sorting successful."
458
  msgstr ""
459
 
@@ -643,72 +558,92 @@ msgstr ""
643
 
644
  #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:23
645
  msgid ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
646
  "Have you updated your licenses? Have you asked for an extension? Update "
647
  "information concerning your products."
648
  msgstr ""
649
 
650
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:25
651
  msgid "Update licence information"
652
  msgstr ""
653
 
654
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:35
655
  msgid "Products to be activated"
656
  msgstr ""
657
 
658
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:54
659
  msgid "Activate"
660
  msgstr ""
661
 
662
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:73
663
  msgid "Activated"
664
  msgstr ""
665
 
666
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:77
667
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:109
668
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:133
669
  msgid "Product Name"
670
  msgstr ""
671
 
672
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:78
673
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:110
674
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:134
675
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:145
676
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:337
677
  msgid "Email"
678
  msgstr ""
679
 
680
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:79
681
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:111
682
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:135
683
  msgid "Licence Key"
684
  msgstr ""
685
 
686
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:80
687
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:136
688
  msgid "Expires"
689
  msgstr ""
690
 
691
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:81
692
  msgid "Remaining"
693
  msgstr ""
694
 
695
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:82
696
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:95
697
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:137
698
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:147
699
  msgid "Renew"
700
  msgstr ""
701
 
702
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:93
703
  #, php-format
704
  msgid "%1s out of %2s"
705
  msgstr ""
706
 
707
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:105
708
  msgid "Banned"
709
  msgstr ""
710
 
711
- #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:129
712
  msgid "Expired"
713
  msgstr ""
714
 
@@ -724,208 +659,208 @@ msgstr ""
724
  msgid "+ Add New Category"
725
  msgstr ""
726
 
727
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:5
728
  msgid "Text Input"
729
  msgstr ""
730
 
731
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:6
732
  msgid "Checkbox"
733
  msgstr ""
734
 
735
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:7
736
  msgid "Select"
737
  msgstr ""
738
 
739
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:8
740
  msgid "Textarea"
741
  msgstr ""
742
 
743
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:9
744
  msgid "Radio Input"
745
  msgstr ""
746
 
747
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:10
748
  msgid "Password Field"
749
  msgstr ""
750
 
751
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:11
752
  msgid "File Upload"
753
  msgstr ""
754
 
755
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:45
756
  msgid "Theme Icon"
757
  msgstr ""
758
 
759
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:46
760
  msgid "Custom Icon"
761
  msgstr ""
762
 
763
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:47
764
  #: ../plugin-fw/templates/metaboxes/types/responsivesliders.php:24
765
  msgid "None"
766
  msgstr ""
767
 
768
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:57
769
  msgid "Add field"
770
  msgstr ""
771
 
772
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:66
773
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:258
774
  #: ../plugin-fw/templates/metaboxes/types/customtabs.php:37
775
  #: ../plugin-fw/templates/metaboxes/types/customtabs.php:82
776
  msgid "Remove"
777
  msgstr ""
778
 
779
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:67
780
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:259
781
  msgid "Click to toggle"
782
  msgstr ""
783
 
784
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:74
785
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:266
786
  msgid "Title Field"
787
  msgstr ""
788
 
789
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:78
790
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:270
791
  msgid "Insert the title for the field."
792
  msgstr ""
793
 
794
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:83
795
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:275
796
  msgid "Data Name"
797
  msgstr ""
798
 
799
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:87
800
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:279
801
  msgid ""
802
  "REQUIRED: Field identification name to be entered into email body. "
803
  "<strong>Note:</strong>Use only lowercase characters and underscores."
804
  msgstr ""
805
 
806
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:92
807
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:284
808
  msgid "Type field"
809
  msgstr ""
810
 
811
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:100
812
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:292
813
  msgid "Select the type for this field."
814
  msgstr ""
815
 
816
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:105
817
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:297
818
  msgid "Checked"
819
  msgstr ""
820
 
821
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:109
822
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:301
823
  msgid "Select this option if you want this field appears as already checked."
824
  msgstr ""
825
 
826
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:114
827
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:306
828
  msgid "Add options "
829
  msgstr ""
830
 
831
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:115
832
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:307
833
- msgid "Add option"
834
- msgstr ""
835
-
836
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:118
837
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:310
838
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:432
839
- msgid "Selected"
840
  msgstr ""
841
 
842
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:121
843
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:313
844
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:432
 
 
 
 
 
 
845
  msgid "Delete option"
846
  msgstr ""
847
 
848
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:127
849
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:319
850
  msgid "Error Message"
851
  msgstr ""
852
 
853
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:131
854
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:323
855
  msgid "Insert the error message for validation."
856
  msgstr ""
857
 
858
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:136
859
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:328
860
  msgid "Required"
861
  msgstr ""
862
 
863
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:140
864
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:332
865
  msgid "Select this option if it must be required."
866
  msgstr ""
867
 
868
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:149
869
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:341
870
  msgid "Select this option if the email must be valid."
871
  msgstr ""
872
 
873
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:154
874
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:346
875
  msgid "Reply To"
876
  msgstr ""
877
 
878
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:158
879
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:350
880
  msgid "Select this if it is the email you can reply to."
881
  msgstr ""
882
 
883
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:163
884
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:355
885
  msgid "Class"
886
  msgstr ""
887
 
888
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:167
889
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:359
890
  msgid ""
891
  "Insert additional class(es) (separated by commas) for more personalization."
892
  msgstr ""
893
 
894
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:172
895
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:364
896
  msgid "Icon"
897
  msgstr ""
898
 
899
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:200
900
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:388
901
  #: ../plugin-fw/templates/metaboxes/types/icon-list.php:69
902
  #: ../plugin-fw/templates/metaboxes/types/select-icon.php:33
903
  #: ../plugin-fw/templates/metaboxes/types/upload.php:21
904
  #: ../plugin-fw/templates/panel/types/upload.php:31
905
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-upload.php:35
906
- #: ../yit-common/yith-panel.php:417
907
  msgid "Upload"
908
  msgstr ""
909
 
910
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:206
911
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:394
912
  #: ../plugin-fw/templates/metaboxes/types/icon-list.php:75
913
  #: ../plugin-fw/templates/metaboxes/types/select-icon.php:39
914
  msgid "Image preview"
915
  msgstr ""
916
 
917
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:214
918
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:402
919
  msgid "Insert an icon for more personalization."
920
  msgstr ""
921
 
922
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:219
923
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:406
924
  msgid "Width"
925
  msgstr ""
926
 
927
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:244
928
- #: ../plugin-fw/templates/metaboxes/types/contactform.php:418
929
  msgid "Set field length."
930
  msgstr ""
931
 
@@ -965,34 +900,34 @@ msgstr ""
965
  msgid "(Default: <i %s></i> )"
966
  msgstr ""
967
 
968
- #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:35
969
  #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
970
- #: ../plugin-fw/templates/metaboxes/types/images.php:33
971
- #: ../plugin-fw/templates/metaboxes/types/images.php:59
 
972
  msgid "Delete image"
973
  msgstr ""
974
 
975
- #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
976
  msgid "Add Images to Gallery"
977
  msgstr ""
978
 
979
- #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
980
  msgid "Add to gallery"
981
  msgstr ""
982
 
983
- #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
984
  msgid "Add images"
985
  msgstr ""
986
 
987
- #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
988
  msgid "Delete"
989
  msgstr ""
990
 
991
- #: ../plugin-fw/templates/metaboxes/types/images.php:37
992
  msgid "Upload new images"
993
  msgstr ""
994
 
995
- #: ../plugin-fw/templates/metaboxes/types/images.php:70
996
  msgid "Are you sure you want to remove this image?"
997
  msgstr ""
998
 
@@ -1027,22 +962,22 @@ msgid "Right Sidebar"
1027
  msgstr ""
1028
 
1029
  #: ../plugin-fw/templates/metaboxes/types/typography.php:42
1030
- #: ../yit-common/yith-panel.php:444
1031
  msgid "px"
1032
  msgstr ""
1033
 
1034
  #: ../plugin-fw/templates/metaboxes/types/typography.php:43
1035
- #: ../yit-common/yith-panel.php:445
1036
  msgid "em"
1037
  msgstr ""
1038
 
1039
  #: ../plugin-fw/templates/metaboxes/types/typography.php:44
1040
- #: ../yit-common/yith-panel.php:446
1041
  msgid "pt"
1042
  msgstr ""
1043
 
1044
  #: ../plugin-fw/templates/metaboxes/types/typography.php:45
1045
- #: ../yit-common/yith-panel.php:447
1046
  msgid "rem"
1047
  msgstr ""
1048
 
@@ -1057,30 +992,34 @@ msgid "Google fonts"
1057
  msgstr ""
1058
 
1059
  #: ../plugin-fw/templates/metaboxes/types/typography.php:96
1060
- #: ../yit-common/yith-panel.php:465
1061
  msgid "Regular"
1062
  msgstr ""
1063
 
1064
  #: ../plugin-fw/templates/metaboxes/types/typography.php:97
1065
- #: ../yit-common/yith-panel.php:466
1066
  msgid "Bold"
1067
  msgstr ""
1068
 
1069
  #: ../plugin-fw/templates/metaboxes/types/typography.php:98
1070
- #: ../yit-common/yith-panel.php:467
1071
  msgid "Extra bold"
1072
  msgstr ""
1073
 
1074
  #: ../plugin-fw/templates/metaboxes/types/typography.php:99
1075
- #: ../yit-common/yith-panel.php:468
1076
  msgid "Italic"
1077
  msgstr ""
1078
 
1079
  #: ../plugin-fw/templates/metaboxes/types/typography.php:100
1080
- #: ../yit-common/yith-panel.php:469
1081
  msgid "Italic bold"
1082
  msgstr ""
1083
 
 
 
 
 
1084
  #: ../plugin-options/general-options.php:16
1085
  msgid "Image size"
1086
  msgstr ""
@@ -1098,187 +1037,190 @@ msgid "Activate the plugin or use the WooCommerce default product image."
1098
  msgstr ""
1099
 
1100
  #: ../plugin-options/general-options.php:50
1101
- msgid "Activate on mobile device"
1102
- msgstr ""
1103
-
1104
- #: ../plugin-options/general-options.php:51
1105
- msgid ""
1106
- "Set if zoom and slider functionalities should be shown also on mobile "
1107
- "devices."
1108
  msgstr ""
1109
 
1110
- #: ../plugin-options/general-options.php:59
1111
  msgid "Forced Image Size"
1112
  msgstr ""
1113
 
1114
- #: ../plugin-options/general-options.php:60
1115
  msgid ""
1116
  "If disabled, you will able to customize the sizes of the zoomed images. "
1117
  "Disable it at your own risk; the magnifier could not properly work with "
1118
  "images out of proportion."
1119
  msgstr ""
1120
 
1121
- #: ../plugin-options/general-options.php:74
1122
  msgid "Magnifier Settings"
1123
  msgstr ""
1124
 
1125
- #: ../plugin-options/general-options.php:80
1126
  msgid "Zoom Box Width"
1127
  msgstr ""
1128
 
1129
- #: ../plugin-options/general-options.php:81
1130
  msgid "The width of the magnifier box (default: auto)"
1131
  msgstr ""
1132
 
1133
- #: ../plugin-options/general-options.php:88
1134
  msgid "Zoom Box Height"
1135
  msgstr ""
1136
 
1137
- #: ../plugin-options/general-options.php:89
1138
  msgid "The height of the magnifier box (default: auto)"
1139
  msgstr ""
1140
 
1141
- #: ../plugin-options/general-options.php:97
1142
  msgid "Zoom Box Position"
1143
  msgstr ""
1144
 
1145
- #: ../plugin-options/general-options.php:98
1146
  msgid "The magnifier position"
1147
  msgstr ""
1148
 
1149
- #: ../plugin-options/general-options.php:109
 
 
 
 
 
 
 
 
 
1150
  msgid "Zoom Box Position for mobile devices"
1151
  msgstr ""
1152
 
1153
- #: ../plugin-options/general-options.php:110
1154
  msgid "The magnifier position for the mobile devices (iPhone, Android, etc.)"
1155
  msgstr ""
1156
 
1157
- #: ../plugin-options/general-options.php:116
1158
  msgid "Default"
1159
  msgstr ""
1160
 
1161
- #: ../plugin-options/general-options.php:118
1162
  msgid "Disable"
1163
  msgstr ""
1164
 
1165
- #: ../plugin-options/general-options.php:122
1166
  msgid "Loading label"
1167
  msgstr ""
1168
 
1169
- #: ../plugin-options/general-options.php:125
1170
- #: ../plugin-options/general-options.php:126
1171
  msgid "Loading..."
1172
  msgstr ""
1173
 
1174
- #: ../plugin-options/general-options.php:130
1175
  msgid "Lens Opacity"
1176
  msgstr ""
1177
 
1178
- #: ../plugin-options/general-options.php:141
1179
  msgid "Blur"
1180
  msgstr ""
1181
 
1182
- #: ../plugin-options/general-options.php:142
1183
  msgid "Add a blur effect to the small image on mouse hover."
1184
  msgstr ""
1185
 
1186
- #: ../plugin-options/general-options.php:153
1187
  msgid "Slider Settings"
1188
  msgstr ""
1189
 
1190
- #: ../plugin-options/general-options.php:159
1191
  msgid "Activate Slider"
1192
  msgstr ""
1193
 
1194
- #: ../plugin-options/general-options.php:160
1195
  msgid "Activate Thumbnail Slider."
1196
  msgstr ""
1197
 
1198
- #: ../plugin-options/general-options.php:167
1199
  msgid "Activate Responsive Slider"
1200
  msgstr ""
1201
 
1202
- #: ../plugin-options/general-options.php:168
1203
  msgid ""
1204
  "This option fits the thumbnails within the available space. Disable it if "
1205
  "you want to manage freely the thumbnails (eg. add margins, paddings, etc.)"
1206
  msgstr ""
1207
 
1208
- #: ../plugin-options/general-options.php:175
1209
  msgid "Items"
1210
  msgstr ""
1211
 
1212
- #: ../plugin-options/general-options.php:176
1213
  msgid "Number of items to show"
1214
  msgstr ""
1215
 
1216
- #: ../plugin-options/general-options.php:186
1217
  msgid "Circular carousel"
1218
  msgstr ""
1219
 
1220
- #: ../plugin-options/general-options.php:187
1221
  msgid "It defines whether the carousel should be circular."
1222
  msgstr ""
1223
 
1224
- #: ../plugin-options/general-options.php:194
1225
  msgid "Infinite carousel"
1226
  msgstr ""
1227
 
1228
- #: ../plugin-options/general-options.php:195
1229
  msgid ""
1230
  "It defines whether the carousel should be infinite. Note: It is possible to "
1231
  "create a non-circular, infinite carousel, but it is not possible to create a "
1232
  "circular, non-infinite carousel."
1233
  msgstr ""
1234
 
1235
- #: ../plugin-options/general-options.php:213
1236
  msgid "Upgrade to the PREMIUM VERSION"
1237
  msgstr ""
1238
 
1239
- #: ../plugin-options/general-options.php:217
1240
  msgid "Discover The Advanced Features"
1241
  msgstr ""
1242
 
1243
- #: ../plugin-options/general-options.php:218
1244
  msgid ""
1245
  "Upgrade to the PREMIUM VERSION of YITH WOOCOMMERCE ZOOM MAGNIFIER to benefit "
1246
  "from all features!"
1247
  msgstr ""
1248
 
1249
- #: ../plugin-options/general-options.php:222
1250
  msgid ""
1251
  "See YITH WooCommerce Zoom Magnifier plugin with full premium features in "
1252
  "action"
1253
  msgstr ""
1254
 
1255
- #: ../plugin-options/general-options.php:224
1256
  msgid "Get Support and Pro Features"
1257
  msgstr ""
1258
 
1259
- #: ../plugin-options/general-options.php:225
1260
  msgid ""
1261
  "Purchasing the premium version of the plugin, you will take advantage of the "
1262
- "advanced features of the product, and you will get one year of free updates "
1263
  "and support through our platform available 24h/24."
1264
  msgstr ""
1265
 
1266
- #: ../yit-common/yith-panel.php:406
1267
  msgid "Select a date"
1268
  msgstr ""
1269
 
1270
- #: ../yit-common/yith-panel.php:407
1271
  msgid "Hours"
1272
  msgstr ""
1273
 
1274
- #: ../yit-common/yith-panel.php:408 ../yit-common/yith-panel.php:409
1275
  msgid "Minutes"
1276
  msgstr ""
1277
 
1278
- #: ../yit-common/yith-panel.php:457
1279
  msgid "Select a font family"
1280
  msgstr ""
1281
 
1282
- #: ../yit-common/yith-panel.php:481
1283
  msgid "Click to preview"
1284
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Order Tracking\n"
4
+ "POT-Creation-Date: 2015-04-22 12:25+0100\n"
5
+ "PO-Revision-Date: 2015-04-22 12:25+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language: en\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: ..\n"
19
 
20
+ #: ../class.yith-wcmg-admin.php:91
21
  msgid "Image Size"
22
  msgstr ""
23
 
24
+ #: ../class.yith-wcmg-admin.php:92 ../plugin-options/general-options.php:17
25
  msgid "The size of the images used within the magnifier box"
26
  msgstr ""
27
 
28
+ #: ../init.php:43
29
  msgid ""
30
  "YITH WooCommerce Zoom Magnifier is enabled but not effective. It requires "
31
+ "Woocommerce in order to work."
32
  msgstr ""
33
 
34
+ #: ../init.php:52
35
+ msgid ""
36
+ "You can't activate the free version of YITH WooCommerce Zoom Magnifier while "
37
+ "you are using the premium one."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  msgstr ""
39
 
40
+ #: ../lib/class.yith-ywzm-custom-types.php:179
41
  msgid "Do you want to hard crop the image?"
42
  msgstr ""
43
 
46
  msgstr ""
47
 
48
  #: ../lib/class.yith-ywzm-plugin-fw-loader.php:127
49
+ #: ../lib/class.yith-ywzm-plugin-fw-loader.php:191
50
  msgid "Premium Version"
51
  msgstr ""
52
 
53
+ #: ../lib/class.yith-ywzm-plugin-fw-loader.php:129
54
+ msgid "Product exclusion list"
55
+ msgstr ""
56
+
57
+ #: ../lib/class.yith-ywzm-plugin-fw-loader.php:188
58
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1048
59
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1196
60
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1202
61
+ #: ../plugin-fw/lib/yit-plugin-panel.php:64
62
  msgid "Settings"
63
  msgstr ""
64
 
65
+ #: ../lib/class.yith-ywzm-plugin-fw-loader.php:216
66
  msgid "Plugin Documentation"
67
  msgstr ""
68
 
69
+ #: ../lib/class.yith-ywzm-plugin-fw-loader.php:229
70
  msgid ""
71
  "YITH WooCommerce Zoom Magnifier is available in an outstanding PREMIUM "
72
  "version with many new options, discover it now."
73
  msgstr ""
74
 
75
+ #: ../lib/class.yith-ywzm-plugin-fw-loader.php:230
76
  msgid "Premium version"
77
  msgstr ""
78
 
79
+ #: ../lib/class.yith-ywzm-plugin-fw-loader.php:237
80
+ #: ../plugin-options/general-options.php:214
81
  msgid "YITH WooCommerce Zoom Magnifier"
82
  msgstr ""
83
 
84
+ #: ../lib/class.yith-ywzm-plugin-fw-loader.php:238
85
  msgid ""
86
  "In YIT Plugins tab you can find YITH WooCommerce Zoom Magnifier options."
87
  "<br> From this menu you can access all settings of the YITH plugins "
294
  msgid "Add with multiupload"
295
  msgstr ""
296
 
297
+ #: ../plugin-fw/lib/yit-plugin-panel-wc.php:295
298
  msgid "The changes you have made will be lost if you leave this page."
299
  msgstr ""
300
 
301
+ #: ../plugin-fw/lib/yit-plugin-panel.php:63
302
  msgid "Plugin Settings"
303
  msgstr ""
304
 
305
+ #: ../plugin-fw/lib/yit-plugin-panel.php:95
306
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:101
307
  msgid "YIT Plugins"
308
  msgstr ""
309
 
310
+ #: ../plugin-fw/lib/yit-plugin-panel.php:292
311
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:142
312
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
313
  msgid "Save Changes"
314
  msgstr ""
315
 
316
+ #: ../plugin-fw/lib/yit-plugin-panel.php:295
317
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
318
  msgid ""
319
  "If you continue with this action, you will reset all options in this page."
320
  msgstr ""
321
 
322
+ #: ../plugin-fw/lib/yit-plugin-panel.php:297
323
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:147
324
+ msgid "Reset to Default"
 
325
  msgstr ""
326
 
327
+ #: ../plugin-fw/lib/yit-plugin-panel.php:297
328
  #: ../plugin-fw/lib/yit-plugin-subpanel.php:147
329
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
330
  msgid "Are you sure?"
331
  msgstr ""
332
 
333
+ #: ../plugin-fw/lib/yit-plugin-panel.php:431
334
  msgid ""
335
  "The element you have entered already exists. Please, enter another name."
336
  msgstr ""
337
 
338
+ #: ../plugin-fw/lib/yit-plugin-panel.php:432
339
  msgid "Settings saved"
340
  msgstr ""
341
 
342
+ #: ../plugin-fw/lib/yit-plugin-panel.php:433
343
  msgid "Settings reset"
344
  msgstr ""
345
 
346
+ #: ../plugin-fw/lib/yit-plugin-panel.php:434
347
  msgid "Element deleted correctly."
348
  msgstr ""
349
 
350
+ #: ../plugin-fw/lib/yit-plugin-panel.php:435
351
+ #: ../plugin-fw/lib/yit-plugin-panel.php:436
352
  msgid "Element updated correctly."
353
  msgstr ""
354
 
355
+ #: ../plugin-fw/lib/yit-plugin-panel.php:437
356
  msgid "Database imported correctly."
357
  msgstr ""
358
 
359
+ #: ../plugin-fw/lib/yit-plugin-panel.php:438
360
  msgid "An error has occurred during import. Please try again."
361
  msgstr ""
362
 
363
+ #: ../plugin-fw/lib/yit-plugin-panel.php:439
364
  msgid "The added file is not valid."
365
  msgstr ""
366
 
367
+ #: ../plugin-fw/lib/yit-plugin-panel.php:440
368
  msgid "Sorry, import is disabled."
369
  msgstr ""
370
 
371
+ #: ../plugin-fw/lib/yit-plugin-panel.php:441
372
  msgid "Sorting successful."
373
  msgstr ""
374
 
558
 
559
  #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:23
560
  msgid ""
561
+ "I cannot find the license key for activating the theme I have bought some "
562
+ "time ago. Where can I find it?"
563
+ msgstr ""
564
+
565
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:26
566
+ msgid ""
567
+ "If you have purchased one of our products before 27 January 2015, you can "
568
+ "benefit from support and updates (the services offered with the license)\n"
569
+ " until 27 January 2016 and you do not have to purchase it again "
570
+ "to get a new license key, because, before this date, your license used to be "
571
+ "activated automatically by our system.\n"
572
+ " After 27 January 2016, instead, if you want to benefit from "
573
+ "support and updates you have to buy a new license and activate it through "
574
+ "the license key you will be\n"
575
+ " provided with and that you can find in your YIThemes account, in "
576
+ "section \"My licenses\"."
577
+ msgstr ""
578
+
579
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:37
580
+ msgid ""
581
  "Have you updated your licenses? Have you asked for an extension? Update "
582
  "information concerning your products."
583
  msgstr ""
584
 
585
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:39
586
  msgid "Update licence information"
587
  msgstr ""
588
 
589
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:49
590
  msgid "Products to be activated"
591
  msgstr ""
592
 
593
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:68
594
  msgid "Activate"
595
  msgstr ""
596
 
597
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:87
598
  msgid "Activated"
599
  msgstr ""
600
 
601
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:91
602
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:123
603
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:147
604
  msgid "Product Name"
605
  msgstr ""
606
 
607
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:92
608
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:124
609
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:148
610
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:148
611
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:340
612
  msgid "Email"
613
  msgstr ""
614
 
615
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:93
616
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:125
617
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:149
618
  msgid "Licence Key"
619
  msgstr ""
620
 
621
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:94
622
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:150
623
  msgid "Expires"
624
  msgstr ""
625
 
626
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:95
627
  msgid "Remaining"
628
  msgstr ""
629
 
630
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:96
631
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:109
632
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:151
633
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:161
634
  msgid "Renew"
635
  msgstr ""
636
 
637
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:107
638
  #, php-format
639
  msgid "%1s out of %2s"
640
  msgstr ""
641
 
642
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:119
643
  msgid "Banned"
644
  msgstr ""
645
 
646
+ #: ../plugin-fw/licence/templates/panel/activation/activation-panel.php:143
647
  msgid "Expired"
648
  msgstr ""
649
 
659
  msgid "+ Add New Category"
660
  msgstr ""
661
 
662
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:7
663
  msgid "Text Input"
664
  msgstr ""
665
 
666
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:8
667
  msgid "Checkbox"
668
  msgstr ""
669
 
670
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:9
671
  msgid "Select"
672
  msgstr ""
673
 
674
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:10
675
  msgid "Textarea"
676
  msgstr ""
677
 
678
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:11
679
  msgid "Radio Input"
680
  msgstr ""
681
 
682
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:12
683
  msgid "Password Field"
684
  msgstr ""
685
 
686
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:13
687
  msgid "File Upload"
688
  msgstr ""
689
 
690
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:47
691
  msgid "Theme Icon"
692
  msgstr ""
693
 
694
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:48
695
  msgid "Custom Icon"
696
  msgstr ""
697
 
698
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:49
699
  #: ../plugin-fw/templates/metaboxes/types/responsivesliders.php:24
700
  msgid "None"
701
  msgstr ""
702
 
703
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:60
704
  msgid "Add field"
705
  msgstr ""
706
 
707
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:69
708
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:261
709
  #: ../plugin-fw/templates/metaboxes/types/customtabs.php:37
710
  #: ../plugin-fw/templates/metaboxes/types/customtabs.php:82
711
  msgid "Remove"
712
  msgstr ""
713
 
714
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:70
715
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:262
716
  msgid "Click to toggle"
717
  msgstr ""
718
 
719
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:77
720
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:269
721
  msgid "Title Field"
722
  msgstr ""
723
 
724
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:81
725
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:273
726
  msgid "Insert the title for the field."
727
  msgstr ""
728
 
729
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:86
730
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:278
731
  msgid "Data Name"
732
  msgstr ""
733
 
734
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:90
735
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:282
736
  msgid ""
737
  "REQUIRED: Field identification name to be entered into email body. "
738
  "<strong>Note:</strong>Use only lowercase characters and underscores."
739
  msgstr ""
740
 
741
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:95
742
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:287
743
  msgid "Type field"
744
  msgstr ""
745
 
746
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:103
747
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:295
748
  msgid "Select the type for this field."
749
  msgstr ""
750
 
751
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:108
752
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:300
753
  msgid "Checked"
754
  msgstr ""
755
 
756
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:112
757
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:304
758
  msgid "Select this option if you want this field appears as already checked."
759
  msgstr ""
760
 
761
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:117
762
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:309
763
  msgid "Add options "
764
  msgstr ""
765
 
 
 
 
 
 
766
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:118
767
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:310
768
+ msgid "Add option"
 
769
  msgstr ""
770
 
771
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:121
772
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:313
773
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:436
774
+ msgid "Selected"
775
+ msgstr ""
776
+
777
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:124
778
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:316
779
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:436
780
  msgid "Delete option"
781
  msgstr ""
782
 
783
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:130
784
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:322
785
  msgid "Error Message"
786
  msgstr ""
787
 
788
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:134
789
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:326
790
  msgid "Insert the error message for validation."
791
  msgstr ""
792
 
793
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:139
794
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:331
795
  msgid "Required"
796
  msgstr ""
797
 
798
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:143
799
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:335
800
  msgid "Select this option if it must be required."
801
  msgstr ""
802
 
803
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:152
804
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:344
805
  msgid "Select this option if the email must be valid."
806
  msgstr ""
807
 
808
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:157
809
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:349
810
  msgid "Reply To"
811
  msgstr ""
812
 
813
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:161
814
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:353
815
  msgid "Select this if it is the email you can reply to."
816
  msgstr ""
817
 
818
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:166
819
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:358
820
  msgid "Class"
821
  msgstr ""
822
 
823
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:170
824
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:362
825
  msgid ""
826
  "Insert additional class(es) (separated by commas) for more personalization."
827
  msgstr ""
828
 
829
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:175
830
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:367
831
  msgid "Icon"
832
  msgstr ""
833
 
834
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:203
835
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:391
836
  #: ../plugin-fw/templates/metaboxes/types/icon-list.php:69
837
  #: ../plugin-fw/templates/metaboxes/types/select-icon.php:33
838
  #: ../plugin-fw/templates/metaboxes/types/upload.php:21
839
  #: ../plugin-fw/templates/panel/types/upload.php:31
840
  #: ../plugin-fw/templates/panel/woocommerce/woocommerce-upload.php:35
841
+ #: ../yit-common/yith-panel.php:435
842
  msgid "Upload"
843
  msgstr ""
844
 
845
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:209
846
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:397
847
  #: ../plugin-fw/templates/metaboxes/types/icon-list.php:75
848
  #: ../plugin-fw/templates/metaboxes/types/select-icon.php:39
849
  msgid "Image preview"
850
  msgstr ""
851
 
852
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:217
853
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:405
854
  msgid "Insert an icon for more personalization."
855
  msgstr ""
856
 
857
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:222
858
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:409
859
  msgid "Width"
860
  msgstr ""
861
 
862
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:247
863
+ #: ../plugin-fw/templates/metaboxes/types/contactform.php:421
864
  msgid "Set field length."
865
  msgstr ""
866
 
900
  msgid "(Default: <i %s></i> )"
901
  msgstr ""
902
 
 
903
  #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:40
904
+ #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:45
905
+ #: ../plugin-fw/templates/metaboxes/types/images.php:38
906
+ #: ../plugin-fw/templates/metaboxes/types/images.php:64
907
  msgid "Delete image"
908
  msgstr ""
909
 
910
+ #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:45
911
  msgid "Add Images to Gallery"
912
  msgstr ""
913
 
914
+ #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:45
915
  msgid "Add to gallery"
916
  msgstr ""
917
 
918
+ #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:45
919
  msgid "Add images"
920
  msgstr ""
921
 
922
+ #: ../plugin-fw/templates/metaboxes/types/image-gallery.php:45
923
  msgid "Delete"
924
  msgstr ""
925
 
926
+ #: ../plugin-fw/templates/metaboxes/types/images.php:42
927
  msgid "Upload new images"
928
  msgstr ""
929
 
930
+ #: ../plugin-fw/templates/metaboxes/types/images.php:75
931
  msgid "Are you sure you want to remove this image?"
932
  msgstr ""
933
 
962
  msgstr ""
963
 
964
  #: ../plugin-fw/templates/metaboxes/types/typography.php:42
965
+ #: ../yit-common/yith-panel.php:472
966
  msgid "px"
967
  msgstr ""
968
 
969
  #: ../plugin-fw/templates/metaboxes/types/typography.php:43
970
+ #: ../yit-common/yith-panel.php:474
971
  msgid "em"
972
  msgstr ""
973
 
974
  #: ../plugin-fw/templates/metaboxes/types/typography.php:44
975
+ #: ../yit-common/yith-panel.php:476
976
  msgid "pt"
977
  msgstr ""
978
 
979
  #: ../plugin-fw/templates/metaboxes/types/typography.php:45
980
+ #: ../yit-common/yith-panel.php:478
981
  msgid "rem"
982
  msgstr ""
983
 
992
  msgstr ""
993
 
994
  #: ../plugin-fw/templates/metaboxes/types/typography.php:96
995
+ #: ../yit-common/yith-panel.php:500
996
  msgid "Regular"
997
  msgstr ""
998
 
999
  #: ../plugin-fw/templates/metaboxes/types/typography.php:97
1000
+ #: ../yit-common/yith-panel.php:502
1001
  msgid "Bold"
1002
  msgstr ""
1003
 
1004
  #: ../plugin-fw/templates/metaboxes/types/typography.php:98
1005
+ #: ../yit-common/yith-panel.php:504
1006
  msgid "Extra bold"
1007
  msgstr ""
1008
 
1009
  #: ../plugin-fw/templates/metaboxes/types/typography.php:99
1010
+ #: ../yit-common/yith-panel.php:506
1011
  msgid "Italic"
1012
  msgstr ""
1013
 
1014
  #: ../plugin-fw/templates/metaboxes/types/typography.php:100
1015
+ #: ../yit-common/yith-panel.php:508
1016
  msgid "Italic bold"
1017
  msgstr ""
1018
 
1019
+ #: ../plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
1020
+ msgid "Reset Defaults"
1021
+ msgstr ""
1022
+
1023
  #: ../plugin-options/general-options.php:16
1024
  msgid "Image size"
1025
  msgstr ""
1037
  msgstr ""
1038
 
1039
  #: ../plugin-options/general-options.php:50
1040
+ msgid "Activate the plugin on mobile device"
 
 
 
 
 
 
1041
  msgstr ""
1042
 
1043
+ #: ../plugin-options/general-options.php:57
1044
  msgid "Forced Image Size"
1045
  msgstr ""
1046
 
1047
+ #: ../plugin-options/general-options.php:58
1048
  msgid ""
1049
  "If disabled, you will able to customize the sizes of the zoomed images. "
1050
  "Disable it at your own risk; the magnifier could not properly work with "
1051
  "images out of proportion."
1052
  msgstr ""
1053
 
1054
+ #: ../plugin-options/general-options.php:72
1055
  msgid "Magnifier Settings"
1056
  msgstr ""
1057
 
1058
+ #: ../plugin-options/general-options.php:78
1059
  msgid "Zoom Box Width"
1060
  msgstr ""
1061
 
1062
+ #: ../plugin-options/general-options.php:79
1063
  msgid "The width of the magnifier box (default: auto)"
1064
  msgstr ""
1065
 
1066
+ #: ../plugin-options/general-options.php:86
1067
  msgid "Zoom Box Height"
1068
  msgstr ""
1069
 
1070
+ #: ../plugin-options/general-options.php:87
1071
  msgid "The height of the magnifier box (default: auto)"
1072
  msgstr ""
1073
 
1074
+ #: ../plugin-options/general-options.php:95
1075
  msgid "Zoom Box Position"
1076
  msgstr ""
1077
 
1078
+ #: ../plugin-options/general-options.php:96
1079
  msgid "The magnifier position"
1080
  msgstr ""
1081
 
1082
+ #: ../plugin-options/general-options.php:102
1083
+ msgid "Right"
1084
+ msgstr ""
1085
+
1086
+ #: ../plugin-options/general-options.php:103
1087
+ #: ../plugin-options/general-options.php:115
1088
+ msgid "Inside"
1089
+ msgstr ""
1090
+
1091
+ #: ../plugin-options/general-options.php:107
1092
  msgid "Zoom Box Position for mobile devices"
1093
  msgstr ""
1094
 
1095
+ #: ../plugin-options/general-options.php:108
1096
  msgid "The magnifier position for the mobile devices (iPhone, Android, etc.)"
1097
  msgstr ""
1098
 
1099
+ #: ../plugin-options/general-options.php:114
1100
  msgid "Default"
1101
  msgstr ""
1102
 
1103
+ #: ../plugin-options/general-options.php:116
1104
  msgid "Disable"
1105
  msgstr ""
1106
 
1107
+ #: ../plugin-options/general-options.php:120
1108
  msgid "Loading label"
1109
  msgstr ""
1110
 
1111
+ #: ../plugin-options/general-options.php:123
1112
+ #: ../plugin-options/general-options.php:124
1113
  msgid "Loading..."
1114
  msgstr ""
1115
 
1116
+ #: ../plugin-options/general-options.php:128
1117
  msgid "Lens Opacity"
1118
  msgstr ""
1119
 
1120
+ #: ../plugin-options/general-options.php:139
1121
  msgid "Blur"
1122
  msgstr ""
1123
 
1124
+ #: ../plugin-options/general-options.php:140
1125
  msgid "Add a blur effect to the small image on mouse hover."
1126
  msgstr ""
1127
 
1128
+ #: ../plugin-options/general-options.php:151
1129
  msgid "Slider Settings"
1130
  msgstr ""
1131
 
1132
+ #: ../plugin-options/general-options.php:157
1133
  msgid "Activate Slider"
1134
  msgstr ""
1135
 
1136
+ #: ../plugin-options/general-options.php:158
1137
  msgid "Activate Thumbnail Slider."
1138
  msgstr ""
1139
 
1140
+ #: ../plugin-options/general-options.php:165
1141
  msgid "Activate Responsive Slider"
1142
  msgstr ""
1143
 
1144
+ #: ../plugin-options/general-options.php:166
1145
  msgid ""
1146
  "This option fits the thumbnails within the available space. Disable it if "
1147
  "you want to manage freely the thumbnails (eg. add margins, paddings, etc.)"
1148
  msgstr ""
1149
 
1150
+ #: ../plugin-options/general-options.php:173
1151
  msgid "Items"
1152
  msgstr ""
1153
 
1154
+ #: ../plugin-options/general-options.php:174
1155
  msgid "Number of items to show"
1156
  msgstr ""
1157
 
1158
+ #: ../plugin-options/general-options.php:184
1159
  msgid "Circular carousel"
1160
  msgstr ""
1161
 
1162
+ #: ../plugin-options/general-options.php:185
1163
  msgid "It defines whether the carousel should be circular."
1164
  msgstr ""
1165
 
1166
+ #: ../plugin-options/general-options.php:192
1167
  msgid "Infinite carousel"
1168
  msgstr ""
1169
 
1170
+ #: ../plugin-options/general-options.php:193
1171
  msgid ""
1172
  "It defines whether the carousel should be infinite. Note: It is possible to "
1173
  "create a non-circular, infinite carousel, but it is not possible to create a "
1174
  "circular, non-infinite carousel."
1175
  msgstr ""
1176
 
1177
+ #: ../plugin-options/general-options.php:211
1178
  msgid "Upgrade to the PREMIUM VERSION"
1179
  msgstr ""
1180
 
1181
+ #: ../plugin-options/general-options.php:215
1182
  msgid "Discover The Advanced Features"
1183
  msgstr ""
1184
 
1185
+ #: ../plugin-options/general-options.php:216
1186
  msgid ""
1187
  "Upgrade to the PREMIUM VERSION of YITH WOOCOMMERCE ZOOM MAGNIFIER to benefit "
1188
  "from all features!"
1189
  msgstr ""
1190
 
1191
+ #: ../plugin-options/general-options.php:220
1192
  msgid ""
1193
  "See YITH WooCommerce Zoom Magnifier plugin with full premium features in "
1194
  "action"
1195
  msgstr ""
1196
 
1197
+ #: ../plugin-options/general-options.php:222
1198
  msgid "Get Support and Pro Features"
1199
  msgstr ""
1200
 
1201
+ #: ../plugin-options/general-options.php:223
1202
  msgid ""
1203
  "Purchasing the premium version of the plugin, you will take advantage of the "
1204
+ "advanced features of the product and you will get one year of free updates "
1205
  "and support through our platform available 24h/24."
1206
  msgstr ""
1207
 
1208
+ #: ../yit-common/yith-panel.php:424
1209
  msgid "Select a date"
1210
  msgstr ""
1211
 
1212
+ #: ../yit-common/yith-panel.php:425
1213
  msgid "Hours"
1214
  msgstr ""
1215
 
1216
+ #: ../yit-common/yith-panel.php:426 ../yit-common/yith-panel.php:427
1217
  msgid "Minutes"
1218
  msgstr ""
1219
 
1220
+ #: ../yit-common/yith-panel.php:490
1221
  msgid "Select a font family"
1222
  msgstr ""
1223
 
1224
+ #: ../yit-common/yith-panel.php:524
1225
  msgid "Click to preview"
1226
  msgstr ""
plugin-fw/lib/yit-upgrade.php CHANGED
@@ -129,7 +129,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
129
 
130
  $update_url[ $init ] = wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin-multisite&plugin=') . $init, 'upgrade-plugin-multisite_' . $init );
131
  $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
132
- $details_url[ $init ] = '#TB_inline' . add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' );
133
  $changelogs[ $init ] = $this->in_theme_update_message( $this->_plugins[ $init ], $this->_plugins[ $init ]['info']['changelog'], $changelog_id, false );
134
  }
135
 
@@ -400,7 +400,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
400
  $r = $current->response[ $init ];
401
 
402
  $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
403
- $details_url = '#TB_inline' . add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' );
404
 
405
  /**
406
  * @see wp_plugin_update_rows() in wp-single\wp-admin\includes\update.php
129
 
130
  $update_url[ $init ] = wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin-multisite&plugin=') . $init, 'upgrade-plugin-multisite_' . $init );
131
  $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
132
+ $details_url[ $init ] = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' ) );
133
  $changelogs[ $init ] = $this->in_theme_update_message( $this->_plugins[ $init ], $this->_plugins[ $init ]['info']['changelog'], $changelog_id, false );
134
  }
135
 
400
  $r = $current->response[ $init ];
401
 
402
  $changelog_id = str_replace( array( '/', '.php', '.' ), array( '-', '', '-' ), $init );
403
+ $details_url = '#TB_inline' . esc_url( add_query_arg( array( 'width' => 722, 'height' => 914, 'inlineId' => $changelog_id ) , '' ) );
404
 
405
  /**
406
  * @see wp_plugin_update_rows() in wp-single\wp-admin\includes\update.php
plugin-fw/licence/lib/yit-licence.php CHANGED
@@ -184,7 +184,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
184
  'instance' => $this->get_home_url()
185
  );
186
 
187
- $api_uri = add_query_arg( $args, $this->get_api_uri( 'activation' ) );
188
  $response = wp_remote_get( $api_uri );
189
 
190
  if ( is_wp_error( $response ) ) {
@@ -252,7 +252,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
252
  'instance' => $this->get_home_url()
253
  );
254
 
255
- $api_uri = add_query_arg( $args, $this->get_api_uri( 'check' ) );
256
  $response = wp_remote_get( $api_uri );
257
 
258
  if ( ! is_wp_error( $response ) ) {
@@ -505,7 +505,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
505
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
506
  */
507
  public function get_licence_activation_page_url() {
508
- return add_query_arg( array( 'page' => $this->_settings['page'] ), admin_url( 'admin.php' ) );
509
  }
510
 
511
 
184
  'instance' => $this->get_home_url()
185
  );
186
 
187
+ $api_uri = esc_url_raw( add_query_arg( $args, $this->get_api_uri( 'activation' ) ) );
188
  $response = wp_remote_get( $api_uri );
189
 
190
  if ( is_wp_error( $response ) ) {
252
  'instance' => $this->get_home_url()
253
  );
254
 
255
+ $api_uri = esc_url_raw( add_query_arg( $args, $this->get_api_uri( 'check' ) ) );
256
  $response = wp_remote_get( $api_uri );
257
 
258
  if ( ! is_wp_error( $response ) ) {
505
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
506
  */
507
  public function get_licence_activation_page_url() {
508
+ return esc_url( add_query_arg( array( 'page' => $this->_settings['page'] ), admin_url( 'admin.php' ) ) );
509
  }
510
 
511
 
plugin-fw/templates/metaboxes/tab.php CHANGED
@@ -56,7 +56,16 @@ do_action( 'yit_before_metaboxes_tab' ) ?>
56
  $field['value'] = $value != '' ? $value : ( isset( $field['std'] ) ? $field['std'] : '' );
57
  ?>
58
  <div class="the-metabox <?php echo $field['type'] ?> clearfix<?php if ( empty( $field['label'] ) ) : ?> no-label<?php endif; ?>">
59
- <?php yit_plugin_get_template( YIT_CORE_PLUGIN_PATH, '/metaboxes/types/' . $field['type'] . '.php', array( 'args' => $field ) ) ?>
 
 
 
 
 
 
 
 
 
60
  </div>
61
  <?php endforeach ?>
62
  </div>
56
  $field['value'] = $value != '' ? $value : ( isset( $field['std'] ) ? $field['std'] : '' );
57
  ?>
58
  <div class="the-metabox <?php echo $field['type'] ?> clearfix<?php if ( empty( $field['label'] ) ) : ?> no-label<?php endif; ?>">
59
+ <?php $args = apply_filters('yit_fw_metaboxes_type_args', array(
60
+ 'basename' => YIT_CORE_PLUGIN_PATH,
61
+ 'path' => '/metaboxes/types/',
62
+ 'type' => $field['type'],
63
+ 'args' => array('args' => $field)
64
+ )
65
+ );
66
+ extract( $args );
67
+ ?>
68
+ <?php yit_plugin_get_template( $basename, $path . $type . '.php' , $args ) ?>
69
  </div>
70
  <?php endforeach ?>
71
  </div>
plugin-fw/templates/metaboxes/types/contactform.php CHANGED
@@ -1,4 +1,6 @@
1
  <?php
 
 
2
  extract( $args );
3
 
4
  $types = array(
@@ -51,7 +53,8 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
51
 
52
  /* End select Font Awesome */
53
  ?>
54
-
 
55
 
56
  <p class="field-row">
57
  <a href="" class="button-secondary add-items"><?php _e( 'Add field', 'yit' ) ?></a>
@@ -420,6 +423,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
420
  </div>
421
  </div>
422
  </div>
 
423
 
424
  <script>
425
 
1
  <?php
2
+
3
+
4
  extract( $args );
5
 
6
  $types = array(
53
 
54
  /* End select Font Awesome */
55
  ?>
56
+ <div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?>>
57
+ <label for="<?php echo $id ?>"><?php echo $label ?></label>
58
 
59
  <p class="field-row">
60
  <a href="" class="button-secondary add-items"><?php _e( 'Add field', 'yit' ) ?></a>
423
  </div>
424
  </div>
425
  </div>
426
+ </div>
427
 
428
  <script>
429
 
plugin-fw/templates/metaboxes/types/onoff.php CHANGED
@@ -14,6 +14,10 @@ if ( ! defined( 'ABSPATH' ) ) {
14
 
15
  extract( $args );
16
 
 
 
 
 
17
  ?>
18
  <div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?> class="rm_onoff onoff_container">
19
 
14
 
15
  extract( $args );
16
 
17
+ if ( !isset( $desc ) ) {
18
+ $desc='';
19
+ }
20
+
21
  ?>
22
  <div id="<?php echo $id ?>-container" <?php if ( isset($deps) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $deps['ids'] ?>" data-value="<?php echo $deps['values'] ?>" <?php endif ?> class="rm_onoff onoff_container">
23
 
plugin-fw/yit-deactive-plugin.php CHANGED
@@ -26,7 +26,7 @@ if ( ! function_exists( 'yit_deactive_free_version' ) ) {
26
 
27
  global $status, $page, $s;
28
  $redirect = 'plugins.php?action=activate&plugin=' . $to_active . '&plugin_status=' . $status . '&paged=' . $page . '&s=' . $s;
29
- $redirect = add_query_arg( '_wpnonce', wp_create_nonce( 'activate-plugin_' . $to_active ), $redirect );
30
 
31
  header( 'Location: ' . $redirect );
32
  exit();
26
 
27
  global $status, $page, $s;
28
  $redirect = 'plugins.php?action=activate&plugin=' . $to_active . '&plugin_status=' . $status . '&paged=' . $page . '&s=' . $s;
29
+ $redirect = esc_url_raw( add_query_arg( '_wpnonce', wp_create_nonce( 'activate-plugin_' . $to_active ), $redirect ) );
30
 
31
  header( 'Location: ' . $redirect );
32
  exit();
plugin-fw/yit-functions.php CHANGED
@@ -65,7 +65,9 @@ if ( ! function_exists( 'yit_plugin_get_template' ) ) {
65
  }
66
 
67
  // include file located
68
- include( $located );
 
 
69
 
70
  if ( $return ) {
71
  return ob_get_clean();
65
  }
66
 
67
  // include file located
68
+ if( file_exists( $located ) ){
69
+ include( $located );
70
+ }
71
 
72
  if ( $return ) {
73
  return ob_get_clean();
yit-common/yith-panel.php CHANGED
@@ -6,509 +6,555 @@
6
  * @version 0.1.0
7
  */
8
 
9
- if( !class_exists('YITH_Panel') ) {
10
- /*
11
- * The class manages the theme options for the Plugin
12
- */
13
- class YITH_Panel {
14
-
15
- /**
16
- * Class version
17
- *
18
- * @var string
19
- */
20
- public $version = '0.1.0';
21
-
22
- /**
23
- * Parameters for add_submenu_page
24
- *
25
- * add_submenu_page(
26
- * 'themes.php', // The file name of a standard WordPress admin page
27
- * 'Theme Options', // The text to be displayed in the title tags of the page when the menu is selected
28
- * 'Theme Options', // The text to be used for the menu
29
- * 'administrator', // The capability (or role) required for this menu to be displayed to the user.
30
- * 'theme-options', // The slug name to refer to this menu by (should be unique for this menu).
31
- * 'theme_options_display_page' // The function to be called to output the content for this page.
32
- * );
33
- *
34
- * @access protected
35
- */
36
- protected $_submenu = array();
37
-
38
- /**
39
- * Initial Options definition:
40
- * 'tab' => array(
41
- * 'label',
42
- * 'sections' => array(
43
- * 'fields' => array(
44
- * 'option1',
45
- * 'option2',
46
- * ...
47
- * )
48
- * )
49
- * )
50
- *
51
- * @var array
52
- * @access public
53
- */
54
- public $options = array();
55
-
56
- /**
57
- * Options group name
58
- *
59
- * @var string
60
- * @access public
61
- */
62
- public $option_group = 'panel_group';
63
-
64
- /**
65
- * Option name
66
- *
67
- * @var string
68
- * @access public
69
- */
70
- public $option_name = 'panel_options';
71
-
72
- /**
73
- * Banner links
74
- *
75
- * @var string
76
- * @access public
77
- */
78
- public $banner_url = 'http://yithemes.com/?ap_id=plugin';
79
- public $banner_img = '';
80
-
81
- /**
82
- * Constructor
83
- *
84
- * @param array $submenu Parameters for add_submenu_page
85
- * @param array $options Array of plugin options
86
- *
87
- */
88
- public function __construct( $submenu, $options, $banner = array(), $option_group = false, $option_name = false ) {
89
- $this->_submenu = apply_filters('yith_panel_submenu', $submenu);
90
- $this->options = apply_filters('yith_panel_options', $options);
91
-
92
- if( !empty($banner) ) {
93
- $this->banner_url = $banner['url'];
94
- $this->banner_img = $banner['img'];
95
- }
96
-
97
- if( $option_group ) {
98
- $this->option_group = $option_group;
99
- }
100
-
101
- if( $option_name ) {
102
- $this->option_name = $option_name;
103
- }
104
-
105
- //add new menu item
106
- //register new settings option group
107
- //include js and css files
108
- //print browser
109
- add_action( 'admin_menu', array( $this, 'add_submenu_page') );
110
- add_action( 'admin_init', array( $this, 'panel_register_setting') );
111
- add_action( 'admin_enqueue_scripts', array( $this, 'panel_enqueue') );
112
-
113
- // add the typography javascript vars
114
- add_action( 'yith_panel_after_panel', array( $this, 'js_typo_vars' ) );
115
- }
116
-
117
- /**
118
- * Create new submenu page
119
- *
120
- * @return void
121
- * @access public
122
- * @link http://codex.wordpress.org/Function_Reference/add_submenu_page
123
- */
124
- public function add_submenu_page() {
125
- $submenu = $this->_submenu;
126
- add_submenu_page(
127
- $submenu[0],
128
- $submenu[1],
129
- $submenu[2],
130
- $submenu[3],
131
- $submenu[4],
132
- array( $this, isset($submenu[5]) ? $submenu[5] : 'display_panel_page' )
133
- );
134
- }
135
-
136
- /**
137
- * Print the Panel page
138
- *
139
- * @return void
140
- * @access public
141
- */
142
- public function display_panel_page() {
143
- // Create a header in the default WordPress 'wrap' container
144
- $page = $this->_get_tab();
145
- ?>
146
- <div id="icon-themes" class="icon32"><br /></div>
147
- <h2 class="nav-tab-wrapper">
148
- <?php foreach( $this->options as $k=>$tab ): ?>
149
- <a class="nav-tab<?php if( $page == $k ): ?> nav-tab-active<?php endif ?>" href="<?php echo add_query_arg('panel_page', $k) ?>"><?php echo $tab['label'] ?></a>
150
- <?php endforeach ?>
151
- <?php do_action('yith_panel_after_tabs'); ?>
152
- </h2>
153
-
154
- <div class="wrap">
155
- <?php $this->printBanner() ?>
156
- <?php do_action('yith_panel_before_panel'); ?>
157
- <form action="options.php" method="post">
158
-
159
- <?php do_settings_sections( $this->option_name ); ?>
160
- <?php settings_fields( $this->option_group ) ?>
161
-
162
- <p class="submit">
163
- <input type="hidden" name="panel_page" value="<?php echo $page ?>" />
164
- <input class="button-primary" type="submit" name="save_options" value="Save Options" />
165
- </p>
166
- </form>
167
- <?php do_action('yith_panel_after_panel'); ?>
168
- </div>
169
- <?php
170
- }
171
-
172
- /**
173
- * Add the vars for the typography options
174
- */
175
- public function js_typo_vars() {
176
- global $yith_panel_if_typography;
177
- if ( ! isset( $yith_panel_if_typography ) || ! $yith_panel_if_typography ) return;
178
-
179
- $web_fonts = array(
180
- "Arial",
181
- "Arial Black",
182
- "Comic Sans MS",
183
- "Courier New",
184
- "Georgia",
185
- "Impact",
186
- "Lucida Console",
187
- "Lucida Sans Unicode",
188
- "Thaoma",
189
- "Trebuchet MS",
190
- "Verdana"
191
- );
192
-
193
- // http://niubbys.altervista.org/google_fonts.php
194
- $google_fonts = file_get_contents( dirname(__FILE__) . '/assets/js/google_fonts.json' );
195
- ?>
196
- <script type="text/javascript">
197
- var yit_google_fonts = '<?php echo $google_fonts ?>',
198
- yit_web_fonts = '{"items":<?php echo json_encode( $web_fonts ) ?>}',
199
- yit_family_string = '';
200
- </script>
201
- <?php
202
- }
203
-
204
- /**
205
- * Register a new settings option group
206
- *
207
- * @return void
208
- * @access public
209
- * @link http://codex.wordpress.org/Function_Reference/register_setting
210
- * @link http://codex.wordpress.org/Function_Reference/add_settings_section
211
- * @link http://codex.wordpress.org/Function_Reference/add_settings_field
212
- */
213
- public function panel_register_setting() {
214
- $page = $this->_get_tab();
215
- $tab = isset( $this->options[$page] ) ? $this->options[$page] : array();
216
-
217
- if( !empty($tab['sections']) ) {
218
- //add sections and fields
219
- foreach( $tab['sections'] as $section_name => $section) {
220
- //add the section
221
- add_settings_section(
222
- $section_name,
223
- $section['title'],
224
- array( $this, 'panel_section_content'),
225
- $this->option_name
226
- );
227
-
228
- //add the fields
229
- foreach( $section['fields'] as $option_name => $option ) {
230
- $option['id'] = $option_name;
231
- $option['label_for'] = $option_name;
232
-
233
- //register settings group
234
- register_setting(
235
- $this->option_group,
236
- $option_name,
237
- array( $this, 'panel_sanitize')
238
- );
239
-
240
- add_settings_field(
241
- $option_name,
242
- $option['title'],
243
- array( $this, 'panel_field_content' ),
244
- $this->option_name,
245
- $section_name,
246
- $option
247
- );
248
- }
249
- }
250
- }
251
- }
252
-
253
- /**
254
- * Display sections content
255
- *
256
- * @return void
257
- * @access public
258
- */
259
- public function panel_section_content( $section ) {
260
- $page = $this->_get_tab();
261
- if( isset( $this->options[$page]['sections'][ $section['id'] ]['description'] )) {
262
- echo "<p class='section-description'>" . $this->options[$page]['sections'][ $section['id'] ]['description'] . "</p>";
263
- }
264
- }
265
-
266
- /**
267
- * Sanitize the option's value
268
- *
269
- * @param array $input
270
- * @return array
271
- * @access public
272
- */
273
- public function panel_sanitize( $input ) {
274
- return apply_filters('yith_panel_sanitize', $input);
275
- }
276
-
277
- /**
278
- * Get the active tab. If the page isn't provided, the function
279
- * will return the first tab name
280
- *
281
- * @return string
282
- * @access protected
283
- */
284
- public function _get_tab() {
285
- if( isset($_POST['panel_page']) && $_POST['panel_page'] != '' ) {
286
- return $_POST['panel_page'];
287
- } elseif( isset($_GET['panel_page']) && $_GET['panel_page'] != '' ) {
288
- return $_GET['panel_page'];
289
- } else {
290
- $tabs = array_keys( $this->options );
291
- return $tabs[0];
292
- }
293
- }
294
-
295
- /**
296
- * Enqueue scripts and styles
297
- *
298
- * @return void
299
- * @access public
300
- */
301
- public function panel_enqueue( $hook ) {
302
- global $pagenow;
303
-
304
- if( $pagenow == $this->_submenu[0] && isset( $_GET['page'] ) && $_GET['page'] == $this->_submenu[4] ) {
305
- wp_enqueue_style( 'wp-color-picker' );
306
- wp_enqueue_style( 'jquery-ui', 'http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css' );
307
- wp_enqueue_script( 'jquery-ui-datepicker' );
308
-
309
- wp_enqueue_style( 'yith-panel-css', plugin_dir_url( __FILE__ ) . 'assets/css/yith-panel.css', array('wp-color-picker'), $this->version );
310
- wp_enqueue_script( 'yith-panel-js', plugin_dir_url( __FILE__ ) . 'assets/js/yith-panel.js', array( 'jquery', 'wp-color-picker' ), $this->version, true );
311
-
312
- wp_enqueue_media();
313
-
314
- do_action( 'yith_panel_enqueue' );
315
- }
316
- }
317
-
318
-
319
- /**
320
- * Display field content
321
- *
322
- * @return void
323
- * @access public
324
- */
325
- public function panel_field_content( $field ) {
326
- $value = get_option( $field['id'], isset($field['std']) ? $field['std'] : '' );
327
- $id = $field['id'];
328
- $name = $field['id'];
329
-
330
- $echo = '';
331
-
332
- switch( $field['type'] ) {
333
- case 'text':
334
- $echo = "<input type='text' id='{$id}' name='{$name}' value='{$value}' class='regular-text code' />";
335
-
336
- if( isset($field['description']) && $field['description'] != '' ) {
337
- $echo .= "<p class='description'>{$field['description']}</p>";
338
- }
339
- break;
340
-
341
- case 'textarea': $echo = "<textarea name='{$name}' id='{$id}' class='large-text code' rows='10' cols='50'>{$value}</textarea>";
342
- if( isset($field['description']) && $field['description'] != '' ) {
343
- $echo .= "<p class='description'>{$field['description']}</p>";
344
- }
345
- break;
346
-
347
- case 'checkbox': $echo = "<input type='checkbox' id='{$id}' name='{$name}' value='1' ". checked($value, true, false) ." />";
348
- if( isset($field['description']) && $field['description'] != '' ) {
349
- $echo .= " <label for='{$id}'><span class='description'>{$field['description']}</span></label>";
350
- }
351
- break;
352
-
353
- case 'select': $echo = "<select name='{$name}' id='{$id}'>";
354
- foreach( $field['options'] as $v=>$label ) {
355
- $echo .= "<option value='{$v}'". selected($value, $v, false) .">{$label}</option>";
356
- }
357
- $echo .= "</select>";
358
- if( isset($field['description']) && $field['description'] != '' ) {
359
- $echo .= "<p class='description'>{$field['description']}</p>";
360
- }
361
- break;
362
-
363
- case 'skin': $echo = "<select name='{$name}' id='{$id}' class='skin' data-path='{$field['path']}'>";
364
- foreach( $field['options'] as $v=>$label ) {
365
- $echo .= "<option value='{$v}'". selected($value, $v, false) .">{$label}</option>";
366
- }
367
- $echo .= "</select>";
368
- if( isset($field['description']) && $field['description'] != '' ) {
369
- $echo .= "<p class='description'>{$field['description']}</p><div class='skin-preview'></div>";
370
- }
371
- break;
372
-
373
- case 'number':
374
- $mms = '';
375
- if( isset( $field['min'] ) ) {
376
- $mms .= " min='{$field['min']}'";
377
- }
378
-
379
- if( isset( $field['max'] ) ) {
380
- $mms .= " max='{$field['max']}'";
381
- }
382
-
383
- if( isset( $field['step'] ) ) {
384
- $mms .= " step='{$field['step']}'";
385
- }
386
-
387
- $echo = "<input type='number' id='{$id}' name='{$name}' value='{$value}' class='small-text' {$mms} />";
388
- if( isset($field['description']) && $field['description'] != '' ) {
389
- $echo .= "<p class='description'>{$field['description']}</p>";
390
- }
391
- break;
392
-
393
- case 'colorpicker':
394
- $std = isset( $field['std'] ) ? $field['std'] : '';
395
-
396
- $echo = "<input type='text' id='{$id}' name='{$name}' value='{$value}' class='medium-text code panel-colorpicker' data-default-color='{$std}' />";
397
- if( isset($field['description']) && $field['description'] != '' ) {
398
- $echo .= "<p class='description'>{$field['description']}</p>";
399
- }
400
- break;
401
-
402
- case 'datepicker':
403
- $std = isset( $field['std'] ) ? $field['std'] : array( 'date' => '', 'hh' => 0, 'mm' => 0, 'ss' => 0 );
404
- $value = ! empty( $value ) ? $value : array( 'date' => '', 'hh' => 0, 'mm' => 0, 'ss' => 0 );
405
-
406
- $echo = "<input type='text' id='{$id}_date' name='{$name}[date]' value='{$value['date']}' class='medium-text code panel-datepicker' colorpicker='" . __( 'Select a date', 'yit' ) . "' /> - ";
407
- $echo .= "<input type='text' id='{$id}_hh' name='{$name}[hh]' value='{$value['hh']}' class='small-text code' colorpicker='" . __( 'Hours', 'yit' ) . "' /> : ";
408
- $echo .= "<input type='text' id='{$id}_mm' name='{$name}[mm]' value='{$value['mm']}' class='small-text code' colorpicker='" . __( 'Minutes', 'yit' ) . "' /> : ";
409
- $echo .= "<input type='text' id='{$id}_ss' name='{$name}[ss]' value='{$value['ss']}' class='small-text code' colorpicker='" . __( 'Minutes', 'yit' ) . "' />";
410
- if( isset($field['description']) && $field['description'] != '' ) {
411
- $echo .= "<p class='description'>{$field['description']}</p>";
412
- }
413
- break;
414
-
415
- case 'upload':
416
- $echo = '<div class="uploader">';
417
- $echo .= " <input type='text' id='{$id}' name='{$name}' value='{$value}' class='regular-text code' /> <input type='button' name='' id='{$id}_button' class='button' value='". __('Upload', 'yit') ."'>";
418
- $echo .= '</div>';
419
- if( isset($field['description']) && $field['description'] != '' ) {
420
- $echo .= "<p class='description'>{$field['description']}</p>";
421
- }
422
- break;
423
-
424
- case 'checkboxes':
425
- $echo = '<div class="checkboxes">';
426
- foreach ( $field['options'] as $check_value => $check_label ) {
427
- $echo .= "<label><input type='checkbox' id='{$id}_{$check_value}' name='{$name}[]' value='$check_value' ". checked( in_array( $check_value, $value ), true, false) ." /> {$check_label}</label><br />";
428
- }
429
-
430
- $echo .= " <p class='description'>{$field['description']}</p>";
431
- break;
432
-
433
- case 'typography': $value = wp_parse_args( $value, $field['std'] ); ?>
434
- <div class="typography_container typography">
435
- <div class="option">
436
- <!-- Size -->
437
- <div class="spinner_container">
438
- <input class="typography_size number small-text" type="number" name="<?php echo $name ?>[size]" id="<?php echo $id ?>-size" value="<?php echo $value['size'] ?>" data-min="<?php if(isset( $field['min'] )) echo $field['min'] ?>" data-max="<?php if(isset( $field['max'] )) echo $field['max'] ?>" />
439
- </div>
440
-
441
- <!-- Unit -->
442
- <div class="select-wrapper font-unit">
443
- <select class="typography_unit" name="<?php echo $name ?>[unit]" id="<?php echo $id ?>-unit">
444
- <option value="px" <?php selected( $value['unit'], 'px' ) ?>><?php _e( 'px', 'yit' ) ?></option>
445
- <option value="em" <?php selected( $value['unit'], 'em' ) ?>><?php _e( 'em', 'yit' ) ?></option>
446
- <option value="pt" <?php selected( $value['unit'], 'pt' ) ?>><?php _e( 'pt', 'yit' ) ?></option>
447
- <option value="rem" <?php selected( $value['unit'], 'rem' ) ?>><?php _e( 'rem', 'yit' ) ?></option>
448
- </select>
449
- </div>
450
-
451
- <!-- Family -->
452
- <div class="select-wrapper font-family">
453
- <select class="typography_family" name="<?php echo $name ?>[family]" id="<?php echo $id ?>-family" data-instance="false">
454
- <?php if( $value['family'] ): ?>
455
- <option value="<?php echo stripslashes( $value['family'] ) ?>"><?php echo $value['family'] ?></option>
456
- <?php else: ?>
457
- <option value=""><?php _e('Select a font family', 'yit') ?></option>
458
- <?php endif ?>
459
- </select>
460
- </div>
461
-
462
- <!-- Style -->
463
- <div class="select-wrapper font-style">
464
- <select class="typography_style" name="<?php echo $name ?>[style]" id="<?php echo $id ?>-style">
465
- <option value="regular" <?php selected( $value['style'], 'regular' ) ?>><?php _e( 'Regular', 'yit' ) ?></option>
466
- <option value="bold" <?php selected( $value['style'], 'bold' ) ?>><?php _e( 'Bold', 'yit' ) ?></option>
467
- <option value="extra-bold" <?php selected( $value['style'], 'extra-bold' ) ?>><?php _e( 'Extra bold', 'yit' ) ?></option>
468
- <option value="italic" <?php selected( $value['style'], 'italic' ) ?>><?php _e( 'Italic', 'yit' ) ?></option>
469
- <option value="bold-italic" <?php selected( $value['style'], 'bold-italic' ) ?>><?php _e( 'Italic bold', 'yit' ) ?></option>
470
- </select>
471
- </div>
472
-
473
- <!-- Color -->
474
- <input type='text' id='<?php echo $id ?>-color' name='<?php echo $name ?>[color]' value='<?php echo $value['color'] ?>' class='medium-text code panel-colorpicker typography_color' data-default-color='<?php echo $field['std']['color'] ?>' />
475
-
476
- </div>
477
- <div class="clear"></div>
478
- <div class="font-preview">
479
- <p>The quick brown fox jumps over the lazy dog</p>
480
- <!-- Refresh -->
481
- <div class="refresh_container"><button class="refresh"><?php _e( 'Click to preview', 'yit' ) ?></button></div>
482
- </div>
483
- </div>
484
- <?php
485
- global $yith_panel_if_typography;
486
- $yith_panel_if_typography = true;
487
- break;
488
-
489
- default:
490
- do_action('yith_panel_field_' . $field['type']);
491
- break;
492
- }
493
-
494
- echo $echo;
495
- }
496
-
497
- /**
498
- * Print the banner
499
- *
500
- * @access protected
501
- * @return void
502
- */
503
- public function printBanner() {
504
- if( !$this->banner_url || !$this->banner_img ) return;
505
- ?>
506
- <div class="yith_banner">
507
- <a href="<?php echo $this->banner_url ?>" target="_blank">
508
- <img src="<?php echo $this->banner_img ?>" alt="" />
509
- </a>
510
- </div>
511
- <?php
512
- }
513
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
514
  }
6
  * @version 0.1.0
7
  */
8
 
9
+ if ( ! class_exists( 'YITH_Panel' ) ) {
10
+ /*
11
+ * The class manages the theme options for the Plugin
12
+ */
13
+
14
+ class YITH_Panel {
15
+
16
+ /**
17
+ * Class version
18
+ *
19
+ * @var string
20
+ */
21
+ public $version = '0.1.0';
22
+
23
+ /**
24
+ * Parameters for add_submenu_page
25
+ *
26
+ * add_submenu_page(
27
+ * 'themes.php', // The file name of a standard WordPress admin page
28
+ * 'Theme Options', // The text to be displayed in the title tags of the page when the menu is selected
29
+ * 'Theme Options', // The text to be used for the menu
30
+ * 'administrator', // The capability (or role) required for this menu to be displayed to the user.
31
+ * 'theme-options', // The slug name to refer to this menu by (should be unique for this menu).
32
+ * 'theme_options_display_page' // The function to be called to output the content for this page.
33
+ * );
34
+ *
35
+ * @access protected
36
+ */
37
+ protected $_submenu = array();
38
+
39
+ /**
40
+ * Initial Options definition:
41
+ * 'tab' => array(
42
+ * 'label',
43
+ * 'sections' => array(
44
+ * 'fields' => array(
45
+ * 'option1',
46
+ * 'option2',
47
+ * ...
48
+ * )
49
+ * )
50
+ * )
51
+ *
52
+ * @var array
53
+ * @access public
54
+ */
55
+ public $options = array();
56
+
57
+ /**
58
+ * Options group name
59
+ *
60
+ * @var string
61
+ * @access public
62
+ */
63
+ public $option_group = 'panel_group';
64
+
65
+ /**
66
+ * Option name
67
+ *
68
+ * @var string
69
+ * @access public
70
+ */
71
+ public $option_name = 'panel_options';
72
+
73
+ /**
74
+ * Banner links
75
+ *
76
+ * @var string
77
+ * @access public
78
+ */
79
+ public $banner_url = 'http://yithemes.com/?ap_id=plugin';
80
+ public $banner_img = '';
81
+
82
+ /**
83
+ * Constructor
84
+ *
85
+ * @param array $submenu Parameters for add_submenu_page
86
+ * @param array $options Array of plugin options
87
+ *
88
+ */
89
+ public function __construct( $submenu, $options, $banner = array(), $option_group = false, $option_name = false ) {
90
+ $this->_submenu = apply_filters( 'yith_panel_submenu', $submenu );
91
+ $this->options = apply_filters( 'yith_panel_options', $options );
92
+
93
+ if ( ! empty( $banner ) ) {
94
+ $this->banner_url = $banner['url'];
95
+ $this->banner_img = $banner['img'];
96
+ }
97
+
98
+ if ( $option_group ) {
99
+ $this->option_group = $option_group;
100
+ }
101
+
102
+ if ( $option_name ) {
103
+ $this->option_name = $option_name;
104
+ }
105
+
106
+ //add new menu item
107
+ //register new settings option group
108
+ //include js and css files
109
+ //print browser
110
+ add_action( 'admin_menu', array( $this, 'add_submenu_page' ) );
111
+ add_action( 'admin_init', array( $this, 'panel_register_setting' ) );
112
+ add_action( 'admin_enqueue_scripts', array( $this, 'panel_enqueue' ) );
113
+
114
+ // add the typography javascript vars
115
+ add_action( 'yith_panel_after_panel', array( $this, 'js_typo_vars' ) );
116
+ }
117
+
118
+ /**
119
+ * Create new submenu page
120
+ *
121
+ * @return void
122
+ * @access public
123
+ * @link http://codex.wordpress.org/Function_Reference/add_submenu_page
124
+ */
125
+ public function add_submenu_page() {
126
+ $submenu = $this->_submenu;
127
+ add_submenu_page(
128
+ $submenu[0],
129
+ $submenu[1],
130
+ $submenu[2],
131
+ $submenu[3],
132
+ $submenu[4],
133
+ array( $this, isset( $submenu[5] ) ? $submenu[5] : 'display_panel_page' )
134
+ );
135
+ }
136
+
137
+ /**
138
+ * Print the Panel page
139
+ *
140
+ * @return void
141
+ * @access public
142
+ */
143
+ public function display_panel_page() {
144
+ // Create a header in the default WordPress 'wrap' container
145
+ $page = $this->_get_tab();
146
+ ?>
147
+ <div id="icon-themes" class="icon32"><br/></div>
148
+ <h2 class="nav-tab-wrapper">
149
+ <?php foreach ( $this->options as $k => $tab ): ?>
150
+ <a class="nav-tab<?php if ( $page == $k ): ?> nav-tab-active<?php endif ?>"
151
+ href="<?php echo esc_url( add_query_arg( 'panel_page', $k ) ); ?>"><?php echo $tab['label'] ?></a>
152
+ <?php endforeach ?>
153
+ <?php do_action( 'yith_panel_after_tabs' ); ?>
154
+ </h2>
155
+
156
+ <div class="wrap">
157
+ <?php $this->printBanner() ?>
158
+ <?php do_action( 'yith_panel_before_panel' ); ?>
159
+ <form action="options.php" method="post">
160
+
161
+ <?php do_settings_sections( $this->option_name ); ?>
162
+ <?php settings_fields( $this->option_group ) ?>
163
+
164
+ <p class="submit">
165
+ <input type="hidden" name="panel_page" value="<?php echo $page ?>"/>
166
+ <input class="button-primary" type="submit" name="save_options" value="Save Options"/>
167
+ </p>
168
+ </form>
169
+ <?php do_action( 'yith_panel_after_panel' ); ?>
170
+ </div>
171
+ <?php
172
+ }
173
+
174
+ /**
175
+ * Add the vars for the typography options
176
+ */
177
+ public function js_typo_vars() {
178
+ global $yith_panel_if_typography;
179
+ if ( ! isset( $yith_panel_if_typography ) || ! $yith_panel_if_typography ) {
180
+ return;
181
+ }
182
+
183
+ $web_fonts = array(
184
+ "Arial",
185
+ "Arial Black",
186
+ "Comic Sans MS",
187
+ "Courier New",
188
+ "Georgia",
189
+ "Impact",
190
+ "Lucida Console",
191
+ "Lucida Sans Unicode",
192
+ "Thaoma",
193
+ "Trebuchet MS",
194
+ "Verdana"
195
+ );
196
+
197
+ // http://niubbys.altervista.org/google_fonts.php
198
+ $google_fonts = file_get_contents( dirname( __FILE__ ) . '/assets/js/google_fonts.json' );
199
+ ?>
200
+ <script type="text/javascript">
201
+ var yit_google_fonts = '<?php echo $google_fonts ?>',
202
+ yit_web_fonts = '{"items":<?php echo json_encode( $web_fonts ) ?>}',
203
+ yit_family_string = '';
204
+ </script>
205
+ <?php
206
+ }
207
+
208
+ /**
209
+ * Register a new settings option group
210
+ *
211
+ * @return void
212
+ * @access public
213
+ * @link http://codex.wordpress.org/Function_Reference/register_setting
214
+ * @link http://codex.wordpress.org/Function_Reference/add_settings_section
215
+ * @link http://codex.wordpress.org/Function_Reference/add_settings_field
216
+ */
217
+ public function panel_register_setting() {
218
+ $page = $this->_get_tab();
219
+ $tab = isset( $this->options[ $page ] ) ? $this->options[ $page ] : array();
220
+
221
+ if ( ! empty( $tab['sections'] ) ) {
222
+ //add sections and fields
223
+ foreach ( $tab['sections'] as $section_name => $section ) {
224
+ //add the section
225
+ add_settings_section(
226
+ $section_name,
227
+ $section['title'],
228
+ array( $this, 'panel_section_content' ),
229
+ $this->option_name
230
+ );
231
+
232
+ //add the fields
233
+ foreach ( $section['fields'] as $option_name => $option ) {
234
+ $option['id'] = $option_name;
235
+ $option['label_for'] = $option_name;
236
+
237
+ //register settings group
238
+ register_setting(
239
+ $this->option_group,
240
+ $option_name,
241
+ array( $this, 'panel_sanitize' )
242
+ );
243
+
244
+ add_settings_field(
245
+ $option_name,
246
+ $option['title'],
247
+ array( $this, 'panel_field_content' ),
248
+ $this->option_name,
249
+ $section_name,
250
+ $option
251
+ );
252
+ }
253
+ }
254
+ }
255
+ }
256
+
257
+ /**
258
+ * Display sections content
259
+ *
260
+ * @return void
261
+ * @access public
262
+ */
263
+ public function panel_section_content( $section ) {
264
+ $page = $this->_get_tab();
265
+ if ( isset( $this->options[ $page ]['sections'][ $section['id'] ]['description'] ) ) {
266
+ echo "<p class='section-description'>" . $this->options[ $page ]['sections'][ $section['id'] ]['description'] . "</p>";
267
+ }
268
+ }
269
+
270
+ /**
271
+ * Sanitize the option's value
272
+ *
273
+ * @param array $input
274
+ *
275
+ * @return array
276
+ * @access public
277
+ */
278
+ public function panel_sanitize( $input ) {
279
+ return apply_filters( 'yith_panel_sanitize', $input );
280
+ }
281
+
282
+ /**
283
+ * Get the active tab. If the page isn't provided, the function
284
+ * will return the first tab name
285
+ *
286
+ * @return string
287
+ * @access protected
288
+ */
289
+ public function _get_tab() {
290
+ if ( isset( $_POST['panel_page'] ) && $_POST['panel_page'] != '' ) {
291
+ return $_POST['panel_page'];
292
+ } elseif ( isset( $_GET['panel_page'] ) && $_GET['panel_page'] != '' ) {
293
+ return $_GET['panel_page'];
294
+ } else {
295
+ $tabs = array_keys( $this->options );
296
+
297
+ return $tabs[0];
298
+ }
299
+ }
300
+
301
+ /**
302
+ * Enqueue scripts and styles
303
+ *
304
+ * @return void
305
+ * @access public
306
+ */
307
+ public function panel_enqueue( $hook ) {
308
+ global $pagenow;
309
+
310
+ if ( $pagenow == $this->_submenu[0] && isset( $_GET['page'] ) && $_GET['page'] == $this->_submenu[4] ) {
311
+ wp_enqueue_style( 'wp-color-picker' );
312
+ wp_enqueue_style( 'jquery-ui', 'http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css' );
313
+ wp_enqueue_script( 'jquery-ui-datepicker' );
314
+
315
+ wp_enqueue_style( 'yith-panel-css', plugin_dir_url( __FILE__ ) . 'assets/css/yith-panel.css', array( 'wp-color-picker' ), $this->version );
316
+ wp_enqueue_script( 'yith-panel-js', plugin_dir_url( __FILE__ ) . 'assets/js/yith-panel.js', array(
317
+ 'jquery',
318
+ 'wp-color-picker'
319
+ ), $this->version, true );
320
+
321
+ wp_enqueue_media();
322
+
323
+ do_action( 'yith_panel_enqueue' );
324
+ }
325
+ }
326
+
327
+
328
+ /**
329
+ * Display field content
330
+ *
331
+ * @return void
332
+ * @access public
333
+ */
334
+ public function panel_field_content( $field ) {
335
+ $value = get_option( $field['id'], isset( $field['std'] ) ? $field['std'] : '' );
336
+ $id = $field['id'];
337
+ $name = $field['id'];
338
+
339
+ $echo = '';
340
+
341
+ switch ( $field['type'] ) {
342
+ case 'text':
343
+ $echo = "<input type='text' id='{$id}' name='{$name}' value='{$value}' class='regular-text code' />";
344
+
345
+ if ( isset( $field['description'] ) && $field['description'] != '' ) {
346
+ $echo .= "<p class='description'>{$field['description']}</p>";
347
+ }
348
+ break;
349
+
350
+ case 'textarea':
351
+ $echo = "<textarea name='{$name}' id='{$id}' class='large-text code' rows='10' cols='50'>{$value}</textarea>";
352
+ if ( isset( $field['description'] ) && $field['description'] != '' ) {
353
+ $echo .= "<p class='description'>{$field['description']}</p>";
354
+ }
355
+ break;
356
+
357
+ case 'checkbox':
358
+ $echo = "<input type='checkbox' id='{$id}' name='{$name}' value='1' " . checked( $value, true, false ) . " />";
359
+ if ( isset( $field['description'] ) && $field['description'] != '' ) {
360
+ $echo .= " <label for='{$id}'><span class='description'>{$field['description']}</span></label>";
361
+ }
362
+ break;
363
+
364
+ case 'select':
365
+ $echo = "<select name='{$name}' id='{$id}'>";
366
+ foreach ( $field['options'] as $v => $label ) {
367
+ $echo .= "<option value='{$v}'" . selected( $value, $v, false ) . ">{$label}</option>";
368
+ }
369
+ $echo .= "</select>";
370
+ if ( isset( $field['description'] ) && $field['description'] != '' ) {
371
+ $echo .= "<p class='description'>{$field['description']}</p>";
372
+ }
373
+ break;
374
+
375
+ case 'skin':
376
+ $echo = "<select name='{$name}' id='{$id}' class='skin' data-path='{$field['path']}'>";
377
+ foreach ( $field['options'] as $v => $label ) {
378
+ $echo .= "<option value='{$v}'" . selected( $value, $v, false ) . ">{$label}</option>";
379
+ }
380
+ $echo .= "</select>";
381
+ if ( isset( $field['description'] ) && $field['description'] != '' ) {
382
+ $echo .= "<p class='description'>{$field['description']}</p><div class='skin-preview'></div>";
383
+ }
384
+ break;
385
+
386
+ case 'number':
387
+ $mms = '';
388
+ if ( isset( $field['min'] ) ) {
389
+ $mms .= " min='{$field['min']}'";
390
+ }
391
+
392
+ if ( isset( $field['max'] ) ) {
393
+ $mms .= " max='{$field['max']}'";
394
+ }
395
+
396
+ if ( isset( $field['step'] ) ) {
397
+ $mms .= " step='{$field['step']}'";
398
+ }
399
+
400
+ $echo = "<input type='number' id='{$id}' name='{$name}' value='{$value}' class='small-text' {$mms} />";
401
+ if ( isset( $field['description'] ) && $field['description'] != '' ) {
402
+ $echo .= "<p class='description'>{$field['description']}</p>";
403
+ }
404
+ break;
405
+
406
+ case 'colorpicker':
407
+ $std = isset( $field['std'] ) ? $field['std'] : '';
408
+
409
+ $echo = "<input type='text' id='{$id}' name='{$name}' value='{$value}' class='medium-text code panel-colorpicker' data-default-color='{$std}' />";
410
+ if ( isset( $field['description'] ) && $field['description'] != '' ) {
411
+ $echo .= "<p class='description'>{$field['description']}</p>";
412
+ }
413
+ break;
414
+
415
+ case 'datepicker':
416
+ $std = isset( $field['std'] ) ? $field['std'] : array(
417
+ 'date' => '',
418
+ 'hh' => 0,
419
+ 'mm' => 0,
420
+ 'ss' => 0
421
+ );
422
+ $value = ! empty( $value ) ? $value : array( 'date' => '', 'hh' => 0, 'mm' => 0, 'ss' => 0 );
423
+
424
+ $echo = "<input type='text' id='{$id}_date' name='{$name}[date]' value='{$value['date']}' class='medium-text code panel-datepicker' colorpicker='" . __( 'Select a date', 'yit' ) . "' /> - ";
425
+ $echo .= "<input type='text' id='{$id}_hh' name='{$name}[hh]' value='{$value['hh']}' class='small-text code' colorpicker='" . __( 'Hours', 'yit' ) . "' /> : ";
426
+ $echo .= "<input type='text' id='{$id}_mm' name='{$name}[mm]' value='{$value['mm']}' class='small-text code' colorpicker='" . __( 'Minutes', 'yit' ) . "' /> : ";
427
+ $echo .= "<input type='text' id='{$id}_ss' name='{$name}[ss]' value='{$value['ss']}' class='small-text code' colorpicker='" . __( 'Minutes', 'yit' ) . "' />";
428
+ if ( isset( $field['description'] ) && $field['description'] != '' ) {
429
+ $echo .= "<p class='description'>{$field['description']}</p>";
430
+ }
431
+ break;
432
+
433
+ case 'upload':
434
+ $echo = '<div class="uploader">';
435
+ $echo .= " <input type='text' id='{$id}' name='{$name}' value='{$value}' class='regular-text code' /> <input type='button' name='' id='{$id}_button' class='button' value='" . __( 'Upload', 'yit' ) . "'>";
436
+ $echo .= '</div>';
437
+ if ( isset( $field['description'] ) && $field['description'] != '' ) {
438
+ $echo .= "<p class='description'>{$field['description']}</p>";
439
+ }
440
+ break;
441
+
442
+ case 'checkboxes':
443
+ $echo = '<div class="checkboxes">';
444
+ foreach ( $field['options'] as $check_value => $check_label ) {
445
+ $echo .= "<label><input type='checkbox' id='{$id}_{$check_value}' name='{$name}[]' value='$check_value' " . checked( in_array( $check_value, $value ), true, false ) . " /> {$check_label}</label><br />";
446
+ }
447
+
448
+ $echo .= " <p class='description'>{$field['description']}</p>";
449
+ break;
450
+
451
+ case 'typography':
452
+ $value = wp_parse_args( $value, $field['std'] ); ?>
453
+ <div class="typography_container typography">
454
+ <div class="option">
455
+ <!-- Size -->
456
+ <div class="spinner_container">
457
+ <input class="typography_size number small-text" type="number"
458
+ name="<?php echo $name ?>[size]" id="<?php echo $id ?>-size"
459
+ value="<?php echo $value['size'] ?>"
460
+ data-min="<?php if ( isset( $field['min'] ) ) {
461
+ echo $field['min'];
462
+ } ?>" data-max="<?php if ( isset( $field['max'] ) ) {
463
+ echo $field['max'];
464
+ } ?>"/>
465
+ </div>
466
+
467
+ <!-- Unit -->
468
+ <div class="select-wrapper font-unit">
469
+ <select class="typography_unit" name="<?php echo $name ?>[unit]"
470
+ id="<?php echo $id ?>-unit">
471
+ <option
472
+ value="px" <?php selected( $value['unit'], 'px' ) ?>><?php _e( 'px', 'yit' ) ?></option>
473
+ <option
474
+ value="em" <?php selected( $value['unit'], 'em' ) ?>><?php _e( 'em', 'yit' ) ?></option>
475
+ <option
476
+ value="pt" <?php selected( $value['unit'], 'pt' ) ?>><?php _e( 'pt', 'yit' ) ?></option>
477
+ <option
478
+ value="rem" <?php selected( $value['unit'], 'rem' ) ?>><?php _e( 'rem', 'yit' ) ?></option>
479
+ </select>
480
+ </div>
481
+
482
+ <!-- Family -->
483
+ <div class="select-wrapper font-family">
484
+ <select class="typography_family" name="<?php echo $name ?>[family]"
485
+ id="<?php echo $id ?>-family" data-instance="false">
486
+ <?php if ( $value['family'] ): ?>
487
+ <option
488
+ value="<?php echo stripslashes( $value['family'] ) ?>"><?php echo $value['family'] ?></option>
489
+ <?php else: ?>
490
+ <option value=""><?php _e( 'Select a font family', 'yit' ) ?></option>
491
+ <?php endif ?>
492
+ </select>
493
+ </div>
494
+
495
+ <!-- Style -->
496
+ <div class="select-wrapper font-style">
497
+ <select class="typography_style" name="<?php echo $name ?>[style]"
498
+ id="<?php echo $id ?>-style">
499
+ <option
500
+ value="regular" <?php selected( $value['style'], 'regular' ) ?>><?php _e( 'Regular', 'yit' ) ?></option>
501
+ <option
502
+ value="bold" <?php selected( $value['style'], 'bold' ) ?>><?php _e( 'Bold', 'yit' ) ?></option>
503
+ <option
504
+ value="extra-bold" <?php selected( $value['style'], 'extra-bold' ) ?>><?php _e( 'Extra bold', 'yit' ) ?></option>
505
+ <option
506
+ value="italic" <?php selected( $value['style'], 'italic' ) ?>><?php _e( 'Italic', 'yit' ) ?></option>
507
+ <option
508
+ value="bold-italic" <?php selected( $value['style'], 'bold-italic' ) ?>><?php _e( 'Italic bold', 'yit' ) ?></option>
509
+ </select>
510
+ </div>
511
+
512
+ <!-- Color -->
513
+ <input type='text' id='<?php echo $id ?>-color' name='<?php echo $name ?>[color]'
514
+ value='<?php echo $value['color'] ?>'
515
+ class='medium-text code panel-colorpicker typography_color'
516
+ data-default-color='<?php echo $field['std']['color'] ?>'/>
517
+
518
+ </div>
519
+ <div class="clear"></div>
520
+ <div class="font-preview">
521
+ <p>The quick brown fox jumps over the lazy dog</p>
522
+ <!-- Refresh -->
523
+ <div class="refresh_container">
524
+ <button class="refresh"><?php _e( 'Click to preview', 'yit' ) ?></button>
525
+ </div>
526
+ </div>
527
+ </div>
528
+ <?php
529
+ global $yith_panel_if_typography;
530
+ $yith_panel_if_typography = true;
531
+ break;
532
+
533
+ default:
534
+ do_action( 'yith_panel_field_' . $field['type'] );
535
+ break;
536
+ }
537
+
538
+ echo $echo;
539
+ }
540
+
541
+ /**
542
+ * Print the banner
543
+ *
544
+ * @access protected
545
+ * @return void
546
+ */
547
+ public function printBanner() {
548
+ if ( ! $this->banner_url || ! $this->banner_img ) {
549
+ return;
550
+ }
551
+ ?>
552
+ <div class="yith_banner">
553
+ <a href="<?php echo $this->banner_url ?>" target="_blank">
554
+ <img src="<?php echo $this->banner_img ?>" alt=""/>
555
+ </a>
556
+ </div>
557
+ <?php
558
+ }
559
+ }
560
  }