Event Calendar WD – Responsive Event Calendar plugin - Version 1.0.77

Version Description

  • Added: Google maps style option
  • Added: Latitude,Longitude inputs in event-meta,venue-meta pages
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Event Calendar WD – Responsive Event Calendar plugin
Version 1.0.77
Comparing to
See all releases

Code changes from version 1.0.76 to 1.0.77

ecwd.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://web-dorado.com/products/wordpress-event-calendar-wd.html
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
- * Version: 1.0.76
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -22,7 +22,7 @@ if( ! defined( 'ECWD_MAIN_FILE' ) ) {
22
  }
23
 
24
  if(! defined( 'ECWD_VERSION' ) ){
25
- define ('ECWD_VERSION',"1.0.76");
26
  }
27
 
28
  add_action( 'plugins_loaded', array( 'ECWD', 'get_instance' ) );
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://web-dorado.com/products/wordpress-event-calendar-wd.html
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
+ * Version: 1.0.77
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
22
  }
23
 
24
  if(! defined( 'ECWD_VERSION' ) ){
25
+ define ('ECWD_VERSION',"1.0.77");
26
  }
27
 
28
  add_action( 'plugins_loaded', array( 'ECWD', 'get_instance' ) );
ecwd_admin_class.php CHANGED
@@ -6,7 +6,7 @@
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
- protected $version = '1.0.76';
10
  protected $ecwd_page = null;
11
  protected $notices = null;
12
 
@@ -457,7 +457,7 @@ class ECWD_Admin {
457
  }
458
 
459
  $gmap_key = (isset($ecwd_options['gmap_key'])) ? $ecwd_options['gmap_key'] : "";
460
-
461
 
462
  wp_localize_script($this->prefix . '-admin-scripts', 'params', $params);
463
  wp_localize_script(ECWD_PLUGIN_PREFIX . '-public', 'ecwd', array(
@@ -465,7 +465,8 @@ class ECWD_Admin {
465
  'ajaxnonce' => wp_create_nonce(ECWD_PLUGIN_PREFIX . '_ajax_nonce'),
466
  'loadingText' => __('Loading...', 'ecwd'),
467
  'plugin_url' => ECWD_URL,
468
- 'gmap_key' => $gmap_key
 
469
  ));
470
 
471
  wp_enqueue_script($this->prefix . '-admin-scripts');
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
+ protected $version = '1.0.77';
10
  protected $ecwd_page = null;
11
  protected $notices = null;
12
 
457
  }
458
 
459
  $gmap_key = (isset($ecwd_options['gmap_key'])) ? $ecwd_options['gmap_key'] : "";
460
+ $params['gmap_style'] = (isset($ecwd_options['gmap_style'])) ? $ecwd_options['gmap_style'] : "";
461
 
462
  wp_localize_script($this->prefix . '-admin-scripts', 'params', $params);
463
  wp_localize_script(ECWD_PLUGIN_PREFIX . '-public', 'ecwd', array(
465
  'ajaxnonce' => wp_create_nonce(ECWD_PLUGIN_PREFIX . '_ajax_nonce'),
466
  'loadingText' => __('Loading...', 'ecwd'),
467
  'plugin_url' => ECWD_URL,
468
+ 'gmap_key' => $gmap_key,
469
+ 'gmap_style' => (isset($ecwd_options['gmap_style'])) ? $ecwd_options['gmap_style'] : ""
470
  ));
471
 
472
  wp_enqueue_script($this->prefix . '-admin-scripts');
ecwd_class.php CHANGED
@@ -6,7 +6,7 @@
6
  */
7
  class ECWD {
8
 
9
- protected $version = '1.0.76';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected static $instance = null;
@@ -172,7 +172,8 @@ class ECWD {
172
  'loadingText' => __('Loading...', 'ecwd'),
173
  'event_popup_title_text' => __('Event Details','ecwd'),
174
  'plugin_url' => ECWD_URL,
175
- 'gmap_key' => $gmap_key
 
176
  ));
177
 
178
  }
6
  */
7
  class ECWD {
8
 
9
+ protected $version = '1.0.77';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected static $instance = null;
172
  'loadingText' => __('Loading...', 'ecwd'),
173
  'event_popup_title_text' => __('Event Details','ecwd'),
174
  'plugin_url' => ECWD_URL,
175
+ 'gmap_key' => $gmap_key,
176
+ 'gmap_style' => (isset($ecwd_options['gmap_style'])) ? $ecwd_options['gmap_style'] : ""
177
  ));
