Cyclone Slider - Version 2.10.4

Version Description

  • Fix. Escaped all echo of dynamic variables inside view files for security.
  • Change. Move screenshots to svn assets. Results to lesser plugin file size.
  • Change. Added classes for improved updater for Pro.
Download this release

Release Info

Developer kosinix
Plugin Icon 128x128 Cyclone Slider
Version 2.10.4
Comparing to
See all releases

Code changes from version 2.10.3 to 2.10.4

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.codefleet.net/donate/
4
  Tags: slider, slideshow, drag-and-drop, wordpress-slider, wordpress-slideshow, cycle 2, jquery, responsive, translation-ready, custom-post, cyclone-slider
5
  Requires at least: 3.5
6
  Tested up to: 4.4.2
7
- Stable tag: 2.10.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -103,6 +103,11 @@ Inside `wp-content` create a folder named "cycloneslider". Add your templates in
103
 
104
  == Changelog ==
105
 
 
 
 
 
 
106
  = 2.10.3 =
107
  * Fix. Fixed fatal error when ZipArchive is missing from PHP.
108
  * New. Added 'cyclone_slider_services' filter.
4
  Tags: slider, slideshow, drag-and-drop, wordpress-slider, wordpress-slideshow, cycle 2, jquery, responsive, translation-ready, custom-post, cyclone-slider
5
  Requires at least: 3.5
6
  Tested up to: 4.4.2
7
+ Stable tag: 2.10.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
103
 
104
  == Changelog ==
105
 
106
+ = 2.10.4 =
107
+ * Fix. Escaped all echo of dynamic variables inside view files for security.
108
+ * Change. Move screenshots to svn assets. Results to lesser plugin file size.
109
+ * Change. Added classes for improved updater for Pro.
110
+
111
  = 2.10.3 =
112
  * Fix. Fixed fatal error when ZipArchive is missing from PHP.
113
  * New. Added 'cyclone_slider_services' filter.
cyclone-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Cyclone Slider 2
4
  Plugin URI: http://www.codefleet.net/cyclone-slider-2/
5
  Description: Create and manage sliders with ease. Built for both casual users and developers.
6
- Version: 2.10.3
7
  Author: Nico Amarilla
8
  Author URI: http://www.codefleet.net/
9
  License:
3
  Plugin Name: Cyclone Slider 2
4
  Plugin URI: http://www.codefleet.net/cyclone-slider-2/
5
  Description: Create and manage sliders with ease. Built for both casual users and developers.
6
+ Version: 2.10.4
7
  Author: Nico Amarilla
8
  Author URI: http://www.codefleet.net/
9
  License:
