WP Google Maps - Version 5.0

Version Description

  • Plugin now supports multiple maps on one page
  • Bicycle directions now added
  • Walking directions now added
  • "Avoid tolls" now added to the directions functionality
  • "Avoid highways" now added to directions functionality
  • New setting: open links in a new window
  • Added functionality to reset the default marker image if required.
Download this release

Release Info

Developer WPGMaps
Plugin Icon 128x128 WP Google Maps
Version 5.0
Comparing to
See all releases

Code changes from version 4.22 to 5.0

languages/wp-google-maps-nl_NL.mo ADDED
Binary file
languages/wp-google-maps-nl_NL.po ADDED
@@ -0,0 +1,508 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: \n"
6
+ "Last-Translator: Jurgen <jurgen@dwmarketing.com>\n"
7
+ "Language-Team: \n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=iso-8859-1\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+
12
+ #: wpGoogleMaps.php:882
13
+ msgid "Your settings have been saved."
14
+ msgstr "Uw instellingen zijn opgeslagen."
15
+
16
+ #: wpGoogleMaps.php:910
17
+ msgid "Your marker location has been saved."
18
+ msgstr "Uw markering is opgeslagen."
19
+
20
+ #: wpGoogleMaps.php:956
21
+ msgid "There was a problem deleting the map."
22
+ msgstr "Er was een probleem bij het verwijderen van de kaart."
23
+
24
+ #: wpGoogleMaps.php:960
25
+ msgid "Delete your map"
26
+ msgstr "Verwijder uw kaart"
27
+
28
+ #: wpGoogleMaps.php:960
29
+ msgid "Are you sure you want to delete the map"
30
+ msgstr "Weet u zeker dat u de kaart wilt verwijderen"
31
+
32
+ #: wpGoogleMaps.php:960
33
+ msgid "Yes"
34
+ msgstr "Ja"
35
+
36
+ #: wpGoogleMaps.php:960
37
+ msgid "No"
38
+ msgstr "Nee"
39
+
40
+ #: wpGoogleMaps.php:1005
41
+ #: wpGoogleMaps.php:1009
42
+ msgid "Your Maps"
43
+ msgstr "Uw kaarten"
44
+
45
+ #: wpGoogleMaps.php:1005
46
+ msgid "Add New"
47
+ msgstr "Voeg nieuwe kaart toe"
48
+
49
+ #: wpGoogleMaps.php:1010
50
+ msgid "Pro Version"
51
+ msgstr "Pro Versie"
52
+
53
+ #: wpGoogleMaps.php:1010
54
+ msgid "Create unlimited maps"
55
+ msgstr "Maak onbeperkt kaarten"
56
+
57
+ #: wpGoogleMaps.php:1010
58
+ msgid "with the"
59
+ msgstr "met de"
60
+
61
+ #: wpGoogleMaps.php:1010
62
+ msgid "of WP Google Maps for only"
63
+ msgstr "van WP Google Maps voor maar"
64
+
65
+ #: wpGoogleMaps.php:1041
66
+ #: wpGoogleMaps.php:1290
67
+ #: wpGoogleMaps.php:1385
68
+ msgid "ID"
69
+ msgstr "ID"
70
+
71
+ #: wpGoogleMaps.php:1042
72
+ #: wpGoogleMaps.php:1204
73
+ #: wpGoogleMaps.php:1387
74
+ msgid "Title"
75
+ msgstr "Titel"
76
+
77
+ #: wpGoogleMaps.php:1043
78
+ #: wpGoogleMaps.php:1153
79
+ msgid "Width"
80
+ msgstr "Breedte"
81
+
82
+ #: wpGoogleMaps.php:1044
83
+ #: wpGoogleMaps.php:1157
84
+ msgid "Height"
85
+ msgstr "Hoogte"
86
+
87
+ #: wpGoogleMaps.php:1045
88
+ msgid "Type"
89
+ msgstr "Type"
90
+
91
+ #: wpGoogleMaps.php:1056
92
+ msgid "Trash"
93
+ msgstr "Prullenbak"
94
+
95
+ #: wpGoogleMaps.php:1060
96
+ #: wpGoogleMaps.php:1420
97
+ msgid "Edit"
98
+ msgstr "Bewerk"
99
+
100
+ #: wpGoogleMaps.php:1102
101
+ msgid "Add custom icons, titles, descriptions, pictures and links to your markers with the"
102
+ msgstr "Voeg aangepaste pictogrammen, titels, beschrijvingen, foto's en links bij uw markeringen met de"
103
+
104
+ #: wpGoogleMaps.php:1102
105
+ #: wpGoogleMaps.php:1103
106
+ #: wpGoogleMaps.php:1163
107
+ #: wpGoogleMaps.php:1256
108
+ msgid "Pro Edition"
109
+ msgstr "Pro Editie"
110
+
111
+ #: wpGoogleMaps.php:1102
112
+ msgid "of this plugin for just"
113
+ msgstr "van deze plugin voor maar"
114
+
115
+ #: wpGoogleMaps.php:1103
116
+ msgid "Purchase the Pro Edition"
117
+ msgstr "Koop de Pro Editie"
118
+
119
+ #: wpGoogleMaps.php:1103
120
+ msgid "of WP Google Maps and save your markers to a CSV file!"
121
+ msgstr "van WP Google Maps en sla uw markeringen op in een CVS file!"
122
+
123
+ #: wpGoogleMaps.php:1113
124
+ msgid "Map Settings"
125
+ msgstr "Kaart instellingen"
126
+
127
+ #: wpGoogleMaps.php:1145
128
+ msgid "Short code"
129
+ msgstr "Short code"
130
+
131
+ #: wpGoogleMaps.php:1146
132
+ msgid "copy this into your post or page to display the map"
133
+ msgstr "kopieer dit in uw post of page om de kaart weer te geven"
134
+
135
+ #: wpGoogleMaps.php:1149
136
+ msgid "Map Name"
137
+ msgstr "Naam van de kaart "
138
+
139
+ #: wpGoogleMaps.php:1162
140
+ msgid "Default Marker Image"
141
+ msgstr "Standaard Markering pictogram"
142
+
143
+ #: wpGoogleMaps.php:1163
144
+ #: wpGoogleMaps.php:1215
145
+ #: wpGoogleMaps.php:1217
146
+ msgid "Upload Image"
147
+ msgstr "Upload image"
148
+
149
+ #: wpGoogleMaps.php:1163
150
+ msgid "available in the"
151
+ msgstr "beschikbaar in de "
152
+
153
+ #: wpGoogleMaps.php:1163
154
+ msgid "only"
155
+ msgstr "alleen"
156
+
157
+ #: wpGoogleMaps.php:1166
158
+ msgid "Map type"
159
+ msgstr "Kaart type"
160
+
161
+ #: wpGoogleMaps.php:1168
162
+ msgid "Roadmap"
163
+ msgstr "Roadmap"
164
+
165
+ #: wpGoogleMaps.php:1169
166
+ msgid "Satellite"
167
+ msgstr "Sateliet"
168
+
169
+ #: wpGoogleMaps.php:1170
170
+ msgid "Hybrid"
171
+ msgstr "Hybride"
172
+
173
+ #: wpGoogleMaps.php:1171
174
+ msgid "Terrain"
175
+ msgstr "Terrein"
176
+
177
+ #: wpGoogleMaps.php:1176
178
+ msgid "Map Alignment"
179
+ msgstr "Kaart positie"
180
+
181
+ #: wpGoogleMaps.php:1178
182
+ msgid "Left"
183
+ msgstr "Links"
184
+
185
+ #: wpGoogleMaps.php:1179
186
+ msgid "Center"
187
+ msgstr "Midden"
188
+
189
+ #: wpGoogleMaps.php:1180
190
+ msgid "Right"
191
+ msgstr "Rechts"
192
+
193
+ #: wpGoogleMaps.php:1181
194
+ #: wpGoogleMaps.php:1222
195
+ msgid "None"
196
+ msgstr "Geen"
197
+
198
+ #: wpGoogleMaps.php:1189
199
+ msgid "Remember to save your map!"
200
+ msgstr "Denk er aan dat u de kaart opslaat!"
201
+
202
+ #: wpGoogleMaps.php:1191
203
+ msgid "Save Map"
204
+ msgstr "Kaart opslaan"
205
+
206
+ #: wpGoogleMaps.php:1193
207
+ msgid "Tip: Use your mouse to change the layout of your map. When you have positioned the map to your desired location, press \"Save Map\" to keep your settings."
208
+ msgstr "Tip: Gebruik uw muis om de lay-out van uw kaart aan te passen. Wanneer de kaart in staat op de gewenste locatie, sla uw instellingen op door op \"Opslaan Kaart\" te klikken."
209
+
210
+ #: wpGoogleMaps.php:1199
211
+ msgid "Add a marker"
212
+ msgstr "Voeg een markering toe"
213
+
214
+ #: wpGoogleMaps.php:1209
215
+ msgid "Address/GPS"
216
+ msgstr "Adres/GPS"
217
+
218
+ #: wpGoogleMaps.php:1214
219
+ #: wpGoogleMaps.php:1389
220
+ msgid "Description"
221
+ msgstr "Beschrijving"
222
+
223
+ #: wpGoogleMaps.php:1215
224
+ msgid "Pic URL"
225
+ msgstr "Image URL"
226
+
227
+ #: wpGoogleMaps.php:1216
228
+ msgid "Link URL"
229
+ msgstr "Link URL"
230
+
231
+ #: wpGoogleMaps.php:1217
232
+ msgid "Custom Marker"
233
+ msgstr "Aangepaste Markering"
234
+
235
+ #: wpGoogleMaps.php:1219
236
+ msgid "Animation"
237
+ msgstr "Animatie"
238
+
239
+ #: wpGoogleMaps.php:1229
240
+ msgid "Add Marker"
241
+ msgstr "Voeg markering toe"
242
+
243
+ #: wpGoogleMaps.php:1229
244
+ msgid "Adding"
245
+ msgstr "Toevoegen"
246
+
247
+ #: wpGoogleMaps.php:1230
248
+ msgid "Save Marker"
249
+ msgstr "Sla markering op"
250
+
251
+ #: wpGoogleMaps.php:1230
252
+ msgid "Saving"
253
+ msgstr "Opslaan"
254
+
255
+ #: wpGoogleMaps.php:1238
256
+ msgid "Your Markers"
257
+ msgstr "Uw markeringen"
258
+
259
+ #: wpGoogleMaps.php:1247
260
+ msgid "Add detailed information to your markers!"
261
+ msgstr "Voeg gedetailleerde informatie toe aan uw markeringen!"
262
+
263
+ #: wpGoogleMaps.php:1247
264
+ #: wpGoogleMaps.php:1251
265
+ #: wpGoogleMaps.php:1255
266
+ msgid "Add custom markers to your map!"
267
+ msgstr "Voeg aangepaste markeringen toe aan uw kaart!"
268
+
269
+ #: wpGoogleMaps.php:1248
270
+ msgid "Add detailed information to your markers for only"
271
+ msgstr "Voeg gedetailleerde informatie toe aan uw markeringen voor maar"
272
+
273
+ #: wpGoogleMaps.php:1248
274
+ #: wpGoogleMaps.php:1256
275
+ msgid "Click"
276
+ msgstr "Klik"
277
+
278
+ #: wpGoogleMaps.php:1248
279
+ #: wpGoogleMaps.php:1256
280
+ msgid "here"
281
+ msgstr "hier"
282
+
283
+ #: wpGoogleMaps.php:1252
284
+ msgid "Add different marker icons, or your own icons to make your map really stand out!"
285
+ msgstr "Voeg verschillende of eigen pictogrammen toe aan uw markeringen om uw kaart echt op te laten vallen!"
286
+
287
+ #: wpGoogleMaps.php:1256
288
+ msgid "Allow your visitors to get directions to your markers!"
289
+ msgstr "Laat uw bezoekers een routebeschrijving maken naar uw markeringen!"
290
+
291
+ #: wpGoogleMaps.php:1262
292
+ msgid "WP Google Maps encourages you to make use of the amazing icons created by Nicolas Mollet's Maps Icons Collection"
293
+ msgstr "WP Google Maps raadt u aan om gebruik te maken van de prachtige iconen die beschikbaar zijn in Nicolas Mollet's Kaarten Pictogrammen Collection"
294
+
295
+ #: wpGoogleMaps.php:1262
296
+ msgid "and to credit him when doing so."
297
+ msgstr "en bedank hem wanneer u dit doet."
298
+
299
+ #: wpGoogleMaps.php:1290
300
+ msgid "Edit Marker Location"
301
+ msgstr "Bewerk de locatie van de markering "
302
+
303
+ #: wpGoogleMaps.php:1299
304
+ msgid "Marker Latitude"
305
+ msgstr "Markering Latitude"
306
+
307
+ #: wpGoogleMaps.php:1303
308
+ msgid "Marker Longitude"
309
+ msgstr "Markering Longitude"
310
+
311
+ #: wpGoogleMaps.php:1308
312
+ msgid "Save Marker Location"
313
+ msgstr "Sla de locatie van de markering op"
314
+
315
+ #: wpGoogleMaps.php:1309
316
+ msgid "Tip: Use your mouse to change the location of the marker. Simply click and drag it to your desired location."
317
+ msgstr "Tip: Gebruik je muis om de locatie van de markering te wijzigen. Klik en sleep deze naar de gewenste locatie."
318
+
319
+ #: wpGoogleMaps.php:1371
320
+ msgid "There are too many markers to make use of the live edit function. The maximum amount for this functionality is 2000 markers. Anything more than that number would crash your browser. In order to edit your markers, you would need to download the table in CSV format, edit it and re-upload it."
321
+ msgstr "Er zijn te veel markeringen om gebruik te maken van de live-edit-functie. Het maximale aantal voor deze functionaliteit is 2000 markeringen. Een groter aantal zou uw browser laten crashen. Om uw markeringen te bewerken, zou u de tabel in CSV-formaat kunnen downloaden, deze bewerken en opnieuw kunnen uploaden."
322
+
323
+ #: wpGoogleMaps.php:1386
324
+ msgid "Icon"
325
+ msgstr "Pictogram"
326
+
327
+ #: wpGoogleMaps.php:1388
328
+ msgid "Address"
329
+ msgstr "Adres"
330
+
331
+ #: wpGoogleMaps.php:1390
332
+ msgid "Image"
333
+ msgstr "Image"
334
+
335
+ #: wpGoogleMaps.php:1391
336
+ msgid "Link"
337
+ msgstr "Link"
338
+
339
+ #: wpGoogleMaps.php:1392
340
+ msgid "Action"
341
+ msgstr "Actie"
342
+
343
+ #: wpGoogleMaps.php:1409
344
+ msgid "View this link"
345
+ msgstr "Bekijk deze link"
346
+
347
+ #: wpGoogleMaps.php:1420
348
+ #: wpGoogleMaps.php:1421
349
+ msgid "Edit this marker"
350
+ msgstr "Bewerk deze markering"
351
+
352
+ #: wpGoogleMaps.php:1421
353
+ msgid "Edit Location"
354
+ msgstr "Bewerk locatie"
355
+
356
+ #: wpGoogleMaps.php:1422
357
+ msgid "Delete this marker"
358
+ msgstr "Verwijder deze markering"
359
+
360
+ #: wpGoogleMaps.php:1422
361
+ msgid "Delete"
362
+ msgstr "Verwijder"
363
+
364
+ #: wpGoogleMaps.php:1539
365
+ msgid "The plugin directory does not have 'write' permissions. Please enable 'write' permissions (755) for "
366
+ msgstr "De plugin directory heeft geen schrijfrechten, Enable de schrijfrechten (755) voor "
367
+
368
+ #: wpGoogleMaps.php:1541
369
+ msgid "in order for this plugin to work! Please see "
370
+ msgstr "om deze plugin te laten weken! Bekijk alstublieft "
371
+
372
+ #: wpGoogleMaps.php:1543
373
+ msgid "this page"
374
+ msgstr "deze pagina"
375
+
376
+ #: wpGoogleMaps.php:1545
377
+ msgid "for help on how to do it."
378
+ msgstr "voor informatie over hoe u dit kunt doen."
379
+
380
+ msgid "Get great map markers <a href='http://mapicons.nicolasmollet.com/' target='_BLANK' title='Great Google Map Markers'>here</a>"
381
+ msgstr "Grandioze kaart markers vind u <a href='http://mapicons.nicolasmollet.com/' target='_BLANK' title='Great Google Map Markers'>hier</a>"
382
+
383
+ msgid "Bounce"
384
+ msgstr "Bounce"
385
+
386
+ msgid "Drop"
387
+ msgstr "Drop"
388
+
389
+ msgid "Or paste image URL"
390
+ msgstr "Of plak de image URL"
391
+
392
+ msgid "ignore if you want to use the defaul marker"
393
+ msgstr "Negeer dit als u de standaard pictogram wil gebruiken"
394
+
395
+ msgid "Format: http://www.domain.com"
396
+ msgstr "Formaat: http://www.domein.com"
397
+
398
+ msgid "More details"
399
+ msgstr "Meer informatie"
400
+
401
+ msgid "Get directions"
402
+ msgstr "Plan uw route"
403
+
404
+ msgid "From"
405
+ msgstr "Van"
406
+
407
+ msgid "To"
408
+ msgstr "Naar"
409
+
410
+ msgid "Go"
411
+ msgstr "Ga"
412
+
413
+ msgid "Please fill out both the 'from' and 'to' fields"
414
+ msgstr "Vult u alstublieft de 'Van' en 'Naar' velden in"
415
+
416
+ msgid "Geocode was not successful for the following reason"
417
+ msgstr "Geocode was niet succesvol om de volgende reden"
418
+
419
+ msgid "Header 1 should be 'id', not"
420
+ msgstr "Header 1 hoort 'id' te zijn, geen"
421
+
422
+ msgid "Header 2 should be 'map_id', not"
423
+ msgstr "Header 2 hoort 'map_id' te zijn, geen"
424
+
425
+ msgid "Header 3 should be 'address', not"
426
+ msgstr "Header 3 hoort address' te zijn, geen"
427
+
428
+ msgid "Header 4 should be 'desc', not"
429
+ msgstr "Header 4 hoort 'desc' te zijn, geen"
430
+
431
+ msgid "Header 5 should be 'pic', not"
432
+ msgstr "Header 5 hoort 'pic' te zijn, geen"
433
+
434
+ msgid "Header 6 should be 'link', not"
435
+ msgstr "Header 2 hoort 'link' te zijn, geen"
436
+
437
+ msgid "Header 7 should be 'icon', not"
438
+ msgstr "Header 2 hoort 'icon' te zijn, geen"
439
+
440
+ msgid "Header 8 should be 'lat', not"
441
+ msgstr "Header 2 hoort 'lat' te zijn, geen"
442
+
443
+ msgid "Header 9 should be 'lng', not"
444
+ msgstr "Header 2 hoort 'lng' te zijn, geen"
445
+
446
+ msgid "Header 10 should be 'anim', not"
447
+ msgstr "Header 2 hoort 'anim' te zijn, geen"
448
+
449
+ msgid "Header 11 should be 'title', not"
450
+ msgstr "Header 2 hoort 'title' te zijn, geen"
451
+
452
+ msgid "CSV import failed"
453
+ msgstr "CSV import mislukt"
454
+
455
+ msgid "Your CSV file has been successfully imported"
456
+ msgstr "Uw CSV bestand is succesvol geimporteerd"
457
+
458
+ msgid "Download ALL marker data to a CSV file"
459
+ msgstr "Download ALLE markeringen naar een CSV bestand"
460
+
461
+ msgid "Advanced Options"
462
+ msgstr "Geavanceerde Opties"
463
+
464
+ msgid "Upload File"
465
+ msgstr "Upload bestand"
466
+
467
+ msgid "Upload CSV File"
468
+ msgstr "Upload CSV bestand"
469
+
470
+ msgid "Replace existing data with data in file"
471
+ msgstr "Vervang de bestaande data met de data uit het bestand"
472
+
473
+ msgid "OR"
474
+ msgstr "OF"
475
+
476
+ msgid "including Pro add-on"
477
+ msgstr "inclucief de Pro add-on"
478
+
479
+ msgid "including Pro &amp; Gold add-ons"
480
+ msgstr "inclucief de Pro &amp; Gold add-ons"
481
+
482
+ msgid "Download this data as a CSV file"
483
+ msgstr "Download deze data als een CSV bestand"
484
+
485
+ msgid "Advanced Map Styling"
486
+ msgstr "Geavanceerde kaart opmaak"
487
+
488
+ msgid "Use the <a href='http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html' target='_BLANK'>Google Maps API Styled Map Wizard</a> to get your style settings"
489
+ msgstr "Gebruik de <a href='http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html' target='_BLANK'>Google Maps API Styled Map Wizard</a> om uw style instellingen te krijgen"
490
+
491
+ msgid "Enable Advanced Styling"
492
+ msgstr "Enable de geavanceerde opmaak"
493
+
494
+ msgid "Paste the JSON data here"
495
+ msgstr "Plak de JSON data hier"
496
+
497
+ msgid "Save Style Settings"
498
+ msgstr "Sla de opmaak instellingen op"
499
+
500
+ msgid "Maps"
501
+ msgstr "Kaarten"
502
+
503
+ msgid "Advanced"
504
+ msgstr "Geavanceerd"
505
+
506
+ msgid "Create your map"
507
+ msgstr "Cre�er uw kaart"
508
+
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: WPGMaps
3
Donate link: http://www.wpgmaps.com
4
Tags: google maps, maps, map, map markers, google, interactive, maps api, wp maps, wp google maps, mappress, easy map
5
Requires at least: 2.9.2
6
- Tested up to: 3.4
7
Stable tag: trunk
8
9
The easiest to use map plugin! Create custom maps with high quality markers containing locations, descriptions, images and links.
@@ -78,6 +78,23 @@ Previous versions may cause your blog to slow down. Upgrading to 4.5 will get ri
78
79
== Changelog ==
80
81
= 4.22 =
82
* Added bicycle layer
83
* Added traffic layer
3
Donate link: http://www.wpgmaps.com
4
Tags: google maps, maps, map, map markers, google, interactive, maps api, wp maps, wp google maps, mappress, easy map
5
Requires at least: 2.9.2
6
+ Tested up to: 3.4.1
7
Stable tag: trunk
8
9
The easiest to use map plugin! Create custom maps with high quality markers containing locations, descriptions, images and links.
78
79
== Changelog ==
80
81
+ = 5.1 =
82
+ * Added the functionality to list your markers below the map
83
+ * Added more advanced directions functionality
84
+ * Fixed small bugs
85
+ * Fixed a bug that caused a fatal error when trying to activate the plugin on some hosts.
86
+
87
+
88
+ = 5.0 =
89
+ * Plugin now supports multiple maps on one page
90
+ * Bicycle directions now added
91
+ * Walking directions now added
92
+ * "Avoid tolls" now added to the directions functionality
93
+ * "Avoid highways" now added to directions functionality
94
+ * New setting: open links in a new window
95
+ * Added functionality to reset the default marker image if required.
96
+
97
+
98
= 4.22 =
99
* Added bicycle layer
100
* Added traffic layer
wpGoogleMaps.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: WP Google Maps
4
Plugin URI: http://www.wpgmaps.com
5
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
6
- Version: 4.22
7
Author: WP Google Maps
8
Author URI: http://www.wpgmaps.com
9
*/
@@ -28,8 +28,8 @@ $wpgmza_p = false;
28
$wpgmza_g = false;
29
$wpgmza_tblname = $wpdb->prefix . "wpgmza";
30
$wpgmza_tblname_maps = $wpdb->prefix . "wpgmza_maps";
31
- $wpgmza_version = "4.22";
32
- $wpgmza_p_version = "4.22";
33
$wpgmza_t = "basic";
34
35
add_action('admin_head', 'wpgmaps_head');
@@ -180,11 +180,7 @@ function wpgmaps_get_marker_url($mapid = false) {
180
$prov = get_option("WPGMZA_PRO");
181
$wpgmza_pro_version = $prov['version'];
182
183
- if (floatval($wpgmza_pro_version) <= 3.2 || $wpgmza_pro_version == null) {
184
- return wpgmaps_get_plugin_url()."/markers.xml";
185
- } else {
186
- return wpgmaps_get_plugin_url()."/".$mapid."markers.xml";
187
- }
188
} else {
189
return wpgmaps_get_plugin_url()."/".$mapid."markers.xml";
190
}
@@ -731,14 +727,6 @@ function wpgmaps_update_xml_file($mapid = false) {
731
if (function_exists(wpgmza_register_pro_version)) {
732
$prov = get_option("WPGMZA_PRO");
733
$wpgmza_pro_version = $prov['version'];
734
- if (floatval($wpgmza_pro_version) <= 3.2 || $wpgmza_pro_version == null) {
735
- $results = $wpdb->get_results(
736
- "
737
- SELECT *
738
- FROM $table_name
739
- "
740
- );
741
- } else {
742
$results = $wpdb->get_results(
743
"
744
SELECT *
@@ -747,7 +735,6 @@ function wpgmaps_update_xml_file($mapid = false) {
747
748
"
749
);
750
- }
751
}
752
else {
753
$results = $wpdb->get_results(
@@ -815,11 +802,7 @@ function wpgmaps_update_xml_file($mapid = false) {
815
if (function_exists(wpgmza_register_pro_version)) {
816
$prov = get_option("WPGMZA_PRO");
817
$wpgmza_pro_version = $prov['version'];
818
- if (floatval($wpgmza_pro_version) <= 3.2 || $wpgmza_pro_version == null) {
819
- @$dom->save(WP_PLUGIN_DIR.'/'.plugin_basename(dirname(__FILE__)).'/markers.xml');
820
- } else {
821
- @$dom->save(WP_PLUGIN_DIR.'/'.plugin_basename(dirname(__FILE__)).'/'.$mapid.'markers.xml');
822
- }
823
}
824
else {
825
@$dom->save(WP_PLUGIN_DIR.'/'.plugin_basename(dirname(__FILE__)).'/'.$mapid.'markers.xml');
@@ -1057,6 +1040,8 @@ function wpgmaps_head() {
1057
$wpgmza_data['wpgmza_settings_image_height'] = attribute_escape($_POST['wpgmza_settings_image_height']);
1058
$wpgmza_data['wpgmza_settings_use_timthumb'] = attribute_escape($_POST['wpgmza_settings_use_timthumb']);
1059
$wpgmza_data['wpgmza_settings_infowindow_width'] = attribute_escape($_POST['wpgmza_settings_infowindow_width']);
1060
$wpgmza_data['wpgmza_settings_map_streetview'] = attribute_escape($_POST['wpgmza_settings_map_streetview']);
1061
$wpgmza_data['wpgmza_settings_map_zoom'] = attribute_escape($_POST['wpgmza_settings_map_zoom']);
1062
$wpgmza_data['wpgmza_settings_map_pan'] = attribute_escape($_POST['wpgmza_settings_map_pan']);
3
Plugin Name: WP Google Maps
4
Plugin URI: http://www.wpgmaps.com
5
Description: The easiest to use Google Maps plugin! Create custom Google Maps with high quality markers containing locations, descriptions, images and links. Add your customized map to your WordPress posts and/or pages quickly and easily with the supplied shortcode. No fuss.
6
+ Version: 5.0
7
Author: WP Google Maps
8
Author URI: http://www.wpgmaps.com
9
*/
28
$wpgmza_g = false;
29
$wpgmza_tblname = $wpdb->prefix . "wpgmza";
30
$wpgmza_tblname_maps = $wpdb->prefix . "wpgmza_maps";
31
+ $wpgmza_version = "5.0";
32
+ $wpgmza_p_version = "5.0";
33
$wpgmza_t = "basic";
34
35
add_action('admin_head', 'wpgmaps_head');
180
$prov = get_option("WPGMZA_PRO");
181
$wpgmza_pro_version = $prov['version'];
182
183
+ return wpgmaps_get_plugin_url()."/".$mapid."markers.xml";
184
} else {
185
return wpgmaps_get_plugin_url()."/".$mapid."markers.xml";
186
}
727
if (function_exists(wpgmza_register_pro_version)) {
728
$prov = get_option("WPGMZA_PRO");
729
$wpgmza_pro_version = $prov['version'];
730
$results = $wpdb->get_results(
731
"
732
SELECT *
735
736
"
737
);
738
}
739
else {
740
$results = $wpdb->get_results(
802
if (function_exists(wpgmza_register_pro_version)) {
803
$prov = get_option("WPGMZA_PRO");
804
$wpgmza_pro_version = $prov['version'];
805
+ @$dom->save(WP_PLUGIN_DIR.'/'.plugin_basename(dirname(__FILE__)).'/'.$mapid.'markers.xml');
806
}
807
else {
808
@$dom->save(WP_PLUGIN_DIR.'/'.plugin_basename(dirname(__FILE__)).'/'.$mapid.'markers.xml');
1040
$wpgmza_data['wpgmza_settings_image_height'] = attribute_escape($_POST['wpgmza_settings_image_height']);
1041
$wpgmza_data['wpgmza_settings_use_timthumb'] = attribute_escape($_POST['wpgmza_settings_use_timthumb']);
1042
$wpgmza_data['wpgmza_settings_infowindow_width'] = attribute_escape($_POST['wpgmza_settings_infowindow_width']);
1043
+ $wpgmza_data['wpgmza_settings_infowindow_links'] = attribute_escape($_POST['wpgmza_settings_infowindow_links']);
1044
+ $wpgmza_data['wpgmza_settings_infowindow_address'] = attribute_escape($_POST['wpgmza_settings_infowindow_address']);
1045
$wpgmza_data['wpgmza_settings_map_streetview'] = attribute_escape($_POST['wpgmza_settings_map_streetview']);
1046
$wpgmza_data['wpgmza_settings_map_zoom'] = attribute_escape($_POST['wpgmza_settings_map_zoom']);
1047
$wpgmza_data['wpgmza_settings_map_pan'] = attribute_escape($_POST['wpgmza_settings_map_pan']);