Logo Carousel - Version 1.7.2

Version Description

( 2015-08-17 ) = * Bugfixes and improvements * Added Czech translation

Download this release

Release Info

Developer ysdbjorn
Plugin Icon 128x128 Logo Carousel
Version 1.7.2
Comparing to
See all releases

Code changes from version 1.7.1 to 1.7.2

kiwi_logo_carousel.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin URL: http://getkiwi.org/plugins/logo-carousel/
4
  Description: Highlight your clients, partners and sponsors on your website in a Logo Carousel
5
  Author: Yourstyledesign
6
- Version: 1.7.1
7
  Author URI: http://www.yourstyledesign.nl/
8
  License: GPLv2
9
  */
3
  Plugin URL: http://getkiwi.org/plugins/logo-carousel/
4
  Description: Highlight your clients, partners and sponsors on your website in a Logo Carousel
5
  Author: Yourstyledesign
6
+ Version: 1.7.2
7
  Author URI: http://www.yourstyledesign.nl/
8
  License: GPLv2
9
  */
kiwi_logo_carousel_admin.php CHANGED
@@ -62,7 +62,14 @@ class kiwi_logo_carousel_admin {
62
  else {
63
  $par = get_option('kiwiLGCRSL_'.$slug);
64
  if ( is_array($par) ) { return array_merge($this->default_values, $par); }
65
- else { return array_merge($this->default_values, unserialize($par)); }
 
 
 
 
 
 
 
66
  }
67
  }
68
  }
@@ -241,9 +248,12 @@ class kiwi_logo_carousel_admin {
241
  function admin_pages_manage_carousels() {
242
  ?>
243
  <div class="wrap">
244
- <?php if ( isset ( $_GET['tab'] ) ) $this->admin_pages_manage_carousels_tabs($_GET['tab']); else $this->admin_pages_manage_carousels_tabs('default'); ?>
245
  <?php
246
- if ( isset ( $_GET['tab'] ) ) { $carousel = $_GET['tab']; }
 
 
 
 
247
  else { $carousel = 'default'; }
248
  if ( $this->find_parameters($carousel) == false ){ $this->admin_pages_manage_carousels_register_carousel($carousel); }
249
  if ( $this->find_parameters($carousel) == false ){ die('Kiwi cannot write or read in the database.'); }
@@ -502,11 +512,17 @@ class kiwi_logo_carousel_admin {
502
  function admin_pages_manage_carousels_tabs($current = 'default') {
503
  $tabs = $this->return_carousels();
504
  echo '<h2 class="nav-tab-wrapper">';
 
505
  foreach( $tabs as $tab => $name ) {
506
- $class = ( $tab == $current ) ? ' nav-tab-active' : '';
 
 
507
  echo "<a class='nav-tab$class' href='edit.php?post_type=kwlogos&page=kwlogos_settings&tab=$tab'>$name</a>";
508
  }
509
  echo '</h2>';
 
 
 
510
  }
511
 
512
  }
62
  else {
63
  $par = get_option('kiwiLGCRSL_'.$slug);
64
  if ( is_array($par) ) { return array_merge($this->default_values, $par); }
65
+ else {
66
+ $unserializepar = unserialize($par);
67
+ if ($unserializepar == FALSE) {
68
+ return $this->default_values;
69
+ } else {
70
+ return array_merge($this->default_values, unserialize($par));
71
+ }
72
+ }
73
  }
74
  }
75
  }
248
  function admin_pages_manage_carousels() {
249
  ?>
250
  <div class="wrap">
 
251
  <?php
252
+ $current_tab = strip_tags($_GET['tab']);
253
+ if ( isset ( $current_tab ) && !empty( $current_tab ) ) { $this->admin_pages_manage_carousels_tabs($current_tab); }
254
+ else { $this->admin_pages_manage_carousels_tabs('default'); $current_tab = 'default'; }
255
+
256
+ if ( isset ( $current_tab ) ) { $carousel = $current_tab; }
257
  else { $carousel = 'default'; }
258
  if ( $this->find_parameters($carousel) == false ){ $this->admin_pages_manage_carousels_register_carousel($carousel); }
259
  if ( $this->find_parameters($carousel) == false ){ die('Kiwi cannot write or read in the database.'); }
512
  function admin_pages_manage_carousels_tabs($current = 'default') {
513
  $tabs = $this->return_carousels();
514
  echo '<h2 class="nav-tab-wrapper">';
515
+ $tabset = false;
516
  foreach( $tabs as $tab => $name ) {
517
+ if ($tab == $current) { $class = ' nav-tab-active'; $tabset=true; }
518
+ else { $class = ''; }
519
+
520
  echo "<a class='nav-tab$class' href='edit.php?post_type=kwlogos&page=kwlogos_settings&tab=$tab'>$name</a>";
521
  }
522
  echo '</h2>';
523
+ if ($tabset==false) {
524
+ die('An fatal error occured: This settings page is not available.');
525
+ }
526
  }
527
 
528
  }