lang/cycloneslider.pot CHANGED
@@ -1,945 +1,945 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Cyclone Slider\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-02-07 13:37+0800\n"
6
- "PO-Revision-Date: 2016-02-07 13:37+0800\n"
7
- "Last-Translator: Kosinix <kosinix@codefleet.net>\n"
8
- "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
- "Language: en_US\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e;_x\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Generator: Poedit 1.6.7\n"
17
- "X-Poedit-SearchPath-0: .\n"
18
- "X-Poedit-SearchPath-1: ..\n"
19
-
20
- #: ../cyclone-slider.php:114
21
- msgid "Cyclone Slider Settings"
22
- msgstr ""
23
-
24
- #: ../cyclone-slider.php:115
25
- msgid "Settings"
26
- msgstr ""
27
-
28
- #: ../cyclone-slider.php:125
29
- msgid "Cyclone Slider Export"
30
- msgstr ""
31
-
32
- #: ../cyclone-slider.php:126
33
- msgid "Export/Import"
34
- msgstr ""
35
-
36
- #: ../cyclone-slider.php:138
37
- msgid "Cyclone Slider Nextgen Export"
38
- msgstr ""
39
-
40
- #: ../cyclone-slider.php:139 ../src/CycloneSlider/ExportPageNextgen.php:75
41
- msgid "Export Nextgen"
42
- msgstr ""
43
-
44
- #: ../cyclone-slider.php:151
45
- msgid "Cyclone Slider Import"
46
- msgstr ""
47
-
48
- #: ../cyclone-slider.php:152 ../src/CycloneSlider/ExportPage.php:72
49
- #: ../src/CycloneSlider/ExportPageNextgen.php:70
50
- #: ../src/CycloneSlider/ExporterNextgen.php:65
51
- #: ../src/CycloneSlider/ImportPage.php:77
52
- #: ../src/CycloneSlider/NextgenIntegration.php:65
53
- msgid "Import"
54
- msgstr ""
55
-
56
- #: ../src/CycloneSlider/Admin.php:97
57
- msgid "Cyclone Slider"
58
- msgstr ""
59
-
60
- #: ../src/CycloneSlider/Admin.php:98
61
- msgid "Slideshow"
62
- msgstr ""
63
-
64
- #: ../src/CycloneSlider/Admin.php:99
65
- msgid "Add Slideshow"
66
- msgstr ""
67
-
68
- #: ../src/CycloneSlider/Admin.php:100
69
- msgid "Add New Slideshow"
70
- msgstr ""
71
-
72
- #: ../src/CycloneSlider/Admin.php:101
73
- msgid "Edit Slideshow"
74
- msgstr ""
75
-
76
- #: ../src/CycloneSlider/Admin.php:102
77
- msgid "New Slideshow"
78
- msgstr ""
79
-
80
- #: ../src/CycloneSlider/Admin.php:103
81
- msgid "View Slideshow"
82
- msgstr ""
83
-
84
- #: ../src/CycloneSlider/Admin.php:104
85
- msgid "Search Slideshows"
86
- msgstr ""
87
-
88
- #: ../src/CycloneSlider/Admin.php:105
89
- msgid "No slideshows found"
90
- msgstr ""
91
-
92
- #: ../src/CycloneSlider/Admin.php:106
93
- msgid "No slideshows found in Trash"
94
- msgstr ""
95
-
96
- #: ../src/CycloneSlider/Admin.php:150 ../src/CycloneSlider/Admin.php:153
97
- #: ../src/CycloneSlider/Admin.php:154 ../src/CycloneSlider/Admin.php:157
98
- #: ../src/CycloneSlider/Admin.php:158 ../src/CycloneSlider/Admin.php:159
99
- msgid "Slideshow updated."
100
- msgstr ""
101
-
102
- #: ../src/CycloneSlider/Admin.php:151
103
- msgid "Custom field updated."
104
- msgstr ""
105
-
106
- #: ../src/CycloneSlider/Admin.php:152
107
- msgid "Custom field deleted."
108
- msgstr ""
109
-
110
- #: ../src/CycloneSlider/Admin.php:155
111
- msgid "Slideshow published."
112
- msgstr ""
113
-
114
- #: ../src/CycloneSlider/Admin.php:156
115
- msgid "Slideshow saved."
116
- msgstr ""
117
-
118
- #: ../src/CycloneSlider/Admin.php:193
119
- msgid "Slides"
120
- msgstr ""
121
-
122
- #: ../src/CycloneSlider/Admin.php:202
123
- msgid "Slider Preview"
124
- msgstr ""
125
-
126
- #: ../src/CycloneSlider/Admin.php:211
127
- msgid "Get Slider Codes"
128
- msgstr ""
129
-
130
- #: ../src/CycloneSlider/Admin.php:220
131
- msgid "Basic Settings"
132
- msgstr ""
133
-
134
- #: ../src/CycloneSlider/Admin.php:229
135
- msgid "Advanced Settings"
136
- msgstr ""
137
-
138
- #: ../src/CycloneSlider/Admin.php:238
139
- msgid "Templates"
140
- msgstr ""
141
-
142
- #: ../src/CycloneSlider/Admin.php:247 ../src/CycloneSlider/Admin.php:512
143
- msgid "Slideshow ID"
144
- msgstr ""
145
-
146
- #: ../src/CycloneSlider/Admin.php:273
147
- msgid "Slide"
148
- msgstr ""
149
-
150
- #: ../src/CycloneSlider/Admin.php:278
151
- msgid "[Hidden]"
152
- msgstr ""
153
-
154
- #: ../src/CycloneSlider/Admin.php:401
155
- msgid "Core"
156
- msgstr ""
157
-
158
- #: ../src/CycloneSlider/Admin.php:402
159
- #, php-format
160
- msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
161
- msgstr ""
162
-
163
- #: ../src/CycloneSlider/Admin.php:406
164
- #, php-format
165
- msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
166
- msgstr ""
167
-
168
- #: ../src/CycloneSlider/Admin.php:407
169
- #, php-format
170
- msgid ""
171
- "Your template is in danger of being overwritten when you upgrade your theme. "
172
- "Please move it inside %s."
173
- msgstr ""
174
-
175
- #: ../src/CycloneSlider/Admin.php:411
176
- #, php-format
177
- msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
178
- msgstr ""
179
-
180
- #: ../src/CycloneSlider/Admin.php:448
181
- msgid "Slide *"
182
- msgstr ""
183
-
184
- #: ../src/CycloneSlider/Admin.php:509
185
- msgid "Slideshow Name"
186
- msgstr ""
187
-
188
- #: ../src/CycloneSlider/Admin.php:510
189
- msgid "Template"
190
- msgstr ""
191
-
192
- #: ../src/CycloneSlider/Admin.php:511
193
- msgid "No. of Slides"
194
- msgstr ""
195
-
196
- #: ../src/CycloneSlider/Admin.php:513
197
- msgid "Shortcode"
198
- msgstr ""
199
-
200
- #: ../src/CycloneSlider/AssetLoader.php:59
201
- msgid "Select an image"
202
- msgstr ""
203
-
204
- #: ../src/CycloneSlider/AssetLoader.php:60
205
- msgid "Select Images - Use Ctrl + Click or Shift + Click"
206
- msgstr ""
207
-
208
- #: ../src/CycloneSlider/AssetLoader.php:61
209
- msgid "Add to Slide"
210
- msgstr ""
211
-
212
- #: ../src/CycloneSlider/AssetLoader.php:62 ../views/slides.php:9
213
- msgid "Add Images as Slides"
214
- msgstr ""
215
-
216
- #: ../src/CycloneSlider/AssetLoader.php:63
217
- msgid "Error. Make sure its a valid YouTube URL."
218
- msgstr ""
219
-
220
- #: ../src/CycloneSlider/ExportPage.php:67
221
- #: ../src/CycloneSlider/ExportPageNextgen.php:65
222
- #: ../src/CycloneSlider/ImportPage.php:72
223
- msgid "Export"
224
- msgstr ""
225
-
226
- #: ../src/CycloneSlider/ExportPage.php:80
227
- #: ../src/CycloneSlider/ImportPage.php:66
228
- msgid ""
229
- "ZipArchive not supported. ZipArchive is needed for Import and Export to work."
230
- msgstr ""
231
-
232
- #: ../src/CycloneSlider/ExportPage.php:116
233
- #: ../src/CycloneSlider/ExportPageNextgen.php:121
234
- msgid "Your export file is ready. Click Download."
235
- msgstr ""
236
-
237
- #: ../src/CycloneSlider/ExportPage.php:121
238
- #: ../src/CycloneSlider/ExportPageNextgen.php:126
239
- msgid "Error creating exports directory."
240
- msgstr ""
241
-
242
- #: ../src/CycloneSlider/ExportPage.php:170
243
- #: ../src/CycloneSlider/ExportPageNextgen.php:175
244
- msgid "No slider selected."
245
- msgstr ""
246
-
247
- #: ../src/CycloneSlider/ExportPage.php:175
248
- #: ../src/CycloneSlider/ExportPageNextgen.php:180
249
- msgid "Please choose a file name."
250
- msgstr ""
251
-
252
- #: ../src/CycloneSlider/Exporter.php:52
253
- msgid "Error no sliders selected."
254
- msgstr ""
255
-
256
- #: ../src/CycloneSlider/Exporter.php:73
257
- msgid "Error encoding data to JSON."
258
- msgstr ""
259
-
260
- #: ../src/CycloneSlider/Exporter.php:79
261
- #, php-format
262
- msgid "Success generating zip %s."
263
- msgstr ""
264
-
265
- #: ../src/CycloneSlider/Exporter.php:107
266
- #, php-format
267
- msgid "Exporting data for slider \"%s\"."
268
- msgstr ""
269
-
270
- #: ../src/CycloneSlider/Exporter.php:109
271
- #, php-format
272
- msgid "Slider \"%s\" not found."
273
- msgstr ""
274
-
275
- #: ../src/CycloneSlider/Exporter.php:134
276
- #, php-format
277
- msgid ""
278
- "Image %1$d was not found on slide %2$d of slider %3$s. Path to image is %4$s."
279
- msgstr ""
280
-
281
- #: ../src/CycloneSlider/Exporter.php:176
282
- msgid "ZipArchive not supported."
283
- msgstr ""
284
-
285
- #: ../src/CycloneSlider/Exporter.php:182
286
- #, php-format
287
- msgid "Error opening zip file %s. Code: %s"
288
- msgstr ""
289
-
290
- #: ../src/CycloneSlider/Exporter.php:191
291
- #, php-format
292
- msgid "Error adding file %s to zip."
293
- msgstr ""
294
-
295
- #: ../src/CycloneSlider/Exporter.php:193 ../src/CycloneSlider/Exporter.php:201
296
- #, php-format
297
- msgid "File %s added to zip."
298
- msgstr ""
299
-
300
- #: ../src/CycloneSlider/ExporterNextgen.php:39
301
- #: ../src/CycloneSlider/NextgenIntegration.php:39
302
- msgid "NextGEN Integration"
303
- msgstr ""
304
-
305
- #: ../src/CycloneSlider/ExporterNextgen.php:55
306
- #: ../src/CycloneSlider/NextgenIntegration.php:55
307
- msgid "Choose a NextGEN Gallery"
308
- msgstr ""
309
-
310
- #: ../src/CycloneSlider/ExporterNextgen.php:67
311
- #: ../src/CycloneSlider/NextgenIntegration.php:67
312
- msgid ""
313
- "Select a gallery to import images from. Images will be added as new slides."
314
- msgstr ""
315
-
316
- #: ../src/CycloneSlider/Frontend.php:72
317
- #, php-format
318
- msgid "[Slideshow \"%s\" not found]"
319
- msgstr ""
320
-
321
- #: ../src/CycloneSlider/Frontend.php:88
322
- #, php-format
323
- msgid "[Template \"%s\" not found]"
324
- msgstr ""
325
-
326
- #: ../src/CycloneSlider/ImportPage.php:119
327
- msgid "Import operation success!"
328
- msgstr ""
329
-
330
- #: ../src/CycloneSlider/Importer.php:37
331
- msgid "Could not read zip files. ZipArchive not supported."
332
- msgstr ""
333
-
334
- #: ../src/CycloneSlider/Importer.php:42
335
- msgid "No zip file found."
336
- msgstr ""
337
-
338
- #: ../src/CycloneSlider/Importer.php:48
339
- msgid "Error creating imports directory."
340
- msgstr ""
341
-
342
- #: ../src/CycloneSlider/Importer.php:55
343
- msgid "Error moving uploaded zip."
344
- msgstr ""
345
-
346
- #: ../src/CycloneSlider/Importer.php:63
347
- #, php-format
348
- msgid "Error opening zip: %s"
349
- msgstr ""
350
-
351
- #: ../src/CycloneSlider/Importer.php:69
352
- msgid "Error extracting zip."
353
- msgstr ""
354
-
355
- #: ../src/CycloneSlider/Importer.php:76
356
- msgid "Failed to read export JSON."
357
- msgstr ""
358
-
359
- #: ../src/CycloneSlider/Importer.php:81
360
- msgid "Failed to decode JSON."
361
- msgstr ""
362
-
363
- #: ../src/CycloneSlider/Importer.php:152
364
- #, php-format
365
- msgid "scandir failed on %s"
366
- msgstr ""
367
-
368
- #: ../src/CycloneSlider/Importer.php:168
369
- #, php-format
370
- msgid "Source image %s not found."
371
- msgstr ""
372
-
373
- #: ../src/CycloneSlider/Importer.php:172
374
- msgid "Copy error."
375
- msgstr ""
376
-
377
- #: ../src/CycloneSlider/SettingsPage.php:54
378
- msgid "Default options restored."
379
- msgstr ""
380
-
381
- #: ../src/CycloneSlider/WidgetSlider.php:13
382
- msgid "Cyclone Slider Widget"
383
- msgstr ""
384
-
385
- #: ../src/CycloneSlider/WidgetSlider.php:14
386
- msgid "Widget for displaying sliders."
387
- msgstr ""
388
-
389
- #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:54
390
- msgid "Title:"
391
- msgstr ""
392
-
393
- #: ../src/CycloneSlider/WidgetSlider.php:79
394
- msgid "Select a Slider:"
395
- msgstr ""
396
-
397
- #: ../src/CycloneSlider/WidgetSlider.php:94
398
- msgid "No sliders found."
399
- msgstr ""
400
-
401
- #: ../templates/dark/slider.php:43
402
- msgid "View Larger Image"
403
- msgstr ""
404
-
405
- #: ../templates/dark/slider.php:46 ../templates/dark/slider.php:48
406
- msgid "Learn More"
407
- msgstr ""
408
-
409
- #: ../templates/dark/slider.php:64 ../templates/default/slider.php:62
410
- #: ../templates/default/slider.php:66 ../templates/default/slider.php:70
411
- #: ../templates/standard/slider.php:70 ../templates/thumbnails/slider.php:70
412
- msgid "Slide type not supported."
413
- msgstr ""
414
-
415
- #: ../views/export-nextgen-step-1.php:8 ../views/export-nextgen-step-2.php:8
416
- #: ../views/export-nextgen-step-3.php:8
417
- msgid "Cyclone Slider Nextgen Exporter"
418
- msgstr ""
419
-
420
- #: ../views/export-nextgen-step-1.php:18
421
- msgid "Choose a NextGEN Gallery:"
422
- msgstr ""
423
-
424
- #: ../views/export-nextgen-step-1.php:22 ../views/export-step-1.php:22
425
- msgid "Select All"
426
- msgstr ""
427
-
428
- #: ../views/export-nextgen-step-1.php:34 ../views/export-nextgen-step-2.php:28
429
- #: ../views/export-step-1.php:34 ../views/export-step-2.php:28
430
- msgid "File Name:"
431
- msgstr ""
432
-
433
- #: ../views/export-nextgen-step-1.php:41 ../views/export-step-1.php:41
434
- msgid "No slider to export."
435
- msgstr ""
436
-
437
- #: ../views/export-nextgen-step-1.php:44 ../views/export-step-1.php:44
438
- msgid "Clear"
439
- msgstr ""
440
-
441
- #: ../views/export-nextgen-step-1.php:45 ../views/export-step-1.php:45
442
- msgid "Next"
443
- msgstr ""
444
-
445
- #: ../views/export-nextgen-step-2.php:17 ../views/export-step-2.php:17
446
- msgid "Selected slider(s):"
447
- msgstr ""
448
-
449
- #: ../views/export-nextgen-step-2.php:35 ../views/export-nextgen-step-3.php:21
450
- #: ../views/export-nextgen-step-3.php:26 ../views/export-step-2.php:35
451
- #: ../views/export-step-3.php:21 ../views/export-step-3.php:26
452
- #: ../views/import-step-3.php:15
453
- msgid "Back"
454
- msgstr ""
455
-
456
- #: ../views/export-nextgen-step-2.php:36 ../views/export-step-2.php:36
457
- msgid "Generate Export File"
458
- msgstr ""
459
-
460
- #: ../views/export-nextgen-step-3.php:22 ../views/export-step-3.php:22
461
- msgid "Download"
462
- msgstr ""
463
-
464
- #: ../views/export-step-1.php:8 ../views/export-step-2.php:8
465
- #: ../views/export-step-3.php:8
466
- msgid "Cyclone Slider Exporter"
467
- msgstr ""
468
-
469
- #: ../views/export-step-1.php:18
470
- msgid "Select sliders:"
471
- msgstr ""
472
-
473
- #: ../views/import-step-1.php:8 ../views/import-step-3.php:8
474
- msgid "Cyclone Slider Importer"
475
- msgstr ""
476
-
477
- #: ../views/import-step-1.php:17
478
- msgid "Import Zip File:"
479
- msgstr ""
480
-
481
- #: ../views/import-step-1.php:24
482
- msgid "Upload"
483
- msgstr ""
484
-
485
- #: ../views/settings-page.php:7
486
- msgid ""
487
- "Play with these settings if Cyclone Slider is not working or if you want to "
488
- "optimize it."
489
- msgstr ""
490
-
491
- #: ../views/settings-page.php:17
492
- msgid "Load scripts in:"
493
- msgstr ""
494
-
495
- #: ../views/settings-page.php:20
496
- msgid "Header"
497
- msgstr ""
498
-
499
- #: ../views/settings-page.php:21
500
- msgid "Footer"
501
- msgstr ""
502
-
503
- #: ../views/settings-page.php:26
504
- msgid "Load these scripts:"
505
- msgstr ""
506
-
507
- #: ../views/settings-page.php:31
508
- msgid "Cycle 2. This is the core script needed by the plugin."
509
- msgstr ""
510
-
511
- #: ../views/settings-page.php:36
512
- msgid "Cycle 2 - Carousel. Used by these templates: Galleria, Lea, Dos."
513
- msgstr ""
514
-
515
- #: ../views/settings-page.php:41
516
- msgid "Cycle 2 - Swipe. For touch swipe events."
517
- msgstr ""
518
-
519
- #: ../views/settings-page.php:46
520
- msgid "Cycle 2 - Tile. Used for tile transition effects."
521
- msgstr ""
522
-
523
- #: ../views/settings-page.php:51
524
- msgid "Cycle 2 - Video. Used by YouTube template."
525
- msgstr ""
526
-
527
- #: ../views/settings-page.php:56
528
- msgid "Magnific Popup - Enable lightbox option."
529
- msgstr ""
530
-
531
- #: ../views/settings-page.php:56 ../views/settings-page.php:61
532
- #: ../views/slider-advanced-settings.php:2
533
- msgid "Available in pro version."
534
- msgstr ""
535
-
536
- #: ../views/settings-page.php:61
537
- msgid "Easing - Enable easing options."
538
- msgstr ""
539
-
540
- #: ../views/settings-page.php:66
541
- msgid "Scripts loading priority:"
542
- msgstr ""
543
-
544
- #: ../views/settings-page.php:69
545
- msgid "Make this value bigger to load scripts last."
546
- msgstr ""
547
-
548
- #: ../views/settings-page.php:73
549
- msgid "Load these templates:"
550
- msgstr ""
551
-
552
- #: ../views/settings-page.php:86
553
- msgid "Save Options"
554
- msgstr ""
555
-
556
- #: ../views/settings-page.php:87
557
- msgid "Restore Defaults"
558
- msgstr ""
559
-
560
- #: ../views/slide-edit.php:17
561
- msgid "Delete"
562
- msgstr ""
563
-
564
- #: ../views/slide-edit.php:26
565
- msgid "Image"
566
- msgstr ""
567
-
568
- #: ../views/slide-edit.php:27
569
- msgid "YouTube"
570
- msgstr ""
571
-
572
- #: ../views/slide-edit.php:28
573
- msgid "Vimeo"
574
- msgstr ""
575
-
576
- #: ../views/slide-edit.php:29 ../views/slide-edit.php:178
577
- msgid "Custom HTML"
578
- msgstr ""
579
-
580
- #: ../views/slide-edit.php:30
581
- msgid "Testimonial"
582
- msgstr ""
583
-
584
- #: ../views/slide-edit.php:35
585
- msgid "Hide"
586
- msgstr ""
587
-
588
- #: ../views/slide-edit.php:47
589
- msgid "Get Image"
590
- msgstr ""
591
-
592
- #: ../views/slide-edit.php:51
593
- msgid "Caption"
594
- msgstr ""
595
-
596
- #: ../views/slide-edit.php:58
597
- msgid "Description:"
598
- msgstr ""
599
-
600
- #: ../views/slide-edit.php:64 ../views/slide-edit.php:201
601
- msgid "Link"
602
- msgstr ""
603
-
604
- #: ../views/slide-edit.php:67 ../views/slide-edit.php:204
605
- msgid "Link URL:"
606
- msgstr ""
607
-
608
- #: ../views/slide-edit.php:71 ../views/slide-edit.php:208
609
- msgid "Open Link in:"
610
- msgstr ""
611
-
612
- #: ../views/slide-edit.php:73 ../views/slide-edit.php:210
613
- msgid "Same Window"
614
- msgstr ""
615
-
616
- #: ../views/slide-edit.php:74 ../views/slide-edit.php:211
617
- msgid "New Tab or Window"
618
- msgstr ""
619
-
620
- #: ../views/slide-edit.php:80
621
- msgid "Image Attributes"
622
- msgstr ""
623
-
624
- #: ../views/slide-edit.php:83
625
- msgid "Alternate Text:"
626
- msgstr ""
627
-
628
- #: ../views/slide-edit.php:87
629
- msgid "Title Text:"
630
- msgstr ""
631
-
632
- #: ../views/slide-edit.php:93
633
- msgid "Slide Transition Effects"
634
- msgstr ""
635
-
636
- #: ../views/slide-edit.php:97
637
- msgid "Disable"
638
- msgstr ""
639
-
640
- #: ../views/slide-edit.php:98
641
- msgid "Enable Slide Effects"
642
- msgstr ""
643
-
644
- #: ../views/slide-edit.php:104
645
- msgid "Transition Effects:"
646
- msgstr ""
647
-
648
- #: ../views/slide-edit.php:115 ../views/slider-settings.php:32
649
- msgid "Transition Effects Speed:"
650
- msgstr ""
651
-
652
- #: ../views/slide-edit.php:117 ../views/slide-edit.php:124
653
- #: ../views/slider-settings.php:34
654
- msgid "Milliseconds"
655
- msgstr ""
656
-
657
- #: ../views/slide-edit.php:122 ../views/slider-settings.php:26
658
- msgid "Next Slide Delay:"
659
- msgstr ""
660
-
661
- #: ../views/slide-edit.php:132 ../views/slider-settings.php:13
662
- msgid "Tile Count:"
663
- msgstr ""
664
-
665
- #: ../views/slide-edit.php:134 ../views/slider-settings.php:15
666
- msgid "The number of tiles to use in the transition."
667
- msgstr ""
668
-
669
- #: ../views/slide-edit.php:138
670
- msgid "Tile Delay:"
671
- msgstr ""
672
-
673
- #: ../views/slide-edit.php:140
674
- msgid "Milliseconds to delay each individual tile transition."
675
- msgstr ""
676
-
677
- #: ../views/slide-edit.php:144 ../views/slider-settings.php:18
678
- msgid "Tile Position:"
679
- msgstr ""
680
-
681
- #: ../views/slide-edit.php:146 ../views/slider-settings.php:20
682
- msgid "Vertical"
683
- msgstr ""
684
-
685
- #: ../views/slide-edit.php:147 ../views/slider-settings.php:21
686
- msgid "Horizontal"
687
- msgstr ""
688
-
689
- #: ../views/slide-edit.php:159
690
- msgid "YouTube URL:"
691
- msgstr ""
692
-
693
- #: ../views/slide-edit.php:161
694
- msgid "Copy and paste a valid YouTube URL here."
695
- msgstr ""
696
-
697
- #: ../views/slide-edit.php:166
698
- msgid "Do not show suggested videos when the video finishes."
699
- msgstr ""
700
-
701
- #: ../views/slide-edit.php:171
702
- msgid "Vimeo URL:"
703
- msgstr ""
704
-
705
- #: ../views/slide-edit.php:173
706
- msgid "Copy and paste a valid Vimeo URL here."
707
- msgstr ""
708
-
709
- #: ../views/slide-edit.php:186
710
- msgid "Quote"
711
- msgstr ""
712
-
713
- #: ../views/slide-edit.php:192
714
- msgid "Author"
715
- msgstr ""
716
-
717
- #: ../views/slide-edit.php:195
718
- msgid "Name:"
719
- msgstr ""
720
-
721
- #: ../views/slider-advanced-settings.php:4
722
- msgid "Allow Wrap?"
723
- msgstr ""
724
-
725
- #: ../views/slider-advanced-settings.php:6
726
- #: ../views/slider-advanced-settings.php:44 ../views/slider-settings.php:67
727
- #: ../views/slider-settings.php:78 ../views/slider-settings.php:86
728
- #: ../views/slider-settings.php:94 ../views/slider-settings.php:104
729
- msgid "Yes"
730
- msgstr ""
731
-
732
- #: ../views/slider-advanced-settings.php:7
733
- #: ../views/slider-advanced-settings.php:45 ../views/slider-settings.php:66
734
- #: ../views/slider-settings.php:79 ../views/slider-settings.php:87
735
- #: ../views/slider-settings.php:95 ../views/slider-settings.php:103
736
- msgid "No"
737
- msgstr ""
738
-
739
- #: ../views/slider-advanced-settings.php:10
740
- msgid ""
741
- "Determines if slider wraps to beginning slide if it reaches the end slide."
742
- msgstr ""
743
-
744
- #: ../views/slider-advanced-settings.php:15
745
- msgid "Dynamic Height:"
746
- msgstr ""
747
-
748
- #: ../views/slider-advanced-settings.php:17
749
- msgid "Off"
750
- msgstr ""
751
-
752
- #: ../views/slider-advanced-settings.php:18
753
- msgid "On"
754
- msgstr ""
755
-
756
- #: ../views/slider-advanced-settings.php:21
757
- msgid "Adjust slider height depending on current slide."
758
- msgstr ""
759
-
760
- #: ../views/slider-advanced-settings.php:26
761
- msgid "Delay:"
762
- msgstr ""
763
-
764
- #: ../views/slider-advanced-settings.php:28
765
- msgid ""
766
- "Milliseconds to add or substract from the time before the first transition "
767
- "occurs."
768
- msgstr ""
769
-
770
- #: ../views/slider-advanced-settings.php:32
771
- msgid "Easing:"
772
- msgstr ""
773
-
774
- #: ../views/slider-advanced-settings.php:38
775
- msgid "Easing for transition animations."
776
- msgstr ""
777
-
778
- #: ../views/slider-advanced-settings.php:42
779
- msgid "Swipe:"
780
- msgstr ""
781
-
782
- #: ../views/slider-advanced-settings.php:48
783
- msgid "Enable swipe gesture support for touch devices."
784
- msgstr ""
785
-
786
- #: ../views/slider-advanced-settings.php:53
787
- msgid "Resize Options:"
788
- msgstr ""
789
-
790
- #: ../views/slider-advanced-settings.php:60
791
- msgid "Auto - Cyclone Slider decides the resize option."
792
- msgstr ""
793
-
794
- #: ../views/slider-advanced-settings.php:61
795
- msgid "Crop - Resize and remove excess parts."
796
- msgstr ""
797
-
798
- #: ../views/slider-advanced-settings.php:62
799
- msgid "Exact - Resize to exact dimensions."
800
- msgstr ""
801
-
802
- #: ../views/slider-advanced-settings.php:63
803
- msgid "Landscape - Resize to exact width."
804
- msgstr ""
805
-
806
- #: ../views/slider-advanced-settings.php:64
807
- msgid "Portrait - Resize to exact height."
808
- msgstr ""
809
-
810
- #: ../views/slider-codes.php:4
811
- msgid "Your Shortcode:"
812
- msgstr ""
813
-
814
- #: ../views/slider-codes.php:6
815
- msgid ""
816
- "Copy and paste this shortcode into your Post, Page or Custom Post editor."
817
- msgstr ""
818
-
819
- #: ../views/slider-codes.php:10
820
- msgid "Your PHP Code:"
821
- msgstr ""
822
-
823
- #: ../views/slider-codes.php:12
824
- msgid ""
825
- "Copy and paste this code when you need to display the slider in template "
826
- "files (header.php, front-page.php, etc.)."
827
- msgstr ""
828
-
829
- #: ../views/slider-id.php:5
830
- msgid "Change the Slideshow ID here."
831
- msgstr ""
832
-
833
- #: ../views/slider-preview.php:9
834
- msgid "Your preview will appear here."
835
- msgstr ""
836
-
837
- #: ../views/slider-settings.php:4
838
- msgid "Transition Effects to Use:"
839
- msgstr ""
840
-
841
- #: ../views/slider-settings.php:28
842
- msgid "Milliseconds. 0 to disable auto advance."
843
- msgstr ""
844
-
845
- #: ../views/slider-settings.php:38
846
- msgid "Width:"
847
- msgstr ""
848
-
849
- #: ../views/slider-settings.php:40 ../views/slider-settings.php:46
850
- msgid "pixels."
851
- msgstr ""
852
-
853
- #: ../views/slider-settings.php:44
854
- msgid "Height:"
855
- msgstr ""
856
-
857
- #: ../views/slider-settings.php:50
858
- msgid "Width Management:"
859
- msgstr ""
860
-
861
- #: ../views/slider-settings.php:52
862
- msgid "Responsive"
863
- msgstr ""
864
-
865
- #: ../views/slider-settings.php:53
866
- msgid "Full"
867
- msgstr ""
868
-
869
- #: ../views/slider-settings.php:54
870
- msgid "Fixed"
871
- msgstr ""
872
-
873
- #: ../views/slider-settings.php:57
874
- msgid ""
875
- "Responsive - resizes to smaller size but maximum width will be equal to the "
876
- "provided width."
877
- msgstr ""
878
-
879
- #: ../views/slider-settings.php:58
880
- msgid ""
881
- "Full - the same as responsive but maximum width will be equal to its "
882
- "container ignoring the provided width."
883
- msgstr ""
884
-
885
- #: ../views/slider-settings.php:59
886
- msgid "Fixed - width and height are not resized."
887
- msgstr ""
888
-
889
- #: ../views/slider-settings.php:64
890
- msgid "Resize Images?"
891
- msgstr ""
892
-
893
- #: ../views/slider-settings.php:71
894
- msgid "Force Resize"
895
- msgstr ""
896
-
897
- #: ../views/slider-settings.php:72
898
- msgid ""
899
- "Yes - resize images to slideshow dimension. <br>No - use the original "
900
- "uploaded image. <br>Force Resize - Regenerate all images and thumbnails."
901
- msgstr ""
902
-
903
- #: ../views/slider-settings.php:76
904
- msgid "Pause on Hover?"
905
- msgstr ""
906
-
907
- #: ../views/slider-settings.php:84
908
- msgid "Show Prev/Next Buttons?"
909
- msgstr ""
910
-
911
- #: ../views/slider-settings.php:92
912
- msgid "Show Navigation?"
913
- msgstr ""
914
-
915
- #: ../views/slider-settings.php:97
916
- msgid "The thumbnails or dots depending on template."
917
- msgstr ""
918
-
919
- #: ../views/slider-settings.php:101
920
- msgid "Random Slide Order?"
921
- msgstr ""
922
-
923
- #: ../views/slider-settings.php:106
924
- msgid "Randomize order of slides on every page visit."
925
- msgstr ""
926
-
927
- #: ../views/slides.php:8
928
- msgid "Add Slide"
929
- msgstr ""
930
-
931
- #: ../views/template-selection.php:4
932
- msgid "Name"
933
- msgstr ""
934
-
935
- #: ../views/template-selection.php:5
936
- msgid "Supported Slides"
937
- msgstr ""
938
-
939
- #: ../views/template-selection.php:6
940
- msgid "Location"
941
- msgstr ""
942
-
943
- #: ../views/template-selection.php:7
944
- msgid "Selected"
945
- msgstr ""
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Cyclone Slider\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-02-07 13:37+0800\n"
6
+ "PO-Revision-Date: 2016-02-07 13:37+0800\n"
7
+ "Last-Translator: Kosinix <kosinix@codefleet.net>\n"
8
+ "Language-Team: kosinix <kosinix@codefleet.net>\n"
9
+ "Language: en_US\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;_e;_x\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Generator: Poedit 1.6.7\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+ "X-Poedit-SearchPath-1: ..\n"
19
+
20
+ #: ../cyclone-slider.php:114
21
+ msgid "Cyclone Slider Settings"
22
+ msgstr ""
23
+
24
+ #: ../cyclone-slider.php:115
25
+ msgid "Settings"
26
+ msgstr ""
27
+
28
+ #: ../cyclone-slider.php:125
29
+ msgid "Cyclone Slider Export"
30
+ msgstr ""
31
+
32
+ #: ../cyclone-slider.php:126
33
+ msgid "Export/Import"
34
+ msgstr ""
35
+
36
+ #: ../cyclone-slider.php:138
37
+ msgid "Cyclone Slider Nextgen Export"
38
+ msgstr ""
39
+
40
+ #: ../cyclone-slider.php:139 ../src/CycloneSlider/ExportPageNextgen.php:75
41
+ msgid "Export Nextgen"
42
+ msgstr ""
43
+
44
+ #: ../cyclone-slider.php:151
45
+ msgid "Cyclone Slider Import"
46
+ msgstr ""
47
+
48
+ #: ../cyclone-slider.php:152 ../src/CycloneSlider/ExportPage.php:72
49
+ #: ../src/CycloneSlider/ExportPageNextgen.php:70
50
+ #: ../src/CycloneSlider/ExporterNextgen.php:65
51
+ #: ../src/CycloneSlider/ImportPage.php:77
52
+ #: ../src/CycloneSlider/NextgenIntegration.php:65
53
+ msgid "Import"
54
+ msgstr ""
55
+
56
+ #: ../src/CycloneSlider/Admin.php:97
57
+ msgid "Cyclone Slider"
58
+ msgstr ""
59
+
60
+ #: ../src/CycloneSlider/Admin.php:98
61
+ msgid "Slideshow"
62
+ msgstr ""
63
+
64
+ #: ../src/CycloneSlider/Admin.php:99
65
+ msgid "Add Slideshow"
66
+ msgstr ""
67
+
68
+ #: ../src/CycloneSlider/Admin.php:100
69
+ msgid "Add New Slideshow"
70
+ msgstr ""
71
+
72
+ #: ../src/CycloneSlider/Admin.php:101
73
+ msgid "Edit Slideshow"
74
+ msgstr ""
75
+
76
+ #: ../src/CycloneSlider/Admin.php:102
77
+ msgid "New Slideshow"
78
+ msgstr ""
79
+
80
+ #: ../src/CycloneSlider/Admin.php:103
81
+ msgid "View Slideshow"
82
+ msgstr ""
83
+
84
+ #: ../src/CycloneSlider/Admin.php:104
85
+ msgid "Search Slideshows"
86
+ msgstr ""
87
+
88
+ #: ../src/CycloneSlider/Admin.php:105
89
+ msgid "No slideshows found"
90
+ msgstr ""
91
+
92
+ #: ../src/CycloneSlider/Admin.php:106
93
+ msgid "No slideshows found in Trash"
94
+ msgstr ""
95
+
96
+ #: ../src/CycloneSlider/Admin.php:150 ../src/CycloneSlider/Admin.php:153
97
+ #: ../src/CycloneSlider/Admin.php:154 ../src/CycloneSlider/Admin.php:157
98
+ #: ../src/CycloneSlider/Admin.php:158 ../src/CycloneSlider/Admin.php:159
99
+ msgid "Slideshow updated."
100
+ msgstr ""
101
+
102
+ #: ../src/CycloneSlider/Admin.php:151
103
+ msgid "Custom field updated."
104
+ msgstr ""
105
+
106
+ #: ../src/CycloneSlider/Admin.php:152
107
+ msgid "Custom field deleted."
108
+ msgstr ""
109
+
110
+ #: ../src/CycloneSlider/Admin.php:155
111
+ msgid "Slideshow published."
112
+ msgstr ""
113
+
114
+ #: ../src/CycloneSlider/Admin.php:156
115
+ msgid "Slideshow saved."
116
+ msgstr ""
117
+
118
+ #: ../src/CycloneSlider/Admin.php:193
119
+ msgid "Slides"
120
+ msgstr ""
121
+
122
+ #: ../src/CycloneSlider/Admin.php:202
123
+ msgid "Slider Preview"
124
+ msgstr ""
125
+
126
+ #: ../src/CycloneSlider/Admin.php:211
127
+ msgid "Get Slider Codes"
128
+ msgstr ""
129
+
130
+ #: ../src/CycloneSlider/Admin.php:220
131
+ msgid "Basic Settings"
132
+ msgstr ""
133
+
134
+ #: ../src/CycloneSlider/Admin.php:229
135
+ msgid "Advanced Settings"
136
+ msgstr ""
137
+
138
+ #: ../src/CycloneSlider/Admin.php:238
139
+ msgid "Templates"
140
+ msgstr ""
141
+
142
+ #: ../src/CycloneSlider/Admin.php:247 ../src/CycloneSlider/Admin.php:512
143
+ msgid "Slideshow ID"
144
+ msgstr ""
145
+
146
+ #: ../src/CycloneSlider/Admin.php:273
147
+ msgid "Slide"
148
+ msgstr ""
149
+
150
+ #: ../src/CycloneSlider/Admin.php:278
151
+ msgid "[Hidden]"
152
+ msgstr ""
153
+
154
+ #: ../src/CycloneSlider/Admin.php:401
155
+ msgid "Core"
156
+ msgstr ""
157
+
158
+ #: ../src/CycloneSlider/Admin.php:402
159
+ #, php-format
160
+ msgid "Located inside the plugin directory:<br> <strong>%s</strong>"
161
+ msgstr ""
162
+
163
+ #: ../src/CycloneSlider/Admin.php:406
164
+ #, php-format
165
+ msgid "Located inside your currently active theme:<br> <strong>%s</strong>"
166
+ msgstr ""
167
+
168
+ #: ../src/CycloneSlider/Admin.php:407
169
+ #, php-format
170
+ msgid ""
171
+ "Your template is in danger of being overwritten when you upgrade your theme. "
172
+ "Please move it inside %s."
173
+ msgstr ""
174
+
175
+ #: ../src/CycloneSlider/Admin.php:411
176
+ #, php-format
177
+ msgid "Located inside wp-content directory:<br> <strong>%s</strong>"
178
+ msgstr ""
179
+
180
+ #: ../src/CycloneSlider/Admin.php:448
181
+ msgid "Slide *"
182
+ msgstr ""
183
+
184
+ #: ../src/CycloneSlider/Admin.php:509
185
+ msgid "Slideshow Name"
186
+ msgstr ""
187
+
188
+ #: ../src/CycloneSlider/Admin.php:510
189
+ msgid "Template"
190
+ msgstr ""
191
+
192
+ #: ../src/CycloneSlider/Admin.php:511
193
+ msgid "No. of Slides"
194
+ msgstr ""
195
+
196
+ #: ../src/CycloneSlider/Admin.php:513
197
+ msgid "Shortcode"
198
+ msgstr ""
199
+
200
+ #: ../src/CycloneSlider/AssetLoader.php:59
201
+ msgid "Select an image"
202
+ msgstr ""
203
+
204
+ #: ../src/CycloneSlider/AssetLoader.php:60
205
+ msgid "Select Images - Use Ctrl + Click or Shift + Click"
206
+ msgstr ""
207
+
208
+ #: ../src/CycloneSlider/AssetLoader.php:61
209
+ msgid "Add to Slide"
210
+ msgstr ""
211
+
212
+ #: ../src/CycloneSlider/AssetLoader.php:62 ../views/slides.php:9
213
+ msgid "Add Images as Slides"
214
+ msgstr ""
215
+
216
+ #: ../src/CycloneSlider/AssetLoader.php:63
217
+ msgid "Error. Make sure its a valid YouTube URL."
218
+ msgstr ""
219
+
220
+ #: ../src/CycloneSlider/ExportPage.php:67
221
+ #: ../src/CycloneSlider/ExportPageNextgen.php:65
222
+ #: ../src/CycloneSlider/ImportPage.php:72
223
+ msgid "Export"
224
+ msgstr ""
225
+
226
+ #: ../src/CycloneSlider/ExportPage.php:80
227
+ #: ../src/CycloneSlider/ImportPage.php:66
228
+ msgid ""
229
+ "ZipArchive not supported. ZipArchive is needed for Import and Export to work."
230
+ msgstr ""
231
+
232
+ #: ../src/CycloneSlider/ExportPage.php:116
233
+ #: ../src/CycloneSlider/ExportPageNextgen.php:121
234
+ msgid "Your export file is ready. Click Download."
235
+ msgstr ""
236
+
237
+ #: ../src/CycloneSlider/ExportPage.php:121
238
+ #: ../src/CycloneSlider/ExportPageNextgen.php:126
239
+ msgid "Error creating exports directory."
240
+ msgstr ""
241
+
242
+ #: ../src/CycloneSlider/ExportPage.php:170
243
+ #: ../src/CycloneSlider/ExportPageNextgen.php:175
244
+ msgid "No slider selected."
245
+ msgstr ""
246
+
247
+ #: ../src/CycloneSlider/ExportPage.php:175
248
+ #: ../src/CycloneSlider/ExportPageNextgen.php:180
249
+ msgid "Please choose a file name."
250
+ msgstr ""
251
+
252
+ #: ../src/CycloneSlider/Exporter.php:52
253
+ msgid "Error no sliders selected."
254
+ msgstr ""
255
+
256
+ #: ../src/CycloneSlider/Exporter.php:73
257
+ msgid "Error encoding data to JSON."
258
+ msgstr ""
259
+
260
+ #: ../src/CycloneSlider/Exporter.php:79
261
+ #, php-format
262
+ msgid "Success generating zip %s."
263
+ msgstr ""
264
+
265
+ #: ../src/CycloneSlider/Exporter.php:107
266
+ #, php-format
267
+ msgid "Exporting data for slider \"%s\"."
268
+ msgstr ""
269
+
270
+ #: ../src/CycloneSlider/Exporter.php:109
271
+ #, php-format
272
+ msgid "Slider \"%s\" not found."
273
+ msgstr ""
274
+
275
+ #: ../src/CycloneSlider/Exporter.php:134
276
+ #, php-format
277
+ msgid ""
278
+ "Image %1$d was not found on slide %2$d of slider %3$s. Path to image is %4$s."
279
+ msgstr ""
280
+
281
+ #: ../src/CycloneSlider/Exporter.php:176
282
+ msgid "ZipArchive not supported."
283
+ msgstr ""
284
+
285
+ #: ../src/CycloneSlider/Exporter.php:182
286
+ #, php-format
287
+ msgid "Error opening zip file %s. Code: %s"
288
+ msgstr ""
289
+
290
+ #: ../src/CycloneSlider/Exporter.php:191
291
+ #, php-format
292
+ msgid "Error adding file %s to zip."
293
+ msgstr ""
294
+
295
+ #: ../src/CycloneSlider/Exporter.php:193 ../src/CycloneSlider/Exporter.php:201
296
+ #, php-format
297
+ msgid "File %s added to zip."
298
+ msgstr ""
299
+
300
+ #: ../src/CycloneSlider/ExporterNextgen.php:39
301
+ #: ../src/CycloneSlider/NextgenIntegration.php:39
302
+ msgid "NextGEN Integration"
303
+ msgstr ""
304
+
305
+ #: ../src/CycloneSlider/ExporterNextgen.php:55
306
+ #: ../src/CycloneSlider/NextgenIntegration.php:55
307
+ msgid "Choose a NextGEN Gallery"
308
+ msgstr ""
309
+
310
+ #: ../src/CycloneSlider/ExporterNextgen.php:67
311
+ #: ../src/CycloneSlider/NextgenIntegration.php:67
312
+ msgid ""
313
+ "Select a gallery to import images from. Images will be added as new slides."
314
+ msgstr ""
315
+
316
+ #: ../src/CycloneSlider/Frontend.php:72
317
+ #, php-format
318
+ msgid "[Slideshow \"%s\" not found]"
319
+ msgstr ""
320
+
321
+ #: ../src/CycloneSlider/Frontend.php:88
322
+ #, php-format
323
+ msgid "[Template \"%s\" not found]"
324
+ msgstr ""
325
+
326
+ #: ../src/CycloneSlider/ImportPage.php:119
327
+ msgid "Import operation success!"
328
+ msgstr ""
329
+
330
+ #: ../src/CycloneSlider/Importer.php:37
331
+ msgid "Could not read zip files. ZipArchive not supported."
332
+ msgstr ""
333
+
334
+ #: ../src/CycloneSlider/Importer.php:42
335
+ msgid "No zip file found."
336
+ msgstr ""
337
+
338
+ #: ../src/CycloneSlider/Importer.php:48
339
+ msgid "Error creating imports directory."
340
+ msgstr ""
341
+
342
+ #: ../src/CycloneSlider/Importer.php:55
343
+ msgid "Error moving uploaded zip."
344
+ msgstr ""
345
+
346
+ #: ../src/CycloneSlider/Importer.php:63
347
+ #, php-format
348
+ msgid "Error opening zip: %s"
349
+ msgstr ""
350
+
351
+ #: ../src/CycloneSlider/Importer.php:69
352
+ msgid "Error extracting zip."
353
+ msgstr ""
354
+
355
+ #: ../src/CycloneSlider/Importer.php:76
356
+ msgid "Failed to read export JSON."
357
+ msgstr ""
358
+
359
+ #: ../src/CycloneSlider/Importer.php:81
360
+ msgid "Failed to decode JSON."
361
+ msgstr ""
362
+
363
+ #: ../src/CycloneSlider/Importer.php:152
364
+ #, php-format
365
+ msgid "scandir failed on %s"
366
+ msgstr ""
367
+
368
+ #: ../src/CycloneSlider/Importer.php:168
369
+ #, php-format
370
+ msgid "Source image %s not found."
371
+ msgstr ""
372
+
373
+ #: ../src/CycloneSlider/Importer.php:172
374
+ msgid "Copy error."
375
+ msgstr ""
376
+
377
+ #: ../src/CycloneSlider/SettingsPage.php:54
378
+ msgid "Default options restored."
379
+ msgstr ""
380
+
381
+ #: ../src/CycloneSlider/WidgetSlider.php:13
382
+ msgid "Cyclone Slider Widget"
383
+ msgstr ""
384
+
385
+ #: ../src/CycloneSlider/WidgetSlider.php:14
386
+ msgid "Widget for displaying sliders."
387
+ msgstr ""
388
+
389
+ #: ../src/CycloneSlider/WidgetSlider.php:65 ../views/slide-edit.php:54
390
+ msgid "Title:"
391
+ msgstr ""
392
+
393
+ #: ../src/CycloneSlider/WidgetSlider.php:79
394
+ msgid "Select a Slider:"
395
+ msgstr ""
396
+
397
+ #: ../src/CycloneSlider/WidgetSlider.php:94
398
+ msgid "No sliders found."
399
+ msgstr ""
400
+
401
+ #: ../templates/dark/slider.php:43
402
+ msgid "View Larger Image"
403
+ msgstr ""
404
+
405
+ #: ../templates/dark/slider.php:46 ../templates/dark/slider.php:48
406
+ msgid "Learn More"
407
+ msgstr ""
408
+
409
+ #: ../templates/dark/slider.php:64 ../templates/default/slider.php:62
410
+ #: ../templates/default/slider.php:66 ../templates/default/slider.php:70
411
+ #: ../templates/standard/slider.php:70 ../templates/thumbnails/slider.php:70
412
+ msgid "Slide type not supported."
413
+ msgstr ""
414
+
415
+ #: ../views/export-nextgen-step-1.php:8 ../views/export-nextgen-step-2.php:8
416
+ #: ../views/export-nextgen-step-3.php:8
417
+ msgid "Cyclone Slider Nextgen Exporter"
418
+ msgstr ""
419
+
420
+ #: ../views/export-nextgen-step-1.php:18
421
+ msgid "Choose a NextGEN Gallery:"
422
+ msgstr ""
423
+
424
+ #: ../views/export-nextgen-step-1.php:22 ../views/export-step-1.php:22
425
+ msgid "Select All"
426
+ msgstr ""
427
+
428
+ #: ../views/export-nextgen-step-1.php:34 ../views/export-nextgen-step-2.php:28
429
+ #: ../views/export-step-1.php:34 ../views/export-step-2.php:28
430
+ msgid "File Name:"
431
+ msgstr ""
432
+
433
+ #: ../views/export-nextgen-step-1.php:41 ../views/export-step-1.php:41
434
+ msgid "No slider to export."
435
+ msgstr ""
436
+
437
+ #: ../views/export-nextgen-step-1.php:44 ../views/export-step-1.php:44
438
+ msgid "Clear"
439
+ msgstr ""
440
+
441
+ #: ../views/export-nextgen-step-1.php:45 ../views/export-step-1.php:45
442
+ msgid "Next"
443
+ msgstr ""
444
+
445
+ #: ../views/export-nextgen-step-2.php:17 ../views/export-step-2.php:17
446
+ msgid "Selected slider(s):"
447
+ msgstr ""
448
+
449
+ #: ../views/export-nextgen-step-2.php:35 ../views/export-nextgen-step-3.php:21
450
+ #: ../views/export-nextgen-step-3.php:26 ../views/export-step-2.php:35
451
+ #: ../views/export-step-3.php:21 ../views/export-step-3.php:26
452
+ #: ../views/import-step-3.php:15
453
+ msgid "Back"
454
+ msgstr ""
455
+
456
+ #: ../views/export-nextgen-step-2.php:36 ../views/export-step-2.php:36
457
+ msgid "Generate Export File"
458
+ msgstr ""
459
+
460
+ #: ../views/export-nextgen-step-3.php:22 ../views/export-step-3.php:22
461
+ msgid "Download"
462
+ msgstr ""
463
+
464
+ #: ../views/export-step-1.php:8 ../views/export-step-2.php:8
465
+ #: ../views/export-step-3.php:8
466
+ msgid "Cyclone Slider Exporter"
467
+ msgstr ""
468
+
469
+ #: ../views/export-step-1.php:18
470
+ msgid "Select sliders:"
471
+ msgstr ""
472
+
473
+ #: ../views/import-step-1.php:8 ../views/import-step-3.php:8
474
+ msgid "Cyclone Slider Importer"
475
+ msgstr ""
476
+
477
+ #: ../views/import-step-1.php:17
478
+ msgid "Import Zip File:"
479
+ msgstr ""
480
+
481
+ #: ../views/import-step-1.php:24
482
+ msgid "Upload"
483
+ msgstr ""
484
+
485
+ #: ../views/settings-page.php:7
486
+ msgid ""
487
+ "Play with these settings if Cyclone Slider is not working or if you want to "
488
+ "optimize it."
489
+ msgstr ""
490
+
491
+ #: ../views/settings-page.php:17
492
+ msgid "Load scripts in:"
493
+ msgstr ""
494
+
495
+ #: ../views/settings-page.php:20
496
+ msgid "Header"
497
+ msgstr ""
498
+
499
+ #: ../views/settings-page.php:21
500
+ msgid "Footer"
501
+ msgstr ""
502
+
503
+ #: ../views/settings-page.php:26
504
+ msgid "Load these scripts:"
505
+ msgstr ""
506
+
507
+ #: ../views/settings-page.php:31
508
+ msgid "Cycle 2. This is the core script needed by the plugin."
509
+ msgstr ""
510
+
511
+ #: ../views/settings-page.php:36
512
+ msgid "Cycle 2 - Carousel. Used by these templates: Galleria, Lea, Dos."
513
+ msgstr ""
514
+
515
+ #: ../views/settings-page.php:41
516
+ msgid "Cycle 2 - Swipe. For touch swipe events."
517
+ msgstr ""
518
+
519
+ #: ../views/settings-page.php:46
520
+ msgid "Cycle 2 - Tile. Used for tile transition effects."
521
+ msgstr ""
522
+
523
+ #: ../views/settings-page.php:51
524
+ msgid "Cycle 2 - Video. Used by YouTube template."
525
+ msgstr ""
526
+
527
+ #: ../views/settings-page.php:56
528
+ msgid "Magnific Popup - Enable lightbox option."
529
+ msgstr ""
530
+
531
+ #: ../views/settings-page.php:56 ../views/settings-page.php:61
532
+ #: ../views/slider-advanced-settings.php:2
533
+ msgid "Available in pro version."
534
+ msgstr ""
535
+
536
+ #: ../views/settings-page.php:61
537
+ msgid "Easing - Enable easing options."
538
+ msgstr ""
539
+
540
+ #: ../views/settings-page.php:66
541
+ msgid "Scripts loading priority:"
542
+ msgstr ""
543
+
544
+ #: ../views/settings-page.php:69
545
+ msgid "Make this value bigger to load scripts last."
546
+ msgstr ""
547
+
548
+ #: ../views/settings-page.php:73
549
+ msgid "Load these templates:"
550
+ msgstr ""
551
+
552
+ #: ../views/settings-page.php:86
553
+ msgid "Save Options"
554
+ msgstr ""
555
+
556
+ #: ../views/settings-page.php:87
557
+ msgid "Restore Defaults"
558
+ msgstr ""
559
+
560
+ #: ../views/slide-edit.php:17
561
+ msgid "Delete"
562
+ msgstr ""
563
+
564
+ #: ../views/slide-edit.php:26
565
+ msgid "Image"
566
+ msgstr ""
567
+
568
+ #: ../views/slide-edit.php:27
569
+ msgid "YouTube"
570
+ msgstr ""
571
+
572
+ #: ../views/slide-edit.php:28
573
+ msgid "Vimeo"
574
+ msgstr ""
575
+
576
+ #: ../views/slide-edit.php:29 ../views/slide-edit.php:178
577
+ msgid "Custom HTML"
578
+ msgstr ""
579
+
580
+ #: ../views/slide-edit.php:30
581
+ msgid "Testimonial"
582
+ msgstr ""
583
+
584
+ #: ../views/slide-edit.php:35
585
+ msgid "Hide"
586
+ msgstr ""
587
+
588
+ #: ../views/slide-edit.php:47
589
+ msgid "Get Image"
590
+ msgstr ""
591
+
592
+ #: ../views/slide-edit.php:51
593
+ msgid "Caption"
594
+ msgstr ""
595
+
596
+ #: ../views/slide-edit.php:58
597
+ msgid "Description:"
598
+ msgstr ""
599
+
600
+ #: ../views/slide-edit.php:64 ../views/slide-edit.php:201
601
+ msgid "Link"
602
+ msgstr ""
603
+
604
+ #: ../views/slide-edit.php:67 ../views/slide-edit.php:204
605
+ msgid "Link URL:"
606
+ msgstr ""
607
+
608
+ #: ../views/slide-edit.php:71 ../views/slide-edit.php:208
609
+ msgid "Open Link in:"
610
+ msgstr ""
611
+
612
+ #: ../views/slide-edit.php:73 ../views/slide-edit.php:210
613
+ msgid "Same Window"
614
+ msgstr ""
615
+
616
+ #: ../views/slide-edit.php:74 ../views/slide-edit.php:211
617
+ msgid "New Tab or Window"
618
+ msgstr ""
619
+
620
+ #: ../views/slide-edit.php:80
621
+ msgid "Image Attributes"
622
+ msgstr ""
623
+
624
+ #: ../views/slide-edit.php:83
625
+ msgid "Alternate Text:"
626
+ msgstr ""
627
+
628
+ #: ../views/slide-edit.php:87
629
+ msgid "Title Text:"
630
+ msgstr ""
631
+
632
+ #: ../views/slide-edit.php:93
633
+ msgid "Slide Transition Effects"
634
+ msgstr ""
635
+
636
+ #: ../views/slide-edit.php:97
637
+ msgid "Disable"
638
+ msgstr ""
639
+
640
+ #: ../views/slide-edit.php:98
641
+ msgid "Enable Slide Effects"
642
+ msgstr ""
643
+
644
+ #: ../views/slide-edit.php:104
645
+ msgid "Transition Effects:"
646
+ msgstr ""
647
+
648
+ #: ../views/slide-edit.php:115 ../views/slider-settings.php:32
649
+ msgid "Transition Effects Speed:"
650
+ msgstr ""
651
+
652
+ #: ../views/slide-edit.php:117 ../views/slide-edit.php:124
653
+ #: ../views/slider-settings.php:34
654
+ msgid "Milliseconds"
655
+ msgstr ""
656
+
657
+ #: ../views/slide-edit.php:122 ../views/slider-settings.php:26
658
+ msgid "Next Slide Delay:"
659
+ msgstr ""
660
+
661
+ #: ../views/slide-edit.php:132 ../views/slider-settings.php:13
662
+ msgid "Tile Count:"
663
+ msgstr ""
664
+
665
+ #: ../views/slide-edit.php:134 ../views/slider-settings.php:15
666
+ msgid "The number of tiles to use in the transition."
667
+ msgstr ""
668
+
669
+ #: ../views/slide-edit.php:138
670
+ msgid "Tile Delay:"
671
+ msgstr ""
672
+
673
+ #: ../views/slide-edit.php:140
674
+ msgid "Milliseconds to delay each individual tile transition."
675
+ msgstr ""
676
+
677
+ #: ../views/slide-edit.php:144 ../views/slider-settings.php:18
678
+ msgid "Tile Position:"
679
+ msgstr ""
680
+
681
+ #: ../views/slide-edit.php:146 ../views/slider-settings.php:20
682
+ msgid "Vertical"
683
+ msgstr ""
684
+
685
+ #: ../views/slide-edit.php:147 ../views/slider-settings.php:21
686
+ msgid "Horizontal"
687
+ msgstr ""
688
+
689
+ #: ../views/slide-edit.php:159
690
+ msgid "YouTube URL:"
691
+ msgstr ""
692
+
693
+ #: ../views/slide-edit.php:161
694
+ msgid "Copy and paste a valid YouTube URL here."
695
+ msgstr ""
696
+
697
+ #: ../views/slide-edit.php:166
698
+ msgid "Do not show suggested videos when the video finishes."
699
+ msgstr ""
700
+
701
+ #: ../views/slide-edit.php:171
702
+ msgid "Vimeo URL:"
703
+ msgstr ""
704
+
705
+ #: ../views/slide-edit.php:173
706
+ msgid "Copy and paste a valid Vimeo URL here."
707
+ msgstr ""
708
+
709
+ #: ../views/slide-edit.php:186
710
+ msgid "Quote"
711
+ msgstr ""
712
+
713
+ #: ../views/slide-edit.php:192
714
+ msgid "Author"
715
+ msgstr ""
716
+
717
+ #: ../views/slide-edit.php:195
718
+ msgid "Name:"
719
+ msgstr ""
720
+
721
+ #: ../views/slider-advanced-settings.php:4
722
+ msgid "Allow Wrap?"
723
+ msgstr ""
724
+
725
+ #: ../views/slider-advanced-settings.php:6
726
+ #: ../views/slider-advanced-settings.php:44 ../views/slider-settings.php:67
727
+ #: ../views/slider-settings.php:78 ../views/slider-settings.php:86
728
+ #: ../views/slider-settings.php:94 ../views/slider-settings.php:104
729
+ msgid "Yes"
730
+ msgstr ""
731
+
732
+ #: ../views/slider-advanced-settings.php:7
733
+ #: ../views/slider-advanced-settings.php:45 ../views/slider-settings.php:66
734
+ #: ../views/slider-settings.php:79 ../views/slider-settings.php:87
735
+ #: ../views/slider-settings.php:95 ../views/slider-settings.php:103
736
+ msgid "No"
737
+ msgstr ""
738
+
739
+ #: ../views/slider-advanced-settings.php:10
740
+ msgid ""
741
+ "Determines if slider wraps to beginning slide if it reaches the end slide."
742
+ msgstr ""
743
+
744
+ #: ../views/slider-advanced-settings.php:15
745
+ msgid "Dynamic Height:"
746
+ msgstr ""
747
+
748
+ #: ../views/slider-advanced-settings.php:17
749
+ msgid "Off"
750
+ msgstr ""
751
+
752
+ #: ../views/slider-advanced-settings.php:18
753
+ msgid "On"
754
+ msgstr ""
755
+
756
+ #: ../views/slider-advanced-settings.php:21
757
+ msgid "Adjust slider height depending on current slide."
758
+ msgstr ""
759
+
760
+ #: ../views/slider-advanced-settings.php:26
761
+ msgid "Delay:"
762
+ msgstr ""
763
+
764
+ #: ../views/slider-advanced-settings.php:28
765
+ msgid ""
766
+ "Milliseconds to add or substract from the time before the first transition "
767
+ "occurs."
768
+ msgstr ""
769
+
770
+ #: ../views/slider-advanced-settings.php:32
771
+ msgid "Easing:"
772
+ msgstr ""
773
+
774
+ #: ../views/slider-advanced-settings.php:38
775
+ msgid "Easing for transition animations."
776
+ msgstr ""
777
+
778
+ #: ../views/slider-advanced-settings.php:42
779
+ msgid "Swipe:"
780
+ msgstr ""
781
+
782
+ #: ../views/slider-advanced-settings.php:48
783
+ msgid "Enable swipe gesture support for touch devices."
784
+ msgstr ""
785
+
786
+ #: ../views/slider-advanced-settings.php:53
787
+ msgid "Resize Options:"
788
+ msgstr ""
789
+
790
+ #: ../views/slider-advanced-settings.php:60
791
+ msgid "Auto - Cyclone Slider decides the resize option."
792
+ msgstr ""
793
+
794
+ #: ../views/slider-advanced-settings.php:61
795
+ msgid "Crop - Resize and remove excess parts."
796
+ msgstr ""
797
+
798
+ #: ../views/slider-advanced-settings.php:62
799
+ msgid "Exact - Resize to exact dimensions."
800
+ msgstr ""
801
+
802
+ #: ../views/slider-advanced-settings.php:63
803
+ msgid "Landscape - Resize to exact width."
804
+ msgstr ""
805
+
806
+ #: ../views/slider-advanced-settings.php:64
807
+ msgid "Portrait - Resize to exact height."
808
+ msgstr ""
809
+
810
+ #: ../views/slider-codes.php:4
811
+ msgid "Your Shortcode:"
812
+ msgstr ""
813
+
814
+ #: ../views/slider-codes.php:6
815
+ msgid ""
816
+ "Copy and paste this shortcode into your Post, Page or Custom Post editor."
817
+ msgstr ""
818
+
819
+ #: ../views/slider-codes.php:10
820
+ msgid "Your PHP Code:"
821
+ msgstr ""
822
+
823
+ #: ../views/slider-codes.php:12
824
+ msgid ""
825
+ "Copy and paste this code when you need to display the slider in template "
826
+ "files (header.php, front-page.php, etc.)."
827
+ msgstr ""
828
+
829
+ #: ../views/slider-id.php:5
830
+ msgid "Change the Slideshow ID here."
831
+ msgstr ""
832
+
833
+ #: ../views/slider-preview.php:9
834
+ msgid "Your preview will appear here."
835
+ msgstr ""
836
+
837
+ #: ../views/slider-settings.php:4
838
+ msgid "Transition Effects to Use:"
839
+ msgstr ""
840
+
841
+ #: ../views/slider-settings.php:28
842
+ msgid "Milliseconds. 0 to disable auto advance."
843
+ msgstr ""
844
+
845
+ #: ../views/slider-settings.php:38
846
+ msgid "Width:"
847
+ msgstr ""
848
+
849
+ #: ../views/slider-settings.php:40 ../views/slider-settings.php:46
850
+ msgid "pixels."
851
+ msgstr ""
852
+
853
+ #: ../views/slider-settings.php:44
854
+ msgid "Height:"
855
+ msgstr ""
856
+
857
+ #: ../views/slider-settings.php:50
858
+ msgid "Width Management:"
859
+ msgstr ""
860
+
861
+ #: ../views/slider-settings.php:52
862
+ msgid "Responsive"
863
+ msgstr ""
864
+
865
+ #: ../views/slider-settings.php:53
866
+ msgid "Full"
867
+ msgstr ""
868
+
869
+ #: ../views/slider-settings.php:54
870
+ msgid "Fixed"
871
+ msgstr ""
872
+
873
+ #: ../views/slider-settings.php:57
874
+ msgid ""
875
+ "Responsive - resizes to smaller size but maximum width will be equal to the "
876
+ "provided width."
877
+ msgstr ""
878
+
879
+ #: ../views/slider-settings.php:58
880
+ msgid ""
881
+ "Full - the same as responsive but maximum width will be equal to its "
882
+ "container ignoring the provided width."
883
+ msgstr ""
884
+
885
+ #: ../views/slider-settings.php:59
886
+ msgid "Fixed - width and height are not resized."
887
+ msgstr ""
888
+
889
+ #: ../views/slider-settings.php:64
890
+ msgid "Resize Images?"
891
+ msgstr ""
892
+
893
+ #: ../views/slider-settings.php:71
894
+ msgid "Force Resize"
895
+ msgstr ""
896
+
897
+ #: ../views/slider-settings.php:72
898
+ msgid ""
899
+ "Yes - resize images to slideshow dimension. <br>No - use the original "
900
+ "uploaded image. <br>Force Resize - Regenerate all images and thumbnails."
901
+ msgstr ""
902
+
903
+ #: ../views/slider-settings.php:76
904
+ msgid "Pause on Hover?"
905
+ msgstr ""
906
+
907
+ #: ../views/slider-settings.php:84
908
+ msgid "Show Prev/Next Buttons?"
909
+ msgstr ""
910
+
911
+ #: ../views/slider-settings.php:92
912
+ msgid "Show Navigation?"
913
+ msgstr ""
914
+
915
+ #: ../views/slider-settings.php:97
916
+ msgid "The thumbnails or dots depending on template."
917
+ msgstr ""
918
+
919
+ #: ../views/slider-settings.php:101
920
+ msgid "Random Slide Order?"
921
+ msgstr ""
922
+
923
+ #: ../views/slider-settings.php:106
924
+ msgid "Randomize order of slides on every page visit."
925
+ msgstr ""
926
+
927
+ #: ../views/slides.php:8
928
+ msgid "Add Slide"
929
+ msgstr ""
930
+
931
+ #: ../views/template-selection.php:4
932
+ msgid "Name"
933
+ msgstr ""
934
+
935
+ #: ../views/template-selection.php:5
936
+ msgid "Supported Slides"
937
+ msgstr ""
938
+
939
+ #: ../views/template-selection.php:6
940
+ msgid "Location"
941
+ msgstr ""
942
+
943
+ #: ../views/template-selection.php:7
944
+ msgid "Selected"
945
+ msgstr ""
screenshot-1.jpg DELETED
Binary file
screenshot-2.jpg DELETED
Binary file
screenshot-3.jpg DELETED
Binary file
screenshot-4.jpg DELETED
Binary file
screenshot-5.jpg DELETED
Binary file
src/CycloneSlider/Crispin/RestClientInterface.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ interface CycloneSlider_Crispin_RestClientInterface {
4
+
5
+ public function get($url);
6
+
7
+ public function post($url, $post=array(), $files=array());
8
+
9
+ public function put($url, $post=array());
10
+
11
+ public function delete($url);
12
+ }
src/CycloneSlider/Crispin/RestClientWp.php ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class CycloneSlider_Crispin_RestClientWp extends CycloneSlider_Crispin_RestSigner implements CycloneSlider_Crispin_RestClientInterface{
4
+ protected $publicId;
5
+ protected $secretKey;
6
+ protected $signedUrl;
7
+ protected $signVariableNames;
8
+
9
+ /**
10
+ * CycloneSlider_Crispin_RestClientWp constructor.
11
+ *
12
+ * @param string $publicId
13
+ * @param string $secretKey
14
+ * @param bool|false $signedUrl True will add "s.i.t." (signature, id, time) to url query vars. False will use custom headers and leave url untouched.
15
+ * @param array $signVariableNames
16
+ */
17
+ public function __construct($publicId='', $secretKey='', $signedUrl=false, $signVariableNames=array()){
18
+ $this->publicId = $publicId;
19
+ $this->secretKey = $secretKey;
20
+ $this->signedUrl = $signedUrl;
21
+ $this->signVariableNames = array_merge($signVariableNames, array('signature'=>'signature', 'id'=>'id', 'time'=>'time'));
22
+ }
23
+
24
+ public function get( $url ){
25
+ $args = array();
26
+
27
+ if($this->signedUrl){
28
+ $url = $this->_signUrl( $url );
29
+ } else {
30
+ $headers = $this->_generateCrispinHeader();
31
+ $args['headers'] = $headers;
32
+ }
33
+
34
+ return $response = wp_remote_get( $url, $args );
35
+
36
+ }
37
+
38
+ public function post($url, $post=array(), $files=array()){
39
+
40
+ $url = $this->_signUrl( $url );
41
+ $boundary = $this->_generateBoundary();
42
+
43
+ $content = $this->_prepareContent($boundary, $post, $files );
44
+
45
+ $headers = $this->_generateCrispinHeader();
46
+ $headers['Content-type'] = "multipart/form-data; boundary={$boundary}";
47
+ $headers['Content-Length'] = strlen($content);
48
+ $args = array(
49
+ 'method' => 'POST',
50
+ 'headers' => $headers,
51
+ 'body' => $content
52
+ );
53
+ return $response = wp_remote_request( $url, $args );
54
+ }
55
+
56
+ public function put($url, $post=array()){
57
+ $url = $this->_signUrl( $url );
58
+ $headers = $this->_generateCrispinHeader();
59
+ $args = array(
60
+ 'method' => 'PUT',
61
+ 'headers' => $headers,
62
+ 'body' => $post
63
+ );
64
+ return $response = wp_remote_request( $url, $args );
65
+ }
66
+
67
+ public function delete($url){
68
+ $url = $this->_signUrl( $url );
69
+ $headers = $this->_generateCrispinHeader();
70
+ $args = array(
71
+ 'method' => 'DELETE',
72
+ 'headers' => $headers
73
+ );
74
+ return $response = wp_remote_request( $url, $args );
75
+ }
76
+
77
+ protected function _prepareContent($boundary, $post=array(), $files=array()) {
78
+
79
+ $newLine = "\r\n";
80
+ $content = '';
81
+ if( is_array($post) and !empty($post)){
82
+ $content .= "--{$boundary}{$newLine}";
83
+ foreach($post as $name=>$value){
84
+ $content .= "Content-Disposition: form-data; name=\"{$name}\"{$newLine}{$newLine}";
85
+ $content .= "{$value}{$newLine}";
86
+ $content .= "--{$boundary}{$newLine}";
87
+ }
88
+ }
89
+
90
+ if( is_array($files) and !empty($files) ){
91
+ if('' !== $content){
92
+ $content .= "--{$boundary}{$newLine}";
93
+ }
94
+ foreach($files as $name=>$file){
95
+ $data = file_get_contents($file['file']);
96
+
97
+ $content .= 'Content-Disposition: form-data; name="'.$name.'"; filename="'.$file['filename'].'"'.$newLine;
98
+ $content .= "Content-Type: application/zip{$newLine}";
99
+ $content .= "Content-Transfer-Encoding: binary{$newLine}{$newLine}";
100
+ $content .= "{$data}{$newLine}";
101
+ $content .= "--{$boundary}{$newLine}";
102
+ }
103
+
104
+ }
105
+ return $content;
106
+ }
107
+
108
+ protected function _generateCrispinHeader(){
109
+ $requestTime = time();
110
+ $signature = $this->generateSignature($requestTime, $this->publicId, $this->secretKey);
111
+
112
+ return array(
113
+ 'X-Crispin-Client-Signature' => $signature,
114
+ 'X-Crispin-Client-Public-Id' => $this->publicId,
115
+ 'X-Crispin-Client-Time' => $requestTime
116
+ );
117
+ }
118
+
119
+ protected function _generateBoundary(){
120
+ return uniqid().'-'.uniqid();
121
+ }
122
+
123
+ /**
124
+ * Attach security variables to url query
125
+ *
126
+ * @param $url
127
+ *
128
+ * @return bool|string
129
+ * @throws Exception
130
+ */
131
+ protected function _signUrl( $url ){
132
+ $requestTime = time();
133
+ $signature = $this->generateSignature($requestTime, $this->publicId, $this->secretKey);
134
+
135
+ return $this->_modifyQuery( $url, array(
136
+ $this->signVariableNames['signature'] => $signature,
137
+ $this->signVariableNames['id'] => $this->publicId,
138
+ $this->signVariableNames['time'] => $requestTime
139
+ ) );
140
+ }
141
+
142
+ protected function _modifyQuery($url, $new_query_parts=array()){
143
+ $parts = parse_url( $url );
144
+
145
+ if(false !== $parts){
146
+ if( isset($parts['query']) ){
147
+ parse_str($parts['query'], $query_parts);
148
+
149
+ $query_parts = array_merge( $query_parts, $new_query_parts );
150
+
151
+ $parts['query'] = http_build_query($query_parts);
152
+
153
+ return $this->_composeUrl($parts);
154
+ }
155
+ }
156
+
157
+ return false;
158
+ }
159
+
160
+ protected function _composeUrl($parsed_url) {
161
+ $scheme = isset($parsed_url['scheme']) ? $parsed_url['scheme'] . '://' : '';
162
+ $host = isset($parsed_url['host']) ? $parsed_url['host'] : '';
163
+ $port = isset($parsed_url['port']) ? ':' . $parsed_url['port'] : '';
164
+ $user = isset($parsed_url['user']) ? $parsed_url['user'] : '';
165
+ $pass = isset($parsed_url['pass']) ? ':' . $parsed_url['pass'] : '';
166
+ $pass = ($user || $pass) ? "$pass@" : '';
167
+ $path = isset($parsed_url['path']) ? $parsed_url['path'] : '';
168
+ $query = isset($parsed_url['query']) ? '?' . $parsed_url['query'] : '';
169
+ $fragment = isset($parsed_url['fragment']) ? '#' . $parsed_url['fragment'] : '';
170
+ return "$scheme$user$pass$host$port$path$query$fragment";
171
+ }
172
+ }
src/CycloneSlider/Crispin/RestSigner.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Logic here must match with the client
5
+ */
6
+ class CycloneSlider_Crispin_RestSigner {
7
+
8
+ /**
9
+ * Signs a request. Trim white trailing spaces or the signatures will be totally different.
10
+ *
11
+ * @param int $requestTime The request time measured in the number of seconds since the Unix Epoch.
12
+ * @param string $publicId The public ID of the API client.
13
+ * @param string $secretKey The secret key of the API client.
14
+ *
15
+ * @return string The unique token that is included in every api request.
16
+ */
17
+ public function generateSignature($requestTime, $publicId, $secretKey)
18
+ {
19
+ $digest = $this->generateDigest(trim($requestTime), trim($publicId), trim($secretKey));
20
+ return hash('sha256', $digest);
21
+ }
22
+
23
+ /**
24
+ * A digest is similar to a password used in logins. The digest can be hashed to make it into signature.
25
+ *
26
+ * @param int $requestTime The request time measured in the number of seconds since the Unix Epoch.
27
+ * @param string $publicId The public ID of the API client.
28
+ * @param string $secretKey The secret key of the API client.
29
+ *
30
+ * @return string
31
+ */
32
+ public function generateDigest($requestTime, $publicId, $secretKey)
33
+ {
34
+ $digest = $requestTime.':'.$publicId.':'.$secretKey;
35
+ return $digest;
36
+ }
37
+
38
+ }
src/CycloneSlider/Updater.php CHANGED
@@ -1,182 +1,148 @@
1
  <?php
