Easing Slider - Version 2.2.1

Version Description

  • Added support for background images (found inside "Advanced Options" in "Dimensions" settings box).
  • Added support for 100% full width sliders (found inside "Advanced Options" in "Dimensions" settings box).
  • Added template function to "All Sliders" list table.
  • Added image resizing option to sliders, rather than globally on the "Settings" page. Image resizing can now be enabled on a per-slider basis.
  • Improved styling of sliders to accommodate new features and make it more versatile.
  • Improved support for mobile devices in Easing Slider admin area.
  • Added helper functions for determining what sliders have been rendered on the page.
  • Improved support for older versions of jQuery. Minimum version required is now jQuery v1.4.2.
  • Improved security by sanatizing keys where necessary and additional escaping of output. Better safe than sorry!
  • Improved "Extensions" page. Extensions are now remotely fetched from a feed on our server.
  • More minor improvements and fixes.
Download this release

Release Info

Developer MatthewRuddy
Plugin Icon 128x128 Easing Slider
Version 2.2.1
Comparing to
See all releases

Code changes from version 2.2.0.8 to 2.2.1

css/easingslider.css CHANGED
@@ -47,13 +47,13 @@
47
  }
48
 
49
  .easingslider-slide {
50
- overflow: hidden;
51
- position: absolute;
52
  top: 0;
53
  left: 0;
54
  bottom: 0;
55
  right: 0;
56
  background-color: #fff;
 
57
  }
58
 
59
  .easingslider-slide.active {
@@ -70,6 +70,14 @@
70
  z-index: 30 !important;
71
  }
72
 
 
 
 
 
 
 
 
 
73
  .easingslider-link {
74
  position: relative !important;
75
  display: block !important;
@@ -77,10 +85,13 @@
77
  }
78
 
79
  .easingslider-image {
80
- max-height: auto !important;
81
- max-width: auto !important;
 
82
  height: auto !important;
83
- width: 100% !important;
 
 
84
  position: absolute;
85
  top: 0;
86
  left: 0;
@@ -139,11 +150,11 @@
139
  z-index: 40;
140
  cursor: pointer;
141
  opacity: 0;
142
- -webkit-transition: opacity 0.25s ease;
143
- -moz-transition: opacity 0.25s ease;
144
- -ms-transition: opacity 0.25s ease;
145
- -o-transition: opacity 0.25s ease;
146
- transition: opacity 0.25s ease;
147
  }
148
 
149
  .easingslider-arrows.easingslider-next {
@@ -174,17 +185,42 @@
174
  padding-right: 20px;
175
  }
176
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  /* Pagination
178
  -------------------------------------------------------------- */
179
  .easingslider-pagination {
180
  position: absolute;
181
  z-index: 40;
182
  opacity: 0;
183
- -webkit-transition: opacity 0.25s ease;
184
- -moz-transition: opacity 0.25s ease;
185
- -ms-transition: opacity 0.25s ease;
186
- -o-transition: opacity 0.25s ease;
187
- transition: opacity 0.25s ease;
188
  }
189
 
190
  .easingslider-pagination.inside.bottom-left {
@@ -284,6 +320,14 @@
284
  background-image: url(../images/nav-icon-active.png);
285
  }
286
 
 
 
 
 
 
 
 
 
287
  /* "Fade" transition
288
  -------------------------------------------------------------- */
289
  .easingslider.use-fade .easingslider-slide.next-in,
47
  }
48
 
49
  .easingslider-slide {
50
+ position: absolute !important;
 
51
  top: 0;
52
  left: 0;
53
  bottom: 0;
54
  right: 0;
55
  background-color: #fff;
56
+ overflow: hidden;
57
  }
58
 
59
  .easingslider-slide.active {
70
  z-index: 30 !important;
71
  }
72
 
73
+ .easingslider-background-slide {
74
+ -webkit-background-size: cover;
75
+ -moz-background-size: cover;
76
+ background-size: cover;
77
+ background-repeat: no-repeat;
78
+ background-position: center center;
79
+ }
80
+
81
  .easingslider-link {
82
  position: relative !important;
83
  display: block !important;
85
  }
86
 
87
  .easingslider-image {
88
+ max-width: 100% !important;
89
+ max-height: none !important;
90
+ width: auto !important;
91
  height: auto !important;
92
+ margin-left: auto !important;
93
+ margin-right: auto !important;
94
+ display: block;
95
  position: absolute;
96
  top: 0;
97
  left: 0;
150
  z-index: 40;
151
  cursor: pointer;
152
  opacity: 0;
153
+ -webkit-transition: opacity 0.3s ease, -webkit-transform 0.1s ease-in;
154
+ -moz-transition: opacity 0.3s ease, -moz-transform 0.1s ease-in;
155
+ -ms-transition: opacity 0.3s ease, -ms-transform 0.1s ease-in;
156
+ -o-transition: opacity 0.3s ease, -o-transform 0.1s ease-in;
157
+ transition: opacity 0.3s ease, transform 0.1s ease-in;
158
  }
159
 
160
  .easingslider-arrows.easingslider-next {
185
  padding-right: 20px;
186
  }
187
 
188
+ .easingslider .easingslider-prev.has-hover {
189
+ -webkit-transform: translate3d(-10px, 0, 0);
190
+ -moz-transform: translate3d(-10px, 0, 0);
191
+ -ms-transform: translate3d(-10px, 0, 0);
192
+ -o-transform: translate3d(-10px, 0, 0);
193
+ transform: translate3d(-10px, 0, 0);
194
+ }
195
+
196
+ .easingslider .easingslider-next.has-hover {
197
+ -webkit-transform: translate3d(10px, 0, 0);
198
+ -moz-transform: translate3d(10px, 0, 0);
199
+ -ms-transform: translate3d(10px, 0, 0);
200
+ -o-transform: translate3d(10px, 0, 0);
201
+ transform: translate3d(10px, 0, 0);
202
+ }
203
+
204
+ .easingslider:hover .easingslider-prev.has-hover,
205
+ .easingslider:hover .easingslider-next.has-hover {
206
+ -webkit-transform: translate3d(0, 0, 0);
207
+ -moz-transform: translate3d(0, 0, 0);
208
+ -ms-transform: translate3d(0, 0, 0);
209
+ -o-transform: translate3d(0, 0, 0);
210
+ transform: translate3d(0, 0, 0);
211
+ }
212
+
213
  /* Pagination
214
  -------------------------------------------------------------- */
215
  .easingslider-pagination {
216
  position: absolute;
217
  z-index: 40;
218
  opacity: 0;
219
+ -webkit-transition: opacity 0.3s ease;
220
+ -moz-transition: opacity 0.3s ease;
221
+ -ms-transition: opacity 0.3s ease;
222
+ -o-transition: opacity 0.3s ease;
223
+ transition: opacity 0.3s ease;
224
  }
225
 
226
  .easingslider-pagination.inside.bottom-left {
320
  background-image: url(../images/nav-icon-active.png);
321
  }
322
 
323
+ .easingslider .easingslider-pagination.has-hover {
324
+ opacity: 0;
325
+ }
326
+
327
+ .easingslider:hover .easingslider-pagination.has-hover {
328
+ opacity: 1;
329
+ }
330
+
331
  /* "Fade" transition
332
  -------------------------------------------------------------- */
333
  .easingslider.use-fade .easingslider-slide.next-in,
css/easingslider.min.css CHANGED
@@ -1 +1 @@
1
- .easingslider,.easingslider-image,.easingslider-link,.easingslider-slide,.easingslider-viewport{line-height:0!important;outline:0!important;padding:0!important;margin:0!important}.easingslider-image,.easingslider-link,.easingslider-slide,.easingslider-viewport{clear:none!important;border:0!important}.easingslider{position:relative!important;z-index:0}.easingslider.has-loaded .easingslider-arrows,.easingslider.has-loaded .easingslider-pagination{opacity:1}.easingslider-viewport{position:relative!important}.easingslider-preload{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:center center;background-color:#fff;width:100%!important;height:100%!important;position:absolute!important;top:0!important;left:0!important;z-index:50!important}.easingslider-slide{overflow:hidden;position:absolute;top:0;left:0;bottom:0;right:0;background-color:#fff}.easingslider-slide.active{z-index:10!important}.easingslider-slide.next-out,.easingslider-slide.prev-out{z-index:20!important}.easingslider-slide.next-in,.easingslider-slide.prev-in{z-index:30!important}.easingslider-link{position:relative!important;display:block!important;height:100%!important}.easingslider-image{max-height:auto!important;max-width:auto!important;height:auto!important;width:100%!important;position:absolute;top:0;left:0;bottom:0;right:0}.easingslider .easingslider-arrows.has-hover,.easingslider .easingslider-pagination.has-hover{opacity:0}.easingslider:hover .easingslider-arrows.has-hover,.easingslider:hover .easingslider-pagination.has-hover{opacity:1}.easingslider-play{position:absolute;top:0;right:0;bottom:0;left:0;background-image:url(../images/nav-play.png);background-repeat:no-repeat;background-position:center center;background-color:transparent;z-index:50;opacity:0;-webkit-transition:opacity .1s ease-in;-moz-transition:opacity .1s ease-in;-ms-transition:opacity .1s ease-in;-o-transition:opacity .1s ease-in;transition:opacity .1s ease-in}.easingslider-slide.active .easingslider-play{opacity:.5}.easingslider-slide.active .easingslider-play:hover{opacity:1}.easingslider-arrows{position:absolute;top:50%;width:30px;height:30px;margin-top:-15px;background-repeat:no-repeat;z-index:40;cursor:pointer;opacity:0;-webkit-transition:opacity .25s ease;-moz-transition:opacity .25s ease;-ms-transition:opacity .25s ease;-o-transition:opacity .25s ease;transition:opacity .25s ease}.easingslider-arrows.easingslider-next{background-image:url(../images/nav-arrow-next.png);background-position:top right}.easingslider-arrows.easingslider-prev{background-image:url(../images/nav-arrow-prev.png);background-position:top left}.easingslider-arrows.easingslider-next.inside{right:10px}.easingslider-arrows.easingslider-next.outside{right:-40px;padding-left:20px}.easingslider-arrows.easingslider-prev.inside{left:10px}.easingslider-arrows.easingslider-prev.outside{left:-40px;padding-right:20px}.easingslider-pagination{position:absolute;z-index:40;opacity:0;-webkit-transition:opacity .25s ease;-moz-transition:opacity .25s ease;-ms-transition:opacity .25s ease;-o-transition:opacity .25s ease;transition:opacity .25s ease}.easingslider-pagination.inside.bottom-left{bottom:10px;left:10px}.easingslider-pagination.inside.bottom-right{bottom:10px;right:10px}.easingslider-pagination.inside.bottom-center{bottom:10px;left:0;width:100%;text-align:center}.easingslider-pagination.inside.top-left{top:10px;left:10px}.easingslider-pagination.inside.top-right{top:10px;right:10px}.easingslider-pagination.inside.top-center{top:10px;left:0;width:100%;text-align:center}.easingslider-pagination.outside.bottom-left{bottom:-25px;left:0;padding-top:20px}.easingslider-pagination.outside.bottom-right{bottom:-25px;right:0;padding-top:20px}.easingslider-pagination.outside.bottom-center{bottom:-25px;left:0;width:100%;text-align:center;padding-top:20px}.easingslider-pagination.outside.top-left{top:-25px;left:0;padding-bottom:20px}.easingslider-pagination.outside.top-right{top:-25px;right:0;padding-bottom:20px}.easingslider-pagination.outside.top-center{top:-25px;left:0;width:100%;text-align:center;padding-bottom:20px}.easingslider-pagination .easingslider-icon{width:15px;height:15px;margin:0;padding:0;background-image:url(../images/nav-icon-inactive.png);background-repeat:no-repeat;background-position:0 0;display:inline-block;zoom:1;z-index:40;cursor:pointer}.easingslider-pagination .easingslider-icon:last-child{margin-right:0}.easingslider-pagination .easingslider-icon.active{background-image:url(../images/nav-icon-active.png)}.easingslider.use-fade .easingslider-slide.next-in,.easingslider.use-fade .easingslider-slide.prev-in{-webkit-animation:fadeIn .3s ease;-moz-animation:fadeIn .3s ease;-ms-animation:fadeIn .3s ease;-o-animation:fadeIn .3s ease;animation:fadeIn .3s ease}._easingslider.use-fade .easingslider-slide.next-out,._easingslider.use-fade .easingslider-slide.prev-out{-webkit-animation:fadeOut .3s ease;-moz-animation:fadeOut .3s ease;-ms-animation:fadeOut .3s ease;-o-animation:fadeOut .3s ease;animation:fadeOut .3s ease}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-ms-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-ms-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-o-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.easingslider.use-slide .easingslider-viewport{overflow:hidden}.easingslider.use-slide .easingslider-slide.next-in{-webkit-animation:slideNextIn .3s ease;-moz-animation:slideNextIn .3s ease;-ms-animation:slideNextIn .3s ease;-o-animation:slideNextIn .3s ease;animation:slideNextIn .3s ease}.easingslider.use-slide .easingslider-slide.next-out{-webkit-animation:slideNextOut .3s ease;-moz-animation:slideNextOut .3s ease;-ms-animation:slideNextOut .3s ease;-o-animation:slideNextOut .3s ease;animation:slideNextOut .3s ease}.easingslider.use-slide .easingslider-slide.prev-out{-webkit-animation:slidePrevOut .3s ease;-moz-animation:slidePrevOut .3s ease;-ms-animation:slidePrevOut .3s ease;-o-animation:slidePrevOut .3s ease;animation:slidePrevOut .3s ease}.easingslider.use-slide .easingslider-slide.prev-in{-webkit-animation:slidePrevIn .3s ease;-moz-animation:slidePrevIn .3s ease;-ms-animation:slidePrevIn .3s ease;-o-animation:slidePrevIn .3s ease;animation:slidePrevIn .3s ease}@-webkit-keyframes slideNextIn{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{-webkit-transform:none;transform:none}}@-moz-keyframes slideNextIn{0%{-moz-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{-moz-transform:none;transform:none}}@-ms-keyframes slideNextIn{0%{-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{-ms-transform:none;transform:none}}@-o-keyframes slideNextIn{0%{-o-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{-o-transform:none;transform:none}}@keyframes slideNextIn{0%{transform:translate3d(100%,0,0)}100%{transform:none}}@-webkit-keyframes slideNextOut{0%{-webkit-transform:none;transform:none}100%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-moz-keyframes slideNextOut{0%{-moz-transform:none;transform:none}100%{-moz-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-ms-keyframes slideNextOut{0%{-ms-transform:none;transform:none}100%{-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-o-keyframes slideNextOut{0%{-o-transform:none;transform:none}100%{-o-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideNextOut{0%{transform:none}100%{transform:translate3d(100%,0,0)}}@-webkit-keyframes slidePrevOut{0%{-webkit-transform:none;transform:none}100%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-moz-keyframes slidePrevOut{0%{-moz-transform:none;transform:none}100%{-moz-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-ms-keyframes slidePrevOut{0%{-ms-transform:none;transform:none}100%{-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-o-keyframes slidePrevOut{0%{-o-transform:none;transform:none}100%{-o-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slidePrevOut{0%{transform:none}100%{transform:translate3d(-100%,0,0)}}@-webkit-keyframes slidePrevIn{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{-webkit-transform:none;transform:none}}@-moz-keyframes slidePrevIn{0%{-moz-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{-moz-transform:none;transform:none}}@-ms-keyframes slidePrevIn{0%{-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{-ms-transform:none;transform:none}}@-o-keyframes slidePrevIn{0%{-o-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{-o-transform:none;transform:none}}@keyframes slidePrevIn{0%{transform:translate3d(-100%,0,0)}100%{transform:none}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.easingslider-preload{background-image:url(../images/loading@2x.gif);background-size:24px 24px}.easingslider-play{background-image:url(../images/nav-play@2x.png);background-size:40px 40px}.easingslider-arrows.easingslider-next{background-image:url(../images/nav-arrow-next@2x.png);background-size:30px 30px}.easingslider-arrows.easingslider-prev{background-image:url(../images/nav-arrow-prev@2x.png);background-size:30px 30px}.easingslider .easingslider-icon{background-image:url(../images/nav-icon-inactive@2x.png);background-size:14px 14px}.easingslider .easingslider-icon.active{background-image:url(../images/nav-icon-active@2x.png);background-size:14px 14px}}
1
+ .easingslider,.easingslider-image,.easingslider-link,.easingslider-slide,.easingslider-viewport{line-height:0!important;outline:0!important;padding:0!important;margin:0!important}.easingslider-image,.easingslider-link,.easingslider-slide,.easingslider-viewport{clear:none!important;border:0!important}.easingslider{position:relative!important;z-index:0}.easingslider.has-loaded .easingslider-arrows,.easingslider.has-loaded .easingslider-pagination{opacity:1}.easingslider-viewport{position:relative!important}.easingslider-preload{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:center center;background-color:#fff;width:100%!important;height:100%!important;position:absolute!important;top:0!important;left:0!important;z-index:50!important}.easingslider-slide{position:absolute!important;top:0;left:0;bottom:0;right:0;background-color:#fff;overflow:hidden}.easingslider-slide.active{z-index:10!important}.easingslider-slide.next-out,.easingslider-slide.prev-out{z-index:20!important}.easingslider-slide.next-in,.easingslider-slide.prev-in{z-index:30!important}.easingslider-background-slide{-webkit-background-size:cover;-moz-background-size:cover;background-size:cover;background-repeat:no-repeat;background-position:center center}.easingslider-link{position:relative!important;display:block!important;height:100%!important}.easingslider-image{max-width:100%!important;max-height:none!important;width:auto!important;height:auto!important;margin-left:auto!important;margin-right:auto!important;display:block;position:absolute;top:0;left:0;bottom:0;right:0}.easingslider .easingslider-arrows.has-hover,.easingslider .easingslider-pagination.has-hover{opacity:0}.easingslider:hover .easingslider-arrows.has-hover,.easingslider:hover .easingslider-pagination.has-hover{opacity:1}.easingslider-play{position:absolute;top:0;right:0;bottom:0;left:0;background-image:url(../images/nav-play.png);background-repeat:no-repeat;background-position:center center;background-color:transparent;z-index:50;opacity:0;-webkit-transition:opacity .1s ease-in;-moz-transition:opacity .1s ease-in;-ms-transition:opacity .1s ease-in;-o-transition:opacity .1s ease-in;transition:opacity .1s ease-in}.easingslider-slide.active .easingslider-play{opacity:.5}.easingslider-slide.active .easingslider-play:hover{opacity:1}.easingslider-arrows{position:absolute;top:50%;width:30px;height:30px;margin-top:-15px;background-repeat:no-repeat;z-index:40;cursor:pointer;opacity:0;-webkit-transition:opacity .3s ease,-webkit-transform .1s ease-in;-moz-transition:opacity .3s ease,-moz-transform .1s ease-in;-ms-transition:opacity .3s ease,-ms-transform .1s ease-in;-o-transition:opacity .3s ease,-o-transform .1s ease-in;transition:opacity .3s ease,transform .1s ease-in}.easingslider-arrows.easingslider-next{background-image:url(../images/nav-arrow-next.png);background-position:top right}.easingslider-arrows.easingslider-prev{background-image:url(../images/nav-arrow-prev.png);background-position:top left}.easingslider-arrows.easingslider-next.inside{right:10px}.easingslider-arrows.easingslider-next.outside{right:-40px;padding-left:20px}.easingslider-arrows.easingslider-prev.inside{left:10px}.easingslider-arrows.easingslider-prev.outside{left:-40px;padding-right:20px}.easingslider .easingslider-prev.has-hover{-webkit-transform:translate3d(-10px,0,0);-moz-transform:translate3d(-10px,0,0);-ms-transform:translate3d(-10px,0,0);-o-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}.easingslider .easingslider-next.has-hover{-webkit-transform:translate3d(10px,0,0);-moz-transform:translate3d(10px,0,0);-ms-transform:translate3d(10px,0,0);-o-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}.easingslider:hover .easingslider-next.has-hover,.easingslider:hover .easingslider-prev.has-hover{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.easingslider-pagination{position:absolute;z-index:40;opacity:0;-webkit-transition:opacity .3s ease;-moz-transition:opacity .3s ease;-ms-transition:opacity .3s ease;-o-transition:opacity .3s ease;transition:opacity .3s ease}.easingslider-pagination.inside.bottom-left{bottom:10px;left:10px}.easingslider-pagination.inside.bottom-right{bottom:10px;right:10px}.easingslider-pagination.inside.bottom-center{bottom:10px;left:0;width:100%;text-align:center}.easingslider-pagination.inside.top-left{top:10px;left:10px}.easingslider-pagination.inside.top-right{top:10px;right:10px}.easingslider-pagination.inside.top-center{top:10px;left:0;width:100%;text-align:center}.easingslider-pagination.outside.bottom-left{bottom:-25px;left:0;padding-top:20px}.easingslider-pagination.outside.bottom-right{bottom:-25px;right:0;padding-top:20px}.easingslider-pagination.outside.bottom-center{bottom:-25px;left:0;width:100%;text-align:center;padding-top:20px}.easingslider-pagination.outside.top-left{top:-25px;left:0;padding-bottom:20px}.easingslider-pagination.outside.top-right{top:-25px;right:0;padding-bottom:20px}.easingslider-pagination.outside.top-center{top:-25px;left:0;width:100%;text-align:center;padding-bottom:20px}.easingslider-pagination .easingslider-icon{width:15px;height:15px;margin:0;padding:0;background-image:url(../images/nav-icon-inactive.png);background-repeat:no-repeat;background-position:0 0;display:inline-block;zoom:1;z-index:40;cursor:pointer}.easingslider-pagination .easingslider-icon:last-child{margin-right:0}.easingslider-pagination .easingslider-icon.active{background-image:url(../images/nav-icon-active.png)}.easingslider .easingslider-pagination.has-hover{opacity:0}.easingslider:hover .easingslider-pagination.has-hover{opacity:1}.easingslider.use-fade .easingslider-slide.next-in,.easingslider.use-fade .easingslider-slide.prev-in{-webkit-animation:fadeIn .3s ease;-moz-animation:fadeIn .3s ease;-ms-animation:fadeIn .3s ease;-o-animation:fadeIn .3s ease;animation:fadeIn .3s ease}._easingslider.use-fade .easingslider-slide.next-out,._easingslider.use-fade .easingslider-slide.prev-out{-webkit-animation:fadeOut .3s ease;-moz-animation:fadeOut .3s ease;-ms-animation:fadeOut .3s ease;-o-animation:fadeOut .3s ease;animation:fadeOut .3s ease}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-ms-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-ms-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-o-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.easingslider.use-slide .easingslider-viewport{overflow:hidden}.easingslider.use-slide .easingslider-slide.next-in{-webkit-animation:slideNextIn .3s ease;-moz-animation:slideNextIn .3s ease;-ms-animation:slideNextIn .3s ease;-o-animation:slideNextIn .3s ease;animation:slideNextIn .3s ease}.easingslider.use-slide .easingslider-slide.next-out{-webkit-animation:slideNextOut .3s ease;-moz-animation:slideNextOut .3s ease;-ms-animation:slideNextOut .3s ease;-o-animation:slideNextOut .3s ease;animation:slideNextOut .3s ease}.easingslider.use-slide .easingslider-slide.prev-out{-webkit-animation:slidePrevOut .3s ease;-moz-animation:slidePrevOut .3s ease;-ms-animation:slidePrevOut .3s ease;-o-animation:slidePrevOut .3s ease;animation:slidePrevOut .3s ease}.easingslider.use-slide .easingslider-slide.prev-in{-webkit-animation:slidePrevIn .3s ease;-moz-animation:slidePrevIn .3s ease;-ms-animation:slidePrevIn .3s ease;-o-animation:slidePrevIn .3s ease;animation:slidePrevIn .3s ease}@-webkit-keyframes slideNextIn{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{-webkit-transform:none;transform:none}}@-moz-keyframes slideNextIn{0%{-moz-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{-moz-transform:none;transform:none}}@-ms-keyframes slideNextIn{0%{-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{-ms-transform:none;transform:none}}@-o-keyframes slideNextIn{0%{-o-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{-o-transform:none;transform:none}}@keyframes slideNextIn{0%{transform:translate3d(100%,0,0)}100%{transform:none}}@-webkit-keyframes slideNextOut{0%{-webkit-transform:none;transform:none}100%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-moz-keyframes slideNextOut{0%{-moz-transform:none;transform:none}100%{-moz-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-ms-keyframes slideNextOut{0%{-ms-transform:none;transform:none}100%{-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-o-keyframes slideNextOut{0%{-o-transform:none;transform:none}100%{-o-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideNextOut{0%{transform:none}100%{transform:translate3d(100%,0,0)}}@-webkit-keyframes slidePrevOut{0%{-webkit-transform:none;transform:none}100%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-moz-keyframes slidePrevOut{0%{-moz-transform:none;transform:none}100%{-moz-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-ms-keyframes slidePrevOut{0%{-ms-transform:none;transform:none}100%{-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-o-keyframes slidePrevOut{0%{-o-transform:none;transform:none}100%{-o-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slidePrevOut{0%{transform:none}100%{transform:translate3d(-100%,0,0)}}@-webkit-keyframes slidePrevIn{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{-webkit-transform:none;transform:none}}@-moz-keyframes slidePrevIn{0%{-moz-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{-moz-transform:none;transform:none}}@-ms-keyframes slidePrevIn{0%{-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{-ms-transform:none;transform:none}}@-o-keyframes slidePrevIn{0%{-o-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{-o-transform:none;transform:none}}@keyframes slidePrevIn{0%{transform:translate3d(-100%,0,0)}100%{transform:none}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.easingslider-preload{background-image:url(../images/loading@2x.gif);background-size:24px 24px}.easingslider-play{background-image:url(../images/nav-play@2x.png);background-size:40px 40px}.easingslider-arrows.easingslider-next{background-image:url(../images/nav-arrow-next@2x.png);background-size:30px 30px}.easingslider-arrows.easingslider-prev{background-image:url(../images/nav-arrow-prev@2x.png);background-size:30px 30px}.easingslider .easingslider-icon{background-image:url(../images/nav-icon-inactive@2x.png);background-size:14px 14px}.easingslider .easingslider-icon.active{background-image:url(../images/nav-icon-active@2x.png);background-size:14px 14px}}
css/editor-pages.css CHANGED
@@ -20,14 +20,6 @@
20
  width: 4em;
21
  }
22
 
23
- .media-toolbar .media-toolbar-primary {
24
- max-width: 40%;
25
- }
26
-
27
- .media-toolbar .media-toolbar-secondary {
28
- max-width: 60%;
29
- }
30
-
31
  .thumbnail .action .details-url {
32
  width: 100%;
33
  max-width: 700px;
@@ -88,6 +80,17 @@
88
  margin-top: 10px !important;
89
  }
90
 
 
 
 
 
 
 
 
 
 
 
 
91
  .list {
92
  margin: 0 0 20px 20px !important;
93
  }
@@ -108,22 +111,38 @@
108
  height: auto;
109
  }
110
 
 
 
 
 
 
 
 
 
 
 
111
  .toolbar-container .media-toolbar .media-button {
112
  margin-top: 10px;
113
  margin-bottom: 10px;
114
  }
115
 
116
  .toolbar-container .media-toolbar .randomize {
117
- float: left;
118
- margin-top: 9px;
119
- margin-bottom: 9px;
120
- line-height: 32px;
 
121
  }
122
 
