Version Description
- ADD: Welcome/about screen on update
- ADD: Child theme folder support
- ADD: Multilingual with (m)qTranslate
- IMPROVE: New style for sliders in configuration
- IMPROVE: Deprecated: Function split() is deprecated
- IMPROVE: Deprecated: Function eregi() is deprecated
- FIX: Uppercase file extensions
- FIX: Image overlay/enlargement only works with no thumbnails
- FIX: Image overlay/enlargement URL wrong
- FIX: Space in file name
- FIX: Information bar is overlapped by prev/next
Download this release
Release Info
Developer | contrid |
Plugin | Slideshow Gallery |
Version | 1.4.5 |
Comparing to | |
See all releases |
Code changes from version 1.4.4.3 to 1.4.5
- css/admin.css +6 -0
- css/jquery-ui.css +437 -354
- helpers/db.php +15 -1
- helpers/html.php +14 -4
- images/about/feature-1.jpg +0 -0
- images/about/feature-2.jpg +0 -0
- images/about/feature-3.jpg +0 -0
- images/about/feature-4.jpg +0 -0
- images/about/feature-5.jpg +0 -0
- js/tinymce/dialog.php +1 -1
- models/gallery.php +1 -1
- models/slide.php +8 -2
- readme.txt +15 -2
- slideshow-gallery-plugin.php +113 -2
- slideshow-gallery.php +35 -1
- vendors/class.paginate.php +1 -1
- views/admin/about.php +96 -0
- views/admin/galleries/hardcode.php +1 -1
- views/admin/galleries/index.php +1 -1
- views/admin/galleries/save.php +30 -2
- views/admin/galleries/view.php +1 -1
- views/admin/metaboxes/settings-styles.php +13 -0
- views/admin/slides/loop.php +3 -3
- views/admin/slides/order.php +2 -2
- views/admin/slides/save.php +47 -2
- views/default/css-responsive.php +1 -1
- views/default/css.php +1 -1
- views/default/gallery.php +12 -10
css/admin.css
CHANGED
@@ -30,6 +30,12 @@ th.sorted.desc .sorting-indicator,th.asc:hover span.sorting-indicator{ display:b
|
|
30 |
|
31 |
.slideshow .ui-slider {
|
32 |
margin: 10px 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
|
35 |
.slideshow .slider-value {
|
30 |
|
31 |
.slideshow .ui-slider {
|
32 |
margin: 10px 0;
|
33 |
+
background: #CCCCCC;
|
34 |
+
}
|
35 |
+
|
36 |
+
.slideshow .ui-slider-handle {
|
37 |
+
cursor: move !important;
|
38 |
+
background: #333333;
|
39 |
}
|
40 |
|
41 |
.slideshow .slider-value {
|
css/jquery-ui.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! jQuery UI - v1.
|
2 |
* http://jqueryui.com
|
3 |
-
* Includes:
|
4 |
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
5 |
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
|
6 |
|
@@ -86,6 +86,10 @@
|
|
86 |
width: 100%;
|
87 |
height: 100%;
|
88 |
}
|
|
|
|
|
|
|
|
|
89 |
.ui-resizable {
|
90 |
position: relative;
|
91 |
}
|
@@ -93,6 +97,8 @@
|
|
93 |
position: absolute;
|
94 |
font-size: 0.1px;
|
95 |
display: block;
|
|
|
|
|
96 |
}
|
97 |
.ui-resizable-disabled .ui-resizable-handle,
|
98 |
.ui-resizable-autohide .ui-resizable-handle {
|
@@ -154,25 +160,31 @@
|
|
154 |
right: -5px;
|
155 |
top: -5px;
|
156 |
}
|
|
|
|
|
|
|
|
|
157 |
.ui-selectable-helper {
|
158 |
position: absolute;
|
159 |
z-index: 100;
|
160 |
border: 1px dotted black;
|
161 |
}
|
|
|
|
|
|
|
|
|
162 |
.ui-accordion .ui-accordion-header {
|
163 |
display: block;
|
164 |
cursor: pointer;
|
165 |
position: relative;
|
166 |
-
margin
|
167 |
padding: .5em .5em .5em .7em;
|
168 |
min-height: 0; /* support: IE7 */
|
|
|
169 |
}
|
170 |
.ui-accordion .ui-accordion-icons {
|
171 |
padding-left: 2.2em;
|
172 |
}
|
173 |
-
.ui-accordion .ui-accordion-noicons {
|
174 |
-
padding-left: .7em;
|
175 |
-
}
|
176 |
.ui-accordion .ui-accordion-icons .ui-accordion-icons {
|
177 |
padding-left: 2.2em;
|
178 |
}
|
@@ -524,72 +536,56 @@ button.ui-button::-moz-focus-inner {
|
|
524 |
}
|
525 |
.ui-menu {
|
526 |
list-style: none;
|
527 |
-
padding:
|
528 |
margin: 0;
|
529 |
display: block;
|
530 |
outline: none;
|
531 |
}
|
532 |
.ui-menu .ui-menu {
|
533 |
-
margin-top: -3px;
|
534 |
position: absolute;
|
535 |
}
|
536 |
.ui-menu .ui-menu-item {
|
|
|
537 |
margin: 0;
|
538 |
-
padding:
|
539 |
-
|
|
|
540 |
/* support: IE10, see #8844 */
|
541 |
-
list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
542 |
}
|
543 |
.ui-menu .ui-menu-divider {
|
544 |
-
margin: 5px
|
545 |
height: 0;
|
546 |
font-size: 0;
|
547 |
line-height: 0;
|
548 |
border-width: 1px 0 0 0;
|
549 |
}
|
550 |
-
.ui-menu .ui-
|
551 |
-
|
552 |
-
display: block;
|
553 |
-
padding: 2px .4em;
|
554 |
-
line-height: 1.5;
|
555 |
-
min-height: 0; /* support: IE7 */
|
556 |
-
font-weight: normal;
|
557 |
-
}
|
558 |
-
.ui-menu .ui-menu-item a.ui-state-focus,
|
559 |
-
.ui-menu .ui-menu-item a.ui-state-active {
|
560 |
-
font-weight: normal;
|
561 |
margin: -1px;
|
562 |
}
|
563 |
|
564 |
-
.ui-menu .ui-state-disabled {
|
565 |
-
font-weight: normal;
|
566 |
-
margin: .4em 0 .2em;
|
567 |
-
line-height: 1.5;
|
568 |
-
}
|
569 |
-
.ui-menu .ui-state-disabled a {
|
570 |
-
cursor: default;
|
571 |
-
}
|
572 |
-
|
573 |
/* icon support */
|
574 |
.ui-menu-icons {
|
575 |
position: relative;
|
576 |
}
|
577 |
-
.ui-menu-icons .ui-menu-item
|
578 |
-
position: relative;
|
579 |
padding-left: 2em;
|
580 |
}
|
581 |
|
582 |
/* left-aligned */
|
583 |
.ui-menu .ui-icon {
|
584 |
position: absolute;
|
585 |
-
top:
|
|
|
586 |
left: .2em;
|
|
|
587 |
}
|
588 |
|
589 |
/* right-aligned */
|
590 |
.ui-menu .ui-menu-icon {
|
591 |
-
|
592 |
-
|
593 |
}
|
594 |
.ui-progressbar {
|
595 |
height: 2em;
|
@@ -609,6 +605,55 @@ button.ui-button::-moz-focus-inner {
|
|
609 |
.ui-progressbar-indeterminate .ui-progressbar-value {
|
610 |
background-image: none;
|
611 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
612 |
.ui-slider {
|
613 |
position: relative;
|
614 |
text-align: left;
|
@@ -619,6 +664,8 @@ button.ui-button::-moz-focus-inner {
|
|
619 |
width: 1.2em;
|
620 |
height: 1.2em;
|
621 |
cursor: default;
|
|
|
|
|
622 |
}
|
623 |
.ui-slider .ui-slider-range {
|
624 |
position: absolute;
|
@@ -727,47 +774,83 @@ button.ui-button::-moz-focus-inner {
|
|
727 |
/* need to fix icons sprite */
|
728 |
background-position: -65px -16px;
|
729 |
}
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
.
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
746 |
white-space: nowrap;
|
|
|
747 |
}
|
748 |
-
|
|
|
749 |
float: left;
|
750 |
-
|
|
|
|
|
|
|
751 |
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
752 |
}
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
|
760 |
-
cursor: text;
|
761 |
}
|
762 |
-
|
763 |
-
|
|
|
|
|
764 |
}
|
765 |
-
.ui-tabs .ui-tabs-
|
|
|
|
|
|
|
|
|
766 |
display: block;
|
767 |
border-width: 0;
|
768 |
-
padding:
|
769 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
770 |
}
|
|
|
|
|
|
|
771 |
.ui-tooltip {
|
772 |
padding: 8px;
|
773 |
position: absolute;
|
@@ -782,142 +865,142 @@ body .ui-tooltip {
|
|
782 |
|
783 |
/* Component containers
|
784 |
----------------------------------*/
|
785 |
-
.
|
786 |
font-family: Verdana,Arial,sans-serif;
|
787 |
font-size: 1.1em;
|
788 |
}
|
789 |
-
.
|
790 |
font-size: 1em;
|
791 |
}
|
792 |
-
.
|
793 |
-
.
|
794 |
-
.
|
795 |
-
.
|
796 |
font-family: Verdana,Arial,sans-serif;
|
797 |
font-size: 1em;
|
798 |
}
|
799 |
-
.
|
800 |
-
border: 1px solid #aaaaaa;
|
801 |
-
background: #ffffff url(../images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;
|
802 |
color: #222222;
|
803 |
}
|
804 |
-
.
|
805 |
color: #222222;
|
806 |
}
|
807 |
-
.
|
808 |
-
border: 1px solid #aaaaaa;
|
809 |
-
background: #cccccc url(../images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;
|
810 |
color: #222222;
|
811 |
font-weight: bold;
|
812 |
}
|
813 |
-
.
|
814 |
color: #222222;
|
815 |
}
|
816 |
|
817 |
/* Interaction states
|
818 |
----------------------------------*/
|
819 |
-
.
|
820 |
-
.
|
821 |
-
.
|
822 |
-
border: 1px solid #d3d3d3;
|
823 |
-
background: #e6e6e6 url(../images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;
|
824 |
font-weight: normal;
|
825 |
color: #555555;
|
826 |
}
|
827 |
-
.
|
828 |
-
.
|
829 |
-
.
|
830 |
color: #555555;
|
831 |
text-decoration: none;
|
832 |
}
|
833 |
-
.
|
834 |
-
.
|
835 |
-
.
|
836 |
-
.
|
837 |
-
.
|
838 |
-
.
|
839 |
-
border: 1px solid #999999;
|
840 |
-
background: #dadada url(../images/jquery-ui/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;
|
841 |
font-weight: normal;
|
842 |
color: #212121;
|
843 |
}
|
844 |
-
.
|
845 |
-
.
|
846 |
-
.
|
847 |
-
.
|
848 |
-
.
|
849 |
-
.
|
850 |
-
.
|
851 |
-
.
|
852 |
color: #212121;
|
853 |
text-decoration: none;
|
854 |
}
|
855 |
-
.
|
856 |
-
.
|
857 |
-
.
|
858 |
-
border: 1px solid #aaaaaa;
|
859 |
-
background: #ffffff url(../images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;
|
860 |
font-weight: normal;
|
861 |
color: #212121;
|
862 |
}
|
863 |
-
.
|
864 |
-
.
|
865 |
-
.
|
866 |
color: #212121;
|
867 |
text-decoration: none;
|
868 |
}
|
869 |
|
870 |
/* Interaction Cues
|
871 |
----------------------------------*/
|
872 |
-
.
|
873 |
-
.
|
874 |
-
.
|
875 |
border: 1px solid #fcefa1;
|
876 |
-
background: #fbf9ee url(../images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;
|
877 |
color: #363636;
|
878 |
}
|
879 |
-
.
|
880 |
-
.
|
881 |
-
.
|
882 |
color: #363636;
|
883 |
}
|
884 |
-
.
|
885 |
-
.
|
886 |
-
.
|
887 |
border: 1px solid #cd0a0a;
|
888 |
-
background: #fef1ec url(../images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;
|
889 |
color: #cd0a0a;
|
890 |
}
|
891 |
-
.
|
892 |
-
.
|
893 |
-
.
|
894 |
color: #cd0a0a;
|
895 |
}
|
896 |
-
.
|
897 |
-
.
|
898 |
-
.
|
899 |
color: #cd0a0a;
|
900 |
}
|
901 |
-
.
|
902 |
-
.
|
903 |
-
.
|
904 |
font-weight: bold;
|
905 |
}
|
906 |
-
.
|
907 |
-
.
|
908 |
-
.
|
909 |
opacity: .7;
|
910 |
filter:Alpha(Opacity=70);
|
911 |
font-weight: normal;
|
912 |
}
|
913 |
-
.
|
914 |
-
.
|
915 |
-
.
|
916 |
opacity: .35;
|
917 |
filter:Alpha(Opacity=35);
|
918 |
background-image: none;
|
919 |
}
|
920 |
-
.
|
921 |
filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
|
922 |
}
|
923 |
|
@@ -925,253 +1008,253 @@ body .ui-tooltip {
|
|
925 |
----------------------------------*/
|
926 |
|
927 |
/* states and images */
|
928 |
-
.
|
929 |
width: 16px;
|
930 |
height: 16px;
|
931 |
}
|
932 |
-
.
|
933 |
-
.
|
934 |
-
background-image: url(../images/jquery-ui/ui-icons_222222_256x240.png);
|
935 |
}
|
936 |
-
.
|
937 |
-
background-image: url(../images/jquery-ui/ui-icons_222222_256x240.png);
|
938 |
}
|
939 |
-
.
|
940 |
-
background-image: url(../images/jquery-ui/ui-icons_888888_256x240.png);
|
941 |
}
|
942 |
-
.
|
943 |
-
.
|
944 |
-
background-image: url(../images/jquery-ui/ui-icons_454545_256x240.png);
|
945 |
}
|
946 |
-
.
|
947 |
-
background-image: url(../images/jquery-ui/ui-icons_454545_256x240.png);
|
948 |
}
|
949 |
-
.
|
950 |
-
background-image: url(../images/jquery-ui/ui-icons_2e83ff_256x240.png);
|
951 |
}
|
952 |
-
.
|
953 |
-
.
|
954 |
-
background-image: url(../images/jquery-ui/ui-icons_cd0a0a_256x240.png);
|
955 |
}
|
956 |
|
957 |
/* positioning */
|
958 |
-
.
|
959 |
-
.
|
960 |
-
.
|
961 |
-
.
|
962 |
-
.
|
963 |
-
.
|
964 |
-
.
|
965 |
-
.
|
966 |
-
.
|
967 |
-
.
|
968 |
-
.
|
969 |
-
.
|
970 |
-
.
|
971 |
-
.
|
972 |
-
.
|
973 |
-
.
|
974 |
-
.
|
975 |
-
.
|
976 |
-
.
|
977 |
-
.
|
978 |
-
.
|
979 |
-
.
|
980 |
-
.
|
981 |
-
.
|
982 |
-
.
|
983 |
-
.
|
984 |
-
.
|
985 |
-
.
|
986 |
-
.
|
987 |
-
.
|
988 |
-
.
|
989 |
-
.
|
990 |
-
.
|
991 |
-
.
|
992 |
-
.
|
993 |
-
.
|
994 |
-
.
|
995 |
-
.
|
996 |
-
.
|
997 |
-
.
|
998 |
-
.
|
999 |
-
.
|
1000 |
-
.
|
1001 |
-
.
|
1002 |
-
.
|
1003 |
-
.
|
1004 |
-
.
|
1005 |
-
.
|
1006 |
-
.
|
1007 |
-
.
|
1008 |
-
.
|
1009 |
-
.
|
1010 |
-
.
|
1011 |
-
.
|
1012 |
-
.
|
1013 |
-
.
|
1014 |
-
.
|
1015 |
-
.
|
1016 |
-
.
|
1017 |
-
.
|
1018 |
-
.
|
1019 |
-
.
|
1020 |
-
.
|
1021 |
-
.
|
1022 |
-
.
|
1023 |
-
.
|
1024 |
-
.
|
1025 |
-
.
|
1026 |
-
.
|
1027 |
-
.
|
1028 |
-
.
|
1029 |
-
.
|
1030 |
-
.
|
1031 |
-
.
|
1032 |
-
.
|
1033 |
-
.
|
1034 |
-
.
|
1035 |
-
.
|
1036 |
-
.
|
1037 |
-
.
|
1038 |
-
.
|
1039 |
-
.
|
1040 |
-
.
|
1041 |
-
.
|
1042 |
-
.
|
1043 |
-
.
|
1044 |
-
.
|
1045 |
-
.
|
1046 |
-
.
|
1047 |
-
.
|
1048 |
-
.
|
1049 |
-
.
|
1050 |
-
.
|
1051 |
-
.
|
1052 |
-
.
|
1053 |
-
.
|
1054 |
-
.
|
1055 |
-
.
|
1056 |
-
.
|
1057 |
-
.
|
1058 |
-
.
|
1059 |
-
.
|
1060 |
-
.
|
1061 |
-
.
|
1062 |
-
.
|
1063 |
-
.
|
1064 |
-
.
|
1065 |
-
.
|
1066 |
-
.
|
1067 |
-
.
|
1068 |
-
.
|
1069 |
-
.
|
1070 |
-
.
|
1071 |
-
.
|
1072 |
-
.
|
1073 |
-
.
|
1074 |
-
.
|
1075 |
-
.
|
1076 |
-
.
|
1077 |
-
.
|
1078 |
-
.
|
1079 |
-
.
|
1080 |
-
.
|
1081 |
-
.
|
1082 |
-
.
|
1083 |
-
.
|
1084 |
-
.
|
1085 |
-
.
|
1086 |
-
.
|
1087 |
-
.
|
1088 |
-
.
|
1089 |
-
.
|
1090 |
-
.
|
1091 |
-
.
|
1092 |
-
.
|
1093 |
-
.
|
1094 |
-
.
|
1095 |
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
1096 |
-
.
|
1097 |
-
.
|
1098 |
-
.
|
1099 |
-
.
|
1100 |
-
.
|
1101 |
-
.
|
1102 |
-
.
|
1103 |
-
.
|
1104 |
-
.
|
1105 |
-
.
|
1106 |
-
.
|
1107 |
-
.
|
1108 |
-
.
|
1109 |
-
.
|
1110 |
-
.
|
1111 |
-
.
|
1112 |
-
.
|
1113 |
-
.
|
1114 |
-
.
|
1115 |
-
.
|
1116 |
-
.
|
1117 |
-
.
|
1118 |
-
.
|
1119 |
-
.
|
1120 |
-
.
|
1121 |
-
.
|
1122 |
-
.
|
1123 |
-
.
|
1124 |
-
.
|
1125 |
-
.
|
1126 |
-
.
|
1127 |
-
.
|
1128 |
-
.
|
1129 |
-
.
|
1130 |
-
.
|
1131 |
-
.
|
1132 |
-
.
|
1133 |
-
.
|
1134 |
|
1135 |
|
1136 |
/* Misc visuals
|
1137 |
----------------------------------*/
|
1138 |
|
1139 |
/* Corner radius */
|
1140 |
-
.
|
1141 |
-
.
|
1142 |
-
.
|
1143 |
-
.
|
1144 |
border-top-left-radius: 4px;
|
1145 |
}
|
1146 |
-
.
|
1147 |
-
.
|
1148 |
-
.
|
1149 |
-
.
|
1150 |
border-top-right-radius: 4px;
|
1151 |
}
|
1152 |
-
.
|
1153 |
-
.
|
1154 |
-
.
|
1155 |
-
.
|
1156 |
border-bottom-left-radius: 4px;
|
1157 |
}
|
1158 |
-
.
|
1159 |
-
.
|
1160 |
-
.
|
1161 |
-
.
|
1162 |
border-bottom-right-radius: 4px;
|
1163 |
}
|
1164 |
|
1165 |
/* Overlays */
|
1166 |
-
.
|
1167 |
-
background: #aaaaaa url(../images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
|
1168 |
opacity: .3;
|
1169 |
filter: Alpha(Opacity=30);
|
1170 |
}
|
1171 |
-
.
|
1172 |
margin: -8px 0 0 -8px;
|
1173 |
padding: 8px;
|
1174 |
-
background: #aaaaaa url(../images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
|
1175 |
opacity: .3;
|
1176 |
filter: Alpha(Opacity=30);
|
1177 |
border-radius: 8px;
|
1 |
+
/*! jQuery UI - v1.11.0 - 2014-08-06
|
2 |
* http://jqueryui.com
|
3 |
+
* Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, menu.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css
|
4 |
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
5 |
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
|
6 |
|
86 |
width: 100%;
|
87 |
height: 100%;
|
88 |
}
|
89 |
+
.ui-draggable-handle {
|
90 |
+
-ms-touch-action: none;
|
91 |
+
touch-action: none;
|
92 |
+
}
|
93 |
.ui-resizable {
|
94 |
position: relative;
|
95 |
}
|
97 |
position: absolute;
|
98 |
font-size: 0.1px;
|
99 |
display: block;
|
100 |
+
-ms-touch-action: none;
|
101 |
+
touch-action: none;
|
102 |
}
|
103 |
.ui-resizable-disabled .ui-resizable-handle,
|
104 |
.ui-resizable-autohide .ui-resizable-handle {
|
160 |
right: -5px;
|
161 |
top: -5px;
|
162 |
}
|
163 |
+
.ui-selectable {
|
164 |
+
-ms-touch-action: none;
|
165 |
+
touch-action: none;
|
166 |
+
}
|
167 |
.ui-selectable-helper {
|
168 |
position: absolute;
|
169 |
z-index: 100;
|
170 |
border: 1px dotted black;
|
171 |
}
|
172 |
+
.ui-sortable-handle {
|
173 |
+
-ms-touch-action: none;
|
174 |
+
touch-action: none;
|
175 |
+
}
|
176 |
.ui-accordion .ui-accordion-header {
|
177 |
display: block;
|
178 |
cursor: pointer;
|
179 |
position: relative;
|
180 |
+
margin: 2px 0 0 0;
|
181 |
padding: .5em .5em .5em .7em;
|
182 |
min-height: 0; /* support: IE7 */
|
183 |
+
font-size: 100%;
|
184 |
}
|
185 |
.ui-accordion .ui-accordion-icons {
|
186 |
padding-left: 2.2em;
|
187 |
}
|
|
|
|
|
|
|
188 |
.ui-accordion .ui-accordion-icons .ui-accordion-icons {
|
189 |
padding-left: 2.2em;
|
190 |
}
|
536 |
}
|
537 |
.ui-menu {
|
538 |
list-style: none;
|
539 |
+
padding: 0;
|
540 |
margin: 0;
|
541 |
display: block;
|
542 |
outline: none;
|
543 |
}
|
544 |
.ui-menu .ui-menu {
|
|
|
545 |
position: absolute;
|
546 |
}
|
547 |
.ui-menu .ui-menu-item {
|
548 |
+
position: relative;
|
549 |
margin: 0;
|
550 |
+
padding: 3px 1em 3px .4em;
|
551 |
+
cursor: pointer;
|
552 |
+
min-height: 0; /* support: IE7 */
|
553 |
/* support: IE10, see #8844 */
|
554 |
+
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
|
555 |
}
|
556 |
.ui-menu .ui-menu-divider {
|
557 |
+
margin: 5px 0;
|
558 |
height: 0;
|
559 |
font-size: 0;
|
560 |
line-height: 0;
|
561 |
border-width: 1px 0 0 0;
|
562 |
}
|
563 |
+
.ui-menu .ui-state-focus,
|
564 |
+
.ui-menu .ui-state-active {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
565 |
margin: -1px;
|
566 |
}
|
567 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
568 |
/* icon support */
|
569 |
.ui-menu-icons {
|
570 |
position: relative;
|
571 |
}
|
572 |
+
.ui-menu-icons .ui-menu-item {
|
|
|
573 |
padding-left: 2em;
|
574 |
}
|
575 |
|
576 |
/* left-aligned */
|
577 |
.ui-menu .ui-icon {
|
578 |
position: absolute;
|
579 |
+
top: 0;
|
580 |
+
bottom: 0;
|
581 |
left: .2em;
|
582 |
+
margin: auto 0;
|
583 |
}
|
584 |
|
585 |
/* right-aligned */
|
586 |
.ui-menu .ui-menu-icon {
|
587 |
+
left: auto;
|
588 |
+
right: 0;
|
589 |
}
|
590 |
.ui-progressbar {
|
591 |
height: 2em;
|
605 |
.ui-progressbar-indeterminate .ui-progressbar-value {
|
606 |
background-image: none;
|
607 |
}
|
608 |
+
.ui-selectmenu-menu {
|
609 |
+
padding: 0;
|
610 |
+
margin: 0;
|
611 |
+
position: absolute;
|
612 |
+
top: 0;
|
613 |
+
left: 0;
|
614 |
+
display: none;
|
615 |
+
}
|
616 |
+
.ui-selectmenu-menu .ui-menu {
|
617 |
+
overflow: auto;
|
618 |
+
/* Support: IE7 */
|
619 |
+
overflow-x: hidden;
|
620 |
+
padding-bottom: 1px;
|
621 |
+
}
|
622 |
+
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
|
623 |
+
font-size: 1em;
|
624 |
+
font-weight: bold;
|
625 |
+
line-height: 1.5;
|
626 |
+
padding: 2px 0.4em;
|
627 |
+
margin: 0.5em 0 0 0;
|
628 |
+
height: auto;
|
629 |
+
border: 0;
|
630 |
+
}
|
631 |
+
.ui-selectmenu-open {
|
632 |
+
display: block;
|
633 |
+
}
|
634 |
+
.ui-selectmenu-button {
|
635 |
+
display: inline-block;
|
636 |
+
overflow: hidden;
|
637 |
+
position: relative;
|
638 |
+
text-decoration: none;
|
639 |
+
cursor: pointer;
|
640 |
+
}
|
641 |
+
.ui-selectmenu-button span.ui-icon {
|
642 |
+
right: 0.5em;
|
643 |
+
left: auto;
|
644 |
+
margin-top: -8px;
|
645 |
+
position: absolute;
|
646 |
+
top: 50%;
|
647 |
+
}
|
648 |
+
.ui-selectmenu-button span.ui-selectmenu-text {
|
649 |
+
text-align: left;
|
650 |
+
padding: 0.4em 2.1em 0.4em 1em;
|
651 |
+
display: block;
|
652 |
+
line-height: 1.4;
|
653 |
+
overflow: hidden;
|
654 |
+
text-overflow: ellipsis;
|
655 |
+
white-space: nowrap;
|
656 |
+
}
|
657 |
.ui-slider {
|
658 |
position: relative;
|
659 |
text-align: left;
|
664 |
width: 1.2em;
|
665 |
height: 1.2em;
|
666 |
cursor: default;
|
667 |
+
-ms-touch-action: none;
|
668 |
+
touch-action: none;
|
669 |
}
|
670 |
.ui-slider .ui-slider-range {
|
671 |
position: absolute;
|
774 |
/* need to fix icons sprite */
|
775 |
background-position: -65px -16px;
|
776 |
}
|
777 |
+
|
778 |
+
/*
|
779 |
+
* jQuery UI Tabs 1.8.16
|
780 |
+
*
|
781 |
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
782 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
783 |
+
* http://jquery.org/license
|
784 |
+
*
|
785 |
+
* http://docs.jquery.com/UI/Tabs#theming
|
786 |
+
*/
|
787 |
+
.ui-tabs { position: relative; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
788 |
+
.ui-tabs .ui-tabs-nav { margin: 0; padding:0; }
|
789 |
+
|
790 |
+
.ui-tabs .ui-tabs-nav li {
|
791 |
+
list-style: none;
|
792 |
+
float: left;
|
793 |
+
width: auto;
|
794 |
+
position: relative;
|
795 |
+
top: 1px;
|
796 |
+
margin: 0;
|
797 |
+
border-bottom: 0 !important;
|
798 |
+
padding: 0;
|
799 |
white-space: nowrap;
|
800 |
+
padding-right:3px;
|
801 |
}
|
802 |
+
|
803 |
+
.ui-tabs .ui-tabs-nav li a {
|
804 |
float: left;
|
805 |
+
font-weight: bold;
|
806 |
+
padding:0 15px;
|
807 |
+
line-height:30px;
|
808 |
+
height:30px;
|
809 |
text-decoration: none;
|
810 |
+
border:1px solid #DDD;
|
811 |
+
/*-moz-border-radius:5px 5px 0 0;
|
812 |
+
-webkit-border-radius:5px 5px 0 0;
|
813 |
+
border-radius:5px 5px 0 0;*/
|
814 |
+
border-bottom:0 none;
|
815 |
+
background: #DDD;
|
816 |
+
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FFFFFF), to(#ececec));
|
817 |
+
background: -moz-linear-gradient(#FFFFFF, #ececec);
|
818 |
+
background: linear-gradient(#FFFFFF, #ececec);
|
819 |
+
-pie-background: linear-gradient(#FFFFFF, #ececec);
|
820 |
+
color:#666666;
|
821 |
}
|
822 |
+
|
823 |
+
.ui-tabs .ui-tabs-nav li a:hover {
|
824 |
+
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ececec), to(#FFFFFF));
|
825 |
+
background: -moz-linear-gradient(#ececec, #FFFFFF);
|
826 |
+
background: linear-gradient(#ececec, #FFFFFF);
|
827 |
+
-pie-background: linear-gradient(#ececec, #FFFFFF);
|
|
|
|
|
828 |
}
|
829 |
+
|
830 |
+
.ui-tabs .ui-tabs-nav li.ui-state-active a {
|
831 |
+
border-bottom:1px solid #FFF;
|
832 |
+
background:#FFF;
|
833 |
}
|
834 |
+
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
835 |
+
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
836 |
+
|
837 |
+
.ui-tabs .ui-tabs-panel {
|
838 |
+
/*float:left;*/
|
839 |
display: block;
|
840 |
border-width: 0;
|
841 |
+
padding: 10px;
|
842 |
+
/*width: 96%;*/
|
843 |
+
border:1px solid #DDD;
|
844 |
+
-moz-border-radius:0 5px 5px 5px;
|
845 |
+
-webkit-border-radius:0 5px 5px 5px;
|
846 |
+
border-radius:0 5px 5px 5px;
|
847 |
+
background: none;
|
848 |
+
margin-bottom: 5px;
|
849 |
+
background: #FFFFFF;
|
850 |
}
|
851 |
+
|
852 |
+
.ui-tabs .ui-tabs-hide { display: none !important; }
|
853 |
+
|
854 |
.ui-tooltip {
|
855 |
padding: 8px;
|
856 |
position: absolute;
|
865 |
|
866 |
/* Component containers
|
867 |
----------------------------------*/
|
868 |
+
.ui-widget {
|
869 |
font-family: Verdana,Arial,sans-serif;
|
870 |
font-size: 1.1em;
|
871 |
}
|
872 |
+
.ui-widget .ui-widget {
|
873 |
font-size: 1em;
|
874 |
}
|
875 |
+
.ui-widget input,
|
876 |
+
.ui-widget select,
|
877 |
+
.ui-widget textarea,
|
878 |
+
.ui-widget button {
|
879 |
font-family: Verdana,Arial,sans-serif;
|
880 |
font-size: 1em;
|
881 |
}
|
882 |
+
.ui-widget-content {
|
883 |
+
/* border: 1px solid #aaaaaa; */
|
884 |
+
/* background: #ffffff url("../images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x; */
|
885 |
color: #222222;
|
886 |
}
|
887 |
+
.ui-widget-content a {
|
888 |
color: #222222;
|
889 |
}
|
890 |
+
.ui-widget-header {
|
891 |
+
/* border: 1px solid #aaaaaa; */
|
892 |
+
/* background: #cccccc url("../images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x; */
|
893 |
color: #222222;
|
894 |
font-weight: bold;
|
895 |
}
|
896 |
+
.ui-widget-header a {
|
897 |
color: #222222;
|
898 |
}
|
899 |
|
900 |
/* Interaction states
|
901 |
----------------------------------*/
|
902 |
+
.ui-state-default,
|
903 |
+
.ui-widget-content .ui-state-default,
|
904 |
+
.ui-widget-header .ui-state-default {
|
905 |
+
/* border: 1px solid #d3d3d3; */
|
906 |
+
/* background: #e6e6e6 url("../images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x; */
|
907 |
font-weight: normal;
|
908 |
color: #555555;
|
909 |
}
|
910 |
+
.ui-state-default a,
|
911 |
+
.ui-state-default a:link,
|
912 |
+
.ui-state-default a:visited {
|
913 |
color: #555555;
|
914 |
text-decoration: none;
|
915 |
}
|
916 |
+
.ui-state-hover,
|
917 |
+
.ui-widget-content .ui-state-hover,
|
918 |
+
.ui-widget-header .ui-state-hover,
|
919 |
+
.ui-state-focus,
|
920 |
+
.ui-widget-content .ui-state-focus,
|
921 |
+
.ui-widget-header .ui-state-focus {
|
922 |
+
/* border: 1px solid #999999; */
|
923 |
+
/* background: #dadada url("../images/jquery-ui/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x; */
|
924 |
font-weight: normal;
|
925 |
color: #212121;
|
926 |
}
|
927 |
+
.ui-state-hover a,
|
928 |
+
.ui-state-hover a:hover,
|
929 |
+
.ui-state-hover a:link,
|
930 |
+
.ui-state-hover a:visited,
|
931 |
+
.ui-state-focus a,
|
932 |
+
.ui-state-focus a:hover,
|
933 |
+
.ui-state-focus a:link,
|
934 |
+
.ui-state-focus a:visited {
|
935 |
color: #212121;
|
936 |
text-decoration: none;
|
937 |
}
|
938 |
+
.ui-state-active,
|
939 |
+
.ui-widget-content .ui-state-active,
|
940 |
+
.ui-widget-header .ui-state-active {
|
941 |
+
/* border: 1px solid #aaaaaa; */
|
942 |
+
/* background: #ffffff url("../images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x; */
|
943 |
font-weight: normal;
|
944 |
color: #212121;
|
945 |
}
|
946 |
+
.ui-state-active a,
|
947 |
+
.ui-state-active a:link,
|
948 |
+
.ui-state-active a:visited {
|
949 |
color: #212121;
|
950 |
text-decoration: none;
|
951 |
}
|
952 |
|
953 |
/* Interaction Cues
|
954 |
----------------------------------*/
|
955 |
+
.ui-state-highlight,
|
956 |
+
.ui-widget-content .ui-state-highlight,
|
957 |
+
.ui-widget-header .ui-state-highlight {
|
958 |
border: 1px solid #fcefa1;
|
959 |
+
background: #fbf9ee url("../images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;
|
960 |
color: #363636;
|
961 |
}
|
962 |
+
.ui-state-highlight a,
|
963 |
+
.ui-widget-content .ui-state-highlight a,
|
964 |
+
.ui-widget-header .ui-state-highlight a {
|
965 |
color: #363636;
|
966 |
}
|
967 |
+
.ui-state-error,
|
968 |
+
.ui-widget-content .ui-state-error,
|
969 |
+
.ui-widget-header .ui-state-error {
|
970 |
border: 1px solid #cd0a0a;
|
971 |
+
background: #fef1ec url("../images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;
|
972 |
color: #cd0a0a;
|
973 |
}
|
974 |
+
.ui-state-error a,
|
975 |
+
.ui-widget-content .ui-state-error a,
|
976 |
+
.ui-widget-header .ui-state-error a {
|
977 |
color: #cd0a0a;
|
978 |
}
|
979 |
+
.ui-state-error-text,
|
980 |
+
.ui-widget-content .ui-state-error-text,
|
981 |
+
.ui-widget-header .ui-state-error-text {
|
982 |
color: #cd0a0a;
|
983 |
}
|
984 |
+
.ui-priority-primary,
|
985 |
+
.ui-widget-content .ui-priority-primary,
|
986 |
+
.ui-widget-header .ui-priority-primary {
|
987 |
font-weight: bold;
|
988 |
}
|
989 |
+
.ui-priority-secondary,
|
990 |
+
.ui-widget-content .ui-priority-secondary,
|
991 |
+
.ui-widget-header .ui-priority-secondary {
|
992 |
opacity: .7;
|
993 |
filter:Alpha(Opacity=70);
|
994 |
font-weight: normal;
|
995 |
}
|
996 |
+
.ui-state-disabled,
|
997 |
+
.ui-widget-content .ui-state-disabled,
|
998 |
+
.ui-widget-header .ui-state-disabled {
|
999 |
opacity: .35;
|
1000 |
filter:Alpha(Opacity=35);
|
1001 |
background-image: none;
|
1002 |
}
|
1003 |
+
.ui-state-disabled .ui-icon {
|
1004 |
filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
|
1005 |
}
|
1006 |
|
1008 |
----------------------------------*/
|
1009 |
|
1010 |
/* states and images */
|
1011 |
+
.ui-icon {
|
1012 |
width: 16px;
|
1013 |
height: 16px;
|
1014 |
}
|
1015 |
+
.ui-icon,
|
1016 |
+
.ui-widget-content .ui-icon {
|
1017 |
+
background-image: url("../images/jquery-ui/ui-icons_222222_256x240.png");
|
1018 |
}
|
1019 |
+
.ui-widget-header .ui-icon {
|
1020 |
+
background-image: url("../images/jquery-ui/ui-icons_222222_256x240.png");
|
1021 |
}
|
1022 |
+
.ui-state-default .ui-icon {
|
1023 |
+
background-image: url("../images/jquery-ui/ui-icons_888888_256x240.png");
|
1024 |
}
|
1025 |
+
.ui-state-hover .ui-icon,
|
1026 |
+
.ui-state-focus .ui-icon {
|
1027 |
+
background-image: url("../images/jquery-ui/ui-icons_454545_256x240.png");
|
1028 |
}
|
1029 |
+
.ui-state-active .ui-icon {
|
1030 |
+
background-image: url("../images/jquery-ui/ui-icons_454545_256x240.png");
|
1031 |
}
|
1032 |
+
.ui-state-highlight .ui-icon {
|
1033 |
+
background-image: url("../images/jquery-ui/ui-icons_2e83ff_256x240.png");
|
1034 |
}
|
1035 |
+
.ui-state-error .ui-icon,
|
1036 |
+
.ui-state-error-text .ui-icon {
|
1037 |
+
background-image: url("../images/jquery-ui/ui-icons_cd0a0a_256x240.png");
|
1038 |
}
|
1039 |
|
1040 |
/* positioning */
|
1041 |
+
.ui-icon-blank { background-position: 16px 16px; }
|
1042 |
+
.ui-icon-carat-1-n { background-position: 0 0; }
|
1043 |
+
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
1044 |
+
.ui-icon-carat-1-e { background-position: -32px 0; }
|
1045 |
+
.ui-icon-carat-1-se { background-position: -48px 0; }
|
1046 |
+
.ui-icon-carat-1-s { background-position: -64px 0; }
|
1047 |
+
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
1048 |
+
.ui-icon-carat-1-w { background-position: -96px 0; }
|
1049 |
+
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
1050 |
+
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
1051 |
+
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
1052 |
+
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
1053 |
+
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
1054 |
+
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
1055 |
+
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
1056 |
+
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
1057 |
+
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
1058 |
+
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
1059 |
+
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
1060 |
+
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
1061 |
+
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
1062 |
+
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
1063 |
+
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
1064 |
+
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
1065 |
+
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
1066 |
+
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
1067 |
+
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
1068 |
+
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
1069 |
+
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
1070 |
+
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
1071 |
+
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
1072 |
+
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
1073 |
+
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
1074 |
+
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
1075 |
+
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
1076 |
+
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
1077 |
+
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
1078 |
+
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
1079 |
+
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
1080 |
+
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
1081 |
+
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
1082 |
+
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
1083 |
+
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
1084 |
+
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
1085 |
+
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
1086 |
+
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
1087 |
+
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
1088 |
+
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
1089 |
+
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
1090 |
+
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
1091 |
+
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
1092 |
+
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
1093 |
+
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
1094 |
+
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
1095 |
+
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
1096 |
+
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
1097 |
+
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
1098 |
+
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
1099 |
+
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
1100 |
+
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
1101 |
+
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
1102 |
+
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
1103 |
+
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
1104 |
+
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
1105 |
+
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
1106 |
+
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
1107 |
+
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
1108 |
+
.ui-icon-extlink { background-position: -32px -80px; }
|
1109 |
+
.ui-icon-newwin { background-position: -48px -80px; }
|
1110 |
+
.ui-icon-refresh { background-position: -64px -80px; }
|
1111 |
+
.ui-icon-shuffle { background-position: -80px -80px; }
|
1112 |
+
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
1113 |
+
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
1114 |
+
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
1115 |
+
.ui-icon-folder-open { background-position: -16px -96px; }
|
1116 |
+
.ui-icon-document { background-position: -32px -96px; }
|
1117 |
+
.ui-icon-document-b { background-position: -48px -96px; }
|
1118 |
+
.ui-icon-note { background-position: -64px -96px; }
|
1119 |
+
.ui-icon-mail-closed { background-position: -80px -96px; }
|
1120 |
+
.ui-icon-mail-open { background-position: -96px -96px; }
|
1121 |
+
.ui-icon-suitcase { background-position: -112px -96px; }
|
1122 |
+
.ui-icon-comment { background-position: -128px -96px; }
|
1123 |
+
.ui-icon-person { background-position: -144px -96px; }
|
1124 |
+
.ui-icon-print { background-position: -160px -96px; }
|
1125 |
+
.ui-icon-trash { background-position: -176px -96px; }
|
1126 |
+
.ui-icon-locked { background-position: -192px -96px; }
|
1127 |
+
.ui-icon-unlocked { background-position: -208px -96px; }
|
1128 |
+
.ui-icon-bookmark { background-position: -224px -96px; }
|
1129 |
+
.ui-icon-tag { background-position: -240px -96px; }
|
1130 |
+
.ui-icon-home { background-position: 0 -112px; }
|
1131 |
+
.ui-icon-flag { background-position: -16px -112px; }
|
1132 |
+
.ui-icon-calendar { background-position: -32px -112px; }
|
1133 |
+
.ui-icon-cart { background-position: -48px -112px; }
|
1134 |
+
.ui-icon-pencil { background-position: -64px -112px; }
|
1135 |
+
.ui-icon-clock { background-position: -80px -112px; }
|
1136 |
+
.ui-icon-disk { background-position: -96px -112px; }
|
1137 |
+
.ui-icon-calculator { background-position: -112px -112px; }
|
1138 |
+
.ui-icon-zoomin { background-position: -128px -112px; }
|
1139 |
+
.ui-icon-zoomout { background-position: -144px -112px; }
|
1140 |
+
.ui-icon-search { background-position: -160px -112px; }
|
1141 |
+
.ui-icon-wrench { background-position: -176px -112px; }
|
1142 |
+
.ui-icon-gear { background-position: -192px -112px; }
|
1143 |
+
.ui-icon-heart { background-position: -208px -112px; }
|
1144 |
+
.ui-icon-star { background-position: -224px -112px; }
|
1145 |
+
.ui-icon-link { background-position: -240px -112px; }
|
1146 |
+
.ui-icon-cancel { background-position: 0 -128px; }
|
1147 |
+
.ui-icon-plus { background-position: -16px -128px; }
|
1148 |
+
.ui-icon-plusthick { background-position: -32px -128px; }
|
1149 |
+
.ui-icon-minus { background-position: -48px -128px; }
|
1150 |
+
.ui-icon-minusthick { background-position: -64px -128px; }
|
1151 |
+
.ui-icon-close { background-position: -80px -128px; }
|
1152 |
+
.ui-icon-closethick { background-position: -96px -128px; }
|
1153 |
+
.ui-icon-key { background-position: -112px -128px; }
|
1154 |
+
.ui-icon-lightbulb { background-position: -128px -128px; }
|
1155 |
+
.ui-icon-scissors { background-position: -144px -128px; }
|
1156 |
+
.ui-icon-clipboard { background-position: -160px -128px; }
|
1157 |
+
.ui-icon-copy { background-position: -176px -128px; }
|
1158 |
+
.ui-icon-contact { background-position: -192px -128px; }
|
1159 |
+
.ui-icon-image { background-position: -208px -128px; }
|
1160 |
+
.ui-icon-video { background-position: -224px -128px; }
|
1161 |
+
.ui-icon-script { background-position: -240px -128px; }
|
1162 |
+
.ui-icon-alert { background-position: 0 -144px; }
|
1163 |
+
.ui-icon-info { background-position: -16px -144px; }
|
1164 |
+
.ui-icon-notice { background-position: -32px -144px; }
|
1165 |
+
.ui-icon-help { background-position: -48px -144px; }
|
1166 |
+
.ui-icon-check { background-position: -64px -144px; }
|
1167 |
+
.ui-icon-bullet { background-position: -80px -144px; }
|
1168 |
+
.ui-icon-radio-on { background-position: -96px -144px; }
|
1169 |
+
.ui-icon-radio-off { background-position: -112px -144px; }
|
1170 |
+
.ui-icon-pin-w { background-position: -128px -144px; }
|
1171 |
+
.ui-icon-pin-s { background-position: -144px -144px; }
|
1172 |
+
.ui-icon-play { background-position: 0 -160px; }
|
1173 |
+
.ui-icon-pause { background-position: -16px -160px; }
|
1174 |
+
.ui-icon-seek-next { background-position: -32px -160px; }
|
1175 |
+
.ui-icon-seek-prev { background-position: -48px -160px; }
|
1176 |
+
.ui-icon-seek-end { background-position: -64px -160px; }
|
1177 |
+
.ui-icon-seek-start { background-position: -80px -160px; }
|
1178 |
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
1179 |
+
.ui-icon-seek-first { background-position: -80px -160px; }
|
1180 |
+
.ui-icon-stop { background-position: -96px -160px; }
|
1181 |
+
.ui-icon-eject { background-position: -112px -160px; }
|
1182 |
+
.ui-icon-volume-off { background-position: -128px -160px; }
|
1183 |
+
.ui-icon-volume-on { background-position: -144px -160px; }
|
1184 |
+
.ui-icon-power { background-position: 0 -176px; }
|
1185 |
+
.ui-icon-signal-diag { background-position: -16px -176px; }
|
1186 |
+
.ui-icon-signal { background-position: -32px -176px; }
|
1187 |
+
.ui-icon-battery-0 { background-position: -48px -176px; }
|
1188 |
+
.ui-icon-battery-1 { background-position: -64px -176px; }
|
1189 |
+
.ui-icon-battery-2 { background-position: -80px -176px; }
|
1190 |
+
.ui-icon-battery-3 { background-position: -96px -176px; }
|
1191 |
+
.ui-icon-circle-plus { background-position: 0 -192px; }
|
1192 |
+
.ui-icon-circle-minus { background-position: -16px -192px; }
|
1193 |
+
.ui-icon-circle-close { background-position: -32px -192px; }
|
1194 |
+
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
1195 |
+
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
1196 |
+
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
1197 |
+
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
1198 |
+
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
1199 |
+
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
1200 |
+
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
1201 |
+
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
1202 |
+
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
1203 |
+
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
1204 |
+
.ui-icon-circle-check { background-position: -208px -192px; }
|
1205 |
+
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
1206 |
+
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
1207 |
+
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
1208 |
+
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
1209 |
+
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
1210 |
+
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
1211 |
+
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
1212 |
+
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
1213 |
+
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
1214 |
+
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
1215 |
+
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
1216 |
+
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
1217 |
|
1218 |
|
1219 |
/* Misc visuals
|
1220 |
----------------------------------*/
|
1221 |
|
1222 |
/* Corner radius */
|
1223 |
+
.ui-corner-all,
|
1224 |
+
.ui-corner-top,
|
1225 |
+
.ui-corner-left,
|
1226 |
+
.ui-corner-tl {
|
1227 |
border-top-left-radius: 4px;
|
1228 |
}
|
1229 |
+
.ui-corner-all,
|
1230 |
+
.ui-corner-top,
|
1231 |
+
.ui-corner-right,
|
1232 |
+
.ui-corner-tr {
|
1233 |
border-top-right-radius: 4px;
|
1234 |
}
|
1235 |
+
.ui-corner-all,
|
1236 |
+
.ui-corner-bottom,
|
1237 |
+
.ui-corner-left,
|
1238 |
+
.ui-corner-bl {
|
1239 |
border-bottom-left-radius: 4px;
|
1240 |
}
|
1241 |
+
.ui-corner-all,
|
1242 |
+
.ui-corner-bottom,
|
1243 |
+
.ui-corner-right,
|
1244 |
+
.ui-corner-br {
|
1245 |
border-bottom-right-radius: 4px;
|
1246 |
}
|
1247 |
|
1248 |
/* Overlays */
|
1249 |
+
.ui-widget-overlay {
|
1250 |
+
background: #aaaaaa url("../images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;
|
1251 |
opacity: .3;
|
1252 |
filter: Alpha(Opacity=30);
|
1253 |
}
|
1254 |
+
.ui-widget-shadow {
|
1255 |
margin: -8px 0 0 -8px;
|
1256 |
padding: 8px;
|
1257 |
+
background: #aaaaaa url("../images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;
|
1258 |
opacity: .3;
|
1259 |
filter: Alpha(Opacity=30);
|
1260 |
border-radius: 8px;
|
helpers/db.php
CHANGED
@@ -147,9 +147,23 @@ class GalleryDbHelper extends GalleryPlugin {
|
|
147 |
$r = wp_parse_args($data, $defaults);
|
148 |
$this -> data = (object) $r;
|
149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
if ($validate == true) {
|
151 |
if (method_exists($this, 'validate')) {
|
152 |
-
$this -> validate($
|
153 |
}
|
154 |
}
|
155 |
|
147 |
$r = wp_parse_args($data, $defaults);
|
148 |
$this -> data = (object) $r;
|
149 |
|
150 |
+
switch ($this -> model) {
|
151 |
+
case 'Slide' :
|
152 |
+
if ($this -> language_do()) {
|
153 |
+
$this -> data -> title = qtrans_join($this -> data -> title);
|
154 |
+
$this -> data -> description = qtrans_join($this -> data -> description);
|
155 |
+
}
|
156 |
+
break;
|
157 |
+
case 'Gallery' :
|
158 |
+
if ($this -> language_do()) {
|
159 |
+
$this -> data -> title = qtrans_join($this -> data -> title);
|
160 |
+
}
|
161 |
+
break;
|
162 |
+
}
|
163 |
+
|
164 |
if ($validate == true) {
|
165 |
if (method_exists($this, 'validate')) {
|
166 |
+
$this -> validate((array) $this -> data);
|
167 |
}
|
168 |
}
|
169 |
|
helpers/html.php
CHANGED
@@ -106,6 +106,11 @@ class GalleryHtmlHelper extends GalleryPlugin {
|
|
106 |
|
107 |
$src = bfi_thumb($image, $params);
|
108 |
|
|
|
|
|
|
|
|
|
|
|
109 |
$tt_image = '<img src="' . $src . '" />';
|
110 |
return $tt_image;
|
111 |
}
|
@@ -122,6 +127,11 @@ class GalleryHtmlHelper extends GalleryPlugin {
|
|
122 |
|
123 |
$src = bfi_thumb($image, $params);
|
124 |
|
|
|
|
|
|
|
|
|
|
|
125 |
$tt_image = $src;
|
126 |
return $tt_image;
|
127 |
}
|
@@ -237,14 +247,14 @@ class GalleryHtmlHelper extends GalleryPlugin {
|
|
237 |
return preg_replace("/\?(\&)?/si", "?", $url);
|
238 |
}
|
239 |
|
240 |
-
function strip_ext($filename =
|
241 |
if (!empty($filename)) {
|
242 |
-
$extArray =
|
243 |
|
244 |
if ($return == 'ext') {
|
245 |
$p = count($extArray) - 1;
|
246 |
$extension = $extArray[$p];
|
247 |
-
return $extension;
|
248 |
} else {
|
249 |
$p = count($extArray) - 2;
|
250 |
$filename = $extArray[$p];
|
@@ -255,7 +265,7 @@ class GalleryHtmlHelper extends GalleryPlugin {
|
|
255 |
return false;
|
256 |
}
|
257 |
|
258 |
-
function strip_mn($name =
|
259 |
if (!empty($name)) {
|
260 |
if (preg_match("/^(.*?)\.(.*?)$/si", $name, $matches)) {
|
261 |
return $matches;
|
106 |
|
107 |
$src = bfi_thumb($image, $params);
|
108 |
|
109 |
+
$oldimagename = basename($src);
|
110 |
+
$name = $this -> strip_ext($oldimagename, 'name');
|
111 |
+
$imagename = $name . '.' . $this -> strip_ext($oldimagename, 'ext');
|
112 |
+
$src = str_replace($oldimagename, $imagename, $src);
|
113 |
+
|
114 |
$tt_image = '<img src="' . $src . '" />';
|
115 |
return $tt_image;
|
116 |
}
|
127 |
|
128 |
$src = bfi_thumb($image, $params);
|
129 |
|
130 |
+
$oldimagename = basename($src);
|
131 |
+
$name = $this -> strip_ext($oldimagename, 'name');
|
132 |
+
$imagename = $name . '.' . $this -> strip_ext($oldimagename, 'ext');
|
133 |
+
$src = str_replace($oldimagename, $imagename, $src);
|
134 |
+
|
135 |
$tt_image = $src;
|
136 |
return $tt_image;
|
137 |
}
|
247 |
return preg_replace("/\?(\&)?/si", "?", $url);
|
248 |
}
|
249 |
|
250 |
+
function strip_ext($filename = null, $return = 'ext') {
|
251 |
if (!empty($filename)) {
|
252 |
+
$extArray = preg_split("/[\.]/", $filename);
|
253 |
|
254 |
if ($return == 'ext') {
|
255 |
$p = count($extArray) - 1;
|
256 |
$extension = $extArray[$p];
|
257 |
+
return strtolower($extension);
|
258 |
} else {
|
259 |
$p = count($extArray) - 2;
|
260 |
$filename = $extArray[$p];
|
265 |
return false;
|
266 |
}
|
267 |
|
268 |
+
function strip_mn($name = null) {
|
269 |
if (!empty($name)) {
|
270 |
if (preg_match("/^(.*?)\.(.*?)$/si", $name, $matches)) {
|
271 |
return $matches;
|
images/about/feature-1.jpg
ADDED
Binary file
|
images/about/feature-2.jpg
ADDED
Binary file
|
images/about/feature-3.jpg
ADDED
Binary file
|
images/about/feature-4.jpg
ADDED
Binary file
|
images/about/feature-5.jpg
ADDED
Binary file
|
js/tinymce/dialog.php
CHANGED
@@ -143,7 +143,7 @@ $checkout_active = is_plugin_active('wp-checkout' . DS . 'wp-checkout.php');
|
|
143 |
<?php if (!empty($galleries)) : ?>
|
144 |
<?php foreach ($galleries as $gallery) : ?>
|
145 |
<?php $slidescount = $wpdb -> get_var("SELECT COUNT(`id`) FROM `" . $wpdb -> prefix . "gallery_galleriesslides` WHERE `gallery_id` = '" . $gallery -> id . "'"); ?>
|
146 |
-
<option value="<?php echo $gallery -> id; ?>"><?php echo $gallery -> title; ?> (<?php echo $slidescount; ?>)</option>
|
147 |
<?php endforeach; ?>
|
148 |
<?php endif; ?>
|
149 |
</select>
|
143 |
<?php if (!empty($galleries)) : ?>
|
144 |
<?php foreach ($galleries as $gallery) : ?>
|
145 |
<?php $slidescount = $wpdb -> get_var("SELECT COUNT(`id`) FROM `" . $wpdb -> prefix . "gallery_galleriesslides` WHERE `gallery_id` = '" . $gallery -> id . "'"); ?>
|
146 |
+
<option value="<?php echo $gallery -> id; ?>"><?php echo __($gallery -> title); ?> (<?php echo $slidescount; ?>)</option>
|
147 |
<?php endforeach; ?>
|
148 |
<?php endif; ?>
|
149 |
</select>
|
models/gallery.php
CHANGED
@@ -51,7 +51,7 @@ class GalleryGallery extends GalleryDbHelper {
|
|
51 |
|
52 |
if ($galleries = $this -> find_all()) {
|
53 |
foreach ($galleries as $gallery) {
|
54 |
-
$select[$gallery -> id] = $gallery -> title;
|
55 |
}
|
56 |
}
|
57 |
|
51 |
|
52 |
if ($galleries = $this -> find_all()) {
|
53 |
foreach ($galleries as $gallery) {
|
54 |
+
$select[$gallery -> id] = __($gallery -> title);
|
55 |
}
|
56 |
}
|
57 |
|
models/slide.php
CHANGED
@@ -113,6 +113,10 @@ class GallerySlide extends GalleryDbHelper {
|
|
113 |
} else {
|
114 |
if ($_FILES['image_file']['error'] <= 0) {
|
115 |
$imagename = $_FILES['image_file']['name'];
|
|
|
|
|
|
|
|
|
116 |
$imagepath = GalleryHtmlHelper::uploads_path() . DS . 'slideshow-gallery' . DS;
|
117 |
$imagefull = $imagepath . $imagename;
|
118 |
|
@@ -153,9 +157,11 @@ class GallerySlide extends GalleryDbHelper {
|
|
153 |
} elseif ($type == "url") {
|
154 |
if (empty($image_url)) { $this -> errors['image_url'] = __('Please specify an image', $this -> plugin_name); }
|
155 |
else {
|
156 |
-
if ($image = wp_remote_fopen($image_url)) {
|
157 |
$filename = basename($image_url);
|
158 |
-
|
|
|
|
|
159 |
$filepath = GalleryHtmlHelper::uploads_path() . DS . $this -> plugin_name . DS;
|
160 |
$filefull = $filepath . $filename;
|
161 |
|
113 |
} else {
|
114 |
if ($_FILES['image_file']['error'] <= 0) {
|
115 |
$imagename = $_FILES['image_file']['name'];
|
116 |
+
$image_name = GalleryHtmlHelper::strip_ext($imagename, "name");
|
117 |
+
$image_ext = GalleryHtmlHelper::strip_ext($imagename, "ext");
|
118 |
+
$imagename = GalleryHtmlHelper::sanitize($image_name) . '.' . $image_ext;
|
119 |
+
|
120 |
$imagepath = GalleryHtmlHelper::uploads_path() . DS . 'slideshow-gallery' . DS;
|
121 |
$imagefull = $imagepath . $imagename;
|
122 |
|
157 |
} elseif ($type == "url") {
|
158 |
if (empty($image_url)) { $this -> errors['image_url'] = __('Please specify an image', $this -> plugin_name); }
|
159 |
else {
|
160 |
+
if ($image = wp_remote_fopen(str_replace(" ", "%20", $image_url))) {
|
161 |
$filename = basename($image_url);
|
162 |
+
$file_name = GalleryHtmlHelper::strip_ext($filename, "name");
|
163 |
+
$file_ext = GalleryHtmlHelper::strip_ext($filename, "ext");
|
164 |
+
$filename = GalleryHtmlHelper::sanitize($file_name) . '.' . $file_ext;
|
165 |
$filepath = GalleryHtmlHelper::uploads_path() . DS . $this -> plugin_name . DS;
|
166 |
$filefull = $filepath . $filename;
|
167 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: contrid
|
|
3 |
Donate link: http://tribulant.com/
|
4 |
Tags: wordpress plugins, wordpress slideshow gallery, slides, slideshow, image gallery, images, gallery, featured content, content gallery, javascript, javascript slideshow, slideshow gallery
|
5 |
Requires at least: 3.1
|
6 |
-
Tested up to: 3.9.
|
7 |
-
Stable tag: 1.4.
|
8 |
|
9 |
Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website
|
10 |
|
@@ -122,6 +122,19 @@ There is an "Images Tester" utility under Slideshow > Configuration on the right
|
|
122 |
|
123 |
== Changelog ==
|
124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
= 1.4.4.3 =
|
126 |
* FIX: TypeError: 'null' is not an object (evaluating 'e.offsetHeight')
|
127 |
|
3 |
Donate link: http://tribulant.com/
|
4 |
Tags: wordpress plugins, wordpress slideshow gallery, slides, slideshow, image gallery, images, gallery, featured content, content gallery, javascript, javascript slideshow, slideshow gallery
|
5 |
Requires at least: 3.1
|
6 |
+
Tested up to: 3.9.2
|
7 |
+
Stable tag: 1.4.5
|
8 |
|
9 |
Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website
|
10 |
|
122 |
|
123 |
== Changelog ==
|
124 |
|
125 |
+
= 1.4.5 =
|
126 |
+
* ADD: Welcome/about screen on update
|
127 |
+
* ADD: Child theme folder support
|
128 |
+
* ADD: Multilingual with (m)qTranslate
|
129 |
+
* IMPROVE: New style for sliders in configuration
|
130 |
+
* IMPROVE: Deprecated: Function split() is deprecated
|
131 |
+
* IMPROVE: Deprecated: Function eregi() is deprecated
|
132 |
+
* FIX: Uppercase file extensions
|
133 |
+
* FIX: Image overlay/enlargement only works with no thumbnails
|
134 |
+
* FIX: Image overlay/enlargement URL wrong
|
135 |
+
* FIX: Space in file name
|
136 |
+
* FIX: Information bar is overlapped by prev/next
|
137 |
+
|
138 |
= 1.4.4.3 =
|
139 |
* FIX: TypeError: 'null' is not an object (evaluating 'e.offsetHeight')
|
140 |
|
slideshow-gallery-plugin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
class GalleryPlugin {
|
4 |
|
5 |
-
var $version = '1.4.
|
6 |
var $plugin_name;
|
7 |
var $plugin_base;
|
8 |
var $pre = 'Gallery';
|
@@ -360,6 +360,7 @@ class GalleryPlugin {
|
|
360 |
1
|
361 |
);
|
362 |
|
|
|
363 |
wp_enqueue_script('jquery-ui-tooltip');
|
364 |
wp_enqueue_script('jquery-ui-slider');
|
365 |
|
@@ -609,13 +610,123 @@ class GalleryPlugin {
|
|
609 |
return false;
|
610 |
}
|
611 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
612 |
function render($file = null, $params = array(), $output = true, $folder = 'admin') {
|
613 |
if (!empty($file)) {
|
614 |
$this -> plugin_name = 'slideshow-gallery';
|
615 |
$this -> plugin_base = rtrim(dirname(__FILE__), DS);
|
616 |
-
|
617 |
$filename = $file . '.php';
|
618 |
$filepath = $this -> plugin_base() . DS . 'views' . DS . $folder . DS;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
619 |
$filefull = $filepath . $filename;
|
620 |
|
621 |
if (file_exists($filefull)) {
|
2 |
|
3 |
class GalleryPlugin {
|
4 |
|
5 |
+
var $version = '1.4.5';
|
6 |
var $plugin_name;
|
7 |
var $plugin_base;
|
8 |
var $pre = 'Gallery';
|
360 |
1
|
361 |
);
|
362 |
|
363 |
+
wp_enqueue_script('jquery-ui-tabs');
|
364 |
wp_enqueue_script('jquery-ui-tooltip');
|
365 |
wp_enqueue_script('jquery-ui-slider');
|
366 |
|
610 |
return false;
|
611 |
}
|
612 |
|
613 |
+
function language_do() {
|
614 |
+
|
615 |
+
if ($this -> is_plugin_active('qtranslate')) {
|
616 |
+
return true;
|
617 |
+
}
|
618 |
+
|
619 |
+
return false;
|
620 |
+
}
|
621 |
+
|
622 |
+
function language_getlanguages() {
|
623 |
+
if ($this -> language_do()) {
|
624 |
+
if (function_exists('qtrans_getSortedLanguages')) {
|
625 |
+
if ($languages = qtrans_getSortedLanguages()) {
|
626 |
+
return $languages;
|
627 |
+
}
|
628 |
+
}
|
629 |
+
}
|
630 |
+
|
631 |
+
return false;
|
632 |
+
}
|
633 |
+
|
634 |
+
function language_flag($language = null) {
|
635 |
+
$flag = false;
|
636 |
+
|
637 |
+
if ($this -> language_do()) {
|
638 |
+
global $q_config;
|
639 |
+
$flag = '<img src="' . content_url() . '/' . $q_config['flag_location'] . '/' . $q_config['flag'][$language] . '" alt="' . $language . '" />';
|
640 |
+
}
|
641 |
+
|
642 |
+
return $flag;
|
643 |
+
}
|
644 |
+
|
645 |
+
function is_plugin_active($name = null, $orinactive = false) {
|
646 |
+
if (!empty($name)) {
|
647 |
+
require_once ABSPATH . 'wp-admin' . DS . 'includes' . DS . 'admin.php';
|
648 |
+
|
649 |
+
if (empty($path)) {
|
650 |
+
switch ($name) {
|
651 |
+
case 'qtranslate' :
|
652 |
+
$path = 'qtranslate' . DS . 'qtranslate.php';
|
653 |
+
break;
|
654 |
+
case 'captcha' :
|
655 |
+
$path = 'really-simple-captcha' . DS . 'really-simple-captcha.php';
|
656 |
+
break;
|
657 |
+
default :
|
658 |
+
$path = $name;
|
659 |
+
break;
|
660 |
+
}
|
661 |
+
}
|
662 |
+
|
663 |
+
$path2 = str_replace("\\", "/", $path);
|
664 |
+
|
665 |
+
if (!empty($name) && $name == "qtranslate") {
|
666 |
+
$path2 = 'mqtranslate' . DS . 'mqtranslate.php';
|
667 |
+
}
|
668 |
+
|
669 |
+
if (!empty($path)) {
|
670 |
+
$plugins = get_plugins();
|
671 |
+
|
672 |
+
if (!empty($plugins)) {
|
673 |
+
if (array_key_exists($path, $plugins) || array_key_exists($path2, $plugins)) {
|
674 |
+
/* Let's see if the plugin is installed and activated */
|
675 |
+
if (is_plugin_active(plugin_basename($path)) ||
|
676 |
+
is_plugin_active(plugin_basename($path2))) {
|
677 |
+
return true;
|
678 |
+
}
|
679 |
+
|
680 |
+
/* Maybe the plugin is installed but just not activated? */
|
681 |
+
if (!empty($orinactive) && $orinactive == true) {
|
682 |
+
if (is_plugin_inactive(plugin_basename($path)) ||
|
683 |
+
is_plugin_inactive(plugin_basename($path2))) {
|
684 |
+
return true;
|
685 |
+
}
|
686 |
+
}
|
687 |
+
}
|
688 |
+
}
|
689 |
+
}
|
690 |
+
}
|
691 |
+
|
692 |
+
return false;
|
693 |
+
}
|
694 |
+
|
695 |
+
function has_child_theme_folder() {
|
696 |
+
$theme_path = get_stylesheet_directory();
|
697 |
+
$full_path = $theme_path . DS . 'slideshow';
|
698 |
+
|
699 |
+
if (file_exists($full_path)) {
|
700 |
+
return true;
|
701 |
+
}
|
702 |
+
|
703 |
+
return false;
|
704 |
+
}
|
705 |
+
|
706 |
function render($file = null, $params = array(), $output = true, $folder = 'admin') {
|
707 |
if (!empty($file)) {
|
708 |
$this -> plugin_name = 'slideshow-gallery';
|
709 |
$this -> plugin_base = rtrim(dirname(__FILE__), DS);
|
710 |
+
$theme_serve = false;
|
711 |
$filename = $file . '.php';
|
712 |
$filepath = $this -> plugin_base() . DS . 'views' . DS . $folder . DS;
|
713 |
+
|
714 |
+
if (!empty($folder) && $folder != "admin") {
|
715 |
+
$theme_path = get_stylesheet_directory();
|
716 |
+
$full_path = $theme_path . DS . 'slideshow' . DS . $filename;
|
717 |
+
|
718 |
+
if (!empty($theme_path) && file_exists($full_path)) {
|
719 |
+
$folder = $theme_path . DS . 'slideshow';
|
720 |
+
$theme_serve = true;
|
721 |
+
}
|
722 |
+
}
|
723 |
+
|
724 |
+
if (empty($theme_serve)) {
|
725 |
+
$filepath = $this -> plugin_base() . DS . 'views' . DS . $folder . DS;
|
726 |
+
} else {
|
727 |
+
$filepath = $folder . DS;
|
728 |
+
}
|
729 |
+
|
730 |
$filefull = $filepath . $filename;
|
731 |
|
732 |
if (file_exists($filefull)) {
|
slideshow-gallery.php
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://wpgallery.tribulant.net
|
|
6 |
Author: Tribulant Software
|
7 |
Author URI: http://tribulant.com
|
8 |
Description: Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website. The slideshow is flexible and all aspects can easily be configured. Embedding or hardcoding the slideshow gallery is a breeze. To embed into a post/page, simply insert <code>[tribulant_slideshow]</code> into its content with an optional <code>post_id</code> parameter. To hardcode into any PHP file of your WordPress theme, simply use <code><?php if (function_exists('slideshow')) { slideshow($output = true, $post_id = false, $gallery_id = false, $params = array()); } ?></code>.
|
9 |
-
Version: 1.4.
|
10 |
License: GNU General Public License v2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
Tags: slideshow gallery, slideshow, gallery, slider, jquery, bfithumb, galleries, photos, images
|
@@ -42,6 +42,7 @@ if (!class_exists('Gallery')) {
|
|
42 |
$this -> add_action('wp_print_scripts', 'print_scripts');
|
43 |
$this -> add_action('admin_print_scripts', 'print_scripts');
|
44 |
$this -> add_action('init', 'init_textdomain', 10, 1);
|
|
|
45 |
|
46 |
//WordPress filter hooks
|
47 |
$this -> add_filter('mce_buttons');
|
@@ -78,6 +79,13 @@ if (!class_exists('Gallery')) {
|
|
78 |
$this -> menus['slideshow-settings'] = add_submenu_page($this -> sections -> slides, __('Configuration', $this -> plugin_name), __('Configuration', $this -> plugin_name), 'slideshow_settings', $this -> sections -> settings, array($this, 'admin_settings'));
|
79 |
|
80 |
add_action('admin_head-' . $this -> menus['slideshow-settings'], array($this, 'admin_head_gallery_settings'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}
|
82 |
|
83 |
function admin_head() {
|
@@ -545,12 +553,38 @@ if (!class_exists('Gallery')) {
|
|
545 |
break;
|
546 |
}
|
547 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
548 |
}
|
549 |
}
|
550 |
|
551 |
//initialize a Gallery object
|
552 |
$Gallery = new Gallery();
|
553 |
register_activation_hook(plugin_basename(__FILE__), array($Gallery, 'initialize_options'));
|
|
|
|
|
554 |
|
555 |
if (!function_exists('slideshow')) {
|
556 |
function slideshow($output = true, $gallery_id = null, $post_id = null, $params = array()) {
|
6 |
Author: Tribulant Software
|
7 |
Author URI: http://tribulant.com
|
8 |
Description: Feature content in a JavaScript powered slideshow gallery showcase on your WordPress website. The slideshow is flexible and all aspects can easily be configured. Embedding or hardcoding the slideshow gallery is a breeze. To embed into a post/page, simply insert <code>[tribulant_slideshow]</code> into its content with an optional <code>post_id</code> parameter. To hardcode into any PHP file of your WordPress theme, simply use <code><?php if (function_exists('slideshow')) { slideshow($output = true, $post_id = false, $gallery_id = false, $params = array()); } ?></code>.
|
9 |
+
Version: 1.4.5
|
10 |
License: GNU General Public License v2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
Tags: slideshow gallery, slideshow, gallery, slider, jquery, bfithumb, galleries, photos, images
|
42 |
$this -> add_action('wp_print_scripts', 'print_scripts');
|
43 |
$this -> add_action('admin_print_scripts', 'print_scripts');
|
44 |
$this -> add_action('init', 'init_textdomain', 10, 1);
|
45 |
+
$this -> add_action('admin_init', 'custom_redirect', 1, 1);
|
46 |
|
47 |
//WordPress filter hooks
|
48 |
$this -> add_filter('mce_buttons');
|
79 |
$this -> menus['slideshow-settings'] = add_submenu_page($this -> sections -> slides, __('Configuration', $this -> plugin_name), __('Configuration', $this -> plugin_name), 'slideshow_settings', $this -> sections -> settings, array($this, 'admin_settings'));
|
80 |
|
81 |
add_action('admin_head-' . $this -> menus['slideshow-settings'], array($this, 'admin_head_gallery_settings'));
|
82 |
+
|
83 |
+
add_dashboard_page(sprintf('Slideshow Gallery %s', $this -> version), sprintf('Slideshow Gallery %s', $this -> version), 'read', 'slideshow-gallery-about', array($this, 'slideshow_gallery_about'));
|
84 |
+
remove_submenu_page('index.php', 'slideshow-gallery-about');
|
85 |
+
}
|
86 |
+
|
87 |
+
function slideshow_gallery_about() {
|
88 |
+
$this -> render('about', false, true, 'admin');
|
89 |
}
|
90 |
|
91 |
function admin_head() {
|
553 |
break;
|
554 |
}
|
555 |
}
|
556 |
+
|
557 |
+
function update_plugin_complete_actions($upgrade_actions = null, $plugin = null) {
|
558 |
+
$this_plugin = plugin_basename(__FILE__);
|
559 |
+
|
560 |
+
if (!empty($plugin) && $plugin == $this_plugin) {
|
561 |
+
$this -> add_option('activation_redirect', true);
|
562 |
+
}
|
563 |
+
|
564 |
+
return $upgrade_actions;
|
565 |
+
}
|
566 |
+
|
567 |
+
function activation_hook() {
|
568 |
+
$this -> add_option('activation_redirect', true);
|
569 |
+
wp_redirect(admin_url('index.php') . "?page=slideshow-gallery-about");
|
570 |
+
}
|
571 |
+
|
572 |
+
function custom_redirect() {
|
573 |
+
$activation_redirect = $this -> get_option('activation_redirect');
|
574 |
+
|
575 |
+
if (is_admin() && !empty($activation_redirect)) {
|
576 |
+
$this -> delete_option('activation_redirect');
|
577 |
+
wp_redirect(admin_url('index.php') . "?page=slideshow-gallery-about");
|
578 |
+
}
|
579 |
+
}
|
580 |
}
|
581 |
}
|
582 |
|
583 |
//initialize a Gallery object
|
584 |
$Gallery = new Gallery();
|
585 |
register_activation_hook(plugin_basename(__FILE__), array($Gallery, 'initialize_options'));
|
586 |
+
register_activation_hook(plugin_basename(__FILE__), array($Gallery, 'activation_hook'));
|
587 |
+
add_filter('update_plugin_complete_actions', array($Gallery, 'update_plugin_complete_actions'), 10, 2);
|
588 |
|
589 |
if (!function_exists('slideshow')) {
|
590 |
function slideshow($output = true, $gallery_id = null, $post_id = null, $params = array()) {
|
vendors/class.paginate.php
CHANGED
@@ -120,7 +120,7 @@ class GalleryPaginate extends GalleryPlugin {
|
|
120 |
$vmatches = false;
|
121 |
}
|
122 |
} else {
|
123 |
-
if (
|
124 |
$query .= " `" . $key . "` " . $val . "";
|
125 |
$countquery .= " `" . $key . "` " . $val . "";
|
126 |
} elseif (preg_match("/SE (.*)/si", $val, $vmatches)) {
|
120 |
$vmatches = false;
|
121 |
}
|
122 |
} else {
|
123 |
+
if (preg_match("/LIKE/si", $val)) {
|
124 |
$query .= " `" . $key . "` " . $val . "";
|
125 |
$countquery .= " `" . $key . "` " . $val . "";
|
126 |
} elseif (preg_match("/SE (.*)/si", $val, $vmatches)) {
|
views/admin/about.php
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Slideshow Gallery About Dashboard v1.4.4.3
|
4 |
+
*/
|
5 |
+
|
6 |
+
/** WordPress Administration Bootstrap */
|
7 |
+
require_once( ABSPATH . 'wp-load.php' );
|
8 |
+
require_once( ABSPATH . 'wp-admin/admin.php' );
|
9 |
+
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
10 |
+
|
11 |
+
?>
|
12 |
+
|
13 |
+
<div class="wrap slideshow-gallery about-wrap">
|
14 |
+
<h1><?php echo sprintf(__( 'Welcome to Slideshow Gallery %s', $this -> plugin_name), $this -> version); ?></h1>
|
15 |
+
<div class="about-text">
|
16 |
+
<?php echo sprintf(__('Thank you for installing! Slideshow Gallery %s is more powerful, reliable and versatile than before. It includes many features and improvements.', $this -> plugin_name), $this -> version); ?>
|
17 |
+
</div>
|
18 |
+
<div class="slideshow-gallery-badge"><?php echo sprintf(__('Version %s', $this -> plugin_name), $this -> version); ?></div>
|
19 |
+
|
20 |
+
<div class="changelog">
|
21 |
+
<h3><?php _e( 'What\'s new in this release', $this -> plugin_name); ?></h3>
|
22 |
+
<div class="feature-section col three-col">
|
23 |
+
<div class="col-1">
|
24 |
+
<img src="<?php echo $this -> url(); ?>/images/about/feature-1.jpg">
|
25 |
+
<h4><?php _e('WordPress 3.9 Compatibility', $this -> plugin_name); ?></h4>
|
26 |
+
<p><?php _e('This version is 100% compatible with the latest WordPress version. It will fit nicely into your WordPress dashboard and maximizes the WordPress capabilities for speed, functionality and reliability.', $this -> plugin_name); ?></p>
|
27 |
+
</div>
|
28 |
+
<div class="col-2">
|
29 |
+
<img src="<?php echo $this -> url(); ?>/images/about/feature-2.jpg">
|
30 |
+
<h4><?php _e('Multilingual', $this -> plugin_name); ?></h4>
|
31 |
+
<p><?php _e('This version of the Slideshow Gallery plugin is fully integrated with (m)qTranslate. It now supports internationalization and multilanguage through (m)qTranslate.', $this -> plugin_name); ?></p>
|
32 |
+
<?php /* _e('Easier Editing Tools', $this -> plugin_name); ?></h4>
|
33 |
+
<p><?php _e('Improved visual editing of themes and several other areas throughout the plugin to help you see better what the end-product will look like without having to necessarily go into code.', $this -> plugin_name); */?></p>
|
34 |
+
</div>
|
35 |
+
<div class="col-3 last-feature">
|
36 |
+
<img src="<?php echo $this -> url(); ?>/images/about/feature-3.jpg">
|
37 |
+
<h4><?php _e('Responsive Slideshow', $this -> plugin_name); ?></h4>
|
38 |
+
<p><?php _e('The new, responsive option is a flexible foundation that adapts your slideshow to mobile devices and the desktop or any other viewing environment. In this way your slideshow can easily be viewed on a desktop or mobile device.', $this -> plugin_name); ?></p>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
|
43 |
+
<hr>
|
44 |
+
|
45 |
+
<div class="feature-section col two-col">
|
46 |
+
<div class="col-1">
|
47 |
+
<img src="<?php echo $this -> url(); ?>/images/about/feature-4.jpg">
|
48 |
+
<h4><?php _e('Compatibility with Thickbox', $this -> plugin_name); ?></h4>
|
49 |
+
<p><?php _e(' Slideshows in this version is compatibile with Thickbox/Lightbox to show slide images in an overlay.', $this -> plugin_name); ?>
|
50 |
+
<?php /* _e('Spam Score', $this -> plugin_name); ?></h4>
|
51 |
+
<p><?php _e('Prevent your emails from ending up in spam/junk folder unnecessarily. The spam score utility will show on each newsletter you create to give the newsletter a score, taking all it\'s aspects and factors in consideration.', $this -> plugin_name); */?></p>
|
52 |
+
</div>
|
53 |
+
<div class="col-2 last-feature">
|
54 |
+
<img src="<?php echo $this -> url(); ?>/images/about/feature-5.jpg">
|
55 |
+
<h4><?php _e('More than one slideshow', $this -> plugin_name); ?></h4>
|
56 |
+
<p><?php _e('Create a beautiful page with more than one slideshow. You now have the ability to add unlimited slideshows per page, as many as you want. They will all play along nicely!', $this -> plugin_name); ?>
|
57 |
+
<p><?php /*_e('The plugin can automatically send a "Sorry to see you go..." email to a user when they unsubscribe to both confirm their subscription, express your disappointment that they are leaving and it also includes a resubscribe link to convert.', $this -> plugin_name); */?></p>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
|
61 |
+
<hr>
|
62 |
+
<div class="changelog under-the-hood">
|
63 |
+
<h3>Under the Hood</h3>
|
64 |
+
|
65 |
+
<div class="feature-section col three-col">
|
66 |
+
<div>
|
67 |
+
<h4><?php _e('Auto Slide', $this -> plugin_name); ?></h4>
|
68 |
+
<p><?php _e('Set your slideshow to autoslide, when viewing a slideshow it will autoslide and it won\'t be necessary for the user to manually flip through the images.', $this -> plugin_name); ?></p>
|
69 |
+
<h4><?php _e('WordPress Object Cache API', $this -> plugin_name); ?></h4>
|
70 |
+
<p><?php _e('Speed up the plugin with the WordPress Object Cache API which is now built in to cache queries through the WordPress database object.', $this -> plugin_name); ?></p>
|
71 |
+
</div>
|
72 |
+
<div>
|
73 |
+
<h4><?php _e('Hide information bar on mobile devices', $this -> plugin_name); ?></h4>
|
74 |
+
<p><?php _e('Hide the information bar on mobile devices with a responsive slideshow to view a full slideshow without any text over it..', $this -> plugin_name); ?></p>
|
75 |
+
|
76 |
+
<h4><?php _e('Show latest/feature products from Shopping Cart plugin', $this -> plugin_name); ?></h4>
|
77 |
+
<p><?php _e('Add a slideshow to show your products from the WordPress Shopping Cart plugin. You can choose to show either latest products or feature products images in the slideshow. The images, titles, descriptions, etc. will be automatically pulled from the Shopping Cart plugin, it is fully automated and integrated.', $this -> plugin_name); ?></p>
|
78 |
+
</div>
|
79 |
+
<div class="last-feature">
|
80 |
+
<h4><?php _e('Revamp of Configuration Settings', $this -> plugin_name); ?></h4>
|
81 |
+
<p><?php _e('The Configurations Settings got a Revamp. New Sliders for speed settings, Color picker for color settings, Debugging setting and more.', $this -> plugin_name); ?></p>
|
82 |
+
|
83 |
+
<h4><?php _e('Child Theme Folder Support', $this -> plugin_name); ?></h4>
|
84 |
+
<p><?php _e('The best way to make modifications to template files in the Slideshow Gallery plugin is to create a child theme folder for the plugin inside your WordPress theme folder. This version now supports a child theme folder.', $this -> plugin_name); ?></p>
|
85 |
+
</div>
|
86 |
+
|
87 |
+
</div>
|
88 |
+
|
89 |
+
<hr>
|
90 |
+
|
91 |
+
<div class="return-to-dashboard">
|
92 |
+
<a href="<?php echo admin_url('admin.php'); ?>?page=slideshow-gallery"><?php _e('Go to Slideshow Gallery overview', $this -> plugin_name); ?></a>
|
93 |
+
</div>
|
94 |
+
|
95 |
+
</div>
|
96 |
+
</div>
|
views/admin/galleries/hardcode.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<div class="wrap <?php echo $this -> pre; ?>">
|
2 |
-
<h2><?php echo sprintf(__('Hardcode Gallery: %s', $this -> plugin_name), $gallery -> title); ?></h2>
|
3 |
<div style="float:none;" class="subsubsub"><?php echo $this -> Html -> link(__('← All Galleries', $this -> plugin_name), $this -> url, array('title' => __('All Galleries', $this -> plugin_name))); ?></div>
|
4 |
<p><?php _e('This PHP code can be used inside your WordPress theme to display slides inside this gallery.', $this -> plugin_name); ?></p>
|
5 |
<textarea onmouseup="jQuery(this).unbind('onmouseup'); return false;" onfocus="jQuery(this).select();" cols="100%" rows="4"><?php echo htmlentities('<?php if (function_exists(\'slideshow\')) { slideshow(true, "' . $gallery -> id . '", false, array()); } ?>'); ?></textarea>
|
1 |
<div class="wrap <?php echo $this -> pre; ?>">
|
2 |
+
<h2><?php echo sprintf(__('Hardcode Gallery: %s', $this -> plugin_name), __($gallery -> title)); ?></h2>
|
3 |
<div style="float:none;" class="subsubsub"><?php echo $this -> Html -> link(__('← All Galleries', $this -> plugin_name), $this -> url, array('title' => __('All Galleries', $this -> plugin_name))); ?></div>
|
4 |
<p><?php _e('This PHP code can be used inside your WordPress theme to display slides inside this gallery.', $this -> plugin_name); ?></p>
|
5 |
<textarea onmouseup="jQuery(this).unbind('onmouseup'); return false;" onfocus="jQuery(this).select();" cols="100%" rows="4"><?php echo htmlentities('<?php if (function_exists(\'slideshow\')) { slideshow(true, "' . $gallery -> id . '", false, array()); } ?>'); ?></textarea>
|
views/admin/galleries/index.php
CHANGED
@@ -85,7 +85,7 @@
|
|
85 |
<th class="check-column"><input type="checkbox" name="Gallery[checklist][]" value="<?php echo $gallery -> id; ?>" id="checklist<?php echo $gallery -> id; ?>" /></th>
|
86 |
<td><?php echo $gallery -> id; ?></td>
|
87 |
<td>
|
88 |
-
<a class="row-title" href="<?php echo $this -> url; ?>&method=save&id=<?php echo $gallery -> id; ?>" title=""><?php echo $gallery -> title; ?></a>
|
89 |
<div class="row-actions">
|
90 |
<span class="view"><?php echo $this -> Html -> link(__('View', $this -> plugin_name), "?page=" . $this -> sections -> galleries . "&method=view&id=" . $gallery -> id); ?> |</span>
|
91 |
<span class="edit"><?php echo $this -> Html -> link(__('Edit', $this -> plugin_name), "?page=" . $this -> sections -> galleries . "&method=save&id=" . $gallery -> id); ?> |</span>
|
85 |
<th class="check-column"><input type="checkbox" name="Gallery[checklist][]" value="<?php echo $gallery -> id; ?>" id="checklist<?php echo $gallery -> id; ?>" /></th>
|
86 |
<td><?php echo $gallery -> id; ?></td>
|
87 |
<td>
|
88 |
+
<a class="row-title" href="<?php echo $this -> url; ?>&method=save&id=<?php echo $gallery -> id; ?>" title=""><?php echo __($gallery -> title); ?></a>
|
89 |
<div class="row-actions">
|
90 |
<span class="view"><?php echo $this -> Html -> link(__('View', $this -> plugin_name), "?page=" . $this -> sections -> galleries . "&method=view&id=" . $gallery -> id); ?> |</span>
|
91 |
<span class="edit"><?php echo $this -> Html -> link(__('Edit', $this -> plugin_name), "?page=" . $this -> sections -> galleries . "&method=save&id=" . $gallery -> id); ?> |</span>
|
views/admin/galleries/save.php
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
<h2><?php _e('Save a Gallery', $this -> plugin_name); ?></h2>
|
3 |
|
4 |
<form action="<?php echo $this -> url; ?>&method=save" method="post">
|
@@ -10,7 +16,29 @@
|
|
10 |
<th><label for="Gallery_title"><?php _e('Title', $this -> plugin_name); ?></label>
|
11 |
<?php echo $this -> Html -> help(__('Give this gallery a title/name for your own reference.', $this -> plugin_name)); ?></th>
|
12 |
<td>
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
<span class="howto"><?php _e('Title of this gallery for identification purposes.', $this -> plugin_name); ?></span>
|
15 |
<?php echo (!empty($this -> Gallery -> errors['title'])) ? '<span class="error">' . $this -> Gallery -> errors['title'] . '</span>' : ''; ?>
|
16 |
</td>
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$languages = $this -> language_getlanguages();
|
4 |
+
|
5 |
+
?>
|
6 |
+
|
7 |
+
<div class="wrap <?php echo $this -> pre; ?> slideshow-gallery">
|
8 |
<h2><?php _e('Save a Gallery', $this -> plugin_name); ?></h2>
|
9 |
|
10 |
<form action="<?php echo $this -> url; ?>&method=save" method="post">
|
16 |
<th><label for="Gallery_title"><?php _e('Title', $this -> plugin_name); ?></label>
|
17 |
<?php echo $this -> Html -> help(__('Give this gallery a title/name for your own reference.', $this -> plugin_name)); ?></th>
|
18 |
<td>
|
19 |
+
<?php if ($this -> language_do()) : ?>
|
20 |
+
<?php $titles = qtrans_split($this -> Gallery -> data -> title); ?>
|
21 |
+
<div id="gallery-title-tabs">
|
22 |
+
<ul>
|
23 |
+
<?php foreach ($languages as $language) : ?>
|
24 |
+
<li><a href="#gallery-title-tabs-<?php echo $language; ?>"><?php echo $this -> language_flag($language); ?></a></li>
|
25 |
+
<?php endforeach; ?>
|
26 |
+
</ul>
|
27 |
+
<?php foreach ($languages as $language) : ?>
|
28 |
+
<div id="gallery-title-tabs-<?php echo $language; ?>">
|
29 |
+
<input type="text" class="widefat" name="Gallery[title][<?php echo $language; ?>]" value="<?php echo esc_attr(stripslashes($titles[$language])); ?>" id="Gallery_title_<?php echo $language; ?>" />
|
30 |
+
</div>
|
31 |
+
<?php endforeach; ?>
|
32 |
+
</div>
|
33 |
+
|
34 |
+
<script type="text/javascript">
|
35 |
+
jQuery(document).ready(function() {
|
36 |
+
jQuery('#gallery-title-tabs').tabs();
|
37 |
+
});
|
38 |
+
</script>
|
39 |
+
<?php else : ?>
|
40 |
+
<input type="text" class="widefat" name="Gallery[title]" value="<?php echo esc_attr(stripslashes($this -> Gallery -> data -> title)); ?>" id="Gallery_title" />
|
41 |
+
<?php endif; ?>
|
42 |
<span class="howto"><?php _e('Title of this gallery for identification purposes.', $this -> plugin_name); ?></span>
|
43 |
<?php echo (!empty($this -> Gallery -> errors['title'])) ? '<span class="error">' . $this -> Gallery -> errors['title'] . '</span>' : ''; ?>
|
44 |
</td>
|
views/admin/galleries/view.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<div class="wrap <?php echo $this -> pre; ?>">
|
2 |
-
<h2><?php echo sprintf(__('View Gallery: %s', $this -> plugin_name), $gallery -> title); ?></h2>
|
3 |
|
4 |
<div style="float:none;" class="subsubsub"><?php echo $this -> Html -> link(__('← All Galleries', $this -> plugin_name), $this -> url, array('title' => __('All Galleries', $this -> plugin_name))); ?></div>
|
5 |
|
1 |
<div class="wrap <?php echo $this -> pre; ?>">
|
2 |
+
<h2><?php echo sprintf(__('View Gallery: %s', $this -> plugin_name), __($gallery -> title)); ?></h2>
|
3 |
|
4 |
<div style="float:none;" class="subsubsub"><?php echo $this -> Html -> link(__('← All Galleries', $this -> plugin_name), $this -> url, array('title' => __('All Galleries', $this -> plugin_name))); ?></div>
|
5 |
|
views/admin/metaboxes/settings-styles.php
CHANGED
@@ -9,6 +9,19 @@ $resizeimagescrop = $this -> get_option('resizeimagescrop');
|
|
9 |
|
10 |
<table class="form-table">
|
11 |
<tbody>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
<tr>
|
13 |
<th><label for="layout_responsive"><?php _e('Layout', $this -> plugin_name); ?></label>
|
14 |
<?php echo $this -> Html -> help(__('Choose responsive if you have a responsive theme and you want the slideshow to resize width/height in a responsive manner on different devices.<br/><br/><strong>Override per slideshow:</strong> Using parameter <code>layout</code> with value <code>responsive</code> or <code>specific</code> eg. <code>[tribulant_slideshow layout="specific"]</code>.', $this -> plugin_name)); ?></th>
|
9 |
|
10 |
<table class="form-table">
|
11 |
<tbody>
|
12 |
+
<?php if ($this -> has_child_theme_folder()) : ?>
|
13 |
+
<tr>
|
14 |
+
<th><?php _e('Child Theme Folder', $this -> plugin_name); ?></th>
|
15 |
+
<td>
|
16 |
+
<?php
|
17 |
+
|
18 |
+
$theme_folder = basename(get_stylesheet_directory());
|
19 |
+
|
20 |
+
?>
|
21 |
+
<?php echo sprintf(__('Yes, there is a %s folder inside WordPress theme folder %s', $this -> plugin_name), '<code>slideshow</code>', '<code>' . $theme_folder . '</code>'); ?>
|
22 |
+
</td>
|
23 |
+
</tr>
|
24 |
+
<?php endif; ?>
|
25 |
<tr>
|
26 |
<th><label for="layout_responsive"><?php _e('Layout', $this -> plugin_name); ?></label>
|
27 |
<?php echo $this -> Html -> help(__('Choose responsive if you have a responsive theme and you want the slideshow to resize width/height in a responsive manner on different devices.<br/><br/><strong>Override per slideshow:</strong> Using parameter <code>layout</code> with value <code>responsive</code> or <code>specific</code> eg. <code>[tribulant_slideshow layout="specific"]</code>.', $this -> plugin_name)); ?></th>
|
views/admin/slides/loop.php
CHANGED
@@ -118,10 +118,10 @@
|
|
118 |
<td><?php echo $slide -> id; ?></td>
|
119 |
<td style="width:75px;">
|
120 |
<?php $image = $slide -> image; ?>
|
121 |
-
<a href="<?php echo $this -> Html -> image_url($image); ?>" title="<?php echo $slide -> title; ?>" class="colorbox" rel="slides"><img class="dropshadow" src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, 50, 50, 100); ?>" alt="<?php echo $this -> Html -> sanitize($slide -> title); ?>" /></a>
|
122 |
</td>
|
123 |
<td>
|
124 |
-
<a class="row-title" href="<?php echo $this -> url; ?>&method=save&id=<?php echo $slide -> id; ?>" title=""><?php echo $slide -> title; ?></a>
|
125 |
<div class="row-actions">
|
126 |
<span class="edit"><?php echo $this -> Html -> link(__('Edit', $this -> plugin_name), "?page=" . $this -> sections -> slides . "&method=save&id=" . $slide -> id); ?> |</span>
|
127 |
<span class="delete"><?php echo $this -> Html -> link(__('Delete', $this -> plugin_name), "?page=" . $this -> sections -> slides . "&method=delete&id=" . $slide -> id, array('class' => "submitdelete", 'onclick' => "if (!confirm('" . __('Are you sure you want to permanently remove this slide?', $this -> plugin_name) . "')) { return false; }")); ?></span>
|
@@ -131,7 +131,7 @@
|
|
131 |
<?php if (!empty($slide -> gallery)) : ?>
|
132 |
<?php $g = 1; ?>
|
133 |
<?php foreach ($slide -> gallery as $gallery) : ?>
|
134 |
-
<a href="?page=<?php echo $this -> sections -> galleries; ?>&method=view&id=<?php echo $gallery -> id; ?>" title="<?php echo esc_attr($gallery -> title); ?>"><?php echo $gallery -> title; ?></a>
|
135 |
<?php if ($g < count($slide -> gallery)) : ?>, <?php endif; ?>
|
136 |
<?php $g++; ?>
|
137 |
<?php endforeach; ?>
|
118 |
<td><?php echo $slide -> id; ?></td>
|
119 |
<td style="width:75px;">
|
120 |
<?php $image = $slide -> image; ?>
|
121 |
+
<a href="<?php echo $this -> Html -> image_url($image); ?>" title="<?php echo __($slide -> title); ?>" class="colorbox" rel="slides"><img class="dropshadow" src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, 50, 50, 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> title)); ?>" /></a>
|
122 |
</td>
|
123 |
<td>
|
124 |
+
<a class="row-title" href="<?php echo $this -> url; ?>&method=save&id=<?php echo $slide -> id; ?>" title=""><?php echo __($slide -> title); ?></a>
|
125 |
<div class="row-actions">
|
126 |
<span class="edit"><?php echo $this -> Html -> link(__('Edit', $this -> plugin_name), "?page=" . $this -> sections -> slides . "&method=save&id=" . $slide -> id); ?> |</span>
|
127 |
<span class="delete"><?php echo $this -> Html -> link(__('Delete', $this -> plugin_name), "?page=" . $this -> sections -> slides . "&method=delete&id=" . $slide -> id, array('class' => "submitdelete", 'onclick' => "if (!confirm('" . __('Are you sure you want to permanently remove this slide?', $this -> plugin_name) . "')) { return false; }")); ?></span>
|
131 |
<?php if (!empty($slide -> gallery)) : ?>
|
132 |
<?php $g = 1; ?>
|
133 |
<?php foreach ($slide -> gallery as $gallery) : ?>
|
134 |
+
<a href="?page=<?php echo $this -> sections -> galleries; ?>&method=view&id=<?php echo $gallery -> id; ?>" title="<?php echo esc_attr(__($gallery -> title)); ?>"><?php echo __($gallery -> title); ?></a>
|
135 |
<?php if ($g < count($slide -> gallery)) : ?>, <?php endif; ?>
|
136 |
<?php $g++; ?>
|
137 |
<?php endforeach; ?>
|
views/admin/slides/order.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<div class="wrap">
|
2 |
-
<h2><?php _e('Order Slides', $this -> plugin_name); ?><?php echo (!empty($gallery)) ? ': ' . $gallery -> title : ''; ?></h2>
|
3 |
|
4 |
<div style="float:none;" class="subsubsub">
|
5 |
<a href="<?php echo $this -> url; ?>"><?php _e('← Manage All Slides', $this -> plugin_name); ?></a>
|
@@ -14,7 +14,7 @@
|
|
14 |
<ul id="slidelist">
|
15 |
<?php foreach ($slides as $slide) : ?>
|
16 |
<li class="gallerylineitem" id="item_<?php echo $slide -> id; ?>">
|
17 |
-
<span class="gallery_slide_image" style="display:none;"><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, 89, 89, 100); ?>" alt="<?php echo $this -> Html -> sanitize($slide -> title); ?>" /></span>
|
18 |
<span class="gallery_slide_title"><?php echo __($slide -> title); ?></span>
|
19 |
</li>
|
20 |
<?php endforeach; ?>
|
1 |
<div class="wrap">
|
2 |
+
<h2><?php _e('Order Slides', $this -> plugin_name); ?><?php echo (!empty($gallery)) ? ': ' . __($gallery -> title) : ''; ?></h2>
|
3 |
|
4 |
<div style="float:none;" class="subsubsub">
|
5 |
<a href="<?php echo $this -> url; ?>"><?php _e('← Manage All Slides', $this -> plugin_name); ?></a>
|
14 |
<ul id="slidelist">
|
15 |
<?php foreach ($slides as $slide) : ?>
|
16 |
<li class="gallerylineitem" id="item_<?php echo $slide -> id; ?>">
|
17 |
+
<span class="gallery_slide_image" style="display:none;"><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, 89, 89, 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> title)); ?>" /></span>
|
18 |
<span class="gallery_slide_title"><?php echo __($slide -> title); ?></span>
|
19 |
</li>
|
20 |
<?php endforeach; ?>
|
views/admin/slides/save.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
<?php
|
4 |
|
5 |
$showinfo = $this -> Slide -> data -> showinfo;
|
|
|
6 |
|
7 |
?>
|
8 |
|
@@ -19,7 +20,29 @@ $showinfo = $this -> Slide -> data -> showinfo;
|
|
19 |
<th><label for="Slide.title"><?php _e('Title', $this -> plugin_name); ?></label>
|
20 |
<?php echo $this -> Html -> help(__('This title is for your reference in management and it will also be used to display the title of the slide in the information bar if you have that turned on.', $this -> plugin_name)); ?></th>
|
21 |
<td>
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
<span class="howto"><?php _e('Title/name of your slide as it will be displayed to your users.', $this -> plugin_name); ?></span>
|
24 |
<?php echo (!empty($this -> Slide -> errors['title'])) ? '<div style="color:red;">' . $this -> Slide -> errors['title'] . '</div>' : ''; ?>
|
25 |
</td>
|
@@ -28,7 +51,29 @@ $showinfo = $this -> Slide -> data -> showinfo;
|
|
28 |
<th><label for="Slide.description"><?php _e('Description', $this -> plugin_name); ?></label>
|
29 |
<?php echo $this -> Html -> help(__('The description is specifically used for the information bar if you have that turned on.', $this -> plugin_name)); ?></th>
|
30 |
<td>
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
<span class="howto"><?php _e('Description of your slide as it will be displayed to your users below the title.', $this -> plugin_name); ?></span>
|
33 |
<?php echo (!empty($this -> Slide -> errors['description'])) ? '<div style="color:red;">' . $this -> Slide -> errors['description'] . '</div>' : ''; ?>
|
34 |
</td>
|
3 |
<?php
|
4 |
|
5 |
$showinfo = $this -> Slide -> data -> showinfo;
|
6 |
+
$languages = $this -> language_getlanguages();
|
7 |
|
8 |
?>
|
9 |
|
20 |
<th><label for="Slide.title"><?php _e('Title', $this -> plugin_name); ?></label>
|
21 |
<?php echo $this -> Html -> help(__('This title is for your reference in management and it will also be used to display the title of the slide in the information bar if you have that turned on.', $this -> plugin_name)); ?></th>
|
22 |
<td>
|
23 |
+
<?php if ($this -> language_do()) : ?>
|
24 |
+
<?php $titles = qtrans_split($this -> Slide -> data -> title); ?>
|
25 |
+
<div id="slide-title-tabs">
|
26 |
+
<ul>
|
27 |
+
<?php foreach ($languages as $language) : ?>
|
28 |
+
<li><a href="#slide-title-tabs-<?php echo $language; ?>"><?php echo $this -> language_flag($language); ?></a></li>
|
29 |
+
<?php endforeach; ?>
|
30 |
+
</ul>
|
31 |
+
<?php foreach ($languages as $language) : ?>
|
32 |
+
<div id="slide-title-tabs-<?php echo $language; ?>">
|
33 |
+
<input type="text" name="Slide[title][<?php echo $language; ?>]" id="Slide_title_<?php echo $language; ?>" value="<?php echo esc_attr(stripslashes($titles[$language])); ?>" class="widefat" />
|
34 |
+
</div>
|
35 |
+
<?php endforeach; ?>
|
36 |
+
</div>
|
37 |
+
|
38 |
+
<script type="text/javascript">
|
39 |
+
jQuery(document).ready(function() {
|
40 |
+
jQuery('#slide-title-tabs').tabs();
|
41 |
+
});
|
42 |
+
</script>
|
43 |
+
<?php else : ?>
|
44 |
+
<input class="widefat" type="text" name="Slide[title]" value="<?php echo esc_attr($this -> Slide -> data -> title); ?>" id="Slide.title" />
|
45 |
+
<?php endif; ?>
|
46 |
<span class="howto"><?php _e('Title/name of your slide as it will be displayed to your users.', $this -> plugin_name); ?></span>
|
47 |
<?php echo (!empty($this -> Slide -> errors['title'])) ? '<div style="color:red;">' . $this -> Slide -> errors['title'] . '</div>' : ''; ?>
|
48 |
</td>
|
51 |
<th><label for="Slide.description"><?php _e('Description', $this -> plugin_name); ?></label>
|
52 |
<?php echo $this -> Html -> help(__('The description is specifically used for the information bar if you have that turned on.', $this -> plugin_name)); ?></th>
|
53 |
<td>
|
54 |
+
<?php if ($this -> language_do()) : ?>
|
55 |
+
<?php $descriptions = qtrans_split($this -> Slide -> data -> description); ?>
|
56 |
+
<div id="slide-description-tabs">
|
57 |
+
<ul>
|
58 |
+
<?php foreach ($languages as $language) : ?>
|
59 |
+
<li><a href="#slide-description-tabs-<?php echo $language; ?>"><?php echo $this -> language_flag($language); ?></a></li>
|
60 |
+
<?php endforeach; ?>
|
61 |
+
</ul>
|
62 |
+
<?php foreach ($languages as $language) : ?>
|
63 |
+
<div id="slide-description-tabs-<?php echo $language; ?>">
|
64 |
+
<textarea name="Slide[description][<?php echo $language; ?>]" cols="100%" class="widefat" rows="5"><?php echo esc_attr(stripslashes($descriptions[$language])); ?></textarea>
|
65 |
+
</div>
|
66 |
+
<?php endforeach; ?>
|
67 |
+
</div>
|
68 |
+
|
69 |
+
<script type="text/javascript">
|
70 |
+
jQuery(document).ready(function() {
|
71 |
+
jQuery('#slide-description-tabs').tabs();
|
72 |
+
});
|
73 |
+
</script>
|
74 |
+
<?php else : ?>
|
75 |
+
<textarea class="widefat" rows="5" cols="100%" name="Slide[description]"><?php echo esc_attr($this -> Slide -> data -> description); ?></textarea>
|
76 |
+
<?php endif; ?>
|
77 |
<span class="howto"><?php _e('Description of your slide as it will be displayed to your users below the title.', $this -> plugin_name); ?></span>
|
78 |
<?php echo (!empty($this -> Slide -> errors['description'])) ? '<div style="color:red;">' . $this -> Slide -> errors['description'] . '</div>' : ''; ?>
|
79 |
</td>
|
views/default/css-responsive.php
CHANGED
@@ -17,7 +17,7 @@ $unique = $styles['unique'];
|
|
17 |
#<?php echo $styles['wrapperid']; ?> { position:relative; width:100%; background:<?php echo $styles['background']; ?>; padding:0 0 0 0; border:<?php echo $styles['border']; ?>; margin:0; display:none; }
|
18 |
#<?php echo $styles['wrapperid']; ?> * { margin:0; padding:0; }
|
19 |
#<?php echo $styles['wrapperid']; ?> #fullsize<?php echo $unique; ?> { position:relative; z-index:1; overflow:hidden; width:100%; height:<?php echo $resheight; ?>; border: none; }
|
20 |
-
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> { text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif !important; position:absolute; bottom:0; width:100%; height:0; background:<?php echo $styles['infobackground']; ?>; color:<?php echo $styles['infocolor']; ?>; overflow:hidden; z-index:
|
21 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> h3 { color:<?php echo $styles['infocolor']; ?>; padding:4px 8px 3px; margin:0 !important; font-size:16px; font-weight:bold; }
|
22 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> p { color:<?php echo $styles['infocolor']; ?>; padding:0 8px 8px; margin:0 !important; font-size: 14px; font-weight:normal; }
|
23 |
#<?php echo $styles['wrapperid']; ?> #image<?php echo $unique; ?> { width:100%; }
|
17 |
#<?php echo $styles['wrapperid']; ?> { position:relative; width:100%; background:<?php echo $styles['background']; ?>; padding:0 0 0 0; border:<?php echo $styles['border']; ?>; margin:0; display:none; }
|
18 |
#<?php echo $styles['wrapperid']; ?> * { margin:0; padding:0; }
|
19 |
#<?php echo $styles['wrapperid']; ?> #fullsize<?php echo $unique; ?> { position:relative; z-index:1; overflow:hidden; width:100%; height:<?php echo $resheight; ?>; border: none; }
|
20 |
+
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> { text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif !important; position:absolute; bottom:0; width:100%; height:0; background:<?php echo $styles['infobackground']; ?>; color:<?php echo $styles['infocolor']; ?>; overflow:hidden; z-index:300; opacity:.7; filter:alpha(opacity=70); }
|
21 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> h3 { color:<?php echo $styles['infocolor']; ?>; padding:4px 8px 3px; margin:0 !important; font-size:16px; font-weight:bold; }
|
22 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> p { color:<?php echo $styles['infocolor']; ?>; padding:0 8px 8px; margin:0 !important; font-size: 14px; font-weight:normal; }
|
23 |
#<?php echo $styles['wrapperid']; ?> #image<?php echo $unique; ?> { width:100%; }
|
views/default/css.php
CHANGED
@@ -17,7 +17,7 @@ ul.slideshow<?php echo $unique; ?> span { display:none; }
|
|
17 |
#<?php echo $styles['wrapperid']; ?> { position:relative; width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : 'auto'; ?>; background:<?php echo $styles['background']; ?>; padding:0 0 0 0; border:<?php echo $styles['border']; ?>; margin:0; display:none; }
|
18 |
#<?php echo $styles['wrapperid']; ?> * { margin:0; padding:0; }
|
19 |
#<?php echo $styles['wrapperid']; ?> #fullsize<?php echo $unique; ?> { position:relative; z-index:1; overflow:hidden; width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : 'auto'; ?>; height:<?php echo ((int) $styles['height']); ?>px; border: none; }
|
20 |
-
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> { text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif !important; position:absolute; bottom:0; width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : '100%'; ?>; height:0; background:<?php echo $styles['infobackground']; ?>; color:<?php echo $styles['infocolor']; ?>; overflow:hidden; z-index:
|
21 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> h3 { color:<?php echo $styles['infocolor']; ?>; padding:4px 8px 3px; margin:0 !important; font-size:16px; font-weight:bold; }
|
22 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> p { color:<?php echo $styles['infocolor']; ?>; padding:0 8px 8px; margin:0 !important; font-size: 14px; font-weight:normal; }
|
23 |
#<?php echo $styles['wrapperid']; ?> #image<?php echo $unique; ?> { width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : 'auto'; ?>; no-repeat; }
|
17 |
#<?php echo $styles['wrapperid']; ?> { position:relative; width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : 'auto'; ?>; background:<?php echo $styles['background']; ?>; padding:0 0 0 0; border:<?php echo $styles['border']; ?>; margin:0; display:none; }
|
18 |
#<?php echo $styles['wrapperid']; ?> * { margin:0; padding:0; }
|
19 |
#<?php echo $styles['wrapperid']; ?> #fullsize<?php echo $unique; ?> { position:relative; z-index:1; overflow:hidden; width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : 'auto'; ?>; height:<?php echo ((int) $styles['height']); ?>px; border: none; }
|
20 |
+
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> { text-align:left; font-family:Verdana, Arial, Helvetica, sans-serif !important; position:absolute; bottom:0; width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : '100%'; ?>; height:0; background:<?php echo $styles['infobackground']; ?>; color:<?php echo $styles['infocolor']; ?>; overflow:hidden; z-index:300; opacity:.7; filter:alpha(opacity=70); }
|
21 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> h3 { color:<?php echo $styles['infocolor']; ?>; padding:4px 8px 3px; margin:0 !important; font-size:16px; font-weight:bold; }
|
22 |
#<?php echo $styles['wrapperid']; ?> #information<?php echo $unique; ?> p { color:<?php echo $styles['infocolor']; ?>; padding:0 8px 8px; margin:0 !important; font-size: 14px; font-weight:normal; }
|
23 |
#<?php echo $styles['wrapperid']; ?> #image<?php echo $unique; ?> { width:<?php echo ($styles['width'] != "auto") ? ((int) $styles['width']) . 'px' : 'auto'; ?>; no-repeat; }
|
views/default/gallery.php
CHANGED
@@ -38,21 +38,21 @@ $thumbopacity = $this -> get_option('thumbopacity');
|
|
38 |
<?php elseif ($products) : ?>
|
39 |
<?php foreach ($slides as $slide) : ?>
|
40 |
<li>
|
41 |
-
<h3><?php echo stripslashes($slide -> title); ?></h3>
|
42 |
<?php if ($options['layout'] != "responsive" && $options['resizeimages'] == "true" && $options['width'] != "auto") : ?>
|
43 |
<span><?php echo $this -> Html -> bfithumb_image_src(site_url() . '/' . $slide -> image_url, $options['width'], $options['height'], 100); ?></span>
|
44 |
<?php else : ?>
|
45 |
<span><?php echo site_url() . '/' . $slide -> image_url; ?></span>
|
46 |
<?php endif; ?>
|
47 |
-
<p><?php echo substr(stripslashes($slide -> description), 0, 255); ?></p>
|
48 |
<?php if ($options['showthumbs'] == "true") : ?>
|
49 |
<?php if (!empty($slide -> post_id)) : ?>
|
50 |
-
<a href="<?php echo get_permalink($slide -> post_id); ?>" target="_self" title="<?php echo esc_attr($slide -> title); ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src(site_url() . '/' . $slide -> image_url, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" /></a>
|
51 |
<?php else : ?>
|
52 |
<a><img src="<?php echo $this -> Html -> bfithumb_image_src(site_url() . '/' . $slide -> image_url, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" /></a>
|
53 |
<?php endif; ?>
|
54 |
<?php else : ?>
|
55 |
-
<a href="<?php echo get_permalink($slide -> post_id); ?>" target="_self" title="<?php echo esc_attr($slide -> title); ?>"></a>
|
56 |
<?php endif; ?>
|
57 |
</li>
|
58 |
<?php endforeach; ?>
|
@@ -60,24 +60,26 @@ $thumbopacity = $this -> get_option('thumbopacity');
|
|
60 |
<?php else : ?>
|
61 |
<?php foreach ($slides as $slide) : ?>
|
62 |
<li>
|
63 |
-
<h3 style="opacity:<?php echo (!empty($slide -> iopacity)) ? ($slide -> iopacity) : 70; ?>;"><?php echo (!empty($slide -> showinfo) && ($slide -> showinfo == "both" || $slide -> showinfo == "title")) ? $slide -> title : ''; ?></h3>
|
64 |
<?php if ($options['layout'] != "responsive" && $options['resizeimages'] == "true" && $options['width'] != "auto") : ?>
|
65 |
<span><?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $options['width'], $options['height'], 100); ?></span>
|
66 |
<?php else : ?>
|
67 |
<span><?php echo $this -> Html -> image_url($slide -> image); ?></span>
|
68 |
<?php endif; ?>
|
69 |
-
<p><?php echo (!empty($slide -> showinfo) && ($slide -> showinfo == "both" || $slide -> showinfo == "description")) ? $slide -> description : ''; ?></p>
|
70 |
<?php if ($options['showthumbs'] == "true") : ?>
|
71 |
<?php if ($slide -> uselink == "Y" && !empty($slide -> link)) : ?>
|
72 |
-
<a href="<?php echo $slide -> link; ?>" title="<?php echo esc_attr($slide -> title); ?>" target="_<?php echo $slide -> linktarget; ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize($slide -> title); ?>" /></a>
|
|
|
|
|
73 |
<?php else : ?>
|
74 |
-
<a><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize($slide -> title); ?>" /></a>
|
75 |
<?php endif; ?>
|
76 |
<?php else : ?>
|
77 |
<?php if ($slide -> uselink == "Y" && !empty($slide -> link)) : ?>
|
78 |
-
<a href="<?php echo $slide -> link; ?>" target="_<?php echo $slide -> linktarget; ?>" title="<?php echo $slide -> title; ?>"></a>
|
79 |
<?php elseif ($options['imagesoverlay'] == "true") : ?>
|
80 |
-
<a href="<?php echo
|
81 |
<?php else : ?>
|
82 |
<a></a>
|
83 |
<?php endif; ?>
|
38 |
<?php elseif ($products) : ?>
|
39 |
<?php foreach ($slides as $slide) : ?>
|
40 |
<li>
|
41 |
+
<h3><?php echo stripslashes(__($slide -> title)); ?></h3>
|
42 |
<?php if ($options['layout'] != "responsive" && $options['resizeimages'] == "true" && $options['width'] != "auto") : ?>
|
43 |
<span><?php echo $this -> Html -> bfithumb_image_src(site_url() . '/' . $slide -> image_url, $options['width'], $options['height'], 100); ?></span>
|
44 |
<?php else : ?>
|
45 |
<span><?php echo site_url() . '/' . $slide -> image_url; ?></span>
|
46 |
<?php endif; ?>
|
47 |
+
<p><?php echo substr(stripslashes(__($slide -> description)), 0, 255); ?></p>
|
48 |
<?php if ($options['showthumbs'] == "true") : ?>
|
49 |
<?php if (!empty($slide -> post_id)) : ?>
|
50 |
+
<a href="<?php echo get_permalink($slide -> post_id); ?>" target="_self" title="<?php echo esc_attr(__($slide -> title)); ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src(site_url() . '/' . $slide -> image_url, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" /></a>
|
51 |
<?php else : ?>
|
52 |
<a><img src="<?php echo $this -> Html -> bfithumb_image_src(site_url() . '/' . $slide -> image_url, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" /></a>
|
53 |
<?php endif; ?>
|
54 |
<?php else : ?>
|
55 |
+
<a href="<?php echo get_permalink($slide -> post_id); ?>" target="_self" title="<?php echo esc_attr(__($slide -> title)); ?>"></a>
|
56 |
<?php endif; ?>
|
57 |
</li>
|
58 |
<?php endforeach; ?>
|
60 |
<?php else : ?>
|
61 |
<?php foreach ($slides as $slide) : ?>
|
62 |
<li>
|
63 |
+
<h3 style="opacity:<?php echo (!empty($slide -> iopacity)) ? ($slide -> iopacity) : 70; ?>;"><?php echo (!empty($slide -> showinfo) && ($slide -> showinfo == "both" || $slide -> showinfo == "title")) ? __($slide -> title) : ''; ?></h3>
|
64 |
<?php if ($options['layout'] != "responsive" && $options['resizeimages'] == "true" && $options['width'] != "auto") : ?>
|
65 |
<span><?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $options['width'], $options['height'], 100); ?></span>
|
66 |
<?php else : ?>
|
67 |
<span><?php echo $this -> Html -> image_url($slide -> image); ?></span>
|
68 |
<?php endif; ?>
|
69 |
+
<p><?php echo (!empty($slide -> showinfo) && ($slide -> showinfo == "both" || $slide -> showinfo == "description")) ? __($slide -> description) : ''; ?></p>
|
70 |
<?php if ($options['showthumbs'] == "true") : ?>
|
71 |
<?php if ($slide -> uselink == "Y" && !empty($slide -> link)) : ?>
|
72 |
+
<a href="<?php echo $slide -> link; ?>" title="<?php echo esc_attr(__($slide -> title)); ?>" target="_<?php echo $slide -> linktarget; ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> title)); ?>" /></a>
|
73 |
+
<?php elseif ($options['imagesoverlay'] == "true") : ?>
|
74 |
+
<a href="<?php echo $slide -> image_path; ?>" target="_<?php echo $slide -> linktarget; ?>" title="<?php echo __($slide -> title); ?>"><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> title)); ?>" /></a>
|
75 |
<?php else : ?>
|
76 |
+
<a><img src="<?php echo $this -> Html -> bfithumb_image_src($slide -> image_path, $this -> get_option('thumbwidth'), $this -> get_option('thumbheight'), 100); ?>" alt="<?php echo $this -> Html -> sanitize(__($slide -> title)); ?>" /></a>
|
77 |
<?php endif; ?>
|
78 |
<?php else : ?>
|
79 |
<?php if ($slide -> uselink == "Y" && !empty($slide -> link)) : ?>
|
80 |
+
<a href="<?php echo $slide -> link; ?>" target="_<?php echo $slide -> linktarget; ?>" title="<?php echo __($slide -> title); ?>"></a>
|
81 |
<?php elseif ($options['imagesoverlay'] == "true") : ?>
|
82 |
+
<a href="<?php echo $slide -> image_path; ?>" target="_<?php echo $slide -> linktarget; ?>" title="<?php echo __($slide -> title); ?>"></a>
|
83 |
<?php else : ?>
|
84 |
<a></a>
|
85 |
<?php endif; ?>
|