178
 
179
  }
includes/ecwd-functions.php CHANGED
@@ -11,7 +11,8 @@ function ecwd_print_calendar($calendar_ids, $display = 'mini', $args = array(),
11
  'ajaxnonce' => wp_create_nonce(ECWD_PLUGIN_PREFIX . '_ajax_nonce'),
12
  'loadingText' => __('Loading...', 'ecwd'),
13
  'plugin_url' => ECWD_URL,
14
- 'gmap_key'=>$gmap_key
 
15
  ));
16
 
17
  $defaults = array(
11
  'ajaxnonce' => wp_create_nonce(ECWD_PLUGIN_PREFIX . '_ajax_nonce'),
12
  'loadingText' => __('Loading...', 'ecwd'),
13
  'plugin_url' => ECWD_URL,
14
+ 'gmap_key'=>$gmap_key,
15
+ 'gmap_style' => (isset($ecwd_options['gmap_style'])) ? $ecwd_options['gmap_style'] : ""
16
  ));
17
 
18
  $defaults = array(
includes/register-settings.php CHANGED
@@ -325,7 +325,15 @@ function ecwd_register_settings() {
325
  'name' => __('API key', 'ecwd'),
326
  'desc' => '',
327
  'type' => 'text',
328
- )
 
 
 
 
 
 
 
 
329
  )
330
  );
331
 
325
  'name' => __('API key', 'ecwd'),
326
  'desc' => '',
327
  'type' => 'text',
328
+ ),
329
+ 'gmap_style' => array(
330
+ 'id' => 'gmap_style',
331
+ 'name' => __('Map style', 'ecwd'),
332
+ 'desc' => '',
333
+ 'type' => 'textarea',
334
+ 'cols' => '45',
335
+ 'rows' => '15'
336
+ )
337
  )
338
  );
339
 
js/admin/admin.js CHANGED
@@ -434,6 +434,10 @@ function initialize() {
434
  center: myLatlng,
435
  scrollwheel: false
436
  };
 
 
 
 
437
 
438
  map = new google.maps.Map(document.getElementById('map-canvas'),
439
  mapOptions);
@@ -445,6 +449,24 @@ function initialize() {
445
  });
446
  }
447
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
448
 
449
  var input = document.getElementById('ecwd_event_location');
450
 
@@ -481,7 +503,17 @@ function initialize() {
481
  map.setZoom(ecwd_zoom);
482
  }
483
 
484
- document.getElementById('ecwd_lat_long').value = place.geometry.location.toString().replace(')', '').replace('(', '');
 
 
 
 
 
 
 
 
 
 
485
  //marker.setIcon(/** @type {google.maps.Icon} */({
486
  // url: place.icon,
487
  // size: new google.maps.Size(71, 71),
@@ -545,8 +577,6 @@ function change_event_location() {
545
  this.is_changed_event_location = function () {
546
  var val1 = this.$event_location_fild.val().replace(/\s+$/g, '');
547
  var val2 = this.event_location.replace(/\s+$/g, '');
548
- console.log(val1)
549
- console.log(val2)
550
  if (val1 !== val2 || this.replace === true) {
551
  this.reset_venue_list();
552
  this.set_event_location();
@@ -611,7 +641,13 @@ function deleteMarkers() {
611
  }
612
 
613
  function setMarkerPosition(marker) {
614
- document.getElementById('ecwd_lat_long').value = marker.getPosition().toUrlValue();
 
 
 
 
 
 
615
  }
616
 
617
  function geocodePosition(pos) {
@@ -633,7 +669,7 @@ function updateMarkerAddress(address){
633
  function loadScript() {
634
  var script = document.createElement('script');
635
  script.type = 'text/javascript';
636
- script.src = 'https://maps.googleapis.com/maps/api/js?v=3.exp&key=AIzaSyCIUXhK7om6EZ9Ca5xFcEbXMKEQZz7U2kM' +
637
  '&callback=initialize&libraries=places&key='+ecwd.gmap_key;
638
  document.body.appendChild(script);
639
  }
434
  center: myLatlng,
435
  scrollwheel: false
436
  };
437
+
438
+ if(params.gmap_style !== "") {
439
+ mapOptions.styles = JSON.parse(params.gmap_style);
440
+ }
441
 
442
  map = new google.maps.Map(document.getElementById('map-canvas'),
443
  mapOptions);
449
  });
450
  }
451
 
452
+ var ecwd_typing_timer = null;
453
+ var $inputs = jQuery('#ecwd_longitude, #ecwd_latitude');
454
+
455
+ $inputs.on('keyup', function () {
456
+ clearTimeout(ecwd_typing_timer);
457
+ ecwd_typing_timer = setTimeout(function(){
458
+ var latlng = new google.maps.LatLng(jQuery('#ecwd_latitude').val(), jQuery('#ecwd_longitude').val());
459
+ deleteMarkers();
460
+ geocodePosition(latlng);
461
+ addMarker(latlng);
462
+ map.setCenter(latlng);
463
+ }, 1000);
464
+ });
465
+
466
+ $inputs.on('keydown', function () {
467
+ clearTimeout(ecwd_typing_timer);
468
+ });
469
+
470
 
471
  var input = document.getElementById('ecwd_event_location');
472
 
503
  map.setZoom(ecwd_zoom);
504
  }
