iQ Block Country - Version 1.1.16

Version Description

  • New: Accessibility option. You can now choose if you want the country default selectbox or an normal selectbox.
  • New: New button to empty the logging database..
  • New: You can now set the option to not log the ip addresses to the database. This does not influence the blocking process only the logging process. This can be handy if the laws in your country do not permit you to log this information or if you choose not to log this information
Download this release

Release Info

Developer iqpascal
Plugin Icon 128x128 iQ Block Country
Version 1.1.16
Comparing to
See all releases

Code changes from version 1.1.15 to 1.1.16

iq-block-country.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: iQ Block Country
4
  Plugin URI: http://www.redeo.nl/2013/12/iq-block-country-wordpress-plugin-blocks-countries/
5
- Version: 1.1.15
6
  Author: Pascal
7
  Author URI: http://www.redeo.nl/
8
  Description: Block visitors from visiting your website and backend website based on which country their IP address is from. The Maxmind GeoIP lite database is used for looking up from which country an ip address is from.
@@ -192,7 +192,7 @@ define("IPV4DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ )
192
  define("IPV6DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIPv6.dat");
193
  define("TRACKINGURL","http://tracking.webence.nl/iq-block-country-tracking.php");
194
  define("TRACKINGRETRIEVEURL","http://tracking.webence.nl/iq-block-country-retrieve.php");
195
- define("VERSION","1.1.15");
196
  define("DBVERSION","121");
197
  define("PLUGINPATH",plugin_dir_path( __FILE__ ));
198
 
2
  /*
3
  Plugin Name: iQ Block Country
4
  Plugin URI: http://www.redeo.nl/2013/12/iq-block-country-wordpress-plugin-blocks-countries/
5
+ Version: 1.1.16
6
  Author: Pascal
7
  Author URI: http://www.redeo.nl/
8
  Description: Block visitors from visiting your website and backend website based on which country their IP address is from. The Maxmind GeoIP lite database is used for looking up from which country an ip address is from.
192
  define("IPV6DBFILE",WP_PLUGIN_DIR . "/" . dirname ( plugin_basename ( __FILE__ ) ) . "/GeoIPv6.dat");
193
  define("TRACKINGURL","http://tracking.webence.nl/iq-block-country-tracking.php");
194
  define("TRACKINGRETRIEVEURL","http://tracking.webence.nl/iq-block-country-retrieve.php");
195
+ define("VERSION","1.1.16");
196
  define("DBVERSION","121");
197
  define("PLUGINPATH",plugin_dir_path( __FILE__ ));
198
 
lang/en_EN.mo CHANGED
Binary file
lang/en_EN.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
- "POT-Creation-Date: 2014-09-15 19:39+0100\n"
5
- "PO-Revision-Date: 2014-09-15 19:39+0100\n"
6
  "Last-Translator: Pascal <pascal@redeo.nl>\n"
7
  "Language-Team: iQ Block Country <info@redeo.nl>\n"
8
  "Language: English\n"
@@ -15,372 +15,382 @@ msgstr ""
15
  "X-Poedit-SearchPath-0: libs\n"
16
  "X-Poedit-SearchPath-1: .\n"
17
 
18
- #: libs/blockcountry-settings.php:132
19
  msgid ""
20
  "Check which country belongs to an IP Address according to the current "
21
  "database."
22
  msgstr ""
23
 
24
- #: libs/blockcountry-settings.php:136
25
  msgid "IP Address to check:"
26
  msgstr ""
27
 
28
- #: libs/blockcountry-settings.php:146
29
  msgid "No country for"
30
  msgstr ""
31
 
32
- #: libs/blockcountry-settings.php:146
33
  msgid "could be found. Or"
34
  msgstr ""
35
 
36
- #: libs/blockcountry-settings.php:146
37
  msgid "is not a valid IPv4 or IPv6 IP address"
38
  msgstr ""
39
 
40
- #: libs/blockcountry-settings.php:151
41
  msgid "IP Adress"
42
  msgstr ""
43
 
44
- #: libs/blockcountry-settings.php:151
45
  msgid "belongs to"
46
  msgstr ""
47
 
48
- #: libs/blockcountry-settings.php:154
49
  msgid "This country is not permitted to visit the frontend of this website."
50
  msgstr ""
51
 
52
- #: libs/blockcountry-settings.php:159
53
  msgid "This country is not permitted to visit the backend of this website."
54
  msgstr ""
55
 
56
- #: libs/blockcountry-settings.php:164
57
  msgid "This ip is present in the blacklist."
58
  msgstr ""
59
 
60
- #: libs/blockcountry-settings.php:169
61
  msgid "Check IP address"
62
  msgstr ""
63
 
64
- #: libs/blockcountry-settings.php:175
65
  msgid "Download GeoIP database"
66
  msgstr ""
67
 
68
- #: libs/blockcountry-settings.php:183
69
  msgid "Automatic update is not setup. Last update: "
70
  msgstr ""
71
 
72
- #: libs/blockcountry-settings.php:188
73
  msgid "The GeoIP database is updated once a month. Last update: "
74
  msgstr ""
75
 
76
- #: libs/blockcountry-settings.php:190
77
  msgid "If you need a manual update please press buttons below to update."
78
  msgstr ""
79
 
80
- #: libs/blockcountry-settings.php:196
81
  msgid "Download new GeoIP IPv4 Database"
82
  msgstr ""
83
 
84
- #: libs/blockcountry-settings.php:203
85
  msgid "Download new GeoIP IPv6 Database"
86
  msgstr ""
87
 
88
- #: libs/blockcountry-settings.php:208 libs/blockcountry-settings.php:212
89
  msgid "Downloading..."
90
  msgstr ""
91
 
92
- #: libs/blockcountry-settings.php:218
93
  msgid "Active plugins"
94
  msgstr ""
95
 
96
- #: libs/blockcountry-settings.php:225
97
  msgid "Plugin name"
98
  msgstr ""
99
 
100
- #: libs/blockcountry-settings.php:225
101
  msgid "Version"
102
  msgstr ""
103
 
104
- #: libs/blockcountry-settings.php:225 libs/blockcountry-settings.php:875
105
- #: libs/blockcountry-settings.php:918
106
  msgid "URL"
107
  msgstr ""
108
 
109
- #: libs/blockcountry-settings.php:250
110
  msgid "Export"
111
  msgstr ""
112
 
113
- #: libs/blockcountry-settings.php:251
114
  msgid ""
115
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
116
  "Block Country configuration will be created."
117
  msgstr ""
118
 
119
- #: libs/blockcountry-settings.php:252
120
  msgid ""
121
  "After exporting, you can either use the backup file to restore your settings "
122
  "on this site again or copy the settings to another WordPress site."
123
  msgstr ""
124
 
125
- #: libs/blockcountry-settings.php:256
126
  msgid "Backup all settings"
127
  msgstr ""
128
 
129
- #: libs/blockcountry-settings.php:263
130
  msgid "Import"
131
  msgstr ""
132
 
133
- #: libs/blockcountry-settings.php:264
134
  msgid "Click the browse button and choose a zip file that you exported before."
135
  msgstr ""
136
 
137
- #: libs/blockcountry-settings.php:265
138
  msgid "Press Restore settings button, and let WordPress do the magic for you."
139
  msgstr ""
140
 
141
- #: libs/blockcountry-settings.php:270
142
  msgid "Restore settings"
143
  msgstr ""
144
 
145
- #: libs/blockcountry-settings.php:293 libs/blockcountry-settings.php:296
146
- #: libs/blockcountry-settings.php:305
147
  msgid "Something went wrong exporting this file"
148
  msgstr ""
149
 
150
- #: libs/blockcountry-settings.php:308
151
  msgid "Exporting settings..."
152
  msgstr ""
153
 
154
- #: libs/blockcountry-settings.php:323
155
  msgid "Something went wrong importing this file"
156
  msgstr ""
157
 
158
- #: libs/blockcountry-settings.php:340
159
  msgid "All options are restored successfully."
160
  msgstr ""
161
 
162
- #: libs/blockcountry-settings.php:343
163
  msgid "Invalid file."
164
  msgstr ""
165
 
166
- #: libs/blockcountry-settings.php:348
167
  msgid "No correct import or export option given."
168
  msgstr ""
169
 
170
- #: libs/blockcountry-settings.php:357
171
  msgid "Select which pages are blocked."
172
  msgstr ""
173
 
174
- #: libs/blockcountry-settings.php:364
175
  msgid "Do you want to block individual pages:"
176
  msgstr ""
177
 
178
- #: libs/blockcountry-settings.php:365
179
  msgid "If you do not select this option all pages will be blocked."
180
  msgstr ""
181
 
182
- #: libs/blockcountry-settings.php:370
183
  msgid "Select pages you want to block:"
184
  msgstr ""
185
 
186
- #: libs/blockcountry-settings.php:392 libs/blockcountry-settings.php:446
187
- #: libs/blockcountry-settings.php:489 libs/blockcountry-settings.php:585
188
- #: libs/blockcountry-settings.php:689 libs/blockcountry-settings.php:847
189
  msgid "Save Changes"
190
  msgstr ""
191
 
192
- #: libs/blockcountry-settings.php:405
193
  msgid "Select which categories are blocked."
194
  msgstr ""
195
 
196
- #: libs/blockcountry-settings.php:412
197
  msgid "Do you want to block individual categories:"
198
  msgstr ""
199
 
200
- #: libs/blockcountry-settings.php:413
201
  msgid "If you do not select this option all blog articles will be blocked."
202
  msgstr ""
203
 
204
- #: libs/blockcountry-settings.php:418
205
  msgid "Do you want to block the homepage:"
206
  msgstr ""
207
 
208
- #: libs/blockcountry-settings.php:419
209
  msgid ""
210
  "If you do not select this option visitors will not be blocked from your "
211
  "homepage regardless of the categories you select."
212
  msgstr ""
213
 
214
- #: libs/blockcountry-settings.php:424
215
  msgid "Select categories you want to block:"
216
  msgstr ""
217
 
218
- #: libs/blockcountry-settings.php:459
219
  msgid "Select which search engines are allowed."
220
  msgstr ""
221
 
222
- #: libs/blockcountry-settings.php:466
223
  msgid "Select which search engines you want to allow:"
224
  msgstr ""
225
 
226
- #: libs/blockcountry-settings.php:467
227
  msgid ""
228
  "This will allow a search engine to your site despite if you blocked the "
229
  "country."
230
  msgstr ""
231
 
232
- #: libs/blockcountry-settings.php:504
233
  msgid "Frontend options"
234
  msgstr ""
235
 
236
- #: libs/blockcountry-settings.php:539
237
  msgid ""
238
  "Do not block visitors that are logged in from visiting frontend website:"
239
  msgstr ""
240
 
241
- #: libs/blockcountry-settings.php:545
242
  msgid "Block visitors from visiting the frontend of your website:"
243
  msgstr ""
244
 
245
- #: libs/blockcountry-settings.php:551
246
  msgid ""
247
  "Select the countries that should be blocked from visiting your frontend:"
248
  msgstr ""
249
 
250
- #: libs/blockcountry-settings.php:552
251
  msgid "Use the CTRL key to select multiple countries"
252
  msgstr ""
253
 
254
- #: libs/blockcountry-settings.php:568
255
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
256
  msgstr ""
257
 
258
- #: libs/blockcountry-settings.php:568 libs/blockcountry-settings.php:576
259
- #: libs/blockcountry-settings.php:672 libs/blockcountry-settings.php:680
260
  msgid "Use a semicolon (;) to separate IP addresses"
261
  msgstr ""
262
 
263
- #: libs/blockcountry-settings.php:576
264
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
265
  msgstr ""
266
 
267
- #: libs/blockcountry-settings.php:605
268
  msgid "Backend Options"
269
  msgstr ""
270
 
271
- #: libs/blockcountry-settings.php:639
272
  msgid ""
273
  "Block visitors from visiting the backend (administrator) of your website:"
274
  msgstr ""
275
 
276
- #: libs/blockcountry-settings.php:647
277
  msgid "Your IP address is"
278
  msgstr ""
279
 
280
- #: libs/blockcountry-settings.php:647
281
  msgid "The country that is listed for this IP address is"
282
  msgstr ""
283
 
284
- #: libs/blockcountry-settings.php:648
285
  msgid ""
286
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
287
  "(administrator) of your website' and also select"
288
  msgstr ""
289
 
290
- #: libs/blockcountry-settings.php:648
291
  msgid "below."
292
  msgstr ""
293
 
294
- #: libs/blockcountry-settings.php:649
295
  msgid ""
296
  "You will NOT be able to login the next time if you DO block your own country "
297
  "from visiting the backend."
298
  msgstr ""
299
 
300
- #: libs/blockcountry-settings.php:654
301
  msgid "Select the countries that should be blocked from visiting your backend:"
302
  msgstr ""
303
 
304
- #: libs/blockcountry-settings.php:655
305
  msgid "Use the x behind the country to remove a country from this blocklist."
306
  msgstr ""
307
 
308
- #: libs/blockcountry-settings.php:672
309
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
310
  msgstr ""
311
 
312
- #: libs/blockcountry-settings.php:680
313
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
314
  msgstr ""
315
 
316
- #: libs/blockcountry-settings.php:710
317
  msgid "Overall statistics since start"
318
  msgstr ""
319
 
320
- #: libs/blockcountry-settings.php:713
321
  msgid "visitors blocked from the backend."
322
  msgstr ""
323
 
324
- #: libs/blockcountry-settings.php:715
325
  msgid "visitors blocked from the frontend."
326
  msgstr ""
327
 
328
- #: libs/blockcountry-settings.php:719
329
  msgid "Basic Options"
330
  msgstr ""
331
 
332
- #: libs/blockcountry-settings.php:754
333
  msgid "Message to display when people are blocked:"
334
  msgstr ""
335
 
336
- #: libs/blockcountry-settings.php:764
337
  msgid "Page to redirect to:"
338
  msgstr ""
339
 
340
- #: libs/blockcountry-settings.php:765
341
  msgid ""
342
  "If you select a page here blocked visitors will be redirected to this page "
343
  "instead of displaying above block message."
344
  msgstr ""
345
 
346
- #: libs/blockcountry-settings.php:771
347
  msgid "Choose a page..."
348
  msgstr ""
349
 
350
- #: libs/blockcountry-settings.php:786
351
  msgid "Send headers when user is blocked:"
352
  msgstr ""
353
 
354
- #: libs/blockcountry-settings.php:787
355
  msgid ""
356
  "Under normal circumstances you should keep this selected! Only if you have "
357
  "\"Cannot modify header information - headers already sent\" errors or if you "
358
  "know what you are doing uncheck this."
359
  msgstr ""
360
 
361
- #: libs/blockcountry-settings.php:793
362
  msgid "Buffer output?:"
363
  msgstr ""
364
 
365
- #: libs/blockcountry-settings.php:794
366
  msgid ""
367
  "You can use this option to buffer all output. This can be helpful in case "
368
  "you have \"headers already sent\" issues."
369
  msgstr ""
370
 
371
- #: libs/blockcountry-settings.php:800
 
 
 
 
 
 
 
 
 
 
372
  msgid "Number of rows on statistics page:"
373
  msgstr ""
374
 
375
- #: libs/blockcountry-settings.php:801
376
  msgid "How many rows do you want to display on each tab the statistics page."
377
  msgstr ""
378
 
379
- #: libs/blockcountry-settings.php:816
380
  msgid "Allow tracking:"
381
  msgstr ""
382
 
383
- #: libs/blockcountry-settings.php:817
384
  msgid ""
385
  "This sends only the IP address and the number of attempts this ip address "
386
  "tried to login to your backend and was blocked doing so to a central server. "
@@ -388,115 +398,139 @@ msgid ""
388
  "countries."
389
  msgstr ""
390
 
391
- #: libs/blockcountry-settings.php:823
392
  msgid "API Key:"
393
  msgstr ""
394
 
395
- #: libs/blockcountry-settings.php:829
 
 
 
 
 
 
396
  msgid "Log all visits to the backend:"
397
  msgstr ""
398
 
399
- #: libs/blockcountry-settings.php:830
400
  msgid ""
401
  "This logs all visits to the backend despite if they are blocked or not. This "
402
  "is mainly for debugging purposes."
403
  msgstr ""
404
 
405
- #: libs/blockcountry-settings.php:836
406
  msgid "Auto update GeoIP Database:"
407
  msgstr ""
408
 
409
- #: libs/blockcountry-settings.php:837
410
  msgid ""
411
  "Selecting this makes sure that the GeoIP database is downloaded once a month."
412
  msgstr ""
413
 
414
- #: libs/blockcountry-settings.php:865
 
 
 
 
 
 
 
 
415
  msgid "Last blocked visits"
416
  msgstr ""
417
 
418
- #: libs/blockcountry-settings.php:875
419
  msgid "Date / Time"
420
  msgstr ""
421
 
422
- #: libs/blockcountry-settings.php:875 libs/blockcountry-settings.php:907
423
  msgid "IP Address"
424
  msgstr ""
425
 
426
- #: libs/blockcountry-settings.php:875 libs/blockcountry-settings.php:907
427
  msgid "Hostname"
428
  msgstr ""
429
 
430
- #: libs/blockcountry-settings.php:875 libs/blockcountry-settings.php:894
431
  msgid "Country"
432
  msgstr ""
433
 
434
- #: libs/blockcountry-settings.php:875
435
  msgid "Frontend/Backend"
436
  msgstr ""
437
 
438
- #: libs/blockcountry-settings.php:885 libs/blockcountry-settings.php:946
439
  msgid "Frontend"
440
  msgstr ""
441
 
442
- #: libs/blockcountry-settings.php:885
443
  msgid "Backend banlist"
444
  msgstr ""
445
 
446
- #: libs/blockcountry-settings.php:885
447
  msgid "Backend & Backend banlist"
448
  msgstr ""
449
 
450
- #: libs/blockcountry-settings.php:885 libs/blockcountry-settings.php:947
451
  msgid "Backend"
452
  msgstr ""
453
 
454
- #: libs/blockcountry-settings.php:892
455
  msgid "Top countries that are blocked"
456
  msgstr ""
457
 
458
- #: libs/blockcountry-settings.php:894 libs/blockcountry-settings.php:907
459
- #: libs/blockcountry-settings.php:918
460
  msgid "# of blocked attempts"
461
  msgstr ""
462
 
463
- #: libs/blockcountry-settings.php:905
464
  msgid "Top hosts that are blocked"
465
  msgstr ""
466
 
467
- #: libs/blockcountry-settings.php:916
468
  msgid "Top URLs that are blocked"
469
  msgstr ""
470
 
471
- #: libs/blockcountry-settings.php:945
 
 
 
 
 
 
 
 
 
 
472
  msgid "Home"
473
  msgstr ""
474
 
475
- #: libs/blockcountry-settings.php:948
476
  msgid "Pages"
477
  msgstr ""
478
 
479
- #: libs/blockcountry-settings.php:949
480
  msgid "Categories"
481
  msgstr ""
482
 
483
- #: libs/blockcountry-settings.php:950
484
  msgid "Search Engines"
485
  msgstr ""
486
 
487
- #: libs/blockcountry-settings.php:951
488
  msgid "Tools"
489
  msgstr ""
490
 
491
- #: libs/blockcountry-settings.php:952
492
  msgid "Logging"
493
  msgstr ""
494
 
495
- #: libs/blockcountry-settings.php:953
496
  msgid "Import/Export"
497
  msgstr ""
498
 
499
- #: libs/blockcountry-settings.php:1007
500
  msgid "GeoIP database does not exists. Trying to download it..."
501
  msgstr ""
502
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
+ "POT-Creation-Date: 2014-12-22 21:40+0100\n"
5
+ "PO-Revision-Date: 2014-12-22 21:40+0100\n"
6
  "Last-Translator: Pascal <pascal@redeo.nl>\n"
7
  "Language-Team: iQ Block Country <info@redeo.nl>\n"
8
  "Language: English\n"
15
  "X-Poedit-SearchPath-0: libs\n"
16
  "X-Poedit-SearchPath-1: .\n"
17
 
18
+ #: libs/blockcountry-settings.php:136
19
  msgid ""
20
  "Check which country belongs to an IP Address according to the current "
21
  "database."
22
  msgstr ""
23
 
24
+ #: libs/blockcountry-settings.php:140
25
  msgid "IP Address to check:"
26
  msgstr ""
27
 
28
+ #: libs/blockcountry-settings.php:150
29
  msgid "No country for"
30
  msgstr ""
31
 
32
+ #: libs/blockcountry-settings.php:150
33
  msgid "could be found. Or"
34
  msgstr ""
35
 
36
+ #: libs/blockcountry-settings.php:150
37
  msgid "is not a valid IPv4 or IPv6 IP address"
38
  msgstr ""
39
 
40
+ #: libs/blockcountry-settings.php:155
41
  msgid "IP Adress"
42
  msgstr ""
43
 
44
+ #: libs/blockcountry-settings.php:155
45
  msgid "belongs to"
46
  msgstr ""
47
 
48
+ #: libs/blockcountry-settings.php:158
49
  msgid "This country is not permitted to visit the frontend of this website."
50
  msgstr ""
51
 
52
+ #: libs/blockcountry-settings.php:163
53
  msgid "This country is not permitted to visit the backend of this website."
54
  msgstr ""
55
 
56
+ #: libs/blockcountry-settings.php:168
57
  msgid "This ip is present in the blacklist."
58
  msgstr ""
59
 
60
+ #: libs/blockcountry-settings.php:173
61
  msgid "Check IP address"
62
  msgstr ""
63
 
64
+ #: libs/blockcountry-settings.php:179
65
  msgid "Download GeoIP database"
66
  msgstr ""
67
 
68
+ #: libs/blockcountry-settings.php:187
69
  msgid "Automatic update is not setup. Last update: "
70
  msgstr ""
71
 
72
+ #: libs/blockcountry-settings.php:192
73
  msgid "The GeoIP database is updated once a month. Last update: "
74
  msgstr ""
75
 
76
+ #: libs/blockcountry-settings.php:194
77
  msgid "If you need a manual update please press buttons below to update."
78
  msgstr ""
79
 
80
+ #: libs/blockcountry-settings.php:200
81
  msgid "Download new GeoIP IPv4 Database"
82
  msgstr ""
83
 
84
+ #: libs/blockcountry-settings.php:207
85
  msgid "Download new GeoIP IPv6 Database"
86
  msgstr ""
87
 
88
+ #: libs/blockcountry-settings.php:212 libs/blockcountry-settings.php:216
89
  msgid "Downloading..."
90
  msgstr ""
91
 
92
+ #: libs/blockcountry-settings.php:222
93
  msgid "Active plugins"
94
  msgstr ""
95
 
96
+ #: libs/blockcountry-settings.php:229
97
  msgid "Plugin name"
98
  msgstr ""
99
 
100
+ #: libs/blockcountry-settings.php:229
101
  msgid "Version"
102
  msgstr ""
103
 
104
+ #: libs/blockcountry-settings.php:229 libs/blockcountry-settings.php:943
105
+ #: libs/blockcountry-settings.php:986
106
  msgid "URL"
107
  msgstr ""
108
 
109
+ #: libs/blockcountry-settings.php:254
110
  msgid "Export"
111
  msgstr ""
112
 
113
+ #: libs/blockcountry-settings.php:255
114
  msgid ""
115
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
116
  "Block Country configuration will be created."
117
  msgstr ""
118
 
119
+ #: libs/blockcountry-settings.php:256
120
  msgid ""
121
  "After exporting, you can either use the backup file to restore your settings "
122
  "on this site again or copy the settings to another WordPress site."
123
  msgstr ""
124
 
125
+ #: libs/blockcountry-settings.php:260
126
  msgid "Backup all settings"
127
  msgstr ""
128
 
129
+ #: libs/blockcountry-settings.php:267
130
  msgid "Import"
131
  msgstr ""
132
 
133
+ #: libs/blockcountry-settings.php:268
134
  msgid "Click the browse button and choose a zip file that you exported before."
135
  msgstr ""
136
 
137
+ #: libs/blockcountry-settings.php:269
138
  msgid "Press Restore settings button, and let WordPress do the magic for you."
139
  msgstr ""
140
 
141
+ #: libs/blockcountry-settings.php:274
142
  msgid "Restore settings"
143
  msgstr ""
144
 
145
+ #: libs/blockcountry-settings.php:297 libs/blockcountry-settings.php:300
146
+ #: libs/blockcountry-settings.php:309
147
  msgid "Something went wrong exporting this file"
148
  msgstr ""
149
 
150
+ #: libs/blockcountry-settings.php:312
151
  msgid "Exporting settings..."
152
  msgstr ""
153
 
154
+ #: libs/blockcountry-settings.php:327
155
  msgid "Something went wrong importing this file"
156
  msgstr ""
157
 
158
+ #: libs/blockcountry-settings.php:344
159
  msgid "All options are restored successfully."
160
  msgstr ""
161
 
162
+ #: libs/blockcountry-settings.php:347
163
  msgid "Invalid file."
164
  msgstr ""
165
 
166
+ #: libs/blockcountry-settings.php:352
167
  msgid "No correct import or export option given."
168
  msgstr ""
169
 
170
+ #: libs/blockcountry-settings.php:361
171
  msgid "Select which pages are blocked."
172
  msgstr ""
173
 
174
+ #: libs/blockcountry-settings.php:368
175
  msgid "Do you want to block individual pages:"
176
  msgstr ""
177
 
178
+ #: libs/blockcountry-settings.php:369
179
  msgid "If you do not select this option all pages will be blocked."
180
  msgstr ""
181
 
182
+ #: libs/blockcountry-settings.php:374
183
  msgid "Select pages you want to block:"
184
  msgstr ""
185
 
186
+ #: libs/blockcountry-settings.php:396 libs/blockcountry-settings.php:450
187
+ #: libs/blockcountry-settings.php:493 libs/blockcountry-settings.php:614
188
+ #: libs/blockcountry-settings.php:738 libs/blockcountry-settings.php:911
189
  msgid "Save Changes"
190
  msgstr ""
191
 
192
+ #: libs/blockcountry-settings.php:409
193
  msgid "Select which categories are blocked."
194
  msgstr ""
195
 
196
+ #: libs/blockcountry-settings.php:416
197
  msgid "Do you want to block individual categories:"
198
  msgstr ""
199
 
200
+ #: libs/blockcountry-settings.php:417
201
  msgid "If you do not select this option all blog articles will be blocked."
202
  msgstr ""
203
 
204
+ #: libs/blockcountry-settings.php:422
205
  msgid "Do you want to block the homepage:"
206
  msgstr ""
207
 
208
+ #: libs/blockcountry-settings.php:423
209
  msgid ""
210
  "If you do not select this option visitors will not be blocked from your "
211
  "homepage regardless of the categories you select."
212
  msgstr ""
213
 
214
+ #: libs/blockcountry-settings.php:428
215
  msgid "Select categories you want to block:"
216
  msgstr ""
217
 
218
+ #: libs/blockcountry-settings.php:463
219
  msgid "Select which search engines are allowed."
220
  msgstr ""
221
 
222
+ #: libs/blockcountry-settings.php:470
223
  msgid "Select which search engines you want to allow:"
224
  msgstr ""
225
 
226
+ #: libs/blockcountry-settings.php:471
227
  msgid ""
228
  "This will allow a search engine to your site despite if you blocked the "
229
  "country."
230
  msgstr ""
231
 
232
+ #: libs/blockcountry-settings.php:508
233
  msgid "Frontend options"
234
  msgstr ""
235
 
236
+ #: libs/blockcountry-settings.php:543
237
  msgid ""
238
  "Do not block visitors that are logged in from visiting frontend website:"
239
  msgstr ""
240
 
241
+ #: libs/blockcountry-settings.php:549
242
  msgid "Block visitors from visiting the frontend of your website:"
243
  msgstr ""
244
 
245
+ #: libs/blockcountry-settings.php:555
246
  msgid ""
247
  "Select the countries that should be blocked from visiting your frontend:"
248
  msgstr ""
249
 
250
+ #: libs/blockcountry-settings.php:556
251
  msgid "Use the CTRL key to select multiple countries"
252
  msgstr ""
253
 
254
+ #: libs/blockcountry-settings.php:597
255
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
256
  msgstr ""
257
 
258
+ #: libs/blockcountry-settings.php:597 libs/blockcountry-settings.php:605
259
+ #: libs/blockcountry-settings.php:721 libs/blockcountry-settings.php:729
260
  msgid "Use a semicolon (;) to separate IP addresses"
261
  msgstr ""
262
 
263
+ #: libs/blockcountry-settings.php:605
264
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
265
  msgstr ""
266
 
267
+ #: libs/blockcountry-settings.php:634
268
  msgid "Backend Options"
269
  msgstr ""
270
 
271
+ #: libs/blockcountry-settings.php:668
272
  msgid ""
273
  "Block visitors from visiting the backend (administrator) of your website:"
274
  msgstr ""
275
 
276
+ #: libs/blockcountry-settings.php:676
277
  msgid "Your IP address is"
278
  msgstr ""
279
 
280
+ #: libs/blockcountry-settings.php:676
281
  msgid "The country that is listed for this IP address is"
282
  msgstr ""
283
 
284
+ #: libs/blockcountry-settings.php:677
285
  msgid ""
286
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
287
  "(administrator) of your website' and also select"
288
  msgstr ""
289
 
290
+ #: libs/blockcountry-settings.php:677
291
  msgid "below."
292
  msgstr ""
293
 
294
+ #: libs/blockcountry-settings.php:678
295
  msgid ""
296
  "You will NOT be able to login the next time if you DO block your own country "
297
  "from visiting the backend."
298
  msgstr ""
299
 
300
+ #: libs/blockcountry-settings.php:683
301
  msgid "Select the countries that should be blocked from visiting your backend:"
302
  msgstr ""
303
 
304
+ #: libs/blockcountry-settings.php:684
305
  msgid "Use the x behind the country to remove a country from this blocklist."
306
  msgstr ""
307
 
308
+ #: libs/blockcountry-settings.php:721
309
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
310
  msgstr ""
311
 
312
+ #: libs/blockcountry-settings.php:729
313
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
314
  msgstr ""
315
 
316
+ #: libs/blockcountry-settings.php:759
317
  msgid "Overall statistics since start"
318
  msgstr ""
319
 
320
+ #: libs/blockcountry-settings.php:762
321
  msgid "visitors blocked from the backend."
322
  msgstr ""
323
 
324
+ #: libs/blockcountry-settings.php:764
325
  msgid "visitors blocked from the frontend."
326
  msgstr ""
327
 
328
+ #: libs/blockcountry-settings.php:768
329
  msgid "Basic Options"
330
  msgstr ""
331
 
332
+ #: libs/blockcountry-settings.php:803
333
  msgid "Message to display when people are blocked:"
334
  msgstr ""
335
 
336
+ #: libs/blockcountry-settings.php:813
337
  msgid "Page to redirect to:"
338
  msgstr ""
339
 
340
+ #: libs/blockcountry-settings.php:814
341
  msgid ""
342
  "If you select a page here blocked visitors will be redirected to this page "
343
  "instead of displaying above block message."
344
  msgstr ""
345
 
346
+ #: libs/blockcountry-settings.php:820
347
  msgid "Choose a page..."
348
  msgstr ""
349
 
350
+ #: libs/blockcountry-settings.php:835
351
  msgid "Send headers when user is blocked:"
352
  msgstr ""
353
 
354
+ #: libs/blockcountry-settings.php:836
355
  msgid ""
356
  "Under normal circumstances you should keep this selected! Only if you have "
357
  "\"Cannot modify header information - headers already sent\" errors or if you "
358
  "know what you are doing uncheck this."
359
  msgstr ""
360
 
361
+ #: libs/blockcountry-settings.php:842
362
  msgid "Buffer output?:"
363
  msgstr ""
364
 
365
+ #: libs/blockcountry-settings.php:843
366
  msgid ""
367
  "You can use this option to buffer all output. This can be helpful in case "
368
  "you have \"headers already sent\" issues."
369
  msgstr ""
370
 
371
+ #: libs/blockcountry-settings.php:849
372
+ msgid "Do not log IP addresses:"
373
+ msgstr ""
374
+
375
+ #: libs/blockcountry-settings.php:850
376
+ msgid ""
377
+ "Check this box if the laws in your country do not permit you to log IP "
378
+ "addresses or if you do not want to log the ip addresses."
379
+ msgstr ""
380
+
381
+ #: libs/blockcountry-settings.php:857
382
  msgid "Number of rows on statistics page:"
383
  msgstr ""
384
 
385
+ #: libs/blockcountry-settings.php:858
386
  msgid "How many rows do you want to display on each tab the statistics page."
387
  msgstr ""
388
 
389
+ #: libs/blockcountry-settings.php:873
390
  msgid "Allow tracking:"
391
  msgstr ""
392
 
393
+ #: libs/blockcountry-settings.php:874
394
  msgid ""
395
  "This sends only the IP address and the number of attempts this ip address "
396
  "tried to login to your backend and was blocked doing so to a central server. "
398
  "countries."
399
  msgstr ""
400
 
401
+ #: libs/blockcountry-settings.php:880
402
  msgid "API Key:"
403
  msgstr ""
404
 
405
+ #: libs/blockcountry-settings.php:881
406
+ msgid ""
407
+ "This is an experimantal feature. You do not need an API key for this plugin "
408
+ "to work."
409
+ msgstr ""
410
+
411
+ #: libs/blockcountry-settings.php:888
412
  msgid "Log all visits to the backend:"
413
  msgstr ""
414
 
415
+ #: libs/blockcountry-settings.php:889
416
  msgid ""
417
  "This logs all visits to the backend despite if they are blocked or not. This "
418
  "is mainly for debugging purposes."
419
  msgstr ""
420
 
421
+ #: libs/blockcountry-settings.php:896
422
  msgid "Auto update GeoIP Database:"
423
  msgstr ""
424
 
425
+ #: libs/blockcountry-settings.php:897
426
  msgid ""
427
  "Selecting this makes sure that the GeoIP database is downloaded once a month."
428
  msgstr ""
429
 
430
+ #: libs/blockcountry-settings.php:903
431
+ msgid "Accessibility options:"
432
+ msgstr ""
433
+
434
+ #: libs/blockcountry-settings.php:904
435
+ msgid "Set this option if you cannot use the default country selection box."
436
+ msgstr ""
437
+
438
+ #: libs/blockcountry-settings.php:929
439
  msgid "Last blocked visits"
440
  msgstr ""
441
 
442
+ #: libs/blockcountry-settings.php:943
443
  msgid "Date / Time"
444
  msgstr ""
445
 
446
+ #: libs/blockcountry-settings.php:943 libs/blockcountry-settings.php:975
447
  msgid "IP Address"
448
  msgstr ""
449
 
450
+ #: libs/blockcountry-settings.php:943 libs/blockcountry-settings.php:975
451
  msgid "Hostname"
452
  msgstr ""
453
 
454
+ #: libs/blockcountry-settings.php:943 libs/blockcountry-settings.php:962
455
  msgid "Country"
456
  msgstr ""
457
 
458
+ #: libs/blockcountry-settings.php:943
459
  msgid "Frontend/Backend"
460
  msgstr ""
461
 
462
+ #: libs/blockcountry-settings.php:953 libs/blockcountry-settings.php:1037
463
  msgid "Frontend"
464
  msgstr ""
465
 
466
+ #: libs/blockcountry-settings.php:953
467
  msgid "Backend banlist"
468
  msgstr ""
469
 
470
+ #: libs/blockcountry-settings.php:953
471
  msgid "Backend & Backend banlist"
472
  msgstr ""
473
 
474
+ #: libs/blockcountry-settings.php:953 libs/blockcountry-settings.php:1038
475
  msgid "Backend"
476
  msgstr ""
477
 
478
+ #: libs/blockcountry-settings.php:960
479
  msgid "Top countries that are blocked"
480
  msgstr ""
481
 
482
+ #: libs/blockcountry-settings.php:962 libs/blockcountry-settings.php:975
483
+ #: libs/blockcountry-settings.php:986
484
  msgid "# of blocked attempts"
485
  msgstr ""
486
 
487
+ #: libs/blockcountry-settings.php:973
488
  msgid "Top hosts that are blocked"
489
  msgstr ""
490
 
491
+ #: libs/blockcountry-settings.php:984
492
  msgid "Top URLs that are blocked"
493
  msgstr ""
494
 
495
+ #: libs/blockcountry-settings.php:998
496
+ msgid "Clear database"
497
+ msgstr ""
498
+
499
+ #: libs/blockcountry-settings.php:1014
500
+ msgid ""
501
+ "You are not logging any information. Please uncheck the option 'Do not log "
502
+ "IP addresses' if this is not what you want."
503
+ msgstr ""
504
+
505
+ #: libs/blockcountry-settings.php:1036
506
  msgid "Home"
507
  msgstr ""
508
 
509
+ #: libs/blockcountry-settings.php:1039
510
  msgid "Pages"
511
  msgstr ""
512
 
513
+ #: libs/blockcountry-settings.php:1040
514
  msgid "Categories"
515
  msgstr ""
516
 
517
+ #: libs/blockcountry-settings.php:1041
518
  msgid "Search Engines"
519
  msgstr ""
520
 
521
+ #: libs/blockcountry-settings.php:1042
522
  msgid "Tools"
523
  msgstr ""
524
 
525
+ #: libs/blockcountry-settings.php:1043
526
  msgid "Logging"
527
  msgstr ""
528
 
529
+ #: libs/blockcountry-settings.php:1044
530
  msgid "Import/Export"
531
  msgstr ""
532
 
533
+ #: libs/blockcountry-settings.php:1098
534
  msgid "GeoIP database does not exists. Trying to download it..."
535
  msgstr ""
536
 
lang/iqblockcountry-nl_NL.mo CHANGED
Binary file
lang/iqblockcountry-nl_NL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
- "POT-Creation-Date: 2014-09-15 19:39+0100\n"
5
- "PO-Revision-Date: 2014-09-15 19:40+0100\n"
6
  "Last-Translator: Pascal <pascal@redeo.nl>\n"
7
  "Language-Team: iQ Block Country <info@redeo.nl>\n"
8
  "Language: Dutch\n"
@@ -15,107 +15,107 @@ msgstr ""
15
  "X-Poedit-SearchPath-0: libs\n"
16
  "X-Poedit-SearchPath-1: .\n"
17
 
18
- #: libs/blockcountry-settings.php:132
19
  msgid ""
20
  "Check which country belongs to an IP Address according to the current "
21
  "database."
22
  msgstr ""
23
  "Controleer welk land behoort tot een IP adres volgens de huidige database."
24
 
25
- #: libs/blockcountry-settings.php:136
26
  msgid "IP Address to check:"
27
  msgstr "IP adres om te controleren:"
28
 
29
- #: libs/blockcountry-settings.php:146
30
  msgid "No country for"
31
  msgstr "Geen land voor"
32
 
33
- #: libs/blockcountry-settings.php:146
34
  msgid "could be found. Or"
35
  msgstr "gevonden. Of"
36
 
37
- #: libs/blockcountry-settings.php:146
38
  msgid "is not a valid IPv4 or IPv6 IP address"
39
  msgstr "is geen valide IPv4 of IPv6 ip adres."
40
 
41
- #: libs/blockcountry-settings.php:151
42
  msgid "IP Adress"
43
  msgstr "IP Adres"
44
 
45
- #: libs/blockcountry-settings.php:151
46
  msgid "belongs to"
47
  msgstr "behoort tot"
48
 
49
- #: libs/blockcountry-settings.php:154
50
  msgid "This country is not permitted to visit the frontend of this website."
51
  msgstr ""
52
  "Dit land wordt niet toegestaan om de voorkant van deze website te bezoeken."
53
 
54
- #: libs/blockcountry-settings.php:159
55
  msgid "This country is not permitted to visit the backend of this website."
56
  msgstr ""
57
  "Dit land wordt niet toegestaan om de achterkant van deze website te bezoeken."
58
 
59
- #: libs/blockcountry-settings.php:164
60
  msgid "This ip is present in the blacklist."
61
  msgstr "Dit ip adres staat op de zwarte lijst"
62
 
63
- #: libs/blockcountry-settings.php:169
64
  msgid "Check IP address"
65
  msgstr "Controleer IP adres"
66
 
67
- #: libs/blockcountry-settings.php:175
68
  msgid "Download GeoIP database"
69
  msgstr "Download GeoIP database"
70
 
71
- #: libs/blockcountry-settings.php:183
72
  msgid "Automatic update is not setup. Last update: "
73
  msgstr "Automatisch updaten is niet geconfigureerd. Laatste update:"
74
 
75
- #: libs/blockcountry-settings.php:188
76
  msgid "The GeoIP database is updated once a month. Last update: "
77
  msgstr ""
78
  "De GeoIP database wordt eenmaal per maand bijgewerkt. Laatste keer "
79
  "bijgewerkt:"
80
 
81
- #: libs/blockcountry-settings.php:190
82
  msgid "If you need a manual update please press buttons below to update."
83
  msgstr "Indien je handmatig wilt bijwerken druk je op de knoppen hier beneden."
84
 
85
- #: libs/blockcountry-settings.php:196
86
  msgid "Download new GeoIP IPv4 Database"
87
  msgstr "Download nieuwe GeoIP IPv4 database"
88
 
89
- #: libs/blockcountry-settings.php:203
90
  msgid "Download new GeoIP IPv6 Database"
91
  msgstr "Download nieuwe GeoIP IPv6 database"
92
 
93
- #: libs/blockcountry-settings.php:208 libs/blockcountry-settings.php:212
94
  msgid "Downloading..."
95
  msgstr "Downloading..."
96
 
97
- #: libs/blockcountry-settings.php:218
98
  msgid "Active plugins"
99
  msgstr "Actieve plugins"
100
 
101
- #: libs/blockcountry-settings.php:225
102
  msgid "Plugin name"
103
  msgstr "Plugin naam"
104
 
105
- #: libs/blockcountry-settings.php:225
106
  msgid "Version"
107
  msgstr "Versie"
108
 
109
- #: libs/blockcountry-settings.php:225 libs/blockcountry-settings.php:875
110
- #: libs/blockcountry-settings.php:918
111
  msgid "URL"
112
  msgstr "URL"
113
 
114
- #: libs/blockcountry-settings.php:250
115
  msgid "Export"
116
  msgstr "Exporteren"
117
 
118
- #: libs/blockcountry-settings.php:251
119
  msgid ""
120
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
121
  "Block Country configuration will be created."
@@ -123,7 +123,7 @@ msgstr ""
123
  "Wanneer je klikt op de <tt>Backup alle instellingen</tt> knop zal een backup "
124
  "van alle iQ Block Country instellingen worden gecreerd."
125
 
126
- #: libs/blockcountry-settings.php:252
127
  msgid ""
128
  "After exporting, you can either use the backup file to restore your settings "
129
  "on this site again or copy the settings to another WordPress site."
@@ -132,95 +132,95 @@ msgstr ""
132
  "te herstellen of je kunt het bestand gebruiken om je instellingen naar een "
133
  "andere WordPress site te exporteren."
134
 
135
- #: libs/blockcountry-settings.php:256
136
  msgid "Backup all settings"
137
  msgstr "Backup alle instellingen"
138
 
139
- #: libs/blockcountry-settings.php:263
140
  msgid "Import"
141
  msgstr "Importeer"
142
 
143
- #: libs/blockcountry-settings.php:264
144
  msgid "Click the browse button and choose a zip file that you exported before."
145
  msgstr ""
146
  "Klik op de Browse button and selecteer een zip file welke je eerder hebt "
147
  "geexporteerd."
148
 
149
- #: libs/blockcountry-settings.php:265
150
  msgid "Press Restore settings button, and let WordPress do the magic for you."
151
  msgstr ""
152
  "Druk op de herstel instellingen knop en laat WordPress haar magie voor je "
153
  "doen."
154
 
155
- #: libs/blockcountry-settings.php:270
156
  msgid "Restore settings"
157
  msgstr "Herstel instellingen"
158
 
159
- #: libs/blockcountry-settings.php:293 libs/blockcountry-settings.php:296
160
- #: libs/blockcountry-settings.php:305
161
  msgid "Something went wrong exporting this file"
162
  msgstr "Er is iets verkeerd gegaan met het exporteren van het bestand."
163
 
164
- #: libs/blockcountry-settings.php:308
165
  msgid "Exporting settings..."
166
  msgstr "Exporteer instellingen"
167
 
168
- #: libs/blockcountry-settings.php:323
169
  msgid "Something went wrong importing this file"
170
  msgstr "Er is iets verkeerd gegaan met het importeren van dit bestand"
171
 
172
- #: libs/blockcountry-settings.php:340
173
  msgid "All options are restored successfully."
174
  msgstr "Alle opties zijn succesvol hersteld"
175
 
176
- #: libs/blockcountry-settings.php:343
177
  msgid "Invalid file."
178
  msgstr "Ongeldig bestand"
179
 
180
- #: libs/blockcountry-settings.php:348
181
  msgid "No correct import or export option given."
182
  msgstr "Geen correcte importeer of exporteer optie gegeven."
183
 
184
- #: libs/blockcountry-settings.php:357
185
  msgid "Select which pages are blocked."
186
  msgstr "Selecteer welke pagina's geblokkeerd worden."
187
 
188
- #: libs/blockcountry-settings.php:364
189
  msgid "Do you want to block individual pages:"
190
  msgstr "Wil je individuele pagina's blokkeren:"
191
 
192
- #: libs/blockcountry-settings.php:365
193
  msgid "If you do not select this option all pages will be blocked."
194
  msgstr "Indien je deze optie niet selecteert worden alle pagina's geblokkeerd."
195
 
196
- #: libs/blockcountry-settings.php:370
197
  msgid "Select pages you want to block:"
198
  msgstr "Selecteer welke pagina's je wil blokkeren."
199
 
200
- #: libs/blockcountry-settings.php:392 libs/blockcountry-settings.php:446
201
- #: libs/blockcountry-settings.php:489 libs/blockcountry-settings.php:585
202
- #: libs/blockcountry-settings.php:689 libs/blockcountry-settings.php:847
203
  msgid "Save Changes"
204
  msgstr "Bewaar wijzigingen"
205
 
206
- #: libs/blockcountry-settings.php:405
207
  msgid "Select which categories are blocked."
208
  msgstr "Selecteer welke categorieen geblokkeerd worden."
209
 
210
- #: libs/blockcountry-settings.php:412
211
  msgid "Do you want to block individual categories:"
212
  msgstr "Wil je individuele categorieen blokkeren:"
213
 
214
- #: libs/blockcountry-settings.php:413
215
  msgid "If you do not select this option all blog articles will be blocked."
216
  msgstr ""
217
  "Indien je deze optie niet selecteert worden alle blog artikelen geblokkeerd."
218
 
219
- #: libs/blockcountry-settings.php:418
220
  msgid "Do you want to block the homepage:"
221
  msgstr "Wil je je homepage blokkeren:"
222
 
223
- #: libs/blockcountry-settings.php:419
224
  msgid ""
225
  "If you do not select this option visitors will not be blocked from your "
226
  "homepage regardless of the categories you select."
@@ -229,19 +229,19 @@ msgstr ""
229
  "geblokkeerd van het bezoeken van je homepagina ongeacht welke categorieen je "
230
  "selecteert."
231
 
232
- #: libs/blockcountry-settings.php:424
233
  msgid "Select categories you want to block:"
234
  msgstr "Selecteer welke categorieen je wil blokkeren."
235
 
236
- #: libs/blockcountry-settings.php:459
237
  msgid "Select which search engines are allowed."
238
  msgstr "Selecteer welke zoek machines je wilt toestaan."
239
 
240
- #: libs/blockcountry-settings.php:466
241
  msgid "Select which search engines you want to allow:"
242
  msgstr "Selecteer welke zoek machines je wilt toestaan:"
243
 
244
- #: libs/blockcountry-settings.php:467
245
  msgid ""
246
  "This will allow a search engine to your site despite if you blocked the "
247
  "country."
@@ -249,66 +249,66 @@ msgstr ""
249
  "Deze optie staat het toe dat zoekmachines je site bezoeken ondanks dat ze "
250
  "uit een land komen welk geblokkeerd is."
251
 
252
- #: libs/blockcountry-settings.php:504
253
  msgid "Frontend options"
254
  msgstr "Voorkant opties"
255
 
256
- #: libs/blockcountry-settings.php:539
257
  msgid ""
258
  "Do not block visitors that are logged in from visiting frontend website:"
259
  msgstr ""
260
  "Blokkeer geen bezoekers welke ingelogd zijn van het bezoeken van de voorkant:"
261
 
262
- #: libs/blockcountry-settings.php:545
263
  msgid "Block visitors from visiting the frontend of your website:"
264
  msgstr "Blokkeer bezoekers van het bezoeken van de voorkant van je website:"
265
 
266
- #: libs/blockcountry-settings.php:551
267
  msgid ""
268
  "Select the countries that should be blocked from visiting your frontend:"
269
  msgstr ""
270
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
271
  "voorkant van je website:"
272
 
273
- #: libs/blockcountry-settings.php:552
274
  msgid "Use the CTRL key to select multiple countries"
275
  msgstr "Gebruik de CTRL toets om meerdere landen te selecteren"
276
 
277
- #: libs/blockcountry-settings.php:568
278
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
279
  msgstr ""
280
  "Whitelist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
281
 
282
- #: libs/blockcountry-settings.php:568 libs/blockcountry-settings.php:576
283
- #: libs/blockcountry-settings.php:672 libs/blockcountry-settings.php:680
284
  msgid "Use a semicolon (;) to separate IP addresses"
285
  msgstr "Gebruik een puntkomma (;) om adressen van elkaar te scheiden"
286
 
287
- #: libs/blockcountry-settings.php:576
288
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
289
  msgstr ""
290
  "Blacklist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
291
 
292
- #: libs/blockcountry-settings.php:605
293
  msgid "Backend Options"
294
  msgstr "Achterkant opties"
295
 
296
- #: libs/blockcountry-settings.php:639
297
  msgid ""
298
  "Block visitors from visiting the backend (administrator) of your website:"
299
  msgstr ""
300
  "Blokkeer bezoekers van het bezoeken van de achterkant (administratie "
301
  "gedeelte) van je website:"
302
 
303
- #: libs/blockcountry-settings.php:647
304
  msgid "Your IP address is"
305
  msgstr "Je IP adres is"
306
 
307
- #: libs/blockcountry-settings.php:647
308
  msgid "The country that is listed for this IP address is"
309
  msgstr "Het land waar dit adres toe behoort is"
310
 
311
- #: libs/blockcountry-settings.php:648
312
  msgid ""
313
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
314
  "(administrator) of your website' and also select"
@@ -316,11 +316,11 @@ msgstr ""
316
  "Selecteer <strong>NIET</strong> \"Blokkeer bezoekers van het bezoeken van de "
317
  "achterkant (administratie gedeelte) van je website\" en"
318
 
319
- #: libs/blockcountry-settings.php:648
320
  msgid "below."
321
  msgstr "hier beneden."
322
 
323
- #: libs/blockcountry-settings.php:649
324
  msgid ""
325
  "You will NOT be able to login the next time if you DO block your own country "
326
  "from visiting the backend."
@@ -328,52 +328,52 @@ msgstr ""
328
  "Het zal daarna niet meer mogelijk zijn om nog in te loggen als je je eigen "
329
  "land blokkeert van het bezoeken van de achterkant van je website."
330
 
331
- #: libs/blockcountry-settings.php:654
332
  msgid "Select the countries that should be blocked from visiting your backend:"
333
  msgstr ""
334
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
335
  "achterkant (administratie gedeelte) van je website:"
336
 
337
- #: libs/blockcountry-settings.php:655
338
  msgid "Use the x behind the country to remove a country from this blocklist."
339
  msgstr ""
340
  "Gebruik de x achter een land om het land te verwijderen uit deze lijst."
341
 
342
- #: libs/blockcountry-settings.php:672
343
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
344
  msgstr ""
345
  "Whitelist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
346
 
347
- #: libs/blockcountry-settings.php:680
348
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
349
  msgstr ""
350
  "Blacklist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
351
 
352
- #: libs/blockcountry-settings.php:710
353
  msgid "Overall statistics since start"
354
  msgstr "Statistieken sinds het begin"
355
 
356
- #: libs/blockcountry-settings.php:713
357
  msgid "visitors blocked from the backend."
358
  msgstr "bezoekers geblokkeerd op de achterkant."
359
 
360
- #: libs/blockcountry-settings.php:715
361
  msgid "visitors blocked from the frontend."
362
  msgstr "bezoekers geblokkeerd op de voorkant."
363
 
364
- #: libs/blockcountry-settings.php:719
365
  msgid "Basic Options"
366
  msgstr "Standaard opties"
367
 
368
- #: libs/blockcountry-settings.php:754
369
  msgid "Message to display when people are blocked:"
370
  msgstr "Welk bericht wil je tonen aan bezoekers welke geblokkeerd worden:"
371
 
372
- #: libs/blockcountry-settings.php:764
373
  msgid "Page to redirect to:"
374
  msgstr "Naar welke pagina wilt u bezoekers toesturen:"
375
 
376
- #: libs/blockcountry-settings.php:765
377
  msgid ""
378
  "If you select a page here blocked visitors will be redirected to this page "
379
  "instead of displaying above block message."
@@ -382,15 +382,15 @@ msgstr ""
382
  "doorgestuurd naar deze pagina anders wordt bovestaande tekst getoond aan "
383
  "bezoekers."
384
 
385
- #: libs/blockcountry-settings.php:771
386
  msgid "Choose a page..."
387
  msgstr "Kies een pagina..."
388
 
389
- #: libs/blockcountry-settings.php:786
390
  msgid "Send headers when user is blocked:"
391
  msgstr "Stuur headers wanneer een gebruiker is geblokkeerd:"
392
 
393
- #: libs/blockcountry-settings.php:787
394
  msgid ""
395
  "Under normal circumstances you should keep this selected! Only if you have "
396
  "\"Cannot modify header information - headers already sent\" errors or if you "
@@ -400,11 +400,11 @@ msgstr ""
400
  "deze alleen indien je \"Cannot modify header information - headers already "
401
  "sent\" foutmeldingen krijgt of indien je weet wat je doet."
402
 
403
- #: libs/blockcountry-settings.php:793
404
  msgid "Buffer output?:"
405
  msgstr "Buffer output?"
406
 
407
- #: libs/blockcountry-settings.php:794
408
  msgid ""
409
  "You can use this option to buffer all output. This can be helpful in case "
410
  "you have \"headers already sent\" issues."
@@ -412,19 +412,32 @@ msgstr ""
412
  "Je kunt deze optie gebruiken om alle output te bufferen. Dit kan helpen "
413
  "indien je \"headers already sent\" problemen hebt."
414
 
415
- #: libs/blockcountry-settings.php:800
 
 
 
 
 
 
 
 
 
 
 
 
 
416
  msgid "Number of rows on statistics page:"
417
  msgstr "Aantal regels op de statistieken pagina:"
418
 
419
- #: libs/blockcountry-settings.php:801
420
  msgid "How many rows do you want to display on each tab the statistics page."
421
  msgstr "Hoeveel regels wil je tonen op de statistieken pagina."
422
 
423
- #: libs/blockcountry-settings.php:816
424
  msgid "Allow tracking:"
425
  msgstr "Sta traceren toe:"
426
 
427
- #: libs/blockcountry-settings.php:817
428
  msgid ""
429
  "This sends only the IP address and the number of attempts this ip address "
430
  "tried to login to your backend and was blocked doing so to a central server. "
@@ -437,15 +450,23 @@ msgstr ""
437
  "ons om beter inzicht te krijgen in de landen waarvandaan een hoop hack "
438
  "pogingen worden gedaan. "
439
 
440
- #: libs/blockcountry-settings.php:823
441
  msgid "API Key:"
442
  msgstr "API Key:"
443
 
444
- #: libs/blockcountry-settings.php:829
 
 
 
 
 
 
 
 
445
  msgid "Log all visits to the backend:"
446
  msgstr "Log alle bezoekers op de achterkant:"
447
 
448
- #: libs/blockcountry-settings.php:830
449
  msgid ""
450
  "This logs all visits to the backend despite if they are blocked or not. This "
451
  "is mainly for debugging purposes."
@@ -453,103 +474,125 @@ msgstr ""
453
  "Dit logt alle bezoeken aan de achterkant ongeacht of de bezoeker werd "
454
  "geblokkeerd of niet. Dit is voornamelijk bedoeld voor fout opsporing."
455
 
456
- #: libs/blockcountry-settings.php:836
457
  msgid "Auto update GeoIP Database:"
458
  msgstr "Automatisch updaten GeoIP Database:"
459
 
460
- #: libs/blockcountry-settings.php:837
461
  msgid ""
462
  "Selecting this makes sure that the GeoIP database is downloaded once a month."
463
  msgstr ""
464
  "Deze optie selecteren zorgt er voor dat de GeoIP Database automatisch "
465
  "maandelijks wordt bijgewerkt."
466
 
467
- #: libs/blockcountry-settings.php:865
 
 
 
 
 
 
 
 
 
 
468
  msgid "Last blocked visits"
469
  msgstr "Laatste geblokkeerde bezoekers"
470
 
471
- #: libs/blockcountry-settings.php:875
472
  msgid "Date / Time"
473
  msgstr "Datum / Tijd"
474
 
475
- #: libs/blockcountry-settings.php:875 libs/blockcountry-settings.php:907
476
  msgid "IP Address"
477
  msgstr "IP adres"
478
 
479
- #: libs/blockcountry-settings.php:875 libs/blockcountry-settings.php:907
480
  msgid "Hostname"
481
  msgstr "Hostnaam"
482
 
483
- #: libs/blockcountry-settings.php:875 libs/blockcountry-settings.php:894
484
  msgid "Country"
485
  msgstr "Land"
486
 
487
- #: libs/blockcountry-settings.php:875
488
  msgid "Frontend/Backend"
489
  msgstr "Voorkant/Achterkant"
490
 
491
- #: libs/blockcountry-settings.php:885 libs/blockcountry-settings.php:946
492
  msgid "Frontend"
493
  msgstr "Voorkant"
494
 
495
- #: libs/blockcountry-settings.php:885
496
  msgid "Backend banlist"
497
  msgstr "Achterkant banlist"
498
 
499
- #: libs/blockcountry-settings.php:885
500
  msgid "Backend & Backend banlist"
501
  msgstr "Achterkant & Achterkant banlist"
502
 
503
- #: libs/blockcountry-settings.php:885 libs/blockcountry-settings.php:947
504
  msgid "Backend"
505
  msgstr "Achterkant"
506
 
507
- #: libs/blockcountry-settings.php:892
508
  msgid "Top countries that are blocked"
509
  msgstr "Top landen welke zijn geblokkeerd"
510
 
511
- #: libs/blockcountry-settings.php:894 libs/blockcountry-settings.php:907
512
- #: libs/blockcountry-settings.php:918
513
  msgid "# of blocked attempts"
514
  msgstr "# of geblokkeerde pogingen"
515
 
516
- #: libs/blockcountry-settings.php:905
517
  msgid "Top hosts that are blocked"
518
  msgstr "Top hosts welke geblokkeerd zijn"
519
 
520
- #: libs/blockcountry-settings.php:916
521
  msgid "Top URLs that are blocked"
522
  msgstr "Top URLs welke geblokkeerd zijn"
523
 
524
- #: libs/blockcountry-settings.php:945
 
 
 
 
 
 
 
 
 
 
 
 
525
  msgid "Home"
526
  msgstr "Home"
527
 
528
- #: libs/blockcountry-settings.php:948
529
  msgid "Pages"
530
  msgstr "Pagina's"
531
 
532
- #: libs/blockcountry-settings.php:949
533
  msgid "Categories"
534
  msgstr "Categorieen"
535
 
536
- #: libs/blockcountry-settings.php:950
537
  msgid "Search Engines"
538
  msgstr "Zoek machines"
539
 
540
- #: libs/blockcountry-settings.php:951
541
  msgid "Tools"
542
  msgstr "Gereedschap"
543
 
544
- #: libs/blockcountry-settings.php:952
545
  msgid "Logging"
546
  msgstr "Statistieken"
547
 
548
- #: libs/blockcountry-settings.php:953
549
  msgid "Import/Export"
550
  msgstr "Importeren/Exporteren"
551
 
552
- #: libs/blockcountry-settings.php:1007
553
  msgid "GeoIP database does not exists. Trying to download it..."
554
  msgstr "GeoIP database bestaat niet. Probeer om nieuwe versie te downloaden"
555
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: iQ Block Country\n"
4
+ "POT-Creation-Date: 2014-12-22 21:40+0100\n"
5
+ "PO-Revision-Date: 2014-12-22 21:43+0100\n"
6
  "Last-Translator: Pascal <pascal@redeo.nl>\n"
7
  "Language-Team: iQ Block Country <info@redeo.nl>\n"
8
  "Language: Dutch\n"
15
  "X-Poedit-SearchPath-0: libs\n"
16
  "X-Poedit-SearchPath-1: .\n"
17
 
18
+ #: libs/blockcountry-settings.php:136
19
  msgid ""
20
  "Check which country belongs to an IP Address according to the current "
21
  "database."
22
  msgstr ""
23
  "Controleer welk land behoort tot een IP adres volgens de huidige database."
24
 
25
+ #: libs/blockcountry-settings.php:140
26
  msgid "IP Address to check:"
27
  msgstr "IP adres om te controleren:"
28
 
29
+ #: libs/blockcountry-settings.php:150
30
  msgid "No country for"
31
  msgstr "Geen land voor"
32
 
33
+ #: libs/blockcountry-settings.php:150
34
  msgid "could be found. Or"
35
  msgstr "gevonden. Of"
36
 
37
+ #: libs/blockcountry-settings.php:150
38
  msgid "is not a valid IPv4 or IPv6 IP address"
39
  msgstr "is geen valide IPv4 of IPv6 ip adres."
40
 
41
+ #: libs/blockcountry-settings.php:155
42
  msgid "IP Adress"
43
  msgstr "IP Adres"
44
 
45
+ #: libs/blockcountry-settings.php:155
46
  msgid "belongs to"
47
  msgstr "behoort tot"
48
 
49
+ #: libs/blockcountry-settings.php:158
50
  msgid "This country is not permitted to visit the frontend of this website."
51
  msgstr ""
52
  "Dit land wordt niet toegestaan om de voorkant van deze website te bezoeken."
53
 
54
+ #: libs/blockcountry-settings.php:163
55
  msgid "This country is not permitted to visit the backend of this website."
56
  msgstr ""
57
  "Dit land wordt niet toegestaan om de achterkant van deze website te bezoeken."
58
 
59
+ #: libs/blockcountry-settings.php:168
60
  msgid "This ip is present in the blacklist."
61
  msgstr "Dit ip adres staat op de zwarte lijst"
62
 
63
+ #: libs/blockcountry-settings.php:173
64
  msgid "Check IP address"
65
  msgstr "Controleer IP adres"
66
 
67
+ #: libs/blockcountry-settings.php:179
68
  msgid "Download GeoIP database"
69
  msgstr "Download GeoIP database"
70
 
71
+ #: libs/blockcountry-settings.php:187
72
  msgid "Automatic update is not setup. Last update: "
73
  msgstr "Automatisch updaten is niet geconfigureerd. Laatste update:"
74
 
75
+ #: libs/blockcountry-settings.php:192
76
  msgid "The GeoIP database is updated once a month. Last update: "
77
  msgstr ""
78
  "De GeoIP database wordt eenmaal per maand bijgewerkt. Laatste keer "
79
  "bijgewerkt:"
80
 
81
+ #: libs/blockcountry-settings.php:194
82
  msgid "If you need a manual update please press buttons below to update."
83
  msgstr "Indien je handmatig wilt bijwerken druk je op de knoppen hier beneden."
84
 
85
+ #: libs/blockcountry-settings.php:200
86
  msgid "Download new GeoIP IPv4 Database"
87
  msgstr "Download nieuwe GeoIP IPv4 database"
88
 
89
+ #: libs/blockcountry-settings.php:207
90
  msgid "Download new GeoIP IPv6 Database"
91
  msgstr "Download nieuwe GeoIP IPv6 database"
92
 
93
+ #: libs/blockcountry-settings.php:212 libs/blockcountry-settings.php:216
94
  msgid "Downloading..."
95
  msgstr "Downloading..."
96
 
97
+ #: libs/blockcountry-settings.php:222
98
  msgid "Active plugins"
99
  msgstr "Actieve plugins"
100
 
101
+ #: libs/blockcountry-settings.php:229
102
  msgid "Plugin name"
103
  msgstr "Plugin naam"
104
 
105
+ #: libs/blockcountry-settings.php:229
106
  msgid "Version"
107
  msgstr "Versie"
108
 
109
+ #: libs/blockcountry-settings.php:229 libs/blockcountry-settings.php:943
110
+ #: libs/blockcountry-settings.php:986
111
  msgid "URL"
112
  msgstr "URL"
113
 
114
+ #: libs/blockcountry-settings.php:254
115
  msgid "Export"
116
  msgstr "Exporteren"
117
 
118
+ #: libs/blockcountry-settings.php:255
119
  msgid ""
120
  "When you click on <tt>Backup all settings</tt> button a backup of the iQ "
121
  "Block Country configuration will be created."
123
  "Wanneer je klikt op de <tt>Backup alle instellingen</tt> knop zal een backup "
124
  "van alle iQ Block Country instellingen worden gecreerd."
125
 
126
+ #: libs/blockcountry-settings.php:256
127
  msgid ""
128
  "After exporting, you can either use the backup file to restore your settings "
129
  "on this site again or copy the settings to another WordPress site."
132
  "te herstellen of je kunt het bestand gebruiken om je instellingen naar een "
133
  "andere WordPress site te exporteren."
134
 
135
+ #: libs/blockcountry-settings.php:260
136
  msgid "Backup all settings"
137
  msgstr "Backup alle instellingen"
138
 
139
+ #: libs/blockcountry-settings.php:267
140
  msgid "Import"
141
  msgstr "Importeer"
142
 
143
+ #: libs/blockcountry-settings.php:268
144
  msgid "Click the browse button and choose a zip file that you exported before."
145
  msgstr ""
146
  "Klik op de Browse button and selecteer een zip file welke je eerder hebt "
147
  "geexporteerd."
148
 
149
+ #: libs/blockcountry-settings.php:269
150
  msgid "Press Restore settings button, and let WordPress do the magic for you."
151
  msgstr ""
152
  "Druk op de herstel instellingen knop en laat WordPress haar magie voor je "
153
  "doen."
154
 
155
+ #: libs/blockcountry-settings.php:274
156
  msgid "Restore settings"
157
  msgstr "Herstel instellingen"
158
 
159
+ #: libs/blockcountry-settings.php:297 libs/blockcountry-settings.php:300
160
+ #: libs/blockcountry-settings.php:309
161
  msgid "Something went wrong exporting this file"
162
  msgstr "Er is iets verkeerd gegaan met het exporteren van het bestand."
163
 
164
+ #: libs/blockcountry-settings.php:312
165
  msgid "Exporting settings..."
166
  msgstr "Exporteer instellingen"
167
 
168
+ #: libs/blockcountry-settings.php:327
169
  msgid "Something went wrong importing this file"
170
  msgstr "Er is iets verkeerd gegaan met het importeren van dit bestand"
171
 
172
+ #: libs/blockcountry-settings.php:344
173
  msgid "All options are restored successfully."
174
  msgstr "Alle opties zijn succesvol hersteld"
175
 
176
+ #: libs/blockcountry-settings.php:347
177
  msgid "Invalid file."
178
  msgstr "Ongeldig bestand"
179
 
180
+ #: libs/blockcountry-settings.php:352
181
  msgid "No correct import or export option given."
182
  msgstr "Geen correcte importeer of exporteer optie gegeven."
183
 
184
+ #: libs/blockcountry-settings.php:361
185
  msgid "Select which pages are blocked."
186
  msgstr "Selecteer welke pagina's geblokkeerd worden."
187
 
188
+ #: libs/blockcountry-settings.php:368
189
  msgid "Do you want to block individual pages:"
190
  msgstr "Wil je individuele pagina's blokkeren:"
191
 
192
+ #: libs/blockcountry-settings.php:369
193
  msgid "If you do not select this option all pages will be blocked."
194
  msgstr "Indien je deze optie niet selecteert worden alle pagina's geblokkeerd."
195
 
196
+ #: libs/blockcountry-settings.php:374
197
  msgid "Select pages you want to block:"
198
  msgstr "Selecteer welke pagina's je wil blokkeren."
199
 
200
+ #: libs/blockcountry-settings.php:396 libs/blockcountry-settings.php:450
201
+ #: libs/blockcountry-settings.php:493 libs/blockcountry-settings.php:614
202
+ #: libs/blockcountry-settings.php:738 libs/blockcountry-settings.php:911
203
  msgid "Save Changes"
204
  msgstr "Bewaar wijzigingen"
205
 
206
+ #: libs/blockcountry-settings.php:409
207
  msgid "Select which categories are blocked."
208
  msgstr "Selecteer welke categorieen geblokkeerd worden."
209
 
210
+ #: libs/blockcountry-settings.php:416
211
  msgid "Do you want to block individual categories:"
212
  msgstr "Wil je individuele categorieen blokkeren:"
213
 
214
+ #: libs/blockcountry-settings.php:417
215
  msgid "If you do not select this option all blog articles will be blocked."
216
  msgstr ""
217
  "Indien je deze optie niet selecteert worden alle blog artikelen geblokkeerd."
218
 
219
+ #: libs/blockcountry-settings.php:422
220
  msgid "Do you want to block the homepage:"
221
  msgstr "Wil je je homepage blokkeren:"
222
 
223
+ #: libs/blockcountry-settings.php:423
224
  msgid ""
225
  "If you do not select this option visitors will not be blocked from your "
226
  "homepage regardless of the categories you select."
229
  "geblokkeerd van het bezoeken van je homepagina ongeacht welke categorieen je "
230
  "selecteert."
231
 
232
+ #: libs/blockcountry-settings.php:428
233
  msgid "Select categories you want to block:"
234
  msgstr "Selecteer welke categorieen je wil blokkeren."
235
 
236
+ #: libs/blockcountry-settings.php:463
237
  msgid "Select which search engines are allowed."
238
  msgstr "Selecteer welke zoek machines je wilt toestaan."
239
 
240
+ #: libs/blockcountry-settings.php:470
241
  msgid "Select which search engines you want to allow:"
242
  msgstr "Selecteer welke zoek machines je wilt toestaan:"
243
 
244
+ #: libs/blockcountry-settings.php:471
245
  msgid ""
246
  "This will allow a search engine to your site despite if you blocked the "
247
  "country."
249
  "Deze optie staat het toe dat zoekmachines je site bezoeken ondanks dat ze "
250
  "uit een land komen welk geblokkeerd is."
251
 
252
+ #: libs/blockcountry-settings.php:508
253
  msgid "Frontend options"
254
  msgstr "Voorkant opties"
255
 
256
+ #: libs/blockcountry-settings.php:543
257
  msgid ""
258
  "Do not block visitors that are logged in from visiting frontend website:"
259
  msgstr ""
260
  "Blokkeer geen bezoekers welke ingelogd zijn van het bezoeken van de voorkant:"
261
 
262
+ #: libs/blockcountry-settings.php:549
263
  msgid "Block visitors from visiting the frontend of your website:"
264
  msgstr "Blokkeer bezoekers van het bezoeken van de voorkant van je website:"
265
 
266
+ #: libs/blockcountry-settings.php:555
267
  msgid ""
268
  "Select the countries that should be blocked from visiting your frontend:"
269
  msgstr ""
270
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
271
  "voorkant van je website:"
272
 
273
+ #: libs/blockcountry-settings.php:556
274
  msgid "Use the CTRL key to select multiple countries"
275
  msgstr "Gebruik de CTRL toets om meerdere landen te selecteren"
276
 
277
+ #: libs/blockcountry-settings.php:597
278
  msgid "Frontend whitelist IPv4 and/or IPv6 addresses:"
279
  msgstr ""
280
  "Whitelist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
281
 
282
+ #: libs/blockcountry-settings.php:597 libs/blockcountry-settings.php:605
283
+ #: libs/blockcountry-settings.php:721 libs/blockcountry-settings.php:729
284
  msgid "Use a semicolon (;) to separate IP addresses"
285
  msgstr "Gebruik een puntkomma (;) om adressen van elkaar te scheiden"
286
 
287
+ #: libs/blockcountry-settings.php:605
288
  msgid "Frontend blacklist IPv4 and/or IPv6 addresses:"
289
  msgstr ""
290
  "Blacklist van IPv4 of IPv6 IP adressen voor de voorkant van je website:"
291
 
292
+ #: libs/blockcountry-settings.php:634
293
  msgid "Backend Options"
294
  msgstr "Achterkant opties"
295
 
296
+ #: libs/blockcountry-settings.php:668
297
  msgid ""
298
  "Block visitors from visiting the backend (administrator) of your website:"
299
  msgstr ""
300
  "Blokkeer bezoekers van het bezoeken van de achterkant (administratie "
301
  "gedeelte) van je website:"
302
 
303
+ #: libs/blockcountry-settings.php:676
304
  msgid "Your IP address is"
305
  msgstr "Je IP adres is"
306
 
307
+ #: libs/blockcountry-settings.php:676
308
  msgid "The country that is listed for this IP address is"
309
  msgstr "Het land waar dit adres toe behoort is"
310
 
311
+ #: libs/blockcountry-settings.php:677
312
  msgid ""
313
  "Do <strong>NOT</strong> set the 'Block visitors from visiting the backend "
314
  "(administrator) of your website' and also select"
316
  "Selecteer <strong>NIET</strong> \"Blokkeer bezoekers van het bezoeken van de "
317
  "achterkant (administratie gedeelte) van je website\" en"
318
 
319
+ #: libs/blockcountry-settings.php:677
320
  msgid "below."
321
  msgstr "hier beneden."
322
 
323
+ #: libs/blockcountry-settings.php:678
324
  msgid ""
325
  "You will NOT be able to login the next time if you DO block your own country "
326
  "from visiting the backend."
328
  "Het zal daarna niet meer mogelijk zijn om nog in te loggen als je je eigen "
329
  "land blokkeert van het bezoeken van de achterkant van je website."
330
 
331
+ #: libs/blockcountry-settings.php:683
332
  msgid "Select the countries that should be blocked from visiting your backend:"
333
  msgstr ""
334
  "Selecteer de landen welke geblokkeerd moeten worden voor het bezoeken van de "
335
  "achterkant (administratie gedeelte) van je website:"
336
 
337
+ #: libs/blockcountry-settings.php:684
338
  msgid "Use the x behind the country to remove a country from this blocklist."
339
  msgstr ""
340
  "Gebruik de x achter een land om het land te verwijderen uit deze lijst."
341
 
342
+ #: libs/blockcountry-settings.php:721
343
  msgid "Backend whitelist IPv4 and/or IPv6 addresses:"
344
  msgstr ""
345
  "Whitelist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
346
 
347
+ #: libs/blockcountry-settings.php:729
348
  msgid "Backend blacklist IPv4 and/or IPv6 addresses:"
349
  msgstr ""
350
  "Blacklist van IPv4 of IPv6 IP adressen voor de achterkant van je website:"
351
 
352
+ #: libs/blockcountry-settings.php:759
353
  msgid "Overall statistics since start"
354
  msgstr "Statistieken sinds het begin"
355
 
356
+ #: libs/blockcountry-settings.php:762
357
  msgid "visitors blocked from the backend."
358
  msgstr "bezoekers geblokkeerd op de achterkant."
359
 
360
+ #: libs/blockcountry-settings.php:764
361
  msgid "visitors blocked from the frontend."
362
  msgstr "bezoekers geblokkeerd op de voorkant."
363
 
364
+ #: libs/blockcountry-settings.php:768
365
  msgid "Basic Options"
366
  msgstr "Standaard opties"
367
 
368
+ #: libs/blockcountry-settings.php:803
369
  msgid "Message to display when people are blocked:"
370
  msgstr "Welk bericht wil je tonen aan bezoekers welke geblokkeerd worden:"
371
 
372
+ #: libs/blockcountry-settings.php:813
373
  msgid "Page to redirect to:"
374
  msgstr "Naar welke pagina wilt u bezoekers toesturen:"
375
 
376
+ #: libs/blockcountry-settings.php:814
377
  msgid ""
378
  "If you select a page here blocked visitors will be redirected to this page "
379
  "instead of displaying above block message."
382
  "doorgestuurd naar deze pagina anders wordt bovestaande tekst getoond aan "
383
  "bezoekers."
384
 
385
+ #: libs/blockcountry-settings.php:820
386
  msgid "Choose a page..."
387
  msgstr "Kies een pagina..."
388
 
389
+ #: libs/blockcountry-settings.php:835
390
  msgid "Send headers when user is blocked:"
391
  msgstr "Stuur headers wanneer een gebruiker is geblokkeerd:"
392
 
393
+ #: libs/blockcountry-settings.php:836
394
  msgid ""
395
  "Under normal circumstances you should keep this selected! Only if you have "
396
  "\"Cannot modify header information - headers already sent\" errors or if you "
400
  "deze alleen indien je \"Cannot modify header information - headers already "
401
  "sent\" foutmeldingen krijgt of indien je weet wat je doet."
402
 
403
+ #: libs/blockcountry-settings.php:842
404
  msgid "Buffer output?:"
405
  msgstr "Buffer output?"
406
 
407
+ #: libs/blockcountry-settings.php:843
408
  msgid ""
409
  "You can use this option to buffer all output. This can be helpful in case "
410
  "you have \"headers already sent\" issues."
412
  "Je kunt deze optie gebruiken om alle output te bufferen. Dit kan helpen "
413
  "indien je \"headers already sent\" problemen hebt."
414
 
415
+ #: libs/blockcountry-settings.php:849
416
+ msgid "Do not log IP addresses:"
417
+ msgstr "Log geen IP adressen"
418
+
419
+ #: libs/blockcountry-settings.php:850
420
+ msgid ""
421
+ "Check this box if the laws in your country do not permit you to log IP "
422
+ "addresses or if you do not want to log the ip addresses."
423
+ msgstr ""
424
+ "Selecteer deze optie indien de wetten in jouw land je niet toestaan om IP "
425
+ "adressen vast te leggen of indien je zelf deze informatie niet wilt "
426
+ "vastleggen."
427
+
428
+ #: libs/blockcountry-settings.php:857
429
  msgid "Number of rows on statistics page:"
430
  msgstr "Aantal regels op de statistieken pagina:"
431
 
432
+ #: libs/blockcountry-settings.php:858
433
  msgid "How many rows do you want to display on each tab the statistics page."
434
  msgstr "Hoeveel regels wil je tonen op de statistieken pagina."
435
 
436
+ #: libs/blockcountry-settings.php:873
437
  msgid "Allow tracking:"
438
  msgstr "Sta traceren toe:"
439
 
440
+ #: libs/blockcountry-settings.php:874
441
  msgid ""
442
  "This sends only the IP address and the number of attempts this ip address "
443
  "tried to login to your backend and was blocked doing so to a central server. "
450
  "ons om beter inzicht te krijgen in de landen waarvandaan een hoop hack "
451
  "pogingen worden gedaan. "
452
 
453
+ #: libs/blockcountry-settings.php:880
454
  msgid "API Key:"
455
  msgstr "API Key:"
456
 
457
+ #: libs/blockcountry-settings.php:881
458
+ msgid ""
459
+ "This is an experimantal feature. You do not need an API key for this plugin "
460
+ "to work."
461
+ msgstr ""
462
+ "Dit is een experimentele optie. Je hebt geen API key nodig om deze plugin te "
463
+ "laten werken."
464
+
465
+ #: libs/blockcountry-settings.php:888
466
  msgid "Log all visits to the backend:"
467
  msgstr "Log alle bezoekers op de achterkant:"
468
 
469
+ #: libs/blockcountry-settings.php:889
470
  msgid ""
471
  "This logs all visits to the backend despite if they are blocked or not. This "
472
  "is mainly for debugging purposes."
474
  "Dit logt alle bezoeken aan de achterkant ongeacht of de bezoeker werd "
475
  "geblokkeerd of niet. Dit is voornamelijk bedoeld voor fout opsporing."
476
 
477
+ #: libs/blockcountry-settings.php:896
478
  msgid "Auto update GeoIP Database:"
479
  msgstr "Automatisch updaten GeoIP Database:"
480
 
481
+ #: libs/blockcountry-settings.php:897
482
  msgid ""
483
  "Selecting this makes sure that the GeoIP database is downloaded once a month."
484
  msgstr ""
485
  "Deze optie selecteren zorgt er voor dat de GeoIP Database automatisch "
486
  "maandelijks wordt bijgewerkt."
487
 
488
+ #: libs/blockcountry-settings.php:903
489
+ msgid "Accessibility options:"
490
+ msgstr "Toegankelijkheids opties:"
491
+
492
+ #: libs/blockcountry-settings.php:904
493
+ msgid "Set this option if you cannot use the default country selection box."
494
+ msgstr ""
495
+ "Selecteer deze optie indien je de landen standaard selectie methode niet "
496
+ "kunt gebruiken. "
497
+
498
+ #: libs/blockcountry-settings.php:929
499
  msgid "Last blocked visits"
500
  msgstr "Laatste geblokkeerde bezoekers"
501
 
502
+ #: libs/blockcountry-settings.php:943
503
  msgid "Date / Time"
504
  msgstr "Datum / Tijd"
505
 
506
+ #: libs/blockcountry-settings.php:943 libs/blockcountry-settings.php:975
507
  msgid "IP Address"
508
  msgstr "IP adres"
509
 
510
+ #: libs/blockcountry-settings.php:943 libs/blockcountry-settings.php:975
511
  msgid "Hostname"
512
  msgstr "Hostnaam"
513
 
514
+ #: libs/blockcountry-settings.php:943 libs/blockcountry-settings.php:962
515
  msgid "Country"
516
  msgstr "Land"
517
 
518
+ #: libs/blockcountry-settings.php:943
519
  msgid "Frontend/Backend"
520
  msgstr "Voorkant/Achterkant"
521
 
522
+ #: libs/blockcountry-settings.php:953 libs/blockcountry-settings.php:1037
523
  msgid "Frontend"
524
  msgstr "Voorkant"
525
 
526
+ #: libs/blockcountry-settings.php:953
527
  msgid "Backend banlist"
528
  msgstr "Achterkant banlist"
529
 
530
+ #: libs/blockcountry-settings.php:953
531
  msgid "Backend & Backend banlist"
532
  msgstr "Achterkant & Achterkant banlist"
533
 
534
+ #: libs/blockcountry-settings.php:953 libs/blockcountry-settings.php:1038
535
  msgid "Backend"
536
  msgstr "Achterkant"
537
 
538
+ #: libs/blockcountry-settings.php:960
539
  msgid "Top countries that are blocked"
540
  msgstr "Top landen welke zijn geblokkeerd"
541
 
542
+ #: libs/blockcountry-settings.php:962 libs/blockcountry-settings.php:975
543
+ #: libs/blockcountry-settings.php:986
544
  msgid "# of blocked attempts"
545
  msgstr "# of geblokkeerde pogingen"
546
 
547
+ #: libs/blockcountry-settings.php:973
548
  msgid "Top hosts that are blocked"
549
  msgstr "Top hosts welke geblokkeerd zijn"
550
 
551
+ #: libs/blockcountry-settings.php:984
552
  msgid "Top URLs that are blocked"
553
  msgstr "Top URLs welke geblokkeerd zijn"
554
 
555
+ #: libs/blockcountry-settings.php:998
556
+ msgid "Clear database"
557
+ msgstr "Leeg database"
558
+
559
+ #: libs/blockcountry-settings.php:1014
560
+ msgid ""
561
+ "You are not logging any information. Please uncheck the option 'Do not log "
562
+ "IP addresses' if this is not what you want."
563
+ msgstr ""
564
+ "Je logt geen informatie. Deselecteer alstublieft de optie 'Log geen IP "
565
+ "adressen' indien dit niet is wat je wilt."
566
+
567
+ #: libs/blockcountry-settings.php:1036
568
  msgid "Home"
569
  msgstr "Home"
570
 
571
+ #: libs/blockcountry-settings.php:1039
572
  msgid "Pages"
573
  msgstr "Pagina's"
574
 
575
+ #: libs/blockcountry-settings.php:1040
576
  msgid "Categories"
577
  msgstr "Categorieen"
578
 
579
+ #: libs/blockcountry-settings.php:1041
580
  msgid "Search Engines"
581
  msgstr "Zoek machines"
582
 
583
+ #: libs/blockcountry-settings.php:1042
584
  msgid "Tools"
585
  msgstr "Gereedschap"
586
 
587
+ #: libs/blockcountry-settings.php:1043
588
  msgid "Logging"
589
  msgstr "Statistieken"
590
 
591
+ #: libs/blockcountry-settings.php:1044
592
  msgid "Import/Export"
593
  msgstr "Importeren/Exporteren"
594
 
595
+ #: libs/blockcountry-settings.php:1098
596
  msgid "GeoIP database does not exists. Trying to download it..."
597
  msgstr "GeoIP database bestaat niet. Probeer om nieuwe versie te downloaden"
598
 
libs/blockcountry-checks.php CHANGED
@@ -289,6 +289,8 @@ function iqblockcountry_CheckCountry() {
289
  $blocked++;
290
  update_option('blockcountry_backendnrblocks', $blocked);
291
  global $apiblacklist,$backendblacklistcheck;
 
 
292
  if (!$apiblacklist)
293
  {
294
  iqblockcountry_logging($ip_address, $country, "B");
@@ -301,6 +303,8 @@ function iqblockcountry_CheckCountry() {
301
  {
302
  iqblockcountry_logging($ip_address, $country, "A");
303
  }
 
 
304
  }
305
  else
306
  {
@@ -308,7 +312,10 @@ function iqblockcountry_CheckCountry() {
308
  if (empty($blocked)) { $blocked = 0; }
309
  $blocked++;
310
  update_option('blockcountry_frontendnrblocks', $blocked);
311
- iqblockcountry_logging($ip_address, $country, "F");
 
 
 
312
  }
313
 
314
  exit ();
289
  $blocked++;
290
  update_option('blockcountry_backendnrblocks', $blocked);
291
  global $apiblacklist,$backendblacklistcheck;
292
+ if (!get_option('blockcountry_logging'))
293
+ {
294
  if (!$apiblacklist)
295
  {
296
  iqblockcountry_logging($ip_address, $country, "B");
303
  {
304
  iqblockcountry_logging($ip_address, $country, "A");
305
  }
306
+ }
307
+ //
308
  }
309
  else
310
  {
312
  if (empty($blocked)) { $blocked = 0; }
313
  $blocked++;
314
  update_option('blockcountry_frontendnrblocks', $blocked);
315
+ if (!get_option('blockcountry_logging'))
316
+ {
317
+ iqblockcountry_logging($ip_address, $country, "F");
318
+ }
319
  }
320
 
321
  exit ();
libs/blockcountry-settings.php CHANGED
@@ -27,6 +27,8 @@ function iqblockcountry_register_mysettings()
27
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_apikey');
28
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_backendlogging');
29
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_automaticupdate');
 
 
30
  register_setting ( 'iqblockcountry-settings-group-backend', 'blockcountry_blockbackend' );
31
  register_setting ( 'iqblockcountry-settings-group-backend', 'blockcountry_backendbanlist' );
32
  register_setting ( 'iqblockcountry-settings-group-backend', 'blockcountry_backendblacklist','iqblockcountry_validate_ip');
@@ -54,7 +56,7 @@ function iqblockcountry_get_options_arr() {
54
  'blockcountry_frontendblacklist','blockcountry_frontendwhitelist','blockcountry_blockmessage','blockcountry_blocklogin','blockcountry_blockfrontend',
55
  'blockcountry_blockbackend','blockcountry_header','blockcountry_blockpages','blockcountry_pages','blockcountry_blockcategories','blockcountry_categories',
56
  'blockcountry_tracking','blockcountry_blockhome','blockcountry_nrstatistics','blockcountry_apikey','blockcountry_redirect','blockcountry_allowse',
57
- 'blockcountry_backendlogging','blockcountry_automaticupdate','blockcountry_buffer');
58
  return apply_filters( 'iqblockcountry_options', $optarr );
59
  }
60
 
@@ -123,6 +125,8 @@ function iqblockcountry_uninstall() //deletes all the database entries that the
123
  delete_option('blockcountry_backendlogging');
124
  delete_option('blockcountry_automaticupdate');
125
  delete_option('blockcountry_buffer');
 
 
126
  }
127
 
128
 
@@ -551,9 +555,32 @@ function iqblockcountry_settings_frontend()
551
  <th scope="row" width="30%"><?php _e('Select the countries that should be blocked from visiting your frontend:', 'iqblockcountry'); ?><br />
552
  <?php _e('Use the CTRL key to select multiple countries', 'iqblockcountry'); ?></th>
553
  <td width="70%">
554
- <select class="chosen" name="blockcountry_banlist[]" multiple="true" style="width:600px;">
555
- <?php
556
- $haystack = get_option('blockcountry_banlist');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
557
  foreach ( $countrylist as $key => $value ) {
558
  print "<option value=\"$key\"";
559
  if (is_array($haystack) && in_array ( $key, $haystack )) {
@@ -561,8 +588,10 @@ function iqblockcountry_settings_frontend()
561
  }
562
  print ">$value</option>\n";
563
  }
564
- ?>
565
- </select>
 
 
566
  </td></tr>
567
  <tr valign="top">
568
  <th width="30%"><?php _e('Frontend whitelist IPv4 and/or IPv6 addresses:', 'iqblockcountry'); ?><br /><?php _e('Use a semicolon (;) to separate IP addresses', 'iqblockcountry'); ?></th>
@@ -655,9 +684,27 @@ function iqblockcountry_settings_backend()
655
  <?php _e('Use the x behind the country to remove a country from this blocklist.', 'iqblockcountry'); ?></th>
656
  <td width="70%">
657
 
658
- <select class="chosen" name="blockcountry_backendbanlist[]" multiple="true" style="width:600px;">
659
  <?php
660
- $haystack = get_option ( 'blockcountry_backendbanlist' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
661
  foreach ( $countrylist as $key => $value ) {
662
  print "<option value=\"$key\"";
663
  if (is_array($haystack) && in_array ( $key, $haystack )) {
@@ -665,8 +712,10 @@ function iqblockcountry_settings_backend()
665
  }
666
  print ">$value</option>\n";
667
  }
 
 
668
  ?>
669
- </select>
670
  </td></tr>
671
  <tr valign="top">
672
  <th width="30%"><?php _e('Backend whitelist IPv4 and/or IPv6 addresses:', 'iqblockcountry'); ?><br /><?php _e('Use a semicolon (;) to separate IP addresses', 'iqblockcountry'); ?></th>
@@ -796,6 +845,14 @@ function iqblockcountry_settings_home()
796
  <input type="checkbox" name="blockcountry_buffer" <?php checked('on', get_option('blockcountry_buffer'), true); ?> />
797
  </td></tr>
798
 
 
 
 
 
 
 
 
 
799
  <tr valign="top">
800
  <th width="30%"><?php _e('Number of rows on statistics page:', 'iqblockcountry'); ?><br />
801
  <em><?php _e('How many rows do you want to display on each tab the statistics page.', 'iqblockcountry'); ?></em></th>
@@ -820,7 +877,9 @@ function iqblockcountry_settings_home()
820
  </td></tr>
821
 
822
  <tr valign="top">
823
- <th width="30%"><?php _e('API Key:', 'iqblockcountry'); ?></th>
 
 
824
  <td width="70%">
825
  <input type="text" size="25" name="blockcountry_apikey" value="<?php echo get_option ( 'blockcountry_apikey' );?>">
826
  </td></tr>
@@ -832,15 +891,20 @@ function iqblockcountry_settings_home()
832
  <input type="checkbox" name="blockcountry_backendlogging" <?php checked('on', get_option('blockcountry_backendlogging'), true); ?> />
833
  </td></tr>
834
  -->
 
835
  <tr valign="top">
836
  <th width="30%"><?php _e('Auto update GeoIP Database:', 'iqblockcountry'); ?><br />
837
  <em><?php _e('Selecting this makes sure that the GeoIP database is downloaded once a month.', 'iqblockcountry'); ?></em></th>
838
  <td width="70%">
839
  <input type="checkbox" name="blockcountry_automaticupdate" <?php checked('on', get_option('blockcountry_automaticupdate'), true); ?> />
840
  </td></tr>
841
-
842
-
843
-
 
 
 
 
844
 
845
  <tr><td></td><td>
846
  <p class="submit"><input type="submit" class="button-primary"
@@ -864,6 +928,10 @@ function iqblockcountry_settings_logging()
864
  ?>
865
  <h3><?php _e('Last blocked visits', 'iqblockcountry'); ?></h3>
866
  <?php
 
 
 
 
867
  global $wpdb;
868
 
869
  $table_name = $wpdb->prefix . "iqblock_logging";
@@ -923,6 +991,29 @@ function iqblockcountry_settings_logging()
923
  }
924
  echo '</table>';
925
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
926
  }
927
 
928
 
27
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_apikey');
28
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_backendlogging');
29
  register_setting ( 'iqblockcountry-settings-group', 'blockcountry_automaticupdate');
30
+ register_setting ( 'iqblockcountry-settings-group', 'blockcountry_accessibility');
31
+ register_setting ( 'iqblockcountry-settings-group', 'blockcountry_logging');
32
  register_setting ( 'iqblockcountry-settings-group-backend', 'blockcountry_blockbackend' );
33
  register_setting ( 'iqblockcountry-settings-group-backend', 'blockcountry_backendbanlist' );
34
  register_setting ( 'iqblockcountry-settings-group-backend', 'blockcountry_backendblacklist','iqblockcountry_validate_ip');
56
  'blockcountry_frontendblacklist','blockcountry_frontendwhitelist','blockcountry_blockmessage','blockcountry_blocklogin','blockcountry_blockfrontend',
57
  'blockcountry_blockbackend','blockcountry_header','blockcountry_blockpages','blockcountry_pages','blockcountry_blockcategories','blockcountry_categories',
58
  'blockcountry_tracking','blockcountry_blockhome','blockcountry_nrstatistics','blockcountry_apikey','blockcountry_redirect','blockcountry_allowse',
59
+ 'blockcountry_backendlogging','blockcountry_automaticupdate','blockcountry_buffer','blockcountry_accessibility','blockcountry_logging');
60
  return apply_filters( 'iqblockcountry_options', $optarr );
61
  }
62
 
125
  delete_option('blockcountry_backendlogging');
126
  delete_option('blockcountry_automaticupdate');
127
  delete_option('blockcountry_buffer');
128
+ delete_option('blockcountry_accessibility');
129
+ delete_option('blockcountry_logging');
130
  }
131
 
132
 
555
  <th scope="row" width="30%"><?php _e('Select the countries that should be blocked from visiting your frontend:', 'iqblockcountry'); ?><br />
556
  <?php _e('Use the CTRL key to select multiple countries', 'iqblockcountry'); ?></th>
557
  <td width="70%">
558
+
559
+
560
+
561
+
562
+
563
+ <?php
564
+ $selected = "";
565
+ $haystack = get_option('blockcountry_banlist');
566
+
567
+ if (get_option('blockcountry_accessibility'))
568
+ {
569
+ echo "<ul>";
570
+ foreach ( $countrylist as $key => $value ) {
571
+ if (is_array($haystack) && in_array ( $key, $haystack )) {
572
+ $selected = " checked=\"checked\"";
573
+ } else {
574
+ $selected = "";
575
+ }
576
+ echo "<li><input type=\"checkbox\" " . $selected . " name=\"blockcountry_banlist[]\" value=\"" . $key . "\" \"/> <label for=\"" . $value . "\">" . $value . "</label></li>";
577
+ }
578
+ echo "</ul>";
579
+ }
580
+ else
581
+ {
582
+ ?> <select class="chosen" name="blockcountry_banlist[]" multiple="true" style="width:600px;">
583
+ <?php
584
  foreach ( $countrylist as $key => $value ) {
585
  print "<option value=\"$key\"";
586
  if (is_array($haystack) && in_array ( $key, $haystack )) {
588
  }
589
  print ">$value</option>\n";
590
  }
591
+ echo " </select>";
592
+ }
593
+
594
+ ?>
595
  </td></tr>
596
  <tr valign="top">
597
  <th width="30%"><?php _e('Frontend whitelist IPv4 and/or IPv6 addresses:', 'iqblockcountry'); ?><br /><?php _e('Use a semicolon (;) to separate IP addresses', 'iqblockcountry'); ?></th>
684
  <?php _e('Use the x behind the country to remove a country from this blocklist.', 'iqblockcountry'); ?></th>
685
  <td width="70%">
686
 
 
687
  <?php
688
+ $selected = "";
689
+ $haystack = get_option ( 'blockcountry_backendbanlist' );
690
+
691
+ if (get_option('blockcountry_accessibility'))
692
+ {
693
+ echo "<ul>";
694
+ foreach ( $countrylist as $key => $value ) {
695
+ if (is_array($haystack) && in_array ( $key, $haystack )) {
696
+ $selected = " checked=\"checked\"";
697
+ } else {
698
+ $selected = "";
699
+ }
700
+ echo "<li><input type=\"checkbox\" " . $selected . " name=\"blockcountry_backendbanlist[]\" value=\"" . $key . "\" \"/> <label for=\"" . $value . "\">" . $value . "</label></li>";
701
+ }
702
+ echo "</ul>";
703
+ }
704
+ else
705
+ {
706
+ ?> <select class="chosen" name="blockcountry_backendbanlist[]" multiple="true" style="width:600px;">
707
+ <?php
708
  foreach ( $countrylist as $key => $value ) {
709
  print "<option value=\"$key\"";
710
  if (is_array($haystack) && in_array ( $key, $haystack )) {
712
  }
713
  print ">$value</option>\n";
714
  }
715
+ echo " </select>";
716
+ }
717
  ?>
718
+
719
  </td></tr>
720
  <tr valign="top">
721
  <th width="30%"><?php _e('Backend whitelist IPv4 and/or IPv6 addresses:', 'iqblockcountry'); ?><br /><?php _e('Use a semicolon (;) to separate IP addresses', 'iqblockcountry'); ?></th>
845
  <input type="checkbox" name="blockcountry_buffer" <?php checked('on', get_option('blockcountry_buffer'), true); ?> />
846
  </td></tr>
847
 
848
+ <tr valign="top">
849
+ <th width="30%"><?php _e('Do not log IP addresses:', 'iqblockcountry'); ?><br />
850
+ <em><?php _e('Check this box if the laws in your country do not permit you to log IP addresses or if you do not want to log the ip addresses.', 'iqblockcountry'); ?></em></th>
851
+ <td width="70%">
852
+ <input type="checkbox" name="blockcountry_logging" <?php checked('on', get_option('blockcountry_logging'), true); ?> />
853
+ </td></tr>
854
+
855
+
856
  <tr valign="top">
857
  <th width="30%"><?php _e('Number of rows on statistics page:', 'iqblockcountry'); ?><br />
858
  <em><?php _e('How many rows do you want to display on each tab the statistics page.', 'iqblockcountry'); ?></em></th>
877
  </td></tr>
878
 
879
  <tr valign="top">
880
+ <th width="30%"><?php _e('API Key:', 'iqblockcountry'); ?><br />
881
+ <em><?php _e('This is an experimantal feature. You do not need an API key for this plugin to work.', 'iqblockcountry'); ?></em></th>
882
+ </th>
883
  <td width="70%">
884
  <input type="text" size="25" name="blockcountry_apikey" value="<?php echo get_option ( 'blockcountry_apikey' );?>">
885
  </td></tr>
891
  <input type="checkbox" name="blockcountry_backendlogging" <?php checked('on', get_option('blockcountry_backendlogging'), true); ?> />
892
  </td></tr>
893
  -->
894
+
895
  <tr valign="top">
896
  <th width="30%"><?php _e('Auto update GeoIP Database:', 'iqblockcountry'); ?><br />
897
  <em><?php _e('Selecting this makes sure that the GeoIP database is downloaded once a month.', 'iqblockcountry'); ?></em></th>
898
  <td width="70%">
899
  <input type="checkbox" name="blockcountry_automaticupdate" <?php checked('on', get_option('blockcountry_automaticupdate'), true); ?> />
900
  </td></tr>
901
+
902
+ <tr valign="top">
903
+ <th width="30%"><?php _e('Accessibility options:', 'iqblockcountry'); ?><br />
904
+ <em><?php _e('Set this option if you cannot use the default country selection box.', 'iqblockcountry'); ?></em></th>
905
+ <td width="70%">
906
+ <input type="checkbox" name="blockcountry_accessibility" <?php checked('on', get_option('blockcountry_accessibility'), true); ?> />
907
+ </td></tr>
908
 
909
  <tr><td></td><td>
910
  <p class="submit"><input type="submit" class="button-primary"
928
  ?>
929
  <h3><?php _e('Last blocked visits', 'iqblockcountry'); ?></h3>
930
  <?php
931
+ if (!get_option('blockcountry_logging'))
932
+ {
933
+
934
+
935
  global $wpdb;
936
 
937
  $table_name = $wpdb->prefix . "iqblock_logging";
991
  }
992
  echo '</table>';
993
 
994
+ ?>
995
+ <form name="cleardatabase" action="#cleardatabase" method="post">
996
+ <input type="hidden" name="action" value="cleardatabase" />
997
+ <?php
998
+ echo '<div class="submit"><input type="submit" name="test" value="' . __( 'Clear database', 'iqblockcountry' ) . '" /></div>';
999
+ wp_nonce_field('iqblockcountry');
1000
+
1001
+ if ( isset($_POST['action']) && $_POST[ 'action' ] == 'cleardatabase') {
1002
+ global $wpdb;
1003
+ $table_name = $wpdb->prefix . "iqblock_logging";
1004
+ $sql = "TRUNCATE " . $table_name . ";";
1005
+ $wpdb->query($sql);
1006
+ echo mysql_error();
1007
+ echo "Cleared database";
1008
+
1009
+ }
1010
+ }
1011
+ else
1012
+ {
1013
+ echo "<hr><h3>";
1014
+ _e('You are not logging any information. Please uncheck the option \'Do not log IP addresses\' if this is not what you want.', 'iqblockcountry');
1015
+ echo "<hr></h3>";
1016
+ }
1017
  }
1018
 
1019
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: iqpascal
3
  Donate link: http://www.redeo.nl/plugins/donate
4
  Tags: spam, block, countries, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist
5
  Requires at least: 3.5.2
6
- Tested up to: 4.0
7
- Stable tag: 1.1.15
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -174,9 +174,18 @@ If this is viable in a future version this database can be used to block these r
174
 
175
  If storing or sharing an IP address is illegal in your country do not select this feature.
176
 
 
 
 
177
 
178
  == Changelog ==
179
 
 
 
 
 
 
 
180
  = 1.1.15 =
181
 
182
  * Bugfix: You can now set an option to buffer the output of the iQ Block Country plugin. If you use for instance NextGen Gallery you should not set this option as it will break uploading pictures to your gallery.
3
  Donate link: http://www.redeo.nl/plugins/donate
4
  Tags: spam, block, countries, country, comments, ban, geo, geo blocking, geo ip, block country, block countries, ban countries, ban country, blacklist, whitelist
5
  Requires at least: 3.5.2
6
+ Tested up to: 4.1
7
+ Stable tag: 1.1.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
174
 
175
  If storing or sharing an IP address is illegal in your country do not select this feature.
176
 
177
+ = The laws in my country do not allow storing IP addresses as it is personal information. =
178
+
179
+ You can select the option on the home tab "Do not log IP addresses" to stop iQ Block Country from logging IP addresses. This will however also break the statistics.
180
 
181
  == Changelog ==
182
 
183
+ = 1.1.16 =
184
+
185
+ * New: Accessibility option. You can now choose if you want the country default selectbox or an normal selectbox.
186
+ * New: New button to empty the logging database..
187
+ * New: You can now set the option to not log the ip addresses to the database. This does not influence the blocking process only the logging process. This can be handy if the laws in your country do not permit you to log this information or if you choose not to log this information
188
+
189
  = 1.1.15 =
190
 
191
  * Bugfix: You can now set an option to buffer the output of the iQ Block Country plugin. If you use for instance NextGen Gallery you should not set this option as it will break uploading pictures to your gallery.