Version Description
Fixed: List view events order
Added: Organaizer on single event
Added: Portuguese (Brazil) Translation
Fixed: Description formatting
Download this release
Release Info
| Developer | webdorado |
| Plugin | |
| Version | 1.0.55 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.54 to 1.0.55
- ecwd.php +1 -1
- ecwd_admin_class.php +1 -1
- ecwd_class.php +7 -7
- includes/calendar-class.php +11 -6
- includes/ecwd-display-class.php +3 -0
- includes/ecwd_config.php +1 -1
- languages/ecwd-pt_BR.mo +0 -0
- languages/ecwd-pt_BR.po +379 -0
- readme.txt +8 -2
- views/ecwd-event-popup.php +11 -7
- views/single-event.php +3 -3
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 |
* 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.55
|
| 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.
|
| 10 |
protected $ecwd_page = null;
|
| 11 |
protected $notices = null;
|
| 12 |
|
| 6 |
class ECWD_Admin {
|
| 7 |
|
| 8 |
protected static $instance = null;
|
| 9 |
+
protected $version = '1.0.55';
|
| 10 |
protected $ecwd_page = null;
|
| 11 |
protected $notices = null;
|
| 12 |
|
ecwd_class.php
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
*/
|
| 7 |
class ECWD {
|
| 8 |
|
| 9 |
-
protected $version = '1.0.
|
| 10 |
protected $plugin_name = 'event-calendar-wd';
|
| 11 |
protected $prefix = 'ecwd';
|
| 12 |
protected static $instance = null;
|
|
@@ -23,14 +23,14 @@ class ECWD {
|
|
| 23 |
add_filter('body_class', array($this, 'theme_body_class'));
|
| 24 |
add_action('wp_enqueue_scripts', array($this, 'enqueue_scripts'), 5);
|
| 25 |
add_action('wp_enqueue_scripts', array($this, 'enqueue_styles'));
|
| 26 |
-
add_action('ecwd_show_related_events', array($this, 'show_related_events'), 10,2);
|
| 27 |
}
|
| 28 |
|
| 29 |
-
public function show_related_events($events, $upcoming_events = false) {
|
| 30 |
-
global $ecwd_options;
|
| 31 |
$today = date('Y-m-d');
|
| 32 |
$date_format = 'Y-m-d';
|
| 33 |
-
$time_format = 'H:i';
|
| 34 |
if (isset($ecwd_options['date_format']) && $ecwd_options['date_format'] != '') {
|
| 35 |
$date_format = $ecwd_options['date_format'];
|
| 36 |
}
|
|
@@ -49,7 +49,7 @@ class ECWD {
|
|
| 49 |
} else {
|
| 50 |
$related_events_count = -1;
|
| 51 |
}
|
| 52 |
-
$related_events_count -= 1;
|
| 53 |
include_once 'views/related_events.php';
|
| 54 |
}
|
| 55 |
|
|
@@ -151,7 +151,7 @@ class ECWD {
|
|
| 151 |
}
|
| 152 |
}
|
| 153 |
|
| 154 |
-
if (!$map_included) {
|
| 155 |
wp_enqueue_script($this->prefix . '-maps-public', 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places', array('jquery'), $this->version, false);
|
| 156 |
}
|
| 157 |
}
|
| 6 |
*/
|
| 7 |
class ECWD {
|
| 8 |
|
| 9 |
+
protected $version = '1.0.55';
|
| 10 |
protected $plugin_name = 'event-calendar-wd';
|
| 11 |
protected $prefix = 'ecwd';
|
| 12 |
protected static $instance = null;
|
| 23 |
add_filter('body_class', array($this, 'theme_body_class'));
|
| 24 |
add_action('wp_enqueue_scripts', array($this, 'enqueue_scripts'), 5);
|
| 25 |
add_action('wp_enqueue_scripts', array($this, 'enqueue_styles'));
|
| 26 |
+
add_action('ecwd_show_related_events', array($this, 'show_related_events'), 10, 2);
|
| 27 |
}
|
| 28 |
|
| 29 |
+
public function show_related_events($events, $upcoming_events = false) {
|
| 30 |
+
global $ecwd_options;
|
| 31 |
$today = date('Y-m-d');
|
| 32 |
$date_format = 'Y-m-d';
|
| 33 |
+
$time_format = 'H:i';
|
| 34 |
if (isset($ecwd_options['date_format']) && $ecwd_options['date_format'] != '') {
|
| 35 |
$date_format = $ecwd_options['date_format'];
|
| 36 |
}
|
| 49 |
} else {
|
| 50 |
$related_events_count = -1;
|
| 51 |
}
|
| 52 |
+
$related_events_count -= 1;
|
| 53 |
include_once 'views/related_events.php';
|
| 54 |
}
|
| 55 |
|
| 151 |
}
|
| 152 |
}
|
| 153 |
|
| 154 |
+
if (!$map_included && false) {
|
| 155 |
wp_enqueue_script($this->prefix . '-maps-public', 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places', array('jquery'), $this->version, false);
|
| 156 |
}
|
| 157 |
}
|
includes/calendar-class.php
CHANGED
|
@@ -398,7 +398,7 @@ class Calendar {
|
|
| 398 |
|
| 399 |
foreach ($events_for_list as $date_key => $events) {
|
| 400 |
|
| 401 |
-
foreach ($events as $event) {
|
| 402 |
if ($date_key >= $start_date && $date_key <= strtotime($end_date)) {
|
| 403 |
if ($page_index >= $page * $this->listlimit) {
|
| 404 |
break 1;
|
|
@@ -493,7 +493,9 @@ class Calendar {
|
|
| 493 |
</div>
|
| 494 |
</div>';
|
| 495 |
}
|
| 496 |
-
$
|
|
|
|
|
|
|
| 497 |
} else { // mini event list
|
| 498 |
$html .= '<li style="background:' . $event['color'] . ';"';
|
| 499 |
if ($this->minilinkbase !== false) { // enable link (good for linking to full calendar)
|
|
@@ -1137,8 +1139,9 @@ class Calendar {
|
|
| 1137 |
$eventcontent .= '<img src="' . $image['image'] . '" />';
|
| 1138 |
$cellevent['details'] = $image['content'];
|
| 1139 |
}
|
| 1140 |
-
|
| 1141 |
-
$
|
|
|
|
| 1142 |
}
|
| 1143 |
|
| 1144 |
$eventcontent .= '</div><div class="ecwd-event-arrow-right"></div>';
|
|
@@ -1150,7 +1153,7 @@ class Calendar {
|
|
| 1150 |
// }
|
| 1151 |
}
|
| 1152 |
|
| 1153 |
-
$content .= $eventcontent;
|
| 1154 |
|
| 1155 |
if ($i > 2 && $this->displaytype !== 'mini') {
|
| 1156 |
$content .= '<li class="ecwd-calendar-more-event">
|
|
@@ -1275,7 +1278,9 @@ class Calendar {
|
|
| 1275 |
</div>
|
| 1276 |
</div>';
|
| 1277 |
}
|
| 1278 |
-
$
|
|
|
|
|
|
|
| 1279 |
}
|
| 1280 |
$html .= '</div>';
|
| 1281 |
|
| 398 |
|
| 399 |
foreach ($events_for_list as $date_key => $events) {
|
| 400 |
|
| 401 |
+
foreach ($events as $event) {
|
| 402 |
if ($date_key >= $start_date && $date_key <= strtotime($end_date)) {
|
| 403 |
if ($page_index >= $page * $this->listlimit) {
|
| 404 |
break 1;
|
| 493 |
</div>
|
| 494 |
</div>';
|
| 495 |
}
|
| 496 |
+
$desc = $event['details'] ? $event['details'] : $this->eventemptytext;
|
| 497 |
+
$desc = apply_filters('the_content', $desc);
|
| 498 |
+
$html .= '<div class="event-content" itemprop="description">' . $desc . '</div></div>';
|
| 499 |
} else { // mini event list
|
| 500 |
$html .= '<li style="background:' . $event['color'] . ';"';
|
| 501 |
if ($this->minilinkbase !== false) { // enable link (good for linking to full calendar)
|
| 1139 |
$eventcontent .= '<img src="' . $image['image'] . '" />';
|
| 1140 |
$cellevent['details'] = $image['content'];
|
| 1141 |
}
|
| 1142 |
+
$desc = $cellevent['details'] ? $cellevent['details'] : $this->eventemptytext;
|
| 1143 |
+
$desc = apply_filters('the_content', $desc);
|
| 1144 |
+
$eventcontent .= $desc . '</div>';
|
| 1145 |
}
|
| 1146 |
|
| 1147 |
$eventcontent .= '</div><div class="ecwd-event-arrow-right"></div>';
|
| 1153 |
// }
|
| 1154 |
}
|
| 1155 |
|
| 1156 |
+
$content .= apply_filters('the_content', $eventcontent);
|
| 1157 |
|
| 1158 |
if ($i > 2 && $this->displaytype !== 'mini') {
|
| 1159 |
$content .= '<li class="ecwd-calendar-more-event">
|
| 1278 |
</div>
|
| 1279 |
</div>';
|
| 1280 |
}
|
| 1281 |
+
$desc = $cellevent['details'] ? $cellevent['details'] : $this->eventemptytext;
|
| 1282 |
+
$desc = apply_filters('the_content', $desc);
|
| 1283 |
+
$html .= '<div class="event-content" itemprop="description">' . $desc . '</div></div>';
|
| 1284 |
}
|
| 1285 |
$html .= '</div>';
|
| 1286 |
|
includes/ecwd-display-class.php
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
<?php
|
| 2 |
|
| 3 |
/**
|
|
@@ -632,6 +633,7 @@ class ECWD_Display {
|
|
| 632 |
if ($this->events) {
|
| 633 |
$this->events = $this->arraySort($this->events, 'from');
|
| 634 |
}
|
|
|
|
| 635 |
if ($events) {
|
| 636 |
return $this->events;
|
| 637 |
}
|
|
@@ -973,6 +975,7 @@ class ECWD_Display {
|
|
| 973 |
|
| 974 |
|
| 975 |
if ($events) {
|
|
|
|
| 976 |
return $this->events;
|
| 977 |
}
|
| 978 |
}
|
| 1 |
+
|
| 2 |
<?php
|
| 3 |
|
| 4 |
/**
|
| 633 |
if ($this->events) {
|
| 634 |
$this->events = $this->arraySort($this->events, 'from');
|
| 635 |
}
|
| 636 |
+
|
| 637 |
if ($events) {
|
| 638 |
return $this->events;
|
| 639 |
}
|
| 975 |
|
| 976 |
|
| 977 |
if ($events) {
|
| 978 |
+
ksort($this->events);
|
| 979 |
return $this->events;
|
| 980 |
}
|
| 981 |
}
|
includes/ecwd_config.php
CHANGED
|
@@ -46,7 +46,7 @@ class ECWD_Config {
|
|
| 46 |
$upload_dir = wp_upload_dir(__FILE__);
|
| 47 |
$dir = $upload_dir['basedir'] . '/wd_configs/';
|
| 48 |
$this->file_dir = $dir . $this->file_name;
|
| 49 |
-
if (!is_dir($dir)) {
|
| 50 |
mkdir($dir, 0777,true);
|
| 51 |
chmod($dir, 0777);
|
| 52 |
$fp = fopen($this->file_dir, 'w');
|
| 46 |
$upload_dir = wp_upload_dir(__FILE__);
|
| 47 |
$dir = $upload_dir['basedir'] . '/wd_configs/';
|
| 48 |
$this->file_dir = $dir . $this->file_name;
|
| 49 |
+
if (!is_dir($dir)) {
|
| 50 |
mkdir($dir, 0777,true);
|
| 51 |
chmod($dir, 0777);
|
| 52 |
$fp = fopen($this->file_dir, 'w');
|
languages/ecwd-pt_BR.mo
ADDED
|
Binary file
|
languages/ecwd-pt_BR.po
ADDED
|
@@ -0,0 +1,379 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
msgid ""
|
| 2 |
+
msgstr ""
|
| 3 |
+
"Project-Id-Version: event_calendar_wd\n"
|
| 4 |
+
"POT-Creation-Date: 2016-04-05 13:12-0300\n"
|
| 5 |
+
"PO-Revision-Date: 2016-04-05 14:59-0300\n"
|
| 6 |
+
"Language-Team: \n"
|
| 7 |
+
"MIME-Version: 1.0\n"
|
| 8 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
| 9 |
+
"Content-Transfer-Encoding: 8bit\n"
|
| 10 |
+
"X-Generator: Poedit 1.8.6\n"
|
| 11 |
+
"X-Poedit-Basepath: ..\n"
|
| 12 |
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
| 13 |
+
"X-Poedit-KeywordsList: _e;__\n"
|
| 14 |
+
"Last-Translator: \n"
|
| 15 |
+
"Language: pt_BR\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:175 includes/calendar-class.php:176
|
| 27 |
+
#: views/widgets.php:168
|
| 28 |
+
msgid "Month"
|
| 29 |
+
msgstr "Mês"
|
| 30 |
+
|
| 31 |
+
#: includes/calendar-class.php:177 views/widgets.php:169
|
| 32 |
+
msgid "List"
|
| 33 |
+
msgstr "Lista"
|
| 34 |
+
|
| 35 |
+
#: includes/calendar-class.php:179
|
| 36 |
+
msgid "Week"
|
| 37 |
+
msgstr "Semana"
|
| 38 |
+
|
| 39 |
+
#: includes/calendar-class.php:183
|
| 40 |
+
msgid "Day"
|
| 41 |
+
msgstr "Dia"
|
| 42 |
+
|
| 43 |
+
#: includes/calendar-class.php:186
|
| 44 |
+
msgid "Map"
|
| 45 |
+
msgstr "Mapa"
|
| 46 |
+
|
| 47 |
+
#: includes/calendar-class.php:188
|
| 48 |
+
msgid "4 Days"
|
| 49 |
+
msgstr "4 dias"
|
| 50 |
+
|
| 51 |
+
#: includes/calendar-class.php:191
|
| 52 |
+
msgid "Posterboard"
|
| 53 |
+
msgstr "Quadro de avisos"
|
| 54 |
+
|
| 55 |
+
#: includes/calendar-class.php:383 includes/calendar-class.php:417
|
| 56 |
+
#: includes/calendar-class.php:572 includes/calendar-class.php:1181
|
| 57 |
+
#: includes/calendar-class.php:1330 includes/ecwd-functions.php:360
|
| 58 |
+
#: views/ecwd-event-content.php:76 views/ecwd-event-content.php:158
|
| 59 |
+
#: views/ecwd-organizer-content.php:145 views/ecwd-venue-content.php:178
|
| 60 |
+
#: views/single-event.php:151 views/single-event.php:247
|
| 61 |
+
#: views/single-event.php:487
|
| 62 |
+
msgid "All day"
|
| 63 |
+
msgstr "Dia Todo"
|
| 64 |
+
|
| 65 |
+
#: includes/calendar-class.php:440 includes/calendar-class.php:520
|
| 66 |
+
#: includes/calendar-class.php:1386
|
| 67 |
+
msgid "No events"
|
| 68 |
+
msgstr "Sem eventos"
|
| 69 |
+
|
| 70 |
+
#: includes/calendar-class.php:644
|
| 71 |
+
msgid "No Events"
|
| 72 |
+
msgstr "Sem Eventos"
|
| 73 |
+
|
| 74 |
+
#: includes/calendar-class.php:1256
|
| 75 |
+
msgid "More events"
|
| 76 |
+
msgstr "Mais eventos"
|
| 77 |
+
|
| 78 |
+
#: includes/ecwd-cpt-filter.php:67
|
| 79 |
+
msgid "From"
|
| 80 |
+
msgstr "de"
|
| 81 |
+
|
| 82 |
+
#: includes/ecwd-cpt-filter.php:74
|
| 83 |
+
msgid "To"
|
| 84 |
+
msgstr "para"
|
| 85 |
+
|
| 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 "Repetir todos"
|
| 91 |
+
|
| 92 |
+
#: includes/ecwd-display-class.php:876 includes/texts.php:66
|
| 93 |
+
msgid "days"
|
| 94 |
+
msgstr "dias"
|
| 95 |
+
|
| 96 |
+
#: includes/ecwd-display-class.php:878 includes/texts.php:61
|
| 97 |
+
msgid "Repeat every day"
|
| 98 |
+
msgstr "Repetir todos os dias"
|
| 99 |
+
|
| 100 |
+
#: includes/ecwd-display-class.php:882 includes/texts.php:67
|
| 101 |
+
msgid "weeks"
|
| 102 |
+
msgstr "semanas"
|
| 103 |
+
|
| 104 |
+
#: includes/ecwd-display-class.php:884 includes/texts.php:62
|
| 105 |
+
msgid "Repeat every week"
|
| 106 |
+
msgstr "Repetir toda semana"
|
| 107 |
+
|
| 108 |
+
#: includes/ecwd-display-class.php:889
|
| 109 |
+
msgid "on"
|
| 110 |
+
msgstr "em"
|
| 111 |
+
|
| 112 |
+
#: includes/ecwd-display-class.php:900 includes/texts.php:68
|
| 113 |
+
msgid "months"
|
| 114 |
+
msgstr "meses"
|
| 115 |
+
|
| 116 |
+
#: includes/ecwd-display-class.php:902 includes/texts.php:63
|
| 117 |
+
msgid "Repeat every month"
|
| 118 |
+
msgstr "Repetir todos os meses"
|
| 119 |
+
|
| 120 |
+
#: includes/ecwd-display-class.php:907 includes/ecwd-display-class.php:931
|
| 121 |
+
msgid "on the same day"
|
| 122 |
+
msgstr "no mesmo dia"
|
| 123 |
+
|
| 124 |
+
#: includes/ecwd-display-class.php:912 includes/ecwd-display-class.php:936
|
| 125 |
+
msgid "on the"
|
| 126 |
+
msgstr "em"
|
| 127 |
+
|
| 128 |
+
#: includes/ecwd-display-class.php:917 includes/texts.php:69
|
| 129 |
+
msgid "years"
|
| 130 |
+
msgstr "anos"
|
| 131 |
+
|
| 132 |
+
#: includes/ecwd-display-class.php:919 includes/texts.php:64
|
| 133 |
+
msgid "Repeat every year"
|
| 134 |
+
msgstr "Repetir todos os anos"
|
| 135 |
+
|
| 136 |
+
#: includes/ecwd-display-class.php:940 includes/texts.php:70
|
| 137 |
+
msgid "until"
|
| 138 |
+
msgstr "até"
|
| 139 |
+
|
| 140 |
+
#: includes/ecwd-functions.php:8
|
| 141 |
+
msgid "Loading..."
|
| 142 |
+
msgstr "Carregando..."
|
| 143 |
+
|
| 144 |
+
#: includes/ecwd-functions.php:439 includes/texts.php:53
|
| 145 |
+
msgid "DAYS"
|
| 146 |
+
msgstr "DIAS"
|
| 147 |
+
|
| 148 |
+
#: includes/ecwd-functions.php:440 includes/texts.php:54
|
| 149 |
+
msgid "HOURS"
|
| 150 |
+
msgstr "HORAS"
|
| 151 |
+
|
| 152 |
+
#: includes/ecwd-functions.php:441 includes/texts.php:55
|
| 153 |
+
msgid "MINUTES"
|
| 154 |
+
msgstr "MINUTOS"
|
| 155 |
+
|
| 156 |
+
#: includes/ecwd-functions.php:442 includes/texts.php:56
|
| 157 |
+
msgid "SECONDS"
|
| 158 |
+
msgstr "SEGUNDOS"
|
| 159 |
+
|
| 160 |
+
#: includes/texts.php:2
|
| 161 |
+
msgid "January"
|
| 162 |
+
msgstr "Janeiro"
|
| 163 |
+
|
| 164 |
+
#: includes/texts.php:3
|
| 165 |
+
msgid "February"
|
| 166 |
+
msgstr "Fevereiro"
|
| 167 |
+
|
| 168 |
+
#: includes/texts.php:4
|
| 169 |
+
msgid "March"
|
| 170 |
+
msgstr "Março"
|
| 171 |
+
|
| 172 |
+
#: includes/texts.php:5
|
| 173 |
+
msgid "April"
|
| 174 |
+
msgstr "Abril"
|
| 175 |
+
|
| 176 |
+
#: includes/texts.php:6
|
| 177 |
+
msgid "May"
|
| 178 |
+
msgstr "Maio"
|
| 179 |
+
|
| 180 |
+
#: includes/texts.php:7
|
| 181 |
+
msgid "June"
|
| 182 |
+
msgstr "Junho"
|
| 183 |
+
|
| 184 |
+
#: includes/texts.php:8
|
| 185 |
+
msgid "July"
|
| 186 |
+
msgstr "Julho"
|
| 187 |
+
|
| 188 |
+
#: includes/texts.php:9
|
| 189 |
+
msgid "August"
|
| 190 |
+
msgstr "Agosto"
|
| 191 |
+
|
| 192 |
+
#: includes/texts.php:10
|
| 193 |
+
msgid "September"
|
| 194 |
+
msgstr "Setembro"
|
| 195 |
+
|
| 196 |
+
#: includes/texts.php:11
|
| 197 |
+
msgid "October"
|
| 198 |
+
msgstr "Outubro"
|
| 199 |
+
|
| 200 |
+
#: includes/texts.php:12
|
| 201 |
+
msgid "November"
|
| 202 |
+
msgstr "Novembro"
|
| 203 |
+
|
| 204 |
+
#: includes/texts.php:13
|
| 205 |
+
msgid "December"
|
| 206 |
+
msgstr "Dezembro"
|
| 207 |
+
|
| 208 |
+
#: includes/texts.php:15
|
| 209 |
+
msgid "Sunday"
|
| 210 |
+
msgstr "Domingo"
|
| 211 |
+
|
| 212 |
+
#: includes/texts.php:16
|
| 213 |
+
msgid "Monday"
|
| 214 |
+
msgstr "Segunda-feira"
|
| 215 |
+
|
| 216 |
+
#: includes/texts.php:17
|
| 217 |
+
msgid "Tuesday"
|
| 218 |
+
msgstr "Terça-feira"
|
| 219 |
+
|
| 220 |
+
#: includes/texts.php:18
|
| 221 |
+
msgid "Wednesday"
|
| 222 |
+
msgstr "Quarta-feira"
|
| 223 |
+
|
| 224 |
+
#: includes/texts.php:19
|
| 225 |
+
msgid "Thursday"
|
| 226 |
+
msgstr "Quinta-feira"
|
| 227 |
+
|
| 228 |
+
#: includes/texts.php:20
|
| 229 |
+
msgid "Friday"
|
| 230 |
+
msgstr "Sexta-feira"
|
| 231 |
+
|
| 232 |
+
#: includes/texts.php:21
|
| 233 |
+
msgid "Saturday"
|
| 234 |
+
msgstr "Sábado"
|
| 235 |
+
|
| 236 |
+
#: includes/texts.php:25
|
| 237 |
+
msgid "Sun"
|
| 238 |
+
msgstr "Dom"
|
| 239 |
+
|
| 240 |
+
#: includes/texts.php:26
|
| 241 |
+
msgid "Mon"
|
| 242 |
+
msgstr "Seg"
|
| 243 |
+
|
| 244 |
+
#: includes/texts.php:27
|
| 245 |
+
msgid "Tue"
|
| 246 |
+
msgstr "Ter"
|
| 247 |
+
|
| 248 |
+
#: includes/texts.php:28
|
| 249 |
+
msgid "Wed"
|
| 250 |
+
msgstr "Qua"
|
| 251 |
+
|
| 252 |
+
#: includes/texts.php:29
|
| 253 |
+
msgid "Thu"
|
| 254 |
+
msgstr "Qui"
|
| 255 |
+
|
| 256 |
+
#: includes/texts.php:30
|
| 257 |
+
msgid "Fri"
|
| 258 |
+
msgstr "Sex"
|
| 259 |
+
|
| 260 |
+
#: includes/texts.php:31
|
| 261 |
+
msgid "Sat"
|
| 262 |
+
msgstr "Sab"
|
| 263 |
+
|
| 264 |
+
#: includes/texts.php:34
|
| 265 |
+
msgid "Su"
|
| 266 |
+
msgstr "Dom"
|
| 267 |
+
|
| 268 |
+
#: includes/texts.php:35
|
| 269 |
+
msgid "Mo"
|
| 270 |
+
msgstr "Seg"
|
| 271 |
+
|
| 272 |
+
#: includes/texts.php:36
|
| 273 |
+
msgid "Tu"
|
| 274 |
+
msgstr "Ter"
|
| 275 |
+
|
| 276 |
+
#: includes/texts.php:37
|
| 277 |
+
msgid "We"
|
| 278 |
+
msgstr "Qua"
|
| 279 |
+
|
| 280 |
+
#: includes/texts.php:38
|
| 281 |
+
msgid "Th"
|
| 282 |
+
msgstr "Qui"
|
| 283 |
+
|
| 284 |
+
#: includes/texts.php:39
|
| 285 |
+
msgid "Fr"
|
| 286 |
+
msgstr "Sex"
|
| 287 |
+
|
| 288 |
+
#: includes/texts.php:40
|
| 289 |
+
msgid "Sa"
|
| 290 |
+
msgstr "Sab"
|
| 291 |
+
|
| 292 |
+
#: includes/texts.php:44
|
| 293 |
+
msgid "Show Filters"
|
| 294 |
+
msgstr "Mostrar filtros"
|
| 295 |
+
|
| 296 |
+
#: includes/texts.php:45
|
| 297 |
+
msgid "Collapse Filters"
|
| 298 |
+
msgstr "Esconder Filtros"
|
| 299 |
+
|
| 300 |
+
#: includes/texts.php:46
|
| 301 |
+
msgid "Reset Filters"
|
| 302 |
+
msgstr "Restaurar Filtros"
|
| 303 |
+
|
| 304 |
+
#: includes/texts.php:48
|
| 305 |
+
msgid "Days"
|
| 306 |
+
msgstr "Dias"
|
| 307 |
+
|
| 308 |
+
#: includes/texts.php:49
|
| 309 |
+
msgid "Categories"
|
| 310 |
+
msgstr "Categorias"
|
| 311 |
+
|
| 312 |
+
#: includes/texts.php:50
|
| 313 |
+
msgid "Venues"
|
| 314 |
+
msgstr "Locais"
|
| 315 |
+
|
| 316 |
+
#: includes/texts.php:57
|
| 317 |
+
msgid "The event has just started"
|
| 318 |
+
msgstr "O evento acabou de começar"
|
| 319 |
+
|
| 320 |
+
#: includes/texts.php:72
|
| 321 |
+
msgid "Sundays"
|
| 322 |
+
msgstr "Domingos"
|
| 323 |
+
|
| 324 |
+
#: includes/texts.php:73
|
| 325 |
+
msgid "Mondays"
|
| 326 |
+
msgstr "Segundas-feira"
|
| 327 |
+
|
| 328 |
+
#: includes/texts.php:74
|
| 329 |
+
msgid "Tuesdays"
|
| 330 |
+
msgstr "Terças-feira"
|
| 331 |
+
|
| 332 |
+
#: includes/texts.php:75
|
| 333 |
+
msgid "Wednesdays"
|
| 334 |
+
msgstr "Quartas-feira"
|
| 335 |
+
|
| 336 |
+
#: includes/texts.php:76
|
| 337 |
+
msgid "Thursdays"
|
| 338 |
+
msgstr "Quintas-feira"
|
| 339 |
+
|
| 340 |
+
#: includes/texts.php:77
|
| 341 |
+
msgid "Fridays"
|
| 342 |
+
msgstr "Sextas-feira"
|
| 343 |
+
|
| 344 |
+
#: includes/texts.php:78
|
| 345 |
+
msgid "Saturdays"
|
| 346 |
+
msgstr "Sábados"
|
| 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
|
| 350 |
+
msgid "Date"
|
| 351 |
+
msgstr "Data"
|
| 352 |
+
|
| 353 |
+
#: views/ecwd-event-content.php:91 views/single-event.php:170
|
| 354 |
+
msgid "Url"
|
| 355 |
+
msgstr "Url"
|
| 356 |
+
|
| 357 |
+
#: views/ecwd-event-content.php:97 views/single-event.php:177
|
| 358 |
+
msgid "Organizers"
|
| 359 |
+
msgstr "Organizadores"
|
| 360 |
+
|
| 361 |
+
#: views/ecwd-organizer-content.php:109
|
| 362 |
+
msgid "upcoming events"
|
| 363 |
+
msgstr "próximos eventos"
|
| 364 |
+
|
| 365 |
+
#: views/ecwd-venue-content.php:141
|
| 366 |
+
msgid "events"
|
| 367 |
+
msgstr "eventos"
|
| 368 |
+
|
| 369 |
+
#: views/single-event.php:190
|
| 370 |
+
msgid "Venue"
|
| 371 |
+
msgstr "Local"
|
| 372 |
+
|
| 373 |
+
#: views/single-event.php:200
|
| 374 |
+
msgid "Location"
|
| 375 |
+
msgstr "Localização"
|
| 376 |
+
|
| 377 |
+
#: views/single-event.php:449
|
| 378 |
+
msgid "Related events"
|
| 379 |
+
msgstr "Eventos relacionados"
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ 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, facebook integration, widget
|
| 5 |
Requires at least: 3.9
|
| 6 |
Tested up to: 4.4
|
| 7 |
-
Stable tag: 1.0.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -113,7 +113,8 @@ Italian (it_IT)
|
|
| 113 |
Russian (ru_RU)
|
| 114 |
Turkish (tr_TR)
|
| 115 |
Polish (pl_PL)
|
| 116 |
-
Portuguese (pt_PT)
|
|
|
|
| 117 |
|
| 118 |
|
| 119 |
|
|
@@ -153,6 +154,11 @@ After downloading the ZIP file of the Event Calendar WD plugin,
|
|
| 153 |
|
| 154 |
== Changelog ==
|
| 155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
|
| 157 |
= 1.0.54 =
|
| 158 |
New: Related events count option
|
| 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, facebook integration, widget
|
| 5 |
Requires at least: 3.9
|
| 6 |
Tested up to: 4.4
|
| 7 |
+
Stable tag: 1.0.55
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 113 |
Russian (ru_RU)
|
| 114 |
Turkish (tr_TR)
|
| 115 |
Polish (pl_PL)
|
| 116 |
+
Portuguese (pt_PT)
|
| 117 |
+
Portuguese (Brazil)(pt_BR)
|
| 118 |
|
| 119 |
|
| 120 |
|
| 154 |
|
| 155 |
== Changelog ==
|
| 156 |
|
| 157 |
+
= 1.0.55 =
|
| 158 |
+
Fixed: List view events order
|
| 159 |
+
Added: Organaizer on single event
|
| 160 |
+
Added: Portuguese (Brazil) Translation
|
| 161 |
+
Fixed: Description formatting
|
| 162 |
|
| 163 |
= 1.0.54 =
|
| 164 |
New: Related events count option
|
views/ecwd-event-popup.php
CHANGED
|
@@ -59,11 +59,11 @@ $ecwd_event_date_to = $ecwd_event_metas[ECWD_PLUGIN_PREFIX . '_event_date_to'][0
|
|
| 59 |
$d = new ECWD_Display('');
|
| 60 |
if ($ajax_date != null) {
|
| 61 |
$start_time = date('H:i', strtotime($ecwd_event_date_from));
|
| 62 |
-
$end_time = date('H:i', strtotime($ecwd_event_date_to));
|
| 63 |
-
|
| 64 |
$eventdayslong = $d->dateDiff($ecwd_event_date_from, $ecwd_event_date_to);
|
| 65 |
$ecwd_event_date_from = $ajax_date;
|
| 66 |
-
$ecwd_event_date_to = date('Y-m-d', strtotime(( date("Y-m-d", ( strtotime($ecwd_event_date_from))) . " +" . ( $eventdayslong ) . " days")));
|
| 67 |
|
| 68 |
|
| 69 |
|
|
@@ -210,7 +210,7 @@ $event_categories = wp_get_post_terms($post->ID, 'ecwd_event_category', $args);
|
|
| 210 |
</span>
|
| 211 |
<?php } ?>
|
| 212 |
</div>
|
| 213 |
-
<?php do_action('ecwd_view_ext'
|
| 214 |
</div>
|
| 215 |
</div>
|
| 216 |
<?php if ($ecwd_social_icons) {
|
|
@@ -302,12 +302,16 @@ $event_categories = wp_get_post_terms($post->ID, 'ecwd_event_category', $args);
|
|
| 302 |
?>
|
| 303 |
</div>
|
| 304 |
<!-- Content -->
|
|
|
|
| 305 |
<div class="ecwd_events_single_event_content">
|
| 306 |
-
<?php
|
|
|
|
|
|
|
|
|
|
| 307 |
</div>
|
| 308 |
<!-- End Content -->
|
| 309 |
<!-- Categories and tags -->
|
| 310 |
-
<?php
|
| 311 |
<div class="event_cageory_and_tags">
|
| 312 |
|
| 313 |
<?php if (!empty($event_categories)) { ?>
|
|
@@ -360,7 +364,7 @@ $event_categories = wp_get_post_terms($post->ID, 'ecwd_event_category', $args);
|
|
| 360 |
?>
|
| 361 |
</div>
|
| 362 |
<?php } ?>
|
| 363 |
-
<?php do_action('ecwd_tickets_events_single_meta', '', $ecwd_event_date_to
|
| 364 |
</div>
|
| 365 |
</div>
|
| 366 |
</div>
|
| 59 |
$d = new ECWD_Display('');
|
| 60 |
if ($ajax_date != null) {
|
| 61 |
$start_time = date('H:i', strtotime($ecwd_event_date_from));
|
| 62 |
+
$end_time = date('H:i', strtotime($ecwd_event_date_to));
|
| 63 |
+
|
| 64 |
$eventdayslong = $d->dateDiff($ecwd_event_date_from, $ecwd_event_date_to);
|
| 65 |
$ecwd_event_date_from = $ajax_date;
|
| 66 |
+
$ecwd_event_date_to = date('Y-m-d', strtotime(( date("Y-m-d", ( strtotime($ecwd_event_date_from))) . " +" . ( $eventdayslong ) . " days")));
|
| 67 |
|
| 68 |
|
| 69 |
|
| 210 |
</span>
|
| 211 |
<?php } ?>
|
| 212 |
</div>
|
| 213 |
+
<?php do_action('ecwd_view_ext', $post_id); ?>
|
| 214 |
</div>
|
| 215 |
</div>
|
| 216 |
<?php if ($ecwd_social_icons) {
|
| 302 |
?>
|
| 303 |
</div>
|
| 304 |
<!-- Content -->
|
| 305 |
+
|
| 306 |
<div class="ecwd_events_single_event_content">
|
| 307 |
+
<?php
|
| 308 |
+
$post_content = apply_filters('the_content', $post->post_content);
|
| 309 |
+
echo do_shortcode($post_content);
|
| 310 |
+
?>
|
| 311 |
</div>
|
| 312 |
<!-- End Content -->
|
| 313 |
<!-- Categories and tags -->
|
| 314 |
+
<?php if ($category_and_tags == 1) { ?>
|
| 315 |
<div class="event_cageory_and_tags">
|
| 316 |
|
| 317 |
<?php if (!empty($event_categories)) { ?>
|
| 364 |
?>
|
| 365 |
</div>
|
| 366 |
<?php } ?>
|
| 367 |
+
<?php do_action('ecwd_tickets_events_single_meta', '', $ecwd_event_date_to, $post_id); ?>
|
| 368 |
</div>
|
| 369 |
</div>
|
| 370 |
</div>
|
views/single-event.php
CHANGED
|
@@ -100,7 +100,7 @@ if ($venue_post_id) {
|
|
| 100 |
}
|
| 101 |
|
| 102 |
$organizers = array();
|
| 103 |
-
|
| 104 |
if (is_array($ecwd_event_organizers) || is_object($ecwd_event_organizers)) {
|
| 105 |
foreach ($ecwd_event_organizers as $ecwd_event_organizer) {
|
| 106 |
$organizers[] = get_post($ecwd_event_organizer, ARRAY_A);
|
|
@@ -474,11 +474,11 @@ get_header();
|
|
| 474 |
$d = new ECWD_Display(0, '', '', $today);
|
| 475 |
$start_date = date('Y-m-d');
|
| 476 |
$end_date = date('Y-m-d', strtotime("+1 year", strtotime($start_date)));
|
| 477 |
-
$events = $d->get_event_days($events, 1, $start_date, $end_date);
|
| 478 |
?>
|
| 479 |
|
| 480 |
<?php
|
| 481 |
-
$events = $d->events_unique($events);
|
| 482 |
do_action('ecwd_show_related_events', $events,true);
|
| 483 |
}
|
| 484 |
?> </div>
|
| 100 |
}
|
| 101 |
|
| 102 |
$organizers = array();
|
| 103 |
+
$ecwd_event_organizers = maybe_unserialize($ecwd_event_organizers);
|
| 104 |
if (is_array($ecwd_event_organizers) || is_object($ecwd_event_organizers)) {
|
| 105 |
foreach ($ecwd_event_organizers as $ecwd_event_organizer) {
|
| 106 |
$organizers[] = get_post($ecwd_event_organizer, ARRAY_A);
|
| 474 |
$d = new ECWD_Display(0, '', '', $today);
|
| 475 |
$start_date = date('Y-m-d');
|
| 476 |
$end_date = date('Y-m-d', strtotime("+1 year", strtotime($start_date)));
|
| 477 |
+
$events = $d->get_event_days($events, 1, $start_date, $end_date);
|
| 478 |
?>
|
| 479 |
|
| 480 |
<?php
|
| 481 |
+
$events = $d->events_unique($events);
|
| 482 |
do_action('ecwd_show_related_events', $events,true);
|
| 483 |
}
|
| 484 |
?> </div>
|
