Responsive Lightbox & Gallery - Version 1.5.2

Version Description

  • New: Tos "R" Us lightbox script
  • Fix: Final fix for video links regex (hopefully)
  • Tweak: Switched from rel to data-rel attribute to avoid W3C validation errors
  • Tweak: Optimized gallery image size function
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Responsive Lightbox & Gallery
Version 1.5.2
Comparing to
See all releases

Code changes from version 1.5.1 to 1.5.2

assets/fancybox/jquery.fancybox-1.3.4.js CHANGED
@@ -828,12 +828,12 @@
828
  selectedArray = [];
829
  selectedIndex = 0;
830
 
831
- var rel = $(this).attr('rel') || '';
832
 
833
  if (!rel || rel == '' || rel === 'nofollow') {
834
  selectedArray.push(this);
835
  } else {
836
- selectedArray = $('a[rel="'+rel+'"], area[rel="'+rel+'"]');
837
  selectedIndex = selectedArray.index(this);
838
  }
839
 
828
  selectedArray = [];
829
  selectedIndex = 0;
830
 
831
+ var rel = $(this).attr('rel') || $(this).data('rel');
832
 
833
  if (!rel || rel == '' || rel === 'nofollow') {
834
  selectedArray.push(this);
835
  } else {
836
+ selectedArray = $('a[rel="'+rel+'"], area[rel="'+rel+'"], a[data-rel="'+rel+'"]');
837
  selectedIndex = selectedArray.index(this);
838
  }
839
 