123
  .toolbar-container .media-toolbar .randomize input[type="checkbox"] {
 
124
  margin-right: 8px;
125
  }
126
 
 
 
 
 
127
  .toolbar-container .title-form {
128
  float: left;
129
  margin-top: 9px;
@@ -131,7 +150,7 @@
131
 
132
  .toolbar-container .title-form .media-button {
133
  margin-top: 1px;
134
- margin-left: 9px;
135
  }
136
 
137
  .toolbar-container .title-form label {
@@ -150,11 +169,19 @@
150
  line-height: 1.5;
151
  }
152
 
 
 
 
 
 
 
 
 
 
153
  .settings-container {
154
  float: right;
155
- clear: right;
156
- width: 285px;
157
- padding-right: 5px;
158
  }
159
 
160
  .settings-container .banners a {
@@ -242,6 +269,16 @@
242
  margin-right: 2px;
243
  }
244
 
 
 
 
 
 
 
 
 
 
 
245
  .settings-container .sidebar-content .manage-slides-buttons .dashicons-plus {
246
  line-height: 28px;
247
  }
@@ -263,8 +300,8 @@
263
  margin-right: 5%;
264
  }
265
 
266
- .slides-container {
267
- margin: 0 350px 0 0;
268
  }
269
 
270
  #slides-browser .spinner {
@@ -334,6 +371,18 @@
334
  opacity: 1;
335
  }
336
 
 
 
 
 
 
 
 
 
 
 
 
 
337
  @media only screen and (max-width: 900px) {
338
  .attachment-info .setting .link-options {
339
  width: 100%;
@@ -341,7 +390,7 @@
341
  }
342
  }
343
 
344
- @media only screen and (max-width: 640px), screen and (max-height: 400px) {
345
  .image-details .media-modal {
346
  left: 0 !important;
347
  right: 0 !important;
@@ -369,4 +418,41 @@
369
  .attachment-info .setting .link-options label {
370
  margin-top: 8px;
371
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
  }
20
  width: 4em;
21
  }
22
 
 
 
 
 
 
 
 
 
23
  .thumbnail .action .details-url {
24
  width: 100%;
25
  max-width: 700px;
80
  margin-top: 10px !important;
81
  }
82
 
83
+ .media-modal .media-embed .thumbnail {
84
+ max-height: none;
85
+ max-width: none;
86
+ }
87
+
88
+ .media-modal .media-embed .thumbnail img {
89
+ max-height: none;
90
+ max-width: 1000px;
91
+ width: 100%;
92
+ }
93
+
94
  .list {
95
  margin: 0 0 20px 20px !important;
96
  }
111
  height: auto;
112
  }
113
 
114
+ .toolbar-container .media-toolbar .media-toolbar-primary,
115
+ .toolbar-container .media-toolbar .media-toolbar-secondary {
116
+ max-width: 50%;
117
+ min-width: 384px;
118
+ }
119
+
120
+ .toolbar-container .media-toolbar .media-toolbar-primary {
121
+ text-align: right;
122
+ }
123
+
124
  .toolbar-container .media-toolbar .media-button {
125
  margin-top: 10px;
126
  margin-bottom: 10px;
127
  }
128
 
129
  .toolbar-container .media-toolbar .randomize {
130
+ float: none;
131
+ margin-top: 10px;
132
+ margin-bottom: 10px;
133
+ line-height: 30px;
134
+ display: inline-block;
135
  }
136
 
137
  .toolbar-container .media-toolbar .randomize input[type="checkbox"] {
138
+ margin-top: -2px;
139
  margin-right: 8px;
140
  }
141
 
142
+ .toolbar-container .media-toolbar .media-button {
143
+ float: none;
144
+ }
145
+
146
  .toolbar-container .title-form {
147
  float: left;
148
  margin-top: 9px;
150
 
151
  .toolbar-container .title-form .media-button {
152
  margin-top: 1px;
153
+ margin-left: 0;
154
  }
155
 
156
  .toolbar-container .title-form label {
169
  line-height: 1.5;
170
  }
171
 
172
+ .main-container {
173
+ margin-right: 300px;
174
+ }
175
+
176
+ .slides-container {
177
+ width: 100%;
178
+ float: left;
179
+ }
180
+
181
  .settings-container {
182
  float: right;
183
+ margin-right: -300px;
184
+ width: 280px;
 
185
  }
186
 
187
  .settings-container .banners a {
269
  margin-right: 2px;
270
  }
271
 
272
+ .settings-container .sidebar-content .advanced-options.hidden {
273
+ display: none !important;
274
+ }
275
+
276
+ .settings-container .sidebar-content .show-advanced-options {
277
+ margin: 15px 0;
278
+ font-weight: bold;
279
+ display: block;
280
+ }
281
+
282
  .settings-container .sidebar-content .manage-slides-buttons .dashicons-plus {
283
  line-height: 28px;
284
  }
300
  margin-right: 5%;
301
  }
302
 
303
+ #slides-browser .ui-sortable {
304
+ min-height: 300px;
305
  }
306
 
307
  #slides-browser .spinner {
371
  opacity: 1;
372
  }
373
 
374
+ @media only screen and (max-width: 1040px) {
375
+ .toolbar-container .media-toolbar .media-toolbar-primary,
376
+ .toolbar-container .media-toolbar .media-toolbar-secondary {
377
+ max-width: 100%;
378
+ float: none;
379
+ }
380
+
381
+ .toolbar-container .media-toolbar .media-toolbar-primary {
382
+ text-align: left;
383
+ }
384
+ }
385
+
386
  @media only screen and (max-width: 900px) {
387
  .attachment-info .setting .link-options {
388
  width: 100%;
390
  }
391
  }
392
 
393
+ @media only screen and (max-width: 640px) {
394
  .image-details .media-modal {
395
  left: 0 !important;
396
  right: 0 !important;
418
  .attachment-info .setting .link-options label {
419
  margin-top: 8px;
420
  }
421
+
422
+ .toolbar-container .media-toolbar .media-toolbar-primary {
423
+ margin-bottom: 15px;
424
+ }
425
+
426
+ .toolbar-container .media-toolbar .media-toolbar-secondary {
427
+ margin-top: 10px;
428
+ }
429
+
430
+ .toolbar-container .media-toolbar .randomize {
431
+ display: block;
432
+ float: none;
433
+ }
434
+
435
+ .toolbar-container .media-toolbar .media-button {
436
+ float: none;
437
+ margin: 0 10px 10px 0;
438
+ }
439
+
440
+ .main-container {
441
+ margin-right: 0;
442
+ }
443
+
444
+ .slides-container {
445
+ float: none;
446
+ }
447
+
448
+ #slides-browser .ui-sortable {
449
+ min-height: 100px;
450
+ }
451
+
452
+ .settings-container {
453
+ float: none;
454
+ margin-top: 20px;
455
+ margin-right: 0;
456
+ width: 100%;
457
+ }
458
  }
css/editor-pages.min.css CHANGED
@@ -1 +1 @@
1
- .clearfix::after,.clearfix::before{display:table;content:'';line-height:0}.clearfix::after{clear:both}.updated.notice{border-color:#ffba00!important}.wp-list-table .column-ID{width:4em}.media-toolbar .media-toolbar-primary{max-width:40%}.media-toolbar .media-toolbar-secondary{max-width:60%}.thumbnail .action .details-url{width:100%;max-width:700px}.image-details .media-modal{left:30px!important;right:30px!important}.attachment-info .settings{border-bottom-width:0!important}.attachment-info .settings h3{margin:10px 0;position:relative;font-weight:700;text-transform:uppercase;font-size:12px;color:#666}.attachment-info .setting .link-options{width:65%;float:right;margin:1px}.attachment-info .setting .link-options input[type=text]{width:98%;float:none;margin:5px 0 0}.attachment-info .setting .link-options label{margin-top:5px}.attachment-info .setting .link-options input[type=checkbox]{margin:-1px 5px 0 0!important}.attachment-info .column-settings h3.no-border{border-top-width:0;padding-top:0}.description{font-size:11px!important;font-style:italic!important;display:block!important;color:#777!important;padding:5px 0!important}.media-modal .description{margin-top:10px!important}.list{margin:0 0 20px 20px!important}.list li{font-size:11px!important;color:#777!important}.toolbar-container .media-toolbar{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);-moz-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;margin-top:10px;margin-bottom:15px;position:relative;height:auto}.toolbar-container .media-toolbar .media-button{margin-top:10px;margin-bottom:10px}.toolbar-container .media-toolbar .randomize{float:left;margin-top:9px;margin-bottom:9px;line-height:32px}.toolbar-container .media-toolbar .randomize input[type=checkbox]{margin-right:8px}.toolbar-container .title-form{float:left;margin-top:9px}.toolbar-container .title-form .media-button{margin-top:1px;margin-left:9px}.toolbar-container .title-form label{vertical-align:top;font-weight:700;line-height:32px;margin:0 5px 0 0}.toolbar-container .title-form input[type=text]{margin:0;padding:3px 5px;width:280px;font-size:16px;font-weight:300;line-height:1.5}.settings-container{float:right;clear:right;width:285px;padding-right:5px}.settings-container .banners a{display:block;margin-bottom:15px}.settings-container .widgets-holder-wrap{margin-top:0;margin-bottom:10px}.settings-container .sidebar-name{border-bottom:1px solid #eee}.settings-container .sidebar-name h3{padding:15px}.settings-container .sidebar-name-arrow:before{top:4px!important}.settings-container.closed .sidebar-name{border-width:0}.settings-container .sidebar-content{border-width:0 1px 1px;border-style:none solid solid;border-color:#fff;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;padding:10px 15px;min-height:20px}.settings-container .sidebar-content .divider{margin-bottom:0}.settings-container .sidebar-content .field,.settings-container .sidebar-content .radio{width:100%;margin:1em 0}.settings-container .sidebar-content .field span{font-weight:700;display:block}.settings-container .sidebar-content .field{float:left}.settings-container .sidebar-content .field input[type=number],.settings-container .sidebar-content .field input[type=text],.settings-container .sidebar-content .field select{width:90%}.settings-container .sidebar-content .field input[type=checkbox]{margin-right:4px}.settings-container .sidebar-content .radio>span{font-weight:700;float:left}.settings-container .sidebar-content .radio .buttons{float:right}.settings-container .sidebar-content .radio .buttons label{margin-right:10px}.settings-container .sidebar-content .radio .buttons input{margin-top:0;margin-right:2px}.settings-container .sidebar-content .manage-slides-buttons .dashicons-plus{line-height:28px}.settings-container .sidebar-content .manage-slides-buttons .dashicons-trash{line-height:27px}.settings-container .sidebar-content .misc-pub-section{padding-left:0;padding-right:0}.settings-container .dimension-settings .field.half{width:45%}.settings-container .dimension-settings .field.half:first-child{margin-right:5%}.slides-container{margin:0 350px 0 0}#slides-browser .spinner{float:left;display:inline}#slides-browser .attachment .toolbar{display:none;text-align:left;position:absolute;top:0;left:0}#slides-browser .attachment:hover .toolbar{display:block}#slides-browser .attachment .toolbar i{-webkit-box-shadow:0 1px 3px rgba(0,0,0,.5);-moz-box-shadow:0 1px 3px rgba(0,0,0,.5);box-shadow:0 1px 3px rgba(0,0,0,.5);position:relative;margin-top:7px;margin-left:7px;padding:2px;font-size:30px;height:30px;width:30px;background:#000;background:rgba(0,0,0,.9);cursor:pointer;z-index:9999;color:#fff}#slides-browser .attachment .toolbar i:hover{-webkit-box-shadow:0 1px 3px rgba(0,0,0,.8);-moz-box-shadow:0 1px 3px rgba(0,0,0,.8);box-shadow:0 1px 3px rgba(0,0,0,.8);background-color:#000;color:#2ea2cc}#slides-browser .attachment .check div{background-position:21px 0}#slides-browser .attachment.selected .check div{background-position:-21px 0}#slides-browser .attachment.selected .check:hover div{background-position:-60px 0}#slides-browser .thumbnail img{width:100%}#slides-browser .thumbnail img.icon{width:auto}#slides-browser .thumbnail:hover .delete-button{opacity:1}@media only screen and (max-width:900px){.attachment-info .setting .link-options{width:100%;float:none}}@media only screen and (max-width:640px),screen and (max-height:400px){.image-details .media-modal{left:0!important;right:0!important}.image-details .media-modal input[type=text],.image-details .media-modal input[type=url],.image-details .media-modal select,.image-details .media-modal textarea{font-size:16px;padding:6px 10px}.attachment-info .media-modal{left:0!important;right:0!important}.attachment-info .setting .link-options{width:100%;float:none;margin:1px}.attachment-info .setting .link-options label{margin-top:8px}}
1
+ .clearfix::after,.clearfix::before{display:table;content:'';line-height:0}.clearfix::after{clear:both}.updated.notice{border-color:#ffba00!important}.wp-list-table .column-ID{width:4em}.thumbnail .action .details-url{width:100%;max-width:700px}.image-details .media-modal{left:30px!important;right:30px!important}.attachment-info .settings{border-bottom-width:0!important}.attachment-info .settings h3{margin:10px 0;position:relative;font-weight:700;text-transform:uppercase;font-size:12px;color:#666}.attachment-info .setting .link-options{width:65%;float:right;margin:1px}.attachment-info .setting .link-options input[type=text]{width:98%;float:none;margin:5px 0 0}.attachment-info .setting .link-options label{margin-top:5px}.attachment-info .setting .link-options input[type=checkbox]{margin:-1px 5px 0 0!important}.attachment-info .column-settings h3.no-border{border-top-width:0;padding-top:0}.description{font-size:11px!important;font-style:italic!important;display:block!important;color:#777!important;padding:5px 0!important}.media-modal .description{margin-top:10px!important}.media-modal .media-embed .thumbnail{max-height:none;max-width:none}.media-modal .media-embed .thumbnail img{max-height:none;max-width:1000px;width:100%}.list{margin:0 0 20px 20px!important}.list li{font-size:11px!important;color:#777!important}.toolbar-container .media-toolbar{-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);-moz-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;margin-top:10px;margin-bottom:15px;position:relative;height:auto}.toolbar-container .media-toolbar .media-toolbar-primary,.toolbar-container .media-toolbar .media-toolbar-secondary{max-width:50%;min-width:384px}.toolbar-container .media-toolbar .media-toolbar-primary{text-align:right}.toolbar-container .media-toolbar .media-button{margin-top:10px;margin-bottom:10px}.toolbar-container .media-toolbar .randomize{float:none;margin-top:10px;margin-bottom:10px;line-height:30px;display:inline-block}.toolbar-container .media-toolbar .randomize input[type=checkbox]{margin-top:-2px;margin-right:8px}.toolbar-container .media-toolbar .media-button{float:none}.toolbar-container .title-form{float:left;margin-top:9px}.toolbar-container .title-form .media-button{margin-top:1px;margin-left:0}.toolbar-container .title-form label{vertical-align:top;font-weight:700;line-height:32px;margin:0 5px 0 0}.toolbar-container .title-form input[type=text]{margin:0;padding:3px 5px;width:280px;font-size:16px;font-weight:300;line-height:1.5}.main-container{margin-right:300px}.slides-container{width:100%;float:left}.settings-container{float:right;margin-right:-300px;width:280px}.settings-container .banners a{display:block;margin-bottom:15px}.settings-container .widgets-holder-wrap{margin-top:0;margin-bottom:10px}.settings-container .sidebar-name{border-bottom:1px solid #eee}.settings-container .sidebar-name h3{padding:15px}.settings-container .sidebar-name-arrow:before{top:4px!important}.settings-container.closed .sidebar-name{border-width:0}.settings-container .sidebar-content{border-width:0 1px 1px;border-style:none solid solid;border-color:#fff;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;padding:10px 15px;min-height:20px}.settings-container .sidebar-content .divider{margin-bottom:0}.settings-container .sidebar-content .field,.settings-container .sidebar-content .radio{width:100%;margin:1em 0}.settings-container .sidebar-content .field span{font-weight:700;display:block}.settings-container .sidebar-content .field{float:left}.settings-container .sidebar-content .field input[type=text],.settings-container .sidebar-content .field input[type=number],.settings-container .sidebar-content .field select{width:90%}.settings-container .sidebar-content .field input[type=checkbox]{margin-right:4px}.settings-container .sidebar-content .radio>span{font-weight:700;float:left}.settings-container .sidebar-content .radio .buttons{float:right}.settings-container .sidebar-content .radio .buttons label{margin-right:10px}.settings-container .sidebar-content .radio .buttons input{margin-top:0;margin-right:2px}.settings-container .sidebar-content .advanced-options.hidden{display:none!important}.settings-container .sidebar-content .show-advanced-options{margin:15px 0;font-weight:700;display:block}.settings-container .sidebar-content .manage-slides-buttons .dashicons-plus{line-height:28px}.settings-container .sidebar-content .manage-slides-buttons .dashicons-trash{line-height:27px}.settings-container .sidebar-content .misc-pub-section{padding-left:0;padding-right:0}.settings-container .dimension-settings .field.half{width:45%}.settings-container .dimension-settings .field.half:first-child{margin-right:5%}#slides-browser .ui-sortable{min-height:300px}#slides-browser .spinner{float:left;display:inline}#slides-browser .attachment .toolbar{display:none;text-align:left;position:absolute;top:0;left:0}#slides-browser .attachment:hover .toolbar{display:block}#slides-browser .attachment .toolbar i{-webkit-box-shadow:0 1px 3px rgba(0,0,0,.5);-moz-box-shadow:0 1px 3px rgba(0,0,0,.5);box-shadow:0 1px 3px rgba(0,0,0,.5);position:relative;margin-top:7px;margin-left:7px;padding:2px;font-size:30px;height:30px;width:30px;background:#000;background:rgba(0,0,0,.9);cursor:pointer;z-index:9999;color:#fff}#slides-browser .attachment .toolbar i:hover{-webkit-box-shadow:0 1px 3px rgba(0,0,0,.8);-moz-box-shadow:0 1px 3px rgba(0,0,0,.8);box-shadow:0 1px 3px rgba(0,0,0,.8);background-color:#000;color:#2ea2cc}#slides-browser .attachment .check div{background-position:21px 0}#slides-browser .attachment.selected .check div{background-position:-21px 0}#slides-browser .attachment.selected .check:hover div{background-position:-60px 0}#slides-browser .thumbnail img{width:100%}#slides-browser .thumbnail img.icon{width:auto}#slides-browser .thumbnail:hover .delete-button{opacity:1}@media only screen and (max-width:1040px){.toolbar-container .media-toolbar .media-toolbar-primary,.toolbar-container .media-toolbar .media-toolbar-secondary{max-width:100%;float:none}.toolbar-container .media-toolbar .media-toolbar-primary{text-align:left}}@media only screen and (max-width:900px){.attachment-info .setting .link-options{width:100%;float:none}}@media only screen and (max-width:640px){.image-details .media-modal{left:0!important;right:0!important}.image-details .media-modal input[type=text],.image-details .media-modal input[type=url],.image-details .media-modal select,.image-details .media-modal textarea{font-size:16px;padding:6px 10px}.attachment-info .media-modal{left:0!important;right:0!important}.attachment-info .setting .link-options{width:100%;float:none;margin:1px}.attachment-info .setting .link-options label{margin-top:8px}.toolbar-container .media-toolbar .media-toolbar-primary{margin-bottom:15px}.toolbar-container .media-toolbar .media-toolbar-secondary{margin-top:10px}.toolbar-container .media-toolbar .randomize{display:block;float:none}.toolbar-container .media-toolbar .media-button{float:none;margin:0 10px 10px 0}.main-container{margin-right:0}.slides-container{float:none}#slides-browser .ui-sortable{min-height:100px}.settings-container{float:none;margin-top:20px;margin-right:0;width:100%}}
css/extensions-page.css CHANGED
@@ -3,7 +3,7 @@
3
  }
4
 
5
  .updated.notice {
6
- border-color: #ffba00 !important;
7
  }
8
 
9
  .extension {
@@ -13,12 +13,13 @@
13
  padding: 15px;
14
  float: left;
15
  width: 300px;
16
- height: 350px;
17
  position: relative;
18
  }
19
 
20
  .extension a {
21
  display: block;
 
22
  }
23
 
24
  .extension img {
@@ -26,8 +27,8 @@
26
  height: auto;
27
  }
28
 
29
- .extension .button {
30
  position: absolute;
31
- bottom: 10px;
32
- right: 10px;
33
  }
3
  }
4
 
5
  .updated.notice {
6
+ border-color: #ffba00 !important;
7
  }
8
 
9
  .extension {
13
  padding: 15px;
14
  float: left;
15
  width: 300px;
16
+ height: 330px;
17
  position: relative;
18
  }
19
 
20
  .extension a {
21
  display: block;
22
+ margin: -16px -16px 15px -16px;
23
  }
24
 
25
  .extension img {
27
  height: auto;
28
  }
29
 
30
+ .extension .button-primary {
31
  position: absolute;
32
+ bottom: 15px;
33
+ left: 15px;
34
  }