2
  /**
3
- * Class for updating plugin
4
- */
5
  class CycloneSlider_Updater {
6
-
7
- private $settings_data; // To access the license id and key
8
- private $plugin_slug; // Slug of the plugin
9
- private $current_version; // Current plugin version to check against
10
- private $info_url; // URL to API endpoint that returns latest plugin version + plugin info
11
- private $download_url; // Endpoint to download plugin zip
12
-
13
- public function __construct( $settings_page_data, $slug, $version, $info_url, $download_url ){
14
- $this->settings_data = $settings_page_data;
15
- $this->plugin_slug = $slug;
16
- $this->current_version = $version;
17
- $this->info_url = $info_url;
18
- $this->download_url = $download_url;
19
- }
20
-
21
- public function run(){
22
- $this->check_updates();
23
- }
24
-
25
- /**
26
- * Check updates
27
- */
28
- public function check_updates($force_check=false){
29
-
30
- if($force_check){
31
- delete_site_transient('update_plugins'); // Force check
32
- }
33
-
34
- // Insert custom plugins info to 'update_plugins" site transient
35
- add_filter('pre_set_site_transient_update_plugins', array($this, 'check_plugin'));
36
-
37
- // Define the alternative response for information checking
38
- add_filter('plugins_api', array($this, 'check_info'), 10, 3);
39
- }
40
-
41
- /**
42
- * Check update for each plugin in the list
43
- *
44
- * @param object $transient - The site transient containing plugin info
45
- */
46
- public function check_plugin($transient) {
47
-
48
- // Return we already checked
49
- if (empty($transient->checked)) {
50
- return $transient;
51
- }
52
-
53
- // Get the remote plugin info
54
- $latest_plugin = $this->get_latest_plugin_info($this->info_url);
55
-
56
- if( $latest_plugin ) {
57
-
58
- // If a newer version is available, add the update info
59
- if ( version_compare($this->current_version, $latest_plugin->version, '<') ) {
60
-
61
- // Prepare needed info for transient using objects
62
- $obj = new stdClass();
63
-
64
- $obj->slug = $latest_plugin->slug;
65
- $obj->new_version = $latest_plugin->version;
66
- $obj->url = $latest_plugin->url;
67
-
68
-
69
- $api_url = $this->download_url;
70
- $client_time = time();
71
- $license_id = $this->settings_data['license_id'];
72
- $license_key = $this->settings_data['license_key'];
73
-
74
- $obj->package = $this->generate_package_url($api_url, $client_time, $license_id, $license_key);
75
-
76
- $transient->response[ $obj->slug ] = $obj;
77
- }
78
-
79
- }
80
-
81
- return $transient;
82
- }
83
-
84
- /**
85
- * Add our self-hosted description to the filter
86
- */
87
- public function check_info($false, $action, $arg) {
88
-
89
- if ( isset($arg->slug) and $arg->slug === $this->plugin_slug ) { // Plugin slug format: {folder-name}/{main-file.php}
90
-
91
- // Get the remote version
92
- if( $latest_plugin = $this->get_latest_plugin_info( $this->info_url ) ) {
93
-
94
- // Build needed info
95
- $information = new stdClass();
96
- $information->name = 'Cyclone Slider Pro';
97
- $information->slug = $this->plugin_slug;
98
- $information->version = $latest_plugin->version;
99
- $information->author = $latest_plugin->author;
100
- $information->homepage = $latest_plugin->homepage;
101
- $information->requires = $latest_plugin->requires;
102
- $information->tested = $latest_plugin->tested;
103
- $information->downloaded = $latest_plugin->downloaded;
104
- $information->last_updated = $latest_plugin->last_updated;
105
- $information->sections = $this->format_sections((array) $latest_plugin->sections);
106
-
107
- $api_url = $this->download_url;
108
- $client_time = time();
109
- $license_id = $this->settings_data['license_id'];
110
- $license_key = $this->settings_data['license_key'];
111
-
112
- $information->download_link = $this->generate_package_url($api_url, $client_time, $license_id, $license_key);
113
-
114
- return $information;
115
- }
116
- }
117
-
118
- return $false;
119
- }
120
-
121
-
122
-
123
- /**
124
- * Fetch plugin info from remote url
125
- *
126
- * @param string $info_url - URL to API endpoint that returns latest plugin version + plugin info
127
- * @return object $response
128
- */
129
- public function get_latest_plugin_info( $info_url ) {
130
-
131
- $raw_response = wp_remote_get( $info_url );
132
-
133
- if ( is_wp_error( $raw_response ) || 200 != wp_remote_retrieve_response_code( $raw_response ) )
134
- return false;
135
-
136
- $response = json_decode( wp_remote_retrieve_body( $raw_response ) );
137
-
138
- if(!isset($response->data)){
139
- return false;
140
- }
141
- return $response->data;
142
- }
143
-
144
-
145
- protected function format_sections( $sections ) {
146
- return array(
147
- 'description' => $sections['description'],
148
- 'installation' => $sections['installation'],
149
- 'changelog' => $this->format_changelog( $sections['changelog'] )
150
- );
151
- }
152
-
153
- protected function format_changelog( $changelog ) {
154
- $html = '<ul>';
155
- foreach($changelog as $log){
156
- $html .= '<li>'.$log.'</li>';
157
- }
158
- $html .= '</ul>';
159
- return $html;
160
- }
161
-
162
- protected function generate_package_url($api_url, $client_time, $license_id, $license_key){
163
-
164
- $query_string = http_build_query(array(
165
- 't' => $client_time,//uses time(),
166
- 'lid' => $license_id
167
- ));
168
-
169
- $digest = $api_url.' '.$query_string.' '.$license_key;
170
-
171
- $signature = hash( 'sha256', $digest );
172
-
173
- $query_array = array(
174
- 't' => $client_time,
175
- 'lid' => $license_id,
176
- 'signature' => $signature
177
- );
178
- $query_string = http_build_query($query_array);
179
- return $this->download_url.'?'.$query_string;
180
-
181
- }
182
- } // end class
1
  <?php