assets/tosrus/README.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery.TosRUs
2
+ ================
3
+
4
+ A one-stop-shop jQuery plugin for scrolling/swiping through all different kinds of content.
5
+ On a desktop, tablet or smartphone, inside a HTML element or as a lightbox popup.
6
+
7
+ Demo's: http://tosrus.frebsite.nl/examples.php<br />
8
+ Documentation: http://tosrus.frebsite.nl
9
+
10
+ <img src="http://tosrus.frebsite.nl/img/preview-3.png" width="100%" border="0" />
11
+
12
+ ### Features
13
+
14
+ + Creates lightbox popup galleries just as easy as "inline" sliders.
15
+ + Works just as well on a desktop as it does on a tablet or smartphone.
16
+ + Responsive CSS interface for sizing and positioning.
17
+ + Drag or swipe to slide to the next/previous slide(s).
18
+ + Slides are automatically grouped into a gallery.
19
+ + Very customizable through a series of options with device dependent defaults.
20
+ + Supports showing images, video's and HTML content.
21
+ + Viewport-scale dependent buttons and caption sizes.
22
+
23
+ ### More info
24
+ Please visit http://tosrus.frebsite.nl
25
+
26
+ ### Licence
27
+ The jQuery.TosRUs plugin is licensed under the MIT license:
28
+ + http://en.wikipedia.org/wiki/MIT_License
assets/tosrus/css/jquery.tosrus.all.css ADDED
@@ -0,0 +1,605 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ jQuery Touch Optimized Sliders "R"Us
3
+ Core CSS
4
+ */
5
+ .tos-noanimation {
6
+ -webkit-transition-property: none !important;
7
+ -moz-transition-property: none !important;
8
+ -ms-transition-property: none !important;
9
+ -o-transition-property: none !important;
10
+ transition-property: none !important; }
11
+
12
+ .tos-fastanimation {
13
+ -webkit-transition-duration: 0.2s !important;
14
+ -moz-transition-duration: 0.2s !important;
15
+ -ms-transition-duration: 0.2s !important;
16
+ -o-transition-duration: 0.2s !important;
17
+ transition-duration: 0.2s !important;
18
+ -webkit-transition-timing-function: ease-out !important;
19
+ -moz-transition-timing-function: ease-out !important;
20
+ -ms-transition-timing-function: ease-out !important;
21
+ -o-transition-timing-function: ease-out !important;
22
+ transition-timing-function: ease-out !important; }
23
+
24
+ .tos-wrapper {
25
+ opacity: 0;
26
+ -webkit-transition: opacity 0.4s ease;
27
+ -moz-transition: opacity 0.4s ease;
28
+ -ms-transition: opacity 0.4s ease;
29
+ -o-transition: opacity 0.4s ease;
30
+ transition: opacity 0.4s ease;
31
+ display: none;
32
+ width: 100%;
33
+ height: 100%;
34
+ padding: 0;
35
+ margin: 0;
36
+ overflow: hidden; }
37
+ .tos-wrapper.tos-opened {
38
+ display: block; }
39
+ .tos-wrapper.tos-opening {
40
+ opacity: 1; }
41
+ .tos-wrapper.tos-fixed {
42
+ background-color: black;
43
+ position: fixed;
44
+ top: 0;
45
+ left: 0;
46
+ z-index: 9000; }
47
+ .tos-wrapper.tos-inline {
48
+ position: relative; }
49
+
50
+ .tos-slider {
51
+ white-space: nowrap;
52
+ width: 100%;
53
+ height: 100%;
54
+ padding: 0;
55
+ margin: 0;
56
+ position: relative; }
57
+
58
+ .tos-wrapper.tos-fx-slide .tos-slider {
59
+ left: 0;
60
+ -webkit-transition: left 0.4s ease;
61
+ -moz-transition: left 0.4s ease;
62
+ -ms-transition: left 0.4s ease;
63
+ -o-transition: left 0.4s ease;
64
+ transition: left 0.4s ease; }
65
+ .tos-wrapper.tos-fx-slide.tos-fixed .tos-slider {
66
+ position: absolute; }
67
+
68
+ .tos-wrapper.tos-fx-fade .tos-slider {
69
+ opacity: 1;
70
+ -webkit-transition: opacity 0.4s ease;
71
+ -moz-transition: opacity 0.4s ease;
72
+ -ms-transition: opacity 0.4s ease;
73
+ -o-transition: opacity 0.4s ease;
74
+ transition: opacity 0.4s ease; }
75
+
76
+ .tos-uibg {
77
+ background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
78
+ background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
79
+ background-image: -ms-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
80
+ background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
81
+ background-image: linear-gradient(bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
82
+ -webkit-transition: opacity 0.4s ease;
83
+ -moz-transition: opacity 0.4s ease;
84
+ -ms-transition: opacity 0.4s ease;
85
+ -o-transition: opacity 0.4s ease;
86
+ transition: opacity 0.4s ease;
87
+ opacity: 0;
88
+ width: 100%;
89
+ position: absolute;
90
+ left: 0;
91
+ bottom: 0;
92
+ z-index: 1; }
93
+
94
+ .tos-desktop .tos-wrapper:hover .tos-uibg,
95
+ .tos-touch .tos-wrapper.tos-hover .tos-uibg {
96
+ opacity: 1; }
97
+
98
+ .tos-slide {
99
+ -webkit-overflow-scrolling: touch;
100
+ line-height: 1px;
101
+ text-align: center;
102
+ box-sizing: border-box;
103
+ display: inline-block;
104
+ width: 100%;
105
+ height: 100%;
106
+ overflow: hidden;
107
+ position: relative; }
108
+ .tos-slide:before {
109
+ content: "";
110
+ display: inline-block;
111
+ height: 50%;
112
+ width: 1px;
113
+ margin-right: -1px; }
114
+ .tos-slide.tos-loading > * {
115
+ opacity: 0; }
116
+ .tos-slide > * {
117
+ opacity: 1;
118
+ -webkit-transition: opacity 0.4s ease;
119
+ -moz-transition: opacity 0.4s ease;
120
+ -ms-transition: opacity 0.4s ease;
121
+ -o-transition: opacity 0.4s ease;
122
+ transition: opacity 0.4s ease; }
123
+
124
+ .tos-slide > * {
125
+ vertical-align: middle;
126
+ display: inline-block;
127
+ max-height: 100%;
128
+ max-width: 100%;
129
+ box-sizing: border-box; }
130
+ .tos-slide.tos-html > div {
131
+ -webkit-overflow-scrolling: touch;
132
+ white-space: normal;
133
+ text-align: left;
134
+ line-height: 1.5; }
135
+ .tos-slide.tos-html > div * {
136
+ -webkit-text-size-adjust: none;
137
+ -moz-text-size-adjust: none;
138
+ -ms-text-size-adjust: none;
139
+ -o-text-size-adjust: none;
140
+ text-size-adjust: none; }
141
+
142
+ .tos-wrapper.tos-fill .tos-slide.tos-image > img {
143
+ max-height: none;
144
+ max-width: none;
145
+ min-height: 100%;
146
+ min-width: 100%; }
147
+ .tos-wrapper.tos-fixed .tos-slide.tos-html > div {
148
+ background-color: white;
149
+ color: #333333;
150
+ box-sizing: border-box;
151
+ display: inline-block;
152
+ padding: 40px;
153
+ overflow: auto; }
154
+
155
+ .tos-desktop .tos-wrapper.tos-fixed {
156
+ background-color: rgba(0, 0, 0, 0.85); }
157
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit .tos-slide {
158
+ padding: 20px; }
159
+
160
+ /*
161
+ jQuery Touch Optimized Sliders "R"Us
162
+ Buttons addon
163
+ */
164
+ .tos-prev,
165
+ .tos-next,
166
+ .tos-close {
167
+ background: black;
168
+ border-radius: 3px;
169
+ opacity: 0;
170
+ display: block;
171
+ width: 40px;
172
+ position: absolute;
173
+ z-index: 1;
174
+ -webkit-transition: opacity 0.4s ease;
175
+ -moz-transition: opacity 0.4s ease;
176
+ -ms-transition: opacity 0.4s ease;
177
+ -o-transition: opacity 0.4s ease;
178
+ transition: opacity 0.4s ease; }
179
+
180
+ .tos-prev,
181
+ .tos-next {
182
+ height: 80px;
183
+ margin-top: -40px;
184
+ top: 50%; }
185
+ .tos-prev.tos-disabled,
186
+ .tos-next.tos-disabled {
187
+ cursor: default; }
188
+
189
+ .tos-prev {
190
+ left: 20px; }
191
+
192
+ .tos-next {
193
+ right: 20px; }
194
+
195
+ .tos-close {
196
+ height: 40px;
197
+ top: 20px;
198
+ right: 20px; }
199
+
200
+ .tos-desktop .tos-wrapper:hover .tos-prev,
201
+ .tos-desktop .tos-wrapper:hover .tos-next,
202
+ .tos-desktop .tos-wrapper:hover .tos-close,
203
+ .tos-touch .tos-wrapper.tos-hover .tos-prev,
204
+ .tos-touch .tos-wrapper.tos-hover .tos-next,
205
+ .tos-touch .tos-wrapper.tos-hover .tos-close {
206
+ opacity: 0.5; }
207
+ .tos-desktop .tos-wrapper:hover .tos-prev:hover,
208
+ .tos-desktop .tos-wrapper:hover .tos-next:hover,
209
+ .tos-desktop .tos-wrapper:hover .tos-close:hover,
210
+ .tos-touch .tos-wrapper.tos-hover .tos-prev:hover,
211
+ .tos-touch .tos-wrapper.tos-hover .tos-next:hover,
212
+ .tos-touch .tos-wrapper.tos-hover .tos-close:hover {
213
+ opacity: 0.9; }
214
+ .tos-desktop .tos-wrapper:hover .tos-prev.tos-disabled,
215
+ .tos-desktop .tos-wrapper:hover .tos-next.tos-disabled,
216
+ .tos-desktop .tos-wrapper:hover .tos-close.tos-disabled,
217
+ .tos-touch .tos-wrapper.tos-hover .tos-prev.tos-disabled,
218
+ .tos-touch .tos-wrapper.tos-hover .tos-next.tos-disabled,
219
+ .tos-touch .tos-wrapper.tos-hover .tos-close.tos-disabled {
220
+ opacity: 0.2; }
221
+
222
+ .tos-prev span,
223
+ .tos-next span,
224
+ .tos-close span:before,
225
+ .tos-close span:after {
226
+ content: '';
227
+ display: block;
228
+ width: 12px;
229
+ height: 12px;
230
+ margin: -5px;
231
+ position: absolute;
232
+ top: 50%;
233
+ -webkit-transform: rotate(45deg);
234
+ -moz-transform: rotate(45deg);
235
+ -ms-transform: rotate(45deg);
236
+ -o-transform: rotate(45deg);
237
+ transform: rotate(45deg); }
238
+
239
+ .tos-close span:before,
240
+ .tos-close span:after {
241
+ width: 6px;
242
+ height: 6px;
243
+ margin-top: -4px;
244
+ margin-left: 0;
245
+ margin-right: 0; }
246
+
247
+ .tos-prev span,
248
+ .tos-close span:before {
249
+ border-bottom: 3px solid white;
250
+ border-left: 3px solid white;
251
+ left: 50%; }
252
+
253
+ .tos-next span,
254
+ .tos-close span:after {
255
+ border-top: 3px solid white;
256
+ border-right: 3px solid white;
257
+ right: 50%; }
258
+
259
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-prev .tos-slide, .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-next .tos-slide, .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-close .tos-slide {
260
+ padding-left: 80px;
261
+ padding-right: 80px; }
262
+
263
+ .tos-inline {
264
+ opacity: 0;
265
+ -webkit-transition: opacity 0.4s ease;
266
+ -moz-transition: opacity 0.4s ease;
267
+ -ms-transition: opacity 0.4s ease;
268
+ -o-transition: opacity 0.4s ease;
269
+ transition: opacity 0.4s ease;
270
+ display: inline-block;
271
+ margin: 0;
272
+ position: relative;
273
+ top: auto;
274
+ left: auto;
275
+ right: auto; }
276
+ .tos-inline.tos-prev {
277
+ margin-right: -60px; }
278
+ .tos-inline.tos-next {
279
+ margin-left: -60px; }
280
+
281
+ .tos-loading .tos-inline {
282
+ opacity: 0 !important; }
283
+
284
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-prev,
285
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-next,
286
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-close {
287
+ -webkit-transform: scale(2);
288
+ -moz-transform: scale(2);
289
+ -ms-transform: scale(2);
290
+ -o-transform: scale(2);
291
+ transform: scale(2); }
292
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-prev,
293
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-next,
294
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-close {
295
+ -webkit-transform: scale(3);
296
+ -moz-transform: scale(3);
297
+ -ms-transform: scale(3);
298
+ -o-transform: scale(3);
299
+ transform: scale(3); }
300
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-prev, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-prev {
301
+ -webkit-transform-origin: left center;
302
+ -moz-transform-origin: left center;
303
+ -ms-transform-origin: left center;
304
+ -o-transform-origin: left center;
305
+ transform-origin: left center; }
306
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-next, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-next {
307
+ -webkit-transform-origin: right center;
308
+ -moz-transform-origin: right center;
309
+ -ms-transform-origin: right center;
310
+ -o-transform-origin: right center;
311
+ transform-origin: right center; }
312
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-close, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-close {
313
+ -webkit-transform-origin: right top;
314
+ -moz-transform-origin: right top;
315
+ -ms-transform-origin: right top;
316
+ -o-transform-origin: right top;
317
+ transform-origin: right top; }
318
+
319
+ /*
320
+ jQuery Touch Optimized Sliders "R"Us
321
+ Caption addon
322
+ */
323
+ .tos-caption {
324
+ color: white;
325
+ text-align: center;
326
+ opacity: 0;
327
+ -webkit-transition: opacity 0.4s ease;
328
+ -moz-transition: opacity 0.4s ease;
329
+ -ms-transition: opacity 0.4s ease;
330
+ -o-transition: opacity 0.4s ease;
331
+ transition: opacity 0.4s ease;
332
+ width: 100%;
333
+ position: absolute;
334
+ left: 0;
335
+ bottom: 0;
336
+ z-index: 1; }
337
+ .tos-caption:after {
338
+ content: '';
339
+ display: block;
340
+ clear: both; }
341
+ .tos-caption > div {
342
+ white-space: nowrap;
343
+ text-overflow: ellipsis;
344
+ overflow: hidden;
345
+ width: 100%;
346
+ box-sizing: border-box;
347
+ padding: 0 20px;
348
+ float: left; }
349
+ .tos-caption > div:last-child {
350
+ float: right;
351
+ margin-right: -2px; }
352
+
353
+ .tos-desktop .tos-wrapper:hover .tos-caption,
354
+ .tos-touch .tos-wrapper.tos-hover .tos-caption {
355
+ opacity: 1; }
356
+
357
+ .tos-wrapper .tos-caption {
358
+ line-height: 20px;
359
+ font-size: 15px;
360
+ text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
361
+ height: 40px; }
362
+ .tos-wrapper.tos-has-caption .tos-uibg {
363
+ height: 100px; }
364
+
365
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-caption .tos-slide {
366
+ padding-bottom: 60px; }
367
+
368
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-caption {
369
+ line-height: 40px;
370
+ font-size: 30px;
371
+ text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
372
+ height: 80px; }
373
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-caption .tos-uibg {
374
+ height: 200px; }
375
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-caption {
376
+ line-height: 60px;
377
+ font-size: 45px;
378
+ text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
379
+ height: 120px; }
380
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-caption .tos-uibg {
381
+ height: 300px; }
382
+
383
+ /*
384
+ jQuery Touch Optimized Sliders "R"Us
385
+ Drag addon
386
+ */
387
+ .tos-wrapper.tos-fx-slide .tos-slider {
388
+ -webkit-transition-property: left, margin;
389
+ -moz-transition-property: left, margin;
390
+ -ms-transition-property: left, margin;
391
+ -o-transition-property: left, margin;
392
+ transition-property: left, margin; }
393
+
394
+ /*
395
+ jQuery Touch Optimized Sliders "R"Us
396
+ Pagination addon
397
+ */
398
+ .tos-pagination {
399
+ text-align: center;
400
+ white-space: nowrap;
401
+ overflow-x: auto;
402
+ -webkit-overflow-scrolling: touch;
403
+ overflow-scrolling: touch;
404
+ opacity: 0;
405
+ -webkit-transition: opacity 0.4s ease;
406
+ -moz-transition: opacity 0.4s ease;
407
+ -ms-transition: opacity 0.4s ease;
408
+ -o-transition: opacity 0.4s ease;
409
+ transition: opacity 0.4s ease;
410
+ width: 100%;
411
+ position: absolute;
412
+ bottom: 0;
413
+ left: 0;
414
+ z-index: 1; }
415
+ .tos-pagination a {
416
+ display: inline-block; }
417
+ .tos-pagination.tos-bullets a {
418
+ background-color: rgba(255, 255, 255, 0.2); }
419
+ .tos-pagination.tos-bullets a:hover {
420
+ background-color: rgba(255, 255, 255, 0.5); }
421
+ .tos-pagination.tos-bullets a.tos-selected {
422
+ background-color: rgba(255, 255, 255, 0.9); }
423
+
424
+ .tos-desktop .tos-wrapper:hover .tos-pagination,
425
+ .tos-touch .tos-wrapper.tos-hover .tos-pagination {
426
+ opacity: 1; }
427
+
428
+ .tos-wrapper .tos-pagination:before, .tos-wrapper .tos-pagination:after {
429
+ content: '';
430
+ display: inline-block;
431
+ width: 20px;
432
+ height: 10px; }
433
+ .tos-wrapper.tos-has-bullets .tos-pagination {
434
+ height: 30px; }
435
+ .tos-wrapper.tos-has-bullets .tos-pagination a {
436
+ border-radius: 10px;
437
+ width: 10px;
438
+ height: 10px;
439
+ margin: 0 5px; }
440
+ .tos-wrapper.tos-has-bullets .tos-caption {
441
+ bottom: 30px; }
442
+ .tos-wrapper.tos-has-bullets .tos-uibg {
443
+ height: 90px; }
444
+ .tos-wrapper.tos-has-bullets.tos-has-caption .tos-uibg {
445
+ height: 130px; }
446
+ .tos-wrapper.tos-has-thumbnails .tos-pagination {
447
+ height: 70px; }
448
+ .tos-wrapper.tos-has-thumbnails .tos-pagination a {
449
+ background-position: center center;
450
+ background-size: cover;
451
+ width: 50px;
452
+ height: 50px;
453
+ margin: 0 5px; }
454
+ .tos-wrapper.tos-has-thumbnails .tos-caption {
455
+ bottom: 70px; }
456
+ .tos-wrapper.tos-has-thumbnails .tos-uibg {
457
+ height: 130px; }
458
+ .tos-wrapper.tos-has-thumbnails.tos-has-caption .tos-uibg {
459
+ height: 170px; }
460
+
461
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-bullets .tos-slide {
462
+ padding-bottom: 50px; }
463
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-bullets.tos-has-caption .tos-slide {
464
+ padding-bottom: 80px; }
465
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-thumbnails .tos-slide {
466
+ padding-bottom: 90px; }
467
+ .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-thumbnails.tos-has-caption .tos-slide {
468
+ padding-bottom: 120px; }
469
+
470
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-pagination:before, .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-pagination:after {
471
+ content: '';
472
+ display: inline-block;
473
+ width: 40px;
474
+ height: 20px; }
475
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination {
476
+ height: 60px; }
477
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination a {
478
+ border-radius: 20px;
479
+ width: 20px;
480
+ height: 20px;
481
+ margin: 0 10px; }
482
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-caption {
483
+ bottom: 60px; }
484
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-uibg {
485
+ height: 180px; }
486
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets.tos-has-caption .tos-uibg {
487
+ height: 260px; }
488
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination {
489
+ height: 140px; }
490
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination a {
491
+ background-position: center center;
492
+ background-size: cover;
493
+ width: 100px;
494
+ height: 100px;
495
+ margin: 0 10px; }
496
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-caption {
497
+ bottom: 140px; }
498
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-uibg {
499
+ height: 260px; }
500
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails.tos-has-caption .tos-uibg {
501
+ height: 340px; }
502
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-pagination:before, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-pagination:after {
503
+ content: '';
504
+ display: inline-block;
505
+ width: 60px;
506
+ height: 30px; }
507
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination {
508
+ height: 90px; }
509
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination a {
510
+ border-radius: 30px;
511
+ width: 30px;
512
+ height: 30px;
513
+ margin: 0 15px; }
514
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-caption {
515
+ bottom: 90px; }
516
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-uibg {
517
+ height: 270px; }
518
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets.tos-has-caption .tos-uibg {
519
+ height: 390px; }
520
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination {
521
+ height: 210px; }
522
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination a {
523
+ background-position: center center;
524
+ background-size: cover;
525
+ width: 150px;
526
+ height: 150px;
527
+ margin: 0 15px; }
528
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-caption {
529
+ bottom: 210px; }
530
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-uibg {
531
+ height: 390px; }
532
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails.tos-has-caption .tos-uibg {
533
+ height: 510px; }
534
+
535
+ /*
536
+ jQuery Touch Optimized Sliders "R"Us
537
+ Html media
538
+ */
539
+ .tos-slide .tos-html {
540
+ -webkit-overflow-scrolling: touch; }
541
+
542
+ /*
543
+ jQuery Touch Optimized Sliders "R"Us
544
+ Youtube media
545
+ */
546
+ .tos-play {
547
+ background: black;
548
+ opacity: 0;
549
+ display: block;
550
+ position: absolute;
551
+ top: 50%;
552
+ left: 50%;
553
+ -webkit-transition: opacity 0.4s ease;
554
+ -moz-transition: opacity 0.4s ease;
555
+ -ms-transition: opacity 0.4s ease;
556
+ -o-transition: opacity 0.4s ease;
557
+ transition: opacity 0.4s ease; }
558
+ .tos-play:after {
559
+ content: '';
560
+ display: block;
561
+ position: absolute;
562
+ top: 50%;
563
+ left: 50%; }
564
+
565
+ .tos-desktop .tos-wrapper:hover .tos-play,
566
+ .tos-touch .tos-wrapper.tos-hover .tos-play {
567
+ opacity: 0.5; }
568
+ .tos-desktop .tos-wrapper:hover .tos-play:hover,
569
+ .tos-touch .tos-wrapper.tos-hover .tos-play:hover {
570
+ opacity: 0.9; }
571
+
572
+ .tos-wrapper .tos-play {
573
+ border-radius: 80px;
574
+ width: 80px;
575
+ height: 80px;
576
+ margin: -40px; }
577
+ .tos-wrapper .tos-play:after {
578
+ border: 20px solid transparent;
579
+ border-left-color: white;
580
+ border-left-width: 30px;
581
+ margin-top: -20px;
582
+ margin-left: -10.5px; }
583
+
584
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-play {
585
+ border-radius: 160px;
586
+ width: 160px;
587
+ height: 160px;
588
+ margin: -80px; }
589
+ .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-play:after {
590
+ border: 40px solid transparent;
591
+ border-left-color: white;
592
+ border-left-width: 60px;
593
+ margin-top: -40px;
594
+ margin-left: -21px; }
595
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-play {
596
+ border-radius: 240px;
597
+ width: 240px;
598
+ height: 240px;
599
+ margin: -120px; }
600
+ .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-play:after {
601
+ border: 60px solid transparent;
602
+ border-left-color: white;
603
+ border-left-width: 90px;
604
+ margin-top: -60px;
605
+ margin-left: -31.5px; }
assets/tosrus/css/jquery.tosrus.all.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .tos-noanimation{-webkit-transition-property:none!important;-moz-transition-property:none!important;-ms-transition-property:none!important;-o-transition-property:none!important;transition-property:none!important}.tos-fastanimation{-webkit-transition-duration:.2s!important;-moz-transition-duration:.2s!important;-ms-transition-duration:.2s!important;-o-transition-duration:.2s!important;transition-duration:.2s!important;-webkit-transition-timing-function:ease-out!important;-moz-transition-timing-function:ease-out!important;-ms-transition-timing-function:ease-out!important;-o-transition-timing-function:ease-out!important;transition-timing-function:ease-out!important}.tos-wrapper{opacity:0;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease;display:none;width:100%;height:100%;padding:0;margin:0;overflow:hidden}.tos-wrapper.tos-opened{display:block}.tos-wrapper.tos-opening{opacity:1}.tos-wrapper.tos-fixed{background-color:#000;position:fixed;top:0;left:0;z-index:9000}.tos-wrapper.tos-inline{position:relative}.tos-slider{white-space:nowrap;width:100%;height:100%;padding:0;margin:0;position:relative}.tos-wrapper.tos-fx-slide .tos-slider{left:0;-webkit-transition:left .4s ease;-moz-transition:left .4s ease;-ms-transition:left .4s ease;-o-transition:left .4s ease;transition:left .4s ease}.tos-wrapper.tos-fx-slide.tos-fixed .tos-slider{position:absolute}.tos-wrapper.tos-fx-fade .tos-slider{opacity:1;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease}.tos-uibg{background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5) 0,rgba(0,0,0,0) 100%);background-image:-moz-linear-gradient(bottom,rgba(0,0,0,.5) 0,rgba(0,0,0,0) 100%);background-image:-ms-linear-gradient(bottom,rgba(0,0,0,.5) 0,rgba(0,0,0,0) 100%);background-image:-o-linear-gradient(bottom,rgba(0,0,0,.5) 0,rgba(0,0,0,0) 100%);background-image:linear-gradient(bottom,rgba(0,0,0,.5) 0,rgba(0,0,0,0) 100%);-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease;opacity:0;width:100%;position:absolute;left:0;bottom:0;z-index:1}.tos-desktop .tos-wrapper:hover .tos-uibg,.tos-touch .tos-wrapper.tos-hover .tos-uibg{opacity:1}.tos-slide{-webkit-overflow-scrolling:touch;line-height:1px;text-align:center;box-sizing:border-box;display:inline-block;width:100%;height:100%;overflow:hidden;position:relative}.tos-slide:before{content:"";display:inline-block;height:50%;width:1px;margin-right:-1px}.tos-slide.tos-loading>*{opacity:0}.tos-slide>*{opacity:1;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease;vertical-align:middle;display:inline-block;max-height:100%;max-width:100%;box-sizing:border-box}.tos-slide.tos-html>div{-webkit-overflow-scrolling:touch;white-space:normal;text-align:left;line-height:1.5}.tos-slide.tos-html>div *{-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;-o-text-size-adjust:none;text-size-adjust:none}.tos-wrapper.tos-fill .tos-slide.tos-image>img{max-height:none;max-width:none;min-height:100%;min-width:100%}.tos-wrapper.tos-fixed .tos-slide.tos-html>div{background-color:#fff;color:#333;box-sizing:border-box;display:inline-block;padding:40px;overflow:auto}.tos-desktop .tos-wrapper.tos-fixed{background-color:rgba(0,0,0,.85)}.tos-desktop .tos-wrapper.tos-fixed.tos-fit .tos-slide{padding:20px}.tos-close,.tos-next,.tos-prev{background:#000;border-radius:3px;opacity:0;display:block;width:40px;position:absolute;z-index:1;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease}.tos-next,.tos-prev{height:80px;margin-top:-40px;top:50%}.tos-next.tos-disabled,.tos-prev.tos-disabled{cursor:default}.tos-prev{left:20px}.tos-next{right:20px}.tos-close{height:40px;top:20px;right:20px}.tos-desktop .tos-wrapper:hover .tos-close,.tos-desktop .tos-wrapper:hover .tos-next,.tos-desktop .tos-wrapper:hover .tos-prev,.tos-touch .tos-wrapper.tos-hover .tos-close,.tos-touch .tos-wrapper.tos-hover .tos-next,.tos-touch .tos-wrapper.tos-hover .tos-prev{opacity:.5}.tos-desktop .tos-wrapper:hover .tos-close:hover,.tos-desktop .tos-wrapper:hover .tos-next:hover,.tos-desktop .tos-wrapper:hover .tos-prev:hover,.tos-touch .tos-wrapper.tos-hover .tos-close:hover,.tos-touch .tos-wrapper.tos-hover .tos-next:hover,.tos-touch .tos-wrapper.tos-hover .tos-prev:hover{opacity:.9}.tos-desktop .tos-wrapper:hover .tos-close.tos-disabled,.tos-desktop .tos-wrapper:hover .tos-next.tos-disabled,.tos-desktop .tos-wrapper:hover .tos-prev.tos-disabled,.tos-touch .tos-wrapper.tos-hover .tos-close.tos-disabled,.tos-touch .tos-wrapper.tos-hover .tos-next.tos-disabled,.tos-touch .tos-wrapper.tos-hover .tos-prev.tos-disabled{opacity:.2}.tos-close span:after,.tos-close span:before,.tos-next span,.tos-prev span{content:'';display:block;width:12px;height:12px;margin:-5px;position:absolute;top:50%;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.tos-close span:after,.tos-close span:before{width:6px;height:6px;margin-top:-4px;margin-left:0;margin-right:0}.tos-close span:before,.tos-prev span{border-bottom:3px solid #fff;border-left:3px solid #fff;left:50%}.tos-close span:after,.tos-next span{border-top:3px solid #fff;border-right:3px solid #fff;right:50%}.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-close .tos-slide,.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-next .tos-slide,.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-prev .tos-slide{padding-left:80px;padding-right:80px}.tos-inline{opacity:0;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease;display:inline-block;margin:0;position:relative;top:auto;left:auto;right:auto}.tos-inline.tos-prev{margin-right:-60px}.tos-inline.tos-next{margin-left:-60px}.tos-loading .tos-inline{opacity:0!important}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-close,.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-next,.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-prev{-webkit-transform:scale(2);-moz-transform:scale(2);-ms-transform:scale(2);-o-transform:scale(2);transform:scale(2)}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-close,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-next,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-prev{-webkit-transform:scale(3);-moz-transform:scale(3);-ms-transform:scale(3);-o-transform:scale(3);transform:scale(3)}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-prev,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-prev{-webkit-transform-origin:left center;-moz-transform-origin:left center;-ms-transform-origin:left center;-o-transform-origin:left center;transform-origin:left center}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-next,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-next{-webkit-transform-origin:right center;-moz-transform-origin:right center;-ms-transform-origin:right center;-o-transform-origin:right center;transform-origin:right center}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-close,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-close{-webkit-transform-origin:right top;-moz-transform-origin:right top;-ms-transform-origin:right top;-o-transform-origin:right top;transform-origin:right top}.tos-caption{color:#fff;text-align:center;opacity:0;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease;width:100%;position:absolute;left:0;bottom:0;z-index:1}.tos-caption:after{content:'';display:block;clear:both}.tos-caption>div{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:100%;box-sizing:border-box;padding:0 20px;float:left}.tos-caption>div:last-child{float:right;margin-right:-2px}.tos-desktop .tos-wrapper:hover .tos-caption,.tos-touch .tos-wrapper.tos-hover .tos-caption{opacity:1}.tos-wrapper .tos-caption{line-height:20px;font-size:15px;text-shadow:0 1px 2px rgba(0,0,0,.8);height:40px}.tos-wrapper.tos-has-caption .tos-uibg{height:100px}.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-caption .tos-slide{padding-bottom:60px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-caption{line-height:40px;font-size:30px;text-shadow:0 2px 4px rgba(0,0,0,.8);height:80px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-caption .tos-uibg{height:200px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-caption{line-height:60px;font-size:45px;text-shadow:0 3px 6px rgba(0,0,0,.8);height:120px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-caption .tos-uibg{height:300px}.tos-wrapper.tos-fx-slide .tos-slider{-webkit-transition-property:left,margin;-moz-transition-property:left,margin;-ms-transition-property:left,margin;-o-transition-property:left,margin;transition-property:left,margin}.tos-pagination{text-align:center;white-space:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;overflow-scrolling:touch;opacity:0;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease;width:100%;position:absolute;bottom:0;left:0;z-index:1}.tos-pagination a{display:inline-block}.tos-pagination.tos-bullets a{background-color:rgba(255,255,255,.2)}.tos-pagination.tos-bullets a:hover{background-color:rgba(255,255,255,.5)}.tos-pagination.tos-bullets a.tos-selected{background-color:rgba(255,255,255,.9)}.tos-desktop .tos-wrapper:hover .tos-pagination,.tos-touch .tos-wrapper.tos-hover .tos-pagination{opacity:1}.tos-wrapper .tos-pagination:after,.tos-wrapper .tos-pagination:before{content:'';display:inline-block;width:20px;height:10px}.tos-wrapper.tos-has-bullets .tos-pagination{height:30px}.tos-wrapper.tos-has-bullets .tos-pagination a{border-radius:10px;width:10px;height:10px;margin:0 5px}.tos-wrapper.tos-has-bullets .tos-caption{bottom:30px}.tos-wrapper.tos-has-bullets .tos-uibg{height:90px}.tos-wrapper.tos-has-bullets.tos-has-caption .tos-uibg{height:130px}.tos-wrapper.tos-has-thumbnails .tos-pagination{height:70px}.tos-wrapper.tos-has-thumbnails .tos-pagination a{background-position:center center;background-size:cover;width:50px;height:50px;margin:0 5px}.tos-wrapper.tos-has-thumbnails .tos-caption{bottom:70px}.tos-wrapper.tos-has-thumbnails .tos-uibg{height:130px}.tos-wrapper.tos-has-thumbnails.tos-has-caption .tos-uibg{height:170px}.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-bullets .tos-slide{padding-bottom:50px}.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-bullets.tos-has-caption .tos-slide{padding-bottom:80px}.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-thumbnails .tos-slide{padding-bottom:90px}.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-thumbnails.tos-has-caption .tos-slide{padding-bottom:120px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-pagination:after,.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-pagination:before{content:'';display:inline-block;width:40px;height:20px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination{height:60px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination a{border-radius:20px;width:20px;height:20px;margin:0 10px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-caption{bottom:60px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets .tos-uibg{height:180px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-bullets.tos-has-caption .tos-uibg{height:260px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination{height:140px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination a{background-position:center center;background-size:cover;width:100px;height:100px;margin:0 10px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-caption{bottom:140px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-uibg{height:260px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-thumbnails.tos-has-caption .tos-uibg{height:340px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-pagination:after,.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-pagination:before{content:'';display:inline-block;width:60px;height:30px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination{height:90px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-pagination a{border-radius:30px;width:30px;height:30px;margin:0 15px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-caption{bottom:90px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets .tos-uibg{height:270px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-bullets.tos-has-caption .tos-uibg{height:390px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination{height:210px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-pagination a{background-position:center center;background-size:cover;width:150px;height:150px;margin:0 15px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-caption{bottom:210px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails .tos-uibg{height:390px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-thumbnails.tos-has-caption .tos-uibg{height:510px}.tos-slide .tos-html{-webkit-overflow-scrolling:touch}.tos-play{background:#000;opacity:0;display:block;position:absolute;top:50%;left:50%;-webkit-transition:opacity .4s ease;-moz-transition:opacity .4s ease;-ms-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease}.tos-play:after{content:'';display:block;position:absolute;top:50%;left:50%}.tos-desktop .tos-wrapper:hover .tos-play,.tos-touch .tos-wrapper.tos-hover .tos-play{opacity:.5}.tos-desktop .tos-wrapper:hover .tos-play:hover,.tos-touch .tos-wrapper.tos-hover .tos-play:hover{opacity:.9}.tos-wrapper .tos-play{border-radius:80px;width:80px;height:80px;margin:-40px}.tos-wrapper .tos-play:after{border:20px solid transparent;border-left-color:#fff;border-left-width:30px;margin-top:-20px;margin-left:-10.5px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-play{border-radius:160px;width:160px;height:160px;margin:-80px}.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-play:after{border:40px solid transparent;border-left-color:#fff;border-left-width:60px;margin-top:-40px;margin-left:-21px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-play{border-radius:240px;width:240px;height:240px;margin:-120px}.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-play:after{border:60px solid transparent;border-left-color:#fff;border-left-width:90px;margin-top:-60px;margin-left:-31.5px}
assets/tosrus/js/jquery.tosrus.min.all.js ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery Touch Optimized Sliders "R"Us 2.4.0
3
+ *
4
+ * Copyright (c) Fred Heusschen
5
+ * www.frebsite.nl
6
+ *
7
+ * Plugin website:
8
+ * tosrus.frebsite.nl
9
+ *
10
+ * Licensed under the MIT license.
11
+ * http://en.wikipedia.org/wiki/MIT_License
12
+ */
13
+ !function(s){function i(){o=function(s){return t+"-"+s},d=function(s){return t+"-"+s},a=function(s){return s+"."+t},s.each([o,d,a],function(s,i){i.add=function(s){s=s.split(" ");for(var e in s)i[s[e]]=i(s[e])}}),o.add("touch desktop scale-1 scale-2 scale-3 wrapper opened opening fixed inline hover slider slide loading noanimation fastanimation"),d.add("slide anchor"),a.add("open opening close closing prev next slideTo sliding click pinch scroll resize orientationchange load loading loaded transitionend webkitTransitionEnd"),r={complObject:function(i,e){return s.isPlainObject(i)||(i=e),i},complBoolean:function(s,i){return"boolean"!=typeof s&&(s=i),s},complNumber:function(i,e){return s.isNumeric(i)||(i=e),i},complString:function(s,i){return"string"!=typeof s&&(s=i),s},isPercentage:function(s){return"string"==typeof s&&"%"==s.slice(-1)},getPercentage:function(s){return parseInt(s.slice(0,-1))},resizeRatio:function(s,i,e,t,n){var o=i.width(),d=i.height();e&&o>e&&(o=e),t&&d>t&&(d=t),n>o/d?d=o/n:o=d*n,s.width(o).height(d)},transitionend:function(s,i,e){var t=!1,n=function(){t||i.call(s[0]),t=!0};s.one(a.transitionend,n),s.one(a.webkitTransitionEnd,n),setTimeout(n,1.1*e)},setViewportScale:function(){if(l.viewportScale){var s=l.viewportScale.getScale();"undefined"!=typeof s&&(s=1/s,l.$body.removeClass(o["scale-1"]).removeClass(o["scale-2"]).removeClass(o["scale-3"]).addClass(o["scale-"+Math.max(Math.min(Math.round(s),3),1)]))}}},l={$wndw:s(window),$html:s("html"),$body:s("body"),scrollPosition:0,viewportScale:null,viewportScaleInterval:null},l.$body.addClass(s[e].support.touch?o.touch:o.desktop),l.$wndw.on(a.scroll,function(s){l.$body.hasClass(o.opened)&&(window.scrollTo(0,l.scrollPosition),s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation())}),!l.viewportScale&&s[e].support.touch&&"undefined"!=typeof FlameViewportScale&&(l.viewportScale=new FlameViewportScale,r.setViewportScale(),l.$wndw.on(a.orientationchange+" "+a.resize,function(){l.viewportScaleInterval&&(clearTimeout(l.viewportScaleInterval),l.viewportScaleInterval=null),l.viewportScaleInterval=setTimeout(function(){r.setViewportScale()},500)})),s[e]._c=o,s[e]._d=d,s[e]._e=a,s[e]._f=r,s[e]._g=l}var e="tosrus",t="tos",n="2.4.0";if(!s[e]){var o={},d={},a={},r={},l={};s[e]=function(s,i,e){return this.$node=s,this.opts=i,this.conf=e,this.vars={},this.nodes={},this.slides={},this._init(),this},s[e].prototype={_init:function(){var i=this;this._complementOptions(),this.vars.fixed="window"==this.opts.wrapper.target,this.nodes.$wrpr=s('<div class="'+o.wrapper+'" />'),this.nodes.$sldr=s('<div class="'+o.slider+'" />').appendTo(this.nodes.$wrpr),this.nodes.$wrpr.addClass(this.vars.fixed?o.fixed:o.inline).addClass(o("fx-"+this.opts.effect)).addClass(o(this.opts.slides.scale)).addClass(this.opts.wrapper.classes),this.nodes.$wrpr.on(a.open+" "+a.close+" "+a.prev+" "+a.next+" "+a.slideTo,function(s){arguments=Array.prototype.slice.call(arguments);var s=arguments.shift(),e=s.type;s.stopPropagation(),"function"==typeof i[e]&&i[e].apply(i,arguments)}).on(a.opening+" "+a.closing+" "+a.sliding+" "+a.loading+" "+a.loaded,function(s){s.stopPropagation()}).on(a.click,function(e){switch(e.stopPropagation(),i.opts.wrapper.onClick){case"toggleUI":i.nodes.$wrpr.toggleClass(o.hover);break;case"close":s(e.target).is("img")||i.close()}}),this.nodes.$anchors=this._initAnchors(),this.nodes.$slides=this._initSlides(),this.slides.total=this.nodes.$slides.length,this.slides.visible=this.opts.slides.visible,this.slides.index=0,this.vars.opened=!0;for(var t=0;t<s[e].addons.length;t++)s.isFunction(this["_addon_"+s[e].addons[t]])&&this["_addon_"+s[e].addons[t]]();for(var n=0;n<s[e].ui.length;n++)this.nodes.$wrpr.find("."+o[s[e].ui[n]]).length&&this.nodes.$wrpr.addClass(o("has-"+s[e].ui[n]));"close"==this.opts.wrapper.onClick&&this.nodes.$uibg.add(this.nodes.$capt||s()).add(this.nodes.$pagr||s()).on(a.click,function(s){s.stopPropagation()}),this.vars.fixed?(this.nodes.$wrpr.appendTo(l.$body),this.close(!0)):(this.nodes.$wrpr.appendTo(this.opts.wrapper.target),this.opts.show?(this.vars.opened=!1,this.open(0,!0)):this.close(!0))},open:function(i,e){var t=this;this.vars.opened||(this.vars.fixed&&(l.scrollPosition=l.$wndw.scrollTop(),l.$body.addClass(o.opened),r.setViewportScale()),e?this.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e]):setTimeout(function(){t.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e])},5),this.nodes.$wrpr.addClass(o.hover).addClass(o.opened)),this.vars.opened=!0,this._loadContents(),s.isNumeric(i)&&(e=e||!this.vars.opened,this.slideTo(i,e))},close:function(i){this.vars.opened&&(this.vars.fixed&&l.$body.removeClass(o.opened),i?this.nodes.$wrpr.removeClass(o.opened):r.transitionend(this.nodes.$wrpr,function(){s(this).removeClass(o.opened)},this.conf.transitionDuration),this.nodes.$wrpr.removeClass(o.hover).removeClass(o.opening).trigger(a.closing,[this.slides.index,i])),this.vars.opened=!1},prev:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index-i,e)},next:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index+i,e)},slideTo:function(i,t){if(!this.vars.opened)return!1;if(!s.isNumeric(i))return!1;var n=!0;if(0>i){var d=0==this.slides.index;this.opts.infinite?i=d?this.slides.total-this.slides.visible:0:(i=0,d&&(n=!1))}if(i+this.slides.visible>this.slides.total){var l=this.slides.index+this.slides.visible>=this.slides.total;this.opts.infinite?i=l?0:this.slides.total-this.slides.visible:(i=this.slides.total-this.slides.visible,l&&(n=!1))}if(this.slides.index=i,this._loadContents(),n){var h=0-this.slides.index*this.opts.slides.width+this.opts.slides.offset;this.slides.widthPercentage&&(h+="%"),t&&(this.nodes.$sldr.addClass(o.noanimation),r.transitionend(this.nodes.$sldr,function(){s(this).removeClass(o.noanimation)},5));for(var c in s[e].effects)if(c==this.opts.effect){s[e].effects[c].call(this,h,t);break}this.nodes.$wrpr.trigger(a.sliding,[i,t])}},_initAnchors:function(){var i=this,t=s();if(this.$node.is("a"))for(var n in s[e].media)t=t.add(this.$node.filter(function(){if(i.opts.media[n]&&i.opts.media[n].filterAnchors){var t=i.opts.media[n].filterAnchors.call(i,s(this));if("boolean"==typeof t)return t}return s[e].media[n].filterAnchors.call(i,s(this))}));return t},_initSlides:function(){return this[this.$node.is("a")?"_initSlidesFromAnchors":"_initSlidesFromContent"](),this.nodes.$sldr.children().css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px"))},_initSlidesFromAnchors:function(){var i=this;this.nodes.$anchors.each(function(e){var t=s(this),n=s('<div class="'+o.slide+" "+o.loading+'" />').data(d.anchor,t).appendTo(i.nodes.$sldr);t.data(d.slide,n).on(a.click,function(s){s.preventDefault(),i.open(e)})})},_initSlidesFromContent:function(){var i=this;this.$node.children().each(function(){var t=s(this);s('<div class="'+o.slide+'" />').append(t).appendTo(i.nodes.$sldr);for(var n in s[e].media){var d=null;if(i.opts.media[n]&&i.opts.media[n].filterSlides&&(d=i.opts.media[n].filterSlides.call(i,t)),"boolean"!=typeof d&&(d=s[e].media[n].filterSlides.call(i,t)),d){s[e].media[n].initSlides.call(i,t),t.parent().addClass(o(n));break}}})},_loadContents:function(){var s=this;switch(this.opts.slides.load){case"all":this._loadContent(0,this.slides.total);break;case"visible":this._loadContent(this.slides.index,this.slides.index+this.slides.visible);break;case"near-visible":default:this._loadContent(this.slides.index,this.slides.index+this.slides.visible),setTimeout(function(){s._loadContent(s.slides.index-s.slides.visible,s.slides.index),s._loadContent(s.slides.index+s.slides.visible,s.slides.index+2*s.slides.visible)},this.conf.transitionDuration)}},_loadContent:function(i,t){var n=this;this.nodes.$slides.slice(i,t).each(function(){var i=s(this);if(0==i.children().length){var t=i.data(d.anchor),r=t.attr("href");for(var l in s[e].media){var h=null;if(n.opts.media[l]&&n.opts.media[l].filterAnchors&&(h=n.opts.media[l].filterAnchors.call(n,t)),"boolean"!=typeof h&&(h=s[e].media[l].filterAnchors.call(n,t)),h){s[e].media[l].initAnchors.call(n,i,r),i.addClass(o(l));break}}i.trigger(a.loading,[i.data(d.anchor)])}})},_complementOptions:function(){if("undefined"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=this.$node.is("a")?"window":this.$node),"window"!=this.opts.wrapper.target&&"string"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=s(this.opts.wrapper.target)),this.opts.show=r.complBoolean(this.opts.show,"window"!=this.opts.wrapper.target),s.isNumeric(this.opts.slides.width))this.slides.widthPercentage=!1,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,1);else{var i=r.isPercentage(this.opts.slides.width)?r.getPercentage(this.opts.slides.width):!1;this.slides.widthPercentage=!0,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,i?Math.floor(100/i):1),this.opts.slides.width=i?i:Math.ceil(1e4/this.opts.slides.visible)/100}this.opts.slides.slide=r.complNumber(this.opts.slides.slide,this.opts.slides.visible),this.opts.slides.offset=r.isPercentage(this.opts.slides.offset)?r.getPercentage(this.opts.slides.offset):r.complNumber(this.opts.slides.offset,0)},_uniqueID:function(){return this.__uniqueID||(this.__uniqueID=0),this.__uniqueID++,o("uid-"+this.__uniqueID)}},s.fn[e]=function(t,n,o,d){l.$wndw||i(),t=s.extend(!0,{},s[e].defaults,t),t=s.extend(!0,{},t,s[e].support.touch?o:n),d=s.extend(!0,{},s[e].configuration,d);var a=new s[e](this,t,d);return this.data(e,a),a.nodes.$wrpr},s[e].support={touch:"ontouchstart"in window.document||navigator.msMaxTouchPoints},s[e].defaults={infinite:!1,effect:"slide",wrapper:{classes:"",onClick:"toggleUI"},slides:{offset:0,scale:"fit",load:"near-visible",visible:1},media:{}},s[e].configuration={transitionDuration:400},s[e].constants={},s[e].debug=function(){},s[e].deprecated=function(s,i){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn(e+": "+s+" is deprecated, use "+i+" instead.")},s[e].effects={slide:function(s){this.nodes.$sldr.css("left",s)},fade:function(i){r.transitionend(this.nodes.$sldr,function(){s(this).css("left",i).css("opacity",1)},this.conf.transitionDuration),this.nodes.$sldr.css("opacity",0)}},s[e].version=n,s[e].media={},s[e].addons=[],s[e].ui=[]}}(jQuery);
14
+ /*
15
+ * jQuery Touch Optimized Sliders "R"Us
16
+ * Autoplay addon
17
+ *
18
+ * Copyright (c) Fred Heusschen
19
+ * www.frebsite.nl
20
+ */
21
+ !function(t){var o,s,u,a,i,n="tosrus",e="autoplay",p=!1;t[n].prototype["_addon_"+e]=function(){p||(o=t[n]._c,s=t[n]._d,u=t[n]._e,a=t[n]._f,i=t[n]._g,u.add("mouseover mouseout"),p=!0);var r=this,y=this.opts[e];y.play&&(this.opts.infinite=!0,this.nodes.$wrpr.on(u.sliding,function(){r.autoplay()}),y.pauseOnHover&&this.nodes.$wrpr.on(u.mouseover,function(){r.autostop()}).on(u.mouseout,function(){r.autoplay()}),this.autoplay())},t[n].prototype.autoplay=function(){var t=this;this.autostop(),this.vars.autoplay=setTimeout(function(){t.next()},this.opts[e].timeout)},t[n].prototype.autostop=function(){this.vars.autoplay&&clearTimeout(this.vars.autoplay)},t[n].defaults[e]={play:!1,timeout:4e3,pauseOnHover:!1},t[n].addons.push(e)}(jQuery);
22
+ /*
23
+ * jQuery Touch Optimized Sliders "R"Us
24
+ * Buttons addon
25
+ *
26
+ * Copyright (c) Fred Heusschen
27
+ * www.frebsite.nl
28
+ */
29
+ !function(s){function e(e,n){return s('<a class="'+t[e]+n+'" href="#"><span></span></a>')}function n(s,e,n,t){e.on(o.click,function(e){e.preventDefault(),e.stopPropagation(),s.trigger(o[n],[t])})}var t,i,o,d,p,l="tosrus",r="buttons",a=!1;s[l].prototype["_addon_"+r]=function(){a||(t=s[l]._c,i=s[l]._d,o=s[l]._e,d=s[l]._f,p=s[l]._g,t.add("prev next close disabled"),a=!0);var u=this,h=this.opts[r];this.nodes.$prev=null,this.nodes.$next=null,this.nodes.$clse=null,("boolean"==typeof h||"string"==typeof h&&"inline"==h)&&(h={prev:h,next:h}),"undefined"==typeof h.close&&(h.close=this.vars.fixed),this.nodes.$slides.length<2&&(h.prev=!1,h.next=!1),s.each({prev:"prev",next:"next",close:"clse"},function(i,d){h[i]&&("string"==typeof h[i]&&"inline"==h[i]?u.vars.fixed&&"close"!=i&&u.nodes.$slides.on(o.loading,function(){var o=e(i," "+t.inline)["prev"==i?"prependTo":"appendTo"](this);n(u.nodes.$wrpr,o,i,1),u.opts.infinite||("prev"==i&&s(this).is(":first-child")||"next"==i&&s(this).is(":last-child"))&&o.addClass(t.disabled)}):("string"==typeof h[i]&&(h[i]=s(h[i])),u.nodes["$"+d]=h[i]instanceof s?h[i]:e(i,"").appendTo(u.nodes.$wrpr),n(u.nodes.$wrpr,u.nodes["$"+d],i,null)))}),this.opts.infinite||(this.updateButtons(),this.nodes.$wrpr.on(o.sliding,function(){u.updateButtons()}))},s[l].prototype.updateButtons=function(){this.nodes.$prev&&this.nodes.$prev[(this.slides.index<1?"add":"remove")+"Class"](t.disabled),this.nodes.$next&&this.nodes.$next[(this.slides.index>=this.slides.total-this.slides.visible?"add":"remove")+"Class"](t.disabled)},s[l].defaults[r]={prev:!s[l].support.touch,next:!s[l].support.touch},s[l].addons.push(r),s[l].ui.push("prev"),s[l].ui.push("next"),s[l].ui.push("close")}(jQuery);
30
+ /*
31
+ * jQuery Touch Optimized Sliders "R"Us
32
+ * Caption addon
33
+ *
34
+ * Copyright (c) Fred Heusschen
35
+ * www.frebsite.nl
36
+ */
37
+ !function(t){var i,s,a,e,d,n="tosrus",r="caption",o=!1;t[n].prototype["_addon_"+r]=function(){o||(i=t[n]._c,s=t[n]._d,a=t[n]._e,e=t[n]._f,d=t[n]._g,i.add("caption uibg"),s.add("caption"),o=!0);var p=this,c=this.opts[r];if(c.add){c.attributes=c.attributes||[],"string"==typeof c.target&&(c.target=t(c.target)),c.target instanceof t?this.nodes.$capt=c.target:(this.nodes.$capt=t('<div class="'+i.caption+'" />').appendTo(this.nodes.$wrpr),this.nodes.$uibg||(this.nodes.$uibg=t('<div class="'+i.uibg+'" />').prependTo(this.nodes.$wrpr)));for(var h=0,l=this.slides.visible;l>h;h++)t('<div class="'+i.caption+"-"+h+'" />').css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px")).appendTo(this.nodes.$capt);this.nodes.$slides.each(function(){var i=t(this),a=p.vars.fixed?i.data(s.anchor):i.children();i.data(s.caption,"");for(var e=0,d=c.attributes.length;d>e;e++){var n=a.attr(c.attributes[e]);if(n&&n.length){i.data(s.caption,n);break}}}),this.nodes.$wrpr.on(a.sliding,function(){for(var t=0,i=p.slides.visible;i>t;t++)p.nodes.$capt.children().eq(t).text(p.nodes.$sldr.children().eq(p.slides.index+t).data(s.caption)||"")})}},t[n].defaults[r]={add:!1,target:null,attributes:["title","alt","rel"]},t[n].addons.push(r),t[n].ui.push("caption")}(jQuery);
38
+ /*
39
+ * jQuery Touch Optimized Sliders "R"Us
40
+ * Drag addon
41
+ *
42
+ * Copyright (c) Fred Heusschen
43
+ * www.frebsite.nl
44
+ */
45
+ !function(e){if("function"==typeof Hammer){var n,s,t,i,r,a="tosrus",o="drag",d=!1;e[a].prototype["_addon_"+o]=function(){d||(n=e[a]._c,s=e[a]._d,t=e[a]._e,i=e[a]._f,r=e[a]._g,d=!0);var l=this;if(this.opts[o]&&"slide"==this.opts.effect){if(Hammer.VERSION<2)return e[a].deprecated("Older version of the Hammer library","version 2 or newer"),void 0;if(this.nodes.$slides.length>1){var f=0,p=!1,h=!1,c=new Hammer(this.nodes.$wrpr[0]);c.on("panstart panleft panright panend swipeleft swiperight",function(e){e.preventDefault()}).on("panstart",function(){l.nodes.$sldr.addClass(n.noanimation)}).on("panleft panright",function(e){switch(f=e.deltaX,h=!1,e.direction){case 2:p="left";break;case 4:p="right";break;default:p=!1}("left"==p&&l.slides.index+l.slides.visible>=l.slides.total||"right"==p&&0==l.slides.index)&&(f/=2.5),l.nodes.$sldr.css("margin-left",Math.round(f))}).on("swipeleft swiperight",function(){h=!0}).on("panend",function(){if(l.nodes.$sldr.removeClass(n.noanimation).addClass(n.fastanimation),i.transitionend(l.nodes.$sldr,function(){l.nodes.$sldr.removeClass(n.fastanimation)},l.conf.transitionDuration/2),l.nodes.$sldr.css("margin-left",0),"left"==p||"right"==p){if(h)var e=l.slides.visible;else var s=l.nodes.$slides.first().width(),e=Math.floor((Math.abs(f)+s/2)/s);e>0&&l.nodes.$wrpr.trigger(t["left"==p?"next":"prev"],[e])}p=!1})}}},e[a].defaults[o]=e[a].support.touch,e[a].addons.push(o)}}(jQuery);
46
+ /*
47
+ * jQuery Touch Optimized Sliders "R"Us
48
+ * Keys addon
49
+ *
50
+ * Copyright (c) Fred Heusschen
51
+ * www.frebsite.nl
52
+ */
53
+ !function(e){var t,o,n,s,a,r="tosrus",p="keys",c=!1;e[r].prototype["_addon_"+p]=function(){c||(t=e[r]._c,o=e[r]._d,n=e[r]._e,s=e[r]._f,a=e[r]._g,n.add("keyup"),c=!0);var i=this,d=this.opts[p];if("boolean"==typeof d&&d&&(d={prev:!0,next:!0,close:!0}),e.isPlainObject(d)){for(var f in e[r].constants[p])"boolean"==typeof d[f]&&d[f]&&(d[f]=e[r].constants[p][f]);this.nodes.$slides.length<2&&(d.prev=!1,d.next=!1),e(document).on(n.keyup,function(e){if(i.vars.opened){var t=!1;switch(e.keyCode){case d.prev:t=n.prev;break;case d.next:t=n.next;break;case d.close:t=n.close}t&&(e.preventDefault(),e.stopPropagation(),i.nodes.$wrpr.trigger(t))}})}},e[r].defaults[p]=!1,e[r].constants[p]={prev:37,next:39,close:27},e[r].addons.push(p)}(jQuery);
54
+ /*
55
+ * jQuery Touch Optimized Sliders "R"Us
56
+ * Pagination addon
57
+ *
58
+ * Copyright (c) Fred Heusschen
59
+ * www.frebsite.nl
60
+ */
61
+ !function(t){var e,i,n,s,a,r="tosrus",o="pagination",d=!1;t[r].prototype["_addon_"+o]=function(){d||(e=t[r]._c,i=t[r]._d,n=t[r]._e,s=t[r]._f,a=t[r]._g,e.add("pagination selected uibg bullets thumbnails"),d=!0);var u=this,l=this.opts[o];if(this.nodes.$slides.length<2&&(l.add=!1),l.add){if("string"==typeof l.target&&(l.target=t(l.target)),l.target instanceof t?this.nodes.$pagr=l.target:(this.nodes.$pagr=t('<div class="'+e.pagination+" "+e[l.type]+'" />').appendTo(this.nodes.$wrpr),this.nodes.$uibg||(this.nodes.$uibg=t('<div class="'+e.uibg+'" />').prependTo(this.nodes.$wrpr))),"function"!=typeof l.anchorBuilder)switch(l.type){case"thumbnails":var h='<a href="#" style="background-image: url(',p=');"></a>';l.anchorBuilder=this.vars.fixed?function(){return h+t(this).data(i.anchor).attr("href")+p}:function(){return h+t(this).find("img").attr("src")+p};break;case"bullets":default:l.anchorBuilder=function(){return'<a href="#"></a>'}}this.nodes.$slides.each(function(e){t(l.anchorBuilder.call(this,e+1)).appendTo(u.nodes.$pagr).on(n.click,function(t){t.preventDefault(),t.stopPropagation(),u.nodes.$wrpr.trigger(n.slideTo,[e])})}),this.updatePagination(),this.nodes.$wrpr.on(n.sliding,function(){u.updatePagination()})}},t[r].prototype.updatePagination=function(){this.nodes.$pagr&&this.nodes.$pagr.children().removeClass(e.selected).eq(this.slides.index).addClass(e.selected)},t[r].defaults[o]={add:!1,type:"bullets",target:null,anchorBuilder:null},t[r].addons.push(o),t[r].ui.push("pagination"),t[r].ui.push("bullets"),t[r].ui.push("thumbnails")}(jQuery);
62
+ /*
63
+ * jQuery Touch Optimized Sliders "R"Us
64
+ * HTML media
65
+ *
66
+ * Copyright (c) Fred Heusschen
67
+ * www.frebsite.nl
68
+ */
69
+ !function(i){var e="tosrus",n="html";i[e].media[n]={filterAnchors:function(e){var n=e.attr("href");return"#"==n.slice(0,1)&&i(n).is("div")},initAnchors:function(n,t){i('<div class="'+i[e]._c("html")+'" />').append(i(t)).appendTo(n),n.removeClass(i[e]._c.loading).trigger(i[e]._e.loaded)},filterSlides:function(i){return i.is("div")},initSlides:function(){}},i[e].defaults.media[n]={}}(jQuery);
70
+ /*
71
+ * jQuery Touch Optimized Sliders "R"Us
72
+ * Images media
73
+ *
74
+ * Copyright (c) Fred Heusschen
75
+ * www.frebsite.nl
76
+ */
77
+ !function(i){var e="tosrus",n="image";i[e].media[n]={filterAnchors:function(e){return i.inArray(e.attr("href").toLowerCase().split(".").pop().split("?")[0],["jpg","jpe","jpeg","gif","png"])>-1},initAnchors:function(n,r){i('<img border="0" />').on(i[e]._e.load,function(r){r.stopPropagation(),n.removeClass(i[e]._c.loading).trigger(i[e]._e.loaded)}).appendTo(n).attr("src",r)},filterSlides:function(i){return i.is("img")},initSlides:function(){}},i[e].defaults.media[n]={}}(jQuery);
78
+ /*
79
+ * jQuery Touch Optimized Sliders "R"Us
80
+ * Vimeo media
81
+ *
82
+ * Copyright (c) Fred Heusschen
83
+ * www.frebsite.nl
84
+ */
85
+ !function(i){function t(t){function l(){f.length&&(f.attr("src",""),f.attr("src",h))}c||(a=i[s]._c,e=i[s]._d,o=i[s]._e,r=i[s]._f,n=i[s]._g,e.add("ratio maxWidth maxHeight"),c=!0);var f=t.children(),m=t.data(i[s]._d.anchor)||i(),h=f.attr("src"),u=m.data(e.ratio)||this.opts[d].ratio,g=m.data(e.maxWidth)||this.opts[d].maxWidth,p=m.data(e.maxHeight)||this.opts[d].maxHeight;t.removeClass(a.loading).trigger(o.loaded).on(o.loading,function(){r.resizeRatio(f,t,g,p,u)}),this.nodes.$wrpr.on(o.sliding,function(){l()}).on(o.closing,function(){l()}),n.$wndw.on(o.resize,function(){r.resizeRatio(f,t,g,p,u)})}var a,e,o,r,n,s="tosrus",d="vimeo",c=!1;i[s].media[d]={filterAnchors:function(i){return i.attr("href").toLowerCase().indexOf("vimeo.com/")>-1},initAnchors:function(a,e){var o=this._uniqueID();e=e.split("vimeo.com/")[1].split("?")[0]+"?api=1&player_id="+o,i('<iframe id="'+o+'" src="http://player.vimeo.com/video/'+e+'" frameborder="0" allowfullscreen />').appendTo(a),t.call(this,a)},filterSlides:function(i){return i.is("iframe")&&i.attr("src")?i.attr("src").toLowerCase().indexOf("vimeo.com/video/")>-1:!1},initSlides:function(i){t.call(this,i)}},i[s].defaults.media[d]={},i[s].defaults[d]={ratio:16/9,maxWidth:!1,maxHeight:!1}}(jQuery);
86
+ /*
87
+ * jQuery Touch Optimized Sliders "R"Us
88
+ * Youtube media
89
+ *
90
+ * Copyright (c) Fred Heusschen
91
+ * www.frebsite.nl
92
+ */
93
+ !function(t){function e(e){function u(t){l.length&&l[0].contentWindow.postMessage('{ "event": "command", "func": "'+t+'Video" }',"*")}c||(i=t[s]._c,o=t[s]._d,a=t[s]._e,n=t[s]._f,r=t[s]._g,o.add("ratio maxWidth maxHeight"),c=!0);var l=e.children(),m=e.data(t[s]._d.anchor)||t(),f=m.data(o.ratio)||this.opts[d].ratio,h=m.data(o.maxWidth)||this.opts[d].maxWidth,p=m.data(o.maxHeight)||this.opts[d].maxHeight;e.removeClass(i.loading).trigger(a.loaded).on(a.loading,function(){n.resizeRatio(l,e,h,p,f)}),this.nodes.$wrpr.on(a.sliding,function(){u("pause")}).on(a.closing,function(){u("stop")}),r.$wndw.on(a.resize,function(){n.resizeRatio(l,e,h,p,f)})}var i,o,a,n,r,s="tosrus",d="youtube",c=!1;t[s].media[d]={filterAnchors:function(t){return t.attr("href").toLowerCase().indexOf("youtube.com/watch?v=")>-1},initAnchors:function(i,o){var a=o;o=o.split("?v=")[1].split("&")[0],this.opts[d].imageLink?(o="http://img.youtube.com/vi/"+o+"/0.jpg",t('<a href="'+a+'" class="'+t[s]._c("play")+'" target="_blank" />').appendTo(i),t('<img border="0" />').on(t[s]._e.load,function(e){e.stopPropagation(),i.removeClass(t[s]._c.loading).trigger(t[s]._e.loaded)}).appendTo(i).attr("src",o)):(t('<iframe src="http://www.youtube.com/embed/'+o+'?enablejsapi=1" frameborder="0" allowfullscreen />').appendTo(i),e.call(this,i))},filterSlides:function(t){return t.is("iframe")&&t.attr("src")?t.attr("src").toLowerCase().indexOf("youtube.com/embed/")>-1:!1},initSlides:function(t){e.call(this,t)}},t[s].defaults.media[d]={},t[s].defaults[d]={ratio:16/9,maxWidth:!1,maxHeight:!1,imageLink:t[s].support.touch}}(jQuery);
assets/tosrus/js/jquery.tosrus.min.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery Touch Optimized Sliders "R"Us 2.4.0
3
+ *
4
+ * Copyright (c) Fred Heusschen
5
+ * www.frebsite.nl
6
+ *
7
+ * Plugin website:
8
+ * tosrus.frebsite.nl
9
+ *
10
+ * Licensed under the MIT license.
11
+ * http://en.wikipedia.org/wiki/MIT_License
12
+ */
13
+ !function(s){function i(){o=function(s){return t+"-"+s},d=function(s){return t+"-"+s},a=function(s){return s+"."+t},s.each([o,d,a],function(s,i){i.add=function(s){s=s.split(" ");for(var e in s)i[s[e]]=i(s[e])}}),o.add("touch desktop scale-1 scale-2 scale-3 wrapper opened opening fixed inline hover slider slide loading noanimation fastanimation"),d.add("slide anchor"),a.add("open opening close closing prev next slideTo sliding click pinch scroll resize orientationchange load loading loaded transitionend webkitTransitionEnd"),r={complObject:function(i,e){return s.isPlainObject(i)||(i=e),i},complBoolean:function(s,i){return"boolean"!=typeof s&&(s=i),s},complNumber:function(i,e){return s.isNumeric(i)||(i=e),i},complString:function(s,i){return"string"!=typeof s&&(s=i),s},isPercentage:function(s){return"string"==typeof s&&"%"==s.slice(-1)},getPercentage:function(s){return parseInt(s.slice(0,-1))},resizeRatio:function(s,i,e,t,n){var o=i.width(),d=i.height();e&&o>e&&(o=e),t&&d>t&&(d=t),n>o/d?d=o/n:o=d*n,s.width(o).height(d)},transitionend:function(s,i,e){var t=!1,n=function(){t||i.call(s[0]),t=!0};s.one(a.transitionend,n),s.one(a.webkitTransitionEnd,n),setTimeout(n,1.1*e)},setViewportScale:function(){if(l.viewportScale){var s=l.viewportScale.getScale();"undefined"!=typeof s&&(s=1/s,l.$body.removeClass(o["scale-1"]).removeClass(o["scale-2"]).removeClass(o["scale-3"]).addClass(o["scale-"+Math.max(Math.min(Math.round(s),3),1)]))}}},l={$wndw:s(window),$html:s("html"),$body:s("body"),scrollPosition:0,viewportScale:null,viewportScaleInterval:null},l.$body.addClass(s[e].support.touch?o.touch:o.desktop),l.$wndw.on(a.scroll,function(s){l.$body.hasClass(o.opened)&&(window.scrollTo(0,l.scrollPosition),s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation())}),!l.viewportScale&&s[e].support.touch&&"undefined"!=typeof FlameViewportScale&&(l.viewportScale=new FlameViewportScale,r.setViewportScale(),l.$wndw.on(a.orientationchange+" "+a.resize,function(){l.viewportScaleInterval&&(clearTimeout(l.viewportScaleInterval),l.viewportScaleInterval=null),l.viewportScaleInterval=setTimeout(function(){r.setViewportScale()},500)})),s[e]._c=o,s[e]._d=d,s[e]._e=a,s[e]._f=r,s[e]._g=l}var e="tosrus",t="tos",n="2.4.0";if(!s[e]){var o={},d={},a={},r={},l={};s[e]=function(s,i,e){return this.$node=s,this.opts=i,this.conf=e,this.vars={},this.nodes={},this.slides={},this._init(),this},s[e].prototype={_init:function(){var i=this;this._complementOptions(),this.vars.fixed="window"==this.opts.wrapper.target,this.nodes.$wrpr=s('<div class="'+o.wrapper+'" />'),this.nodes.$sldr=s('<div class="'+o.slider+'" />').appendTo(this.nodes.$wrpr),this.nodes.$wrpr.addClass(this.vars.fixed?o.fixed:o.inline).addClass(o("fx-"+this.opts.effect)).addClass(o(this.opts.slides.scale)).addClass(this.opts.wrapper.classes),this.nodes.$wrpr.on(a.open+" "+a.close+" "+a.prev+" "+a.next+" "+a.slideTo,function(s){arguments=Array.prototype.slice.call(arguments);var s=arguments.shift(),e=s.type;s.stopPropagation(),"function"==typeof i[e]&&i[e].apply(i,arguments)}).on(a.opening+" "+a.closing+" "+a.sliding+" "+a.loading+" "+a.loaded,function(s){s.stopPropagation()}).on(a.click,function(e){switch(e.stopPropagation(),i.opts.wrapper.onClick){case"toggleUI":i.nodes.$wrpr.toggleClass(o.hover);break;case"close":s(e.target).is("img")||i.close()}}),this.nodes.$anchors=this._initAnchors(),this.nodes.$slides=this._initSlides(),this.slides.total=this.nodes.$slides.length,this.slides.visible=this.opts.slides.visible,this.slides.index=0,this.vars.opened=!0;for(var t=0;t<s[e].addons.length;t++)s.isFunction(this["_addon_"+s[e].addons[t]])&&this["_addon_"+s[e].addons[t]]();for(var n=0;n<s[e].ui.length;n++)this.nodes.$wrpr.find("."+o[s[e].ui[n]]).length&&this.nodes.$wrpr.addClass(o("has-"+s[e].ui[n]));"close"==this.opts.wrapper.onClick&&this.nodes.$uibg.add(this.nodes.$capt||s()).add(this.nodes.$pagr||s()).on(a.click,function(s){s.stopPropagation()}),this.vars.fixed?(this.nodes.$wrpr.appendTo(l.$body),this.close(!0)):(this.nodes.$wrpr.appendTo(this.opts.wrapper.target),this.opts.show?(this.vars.opened=!1,this.open(0,!0)):this.close(!0))},open:function(i,e){var t=this;this.vars.opened||(this.vars.fixed&&(l.scrollPosition=l.$wndw.scrollTop(),l.$body.addClass(o.opened),r.setViewportScale()),e?this.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e]):setTimeout(function(){t.nodes.$wrpr.addClass(o.opening).trigger(a.opening,[i,e])},5),this.nodes.$wrpr.addClass(o.hover).addClass(o.opened)),this.vars.opened=!0,this._loadContents(),s.isNumeric(i)&&(e=e||!this.vars.opened,this.slideTo(i,e))},close:function(i){this.vars.opened&&(this.vars.fixed&&l.$body.removeClass(o.opened),i?this.nodes.$wrpr.removeClass(o.opened):r.transitionend(this.nodes.$wrpr,function(){s(this).removeClass(o.opened)},this.conf.transitionDuration),this.nodes.$wrpr.removeClass(o.hover).removeClass(o.opening).trigger(a.closing,[this.slides.index,i])),this.vars.opened=!1},prev:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index-i,e)},next:function(i,e){s.isNumeric(i)||(i=this.opts.slides.slide),this.slideTo(this.slides.index+i,e)},slideTo:function(i,t){if(!this.vars.opened)return!1;if(!s.isNumeric(i))return!1;var n=!0;if(0>i){var d=0==this.slides.index;this.opts.infinite?i=d?this.slides.total-this.slides.visible:0:(i=0,d&&(n=!1))}if(i+this.slides.visible>this.slides.total){var l=this.slides.index+this.slides.visible>=this.slides.total;this.opts.infinite?i=l?0:this.slides.total-this.slides.visible:(i=this.slides.total-this.slides.visible,l&&(n=!1))}if(this.slides.index=i,this._loadContents(),n){var h=0-this.slides.index*this.opts.slides.width+this.opts.slides.offset;this.slides.widthPercentage&&(h+="%"),t&&(this.nodes.$sldr.addClass(o.noanimation),r.transitionend(this.nodes.$sldr,function(){s(this).removeClass(o.noanimation)},5));for(var c in s[e].effects)if(c==this.opts.effect){s[e].effects[c].call(this,h,t);break}this.nodes.$wrpr.trigger(a.sliding,[i,t])}},_initAnchors:function(){var i=this,t=s();if(this.$node.is("a"))for(var n in s[e].media)t=t.add(this.$node.filter(function(){if(i.opts.media[n]&&i.opts.media[n].filterAnchors){var t=i.opts.media[n].filterAnchors.call(i,s(this));if("boolean"==typeof t)return t}return s[e].media[n].filterAnchors.call(i,s(this))}));return t},_initSlides:function(){return this[this.$node.is("a")?"_initSlidesFromAnchors":"_initSlidesFromContent"](),this.nodes.$sldr.children().css("width",this.opts.slides.width+(this.slides.widthPercentage?"%":"px"))},_initSlidesFromAnchors:function(){var i=this;this.nodes.$anchors.each(function(e){var t=s(this),n=s('<div class="'+o.slide+" "+o.loading+'" />').data(d.anchor,t).appendTo(i.nodes.$sldr);t.data(d.slide,n).on(a.click,function(s){s.preventDefault(),i.open(e)})})},_initSlidesFromContent:function(){var i=this;this.$node.children().each(function(){var t=s(this);s('<div class="'+o.slide+'" />').append(t).appendTo(i.nodes.$sldr);for(var n in s[e].media){var d=null;if(i.opts.media[n]&&i.opts.media[n].filterSlides&&(d=i.opts.media[n].filterSlides.call(i,t)),"boolean"!=typeof d&&(d=s[e].media[n].filterSlides.call(i,t)),d){s[e].media[n].initSlides.call(i,t),t.parent().addClass(o(n));break}}})},_loadContents:function(){var s=this;switch(this.opts.slides.load){case"all":this._loadContent(0,this.slides.total);break;case"visible":this._loadContent(this.slides.index,this.slides.index+this.slides.visible);break;case"near-visible":default:this._loadContent(this.slides.index,this.slides.index+this.slides.visible),setTimeout(function(){s._loadContent(s.slides.index-s.slides.visible,s.slides.index),s._loadContent(s.slides.index+s.slides.visible,s.slides.index+2*s.slides.visible)},this.conf.transitionDuration)}},_loadContent:function(i,t){var n=this;this.nodes.$slides.slice(i,t).each(function(){var i=s(this);if(0==i.children().length){var t=i.data(d.anchor),r=t.attr("href");for(var l in s[e].media){var h=null;if(n.opts.media[l]&&n.opts.media[l].filterAnchors&&(h=n.opts.media[l].filterAnchors.call(n,t)),"boolean"!=typeof h&&(h=s[e].media[l].filterAnchors.call(n,t)),h){s[e].media[l].initAnchors.call(n,i,r),i.addClass(o(l));break}}i.trigger(a.loading,[i.data(d.anchor)])}})},_complementOptions:function(){if("undefined"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=this.$node.is("a")?"window":this.$node),"window"!=this.opts.wrapper.target&&"string"==typeof this.opts.wrapper.target&&(this.opts.wrapper.target=s(this.opts.wrapper.target)),this.opts.show=r.complBoolean(this.opts.show,"window"!=this.opts.wrapper.target),s.isNumeric(this.opts.slides.width))this.slides.widthPercentage=!1,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,1);else{var i=r.isPercentage(this.opts.slides.width)?r.getPercentage(this.opts.slides.width):!1;this.slides.widthPercentage=!0,this.opts.slides.visible=r.complNumber(this.opts.slides.visible,i?Math.floor(100/i):1),this.opts.slides.width=i?i:Math.ceil(1e4/this.opts.slides.visible)/100}this.opts.slides.slide=r.complNumber(this.opts.slides.slide,this.opts.slides.visible),this.opts.slides.offset=r.isPercentage(this.opts.slides.offset)?r.getPercentage(this.opts.slides.offset):r.complNumber(this.opts.slides.offset,0)},_uniqueID:function(){return this.__uniqueID||(this.__uniqueID=0),this.__uniqueID++,o("uid-"+this.__uniqueID)}},s.fn[e]=function(t,n,o,d){l.$wndw||i(),t=s.extend(!0,{},s[e].defaults,t),t=s.extend(!0,{},t,s[e].support.touch?o:n),d=s.extend(!0,{},s[e].configuration,d);var a=new s[e](this,t,d);return this.data(e,a),a.nodes.$wrpr},s[e].support={touch:"ontouchstart"in window.document||navigator.msMaxTouchPoints},s[e].defaults={infinite:!1,effect:"slide",wrapper:{classes:"",onClick:"toggleUI"},slides:{offset:0,scale:"fit",load:"near-visible",visible:1},media:{}},s[e].configuration={transitionDuration:400},s[e].constants={},s[e].debug=function(){},s[e].deprecated=function(s,i){"undefined"!=typeof console&&"undefined"!=typeof console.warn&&console.warn(e+": "+s+" is deprecated, use "+i+" instead.")},s[e].effects={slide:function(s){this.nodes.$sldr.css("left",s)},fade:function(i){r.transitionend(this.nodes.$sldr,function(){s(this).css("left",i).css("opacity",1)},this.conf.transitionDuration),this.nodes.$sldr.css("opacity",0)}},s[e].version=n,s[e].media={},s[e].addons=[],s[e].ui=[]}}(jQuery);
includes/class-frontend.php CHANGED
@@ -50,11 +50,11 @@ class Responsive_Lightbox_Frontend {
50
  * @return mixed
51
  */
52
  public function add_videos_lightbox_selector( $content ) {
53
- preg_match_all( '/<a(.*?)href=(?:\'|")((?:(?:http|https):\/\/)?(?:www\.)?(((?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/watch\?.+&v=))([\w-]{11})(?:.+))|(vimeo\.com\/[0-9]*)))(?:\'|")(.*?)>/i', $content, $links );
54
 
55
  if ( isset( $links[0] ) ) {
56
  foreach ( $links[0] as $id => $link ) {
57
- if ( preg_match( '/<a.*?rel=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
58
  if ( isset( $result[1] ) ) {
59
  $new_rels = array();
60
  $rels = explode( ' ', $result[1] );
@@ -65,16 +65,16 @@ class Responsive_Lightbox_Frontend {
65
  $new_rels[] = $rel;
66
  }
67
 
68
- $content = str_replace( $link, preg_replace( '/rel=(?:\'|")(.*?)(?:\'|")/', 'rel="' . ( ! empty( $new_rel ) ? simplode( ' ', $new_rels ) . ' ' : '') . $this->options['settings']['selector'] . '-video-' . $id . '"', $link ), $content );
69
  } else
70
- $content = str_replace( $link, preg_replace( '/rel=(?:\'|")(.*?)(?:\'|")/', 'rel="' . ( $result[1] !== '' ? $result[1] . ' ' : '' ) . $this->options['settings']['selector'] . '-video-' . $id . '"', $link ), $content );
71
  }
72
  } else {
73
  // swipebox video fix
74
  if ( $this->options['settings']['script'] === 'swipebox' && strpos( $links[2][$id], 'vimeo') !== false ) {
75
  $links[2][$id] = $links[2][$id] . '?width=' . $this->options['configuration']['swipebox']['video_max_width'];
76
  }
77
- $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '" rel="' . $this->options['settings']['selector'] . '-video-' . $id . '">', $content );
78
  }
79
  }
80
  }
@@ -96,9 +96,9 @@ class Responsive_Lightbox_Frontend {
96
  $rel_hash = '[gallery-' . $this->generate_password( 4 ) . ']';
97
 
98
  foreach ( $links[0] as $id => $link ) {
99
- if ( preg_match( '/<a.*?rel=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
100
  if ( $this->options['settings']['images_as_gallery'] === true ) {
101
- $content = str_replace( $link, preg_replace( '/rel=(?:\'|")(.*?)(?:\'|")/', 'rel="' . $this->options['settings']['selector'] . $rel_hash . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
102
  } else {
103
  if ( isset( $result[1] ) ) {
104
  $new_rels = array();
@@ -110,13 +110,13 @@ class Responsive_Lightbox_Frontend {
110
  $new_rels[] = $rel;
111
  }
112
 
113
- $content = str_replace( $link, preg_replace( '/rel=(?:\'|")(.*?)(?:\'|")/', 'rel="' . ( ! empty( $new_rels ) ? implode( ' ', $new_rels ) . ' ' : '' ) . $this->options['settings']['selector'] . '-' . $id . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
114
  } else
115
- $content = str_replace( $link, preg_replace( '/rel=(?:\'|")(.*?)(?:\'|")/', 'rel="' . ( $result[1] !== '' ? $result[1] . ' ' : '' ) . $this->options['settings']['selector'] . '-' . $id . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
116
  }
117
  }
118
  } else
119
- $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' rel="' . $this->options['settings']['selector'] . ( $this->options['settings']['images_as_gallery'] === true ? $rel_hash : '-' . $id ) . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . '>', $content );
120
  }
121
  }
122
 
@@ -140,14 +140,15 @@ class Responsive_Lightbox_Frontend {
140
  $link = str_replace( '<a href', '<a title="'. $title .'" href', $link );
141
  }
142
 
143
- $link = ( preg_match( '/<a.*? rel=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? rel=(?:"|\').*?)((?:"|\').*?>)/', '$1 ' . $this->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 rel="' . $this->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '">', $link ) );
144
-
145
- $link = ( preg_match( '/<a.*? href=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? href=(?:"|\')).*?((?:"|\').*?>)/', '$1' . wp_get_attachment_url( $id ) . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 href="' . wp_get_attachment_url( $id ) . '">', $link ) );
146
 
147
  // gallery image size
148
- if ( $permalink && $this->options['settings']['gallery_image_size'] !== 'full' ) {
149
  $image = wp_get_attachment_image_src( $id, $this->options['settings']['gallery_image_size'] );
150
- $link = preg_replace( '/href=\'(.*?)\'/', 'href=\'' . $image[0] . '\'', $link );
 
 
 
151
  }
152
 
153
  return apply_filters( 'rl_lightbox_attachment_link', $link, $id, $size, $permalink, $icon, $text );
@@ -180,10 +181,10 @@ class Responsive_Lightbox_Frontend {
180
  }
181
  }
182
 
183
- if ( preg_match( '/<a.*?rel=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
184
- $content = str_replace( $link, preg_replace( '/rel=(?:\'|")(.*?)(?:\'|")/', 'rel="' . $this->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '"' . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
185
  } else {
186
- $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' rel="' . $this->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . '>', $content );
187
  }
188
  }
189
  }
50
  * @return mixed
51
  */
52
  public function add_videos_lightbox_selector( $content ) {
53
+ preg_match_all( '/<a(.*?)href=(?:\'|")((?:http|https|)(?::\/\/|)(?:www.|)((?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/ytscreeningroom\?v=|\/feeds\/api\/videos\/|\/user\S*[^\w\-\s]|\S*[^\w\-\s]))([\w\-]{11})[a-z0-9;:@#?&%=+\/\$_.-]*)|((?:http|https|)(?::\/\/|)(?:www.|)(?:vimeo\.com\/[0-9]*(?:.+))))(?:\'|")(.*?)>/i', $content, $links );
54
 
55
  if ( isset( $links[0] ) ) {
56
  foreach ( $links[0] as $id => $link ) {
57
+ if ( preg_match( '/<a.*?(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
58
  if ( isset( $result[1] ) ) {
59
  $new_rels = array();
60
  $rels = explode( ' ', $result[1] );
65
  $new_rels[] = $rel;
66
  }
67
 
68
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( ! empty( $new_rel ) ? simplode( ' ', $new_rels ) . ' ' : '') . $this->options['settings']['selector'] . '-video-' . $id . '"', $link ), $content );
69
  } else
70
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( $result[1] !== '' ? $result[1] . ' ' : '' ) . $this->options['settings']['selector'] . '-video-' . $id . '"', $link ), $content );
71
  }
72
  } else {
73
  // swipebox video fix
74
  if ( $this->options['settings']['script'] === 'swipebox' && strpos( $links[2][$id], 'vimeo') !== false ) {
75
  $links[2][$id] = $links[2][$id] . '?width=' . $this->options['configuration']['swipebox']['video_max_width'];
76
  }
77
+ $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '" data-rel="' . $this->options['settings']['selector'] . '-video-' . $id . '">', $content );
78
  }
79
  }
80
  }
96
  $rel_hash = '[gallery-' . $this->generate_password( 4 ) . ']';
97
 
98
  foreach ( $links[0] as $id => $link ) {
99
+ if ( preg_match( '/<a.*?(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
100
  if ( $this->options['settings']['images_as_gallery'] === true ) {
101
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . $this->options['settings']['selector'] . $rel_hash . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
102
  } else {
103
  if ( isset( $result[1] ) ) {
104
  $new_rels = array();
110
  $new_rels[] = $rel;
111
  }
112
 
113
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( ! empty( $new_rels ) ? implode( ' ', $new_rels ) . ' ' : '' ) . $this->options['settings']['selector'] . '-' . $id . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
114
  } else
115
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . ( $result[1] !== '' ? $result[1] . ' ' : '' ) . $this->options['settings']['selector'] . '-' . $id . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
116
  }
117
  }
118
  } else
119
+ $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' data-rel="' . $this->options['settings']['selector'] . ( $this->options['settings']['images_as_gallery'] === true ? $rel_hash : '-' . $id ) . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . '>', $content );
120
  }
121
  }
122
 
140
  $link = str_replace( '<a href', '<a title="'. $title .'" href', $link );
141
  }
