WP125 - Version 1.5.1

Version Description

Download this release

Release Info

Developer redwallhp
Plugin Icon wp plugin WP125
Version 1.5.1
Comparing to
See all releases

Code changes from version 1.5.0 to 1.5.1

adminmenus.php CHANGED
@@ -1,10 +1,18 @@
1
  <?php
2
 
3
  if (function_exists('wp_enqueue_style')) {
4
- wp_enqueue_script('jquery');
5
- wp_enqueue_script('thickbox');
6
- wp_enqueue_style('thickbox');
7
- wp_enqueue_script('media-upload');
 
 
 
 
 
 
 
 
8
  }
9
 
10
  //Write Manage Menu
1
  <?php
2
 
3
  if (function_exists('wp_enqueue_style')) {
4
+
5
+ function wp125_queue_admin_page_scripts($hook) {
6
+ if (strpos($hook, 'wp125_addedit') !== false) {
7
+ wp_enqueue_script('jquery');
8
+ wp_enqueue_script('thickbox');
9
+ wp_enqueue_style('thickbox');
10
+ wp_enqueue_script('media-upload');
11
+ }
12
+ }
13
+
14
+ add_action('admin_enqueue_scripts', 'wp125_queue_admin_page_scripts');
15
+
16
  }
17
 
18
  //Write Manage Menu
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link: http://www.webmaster-source.com/donate/?plugin=wp125
6
  Tags: ads, 125x125, management, advertisement
7
  Requires at least: 2.8
8
  Tested up to: 3.5.1
9
- Stable tag: 1.5.0
10
 
11
  Easy management of 125x125 ads on your blog. Ads can be run for a specified number of days, and will automatically be taken down. Track clicks too.
12
 
@@ -129,4 +129,5 @@ If you're having a problem with the plugin, try posting on the official WordPres
129
  * 1.4.7 - Added uninstaller to properly remove WP125's database tables when removing the plugin.
130
  * 1.4.8 - Translation update.
131
  * 1.4.9 - Some changes to the default CSS. Added a clearfix to the ads in two-column mode (finally!). Also, updated some buttons to match changes in WordPress.
132
- * 1.5.0 - Fixed a potential CSRF vulnerability. (Minor security fix.)
 
6
  Tags: ads, 125x125, management, advertisement
7
  Requires at least: 2.8
8
  Tested up to: 3.5.1
9
+ Stable tag: 1.5.1
10
 
11
  Easy management of 125x125 ads on your blog. Ads can be run for a specified number of days, and will automatically be taken down. Track clicks too.
12
 
129
  * 1.4.7 - Added uninstaller to properly remove WP125's database tables when removing the plugin.
130
  * 1.4.8 - Translation update.
131
  * 1.4.9 - Some changes to the default CSS. Added a clearfix to the ads in two-column mode (finally!). Also, updated some buttons to match changes in WordPress.