2
  /**
3
+ * Class for updating plugin
4
+ */
5
  class CycloneSlider_Updater {
6
+
7
+ protected $api_endpoint;
8
+ protected $license;
9
+ protected $secret_key;
10
+ protected $wp_slug;
11
+ protected $version;
12
+
13
+ public function __construct( $api_endpoint, $license, $secret, $wp_slug, $version ) {
14
+
15
+ $this->api_endpoint = $api_endpoint;
16
+ $this->license = $license;
17
+ $this->secret_key = $secret;
18
+ $this->wp_slug = $wp_slug;
19
+ $this->version = $version;
20
+
21
+ }
22
+
23
+ public function run() {
24
+
25
+ // Uncomment to force check updates
26
+ // delete_option( '_site_transient_update_plugins' ); // Force check
27
+
28
+ // Allow testing on localhost. Comment this out on production for security reason!
29
+ // add_filter( 'http_request_host_is_external', '__return_true' );
30
+
31
+ // Insert updates
32
+ add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
33
+
34
+ // Define the alternative response for information checking
35
+ add_filter( 'plugins_api', array( $this, 'check_info' ), 10, 3 );
36
+
37
+ }
38
+
39
+ public function check_update($transient) {
40
+
41
+ // Return we already checked
42
+ if (empty($transient->checked)) {
43
+ return $transient;
44
+ }
45
+
46
+ // Get the remote plugin info
47
+ $latest_plugin = $this->get_plugin_info();
48
+
49
+ // Latest plugin check
50
+ if( $latest_plugin ) {
51
+
52
+ // If a newer version is available, add the update info
53
+ if ( version_compare( $this->version, $latest_plugin->version, '<') ) {
54
+
55
+ // Prepare needed info for transient using objects
56
+ $obj = new stdClass();
57
+
58
+ $obj->slug = $this->derive_simple_slug( $latest_plugin->slug ); // Make update ajax work
59
+ $obj->plugin = $latest_plugin->slug;
60
+ $obj->new_version = $latest_plugin->version;
61
+ $obj->url = $latest_plugin->homepage;
62
+ $obj->package = $latest_plugin->download_link;
63
+
64
+ $transient->response[ $obj->plugin ] = $obj;
65
+ }
66
+
67
+ }
68
+
69
+ return $transient;
70
+ }
71
+
72
+ public function check_info($false, $action, $arg) {
73
+
74
+ if ( isset($arg->slug) and $arg->slug === $this->derive_simple_slug($this->wp_slug) ) { // Plugin slug format: {folder-name}/{main-file.php}
75
+
76
+ // Get the remote plugin info
77
+ $latest_plugin = $this->get_plugin_info();
78
+
79
+ // Latest plugin check
80
+ if( $latest_plugin ) {
81
+
82
+ // Build needed info
83
+ $information = new stdClass();
84
+ $information->name = $latest_plugin->name;
85
+ $information->slug = $this->derive_simple_slug( $latest_plugin->slug ); // TODO: Maybe return a simple slug and a plugin slug
86
+ $information->version = $latest_plugin->version;
87
+ $information->author = $latest_plugin->author;
88
+ $information->homepage = $latest_plugin->homepage;
89
+ $information->requires = $latest_plugin->requires;
90
+ $information->tested = $latest_plugin->tested;
91
+ $information->last_updated = $latest_plugin->last_updated;
92
+ $information->sections = array(
93
+ 'description' => $latest_plugin->description,
94
+ 'installation' => $latest_plugin->installation,
95
+ 'changelog' => $this->nice_changelog($latest_plugin->changelog, $latest_plugin->version)
96
+ );
97
+ $information->download_link = $latest_plugin->download_link;
98
+ $information->banners['low'] = $latest_plugin->banner; // TODO: Banner low and high
99
+
100
+ return $information;
101
+ }
102
+ }
103
+
104
+ return $false;
105
+ }
106
+
107
+ protected function nice_changelog( $changelog, $version ) {
108
+ $changelog_array = preg_split("/\r\n|\n|\r/", $changelog);
109
+ $output = '<h4>'.$version.'</h4>';
110
+ $output .= '<ul>';
111
+ foreach($changelog_array as $log){
112
+ $output .= '<li>'.$log.'</li>';
113
+ }
114
+ return $output.'</ul>';
115
+ }
116
+
117
+ protected function get_plugin_info(){
118
+ // Create client
119
+ $restClient = new CycloneSlider_Crispin_RestClientWp(
120
+ $this->license,
121
+ $this->secret_key,
122
+ true
123
+ );
124
+
125
+ // Get the remote version
126
+ $query = http_build_query(array(
127
+ 'plugin' => $this->derive_simple_slug( $this->wp_slug ),
128
+ 'version' => 'latest',
129
+ 'action' => 'info'
130
+ ));
131
+ $response = $restClient->get($this->api_endpoint.'?'.$query);
132
+
133
+ if( is_array($response) and $response['response']['code'] >= 200 and $response['response']['code'] <= 299 ){
134
+ return json_decode($response['body']);
135
+ }
136
+ return '';
137
+ }
138
+
139
+ protected function derive_simple_slug( $plugin_wp_slug ){
140
+
141
+ $slashPos = strpos($plugin_wp_slug, '/');
142
+ if( false === $slashPos ){ // No slash found, assume php file name. Eg. format: foo-bar.php
143
+ return basename($plugin_wp_slug,'.php'); // Remove .php extension and returns "foo-bar"
144
+ }
145
+ // Slash found, use it as ending position for substr()
146
+ return substr($plugin_wp_slug, 0, $slashPos); // Eg. "plugin-folder/foo-bar.php" returns "plugin-folder"
147
+ }
148
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
views/export-nextgen-step-3.php CHANGED
@@ -18,11 +18,11 @@
18
  <?php endforeach; ?>
19
  </ul>
20
  <br /><br />
21
- <a class="button" href="<?php echo $export_page_url; ?>"><?php _e('Back', $textdomain); ?></a>
22
- <a class="button button-primary" href="<?php echo $zip_url; ?>"><?php _e('Download', $textdomain); ?></a>
23
  <?php else: ?>
24
 
25
  <br /><br />
26
- <a class="button" href="<?php echo $export_page_url; ?>"><?php _e('Back', $textdomain); ?></a>
27
  <?php endif; ?>
28
  </div>
18
  <?php endforeach; ?>
19
  </ul>
20
  <br /><br />
21
+ <a class="button" href="<?php echo esc_url($export_page_url); ?>"><?php _e('Back', $textdomain); ?></a>
22
+ <a class="button button-primary" href="<?php echo esc_url($zip_url); ?>"><?php _e('Download', $textdomain); ?></a>
23
  <?php else: ?>
24
 
25
  <br /><br />
26
+ <a class="button" href="<?php echo esc_url($export_page_url); ?>"><?php _e('Back', $textdomain); ?></a>
27
  <?php endif; ?>
28
  </div>
views/export-step-1.php CHANGED
@@ -10,7 +10,7 @@
10
  <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
 
12
  <form method="post" action="<?php echo esc_url( $export_page_url ); ?>">
13
- <input type="hidden" name="<?php echo $nonce_name; ?>" value="<?php echo $nonce; ?>" />
14
  <input type="hidden" name="cycloneslider_export_step" value="1" />
15
  <?php if($sliders): ?>
16
  <table class="form-table">
@@ -25,7 +25,7 @@
25
  <?php foreach($sliders as $slider): ?>
26
  <label for="cs-slider-<?php echo $slider['post_name']; ?>">
27
  <input class="cs-sliders" type="checkbox" id="cs-slider-<?php echo esc_attr( $slider['post_name'] ); ?>" name="<?php echo esc_attr( $transient_name ); ?>[sliders][]" value="<?php echo esc_attr( $slider['post_name'] ); ?>" <?php echo ( in_array($slider['post_name'], $page_data['sliders']) ) ? 'checked="checked"' : '' ; ?> />
28
- <span><em><?php echo $slider['post_title']; ?></em></span>
29
  </label> <br />
30
  <?php endforeach; ?>
31
  </td>
10
  <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
 
12
  <form method="post" action="<?php echo esc_url( $export_page_url ); ?>">
13
+ <input type="hidden" name="<?php echo esc_attr($nonce_name); ?>" value="<?php echo esc_attr($nonce); ?>" />
14
  <input type="hidden" name="cycloneslider_export_step" value="1" />
15
  <?php if($sliders): ?>
16
  <table class="form-table">
25
  <?php foreach($sliders as $slider): ?>
26
  <label for="cs-slider-<?php echo $slider['post_name']; ?>">
27
  <input class="cs-sliders" type="checkbox" id="cs-slider-<?php echo esc_attr( $slider['post_name'] ); ?>" name="<?php echo esc_attr( $transient_name ); ?>[sliders][]" value="<?php echo esc_attr( $slider['post_name'] ); ?>" <?php echo ( in_array($slider['post_name'], $page_data['sliders']) ) ? 'checked="checked"' : '' ; ?> />
28
+ <span><em><?php echo esc_html($slider['post_title']); ?></em></span>
29
  </label> <br />
30
  <?php endforeach; ?>
31
  </td>
views/export-step-2.php CHANGED
@@ -10,7 +10,7 @@
10
  <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
 
12
  <form method="post" action="<?php echo esc_url( $export_page_url ); ?>">
13
- <input type="hidden" name="<?php echo $nonce_name; ?>" value="<?php echo $nonce; ?>" />
14
  <input type="hidden" name="cycloneslider_export_step" value="2" />
15
  <table class="form-table">
16
  <tr>
@@ -18,7 +18,7 @@
18
  <td><?php if($page_data['sliders']): ?>
19
  <ul class="export-page-list ">
20
  <?php foreach($page_data['sliders'] as $slider): ?>
21
- <li><?php echo $slider; ?></li>
22
  <?php endforeach; ?>
23
  </ul>
24
  <?php endif; ?>
10
  <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
 
12
  <form method="post" action="<?php echo esc_url( $export_page_url ); ?>">
13
+ <input type="hidden" name="<?php echo esc_attr($nonce_name); ?>" value="<?php echo esc_attr($nonce); ?>" />
14
  <input type="hidden" name="cycloneslider_export_step" value="2" />
15
  <table class="form-table">
16
  <tr>
18
  <td><?php if($page_data['sliders']): ?>
19
  <ul class="export-page-list ">
20
  <?php foreach($page_data['sliders'] as $slider): ?>
21
+ <li><?php echo esc_html($slider); ?></li>
22
  <?php endforeach; ?>
23
  </ul>
24
  <?php endif; ?>
views/export-step-3.php CHANGED
@@ -18,11 +18,11 @@
18
  <?php endforeach; ?>
19
  </ul>
20
  <br /><br />
21
- <a class="button" href="<?php echo $export_page_url; ?>"><?php _e('Back', $textdomain); ?></a>
22
- <a class="button button-primary" href="<?php echo $zip_url; ?>"><?php _e('Download', $textdomain); ?></a>
23
  <?php else: ?>
24
 
25
  <br /><br />
26
- <a class="button" href="<?php echo $export_page_url; ?>"><?php _e('Back', $textdomain); ?></a>
27
  <?php endif; ?>
28
  </div>
18
  <?php endforeach; ?>
19
  </ul>
20
  <br /><br />
21
+ <a class="button" href="<?php echo esc_url($export_page_url); ?>"><?php _e('Back', $textdomain); ?></a>
22
+ <a class="button button-primary" href="<?php echo esc_url($zip_url); ?>"><?php _e('Download', $textdomain); ?></a>
23
  <?php else: ?>
24
 
25
  <br /><br />
26
+ <a class="button" href="<?php echo esc_url($export_page_url); ?>"><?php _e('Back', $textdomain); ?></a>
27
  <?php endif; ?>
28
  </div>
views/import-step-1.php CHANGED
@@ -10,7 +10,7 @@
10
  <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
 
12
  <form enctype="multipart/form-data" method="post" action="<?php echo $import_page_url; ?>">
13
- <input type="hidden" name="<?php echo $nonce_name; ?>" value="<?php echo $nonce; ?>" />
14
  <input type="hidden" name="cycloneslider_import_step" value="1" />
15
  <table class="form-table">
16
  <tr>
10
  <?php $this->render('error-message.php', array('error'=>$error)); ?>
11
 
12
  <form enctype="multipart/form-data" method="post" action="<?php echo $import_page_url; ?>">
13
+ <input type="hidden" name="<?php echo esc_attr($nonce_name); ?>" value="<?php echo esc_attr($nonce); ?>" />
14
  <input type="hidden" name="cycloneslider_import_step" value="1" />
15
  <table class="form-table">
16
  <tr>
views/import-step-3.php CHANGED
@@ -12,5 +12,5 @@
12
  <?php $this->render('ok-message.php', array('ok'=>$ok)); ?>
13
 
14
  <br /><br />
15
- <a class="button" href="<?php echo $import_page_url; ?>"><?php _e('Back', $textdomain ); ?></a>
16
  </div>
12
  <?php $this->render('ok-message.php', array('ok'=>$ok)); ?>
13
 
14
  <br /><br />
15
+ <a class="button" href="<?php echo esc_url($import_page_url); ?>"><?php _e('Back', $textdomain ); ?></a>
16
  </div>
views/settings-page.php CHANGED
@@ -1,13 +1,12 @@
1
  <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
 
3
  <div class="wrap">
4
- <?php echo $screen_icon; ?>
5
- <h2><?php echo $page_title; ?></h2>
6
  <div class="intro">
7
  <p><?php _e('Play with these settings if Cyclone Slider is not working or if you want to optimize it.', $textdomain); ?></p>
8
  </div>
9
  <?php settings_errors();?>
10
- <?php echo $debug; ?>
11
  <form method="post" action="options.php">
12
  <?php
13
  echo $settings_fields;
1
  <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
 
3
  <div class="wrap">
4
+ <?php echo esc_html($screen_icon); ?>
5
+ <h2><?php echo esc_html($page_title); ?></h2>
6
  <div class="intro">
7
  <p><?php _e('Play with these settings if Cyclone Slider is not working or if you want to optimize it.', $textdomain); ?></p>
8
  </div>
9
  <?php settings_errors();?>
 
10
  <form method="post" action="options.php">
11
  <?php
12
  echo $settings_fields;
views/slide-edit.php CHANGED
@@ -11,7 +11,7 @@
11
  <i class="icon-quote-left"></i>
12
  </span>
13
  <span class="cs-title">
14
- <?php echo $box_title; ?>
15
  </span>
16
  <span class="cs-controls">
17
  <span class="cs-delete" title="<?php _e('Delete', 'cycloneslider'); ?>">
@@ -22,7 +22,7 @@
22
  </div>
23
  <div class="cs-body">
24
  <div class="cs-slide-type-bar">
25
- <select class="cs-slide-type-switcher" name="cycloneslider_metas[<?php echo $i; ?>][type]">
26
  <option value="image" <?php selected($slide['type'], 'image'); ?>><?php _e('Image', 'cycloneslider'); ?></option>
27
  <option value="youtube" <?php selected($slide['type'], 'youtube'); ?>><?php _e('YouTube', 'cycloneslider'); ?></option>
28
  <option value="vimeo" <?php selected($slide['type'], 'vimeo'); ?>><?php _e('Vimeo', 'cycloneslider'); ?></option>
@@ -30,8 +30,8 @@
30
  <option value="testimonial" <?php selected($slide['type'], 'testimonial'); ?>><?php _e('Testimonial', 'cycloneslider'); ?></option>
31
  </select>
32
 
33
- <label class="cs-slide-hidden" for="cs-slide-hidden-<?php echo $i; ?>">
34
- <input id="cs-slide-hidden-<?php echo $i; ?>" type="checkbox" name="cycloneslider_metas[<?php echo $i; ?>][hidden]" value="1" <?php checked($slide['hidden'], '1'); ?>>
35
  <span><?php _e('Hide', 'cycloneslider'); ?></span>
36
  </label>
37
  </div>
@@ -43,7 +43,7 @@
43
  <img src="<?php echo esc_url($image_url); ?>" alt="thumb">
44
  <?php endif; ?>
45
  </div>
46
- <input class="cs-image-id" name="cycloneslider_metas[<?php echo $i; ?>][id]" type="hidden" value="<?php echo esc_attr($slide['id']); ?>" />
47
  <input class="button-secondary cs-media-gallery-show" type="button" value="<?php _e('Get Image', 'cycloneslider'); ?>" />
48
  </div>
49
  <div class="cs-image-settings">
@@ -52,11 +52,11 @@
52
  <div class="expandable-body">
53
  <div class="field">
54
  <label for=""><?php _e('Title:', 'cycloneslider'); ?></label> <br>
55
- <input class="widefat cycloneslider-slide-meta-title" name="cycloneslider_metas[<?php echo $i; ?>][title]" type="text" value="<?php echo esc_attr($slide['title']); ?>" />
56
  </div>
57
  <div class="field last">
58
  <label for=""><?php _e('Description:', 'cycloneslider'); ?></label> <br>
59
- <textarea class="widefat cycloneslider-slide-meta-description" name="cycloneslider_metas[<?php echo $i; ?>][description]"><?php echo esc_html($slide['description']); ?></textarea>
60
  </div>
61
  </div>
62
  </div>
@@ -65,11 +65,11 @@
65
  <div class="expandable-body">
66
  <div class="field">
67
  <label for=""><?php _e('Link URL:', 'cycloneslider'); ?></label> <br>
68
- <input class="cycloneslider_metas_link_url widefat" name="cycloneslider_metas[<?php echo $i; ?>][link]" type="text" value="<?php echo esc_url($slide['link']); ?>" />
69
  </div>
70
  <div class="field last">
71
  <label for=""><?php _e('Open Link in:', 'cycloneslider'); ?></label> <br>
72
- <select class="cycloneslider_metas_link_target" id="" name="cycloneslider_metas[<?php echo $i; ?>][link_target]">
73
  <option <?php selected( $slide['link_target'], '_self' ); ?> value="_self"><?php _e('Same Window', 'cycloneslider'); ?></option>
74
  <option <?php selected( $slide['link_target'], '_blank' ); ?> value="_blank"><?php _e('New Tab or Window', 'cycloneslider'); ?></option>
75
  </select>
@@ -81,11 +81,11 @@
81
  <div class="expandable-body">
82
  <div class="field">
83
  <label for=""><?php _e('Alternate Text:', 'cycloneslider'); ?></label> <br>
84
- <input class="widefat cycloneslider-slide-meta-alt" name="cycloneslider_metas[<?php echo $i; ?>][img_alt]" type="text" value="<?php echo esc_attr($slide['img_alt']); ?>" />
85
  </div>
86
  <div class="field last">
87
  <label for=""><?php _e('Title Text:', 'cycloneslider'); ?></label> <br>
88
- <input class="widefat cycloneslider-slide-meta-title" name="cycloneslider_metas[<?php echo $i; ?>][img_title]" type="text" value="<?php echo esc_attr($slide['img_title']); ?>" />
89
  </div>
90
  </div>
91
  </div>
@@ -93,7 +93,7 @@
93
  <div class="expandable-header"><?php _e('Slide Transition Effects', 'cycloneslider'); ?></div>
94
  <div class="expandable-body">
95
 
96
- <select id="" class="cycloneslider_metas_enable_slide_effects" name="cycloneslider_metas[<?php echo $i; ?>][enable_slide_effects]">
97
  <option <?php echo (0==$slide['enable_slide_effects']) ? 'selected="selected"' : ''; ?> value="0"><?php _e('Disable', 'cycloneslider'); ?></option>
98
  <option <?php echo (1==$slide['enable_slide_effects']) ? 'selected="selected"' : ''; ?> value="1"><?php _e('Enable Slide Effects', 'cycloneslider'); ?></option>
99
  </select>
@@ -102,10 +102,10 @@
102
 
103
  <div class="field field-inline">
104
  <label for=""><?php _e('Transition Effects:', 'cycloneslider'); ?></label>
105
- <select id="" class="cycloneslider_metas_fx" name="cycloneslider_metas[<?php echo $i; ?>][fx]">
106
  <option value="default">Default</option>
107
  <?php foreach($effects as $value=>$name): ?>
108
- <option value="<?php echo $value; ?>" <?php echo ($slide['fx']==$value) ? 'selected="selected"' : ''; ?>><?php echo $name; ?></option>
109
  <?php endforeach; ?>
110
  </select>
111
  <div class="clear"></div>
@@ -113,14 +113,14 @@
113
 
114
  <div class="field field-inline">
115
  <label for=""><?php _e('Transition Effects Speed:', 'cycloneslider'); ?></label>
116
- <input class="widefat cycloneslider-slide-meta-speed" name="cycloneslider_metas[<?php echo $i; ?>][speed]" type="number" value="<?php echo esc_attr(@$slide['speed']); ?>" />
117
  <span class="note"> <?php _e('Milliseconds', 'cycloneslider'); ?></span>
118
  <div class="clear"></div>
119
  </div>
120
 
121
  <div class="field field-inline">
122
  <label for=""><?php _e('Next Slide Delay:', 'cycloneslider'); ?></label>
123
- <input class="widefat cycloneslider-slide-meta-timeout" name="cycloneslider_metas[<?php echo $i; ?>][timeout]" type="number" value="<?php echo esc_attr(@$slide['timeout']); ?>" />
124
  <span class="note"> <?php _e('Milliseconds', 'cycloneslider'); ?></span>
125
  <div class="clear"></div>
126
  </div>
@@ -130,19 +130,19 @@
130
 
131
  <div class="field field-inline">
132
  <label for=""><?php _e('Tile Count:', 'cycloneslider'); ?></label>
133
- <input class="widefat cycloneslider-slide-meta-tile-count" name="cycloneslider_metas[<?php echo $i; ?>][tile_count]" type="number" value="<?php echo esc_attr(@$slide['tile_count']); ?>" />
134
  <span class="note"> <?php _e('The number of tiles to use in the transition.', 'cycloneslider'); ?></span>
135
  <div class="clear"></div>
136
  </div>
137
  <!--
138
  <label for=""><?php _e('Tile Delay:', 'cycloneslider'); ?></label>
139
- <input class="widefat cycloneslider-slide-meta-tile-delay" name="cycloneslider_metas[<?php echo $i; ?>][tile_delay]" type="text" value="<?php echo esc_attr(@$slide['tile_delay']); ?>" />
140
  <span class="note"> <?php _e('Milliseconds to delay each individual tile transition.', 'cycloneslider'); ?></span>
141
  <div class="cycloneslider-spacer-15"></div>
142
  -->
143
  <div class="field field-inline">
144
  <label for=""><?php _e('Tile Position:', 'cycloneslider'); ?></label>
145
- <select id="" name="cycloneslider_metas[<?php echo $i; ?>][tile_vertical]">
146
  <option <?php echo ('true'==$slide['tile_vertical']) ? 'selected="selected"' : ''; ?> value="true"><?php _e('Vertical', 'cycloneslider'); ?></option>
147
  <option <?php echo ('false'==$slide['tile_vertical']) ? 'selected="selected"' : ''; ?> value="false"><?php _e('Horizontal', 'cycloneslider'); ?></option>
148
  </select>
@@ -156,27 +156,27 @@
156
  </div><!-- // end .cs-slide-image -->
157
  <div class="cs-slide-youtube">
158
  <div class="field">
159
- <label for="cs_youtube_url-<?php echo $i; ?>" class="cs-changeling-id"><?php _e('YouTube URL:', 'cycloneslider'); ?></label>
160
- <input id="cs_youtube_url-<?php echo $i; ?>" type="text" class="widefat cs-changeling-id cs-youtube-url" name="cycloneslider_metas[<?php echo $i; ?>][youtube_url]" value="<?php echo esc_attr($slide['youtube_url']); ?>" />
161
  <span class="note"><?php _e('Copy and paste a valid YouTube URL here.', 'cycloneslider'); ?></span>
162
  </div>
163
  <div class="field field-normal last">
164
- <input type="hidden" name="cycloneslider_metas[<?php echo $i; ?>][youtube_related]" value="false" />
165
- <input id="cs_youtube_related-<?php echo $i; ?>" type="checkbox" class="widefat cs-changeling-id cs-youtube-related" name="cycloneslider_metas[<?php echo $i; ?>][youtube_related]" value="true" <?php checked( $slide['youtube_related'], 'false' ); ?> />
166
- <label for="cs_youtube_related-<?php echo $i; ?>" class="cs-changeling-id"><?php _e('Do not show suggested videos when the video finishes.', 'cycloneslider'); ?></label>
167
  </div>
168
  </div><!-- // end .cs-slide-youtube -->
169
  <div class="cs-slide-vimeo">
170
  <div class="field last">
171
  <label for=""><?php _e('Vimeo URL:', 'cycloneslider'); ?></label>
172
- <input type="text" class="widefat cs-vimeo-url" name="cycloneslider_metas[<?php echo $i; ?>][vimeo_url]" value="<?php echo esc_attr($slide['vimeo_url']); ?>" />
173
  <span class="note"><?php _e('Copy and paste a valid Vimeo URL here.', 'cycloneslider'); ?></span>
174
  </div>
175
  </div><!-- // end .cs-slide-vimeo -->
176
  <div class="cs-slide-custom">
177
  <div class="field last">
178
  <label for=""><?php _e('Custom HTML', 'cycloneslider'); ?></label>
179
- <textarea class="widefat cs-custom-html" name="cycloneslider_metas[<?php echo $i; ?>][custom]"><?php echo esc_textarea($slide['custom']); ?></textarea>
180
  </div>
181
  </div><!-- // end .cs-slide-custom -->
182
 
@@ -184,7 +184,7 @@
184
  <div class="cs-testimonial-quote">
185
  <div class="field last">
186
  <label for=""><?php _e('Quote', 'cycloneslider'); ?></label>
187
- <textarea class="widefat cs-testimonial" name="cycloneslider_metas[<?php echo $i; ?>][testimonial]"><?php echo esc_textarea($slide['testimonial']); ?></textarea>
188
  </div>
189
  </div><!-- // end .cs-testimonial-quote -->
190
  <div class="cs-quote-properties">
@@ -193,7 +193,7 @@
193
  <div class="expandable-body">
194
  <div class="field last">
195
  <label for=""><?php _e('Name:', 'cycloneslider'); ?></label> <br>
196
- <input class="widefat" name="cycloneslider_metas[<?php echo $i; ?>][testimonial_author]" type="text" value="<?php echo esc_attr($slide['testimonial_author']); ?>" />
197
  </div>
198
  </div>
199
  </div>
@@ -202,11 +202,11 @@
202
  <div class="expandable-body">
203
  <div class="field">
204
  <label for=""><?php _e('Link URL:', 'cycloneslider'); ?></label> <br>
205
- <input class="widefat" name="cycloneslider_metas[<?php echo $i; ?>][testimonial_link]" type="text" value="<?php echo esc_url($slide['testimonial_link']); ?>" />
206
  </div>
207
  <div class="field last">
208
  <label for=""><?php _e('Open Link in:', 'cycloneslider'); ?></label> <br>
209
- <select class="" id="" name="cycloneslider_metas[<?php echo $i; ?>][testimonial_link_target]">
210
  <option <?php selected( $slide['testimonial_link_target'], '_self' ); ?> value="_self"><?php _e('Same Window', 'cycloneslider'); ?></option>
211
  <option <?php selected( $slide['testimonial_link_target'], '_blank' ); ?> value="_blank"><?php _e('New Tab or Window', 'cycloneslider'); ?></option>
212
  </select>
@@ -217,6 +217,5 @@
217
  <div class="clear"></div>
218
  </div><!-- // end .cs-slide-testimonial -->
219
  <div class="clear"></div>
220
- <?php echo $debug ?>
221
  </div>
222
  </div>
11
  <i class="icon-quote-left"></i>
12
  </span>
13
  <span class="cs-title">
14
+ <?php echo esc_html($box_title); ?>
15
  </span>
16
  <span class="cs-controls">
17
  <span class="cs-delete" title="<?php _e('Delete', 'cycloneslider'); ?>">
22
  </div>
23
  <div class="cs-body">
24
  <div class="cs-slide-type-bar">
25
+ <select class="cs-slide-type-switcher" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][type]">
26
  <option value="image" <?php selected($slide['type'], 'image'); ?>><?php _e('Image', 'cycloneslider'); ?></option>