505
 
506
+ deleteMarkers();
507
+ geocodePosition(place.geometry.location);
508
+ address_marker = addMarker(place.geometry.location);
509
+
510
+ var lat_long_val = place.geometry.location.toString().replace(')', '').replace('(', '');
511
+ document.getElementById('ecwd_lat_long').value = lat_long_val;
512
+ var lat_long_data = lat_long_val.split(',');
513
+ if(lat_long_data.length == 2){
514
+ document.getElementById('ecwd_latitude').value = lat_long_data[0];
515
+ document.getElementById('ecwd_longitude').value = lat_long_data[1];
516
+ }
517
  //marker.setIcon(/** @type {google.maps.Icon} */({
518
  // url: place.icon,
519
  // size: new google.maps.Size(71, 71),
577
  this.is_changed_event_location = function () {
578
  var val1 = this.$event_location_fild.val().replace(/\s+$/g, '');
579
  var val2 = this.event_location.replace(/\s+$/g, '');
 
 
580
  if (val1 !== val2 || this.replace === true) {
581
  this.reset_venue_list();
582
  this.set_event_location();
641
  }
642
 
643
  function setMarkerPosition(marker) {
644
+ var lat_long_val = marker.getPosition().toUrlValue();
645
+ document.getElementById('ecwd_lat_long').value = lat_long_val;
646
+ var lat_long_data = lat_long_val.split(',');
647
+ if(lat_long_data.length == 2){
648
+ document.getElementById('ecwd_latitude').value = lat_long_data[0];
649
+ document.getElementById('ecwd_longitude').value = lat_long_data[1];
650
+ }
651
  }
652
 
653
  function geocodePosition(pos) {
669
  function loadScript() {
670
  var script = document.createElement('script');
671
  script.type = 'text/javascript';
672
+ script.src = 'https://maps.googleapis.com/maps/api/js?v=3.exp' +
673
  '&callback=initialize&libraries=places&key='+ecwd.gmap_key;
674
  document.body.appendChild(script);
675
  }
js/scripts.js CHANGED
@@ -680,7 +680,8 @@ if (typeof ecwd_js_init != "function")
680
  map: {
681
  options: {
682
  zoom: zoom,
683
- zoomControl: true
 
684
  }
685
  },
686
  marker: {
680
  map: {
681
  options: {
682
  zoom: zoom,
683
+ zoomControl: true,
684
+ styles: (ecwd.gmap_style !== "") ? JSON.parse(ecwd.gmap_style) : null,
685
  }
686
  },
687
  marker: {
languages/ecwd-nl_NL.mo CHANGED
Binary file
languages/ecwd-nl_NL.po CHANGED
@@ -2,14 +2,14 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
  "POT-Creation-Date: 2015-07-23 13:04+0400\n"
5
- "PO-Revision-Date: 2016-05-06 17:47+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.6\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
@@ -46,11 +46,11 @@ msgstr "Kaart"
46
 
47
  #: includes/calendar-class.php:188
48
  msgid "4 Days"
49
- msgstr "4 Dagen"
50
 
51
  #: includes/calendar-class.php:191
52
  msgid "Posterboard"
53
- msgstr "Lijmspray"
54
 
55
  #: includes/calendar-class.php:383 includes/calendar-class.php:417
56
  #: includes/calendar-class.php:572 includes/calendar-class.php:1181
@@ -69,11 +69,11 @@ msgstr "Geen evenementen"
69
 
70
  #: includes/calendar-class.php:644
71
  msgid "No Events"
72
- msgstr "Geen Evenementen"
73
 
74
  #: includes/calendar-class.php:1256
75
  msgid "More events"
76
- msgstr "Meer Evenementen"
77
 
78
  #: includes/ecwd-cpt-filter.php:67
79
  msgid "From"
@@ -86,9 +86,8 @@ msgstr "Naar"
86
  #: includes/ecwd-display-class.php:876 includes/ecwd-display-class.php:882
87
  #: includes/ecwd-display-class.php:900 includes/ecwd-display-class.php:917
88
  #: includes/texts.php:60
89
- #, fuzzy
90
  msgid "Repeat every"
91
- msgstr "Verwante evenementen"
92
 
93
  #: includes/ecwd-display-class.php:876 includes/texts.php:66
94
  msgid "days"
@@ -107,19 +106,16 @@ msgid "Repeat every week"
107
  msgstr "Herhaal elke week"
108
 
109
  #: includes/ecwd-display-class.php:889
110
- #, fuzzy
111
  msgid "on"
112
- msgstr "Maa"
113
 
114
  #: includes/ecwd-display-class.php:900 includes/texts.php:68
115
- #, fuzzy
116
  msgid "months"
117
- msgstr "Maand"
118
 
119
  #: includes/ecwd-display-class.php:902 includes/texts.php:63
120
- #, fuzzy
121
  msgid "Repeat every month"
122
- msgstr "Verwante evenementen"
123
 
124
  #: includes/ecwd-display-class.php:907 includes/ecwd-display-class.php:931
125
  msgid "on the same day"
@@ -131,7 +127,7 @@ msgstr "op de"
131
 
132
  #: includes/ecwd-display-class.php:917 includes/texts.php:69
133
  msgid "years"
134
- msgstr "jaar"
135
 
136
  #: includes/ecwd-display-class.php:919 includes/texts.php:64
137
  msgid "Repeat every year"
@@ -143,7 +139,7 @@ msgstr "totdat"
143
 
144
  #: includes/ecwd-functions.php:8
145
  msgid "Loading..."
146
- msgstr "Het Laden..."
147
 
148
  #: includes/ecwd-functions.php:439 includes/texts.php:53
149
  msgid "DAYS"
@@ -151,7 +147,7 @@ msgstr "DAGEN"
151
 
152
  #: includes/ecwd-functions.php:440 includes/texts.php:54
153
  msgid "HOURS"
154
- msgstr "HOURS"
155
 
156
  #: includes/ecwd-functions.php:441 includes/texts.php:55
157
  msgid "MINUTES"
@@ -267,31 +263,31 @@ msgstr "Zat"
267
 
268
  #: includes/texts.php:34
269
  msgid "Su"
270
- msgstr "Z"
271
 
272
  #: includes/texts.php:35
273
  msgid "Mo"
274
- msgstr "M"
275
 
276
  #: includes/texts.php:36
277
  msgid "Tu"
278
- msgstr "D"
279
 
280
  #: includes/texts.php:37
281
  msgid "We"
282
- msgstr "W"
283
 
284
  #: includes/texts.php:38
285
  msgid "Th"
286
- msgstr "D"
287
 
288
  #: includes/texts.php:39
289
  msgid "Fr"
290
- msgstr "V"
291
 
292
  #: includes/texts.php:40
293
  msgid "Sa"
294
- msgstr "Z"
295
 
296
  #: includes/texts.php:44
297
  msgid "Show Filters"
@@ -299,11 +295,11 @@ msgstr "Toon filters"
299
 
300
  #: includes/texts.php:45
301
  msgid "Collapse Filters"
302
- msgstr "Collaplse Filters"
303
 
304
  #: includes/texts.php:46
305
  msgid "Reset Filters"
306
- msgstr "Reset Filters"
307
 
308
  #: includes/texts.php:48
309
  msgid "Days"
@@ -322,39 +318,32 @@ msgid "The event has just started"
322
  msgstr "Het evenement is net begonnen"
323
 
324
  #: includes/texts.php:72
325
- #, fuzzy
326
  msgid "Sundays"
327
- msgstr "Zondag"
328
 
329
  #: includes/texts.php:73
330
- #, fuzzy
331
  msgid "Mondays"
332
- msgstr "Maandag"
333
 
334
  #: includes/texts.php:74
335
- #, fuzzy
336
  msgid "Tuesdays"
337
- msgstr "Dinsdag"
338
 
339
  #: includes/texts.php:75
340
- #, fuzzy
341
  msgid "Wednesdays"
342
- msgstr "Wonsdag"
343
 
344
  #: includes/texts.php:76
345
- #, fuzzy
346
  msgid "Thursdays"
347
- msgstr "Dnderdag"
348
 
349
  #: includes/texts.php:77
350
- #, fuzzy
351
  msgid "Fridays"
352
- msgstr "Vijdag"
353
 
354
  #: includes/texts.php:78
355
- #, fuzzy
356
  msgid "Saturdays"
357
- msgstr "Zterdag"
358
 
359
  #: views/ecwd-event-content.php:67 views/ecwd-event-content.php:153
360
  #: views/single-event.php:142 views/single-event.php:242
@@ -371,16 +360,15 @@ msgstr "Organisatoren"
371
 
372
  #: views/ecwd-organizer-content.php:109
373
  msgid "upcoming events"
374
- msgstr "Aankomende Evenementen"
375
 
376
  #: views/ecwd-venue-content.php:141
377
  msgid "events"
378
- msgstr "events"
379
 
380
  #: views/single-event.php:190
381
- #, fuzzy
382
  msgid "Venue"
383
- msgstr "Locaties"
384
 
385
  #: views/single-event.php:200
386
  msgid "Location"
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
  "POT-Creation-Date: 2015-07-23 13:04+0400\n"
5
+ "PO-Revision-Date: 2016-11-15 20:52+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.11\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: _e;__\n"
46
 
47
  #: includes/calendar-class.php:188
48
  msgid "4 Days"
49
+ msgstr "4 dagen"
50
 
51
  #: includes/calendar-class.php:191
52
  msgid "Posterboard"
53
+ msgstr "Posterbord"
54
 
55
  #: includes/calendar-class.php:383 includes/calendar-class.php:417
56
  #: includes/calendar-class.php:572 includes/calendar-class.php:1181
69
 
70
  #: includes/calendar-class.php:644
71
  msgid "No Events"
72
+ msgstr "Geen evenementen"
73
 
74
  #: includes/calendar-class.php:1256
75
  msgid "More events"
76
+ msgstr "Meer evenementen"
77
 
78
  #: includes/ecwd-cpt-filter.php:67
79
  msgid "From"
86
  #: includes/ecwd-display-class.php:876 includes/ecwd-display-class.php:882
87
  #: includes/ecwd-display-class.php:900 includes/ecwd-display-class.php:917
88
  #: includes/texts.php:60
 
89
  msgid "Repeat every"
90
+ msgstr "Herhaal elke"
91
 
92
  #: includes/ecwd-display-class.php:876 includes/texts.php:66
93
  msgid "days"
106
  msgstr "Herhaal elke week"
107
 
108
  #: includes/ecwd-display-class.php:889
 
109
  msgid "on"
110
+ msgstr "op"
111
 
112
  #: includes/ecwd-display-class.php:900 includes/texts.php:68
 
113
  msgid "months"
114
+ msgstr "maanden"
115
 
116
  #: includes/ecwd-display-class.php:902 includes/texts.php:63
 
117
  msgid "Repeat every month"
118
+ msgstr "Herhaal iedere maand"
119
 
120
  #: includes/ecwd-display-class.php:907 includes/ecwd-display-class.php:931
121
  msgid "on the same day"
127
 
128
  #: includes/ecwd-display-class.php:917 includes/texts.php:69
129
  msgid "years"
130
+ msgstr "jaren"
131
 
132
  #: includes/ecwd-display-class.php:919 includes/texts.php:64
133
  msgid "Repeat every year"
139
 
140
  #: includes/ecwd-functions.php:8
141
  msgid "Loading..."
142
+ msgstr "Aan het laden...."
143
 
144
  #: includes/ecwd-functions.php:439 includes/texts.php:53
145
  msgid "DAYS"
147
 
148
  #: includes/ecwd-functions.php:440 includes/texts.php:54
149
  msgid "HOURS"
150
+ msgstr "UREN"
151
 
152
  #: includes/ecwd-functions.php:441 includes/texts.php:55
153
  msgid "MINUTES"
263
 
264
  #: includes/texts.php:34
265
  msgid "Su"
266
+ msgstr "Zo"
267
 
268
  #: includes/texts.php:35
269
  msgid "Mo"
270
+ msgstr "Ma"
271
 
272
  #: includes/texts.php:36
273
  msgid "Tu"
274
+ msgstr "Di"
275
 
276
  #: includes/texts.php:37
277
  msgid "We"
278
+ msgstr "Wo"
279
 
280
  #: includes/texts.php:38
281
  msgid "Th"
282
+ msgstr "Do"
283
 
284
  #: includes/texts.php:39
285
  msgid "Fr"
286
+ msgstr "Vr"
287
 
288
  #: includes/texts.php:40
289
  msgid "Sa"
290
+ msgstr "Za"
291
 
292
  #: includes/texts.php:44
293
  msgid "Show Filters"
295
 
296
  #: includes/texts.php:45
297
  msgid "Collapse Filters"
298
+ msgstr "Klap overzicht filters in"
299
 
300
  #: includes/texts.php:46
301
  msgid "Reset Filters"
302
+ msgstr "Reset filters"
303
 
304
  #: includes/texts.php:48
305
  msgid "Days"
318
  msgstr "Het evenement is net begonnen"
319
 
320
  #: includes/texts.php:72
 
321
  msgid "Sundays"
322
+ msgstr "Zondagen"
323
 
324
  #: includes/texts.php:73
 
325
  msgid "Mondays"
326
+ msgstr "Maandagen"
327
 
328
  #: includes/texts.php:74
 
329
  msgid "Tuesdays"
330
+ msgstr "Dinsdagen"
331
 
332
  #: includes/texts.php:75
 
333
  msgid "Wednesdays"
334
+ msgstr "Woensdagen"
335
 
336
  #: includes/texts.php:76
 
337
  msgid "Thursdays"
338
+ msgstr "Donderdagen"
339
 
340
  #: includes/texts.php:77
 
341
  msgid "Fridays"
342
+ msgstr "Vrijdagen"
343
 
344
  #: includes/texts.php:78
 
345
  msgid "Saturdays"
346
+ msgstr "Zaterdagen"
347
 
348
  #: views/ecwd-event-content.php:67 views/ecwd-event-content.php:153
349
  #: views/single-event.php:142 views/single-event.php:242
360
 
361
  #: views/ecwd-organizer-content.php:109
362
  msgid "upcoming events"
363
+ msgstr "aankomende evenementen"
364
 
365
  #: views/ecwd-venue-content.php:141
366
  msgid "events"
367
+ msgstr "evenementen"
368
 
369
  #: views/single-event.php:190
 
370
  msgid "Venue"
371
+ msgstr "Locatie"
372
 
373
  #: views/single-event.php:200
374
  msgid "Location"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-event-calendar-wd.html
4
  Tags: calendar, date, event, event calendar, events, events calendar, meeting, organizer, recurring, reservation, responsive, schedule
5
  Requires at least: 3.9
6
  Tested up to: 4.6
7
- Stable tag: 1.0.76
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -155,6 +155,10 @@ After downloading the ZIP file of the Event Calendar WD plugin,
155
 
156
  == Changelog ==
157
 
 
 
 
 
158
  = 1.0.76 =
159
  * Fixed: Data structures
160
  * Fixed: Bug on Repeating events
4
  Tags: calendar, date, event, event calendar, events, events calendar, meeting, organizer, recurring, reservation, responsive, schedule
5
  Requires at least: 3.9
6
  Tested up to: 4.6
7
+ Stable tag: 1.0.77
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
155
 
156
  == Changelog ==
157
 
158
+ = 1.0.77 =
159
+ * Added: Google maps style option
160
+ * Added: Latitude,Longitude inputs in event-meta,venue-meta pages
161
+
162
  = 1.0.76 =
163
  * Fixed: Data structures
164
  * Fixed: Bug on Repeating events
views/admin/ecwd-event-meta.php CHANGED
@@ -509,6 +509,19 @@ $ecwd_event_video = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_eve
509
  <div id="map-canvas" style="width: 100%; height: 300px; min-height: 300px;">
510
 
511
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
512
  </div>
513
  <p class="description">
514
  <?php _e( 'If venue is not specified you can fill in the address of the event location or click on the map to drag and drop the marker to the event location.', 'ecwd' ); ?>
509
  <div id="map-canvas" style="width: 100%; height: 300px; min-height: 300px;">
510
 
511
  </div>
512
+ <?php
513
+ $latitude = $longitude = '';
514
+ if(!empty($ecwd_lat_long)){
515
+ $lat_long_data = explode(',',$ecwd_lat_long);
516
+ if(is_array($lat_long_data) && count($lat_long_data) == 2) {
517
+ $latitude = $lat_long_data[0];
518
+ $longitude = $lat_long_data[1];
519
+ }
520
+ }
521
+ ?>
522
+ <label style="width:85px;display:inline-block;" for="<?php echo ECWD_PLUGIN_PREFIX;?>_latitude">Latitude:</label><input type="text" id="<?php echo ECWD_PLUGIN_PREFIX;?>_latitude" value="<?php echo $latitude; ?>"/><br/>
523
+ <label style="width:85px;display:inline-block;" for="<?php echo ECWD_PLUGIN_PREFIX;?>_longitude">Longitude:</label><input type="text" id="<?php echo ECWD_PLUGIN_PREFIX;?>_longitude" value="<?php echo $longitude; ?>"/>
524
+
525
  </div>
526
  <p class="description">
527
  <?php _e( 'If venue is not specified you can fill in the address of the event location or click on the map to drag and drop the marker to the event location.', 'ecwd' ); ?>
views/admin/ecwd-venue-meta.php CHANGED
@@ -39,6 +39,18 @@ if(!$ecwd_map_zoom){
39
  <div id="map-canvas" style="width: 100%; height: 300px; min-height: 300px;">
40
 
41
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
42
  </div>
43
  <p class="description">
44
  <?php _e('Fill in the address of the venue or click on the map to drag and drop the marker to a specific location', 'ecwd'); ?>
39
  <div id="map-canvas" style="width: 100%; height: 300px; min-height: 300px;">
40
 
41
  </div>
42
+ <?php
43
+ $latitude = $longitude = '';
44
+ if(!empty($ecwd_venue_lat_long)){
45
+ $lat_long_data = explode(',',$ecwd_venue_lat_long);
46
+ if(is_array($lat_long_data) && count($lat_long_data) == 2) {
47
+ $latitude = $lat_long_data[0];
48
+ $longitude = $lat_long_data[1];
49
+ }
50
+ }
51
+ ?>
52
+ <label style="width:85px" for="<?php echo ECWD_PLUGIN_PREFIX;?>_latitude">Latitude:</label><input type="text" id="<?php echo ECWD_PLUGIN_PREFIX;?>_latitude" value="<?php echo $latitude; ?>"/><br/>
53
+ <label style="width:85px" for="<?php echo ECWD_PLUGIN_PREFIX;?>_longitude">Longitude:</label><input type="text" id="<?php echo ECWD_PLUGIN_PREFIX;?>_longitude" value="<?php echo $longitude; ?>"/>
54
  </div>
55
  <p class="description">
56
  <?php _e('Fill in the address of the venue or click on the map to drag and drop the marker to a specific location', 'ecwd'); ?>
views/related_events.php CHANGED
@@ -62,7 +62,7 @@ if (count($events) > 0) {
62
  }
63
  ?>
64
  </div>
65
- <div class="upcoming_events_item-content"><?php echo( $ecwd_event['post']->post_content ? wpautop($ecwd_event['post']->post_content) : 'No additional details for this event.' ); ?> </div>
66
  </div>
67
  </li>
68
  <?php
62
  }
63
  ?>
64
  </div>
65
+ <div class="upcoming_events_item-content"><?php echo( $ecwd_event['post']->post_content ? wpautop(strip_shortcodes($ecwd_event['post']->post_content)) : 'No additional details for this event.' ); ?> </div>
66
  </div>
67
  </li>
68
  <?php