languages/kiwi_logo_carousel-cs_CZ.mo ADDED
Binary file
languages/kiwi_logo_carousel-cs_CZ.po ADDED
@@ -0,0 +1,330 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Kiwi Logo Carousel\n"
4
+ "POT-Creation-Date: 2015-07-30 17:52+0100\n"
5
+ "PO-Revision-Date: 2015-07-30 18:02+0100\n"
6
+ "Last-Translator: Bjorn Manintveld <bjorn@yourstyledesign.nl>\n"
7
+ "Language-Team: Bjorn Manintveld <bjorn@yourstyledesign.nl>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.8.1\n"
12
+ "X-Poedit-KeywordsList: _;_e;__;_x\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
15
+ "Language: cs_CZ\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+ "X-Poedit-SearchPath-1: ..\n"
18
+
19
+ #: ../kiwi_logo_carousel.php:139
20
+ msgid "This carousel is empty, please add some logos."
21
+ msgstr "Tento carousel je prázdný, přidejte nějaká loga."
22
+
23
+ #: ../kiwi_logo_carousel_admin.php:73 ../kiwi_logo_carousel_admin.php:84
24
+ msgid "Logos"
25
+ msgstr "Loga"
26
+
27
+ #: ../kiwi_logo_carousel_admin.php:74 ../kiwi_logo_carousel_admin.php:177
28
+ msgid "Logo"
29
+ msgstr "Logo"
30
+
31
+ #: ../kiwi_logo_carousel_admin.php:75 ../kiwi_logo_carousel_admin.php:76
32
+ msgid "Add New Logo"
33
+ msgstr "Přidat logo"
34
+
35
+ #: ../kiwi_logo_carousel_admin.php:77
36
+ msgid "Edit Logo"
37
+ msgstr "Editovat logo"
38
+
39
+ #: ../kiwi_logo_carousel_admin.php:78
40
+ msgid "New Logo"
41
+ msgstr "Nové logo"
42
+
43
+ #: ../kiwi_logo_carousel_admin.php:79
44
+ msgid "View Logo"
45
+ msgstr "Zobrazit logo"
46
+
47
+ #: ../kiwi_logo_carousel_admin.php:80
48
+ msgid "Search Logos"
49
+ msgstr "Vyhledat logo"
50
+
51
+ #: ../kiwi_logo_carousel_admin.php:81
52
+ msgid "No Logos found"
53
+ msgstr "Logo nenalezeno"
54
+
55
+ #: ../kiwi_logo_carousel_admin.php:82
56
+ msgid "No Logos found in Trash"
57
+ msgstr "V koši logo nebylo nalezeno"
58
+
59
+ #: ../kiwi_logo_carousel_admin.php:83
60
+ msgid "Parent Logo:"
61
+ msgstr "Rodičovské logo:"
62
+
63
+ #: ../kiwi_logo_carousel_admin.php:138
64
+ msgid "Carousels"
65
+ msgstr "Carousely"
66
+
67
+ #: ../kiwi_logo_carousel_admin.php:167
68
+ #: ../kiwi_logo_carousel_admin.php:396
69
+ msgid "Default"
70
+ msgstr "Výchozí"
71
+
72
+ #: ../kiwi_logo_carousel_admin.php:183
73
+ msgid "URL attachment (optional)"
74
+ msgstr "URL adresa (volitelná)"
75
+
76
+ #: ../kiwi_logo_carousel_admin.php:190
77
+ msgid "Add an URL to make this logo clickable"
78
+ msgstr "Přidejte URL adresu, aby bylo logo klikatelné"
79
+
80
+ #: ../kiwi_logo_carousel_admin.php:212
81
+ msgid "URL"
82
+ msgstr "URL"
83
+
84
+ #: ../kiwi_logo_carousel_admin.php:213
85
+ msgid "Logo Preview"
86
+ msgstr "Náhled loga"
87
+
88
+ #: ../kiwi_logo_carousel_admin.php:221
89
+ msgid "No logo set"
90
+ msgstr "Logo nenastaveno"
91
+
92
+ #: ../kiwi_logo_carousel_admin.php:233
93
+ #: ../kiwi_logo_carousel_admin.php:234
94
+ msgid "Manage Carousels"
95
+ msgstr "Spravovat carousely"
96
+
97
+ #: ../kiwi_logo_carousel_admin.php:280
98
+ msgid "Settings saved."
99
+ msgstr "Nastavení uloženo."
100
+
101
+ #: ../kiwi_logo_carousel_admin.php:291
102
+ msgid "General"
103
+ msgstr "Hlavní"
104
+
105
+ #: ../kiwi_logo_carousel_admin.php:295
106
+ msgid "Mode"
107
+ msgstr "Mód"
108
+
109
+ #: ../kiwi_logo_carousel_admin.php:297
110
+ msgid "Horizontal"
111
+ msgstr "Horizontální"
112
+
113
+ #: ../kiwi_logo_carousel_admin.php:298
114
+ msgid "Vertical"
115
+ msgstr "Vertikální"
116
+
117
+ #: ../kiwi_logo_carousel_admin.php:302
118
+ msgid "Speed (ms)"
119
+ msgstr "Rychlost (v ms)"
120
+
121
+ #: ../kiwi_logo_carousel_admin.php:306
122
+ msgid "Infinite Loop"
123
+ msgstr "Nekonečná smyčka"
124
+
125
+ #: ../kiwi_logo_carousel_admin.php:308
126
+ #: ../kiwi_logo_carousel_admin.php:315
127
+ #: ../kiwi_logo_carousel_admin.php:326
128
+ #: ../kiwi_logo_carousel_admin.php:333
129
+ #: ../kiwi_logo_carousel_admin.php:364
130
+ #: ../kiwi_logo_carousel_admin.php:371
131
+ #: ../kiwi_logo_carousel_admin.php:378
132
+ #: ../kiwi_logo_carousel_admin.php:412
133
+ #: ../kiwi_logo_carousel_admin.php:419
134
+ #: ../kiwi_logo_carousel_admin.php:426
135
+ msgid "True"
136
+ msgstr "Ano"
137
+
138
+ #: ../kiwi_logo_carousel_admin.php:309
139
+ #: ../kiwi_logo_carousel_admin.php:316
140
+ #: ../kiwi_logo_carousel_admin.php:327
141
+ #: ../kiwi_logo_carousel_admin.php:334
142
+ #: ../kiwi_logo_carousel_admin.php:365
143
+ #: ../kiwi_logo_carousel_admin.php:372
144
+ #: ../kiwi_logo_carousel_admin.php:379
145
+ #: ../kiwi_logo_carousel_admin.php:413
146
+ #: ../kiwi_logo_carousel_admin.php:420
147
+ #: ../kiwi_logo_carousel_admin.php:427
148
+ msgid "False"
149
+ msgstr "Ne"
150
+
151
+ #: ../kiwi_logo_carousel_admin.php:313
152
+ msgid "Autoplay"
153
+ msgstr "Autoplay"
154
+
155
+ #: ../kiwi_logo_carousel_admin.php:320
156
+ msgid "Autoplay Pause (milliseconds)"
157
+ msgstr "Pausa autoplaye (v ms)"
158
+
159
+ #: ../kiwi_logo_carousel_admin.php:324
160
+ msgid "Use Ticker Mode"
161
+ msgstr "Použít ticker mód"
162
+
163
+ #: ../kiwi_logo_carousel_admin.php:331
164
+ msgid "Pause Ticker on Hover"
165
+ msgstr "Pausnout ticker při najetí"
166
+
167
+ #: ../kiwi_logo_carousel_admin.php:338
168
+ msgid "Order by"
169
+ msgstr "Seřadit dle"
170
+
171
+ #: ../kiwi_logo_carousel_admin.php:340
172
+ #: ../kiwi_logo_carousel_order.php:198
173
+ msgid "Custom Order"
174
+ msgstr "Vlastní seřazení"
175
+
176
+ #: ../kiwi_logo_carousel_admin.php:341
177
+ msgid "Random Order"
178
+ msgstr "Náhodné seřazení"
179
+
180
+ #: ../kiwi_logo_carousel_admin.php:342
181
+ msgid "Title"
182
+ msgstr "Titulek"
183
+
184
+ #: ../kiwi_logo_carousel_admin.php:343
185
+ msgid "Date"
186
+ msgstr "Datum"
187
+
188
+ #: ../kiwi_logo_carousel_admin.php:347
189
+ msgid "Clickable logos"
190
+ msgstr "Klikatelné logo"
191
+
192
+ #: ../kiwi_logo_carousel_admin.php:349
193
+ msgid "Open in new tab"
194
+ msgstr "Otevřít v novém okně"
195
+
196
+ #: ../kiwi_logo_carousel_admin.php:350
197
+ msgid "Open in the same window"
198
+ msgstr "Otevřít ve stejném okně"
199
+
200
+ #: ../kiwi_logo_carousel_admin.php:351
201
+ msgid "Turn off"
202
+ msgstr "Vypnout"
203
+
204
+ #: ../kiwi_logo_carousel_admin.php:358
205
+ msgid "Controls"
206
+ msgstr "Ovládání"
207
+
208
+ #: ../kiwi_logo_carousel_admin.php:362
209
+ msgid "Show Controls"
210
+ msgstr "Zobrazit ovládání"
211
+
212
+ #: ../kiwi_logo_carousel_admin.php:366
213
+ msgid "Controls are not available when Ticker Mode is enabled"
214
+ msgstr "Ovládání není dostupné pro ticker mód"
215
+
216
+ #: ../kiwi_logo_carousel_admin.php:369
217
+ msgid "Hide next button on last slide"
218
+ msgstr "Skryj tlačítko další na posledním slidu"
219
+
220
+ #: ../kiwi_logo_carousel_admin.php:373
221
+ msgid "Doesn't work when Infinite Loop is enabled"
222
+ msgstr "Nefunguje, pokud je aktivní Nekonečná smyčka"
223
+
224
+ #: ../kiwi_logo_carousel_admin.php:376
225
+ msgid "Show Pager"
226
+ msgstr "Zobrazit stránkování"
227
+
228
+ #: ../kiwi_logo_carousel_admin.php:386
229
+ msgid "Styling"
230
+ msgstr "Styl"
231
+
232
+ #: ../kiwi_logo_carousel_admin.php:390
233
+ msgid "Logo Margin (pixels)"
234
+ msgstr "Odsazení loga (v pixelech)"
235
+
236
+ #: ../kiwi_logo_carousel_admin.php:394
237
+ msgid "Logo Style"
238
+ msgstr "Styl loga"
239
+
240
+ #: ../kiwi_logo_carousel_admin.php:397
241
+ msgid "Grayscale Images"
242
+ msgstr "Gryscale obrázky"
243
+
244
+ #: ../kiwi_logo_carousel_admin.php:398
245
+ msgid "Grayscale Images, Default Color on Hover"
246
+ msgstr "Grayscale obrázky, výchozí barva při najetí"
247
+
248
+ #: ../kiwi_logo_carousel_admin.php:399
249
+ msgid ""
250
+ "The grayscale feature is only available in modern browsers like Chrome, "
251
+ "Firefox and Safari"
252
+ msgstr ""
253
+ "Funkce grayscale funguje jen v nejmodernějších prohlížečích jako je "
254
+ "Chrome, Firefox and Safari"
255
+
256
+ #: ../kiwi_logo_carousel_admin.php:402
257
+ msgid "Logo Alignment"
258
+ msgstr "Zarovnání loga"
259
+
260
+ #: ../kiwi_logo_carousel_admin.php:404
261
+ msgid "Top"
262
+ msgstr "Nahoru"
263
+
264
+ #: ../kiwi_logo_carousel_admin.php:405
265
+ msgid "Center"
266
+ msgstr "Nastřed"
267
+
268
+ #: ../kiwi_logo_carousel_admin.php:406
269
+ msgid "Bottom"
270
+ msgstr "Naspod"
271
+
272
+ #: ../kiwi_logo_carousel_admin.php:410
273
+ msgid "Show captions"
274
+ msgstr "Zobrazit popisky"
275
+
276
+ #: ../kiwi_logo_carousel_admin.php:417
277
+ msgid "Adaptive Height"
278
+ msgstr "Adaptivní výška"
279
+
280
+ #: ../kiwi_logo_carousel_admin.php:424
281
+ msgid "Responsive"
282
+ msgstr "Responzivní"
283
+
284
+ #: ../kiwi_logo_carousel_admin.php:431
285
+ msgid "Minimal logos"
286
+ msgstr "Minimálně log"
287
+
288
+ #: ../kiwi_logo_carousel_admin.php:435
289
+ msgid "Maximum logos"
290
+ msgstr "Maximálně log"
291
+
292
+ #: ../kiwi_logo_carousel_admin.php:439
293
+ msgid "Move logos"
294
+ msgstr "Pohyb log"
295
+
296
+ #: ../kiwi_logo_carousel_admin.php:443
297
+ msgid "Logo width (pixels)"
298
+ msgstr "Šíčka loga (v pixelech)"
299
+
300
+ #: ../kiwi_logo_carousel_admin.php:447
301
+ msgid "Logo height (pixels)"
302
+ msgstr "Výška loga (v pixelech)"
303
+
304
+ #: ../kiwi_logo_carousel_admin.php:459
305
+ msgid "Form actions"
306
+ msgstr "Akce formuláře"
307
+
308
+ #: ../kiwi_logo_carousel_admin.php:465
309
+ msgid "Insert Carousel"
310
+ msgstr "Vložit carousel"
311
+
312
+ #: ../kiwi_logo_carousel_admin.php:467
313
+ msgid "Insert with shortcode"
314
+ msgstr "Vložit shortkódem"
315
+
316
+ #: ../kiwi_logo_carousel_admin.php:468
317
+ msgid "Insert with PHP"
318
+ msgstr "Vložit php kódem"
319
+
320
+ #: ../kiwi_logo_carousel_admin.php:473
321
+ msgid "Do you like this plugin?"
322
+ msgstr "Líbí se vám tento plugin?"
323
+
324
+ #: ../kiwi_logo_carousel_admin.php:475
325
+ msgid "Please donate so this plugin can remain free!"
326
+ msgstr "Prosím podpořte nás"
327
+
328
+ #: ../kiwi_logo_carousel_order.php:195
329
+ msgid "Drag and drop items to change the custom order"
330
+ msgstr "Táhni a pusť položku pro změnu pořadí"
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Plugin Name ===
2
- Contributors: ysdbjorn
3
  Donate link: http://getkiwi.org/donate/