142
 
143
+ $link = ( preg_match( '/<a.*? (?:rel|data-rel)=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? data-rel=(?:"|\').*?)((?:"|\').*?>)/', '$1 ' . $this->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 data-rel="' . $this->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '">', $link ) );
 
 
144
 
145
  // gallery image size
146
+ if ( $this->options['settings']['gallery_image_size'] != 'full' ) {
147
  $image = wp_get_attachment_image_src( $id, $this->options['settings']['gallery_image_size'] );
148
+
149
+ $link = ( preg_match( '/<a.*? href=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? href=(?:"|\')).*?((?:"|\').*?>)/', '$1' . $image[0] . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 href="' . $image[0] . '">', $link ) );
150
+ } else {
151
+ $link = ( preg_match( '/<a.*? href=("|\').*?("|\')>/', $link ) === 1 ? preg_replace( '/(<a.*? href=(?:"|\')).*?((?:"|\').*?>)/', '$1' . wp_get_attachment_url( $id ) . '$2', $link ) : preg_replace( '/(<a.*?)>/', '$1 href="' . wp_get_attachment_url( $id ) . '">', $link ) );
152
  }
153
 
154
  return apply_filters( 'rl_lightbox_attachment_link', $link, $id, $size, $permalink, $icon, $text );
181
  }
182
  }
183
 
184
+ if ( preg_match( '/<a.*?(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|").*?>/', $link, $result ) === 1 ) {
185
+ $content = str_replace( $link, preg_replace( '/(?:rel|data-rel)=(?:\'|")(.*?)(?:\'|")/', 'data-rel="' . $this->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '"' . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ), $link ), $content );
186
  } else {
187
+ $content = str_replace( $link, '<a' . $links[1][$id] . 'href="' . $links[2][$id] . '.' . $links[3][$id] . '"' . $links[4][$id] . ' data-rel="' . $this->options['settings']['selector'] . '[gallery-' . $this->gallery_no . ']' . '"' . ( $this->options['settings']['script'] === 'imagelightbox' ? ' data-imagelightbox="' . $id . '"' : '' ) . ( ! empty ( $title ) ? ' title="' . $title . '"' : '' ) . '>', $content );
188
  }
189
  }