27
  <option value="youtube" <?php selected($slide['type'], 'youtube'); ?>><?php _e('YouTube', 'cycloneslider'); ?></option>
28
  <option value="vimeo" <?php selected($slide['type'], 'vimeo'); ?>><?php _e('Vimeo', 'cycloneslider'); ?></option>
30
  <option value="testimonial" <?php selected($slide['type'], 'testimonial'); ?>><?php _e('Testimonial', 'cycloneslider'); ?></option>
31
  </select>
32
 
33
+ <label class="cs-slide-hidden" for="cs-slide-hidden-<?php echo esc_attr($i); ?>">
34
+ <input id="cs-slide-hidden-<?php echo esc_attr($i); ?>" type="checkbox" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][hidden]" value="1" <?php checked($slide['hidden'], '1'); ?>>
35
  <span><?php _e('Hide', 'cycloneslider'); ?></span>
36
  </label>
37
  </div>
43
  <img src="<?php echo esc_url($image_url); ?>" alt="thumb">
44
  <?php endif; ?>
45
  </div>
46
+ <input class="cs-image-id" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][id]" type="hidden" value="<?php echo esc_attr($slide['id']); ?>" />
47
  <input class="button-secondary cs-media-gallery-show" type="button" value="<?php _e('Get Image', 'cycloneslider'); ?>" />