4
  Tags: logo, slider, carousel, ticker
5
  Requires at least: 3.4.2
6
- Tested up to: 4.1
7
- Stable tag: 1.7.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -28,14 +28,6 @@ Show your partners, clients or sponsors on your website in a logo carousel!
28
  <p><a href="http://getkiwi.org/plugins/logo-carousel/">Click here for a demo</a></p>
29
 
30
  <p>Kiwi Logo Carousel uses code and libraries from <a target="_blank" href="http://bxslider.com/">bxSlider</a> and <a target="_blank" href="http://10up.com/plugins/simple-page-ordering-wordpress/">Simple Page Ordering</a></p>
31
-
32
- <p>This plugin is translated in the following languages:
33
- <ul>
34
- <li>Dutch</li>
35
- <li>Serbian - translated by <a href="http://firstsiteguide.com/">Ogi Djuraskovic from firstsiteguide.com</a></li>
36
- <li>Spanish - translated by Alejandro Soret</li>
37
- </ul>
38
- Would you like to make a translation for this plugin? Please contact me on <a href="mailto:bjorn@yourstyledesign.nl">bjorn@yourstyledesign.nl</a>.
39
  </p>
40
 
41
  == Installation ==
@@ -86,6 +78,10 @@ When you enabled jQuery from the plugin, and the carousel is still not working.
86
 