190
  }
includes/class-settings.php CHANGED
@@ -108,12 +108,10 @@ class Responsive_Lightbox_Settings {
108
  ),
109
  'imagelightbox' => array(
110
  'name' => __( 'Image Lightbox', 'responsive-lightbox' )
111
- )
112
- );
113
-
114
- $this->choices = array(
115
- 'yes' => __( 'Enable', 'responsive-lightbox' ),
116
- 'no' => __( 'Disable', 'responsive-lightbox' )
117
  );
118
 
119
  $this->gallery_image_titles = array(
@@ -703,14 +701,14 @@ class Responsive_Lightbox_Settings {
703
  'title' => __( 'Keyboard navigation', 'responsive-lightbox' ),
704
  'section' => 'responsive_lightbox_configuration',
705
  'type' => 'boolean',
706
- 'label' => __( 'Enable to close lightbox on overlay click.', 'responsive-lightbox' ),
707
  'parent' => 'nivo'
708
  ),
709
  'click_overlay_to_close' => array(
710
  'title' => __( 'Click overlay to close', 'responsive-lightbox' ),
711
  'section' => 'responsive_lightbox_configuration',
712
  'type' => 'boolean',
713
- 'label' => __( 'Enable keyboard navigation (left/right/escape).', 'responsive-lightbox' ),
714
  'parent' => 'nivo'
715
  ),
716
  'error_message' => array(
@@ -776,6 +774,85 @@ class Responsive_Lightbox_Settings {
776
 
777
  break;
778
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
779
  default :
780
  break;
781
  }
@@ -942,7 +1019,7 @@ class Responsive_Lightbox_Settings {
942
  if ( $args['type'] === 'multiple' ) {
943
  foreach ( $args['fields'] as $subfield_id => $subfield ) {
944
  $args['fields'][$subfield_id] = wp_parse_args( $subfield, array(
945
- 'id' => $subfield_id,
946
  'class' => ! empty( $subfield['class'] ) ? $subfield['class'] : '',
947
  'name' => $setting['option_name'] . ( ! empty( $subfield['parent'] ) ? '[' . $subfield['parent'] . ']' : '' ) . '[' . $subfield_id . ']',
948
  'default' => $this->sanitize_field( ! empty( $subfield['parent'] ) ? $this->defaults[$setting_key][$subfield['parent']][$subfield_id] : $this->defaults[$setting_key][$subfield_id], $subfield['type'] ),
@@ -981,7 +1058,7 @@ class Responsive_Lightbox_Settings {
981
  return;
982
 
983
  $html = '';
984
-
985
  switch ( $args['type'] ) {
986
 
987
  case ( 'boolean' ) :
@@ -992,14 +1069,14 @@ class Responsive_Lightbox_Settings {
992
  case ( 'radio' ) :
993
 
994
  foreach ( $args['options'] as $key => $name ) {
995
- $html .= '<label class="cb-radio"><input id="' . $args['id'] . '-' . $key . '" type="radio" name="' . $args['name'] . '" value="' . $key . '" ' . checked( $key, $args['value'], false ) . ' />' . $name . '</label>';
996
  }
997
  break;
998
 
999
  case ( 'checkbox' ) :
1000
 
1001
  foreach ( $args['options'] as $key => $name ) {
1002
- $html .= '<label class="cb-checkbox"><input id="' . $args['id'] . '-' . $key . '" type="checkbox" name="' . $args['name'] . '" value="' . $key . '" ' . checked( $key, $args['value'], false ) . ' />' . $name . '</label>';
1003
  }
1004
  break;
1005
 
@@ -1018,8 +1095,16 @@ class Responsive_Lightbox_Settings {
1018
 
1019
  $html .= '<fieldset>';
1020
 
1021
- foreach ( $args['fields'] as $subfield_id => $subfield_args ) {
1022
- $html .= $this->render_field( $subfield_args ) . '<br />';
 
 
 
 
 
 
 
 
1023
  }
1024
 
1025
  $html .= '</fieldset>';
@@ -1170,13 +1255,13 @@ class Responsive_Lightbox_Settings {
1170
  if ( $field['fields'] ) {
1171
 
1172
  foreach ( $field['fields'] as $subfield_id => $subfield ) {
1173
-
1174
  // if subfield has parent
1175
- if ( ! empty( $this->settings[$setting_id]['fields'][$subfield_id]['parent'] ) ) {
1176
 
1177
- $field_parent = $this->settings[$setting_id]['fields'][$subfield_id]['parent'];
1178
 
1179
- $input[$field_parent][$zubfield_id] = isset( $input[$field_parent][$subfield_id] ) ? $this->sanitize_field( $input[$field_parent][$subfield_id], $field['type'] ) : ( $field['type'] === 'boolean' ? false : $this->defaults[$setting_id][$field_parent][$subfield_id] );
1180
 
1181
  } else {
1182
 
@@ -1204,6 +1289,7 @@ class Responsive_Lightbox_Settings {
1204
  }
1205
 
1206
  }
 
1207
  }
1208
 
1209
  }
@@ -1226,7 +1312,7 @@ class Responsive_Lightbox_Settings {
1226
  add_settings_error( 'reset' . '_' . $this->settings[$setting_id]['prefix'] . '_' . $setting_id, 'settings_restored', __( 'Settings restored to defaults.', 'responsive-lightbox' ), 'updated' );
1227
 
1228
  }
1229
-
1230
  return $input;
1231
  }
1232
 
108
  ),
109
  'imagelightbox' => array(
110
  'name' => __( 'Image Lightbox', 'responsive-lightbox' )
111
+ ),
112
+ 'tosrus' => array(
113
+ 'name' => __( 'TosRUs', 'responsive-lightbox' ),
114
+ ),
 
 
115
  );
116
 
117
  $this->gallery_image_titles = array(
701
  'title' => __( 'Keyboard navigation', 'responsive-lightbox' ),
702
  'section' => 'responsive_lightbox_configuration',
703
  'type' => 'boolean',
704
+ 'label' => __( 'Enable keyboard navigation (left/right/escape).', 'responsive-lightbox' ),
705
  'parent' => 'nivo'
706
  ),
707
  'click_overlay_to_close' => array(
708
  'title' => __( 'Click overlay to close', 'responsive-lightbox' ),
709
  'section' => 'responsive_lightbox_configuration',
710
  'type' => 'boolean',
711
+ 'label' => __( 'Enable to close lightbox on overlay click.', 'responsive-lightbox' ),
712
  'parent' => 'nivo'
713
  ),
714
  'error_message' => array(
774
 
775
  break;
776
 
777
+ case ( 'tosrus' ) :
778
+
779
+ $this->settings['configuration']['prefix'] = 'rl_tr';
780
+ $this->settings['configuration']['fields'] = array(
781
+ 'effect' => array(
782
+ 'title' => __( 'Transition effect', 'responsive-lightbox' ),
783
+ 'section' => 'responsive_lightbox_configuration',
784
+ 'type' => 'radio',
785
+ 'description' => __( 'What effect to use for the transition.', 'responsive-lightbox' ),
786
+ 'options' => array(
787
+ 'slide' => __( 'slide', 'responsive-lightbox' ),
788
+ 'fade' => __( 'fade', 'responsive-lightbox' )
789
+ ),
790
+ 'parent' => 'tosrus'
791
+ ),
792
+ 'infinite' => array(
793
+ 'title' => __( 'Infinite loop', 'responsive-lightbox' ),
794
+ 'section' => 'responsive_lightbox_configuration',
795
+ 'type' => 'boolean',
796
+ 'label' => __( 'Whether or not to slide back to the first slide when the last has been reached.', 'responsive-lightbox' ),
797
+ 'parent' => 'tosrus'
798
+ ),
799
+ 'keys' => array(
800
+ 'title' => __( 'Keyboard navigation', 'responsive-lightbox' ),
801
+ 'section' => 'responsive_lightbox_configuration',
802
+ 'type' => 'boolean',
803
+ 'label' => __( 'Enable keyboard navigation (left/right/escape).', 'responsive-lightbox' ),
804
+ 'parent' => 'tosrus'
805
+ ),
806
+ 'autoplay' => array(
807
+ 'title' => __( 'Autoplay', 'responsive-lightbox' ),
808
+ 'section' => 'responsive_lightbox_configuration',
809
+ 'type' => 'multiple',
810
+ 'fields' => array(
811
+ 'autoplay' => array(
812
+ 'type' => 'boolean',
813
+ 'label' => __( 'Automatically start slideshow.', 'responsive-lightbox' ),
814
+ 'parent' => 'tosrus'
815
+ ),
816
+ 'timeout' => array(
817
+ 'type' => 'number',
818
+ 'description' => __( 'The timeout between sliding to the next slide in milliseconds.', 'responsive-lightbox' ),
819
+ 'append' => 'ms',
820
+ 'parent' => 'tosrus'
821
+ )
822
+ )
823
+ ),
824
+ 'pause_on_hover' => array(
825
+ 'title' => __( 'Pause on hover', 'responsive-lightbox' ),
826
+ 'section' => 'responsive_lightbox_configuration',
827
+ 'type' => 'boolean',
828
+ 'label' => __( 'Whether or not to pause on hover.', 'responsive-lightbox' ),
829
+ 'parent' => 'tosrus'
830
+ ),
831
+ 'pagination' => array(
832
+ 'title' => __( 'Pagination', 'responsive-lightbox' ),
833
+ 'section' => 'responsive_lightbox_configuration',
834
+ 'type' => 'multiple',
835
+ 'fields' => array(
836
+ 'pagination' => array(
837
+ 'type' => 'boolean',
838
+ 'label' => __( 'Whether or not to add a pagination.', 'responsive-lightbox' ),
839
+ 'parent' => 'tosrus'
840
+ ),
841
+ 'pagination_type' => array(
842
+ 'type' => 'radio',
843
+ 'description' => __( 'What type of pagination to use.', 'responsive-lightbox' ),
844
+ 'options' => array(
845
+ 'bullets' => __( 'Bullets', 'responsive-lightbox' ),
846
+ 'thumbnails' => __( 'Thumbnails', 'responsive-lightbox' )
847
+ ),
848
+ 'parent' => 'tosrus'
849
+ )
850
+ )
851
+ )
852
+ );
853
+
854
+ break;
855
+
856
  default :
857
  break;
858
  }
1019
  if ( $args['type'] === 'multiple' ) {
1020
  foreach ( $args['fields'] as $subfield_id => $subfield ) {
1021
  $args['fields'][$subfield_id] = wp_parse_args( $subfield, array(
1022
+ 'id' => $field_id . '-' . $subfield_id,
1023
  'class' => ! empty( $subfield['class'] ) ? $subfield['class'] : '',
1024
  'name' => $setting['option_name'] . ( ! empty( $subfield['parent'] ) ? '[' . $subfield['parent'] . ']' : '' ) . '[' . $subfield_id . ']',
1025
  'default' => $this->sanitize_field( ! empty( $subfield['parent'] ) ? $this->defaults[$setting_key][$subfield['parent']][$subfield_id] : $this->defaults[$setting_key][$subfield_id], $subfield['type'] ),
1058
  return;
1059
 
1060
  $html = '';
1061
+
1062
  switch ( $args['type'] ) {
1063
 
1064
  case ( 'boolean' ) :
1069
  case ( 'radio' ) :
1070
 
1071
  foreach ( $args['options'] as $key => $name ) {
1072
+ $html .= '<label class="cb-radio"><input id="' . $args['id'] . '-' . $key . '" type="radio" name="' . $args['name'] . '" value="' . $key . '" ' . checked( $key, $args['value'], false ) . ' />' . $name . '</label> ';
1073
  }
1074
  break;
1075
 
1076
  case ( 'checkbox' ) :
1077
 
1078
  foreach ( $args['options'] as $key => $name ) {
1079
+ $html .= '<label class="cb-checkbox"><input id="' . $args['id'] . '-' . $key . '" type="checkbox" name="' . $args['name'] . '" value="' . $key . '" ' . checked( $key, $args['value'], false ) . ' />' . $name . '</label> ';
1080
  }
1081
  break;
1082
 
1095
 
1096
  $html .= '<fieldset>';
1097
 
1098
+ if ( $args['fields'] ) {
1099
+
1100
+ $count = 1;
1101
+ $count_fields = count( $args['fields'] );
1102
+
1103
+ foreach ( $args['fields'] as $subfield_id => $subfield_args ) {
1104
+ $html .= $this->render_field( $subfield_args ) . ( $count < $count_fields ? '<br />' : '' );
1105
+ $count++;
1106
+ }
1107
+
1108
  }
1109
 
1110
  $html .= '</fieldset>';
1255
  if ( $field['fields'] ) {
1256
 
1257
  foreach ( $field['fields'] as $subfield_id => $subfield ) {
1258
+
1259
  // if subfield has parent
1260
+ if ( ! empty( $this->settings[$setting_id]['fields'][$field_id]['fields'][$subfield_id]['parent'] ) ) {
1261
 
1262
+ $field_parent = $this->settings[$setting_id]['fields'][$field_id]['fields'][$subfield_id]['parent'];
1263
 
1264
+ $input[$field_parent][$subfield_id] = isset( $input[$field_parent][$subfield_id] ) ? $this->sanitize_field( $input[$field_parent][$subfield_id], $subfield['type'] ) : ( $subfield['type'] === 'boolean' ? false : $this->defaults[$setting_id][$field_parent][$subfield_id] );
1265
 
1266
  } else {
1267
 
1289
  }
1290
 
1291
  }
1292
+
1293
  }
1294
 
1295
  }
1312
  add_settings_error( 'reset' . '_' . $this->settings[$setting_id]['prefix'] . '_' . $setting_id, 'settings_restored', __( 'Settings restored to defaults.', 'responsive-lightbox' ), 'updated' );
1313
 
1314
  }
1315
+
1316
  return $input;
1317
  }
1318
 
js/front.js CHANGED
@@ -3,8 +3,9 @@
3
  $( document ).ready( function () {
4
 
5
  $( document ).on( 'ready' + rlArgs.custom_events, function () {
 
6
  if ( rlArgs.script === 'swipebox' ) {
7
- $( 'a[rel*="' + rlArgs.selector + '"]' ).swipebox( {
8
  useCSS: ( rlArgs.animation === '1' ? true : false ),
9
  useSVG: ( rlArgs.useSVG === '1' ? true : false ),
10
  hideCloseButtonOnMobile: ( rlArgs.hideCloseButtonOnMobile === '1' ? true : false ),
@@ -13,7 +14,8 @@
13
  loopAtEnd: ( rlArgs.loopAtEnd === '1' ? true : false )
14
  } );
15
  } else if ( rlArgs.script === 'prettyphoto' ) {
16
- $( 'a[rel*="' + rlArgs.selector + '"]' ).prettyPhoto( {
 
17
  animation_speed: rlArgs.animationSpeed,
18
  slideshow: ( rlArgs.slideshow === '1' ? parseInt( rlArgs.slideshowDelay ) : false ),
19
  autoplay_slideshow: ( rlArgs.slideshowAutoplay === '1' ? true : false ),
@@ -41,7 +43,7 @@
41
  ie6_fallback: true
42
  } );
43
  } else if ( rlArgs.script === 'fancybox' ) {
44
- $( 'a[rel*="' + rlArgs.selector + '"]' ).fancybox( {
45
  modal: ( rlArgs.modal === '1' ? true : false ),
46
  overlayShow: ( rlArgs.showOverlay === '1' ? true : false ),
47
  showCloseButton: ( rlArgs.showCloseButton === '1' ? true : false ),
@@ -72,23 +74,33 @@
72
  height: parseInt( rlArgs.videoHeight )
73
  } );
74
  } else if ( rlArgs.script === 'nivo' ) {
75
- $.each( $( 'a[rel*="' + rlArgs.selector + '"]' ), function () {
76
- var match = $( this ).attr( 'rel' ).match( new RegExp( rlArgs.selector + '\\[(gallery\\-(?:[\\da-z]{1,4}))\\]', 'ig' ) );
77
 
78
  if ( match !== null ) {
79
  $( this ).attr( 'data-lightbox-gallery', match[0] );
80
  }
81
  } );
82
 
83
- $( 'a[rel*="' + rlArgs.selector + '"]' ).nivoLightbox( {
84
  effect: rlArgs.effect,
85
  clickOverlayToClose: ( rlArgs.clickOverlayToClose === '1' ? true : false ),
86
  keyboardNav: ( rlArgs.keyboardNav === '1' ? true : false ),
87
  errorMessage: rlArgs.errorMessage
88
  } );
89
  } else if ( rlArgs.script === 'imagelightbox' ) {
 
 
 
 
 
 
 
 
 
 
90
  $( 'a[rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
91
- $( 'a[rel="' + item.rel + '"]' ).imageLightbox( {
92
  animationSpeed: parseInt( rlArgs.animationSpeed ),
93
  preloadNext: ( rlArgs.preloadNext === '1' ? true : false ),
94
  enableKeyboard: ( rlArgs.enableKeyboard === '1' ? true : false ),
@@ -97,7 +109,47 @@
97
  quitOnDocClick: ( rlArgs.quitOnDocumentClick === '1' ? true : false )
98
  } );
99
  } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  }
 
101
  } );
102
 
103
  } );
3
  $( document ).ready( function () {
4
 
5
  $( document ).on( 'ready' + rlArgs.custom_events, function () {
6
+
7
  if ( rlArgs.script === 'swipebox' ) {
8
+ $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).swipebox( {
9
  useCSS: ( rlArgs.animation === '1' ? true : false ),
10
  useSVG: ( rlArgs.useSVG === '1' ? true : false ),
11
  hideCloseButtonOnMobile: ( rlArgs.hideCloseButtonOnMobile === '1' ? true : false ),
14
  loopAtEnd: ( rlArgs.loopAtEnd === '1' ? true : false )
15
  } );
16
  } else if ( rlArgs.script === 'prettyphoto' ) {
17
+ $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).prettyPhoto( {
18
+ hook: 'data-rel',
19
  animation_speed: rlArgs.animationSpeed,
20
  slideshow: ( rlArgs.slideshow === '1' ? parseInt( rlArgs.slideshowDelay ) : false ),
21
  autoplay_slideshow: ( rlArgs.slideshowAutoplay === '1' ? true : false ),
43
  ie6_fallback: true
44
  } );
45
  } else if ( rlArgs.script === 'fancybox' ) {
46
+ $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).fancybox( {
47
  modal: ( rlArgs.modal === '1' ? true : false ),
48
  overlayShow: ( rlArgs.showOverlay === '1' ? true : false ),
49
  showCloseButton: ( rlArgs.showCloseButton === '1' ? true : false ),
74
  height: parseInt( rlArgs.videoHeight )
75
  } );
76
  } else if ( rlArgs.script === 'nivo' ) {
77
+ $.each( $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ), function () {
78
+ var match = $( this ).attr( 'data-rel' ).match( new RegExp( rlArgs.selector + '\\[(gallery\\-(?:[\\da-z]{1,4}))\\]', 'ig' ) );
79
 
80
  if ( match !== null ) {
81
  $( this ).attr( 'data-lightbox-gallery', match[0] );
82
  }
83
  } );
84
 
85
+ $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).nivoLightbox( {
86
  effect: rlArgs.effect,
87
  clickOverlayToClose: ( rlArgs.clickOverlayToClose === '1' ? true : false ),
88
  keyboardNav: ( rlArgs.keyboardNav === '1' ? true : false ),
89
  errorMessage: rlArgs.errorMessage
90
  } );
91
  } else if ( rlArgs.script === 'imagelightbox' ) {
92
+ $( 'a[data-rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
93
+ $( 'a[data-rel="' + $( item ).data( 'rel' ) + '"]' ).imageLightbox( {
94
+ animationSpeed: parseInt( rlArgs.animationSpeed ),
95
+ preloadNext: ( rlArgs.preloadNext === '1' ? true : false ),
96
+ enableKeyboard: ( rlArgs.enableKeyboard === '1' ? true : false ),
97
+ quitOnEnd: ( rlArgs.quitOnEnd === '1' ? true : false ),
98
+ quitOnImgClick: ( rlArgs.quitOnImageClick === '1' ? true : false ),
99
+ quitOnDocClick: ( rlArgs.quitOnDocumentClick === '1' ? true : false )
100
+ } );
101
+ } );
102
  $( 'a[rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
103
+ $( 'a[data-rel="' + item.rel + ']"' ).imageLightbox( {
104
  animationSpeed: parseInt( rlArgs.animationSpeed ),
105
  preloadNext: ( rlArgs.preloadNext === '1' ? true : false ),
106
  enableKeyboard: ( rlArgs.enableKeyboard === '1' ? true : false ),
109
  quitOnDocClick: ( rlArgs.quitOnDocumentClick === '1' ? true : false )
110
  } );
111
  } );
112
+ } else if ( rlArgs.script === 'tosrus' ) {
113
+ var selectors = [];
114
+
115
+ $( 'a[rel*="' + rlArgs.selector + '"], a[data-rel*="' + rlArgs.selector + '"]' ).each( function ( i, item ) {
116
+ selectors.push( $( item ).data( 'rel' ) );
117
+ } );
118
+
119
+ if ( selectors.length > 0 ) {
120
+ // make unique
121
+ selectors = $.unique( selectors );
122
+
123
+ $( selectors ).each( function ( i, item ) {
124
+
125
+ $( 'a[data-rel="' + item + '"]' ).tosrus( {
126
+ infinite: ( rlArgs.infinite === '1' ? true : false ),
127
+ autoplay: {
128
+ play: ( rlArgs.autoplay === '1' ? true : false ),
129
+ pauseOnHover: ( rlArgs.pause_on_hover === '1' ? true : false ),
130
+ timeout: rlArgs.timeout
131
+ },
132
+ effect: rlArgs.effect,
133
+ keys: {
134
+ prev: ( rlArgs.keys === '1' ? true : false ),
135
+ next: ( rlArgs.keys === '1' ? true : false ),
136
+ close: ( rlArgs.keys === '1' ? true : false )
137
+ },
138
+ pagination: {
139
+ add: ( rlArgs.pagination === '1' ? true : false ),
140
+ type: rlArgs.pagination_type
141
+ },
142
+ // forced
143
+ show: false,
144
+ caption: {
145
+ add: true,
146
+ attributes: ["title"]
147
+ }
148
+ } );
149
+ } );
150
+ }
151
  }
152
+
153
  } );
154
 
155
  } );
languages/responsive-lightbox-pl_PL.mo CHANGED
Binary file
languages/responsive-lightbox-pl_PL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
- "POT-Creation-Date: 2015-06-02 15:45+0100\n"
5
- "PO-Revision-Date: 2015-06-02 15:55+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
  "Language: pl\n"
@@ -96,6 +96,7 @@ msgid "elastic"
96
  msgstr ""
97
 
98
  #: ../includes/class-settings.php:79 ../includes/class-settings.php:100
 
99
  msgid "fade"
100
  msgstr ""
101
 
@@ -167,195 +168,203 @@ msgstr ""
167
  msgid "Image Lightbox"
168
  msgstr "Image Lightbox"
169
 
170
- #: ../includes/class-settings.php:115
171
- msgid "Enable"
172
- msgstr "Włącz"
173
 
174
- #: ../includes/class-settings.php:116
175
- msgid "Disable"
176
- msgstr "Wyłącz"
177
-
178
- #: ../includes/class-settings.php:120
179
  msgid "None (default)"
180
  msgstr "Brak (domyślny)"
181
 
182
- #: ../includes/class-settings.php:121
183
  msgid "Image Title"
184
  msgstr "Tytuł obrazka"
185
 
186
- #: ../includes/class-settings.php:122
187
  msgid "Image Caption"
188
  msgstr "Podpis obrazka"
189
 
190
- #: ../includes/class-settings.php:123
191
  msgid "Image Alt Text"
192
  msgstr "Tekst alternatywny"
193
 
194
- #: ../includes/class-settings.php:124
195
  msgid "Image Description"
196
  msgstr "Opis obrazka"
197
 
198
- #: ../includes/class-settings.php:128
199
  msgid "Header"
200
  msgstr "W nagłówku"
201
 
202
- #: ../includes/class-settings.php:129
203
  msgid "Footer"
204
  msgstr "W stopce"
205
 
206
- #: ../includes/class-settings.php:139
207
  msgid "Thumbnail"
208
  msgstr "Miniatura"
209
 
210
- #: ../includes/class-settings.php:140
211
  msgid "Medium"
212
  msgstr "Średni"
213
 
214
- #: ../includes/class-settings.php:141
215
  msgid "Large"
216
  msgstr "Duży"
217
 
218
- #: ../includes/class-settings.php:142
219
  msgid "Full Size (default)"
220
  msgstr "Pełny rozmiar (domyslny)"
221
 
222
- #: ../includes/class-settings.php:152 ../includes/class-settings.php:779
223
  msgid "General settings"
224
  msgstr "Ustawienia ogólne"
225
 
226
- #: ../includes/class-settings.php:161
227
  msgid "Lightbox script"
228
  msgstr "Skrypt lightbox"
229
 
230
- #: ../includes/class-settings.php:167
231
  msgid "Select your preffered ligthbox effect script."
232
  msgstr "Wybierz preferowany efekt lightbox."
233
 
234
- #: ../includes/class-settings.php:174
235
  msgid "Selector"
236
  msgstr "Znacznik"
237
 
238
- #: ../includes/class-settings.php:177
239
  msgid "Enter the rel selector lightbox effect will be applied to."
240
  msgstr "Wybierz dla którego znacznika będzie dodawany efekt lightbox."
241
 
242
- #: ../includes/class-settings.php:180
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
  msgid "Galleries"
244
  msgstr "Galerie"
245
 
246
- #: ../includes/class-settings.php:183
247
  msgid "Add lightbox to WordPress image galleries by default."
248
  msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
249
 
250
- #: ../includes/class-settings.php:186
251
  msgid "Gallery image size"
252
  msgstr "WIelkość obrazka w galerii"
253
 
254
- #: ../includes/class-settings.php:189
255
  msgid "Select image size for gallery image links."
256
  msgstr "Wybierz rozmiar obrazka, jaki ma być zastosowany w linkach galerii."
257
 
258
- #: ../includes/class-settings.php:193
259
  msgid "Gallery image title"
260
  msgstr "Tytuł obrazków w galerii"
261
 
262
- #: ../includes/class-settings.php:196
263
  msgid "Select title for images in native WordPress galleries."
264
  msgstr "Wybierz pochodzenie tytułu dla obrazków w galerii."
265
 
266
- #: ../includes/class-settings.php:200
 
 
 
 
 
 
 
 
 
 
 
 
267
  msgid "Video links"
268
  msgstr "Linki video"
269
 
270
- #: ../includes/class-settings.php:203
271
  msgid "Add lightbox to YouTube and Vimeo video links by default."
272
  msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
273
 
274
- #: ../includes/class-settings.php:206
275
- msgid "Image links"
276
- msgstr "Linki obrazków"
277
-
278
- #: ../includes/class-settings.php:209
279
- msgid "Add lightbox to WordPress image links by default."
280
- msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
281
-
282
- #: ../includes/class-settings.php:212
283
- msgid "Single images as gallery"
284
- msgstr "Pojedyncze obrazki"
285
-
286
- #: ../includes/class-settings.php:215
287
- msgid "Display single post images as a gallery."
288
- msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
289
-
290
- #: ../includes/class-settings.php:218
291
  msgid "Custom events"
292
  msgstr "Własne zdarzenia"
293
 
294
- #: ../includes/class-settings.php:224
295
  msgid "Enable triggering lightbox on custom jQuery events."
296
  msgstr ""
297
  "Włącz uruchamianie efektu lightbox przy pomocy własnych zdarzeń jQuery."
298
 
299
- #: ../includes/class-settings.php:228
300
  msgid "Enter a space separated list of events."
301
  msgstr "Wpisz oddzieloną spacją listę wydarzeń."
302
 
303
- #: ../includes/class-settings.php:233
304
  msgid "Loading place"
305
  msgstr "Ładowanie"
306
 
307
- #: ../includes/class-settings.php:236
308
  msgid "Select where all the lightbox scripts should be placed."
309
  msgstr "Wybierz w którym miejscu chcesz wczytywać skrypty efektu lightbox."
310
 
311
- #: ../includes/class-settings.php:240
312
  msgid "Delete data"
313
  msgstr "Usuwanie danych"
314
 
315
- #: ../includes/class-settings.php:243
316
  msgid "Delete all plugin settings on deactivation."
317
  msgstr "Usuń wszystkie dane wtyczki po jej deaktywacji."
318
 
319
- #: ../includes/class-settings.php:253 ../includes/class-settings.php:785
320
  msgid "Lightbox settings"
321
  msgstr "Ustawienia lightbox"
322
 
323
- #: ../includes/class-settings.php:271
324
  msgid "Animation type"
325
  msgstr "Typ animacji"
326
 
327
- #: ../includes/class-settings.php:275
328
  msgid "Select a method of applying a lightbox effect."
329
  msgstr "Wybierz sposób dodawania efektu lightbox."
330
 
331
- #: ../includes/class-settings.php:280
332
  msgid "Force PNG icons"
333
  msgstr "Wymuszanie ikon PNG"
334
 
335
- #: ../includes/class-settings.php:283
336
  msgid ""
337
  "Enable this if you're having problems with navigation icons not visible on "
338
  "some devices."
339
  msgstr "Włącz tę opcję jeśli masz problemy z wyświetlaniem ikon nawigacji."
340
 
341
- #: ../includes/class-settings.php:287
342
  msgid "Hide close on mobile"
343
  msgstr "Ukrywanie przycisku zamknij"
344
 
345
- #: ../includes/class-settings.php:290
346
  msgid "Hide the close button on mobile devices."
347
  msgstr ""
348
  "Włącz, jeśli chcesz ukryć przycisk zamykania na urządzeniach mobilnych."
349
 
350
- #: ../includes/class-settings.php:294
351
  msgid "Top and bottom bars"
352
  msgstr "Górne i dolne paski"
353
 
354
- #: ../includes/class-settings.php:300
355
  msgid "Hide top and bottom bars after a period of time."
356
  msgstr "Ukryj górny i dolny pasek po określonym czasie."
357
 
358
- #: ../includes/class-settings.php:305
359
  msgid ""
360
  "Enter the time after which the top and bottom bars will be hidden (when "
361
  "hiding is enabled)."
@@ -363,108 +372,108 @@ msgstr ""
363
  "Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
364
  "jest włączona)."
365
 
366
- #: ../includes/class-settings.php:312
367
  msgid "Video max width"
368
  msgstr "Maksymalna szerokość video"
369
 
370
- #: ../includes/class-settings.php:315
371
  msgid "Enter the max video width in a lightbox."
372
  msgstr "Podaj maksymalną szerokość video."
373
 
374
- #: ../includes/class-settings.php:320
375
  msgid "Loop at end"
376
  msgstr "Zapętlenie galerii"
377
 
378
- #: ../includes/class-settings.php:323
379
  msgid "True will return to the first image after the last image is reached."
380
  msgstr ""
381
  "Włącz, aby powrócić do pierwszego zdjęcia po ostatnim zdjęciu w galerii."
382
 
383
- #: ../includes/class-settings.php:335 ../includes/class-settings.php:727
384
  msgid "Animation speed"
385
  msgstr "Szybkość animacji"
386
 
387
- #: ../includes/class-settings.php:339
388
  msgid "Select animation speed for lightbox effect."
389
  msgstr "Wybierz szybkość animacji efektu lightbox."
390
 
391
- #: ../includes/class-settings.php:344
392
  msgid "Slideshow"
393
  msgstr "Pokaz slidów"
394
 
395
- #: ../includes/class-settings.php:350
396
  msgid "Display images as slideshow"
397
  msgstr "Wyświetlanie obrazków jako pokaz slajdów"
398
 
399
- #: ../includes/class-settings.php:355
400
  msgid "Enter time (in miliseconds)."
401
  msgstr "Podaj czas (w milisekundach)."
402
 
403
- #: ../includes/class-settings.php:362
404
  msgid "Slideshow autoplay"
405
  msgstr "Automatyczne odtwarzanie pokazu slajdów"
406
 
407
- #: ../includes/class-settings.php:365
408
  msgid "Automatically start slideshow."
409
  msgstr "Automatyczne rozpoczynanie pokazu slajdów."
410
 
411
- #: ../includes/class-settings.php:369 ../includes/class-settings.php:571
412
  msgid "Opacity"
413
  msgstr "Przezroczystość"
414
 
415
- #: ../includes/class-settings.php:372
416
  msgid "Value between 0 and 100, 100 for no opacity."
417
  msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
418
 
419
- #: ../includes/class-settings.php:378
420
  msgid "Show title"
421
  msgstr "Wyświetlanie tytułu"
422
 
423
- #: ../includes/class-settings.php:381
424
  msgid "Display image title."
425
  msgstr "Wyświetlanie tytułu obrazka."
426
 
427
- #: ../includes/class-settings.php:385
428
  msgid "Allow resize big images"
429
  msgstr "Powiększanie dużych zdjęć"
430
 
431
- #: ../includes/class-settings.php:388
432
  msgid "Resize the photos bigger than viewport."
433
  msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
434
 
435
- #: ../includes/class-settings.php:392
436
  msgid "Allow expand"
437
  msgstr "Zezwól na powiększanie"
438
 
439
- #: ../includes/class-settings.php:395
440
  msgid "Allow expanding images."
441
  msgstr "Zezwól na powiększanie zdjęć."
442
 
443
- #: ../includes/class-settings.php:399 ../includes/class-settings.php:665
444
  msgid "Video width"
445
  msgstr "Szerokość video"
446
 
447
- #: ../includes/class-settings.php:406 ../includes/class-settings.php:673
448
  msgid "Video height"
449
  msgstr "Wysokość video"
450
 
451
- #: ../includes/class-settings.php:413
452
  msgid "Theme"
453
  msgstr "Motyw"
454
 
455
- #: ../includes/class-settings.php:416
456
  msgid "Select the theme for lightbox effect."
457
  msgstr "Wybierz motyw dla efektu lightbox."
458
 
459
- #: ../includes/class-settings.php:421
460
  msgid "Horizontal padding"
461
  msgstr "Odstępy w poziomie"
462
 
463
- #: ../includes/class-settings.php:428
464
  msgid "Hide Flash"
465
  msgstr "Ukrywanie flash"
466
 
467
- #: ../includes/class-settings.php:431
468
  msgid ""
469
  "Hide all the flash objects on a page. Enable this if flash appears over "
470
  "prettyPhoto."
@@ -472,66 +481,66 @@ msgstr ""
472
  "Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
473
  "wyświetlane są nad lightboxem."
474
 
475
- #: ../includes/class-settings.php:435
476
  msgid "Flash Window Mode (wmode)"
477
  msgstr "Tryb okna flash (wmode)"
478
 
479
- #: ../includes/class-settings.php:438
480
  msgid "Select flash window mode."
481
  msgstr "Wybierz tryb okna flash."
482
 
483
- #: ../includes/class-settings.php:443
484
  msgid "Video autoplay"
485
  msgstr "Automatyczne odtwarzanie wideo"
486
 
487
- #: ../includes/class-settings.php:446
488
  msgid "Automatically start videos."
489
  msgstr "Automatycznie rozpoczynaj video."
490
 
491
- #: ../includes/class-settings.php:450 ../includes/class-settings.php:493
492
  msgid "Modal"
493
  msgstr "Tryb modal"
494
 
495
- #: ../includes/class-settings.php:453
496
  msgid "If set to true, only the close button will close the window."
497
  msgstr ""
498
  "Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
499
 
500
- #: ../includes/class-settings.php:457
501
  msgid "Deeplinking"
502
  msgstr "Głębokie linki"
503
 
504
- #: ../includes/class-settings.php:460
505
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
506
  msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
507
 
508
- #: ../includes/class-settings.php:464
509
  msgid "Overlay gallery"
510
  msgstr "Efekt overlay galerii"
511
 
512
- #: ../includes/class-settings.php:467
513
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
514
  msgstr ""
515
  "Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
516
  "najechaniu myszką."
517
 
518
- #: ../includes/class-settings.php:471
519
  msgid "Keyboard shortcuts"
520
  msgstr "Skróty klawiaturowe"
521
 
522
- #: ../includes/class-settings.php:474
523
  msgid "Set to false if you open forms inside prettyPhoto."
524
  msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
525
 
526
- #: ../includes/class-settings.php:478
527
  msgid "Social (Twitter, Facebook)"
528
  msgstr "Linki społeczności (Twitter, Facebook)"
529
 
530
- #: ../includes/class-settings.php:481
531
  msgid "Display links to Facebook and Twitter."
532
  msgstr "Wyświetl linki do Facebboka i Twittera."
533
 
534
- #: ../includes/class-settings.php:496
535
  msgid ""
536
  "When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
537
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
@@ -541,342 +550,407 @@ msgstr ""
541
  "natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
542
  "\"enableEscapeButton\", \"showCloseButton\" zostaną wyłączone."
543
 
544
- #: ../includes/class-settings.php:500
545
  msgid "Show overlay"
546
  msgstr "Wyświetlanie tła"
547
 
548
- #: ../includes/class-settings.php:503
549
  msgid "Toggle overlay."
550
  msgstr "Włącz tło."
551
 
552
- #: ../includes/class-settings.php:507
553
  msgid "Show close button"
554
  msgstr "Wyświetlanie przycisku Zamknij"
555
 
556
- #: ../includes/class-settings.php:510
557
  msgid "Toggle close button."
558
  msgstr "Włącz przycisk Zamknij."
559
 
560
- #: ../includes/class-settings.php:514
561
  msgid "Enable escape button"
562
  msgstr "Wyświetlanie przycisku Wyjdź"
563
 
564
- #: ../includes/class-settings.php:517
565
  msgid "Toggle if pressing Esc button closes FancyBox."
566
  msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
567
 
568
- #: ../includes/class-settings.php:521
569
  msgid "Hide on overlay click"
570
  msgstr "Ukryj po kliknięciu w tło"
571
 
572
- #: ../includes/class-settings.php:524
573
  msgid "Toggle if clicking the overlay should close FancyBox."
574
  msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
575
 
576
- #: ../includes/class-settings.php:528
577
  msgid "Hide on content click"
578
  msgstr "Ukryj po kliknięciu w treść"
579
 
580
- #: ../includes/class-settings.php:531
581
  msgid "Toggle if clicking the content should close FancyBox."
582
  msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
583
 
584
- #: ../includes/class-settings.php:535
585
  msgid "Cyclic"
586
  msgstr "Cykliczność"
587
 
588
- #: ../includes/class-settings.php:538
589
  msgid ""
590
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
591
  msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
592
 
593
- #: ../includes/class-settings.php:542
594
  msgid "Show nav arrows"
595
  msgstr "Wyświetlanie strzałek"
596
 
597
- #: ../includes/class-settings.php:545
598
  msgid "Toggle navigation arrows."
599
  msgstr "Włącz strzałki nawigacyjne."
600
 
601
- #: ../includes/class-settings.php:549
602
  msgid "Auto scale"
603
  msgstr "Automatyczne skalowanie"
604
 
605
- #: ../includes/class-settings.php:552
606
  msgid "If true, FancyBox is scaled to fit in viewport."
607
  msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
608
 
609
- #: ../includes/class-settings.php:556
610
  msgid "Scrolling (in/out)"
611
  msgstr "Przewijanie"
612
 
613
- #: ../includes/class-settings.php:559
614
  msgid "Set the overflow CSS property to create or hide scrollbars."
615
  msgstr ""
616
  "Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
617
 
618
- #: ../includes/class-settings.php:564
619
  msgid "Center on scroll"
620
  msgstr "Centrowanie przy przewijaniu"
621
 
622
- #: ../includes/class-settings.php:567
623
  msgid "When true, FancyBox is centered while scrolling page."
624
  msgstr ""
625
  "Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
626
  "strony."
627
 
628
- #: ../includes/class-settings.php:574
629
  msgid "When true, transparency of content is changed for elastic transitions."
630
  msgstr ""
631
  "Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
632
  "animacji."
633
 
634
- #: ../includes/class-settings.php:578
635
  msgid "Overlay opacity"
636
  msgstr "Przezroczystość tła"
637
 
638
- #: ../includes/class-settings.php:581
639
  msgid "Opacity of the overlay."
640
  msgstr "Przezroczystość tła."
641
 
642
- #: ../includes/class-settings.php:587
643
  msgid "Overlay color"
644
  msgstr "Kolor tła"
645
 
646
- #: ../includes/class-settings.php:590
647
  msgid "Color of the overlay."
648
  msgstr "Kolor tła."
649
 
650
- #: ../includes/class-settings.php:594
651
  msgid "Title show"
652
  msgstr "Wyświetlanie tytułu"
653
 
654
- #: ../includes/class-settings.php:597
655
  msgid "Toggle title."
656
  msgstr "Wyświetlanie tytułu."
657
 
658
- #: ../includes/class-settings.php:601
659
  msgid "Title position"
660
  msgstr "Pozycja tytułu"
661
 
662
- #: ../includes/class-settings.php:604
663
  msgid "The position of title."
664
  msgstr "Pozycja tytułu."
665
 
666
- #: ../includes/class-settings.php:609
667
  msgid "Transition (in/out)"
668
  msgstr "Efekty przejścia"
669
 
670
- #: ../includes/class-settings.php:612
671
  msgid "The transition type."
672
  msgstr "Typ animacji."
673
 
674
- #: ../includes/class-settings.php:617
675
  msgid "Easings (in/out)"
676
  msgstr "Wygładzanie animacji"
677
 
678
- #: ../includes/class-settings.php:620
679
  msgid "Easing used for elastic animations."
680
  msgstr "Wygładzanie animacji dla trybu elastic."
681
 
682
- #: ../includes/class-settings.php:625
683
  msgid "Speed (in/out)"
684
  msgstr "Szybkość"
685
 
686
- #: ../includes/class-settings.php:628
687
  msgid "Speed of the fade and elastic transitions, in milliseconds."
688
  msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
689
 
690
- #: ../includes/class-settings.php:633
691
  msgid "Change speed"
692
  msgstr "Zmień szybkość"
693
 
694
- #: ../includes/class-settings.php:636
695
  msgid "Speed of resizing when changing gallery items, in milliseconds."
696
  msgstr ""
697
  "Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
698
  "milisekundach)."
699
 
700
- #: ../includes/class-settings.php:641
701
  msgid "Change fade"
702
  msgstr "Zmień zanikanie"
703
 
704
- #: ../includes/class-settings.php:644
705
  msgid "Speed of the content fading while changing gallery items."
706
  msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
707
 
708
- #: ../includes/class-settings.php:649
709
  msgid "Padding"
710
  msgstr "Odstęp (padding)"
711
 
712
- #: ../includes/class-settings.php:652
713
  msgid "Space between FancyBox wrapper and content."
714
  msgstr "Przestrzeń między FancyBox a treścią"
715
 
716
- #: ../includes/class-settings.php:657
717
  msgid "Margin"
718
  msgstr "Margines (margin)"
719
 
720
- #: ../includes/class-settings.php:660
721
  msgid "Space between viewport and FancyBox wrapper."
722
  msgstr "Przestrzeń między ekranem a Fancybox"
723
 
724
- #: ../includes/class-settings.php:668
725
  msgid "Width of the video."
726
  msgstr "Szerokość video."
727
 
728
- #: ../includes/class-settings.php:676
729
  msgid "Height of the video."
730
  msgstr "Wysokość video."
731
 
732
- #: ../includes/class-settings.php:689
733
  msgid "Effect"
734
  msgstr "Efekt"
735
 
736
- #: ../includes/class-settings.php:692
737
  msgid "The effect to use when showing the lightbox."
738
  msgstr "Wybierz efekt, który chcesz zastosować do wyświetlania lightboxa."
739
 
740
- #: ../includes/class-settings.php:697
741
  msgid "Keyboard navigation"
742
  msgstr "Nawigacja klawiaturą"
743
 
744
- #: ../includes/class-settings.php:700
745
- msgid "Enable to close lightbox on overlay click."
746
- msgstr "Włącz aby zamykać lightbox po kliknięciu w obszar poza obrazkiem."
747
 
748
- #: ../includes/class-settings.php:704
749
  msgid "Click overlay to close"
750
  msgstr "Kliknięcie poza obrazek"
751
 
752
- #: ../includes/class-settings.php:707
753
- msgid "Enable keyboard navigation (left/right/escape)."
754
- msgstr "Włącz nawigację za pomocą klawiatury (lewo, prawo, esc)."
755
-
756
  #: ../includes/class-settings.php:711
 
 
 
 
757
  msgid "Error message"
758
  msgstr "Treść komunikatu o błędzie"
759
 
760
- #: ../includes/class-settings.php:715
761
  msgid "Error message if the content cannot be loaded."
762
  msgstr "Komunikat w przypadku gdy nie można załądować treści."
763
 
764
- #: ../includes/class-settings.php:730
765
  msgid "Animation speed."
766
  msgstr "Szybkość animacji."
767
 
768
- #: ../includes/class-settings.php:735
769
  msgid "Preload next image"
770
  msgstr "Wstępne ładowanie kolejnego obrazka"
771
 
772
- #: ../includes/class-settings.php:738
773
  msgid "Silently preload the next image."
774
  msgstr "W niezauważalny sposób ładuje kolejny obrazek."
775
 
776
- #: ../includes/class-settings.php:742
777
  msgid "Enable keyboard keys"
778
  msgstr "Obługa klawiaturą"
779
 
780
- #: ../includes/class-settings.php:745
781
  msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
782
  msgstr "Włącza skróty klawiaturowe (strzałki lewo/prawo oraz Esc)"
783
 
784
- #: ../includes/class-settings.php:749
785
  msgid "Quit after last image"
786
  msgstr "Wyjście po ostanim obrazku"
787
 
788
- #: ../includes/class-settings.php:752
789
  msgid "Quit after viewing the last image."
790
  msgstr "Powoduje wyjście z lightboxa po obejrzeniu ostatniego obrazka."
791
 
792
- #: ../includes/class-settings.php:756
793
  msgid "Quit on image click"
794
  msgstr "Wyjście po kliknięciu w obrazek"
795
 
796
- #: ../includes/class-settings.php:759
797
  msgid "Quit when the viewed image is clicked."
798
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w przeglądany obrazek."
799
 
800
- #: ../includes/class-settings.php:763
801
  msgid "Quit on anything click"
802
  msgstr "Wyjście po kliknięciu w coś innego niż obrazek"
803
 
804
- #: ../includes/class-settings.php:766
805
  msgid "Quit when anything but the viewed image is clicked."
806
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w coś innego niż obrazek."
807
 
808
- #: ../includes/class-settings.php:801 ../includes/class-settings.php:815
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
809
  #: ../includes/class-settings.php:828
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
810
  msgid "Responsive Lightbox"
811
  msgstr "Efekt Lightbox"
812
 
813
- #: ../includes/class-settings.php:830
814
  msgid "Need support?"
815
  msgstr "Potrzebujesz pomocy?"
816
 
817
- #: ../includes/class-settings.php:831
818
  msgid ""
819
  "If you are having problems with this plugin, please talk about them in the"
820
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
821
 
822
- #: ../includes/class-settings.php:831
823
  msgid "Support forum"
824
  msgstr "Forum pomocy"
825
 
826
- #: ../includes/class-settings.php:833
827
  msgid "Do you like this plugin?"
828
  msgstr "Lubisz tę wtyczkę?"
829
 
830
- #: ../includes/class-settings.php:840
831
  msgid "Rate it 5"
832
  msgstr "Oceń ją na 5"
833
 
834
- #: ../includes/class-settings.php:840
835
  msgid "on WordPress.org"
836
  msgstr "na WordPress.org"
837
 
838
- #: ../includes/class-settings.php:841
839
  msgid "Blog about it & link to the"
840
  msgstr "Napisz o niej i dodaj link"
841
 
842
- #: ../includes/class-settings.php:841
843
  msgid "plugin page"
844
  msgstr "do strony wtyczki"
845
 
846
- #: ../includes/class-settings.php:842
847
  msgid "Check out our other"
848
  msgstr "Sprawdź nasze pozostałe"
849
 
850
- #: ../includes/class-settings.php:842
851
  msgid "WordPress plugins"
852
  msgstr "wtyczki do WordPress'a"
853
 
854
- #: ../includes/class-settings.php:862
855
  msgid "Reset to defaults"
856
  msgstr "Resetuj do domyślnych"
857
 
858
- #: ../includes/class-settings.php:1214
859
  msgid "Settings restored to defaults."
860
  msgstr "Ustawienia zostały przywrócone do domyślnych."
861
 
862
- #: ../responsive-lightbox.php:274
863
  msgid "Support"
864
  msgstr "Pomoc"
865
 
866
- #: ../responsive-lightbox.php:293
867
  msgid "Settings"
868
  msgstr "Ustawienia"
869
 
870
- #: ../responsive-lightbox.php:313
871
  msgid "Are you sure you want to reset these settings to defaults?"
872
  msgstr "Jesteś pewny, że chcesz zresetować ustawienia do domyślnych?"
873
 
874
- #: ../responsive-lightbox.php:314
875
  msgid "Are you sure you want to reset this script settings to defaults?"
876
  msgstr ""
877
  "Jesteś pewny, że chcesz zresetować ustawienia tego skryptu do ustawień "
878
  "domyślnych?"
879
 
 
 
 
 
 
 
880
  #~ msgid "Default (none)"
881
  #~ msgstr "Domyślny (brak)"
882
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Responsive Lightbox\n"
4
+ "POT-Creation-Date: 2015-06-08 10:47+0100\n"
5
+ "PO-Revision-Date: 2015-06-08 10:52+0100\n"
6
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
7
  "Language-Team: dFactory <info@dfactory.eu>\n"
8
  "Language: pl\n"
96
  msgstr ""
97
 
98
  #: ../includes/class-settings.php:79 ../includes/class-settings.php:100
99
+ #: ../includes/class-settings.php:788
100
  msgid "fade"
101
  msgstr ""
102
 
168
  msgid "Image Lightbox"
169
  msgstr "Image Lightbox"
170
 
171
+ #: ../includes/class-settings.php:113
172
+ msgid "TosRUs"
173
+ msgstr "TosRUs"
174
 
175
+ #: ../includes/class-settings.php:118
 
 
 
 
176
  msgid "None (default)"
177
  msgstr "Brak (domyślny)"
178
 
179
+ #: ../includes/class-settings.php:119
180
  msgid "Image Title"
181
  msgstr "Tytuł obrazka"
182
 
183
+ #: ../includes/class-settings.php:120
184
  msgid "Image Caption"
185
  msgstr "Podpis obrazka"
186
 
187
+ #: ../includes/class-settings.php:121
188
  msgid "Image Alt Text"
189
  msgstr "Tekst alternatywny"
190
 
191
+ #: ../includes/class-settings.php:122
192
  msgid "Image Description"
193
  msgstr "Opis obrazka"
194
 
195
+ #: ../includes/class-settings.php:126
196
  msgid "Header"
197
  msgstr "W nagłówku"
198
 
199
+ #: ../includes/class-settings.php:127
200
  msgid "Footer"
201
  msgstr "W stopce"
202
 
203
+ #: ../includes/class-settings.php:137
204
  msgid "Thumbnail"
205
  msgstr "Miniatura"
206
 
207
+ #: ../includes/class-settings.php:138
208
  msgid "Medium"
209
  msgstr "Średni"
210
 
211
+ #: ../includes/class-settings.php:139
212
  msgid "Large"
213
  msgstr "Duży"
214
 
215
+ #: ../includes/class-settings.php:140
216
  msgid "Full Size (default)"
217
  msgstr "Pełny rozmiar (domyslny)"
218
 
219
+ #: ../includes/class-settings.php:150 ../includes/class-settings.php:862
220
  msgid "General settings"
221
  msgstr "Ustawienia ogólne"
222
 
223
+ #: ../includes/class-settings.php:159
224
  msgid "Lightbox script"
225
  msgstr "Skrypt lightbox"
226
 
227
+ #: ../includes/class-settings.php:165
228
  msgid "Select your preffered ligthbox effect script."
229
  msgstr "Wybierz preferowany efekt lightbox."
230
 
231
+ #: ../includes/class-settings.php:172
232
  msgid "Selector"
233
  msgstr "Znacznik"
234
 
235
+ #: ../includes/class-settings.php:175
236
  msgid "Enter the rel selector lightbox effect will be applied to."
237
  msgstr "Wybierz dla którego znacznika będzie dodawany efekt lightbox."
238
 
239
+ #: ../includes/class-settings.php:178
240
+ msgid "Image links"
241
+ msgstr "Linki obrazków"
242
+
243
+ #: ../includes/class-settings.php:181
244
+ msgid "Add lightbox to WordPress image links by default."
245
+ msgstr "Dodaj efekt lightbox do pojedynczych obrazków WordPressa."
246
+
247
+ #: ../includes/class-settings.php:184
248
+ msgid "Single images as gallery"
249
+ msgstr "Pojedyncze obrazki"
250
+
251
+ #: ../includes/class-settings.php:187
252
+ msgid "Display single post images as a gallery."
253
+ msgstr "Wyświetl pojedyncze obrazki jako pokaz sladów."
254
+
255
+ #: ../includes/class-settings.php:190
256
  msgid "Galleries"
257
  msgstr "Galerie"
258
 
259
+ #: ../includes/class-settings.php:193
260
  msgid "Add lightbox to WordPress image galleries by default."
261
  msgstr "Dodaj efekt lightbox do galerii obrazków WordPressa."
262
 
263
+ #: ../includes/class-settings.php:196
264
  msgid "Gallery image size"
265
  msgstr "WIelkość obrazka w galerii"
266
 
267
+ #: ../includes/class-settings.php:199
268
  msgid "Select image size for gallery image links."
269
  msgstr "Wybierz rozmiar obrazka, jaki ma być zastosowany w linkach galerii."
270
 
271
+ #: ../includes/class-settings.php:203
272
  msgid "Gallery image title"
273
  msgstr "Tytuł obrazków w galerii"
274
 
275
+ #: ../includes/class-settings.php:206
276
  msgid "Select title for images in native WordPress galleries."
277
  msgstr "Wybierz pochodzenie tytułu dla obrazków w galerii."
278
 
279
+ #: ../includes/class-settings.php:210
280
+ msgid "Force gallery lightbox"
281
+ msgstr "Wymuszanie lightboxa w galerii"
282
+
283
+ #: ../includes/class-settings.php:213
284
+ msgid ""
285
+ "Try to force lightbox for custom WP gallery replacements, like Jetpack tiled "
286
+ "galleries."
287
+ msgstr ""
288
+ "Spróbuj wymusić lightbox w galeriach zastępujących domyślną galerię "
289
+ "WordPress, jak np. galeria Jetpack."
290
+
291
+ #: ../includes/class-settings.php:216
292
  msgid "Video links"
293
  msgstr "Linki video"
294
 
295
+ #: ../includes/class-settings.php:219
296
  msgid "Add lightbox to YouTube and Vimeo video links by default."
297
  msgstr "Dodaj efekt lightbox do linków video (YouTube i Vimeo) WordPressa."
298
 
299
+ #: ../includes/class-settings.php:222
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
300
  msgid "Custom events"
301
  msgstr "Własne zdarzenia"
302
 
303
+ #: ../includes/class-settings.php:228
304
  msgid "Enable triggering lightbox on custom jQuery events."
305
  msgstr ""
306
  "Włącz uruchamianie efektu lightbox przy pomocy własnych zdarzeń jQuery."
307
 
308
+ #: ../includes/class-settings.php:232
309
  msgid "Enter a space separated list of events."
310
  msgstr "Wpisz oddzieloną spacją listę wydarzeń."
311
 
312
+ #: ../includes/class-settings.php:237
313
  msgid "Loading place"
314
  msgstr "Ładowanie"
315
 
316
+ #: ../includes/class-settings.php:240
317
  msgid "Select where all the lightbox scripts should be placed."
318
  msgstr "Wybierz w którym miejscu chcesz wczytywać skrypty efektu lightbox."
319
 
320
+ #: ../includes/class-settings.php:244
321
  msgid "Delete data"
322
  msgstr "Usuwanie danych"
323
 
324
+ #: ../includes/class-settings.php:247
325
  msgid "Delete all plugin settings on deactivation."
326
  msgstr "Usuń wszystkie dane wtyczki po jej deaktywacji."
327
 
328
+ #: ../includes/class-settings.php:257 ../includes/class-settings.php:868
329
  msgid "Lightbox settings"
330
  msgstr "Ustawienia lightbox"
331
 
332
+ #: ../includes/class-settings.php:275
333
  msgid "Animation type"
334
  msgstr "Typ animacji"
335
 
336
+ #: ../includes/class-settings.php:279
337
  msgid "Select a method of applying a lightbox effect."
338
  msgstr "Wybierz sposób dodawania efektu lightbox."
339
 
340
+ #: ../includes/class-settings.php:284
341
  msgid "Force PNG icons"
342
  msgstr "Wymuszanie ikon PNG"
343
 
344
+ #: ../includes/class-settings.php:287
345
  msgid ""
346
  "Enable this if you're having problems with navigation icons not visible on "
347
  "some devices."
348
  msgstr "Włącz tę opcję jeśli masz problemy z wyświetlaniem ikon nawigacji."
349
 
350
+ #: ../includes/class-settings.php:291
351
  msgid "Hide close on mobile"
352
  msgstr "Ukrywanie przycisku zamknij"
353
 
354
+ #: ../includes/class-settings.php:294
355
  msgid "Hide the close button on mobile devices."
356
  msgstr ""
357
  "Włącz, jeśli chcesz ukryć przycisk zamykania na urządzeniach mobilnych."
358
 
359
+ #: ../includes/class-settings.php:298
360
  msgid "Top and bottom bars"
361
  msgstr "Górne i dolne paski"
362
 
363
+ #: ../includes/class-settings.php:304
364
  msgid "Hide top and bottom bars after a period of time."
365
  msgstr "Ukryj górny i dolny pasek po określonym czasie."
366
 
367
+ #: ../includes/class-settings.php:309
368
  msgid ""
369
  "Enter the time after which the top and bottom bars will be hidden (when "
370
  "hiding is enabled)."
372
  "Podaj czas po którym chcesz ukryć górny i dolny pasek (jeśli opcja ukrywania "
373
  "jest włączona)."
374
 
375
+ #: ../includes/class-settings.php:316
376
  msgid "Video max width"
377
  msgstr "Maksymalna szerokość video"
378
 
379
+ #: ../includes/class-settings.php:319
380
  msgid "Enter the max video width in a lightbox."
381
  msgstr "Podaj maksymalną szerokość video."
382
 
383
+ #: ../includes/class-settings.php:324
384
  msgid "Loop at end"
385
  msgstr "Zapętlenie galerii"
386
 
387
+ #: ../includes/class-settings.php:327
388
  msgid "True will return to the first image after the last image is reached."
389
  msgstr ""
390
  "Włącz, aby powrócić do pierwszego zdjęcia po ostatnim zdjęciu w galerii."
391
 
392
+ #: ../includes/class-settings.php:339 ../includes/class-settings.php:731
393
  msgid "Animation speed"
394
  msgstr "Szybkość animacji"
395
 
396
+ #: ../includes/class-settings.php:343
397
  msgid "Select animation speed for lightbox effect."
398
  msgstr "Wybierz szybkość animacji efektu lightbox."
399
 
400
+ #: ../includes/class-settings.php:348
401
  msgid "Slideshow"
402
  msgstr "Pokaz slidów"
403
 
404
+ #: ../includes/class-settings.php:354
405
  msgid "Display images as slideshow"
406
  msgstr "Wyświetlanie obrazków jako pokaz slajdów"
407
 
408
+ #: ../includes/class-settings.php:359
409
  msgid "Enter time (in miliseconds)."
410
  msgstr "Podaj czas (w milisekundach)."
411
 
412
+ #: ../includes/class-settings.php:366
413
  msgid "Slideshow autoplay"
414
  msgstr "Automatyczne odtwarzanie pokazu slajdów"
415
 
416
+ #: ../includes/class-settings.php:369 ../includes/class-settings.php:813
417
  msgid "Automatically start slideshow."
418
  msgstr "Automatyczne rozpoczynanie pokazu slajdów."
419
 
420
+ #: ../includes/class-settings.php:373 ../includes/class-settings.php:575
421
  msgid "Opacity"
422
  msgstr "Przezroczystość"
423
 
424
+ #: ../includes/class-settings.php:376
425
  msgid "Value between 0 and 100, 100 for no opacity."
426
  msgstr "Wartość pomiędzy 0 i 100 (100 oznacza brak przezroczystości)."
427
 
428
+ #: ../includes/class-settings.php:382
429
  msgid "Show title"
430
  msgstr "Wyświetlanie tytułu"
431
 
432
+ #: ../includes/class-settings.php:385
433
  msgid "Display image title."
434
  msgstr "Wyświetlanie tytułu obrazka."
435
 
436
+ #: ../includes/class-settings.php:389
437
  msgid "Allow resize big images"
438
  msgstr "Powiększanie dużych zdjęć"
439
 
440
+ #: ../includes/class-settings.php:392
441
  msgid "Resize the photos bigger than viewport."
442
  msgstr "Zmiana wielkość zdjęć większych niż aktualny ekran."
443
 
444
+ #: ../includes/class-settings.php:396
445
  msgid "Allow expand"
446
  msgstr "Zezwól na powiększanie"
447
 
448
+ #: ../includes/class-settings.php:399
449
  msgid "Allow expanding images."
450
  msgstr "Zezwól na powiększanie zdjęć."
451
 
452
+ #: ../includes/class-settings.php:403 ../includes/class-settings.php:669
453
  msgid "Video width"
454
  msgstr "Szerokość video"
455
 
456
+ #: ../includes/class-settings.php:410 ../includes/class-settings.php:677
457
  msgid "Video height"
458
  msgstr "Wysokość video"
459
 
460
+ #: ../includes/class-settings.php:417
461
  msgid "Theme"
462
  msgstr "Motyw"
463
 
464
+ #: ../includes/class-settings.php:420
465
  msgid "Select the theme for lightbox effect."
466
  msgstr "Wybierz motyw dla efektu lightbox."
467
 
468
+ #: ../includes/class-settings.php:425
469
  msgid "Horizontal padding"
470
  msgstr "Odstępy w poziomie"
471
 
472
+ #: ../includes/class-settings.php:432
473
  msgid "Hide Flash"
474
  msgstr "Ukrywanie flash"
475
 
476
+ #: ../includes/class-settings.php:435
477
  msgid ""
478
  "Hide all the flash objects on a page. Enable this if flash appears over "
479
  "prettyPhoto."
481
  "Ukywa wszystkie obiekty flash na stronie. Włącz to jeśli animacje flash "
482
  "wyświetlane są nad lightboxem."
483
 
484
+ #: ../includes/class-settings.php:439
485
  msgid "Flash Window Mode (wmode)"
486
  msgstr "Tryb okna flash (wmode)"
487
 
488
+ #: ../includes/class-settings.php:442
489
  msgid "Select flash window mode."
490
  msgstr "Wybierz tryb okna flash."
491
 
492
+ #: ../includes/class-settings.php:447
493
  msgid "Video autoplay"
494
  msgstr "Automatyczne odtwarzanie wideo"
495
 
496
+ #: ../includes/class-settings.php:450
497
  msgid "Automatically start videos."
498
  msgstr "Automatycznie rozpoczynaj video."
499
 
500
+ #: ../includes/class-settings.php:454 ../includes/class-settings.php:497
501
  msgid "Modal"
502
  msgstr "Tryb modal"
503
 
504
+ #: ../includes/class-settings.php:457
505
  msgid "If set to true, only the close button will close the window."
506
  msgstr ""
507
  "Jeśli będzie włączone, tylko kliknięcie przycisku spowoduje zamknięcie okna."
508
 
509
+ #: ../includes/class-settings.php:461
510
  msgid "Deeplinking"
511
  msgstr "Głębokie linki"
512
 
513
+ #: ../includes/class-settings.php:464
514
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
515
  msgstr "Zezwól prettyPhoto na aktualizacje adresów URL i głębokie linkowanie."
516
 
517
+ #: ../includes/class-settings.php:468
518
  msgid "Overlay gallery"
519
  msgstr "Efekt overlay galerii"
520
 
521
+ #: ../includes/class-settings.php:471
522
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
523
  msgstr ""
524
  "Jeśli będzie włączone, galeria będzie wyświetlana na cały ekran po "
525
  "najechaniu myszką."
526
 
527
+ #: ../includes/class-settings.php:475
528
  msgid "Keyboard shortcuts"
529
  msgstr "Skróty klawiaturowe"
530
 
531
+ #: ../includes/class-settings.php:478
532
  msgid "Set to false if you open forms inside prettyPhoto."
533
  msgstr "Wyłącz to jeśli chcesz otwierać formularze wewnątrz prettyPhoto."
534
 
535
+ #: ../includes/class-settings.php:482
536
  msgid "Social (Twitter, Facebook)"
537
  msgstr "Linki społeczności (Twitter, Facebook)"
538
 
539
+ #: ../includes/class-settings.php:485
540
  msgid "Display links to Facebook and Twitter."
541
  msgstr "Wyświetl linki do Facebboka i Twittera."
542
 
543
+ #: ../includes/class-settings.php:500
544
  msgid ""
545
  "When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
546
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
550
  "natomiast \"hideOnOverlayClick\", \"hideOnContentClick\", "
551
  "\"enableEscapeButton\", \"showCloseButton\" zostaną wyłączone."
552
 
553
+ #: ../includes/class-settings.php:504
554
  msgid "Show overlay"
555
  msgstr "Wyświetlanie tła"
556
 
557
+ #: ../includes/class-settings.php:507
558
  msgid "Toggle overlay."
559
  msgstr "Włącz tło."
560
 
561
+ #: ../includes/class-settings.php:511
562
  msgid "Show close button"
563
  msgstr "Wyświetlanie przycisku Zamknij"
564
 
565
+ #: ../includes/class-settings.php:514
566
  msgid "Toggle close button."
567
  msgstr "Włącz przycisk Zamknij."
568
 
569
+ #: ../includes/class-settings.php:518
570
  msgid "Enable escape button"
571
  msgstr "Wyświetlanie przycisku Wyjdź"
572
 
573
+ #: ../includes/class-settings.php:521
574
  msgid "Toggle if pressing Esc button closes FancyBox."
575
  msgstr "Włącz zamykanie FancyBox przy pomocy Esc."
576
 
577
+ #: ../includes/class-settings.php:525
578
  msgid "Hide on overlay click"
579
  msgstr "Ukryj po kliknięciu w tło"
580
 
581
+ #: ../includes/class-settings.php:528
582
  msgid "Toggle if clicking the overlay should close FancyBox."
583
  msgstr "Włącz zamykanie FancyBox kliknięciem w tło."
584
 
585
+ #: ../includes/class-settings.php:532
586
  msgid "Hide on content click"
587
  msgstr "Ukryj po kliknięciu w treść"
588
 
589
+ #: ../includes/class-settings.php:535
590
  msgid "Toggle if clicking the content should close FancyBox."
591
  msgstr "Włącz zamykanie FancyBox kliknięciem w treść."
592
 
593
+ #: ../includes/class-settings.php:539
594
  msgid "Cyclic"
595
  msgstr "Cykliczność"
596
 
597
+ #: ../includes/class-settings.php:542
598
  msgid ""
599
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
600
  msgstr "Jeśli będzie włączone, galerie będą wyświetlane cyklicznie."
601
 
602
+ #: ../includes/class-settings.php:546
603
  msgid "Show nav arrows"
604
  msgstr "Wyświetlanie strzałek"
605
 
606
+ #: ../includes/class-settings.php:549
607
  msgid "Toggle navigation arrows."
608
  msgstr "Włącz strzałki nawigacyjne."
609
 
610
+ #: ../includes/class-settings.php:553
611
  msgid "Auto scale"
612
  msgstr "Automatyczne skalowanie"
613
 
614
+ #: ../includes/class-settings.php:556
615
  msgid "If true, FancyBox is scaled to fit in viewport."
616
  msgstr "Jeśli będzie włączone, FancyBox będzie skalowany do rozmiaru okna."
617
 
618
+ #: ../includes/class-settings.php:560
619
  msgid "Scrolling (in/out)"
620
  msgstr "Przewijanie"
621
 
622
+ #: ../includes/class-settings.php:563
623
  msgid "Set the overflow CSS property to create or hide scrollbars."
624
  msgstr ""
625
  "Ustaw parametr overflow dw CSS aby tworzyć lub ukrywać elementy nawigacji."
626
 
627
+ #: ../includes/class-settings.php:568
628
  msgid "Center on scroll"
629
  msgstr "Centrowanie przy przewijaniu"
630
 
631
+ #: ../includes/class-settings.php:571
632
  msgid "When true, FancyBox is centered while scrolling page."
633
  msgstr ""
634
  "Jeśli będzie zaznaczone, FancyBox będzie wycentrowany w trakcie przewijania "
635
  "strony."
636
 
637
+ #: ../includes/class-settings.php:578
638
  msgid "When true, transparency of content is changed for elastic transitions."
639
  msgstr ""
640
  "Jeśli będzie zaznaczone, przezroczystość treści zmieni się w trakcie "
641
  "animacji."
642
 
643
+ #: ../includes/class-settings.php:582
644
  msgid "Overlay opacity"
645
  msgstr "Przezroczystość tła"
646
 
647
+ #: ../includes/class-settings.php:585
648
  msgid "Opacity of the overlay."
649
  msgstr "Przezroczystość tła."
650
 
651
+ #: ../includes/class-settings.php:591
652
  msgid "Overlay color"
653
  msgstr "Kolor tła"
654
 
655
+ #: ../includes/class-settings.php:594
656
  msgid "Color of the overlay."
657
  msgstr "Kolor tła."
658
 
659
+ #: ../includes/class-settings.php:598
660
  msgid "Title show"
661
  msgstr "Wyświetlanie tytułu"
662
 
663
+ #: ../includes/class-settings.php:601
664
  msgid "Toggle title."
665
  msgstr "Wyświetlanie tytułu."
666
 
667
+ #: ../includes/class-settings.php:605
668
  msgid "Title position"
669
  msgstr "Pozycja tytułu"
670
 
671
+ #: ../includes/class-settings.php:608
672
  msgid "The position of title."
673
  msgstr "Pozycja tytułu."
674
 
675
+ #: ../includes/class-settings.php:613
676
  msgid "Transition (in/out)"
677
  msgstr "Efekty przejścia"
678
 
679
+ #: ../includes/class-settings.php:616
680
  msgid "The transition type."
681
  msgstr "Typ animacji."
682
 
683
+ #: ../includes/class-settings.php:621
684
  msgid "Easings (in/out)"
685
  msgstr "Wygładzanie animacji"
686
 
687
+ #: ../includes/class-settings.php:624
688
  msgid "Easing used for elastic animations."
689
  msgstr "Wygładzanie animacji dla trybu elastic."
690
 
691
+ #: ../includes/class-settings.php:629
692
  msgid "Speed (in/out)"
693
  msgstr "Szybkość"
694
 
695
+ #: ../includes/class-settings.php:632
696
  msgid "Speed of the fade and elastic transitions, in milliseconds."
697
  msgstr "Podaj czas trwania animacji fade i elastic (w milisekundach)"
698
 
699
+ #: ../includes/class-settings.php:637
700
  msgid "Change speed"
701
  msgstr "Zmień szybkość"
702
 
703
+ #: ../includes/class-settings.php:640
704
  msgid "Speed of resizing when changing gallery items, in milliseconds."
705
  msgstr ""
706
  "Szybkość zmiany wielkości okna w trakcie przechodzenia między obrazkami (w "
707
  "milisekundach)."
708
 
709
+ #: ../includes/class-settings.php:645
710
  msgid "Change fade"
711
  msgstr "Zmień zanikanie"
712
 
713
+ #: ../includes/class-settings.php:648
714
  msgid "Speed of the content fading while changing gallery items."
715
  msgstr "Szybkość zanikania elementów w trakcie przechodzenia między obrazkami."
716
 
717
+ #: ../includes/class-settings.php:653
718
  msgid "Padding"
719
  msgstr "Odstęp (padding)"
720
 
721
+ #: ../includes/class-settings.php:656
722
  msgid "Space between FancyBox wrapper and content."
723
  msgstr "Przestrzeń między FancyBox a treścią"
724
 
725
+ #: ../includes/class-settings.php:661
726
  msgid "Margin"
727
  msgstr "Margines (margin)"
728
 
729
+ #: ../includes/class-settings.php:664
730
  msgid "Space between viewport and FancyBox wrapper."
731
  msgstr "Przestrzeń między ekranem a Fancybox"
732
 
733
+ #: ../includes/class-settings.php:672
734
  msgid "Width of the video."
735
  msgstr "Szerokość video."
736
 
737
+ #: ../includes/class-settings.php:680
738
  msgid "Height of the video."
739
  msgstr "Wysokość video."
740
 
741
+ #: ../includes/class-settings.php:693
742
  msgid "Effect"
743
  msgstr "Efekt"
744
 
745
+ #: ../includes/class-settings.php:696
746
  msgid "The effect to use when showing the lightbox."
747
  msgstr "Wybierz efekt, który chcesz zastosować do wyświetlania lightboxa."
748
 
749
+ #: ../includes/class-settings.php:701 ../includes/class-settings.php:800
750
  msgid "Keyboard navigation"
751
  msgstr "Nawigacja klawiaturą"
752
 
753
+ #: ../includes/class-settings.php:704 ../includes/class-settings.php:803
754
+ msgid "Enable keyboard navigation (left/right/escape)."
755
+ msgstr "Włącz nawigację za pomocą klawiatury (lewo, prawo, esc)."
756
 
757
+ #: ../includes/class-settings.php:708
758
  msgid "Click overlay to close"
759
  msgstr "Kliknięcie poza obrazek"
760
 
 
 
 
 
761
  #: ../includes/class-settings.php:711
762
+ msgid "Enable to close lightbox on overlay click."
763
+ msgstr "Włącz aby zamykać lightbox po kliknięciu w obszar poza obrazkiem."
764
+
765
+ #: ../includes/class-settings.php:715
766
  msgid "Error message"
767
  msgstr "Treść komunikatu o błędzie"
768
 
769
+ #: ../includes/class-settings.php:719
770
  msgid "Error message if the content cannot be loaded."
771
  msgstr "Komunikat w przypadku gdy nie można załądować treści."
772
 
773
+ #: ../includes/class-settings.php:734
774
  msgid "Animation speed."
775
  msgstr "Szybkość animacji."
776
 
777
+ #: ../includes/class-settings.php:739
778
  msgid "Preload next image"
779
  msgstr "Wstępne ładowanie kolejnego obrazka"
780
 
781
+ #: ../includes/class-settings.php:742
782
  msgid "Silently preload the next image."
783
  msgstr "W niezauważalny sposób ładuje kolejny obrazek."
784
 
785
+ #: ../includes/class-settings.php:746
786
  msgid "Enable keyboard keys"
787
  msgstr "Obługa klawiaturą"
788
 
789
+ #: ../includes/class-settings.php:749
790
  msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
791
  msgstr "Włącza skróty klawiaturowe (strzałki lewo/prawo oraz Esc)"
792
 
793
+ #: ../includes/class-settings.php:753
794
  msgid "Quit after last image"
795
  msgstr "Wyjście po ostanim obrazku"
796
 
797
+ #: ../includes/class-settings.php:756
798
  msgid "Quit after viewing the last image."
799
  msgstr "Powoduje wyjście z lightboxa po obejrzeniu ostatniego obrazka."
800
 
801
+ #: ../includes/class-settings.php:760
802
  msgid "Quit on image click"
803
  msgstr "Wyjście po kliknięciu w obrazek"
804
 
805
+ #: ../includes/class-settings.php:763
806
  msgid "Quit when the viewed image is clicked."
807
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w przeglądany obrazek."
808
 
809
+ #: ../includes/class-settings.php:767
810
  msgid "Quit on anything click"
811
  msgstr "Wyjście po kliknięciu w coś innego niż obrazek"
812
 
813
+ #: ../includes/class-settings.php:770
814
  msgid "Quit when anything but the viewed image is clicked."
815
  msgstr "Powoduje wyjście z lightboxa po kliknięciu w coś innego niż obrazek."
816
 
817
+ #: ../includes/class-settings.php:782
818
+ msgid "Transition effect"
819
+ msgstr "Efekt przejścia"
820
+
821
+ #: ../includes/class-settings.php:785
822
+ msgid "What effect to use for the transition."
823
+ msgstr "Wybierz efekt jaki zastosować dla przejścia między slajdami."
824
+
825
+ #: ../includes/class-settings.php:787
826
+ msgid "slide"
827
+ msgstr ""
828
+
829
+ #: ../includes/class-settings.php:793
830
+ msgid "Infinite loop"
831
+ msgstr "Nieskończona pętla"
832
+
833
+ #: ../includes/class-settings.php:796
834
+ msgid ""
835
+ "Whether or not to slide back to the first slide when the last has been "
836
+ "reached."
837
+ msgstr ""
838
+ "Włącz przewijanie do pierwszego slajdu po wyświetleniu ostatniego slajdu."
839
+
840
+ #: ../includes/class-settings.php:807
841
+ msgid "Autoplay"
842
+ msgstr "Autopla"
843
+
844
+ #: ../includes/class-settings.php:818
845
+ msgid "The timeout between sliding to the next slide in milliseconds."
846
+ msgstr "Czas pomiędzy slajdami, w milisekundach."
847
+
848
+ #: ../includes/class-settings.php:825
849
+ msgid "Pause on hover"
850
+ msgstr "Pauza po najechaniu"
851
+
852
  #: ../includes/class-settings.php:828
853
+ msgid "Whether or not to pause on hover."
854
+ msgstr "Włącz pauzę po najechaniu kursorem."
855
+
856
+ #: ../includes/class-settings.php:832
857
+ msgid "Pagination"
858
+ msgstr "Stronicowanie"
859
+
860
+ #: ../includes/class-settings.php:838
861
+ msgid "Whether or not to add a pagination."
862
+ msgstr "Włącz stronicowanie."
863
+
864
+ #: ../includes/class-settings.php:843
865
+ msgid "What type of pagination to use."
866
+ msgstr "Wybierz rodzaj stronicowania."
867
+
868
+ #: ../includes/class-settings.php:845
869
+ msgid "Bullets"
870
+ msgstr "Kropki"
871
+
872
+ #: ../includes/class-settings.php:846
873
+ msgid "Thumbnails"
874
+ msgstr "Miniatury"
875
+
876
+ #: ../includes/class-settings.php:884 ../includes/class-settings.php:898
877
+ #: ../includes/class-settings.php:911
878
  msgid "Responsive Lightbox"
879
  msgstr "Efekt Lightbox"
880
 
881
+ #: ../includes/class-settings.php:913
882
  msgid "Need support?"
883
  msgstr "Potrzebujesz pomocy?"
884
 
885
+ #: ../includes/class-settings.php:914
886
  msgid ""
887
  "If you are having problems with this plugin, please talk about them in the"
888
  msgstr "Jeśli masz jakiekolwiek problemy z tą wtyczką, powiedz o nich na"
889
 
890
+ #: ../includes/class-settings.php:914
891
  msgid "Support forum"
892
  msgstr "Forum pomocy"
893
 
894
+ #: ../includes/class-settings.php:916
895
  msgid "Do you like this plugin?"
896
  msgstr "Lubisz tę wtyczkę?"
897
 
898
+ #: ../includes/class-settings.php:923
899
  msgid "Rate it 5"
900
  msgstr "Oceń ją na 5"
901
 
902
+ #: ../includes/class-settings.php:923
903
  msgid "on WordPress.org"
904
  msgstr "na WordPress.org"
905
 
906
+ #: ../includes/class-settings.php:924
907
  msgid "Blog about it & link to the"
908
  msgstr "Napisz o niej i dodaj link"
909
 
910
+ #: ../includes/class-settings.php:924
911
  msgid "plugin page"
912
  msgstr "do strony wtyczki"
913
 
914
+ #: ../includes/class-settings.php:925
915
  msgid "Check out our other"
916
  msgstr "Sprawdź nasze pozostałe"
917
 
918
+ #: ../includes/class-settings.php:925
919
  msgid "WordPress plugins"
920
  msgstr "wtyczki do WordPress'a"
921
 
922
+ #: ../includes/class-settings.php:945
923
  msgid "Reset to defaults"
924
  msgstr "Resetuj do domyślnych"
925
 
926
+ #: ../includes/class-settings.php:1312
927
  msgid "Settings restored to defaults."
928
  msgstr "Ustawienia zostały przywrócone do domyślnych."
929
 
930
+ #: ../responsive-lightbox.php:285
931
  msgid "Support"
932
  msgstr "Pomoc"
933
 
934
+ #: ../responsive-lightbox.php:304
935
  msgid "Settings"
936
  msgstr "Ustawienia"
937
 
938
+ #: ../responsive-lightbox.php:324
939
  msgid "Are you sure you want to reset these settings to defaults?"
940
  msgstr "Jesteś pewny, że chcesz zresetować ustawienia do domyślnych?"
941
 
942
+ #: ../responsive-lightbox.php:325
943
  msgid "Are you sure you want to reset this script settings to defaults?"
944
  msgstr ""
945
  "Jesteś pewny, że chcesz zresetować ustawienia tego skryptu do ustawień "
946
  "domyślnych?"
947
 
948
+ #~ msgid "Enable"
949
+ #~ msgstr "Włącz"
950
+
951
+ #~ msgid "Disable"
952
+ #~ msgstr "Wyłącz"
953
+
954
  #~ msgid "Default (none)"
955
  #~ msgstr "Domyślny (brak)"
956
 
languages/responsive-lightbox.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Responsive Lightbox\n"
5
- "POT-Creation-Date: 2015-06-02 15:45+0100\n"
6
  "PO-Revision-Date: 2015-05-12 12:06+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
  "Language-Team: dFactory <info@dfactory.eu>\n"
@@ -97,6 +97,7 @@ msgid "elastic"
97
  msgstr ""
98
 
99
  #: ../includes/class-settings.php:79 ../includes/class-settings.php:100
 
100
  msgid "fade"
101
  msgstr ""
102
 
@@ -168,690 +169,754 @@ msgstr ""
168
  msgid "Image Lightbox"
169
  msgstr ""
170
 
171
- #: ../includes/class-settings.php:115
172
- msgid "Enable"
173
  msgstr ""
174
 
175
- #: ../includes/class-settings.php:116
176
- msgid "Disable"
177
- msgstr ""
178
-
179
- #: ../includes/class-settings.php:120
180
  msgid "None (default)"
181
  msgstr ""
182
 
183
- #: ../includes/class-settings.php:121
184
  msgid "Image Title"
185
  msgstr ""
186
 
187
- #: ../includes/class-settings.php:122
188
  msgid "Image Caption"
189
  msgstr ""
190
 
191
- #: ../includes/class-settings.php:123
192
  msgid "Image Alt Text"
193
  msgstr ""
194
 
195
- #: ../includes/class-settings.php:124
196
  msgid "Image Description"
197
  msgstr ""
198
 
199
- #: ../includes/class-settings.php:128
200
  msgid "Header"
201
  msgstr ""
202
 
203
- #: ../includes/class-settings.php:129
204
  msgid "Footer"
205
  msgstr ""
206
 
207
- #: ../includes/class-settings.php:139
208
  msgid "Thumbnail"
209
  msgstr ""
210
 
211
- #: ../includes/class-settings.php:140
212
  msgid "Medium"
213
  msgstr ""
214
 
215
- #: ../includes/class-settings.php:141
216
  msgid "Large"
217
  msgstr ""
218
 
219
- #: ../includes/class-settings.php:142
220
  msgid "Full Size (default)"
221
  msgstr ""
222
 
223
- #: ../includes/class-settings.php:152 ../includes/class-settings.php:779
224
  msgid "General settings"
225
  msgstr ""
226
 
227
- #: ../includes/class-settings.php:161
228
  msgid "Lightbox script"
229
  msgstr ""
230
 
231
- #: ../includes/class-settings.php:167
232
  msgid "Select your preffered ligthbox effect script."
233
  msgstr ""
234
 
235
- #: ../includes/class-settings.php:174
236
  msgid "Selector"
237
  msgstr ""
238
 
239
- #: ../includes/class-settings.php:177
240
  msgid "Enter the rel selector lightbox effect will be applied to."
241
  msgstr ""
242
 
243
- #: ../includes/class-settings.php:180
244
- msgid "Galleries"
245
  msgstr ""
246
 
247
- #: ../includes/class-settings.php:183
248
- msgid "Add lightbox to WordPress image galleries by default."
249
  msgstr ""
250
 
251
- #: ../includes/class-settings.php:186
252
- msgid "Gallery image size"
253
  msgstr ""
254
 
255
- #: ../includes/class-settings.php:189
256
- msgid "Select image size for gallery image links."
 
 
 
 
257
  msgstr ""
258
 
259
  #: ../includes/class-settings.php:193
260
- msgid "Gallery image title"
261
  msgstr ""
262
 
263
  #: ../includes/class-settings.php:196
264
- msgid "Select title for images in native WordPress galleries."
265
  msgstr ""
266
 
267
- #: ../includes/class-settings.php:200
268
- msgid "Video links"
269
  msgstr ""
270
 
271
  #: ../includes/class-settings.php:203
272
- msgid "Add lightbox to YouTube and Vimeo video links by default."
273
  msgstr ""
274
 
275
  #: ../includes/class-settings.php:206
276
- msgid "Image links"
277
  msgstr ""
278
 
279
- #: ../includes/class-settings.php:209
280
- msgid "Add lightbox to WordPress image links by default."
281
  msgstr ""
282
 
283
- #: ../includes/class-settings.php:212
284
- msgid "Single images as gallery"
 
 
285
  msgstr ""
286
 
287
- #: ../includes/class-settings.php:215
288
- msgid "Display single post images as a gallery."
289
  msgstr ""
290
 
291
- #: ../includes/class-settings.php:218
 
 
 
 
292
  msgid "Custom events"
293
  msgstr ""
294
 
295
- #: ../includes/class-settings.php:224
296
  msgid "Enable triggering lightbox on custom jQuery events."
297
  msgstr ""
298
 
299
- #: ../includes/class-settings.php:228
300
  msgid "Enter a space separated list of events."
301
  msgstr ""
302
 
303
- #: ../includes/class-settings.php:233
304
  msgid "Loading place"
305
  msgstr ""
306
 
307
- #: ../includes/class-settings.php:236
308
  msgid "Select where all the lightbox scripts should be placed."
309
  msgstr ""
310
 
311
- #: ../includes/class-settings.php:240
312
  msgid "Delete data"
313
  msgstr ""
314
 
315
- #: ../includes/class-settings.php:243
316
  msgid "Delete all plugin settings on deactivation."
317
  msgstr ""
318
 
319
- #: ../includes/class-settings.php:253 ../includes/class-settings.php:785
320
  msgid "Lightbox settings"
321
  msgstr ""
322
 
323
- #: ../includes/class-settings.php:271
324
  msgid "Animation type"
325
  msgstr ""
326
 
327
- #: ../includes/class-settings.php:275
328
  msgid "Select a method of applying a lightbox effect."
329
  msgstr ""
330
 
331
- #: ../includes/class-settings.php:280
332
  msgid "Force PNG icons"
333
  msgstr ""
334
 
335
- #: ../includes/class-settings.php:283
336
  msgid ""
337
  "Enable this if you're having problems with navigation icons not visible on "
338
  "some devices."
339
  msgstr ""
340
 
341
- #: ../includes/class-settings.php:287
342
  msgid "Hide close on mobile"
343
  msgstr ""
344
 
345
- #: ../includes/class-settings.php:290
346
  msgid "Hide the close button on mobile devices."
347
  msgstr ""
348
 
349
- #: ../includes/class-settings.php:294
350
  msgid "Top and bottom bars"
351
  msgstr ""
352
 
353
- #: ../includes/class-settings.php:300
354
  msgid "Hide top and bottom bars after a period of time."
355
  msgstr ""
356
 
357
- #: ../includes/class-settings.php:305
358
  msgid ""
359
  "Enter the time after which the top and bottom bars will be hidden (when "
360
  "hiding is enabled)."
361
  msgstr ""
362
 
363
- #: ../includes/class-settings.php:312
364
  msgid "Video max width"
365
  msgstr ""
366
 
367
- #: ../includes/class-settings.php:315
368
  msgid "Enter the max video width in a lightbox."
369
  msgstr ""
370
 
371
- #: ../includes/class-settings.php:320
372
  msgid "Loop at end"
373
  msgstr ""
374
 
375
- #: ../includes/class-settings.php:323
376
  msgid "True will return to the first image after the last image is reached."
377
  msgstr ""
378
 
379
- #: ../includes/class-settings.php:335 ../includes/class-settings.php:727
380
  msgid "Animation speed"
381
  msgstr ""
382
 
383
- #: ../includes/class-settings.php:339
384
  msgid "Select animation speed for lightbox effect."
385
  msgstr ""
386
 
387
- #: ../includes/class-settings.php:344
388
  msgid "Slideshow"
389
  msgstr ""
390
 
391
- #: ../includes/class-settings.php:350
392
  msgid "Display images as slideshow"
393
  msgstr ""
394
 
395
- #: ../includes/class-settings.php:355
396
  msgid "Enter time (in miliseconds)."
397
  msgstr ""
398
 
399
- #: ../includes/class-settings.php:362
400
  msgid "Slideshow autoplay"
401
  msgstr ""
402
 
403
- #: ../includes/class-settings.php:365
404
  msgid "Automatically start slideshow."
405
  msgstr ""
406
 
407
- #: ../includes/class-settings.php:369 ../includes/class-settings.php:571
408
  msgid "Opacity"
409
  msgstr ""
410
 
411
- #: ../includes/class-settings.php:372
412
  msgid "Value between 0 and 100, 100 for no opacity."
413
  msgstr ""
414
 
415
- #: ../includes/class-settings.php:378
416
  msgid "Show title"
417
  msgstr ""
418
 
419
- #: ../includes/class-settings.php:381
420
  msgid "Display image title."
421
  msgstr ""
422
 
423
- #: ../includes/class-settings.php:385
424
  msgid "Allow resize big images"
425
  msgstr ""
426
 
427
- #: ../includes/class-settings.php:388
428
  msgid "Resize the photos bigger than viewport."
429
  msgstr ""
430
 
431
- #: ../includes/class-settings.php:392
432
  msgid "Allow expand"
433
  msgstr ""
434
 
435
- #: ../includes/class-settings.php:395
436
  msgid "Allow expanding images."
437
  msgstr ""
438
 
439
- #: ../includes/class-settings.php:399 ../includes/class-settings.php:665
440
  msgid "Video width"
441
  msgstr ""
442
 
443
- #: ../includes/class-settings.php:406 ../includes/class-settings.php:673
444
  msgid "Video height"
445
  msgstr ""
446
 
447
- #: ../includes/class-settings.php:413
448
  msgid "Theme"
449
  msgstr ""
450
 
451
- #: ../includes/class-settings.php:416
452
  msgid "Select the theme for lightbox effect."
453
  msgstr ""
454
 
455
- #: ../includes/class-settings.php:421
456
  msgid "Horizontal padding"
457
  msgstr ""
458
 
459
- #: ../includes/class-settings.php:428
460
  msgid "Hide Flash"
461
  msgstr ""
462
 
463
- #: ../includes/class-settings.php:431
464
  msgid ""
465
  "Hide all the flash objects on a page. Enable this if flash appears over "
466
  "prettyPhoto."
467
  msgstr ""
468
 
469
- #: ../includes/class-settings.php:435
470
  msgid "Flash Window Mode (wmode)"
471
  msgstr ""
472
 
473
- #: ../includes/class-settings.php:438
474
  msgid "Select flash window mode."
475
  msgstr ""
476
 
477
- #: ../includes/class-settings.php:443
478
  msgid "Video autoplay"
479
  msgstr ""
480
 
481
- #: ../includes/class-settings.php:446
482
  msgid "Automatically start videos."
483
  msgstr ""
484
 
485
- #: ../includes/class-settings.php:450 ../includes/class-settings.php:493
486
  msgid "Modal"
487
  msgstr ""
488
 
489
- #: ../includes/class-settings.php:453
490
  msgid "If set to true, only the close button will close the window."
491
  msgstr ""
492
 
493
- #: ../includes/class-settings.php:457
494
  msgid "Deeplinking"
495
  msgstr ""
496
 
497
- #: ../includes/class-settings.php:460
498
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
499
  msgstr ""
500
 
501
- #: ../includes/class-settings.php:464
502
  msgid "Overlay gallery"
503
  msgstr ""
504
 
505
- #: ../includes/class-settings.php:467
506
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
507
  msgstr ""
508
 
509
- #: ../includes/class-settings.php:471
510
  msgid "Keyboard shortcuts"
511
  msgstr ""
512
 
513
- #: ../includes/class-settings.php:474
514
  msgid "Set to false if you open forms inside prettyPhoto."
515
  msgstr ""
516
 
517
- #: ../includes/class-settings.php:478
518
  msgid "Social (Twitter, Facebook)"
519
  msgstr ""
520
 
521
- #: ../includes/class-settings.php:481
522
  msgid "Display links to Facebook and Twitter."
523
  msgstr ""
524
 
525
- #: ../includes/class-settings.php:496
526
  msgid ""
527
  "When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
528
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
529
  "to false."
530
  msgstr ""
531
 
532
- #: ../includes/class-settings.php:500
533
  msgid "Show overlay"
534
  msgstr ""
535
 
536
- #: ../includes/class-settings.php:503
537
  msgid "Toggle overlay."
538
  msgstr ""
539
 
540
- #: ../includes/class-settings.php:507
541
  msgid "Show close button"
542
  msgstr ""
543
 
544
- #: ../includes/class-settings.php:510
545
  msgid "Toggle close button."
546
  msgstr ""
547
 
548
- #: ../includes/class-settings.php:514
549
  msgid "Enable escape button"
550
  msgstr ""
551
 
552
- #: ../includes/class-settings.php:517
553
  msgid "Toggle if pressing Esc button closes FancyBox."
554
  msgstr ""
555
 
556
- #: ../includes/class-settings.php:521
557
  msgid "Hide on overlay click"
558
  msgstr ""
559
 
560
- #: ../includes/class-settings.php:524
561
  msgid "Toggle if clicking the overlay should close FancyBox."
562
  msgstr ""
563
 
564
- #: ../includes/class-settings.php:528
565
  msgid "Hide on content click"
566
  msgstr ""
567
 
568
- #: ../includes/class-settings.php:531
569
  msgid "Toggle if clicking the content should close FancyBox."
570
  msgstr ""
571
 
572
- #: ../includes/class-settings.php:535
573
  msgid "Cyclic"
574
  msgstr ""
575
 
576
- #: ../includes/class-settings.php:538
577
  msgid ""
578
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
579
  msgstr ""
580
 
581
- #: ../includes/class-settings.php:542
582
  msgid "Show nav arrows"
583
  msgstr ""
584
 
585
- #: ../includes/class-settings.php:545
586
  msgid "Toggle navigation arrows."
587
  msgstr ""
588
 
589
- #: ../includes/class-settings.php:549
590
  msgid "Auto scale"
591
  msgstr ""
592
 
593
- #: ../includes/class-settings.php:552
594
  msgid "If true, FancyBox is scaled to fit in viewport."
595
  msgstr ""
596
 
597
- #: ../includes/class-settings.php:556
598
  msgid "Scrolling (in/out)"
599
  msgstr ""
600
 
601
- #: ../includes/class-settings.php:559
602
  msgid "Set the overflow CSS property to create or hide scrollbars."
603
  msgstr ""
604
 
605
- #: ../includes/class-settings.php:564
606
  msgid "Center on scroll"
607
  msgstr ""
608
 
609
- #: ../includes/class-settings.php:567
610
  msgid "When true, FancyBox is centered while scrolling page."
611
  msgstr ""
612
 
613
- #: ../includes/class-settings.php:574
614
  msgid "When true, transparency of content is changed for elastic transitions."
615
  msgstr ""
616
 
617
- #: ../includes/class-settings.php:578
618
  msgid "Overlay opacity"
619
  msgstr ""
620
 
621
- #: ../includes/class-settings.php:581
622
  msgid "Opacity of the overlay."
623
  msgstr ""
624
 
625
- #: ../includes/class-settings.php:587
626
  msgid "Overlay color"
627
  msgstr ""
628
 
629
- #: ../includes/class-settings.php:590
630
  msgid "Color of the overlay."
631
  msgstr ""
632
 
633
- #: ../includes/class-settings.php:594
634
  msgid "Title show"
635
  msgstr ""
636
 
637
- #: ../includes/class-settings.php:597
638
  msgid "Toggle title."
639
  msgstr ""
640
 
641
- #: ../includes/class-settings.php:601
642
  msgid "Title position"
643
  msgstr ""
644
 
645
- #: ../includes/class-settings.php:604
646
  msgid "The position of title."
647
  msgstr ""
648
 
649
- #: ../includes/class-settings.php:609
650
  msgid "Transition (in/out)"
651
  msgstr ""
652
 
653
- #: ../includes/class-settings.php:612
654
  msgid "The transition type."
655
  msgstr ""
656
 
657
- #: ../includes/class-settings.php:617
658
  msgid "Easings (in/out)"
659
  msgstr ""
660
 
661
- #: ../includes/class-settings.php:620
662
  msgid "Easing used for elastic animations."
663
  msgstr ""
664
 
665
- #: ../includes/class-settings.php:625
666
  msgid "Speed (in/out)"
667
  msgstr ""
668
 
669
- #: ../includes/class-settings.php:628
670
  msgid "Speed of the fade and elastic transitions, in milliseconds."
671
  msgstr ""
672
 
673
- #: ../includes/class-settings.php:633
674
  msgid "Change speed"
675
  msgstr ""
676
 
677
- #: ../includes/class-settings.php:636
678
  msgid "Speed of resizing when changing gallery items, in milliseconds."
679
  msgstr ""
680
 
681
- #: ../includes/class-settings.php:641
682
  msgid "Change fade"
683
  msgstr ""
684
 
685
- #: ../includes/class-settings.php:644
686
  msgid "Speed of the content fading while changing gallery items."
687
  msgstr ""
688
 
689
- #: ../includes/class-settings.php:649
690
  msgid "Padding"
691
  msgstr ""
692
 
693
- #: ../includes/class-settings.php:652
694
  msgid "Space between FancyBox wrapper and content."
695
  msgstr ""
696
 
697
- #: ../includes/class-settings.php:657
698
  msgid "Margin"
699
  msgstr ""
700
 
701
- #: ../includes/class-settings.php:660
702
  msgid "Space between viewport and FancyBox wrapper."
703
  msgstr ""
704
 
705
- #: ../includes/class-settings.php:668
706
  msgid "Width of the video."
707
  msgstr ""
708
 
709
- #: ../includes/class-settings.php:676
710
  msgid "Height of the video."
711
  msgstr ""
712
 
713
- #: ../includes/class-settings.php:689
714
  msgid "Effect"
715
  msgstr ""
716
 
717
- #: ../includes/class-settings.php:692
718
  msgid "The effect to use when showing the lightbox."
719
  msgstr ""
720
 
721
- #: ../includes/class-settings.php:697
722
  msgid "Keyboard navigation"
723
  msgstr ""
724
 
725
- #: ../includes/class-settings.php:700
726
- msgid "Enable to close lightbox on overlay click."
727
  msgstr ""
728
 
729
- #: ../includes/class-settings.php:704
730
  msgid "Click overlay to close"
731
  msgstr ""
732
 
733
- #: ../includes/class-settings.php:707
734
- msgid "Enable keyboard navigation (left/right/escape)."
735
  msgstr ""
736
 
737
- #: ../includes/class-settings.php:711
738
  msgid "Error message"
739
  msgstr ""
740
 
741
- #: ../includes/class-settings.php:715
742
  msgid "Error message if the content cannot be loaded."
743
  msgstr ""
744
 
745
- #: ../includes/class-settings.php:730
746
  msgid "Animation speed."
747
  msgstr ""
748
 
749
- #: ../includes/class-settings.php:735
750
  msgid "Preload next image"
751
  msgstr ""
752
 
753
- #: ../includes/class-settings.php:738
754
  msgid "Silently preload the next image."
755
  msgstr ""
756
 
757
- #: ../includes/class-settings.php:742
758
  msgid "Enable keyboard keys"
759
  msgstr ""
760
 
761
- #: ../includes/class-settings.php:745
762
  msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
763
  msgstr ""
764
 
765
- #: ../includes/class-settings.php:749
766
  msgid "Quit after last image"
767
  msgstr ""
768
 
769
- #: ../includes/class-settings.php:752
770
  msgid "Quit after viewing the last image."
771
  msgstr ""
772
 
773
- #: ../includes/class-settings.php:756
774
  msgid "Quit on image click"
775
  msgstr ""
776
 
777
- #: ../includes/class-settings.php:759
778
  msgid "Quit when the viewed image is clicked."
779
  msgstr ""
780
 
781
- #: ../includes/class-settings.php:763
782
  msgid "Quit on anything click"
783
  msgstr ""
784
 
785
- #: ../includes/class-settings.php:766
786
  msgid "Quit when anything but the viewed image is clicked."
787
  msgstr ""
788
 
789
- #: ../includes/class-settings.php:801 ../includes/class-settings.php:815
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
790
  #: ../includes/class-settings.php:828
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
791
  msgid "Responsive Lightbox"
792
  msgstr ""
793
 
794
- #: ../includes/class-settings.php:830
795
  msgid "Need support?"
796
  msgstr ""
797
 
798
- #: ../includes/class-settings.php:831
799
  msgid ""
800
  "If you are having problems with this plugin, please talk about them in the"
801
  msgstr ""
802
 
803
- #: ../includes/class-settings.php:831
804
  msgid "Support forum"
805
  msgstr ""
806
 
807
- #: ../includes/class-settings.php:833
808
  msgid "Do you like this plugin?"
809
  msgstr ""
810
 
811
- #: ../includes/class-settings.php:840
812
  msgid "Rate it 5"
813
  msgstr ""
814
 
815
- #: ../includes/class-settings.php:840
816
  msgid "on WordPress.org"
817
  msgstr ""
818
 
819
- #: ../includes/class-settings.php:841
820
  msgid "Blog about it & link to the"
821
  msgstr ""
822
 
823
- #: ../includes/class-settings.php:841
824
  msgid "plugin page"
825
  msgstr ""
826
 
827
- #: ../includes/class-settings.php:842
828
  msgid "Check out our other"
829
  msgstr ""
830
 
831
- #: ../includes/class-settings.php:842
832
  msgid "WordPress plugins"
833
  msgstr ""
834
 
835
- #: ../includes/class-settings.php:862
836
  msgid "Reset to defaults"
837
  msgstr ""
838
 
839
- #: ../includes/class-settings.php:1214
840
  msgid "Settings restored to defaults."
841
  msgstr ""
842
 
843
- #: ../responsive-lightbox.php:274
844
  msgid "Support"
845
  msgstr ""
846
 
847
- #: ../responsive-lightbox.php:293
848
  msgid "Settings"
849
  msgstr ""
850
 
851
- #: ../responsive-lightbox.php:313
852
  msgid "Are you sure you want to reset these settings to defaults?"
853
  msgstr ""
854
 
855
- #: ../responsive-lightbox.php:314
856
  msgid "Are you sure you want to reset this script settings to defaults?"
857
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Responsive Lightbox\n"
5
+ "POT-Creation-Date: 2015-06-08 10:47+0100\n"
6
  "PO-Revision-Date: 2015-05-12 12:06+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
  "Language-Team: dFactory <info@dfactory.eu>\n"
97
  msgstr ""
98
 
99
  #: ../includes/class-settings.php:79 ../includes/class-settings.php:100
100
+ #: ../includes/class-settings.php:788
101
  msgid "fade"
102
  msgstr ""
103
 
169
  msgid "Image Lightbox"
170
  msgstr ""
171
 
172
+ #: ../includes/class-settings.php:113
173
+ msgid "TosRUs"
174
  msgstr ""
175
 
176
+ #: ../includes/class-settings.php:118
 
 
 
 
177
  msgid "None (default)"
178
  msgstr ""
179
 
180
+ #: ../includes/class-settings.php:119
181
  msgid "Image Title"
182
  msgstr ""
183
 
184
+ #: ../includes/class-settings.php:120
185
  msgid "Image Caption"
186
  msgstr ""
187
 
188
+ #: ../includes/class-settings.php:121
189
  msgid "Image Alt Text"
190
  msgstr ""
191
 
192
+ #: ../includes/class-settings.php:122
193
  msgid "Image Description"
194
  msgstr ""
195
 
196
+ #: ../includes/class-settings.php:126
197
  msgid "Header"
198
  msgstr ""
199
 
200
+ #: ../includes/class-settings.php:127
201
  msgid "Footer"
202
  msgstr ""
203
 
204
+ #: ../includes/class-settings.php:137
205
  msgid "Thumbnail"
206
  msgstr ""
207
 
208
+ #: ../includes/class-settings.php:138
209
  msgid "Medium"
210
  msgstr ""
211
 
212
+ #: ../includes/class-settings.php:139
213
  msgid "Large"
214
  msgstr ""
215
 
216
+ #: ../includes/class-settings.php:140
217
  msgid "Full Size (default)"
218
  msgstr ""
219
 
220
+ #: ../includes/class-settings.php:150 ../includes/class-settings.php:862
221
  msgid "General settings"
222
  msgstr ""
223
 
224
+ #: ../includes/class-settings.php:159
225
  msgid "Lightbox script"
226
  msgstr ""
227
 
228
+ #: ../includes/class-settings.php:165
229
  msgid "Select your preffered ligthbox effect script."
230
  msgstr ""
231
 
232
+ #: ../includes/class-settings.php:172
233
  msgid "Selector"
234
  msgstr ""
235
 
236
+ #: ../includes/class-settings.php:175
237
  msgid "Enter the rel selector lightbox effect will be applied to."
238
  msgstr ""
239
 
240
+ #: ../includes/class-settings.php:178
241
+ msgid "Image links"
242
  msgstr ""
243
 
244
+ #: ../includes/class-settings.php:181
245
+ msgid "Add lightbox to WordPress image links by default."
246
  msgstr ""
247
 
248
+ #: ../includes/class-settings.php:184
249
+ msgid "Single images as gallery"
250
  msgstr ""
251
 
252
+ #: ../includes/class-settings.php:187
253
+ msgid "Display single post images as a gallery."
254
+ msgstr ""
255
+
256
+ #: ../includes/class-settings.php:190
257
+ msgid "Galleries"
258
  msgstr ""
259
 
260
  #: ../includes/class-settings.php:193
261
+ msgid "Add lightbox to WordPress image galleries by default."
262
  msgstr ""
263
 
264
  #: ../includes/class-settings.php:196
265
+ msgid "Gallery image size"
266
  msgstr ""
267
 
268
+ #: ../includes/class-settings.php:199
269
+ msgid "Select image size for gallery image links."
270
  msgstr ""
271
 
272
  #: ../includes/class-settings.php:203
273
+ msgid "Gallery image title"
274
  msgstr ""
275
 
276
  #: ../includes/class-settings.php:206
277
+ msgid "Select title for images in native WordPress galleries."
278
  msgstr ""
279
 
280
+ #: ../includes/class-settings.php:210
281
+ msgid "Force gallery lightbox"
282
  msgstr ""
283
 
284
+ #: ../includes/class-settings.php:213
285
+ msgid ""
286
+ "Try to force lightbox for custom WP gallery replacements, like Jetpack tiled "
287
+ "galleries."
288
  msgstr ""
289
 
290
+ #: ../includes/class-settings.php:216
291
+ msgid "Video links"
292
  msgstr ""
293
 
294
+ #: ../includes/class-settings.php:219
295
+ msgid "Add lightbox to YouTube and Vimeo video links by default."
296
+ msgstr ""
297
+
298
+ #: ../includes/class-settings.php:222
299
  msgid "Custom events"
300
  msgstr ""
301
 
302
+ #: ../includes/class-settings.php:228
303
  msgid "Enable triggering lightbox on custom jQuery events."
304
  msgstr ""
305
 
306
+ #: ../includes/class-settings.php:232
307
  msgid "Enter a space separated list of events."
308
  msgstr ""
309
 
310
+ #: ../includes/class-settings.php:237
311
  msgid "Loading place"
312
  msgstr ""
313
 
314
+ #: ../includes/class-settings.php:240
315
  msgid "Select where all the lightbox scripts should be placed."
316
  msgstr ""
317
 
318
+ #: ../includes/class-settings.php:244
319
  msgid "Delete data"
320
  msgstr ""
321
 
322
+ #: ../includes/class-settings.php:247
323
  msgid "Delete all plugin settings on deactivation."
324
  msgstr ""
325
 
326
+ #: ../includes/class-settings.php:257 ../includes/class-settings.php:868
327
  msgid "Lightbox settings"
328
  msgstr ""
329
 
330
+ #: ../includes/class-settings.php:275
331
  msgid "Animation type"
332
  msgstr ""
333
 
334
+ #: ../includes/class-settings.php:279
335
  msgid "Select a method of applying a lightbox effect."
336
  msgstr ""
337
 
338
+ #: ../includes/class-settings.php:284
339
  msgid "Force PNG icons"
340
  msgstr ""
341
 
342
+ #: ../includes/class-settings.php:287
343
  msgid ""
344
  "Enable this if you're having problems with navigation icons not visible on "
345
  "some devices."
346
  msgstr ""
347
 
348
+ #: ../includes/class-settings.php:291
349
  msgid "Hide close on mobile"
350
  msgstr ""
351
 
352
+ #: ../includes/class-settings.php:294
353
  msgid "Hide the close button on mobile devices."
354
  msgstr ""
355
 
356
+ #: ../includes/class-settings.php:298
357
  msgid "Top and bottom bars"
358
  msgstr ""
359
 
360
+ #: ../includes/class-settings.php:304
361
  msgid "Hide top and bottom bars after a period of time."
362
  msgstr ""
363
 
364
+ #: ../includes/class-settings.php:309
365
  msgid ""
366
  "Enter the time after which the top and bottom bars will be hidden (when "
367
  "hiding is enabled)."
368
  msgstr ""
369
 
370
+ #: ../includes/class-settings.php:316
371
  msgid "Video max width"
372
  msgstr ""
373
 
374
+ #: ../includes/class-settings.php:319
375
  msgid "Enter the max video width in a lightbox."
376
  msgstr ""
377
 
378
+ #: ../includes/class-settings.php:324
379
  msgid "Loop at end"
380
  msgstr ""
381
 
382
+ #: ../includes/class-settings.php:327
383
  msgid "True will return to the first image after the last image is reached."
384
  msgstr ""
385
 
386
+ #: ../includes/class-settings.php:339 ../includes/class-settings.php:731
387
  msgid "Animation speed"
388
  msgstr ""
389
 
390
+ #: ../includes/class-settings.php:343
391
  msgid "Select animation speed for lightbox effect."
392
  msgstr ""
393
 
394
+ #: ../includes/class-settings.php:348
395
  msgid "Slideshow"
396
  msgstr ""
397
 
398
+ #: ../includes/class-settings.php:354
399
  msgid "Display images as slideshow"
400
  msgstr ""
401
 
402
+ #: ../includes/class-settings.php:359
403
  msgid "Enter time (in miliseconds)."
404
  msgstr ""
405
 
406
+ #: ../includes/class-settings.php:366
407
  msgid "Slideshow autoplay"
408
  msgstr ""
409
 
410
+ #: ../includes/class-settings.php:369 ../includes/class-settings.php:813
411
  msgid "Automatically start slideshow."
412
  msgstr ""
413
 
414
+ #: ../includes/class-settings.php:373 ../includes/class-settings.php:575
415
  msgid "Opacity"
416
  msgstr ""
417
 
418
+ #: ../includes/class-settings.php:376
419
  msgid "Value between 0 and 100, 100 for no opacity."
420
  msgstr ""
421
 
422
+ #: ../includes/class-settings.php:382
423
  msgid "Show title"
424
  msgstr ""
425
 
426
+ #: ../includes/class-settings.php:385
427
  msgid "Display image title."
428
  msgstr ""
429
 
430
+ #: ../includes/class-settings.php:389
431
  msgid "Allow resize big images"
432
  msgstr ""
433
 
434
+ #: ../includes/class-settings.php:392
435
  msgid "Resize the photos bigger than viewport."
436
  msgstr ""
437
 
438
+ #: ../includes/class-settings.php:396
439
  msgid "Allow expand"
440
  msgstr ""
441
 
442
+ #: ../includes/class-settings.php:399
443
  msgid "Allow expanding images."
444
  msgstr ""
445
 
446
+ #: ../includes/class-settings.php:403 ../includes/class-settings.php:669
447
  msgid "Video width"
448
  msgstr ""
449
 
450
+ #: ../includes/class-settings.php:410 ../includes/class-settings.php:677
451
  msgid "Video height"
452
  msgstr ""
453
 
454
+ #: ../includes/class-settings.php:417
455
  msgid "Theme"
456
  msgstr ""
457
 
458
+ #: ../includes/class-settings.php:420
459
  msgid "Select the theme for lightbox effect."
460
  msgstr ""
461
 
462
+ #: ../includes/class-settings.php:425
463
  msgid "Horizontal padding"
464
  msgstr ""
465
 
466
+ #: ../includes/class-settings.php:432
467
  msgid "Hide Flash"
468
  msgstr ""
469
 
470
+ #: ../includes/class-settings.php:435
471
  msgid ""
472
  "Hide all the flash objects on a page. Enable this if flash appears over "
473
  "prettyPhoto."
474
  msgstr ""
475
 
476
+ #: ../includes/class-settings.php:439
477
  msgid "Flash Window Mode (wmode)"
478
  msgstr ""
479
 
480
+ #: ../includes/class-settings.php:442
481
  msgid "Select flash window mode."
482
  msgstr ""
483
 
484
+ #: ../includes/class-settings.php:447
485
  msgid "Video autoplay"
486
  msgstr ""
487
 
488
+ #: ../includes/class-settings.php:450
489
  msgid "Automatically start videos."
490
  msgstr ""
491
 
492
+ #: ../includes/class-settings.php:454 ../includes/class-settings.php:497
493
  msgid "Modal"
494
  msgstr ""
495
 
496
+ #: ../includes/class-settings.php:457
497
  msgid "If set to true, only the close button will close the window."
498
  msgstr ""
499
 
500
+ #: ../includes/class-settings.php:461
501
  msgid "Deeplinking"
502
  msgstr ""
503
 
504
+ #: ../includes/class-settings.php:464
505
  msgid "Allow prettyPhoto to update the url to enable deeplinking."
506
  msgstr ""
507
 
508
+ #: ../includes/class-settings.php:468
509
  msgid "Overlay gallery"
510
  msgstr ""
511
 
512
+ #: ../includes/class-settings.php:471
513
  msgid "If enabled, a gallery will overlay the fullscreen image on mouse over."
514
  msgstr ""
515
 
516
+ #: ../includes/class-settings.php:475
517
  msgid "Keyboard shortcuts"
518
  msgstr ""
519
 
520
+ #: ../includes/class-settings.php:478
521
  msgid "Set to false if you open forms inside prettyPhoto."
522
  msgstr ""
523
 
524
+ #: ../includes/class-settings.php:482
525
  msgid "Social (Twitter, Facebook)"
526
  msgstr ""
527
 
528
+ #: ../includes/class-settings.php:485
529
  msgid "Display links to Facebook and Twitter."
530
  msgstr ""
531
 
532
+ #: ../includes/class-settings.php:500
533
  msgid ""
534
  "When true, \"overlayShow\" is set to true and \"hideOnOverlayClick\", "
535
  "\"hideOnContentClick\", \"enableEscapeButton\", \"showCloseButton\" are set "
536
  "to false."
537
  msgstr ""
538
 
539
+ #: ../includes/class-settings.php:504
540
  msgid "Show overlay"
541
  msgstr ""
542
 
543
+ #: ../includes/class-settings.php:507
544
  msgid "Toggle overlay."
545
  msgstr ""
546
 
547
+ #: ../includes/class-settings.php:511
548
  msgid "Show close button"
549
  msgstr ""
550
 
551
+ #: ../includes/class-settings.php:514
552
  msgid "Toggle close button."
553
  msgstr ""
554
 
555
+ #: ../includes/class-settings.php:518
556
  msgid "Enable escape button"
557
  msgstr ""
558
 
559
+ #: ../includes/class-settings.php:521
560
  msgid "Toggle if pressing Esc button closes FancyBox."
561
  msgstr ""
562
 
563
+ #: ../includes/class-settings.php:525
564
  msgid "Hide on overlay click"
565
  msgstr ""
566
 
567
+ #: ../includes/class-settings.php:528
568
  msgid "Toggle if clicking the overlay should close FancyBox."
569
  msgstr ""
570
 
571
+ #: ../includes/class-settings.php:532
572
  msgid "Hide on content click"
573
  msgstr ""
574
 
575
+ #: ../includes/class-settings.php:535
576
  msgid "Toggle if clicking the content should close FancyBox."
577
  msgstr ""
578
 
579
+ #: ../includes/class-settings.php:539
580
  msgid "Cyclic"
581
  msgstr ""
582
 
583
+ #: ../includes/class-settings.php:542
584
  msgid ""
585
  "When true, galleries will be cyclic, allowing you to keep pressing next/back."
586
  msgstr ""
587
 
588
+ #: ../includes/class-settings.php:546
589
  msgid "Show nav arrows"
590
  msgstr ""
591
 
592
+ #: ../includes/class-settings.php:549
593
  msgid "Toggle navigation arrows."
594
  msgstr ""
595
 
596
+ #: ../includes/class-settings.php:553
597
  msgid "Auto scale"
598
  msgstr ""
599
 
600
+ #: ../includes/class-settings.php:556
601
  msgid "If true, FancyBox is scaled to fit in viewport."
602
  msgstr ""
603
 
604
+ #: ../includes/class-settings.php:560
605
  msgid "Scrolling (in/out)"
606
  msgstr ""
607
 
608
+ #: ../includes/class-settings.php:563
609
  msgid "Set the overflow CSS property to create or hide scrollbars."
610
  msgstr ""
611
 
612
+ #: ../includes/class-settings.php:568
613
  msgid "Center on scroll"
614
  msgstr ""
615
 
616
+ #: ../includes/class-settings.php:571
617
  msgid "When true, FancyBox is centered while scrolling page."
618
  msgstr ""
619
 
620
+ #: ../includes/class-settings.php:578
621
  msgid "When true, transparency of content is changed for elastic transitions."
622
  msgstr ""
623
 
624
+ #: ../includes/class-settings.php:582
625
  msgid "Overlay opacity"
626
  msgstr ""
627
 
628
+ #: ../includes/class-settings.php:585
629
  msgid "Opacity of the overlay."
630
  msgstr ""
631
 
632
+ #: ../includes/class-settings.php:591
633
  msgid "Overlay color"
634
  msgstr ""
635
 
636
+ #: ../includes/class-settings.php:594
637
  msgid "Color of the overlay."
638
  msgstr ""
639
 
640
+ #: ../includes/class-settings.php:598
641
  msgid "Title show"
642
  msgstr ""
643
 
644
+ #: ../includes/class-settings.php:601
645
  msgid "Toggle title."
646
  msgstr ""
647
 
648
+ #: ../includes/class-settings.php:605
649
  msgid "Title position"
650
  msgstr ""
651
 
652
+ #: ../includes/class-settings.php:608
653
  msgid "The position of title."
654
  msgstr ""
655
 
656
+ #: ../includes/class-settings.php:613
657
  msgid "Transition (in/out)"
658
  msgstr ""
659
 
660
+ #: ../includes/class-settings.php:616
661
  msgid "The transition type."
662
  msgstr ""
663
 
664
+ #: ../includes/class-settings.php:621
665
  msgid "Easings (in/out)"
666
  msgstr ""
667
 
668
+ #: ../includes/class-settings.php:624
669
  msgid "Easing used for elastic animations."
670
  msgstr ""
671
 
672
+ #: ../includes/class-settings.php:629
673
  msgid "Speed (in/out)"
674
  msgstr ""
675
 
676
+ #: ../includes/class-settings.php:632
677
  msgid "Speed of the fade and elastic transitions, in milliseconds."
678
  msgstr ""
679
 
680
+ #: ../includes/class-settings.php:637
681
  msgid "Change speed"
682
  msgstr ""
683
 
684
+ #: ../includes/class-settings.php:640
685
  msgid "Speed of resizing when changing gallery items, in milliseconds."
686
  msgstr ""
687
 
688
+ #: ../includes/class-settings.php:645
689
  msgid "Change fade"
690
  msgstr ""
691
 
692
+ #: ../includes/class-settings.php:648
693
  msgid "Speed of the content fading while changing gallery items."
694
  msgstr ""
695
 
696
+ #: ../includes/class-settings.php:653
697
  msgid "Padding"
698
  msgstr ""
699
 
700
+ #: ../includes/class-settings.php:656
701
  msgid "Space between FancyBox wrapper and content."
702
  msgstr ""
703
 
704
+ #: ../includes/class-settings.php:661
705
  msgid "Margin"
706
  msgstr ""
707
 
708
+ #: ../includes/class-settings.php:664
709
  msgid "Space between viewport and FancyBox wrapper."
710
  msgstr ""
711
 
712
+ #: ../includes/class-settings.php:672
713
  msgid "Width of the video."
714
  msgstr ""
715
 
716
+ #: ../includes/class-settings.php:680
717
  msgid "Height of the video."
718
  msgstr ""
719
 
720
+ #: ../includes/class-settings.php:693
721
  msgid "Effect"
722
  msgstr ""
723
 
724
+ #: ../includes/class-settings.php:696
725
  msgid "The effect to use when showing the lightbox."
726
  msgstr ""
727
 
728
+ #: ../includes/class-settings.php:701 ../includes/class-settings.php:800
729
  msgid "Keyboard navigation"
730
  msgstr ""
731
 
732
+ #: ../includes/class-settings.php:704 ../includes/class-settings.php:803
733
+ msgid "Enable keyboard navigation (left/right/escape)."
734
  msgstr ""
735
 
736
+ #: ../includes/class-settings.php:708
737
  msgid "Click overlay to close"
738
  msgstr ""
739
 
740
+ #: ../includes/class-settings.php:711
741
+ msgid "Enable to close lightbox on overlay click."
742
  msgstr ""
743
 
744
+ #: ../includes/class-settings.php:715
745
  msgid "Error message"
746
  msgstr ""
747
 
748
+ #: ../includes/class-settings.php:719
749
  msgid "Error message if the content cannot be loaded."
750
  msgstr ""
751
 
752
+ #: ../includes/class-settings.php:734
753
  msgid "Animation speed."
754
  msgstr ""
755
 
756
+ #: ../includes/class-settings.php:739
757
  msgid "Preload next image"
758
  msgstr ""
759
 
760
+ #: ../includes/class-settings.php:742
761
  msgid "Silently preload the next image."
762
  msgstr ""
763
 
764
+ #: ../includes/class-settings.php:746
765
  msgid "Enable keyboard keys"
766
  msgstr ""
767
 
768
+ #: ../includes/class-settings.php:749
769
  msgid "Enable keyboard shortcuts (arrows Left/Right and Esc)."
770
  msgstr ""
771
 
772
+ #: ../includes/class-settings.php:753
773
  msgid "Quit after last image"
774
  msgstr ""
775
 
776
+ #: ../includes/class-settings.php:756
777
  msgid "Quit after viewing the last image."
778
  msgstr ""
779
 
780
+ #: ../includes/class-settings.php:760
781
  msgid "Quit on image click"
782
  msgstr ""
783
 
784
+ #: ../includes/class-settings.php:763
785
  msgid "Quit when the viewed image is clicked."
786
  msgstr ""
787
 
788
+ #: ../includes/class-settings.php:767
789
  msgid "Quit on anything click"
790
  msgstr ""
791
 
792
+ #: ../includes/class-settings.php:770
793
  msgid "Quit when anything but the viewed image is clicked."
794
  msgstr ""
795
 
796
+ #: ../includes/class-settings.php:782
797
+ msgid "Transition effect"
798
+ msgstr ""
799
+
800
+ #: ../includes/class-settings.php:785
801
+ msgid "What effect to use for the transition."
802
+ msgstr ""
803
+
804
+ #: ../includes/class-settings.php:787
805
+ msgid "slide"
806
+ msgstr ""
807
+
808
+ #: ../includes/class-settings.php:793
809
+ msgid "Infinite loop"
810
+ msgstr ""
811
+
812
+ #: ../includes/class-settings.php:796
813
+ msgid ""
814
+ "Whether or not to slide back to the first slide when the last has been "
815
+ "reached."
816
+ msgstr ""
817
+
818
+ #: ../includes/class-settings.php:807
819
+ msgid "Autoplay"
820
+ msgstr ""
821
+
822
+ #: ../includes/class-settings.php:818
823
+ msgid "The timeout between sliding to the next slide in milliseconds."
824
+ msgstr ""
825
+
826
+ #: ../includes/class-settings.php:825
827
+ msgid "Pause on hover"
828
+ msgstr ""
829
+
830
  #: ../includes/class-settings.php:828
831
+ msgid "Whether or not to pause on hover."
832
+ msgstr ""
833
+
834
+ #: ../includes/class-settings.php:832
835
+ msgid "Pagination"
836
+ msgstr ""
837
+
838
+ #: ../includes/class-settings.php:838
839
+ msgid "Whether or not to add a pagination."
840
+ msgstr ""
841
+
842
+ #: ../includes/class-settings.php:843
843
+ msgid "What type of pagination to use."
844
+ msgstr ""
845
+
846
+ #: ../includes/class-settings.php:845
847
+ msgid "Bullets"
848
+ msgstr ""
849
+
850
+ #: ../includes/class-settings.php:846
851
+ msgid "Thumbnails"
852
+ msgstr ""
853
+
854
+ #: ../includes/class-settings.php:884 ../includes/class-settings.php:898
855
+ #: ../includes/class-settings.php:911
856
  msgid "Responsive Lightbox"
857
  msgstr ""
858
 
859
+ #: ../includes/class-settings.php:913
860
  msgid "Need support?"
861
  msgstr ""
862
 
863
+ #: ../includes/class-settings.php:914
864
  msgid ""
865
  "If you are having problems with this plugin, please talk about them in the"
866
  msgstr ""
867
 
868
+ #: ../includes/class-settings.php:914
869
  msgid "Support forum"
870
  msgstr ""
871
 
872
+ #: ../includes/class-settings.php:916
873
  msgid "Do you like this plugin?"
874
  msgstr ""
875
 
876
+ #: ../includes/class-settings.php:923
877
  msgid "Rate it 5"
878
  msgstr ""
879
 
880
+ #: ../includes/class-settings.php:923
881
  msgid "on WordPress.org"
882
  msgstr ""
883
 
884
+ #: ../includes/class-settings.php:924
885
  msgid "Blog about it & link to the"
886
  msgstr ""
887
 
888
+ #: ../includes/class-settings.php:924
889
  msgid "plugin page"
890
  msgstr ""
891
 
892
+ #: ../includes/class-settings.php:925
893
  msgid "Check out our other"
894
  msgstr ""
895
 
896
+ #: ../includes/class-settings.php:925
897
  msgid "WordPress plugins"
898
  msgstr ""
899
 
900
+ #: ../includes/class-settings.php:945
901
  msgid "Reset to defaults"
902
  msgstr ""
903
 
904
+ #: ../includes/class-settings.php:1312
905
  msgid "Settings restored to defaults."
906
  msgstr ""
907
 
908
+ #: ../responsive-lightbox.php:285
909
  msgid "Support"
910
  msgstr ""
911
 
912
+ #: ../responsive-lightbox.php:304
913
  msgid "Settings"
914
  msgstr ""
915
 
916
+ #: ../responsive-lightbox.php:324
917
  msgid "Are you sure you want to reset these settings to defaults?"
918
  msgstr ""
919
 
920
+ #: ../responsive-lightbox.php:325
921
  msgid "Are you sure you want to reset this script settings to defaults?"
922
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.dfactory.eu/
4
  Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
- Stable tag: 1.5.1
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -18,7 +18,7 @@ For more information, check out plugin page at [dFactory](http://www.dfactory.eu
18
 
19
  = Features include: =
20
 
21
- * Select from 5 responsive lightbox scripts (SwipeBox, prettyPhoto, FancyBox, Nivo Lightbox, Image Lightbox)
22
  * Automatically add lightbox to WordPress image galleries
23
  * Automatically add lightbox to WordPress image links
24
  * Automatically add lightbox to WordPress video links (YouTube, Vimeo)
@@ -67,6 +67,12 @@ No questions yet.
67
 
68
  == Changelog ==
69
 
 
 
 
 
 
 
70
  = 1.5.1 =
71
  * Tweak: Support for multiple custom galleries per page (via gallery-n) in rel
72
  * Fix: Boolean / subfields bug not saving settings properly
@@ -208,6 +214,7 @@ Initial release
208
 
209
  == Upgrade Notice ==
210
 
211
- = 1.5.1 =
212
- * Tweak: Support for multiple custom galleries per page (via gallery-n) in rel
213
- * Fix: Boolean / subfields bug not saving settings properly
 
4
  Tags: gallery, images, lightbox, links, photos, template, theme, photo, image, picture, slideshow, modal, overlay, YouTube, Vimeo, video, videos
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.5.2
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
18
 
19
  = Features include: =
20
 
21
+ * Select from 6 responsive lightbox scripts (SwipeBox, prettyPhoto, FancyBox, Nivo Lightbox, Image Lightbox, Tos "R" Us)
22
  * Automatically add lightbox to WordPress image galleries
23
  * Automatically add lightbox to WordPress image links
24
  * Automatically add lightbox to WordPress video links (YouTube, Vimeo)
67
 
68
  == Changelog ==
69
 
70
+ = 1.5.2 =
71
+ * New: Tos "R" Us lightbox script
72
+ * Fix: Final fix for video links regex (hopefully)
73
+ * Tweak: Switched from rel to data-rel attribute to avoid W3C validation errors
74
+ * Tweak: Optimized gallery image size function
75
+
76
  = 1.5.1 =
77
  * Tweak: Support for multiple custom galleries per page (via gallery-n) in rel
78
  * Fix: Boolean / subfields bug not saving settings properly
214
 
215
  == Upgrade Notice ==
216
 
217
+ = 1.5.2 =
218
+ * New: Tos "R" Us lightbox script
219
+ * Fix: Final fix for video links regex (hopefully)
220
+ * Tweak: Switched from rel to data-rel attribute to avoid W3C validation errors
responsive-lightbox.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Responsive Lightbox
4
  Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
5
- Version: 1.5.1
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
@@ -36,7 +36,7 @@ include_once( RESPONSIVE_LIGHTBOX_PATH . 'includes/class-settings.php' );
36
  * Responsive Lightbox class.
37
  *
38
  * @class Responsive_Lightbox
39
- * @version 1.5.1
40
  */
41
  class Responsive_Lightbox {
42
 
@@ -129,9 +129,19 @@ class Responsive_Lightbox {
129
  'quit_on_end' => false,
130
  'quit_on_image_click' => false,
131
  'quit_on_document_click' => true
 
 
 
 
 
 
 
 
 
 
132
  )
133
  ),
134
- 'version' => '1.5.1'
135
  );
136
  public $options = array();
137
  private static $_instance;
@@ -141,7 +151,7 @@ class Responsive_Lightbox {
141
  private function __wakeup() {}
142
 
143
  /**
144
- * Main Events Maker instance.
145
  */
146
  public static function instance() {
147
  if ( self::$_instance === null ) {
@@ -337,6 +347,7 @@ class Responsive_Lightbox {
337
  ) );
338
 
339
  if ( $args['script'] === 'prettyphoto' ) {
 
340
  wp_register_script(
341
  'responsive-lightbox-prettyphoto', plugins_url( 'assets/prettyphoto/js/jquery.prettyPhoto.js', __FILE__ ), array( 'jquery' ), '', ($this->options['settings']['loading_place'] === 'header' ? false : true )
342
  );
@@ -344,10 +355,10 @@ class Responsive_Lightbox {
344
  wp_enqueue_script( 'responsive-lightbox-prettyphoto' );
345
 
346
  wp_register_style(
347
- 'responsive-lightbox-prettyphoto-front', plugins_url( 'assets/prettyphoto/css/prettyPhoto.css', __FILE__ )
348
  );
349
 
350
- wp_enqueue_style( 'responsive-lightbox-prettyphoto-front' );
351
 
352
  $args = array_merge(
353
  $args, array(
@@ -374,7 +385,9 @@ class Responsive_Lightbox {
374
  'social' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['social'] )
375
  )
376
  );
 
377
  } elseif ( $args['script'] === 'swipebox' ) {
 
378
  wp_register_script(
379
  'responsive-lightbox-swipebox', plugins_url( 'assets/swipebox/js/jquery.swipebox.min.js', __FILE__ ), array( 'jquery' ), '', ($this->options['settings']['loading_place'] === 'header' ? false : true )
380
  );
@@ -382,10 +395,10 @@ class Responsive_Lightbox {
382
  wp_enqueue_script( 'responsive-lightbox-swipebox' );
383
 
384
  wp_register_style(
385
- 'responsive-lightbox-swipebox-front', plugins_url( 'assets/swipebox/css/swipebox.min.css', __FILE__ )
386
  );
387
 
388
- wp_enqueue_style( 'responsive-lightbox-swipebox-front' );
389
 
390
  $args = array_merge(
391
  $args, array(
@@ -398,7 +411,9 @@ class Responsive_Lightbox {
398
  'loopAtEnd' => $this->get_boolean_value( $this->options['configuration']['swipebox']['loop_at_end'] )
399
  )
400
  );
 
401
  } elseif ( $args['script'] === 'fancybox' ) {
 
402
  wp_register_script(
403
  'responsive-lightbox-fancybox', plugins_url( 'assets/fancybox/jquery.fancybox-1.3.4.js', __FILE__ ), array( 'jquery' ), '', ($this->options['settings']['loading_place'] === 'header' ? false : true )
404
  );
@@ -406,10 +421,10 @@ class Responsive_Lightbox {
406
  wp_enqueue_script( 'responsive-lightbox-fancybox' );
407
 
408
  wp_register_style(
409
- 'responsive-lightbox-fancybox-front', plugins_url( 'assets/fancybox/jquery.fancybox-1.3.4.css', __FILE__ )
410
  );
411
 
412
- wp_enqueue_style( 'responsive-lightbox-fancybox-front' );
413
 
414
  $args = array_merge(
415
  $args, array(
@@ -440,7 +455,9 @@ class Responsive_Lightbox {
440
  'videoHeight' => $this->options['configuration']['fancybox']['video_height']
441
  )
442
  );
 
443
  } elseif ( $args['script'] === 'nivo' ) {
 
444
  wp_register_script(
445
  'responsive-lightbox-nivo', plugins_url( 'assets/nivo/nivo-lightbox.min.js', __FILE__ ), array( 'jquery' ), '', ($this->options['settings']['loading_place'] === 'header' ? false : true )
446
  );
@@ -448,16 +465,16 @@ class Responsive_Lightbox {
448
  wp_enqueue_script( 'responsive-lightbox-nivo' );
449
 
450
  wp_register_style(
451
- 'responsive-lightbox-nivo-front', plugins_url( 'assets/nivo/nivo-lightbox.css', __FILE__ )
452
  );
453
 
454
- wp_enqueue_style( 'responsive-lightbox-nivo-front' );
455
 
456
  wp_register_style(
457
- 'responsive-lightbox-nivo-front-template', plugins_url( 'assets/nivo/themes/default/default.css', __FILE__ )
458
  );
459
 
460
- wp_enqueue_style( 'responsive-lightbox-nivo-front-template' );
461
 
462
  $args = array_merge(
463
  $args, array(
@@ -467,18 +484,18 @@ class Responsive_Lightbox {
467
  'errorMessage' => esc_attr( $this->options['configuration']['nivo']['error_message'] )
468
  )
469
  );
 
470
  } elseif ( $args['script'] === 'imagelightbox' ) {
 
471
  wp_register_script(
472
  'responsive-lightbox-imagelightbox', plugins_url( 'assets/imagelightbox/js/imagelightbox.min.js', __FILE__ ), array( 'jquery' ), '', ($this->options['settings']['loading_place'] === 'header' ? false : true )
473
  );
474
-
475
  wp_enqueue_script( 'responsive-lightbox-imagelightbox' );
476
 
477
  wp_register_style(
478
- 'responsive-lightbox-imagelightbox-front', plugins_url( 'assets/imagelightbox/css/imagelightbox.css', __FILE__ )
479
  );
480
-
481
- wp_enqueue_style( 'responsive-lightbox-imagelightbox-front' );
482
 
483
  $args = array_merge(
484
  $args, array(
@@ -490,6 +507,31 @@ class Responsive_Lightbox {
490
  'quitOnDocumentClick' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['quit_on_document_click'] ),
491
  )
492
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
493
  }
494
 
495
  wp_register_script(
2
  /*
3
  Plugin Name: Responsive Lightbox
4
  Description: Responsive Lightbox allows users to view larger versions of images and galleries in a lightbox (overlay) effect optimized for mobile devices.
5
+ Version: 1.5.2
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/responsive-lightbox/
36
  * Responsive Lightbox class.
37
  *
38
  * @class Responsive_Lightbox
39
+ * @version 1.5.2
40
  */
41
  class Responsive_Lightbox {
42
 
129
  'quit_on_end' => false,
130
  'quit_on_image_click' => false,
131
  'quit_on_document_click' => true
132
+ ),
133
+ 'tosrus' => array(
134
+ 'effect' => 'slide',
135
+ 'infinite' => true,
136
+ 'keys' => false,
137
+ 'autoplay' => true,
138
+ 'pause_on_hover' => false,
139
+ 'timeout' => 4000,
140
+ 'pagination' => true,
141
+ 'pagination_type' => 'thumbnails'
142
  )
143
  ),
144
+ 'version' => '1.5.2'
145
  );
146
  public $options = array();
147
  private static $_instance;
151
  private function __wakeup() {}
152
 
153
  /**
154
+ * Main Responsive Lightbox instance.
155
  */
156
  public static function instance() {
157
  if ( self::$_instance === null ) {
347
  ) );
348
 
349
  if ( $args['script'] === 'prettyphoto' ) {
350
+
351
  wp_register_script(
352
  'responsive-lightbox-prettyphoto', plugins_url( 'assets/prettyphoto/js/jquery.prettyPhoto.js', __FILE__ ), array( 'jquery' ), '', ($this->options['settings']['loading_place'] === 'header' ? false : true )
353
  );
355
  wp_enqueue_script( 'responsive-lightbox-prettyphoto' );
356
 
357
  wp_register_style(
358
+ 'responsive-lightbox-prettyphoto', plugins_url( 'assets/prettyphoto/css/prettyPhoto.css', __FILE__ )
359
  );
360
 
361
+ wp_enqueue_style( 'responsive-lightbox-prettyphoto' );
362
 
363
  $args = array_merge(
364
  $args, array(
385
  'social' => $this->get_boolean_value( $this->options['configuration']['prettyphoto']['social'] )
386
  )
387
  );
388
+
389
  } elseif ( $args['script'] === 'swipebox' ) {
390
+
391
  wp_register_script(
392
  'responsive-lightbox-swipebox', plugins_url( 'assets/swipebox/js/jquery.swipebox.min.js', __FILE__ ), array( 'jquery' ), '', ($this->options['settings']['loading_place'] === 'header' ? false : true )
393
  );
395
  wp_enqueue_script( 'responsive-lightbox-swipebox' );
396
 
397
  wp_register_style(
398
+ 'responsive-lightbox-swipebox', plugins_url( 'assets/swipebox/css/swipebox.min.css', __FILE__ )
399
  );
400
 
401
+ wp_enqueue_style( 'responsive-lightbox-swipebox' );
402
 
403
  $args = array_merge(
404
  $args, array(
411
  'loopAtEnd' => $this->get_boolean_value( $this->options['configuration']['swipebox']['loop_at_end'] )
412
  )
413
  );
414
+
415
  } elseif ( $args['script'] === 'fancybox' ) {
416
+
417
  wp_register_script(
418
  'responsive-lightbox-fancybox', plugins_url( 'assets/fancybox/jquery.fancybox-1.3.4.js', __FILE__ ), array( 'jquery' ), '', ($this->options['settings']['loading_place'] === 'header' ? false : true )
419
  );
421
  wp_enqueue_script( 'responsive-lightbox-fancybox' );
422
 
423
  wp_register_style(
424
+ 'responsive-lightbox-fancybox', plugins_url( 'assets/fancybox/jquery.fancybox-1.3.4.css', __FILE__ )
425
  );
426
 
427
+ wp_enqueue_style( 'responsive-lightbox-fancybox' );
428
 
429
  $args = array_merge(
430
  $args, array(
455
  'videoHeight' => $this->options['configuration']['fancybox']['video_height']
456
  )
457
  );
458
+
459
  } elseif ( $args['script'] === 'nivo' ) {
460
+
461
  wp_register_script(
462
  'responsive-lightbox-nivo', plugins_url( 'assets/nivo/nivo-lightbox.min.js', __FILE__ ), array( 'jquery' ), '', ($this->options['settings']['loading_place'] === 'header' ? false : true )
463
  );
465
  wp_enqueue_script( 'responsive-lightbox-nivo' );
466
 
467
  wp_register_style(
468
+ 'responsive-lightbox-nivo', plugins_url( 'assets/nivo/nivo-lightbox.css', __FILE__ )
469
  );
470
 
471
+ wp_enqueue_style( 'responsive-lightbox-nivo' );
472
 
473
  wp_register_style(
474
+ 'responsive-lightbox-nivo', plugins_url( 'assets/nivo/themes/default/default.css', __FILE__ )
475
  );
476
 
477
+ wp_enqueue_style( 'responsive-lightbox-nivo' );
478
 
479
  $args = array_merge(
480
  $args, array(
484
  'errorMessage' => esc_attr( $this->options['configuration']['nivo']['error_message'] )
485
  )
486
  );
487
+
488
  } elseif ( $args['script'] === 'imagelightbox' ) {
489
+
490
  wp_register_script(
491
  'responsive-lightbox-imagelightbox', plugins_url( 'assets/imagelightbox/js/imagelightbox.min.js', __FILE__ ), array( 'jquery' ), '', ($this->options['settings']['loading_place'] === 'header' ? false : true )
492
  );
 
493
  wp_enqueue_script( 'responsive-lightbox-imagelightbox' );
494
 
495
  wp_register_style(
496
+ 'responsive-lightbox-imagelightbox', plugins_url( 'assets/imagelightbox/css/imagelightbox.css', __FILE__ )
497
  );
498
+ wp_enqueue_style( 'responsive-lightbox-imagelightbox' );
 
499
 
500
  $args = array_merge(
501
  $args, array(
507
  'quitOnDocumentClick' => $this->get_boolean_value( $this->options['configuration']['imagelightbox']['quit_on_document_click'] ),
508
  )
509
  );
510
+
511
+ } elseif ( $args['script'] === 'tosrus' ) {
512
+
513
+ wp_register_script(
514
+ 'responsive-lightbox-tosrus', plugins_url( 'assets/tosrus/js/jquery.tosrus.min.all.js', __FILE__ ), array( 'jquery' ), '', ($this->options['settings']['loading_place'] === 'header' ? false : true )
515
+ );
516
+ wp_enqueue_script( 'responsive-lightbox-tosrus' );
517
+
518
+ wp_register_style(
519
+ 'responsive-lightbox-tosrus', plugins_url( 'assets/tosrus/css/jquery.tosrus.all.min.css', __FILE__ )
520
+ );
521
+ wp_enqueue_style( 'responsive-lightbox-tosrus' );
522
+
523
+ $args = array_merge(
524
+ $args, array(
525
+ 'effect' => $this->options['configuration']['tosrus']['effect'],
526
+ 'infinite' => $this->get_boolean_value( $this->options['configuration']['tosrus']['infinite'] ),
527
+ 'keys' => $this->get_boolean_value( $this->options['configuration']['tosrus']['keys'] ),
528
+ 'autoplay' => $this->get_boolean_value( $this->options['configuration']['tosrus']['autoplay'] ),
529
+ 'pause_on_hover' => $this->get_boolean_value( $this->options['configuration']['tosrus']['pause_on_hover'] ),
530
+ 'timeout' => $this->options['configuration']['tosrus']['timeout'],
531
+ 'pagination' => $this->get_boolean_value( $this->options['configuration']['tosrus']['pagination'] ),
532
+ 'pagination_type' => $this->options['configuration']['tosrus']['pagination_type']
533
+ )
534
+ );
535
  }
536
 
537
  wp_register_script(