48
  </div>
49
  <div class="cs-image-settings">
52
  <div class="expandable-body">
53
  <div class="field">
54
  <label for=""><?php _e('Title:', 'cycloneslider'); ?></label> <br>
55
+ <input class="widefat cycloneslider-slide-meta-title" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][title]" type="text" value="<?php echo esc_attr($slide['title']); ?>" />
56
  </div>
57
  <div class="field last">
58
  <label for=""><?php _e('Description:', 'cycloneslider'); ?></label> <br>
59
+ <textarea class="widefat cycloneslider-slide-meta-description" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][description]"><?php echo esc_textarea($slide['description']); ?></textarea>
60
  </div>
61
  </div>
62
  </div>
65
  <div class="expandable-body">
66
  <div class="field">
67
  <label for=""><?php _e('Link URL:', 'cycloneslider'); ?></label> <br>
68
+ <input class="cycloneslider_metas_link_url widefat" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][link]" type="text" value="<?php echo esc_url($slide['link']); ?>" />
69
  </div>
70
  <div class="field last">
71
  <label for=""><?php _e('Open Link in:', 'cycloneslider'); ?></label> <br>
72
+ <select class="cycloneslider_metas_link_target" id="" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][link_target]">
73
  <option <?php selected( $slide['link_target'], '_self' ); ?> value="_self"><?php _e('Same Window', 'cycloneslider'); ?></option>