87
  == Changelog ==
88
 
 
 
 
 
89
  = 1.7.1 ( 2015-03-06 ) =
90
  * Bugfixes and improvements
91
  * Added new Spanish translations. Thanks to Alejandro Soret.
1
  === Plugin Name ===
2
+ Contributors: ysdbjorn, sleeplessdevelopers
3
  Donate link: http://getkiwi.org/donate/
4
  Tags: logo, slider, carousel, ticker
5
  Requires at least: 3.4.2
6
+ Tested up to: 4.2
7
+ Stable tag: 1.7.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
28
  <p><a href="http://getkiwi.org/plugins/logo-carousel/">Click here for a demo</a></p>
29
 
30
  <p>Kiwi Logo Carousel uses code and libraries from <a target="_blank" href="http://bxslider.com/">bxSlider</a> and <a target="_blank" href="http://10up.com/plugins/simple-page-ordering-wordpress/">Simple Page Ordering</a></p>
 
 
 
 
 
 
 
 
31
  </p>
32
 
33
  == Installation ==
78
 
79
  == Changelog ==
80
 
81
+ = 1.7.2 ( 2015-08-17 ) =
82
+ * Bugfixes and improvements
83
+ * Added Czech translation
84
+
85
  = 1.7.1 ( 2015-03-06 ) =
86
  * Bugfixes and improvements
87
  * Added new Spanish translations. Thanks to Alejandro Soret.