Event Calendar WD – Responsive Event Calendar plugin - Version 1.0.8

Version Description

Changed: Event page Added: Portuguese language

Download this release

Release Info

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

Code changes from version 1.0.7 to 1.0.8

assets/coming-soon.png ADDED
Binary file
assets/coming_soon.png ADDED
Binary file
assets/upcoming_events.png ADDED
Binary file
css/admin/admin.css CHANGED
@@ -513,6 +513,15 @@ span.ecwd_error{
513
  #ecwd-settings-content #add_on_title{
514
  margin-bottom:20px;
515
  }
 
 
 
 
 
 
 
 
 
516
  #ecwd-settings-content .ecwd-add-on a{
517
  text-decoration: none;
518
  }
@@ -538,6 +547,9 @@ span.ecwd_error{
538
  padding: 9px 12px 9px 45px;
539
  font-size: 17px;
540
  border: 1px solid #93BBC7;
 
 
 
541
  }
542
  #ecwd-settings-content .ecwd-addon-descr span{
543
  padding: 5px 0 5px 10px;
513
  #ecwd-settings-content #add_on_title{
514
  margin-bottom:20px;
515
  }
516
+ #ecwd-settings-content .ecwd-add-on {
517
+ position: relative;
518
+ height: 455px;
519
+ }
520
+ #ecwd-settings-content .ecwd_coming_soon {
521
+ position: absolute;
522
+ top: 0;
523
+ left: 0;
524
+ }
525
  #ecwd-settings-content .ecwd-add-on a{
526
  text-decoration: none;
527
  }
547
  padding: 9px 12px 9px 45px;
548
  font-size: 17px;
549
  border: 1px solid #93BBC7;
550
+ position: absolute;
551
+ left: 20px;
552
+ bottom: 0;
553
  }
554
  #ecwd-settings-content .ecwd-addon-descr span{
555
  padding: 5px 0 5px 10px;
css/style.css CHANGED
@@ -2024,7 +2024,7 @@ a.ecwd-google-plus{
2024
 
2025
  }
2026
  .ecwd-event{
2027
- background-color: #F9F9F9;
2028
  padding: 10px;
2029
  margin-bottom: 10px;
2030
  }
2024
 
2025
  }
2026
  .ecwd-event{
2027
+ background-color: #FFFFFF;
2028
  padding: 10px;
2029
  margin-bottom: 10px;
2030
  }
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.7
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
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.8
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
ecwd_admin_class.php CHANGED
@@ -6,7 +6,7 @@
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
- protected $version = '1.0.7';
10
  protected $ecwd_page = null;
11
 
12
  private function __construct() {
@@ -32,9 +32,9 @@ class ECWD_Admin {
32
  add_action( "admin_head-$hook", array( $this, 'admin_head' ) );
33
  }
34
  //add_filter( 'auto_update_plugin', array($this, 'ecwd_update'), 10, 2 );
35
-
36
- //Wed Dorado Logo
37
- add_action('admin_notices',array($this,'create_logo_to_head'));
38
  }
39
 
40
 
@@ -66,8 +66,9 @@ class ECWD_Admin {
66
  }
67
 
68
  }
69
- public static function uninstall(){
70
-
 
71
  }
72
 
73
 
@@ -78,6 +79,12 @@ class ECWD_Admin {
78
  'display_admin_page'
79
  )
80
  );
 
 
 
 
 
 
81
  $this->ecwd_page[] = add_submenu_page(
82
  'edit.php?post_type=ecwd_calendar', __( 'Themes', 'ecwd' ), __( 'Themes', 'ecwd' ), 'manage_options', $this->prefix . '_themes', array(
83
  $this,
@@ -106,6 +113,64 @@ class ECWD_Admin {
106
 
107
  }
108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  public function display_featured_themes() {
110
  include_once( ECWD_DIR . '/views/admin/ecwd-featured-themes.php' );
111
  }
@@ -297,22 +362,24 @@ class ECWD_Admin {
297
  define( 'ECWD_DIR', dirname( __FILE__ ) );
298
  }
299
  }
300
-
301
- /**
302
- * Set Web Dorado Logo in admin pages
303
- */
304
- public function create_logo_to_head() {
305
- global $pagenow ,$post;
306
-
307
- if( $this->ecwd_page()) { ?>
308
- <div style="float:right; width: 100%; text-align: right;clear:both;">
309
- <a href="https://web-dorado.com/files/fromEventCalendarWD.php" target="_blank" style="text-decoration:none;box-shadow: none;">
310
- <img src="<?php echo plugins_url('/assets/pro.png',__FILE__);?>" border="0" alt="https://web-dorado.com/files/fromEventCalendarWD.php" width="215">
311
- </a>
312
- </div>
313
- <?php }
314
- }
315
-
 
 
316
  /**
317
  * Return an instance of this class.
318
  */
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
+ protected $version = '1.0.8';
10
  protected $ecwd_page = null;
11
 
12
  private function __construct() {
32
  add_action( "admin_head-$hook", array( $this, 'admin_head' ) );
33
  }
34
  //add_filter( 'auto_update_plugin', array($this, 'ecwd_update'), 10, 2 );
35
+
36
+ //Wed Dorado Logo
37
+ add_action( 'admin_notices', array( $this, 'create_logo_to_head' ) );
38
  }
39
 
40
 
66
  }
67
 
68
  }
69
+
70
+ public static function uninstall() {
71
+
72
  }
73
 
74
 
79
  'display_admin_page'
80
  )
81
  );
82
+ $this->ecwd_page[] = add_submenu_page(
83
+ 'edit.php?post_type=ecwd_calendar', __( 'Add-ons', 'ecwd' ), __( 'Add-ons', 'ecwd' ), 'manage_options', $this->prefix . '_addons', array(
84
+ $this,
85
+ 'display_addons_page'
86
+ )
87
+ );
88
  $this->ecwd_page[] = add_submenu_page(
89
  'edit.php?post_type=ecwd_calendar', __( 'Themes', 'ecwd' ), __( 'Themes', 'ecwd' ), 'manage_options', $this->prefix . '_themes', array(
90
  $this,
113
 
114
  }
115
 
116
+ public function display_addons_page() {
117
+
118
+ $addons = array(
119
+ 'event_filters' => array(
120
+ 'name' => 'ECWD Filter Bar',
121
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/filter.html',
122
+ 'description' => 'This add-on is designed for advanced event filter and browsing. It will display multiple filters, which will make it easier for the user to find the relevant event from the calendar.',
123
+ 'icon' => '',
124
+ 'image' => plugins_url( 'assets/add_filters.png', __FILE__ ),
125
+ ),
126
+ 'event_countdown' => array(
127
+ 'name' => 'ECWD Event Countdown',
128
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/countdown.html',
129
+ 'description' => 'With this add-on you can add an elegant countdown to your site. It supports calendar events or a custom one. The styles and colors of the countdown can be modified. It can be used as both as widget and shortcode.',
130
+ 'icon' => '',
131
+ 'image' => plugins_url( 'assets/add_cdown.jpg', __FILE__ ),
132
+ ),
133
+ 'upcoming_events' => array(
134
+ 'name' => 'ECWD Upcoming events widget',
135
+ 'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/upcoming-events.html',
136
+ 'description' => 'The Upcoming events widget is designed for displaying upcoming events lists. The number of events, the event date ranges, as well as the appearance of the widget is fully customizable and easy to manage.',
137
+ 'icon' => '',
138
+ 'image' => plugins_url( 'assets/upcoming_events.png', __FILE__ ),
139
+ ),
140
+ 'fb' => array(
141
+ 'name' => 'ECWD Facebook Integration',
142
+ 'url' => '#',
143
+ 'description' => 'This addon integrates ECWD with your Facebook page and gives functionality to import events or just display events without importing.',
144
+ 'icon' => '',
145
+ 'image' => plugins_url( 'assets/add_fb.jpg', __FILE__ ),
146
+ ),
147
+ 'gcal' => array(
148
+ 'name' => 'ECWD Google Calendar Integration',
149
+ 'url' => '#',
150
+ 'description' => 'This addon integrates ECWD with your Google Calendar and gives functionality to import events or just display events without importing.',
151
+ 'icon' => '',
152
+ 'image' => plugins_url( 'assets/add_gcal.jpg', __FILE__ ),
153
+ ),
154
+ 'ical' => array(
155
+ 'name' => 'ECWD iCAL Integration',
156
+ 'url' => '#',
157
+ 'description' => 'This addon integrates ECWD with your iCAL Calendar and gives functionality to import events or just display events without importing.',
158
+ 'icon' => '',
159
+ 'image' => plugins_url( 'assets/add_ical.jpg', __FILE__ )
160
+ ),
161
+ 'add_event' => array(
162
+ 'name' => 'ECWD Frontend Event Management',
163
+ 'url' => '#',
164
+ 'description' => 'This add-on makes possible to add and manage events in frontend. Site administrators can manage frontend event submissions.',
165
+ 'icon' => '',
166
+ 'image' => plugins_url( 'assets/add_addevent.jpg', __FILE__ ),
167
+ ),
168
+
169
+
170
+ );
171
+ include_once( 'views/admin/addons.php' );
172
+ }
173
+
174
  public function display_featured_themes() {
175
  include_once( ECWD_DIR . '/views/admin/ecwd-featured-themes.php' );
176
  }
362
  define( 'ECWD_DIR', dirname( __FILE__ ) );
363
  }
364
  }