74
  <option <?php selected( $slide['link_target'], '_blank' ); ?> value="_blank"><?php _e('New Tab or Window', 'cycloneslider'); ?></option>
75
  </select>
81
  <div class="expandable-body">
82
  <div class="field">
83
  <label for=""><?php _e('Alternate Text:', 'cycloneslider'); ?></label> <br>
84
+ <input class="widefat cycloneslider-slide-meta-alt" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][img_alt]" type="text" value="<?php echo esc_attr($slide['img_alt']); ?>" />
85
  </div>
86
  <div class="field last">
87
  <label for=""><?php _e('Title Text:', 'cycloneslider'); ?></label> <br>
88
+ <input class="widefat cycloneslider-slide-meta-title" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][img_title]" type="text" value="<?php echo esc_attr($slide['img_title']); ?>" />
89
  </div>
90
  </div>
91
  </div>
93
  <div class="expandable-header"><?php _e('Slide Transition Effects', 'cycloneslider'); ?></div>
94
  <div class="expandable-body">
95
 
96
+ <select id="" class="cycloneslider_metas_enable_slide_effects" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][enable_slide_effects]">
97
  <option <?php echo (0==$slide['enable_slide_effects']) ? 'selected="selected"' : ''; ?> value="0"><?php _e('Disable', 'cycloneslider'); ?></option>