css/extensions-page.min.css CHANGED
@@ -1 +1 @@
1
- .wrap>p{margin-bottom:25px}.updated.notice{border-color:#ffba00!important}.extension{background:#f1f1f1;border:1px solid #ccc;margin:0 20px 20px 0;padding:15px;float:left;width:300px;height:350px;position:relative}.extension a{display:block}.extension img{max-width:100%;height:auto}.extension .button{position:absolute;bottom:10px;right:10px}
1
+ .wrap>p{margin-bottom:25px}.updated.notice{border-color:#ffba00!important}.extension{background:#f1f1f1;border:1px solid #ccc;margin:0 20px 20px 0;padding:15px;float:left;width:300px;height:330px;position:relative}.extension a{display:block;margin:-16px -16px 15px}.extension img{max-width:100%;height:auto}.extension .button-primary{position:absolute;bottom:15px;left:15px}
easing-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Easing Slider
5
  Plugin URI: http://easingslider.com/
6
- Version: 2.2.0.8
7
  Author: Matthew Ruddy
8
  Author URI: http://matthewruddy.com/
9
  Description: Easing Slider is an easy to use slider plugin for WordPress. Simple, lightweight & designed to get the job done, it allows you to get creating sliders without any difficulty.
@@ -41,9 +41,6 @@ if ( class_exists( 'Easing_Slider' ) ) {
41
  /**
42
  * Loads and defines the plugin functionality.
43
  *
44
- * This class can also be used as an alias for the "ES_Slider" class.
45
- * All calls to undefined methods or variables are forwarded to it.
46
- *
47
  * @author Matthew Ruddy
48
  */
49
  class Easing_Slider {
@@ -53,7 +50,7 @@ class Easing_Slider {
53
  *
54
  * @var string
55
  */
56
- public static $version = '2.2.0.8';
57
 
58
  /**
59
  * Our plugin file
@@ -287,7 +284,6 @@ class Easing_Slider {
287
  add_action( 'easingslider_remove_data', array( $extensions_page, 'remove_capabilities' ) );
288
 
289
  add_action( 'delete_attachment', array( $image_resizer, 'delete_resized_attachments' ) );
290
- add_filter( 'easingslider_modify_image_url', array( $image_resizer, 'resized_image_url' ), 10, 3 );
291
 
292
  add_action( 'init', array( $legacy, 'lite_upgrade_from_200' ), 1 );
293
  add_action( 'init', array( $legacy, 'lite_upgrade_from_100' ), 2 );
@@ -322,8 +318,10 @@ class Easing_Slider {
322
  add_filter( 'easingslider_pre_save_slider', array( $slider, 'no_title' ) );
323
  add_filter( 'easingslider_pre_display_slider', array( $slider, 'maybe_randomize' ) );
324
  add_filter( 'easingslider_get_html_data', array( $slider, 'cleanup_data' ) );
 
325
  add_filter( 'easingslider_before_slider_content', array( $slider, 'add_preload' ), 10, 2 );
326
  add_filter( 'easingslider_display_image_slide', array( $slider, 'add_image' ), 10, 3 );
 
327
  add_filter( 'easingslider_before_display_slide', array( $slider, 'open_link' ), 10, 3 );
328
  add_filter( 'easingslider_after_display_slide', array( $slider, 'close_link' ), 10, 3 );
329
 
@@ -366,6 +364,7 @@ class Easing_Slider {
366
  * Define hooks
367
  */
368
  add_filter( 'easingslider_metadata_defaults', array( $customizations, 'merge_defaults' ) );
 
369
  add_filter( 'easingslider_after_display_slider', array( $customizations, 'drop_shadow' ), 10, 2 );
370
  add_filter( 'easingslider_before_display_slider', array( $customizations, 'display_styling' ), 10, 2 );
371
 
3
  /*
4
  Plugin Name: Easing Slider
5
  Plugin URI: http://easingslider.com/
6
+ Version: 2.2.1
7
  Author: Matthew Ruddy
8
  Author URI: http://matthewruddy.com/
9
  Description: Easing Slider is an easy to use slider plugin for WordPress. Simple, lightweight & designed to get the job done, it allows you to get creating sliders without any difficulty.
41
  /**
42
  * Loads and defines the plugin functionality.
43
  *
 
 
 
44
  * @author Matthew Ruddy
45
  */
46
  class Easing_Slider {
50
  *
51
  * @var string
52
  */
53
+ public static $version = '2.2.1';
54
 
55
  /**
56
  * Our plugin file
284
  add_action( 'easingslider_remove_data', array( $extensions_page, 'remove_capabilities' ) );
285
 
286
  add_action( 'delete_attachment', array( $image_resizer, 'delete_resized_attachments' ) );
 
287
 
288
  add_action( 'init', array( $legacy, 'lite_upgrade_from_200' ), 1 );
289
  add_action( 'init', array( $legacy, 'lite_upgrade_from_100' ), 2 );
318
  add_filter( 'easingslider_pre_save_slider', array( $slider, 'no_title' ) );
319
  add_filter( 'easingslider_pre_display_slider', array( $slider, 'maybe_randomize' ) );
320
  add_filter( 'easingslider_get_html_data', array( $slider, 'cleanup_data' ) );
321
+ add_filter( 'easingslider_before_display_slider', array( $slider, 'no_script' ), 10, 2 );
322
  add_filter( 'easingslider_before_slider_content', array( $slider, 'add_preload' ), 10, 2 );
323
  add_filter( 'easingslider_display_image_slide', array( $slider, 'add_image' ), 10, 3 );
324
+ add_filter( 'easingslider_modify_image_url', array( $slider, 'resize_image' ), 10, 3 );
325
  add_filter( 'easingslider_before_display_slide', array( $slider, 'open_link' ), 10, 3 );
326
  add_filter( 'easingslider_after_display_slide', array( $slider, 'close_link' ), 10, 3 );
327
 
364
  * Define hooks
365
  */
366
  add_filter( 'easingslider_metadata_defaults', array( $customizations, 'merge_defaults' ) );
367
+ add_filter( 'easingslider_get_container_data', array( $customizations, 'remove_data' ), 10, 2 );
368
  add_filter( 'easingslider_after_display_slider', array( $customizations, 'drop_shadow' ), 10, 2 );
369
  add_filter( 'easingslider_before_display_slider', array( $customizations, 'display_styling' ), 10, 2 );
370
 
images/pro-bundle.png ADDED
Binary file
includes/class-es-customizations.php CHANGED
@@ -190,6 +190,21 @@ class ES_Customizations {
190
 
191
  }
192
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  /**
194
  * Displays a drop shadow beneath the slider
195
  *
190
 
191
  }
192
 
193
+ /**
194
+ * Removes customizations from slider container data (it's not needed).
195
+ *
196
+ * @param array $metadata The array of metadata
197
+ * @return array
198
+ */
199
+ public function remove_data( $metadata ) {
200
+
201
+ // Remove the data
202
+ unset( $metadata['customizations'] );
203
+
204
+ return $metadata;
205
+
206
+ }
207
+
208
  /**
209
  * Displays a drop shadow beneath the slider
210
  *
includes/class-es-customizer.php CHANGED
@@ -190,7 +190,7 @@ class ES_Customizer {
190
  public function display_view() {
191
 
192
  // Get the current page
193
- $page = $_GET['page'];
194
 
195
  // We need Easing Slider to be loaded by now, so continue if it has.
196
  if ( class_exists( 'ES_Slider' ) ) {
@@ -208,7 +208,7 @@ class ES_Customizer {
208
  if ( isset( $_GET['edit'] ) ) {
209
 
210
  // Get and validate the ID, protecting against XSS attacks
211
- $id = esc_attr( $_GET['edit'] );
212
 
213
  // Get the slider
214
  $slider = ES_Slider::find( $id );
190
  public function display_view() {
191
 
192
  // Get the current page
193
+ $page = sanitize_key( $_GET['page'] );
194
 
195
  // We need Easing Slider to be loaded by now, so continue if it has.
196
  if ( class_exists( 'ES_Slider' ) ) {
208
  if ( isset( $_GET['edit'] ) ) {
209
 
210
  // Get and validate the ID, protecting against XSS attacks
211
+ $id = sanitize_key( $_GET['edit'] );
212
 
213
  // Get the slider
214
  $slider = ES_Slider::find( $id );
includes/class-es-editor-pages.php CHANGED
@@ -297,7 +297,7 @@ class ES_Editor_Pages {
297
  }
298
 
299
  // Get and validate the ID, protecting against XSS attacks
300
- $id = esc_attr( $_GET['edit'] );
301
 
302
  // Get our slider
303
  $slider = ES_Slider::find( $id );
@@ -366,13 +366,13 @@ class ES_Editor_Pages {
366
  public function display_edit_view() {
367
 
368
  // Get the page
369
- $page = $_GET['page'];
370
 
371
  // Show the appropriate view
372
  if ( isset( $_GET['edit'] ) ) {
373
 
374
  // Get and validate the ID, protecting against XSS attacks
375
- $id = esc_attr( $_GET['edit'] );
376
 
377
  // Get the slider by its ID
378
  $slider = ES_Slider::find( $id );
@@ -401,7 +401,7 @@ class ES_Editor_Pages {
401
  public function display_publish_view() {
402
 
403
  // Get the current page
404
- $page = $_GET['page'];
405
 
406
  // Initiate a new slider
407
  $slider = ES_Slider::create();
297
  }
298
 
299
  // Get and validate the ID, protecting against XSS attacks
300
+ $id = sanitize_key( $_GET['edit'] );
301
 
302
  // Get our slider
303
  $slider = ES_Slider::find( $id );
366
  public function display_edit_view() {
367
 
368
  // Get the page
369
+ $page = sanitize_key( $_GET['page'] );
370
 
371
  // Show the appropriate view
372
  if ( isset( $_GET['edit'] ) ) {
373
 
374
  // Get and validate the ID, protecting against XSS attacks
375
+ $id = sanitize_key( $_GET['edit'] );
376
 
377
  // Get the slider by its ID
378
  $slider = ES_Slider::find( $id );
401
  public function display_publish_view() {
402
 
403
  // Get the current page
404
+ $page = sanitize_key( $_GET['page'] );
405
 
406
  // Initiate a new slider
407
  $slider = ES_Slider::create();
includes/class-es-extensions-page.php CHANGED
@@ -7,6 +7,12 @@ if ( ! defined( 'ABSPATH' ) ) {
7
  exit;
8
  }
9
 
 
 
 
 
 
 
10
  /**
11
  * Class for "Extensions" discovery page.
12
  *
@@ -100,69 +106,33 @@ class ES_Extensions_Page {
100
  /**
101
  * Returns an array of available extensions
102
  *
103
- * @return array
104
  */
105
  public function available_extensions() {
106
 
107
- $available_extensions = array(
108
- (object) array(
109
- 'title' => __( 'Visual Customizer', 'easingslider' ),
110
- 'image' => 'http://easingslider.com/wp-content/uploads/edd/2015/01/customizer1.jpg',
111
- 'content' => __( 'The Visual Customizer extension is a complete customization tool for beautifully sculpting the design of your sliders. Create a unique look and feel for each slider.', 'easingslider' ),
112
- 'link' => 'http://easingslider.com/extensions/visual-customizer/'
113
- ),
114
- (object) array(
115
- 'title' => __( 'HTML Captions', 'easingslider' ),
116
- 'image' => 'http://easingslider.com/wp-content/uploads/edd/2015/01/captions1.jpg',
117
- 'content' => __( 'The “HTML Captions” extensions makes adding HTML captions and content to Easing Slider a breeze.', 'easingslider' ),
118
- 'link' => 'http://easingslider.com/extensions/html-captions/'
119
- ),
120
- (object) array(
121
- 'title' => __( 'Touch & Swipe', 'easingslider' ),
122
- 'image' => 'http://easingslider.com/wp-content/uploads/edd/2015/01/touch1.jpg',
123
- 'content' => __( 'The “Touch & Swipe” extension enables slider touch gestures on mobile devices. iPhones, iPads, Androids, if it can be touched this is the extension for you.', 'easingslider' ),
124
- 'link' => 'http://easingslider.com/extensions/touch-swipe/'
125
- ),
126
- (object) array(
127
- 'title' => __( 'Lightbox', 'easingslider' ),
128
- 'image' => 'http://easingslider.com/wp-content/uploads/edd/2015/01/lightbox1.jpg',
129
- 'content' => __( 'The Lightbox extension adds support for the jQuery Lightbox script. This simple extension makes it incredibly easy to create lightbox images or galleries for your slider.', 'easingslider' ),
130
- 'link' => 'http://easingslider.com/extensions/lightbox/'
131
- ),
132
- (object) array(
133
- 'title' => __( 'Images from URL', 'easingslider' ),
134
- 'image' => 'http://easingslider.com/wp-content/uploads/edd/2015/01/url-images.jpg',
135
- 'content' => __( 'The Images from URL extension makes adding image slides from an external URL simple.', 'easingslider' ),
136
- 'link' => 'http://easingslider.com/extensions/images-url/'
137
- ),
138
- (object) array(
139
- 'title' => __( 'Featured Content', 'easingslider' ),
140
- 'image' => 'http://easingslider.com/wp-content/uploads/edd/2015/01/featured-content1.jpg',
141
- 'content' => __( 'The Featured Content extension allows you to source slides from posts types, taxonomies and other supported WordPress queries. Perfect for featured posts, etc.', 'easingslider' ),
142
- 'link' => 'http://easingslider.com/extensions/featured-content/'
143
- ),
144
- (object) array(
145
- 'title' => __( 'Videos', 'easingslider' ),
146
- 'image' => 'http://easingslider.com/wp-content/uploads/edd/2015/01/video.jpg',
147
- 'content' => __( 'The “Videos” extension makes adding video slides to your sliders a piece of cake. With this extension, you can create video slides from YouTube or Vimeo.', 'easingslider' ),
148
- 'link' => 'http://easingslider.com/extensions/videos/'
149
- ),
150
- (object) array(
151
- 'title' => __( 'Schedule', 'easingslider' ),
152
- 'image' => 'http://easingslider.com/wp-content/uploads/edd/2015/01/schedule.jpg',
153
- 'content' => __( 'The “Schedule” extension for Easing Slider allows you to easily schedule both sliders and individual slides to be displayed at specific times and dates.', 'easingslider' ),
154
- 'link' => 'http://easingslider.com/extensions/schedule/'
155
- ),
156
- (object) array(
157
- 'title' => __( 'Nextgen Gallery', 'easingslider' ),
158
- 'image' => 'http://easingslider.com/wp-content/uploads/edd/2015/01/nextgen-gallery.jpg',
159
- 'content' => __( 'The “Nextgen Gallery” extension allows you to easily integrate Easing Slider with your Nextgen galleries.', 'easingslider' ),
160
- 'link' => 'http://easingslider.com/extensions/nextgen-gallery/'
161
- )
162
- );
163
 
164
- // Randomize
165
- shuffle( $available_extensions );
166
 
167
  return $available_extensions;
168
 
7
  exit;
8
  }
9
 
10
+ /**
11
+ * This code is for debugging purposes.
12
+ * Uncomment this line to force Easing Slider to fetch the available extensions
13
+ */
14
+ // delete_transient( 'easingslider_available_extensions' );
15
+
16
  /**
17
  * Class for "Extensions" discovery page.
18
  *
106
  /**
107
  * Returns an array of available extensions
108
  *
109
+ * @return false|array
110
  */
111
  public function available_extensions() {
112
 
113
+ // Get the cached extensions feed. If it has expired, fetch it again.
114
+ if ( false === ( $available_extensions = get_transient( 'easingslider_available_extensions' ) ) ) {
115
+
116
+ // Fetch the feed
117
+ $request = wp_remote_get( 'http://easingslider.com/?feed=extensions' );
118
+
119
+ // Return false if we encounter an error
120
+ if ( is_wp_error( $request ) ) {
121
+ return false;
122
+ }
123
+
124
+ // Check for response body
125
+ if ( ! isset( $request['body'] ) ) {
126
+ return false;
127
+ }
128
+
129
+ // Get available extensions
130
+ $available_extensions = json_decode( $request['body'] );
131
+
132
+ // Cache response
133
+ set_transient( 'easingslider_available_extensions', $available_extensions, 3600 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
 
135
+ }
 
136
 
137
  return $available_extensions;
138
 
includes/class-es-image-resizer.php CHANGED
@@ -17,13 +17,14 @@ class ES_Image_Resizer {
17
  /**
18
  * Resizes an image
19
  *
20
- * @param string $url The image URL
21
- * @param int $width The desired width
22
- * @param int $height The desired height
23
- * @param boolean $crop Toggles cropping
 
24
  * @return array|WP_Error
25
  */
26
- public function resize( $url, $width, $height, $crop = true ) {
27
 
28
  global $wpdb;
29
 
@@ -85,6 +86,9 @@ class ES_Image_Resizer {
85
  return array( 'url' => $url, 'width' => $width, 'height' => $height );
86
  }
87
 
 
 
 
88
  // Get the original image size
89
  $size = $editor->get_size();
90
  $orig_width = $size['width'];
@@ -167,21 +171,13 @@ class ES_Image_Resizer {
167
  * @return object
168
  */
169
  public function resized_image_url( $image_url, $width, $height ) {
170
-
171
- // Get plugin settings
172
- $settings = get_option( 'easingslider_settings' );
173
-
174
- // Check for resizing
175
- if ( ! empty( $settings->image_resizing ) ) {
176
 
177
- // Resize the image
178
- $resized_image = $this->resize( $image_url, $width, $height, true );
179
-
180
- // Check for errors
181
- if ( ! is_wp_error( $resized_image ) ) {
182
- $image_url = $resized_image['url'];
183
- }
184
 
 
 
 
185
  }
186
 
187
  return $image_url;
17
  /**
18
  * Resizes an image
19
  *
20
+ * @param string $url The image URL
21
+ * @param int $width The desired width
22
+ * @param int $height The desired height
23
+ * @param boolean $crop Toggles cropping
24
+ * @param int $quality The resized image quality
25
  * @return array|WP_Error
26
  */
27
+ public function resize( $url, $width, $height, $crop = true, $quality = 100 ) {
28
 
29
  global $wpdb;
30
 
86
  return array( 'url' => $url, 'width' => $width, 'height' => $height );
87
  }
88
 
89
+ // Set the quality
90
+ $editor->set_quality( $quality );
91
+
92
  // Get the original image size
93
  $size = $editor->get_size();
94
  $orig_width = $size['width'];
171
  * @return object
172
  */
173
  public function resized_image_url( $image_url, $width, $height ) {
 
 
 
 
 
 
174
 
175
+ // Resize the image
176
+ $resized_image = $this->resize( $image_url, $width, $height, true );
 
 
 
 
 
177
 
178
+ // Check for errors
179
+ if ( ! is_wp_error( $resized_image ) ) {
180
+ $image_url = $resized_image['url'];
181
  }
182
 
183
  return $image_url;
includes/class-es-legacy.php CHANGED
@@ -185,6 +185,8 @@ class ES_Legacy {
185
  */
186
  public function pro_upgrade_from_100() {
187
 
 
 
188
  // Bail if this has already been carried out
189
  if ( get_option( 'easingslider_upgraded_from_pro' ) ) {
190
  return;
@@ -358,7 +360,7 @@ class ES_Legacy {
358
  $legacy_settings = get_option( "easingsliderpro_settings" );
359
 
360
  // Transfer the settings
361
- $settings->load_assets = $legacy_settings['load_scripts'];
362
  $settings->image_resizing = $legacy_settings['resizing'];
363
 
364
  // Save the settings
185
  */
186
  public function pro_upgrade_from_100() {
187
 
188
+ global $wpdb;
189
+
190
  // Bail if this has already been carried out
191
  if ( get_option( 'easingslider_upgraded_from_pro' ) ) {
192
  return;
360
  $legacy_settings = get_option( "easingsliderpro_settings" );
361
 
362
  // Transfer the settings
363
+ $settings->load_assets = $legacy_settings['load_scripts'];
364
  $settings->image_resizing = $legacy_settings['resizing'];
365
 
366
  // Save the settings
includes/class-es-migrations.php CHANGED
@@ -53,6 +53,44 @@ class ES_Migrations {
53
 
54
  }
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  /**
57
  * Updates the plugin version
58
  *
53
 
54
  }
55
 
56
+ /**
57
+ * Updates the plugin to v2.2.1.
58
+ *
59
+ * @param int $version The current plugin version
60
+ * @return void
61
+ */
62
+ public function migrate_to_221( $version ) {
63
+
64
+ // Continue if upgrading from a lower version
65
+ if ( version_compare( $version, '2.2.1', '<' ) ) {
66
+
67
+ // Get the settings
68
+ $settings = get_option( 'easingslider_settings' );
69
+
70
+ // Bail if we have no settings or the setting we need
71
+ if ( ! $settings OR ! isset( $settings->image_resizing ) ) {
72
+ return;
73
+ }
74
+
75
+ // Get all sliders
76
+ $sliders = ES_Slider::all();
77
+
78
+ // Migrate the "Image Resizing" option
79
+ foreach ( $sliders as $slider ) {
80
+ $slider->dimensions->image_resizing = $settings->image_resizing;
81
+ $slider->save();
82
+ }
83
+
84
+ // Unset the settings option
85
+ unset( $settings->image_resizing );
86
+
87
+ // Update the settings
88
+ update_option( 'easingslider_settings', $settings );
89
+
90
+ }
91
+
92
+ }
93
+
94
  /**
95
  * Updates the plugin version
96
  *
includes/class-es-settings-page.php CHANGED
@@ -119,7 +119,7 @@ class ES_Settings_Page {
119
  */
120
  public function current_tab() {
121
 
122
- return ( isset( $_GET['tab'] ) ) ? $_GET['tab'] : 'general';
123
 
124
  }
125
 
@@ -186,7 +186,7 @@ class ES_Settings_Page {
186
  public function display_view() {
187
 
188
  // Get the current page
189
- $page = $_GET['page'];
190
 
191
  // Get the settings
192
  $settings = get_option( 'easingslider_settings' );
119
  */
120
  public function current_tab() {
121
 
122
+ return ( isset( $_GET['tab'] ) ) ? sanitize_key( $_GET['tab'] ) : 'general';
123
 
124
  }
125
 
186
  public function display_view() {
187
 
188
  // Get the current page
189
+ $page = sanitize_key( $_GET['page'] );
190
 
191
  // Get the settings
192
  $settings = get_option( 'easingslider_settings' );
includes/class-es-slider.php CHANGED
@@ -10,6 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) {
10
  /**
11
  * Defines our plugin public facing functionality
12
  *
 
13
  * @uses Easing_Slider
14
  * @author Matthew Ruddy
15
  */
@@ -258,13 +259,13 @@ class ES_Slider {
258
  $html = apply_filters( 'easingslider_before_display_slider', '', $slider );
259
 
260
  // Start the output
261
- $html .= "<div class=\"". esc_attr( $slider->get_html_classes() ) ."\" data-options=\"". esc_attr( $slider->get_html_data() ) ."\" style=\"". esc_attr( $slider->get_html_styles() ) ."\">";
262
 
263
  // Inner "before" filter
264
  $html = apply_filters( 'easingslider_before_slider_content', $html, $slider );
265
 
266
  // Open the viewport
267
- $html .= "<div class=\"easingslider-viewport\" style=\"padding-top: ". ( 100 * $slider->calculate_aspect_ratio() ) ."% !important;\">";
268
 
269
  // Output the slides
270
  foreach ( $slider->slides as $slide ) {
@@ -385,7 +386,11 @@ class ES_Slider {
385
  'dimensions' => (object) array(
386
  'width' => 640,
387
  'height' => 400,
388
- 'responsive' => true
 
 
 
 
389
  ),
390
  'transitions' => (object) array(
391
  'effect' => 'fade',
@@ -472,47 +477,85 @@ class ES_Slider {
472
  }
473
 
474
  /**
475
- * Returns HTML classes
476
  *
477
  * @return string
478
  */
479
- protected function get_html_classes() {
480
 
481
- $classes = "easingslider easingslider-{$this->ID} use-{$this->transitions->effect}";
 
482
 
483
- return apply_filters( 'easingslider_get_html_classes', $classes, $this );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
484
 
485
  }
486
 
487
  /**
488
- * Returns HTML styling
489
  *
490
  * @return string
491
  */
492
- protected function get_html_styles() {
493
 
 
494
  if ( $this->dimensions->responsive ) {
495
- $styles = "max-width: {$this->dimensions->width}px !important; max-height: {$this->dimensions->height}px !important;";
 
 
 
 
 
 
 
 
 
 
 
496
  }
497
  else {
 
 
498
  $styles = "width: {$this->dimensions->width}px !important; height: {$this->dimensions->height}px !important;";
 
499
  }
500
 
501
- return apply_filters( 'easingslider_get_html_styles', $styles, $this );
502
 
503
  }
504
 
505
  /**
506
- * Returns HTML data options attribute
507
  *
508
  * @return string
509
  */
510
- protected function get_html_data() {
511
 
512
- $data = $this->get_metadata();
 
 
 
 
 
 
 
 
513
 
514
- return json_encode( apply_filters( 'easingslider_get_html_data', $data, $this ) );
515
-
516
  }
517
 
518
  /**
@@ -531,7 +574,7 @@ class ES_Slider {
531
  *
532
  * The Javascript will set slides to "display: block".
533
  */
534
- $html = "<div class=\"easingslider-slide easingslider-{$slide->type}-slide\" style=\"{$animation_duration}\">";
535
 
536
  $html = apply_filters( 'easingslider_before_display_slide', $html, $slide, $this );
537
 
@@ -638,6 +681,36 @@ class ES_Slider {
638
 
639
  }
640
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
641
  /**
642
  * Adds the HTML for the preloader
643
  *
@@ -668,7 +741,7 @@ class ES_Slider {
668
  $image_url = ( $slide->attachment_id ) ? wp_get_attachment_url( $slide->attachment_id ) : $slide->url;
669
 
670
  // Filter for modifying the image URL (needed for resizing, etc).
671
- $image_url = apply_filters( 'easingslider_modify_image_url', $image_url, $slider->dimensions->width, $slider->dimensions->height );
672
 
673
  // Add the HTML
674
  $html .= "<img src=\"{$image_url}\" title=\"{$slide->title}\" alt=\"{$slide->alt}\" class=\"easingslider-image\" />";
@@ -677,6 +750,31 @@ class ES_Slider {
677
 
678
  }
679
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
680
  /**
681
  * Opens a link
682
  *
10
  /**
11
  * Defines our plugin public facing functionality
12
  *
13
+ * @uses ES_Image_Resizer
14
  * @uses Easing_Slider
15
  * @author Matthew Ruddy
16
  */
259
  $html = apply_filters( 'easingslider_before_display_slider', '', $slider );
260
 
261
  // Start the output
262
+ $html .= "<div class=\"". esc_attr( $slider->get_container_classes() ) ."\" data-options=\"". esc_attr( $slider->get_container_data() ) ."\" style=\"". esc_attr( $slider->get_container_styles() ) ."\">";
263
 
264
  // Inner "before" filter
265
  $html = apply_filters( 'easingslider_before_slider_content', $html, $slider );
266
 
267
  // Open the viewport
268
+ $html .= "<div class=\"easingslider-viewport\" style=\"". esc_attr( $slider->get_viewport_styles() ) ."\">";
269
 
270
  // Output the slides
271
  foreach ( $slider->slides as $slide ) {
386
  'dimensions' => (object) array(
387
  'width' => 640,
388
  'height' => 400,
389
+ 'responsive' => true,
390
+ 'full_width' => false,
391
+ 'image_resizing' => false,
392
+ 'keep_ratio' => true,
393
+ 'background_images' => false
394
  ),
395
  'transitions' => (object) array(
396
  'effect' => 'fade',
477
  }
478
 
479
  /**
480
+ * Returns HTML container data options attribute
481
  *
482
  * @return string
483
  */
484
+ protected function get_container_data() {
485
 
486
+ // Get metadata
487
+ $metadata = $this->get_metadata();
488
 
489
+ // Remove slides as we don't need them
490
+ unset( $metadata['slides'] );
491
+
492
+ return json_encode( apply_filters( 'easingslider_get_container_data', $metadata, $this ) );
493
+
494
+ }
495
+
496
+ /**
497
+ * Returns HTML container classes
498
+ *
499
+ * @return string
500
+ */
501
+ protected function get_container_classes() {
502
+
503
+ $classes = "easingslider easingslider-{$this->ID} no-js use-{$this->transitions->effect}";
504
+
505
+ return apply_filters( 'easingslider_get_container_classes', $classes, $this );
506
 
507
  }
508
 
509
  /**
510
+ * Returns HTML container styling
511
  *
512
  * @return string
513
  */
514
+ protected function get_container_styles() {
515
 
516
+ // Handle responsive and fixed dimensions separately
517
  if ( $this->dimensions->responsive ) {
518
+
519
+ // Handle full width if enabled or disabled
520
+ if ( $this->dimensions->full_width ) {
521
+ $styles = "max-width: 100% !important; ";
522
+ }
523
+ else {
524
+ $styles = "max-width: {$this->dimensions->width}px !important; ";
525
+ }
526
+
527
+ // Limit the max height
528
+ $styles .= "max-height: {$this->dimensions->height}px !important;";
529
+
530
  }
531
  else {
532
+
533
+ // Add fixed dimensions for non-responsive
534
  $styles = "width: {$this->dimensions->width}px !important; height: {$this->dimensions->height}px !important;";
535
+
536
  }
537
 
538
+ return apply_filters( 'easingslider_get_container_styles', $styles, $this );
539
 
540
  }
541
 
542
  /**
543
+ * Returns HTML viewport styling
544
  *
545
  * @return string
546
  */
547
+ protected function get_viewport_styles() {
548
 
549
+ // Set the height
550
+ $styles = "height: {$this->dimensions->height}px;";
551
+
552
+ // Limit max height when responsive
553
+ if ( $this->dimensions->responsive ) {
554
+ $styles .= "max-height: {$this->dimensions->height}px;";
555
+ }
556
+
557
+ return apply_filters( 'easingslider_get_viewport_styles', $styles, $this );
558
 
 
 
559
  }
560
 
561
  /**
574
  *
575
  * The Javascript will set slides to "display: block".
576
  */
577
+ $html = "<div class=\"easingslider-slide easingslider-slide-{$slide->id} easingslider-{$slide->type}-slide\" style=\"{$animation_duration}\">";
578
 
579
  $html = apply_filters( 'easingslider_before_display_slide', $html, $slide, $this );
580
 
681
 
682
  }
683
 
684
+ /**
685
+ * Adds "<noscript>" styling to slider for when Javascript is disabled
686
+ *
687
+ * @param string $html The slider HTML
688
+ * @param object $slider The slider object
689
+ * @return string
690
+ */
691
+ public function no_script( $html, $slider ) {
692
+
693
+ // Add the "<noscript">
694
+ $html .= "<noscript>";
695
+ $html .= "<style type=\"text/css\">";
696
+ $html .= ".easingslider-{$slider->ID} .easingslider-preload { ";
697
+ $html .= "display: none; ";
698
+ $html .= "} ";
699
+
700
+ $html .= ".easingslider-{$slider->ID} .easingslider-slide { ";
701
+ $html .= "display: none; ";
702
+ $html .= "} ";
703
+
704
+ $html .= ".easingslider-{$slider->ID} .easingslider-slide-1 { ";
705
+ $html .= "display: block !important; ";
706
+ $html .= "}";
707
+ $html .= "</style>";
708
+ $html .= "</noscript>";
709
+
710
+ return $html;
711
+
712
+ }
713
+
714
  /**
715
  * Adds the HTML for the preloader
716
  *
741
  $image_url = ( $slide->attachment_id ) ? wp_get_attachment_url( $slide->attachment_id ) : $slide->url;
742
 
743
  // Filter for modifying the image URL (needed for resizing, etc).
744
+ $image_url = apply_filters( 'easingslider_modify_image_url', $image_url, $slide, $slider );
745
 
746
  // Add the HTML
747
  $html .= "<img src=\"{$image_url}\" title=\"{$slide->title}\" alt=\"{$slide->alt}\" class=\"easingslider-image\" />";
750
 
751
  }
752
 
753
+ /**
754
+ * Resizes an image
755
+ *
756
+ * @param string $image_url The image URL
757
+ * @param object $slide The slide object
758
+ * @param object $slider The slider object
759
+ * @return string
760
+ */
761
+ public function resize_image( $image_url, $slide, $slider ) {
762
+
763
+ // Resize the image if enabled
764
+ if ( $slider->dimensions->image_resizing ) {
765
+
766
+ // Initiate image resizer
767
+ $image_resizer = new ES_Image_Resizer();
768
+
769
+ // Resize the image
770
+ $image_url = $image_resizer->resized_image_url( $image_url, $slider->dimensions->width, $slider->dimensions->height );
771
+
772
+ }
773
+
774
+ return $image_url;
775
+
776
+ }
777
+
778
  /**
779
  * Opens a link
780
  *
includes/class-es-sliders-list-table.php CHANGED
@@ -46,12 +46,13 @@ class ES_Sliders_List_Table extends WP_List_Table {
46
 
47
  // Set our columns
48
  $columns = array(
49
- 'cb' => '<input type="checkbox" />',
50
- 'ID' => __( 'ID', 'easingslider' ),
51
- 'post_title' => __( 'Title', 'easingslider' ),
52
- 'post_author' => __( 'Author', 'easingslider' ),
53
- 'post_date' => __( 'Date', 'easingslider' ),
54
- 'shortcode' => __( 'Shortcode', 'easingslider' )
 
55
  );
56
 
57
  return apply_filters( 'easingslider_sliders_list_table_columns', $columns );
@@ -142,12 +143,12 @@ class ES_Sliders_List_Table extends WP_List_Table {
142
 
143
  // If paginated, ammend our query
144
  if ( isset( $_GET['paged'] ) ) {
145
- $query_args['paged'] = $_GET['paged'];
146
  }
147
 
148
  // If searching, ammend our query
149
  if ( isset( $_GET['s'] ) ) {
150
- $query_args['s'] = $_GET['s'];
151
  }
152
 
153
  // Add sort queries
@@ -214,7 +215,7 @@ class ES_Sliders_List_Table extends WP_List_Table {
214
  }
215
 
216
  // Call the action
217
- call_user_func( array( $this, $method ), $_GET['id'] );
218
 
219
  }
220
  else if ( isset( $_GET['ids'] ) ) {
@@ -224,6 +225,9 @@ class ES_Sliders_List_Table extends WP_List_Table {
224
  return;
225
  }
226
 
 
 
 
227
  // Call the action for each ID
228
  array_walk( $_GET['ids'], array( $this, $method ) );
229
 
@@ -286,16 +290,19 @@ class ES_Sliders_List_Table extends WP_List_Table {
286
  */
287
  public function column_post_title( $item ) {
288
 
 
 
 
289
  // Our title string
290
- $title = sprintf( '<strong><a class="row-title" href="?page=%s&edit=%s">%s</a></strong>', $_GET['page'], $item->ID, $item->post_title );
291
 
292
  // Add nonces to action URLs
293
- $duplicate_link = wp_nonce_url( "?page={$_GET['page']}&action=duplicate&id={$item->ID}", 'duplicate' );
294
- $delete_link = wp_nonce_url( "?page={$_GET['page']}&action=delete&id={$item->ID}", 'delete' );
295
 
296
  // Our array of actions
297
  $actions = array(
298
- 'edit' => sprintf( '<a href="?page=%s&edit=%s">Edit</a>', $_GET['page'], $item->ID ),
299
  'duplicate' => sprintf( '<a href="%s">Duplicate</a>', $duplicate_link ),
300
  'delete' => sprintf( '<a href="%s">Delete</a>', $delete_link ),
301
  );
@@ -312,9 +319,12 @@ class ES_Sliders_List_Table extends WP_List_Table {
312
  */
313
  public function column_post_author( $item ) {
314
 
 
 
 
315
  $author = sprintf(
316
  '<a href="%s">%s</a>',
317
- esc_url( add_query_arg( array( 'page' => $_GET['page'], 'author' => get_the_author_meta( 'ID', $item->post_author ) ) ) ),
318
  get_the_author_meta( 'display_name', $item->post_author )
319
  );
320
 
@@ -363,7 +373,23 @@ class ES_Sliders_List_Table extends WP_List_Table {
363
  */
364
  public function column_shortcode( $item ) {
365
 
366
- return sprintf( '<code>[easingslider id="%s"]</code>', $item->ID );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
367
 
368
  }
369
 
46
 
47
  // Set our columns
48
  $columns = array(
49
+ 'cb' => '<input type="checkbox" />',
50
+ 'ID' => __( 'ID', 'easingslider' ),
51
+ 'post_title' => __( 'Title', 'easingslider' ),
52
+ 'post_author' => __( 'Author', 'easingslider' ),
53
+ 'post_date' => __( 'Date', 'easingslider' ),
54
+ 'shortcode' => __( 'Shortcode', 'easingslider' ),
55
+ 'template_function' => __( 'Template Function', 'easingslider' )
56
  );
57
 
58
  return apply_filters( 'easingslider_sliders_list_table_columns', $columns );
143
 
144
  // If paginated, ammend our query
145
  if ( isset( $_GET['paged'] ) ) {
146
+ $query_args['paged'] = sanitize_key( $_GET['paged'] );
147
  }
148
 
149
  // If searching, ammend our query
150
  if ( isset( $_GET['s'] ) ) {
151
+ $query_args['s'] = sanitize_title( $_GET['s'] );
152
  }
153
 
154
  // Add sort queries
215
  }
216
 
217
  // Call the action
218
+ call_user_func( array( $this, $method ), sanitize_key( $_GET['id'] ) );
219
 
220
  }
221
  else if ( isset( $_GET['ids'] ) ) {
225
  return;
226
  }
227
 
228
+ // Sanatize IDs
229
+ $ids = array_map( 'sanitize_key', $_GET['ids'] );
230
+
231
  // Call the action for each ID
232
  array_walk( $_GET['ids'], array( $this, $method ) );
233
 
290
  */
291
  public function column_post_title( $item ) {
292
 
293
+ // Get & escape the page
294
+ $page = esc_attr( $_GET['page'] );
295
+
296
  // Our title string
297
+ $title = sprintf( '<strong><a class="row-title" href="?page=%s&edit=%s">%s</a></strong>', $page, $item->ID, $item->post_title );
298
 
299
  // Add nonces to action URLs
300
+ $duplicate_link = wp_nonce_url( "?page={$page}&action=duplicate&id={$item->ID}", 'duplicate' );
301
+ $delete_link = wp_nonce_url( "?page={$page}&action=delete&id={$item->ID}", 'delete' );
302
 
303
  // Our array of actions
304
  $actions = array(
305
+ 'edit' => sprintf( '<a href="?page=%s&edit=%s">Edit</a>', $page, $item->ID ),
306
  'duplicate' => sprintf( '<a href="%s">Duplicate</a>', $duplicate_link ),
307
  'delete' => sprintf( '<a href="%s">Delete</a>', $delete_link ),
308
  );
319
  */
320
  public function column_post_author( $item ) {
321
 
322
+ // Get & escape the page
323
+ $page = esc_attr( $_GET['page'] );
324
+
325
  $author = sprintf(
326
  '<a href="%s">%s</a>',
327
+ esc_url( add_query_arg( array( 'page' => $page, 'author' => get_the_author_meta( 'ID', $item->post_author ) ) ) ),
328
  get_the_author_meta( 'display_name', $item->post_author )
329
  );
330
 
373
  */
374
  public function column_shortcode( $item ) {
375
 
376
+ $shortcode = sprintf( esc_html( '[easingslider id="%d"]' ), $item->ID );
377
+
378
+ return sprintf( '<input type="text" readonly="readonly" value="%s" />', $shortcode );
379
+
380
+ }
381
+
382
+ /**
383
+ * Our template function column method
384
+ *
385
+ * @param object $item Our column item
386
+ * @return string
387
+ */
388
+ public function column_template_function( $item ) {
389
+
390
+ $template_function = sprintf( esc_html( '<?php if ( function_exists( \'easingslider\' ) ) { easingslider( %d ); } ?>' ), $item->ID );
391
+
392
+ return sprintf( '<input type="text" readonly="readonly" value="%s" />', $template_function );
393
 
394
  }
395
 
includes/class-es-welcome-pages.php CHANGED
@@ -183,7 +183,7 @@ class ES_Welcome_Pages {
183
  public function display_view() {
184
 
185
  // Get the current page
186
- $page = $_GET['page'];
187
 
188
  // Get the settings tabs
189
  $tabs = $this->get_tabs();
183
  public function display_view() {
184
 
185
  // Get the current page
186
+ $page = sanitize_key( $_GET['page'] );
187
 
188
  // Get the settings tabs
189
  $tabs = $this->get_tabs();
includes/helpers.php CHANGED
@@ -52,9 +52,18 @@ if ( ! function_exists( 'easingslider_register_extension' ) ) {
52
 
53
  // Setup updates and licensing
54
  if ( class_exists( 'ES_Update_Manager' ) ) {
55
- return new ES_Update_Manager( $name, $file, $version );
 
 
 
 
 
 
 
56
  }
57
 
 
 
58
  }
59
  }
60
 
@@ -103,6 +112,44 @@ if ( ! function_exists( 'easingslider_admin_notice' ) ) {
103
  }
104
  }
105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  /**
107
  * Validates the data in an array for database insertion
108
  *
52
 
53
  // Setup updates and licensing
54
  if ( class_exists( 'ES_Update_Manager' ) ) {
55
+
56
+ // Hide advert
57
+ add_filter( 'easingslider_show_advert', '__return_false' );
58
+
59
+ // Initiate update manager
60
+ $update_manager = new ES_Update_Manager( $name, $file, $version );
61
+
62
+ return $update_manager;
63
  }
64
 
65
+
66
+
67
  }
68
  }
69
 
112
  }
113
  }
114
 
115
+ /**
116
+ * Adds a slider to the rendered slider global array.
117
+ *
118
+ * @param ES_Slider $slider The slider object
119
+ * @return void
120
+ */
121
+ if ( ! function_exists( 'easingslider_store_rendered' ) ) {
122
+ function easingslider_store_rendered( $slider ) {
123
+
124
+ global $_rendered_sliders;
125
+
126
+ // Add slider to the global
127
+ $_rendered_sliders[] = $slider;
128
+
129
+ }
130
+ add_action( 'easingslider_render_slider', 'easingslider_store_rendered' );
131
+ }
132
+
133
+ /**
134
+ * Gets the global array or rendered sliders.
135
+ *
136
+ * @return false|array
137
+ */
138
+ if ( ! function_exists( 'easingslider_get_rendered' ) ) {
139
+ function easingslider_get_rendered() {
140
+
141
+ global $_rendered_sliders;
142
+
143
+ // If we have rendered sliders, return them. False if otherwise.
144
+ if ( ! empty( $_rendered_sliders ) ) {
145
+ return $_rendered_sliders;
146
+ }
147
+
148
+ return false;
149
+
150
+ }
151
+ }
152
+
153
  /**
154
  * Validates the data in an array for database insertion
155
  *
js/customizer.js CHANGED
@@ -180,7 +180,7 @@ window.EasingSlider = window.EasingSlider || { Customizer: { models: {}, views:
180
 
181
  });
182
 
183
- },
184
 
185
  });
186
 
180
 
181
  });
182
 
183
+ }
184
 
185
  });
186
 
js/customizer.min.js CHANGED
@@ -1 +1 @@
1
- window.EasingSlider=window.EasingSlider||{Customizer:{models:{},views:{}}};(function(e){var t=window.EasingSlider.Customizer;t.views.Customizer=Backbone.View.extend({el:".customize-container",events:{"change #change-slider":"_changeSlider","change [data-selector]":"_reflectChanges","click .collapse-sidebar":"_toggleSidebar","click .accordion-section-title":"_toggleSection"},initialize:function(){var t=this;this.$(".color-picker-hex").each(function(){e(this).wpColorPicker({change:t._reflectChanges,defaultColor:e(this).attr("data-default")})})},_changeSlider:function(e){window.location.href="http://"+window.location.hostname+window.location.pathname+"?page=easingslider_manage_customizations&edit="+e.target.value},_reflectChanges:function(t){switch(t.target.dataset.property){case"background-image":e(t.target.dataset.selector).css({"background-image":"url("+t.target.value+")"});break;case"border-width":e(t.target.dataset.selector).css({"border-style":"solid","border-width":t.target.value+"px"});break;case"border-radius":e(t.target.dataset.selector).css({"-webkit-border-radius":t.target.value+"px","-moz-border-radius":t.target.value+"px","border-radius":t.target.value+"px"});break;case"display":if("true"==t.target.value){e(t.target.dataset.selector).css("display","block")}else{e(t.target.dataset.selector).css("display","none")}break;case"src":e(t.target.dataset.selector).attr("src",t.target.value);break;default:e(t.target.dataset.selector).css(t.target.dataset.property,t.target.value);break}},_toggleSidebar:function(e){e.preventDefault();if(this.$(".wp-full-overlay").hasClass("expanded")){this.$(".wp-full-overlay").removeClass("expanded").addClass("collapsed")}else{this.$(".wp-full-overlay").removeClass("collapsed").addClass("expanded")}},_toggleSection:function(t){t.preventDefault();this.$(".accordion-section-title").each(function(){var n=e(this).closest(".accordion-section"),r=n.find(".accordion-section-content");if(this==t.currentTarget){if(n.hasClass("open")){r.slideUp({duration:"fast",easing:"linear",complete:function(){n.removeClass("open")}})}else{n.addClass("open");r.css({display:"none"}).slideDown("fast")}}else{r.slideUp({duration:"fast",easing:"linear",complete:function(){n.removeClass("open")}})}})}});e(document).ready(function(){new t.views.Customizer})})(jQuery)
1
+ window.EasingSlider=window.EasingSlider||{Customizer:{models:{},views:{}}},function(e){var t=window.EasingSlider.Customizer;t.views.Customizer=Backbone.View.extend({el:".customize-container",events:{"change #change-slider":"_changeSlider","change [data-selector]":"_reflectChanges","click .collapse-sidebar":"_toggleSidebar","click .accordion-section-title":"_toggleSection"},initialize:function(){var t=this;this.$(".color-picker-hex").each(function(){e(this).wpColorPicker({change:t._reflectChanges,defaultColor:e(this).attr("data-default")})})},_changeSlider:function(e){window.location.href="http://"+window.location.hostname+window.location.pathname+"?page=easingslider_manage_customizations&edit="+e.target.value},_reflectChanges:function(t){switch(t.target.dataset.property){case"background-image":e(t.target.dataset.selector).css({"background-image":"url("+t.target.value+")"});break;case"border-width":e(t.target.dataset.selector).css({"border-style":"solid","border-width":t.target.value+"px"});break;case"border-radius":e(t.target.dataset.selector).css({"-webkit-border-radius":t.target.value+"px","-moz-border-radius":t.target.value+"px","border-radius":t.target.value+"px"});break;case"display":"true"==t.target.value?e(t.target.dataset.selector).css("display","block"):e(t.target.dataset.selector).css("display","none");break;case"src":e(t.target.dataset.selector).attr("src",t.target.value);break;default:e(t.target.dataset.selector).css(t.target.dataset.property,t.target.value)}},_toggleSidebar:function(e){e.preventDefault(),this.$(".wp-full-overlay").hasClass("expanded")?this.$(".wp-full-overlay").removeClass("expanded").addClass("collapsed"):this.$(".wp-full-overlay").removeClass("collapsed").addClass("expanded")},_toggleSection:function(t){t.preventDefault(),this.$(".accordion-section-title").each(function(){var a=e(this).closest(".accordion-section"),s=a.find(".accordion-section-content");this==t.currentTarget?a.hasClass("open")?s.slideUp({duration:"fast",easing:"linear",complete:function(){a.removeClass("open")}}):(a.addClass("open"),s.css({display:"none"}).slideDown("fast")):s.slideUp({duration:"fast",easing:"linear",complete:function(){a.removeClass("open")}})})}}),e(document).ready(function(){new t.views.Customizer})}(jQuery);
js/editor-pages.js CHANGED
@@ -539,6 +539,7 @@ window.EasingSlider = window.EasingSlider || {
539
  'click #save': '_clickSave',
540
  'click .toolbar .edit': '_clickEdit',
541
  'click .toolbar .remove': '_clickDelete',
 
542
  'click .thumbnail': '_clickThumb',
543
  'click .select-mode-toggle-button': '_toggleMode',
544
  'click .sidebar-name': '_toggleWidget'
@@ -568,6 +569,9 @@ window.EasingSlider = window.EasingSlider || {
568
  // Disable select mode
569
  this._selectMode = false;
570
 
 
 
 
571
  // Show the spinner
572
  this._showSpinner();
573
 
@@ -709,6 +713,21 @@ window.EasingSlider = window.EasingSlider || {
709
 
710
  },
711
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
712
  /**
713
  * Toggles between "Bulk Select" mode
714
  */
@@ -1166,7 +1185,7 @@ window.EasingSlider = window.EasingSlider || {
1166
  'admin.php?page=:page&edit=:id&change=:slide': 'changeSlide',
1167
  'admin.php?page=:page&edit=:id&slide=:slide': 'editSlide',
1168
  'admin.php?page=:page&edit=:id': 'edit',
1169
- 'admin.php?page=:page': 'edit'
1170
  },
1171
 
1172
  /**
539
  'click #save': '_clickSave',
540
  'click .toolbar .edit': '_clickEdit',
541
  'click .toolbar .remove': '_clickDelete',
542
+ 'click .show-advanced-options': '_clickAdvancedOptions',
543
  'click .thumbnail': '_clickThumb',
544
  'click .select-mode-toggle-button': '_toggleMode',
545
  'click .sidebar-name': '_toggleWidget'
569
  // Disable select mode
570
  this._selectMode = false;
571
 
572
+ // Set number of columns
573
+ this._setColumns();
574
+
575
  // Show the spinner
576
  this._showSpinner();
577
 
713
 
714
  },
715
 
716
+ /**
717
+ * Handles "advanced options" link click
718
+ */
719
+ _clickAdvancedOptions: function(event) {
720
+
721
+ event.preventDefault();
722
+
723
+ // Get the advanced options
724
+ var $options = $(event.currentTarget).parent().find('.advanced-options');
725
+
726
+ // Find the closest advanced options and show it
727
+ $options.toggleClass('hidden');
728
+
729
+ },
730
+
731
  /**
732
  * Toggles between "Bulk Select" mode
733
  */
1185
  'admin.php?page=:page&edit=:id&change=:slide': 'changeSlide',
1186
  'admin.php?page=:page&edit=:id&slide=:slide': 'editSlide',
1187
  'admin.php?page=:page&edit=:id': 'edit',
1188
+ 'admin.php?page=easingslider_publish_slider': 'edit'
1189
  },
1190
 
1191
  /**
js/editor-pages.min.js CHANGED
@@ -1 +1 @@
1
- window.EasingSlider=window.EasingSlider||{Editor:{models:{},collections:{},controllers:{},frames:{},views:{},router:{},Router:{}}};(function(e){var t=window.EasingSlider.Editor;t.models.Slide={get:function(e){return new t.models.Slide[e.type](e)}};t.models.Slide.image=Backbone.Model.extend({attachment:false,defaults:_.defaults({attachment_id:null,type:"image",alt:"",aspectRatio:null,link:"none",linkUrl:"",linkTargetBlank:false,title:"",url:null},wp.media.model.PostImage.prototype.defaults)});t.collections.Slides=Backbone.Collection.extend({model:t.models.Slide.get,initialize:function(){this.on("add",this._resetIDs,this);this.on("remove",this._resetIDs,this);this.on("reset",this._resetIDs,this)},comparator:function(e){return e.get("id")},_resetIDs:function(){var e=new Backbone.Collection;_.each(this.models,function(t,n){t.set({id:n+1});e.add(t)});this.reset(e.models,{silent:true})},reposition:function(e,t){this.remove(e,{silent:true});this.add(e,{at:t,silent:true});this._resetIDs();return this},sync:function(){var e=this,t=[];_.each(this.models,function(e){if(e.has("attachment_id")){t.push(e.get("attachment_id"))}},this);var n=wp.media.query({post__in:t,posts_per_page:-1});n.more().done(function(){_.each(n.models,function(t){var n=e.where({attachment_id:t.get("id")});_.each(n,function(e){e.attachment=t})});e.trigger("sync:done")});return this}});t.controllers.AddSlide={get:function(e){return new t.controllers.AddSlide[e.type](e)}};t.controllers.AddSlide.image=wp.media.controller.Library.extend();t.controllers.EditSlide={get:function(e){return new t.controllers.EditSlide[e.type](e)}};t.controllers.EditSlide.image=wp.media.controller.ImageDetails.extend({defaults:_.defaults({id:"edit-slide",title:_easingsliderEditorL10n.media_upload.title},wp.media.controller.ImageDetails.prototype.defaults)});t.frames.AddSlide=wp.media.view.MediaFrame.Post.extend({initialize:function(){_.defaults(this.options,{multiple:true});wp.media.view.MediaFrame.Post.prototype.initialize.apply(this,arguments);this.on("content:render:browse",this.removeSidebar,this);this.on("toolbar:create:insert-slide",this.createToolbar,this);this.on("toolbar:render:insert-slide",this.insertToolbar,this)},browseContent:function(e){var n=this.state();this.$el.removeClass("hide-toolbar");e.view=new t.views.AddSlide.image({controller:this,collection:n.get("library"),selection:n.get("selection"),model:n,sortable:n.get("sortable"),search:n.get("searchable"),filters:n.get("filterable"),date:n.get("date"),display:n.has("display")?n.get("display"):n.get("displaySettings"),dragInfo:n.get("dragInfo"),idealColumnWidth:n.get("idealColumnWidth"),suggestedWidth:n.get("suggestedWidth"),suggestedHeight:n.get("suggestedHeight"),AttachmentView:n.get("AttachmentView")})},createStates:function(){this.states.add([new t.controllers.AddSlide.image({id:"insert",type:"image",title:_easingsliderEditorL10n.media_upload.image_from_media,priority:20,toolbar:"insert-slide",filterable:false,library:wp.media.query({type:"image"}),multiple:true,editable:true,allowLocalEdits:true,displaySettings:false,displayUserSettings:true})])},removeSidebar:function(e){e.sidebar.remove("details");e.$el.addClass("hide-sidebar")},insertToolbar:function(e){var t=this;e.set("insert-slide",{style:"primary",priority:80,text:_easingsliderEditorL10n.media_upload.insert_into_slider,requires:{selection:false},click:function(){t.close().trigger("insert",t.getSelection()).reset()}})},getSelection:function(e){var n=new wp.media.model.Selection(null,{multiple:true});var r=this.state().get("type"),e=this.state().get("selection");_.each(e.models,function(e){var i=new t.models.Slide.get({type:r});if(e.get("id")){i.attachment=e;i.set({attachment_id:e.get("id")},{silent:true})}else{i.set(e,{silent:true})}n.add(i)},this);return n}});t.frames.EditSlide={get:function(e){return new(t.frames.EditSlide[e.model.get("type")])(e)}};t.frames.EditSlide.image=wp.media.view.MediaFrame.ImageDetails.extend({initialize:function(){this.image=new wp.media.model.PostImage(this.model.attributes);this.options.state="edit-slide";this.options.selection=new wp.media.model.Selection(this.image.attachment,{multiple:false});wp.media.view.MediaFrame.Select.prototype.initialize.apply(this,arguments);this.on("content:render:browse",this.removeSidebar,this);this.state("edit-slide").on("update",this.updateSettings,this);this.state("replace-image").on("replace",this.replaceImage,this)},createStates:function(){this.states.add([new t.controllers.EditSlide.get({type:"image",image:this.image,editable:false})]);wp.media.view.MediaFrame.ImageDetails.prototype.createStates.apply(this,arguments)},imageDetailsContent:function(e){e.view=new t.views.EditSlide.get({type:"image",controller:this,model:this.state().image,attachment:this.state().image.attachment})},removeSidebar:function(e){e.sidebar.remove("details");e.$el.addClass("hide-sidebar")},updateSettings:function(){var e={};this.$("*[data-setting]").each(function(){if("checkbox"==this.type){e[this.dataset.setting]=this.checked?this.value:false}else{e[this.dataset.setting]=this.value}});this.model.set(e)},replaceImage:function(){this.model.set({attachment_id:this.image.attachment.id});this.model.attachment.set(this.image.attachment.attributes)}});t.views.Admin=Backbone.View.extend({el:".wrap",events:{"click #add-slides":"_addSlide","click #select-all":"_selectAll","click #delete-slides":"_clickBulkDelete","click #save":"_clickSave","click .toolbar .edit":"_clickEdit","click .toolbar .remove":"_clickDelete","click .thumbnail":"_clickThumb","click .select-mode-toggle-button":"_toggleMode","click .sidebar-name":"_toggleWidget"},initialize:function(){this.subviews={AddSlide:new t.frames.AddSlide,AdminSlides:new t.views.AdminSlides({collection:this.collection})};this.collection.on("sync:done",this.render,this);this.collection.on("sync:done",this._enableSave,this);this.subviews.AddSlide.on("insert",this._handleInsert,this);e(window).on("resize",this._setColumns.bind(this));this._selectMode=false;this._showSpinner()},_showSpinner:function(){this.$("#slides-browser").append('<div class="spinner"></div>')},_hideSpinner:function(){this.$("#slides-browser .spinner").remove()},_enableSave:function(){this.$("#save").prop("disabled",false)},_clickSave:function(){this.$("#publishing-action .spinner").css({display:"block"})},_setColumns:function(){var e=this.$(".media-frame-content"),t=e.attr("data-columns"),n=e.width();if(n){var r=Math.min(Math.round(n/145),12)||1;if(!t||t!==r){e.attr("data-columns",r)}}},_handleInsert:function(e){this.collection.add(e.models)},_clickThumb:function(e){e.preventDefault();if(!this._selectMode){this._editSlide(e)}else{this._toggleSelect(e)}},_clickEdit:function(e){e.preventDefault();this._editSlide(e)},_clickDelete:function(t){t.preventDefault();if(confirm(_easingsliderEditorL10n.warn)){var n=e(t.currentTarget).parents(".attachment").attr("data-id");this.collection.remove(n)}},_clickBulkDelete:function(e){e.preventDefault();if(confirm(_easingsliderEditorL10n.warn)){this._deleteSlides(e);this._toggleMode(e)}},_toggleMode:function(e){e.preventDefault();if(!this._selectMode){this._selectMode=true}else{this._selectMode=false}this.$(".attachment").removeClass("selected details");this.$(".media-frame").toggleClass("mode-select");this.$(".media-toolbar div *").toggleClass("hidden")},_toggleSelect:function(t){t.preventDefault();e(t.currentTarget).parents(".attachment").toggleClass("selected details")},_toggleWidget:function(t){t.preventDefault();var n=e(t.currentTarget).parent(),r=n.find(".sidebar-content");if(n.hasClass("fixed")){return}this.$(".widgets-holder-wrap").each(function(){var t=e(this);if(!t.hasClass("fixed")){t.find(".sidebar-content").slideUp(200,function(){t.addClass("closed")})}});if(!n.hasClass("closed")){return}r.slideDown(200,function(){n.removeClass("closed")})},_selectAll:function(e){e.preventDefault();this.$(".attachment").addClass("selected details")},_deleteSlides:function(t){t.preventDefault();var n=this.collection,r=[];this.$(".attachment").each(function(t){if(e(this).hasClass("selected")){r.push(n.at(t))}});this.collection.remove(r)},_addSlide:function(e){e.preventDefault();this.addSlide()},addSlide:function(){this.subviews.AddSlide.open();return this},_editSlide:function(t){t.preventDefault();var n=e(t.currentTarget).parents(".attachment").attr("data-id");this.editSlide(n)},editSlide:function(e){this.subviews.EditSlide=new t.frames.EditSlide.get({model:this.collection.get(e)});this.subviews.EditSlide.open();return this},render:function(){this._hideSpinner();var e=this.subviews.AdminSlides.render().el;this.$("#slides-browser").append(e);return this}});t.views.AdminSlides=Backbone.View.extend({tagName:"ul",attributes:{"class":"attachments ui-sortable",tabindex:"-1"},initialize:function(){this.subviews=[];this.collection.on("add",this.add,this);this.collection.on("remove",this.render,this);this.collection.on("reset",this.render,this);this.$el.sortable({items:".attachment",containment:"parent",tolerance:"pointer",stop:this._sort.bind(this)})},_sort:function(e,t){var n=this.collection.get(t.item.context.dataset.id);this.collection.reposition(n,t.item.index())},add:function(e){var n=new t.views.AdminSlide({model:e});this.subviews.push(n);this.$el.append(n.render().$el);return this},render:function(){this.subviews=[];this.$el.empty();_.each(this.collection.models,function(e){this.add(e)},this);return this}});t.views.AdminSlide=Backbone.View.extend({tagName:"li",attributes:function(){return{role:"checkbox","class":"attachment save-ready",tabindex:"0","data-id":this.model.id}},template:wp.media.template("easingslider-slide"),initialize:function(){this.model.on("change",this._setData,this);this.model.on("change:id",this._updateID,this);this.model.on("change:url",this.render,this);this.model.on("change:poster",this.render,this);this.model.on("change:attachment_id",this.render,this);if(this.model.attachment){this.model.attachment.on("change",this.render,this)}},_setData:function(){this.$('input[name="slides[]"]').val(JSON.stringify(this.model.attributes))},_updateID:function(e,t){this.$el.attr("data-id",t);this.attributes["data-id"]=t},render:function(){var e={model:this.model.toJSON()};if(this.model.attachment){e.attachment=this.model.attachment.toJSON()}this.$el.html(this.template(e));return this}});t.views.AddSlide={get:function(e){return new t.views.AddSlide[e.type](e)}};t.views.AddSlide.image=wp.media.view.AttachmentsBrowser.extend();t.views.EditSlide={get:function(e){return new t.views.EditSlide[e.type](e)}};t.views.EditSlide.image=wp.media.view.ImageDetails.extend({className:"edit-attachment-frame attachment-details mode-select",template:wp.media.template("easingslider-edit-slide"),initialize:function(){console.log(this.model.get("linkTargetBlank"));wp.media.view.ImageDetails.prototype.initialize.apply(this,arguments);this.model.on("change:url",this._updateImage,this)},_updateImage:function(){this.$(".details-image").attr("src",this.model.get("url"))}});t.router=Backbone.Router.extend({routes:{"admin.php?page=:page&edit=:id&change=:slide":"changeSlide","admin.php?page=:page&edit=:id&slide=:slide":"editSlide","admin.php?page=:page&edit=:id":"edit","admin.php?page=:page":"edit"},changeSlide:function(e,t,n){this.edit();this.AdminView.collection.on("sync:done",function(){this.AdminView.openChangeSlideFrame(n)},this);return this},editSlide:function(e,t,n){this.edit();this.AdminView.collection.on("sync:done",function(){this.AdminView.openEditSlideFrame(n)},this);return this},edit:function(e){if(!window.slides){return this}this.AdminView=new t.views.Admin({collection:new t.collections.Slides(JSON.parse(window.slides))});this.AdminView.collection.sync();return this}});e(document).ready(function(){t.Router=new t.router;Backbone.history.start({root:window._wpMediaGridSettings.adminUrl,pushState:true});e(".delete").each(function(){e(this).on("click",function(){if(!confirm(_easingsliderEditorL10n.warn)){return false}})})})})(jQuery)
1
+ window.EasingSlider=window.EasingSlider||{Editor:{models:{},collections:{},controllers:{},frames:{},views:{},router:{},Router:{}}},function(e){var t=window.EasingSlider.Editor;t.models.Slide={get:function(e){return new t.models.Slide[e.type](e)}},t.models.Slide.image=Backbone.Model.extend({attachment:!1,defaults:_.defaults({attachment_id:null,type:"image",alt:"",aspectRatio:null,link:"none",linkUrl:"",linkTargetBlank:!1,title:"",url:null},wp.media.model.PostImage.prototype.defaults)}),t.collections.Slides=Backbone.Collection.extend({model:t.models.Slide.get,initialize:function(){this.on("add",this._resetIDs,this),this.on("remove",this._resetIDs,this),this.on("reset",this._resetIDs,this)},comparator:function(e){return e.get("id")},_resetIDs:function(){var e=new Backbone.Collection;_.each(this.models,function(t,i){t.set({id:i+1}),e.add(t)}),this.reset(e.models,{silent:!0})},reposition:function(e,t){return this.remove(e,{silent:!0}),this.add(e,{at:t,silent:!0}),this._resetIDs(),this},sync:function(){var e=this,t=[];_.each(this.models,function(e){e.has("attachment_id")&&t.push(e.get("attachment_id"))},this);var i=wp.media.query({post__in:t,posts_per_page:-1});return i.more().done(function(){_.each(i.models,function(t){var i=e.where({attachment_id:t.get("id")});_.each(i,function(e){e.attachment=t})}),e.trigger("sync:done")}),this}}),t.controllers.AddSlide={get:function(e){return new t.controllers.AddSlide[e.type](e)}},t.controllers.AddSlide.image=wp.media.controller.Library.extend(),t.controllers.EditSlide={get:function(e){return new t.controllers.EditSlide[e.type](e)}},t.controllers.EditSlide.image=wp.media.controller.ImageDetails.extend({defaults:_.defaults({id:"edit-slide",title:_easingsliderEditorL10n.media_upload.title},wp.media.controller.ImageDetails.prototype.defaults)}),t.frames.AddSlide=wp.media.view.MediaFrame.Post.extend({initialize:function(){_.defaults(this.options,{multiple:!0}),wp.media.view.MediaFrame.Post.prototype.initialize.apply(this,arguments),this.on("content:render:browse",this.removeSidebar,this),this.on("toolbar:create:insert-slide",this.createToolbar,this),this.on("toolbar:render:insert-slide",this.insertToolbar,this)},browseContent:function(e){var i=this.state();this.$el.removeClass("hide-toolbar"),e.view=new t.views.AddSlide.image({controller:this,collection:i.get("library"),selection:i.get("selection"),model:i,sortable:i.get("sortable"),search:i.get("searchable"),filters:i.get("filterable"),date:i.get("date"),display:i.get(i.has("display")?"display":"displaySettings"),dragInfo:i.get("dragInfo"),idealColumnWidth:i.get("idealColumnWidth"),suggestedWidth:i.get("suggestedWidth"),suggestedHeight:i.get("suggestedHeight"),AttachmentView:i.get("AttachmentView")})},createStates:function(){this.states.add([new t.controllers.AddSlide.image({id:"insert",type:"image",title:_easingsliderEditorL10n.media_upload.image_from_media,priority:20,toolbar:"insert-slide",filterable:!1,library:wp.media.query({type:"image"}),multiple:!0,editable:!0,allowLocalEdits:!0,displaySettings:!1,displayUserSettings:!0})])},removeSidebar:function(e){e.sidebar.remove("details"),e.$el.addClass("hide-sidebar")},insertToolbar:function(e){var t=this;e.set("insert-slide",{style:"primary",priority:80,text:_easingsliderEditorL10n.media_upload.insert_into_slider,requires:{selection:!1},click:function(){t.close().trigger("insert",t.getSelection()).reset()}})},getSelection:function(e){var i=new wp.media.model.Selection(null,{multiple:!0}),s=this.state().get("type"),e=this.state().get("selection");return _.each(e.models,function(e){var n=new t.models.Slide.get({type:s});e.get("id")?(n.attachment=e,n.set({attachment_id:e.get("id")},{silent:!0})):n.set(e,{silent:!0}),i.add(n)},this),i}}),t.frames.EditSlide={get:function(e){return new(t.frames.EditSlide[e.model.get("type")])(e)}},t.frames.EditSlide.image=wp.media.view.MediaFrame.ImageDetails.extend({initialize:function(){this.image=new wp.media.model.PostImage(this.model.attributes),this.options.state="edit-slide",this.options.selection=new wp.media.model.Selection(this.image.attachment,{multiple:!1}),wp.media.view.MediaFrame.Select.prototype.initialize.apply(this,arguments),this.on("content:render:browse",this.removeSidebar,this),this.state("edit-slide").on("update",this.updateSettings,this),this.state("replace-image").on("replace",this.replaceImage,this)},createStates:function(){this.states.add([new t.controllers.EditSlide.get({type:"image",image:this.image,editable:!1})]),wp.media.view.MediaFrame.ImageDetails.prototype.createStates.apply(this,arguments)},imageDetailsContent:function(e){e.view=new t.views.EditSlide.get({type:"image",controller:this,model:this.state().image,attachment:this.state().image.attachment})},removeSidebar:function(e){e.sidebar.remove("details"),e.$el.addClass("hide-sidebar")},updateSettings:function(){var e={};this.$("*[data-setting]").each(function(){e[this.dataset.setting]="checkbox"==this.type?this.checked?this.value:!1:this.value}),this.model.set(e)},replaceImage:function(){this.model.set({attachment_id:this.image.attachment.id}),this.model.attachment.set(this.image.attachment.attributes)}}),t.views.Admin=Backbone.View.extend({el:".wrap",events:{"click #add-slides":"_addSlide","click #select-all":"_selectAll","click #delete-slides":"_clickBulkDelete","click #save":"_clickSave","click .toolbar .edit":"_clickEdit","click .toolbar .remove":"_clickDelete","click .show-advanced-options":"_clickAdvancedOptions","click .thumbnail":"_clickThumb","click .select-mode-toggle-button":"_toggleMode","click .sidebar-name":"_toggleWidget"},initialize:function(){this.subviews={AddSlide:new t.frames.AddSlide,AdminSlides:new t.views.AdminSlides({collection:this.collection})},this.collection.on("sync:done",this.render,this),this.collection.on("sync:done",this._enableSave,this),this.subviews.AddSlide.on("insert",this._handleInsert,this),e(window).on("resize",this._setColumns.bind(this)),this._selectMode=!1,this._setColumns(),this._showSpinner()},_showSpinner:function(){this.$("#slides-browser").append('<div class="spinner"></div>')},_hideSpinner:function(){this.$("#slides-browser .spinner").remove()},_enableSave:function(){this.$("#save").prop("disabled",!1)},_clickSave:function(){this.$("#publishing-action .spinner").css({display:"block"})},_setColumns:function(){var e=this.$(".media-frame-content"),t=e.attr("data-columns"),i=e.width();if(i){var s=Math.min(Math.round(i/145),12)||1;t&&t===s||e.attr("data-columns",s)}},_handleInsert:function(e){this.collection.add(e.models)},_clickThumb:function(e){e.preventDefault(),this._selectMode?this._toggleSelect(e):this._editSlide(e)},_clickEdit:function(e){e.preventDefault(),this._editSlide(e)},_clickDelete:function(t){if(t.preventDefault(),confirm(_easingsliderEditorL10n.warn)){var i=e(t.currentTarget).parents(".attachment").attr("data-id");this.collection.remove(i)}},_clickBulkDelete:function(e){e.preventDefault(),confirm(_easingsliderEditorL10n.warn)&&(this._deleteSlides(e),this._toggleMode(e))},_clickAdvancedOptions:function(t){t.preventDefault();var i=e(t.currentTarget).parent().find(".advanced-options");i.toggleClass("hidden")},_toggleMode:function(e){e.preventDefault(),this._selectMode=this._selectMode?!1:!0,this.$(".attachment").removeClass("selected details"),this.$(".media-frame").toggleClass("mode-select"),this.$(".media-toolbar div *").toggleClass("hidden")},_toggleSelect:function(t){t.preventDefault(),e(t.currentTarget).parents(".attachment").toggleClass("selected details")},_toggleWidget:function(t){t.preventDefault();var i=e(t.currentTarget).parent(),s=i.find(".sidebar-content");i.hasClass("fixed")||(this.$(".widgets-holder-wrap").each(function(){var t=e(this);t.hasClass("fixed")||t.find(".sidebar-content").slideUp(200,function(){t.addClass("closed")})}),i.hasClass("closed")&&s.slideDown(200,function(){i.removeClass("closed")}))},_selectAll:function(e){e.preventDefault(),this.$(".attachment").addClass("selected details")},_deleteSlides:function(t){t.preventDefault();var i=this.collection,s=[];this.$(".attachment").each(function(t){e(this).hasClass("selected")&&s.push(i.at(t))}),this.collection.remove(s)},_addSlide:function(e){e.preventDefault(),this.addSlide()},addSlide:function(){return this.subviews.AddSlide.open(),this},_editSlide:function(t){t.preventDefault();var i=e(t.currentTarget).parents(".attachment").attr("data-id");this.editSlide(i)},editSlide:function(e){return this.subviews.EditSlide=new t.frames.EditSlide.get({model:this.collection.get(e)}),this.subviews.EditSlide.open(),this},render:function(){this._hideSpinner();var e=this.subviews.AdminSlides.render().el;return this.$("#slides-browser").append(e),this}}),t.views.AdminSlides=Backbone.View.extend({tagName:"ul",attributes:{"class":"attachments ui-sortable",tabindex:"-1"},initialize:function(){this.subviews=[],this.collection.on("add",this.add,this),this.collection.on("remove",this.render,this),this.collection.on("reset",this.render,this),this.$el.sortable({items:".attachment",containment:"parent",tolerance:"pointer",stop:this._sort.bind(this)})},_sort:function(e,t){var i=this.collection.get(t.item.context.dataset.id);this.collection.reposition(i,t.item.index())},add:function(e){var i=new t.views.AdminSlide({model:e});return this.subviews.push(i),this.$el.append(i.render().$el),this},render:function(){return this.subviews=[],this.$el.empty(),_.each(this.collection.models,function(e){this.add(e)},this),this}}),t.views.AdminSlide=Backbone.View.extend({tagName:"li",attributes:function(){return{role:"checkbox","class":"attachment save-ready",tabindex:"0","data-id":this.model.id}},template:wp.media.template("easingslider-slide"),initialize:function(){this.model.on("change",this._setData,this),this.model.on("change:id",this._updateID,this),this.model.on("change:url",this.render,this),this.model.on("change:poster",this.render,this),this.model.on("change:attachment_id",this.render,this),this.model.attachment&&this.model.attachment.on("change",this.render,this)},_setData:function(){this.$('input[name="slides[]"]').val(JSON.stringify(this.model.attributes))},_updateID:function(e,t){this.$el.attr("data-id",t),this.attributes["data-id"]=t},render:function(){var e={model:this.model.toJSON()};return this.model.attachment&&(e.attachment=this.model.attachment.toJSON()),this.$el.html(this.template(e)),this}}),t.views.AddSlide={get:function(e){return new t.views.AddSlide[e.type](e)}},t.views.AddSlide.image=wp.media.view.AttachmentsBrowser.extend(),t.views.EditSlide={get:function(e){return new t.views.EditSlide[e.type](e)}},t.views.EditSlide.image=wp.media.view.ImageDetails.extend({className:"edit-attachment-frame attachment-details mode-select",template:wp.media.template("easingslider-edit-slide"),initialize:function(){console.log(this.model.get("linkTargetBlank")),wp.media.view.ImageDetails.prototype.initialize.apply(this,arguments),this.model.on("change:url",this._updateImage,this)},_updateImage:function(){this.$(".details-image").attr("src",this.model.get("url"))}}),t.router=Backbone.Router.extend({routes:{"admin.php?page=:page&edit=:id&change=:slide":"changeSlide","admin.php?page=:page&edit=:id&slide=:slide":"editSlide","admin.php?page=:page&edit=:id":"edit","admin.php?page=easingslider_publish_slider":"edit"},changeSlide:function(e,t,i){return this.edit(),this.AdminView.collection.on("sync:done",function(){this.AdminView.openChangeSlideFrame(i)},this),this},editSlide:function(e,t,i){return this.edit(),this.AdminView.collection.on("sync:done",function(){this.AdminView.openEditSlideFrame(i)},this),this},edit:function(){return window.slides?(this.AdminView=new t.views.Admin({collection:new t.collections.Slides(JSON.parse(window.slides))}),this.AdminView.collection.sync(),this):this}}),e(document).ready(function(){t.Router=new t.router,Backbone.history.start({root:window._wpMediaGridSettings.adminUrl,pushState:!0}),e(".delete").each(function(){e(this).on("click",function(){return confirm(_easingsliderEditorL10n.warn)?void 0:!1})})})}(jQuery);
js/jquery.easingslider.js CHANGED
@@ -12,6 +12,7 @@
12
  // Establish our elements
13
  base.el = el;
14
  base.$el = $(base.el);
 
15
  base.$slides = base.$el.find('.easingslider-slide');
16
  base.$arrows = base.$el.find('.easingslider-arrows');
17
  base.$next = base.$el.find('.easingslider-next');
@@ -47,10 +48,12 @@
47
  // Set the current slide
48
  base.$slides.eq(base.current).css({ 'display': 'block' }).addClass('active');
49
 
50
- // Setup other components
51
  base._setupArrows();
52
  base._setupPagination();
53
  base._setupPlayback();
 
 
54
 
55
  // Preload the slider
56
  base._preload();
@@ -67,22 +70,22 @@
67
  */
68
  base._setupArrows = function() {
69
 
70
- // Bail if arrows aren't enabled
71
- if ( ! o.navigation.arrows ) {
72
- return;
73
- }
74
 
75
- // "Next" & "Previous" arrow functionality
76
- base.$next.on(base._clickEvent, base.nextSlide);
77
- base.$prev.on(base._clickEvent, base.prevSlide);
78
 
79
- // Add hover toggle if enabled
80
- if ( o.navigation.arrows_hover ) {
81
- base.$arrows.addClass('has-hover');
82
- }
 
 
 
83
 
84
- // Show the arrows
85
- base.$arrows.css({ 'display': 'block' });
86
 
87
  return base;
88
 
@@ -93,34 +96,34 @@
93
  */
94
  base._setupPagination = function() {
95
 
96
- // Bail if pagination isn't enabled
97
- if ( ! o.navigation.pagination ) {
98
- return;
99
- }
100
 
101
- // Bind events
102
- base.$el.on('loaded', base._updatePagination);
103
- base.$el.on('transition.before', base._updatePagination);
104
 
105
- // Enable click event for each icon
106
- base.$icons.on(base._clickEvent, function() {
107
 
108
- // Get the next slide index and direction we are travelling
109
- var eq = $(this).index(),
110
- direction = (eq > base.current) ? 'forward' : 'backward';
111
 
112
- // Transition to the desired slide
113
- base.goToSlide(eq, direction);
114
 
115
- });
116
 
117
- // Add hover toggle if enabled
118
- if ( o.navigation.pagination_hover ) {
119
- base.$pagination.addClass('has-hover');
120
- }
121
 
122
- // Show the pagination
123
- base.$pagination.css({ 'display': 'block' });
 
 
124
 
125
  return base;
126
 
@@ -131,13 +134,13 @@
131
  */
132
  base._updatePagination = function() {
133
 
134
- // Bail if we don't have any pagination
135
- if ( ! o.navigation.pagination ) {
136
- return base;
137
- }
 
138
 
139
- // Update the active icon
140
- base.$icons.removeClass('active').eq(base.current).addClass('active');
141
 
142
  return base;
143
 
@@ -149,28 +152,98 @@
149
  base._setupPlayback = function() {
150
 
151
  // Clear playback timer before the transition. It'll be reset after the transition has completed.
152
- base.$el.on('transition.before', function() {
153
  if ( base._playbackTimer ) {
154
  clearTimeout(base._playbackTimer);
155
  }
156
  });
157
 
158
  // Once a transition has completed, continue playback if we have an active timer.
159
- base.$el.on('transition.after', function() {
160
  if ( base._playbackTimer ) {
161
  base.startPlayback();
162
  }
163
  });
164
 
165
  // Queue playback after the slider has loaded, if enabled.
166
- if ( o.playback.enabled ) {
167
- base.$el.on('loaded', base.startPlayback);
168
  }
169
 
170
  return base;
171
 
172
  };
173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  /**
175
  * Preloads the slider
176
  */
@@ -250,7 +323,7 @@
250
  });
251
  }
252
 
253
- },
254
 
255
  /**
256
  * Starts automatic playback
@@ -339,6 +412,11 @@
339
  */
340
  base._transition = function(eq, direction) {
341
 
 
 
 
 
 
342
  // Bail if specified slide doesn't exist
343
  if ( base.$slides.eq(eq).length == 0 ) {
344
  return base;
@@ -473,7 +551,11 @@
473
  dimensions: {
474
  width: 640,
475
  height: 400,
476
- responsive: true
 
 
 
 
477
  },
478
  transitions: {
479
  effect: 'fade',
@@ -481,10 +563,10 @@
481
  },
482
  navigation: {
483
  arrows: true,
484
- arrows_hover: true,
485
  arrows_position: 'inside',
486
  pagination: true,
487
- pagination_hover: true,
488
  pagination_position: 'inside',
489
  pagination_location: 'bottom-center'
490
  },
12
  // Establish our elements
13
  base.el = el;
14
  base.$el = $(base.el);
15
+ base.$viewport = base.$el.find('.easingslider-viewport');
16
  base.$slides = base.$el.find('.easingslider-slide');
17
  base.$arrows = base.$el.find('.easingslider-arrows');
18
  base.$next = base.$el.find('.easingslider-next');
48
  // Set the current slide
49
  base.$slides.eq(base.current).css({ 'display': 'block' }).addClass('active');
50
 
51
+ // Setup components
52
  base._setupArrows();
53
  base._setupPagination();
54
  base._setupPlayback();
55
+ base._setupResizing();
56
+ base._setupBackgrounds();
57
 
58
  // Preload the slider
59
  base._preload();
70
  */
71
  base._setupArrows = function() {
72
 
73
+ // Continue if arrows are enabled
74
+ if ( o.navigation.arrows ) {
 
 
75
 
76
+ // "Next" & "Previous" arrow functionality
77
+ base.$next.bind(base._clickEvent, base.nextSlide);
78
+ base.$prev.bind(base._clickEvent, base.prevSlide);
79
 
80
+ // Add hover toggle if enabled
81
+ if ( o.navigation.arrows_hover ) {
82
+ base.$arrows.addClass('has-hover');
83
+ }
84
+
85
+ // Show the arrows
86
+ base.$arrows.css({ 'display': 'block' });
87
 
88
+ }
 
89
 
90
  return base;
91
 
96
  */
97
  base._setupPagination = function() {
98
 
99
+ // Continue if pagination is enabled
100
+ if ( o.navigation.pagination ) {
 
 
101
 
102
+ // Bind events
103
+ base.$el.bind('loaded', base._updatePagination);
104
+ base.$el.bind('transition.before', base._updatePagination);
105
 
106
+ // Enable click event for each icon
107
+ base.$icons.bind(base._clickEvent, function() {
108
 
109
+ // Get the next slide index and direction we are travelling
110
+ var eq = $(this).index(),
111
+ direction = (eq > base.current) ? 'forward' : 'backward';
112
 
113
+ // Transition to the desired slide
114
+ base.goToSlide(eq, direction);
115
 
116
+ });
117
 
118
+ // Add hover toggle if enabled
119
+ if ( o.navigation.pagination_hover ) {
120
+ base.$pagination.addClass('has-hover');
121
+ }
122
 
123
+ // Show the pagination
124
+ base.$pagination.css({ 'display': 'block' });
125
+
126
+ }
127
 
128
  return base;
129
 
134
  */
135
  base._updatePagination = function() {
136
 
137
+ // Continue if pagination is enabled
138
+ if ( o.navigation.pagination ) {
139
+
140
+ // Update the active icon
141
+ base.$icons.removeClass('active').eq(base.current).addClass('active');
142
 
143
+ }
 
144
 
145
  return base;
146
 
152
  base._setupPlayback = function() {
153
 
154
  // Clear playback timer before the transition. It'll be reset after the transition has completed.
155
+ base.$el.bind('transition.before', function() {
156
  if ( base._playbackTimer ) {
157
  clearTimeout(base._playbackTimer);
158
  }
159
  });
160
 
161
  // Once a transition has completed, continue playback if we have an active timer.
162
+ base.$el.bind('transition.after', function() {
163
  if ( base._playbackTimer ) {
164
  base.startPlayback();
165
  }
166
  });
167
 
168
  // Queue playback after the slider has loaded, if enabled.
169
+ if ( o.playback.enabled && base.count > 1 ) {
170
+ base.$el.bind('loaded', base.startPlayback);
171
  }
172
 
173
  return base;
174
 
175
  };
176
 
177
+ /**
178
+ * Sets up the responsive support
179
+ */
180
+ base._setupResizing = function() {
181
+
182
+ // Continue if responsive is enabled
183
+ if ( o.dimensions.responsive ) {
184
+
185
+ // Update the size
186
+ base._updateSize();
187
+
188
+ // Handle window resizing
189
+ $(window).bind('resize', base._updateSize);
190
+
191
+ }
192
+
193
+ return base;
194
+
195
+ };
196
+
197
+ /**
198
+ * Updates the slider's size
199
+ */
200
+ base._updateSize = function() {
201
+
202
+ // Get the container width
203
+ var width = base.$el.outerWidth();
204
+
205
+ // If it has changed, resize the height to match.
206
+ if ( width <= base.width && o.dimensions.keep_ratio ) {
207
+
208
+ // Using the default slider width, let's calculate the percentage change and thus calculate the new height.
209
+ var height = Math.floor((width / base.width) * base.height);
210
+
211
+ // Set the viewport height
212
+ base.$viewport.css({ 'height': height +'px' });
213
+
214
+ // Trigger event
215
+ base.$el.trigger('resize', [base, width, height]);
216
+
217
+ }
218
+
219
+ return base;
220
+
221
+ };
222
+
223
+ /**
224
+ * Sets up the background slides, if enabled
225
+ */
226
+ base._setupBackgrounds = function() {
227
+
228
+ // Handle background images, if enabled
229
+ if ( o.dimensions.background_images ) {
230
+ base.$slides.each(function() {
231
+
232
+ // Establish variables
233
+ var $slide = $(this),
234
+ $image = $slide.find('.easingslider-image');
235
+
236
+ // Set background
237
+ $slide.addClass('easingslider-background-slide').css({ 'background-image': 'url('+ $image.attr('src') +')' });
238
+
239
+ // Hide slide image
240
+ $image.css({ 'display': 'none' });
241
+
242
+ });
243
+ }
244
+
245
+ };
246
+
247
  /**
248
  * Preloads the slider
249
  */
323
  });
324
  }
325
 
326
+ };
327
 
328
  /**
329
  * Starts automatic playback
412
  */
413
  base._transition = function(eq, direction) {
414
 
415
+ // Bail if we only have one slide
416
+ if ( base.count <= 1 ) {
417
+ return base;
418
+ }
419
+
420
  // Bail if specified slide doesn't exist
421
  if ( base.$slides.eq(eq).length == 0 ) {
422
  return base;
551
  dimensions: {
552
  width: 640,
553
  height: 400,
554
+ responsive: true,
555
+ full_width: false,
556
+ image_resizing: false,
557
+ keep_ratio: true,
558
+ background_images: false
559
  },
560
  transitions: {
561
  effect: 'fade',
563
  },
564
  navigation: {
565
  arrows: true,
566
+ arrows_hover: false,
567
  arrows_position: 'inside',
568
  pagination: true,
569
+ pagination_hover: false,
570
  pagination_position: 'inside',
571
  pagination_location: 'bottom-center'
572
  },
js/jquery.easingslider.min.js CHANGED
@@ -1 +1 @@
1
- (function(e){e.EasingSlider=function(t){var n=this,r;n.el=t;n.$el=e(n.el);n.$slides=n.$el.find(".easingslider-slide");n.$arrows=n.$el.find(".easingslider-arrows");n.$next=n.$el.find(".easingslider-next");n.$prev=n.$el.find(".easingslider-prev");n.$pagination=n.$el.find(".easingslider-pagination");n.$icons=n.$el.find(".easingslider-icon");n.$preload=n.$el.find(".easingslider-preload");n.options=r=e.extend({},e.EasingSlider.defaults,e.parseJSON(n.$el.attr("data-options")));n.current=0;n.previous=0;n.count=n.$slides.length;n.width=r.dimensions.width;n.height=r.dimensions.height;n.$el.data("easingslider",n);n.initialize=function(){n._clickEvent="ontouchstart"in document.documentElement?"touchstart":"click";n.$slides.css({display:"none"});n.$slides.eq(n.current).css({display:"block"}).addClass("active");n._setupArrows();n._setupPagination();n._setupPlayback();n._preload();n.$el.trigger("init",n);return n};n._setupArrows=function(){if(!r.navigation.arrows){return}n.$next.on(n._clickEvent,n.nextSlide);n.$prev.on(n._clickEvent,n.prevSlide);if(r.navigation.arrows_hover){n.$arrows.addClass("has-hover")}n.$arrows.css({display:"block"});return n};n._setupPagination=function(){if(!r.navigation.pagination){return}n.$el.on("loaded",n._updatePagination);n.$el.on("transition.before",n._updatePagination);n.$icons.on(n._clickEvent,function(){var t=e(this).index(),r=t>n.current?"forward":"backward";n.goToSlide(t,r)});if(r.navigation.pagination_hover){n.$pagination.addClass("has-hover")}n.$pagination.css({display:"block"});return n};n._updatePagination=function(){if(!r.navigation.pagination){return n}n.$icons.removeClass("active").eq(n.current).addClass("active");return n};n._setupPlayback=function(){n.$el.on("transition.before",function(){if(n._playbackTimer){clearTimeout(n._playbackTimer)}});n.$el.on("transition.after",function(){if(n._playbackTimer){n.startPlayback()}});if(r.playback.enabled){n.$el.on("loaded",n.startPlayback)}return n};n._preload=function(){var t=n.$slides.find(".easingslider-image").length;n._preloadCount=0;n.$el.find(".easingslider-image").each(function(){e(this).one("load",function(){if(++n._preloadCount==t){n.$preload.animate({opacity:0},{duration:400,complete:function(){e(this).remove();n.$el.addClass("has-loaded");n.$el.trigger("loaded",n)}})}}).each(function(){if(this.complete){e(this).load()}})})};n._load=function(){n._preloadCount++;var t=n.$slides.find(".easingslider-image").length;if(n._preloadCount==t){n.$preload.animate({opacity:0},{duration:400,complete:function(){e(this).remove();n.$el.addClass("has-loaded");n.$el.trigger("loaded",n)}})}},n.startPlayback=function(){n._runtime=new Date;n._pauseTime=r.playback.pause;n._playbackTimer=setTimeout(function(){n.nextSlide()},n._pauseTime);n.$el.trigger("playback.start",n);return n};n.endPlayback=function(){clearTimeout(n._playbackTimer);n._playbackTimer=false;n.$el.trigger("playback.end",n);return n};n.pausePlayback=function(){clearTimeout(n._playbackTimer);n._runtime=Math.ceil(new Date-n._runtime);n.$el.trigger("playback.pause",n);return n};n.resumePlayback=function(){n._pauseTime=Math.ceil(n._pauseTime-n._runtime);n._runtime=new Date;n._playbackTimer=setTimeout(function(){n.nextSlide()},n._pauseTime);n.$el.trigger("playback.resume",n);return n};n._transition=function(e,t){if(n.$slides.eq(e).length==0){return n}if(n._animating){return n}n._animating=true;n.previous=n.current;n.current=e;if("backward"==t){n.$slides.eq(n.previous).css({display:"block"});n.$slides.eq(n.current).css({display:"block"});setTimeout(function(){n.$slides.eq(n.previous).addClass("next-out");n.$slides.eq(n.current).addClass("prev-in")})}else{n.$slides.eq(n.previous).css({display:"block"});n.$slides.eq(n.current).css({display:"block"});setTimeout(function(){n.$slides.eq(n.previous).addClass("prev-out");n.$slides.eq(n.current).addClass("next-in")})}clearTimeout(n._cleanup);n._cleanup=setTimeout(function(){n.$slides.eq(n.current).css({display:"block"}).addClass("active");n.$slides.eq(n.previous).css({display:"none"}).removeClass("active");n.$slides.removeClass("next-in next-out prev-in prev-out");n._animating=false;n.$el.trigger("transition.after",[n,e,t])},r.transitions.duration);n.$el.trigger("transition.before",[n,e,t]);return n};n.nextSlide=function(){var e=n.current==n.count-1?0:n.current+1;n._transition(e,"forward");n.$el.trigger("transition.next",[n,e,"forward"]);return n};n.prevSlide=function(){var e=n.current==0?n.count-1:n.current-1;n._transition(e,"backward");n.$el.trigger("transition.prev",[n,e,"backward"]);return n};n.goToSlide=function(e,t){this._transition(e,t);n.$el.trigger("transition.to",[n,e,t]);return n};n.initialize()};e.EasingSlider.defaults={dimensions:{width:640,height:400,responsive:true},transitions:{effect:"fade",duration:400},navigation:{arrows:true,arrows_hover:true,arrows_position:"inside",pagination:true,pagination_hover:true,pagination_position:"inside",pagination_location:"bottom-center"},playback:{enabled:true,pause:4e3}};e.fn.EasingSlider=function(){return this.each(function(){new e.EasingSlider(this)})};e(document).ready(function(){e(".easingslider").EasingSlider()})})(jQuery)
1
+ !function(e){e.EasingSlider=function(i){var n,a=this;a.el=i,a.$el=e(a.el),a.$viewport=a.$el.find(".easingslider-viewport"),a.$slides=a.$el.find(".easingslider-slide"),a.$arrows=a.$el.find(".easingslider-arrows"),a.$next=a.$el.find(".easingslider-next"),a.$prev=a.$el.find(".easingslider-prev"),a.$pagination=a.$el.find(".easingslider-pagination"),a.$icons=a.$el.find(".easingslider-icon"),a.$preload=a.$el.find(".easingslider-preload"),a.options=n=e.extend({},e.EasingSlider.defaults,e.parseJSON(a.$el.attr("data-options"))),a.current=0,a.previous=0,a.count=a.$slides.length,a.width=n.dimensions.width,a.height=n.dimensions.height,a.$el.data("easingslider",a),a.initialize=function(){return a._clickEvent="ontouchstart"in document.documentElement?"touchstart":"click",a.$slides.css({display:"none"}),a.$slides.eq(a.current).css({display:"block"}).addClass("active"),a._setupArrows(),a._setupPagination(),a._setupPlayback(),a._setupResizing(),a._setupBackgrounds(),a._preload(),a.$el.trigger("init",a),a},a._setupArrows=function(){return n.navigation.arrows&&(a.$next.bind(a._clickEvent,a.nextSlide),a.$prev.bind(a._clickEvent,a.prevSlide),n.navigation.arrows_hover&&a.$arrows.addClass("has-hover"),a.$arrows.css({display:"block"})),a},a._setupPagination=function(){return n.navigation.pagination&&(a.$el.bind("loaded",a._updatePagination),a.$el.bind("transition.before",a._updatePagination),a.$icons.bind(a._clickEvent,function(){var i=e(this).index(),n=i>a.current?"forward":"backward";a.goToSlide(i,n)}),n.navigation.pagination_hover&&a.$pagination.addClass("has-hover"),a.$pagination.css({display:"block"})),a},a._updatePagination=function(){return n.navigation.pagination&&a.$icons.removeClass("active").eq(a.current).addClass("active"),a},a._setupPlayback=function(){return a.$el.bind("transition.before",function(){a._playbackTimer&&clearTimeout(a._playbackTimer)}),a.$el.bind("transition.after",function(){a._playbackTimer&&a.startPlayback()}),n.playback.enabled&&a.count>1&&a.$el.bind("loaded",a.startPlayback),a},a._setupResizing=function(){return n.dimensions.responsive&&(a._updateSize(),e(window).bind("resize",a._updateSize)),a},a._updateSize=function(){var e=a.$el.outerWidth();if(e<=a.width&&n.dimensions.keep_ratio){var i=Math.floor(e/a.width*a.height);a.$viewport.css({height:i+"px"}),a.$el.trigger("resize",[a,e,i])}return a},a._setupBackgrounds=function(){n.dimensions.background_images&&a.$slides.each(function(){var i=e(this),n=i.find(".easingslider-image");i.addClass("easingslider-background-slide").css({"background-image":"url("+n.attr("src")+")"}),n.css({display:"none"})})},a._preload=function(){var i=a.$slides.find(".easingslider-image").length;a._preloadCount=0,a.$el.find(".easingslider-image").each(function(){e(this).one("load",function(){++a._preloadCount==i&&a.$preload.animate({opacity:0},{duration:400,complete:function(){e(this).remove(),a.$el.addClass("has-loaded"),a.$el.trigger("loaded",a)}})}).each(function(){this.complete&&e(this).load()})})},a._load=function(){a._preloadCount++;var i=a.$slides.find(".easingslider-image").length;a._preloadCount==i&&a.$preload.animate({opacity:0},{duration:400,complete:function(){e(this).remove(),a.$el.addClass("has-loaded"),a.$el.trigger("loaded",a)}})},a.startPlayback=function(){return a._runtime=new Date,a._pauseTime=n.playback.pause,a._playbackTimer=setTimeout(function(){a.nextSlide()},a._pauseTime),a.$el.trigger("playback.start",a),a},a.endPlayback=function(){return clearTimeout(a._playbackTimer),a._playbackTimer=!1,a.$el.trigger("playback.end",a),a},a.pausePlayback=function(){return clearTimeout(a._playbackTimer),a._runtime=Math.ceil(new Date-a._runtime),a.$el.trigger("playback.pause",a),a},a.resumePlayback=function(){return a._pauseTime=Math.ceil(a._pauseTime-a._runtime),a._runtime=new Date,a._playbackTimer=setTimeout(function(){a.nextSlide()},a._pauseTime),a.$el.trigger("playback.resume",a),a},a._transition=function(e,i){return a.count<=1?a:0==a.$slides.eq(e).length?a:a._animating?a:(a._animating=!0,a.previous=a.current,a.current=e,"backward"==i?(a.$slides.eq(a.previous).css({display:"block"}),a.$slides.eq(a.current).css({display:"block"}),setTimeout(function(){a.$slides.eq(a.previous).addClass("next-out"),a.$slides.eq(a.current).addClass("prev-in")})):(a.$slides.eq(a.previous).css({display:"block"}),a.$slides.eq(a.current).css({display:"block"}),setTimeout(function(){a.$slides.eq(a.previous).addClass("prev-out"),a.$slides.eq(a.current).addClass("next-in")})),clearTimeout(a._cleanup),a._cleanup=setTimeout(function(){a.$slides.eq(a.current).css({display:"block"}).addClass("active"),a.$slides.eq(a.previous).css({display:"none"}).removeClass("active"),a.$slides.removeClass("next-in next-out prev-in prev-out"),a._animating=!1,a.$el.trigger("transition.after",[a,e,i])},n.transitions.duration),a.$el.trigger("transition.before",[a,e,i]),a)},a.nextSlide=function(){var e=a.current==a.count-1?0:a.current+1;return a._transition(e,"forward"),a.$el.trigger("transition.next",[a,e,"forward"]),a},a.prevSlide=function(){var e=0==a.current?a.count-1:a.current-1;return a._transition(e,"backward"),a.$el.trigger("transition.prev",[a,e,"backward"]),a},a.goToSlide=function(e,i){return this._transition(e,i),a.$el.trigger("transition.to",[a,e,i]),a},a.initialize()},e.EasingSlider.defaults={dimensions:{width:640,height:400,responsive:!0,full_width:!1,image_resizing:!1,keep_ratio:!0,background_images:!1},transitions:{effect:"fade",duration:400},navigation:{arrows:!0,arrows_hover:!1,arrows_position:"inside",pagination:!0,pagination_hover:!1,pagination_position:"inside",pagination_location:"bottom-center"},playback:{enabled:!0,pause:4e3}},e.fn.EasingSlider=function(){return this.each(function(){new e.EasingSlider(this)})},e(document).ready(function(){e(".easingslider").EasingSlider()})}(jQuery);
languages/easing-slider.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Easing Slider\n"
4
- "POT-Creation-Date: 2015-01-12 10:12-0000\n"
5
- "PO-Revision-Date: 2015-01-12 10:12-0000\n"
6
  "Last-Translator: Matthew Ruddy <support@easingslider.com>\n"
7
  "Language-Team: Easing Slider <support@easingslider.com>\n"
8
  "Language: en_GB\n"
@@ -23,47 +23,51 @@ msgstr ""
23
  msgid "Replace"
24
  msgstr ""
25
 
26
- #: backbone/edit-slide.php:31
27
  msgid "Link Settings"
28
  msgstr ""
29
 
30
- #: backbone/edit-slide.php:34
31
  msgid "Link To"
32
  msgstr ""
33
 
34
- #: backbone/edit-slide.php:37
35
  msgid "None"
36
  msgstr ""
37
 
38
- #: backbone/edit-slide.php:40
39
  msgid "Custom URL"
40
  msgstr ""
41
 
42
- #: backbone/edit-slide.php:44
43
  msgid "Media File"
44
  msgstr ""
45
 
46
- #: backbone/edit-slide.php:47
47
  msgid "Attachment Page"
48
  msgstr ""
49
 
50
- #: backbone/edit-slide.php:51
51
  msgid "Image URL"
52
  msgstr ""
53
 
54
- #: backbone/edit-slide.php:67
 
 
 
 
55
  msgid "Image Settings"
56
  msgstr ""
57
 
58
- #: backbone/edit-slide.php:70
59
  msgid "Title Attribute"
60
  msgstr ""
61
 
62
- #: backbone/edit-slide.php:75
63
  msgid "Alternative Text"
64
  msgstr ""
65
 
66
- #: easing-slider.php:236 includes/class-es-editor-pages.php:60
67
  #: includes/class-es-menu.php:58 includes/class-es-menu.php:59
68
  msgid "Sliders"
69
  msgstr ""
@@ -77,319 +81,287 @@ msgid ""
77
  "\"_blank\">here</a> to prevents any disruptions. <a href=\"%s\">Dismiss</a>."
78
  msgstr ""
79
 
80
- #: includes/class-es-customizer.php:58 includes/class-es-customizer.php:59
81
  msgid "Customize"
82
  msgstr ""
83
 
84
- #: includes/class-es-customizer.php:191
85
  msgid "You need to create some sliders to use the customizer."
86
  msgstr ""
87
 
88
- #: includes/class-es-editor-pages.php:61
89
  msgid "All Sliders"
90
  msgstr ""
91
 
92
- #: includes/class-es-editor-pages.php:85 partials/edit-slider.php:15
93
  msgid "Add New Slider"
94
  msgstr ""
95
 
96
- #: includes/class-es-editor-pages.php:86 partials/edit-slider.php:13
97
  #: partials/list-sliders.php:5
98
  msgid "Add New"
99
  msgstr ""
100
 
101
- #: includes/class-es-editor-pages.php:139
102
  msgid "Are you sure you wish to do this? This cannot be reversed."
103
  msgstr ""
104
 
105
- #: includes/class-es-editor-pages.php:141
106
  msgid "Are you sure you wish to delete this slide? This cannot be reversed."
107
  msgstr ""
108
 
109
- #: includes/class-es-editor-pages.php:142
110
  msgid ""
111
  "Are you sure you wish to delete all of this slider's images? This cannot be "
112
  "reversed."
113
  msgstr ""
114
 
115
- #: includes/class-es-editor-pages.php:144
116
- msgid "Add Images to Slider"
117
  msgstr ""
118
 
119
- #: includes/class-es-editor-pages.php:145
120
- msgid "Insert into slider"
121
  msgstr ""
122
 
123
- #: includes/class-es-editor-pages.php:146
124
- msgid "Use this image"
125
  msgstr ""
126
 
127
- #: includes/class-es-editor-pages.php:147
128
- msgid "Are you sure you wish to discard changes?"
129
  msgstr ""
130
 
131
- #: includes/class-es-editor-pages.php:181
132
  msgid "Sliders per page"
133
  msgstr ""
134
 
135
- #: includes/class-es-editor-pages.php:299
136
  msgid "Slider has been saved successfully."
137
  msgstr ""
138
 
139
- #: includes/class-es-extensions-page.php:57
140
- #: includes/class-es-extensions-page.php:58
141
  msgid "Extensions"
142
  msgstr ""
143
 
144
- #: includes/class-es-extensions-page.php:108
145
- msgid "Visual Customizer"
146
- msgstr ""
147
-
148
- #: includes/class-es-extensions-page.php:110
149
- #: includes/class-es-extensions-page.php:116
150
- #: includes/class-es-extensions-page.php:122
151
- #: includes/class-es-extensions-page.php:128
152
- #: includes/class-es-extensions-page.php:134
153
- #: includes/class-es-extensions-page.php:140
154
- msgid ""
155
- "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Commodi inventore "
156
- "corporis a omnis placeat cum, quam modi repellat incidunt, corrupti enim "
157
- "voluptate iusto unde sapiente labore suscipit tenetur voluptatem. Debitis."
158
- msgstr ""
159
-
160
- #: includes/class-es-extensions-page.php:114
161
- msgid "HTML Captions"
162
- msgstr ""
163
-
164
- #: includes/class-es-extensions-page.php:120
165
- msgid "Touch & Swipe"
166
- msgstr ""
167
-
168
- #: includes/class-es-extensions-page.php:126
169
- msgid "Lightbox"
170
- msgstr ""
171
-
172
- #: includes/class-es-extensions-page.php:132
173
- msgid "Images from URL"
174
- msgstr ""
175
-
176
- #: includes/class-es-extensions-page.php:138
177
- msgid "Featured Content"
178
- msgstr ""
179
-
180
- #: includes/class-es-image-resizer.php:32
181
  msgid "No image URL has been entered."
182
  msgstr ""
183
 
184
- #: includes/class-es-legacy.php:163
185
  msgid ""
186
  "Looks like you've forgotten to add a slideshow ID to this shortcode. Oh dear!"
187
  msgstr ""
188
 
189
- #: includes/class-es-settings-page.php:57
190
  msgid "Edit Settings"
191
  msgstr ""
192
 
193
- #: includes/class-es-settings-page.php:58
194
  msgid "Settings"
195
  msgstr ""
196
 
197
- #: includes/class-es-settings-page.php:108
198
  msgid "General"
199
  msgstr ""
200
 
201
- #: includes/class-es-settings-page.php:109
202
  msgid "Licenses"
203
  msgstr ""
204
 
205
- #: includes/class-es-settings-page.php:171
206
  msgid "Settings have been saved successfully."
207
  msgstr ""
208
 
209
- #: includes/class-es-shortcode.php:53
210
  msgid "Please select a slider"
211
  msgstr ""
212
 
213
- #: includes/class-es-shortcode.php:67
214
  msgid "Add a slider"
215
  msgstr ""
216
 
217
- #: includes/class-es-shortcode.php:68
218
  msgid "Select a slider to insert from the box below."
219
  msgstr ""
220
 
221
- #: includes/class-es-shortcode.php:73
222
  msgid "Select a slider"
223
  msgstr ""
224
 
225
- #: includes/class-es-shortcode.php:83
226
  msgid "Insert Slider"
227
  msgstr ""
228
 
229
- #: includes/class-es-shortcode.php:84 partials/customizer.php:8
230
  msgid "Close"
231
  msgstr ""
232
 
233
- #: includes/class-es-shortcode.php:114
234
  msgid "Add a Slider"
235
  msgstr ""
236
 
237
- #: includes/class-es-shortcode.php:115
238
  msgid " Add Slider"
239
  msgstr ""
240
 
241
- #: includes/class-es-shortcode.php:147
242
  #, php-format
243
  msgid ""
244
  "<p><strong>The slider specified (ID #%s) could not be found.</strong></p>"
245
  msgstr ""
246
 
247
- #: includes/class-es-slider.php:460
248
  msgid "Slide"
249
  msgstr ""
250
 
251
- #: includes/class-es-slider.php:461
252
  msgid "Fade"
253
  msgstr ""
254
 
255
- #: includes/class-es-slider.php:607
256
  msgid "(no title)"
257
  msgstr ""
258
 
259
- #: includes/class-es-sliders-list-table.php:49
260
  msgid "ID"
261
  msgstr ""
262
 
263
- #: includes/class-es-sliders-list-table.php:50
264
  msgid "Title"
265
  msgstr ""
266
 
267
- #: includes/class-es-sliders-list-table.php:51
268
  msgid "Author"
269
  msgstr ""
270
 
271
- #: includes/class-es-sliders-list-table.php:52
272
  msgid "Date"
273
  msgstr ""
274
 
275
- #: includes/class-es-sliders-list-table.php:53
276
  msgid "Shortcode"
277
  msgstr ""
278
 
279
- #: includes/class-es-sliders-list-table.php:176
 
 
 
 
280
  msgid "Duplicate"
281
  msgstr ""
282
 
283
- #: includes/class-es-sliders-list-table.php:177
284
  msgid "Delete"
285
  msgstr ""
286
 
287
- #: includes/class-es-sliders-list-table.php:243
288
  #, php-format
289
  msgid "%s - Copy"
290
  msgstr ""
291
 
292
- #: includes/class-es-sliders-list-table.php:338
293
  #, php-format
294
  msgid "%s ago"
295
  msgstr ""
296
 
297
- #: includes/class-es-sliders-list-table.php:344
298
  msgid "Y/m/d"
299
  msgstr ""
300
 
301
- #: includes/class-es-sliders-list-table.php:348
302
  msgid "Published"
303
  msgstr ""
304
 
305
- #: includes/class-es-sliders-list-table.php:388
306
  msgid "No sliders found."
307
  msgstr ""
308
 
309
- #: includes/class-es-update-manager.php:160
310
  msgid ""
311
  "The license key registration service is temporarily unavailable. Please try "
312
  "again later."
313
  msgstr ""
314
 
315
- #: includes/class-es-update-manager.php:218
316
  msgid ""
317
  "Your license could not be deactivated. Please contact support to have it "
318
  "deactivated correctly."
319
  msgstr ""
320
 
321
- #: includes/class-es-update-manager.php:260
322
  #, php-format
323
  msgid "\"%s\" License has been registered successfully."
324
  msgstr ""
325
 
326
- #: includes/class-es-update-manager.php:296
327
  #, php-format
328
  msgid "\"%s\" License has been deactivated successfully."
329
  msgstr ""
330
 
331
- #: includes/class-es-update-manager.php:329
332
  #, php-format
333
  msgid "\"%s\" License Key"
334
  msgstr ""
335
 
336
- #: includes/class-es-update-manager.php:338
337
  msgid "Deactivate"
338
  msgstr ""
339
 
340
- #: includes/class-es-welcome-pages.php:26
341
  #: includes/class-es-welcome-pages.php:27
 
342
  msgid "Welcome to Easing Slider"
343
  msgstr ""
344
 
345
- #: includes/class-es-welcome-pages.php:35
346
  #: includes/class-es-welcome-pages.php:36
 
347
  msgid "Getting started with Easing Slider"
348
  msgstr ""
349
 
350
- #: includes/class-es-welcome-pages.php:44
351
  #: includes/class-es-welcome-pages.php:45
 
352
  msgid "The people that build Easing Slider"
353
  msgstr ""
354
 
355
- #: includes/class-es-welcome-pages.php:80
356
  msgid "What's New"
357
  msgstr ""
358
 
359
- #: includes/class-es-welcome-pages.php:81
360
  msgid "Getting Started"
361
  msgstr ""
362
 
363
- #: includes/class-es-welcome-pages.php:82
364
  msgid "Credits"
365
  msgstr ""
366
 
367
- #: includes/class-es-widget.php:27
368
  msgid "Slider"
369
  msgstr ""
370
 
371
- #: includes/class-es-widget.php:28
372
  msgid "Display a slider using a widget"
373
  msgstr ""
374
 
375
- #: includes/class-es-widget.php:104
376
  msgid "Title:"
377
  msgstr ""
378
 
379
- #: includes/class-es-widget.php:108
380
  msgid "Select Slider:"
381
  msgstr ""
382
 
383
- #: includes/class-es-widget.php:110
384
  msgid "&#8212; Select &#8212;"
385
  msgstr ""
386
 
387
- #: includes/class-es-widget.php:112
388
  #, php-format
389
  msgid " (ID #%s)"
390
  msgstr ""
391
 
392
- #: includes/helpers.php:180
393
  #, php-format
394
  msgid ""
395
  "Please rate <strong>Easing Slider</strong> <a href=\"%1$s\" target=\"_blank"
@@ -398,7 +370,7 @@ msgid ""
398
  "from the Easing Slider team!"
399
  msgstr ""
400
 
401
- #: includes/helpers.php:180
402
  msgid "http://wordpress.org/support/view/plugin-reviews/easing-slider?filter=5"
403
  msgstr ""
404
 
@@ -419,7 +391,7 @@ msgstr ""
419
  msgid "Change to another slider"
420
  msgstr ""
421
 
422
- #: partials/customizer.php:32 partials/edit-slider_sidebar.php:148
423
  msgid "Next & Previous Arrows"
424
  msgstr ""
425
 
@@ -439,7 +411,7 @@ msgstr ""
439
  msgid "Height"
440
  msgstr ""
441
 
442
- #: partials/customizer.php:62 partials/edit-slider_sidebar.php:216
443
  msgid "Pagination Icons"
444
  msgstr ""
445
 
@@ -479,13 +451,13 @@ msgstr ""
479
  msgid "Display a Drop Shadow"
480
  msgstr ""
481
 
482
- #: partials/customizer.php:121 partials/edit-slider_sidebar.php:179
483
- #: partials/edit-slider_sidebar.php:247
484
  msgid "True"
485
  msgstr ""
486
 
487
- #: partials/customizer.php:122 partials/edit-slider_sidebar.php:182
488
- #: partials/edit-slider_sidebar.php:250
489
  msgid "False"
490
  msgstr ""
491
 
@@ -502,7 +474,7 @@ msgid "Collapse"
502
  msgstr ""
503
 
504
  #: partials/discover-extensions.php:3
505
- msgid "Extensions "
506
  msgstr ""
507
 
508
  #: partials/discover-extensions.php:6
@@ -510,11 +482,21 @@ msgid "Browse All"
510
  msgstr ""
511
 
512
  #: partials/discover-extensions.php:10
513
- msgid "These extensions provide additional functionality to Easing Slider."
 
 
 
 
 
 
514
  msgstr ""
515
 
516
- #: partials/discover-extensions.php:19
517
- msgid "Get this extension"
 
 
 
 
518
  msgstr ""
519
 
520
  #: partials/edit-settings.php:37
@@ -522,38 +504,18 @@ msgid "Save Settings"
522
  msgstr ""
523
 
524
  #: partials/edit-settings_general.php:4
525
- msgid "Image Resizing"
526
- msgstr ""
527
-
528
- #: partials/edit-settings_general.php:8 partials/edit-slider_sidebar.php:163
529
- #: partials/edit-slider_sidebar.php:231 partials/edit-slider_sidebar.php:307
530
- msgid "Enable"
531
- msgstr ""
532
-
533
- #: partials/edit-settings_general.php:13 partials/edit-slider_sidebar.php:166
534
- #: partials/edit-slider_sidebar.php:234 partials/edit-slider_sidebar.php:310
535
- msgid "Disable"
536
- msgstr ""
537
-
538
- #: partials/edit-settings_general.php:16
539
- msgid ""
540
- "Enable or disable the image resizing functionality. Disable this if you do "
541
- "not want the slide images to be resized."
542
- msgstr ""
543
-
544
- #: partials/edit-settings_general.php:25
545
  msgid "Asset Loading"
546
  msgstr ""
547
 
548
- #: partials/edit-settings_general.php:29
549
  msgid "Compatibility (header)"
550
  msgstr ""
551
 
552
- #: partials/edit-settings_general.php:34
553
  msgid "Optimized (footer)"
554
  msgstr ""
555
 
556
- #: partials/edit-settings_general.php:37
557
  msgid ""
558
  "This option controls where the plugin's scripts and styling are loaded. "
559
  "\"Compatibility\" will load them in the page header, which is less "
@@ -563,43 +525,43 @@ msgid ""
563
  "trying \"Optimized\" and reverting back if you encounter any issues."
564
  msgstr ""
565
 
566
- #: partials/edit-settings_general.php:43
567
  msgid "Data Settings"
568
  msgstr ""
569
 
570
- #: partials/edit-settings_general.php:48
571
  msgid "Remove data on uninstall?"
572
  msgstr ""
573
 
574
- #: partials/edit-settings_general.php:53
575
  msgid ""
576
  "Check this box if you would like Easing Slider to completely remove all of "
577
  "its data when the plugin is deleted."
578
  msgstr ""
579
 
580
- #: partials/edit-settings_general.php:56
581
  msgid ""
582
  "Be careful before enabling this option, as the data cannot be recovered once "
583
  "it has been deleted."
584
  msgstr ""
585
 
586
- #: partials/edit-settings_general.php:62
587
  msgid "Installation Settings"
588
  msgstr ""
589
 
590
- #: partials/edit-settings_general.php:67
591
  msgid "PHP Version"
592
  msgstr ""
593
 
594
- #: partials/edit-settings_general.php:72
595
  msgid "MySQL Version"
596
  msgstr ""
597
 
598
- #: partials/edit-settings_general.php:77
599
  msgid "WordPress Version"
600
  msgstr ""
601
 
602
- #: partials/edit-settings_general.php:82
603
  msgid "Plugin Version"
604
  msgstr ""
605
 
@@ -615,35 +577,35 @@ msgstr ""
615
  msgid "Edit Slider"
616
  msgstr ""
617
 
618
- #: partials/edit-slider.php:23
619
  msgid "Name:"
620
  msgstr ""
621
 
622
- #: partials/edit-slider.php:24
623
  msgid "Enter a slider name"
624
  msgstr ""
625
 
626
- #: partials/edit-slider.php:25
627
  msgid "Select All"
628
  msgstr ""
629
 
630
- #: partials/edit-slider.php:31
631
  msgid "Randomize the slide order"
632
  msgstr ""
633
 
634
- #: partials/edit-slider.php:33
635
  msgid "Add Slides"
636
  msgstr ""
637
 
638
- #: partials/edit-slider.php:34
639
  msgid "Bulk Select"
640
  msgstr ""
641
 
642
- #: partials/edit-slider.php:35
643
  msgid "Cancel Selection"
644
  msgstr ""
645
 
646
- #: partials/edit-slider.php:36
647
  msgid "Delete Selected"
648
  msgstr ""
649
 
@@ -660,151 +622,222 @@ msgstr ""
660
  msgid "Not published yet."
661
  msgstr ""
662
 
663
- #: partials/edit-slider_sidebar.php:41
664
- msgid "Update"
 
 
 
 
 
 
 
665
  msgstr ""
666
 
667
- #: partials/edit-slider_sidebar.php:51
 
 
 
 
 
 
 
668
  msgid "Dimensions"
669
  msgstr ""
670
 
671
- #: partials/edit-slider_sidebar.php:64
672
  msgid "Width:"
673
  msgstr ""
674
 
675
- #: partials/edit-slider_sidebar.php:70
676
  msgid "Height:"
677
  msgstr ""
678
 
679
- #: partials/edit-slider_sidebar.php:74
680
  msgid "Slideshow \"width\" and \"height\" values (in pixels)."
681
  msgstr ""
682
 
683
- #: partials/edit-slider_sidebar.php:81
684
- msgid "Make this slideshow responsive."
685
  msgstr ""
686
 
687
- #: partials/edit-slider_sidebar.php:84
688
  msgid ""
689
- "Check this option to make this slideshow responsive. If enabled, the \"width"
690
- "\" and \"height\" values above will act as maximums."
691
  msgstr ""
692
 
693
- #: partials/edit-slider_sidebar.php:100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
694
  msgid "Transitions"
695
  msgstr ""
696
 
697
- #: partials/edit-slider_sidebar.php:113
698
  msgid "Effect:"
699
  msgstr ""
700
 
701
- #: partials/edit-slider_sidebar.php:121
702
  msgid "Choose the transition effect you would like to use."
703
  msgstr ""
704
 
705
- #: partials/edit-slider_sidebar.php:128
706
  msgid "Duration:"
707
  msgstr ""
708
 
709
- #: partials/edit-slider_sidebar.php:132
710
  msgid "Sets the duration (in milliseconds) for the slideshow transition."
711
  msgstr ""
712
 
713
- #: partials/edit-slider_sidebar.php:160
714
  msgid "Arrows:"
715
  msgstr ""
716
 
717
- #: partials/edit-slider_sidebar.php:170
 
 
 
 
 
 
 
 
 
 
718
  msgid "Toggles the next and previous slide arrows."
719
  msgstr ""
720
 
721
- #: partials/edit-slider_sidebar.php:176 partials/edit-slider_sidebar.php:244
722
  msgid "On Hover:"
723
  msgstr ""
724
 
725
- #: partials/edit-slider_sidebar.php:186
726
  msgid ""
727
  "Set to \"True\" to only show the arrows when the user hovers over the "
728
  "slideshow."
729
  msgstr ""
730
 
731
- #: partials/edit-slider_sidebar.php:193 partials/edit-slider_sidebar.php:261
732
  msgid "Position:"
733
  msgstr ""
734
 
735
- #: partials/edit-slider_sidebar.php:195 partials/edit-slider_sidebar.php:263
736
  msgid "Inside"
737
  msgstr ""
738
 
739
- #: partials/edit-slider_sidebar.php:196 partials/edit-slider_sidebar.php:264
740
  msgid "Outside"
741
  msgstr ""
742
 
743
- #: partials/edit-slider_sidebar.php:200
744
  msgid "Select a position for the arrows."
745
  msgstr ""
746
 
747
- #: partials/edit-slider_sidebar.php:228
748
  msgid "Pagination:"
749
  msgstr ""
750
 
751
- #: partials/edit-slider_sidebar.php:238
752
  msgid ""
753
  "Enable/Disable the Pagination Icons. Each icon represents a slide in their "
754
  "respective order."
755
  msgstr ""
756
 
757
- #: partials/edit-slider_sidebar.php:254
758
  msgid ""
759
  "Set to \"True\" to only show the pagination when the user hovers over the "
760
  "slideshow."
761
  msgstr ""
762
 
763
- #: partials/edit-slider_sidebar.php:267
764
  msgid "Top Left"
765
  msgstr ""
766
 
767
- #: partials/edit-slider_sidebar.php:268
768
  msgid "Top Right"
769
  msgstr ""
770
 
771
- #: partials/edit-slider_sidebar.php:269
772
  msgid "Top Center"
773
  msgstr ""
774
 
775
- #: partials/edit-slider_sidebar.php:270
776
  msgid "Bottom Left"
777
  msgstr ""
778
 
779
- #: partials/edit-slider_sidebar.php:271
780
  msgid "Bottom Right"
781
  msgstr ""
782
 
783
- #: partials/edit-slider_sidebar.php:272
784
  msgid "Bottom Center"
785
  msgstr ""
786
 
787
- #: partials/edit-slider_sidebar.php:276
788
  msgid "Select a position for the pagination icons."
789
  msgstr ""
790
 
791
- #: partials/edit-slider_sidebar.php:292
792
  msgid "Automatic Playback"
793
  msgstr ""
794
 
795
- #: partials/edit-slider_sidebar.php:304
796
  msgid "Playback:"
797
  msgstr ""
798
 
799
- #: partials/edit-slider_sidebar.php:314
800
  msgid "Enable/Disable slideshow automatic playback."
801
  msgstr ""
802
 
803
- #: partials/edit-slider_sidebar.php:321
804
  msgid "Pause Duration:"
805
  msgstr ""
806
 
807
- #: partials/edit-slider_sidebar.php:325
808
  msgid ""
809
  "Sets the duration (in milliseconds) for the pause between slide transitions."
810
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Easing Slider\n"
4
+ "POT-Creation-Date: 2015-02-19 17:29-0000\n"
5
+ "PO-Revision-Date: 2015-02-19 17:29-0000\n"
6
  "Last-Translator: Matthew Ruddy <support@easingslider.com>\n"
7
  "Language-Team: Easing Slider <support@easingslider.com>\n"
8
  "Language: en_GB\n"
23
  msgid "Replace"
24
  msgstr ""
25
 
26
+ #: backbone/edit-slide.php:35
27
  msgid "Link Settings"
28
  msgstr ""
29
 
30
+ #: backbone/edit-slide.php:38
31
  msgid "Link To"
32
  msgstr ""
33
 
34
+ #: backbone/edit-slide.php:41
35
  msgid "None"
36
  msgstr ""
37
 
38
+ #: backbone/edit-slide.php:44
39
  msgid "Custom URL"
40
  msgstr ""
41
 
42
+ #: backbone/edit-slide.php:48
43
  msgid "Media File"
44
  msgstr ""
45
 
46
+ #: backbone/edit-slide.php:51
47
  msgid "Attachment Page"
48
  msgstr ""
49
 
50
+ #: backbone/edit-slide.php:55
51
  msgid "Image URL"
52
  msgstr ""
53
 
54
+ #: backbone/edit-slide.php:62
55
+ msgid "Open link in a new window/tab"
56
+ msgstr ""
57
+
58
+ #: backbone/edit-slide.php:76
59
  msgid "Image Settings"
60
  msgstr ""
61
 
62
+ #: backbone/edit-slide.php:79
63
  msgid "Title Attribute"
64
  msgstr ""
65
 
66
+ #: backbone/edit-slide.php:84
67
  msgid "Alternative Text"
68
  msgstr ""
69
 
70
+ #: easing-slider.php:240 includes/class-es-editor-pages.php:62
71
  #: includes/class-es-menu.php:58 includes/class-es-menu.php:59
72
  msgid "Sliders"
73
  msgstr ""
81
  "\"_blank\">here</a> to prevents any disruptions. <a href=\"%s\">Dismiss</a>."
82
  msgstr ""
83
 
84
+ #: includes/class-es-customizer.php:60 includes/class-es-customizer.php:61
85
  msgid "Customize"
86
  msgstr ""
87
 
88
+ #: includes/class-es-customizer.php:203
89
  msgid "You need to create some sliders to use the customizer."
90
  msgstr ""
91
 
92
+ #: includes/class-es-editor-pages.php:63
93
  msgid "All Sliders"
94
  msgstr ""
95
 
96
+ #: includes/class-es-editor-pages.php:88 partials/edit-slider.php:15
97
  msgid "Add New Slider"
98
  msgstr ""
99
 
100
+ #: includes/class-es-editor-pages.php:89 partials/edit-slider.php:13
101
  #: partials/list-sliders.php:5
102
  msgid "Add New"
103
  msgstr ""
104
 
105
+ #: includes/class-es-editor-pages.php:155
106
  msgid "Are you sure you wish to do this? This cannot be reversed."
107
  msgstr ""
108
 
109
+ #: includes/class-es-editor-pages.php:157
110
  msgid "Are you sure you wish to delete this slide? This cannot be reversed."
111
  msgstr ""
112
 
113
+ #: includes/class-es-editor-pages.php:158
114
  msgid ""
115
  "Are you sure you wish to delete all of this slider's images? This cannot be "
116
  "reversed."
117
  msgstr ""
118
 
119
+ #: includes/class-es-editor-pages.php:160
120
+ msgid "Edit Slide"
121
  msgstr ""
122
 
123
+ #: includes/class-es-editor-pages.php:161 partials/edit-slider_sidebar.php:41
124
+ msgid "Update"
125
  msgstr ""
126
 
127
+ #: includes/class-es-editor-pages.php:162
128
+ msgid "Image from Media"
129
  msgstr ""
130
 
131
+ #: includes/class-es-editor-pages.php:163
132
+ msgid "Insert into Slider"
133
  msgstr ""
134
 
135
+ #: includes/class-es-editor-pages.php:194
136
  msgid "Sliders per page"
137
  msgstr ""
138
 
139
+ #: includes/class-es-editor-pages.php:315
140
  msgid "Slider has been saved successfully."
141
  msgstr ""
142
 
143
+ #: includes/class-es-extensions-page.php:64
144
+ #: includes/class-es-extensions-page.php:65
145
  msgid "Extensions"
146
  msgstr ""
147
 
148
+ #: includes/class-es-image-resizer.php:33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  msgid "No image URL has been entered."
150
  msgstr ""
151
 
152
+ #: includes/class-es-legacy.php:174
153
  msgid ""
154
  "Looks like you've forgotten to add a slideshow ID to this shortcode. Oh dear!"
155
  msgstr ""
156
 
157
+ #: includes/class-es-settings-page.php:58
158
  msgid "Edit Settings"
159
  msgstr ""
160
 
161
+ #: includes/class-es-settings-page.php:59
162
  msgid "Settings"
163
  msgstr ""
164
 
165
+ #: includes/class-es-settings-page.php:109
166
  msgid "General"
167
  msgstr ""
168
 
169
+ #: includes/class-es-settings-page.php:110
170
  msgid "Licenses"
171
  msgstr ""
172
 
173
+ #: includes/class-es-settings-page.php:172
174
  msgid "Settings have been saved successfully."
175
  msgstr ""
176
 
177
+ #: includes/class-es-shortcode.php:54
178
  msgid "Please select a slider"
179
  msgstr ""
180
 
181
+ #: includes/class-es-shortcode.php:68
182
  msgid "Add a slider"
183
  msgstr ""
184
 
185
+ #: includes/class-es-shortcode.php:69
186
  msgid "Select a slider to insert from the box below."
187
  msgstr ""
188
 
189
+ #: includes/class-es-shortcode.php:74
190
  msgid "Select a slider"
191
  msgstr ""
192
 
193
+ #: includes/class-es-shortcode.php:84
194
  msgid "Insert Slider"
195
  msgstr ""
196
 
197
+ #: includes/class-es-shortcode.php:85 partials/customizer.php:8
198
  msgid "Close"
199
  msgstr ""
200
 
201
+ #: includes/class-es-shortcode.php:115
202
  msgid "Add a Slider"
203
  msgstr ""
204
 
205
+ #: includes/class-es-shortcode.php:116
206
  msgid " Add Slider"
207
  msgstr ""
208
 
209
+ #: includes/class-es-shortcode.php:148
210
  #, php-format
211
  msgid ""
212
  "<p><strong>The slider specified (ID #%s) could not be found.</strong></p>"
213
  msgstr ""
214
 
215
+ #: includes/class-es-slider.php:473
216
  msgid "Slide"
217
  msgstr ""
218
 
219
+ #: includes/class-es-slider.php:474
220
  msgid "Fade"
221
  msgstr ""
222
 
223
+ #: includes/class-es-slider.php:663
224
  msgid "(no title)"
225
  msgstr ""
226
 
227
+ #: includes/class-es-sliders-list-table.php:50
228
  msgid "ID"
229
  msgstr ""
230
 
231
+ #: includes/class-es-sliders-list-table.php:51
232
  msgid "Title"
233
  msgstr ""
234
 
235
+ #: includes/class-es-sliders-list-table.php:52
236
  msgid "Author"
237
  msgstr ""
238
 
239
+ #: includes/class-es-sliders-list-table.php:53
240
  msgid "Date"
241
  msgstr ""
242
 
243
+ #: includes/class-es-sliders-list-table.php:54
244
  msgid "Shortcode"
245
  msgstr ""
246
 
247
+ #: includes/class-es-sliders-list-table.php:55
248
+ msgid "Template Function"
249
+ msgstr ""
250
+
251
+ #: includes/class-es-sliders-list-table.php:183
252
  msgid "Duplicate"
253
  msgstr ""
254
 
255
+ #: includes/class-es-sliders-list-table.php:184
256
  msgid "Delete"
257
  msgstr ""
258
 
259
+ #: includes/class-es-sliders-list-table.php:253
260
  #, php-format
261
  msgid "%s - Copy"
262
  msgstr ""
263
 
264
+ #: includes/class-es-sliders-list-table.php:354
265
  #, php-format
266
  msgid "%s ago"
267
  msgstr ""
268
 
269
+ #: includes/class-es-sliders-list-table.php:360
270
  msgid "Y/m/d"
271
  msgstr ""
272
 
273
+ #: includes/class-es-sliders-list-table.php:364
274
  msgid "Published"
275
  msgstr ""
276
 
277
+ #: includes/class-es-sliders-list-table.php:420
278
  msgid "No sliders found."
279
  msgstr ""
280
 
281
+ #: includes/class-es-update-manager.php:181
282
  msgid ""
283
  "The license key registration service is temporarily unavailable. Please try "
284
  "again later."
285
  msgstr ""
286
 
287
+ #: includes/class-es-update-manager.php:239
288
  msgid ""
289
  "Your license could not be deactivated. Please contact support to have it "
290
  "deactivated correctly."
291
  msgstr ""
292
 
293
+ #: includes/class-es-update-manager.php:317
294
  #, php-format
295
  msgid "\"%s\" License has been registered successfully."
296
  msgstr ""
297
 
298
+ #: includes/class-es-update-manager.php:353
299
  #, php-format
300
  msgid "\"%s\" License has been deactivated successfully."
301
  msgstr ""
302
 
303
+ #: includes/class-es-update-manager.php:386
304
  #, php-format
305
  msgid "\"%s\" License Key"
306
  msgstr ""
307
 
308
+ #: includes/class-es-update-manager.php:395
309
  msgid "Deactivate"
310
  msgstr ""
311
 
 
312
  #: includes/class-es-welcome-pages.php:27
313
+ #: includes/class-es-welcome-pages.php:28
314
  msgid "Welcome to Easing Slider"
315
  msgstr ""
316
 
 
317
  #: includes/class-es-welcome-pages.php:36
318
+ #: includes/class-es-welcome-pages.php:37
319
  msgid "Getting started with Easing Slider"
320
  msgstr ""
321
 
 
322
  #: includes/class-es-welcome-pages.php:45
323
+ #: includes/class-es-welcome-pages.php:46
324
  msgid "The people that build Easing Slider"
325
  msgstr ""
326
 
327
+ #: includes/class-es-welcome-pages.php:111
328
  msgid "What's New"
329
  msgstr ""
330
 
331
+ #: includes/class-es-welcome-pages.php:112
332
  msgid "Getting Started"
333
  msgstr ""
334
 
335
+ #: includes/class-es-welcome-pages.php:113
336
  msgid "Credits"
337
  msgstr ""
338
 
339
+ #: includes/class-es-widget.php:28
340
  msgid "Slider"
341
  msgstr ""
342
 
343
+ #: includes/class-es-widget.php:29
344
  msgid "Display a slider using a widget"
345
  msgstr ""
346
 
347
+ #: includes/class-es-widget.php:105
348
  msgid "Title:"
349
  msgstr ""
350
 
351
+ #: includes/class-es-widget.php:109
352
  msgid "Select Slider:"
353
  msgstr ""
354
 
355
+ #: includes/class-es-widget.php:111
356
  msgid "&#8212; Select &#8212;"
357
  msgstr ""
358
 
359
+ #: includes/class-es-widget.php:113
360
  #, php-format
361
  msgid " (ID #%s)"
362
  msgstr ""
363
 
364
+ #: includes/helpers.php:231
365
  #, php-format
366
  msgid ""
367
  "Please rate <strong>Easing Slider</strong> <a href=\"%1$s\" target=\"_blank"
370
  "from the Easing Slider team!"
371
  msgstr ""
372
 
373
+ #: includes/helpers.php:231
374
  msgid "http://wordpress.org/support/view/plugin-reviews/easing-slider?filter=5"
375
  msgstr ""
376
 
391
  msgid "Change to another slider"
392
  msgstr ""
393
 
394
+ #: partials/customizer.php:32 partials/edit-slider_sidebar.php:216
395
  msgid "Next & Previous Arrows"
396
  msgstr ""
397
 
411
  msgid "Height"
412
  msgstr ""
413
 
414
+ #: partials/customizer.php:62 partials/edit-slider_sidebar.php:284
415
  msgid "Pagination Icons"
416
  msgstr ""
417
 
451
  msgid "Display a Drop Shadow"
452
  msgstr ""
453
 
454
+ #: partials/customizer.php:121 partials/edit-slider_sidebar.php:247
455
+ #: partials/edit-slider_sidebar.php:315
456
  msgid "True"
457
  msgstr ""
458
 
459
+ #: partials/customizer.php:122 partials/edit-slider_sidebar.php:250
460
+ #: partials/edit-slider_sidebar.php:318
461
  msgid "False"
462
  msgstr ""
463
 
474
  msgstr ""
475
 
476
  #: partials/discover-extensions.php:3
477
+ msgid "Extensions for Easing Slider"
478
  msgstr ""
479
 
480
  #: partials/discover-extensions.php:6
482
  msgstr ""
483
 
484
  #: partials/discover-extensions.php:10
485
+ msgid ""
486
+ "These extensions enhance Easing Slider, adding new features, providing new "
487
+ "slide types and integrating Easing Slider with other plugins."
488
+ msgstr ""
489
+
490
+ #: partials/discover-extensions.php:20
491
+ msgid "Learn More &rarr;"
492
  msgstr ""
493
 
494
+ #: partials/discover-extensions.php:24
495
+ #, php-format
496
+ msgid ""
497
+ "There was an error retrieving the extensions list from the server. Please "
498
+ "try again later. <a href=\"%s\" target=\"_blank\">Click here</a> to view all "
499
+ "extensions on our website."
500
  msgstr ""
501
 
502
  #: partials/edit-settings.php:37
504
  msgstr ""
505
 
506
  #: partials/edit-settings_general.php:4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
507
  msgid "Asset Loading"
508
  msgstr ""
509
 
510
+ #: partials/edit-settings_general.php:8
511
  msgid "Compatibility (header)"
512
  msgstr ""
513
 
514
+ #: partials/edit-settings_general.php:13
515
  msgid "Optimized (footer)"
516
  msgstr ""
517
 
518
+ #: partials/edit-settings_general.php:16
519
  msgid ""
520
  "This option controls where the plugin's scripts and styling are loaded. "
521
  "\"Compatibility\" will load them in the page header, which is less "
525
  "trying \"Optimized\" and reverting back if you encounter any issues."
526
  msgstr ""
527
 
528
+ #: partials/edit-settings_general.php:22
529
  msgid "Data Settings"
530
  msgstr ""
531
 
532
+ #: partials/edit-settings_general.php:27
533
  msgid "Remove data on uninstall?"
534
  msgstr ""
535
 
536
+ #: partials/edit-settings_general.php:32
537
  msgid ""
538
  "Check this box if you would like Easing Slider to completely remove all of "
539
  "its data when the plugin is deleted."
540
  msgstr ""
541
 
542
+ #: partials/edit-settings_general.php:35
543
  msgid ""
544
  "Be careful before enabling this option, as the data cannot be recovered once "
545
  "it has been deleted."
546
  msgstr ""
547
 
548
+ #: partials/edit-settings_general.php:41
549
  msgid "Installation Settings"
550
  msgstr ""
551
 
552
+ #: partials/edit-settings_general.php:46
553
  msgid "PHP Version"
554
  msgstr ""
555
 
556
+ #: partials/edit-settings_general.php:51
557
  msgid "MySQL Version"
558
  msgstr ""
559
 
560
+ #: partials/edit-settings_general.php:56
561
  msgid "WordPress Version"
562
  msgstr ""
563
 
564
+ #: partials/edit-settings_general.php:61
565
  msgid "Plugin Version"
566
  msgstr ""
567
 
577
  msgid "Edit Slider"
578
  msgstr ""
579
 
580
+ #: partials/edit-slider.php:22
581
  msgid "Name:"
582
  msgstr ""
583
 
584
+ #: partials/edit-slider.php:23
585
  msgid "Enter a slider name"
586
  msgstr ""
587
 
588
+ #: partials/edit-slider.php:24
589
  msgid "Select All"
590
  msgstr ""
591
 
592
+ #: partials/edit-slider.php:30
593
  msgid "Randomize the slide order"
594
  msgstr ""
595
 
596
+ #: partials/edit-slider.php:32
597
  msgid "Add Slides"
598
  msgstr ""
599
 
600
+ #: partials/edit-slider.php:33
601
  msgid "Bulk Select"
602
  msgstr ""
603
 
604
+ #: partials/edit-slider.php:34
605
  msgid "Cancel Selection"
606
  msgstr ""
607
 
608
+ #: partials/edit-slider.php:35
609
  msgid "Delete Selected"
610
  msgstr ""
611
 
622
  msgid "Not published yet."
623
  msgstr ""
624
 
625
+ #: partials/edit-slider_sidebar.php:54
626
+ msgid ""
627
+ "Check out Easing Slider, an easy to use free slider plugin for WordPress."
628
+ msgstr ""
629
+
630
+ #: partials/edit-slider_sidebar.php:67
631
+ #, php-format
632
+ msgid ""
633
+ "Like Easing Slider? <br><a href=\"%s\">Support us with a Tweet &raquo;</a>"
634
  msgstr ""
635
 
636
+ #: partials/edit-slider_sidebar.php:68
637
+ #, php-format
638
+ msgid ""
639
+ "Remove this ad? <br><a href=\"%s\" target=\"_blank\">Purchase a premium add-"
640
+ "on &raquo;</a>"
641
+ msgstr ""
642
+
643
+ #: partials/edit-slider_sidebar.php:77
644
  msgid "Dimensions"
645
  msgstr ""
646
 
647
+ #: partials/edit-slider_sidebar.php:90
648
  msgid "Width:"
649
  msgstr ""
650
 
651
+ #: partials/edit-slider_sidebar.php:96
652
  msgid "Height:"
653
  msgstr ""
654
 
655
+ #: partials/edit-slider_sidebar.php:100
656
  msgid "Slideshow \"width\" and \"height\" values (in pixels)."
657
  msgstr ""
658
 
659
+ #: partials/edit-slider_sidebar.php:107
660
+ msgid "Make this slider responsive."
661
  msgstr ""
662
 
663
+ #: partials/edit-slider_sidebar.php:110
664
  msgid ""
665
+ "Check this option to make this slider responsive. If enabled, the \"width\" "
666
+ "and \"height\" values above will act as maximums."
667
  msgstr ""
668
 
669
+ #: partials/edit-slider_sidebar.php:114
670
+ msgid "Advanced Options"
671
+ msgstr ""
672
+
673
+ #: partials/edit-slider_sidebar.php:120
674
+ #, php-format
675
+ msgid "Enable 100% full width."
676
+ msgstr ""
677
+
678
+ #: partials/edit-slider_sidebar.php:123
679
+ msgid ""
680
+ "When enabled, the slider will set its container width to 100%. This option "
681
+ "works for responsive sliders only. For best results, it's recommend that you "
682
+ "disable image resizing when this option is enabled."
683
+ msgstr ""
684
+
685
+ #: partials/edit-slider_sidebar.php:129
686
+ msgid "Crop & resize images to fit slider."
687
+ msgstr ""
688
+
689
+ #: partials/edit-slider_sidebar.php:132
690
+ msgid ""
691
+ "Tick this option to have the slider crop & resize images to fit the slider "
692
+ "dimensions. This will only work with images from the WordPress Media Library."
693
+ msgstr ""
694
+
695
+ #: partials/edit-slider_sidebar.php:138
696
+ msgid "Proportionally resize slider."
697
+ msgstr ""
698
+
699
+ #: partials/edit-slider_sidebar.php:141
700
+ msgid ""
701
+ "This option enables proportional slider resizing for responsive sliders. "
702
+ "This maintains the aspect ratio. Disable this option for fixed height "
703
+ "sliders."
704
+ msgstr ""
705
+
706
+ #: partials/edit-slider_sidebar.php:147
707
+ msgid "Use background images."
708
+ msgstr ""
709
+
710
+ #: partials/edit-slider_sidebar.php:150
711
+ msgid ""
712
+ "Enable this option if you want the slider to use CSS background images for "
713
+ "image slides."
714
+ msgstr ""
715
+
716
+ #: partials/edit-slider_sidebar.php:168
717
  msgid "Transitions"
718
  msgstr ""
719
 
720
+ #: partials/edit-slider_sidebar.php:181
721
  msgid "Effect:"
722
  msgstr ""
723
 
724
+ #: partials/edit-slider_sidebar.php:189
725
  msgid "Choose the transition effect you would like to use."
726
  msgstr ""
727
 
728
+ #: partials/edit-slider_sidebar.php:196
729
  msgid "Duration:"
730
  msgstr ""
731
 
732
+ #: partials/edit-slider_sidebar.php:200
733
  msgid "Sets the duration (in milliseconds) for the slideshow transition."
734
  msgstr ""
735
 
736
+ #: partials/edit-slider_sidebar.php:228
737
  msgid "Arrows:"
738
  msgstr ""
739
 
740
+ #: partials/edit-slider_sidebar.php:231 partials/edit-slider_sidebar.php:299
741
+ #: partials/edit-slider_sidebar.php:375
742
+ msgid "Enable"
743
+ msgstr ""
744
+
745
+ #: partials/edit-slider_sidebar.php:234 partials/edit-slider_sidebar.php:302
746
+ #: partials/edit-slider_sidebar.php:378
747
+ msgid "Disable"
748
+ msgstr ""
749
+
750
+ #: partials/edit-slider_sidebar.php:238
751
  msgid "Toggles the next and previous slide arrows."
752
  msgstr ""
753
 
754
+ #: partials/edit-slider_sidebar.php:244 partials/edit-slider_sidebar.php:312
755
  msgid "On Hover:"
756
  msgstr ""
757
 
758
+ #: partials/edit-slider_sidebar.php:254
759
  msgid ""
760
  "Set to \"True\" to only show the arrows when the user hovers over the "
761
  "slideshow."
762
  msgstr ""
763
 
764
+ #: partials/edit-slider_sidebar.php:261 partials/edit-slider_sidebar.php:329
765
  msgid "Position:"
766
  msgstr ""
767
 
768
+ #: partials/edit-slider_sidebar.php:263 partials/edit-slider_sidebar.php:331
769
  msgid "Inside"
770
  msgstr ""
771
 
772
+ #: partials/edit-slider_sidebar.php:264 partials/edit-slider_sidebar.php:332
773
  msgid "Outside"
774
  msgstr ""
775
 
776
+ #: partials/edit-slider_sidebar.php:268
777
  msgid "Select a position for the arrows."
778
  msgstr ""
779
 
780
+ #: partials/edit-slider_sidebar.php:296
781
  msgid "Pagination:"
782
  msgstr ""
783
 
784
+ #: partials/edit-slider_sidebar.php:306
785
  msgid ""
786
  "Enable/Disable the Pagination Icons. Each icon represents a slide in their "
787
  "respective order."
788
  msgstr ""
789
 
790
+ #: partials/edit-slider_sidebar.php:322
791
  msgid ""
792
  "Set to \"True\" to only show the pagination when the user hovers over the "
793
  "slideshow."
794
  msgstr ""
795
 
796
+ #: partials/edit-slider_sidebar.php:335
797
  msgid "Top Left"
798
  msgstr ""
799
 
800
+ #: partials/edit-slider_sidebar.php:336
801
  msgid "Top Right"
802
  msgstr ""
803
 
804
+ #: partials/edit-slider_sidebar.php:337
805
  msgid "Top Center"
806
  msgstr ""
807
 
808
+ #: partials/edit-slider_sidebar.php:338
809
  msgid "Bottom Left"
810
  msgstr ""
811
 
812
+ #: partials/edit-slider_sidebar.php:339
813
  msgid "Bottom Right"
814
  msgstr ""
815
 
816
+ #: partials/edit-slider_sidebar.php:340
817
  msgid "Bottom Center"
818
  msgstr ""
819
 
820
+ #: partials/edit-slider_sidebar.php:344
821
  msgid "Select a position for the pagination icons."
822
  msgstr ""
823
 
824
+ #: partials/edit-slider_sidebar.php:360
825
  msgid "Automatic Playback"
826
  msgstr ""
827
 
828
+ #: partials/edit-slider_sidebar.php:372
829
  msgid "Playback:"
830
  msgstr ""
831
 
832
+ #: partials/edit-slider_sidebar.php:382
833
  msgid "Enable/Disable slideshow automatic playback."
834
  msgstr ""
835
 
836
+ #: partials/edit-slider_sidebar.php:389
837
  msgid "Pause Duration:"
838
  msgstr ""
839
 
840
+ #: partials/edit-slider_sidebar.php:393
841
  msgid ""
842
  "Sets the duration (in milliseconds) for the pause between slide transitions."
843
  msgstr ""
partials/customizer.php CHANGED
@@ -1,6 +1,6 @@
1
  <div id="customize-container" class="customize-container">
2
  <div class="wp-full-overlay expanded">
3
- <form id="customize-controls" action="admin.php?page=<?php echo $page; if ( isset( $_GET['edit'] ) ) { echo "&amp;edit={$_GET['edit']}"; } ?>" method="post" class="wrap wp-full-overlay-sidebar">
4
  <div id="customize-header-actions" class="wp-full-overlay-header">
5
  <input type="submit" name="save" id="save" class="button button-primary save" value="<?php _e( 'Save', 'easingslider' ); ?>" />
6
  <span class="spinner"></span>
1
  <div id="customize-container" class="customize-container">
2
  <div class="wp-full-overlay expanded">
3
+ <form id="customize-controls" action="admin.php?page=<?php echo esc_attr( $page ); if ( isset( $id ) ) { echo "&amp;edit=". esc_attr( $id ) .""; } ?>" method="post" class="wrap wp-full-overlay-sidebar">
4
  <div id="customize-header-actions" class="wp-full-overlay-header">
5
  <input type="submit" name="save" id="save" class="button button-primary save" value="<?php _e( 'Save', 'easingslider' ); ?>" />
6
  <span class="spinner"></span>
partials/discover-extensions.php CHANGED
@@ -1,22 +1,26 @@
1
  <div class="wrap">
2
  <h2>
3
- <?php _e( 'Extensions ', 'easingslider' ); ?>
4
 
5
  <a href="http://easingslider.com/extensions" target="_blank" class="add-new-h2">
6
  <?php _e( 'Browse All', 'easingslider' ); ?>
7
  </a>
8
  </h2>
9
 
10
- <p><?php _e( 'These extensions provide additional functionality to Easing Slider.', 'easingslider' ); ?></p>
11
 
12
- <?php foreach ( $extensions as $extension ) : ?>
13
- <div class="extension">
14
- <a href="<?php echo esc_attr( $extension->link ); ?>" title="<?php echo esc_attr( $extension->title ); ?>">
15
- <img src="<?php echo esc_attr( $extension->image ); ?>" class="attachment-showcase wp-post-image" alt="<?php echo esc_attr( $extension->title ); ?>" title="<?php echo esc_attr( $extension->title ); ?>" />
16
- </a>
17
- <h3 class="extension-title"><?php echo esc_html( $extension->title ); ?></h3>
18
- <p><?php echo esc_attr( $extension->content ); ?></p>
19
- <a href="<?php echo esc_attr( $extension->link ); ?>" title="<?php echo esc_attr( $extension->title ); ?>" class="button-primary"><?php _e( 'Get this extension', 'easingslider' ); ?></a>
20
- </div>
21
- <?php endforeach; ?>
 
 
 
 
22
  </div>
1
  <div class="wrap">
2
  <h2>
3
+ <?php _e( 'Extensions for Easing Slider', 'easingslider' ); ?>
4
 
5
  <a href="http://easingslider.com/extensions" target="_blank" class="add-new-h2">
6
  <?php _e( 'Browse All', 'easingslider' ); ?>
7
  </a>
8
  </h2>
9
 
10
+ <p><?php _e( 'These extensions enhance Easing Slider, adding new features, providing new slide types and integrating Easing Slider with other plugins.', 'easingslider' ); ?></p>
11
 
12
+ <?php if ( $extensions ) : ?>
13
+ <?php foreach ( $extensions as $extension ) : ?>
14
+ <div class="extension">
15
+ <a href="<?php echo esc_attr( $extension->link ); ?>" title="<?php echo esc_attr( $extension->title ); ?>">
16
+ <img src="<?php echo esc_attr( $extension->image ); ?>" class="attachment-showcase wp-post-image" alt="<?php echo esc_attr( $extension->title ); ?>" title="<?php echo esc_attr( $extension->title ); ?>" />
17
+ </a>
18
+ <h3 class="extension-title"><?php echo esc_html( $extension->title ); ?></h3>
19
+ <p><?php echo esc_attr( $extension->content ); ?></p>
20
+ <a href="<?php echo esc_attr( $extension->link ); ?>" title="<?php echo esc_attr( $extension->title ); ?>" class="button-primary"><?php _e( 'Learn More &rarr;', 'easingslider' ); ?></a>
21
+ </div>
22
+ <?php endforeach; ?>
23
+ <?php else : ?>
24
+ <p><?php printf( __( 'There was an error retrieving the extensions list from the server. Please try again later. <a href="%s" target="_blank">Click here</a> to view all extensions on our website.', 'easingslider' ), 'http://easingslider.com/extensions' ); ?></p>
25
+ <?php endif; ?>
26
  </div>
partials/edit-settings.php CHANGED
@@ -1,11 +1,11 @@
1
  <div class="wrap">
2
  <h2 class="nav-tab-wrapper">
3
  <?php foreach ( $tabs as $slug => $label ) : ?>
4
- <a href="admin.php?page=<?php echo $page; ?>&amp;tab=<?php echo esc_attr( $slug ); ?>" class="nav-tab <?php echo ( $current_tab == $slug ) ? 'nav-tab-active' : ''; ?>"><?php echo esc_html( $label ); ?></a>
5
  <?php endforeach; ?>
6
  </h2>
7
 
8
- <form name="post" action="admin.php?page=<?php echo $page; ?>&amp;tab=<?php echo $current_tab; ?>" method="post">
9
  <?php
10
  /**
11
  * Security nonce field
1
  <div class="wrap">
2
  <h2 class="nav-tab-wrapper">
3
  <?php foreach ( $tabs as $slug => $label ) : ?>
4
+ <a href="admin.php?page=<?php echo esc_attr( $page ); ?>&amp;tab=<?php echo esc_attr( $slug ); ?>" class="nav-tab <?php echo ( $current_tab == $slug ) ? 'nav-tab-active' : ''; ?>"><?php echo esc_html( $label ); ?></a>
5
  <?php endforeach; ?>
6
  </h2>
7
 
8
+ <form name="post" action="admin.php?page=<?php echo esc_attr( $page ); ?>&amp;tab=<?php echo $current_tab; ?>" method="post">
9
  <?php
10
  /**
11
  * Security nonce field
partials/edit-settings_general.php CHANGED
@@ -1,24 +1,3 @@
1
- <table class="form-table">
2
- <tbody>
3
- <tr>
4
- <th scope="row"><?php _e( 'Image Resizing', 'easingslider' ); ?></th>
5
- <td>
6
- <label for="image_resizing_true">
7
- <input type="radio" name="settings[image_resizing]" id="image_resizing_true" value="true" <?php checked( $settings->image_resizing, true ); ?>>
8
- <span><?php _e( 'Enable', 'easingslider' ); ?></span>
9
- </label>
10
-
11
- <label for="image_resizing_false">
12
- <input type="radio" name="settings[image_resizing]" id="image_resizing_false" value="false" <?php checked( $settings->image_resizing, false ); ?>>
13
- <span><?php _e( 'Disable', 'easingslider' ); ?></span>
14
- </label>
15
-
16
- <p class="description"><?php _e( 'Enable or disable the image resizing functionality. Disable this if you do not want the slide images to be resized.', 'easingslider' ); ?></p>
17
- </td>
18
- </tr>
19
- </tbody>
20
- </table>
21
-
22
  <table class="form-table">
23
  <tbody>
24
  <tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <table class="form-table">
2
  <tbody>
3
  <tr>
partials/edit-slider.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="wrap">
2
- <form id="slider" name="slider" action="admin.php?page=<?php echo $page; if ( isset( $_GET['edit'] ) ) { echo "&amp;edit={$_GET['edit']}"; } ?>" method="post">
3
  <?php
4
  /**
5
  * Security nonce field
@@ -8,7 +8,7 @@
8
  ?>
9
 
10
  <h2>
11
- <?php if ( isset( $_GET['edit'] ) ) : ?>
12
  <?php _e( 'Edit Slider', 'easingslider' ); ?>
13
  <a href="admin.php?page=easingslider_publish_slider" class="add-new-h2"><?php _e( 'Add New', 'easingslider' ); ?></a>
14
  <?php else : ?>
@@ -16,37 +16,28 @@
16
  <?php endif; ?>
17
  </h2>
18
 
19
- <div class="clearfix">
20
- <div class="toolbar-container">
21
- <div class="media-toolbar wp-filter">
22
- <div class="media-toolbar-secondary title-form">
23
- <label for="post_title"><?php _e( 'Name:', 'easingslider' ); ?></label>
24
- <input type="text" name="post_title" id="post_title" autocomplete="off" placeholder="<?php _e( 'Enter a slider name', 'easingslider' ); ?>" value="<?php echo esc_attr( $slider->post_title ); ?>">
25
- <a href="#" id="select-all" class="button media-button button-large hidden"><?php _e( 'Select All', 'easingslider' ); ?></a>
26
- </div>
27
-
28
- <div class="media-toolbar-primary">
29
- <label for="randomize" class="randomize">
30
- <input type="hidden" name="general[randomize]" value="false">
31
- <input type="checkbox" id="randomize" name="general[randomize]" value="true" <?php checked( $slider->general->randomize, true ); ?>><span style="display: inline;"><?php _e( 'Randomize the slide order', 'easingslider' ); ?></span>
32
- </label>
33
- <a href="#" id="add-slides" class="button media-button button-primary button-large"><?php _e( 'Add Slides', 'easingslider' ); ?></a>
34
- <a href="#" id="bulk-select" class="button media-button button-large select-mode-toggle-button"><?php _e( 'Bulk Select', 'easingslider' ); ?></a>
35
- <a href="#" id="cancel-select" class="button media-button button-large select-mode-toggle-button hidden"><?php _e( 'Cancel Selection', 'easingslider' ); ?></a>
36
- <a href="#" id="delete-slides" class="button media-button button-primary button-large hidden"><?php _e( 'Delete Selected', 'easingslider' ); ?></a>
37
- </div>
38
  </div>
39
- </div>
40
 
41
- <div class="settings-container">
42
- <?php
43
- /**
44
- * Keep our settings sidebar in a separate file for clarity. Woohoo!
45
- */
46
- require 'edit-slider_sidebar.php';
47
- ?>
 
 
 
48
  </div>
 
49
 
 
50
  <div class="slides-container">
51
  <div class="media-frame wp-core-ui mode-grid hide-menu">
52
  <div class="media-frame-content" data-columns="5">
@@ -60,6 +51,15 @@
60
  </div>
61
  </div>
62
  </div>
 
 
 
 
 
 
 
 
 
63
  </div>
64
 
65
  <?php
1
  <div class="wrap">
2
+ <form id="slider" name="slider" action="admin.php?page=<?php echo esc_attr( $page ); if ( isset( $id ) ) { echo "&amp;edit=". esc_attr( $id ) .""; } ?>" method="post">
3
  <?php
4
  /**
5
  * Security nonce field
8
  ?>
9
 
10
  <h2>
11
+ <?php if ( isset( $id ) ) : ?>
12
  <?php _e( 'Edit Slider', 'easingslider' ); ?>
13
  <a href="admin.php?page=easingslider_publish_slider" class="add-new-h2"><?php _e( 'Add New', 'easingslider' ); ?></a>
14
  <?php else : ?>
16
  <?php endif; ?>
17
  </h2>
18
 
19
+ <div class="toolbar-container">
20
+ <div class="media-toolbar wp-filter">
21
+ <div class="media-toolbar-secondary title-form">
22
+ <label for="post_title"><?php _e( 'Name:', 'easingslider' ); ?></label>
23
+ <input type="text" name="post_title" id="post_title" autocomplete="off" placeholder="<?php _e( 'Enter a slider name', 'easingslider' ); ?>" value="<?php echo esc_attr( $slider->post_title ); ?>">
24
+ <a href="#" id="select-all" class="button media-button button-large hidden"><?php _e( 'Select All', 'easingslider' ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  </div>
 
26
 
27
+ <div class="media-toolbar-primary">
28
+ <label for="randomize" class="randomize">
29
+ <input type="hidden" name="general[randomize]" value="false">
30
+ <input type="checkbox" id="randomize" name="general[randomize]" value="true" <?php checked( $slider->general->randomize, true ); ?>><span style="display: inline;"><?php _e( 'Randomize the slide order', 'easingslider' ); ?></span>
31
+ </label>
32
+ <a href="#" id="add-slides" class="button media-button button-primary button-large"><?php _e( 'Add Slides', 'easingslider' ); ?></a>
33
+ <a href="#" id="bulk-select" class="button media-button button-large select-mode-toggle-button"><?php _e( 'Bulk Select', 'easingslider' ); ?></a>
34
+ <a href="#" id="cancel-select" class="button media-button button-large select-mode-toggle-button hidden"><?php _e( 'Cancel Selection', 'easingslider' ); ?></a>
35
+ <a href="#" id="delete-slides" class="button media-button button-primary button-large hidden"><?php _e( 'Delete Selected', 'easingslider' ); ?></a>
36
+ </div>
37
  </div>
38
+ </div>
39
 
40
+ <div class="main-container clearfix">
41
  <div class="slides-container">
42
  <div class="media-frame wp-core-ui mode-grid hide-menu">
43
  <div class="media-frame-content" data-columns="5">
51
  </div>
52
  </div>
53
  </div>
54
+
55
+ <div class="settings-container">
56
+ <?php
57
+ /**
58
+ * Keep our settings sidebar in a separate file for clarity. Woohoo!
59
+ */
60
+ require 'edit-slider_sidebar.php';
61
+ ?>
62
+ </div>
63
  </div>
64
 
65
  <?php
partials/edit-slider_sidebar.php CHANGED
@@ -44,6 +44,32 @@
44
  </div>
45
  </div>
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  <!-- Dimensions -->
48
  <div class="widgets-holder-wrap">
49
  <div class="sidebar-name">
@@ -84,6 +110,48 @@
84
  <p class="description"><?php _e( 'Check this option to make this slider responsive. If enabled, the "width" and "height" values above will act as maximums.', 'easingslider' ); ?></p>
85
  </div>
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  <?php
88
  /**
89
  * Allow for additional options
44
  </div>
45
  </div>
46
 
47
+ <!-- Support Easing Slider -->
48
+ <?php if ( apply_filters( 'easingslider_show_advert', __return_true() ) ) : ?>
49
+ <?php
50
+ /**
51
+ * Create the Tweet URL
52
+ */
53
+ $tweet_url = add_query_arg( array(
54
+ 'text' => __( 'Check out Easing Slider, an easy to use free slider plugin for WordPress.', 'easingslider' ),
55
+ 'url' => 'http://easingslider.com/',
56
+ 'via' => 'EasingSlider',
57
+ 'hashtags' => 'wordpress',
58
+ ), 'https://twitter.com/intent/tweet' );
59
+ ?>
60
+
61
+ <div class="widgets-holder-wrap fixed">
62
+ <a href="http://easingslider.com/addons/pro-bundle" target="_blank">
63
+ <img src="<?php echo plugin_dir_url( Easing_Slider::$file ) . 'images/pro-bundle.png'; ?>" alt="\"Pro\" add-on bundle" style="display: block; width: 100%;" />
64
+ </a>
65
+
66
+ <div class="sidebar-content widgets-sortables clearfix">
67
+ <p><?php printf( __( 'Like Easing Slider? <br><a href="%s">Support us with a Tweet &raquo;</a>', 'easingslider' ), $tweet_url ); ?>
68
+ <p><?php printf( __( 'Remove this ad? <br><a href="%s" target="_blank">Purchase a premium add-on &raquo;</a>', 'easingslider' ), 'http://easingslider.com/addons' ); ?></p>
69
+ </div>
70
+ </div>
71
+ <?php endif; ?>
72
+
73
  <!-- Dimensions -->
74
  <div class="widgets-holder-wrap">
75
  <div class="sidebar-name">
110
  <p class="description"><?php _e( 'Check this option to make this slider responsive. If enabled, the "width" and "height" values above will act as maximums.', 'easingslider' ); ?></p>
111
  </div>
112
 
113
+ <div>
114
+ <a href="#" class="show-advanced-options"><?php printf( '+ %s', __( 'Advanced Options', 'easingslider' ) ); ?></a>
115
+ <div class="advanced-options hidden">
116
+ <div>
117
+ <div class="field">
118
+ <label for="full_width">
119
+ <input type="hidden" name="dimensions[full_width]" value="false">
120
+ <input type="checkbox" name="dimensions[full_width]" id="full_width" value="true" <?php checked( $slider->dimensions->full_width, true ); ?>><span style="display: inline;"><?php _e( 'Enable 100% full width.', 'easingslider' ); ?></span>
121
+ </label>
122
+ </div>
123
+ <p class="description"><?php _e( 'When enabled, the slider will set its container width to 100%. This option works for responsive sliders only. For best results, it\'s recommend that you disable image resizing when this option is enabled.', 'easingslider' ); ?></p>
124
+ </div>
125
+ <div>
126
+ <div class="field">
127
+ <label for="image_resizing">
128
+ <input type="hidden" name="dimensions[image_resizing]" value="false">
129
+ <input type="checkbox" name="dimensions[image_resizing]" id="image_resizing" value="true" <?php checked( $slider->dimensions->image_resizing, true ); ?>><span style="display: inline;"><?php _e( 'Crop & resize images to fit slider.', 'easingslider' ); ?></span>
130
+ </label>
131
+ </div>
132
+ <p class="description"><?php _e( 'Tick this option to have the slider crop & resize images to fit the slider dimensions. This will only work with images from the WordPress Media Library.', 'easingslider' ); ?></p>
133
+ </div>
134
+ <div>
135
+ <div class="field">
136
+ <label for="keep_ratio">
137
+ <input type="hidden" name="dimensions[keep_ratio]" value="false">
138
+ <input type="checkbox" name="dimensions[keep_ratio]" id="keep_ratio" value="true" <?php checked( $slider->dimensions->keep_ratio, true ); ?>><span style="display: inline;"><?php _e( 'Proportionally resize slider.', 'easingslider' ); ?></span>
139
+ </label>
140
+ </div>
141
+ <p class="description"><?php _e( 'This option enables proportional slider resizing for responsive sliders. This maintains the aspect ratio. Disable this option for fixed height sliders.', 'easingslider' ); ?></p>
142
+ </div>
143
+ <div>
144
+ <div class="field">
145
+ <label for="background_images">
146
+ <input type="hidden" name="dimensions[background_images]" value="false">
147
+ <input type="checkbox" name="dimensions[background_images]" id="background_images" value="true" <?php checked( $slider->dimensions->background_images, true ); ?>><span style="display: inline;"><?php _e( 'Use background images.', 'easingslider' ); ?></span>
148
+ </label>
149
+ </div>
150
+ <p class="description"><?php _e( 'Enable this option if you want the slider to use CSS background images for image slides.', 'easingslider' ); ?></p>
151
+ </div>
152
+ </div>
153
+ </div>
154
+
155
  <?php
156
  /**
157
  * Allow for additional options
partials/list-sliders.php CHANGED
@@ -6,7 +6,7 @@
6
  </a>
7
 
8
  <?php if ( isset( $_GET['s'] ) && ! empty( $_GET['s'] ) ) : ?>
9
- <span class="subtitle"><?php printf( __( 'Search results for &#8220;%s&#8221;', 'easingslider' ), $_GET['s'] ); ?></span>
10
  <?php endif; ?>
11
  </h2>
12
 
@@ -18,7 +18,7 @@
18
  ?>
19
 
20
  <form id="sliders-list" method="get">
21
- <input type="hidden" name="page" value="<?php echo $_GET['page']; ?>" />
22
 
23
  <?php
24
  /**
6
  </a>
7
 
8
  <?php if ( isset( $_GET['s'] ) && ! empty( $_GET['s'] ) ) : ?>
9
+ <span class="subtitle"><?php printf( __( 'Search results for &#8220;%s&#8221;', 'easingslider' ), esc_attr( $_GET['s'] ) ); ?></span>
10
  <?php endif; ?>
11
  </h2>
12
 
18
  ?>
19
 
20
  <form id="sliders-list" method="get">
21
+ <input type="hidden" name="page" value="<?php echo esc_attr( $page ); ?>" />
22
 
23
  <?php
24
  /**
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: MatthewRuddy
4
  Tags: slideshow, slider, slides, slide, gallery, images, image, responsive, mobile, jquery, javascript, featured, content
5
  Requires at least: 4.0
6
  Tested up to: 4.2
7
- Stable tag: 2.2.0.8
8
 
9
  Easing Slider is an easy to use slider plugin. Simple and lightweight, is makes creating beautiful WordPress sliders a breeze.
10
 
@@ -75,6 +75,19 @@ This is easy. When editing a slider in the "All Sliders" admin area, simply clic
75
 
76
  == Changelog ==
77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  = 2.2.0.8 =
79
  * Readded support for opening slide links in a new window/tab.
80
  * Added proper extension descriptions to "Extensions" panel.
4
  Tags: slideshow, slider, slides, slide, gallery, images, image, responsive, mobile, jquery, javascript, featured, content
5
  Requires at least: 4.0
6
  Tested up to: 4.2
7
+ Stable tag: 2.2.1
8
 
9
  Easing Slider is an easy to use slider plugin. Simple and lightweight, is makes creating beautiful WordPress sliders a breeze.
10
 
75
 
76
  == Changelog ==
77
 
78
+ = 2.2.1 =
79
+ * Added support for background images (found inside "Advanced Options" in "Dimensions" settings box).
80
+ * Added support for 100% full width sliders (found inside "Advanced Options" in "Dimensions" settings box).
81
+ * Added template function to "All Sliders" list table.
82
+ * Added image resizing option to sliders, rather than globally on the "Settings" page. Image resizing can now be enabled on a per-slider basis.
83
+ * Improved styling of sliders to accommodate new features and make it more versatile.
84
+ * Improved support for mobile devices in Easing Slider admin area.
85
+ * Added helper functions for determining what sliders have been rendered on the page.
86
+ * Improved support for older versions of jQuery. Minimum version required is now jQuery v1.4.2.
87
+ * Improved security by sanatizing keys where necessary and additional escaping of output. Better safe than sorry!
88
+ * Improved "Extensions" page. Extensions are now remotely fetched from a feed on our server.
89
+ * More minor improvements and fixes.
90
+
91
  = 2.2.0.8 =
92
  * Readded support for opening slide links in a new window/tab.
93
  * Added proper extension descriptions to "Extensions" panel.