132
+ * 1.5.0 - Fixed a potential CSRF vulnerability. (Minor security fix.)
133
+ * 1.5.1 - Added Czech translation.
translations/wp125-cs_CZ.mo ADDED
Binary file
translations/wp125-cs_CZ.po ADDED
@@ -0,0 +1,366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR Matt Harzewski (redwall_hp)
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: WP125 CZ\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp125\n"
10
+ "POT-Creation-Date: 2009-02-01 21:41+0000\n"
11
+ "PO-Revision-Date: 2013-04-21 18:32+0100\n"
12
+ "Last-Translator: Jakub Vyvazil <jakub@n3d.cz>\n"
13
+ "Language-Team: Jakub Vyvazil <jakub@n3d.cz>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Generator: Poedit 1.5.5\n"
18
+ "Language: Czech\n"
19
+ "X-Poedit-SourceCharset: UTF-8\n"
20
+
21
+ #: adminmenus.php:6
22
+ msgid "Manage Ads"
23
+ msgstr "Správa Reklam"
24
+
25
+ #: adminmenus.php:11
26
+ msgid "Are you sure you want to deactivate the ad?"
27
+ msgstr "Doopravdy chcete deaktivovat reklamu?"
28
+
29
+ #: adminmenus.php:11 adminmenus.php:24 adminmenus.php:136
30
+ msgid "Yes"
31
+ msgstr "Ano"
32
+
33
+ #: adminmenus.php:11 adminmenus.php:24 adminmenus.php:136
34
+ msgid "No!"
35
+ msgstr "Ne!"
36
+
37
+ #: adminmenus.php:18
38
+ msgid "Ad deactivated."
39
+ msgstr "Reklama byla deaktivována."
40
+
41
+ #: adminmenus.php:24
42
+ msgid "Are you sure you want to reactivate the ad?"
43
+ msgstr "Opravdu chcete znovu aktivovat reklamu?"
44
+
45
+ #: adminmenus.php:31
46
+ msgid "Ad activated."
47
+ msgstr "Reklama byla aktivována."
48
+
49
+ #: adminmenus.php:35
50
+ msgid "Active Ads"
51
+ msgstr "Aktivní Reklamy"
52
+
53
+ #: adminmenus.php:35
54
+ msgid "Inactive Ads"
55
+ msgstr "Neaktivní Reklamy"
56
+
57
+ #: adminmenus.php:39 adminmenus.php:159 adminmenus.php:337
58
+ msgid "Slot"
59
+ msgstr "Pozice"
60
+
61
+ #: adminmenus.php:40 adminmenus.php:154 adminmenus.php:338
62
+ msgid "Name"
63
+ msgstr "Název"
64
+
65
+ #: adminmenus.php:41 adminmenus.php:339
66
+ msgid "Clicks"
67
+ msgstr "Kliknutí"
68
+
69
+ #: adminmenus.php:42 adminmenus.php:340
70
+ msgid "Start Date"
71
+ msgstr "Počáteční Datum"
72
+
73
+ #: adminmenus.php:43 adminmenus.php:341
74
+ msgid "End Date"
75
+ msgstr "Datum Ukončení"
76
+
77
+ #: adminmenus.php:45 adminmenus.php:357
78
+ msgid "Add New"
79
+ msgstr "Přidat Novou"
80
+
81
+ #: adminmenus.php:62
82
+ msgid "N/A"
83
+ msgstr "N/A"
84
+
85
+ #: adminmenus.php:65
86
+ msgid "Edit"
87
+ msgstr "Upravit"
88
+
89
+ #: adminmenus.php:67
90
+ msgid "Activate"
91
+ msgstr "Aktivovat"
92
+
93
+ #: adminmenus.php:69
94
+ msgid "Deactivate"
95
+ msgstr "Deaktivovat"
96
+
97
+ #: adminmenus.php:74 adminmenus.php:353
98
+ msgid "No ads found."
99
+ msgstr "Žádná reklama nenalezena."
100
+
101
+ #: adminmenus.php:131
102
+ msgid "Ad"
103
+ msgstr "Reklama"
104
+
105
+ #: adminmenus.php:131
106
+ msgid "updated."
107
+ msgstr "upraveno."
108
+
109
+ #: adminmenus.php:136
110
+ msgid ""
111
+ "Do you really want to delete this ad record? This action cannot be undone."
112
+ msgstr "Doopravdy chcete smazat tuto reklamu? Tuto akci nelze vrátit."
113
+
114
+ #: adminmenus.php:142
115
+ msgid "Ad deleted."
116
+ msgstr "Reklama byla vymazána."
117
+
118
+ #: adminmenus.php:146
119
+ msgid "Add/Edit Ads"
120
+ msgstr "Přidat/Upravit Reklamu"
121
+
122
+ #: adminmenus.php:155
123
+ msgid "Whose ad is this?"
124
+ msgstr "O jakou reklamu se jedná?"
125
+
126
+ #: adminmenus.php:169
127
+ msgid "Target URL"
128
+ msgstr "URL odkazu"
129
+
130
+ #: adminmenus.php:170
131
+ msgid "Where should the ad link to?"
132
+ msgstr "Kam má tato reklama odkazovat?"
133
+
134
+ #: adminmenus.php:183
135
+ msgid "Expiration"
136
+ msgstr "Expirace"
137
+
138
+ #: adminmenus.php:186
139
+ msgid "I'll remove it manually"
140
+ msgstr "Odstraním reklamu manuálně"
141
+
142
+ #: adminmenus.php:187 adminmenus.php:188 adminmenus.php:189 adminmenus.php:190
143
+ msgid "Days"
144
+ msgstr "Dnů"
145
+
146
+ #: adminmenus.php:191
147
+ msgid "Other"
148
+ msgstr "Ostatní"
149
+
150
+ #: adminmenus.php:193
151
+ msgid "Month:"
152
+ msgstr "Měsíc:"
153
+
154
+ #: adminmenus.php:193
155
+ msgid "Day:"
156
+ msgstr "Den:"
157
+
158
+ #: adminmenus.php:193
159
+ msgid "Year:"
160
+ msgstr "Rok:"
161
+
162
+ #: adminmenus.php:193
163
+ msgid "Use 00/00/0000 for manual removal."
164
+ msgstr "Použijte 00/00/0000 pro manuální vymázání."
165
+
166
+ #: adminmenus.php:209
167
+ msgid "Click Tracking"
168
+ msgstr "Sledovat Prokliky"
169
+
170
+ #: adminmenus.php:210
171
+ msgid "Count the number of times this ad is clicked"
172
+ msgstr "Počítat, kolikrát na tuto reklamu bylo kliknuto"
173
+
174
+ #: adminmenus.php:215
175
+ msgid "Ad Image"
176
+ msgstr "Obrázek Reklamy"
177
+
178
+ #: adminmenus.php:220
179
+ msgid "Save Ad"
180
+ msgstr "Uložit"
181
+
182
+ #: adminmenus.php:220
183
+ msgid "Delete Ad"
184
+ msgstr "Smazat"
185
+
186
+ #: adminmenus.php:263 adminmenus.php:357 wp125.php:72
187
+ msgid "Settings"
188
+ msgstr "Nastavení"
189
+
190
+ #: adminmenus.php:268
191
+ msgid "Ad Orientation"
192
+ msgstr "Zobrazení"
193
+
194
+ #: adminmenus.php:271
195
+ msgid "One Column"
196
+ msgstr "Jeden Sloupec"
197
+
198
+ #: adminmenus.php:272
199
+ msgid "Two Column"
200
+ msgstr "Dva Sloupce"
201
+
202
+ #: adminmenus.php:274
203
+ msgid "How many columns should the ads be displayed in?"
204
+ msgstr "V kolika sloupcích mají být reklamy zobrazeny?"
205
+
206
+ #: adminmenus.php:278
207
+ msgid "Number of Ad Slots"
208
+ msgstr "Počet Reklamních Pozic"
209
+
210
+ #: adminmenus.php:279
211
+ msgid "How many ads should be shown?"
212
+ msgstr "Kolik reklam se má zobrazovat?"
213
+
214
+ #: adminmenus.php:283
215
+ msgid "Ad Order"
216
+ msgstr "Pořadí"
217
+
218
+ #: adminmenus.php:286
219
+ msgid "Normal"
220
+ msgstr "Normální"
221
+
222
+ #: adminmenus.php:287
223
+ msgid "Random"
224
+ msgstr "Náhodné"
225
+
226
+ #: adminmenus.php:292
227
+ msgid "Widget Title"
228
+ msgstr "Nadpis Widgetu"
229
+
230
+ #: adminmenus.php:293
231
+ msgid "The title to be displayed in the widget."
232
+ msgstr "Název widgetu, který se zobrazí na stránce."
233
+
234
+ #: adminmenus.php:293 adminmenus.php:308
235
+ msgid "(Leave blank to disable.)"
236
+ msgstr "(Nechte prázdné, pokud nechcete nadpis použít.)"
237
+
238
+ #: adminmenus.php:297
239
+ msgid "Ad Sales Page"
240
+ msgstr "Stránka S Nabídkou Reklamy"
241
+
242
+ #: adminmenus.php:298
243
+ msgid "Do you have a page with statistics and prices?"
244
+ msgstr "Máte stránku se statistikami a cenou reklamy?"
245
+
246
+ #: adminmenus.php:298
247
+ msgid "(Default Ads will link here.)"
248
+ msgstr "(Defaultní reklama bude odkazovat na tuto adresu.)"
249
+
250
+ #: adminmenus.php:302
251
+ msgid "Default Style"
252
+ msgstr "Defaultní styl"
253
+
254
+ #: adminmenus.php:303
255
+ msgid "Include default ad stylesheet?"
256
+ msgstr "Připojit defaultní CSS pro reklamy?"
257
+
258
+ #: adminmenus.php:303
259
+ msgid ""
260
+ "Leave checked unless you want to use your own CSS to style the ads. Refer to "
261
+ "the documentation for further help."
262
+ msgstr ""
263
+ "Ponechte zaškrnuté pokud nechcete použít vlastní CSS k nastylování reklam. "
264
+ "Pro více informací se podívejte do dokumentace."
265
+
266
+ #: adminmenus.php:307
267
+ msgid "Expiration Email"
268
+ msgstr "Email"
269
+
270
+ #: adminmenus.php:308
271
+ msgid ""
272
+ "Enter your email address if you would like to be emailed when an ad expires."
273
+ msgstr ""
274
+ "Pokud chcete být upozorněni na expirace reklamy, vložte vaši emailovou "
275
+ "adresu."
276
+
277
+ #: adminmenus.php:312
278
+ msgid "Pre-Expiration Email"
279
+ msgstr "Předexpirační email"
280
+
281
+ #: adminmenus.php:313
282
+ msgid "Remind me"
283
+ msgstr "Připomeň mi"
284
+
285
+ #: adminmenus.php:313
286
+ msgid "days before an ad expires."
287
+ msgstr "dnů před expirací reklamy."
288
+
289
+ #: adminmenus.php:313
290
+ msgid "(Emails will be sent to the address specified above.)"
291
+ msgstr "(Emaily budou odesílány na adresu specifikovanou výše.)"
292
+
293
+ #: adminmenus.php:317
294
+ msgid "Default Ad"
295
+ msgstr "Defaultní Reklama"
296
+
297
+ #: adminmenus.php:318
298
+ msgid "Which image should be shown as a placeholder when an ad slot is empty?"
299
+ msgstr ""
300
+ "Který obrázek má být zobrazen jako zástupný když je reklamní slot prázdný?"
301
+
302
+ #: adminmenus.php:318
303
+ msgid "Default"
304
+ msgstr "Defaultní"
305
+
306
+ #: adminmenus.php:323
307
+ msgid "Save Changes"
308
+ msgstr "Uložit Změny"
309
+
310
+ #: adminmenus.php:326
311
+ msgid ""
312
+ "Your ads can be displayed using either the included widget, or by using the "
313
+ "<strong>&lt;?php wp125_write_ads(); ?&gt;</strong> template tag. Also, you "
314
+ "can display a single ad, without any formatting, using <strong>&lt;?php "
315
+ "wp125_single_ad(<em>num</em>); ?&gt;</strong>, where <em>num</em> is the "
316
+ "number of the ad slot you wish to show. This is useful for cases where your "
317
+ "theme prevents the default formatting from working properly, or where you "
318
+ "wish to display your ads in an unforeseen manner."
319
+ msgstr ""
320
+ "Reklamy mohou být zobrazovány za pomoci widgetu, nebo použitím <strong>&lt;?"
321
+ "php wp125_write_ads(); ?&gt;</strong> v šabloně. Také můžete zobrazit "
322
+ "jednotlivou reklamu (bez formátování) použitím <strong>&lt;?php "
323
+ "wp125_single_ad(<em>num</em>); ?&gt;</strong>, kde <em>num</em> je číslo "
324
+ "pozice, kterou chcete zobrazit. Toto je vhodné použít, pokud vám wordpress "
325
+ "šablona špatně zobrazuje reklamy nebo pokud chcete reklamy zobrazit "
326
+ "nepředvídaným způsobem."
327
+
328
+ #: adminmenus.php:357 wp125.php:70
329
+ msgid "Manage"
330
+ msgstr "Spravovat"
331
+
332
+ #: adminmenus.php:360 wp125.php:69
333
+ msgid "125x125 Ads"
334
+ msgstr "125x125 Reklamy"
335
+
336
+ #: adminmenus.php:369
337
+ msgid "Documentation"
338
+ msgstr "Dokumentace"
339
+
340
+ #: adminmenus.php:369
341
+ msgid "WP125 Homepage"
342
+ msgstr "WP125 Web"
343
+
344
+ #: wp125.php:50
345
+ msgid "WP125"
346
+ msgstr "WP125"
347
+
348
+ #: wp125.php:69
349
+ msgid "Ads"
350
+ msgstr "125 Reklamy"
351
+
352
+ #: wp125.php:70
353
+ msgid "Manage 125x125 Ads"
354
+ msgstr "Správa 125x125 Reklam"
355
+
356
+ #: wp125.php:71
357
+ msgid "Add/Edit 125x125 Ads"
358
+ msgstr "Přidat/Editovat Reklamy"
359
+
360
+ #: wp125.php:71
361
+ msgid "Add/Edit"
362
+ msgstr "Přidat/Upravit"
363
+
364
+ #: wp125.php:72
365
+ msgid "125x125 Ad Settings"
366
+ msgstr "Nastavení Reklam"
wp125.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.webmaster-source.com/wp125-ad-plugin-wordpress/
5
  Description: Easily manage 125x125 ads within your WordPress Dashboard.
6
  Author: Matt Harzewski (redwall_hp)
7
  Author URI: http://www.webmaster-source.com
8
- Version: 1.5.0
9
  */
10
 
11
 
5
  Description: Easily manage 125x125 ads within your WordPress Dashboard.
6
  Author: Matt Harzewski (redwall_hp)
7
  Author URI: http://www.webmaster-source.com
8
+ Version: 1.5.1
9
  */
10
 
11