98
  <option <?php echo (1==$slide['enable_slide_effects']) ? 'selected="selected"' : ''; ?> value="1"><?php _e('Enable Slide Effects', 'cycloneslider'); ?></option>
99
  </select>
102
 
103
  <div class="field field-inline">
104
  <label for=""><?php _e('Transition Effects:', 'cycloneslider'); ?></label>
105
+ <select id="" class="cycloneslider_metas_fx" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][fx]">
106
  <option value="default">Default</option>
107
  <?php foreach($effects as $value=>$name): ?>
108
+ <option value="<?php echo esc_attr($value); ?>" <?php echo ($slide['fx']==$value) ? 'selected="selected"' : ''; ?>><?php echo esc_html($name); ?></option>
109
  <?php endforeach; ?>
110
  </select>
111
  <div class="clear"></div>
113
 
114
  <div class="field field-inline">
115
  <label for=""><?php _e('Transition Effects Speed:', 'cycloneslider'); ?></label>
116
+ <input class="widefat cycloneslider-slide-meta-speed" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][speed]" type="number" value="<?php echo esc_attr(@$slide['speed']); ?>" />
117
  <span class="note"> <?php _e('Milliseconds', 'cycloneslider'); ?></span>
118
  <div class="clear"></div>
119
  </div>
120
 
121
  <div class="field field-inline">
122
  <label for=""><?php _e('Next Slide Delay:', 'cycloneslider'); ?></label>
123
+ <input class="widefat cycloneslider-slide-meta-timeout" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][timeout]" type="number" value="<?php echo esc_attr(@$slide['timeout']); ?>" />
124
  <span class="note"> <?php _e('Milliseconds', 'cycloneslider'); ?></span>
125
  <div class="clear"></div>
126
  </div>
130
 
131
  <div class="field field-inline">
132
  <label for=""><?php _e('Tile Count:', 'cycloneslider'); ?></label>
133
+ <input class="widefat cycloneslider-slide-meta-tile-count" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][tile_count]" type="number" value="<?php echo esc_attr(@$slide['tile_count']); ?>" />
134
  <span class="note"> <?php _e('The number of tiles to use in the transition.', 'cycloneslider'); ?></span>
135
  <div class="clear"></div>
136
  </div>
137
  <!--
138
  <label for=""><?php _e('Tile Delay:', 'cycloneslider'); ?></label>
139
+ <input class="widefat cycloneslider-slide-meta-tile-delay" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][tile_delay]" type="text" value="<?php echo esc_attr(@$slide['tile_delay']); ?>" />
140
  <span class="note"> <?php _e('Milliseconds to delay each individual tile transition.', 'cycloneslider'); ?></span>
141
  <div class="cycloneslider-spacer-15"></div>
142
  -->
143
  <div class="field field-inline">
144
  <label for=""><?php _e('Tile Position:', 'cycloneslider'); ?></label>
145
+ <select id="" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][tile_vertical]">
146
  <option <?php echo ('true'==$slide['tile_vertical']) ? 'selected="selected"' : ''; ?> value="true"><?php _e('Vertical', 'cycloneslider'); ?></option>
147
  <option <?php echo ('false'==$slide['tile_vertical']) ? 'selected="selected"' : ''; ?> value="false"><?php _e('Horizontal', 'cycloneslider'); ?></option>
148
  </select>
156
  </div><!-- // end .cs-slide-image -->
157
  <div class="cs-slide-youtube">
158
  <div class="field">
159
+ <label for="cs_youtube_url-<?php echo esc_attr($i); ?>" class="cs-changeling-id"><?php _e('YouTube URL:', 'cycloneslider'); ?></label>
160
+ <input id="cs_youtube_url-<?php echo esc_attr($i); ?>" type="text" class="widefat cs-changeling-id cs-youtube-url" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][youtube_url]" value="<?php echo esc_attr($slide['youtube_url']); ?>" />
161
  <span class="note"><?php _e('Copy and paste a valid YouTube URL here.', 'cycloneslider'); ?></span>
162
  </div>
163
  <div class="field field-normal last">
164
+ <input type="hidden" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][youtube_related]" value="false" />
165
+ <input id="cs_youtube_related-<?php echo esc_attr($i); ?>" type="checkbox" class="widefat cs-changeling-id cs-youtube-related" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][youtube_related]" value="true" <?php checked( $slide['youtube_related'], 'false' ); ?> />
166
+ <label for="cs_youtube_related-<?php echo esc_attr($i); ?>" class="cs-changeling-id"><?php _e('Do not show suggested videos when the video finishes.', 'cycloneslider'); ?></label>
167
  </div>
168
  </div><!-- // end .cs-slide-youtube -->
169
  <div class="cs-slide-vimeo">
170
  <div class="field last">
171
  <label for=""><?php _e('Vimeo URL:', 'cycloneslider'); ?></label>
172
+ <input type="text" class="widefat cs-vimeo-url" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][vimeo_url]" value="<?php echo esc_attr($slide['vimeo_url']); ?>" />
173
  <span class="note"><?php _e('Copy and paste a valid Vimeo URL here.', 'cycloneslider'); ?></span>
174
  </div>
175
  </div><!-- // end .cs-slide-vimeo -->
176
  <div class="cs-slide-custom">
177
  <div class="field last">
178
  <label for=""><?php _e('Custom HTML', 'cycloneslider'); ?></label>
179
+ <textarea class="widefat cs-custom-html" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][custom]"><?php echo esc_textarea($slide['custom']); ?></textarea>
180
  </div>
181
  </div><!-- // end .cs-slide-custom -->
182
 
184
  <div class="cs-testimonial-quote">
185
  <div class="field last">
186
  <label for=""><?php _e('Quote', 'cycloneslider'); ?></label>
187
+ <textarea class="widefat cs-testimonial" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][testimonial]"><?php echo esc_textarea($slide['testimonial']); ?></textarea>
188
  </div>
189
  </div><!-- // end .cs-testimonial-quote -->
190
  <div class="cs-quote-properties">
193
  <div class="expandable-body">
194
  <div class="field last">
195
  <label for=""><?php _e('Name:', 'cycloneslider'); ?></label> <br>
196
+ <input class="widefat" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][testimonial_author]" type="text" value="<?php echo esc_attr($slide['testimonial_author']); ?>" />
197
  </div>
198
  </div>
199
  </div>
202
  <div class="expandable-body">
203
  <div class="field">
204
  <label for=""><?php _e('Link URL:', 'cycloneslider'); ?></label> <br>
205
+ <input class="widefat" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][testimonial_link]" type="text" value="<?php echo esc_url($slide['testimonial_link']); ?>" />
206
  </div>
207
  <div class="field last">
208
  <label for=""><?php _e('Open Link in:', 'cycloneslider'); ?></label> <br>
209
+ <select class="" id="" name="cycloneslider_metas[<?php echo esc_attr($i); ?>][testimonial_link_target]">
210
  <option <?php selected( $slide['testimonial_link_target'], '_self' ); ?> value="_self"><?php _e('Same Window', 'cycloneslider'); ?></option>
211
  <option <?php selected( $slide['testimonial_link_target'], '_blank' ); ?> value="_blank"><?php _e('New Tab or Window', 'cycloneslider'); ?></option>
212
  </select>
217
  <div class="clear"></div>
218
  </div><!-- // end .cs-slide-testimonial -->
219
  <div class="clear"></div>
 
220
  </div>
221
  </div>
views/slider-advanced-settings.php CHANGED
@@ -64,5 +64,4 @@
64
  <?php _e('Portrait - Resize to exact height.', 'cycloneslider'); ?><br>
65
  </span>
66
  <div class="clear"></div>
67
- </div>
68
- <?php echo $debug ?>
64
  <?php _e('Portrait - Resize to exact height.', 'cycloneslider'); ?><br>
65
  </span>
66
  <div class="clear"></div>
67
+ </div>
 
views/slider-settings.php CHANGED
@@ -105,6 +105,4 @@
105
  </select>
106
  <span class="note"><?php _e('Randomize order of slides on every page visit.', 'cycloneslider'); ?></span>
107
  <div class="clear"></div>
108
- </div>
109
-
110
- <?php echo $debug ?>
105
  </select>
106
  <span class="note"><?php _e('Randomize order of slides on every page visit.', 'cycloneslider'); ?></span>
107
  <div class="clear"></div>
108
+ </div>
 
 
views/slides.php CHANGED
@@ -1,9 +1,8 @@
1
  <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
 
3
- <input type="hidden" name="<?php echo $nonce_name; ?>" value="<?php echo $nonce; ?>" />
4
- <div class="cs-sortables" data-post-id="<?php echo $post_id; ?>">
5
  <?php echo $slides; ?>
6
- </div><!-- end .cycloneslider-sortable -->
7
-
8
  <input type="button" value="<?php _e('Add Slide', 'cycloneslider'); ?>" class="cs-add-slide button-secondary" />
9
  <input type="button" value="<?php _e('Add Images as Slides', 'cycloneslider'); ?>" class="cs-multiple-slides button-secondary" />
1
  <?php if(!defined('ABSPATH')) die('Direct access denied.'); ?>
2
 
3
+ <input type="hidden" name="<?php echo esc_attr($nonce_name); ?>" value="<?php echo esc_attr($nonce); ?>" />
4
+ <div class="cs-sortables" data-post-id="<?php echo esc_attr($post_id); ?>">
5
  <?php echo $slides; ?>
6
+ </div>
 
7
  <input type="button" value="<?php _e('Add Slide', 'cycloneslider'); ?>" class="cs-add-slide button-secondary" />
8
  <input type="button" value="<?php _e('Add Images as Slides', 'cycloneslider'); ?>" class="cs-multiple-slides button-secondary" />
views/template-selection.php CHANGED
@@ -39,5 +39,4 @@
39
  </li>
40
  <?php endforeach; ?>
41
  </ul>
42
- <div class="clear"></div>
43
- <?php echo $debug ?>
39
  </li>
40
  <?php endforeach; ?>
41
  </ul>
42
+ <div class="clear"></div>