365
+
366
+ /**
367
+ * Set Web Dorado Logo in admin pages
368
+ */
369
+ public function create_logo_to_head() {
370
+ global $pagenow, $post;
371
+
372
+ if ( $this->ecwd_page() ) { ?>
373
+ <div style="float:right; width: 100%; text-align: right;clear:both;">
374
+ <a href="https://web-dorado.com/files/fromEventCalendarWD.php" target="_blank"
375
+ style="text-decoration:none;box-shadow: none;">
376
+ <img src="<?php echo plugins_url( '/assets/pro.png', __FILE__ ); ?>" border="0"
377
+ alt="https://web-dorado.com/files/fromEventCalendarWD.php" width="215">
378
+ </a>
379
+ </div>
380
+ <?php }
381
+ }
382
+
383
  /**
384
  * Return an instance of this class.
385
  */
ecwd_class.php CHANGED
@@ -6,7 +6,7 @@
6
  */
7
  class ECWD {
8
 
9
- protected $version = '1.0.7';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected $old_version = '1.4.11';
6
  */
7
  class ECWD {
8
 
9
+ protected $version = '1.0.8';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected $old_version = '1.4.11';
includes/ecwd-display-class.php CHANGED
@@ -872,7 +872,7 @@ class ECWD_Display {
872
  $events_ids = array();
873
  foreach ( $array as $key => $event ) {
874
  if ( ! in_array( $event['id'], $events_ids ) ) {
875
- $events_ids[0] = $event['id'];
876
  } else {
877
  unset( $array[ $key ] );
878
  }
872
  $events_ids = array();
873
  foreach ( $array as $key => $event ) {
874
  if ( ! in_array( $event['id'], $events_ids ) ) {
875
+ $events_ids[] = $event['id'];
876
  } else {
877
  unset( $array[ $key ] );
878
  }
includes/ecwd-functions.php CHANGED
@@ -396,7 +396,8 @@ function ecwd_print_countdown( $event_id, $widget = 1, $theme_id = null, $args =
396
  );
397
 
398
  $args = array_merge( $defaults, $args );
399
- extract( $args );
 
400
 
401
  $date = ( isset( $args['date'] ) ? $args['date'] : '' );
402
  $d = new ECWD_Display( '', $title_text, $sort );
@@ -427,9 +428,13 @@ function ecwd_print_countdown( $event_id, $widget = 1, $theme_id = null, $args =
427
  $markup .= '<div class="clear"></div>';
428
  $markup .= ' </div>';
429
  $markup .= '<div class="ecwd_countdown">';
430
- $markup .= '<input type="hidden" name="ecwd_start_time" value="' . date( 'Y/m/d H:i:s' ) . '"/>';
431
  $markup .= '<input type="hidden" name="ecwd_end_time" value="' . $start . '"/>';
432
  $markup .= '<input type="hidden" name="ecwd_timezone" value="' . $diff . '"/>';
 
 
 
 
 
433
  if ( $theme_id ) {
434
  $theme = get_post_meta( $theme_id, 'ecwd_countdown_theme', true );
435
  $markup .= '<textarea class="hidden" name="ecwd_theme">' . $theme . '</textarea>';
396
  );
397
 
398
  $args = array_merge( $defaults, $args );
399
+ extract($args);
400
+ $finish_text = isset($args['finish_text'])?$args['finish_text']:'';
401
 
402
  $date = ( isset( $args['date'] ) ? $args['date'] : '' );
403
  $d = new ECWD_Display( '', $title_text, $sort );
428
  $markup .= '<div class="clear"></div>';
429
  $markup .= ' </div>';
430
  $markup .= '<div class="ecwd_countdown">';
 
431
  $markup .= '<input type="hidden" name="ecwd_end_time" value="' . $start . '"/>';
432
  $markup .= '<input type="hidden" name="ecwd_timezone" value="' . $diff . '"/>';
433
+ $markup .= '<input type="hidden" name="ecwd_text_days" value="' . __('DAYS', 'ecwd') . '"/>';
434
+ $markup .= '<input type="hidden" name="ecwd_text_hours" value="' . __('HOURS', 'ecwd') . '"/>';
435
+ $markup .= '<input type="hidden" name="ecwd_text_minutes" value="' . __('MINUTES', 'ecwd') . '"/>';
436
+ $markup .= '<input type="hidden" name="ecwd_text_seconds" value="' . __('SECONDS', 'ecwd') . '"/>';
437
+ $markup .= '<input type="hidden" name="ecwd_finish_text" value="' . $finish_text . '"/>';
438
  if ( $theme_id ) {
439
  $theme = get_post_meta( $theme_id, 'ecwd_countdown_theme', true );
440
  $markup .= '<textarea class="hidden" name="ecwd_theme">' . $theme . '</textarea>';
languages/ecwd-de_DE.mo CHANGED
Binary file
languages/ecwd-de_DE.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
- "POT-Creation-Date: 2015-06-23 15:38+0400\n"
5
- "PO-Revision-Date: 2015-06-23 15:38+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: de\n"
@@ -264,10 +264,6 @@ msgstr "Kategorien"
264
  msgid "Venues"
265
  msgstr "Veranstaltungsorte"
266
 
267
- #: includes/texts.php:54
268
- msgid "The event has just started"
269
- msgstr "Die Veranstaltung hat gerade erst begonnen"
270
-
271
  #: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
272
  #: views/single-event.php:89 views/single-event.php:184
273
  msgid "Date"
@@ -292,3 +288,10 @@ msgstr "veranstaltungen"
292
  #: views/single-event.php:330
293
  msgid "Related events"
294
  msgstr "Keine Veranstaltungen"
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-06-25 15:42+0400\n"
5
+ "PO-Revision-Date: 2015-06-25 15:43+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: de\n"
264
  msgid "Venues"
265
  msgstr "Veranstaltungsorte"
266
 
 
 
 
 
267
  #: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
268
  #: views/single-event.php:89 views/single-event.php:184
269
  msgid "Date"
288
  #: views/single-event.php:330
289
  msgid "Related events"
290
  msgstr "Keine Veranstaltungen"
291
+
292
+ #: includes/calendar-class.php:16
293
+ msgid "No additional details for this event."
294
+ msgstr "Die Veranstaltung hat gerade erst begonnen"
295
+
296
+ #~ msgid "The event has just started"
297
+ #~ msgstr "Die Veranstaltung hat gerade erst begonnen"
languages/ecwd-es_ES.mo CHANGED
Binary file
languages/ecwd-es_ES.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
- "POT-Creation-Date: 2015-06-23 15:39+0400\n"
5
- "PO-Revision-Date: 2015-06-23 15:44+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: es\n"
@@ -263,10 +263,6 @@ msgstr "Categorías"
263
  msgid "Venues"
264
  msgstr "Lugares"
265
 
266
- #: includes/texts.php:54
267
- msgid "The event has just started"
268
- msgstr ""
269
-
270
  #: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
271
  #: views/single-event.php:89 views/single-event.php:184
272
  msgid "Date"
@@ -291,3 +287,7 @@ msgstr "eventos"
291
  #: views/single-event.php:330
292
  msgid "Related events"
293
  msgstr "Más eventos"
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-06-25 15:43+0400\n"
5
+ "PO-Revision-Date: 2015-06-25 15:43+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: es\n"
263
  msgid "Venues"
264
  msgstr "Lugares"
265
 
 
 
 
 
266
  #: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
267
  #: views/single-event.php:89 views/single-event.php:184
268
  msgid "Date"
287
  #: views/single-event.php:330
288
  msgid "Related events"
289
  msgstr "Más eventos"
290
+
291
+ #: includes/calendar-class.php:16
292
+ msgid "No additional details for this event."
293
+ msgstr "No hay más detalles de este evento."
languages/ecwd-fr_FR.mo CHANGED
Binary file
languages/ecwd-fr_FR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
- "POT-Creation-Date: 2015-06-23 15:45+0400\n"
5
- "PO-Revision-Date: 2015-06-23 15:46+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr\n"
@@ -287,3 +287,7 @@ msgstr "événements"
287
  #: views/single-event.php:330
288
  msgid "Related events"
289
  msgstr "Plus d’événements"
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-06-25 15:44+0400\n"
5
+ "PO-Revision-Date: 2015-06-25 15:44+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr\n"
287
  #: views/single-event.php:330
288
  msgid "Related events"
289
  msgstr "Plus d’événements"
290
+
291
+ #: includes/calendar-class.php:16
292
+ msgid "No additional details for this event."
293
+ msgstr "Pas de détails supplémentaires pour cet événement."
languages/ecwd-it_IT.mo CHANGED
Binary file
languages/ecwd-it_IT.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
- "POT-Creation-Date: 2015-06-23 15:46+0400\n"
5
- "PO-Revision-Date: 2015-06-23 15:47+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: it\n"
@@ -287,3 +287,7 @@ msgstr "eventi"
287
  #: views/single-event.php:330
288
  msgid "Related events"
289
  msgstr "Eventi correlati"
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-06-25 15:44+0400\n"
5
+ "PO-Revision-Date: 2015-06-25 15:45+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: it\n"
287
  #: views/single-event.php:330
288
  msgid "Related events"
289
  msgstr "Eventi correlati"
290
+
291
+ #: includes/calendar-class.php:16
292
+ msgid "No additional details for this event."
293
+ msgstr "Nessuna ulteriori dettagli di questo evento."
languages/ecwd-nl_NL.mo CHANGED
Binary file
languages/ecwd-nl_NL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
- "POT-Creation-Date: 2015-06-23 15:47+0400\n"
5
- "PO-Revision-Date: 2015-06-23 15:50+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
@@ -287,3 +287,7 @@ msgstr "events"
287
  #: views/single-event.php:330
288
  msgid "Related events"
289
  msgstr "Verwante evenementen"
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-06-25 15:45+0400\n"
5
+ "PO-Revision-Date: 2015-06-25 15:45+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: nl_NL\n"
287
  #: views/single-event.php:330
288
  msgid "Related events"
289
  msgstr "Verwante evenementen"
290
+
291
+ #: includes/calendar-class.php:16
292
+ msgid "No additional details for this event."
293
+ msgstr "Geen extra informatie voor deze gebeurtenis."
languages/ecwd-pt_PT.mo ADDED
Binary file
languages/ecwd-pt_PT.po ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-06-25 15:46+0400\n"
5
+ "PO-Revision-Date: 2015-06-25 15:46+0400\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: pt\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.1\n"
13
+ "X-Poedit-Basepath: ../\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: _e;__\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+ "X-Poedit-SearchPathExcluded-0: views/admin\n"
18
+ "X-Poedit-SearchPathExcluded-1: js\n"
19
+ "X-Poedit-SearchPathExcluded-2: includes/ecwd-cpt-class.php\n"
20
+ "X-Poedit-SearchPathExcluded-3: includes/register-settings.php\n"
21
+ "X-Poedit-SearchPathExcluded-4: includes/ecwd-ical-events-class.php\n"
22
+ "X-Poedit-SearchPathExcluded-5: includes/ecwd-google-events-class.php\n"
23
+ "X-Poedit-SearchPathExcluded-6: includes/ecwd-facebook-events-class.php\n"
24
+ "X-Poedit-SearchPathExcluded-7: ecwd_admin_class.php\n"
25
+
26
+ #: includes/calendar-class.php:174 includes/calendar-class.php:175
27
+ #: views/widgets.php:168
28
+ msgid "Month"
29
+ msgstr "Mês"
30
+
31
+ #: includes/calendar-class.php:176 views/widgets.php:169
32
+ msgid "List"
33
+ msgstr "Lista"
34
+
35
+ #: includes/calendar-class.php:178
36
+ msgid "Week"
37
+ msgstr "Semana"
38
+
39
+ #: includes/calendar-class.php:182
40
+ msgid "Day"
41
+ msgstr "Dia"
42
+
43
+ #: includes/calendar-class.php:185
44
+ msgid "Map"
45
+ msgstr "Mapa"
46
+
47
+ #: includes/calendar-class.php:187
48
+ msgid "4 Days"
49
+ msgstr "4 Dias"
50
+
51
+ #: includes/calendar-class.php:190
52
+ msgid "Posterboard"
53
+ msgstr ""
54
+
55
+ #: includes/calendar-class.php:382 includes/calendar-class.php:416
56
+ #: includes/calendar-class.php:563 includes/calendar-class.php:1167
57
+ #: includes/calendar-class.php:1306 includes/ecwd-functions.php:359
58
+ #: views/ecwd-event-content.php:75 views/ecwd-event-content.php:157
59
+ #: views/ecwd-organizer-content.php:128 views/ecwd-venue-content.php:173
60
+ #: views/single-event.php:98 views/single-event.php:189
61
+ #: views/single-event.php:354
62
+ msgid "All day"
63
+ msgstr "Dia inteiro"
64
+
65
+ #: includes/calendar-class.php:439 includes/calendar-class.php:515
66
+ #: includes/calendar-class.php:1362
67
+ msgid "No events"
68
+ msgstr "Não há eventos"
69
+
70
+ #: includes/calendar-class.php:635
71
+ msgid "No Events"
72
+ msgstr "Não há eventos"
73
+
74
+ #: includes/calendar-class.php:973
75
+ msgid "What're we looking for ?"
76
+ msgstr "O que vocę estamos procurando?"
77
+
78
+ #: includes/calendar-class.php:1237
79
+ msgid "More events"
80
+ msgstr "Mais eventos"
81
+
82
+ #: includes/ecwd-cpt-filter.php:67
83
+ msgid "From"
84
+ msgstr "De"
85
+
86
+ #: includes/ecwd-cpt-filter.php:74
87
+ msgid "To"
88
+ msgstr "Para"
89
+
90
+ #: includes/ecwd-functions.php:8
91
+ msgid "Loading..."
92
+ msgstr "Carregamento"
93
+
94
+ #: includes/ecwd-functions.php:437 includes/texts.php:50
95
+ msgid "DAYS"
96
+ msgstr "DIAS"
97
+
98
+ #: includes/ecwd-functions.php:438 includes/texts.php:51
99
+ msgid "HOURS"
100
+ msgstr "HORAS"
101
+
102
+ #: includes/ecwd-functions.php:439 includes/texts.php:52
103
+ msgid "MINUTES"
104
+ msgstr "ATAS"
105
+
106
+ #: includes/ecwd-functions.php:440 includes/texts.php:53
107
+ msgid "SECONDS"
108
+ msgstr "SEGUNDOS"
109
+
110
+ #: includes/texts.php:2
111
+ msgid "January"
112
+ msgstr "Janeiro"
113
+
114
+ #: includes/texts.php:3
115
+ msgid "February"
116
+ msgstr "Fevereiro"
117
+
118
+ #: includes/texts.php:4
119
+ msgid "March"
120
+ msgstr "Março"
121
+
122
+ #: includes/texts.php:5
123
+ msgid "April"
124
+ msgstr "Abril"
125
+
126
+ #: includes/texts.php:6
127
+ msgid "May"
128
+ msgstr "Maio"
129
+
130
+ #: includes/texts.php:7
131
+ msgid "June"
132
+ msgstr "Junho"
133
+
134
+ #: includes/texts.php:8
135
+ msgid "July"
136
+ msgstr "Julho"
137
+
138
+ #: includes/texts.php:9
139
+ msgid "August"
140
+ msgstr "Agosto"
141
+
142
+ #: includes/texts.php:10
143
+ msgid "September"
144
+ msgstr "Setembro"
145
+
146
+ #: includes/texts.php:11
147
+ msgid "October"
148
+ msgstr "Outubro"
149
+
150
+ #: includes/texts.php:12
151
+ msgid "November"
152
+ msgstr "Novembro"
153
+
154
+ #: includes/texts.php:13
155
+ msgid "December"
156
+ msgstr "Dezembro"
157
+
158
+ #: includes/texts.php:14
159
+ msgid "Sunday"
160
+ msgstr "Domingo"
161
+
162
+ #: includes/texts.php:15
163
+ msgid "Monday"
164
+ msgstr "Segunda"
165
+
166
+ #: includes/texts.php:16
167
+ msgid "Tuesday"
168
+ msgstr "Terça"
169
+
170
+ #: includes/texts.php:17
171
+ msgid "Wednesday"
172
+ msgstr "Quarta"
173
+
174
+ #: includes/texts.php:18
175
+ msgid "Thursday"
176
+ msgstr "Quinta"
177
+
178
+ #: includes/texts.php:19
179
+ msgid "Friday"
180
+ msgstr "Sexta"
181
+
182
+ #: includes/texts.php:20
183
+ msgid "Saturday"
184
+ msgstr "Sábado"
185
+
186
+ #: includes/texts.php:22
187
+ msgid "Sun"
188
+ msgstr "Dom"
189
+
190
+ #: includes/texts.php:23
191
+ msgid "Mon"
192
+ msgstr "Seg"
193
+
194
+ #: includes/texts.php:24
195
+ msgid "Tue"
196
+ msgstr "Ter"
197
+
198
+ #: includes/texts.php:25
199
+ msgid "Wed"
200
+ msgstr "Qua"
201
+
202
+ #: includes/texts.php:26
203
+ msgid "Thu"
204
+ msgstr "Qui"
205
+
206
+ #: includes/texts.php:27
207
+ msgid "Fri"
208
+ msgstr "Sex"
209
+
210
+ #: includes/texts.php:28
211
+ msgid "Sat"
212
+ msgstr "Sab"
213
+
214
+ #: includes/texts.php:31
215
+ msgid "Su"
216
+ msgstr "1ª"
217
+
218
+ #: includes/texts.php:32
219
+ msgid "Mo"
220
+ msgstr "2ª"
221
+
222
+ #: includes/texts.php:33
223
+ msgid "Tu"
224
+ msgstr "3ª"
225
+
226
+ #: includes/texts.php:34
227
+ msgid "We"
228
+ msgstr "4ª"
229
+
230
+ #: includes/texts.php:35
231
+ msgid "Th"
232
+ msgstr "5ª"
233
+
234
+ #: includes/texts.php:36
235
+ msgid "Fr"
236
+ msgstr "6ª"
237
+
238
+ #: includes/texts.php:37
239
+ msgid "Sa"
240
+ msgstr "7ª"
241
+
242
+ #: includes/texts.php:41
243
+ msgid "Show Filters"
244
+ msgstr "Mostrar Filtros"
245
+
246
+ #: includes/texts.php:42
247
+ msgid "Collapse Filters"
248
+ msgstr "Recolher Filtros"
249
+
250
+ #: includes/texts.php:43
251
+ msgid "Reset Filters"
252
+ msgstr "Reset Filtros"
253
+
254
+ #: includes/texts.php:45
255
+ msgid "Days"
256
+ msgstr "Dias"
257
+
258
+ #: includes/texts.php:46
259
+ msgid "Categories"
260
+ msgstr "Categorias"
261
+
262
+ #: includes/texts.php:47
263
+ msgid "Venues"
264
+ msgstr "Locais"
265
+
266
+ #: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
267
+ #: views/single-event.php:89 views/single-event.php:184
268
+ msgid "Date"
269
+ msgstr "Data"
270
+
271
+ #: views/ecwd-event-content.php:90 views/single-event.php:114
272
+ msgid "Url"
273
+ msgstr ""
274
+
275
+ #: views/ecwd-event-content.php:96 views/single-event.php:121
276
+ msgid "Organizers"
277
+ msgstr "Organizadores"
278
+
279
+ #: views/ecwd-organizer-content.php:105
280
+ msgid "upcoming events"
281
+ msgstr "próximos eventos"
282
+
283
+ #: views/ecwd-venue-content.php:136
284
+ msgid "events"
285
+ msgstr "eventos"
286
+
287
+ #: views/single-event.php:330
288
+ msgid "Related events"
289
+ msgstr "Outros eventos"
290
+
291
+ #: includes/calendar-class.php:16
292
+ msgid "No additional details for this event."
293
+ msgstr "Não há detalhes adicionais para este evento."
languages/ecwd-ru_RU.mo CHANGED
Binary file
languages/ecwd-ru_RU.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
- "POT-Creation-Date: 2015-06-23 15:51+0400\n"
5
- "PO-Revision-Date: 2015-06-23 15:51+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
@@ -82,11 +82,11 @@ msgstr "Другие события"
82
 
83
  #: includes/ecwd-cpt-filter.php:67
84
  msgid "From"
85
- msgstr ""
86
 
87
  #: includes/ecwd-cpt-filter.php:74
88
  msgid "To"
89
- msgstr ""
90
 
91
  #: includes/ecwd-functions.php:8
92
  msgid "Loading..."
@@ -94,19 +94,19 @@ msgstr "Загрузка..."
94
 
95
  #: includes/ecwd-functions.php:437 includes/texts.php:50
96
  msgid "DAYS"
97
- msgstr ""
98
 
99
  #: includes/ecwd-functions.php:438 includes/texts.php:51
100
  msgid "HOURS"
101
- msgstr ""
102
 
103
  #: includes/ecwd-functions.php:439 includes/texts.php:52
104
  msgid "MINUTES"
105
- msgstr ""
106
 
107
  #: includes/ecwd-functions.php:440 includes/texts.php:53
108
  msgid "SECONDS"
109
- msgstr ""
110
 
111
  #: includes/texts.php:2
112
  msgid "January"
@@ -242,27 +242,27 @@ msgstr "С"
242
 
243
  #: includes/texts.php:41
244
  msgid "Show Filters"
245
- msgstr ""
246
 
247
  #: includes/texts.php:42
248
  msgid "Collapse Filters"
249
- msgstr ""
250
 
251
  #: includes/texts.php:43
252
  msgid "Reset Filters"
253
- msgstr ""
254
 
255
  #: includes/texts.php:45
256
  msgid "Days"
257
- msgstr ""
258
 
259
  #: includes/texts.php:46
260
  msgid "Categories"
261
- msgstr ""
262
 
263
  #: includes/texts.php:47
264
  msgid "Venues"
265
- msgstr ""
266
 
267
  #: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
268
  #: views/single-event.php:89 views/single-event.php:184
@@ -288,3 +288,7 @@ msgstr "события"
288
  #: views/single-event.php:330
289
  msgid "Related events"
290
  msgstr "Похожие события"
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-06-25 15:46+0400\n"
5
+ "PO-Revision-Date: 2015-06-25 15:48+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
82
 
83
  #: includes/ecwd-cpt-filter.php:67
84
  msgid "From"
85
+ msgstr "От"
86
 
87
  #: includes/ecwd-cpt-filter.php:74
88
  msgid "To"
89
+ msgstr "до"
90
 
91
  #: includes/ecwd-functions.php:8
92
  msgid "Loading..."
94
 
95
  #: includes/ecwd-functions.php:437 includes/texts.php:50
96
  msgid "DAYS"
97
+ msgstr "ДНЕЙ"
98
 
99
  #: includes/ecwd-functions.php:438 includes/texts.php:51
100
  msgid "HOURS"
101
+ msgstr "ЧАСОВ"
102
 
103
  #: includes/ecwd-functions.php:439 includes/texts.php:52
104
  msgid "MINUTES"
105
+ msgstr "МИНУТ"
106
 
107
  #: includes/ecwd-functions.php:440 includes/texts.php:53
108
  msgid "SECONDS"
109
+ msgstr "СЕКУНД"
110
 
111
  #: includes/texts.php:2
112
  msgid "January"
242
 
243
  #: includes/texts.php:41
244
  msgid "Show Filters"
245
+ msgstr "Показать Фильтры"
246
 
247
  #: includes/texts.php:42
248
  msgid "Collapse Filters"
249
+ msgstr "Свернуть Фильтры"
250
 
251
  #: includes/texts.php:43
252
  msgid "Reset Filters"
253
+ msgstr "Сбросить фильтры"
254
 
255
  #: includes/texts.php:45
256
  msgid "Days"
257
+ msgstr "Дни недели"
258
 
259
  #: includes/texts.php:46
260
  msgid "Categories"
261
+ msgstr "Категории"
262
 
263
  #: includes/texts.php:47
264
  msgid "Venues"
265
+ msgstr "Места"
266
 
267
  #: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
268
  #: views/single-event.php:89 views/single-event.php:184
288
  #: views/single-event.php:330
289
  msgid "Related events"
290
  msgstr "Похожие события"
291
+
292
+ #: includes/calendar-class.php:16
293
+ msgid "No additional details for this event."
294
+ msgstr "Нет дополнительной информации о мероприятии."
languages/ecwd-tr_TR.mo CHANGED
Binary file
languages/ecwd-tr_TR.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
- "POT-Creation-Date: 2015-06-05 18:52+0400\n"
5
- "PO-Revision-Date: 2015-06-05 18:54+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: tr\n"
@@ -23,25 +23,20 @@ msgstr ""
23
  "X-Poedit-SearchPathExcluded-6: includes/ecwd-facebook-events-class.php\n"
24
  "X-Poedit-SearchPathExcluded-7: ecwd_admin_class.php\n"
25
 
26
- #: ecwd_class.php:47
27
- msgid "Could not load the localization file: "
28
- msgstr ""
29
-
30
  #: includes/calendar-class.php:174 includes/calendar-class.php:175
31
- #: includes/calendar-class.php:935 views/widgets.php:168
32
  msgid "Month"
33
  msgstr "Ay"
34
 
35
- #: includes/calendar-class.php:176 includes/calendar-class.php:936
36
- #: views/widgets.php:169
37
  msgid "List"
38
  msgstr "Liste"
39
 
40
- #: includes/calendar-class.php:178 includes/calendar-class.php:937
41
  msgid "Week"
42
  msgstr "Hafta"
43
 
44
- #: includes/calendar-class.php:182 includes/calendar-class.php:938
45
  msgid "Day"
46
  msgstr "Gün"
47
 
@@ -58,15 +53,17 @@ msgid "Posterboard"
58
  msgstr "Posterboard"
59
 
60
  #: includes/calendar-class.php:382 includes/calendar-class.php:416
61
- #: includes/calendar-class.php:563 includes/calendar-class.php:1164
62
- #: includes/calendar-class.php:1303 includes/ecwd-functions.php:380
63
  #: views/ecwd-event-content.php:75 views/ecwd-event-content.php:157
64
  #: views/ecwd-organizer-content.php:128 views/ecwd-venue-content.php:173
 
 
65
  msgid "All day"
66
  msgstr "Bütün gün"
67
 
68
  #: includes/calendar-class.php:439 includes/calendar-class.php:515
69
- #: includes/calendar-class.php:1359
70
  msgid "No events"
71
  msgstr "Etkinlik yok"
72
 
@@ -74,78 +71,42 @@ msgstr "Etkinlik yok"
74
  msgid "No Events"
75
  msgstr "Etkinlik yok"
76
 
77
- #: includes/calendar-class.php:970
78
  msgid "What're we looking for ?"
79
  msgstr "Neyi arıyor?"
80
 
81
- #: includes/calendar-class.php:1234
82
  msgid "More events"
83
  msgstr "Daha fazla etkinlik"
84
 
85
- #: includes/ecwd-event-class.php:188
86
- #, php-format
87
- msgid "%s year"
88
- msgstr ""
89
-
90
- #: includes/ecwd-event-class.php:188
91
- #, php-format
92
- msgid "%s years"
93
- msgstr ""
94
-
95
- #: includes/ecwd-event-class.php:189
96
- #, php-format
97
- msgid "%s month"
98
- msgstr ""
99
-
100
- #: includes/ecwd-event-class.php:189
101
- #, php-format
102
- msgid "%s months"
103
- msgstr ""
104
-
105
- #: includes/ecwd-event-class.php:190
106
- #, php-format
107
- msgid "%s week"
108
  msgstr ""
109
 
110
- #: includes/ecwd-event-class.php:190
111
- #, php-format
112
- msgid "%s weeks"
113
  msgstr ""
114
 
115
- #: includes/ecwd-event-class.php:191
116
- #, php-format
117
- msgid "%s day"
118
- msgstr ""
119
-
120
- #: includes/ecwd-event-class.php:191
121
- #, php-format
122
- msgid "%s days"
123
- msgstr ""
124
 
125
- #: includes/ecwd-event-class.php:192
126
- #, php-format
127
- msgid "%s hour"
128
- msgstr ""
129
 
130
- #: includes/ecwd-event-class.php:192
131
- #, php-format
132
- msgid "%s hours"
133
- msgstr ""
134
 
135
- #: includes/ecwd-event-class.php:193
136
- #, php-format
137
- msgid "%s min"
138
  msgstr ""
139
 
140
- #: includes/ecwd-event-class.php:193
141
- #, php-format
142
- msgid "%s mins"
143
  msgstr ""
144
 
145
- #: includes/ecwd-functions.php:8
146
- msgid "Loading..."
147
- msgstr "Yükleme..."
148
-
149
  #: includes/texts.php:2
150
  msgid "January"
151
  msgstr "Ocak"
@@ -278,15 +239,40 @@ msgstr "C"
278
  msgid "Sa"
279
  msgstr "C"
280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  #: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
 
282
  msgid "Date"
283
  msgstr "Tarih"
284
 
285
- #: views/ecwd-event-content.php:90
286
  msgid "Url"
287
  msgstr "Url"
288
 
289
- #: views/ecwd-event-content.php:96
290
  msgid "Organizers"
291
  msgstr "Organizatörler"
292
 
@@ -298,45 +284,6 @@ msgstr "Yaklaşan Etkinlikler"
298
  msgid "events"
299
  msgstr "Olaylar"
300
 
301
- #: views/widgets.php:19
302
- msgid "Event Calendar WD"
303
- msgstr ""
304
-
305
- #: views/widgets.php:19
306
- msgid "Descr"
307
- msgstr ""
308
-
309
- #: views/widgets.php:63
310
- msgid ""
311
- "No valid Event IDs have been entered for this widget. Please check that you "
312
- "have entered the IDs correctly in the widget settings (Appearance > "
313
- "Widgets), and that the Events have not been deleted."
314
- msgstr ""
315
-
316
- #: views/widgets.php:95
317
- msgid "You have not added any events yet."
318
- msgstr ""
319
-
320
- #: views/widgets.php:128
321
- msgid "There are no calendars created yet."
322
- msgstr ""
323
-
324
- #: views/widgets.php:129
325
- msgid "Add your first calendar!"
326
- msgstr ""
327
-
328
- #: views/widgets.php:147
329
- msgid "Title:"
330
- msgstr ""
331
-
332
- #: views/widgets.php:152
333
- msgid "Calendar to display"
334
- msgstr ""
335
-
336
- #: views/widgets.php:166
337
- msgid "Display Events as:"
338
- msgstr ""
339
-
340
- #: views/widgets.php:173
341
- msgid "Events per page in list view:"
342
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: event_calendar_wd\n"
4
+ "POT-Creation-Date: 2015-06-23 16:21+0400\n"
5
+ "PO-Revision-Date: 2015-06-23 16:21+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: tr\n"
23
  "X-Poedit-SearchPathExcluded-6: includes/ecwd-facebook-events-class.php\n"
24
  "X-Poedit-SearchPathExcluded-7: ecwd_admin_class.php\n"
25
 
 
 
 
 
26
  #: includes/calendar-class.php:174 includes/calendar-class.php:175
27
+ #: views/widgets.php:168
28
  msgid "Month"
29
  msgstr "Ay"
30
 
31
+ #: includes/calendar-class.php:176 views/widgets.php:169
 
32
  msgid "List"
33
  msgstr "Liste"
34
 
35
+ #: includes/calendar-class.php:178
36
  msgid "Week"
37
  msgstr "Hafta"
38
 
39
+ #: includes/calendar-class.php:182
40
  msgid "Day"
41
  msgstr "Gün"
42
 
53
  msgstr "Posterboard"
54
 
55
  #: includes/calendar-class.php:382 includes/calendar-class.php:416
56
+ #: includes/calendar-class.php:563 includes/calendar-class.php:1167
57
+ #: includes/calendar-class.php:1306 includes/ecwd-functions.php:359
58
  #: views/ecwd-event-content.php:75 views/ecwd-event-content.php:157
59
  #: views/ecwd-organizer-content.php:128 views/ecwd-venue-content.php:173
60
+ #: views/single-event.php:98 views/single-event.php:189
61
+ #: views/single-event.php:354
62
  msgid "All day"
63
  msgstr "Bütün gün"
64
 
65
  #: includes/calendar-class.php:439 includes/calendar-class.php:515
66
+ #: includes/calendar-class.php:1362
67
  msgid "No events"
68
  msgstr "Etkinlik yok"
69
 
71
  msgid "No Events"
72
  msgstr "Etkinlik yok"
73
 
74
+ #: includes/calendar-class.php:973
75
  msgid "What're we looking for ?"
76
  msgstr "Neyi arıyor?"
77
 
78
+ #: includes/calendar-class.php:1237
79
  msgid "More events"
80
  msgstr "Daha fazla etkinlik"
81
 
82
+ #: includes/ecwd-cpt-filter.php:67
83
+ msgid "From"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  msgstr ""
85
 
86
+ #: includes/ecwd-cpt-filter.php:74
87
+ msgid "To"
 
88
  msgstr ""
89
 
90
+ #: includes/ecwd-functions.php:8
91
+ msgid "Loading..."
92
+ msgstr "Yükleme..."
 
 
 
 
 
 
93
 
94
+ #: includes/ecwd-functions.php:437 includes/texts.php:50
95
+ msgid "DAYS"
96
+ msgstr "GÜN"
 
97
 
98
+ #: includes/ecwd-functions.php:438 includes/texts.php:51
99
+ msgid "HOURS"
100
+ msgstr "SAAT"
 
101
 
102
+ #: includes/ecwd-functions.php:439 includes/texts.php:52
103
+ msgid "MINUTES"
 
104
  msgstr ""
105
 
106
+ #: includes/ecwd-functions.php:440 includes/texts.php:53
107
+ msgid "SECONDS"
 
108
  msgstr ""
109
 
 
 
 
 
110
  #: includes/texts.php:2
111
  msgid "January"
112
  msgstr "Ocak"
239
  msgid "Sa"
240
  msgstr "C"
241
 
242
+ #: includes/texts.php:41
243
+ msgid "Show Filters"
244
+ msgstr ""
245
+
246
+ #: includes/texts.php:42
247
+ msgid "Collapse Filters"
248
+ msgstr ""
249
+
250
+ #: includes/texts.php:43
251
+ msgid "Reset Filters"
252
+ msgstr ""
253
+
254
+ #: includes/texts.php:45
255
+ msgid "Days"
256
+ msgstr ""
257
+
258
+ #: includes/texts.php:46
259
+ msgid "Categories"
260
+ msgstr ""
261
+
262
+ #: includes/texts.php:47
263
+ msgid "Venues"
264
+ msgstr ""
265
+
266
  #: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
267
+ #: views/single-event.php:89 views/single-event.php:184
268
  msgid "Date"
269
  msgstr "Tarih"
270
 
271
+ #: views/ecwd-event-content.php:90 views/single-event.php:114
272
  msgid "Url"
273
  msgstr "Url"
274
 
275
+ #: views/ecwd-event-content.php:96 views/single-event.php:121
276
  msgid "Organizers"
277
  msgstr "Organizatörler"
278
 
284
  msgid "events"
285
  msgstr "Olaylar"
286
 
287
+ #: views/single-event.php:330
288
+ msgid "Related events"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
289
  msgstr ""
languages/en.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: event_calendar_wd\n"
5
- "POT-Creation-Date: 2015-06-22 17:08+0400\n"
6
  "PO-Revision-Date: 2015-06-05 12:45+0400\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -24,7 +24,6 @@ msgstr ""
24
  "X-Poedit-SearchPathExcluded-6: includes/ecwd-facebook-events-class.php\n"
25
  "X-Poedit-SearchPathExcluded-7: ecwd_admin_class.php\n"
26
 
27
-
28
  #: includes/calendar-class.php:174 includes/calendar-class.php:175
29
  #: views/widgets.php:168
30
  msgid "Month"
@@ -289,3 +288,7 @@ msgstr ""
289
  #: views/single-event.php:330
290
  msgid "Related events"
291
  msgstr ""
 
 
 
 
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: event_calendar_wd\n"
5
+ "POT-Creation-Date: 2015-06-25 15:42+0400\n"
6
  "PO-Revision-Date: 2015-06-05 12:45+0400\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
24
  "X-Poedit-SearchPathExcluded-6: includes/ecwd-facebook-events-class.php\n"
25
  "X-Poedit-SearchPathExcluded-7: ecwd_admin_class.php\n"
26
 
 
27
  #: includes/calendar-class.php:174 includes/calendar-class.php:175
28
  #: views/widgets.php:168
29
  msgid "Month"
288
  #: views/single-event.php:330
289
  msgid "Related events"
290
  msgstr ""
291
+
292
+ #: includes/calendar-class.php:16
293
+ msgid "No additional details for this event."
294
+ msgstr ""
readme.txt CHANGED
@@ -4,36 +4,40 @@ Donate link: https://web-dorado.com/products/wordpress-event-calendar-wd.html
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar, calendar widget, event registration, event management,events, agenda, holiday calendar , scheduling, free calendar, Calender, upcoming events , event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting , appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit
5
  Requires at least: 3.9
6
  Tested up to: 4.2
7
- Stable tag: 1.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  Organize and publish your events in an easy and elegant way using Event Calendar WD.
12
 
13
  == Description ==
 
 
14
 
15
  [WordPress Event Calendar WD](http://web-dorado.com/products/wordpress-event-calendar-wd.html)
16
  [Demo](http://wpdemo.web-dorado.com/event-calendar-wd/)
17
  [User Guide](https://web-dorado.com/wordpress-event-calendar-wd/installing.html)
18
- [Support Forum](https://web-dorado.com/forum/wordpress-event-calendar-wd.html)
19
-
20
- Looking for an enhanced tool for displaying and managing various events within the site? Whether you have a single events you want to display on a calendar or multiple events per day, the Event Calendar plugin will help you to organize the events using elegant views.
21
-
22
- You can choose to display the calendar with all four views (choosing the ordering of the views) or select only the view(s) you prefer. The views are Month, Week, List and Day.
23
-
24
- The plugin is created based on WordPress core standards. This means that each calendar/event is a custom post, the category is a taxonomy and standard tags are applicable for each post. Thus the Event Calendar WD fully inherits the user and SEO-friendly standards of WordPress.
25
-
26
- Event calendar WD is responsive and runs very smoothly on all devices. Thus the site visitors will get a pleasant user experience when using various mobile devices and tablets.
27
-
28
- The color scheme of the calendar is based on the theme and the category colors. To get access to the theme section you need to purchase the Pro version of the calendar.In free version you can add colors to event categories. The events will display with the background color prescribed by the category.
29
-
30
- Don't want the user to leave the calendar page without knowing the details of the interesting events? Well, the calendar plugin uses Ajax load for the events and all event details are being displayed on hover.
31
-
32
- The events should be repeated? Feel free to use the recurring option choosing the repeating period on your own. So you can easily manage recurring events.
33
-
34
- You can choose a venue for each event and mark up the location on Google Maps. Whenever creating new events you have options of selecting from previously created venues, or to create a new venue. The Google Map integration helps to display the scaled option of the map. This will ensure that your guests will get full directions and never miss an event.
35
-
36
- Need to mention the hosts of the event? The Event Calendar WD plugin uses organizer section for this exact purpose. The number of the organizers is not limited. The events can be hosted by multiple organizers.
 
 
37
 
38
  = Features of Event Calendar WD: =
39
 
@@ -75,6 +79,7 @@ French (fr_FR)
75
  Italian (it_IT)
76
  Russian (ru_RU)
77
  Turkish (tr_TR)
 
78
 
79
  == Screenshots ==
80
 
@@ -109,7 +114,11 @@ After downloading the ZIP file of the Event Calendar WD plugin,
109
  5. Click "Activate Plugin" button for activating the Event Calendar WD.
110
  6. If the installation does not succeed, please contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
111
 
112
- == Changelog ==
 
 
 
 
113
 
114
  = 1.0.7 =
115
  New: Related events slider
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar, calendar widget, event registration, event management,events, agenda, holiday calendar , scheduling, free calendar, Calender, upcoming events , event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting , appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit
5
  Requires at least: 3.9
6
  Tested up to: 4.2
7
+ Stable tag: 1.0.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  Organize and publish your events in an easy and elegant way using Event Calendar WD.
12
 
13
  == Description ==
14
+
15
+ https://www.youtube.com/watch?v=htmdAkRuIzw
16
 
17
  [WordPress Event Calendar WD](http://web-dorado.com/products/wordpress-event-calendar-wd.html)
18
  [Demo](http://wpdemo.web-dorado.com/event-calendar-wd/)
19
  [User Guide](https://web-dorado.com/wordpress-event-calendar-wd/installing.html)
20
+ [Support Forum](https://web-dorado.com/forum/wordpress-event-calendar-wd.html)
21
+
22
+ Looking for an enhanced tool for displaying and managing various events within the site? Whether you have a single event you want to display on a calendar or multiple events per day, the Event Calendar plugin will help you to organize the events using elegant views.
23
+
24
+ You can choose to display the event calendar with all four views (choosing the ordering of the views) or select only the view(s) you prefer. The event calendar uses the following default views- Month, Week, List and Day.
25
+
26
+ The plugin is created based on WordPress core standards. This means that each calendar/event is a custom post, the category is taxonomy and standard tags are applicable for each post. Thus the Event Calendar WD fully inherits the user and SEO-friendly standards of WordPress.
27
+
28
+ The Event calendar WD is responsive and runs very smoothly on all devices. Thus the site visitors will get a pleasant user experience when using various mobile devices and tablets.
29
+
30
+ The color scheme of the event calendar is based on the theme and the category colors. To get access to the theme section you need to purchase the Pro version of the Event calendar WD. In free version you can add colors to event categories. The events will display with the background color prescribed by the category.
31
+
32
+ Don't want the user to leave the event calendar page without knowing the details of the interesting events? Well, the calendar plugin uses Ajax load for the events and all event details are being displayed on hover.
33
+
34
+ The events should be repeated? Feel free to use the recurring option choosing the repeating period on your own. So you can easily manage recurring events with this event calendar.
35
+
36
+ You can choose a venue for each event and mark up the location on Google Maps and display all of this on the event calendar. Whenever creating new events you have options of selecting from previously created venues, or to create a new venue. The Google Map integration helps to display the scaled option of the map. This will ensure that your guests will get full directions and never miss an event.
37
+
38
+ Need to mention the hosts of the event? The Event Calendar WD plugin uses organizer section for this exact purpose. The number of the organizers is not limited. The events can be hosted by multiple organizers.
39
+
40
+ The Event Calendar WD can be also used as an integral part of your site, not simply as a plugin. Since the event calendars are being created as a custom post, there is a possibility to display the event calendars among the standard post listings such as related posts or latest posts.
41
 
42
  = Features of Event Calendar WD: =
43
 
79
  Italian (it_IT)
80
  Russian (ru_RU)
81
  Turkish (tr_TR)
82
+ Portuguese (pt_PT)
83
 
84
  == Screenshots ==
85
 
114
  5. Click "Activate Plugin" button for activating the Event Calendar WD.
115
  6. If the installation does not succeed, please contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
116
 
117
+ == Changelog ==
118
+
119
+ = 1.0.8 =
120
+ Changed: Event page
121
+ Added: Portuguese language
122
 
123
  = 1.0.7 =
124
  New: Related events slider
views/admin/addons.php ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Admin page
5
+ */
6
+
7
+ // Exit if accessed directly.
8
+ if (!defined('ABSPATH')) {
9
+ exit;
10
+ }
11
+
12
+ //global $ecwd_options;
13
+
14
+ ?>
15
+
16
+ <div class="wrap">
17
+ <?php settings_errors(); ?>
18
+ <div id="ecwd-settings">
19
+ <div id="ecwd-settings-content">
20
+ <h2 id="add_on_title"><?php echo esc_html(get_admin_page_title()); ?></h2>
21
+ <?php
22
+ if($addons){
23
+ foreach ($addons as $addon) {
24
+ ?>
25
+ <div class="ecwd-add-on">
26
+ <a href="<?php echo $addon['url']?>" target="_blank">
27
+ <?php if($addon['image']){?>
28
+ <img src="<?php echo $addon['image']?>" />
29
+ <?php }?>
30
+ <h2><?php echo $addon['name']?></h2>
31
+ </a>
32
+ <div class="ecwd-addon-descr">
33
+ <?php if($addon['icon']){?>
34
+ <img src="<?php echo $addon['icon']?>" />
35
+ <?php }?>
36
+ <?php echo $addon['description']?>
37
+ <?php if($addon['url']!=='#'){?>
38
+ <a href="<?php echo $addon['url']?>" target="_blank"><span>GET THIS ADD ON</span></a>
39
+ <?php }else{?>
40
+ <div class="ecwd_coming_soon" >
41
+ <img src="<?php echo plugins_url( '../../assets/coming_soon.png', __FILE__ );?>" />
42
+ </div>
43
+ <?php }?>
44
+ </div>
45
+ </div>
46
+ <?php
47
+ }
48
+ }
49
+ ?>
50
+
51
+ </div>
52
+ <!-- #ecwd-settings-content -->
53
+ </div>
54
+ <!-- #ecwd-settings -->
55
+ </div><!-- .wrap -->
views/single-event.php CHANGED
@@ -30,6 +30,9 @@ $ecwd_event_location = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_event_lo
30
  $ecwd_event_latlong = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_lat_long', true );
31
  $ecwd_event_zoom = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_map_zoom', true );
32
  $ecwd_event_show_map = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_event_show_map', true );
 
 
 
33
  if ( ! $ecwd_event_zoom ) {
34
  $ecwd_event_zoom = 17;
35
  }
@@ -66,15 +69,16 @@ if ( has_post_thumbnail() ) {
66
  get_header();
67
  ?>
68
  <div id="ecwd-events-content" class="ecwd-events-single hentry">
69
- <header class="entry-header">
70
- <?php the_title( '<h1 class="ecwd-events-single-event-title summary entry-title">', '</h1>' ); ?>
71
- </header>
72
 
73
  <?php while ( have_posts() ) :
74
  the_post(); ?>
75
  <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
76
 
77
  <div class="ecwd-event" itemscope itemtype="http://schema.org/Event">
 
 
 
78
  <div class="event-detalis">
79
 
80
  <?php ?>
@@ -208,193 +212,193 @@ get_header();
208
  </div>
209
  <?php } ?>
210
  <div class="clear"></div>
211
- </div>
212
 
213
 
214
- <div class="ecwd-event-video">
215
- <?php
216
- if ( strpos( $ecwd_event_video, 'youtube' ) > 0 ) {
217
- parse_str( parse_url( $ecwd_event_video, PHP_URL_QUERY ), $video_array_of_vars );
218
- if ( isset( $video_array_of_vars['v'] ) && $video_array_of_vars['v'] ) {
219
- ?>
220
- <object data="http://www.youtube.com/v/<?php echo $video_array_of_vars['v'] ?>"
221
- type="application/x-shockwave-flash" width="400" height="300">
222
- <param name="src"
223
- value="http://www.youtube.com/v/<?php echo $video_array_of_vars['v'] ?>"/>
224
- </object>
225
- <?php }
226
- } elseif ( strpos( $ecwd_event_video, 'vimeo' ) > 0 ) {
227
- $videoID = explode( '/', $ecwd_event_video );
228
- $videoID = $videoID[ count( $videoID ) - 1 ];
229
- if ( $videoID ) {
 
 
 
 
 
 
 
230
 
231
- ?>
232
- <iframe
233
- src="http://player.vimeo.com/video/<?php echo $videoID; ?>?title=0&amp;byline=0&amp;portrait=0&amp;badge=0&amp;color=ffffff"
234
- width="" height="" frameborder="0" webkitAllowFullScreen mozallowfullscreen
235
- allowFullScreen></iframe>
236
- <?php }
237
 
 
238
 
239
- }
240
-
241
- ?>
242
- </div>
243
- <div>
244
- <?php the_content(); ?>
245
- </div>
246
 
247
 
248
- <?php
249
- if ( $ecwd_options['related_events'] == 1 ) {
250
- $post_cats = wp_get_post_terms( $post_id, ECWD_PLUGIN_PREFIX . '_event_category' );
251
- $cat_ids = wp_list_pluck( $post_cats, 'term_id' );
252
- $post_tags = wp_get_post_terms( $post_id, ECWD_PLUGIN_PREFIX . '_event_tag' );
253
- $tag_ids = wp_list_pluck( $post_tags, 'term_id' );
254
- $events = array();
255
- $today = date( 'Y-m-d' );
256
-
257
- $args = array(
258
- 'numberposts' => - 1,
259
- 'post_type' => ECWD_PLUGIN_PREFIX . '_event',
260
- 'tax_query' => array(
261
- array(
262
- 'taxonomy' => ECWD_PLUGIN_PREFIX . '_event_category',
263
- 'terms' => $cat_ids,
264
- 'field' => 'term_id',
265
- )
266
- ),
267
- 'orderby' => 'meta_value',
268
- 'order' => 'ASC'
269
- );
270
- $ecwd_events_by_cats = get_posts( $args );
271
- $args = array(
272
- 'numberposts' => - 1,
273
- 'post_type' => ECWD_PLUGIN_PREFIX . '_event',
274
- 'tax_query' => array(
275
- array(
276
- 'taxonomy' => ECWD_PLUGIN_PREFIX . '_event_tag',
277
- 'terms' => $tag_ids,
278
- 'field' => 'term_id',
279
  ),
280
- ),
281
- 'orderby' => 'meta_value',
282
- 'order' => 'ASC'
283
- );
284
- $ecwd_events_by_tags = get_posts( $args );
285
- $ecwd_events = array_merge( $ecwd_events_by_tags, $ecwd_events_by_cats );
286
- $ecwd_events = array_map( "unserialize", array_unique( array_map( "serialize", $ecwd_events ) ) );
287
- wp_reset_postdata();
288
- wp_reset_query();
289
-
290
- foreach ( $ecwd_events as $ecwd_event ) {
291
- if ( $ecwd_event->ID != $post_id ) {
292
- $term_metas = '';
293
- $categories = get_the_terms( $ecwd_event->ID, ECWD_PLUGIN_PREFIX . '_event_category' );
294
- if ( is_array( $categories ) ) {
295
- foreach ( $categories as $category ) {
296
- $term_metas = get_option( "ecwd_event_category_$category->term_id" );
297
- $term_metas['id'] = $category->term_id;
298
- $term_metas['name'] = $category->name;
299
- $term_metas['slug'] = $category->slug;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
300
  }
301
- }
302
- $ecwd_event_metas = get_post_meta( $ecwd_event->ID, '', true );
303
- $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_url' ] = array( 0 => '' );
304
- if ( ! isset( $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_location' ] ) ) {
305
- $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_location' ] = array( 0 => '' );
306
- }
307
- if ( ! isset( $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_lat_long' ] ) ) {
308
- $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_lat_long' ] = array( 0 => '' );
309
- }
310
- if ( ! isset( $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_to' ] ) ) {
311
- $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_to' ] = array( 0 => '' );
312
- }
313
- if ( ! isset( $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_from' ] ) ) {
314
- $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_from' ] = array( 0 => '' );
315
- }
316
 
317
- $permalink = get_permalink( $ecwd_event->ID );
318
- $events[ $ecwd_event->ID ] = new ECWD_Event( $ecwd_event->ID, 0, $ecwd_event->post_title, $ecwd_event->post_content, $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_location' ][0], $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_from' ][0], $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_to' ][0], $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_url' ][0], $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_lat_long' ][0], $permalink, $ecwd_event, $term_metas, $ecwd_event_metas );
 
319
  }
320
- }
321
-
322
- $d = new ECWD_Display( 0, '', '', $today );
323
- $events = $d->get_event_days( $events );
324
 
 
 
325
 
326
 
327
- ?>
328
 
329
- <?php if ( count( $events ) > 0 ) {
330
- $events=$d->events_unique($events);
331
  ?>
332
 
333
- <div class="ecwd-venue-events">
334
- <h3> <?php _e( 'Related events', 'ecwd' ) ?></h3>
335
-
336
- <div class="upcoming_events_slider">
337
 
338
- <div class="upcoming_events_slider-arrow-left"><a href="#left"></a></div>
339
- <div class="upcoming_events_slider-arrow-right"><a href="#right"></a></div>
340
- <ul>
341
- <?php
342
- foreach ( $events as $ecwd_event ) {
343
- ?>
344
- <li itemscope itemtype="http://schema.org/Event" class="upcoming_events_item" data-date="<?php echo date( 'Y-m-d', strtotime( $ecwd_event['from'] ) );?>">
345
- <div class="upcoming_event_container">
346
- <?php $image_class = '';
347
- $image = getAndReplaceFirstImage( $ecwd_event['post']->post_content );
348
- if ( ! has_post_thumbnail( $ecwd_event['id'] ) && $image['image'] == "" ) {
349
- $image_class = "ecwd-no-image";
350
- }
351
- echo '<div class="upcoming_events_item-img ' . $image_class . '">';
352
- if ( get_the_post_thumbnail( $ecwd_event['id'] ) ) {
353
- echo get_the_post_thumbnail( $ecwd_event['id'], 'thumb' );
354
- } elseif ( $image['image'] != null ) {
355
- echo '<img src="' . $image['image'] . '" />';
356
- $ecwd_event['post']->post_content = $image['content'];
357
- }
358
- echo '</div>'; ?>
359
- <div class="event-title" itemprop="name">
360
- <a href="<?php echo $ecwd_event['permalink'] ?>"><?php echo $ecwd_event['title'] ?></a>
361
- </div>
362
- <div class="event-date" itemprop="startDate"
363
- content="<?php echo date( 'Y-m-d', strtotime( $ecwd_event['from'] ) ) . 'T' . date( 'H:i', strtotime( $ecwd_event['starttime'] ) ) ?>">
364
-
365
- <?php
366
- if ( isset( $ecwd_event['all_day_event'] ) && $ecwd_event['all_day_event'] == 1 ) {
367
- echo date( $date_format, strtotime( $ecwd_event['from'] ) );
368
- if ( $ecwd_event['to'] && date( $date_format, strtotime( $ecwd_event['from'] ) ) !== date( $date_format, strtotime( $ecwd_event['to'] ) ) ) {
369
- echo ' - ' . date( $date_format, strtotime( $ecwd_event['to'] ) );
370
- }
371
- echo ' ' . __( 'All day', 'ecwd' );
372
- } else {
373
-
374
- echo date( $date_format, strtotime( $ecwd_event['from'] ) ) . ' ' . date( $time_format, strtotime( $ecwd_event['starttime'] ) );
375
-
376
- if ( $ecwd_event['to'] ) {
377
- echo ' - ' . date( $date_format, strtotime( $ecwd_event['to'] ) ) . ' ' . date( $time_format, strtotime( $ecwd_event['endtime'] ) );
378
- }
379
- } ?>
380
- </div>
381
 
 
382
 
383
- <div
384
- class="upcoming_events_item-content"><?php echo( $ecwd_event['post']->post_content ? $ecwd_event['post']->post_content : 'No additional details for this event.' ); ?> </div>
385
- </div>
386
- </li>
387
- <?php
388
- }
389
- ?>
390
- </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  </div>
392
- </div>
393
-
394
- <?php } ?>
395
- <?php }?>
396
 
 
 
397
 
 
398
  </div> <!-- #post-x -->
399
  <?php
400
 
30
  $ecwd_event_latlong = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_lat_long', true );
31
  $ecwd_event_zoom = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_map_zoom', true );
32
  $ecwd_event_show_map = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_event_show_map', true );
33
+ if ( $ecwd_event_show_map == '' ) {
34
+ $ecwd_event_show_map = 1;
35
+ }
36
  if ( ! $ecwd_event_zoom ) {
37
  $ecwd_event_zoom = 17;
38
  }
69
  get_header();
70
  ?>
71
  <div id="ecwd-events-content" class="ecwd-events-single hentry">
72
+
 
 
73
 
74
  <?php while ( have_posts() ) :
75
  the_post(); ?>
76
  <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
77
 
78
  <div class="ecwd-event" itemscope itemtype="http://schema.org/Event">
79
+ <header class="entry-header">
80
+ <?php the_title( '<h1 class="ecwd-events-single-event-title summary entry-title">', '</h1>' ); ?>
81
+ </header>
82
  <div class="event-detalis">
83
 
84
  <?php ?>
212
  </div>
213
  <?php } ?>
214
  <div class="clear"></div>
 
215
 
216
 
217
+ <div class="ecwd-event-video">
218
+ <?php
219
+ if ( strpos( $ecwd_event_video, 'youtube' ) > 0 ) {
220
+ parse_str( parse_url( $ecwd_event_video, PHP_URL_QUERY ), $video_array_of_vars );
221
+ if ( isset( $video_array_of_vars['v'] ) && $video_array_of_vars['v'] ) {
222
+ ?>
223
+ <object data="http://www.youtube.com/v/<?php echo $video_array_of_vars['v'] ?>"
224
+ type="application/x-shockwave-flash" width="400" height="300">
225
+ <param name="src"
226
+ value="http://www.youtube.com/v/<?php echo $video_array_of_vars['v'] ?>"/>
227
+ </object>
228
+ <?php }
229
+ } elseif ( strpos( $ecwd_event_video, 'vimeo' ) > 0 ) {
230
+ $videoID = explode( '/', $ecwd_event_video );
231
+ $videoID = $videoID[ count( $videoID ) - 1 ];
232
+ if ( $videoID ) {
233
+
234
+ ?>
235
+ <iframe
236
+ src="http://player.vimeo.com/video/<?php echo $videoID; ?>?title=0&amp;byline=0&amp;portrait=0&amp;badge=0&amp;color=ffffff"
237
+ width="" height="" frameborder="0" webkitAllowFullScreen mozallowfullscreen
238
+ allowFullScreen></iframe>
239
+ <?php }
240
 
 
 
 
 
 
 
241
 
242
+ }
243
 
244
+ ?>
245
+ </div>
246
+ <div>
247
+ <?php the_content(); ?>
248
+ </div>
 
 
249
 
250
 
251
+ <?php
252
+ if ( ! isset( $ecwd_options['related_events'] ) || $ecwd_options['related_events'] == 1 ) {
253
+ $post_cats = wp_get_post_terms( $post_id, ECWD_PLUGIN_PREFIX . '_event_category' );
254
+ $cat_ids = wp_list_pluck( $post_cats, 'term_id' );
255
+ $post_tags = wp_get_post_terms( $post_id, ECWD_PLUGIN_PREFIX . '_event_tag' );
256
+ $tag_ids = wp_list_pluck( $post_tags, 'term_id' );
257
+ $events = array();
258
+ $today = date( 'Y-m-d' );
259
+
260
+ $args = array(
261
+ 'numberposts' => - 1,
262
+ 'post_type' => ECWD_PLUGIN_PREFIX . '_event',
263
+ 'tax_query' => array(
264
+ array(
265
+ 'taxonomy' => ECWD_PLUGIN_PREFIX . '_event_category',
266
+ 'terms' => $cat_ids,
267
+ 'field' => 'term_id',
268
+ )
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  ),
270
+ 'orderby' => 'meta_value',
271
+ 'order' => 'ASC'
272
+ );
273
+ $ecwd_events_by_cats = get_posts( $args );
274
+ $args = array(
275
+ 'numberposts' => - 1,
276
+ 'post_type' => ECWD_PLUGIN_PREFIX . '_event',
277
+ 'tax_query' => array(
278
+ array(
279
+ 'taxonomy' => ECWD_PLUGIN_PREFIX . '_event_tag',
280
+ 'terms' => $tag_ids,
281
+ 'field' => 'term_id',
282
+ ),
283
+ ),
284
+ 'orderby' => 'meta_value',
285
+ 'order' => 'ASC'
286
+ );
287
+ $ecwd_events_by_tags = get_posts( $args );
288
+ $ecwd_events = array_merge( $ecwd_events_by_tags, $ecwd_events_by_cats );
289
+ $ecwd_events = array_map( "unserialize", array_unique( array_map( "serialize", $ecwd_events ) ) );
290
+ wp_reset_postdata();
291
+ wp_reset_query();
292
+
293
+ foreach ( $ecwd_events as $ecwd_event ) {
294
+ if ( $ecwd_event->ID != $post_id ) {
295
+ $term_metas = '';
296
+ $categories = get_the_terms( $ecwd_event->ID, ECWD_PLUGIN_PREFIX . '_event_category' );
297
+ if ( is_array( $categories ) ) {
298
+ foreach ( $categories as $category ) {
299
+ $term_metas = get_option( "ecwd_event_category_$category->term_id" );
300
+ $term_metas['id'] = $category->term_id;
301
+ $term_metas['name'] = $category->name;
302
+ $term_metas['slug'] = $category->slug;
303
+ }
304
+ }
305
+ $ecwd_event_metas = get_post_meta( $ecwd_event->ID, '', true );
306
+ $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_url' ] = array( 0 => '' );
307
+ if ( ! isset( $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_location' ] ) ) {
308
+ $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_location' ] = array( 0 => '' );
309
+ }
310
+ if ( ! isset( $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_lat_long' ] ) ) {
311
+ $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_lat_long' ] = array( 0 => '' );
312
+ }
313
+ if ( ! isset( $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_to' ] ) ) {
314
+ $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_to' ] = array( 0 => '' );
315
+ }
316
+ if ( ! isset( $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_from' ] ) ) {
317
+ $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_from' ] = array( 0 => '' );
318
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
319
 
320
+ $permalink = get_permalink( $ecwd_event->ID );
321
+ $events[ $ecwd_event->ID ] = new ECWD_Event( $ecwd_event->ID, 0, $ecwd_event->post_title, $ecwd_event->post_content, $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_location' ][0], $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_from' ][0], $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_date_to' ][0], $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_event_url' ][0], $ecwd_event_metas[ ECWD_PLUGIN_PREFIX . '_lat_long' ][0], $permalink, $ecwd_event, $term_metas, $ecwd_event_metas );
322
+ }
323
  }
 
 
 
 
324
 
325
+ $d = new ECWD_Display( 0, '', '', $today );
326
+ $events = $d->get_event_days( $events );
327
 
328
 
 
329
 
 
 
330
  ?>
331
 
332
+ <?php if ( count( $events ) > 0 ) {
333
+ $events = $d->events_unique( $events );
334
+ ?>
 
335
 
336
+ <div class="ecwd-venue-events">
337
+ <h3> <?php _e( 'Related events', 'ecwd' ) ?></h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
338
 
339
+ <div class="upcoming_events_slider">
340
 
341
+ <div class="upcoming_events_slider-arrow-left"><a href="#left"></a></div>
342
+ <div class="upcoming_events_slider-arrow-right"><a href="#right"></a></div>
343
+ <ul>
344
+ <?php
345
+ foreach ( $events as $ecwd_event ) {
346
+ ?>
347
+ <li itemscope itemtype="http://schema.org/Event" class="upcoming_events_item"
348
+ data-date="<?php echo date( 'Y-m-d', strtotime( $ecwd_event['from'] ) ); ?>">
349
+ <div class="upcoming_event_container">
350
+ <?php $image_class = '';
351
+ $image = getAndReplaceFirstImage( $ecwd_event['post']->post_content );
352
+ if ( ! has_post_thumbnail( $ecwd_event['id'] ) && $image['image'] == "" ) {
353
+ $image_class = "ecwd-no-image";
354
+ }
355
+ echo '<div class="upcoming_events_item-img ' . $image_class . '">';
356
+ if ( get_the_post_thumbnail( $ecwd_event['id'] ) ) {
357
+ echo get_the_post_thumbnail( $ecwd_event['id'], 'thumb' );
358
+ } elseif ( $image['image'] != null ) {
359
+ echo '<img src="' . $image['image'] . '" />';
360
+ $ecwd_event['post']->post_content = $image['content'];
361
+ }
362
+ echo '</div>'; ?>
363
+ <div class="event-title" itemprop="name">
364
+ <a href="<?php echo $ecwd_event['permalink'] ?>"><?php echo $ecwd_event['title'] ?></a>
365
+ </div>
366
+ <div class="event-date" itemprop="startDate"
367
+ content="<?php echo date( 'Y-m-d', strtotime( $ecwd_event['from'] ) ) . 'T' . date( 'H:i', strtotime( $ecwd_event['starttime'] ) ) ?>">
368
+
369
+ <?php
370
+ if ( isset( $ecwd_event['all_day_event'] ) && $ecwd_event['all_day_event'] == 1 ) {
371
+ echo date( $date_format, strtotime( $ecwd_event['from'] ) );
372
+ if ( $ecwd_event['to'] && date( $date_format, strtotime( $ecwd_event['from'] ) ) !== date( $date_format, strtotime( $ecwd_event['to'] ) ) ) {
373
+ echo ' - ' . date( $date_format, strtotime( $ecwd_event['to'] ) );
374
+ }
375
+ echo ' ' . __( 'All day', 'ecwd' );
376
+ } else {
377
+
378
+ echo date( $date_format, strtotime( $ecwd_event['from'] ) ) . ' ' . date( $time_format, strtotime( $ecwd_event['starttime'] ) );
379
+
380
+ if ( $ecwd_event['to'] ) {
381
+ echo ' - ' . date( $date_format, strtotime( $ecwd_event['to'] ) ) . ' ' . date( $time_format, strtotime( $ecwd_event['endtime'] ) );
382
+ }
383
+ } ?>
384
+ </div>
385
+
386
+
387
+ <div
388
+ class="upcoming_events_item-content"><?php echo( $ecwd_event['post']->post_content ? $ecwd_event['post']->post_content : 'No additional details for this event.' ); ?> </div>
389
+ </div>
390
+ </li>
391
+ <?php
392
+ }
393
+ ?>
394
+ </ul>
395
+ </div>
396
  </div>
 
 
 
 
397
 
398
+ <?php } ?>
399
+ <?php }?>
400
 
401
+ </div>
402
  </div> <!-- #post-x -->
403
  <?php
404