Version Description
New: Related events slider
New: Enable/disable rewrite rule option
Download this release
Release Info
Developer | webdorado |
Plugin | Event Calendar WD – Responsive Event Calendar plugin |
Version | 1.0.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.6 to 1.0.7
- css/style.css +9 -4
- ecwd.php +6 -2
- ecwd_admin_class.php +55 -13
- ecwd_class.php +172 -160
- includes/ecwd-cpt-class.php +53 -42
- includes/ecwd-display-class.php +12 -0
- includes/ecwd-functions.php +42 -44
- includes/register-settings.php +56 -15
- js/admin/editor-buttons.js +6 -2
- js/scripts.js +28 -1
- languages/ecwd-de_DE.mo +0 -0
- languages/ecwd-de_DE.po +68 -117
- languages/ecwd-es_ES.mo +0 -0
- languages/ecwd-es_ES.po +68 -117
- languages/ecwd-fr_FR.mo +0 -0
- languages/ecwd-fr_FR.po +67 -120
- languages/ecwd-it_IT.mo +0 -0
- languages/ecwd-it_IT.po +64 -117
- languages/ecwd-nl_NL.mo +0 -0
- languages/ecwd-nl_NL.po +64 -117
- languages/ecwd-ru_RU.mo +0 -0
- languages/ecwd-ru_RU.po +58 -111
- languages/en.pot +51 -103
- readme.txt +5 -1
- views/admin/admin.php +0 -5
- views/admin/ecwd-featured-plugins.php +0 -5
- views/admin/ecwd-featured-themes.php +0 -5
- views/admin/ecwd-theme-meta.php +0 -6
- views/admin/licensing.php +0 -7
- views/ecwd-organizer-content.php +14 -16
- views/ecwd-venue-content.php +1 -1
- views/single-event.php +171 -17
css/style.css
CHANGED
@@ -1632,9 +1632,14 @@ div[class^="ecwd-page-"].ecwd_calendar .ecwd-week-date.resp{
|
|
1632 |
margin: 10px 0 20px;
|
1633 |
}
|
1634 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1635 |
.upcoming_events_item{
|
1636 |
float:left;
|
1637 |
-
text-align:center;
|
1638 |
left: 0;
|
1639 |
position: relative;
|
1640 |
margin: 0 !important;
|
@@ -1643,12 +1648,12 @@ div[class^="ecwd-page-"].ecwd_calendar .ecwd-week-date.resp{
|
|
1643 |
overflow-y: auto;
|
1644 |
}
|
1645 |
.upcoming_events_item-img img{
|
1646 |
-
margin: 0px auto 13px;
|
1647 |
}
|
1648 |
.upcoming_events_item .event-date{
|
1649 |
-
font-size:
|
1650 |
-
font-weight:bold;
|
1651 |
margin-bottom: 15px;
|
|
|
1652 |
}
|
1653 |
|
1654 |
.upcoming_events_item .event-title a{
|
1632 |
margin: 10px 0 20px;
|
1633 |
}
|
1634 |
|
1635 |
+
.upcoming_events_item-img{
|
1636 |
+
float: left;
|
1637 |
+
padding: 0 5px 0 0;
|
1638 |
+
margin: 0 5px 0 0;
|
1639 |
+
clear: both;
|
1640 |
+
}
|
1641 |
.upcoming_events_item{
|
1642 |
float:left;
|
|
|
1643 |
left: 0;
|
1644 |
position: relative;
|
1645 |
margin: 0 !important;
|
1648 |
overflow-y: auto;
|
1649 |
}
|
1650 |
.upcoming_events_item-img img{
|
|
|
1651 |
}
|
1652 |
.upcoming_events_item .event-date{
|
1653 |
+
font-size: 19px;
|
1654 |
+
font-weight: bold;
|
1655 |
margin-bottom: 15px;
|
1656 |
+
line-height: 17px;
|
1657 |
}
|
1658 |
|
1659 |
.upcoming_events_item .event-title a{
|
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
|
@@ -24,5 +24,9 @@ add_action( 'plugins_loaded', array( 'ECWD', 'get_instance' ) );
|
|
24 |
if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
|
25 |
require_once( 'ecwd_admin_class.php' );
|
26 |
register_activation_hook( __FILE__, array( 'ECWD_Admin', 'activate' ) );
|
|
|
27 |
add_action( 'plugins_loaded', array( 'ECWD_Admin', 'get_instance' ) );
|
28 |
-
}
|
|
|
|
|
|
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
|
24 |
if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
|
25 |
require_once( 'ecwd_admin_class.php' );
|
26 |
register_activation_hook( __FILE__, array( 'ECWD_Admin', 'activate' ) );
|
27 |
+
register_uninstall_hook(__FILE__, array('ECWD_Admin', 'uninstall'));
|
28 |
add_action( 'plugins_loaded', array( 'ECWD_Admin', 'get_instance' ) );
|
29 |
+
}
|
30 |
+
|
31 |
+
|
32 |
+
|
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 |
|
12 |
private function __construct() {
|
@@ -31,6 +31,10 @@ class ECWD_Admin {
|
|
31 |
foreach ( array( 'post.php', 'post-new.php' ) as $hook ) {
|
32 |
add_action( "admin_head-$hook", array( $this, 'admin_head' ) );
|
33 |
}
|
|
|
|
|
|
|
|
|
34 |
}
|
35 |
|
36 |
|
@@ -43,7 +47,7 @@ class ECWD_Admin {
|
|
43 |
return false;
|
44 |
}
|
45 |
$screen = get_current_screen();
|
46 |
-
if ( $screen->id == 'edit-ecwd_event' || $screen->id == ECWD_PLUGIN_PREFIX . '_event' || in_array( $screen->id, $this->ecwd_page ) || $screen->post_type == ECWD_PLUGIN_PREFIX . '_event' || $screen->post_type == ECWD_PLUGIN_PREFIX . '_theme' || $screen->post_type == ECWD_PLUGIN_PREFIX . '_venue' || $screen->id == 'edit-ecwd_calendar' || $screen->id == ECWD_PLUGIN_PREFIX . '_calendar' || $screen->id == ECWD_PLUGIN_PREFIX . '_countdown_theme' ) {
|
47 |
return true;
|
48 |
} else {
|
49 |
return false;
|
@@ -57,11 +61,14 @@ class ECWD_Admin {
|
|
57 |
public static function activate() {
|
58 |
//setup default theme if there is no one
|
59 |
|
60 |
-
if (!defined('ECWD_PLUGIN_PREFIX')) {
|
61 |
-
define('ECWD_PLUGIN_PREFIX', 'ecwd');
|
62 |
}
|
63 |
|
64 |
}
|
|
|
|
|
|
|
65 |
|
66 |
|
67 |
public function add_plugin_admin_menu() {
|
@@ -106,9 +113,11 @@ class ECWD_Admin {
|
|
106 |
public function display_featured_plugins() {
|
107 |
include_once( ECWD_DIR . '/views/admin/ecwd-featured-plugins.php' );
|
108 |
}
|
|
|
109 |
public function display_themes_page() {
|
110 |
include_once( ECWD_DIR . '/views/admin/ecwd-theme-meta.php' );
|
111 |
}
|
|
|
112 |
public function display_license_page() {
|
113 |
include_once( ECWD_DIR . '/views/admin/licensing.php' );
|
114 |
}
|
@@ -128,10 +137,10 @@ class ECWD_Admin {
|
|
128 |
wp_enqueue_style( 'ecwd-admin-datetimepicker-css', plugins_url( 'css/admin/jquery.datetimepicker.css', __FILE__ ), array(), $this->version, 'all' );
|
129 |
wp_enqueue_style( 'ecwd-admin-colorpicker-css', plugins_url( 'css/admin/evol.colorpicker.css', __FILE__ ), array(), $this->version, 'all' );
|
130 |
wp_enqueue_style( $this->prefix . '-calendar-style', plugins_url( 'css/style.css', __FILE__ ), '', $this->version, 'all' );
|
131 |
-
wp_enqueue_style($this->prefix . '_font-awesome', plugins_url('/css/font-awesome/font-awesome.css', __FILE__), '', $this->version, 'all');
|
132 |
-
wp_enqueue_style($this->prefix . '-featured_plugins', plugins_url('/css/admin/featured_plugins.css', __FILE__), '', $this->version, 'all');
|
133 |
-
wp_enqueue_style($this->prefix . '-featured_themes', plugins_url('/css/admin/featured_themes.css', __FILE__), '', $this->version, 'all');
|
134 |
-
wp_enqueue_style($this->prefix . '-licensing', plugins_url('/css/admin/licensing.css', __FILE__), '', $this->version, 'all');
|
135 |
}
|
136 |
}
|
137 |
|
@@ -150,7 +159,7 @@ class ECWD_Admin {
|
|
150 |
'jquery',
|
151 |
'masonry'
|
152 |
), $this->version, true );
|
153 |
-
wp_register_script($this->prefix . '-admin-scripts', plugins_url( 'js/admin/admin.js', __FILE__ ), array(
|
154 |
'jquery',
|
155 |
'jquery-ui-datepicker',
|
156 |
'jquery-ui-tabs',
|
@@ -194,7 +203,7 @@ class ECWD_Admin {
|
|
194 |
'ignore_sticky_posts' => 1
|
195 |
);
|
196 |
$event_posts = get_posts( $args );
|
197 |
-
$plugin_url
|
198 |
?>
|
199 |
<!-- TinyMCE Shortcode Plugin -->
|
200 |
<script type='text/javascript'>
|
@@ -250,7 +259,7 @@ class ECWD_Admin {
|
|
250 |
function register_buttons( $buttons ) {
|
251 |
// inserts a separator between existing buttons and our new one
|
252 |
// "friendly_button" is the ID of our button
|
253 |
-
if(
|
254 |
array_push( $buttons, "|", ECWD_PLUGIN_PREFIX );
|
255 |
}
|
256 |
|
@@ -259,18 +268,51 @@ class ECWD_Admin {
|
|
259 |
|
260 |
// add the button to the tinyMCE bar
|
261 |
function add_tinymce_plugin( $plugin_array ) {
|
262 |
-
if(
|
263 |
$plugin_array[ ECWD_PLUGIN_PREFIX ] = plugins_url( 'js/admin/editor-buttons.js', __FILE__ );
|
264 |
}
|
|
|
265 |
return $plugin_array;
|
266 |
}
|
267 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
268 |
public function define_admin_constants() {
|
269 |
if ( ! defined( 'ECWD_DIR' ) ) {
|
270 |
define( 'ECWD_DIR', dirname( __FILE__ ) );
|
271 |
}
|
272 |
}
|
273 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
274 |
/**
|
275 |
* Return an instance of this class.
|
276 |
*/
|
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() {
|
31 |
foreach ( array( 'post.php', 'post-new.php' ) as $hook ) {
|
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 |
|
47 |
return false;
|
48 |
}
|
49 |
$screen = get_current_screen();
|
50 |
+
if ( $screen->id == 'edit-ecwd_event' || $screen->id == ECWD_PLUGIN_PREFIX . '_event' || in_array( $screen->id, $this->ecwd_page ) || $screen->post_type == ECWD_PLUGIN_PREFIX . '_event' || $screen->post_type == ECWD_PLUGIN_PREFIX . '_theme' || $screen->post_type == ECWD_PLUGIN_PREFIX . '_venue' || $screen->id == 'edit-ecwd_calendar' || $screen->id == ECWD_PLUGIN_PREFIX . '_calendar' || $screen->id == ECWD_PLUGIN_PREFIX . '_countdown_theme' || $screen->post_type == ECWD_PLUGIN_PREFIX . '_organizer' ) {
|
51 |
return true;
|
52 |
} else {
|
53 |
return false;
|
61 |
public static function activate() {
|
62 |
//setup default theme if there is no one
|
63 |
|
64 |
+
if ( ! defined( 'ECWD_PLUGIN_PREFIX' ) ) {
|
65 |
+
define( 'ECWD_PLUGIN_PREFIX', 'ecwd' );
|
66 |
}
|
67 |
|
68 |
}
|
69 |
+
public static function uninstall(){
|
70 |
+
|
71 |
+
}
|
72 |
|
73 |
|
74 |
public function add_plugin_admin_menu() {
|
113 |
public function display_featured_plugins() {
|
114 |
include_once( ECWD_DIR . '/views/admin/ecwd-featured-plugins.php' );
|
115 |
}
|
116 |
+
|
117 |
public function display_themes_page() {
|
118 |
include_once( ECWD_DIR . '/views/admin/ecwd-theme-meta.php' );
|
119 |
}
|
120 |
+
|
121 |
public function display_license_page() {
|
122 |
include_once( ECWD_DIR . '/views/admin/licensing.php' );
|
123 |
}
|
137 |
wp_enqueue_style( 'ecwd-admin-datetimepicker-css', plugins_url( 'css/admin/jquery.datetimepicker.css', __FILE__ ), array(), $this->version, 'all' );
|
138 |
wp_enqueue_style( 'ecwd-admin-colorpicker-css', plugins_url( 'css/admin/evol.colorpicker.css', __FILE__ ), array(), $this->version, 'all' );
|
139 |
wp_enqueue_style( $this->prefix . '-calendar-style', plugins_url( 'css/style.css', __FILE__ ), '', $this->version, 'all' );
|
140 |
+
wp_enqueue_style( $this->prefix . '_font-awesome', plugins_url( '/css/font-awesome/font-awesome.css', __FILE__ ), '', $this->version, 'all' );
|
141 |
+
wp_enqueue_style( $this->prefix . '-featured_plugins', plugins_url( '/css/admin/featured_plugins.css', __FILE__ ), '', $this->version, 'all' );
|
142 |
+
wp_enqueue_style( $this->prefix . '-featured_themes', plugins_url( '/css/admin/featured_themes.css', __FILE__ ), '', $this->version, 'all' );
|
143 |
+
wp_enqueue_style( $this->prefix . '-licensing', plugins_url( '/css/admin/licensing.css', __FILE__ ), '', $this->version, 'all' );
|
144 |
}
|
145 |
}
|
146 |
|
159 |
'jquery',
|
160 |
'masonry'
|
161 |
), $this->version, true );
|
162 |
+
wp_register_script( $this->prefix . '-admin-scripts', plugins_url( 'js/admin/admin.js', __FILE__ ), array(
|
163 |
'jquery',
|
164 |
'jquery-ui-datepicker',
|
165 |
'jquery-ui-tabs',
|
203 |
'ignore_sticky_posts' => 1
|
204 |
);
|
205 |
$event_posts = get_posts( $args );
|
206 |
+
$plugin_url = plugins_url( '/', __FILE__ );
|
207 |
?>
|
208 |
<!-- TinyMCE Shortcode Plugin -->
|
209 |
<script type='text/javascript'>
|
259 |
function register_buttons( $buttons ) {
|
260 |
// inserts a separator between existing buttons and our new one
|
261 |
// "friendly_button" is the ID of our button
|
262 |
+
if ( ! $this->ecwd_page() ) {
|
263 |
array_push( $buttons, "|", ECWD_PLUGIN_PREFIX );
|
264 |
}
|
265 |
|
268 |
|
269 |
// add the button to the tinyMCE bar
|
270 |
function add_tinymce_plugin( $plugin_array ) {
|
271 |
+
if ( ! $this->ecwd_page() ) {
|
272 |
$plugin_array[ ECWD_PLUGIN_PREFIX ] = plugins_url( 'js/admin/editor-buttons.js', __FILE__ );
|
273 |
}
|
274 |
+
|
275 |
return $plugin_array;
|
276 |
}
|
277 |
|
278 |
+
//auto update plugin
|
279 |
+
function ecwd_update( $update, $item ) {
|
280 |
+
global $ecwd_options;
|
281 |
+
if ( ! isset( $ecwd_options['auto_update'] ) || $ecwd_options['auto_update'] == 1 ) {
|
282 |
+
$plugins = array( // Plugins to auto-update
|
283 |
+
'event-calendar-wd'
|
284 |
+
);
|
285 |
+
if ( in_array( $item->slug, $plugins ) ) {
|
286 |
+
return true;
|
287 |
+
} // Auto-update specified plugins
|
288 |
+
else {
|
289 |
+
return false;
|
290 |
+
} // Don't auto-update all other plugins
|
291 |
+
}
|
292 |
+
}
|
293 |
+
|
294 |
+
|
295 |
public function define_admin_constants() {
|
296 |
if ( ! defined( 'ECWD_DIR' ) ) {
|
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 |
*/
|
ecwd_class.php
CHANGED
@@ -4,167 +4,179 @@
|
|
4 |
* ECWD
|
5 |
*
|
6 |
*/
|
7 |
-
|
8 |
class ECWD {
|
9 |
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
|
170 |
}
|
4 |
* ECWD
|
5 |
*
|
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';
|
13 |
+
protected static $instance = null;
|
14 |
+
|
15 |
+
private function __construct() {
|
16 |
+
$this->setup_constants();
|
17 |
+
include_once( 'includes/ecwd-shortcodes.php' );
|
18 |
+
$this->includes();
|
19 |
+
$cpt_instance = ECWD_Cpt::get_instance();
|
20 |
+
$this->user_info();
|
21 |
+
add_action( 'init', array( $this, 'add_localization' ) );
|
22 |
+
add_filter( 'body_class', array( $this, 'theme_body_class' ) );
|
23 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
24 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles' ) );
|
25 |
+
}
|
26 |
+
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Setup constants
|
30 |
+
*/
|
31 |
+
public function setup_constants() {
|
32 |
+
if ( ! defined( 'ECWD_PLUGIN_DIR' ) ) {
|
33 |
+
define( 'ECWD_PLUGIN_DIR', dirname( __FILE__ ) );
|
34 |
+
}
|
35 |
+
|
36 |
+
if ( ! defined( 'ECWD_PLUGIN_PREFIX' ) ) {
|
37 |
+
define( 'ECWD_PLUGIN_PREFIX', $this->prefix );
|
38 |
+
}
|
39 |
+
if ( ! defined( 'ECWD_PLUGIN_NAME' ) ) {
|
40 |
+
define( 'ECWD_PLUGIN_NAME', $this->plugin_name );
|
41 |
+
}
|
42 |
+
|
43 |
+
}
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
public function add_localization() {
|
49 |
+
$path = dirname( plugin_basename( __FILE__ ) ) . '/languages/';
|
50 |
+
$loaded = load_plugin_textdomain( 'ecwd', false, $path );
|
51 |
+
if ( isset( $_GET['page'] ) && $_GET['page'] == basename( __FILE__ ) && ! $loaded ) {
|
52 |
+
echo '<div class="error">Event calendar WD ' . __( 'Could not load the localization file: ' . $path, 'ecwd' ) . '</div>';
|
53 |
+
|
54 |
+
return;
|
55 |
+
}
|
56 |
+
}
|
57 |
+
|
58 |
+
public function user_info() {
|
59 |
+
//detect timezone
|
60 |
+
|
61 |
+
}
|
62 |
+
|
63 |
+
|
64 |
+
public static function theme_body_class(
|
65 |
+
$classes
|
66 |
+
) {
|
67 |
+
$child_theme = get_option( 'stylesheet' );
|
68 |
+
$parent_theme = get_option( 'template' );
|
69 |
+
|
70 |
+
if ( $child_theme == $parent_theme ) {
|
71 |
+
$child_theme = false;
|
72 |
+
}
|
73 |
+
|
74 |
+
if ( $child_theme ) {
|
75 |
+
$theme_classes = "ecwd-theme-parent-$parent_theme ecwd-theme-child-$child_theme";
|
76 |
+
} else {
|
77 |
+
$theme_classes = "ecwd-theme-$parent_theme";
|
78 |
+
}
|
79 |
+
$classes[] = $theme_classes;
|
80 |
+
|
81 |
+
return $classes;
|
82 |
+
}
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Include all necessary files
|
86 |
+
*/
|
87 |
+
public static function includes() {
|
88 |
+
global $ecwd_options;
|
89 |
+
|
90 |
+
include_once( 'includes/ecwd-cpt-class.php' );
|
91 |
+
include_once( 'includes/register-settings.php' );
|
92 |
+
$ecwd_options = ecwd_get_settings();
|
93 |
+
$default_timezone = self::isValidTimezone( @ini_get( 'date.timezone' ) ) ? ini_get( 'date.timezone' ) : 'Europe/Berlin';
|
94 |
+
$timezone = ( isset( $ecwd_options['time_zone'] ) && self::isValidTimezone( $ecwd_options['time_zone'] ) ) ? $ecwd_options['time_zone'] : $default_timezone;
|
95 |
+
date_default_timezone_set( $timezone );
|
96 |
+
include_once( 'includes/ecwd-functions.php' );
|
97 |
+
include_once( 'includes/ecwd-event-class.php' );
|
98 |
+
include_once( 'includes/ecwd-display-class.php' );
|
99 |
+
include_once( 'views/widgets.php' );
|
100 |
+
}
|
101 |
+
|
102 |
+
/**
|
103 |
+
* Load public facing scripts
|
104 |
+
*/
|
105 |
+
public function enqueue_scripts() {
|
106 |
+
global $wp_scripts;
|
107 |
+
$map_included = false;
|
108 |
+
if ( isset( $wp_scripts->registered ) && $wp_scripts->registered ) {
|
109 |
+
foreach ( $wp_scripts->registered as $wp_script ) {
|
110 |
+
if ( $wp_script->src && ( strpos( $wp_script->src, 'maps.googleapis.com' ) || strpos( $wp_script->src, 'maps.google.com' ) ) !== false ) {
|
111 |
+
$map_included = true;
|
112 |
+
break;
|
113 |
+
}
|
114 |
+
}
|
115 |
+
}
|
116 |
+
if ( ! $map_included ) {
|
117 |
+
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, true );
|
118 |
+
}
|
119 |
+
wp_enqueue_script( $this->prefix . '-gmap-public', plugins_url( 'js/gmap/gmap3.js', __FILE__ ), array( 'jquery' ), $this->version, true );
|
120 |
+
wp_enqueue_script( $this->prefix . '-public', plugins_url( 'js/scripts.js', __FILE__ ), array(
|
121 |
+
'jquery',
|
122 |
+
'jquery-ui-draggable',
|
123 |
+
'masonry'
|
124 |
+
), $this->version, true );
|
125 |
+
|
126 |
+
}
|
127 |
+
|
128 |
+
/*
|
129 |
+
* Load public facing styles
|
130 |
+
*/
|
131 |
+
|
132 |
+
public function enqueue_styles() {
|
133 |
+
wp_enqueue_style( $this->prefix . '_font-awesome', plugins_url( '/css/font-awesome/font-awesome.css', __FILE__ ), '', $this->version, 'all' );
|
134 |
+
wp_enqueue_style( $this->prefix . '-public', plugins_url( 'css/style.css', __FILE__ ), '', $this->version, 'all' );
|
135 |
+
}
|
136 |
+
|
137 |
+
|
138 |
+
public static function isValidTimezone( $timezone ) {
|
139 |
+
return in_array( $timezone, timezone_identifiers_list() );
|
140 |
+
}
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Return the plugin name.
|
144 |
+
*/
|
145 |
+
public function get_name() {
|
146 |
+
return $this->plugin_name;
|
147 |
+
}
|
148 |
+
|
149 |
+
/**
|
150 |
+
* Return the plugin prefix.
|
151 |
+
*/
|
152 |
+
public function get_prefix() {
|
153 |
+
return $this->prefix;
|
154 |
+
}
|
155 |
+
|
156 |
+
/**
|
157 |
+
* Return the plugin version.
|
158 |
+
*/
|
159 |
+
public function get_version() {
|
160 |
+
return $this->version;
|
161 |
+
}
|
162 |
+
|
163 |
+
/**
|
164 |
+
* Return the plugin old version.
|
165 |
+
*/
|
166 |
+
public function get_old_version() {
|
167 |
+
return $this->old_version;
|
168 |
+
}
|
169 |
+
|
170 |
+
|
171 |
+
/**
|
172 |
+
* Return an instance of this class.
|
173 |
+
*/
|
174 |
+
public static function get_instance() {
|
175 |
+
if ( null == self::$instance ) {
|
176 |
+
self::$instance = new self;
|
177 |
+
}
|
178 |
+
|
179 |
+
return self::$instance;
|
180 |
+
}
|
181 |
|
182 |
}
|
includes/ecwd-cpt-class.php
CHANGED
@@ -84,6 +84,7 @@ class ECWD_Cpt {
|
|
84 |
|
85 |
//category filter
|
86 |
add_filter('init',array($this, 'event_restrict_manage'));
|
|
|
87 |
}
|
88 |
|
89 |
|
@@ -176,29 +177,38 @@ class ECWD_Cpt {
|
|
176 |
*/
|
177 |
public function setup_cpt() {
|
178 |
global $ecwd_options;
|
179 |
-
$
|
|
|
|
|
|
|
180 |
if ( isset( $ecwd_options['event_comments'] ) && $ecwd_options['event_comments'] == 1 ) {
|
181 |
$event_supports[] = 'comments';
|
182 |
}
|
183 |
-
$
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
|
|
191 |
|
192 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
|
|
198 |
}
|
199 |
-
|
200 |
-
$this->rewriteSlugSingular = ( isset( $ecwd_options['event_slug'] ) && $ecwd_options['event_slug'] !== '' ) ? $ecwd_options['event_slug'] : $defaultSlug;
|
201 |
-
//calendars
|
202 |
$calendar_labels = array(
|
203 |
'name' => __( 'Calendars', 'ecwd' ),
|
204 |
'singular_name' => __( 'Calendar', 'ecwd' ),
|
@@ -273,7 +283,7 @@ class ECWD_Cpt {
|
|
273 |
'editor',
|
274 |
'thumbnail'
|
275 |
), $event_supports ),
|
276 |
-
'rewrite' =>
|
277 |
);
|
278 |
|
279 |
register_post_type( self::EVENT_POST_TYPE, $args );
|
@@ -312,7 +322,7 @@ class ECWD_Cpt {
|
|
312 |
'title',
|
313 |
'editor'
|
314 |
),
|
315 |
-
'rewrite' =>
|
316 |
);
|
317 |
|
318 |
register_post_type( self::ORGANIZER_POST_TYPE, $organizers_args );
|
@@ -350,7 +360,7 @@ class ECWD_Cpt {
|
|
350 |
'title',
|
351 |
'editor'
|
352 |
),
|
353 |
-
'rewrite' =>
|
354 |
);
|
355 |
|
356 |
|
@@ -380,31 +390,32 @@ class ECWD_Cpt {
|
|
380 |
|
381 |
public function filterRewriteRules( $wp_rewrite ) {
|
382 |
global $ecwd_options;
|
|
|
|
|
|
|
|
|
|
|
|
|
383 |
|
384 |
-
|
385 |
-
|
386 |
-
if(is_plugin_active('the-events-calendar/the-events-calendar.php')){
|
387 |
-
$defaultSlug = 'wdevent';
|
388 |
}
|
389 |
|
390 |
-
$
|
391 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
392 |
}
|
393 |
-
|
394 |
-
$base = trailingslashit( $this->rewriteSlug );
|
395 |
-
$singleBase = trailingslashit( $this->rewriteSlugSingular );
|
396 |
-
$newRules = array();
|
397 |
-
// single event
|
398 |
-
$newRules[ $singleBase . '([^/]+)/(\d{4}-\d{2}-\d{2})/?$' ] = 'index.php?' . self::EVENT_POST_TYPE . '=' . $wp_rewrite->preg_index( 1 ) . "&eventDate=" . $wp_rewrite->preg_index( 2 );
|
399 |
-
$newRules[ $singleBase . '([^/]+)/all/?$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&' . self::EVENT_POST_TYPE . '=' . $wp_rewrite->preg_index( 1 ) . "&eventDisplay=all";
|
400 |
-
$newRules[ $base . 'page/(\d+)' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&eventDisplay=list&paged=' . $wp_rewrite->preg_index( 1 );
|
401 |
-
$newRules[ $base . '(feed|rdf|rss|rss2|atom)/?$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&eventDisplay=list&feed=' . $wp_rewrite->preg_index( 1 );
|
402 |
-
$newRules[ $base . '(\d{4}-\d{2})$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&eventDisplay=month' . '&eventDate=' . $wp_rewrite->preg_index( 1 );
|
403 |
-
$newRules[ $base . '(\d{4}-\d{2}-\d{2})/?$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&eventDisplay=day&eventDate=' . $wp_rewrite->preg_index( 1 );
|
404 |
-
$newRules[ $base . 'feed/?$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . 'eventDisplay=list&&feed=rss2';
|
405 |
-
$newRules[ $base . '?$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&eventDisplay=default';
|
406 |
-
|
407 |
-
$wp_rewrite->rules = apply_filters( ECWD_PLUGIN_PREFIX . '_events_rewrite_rules', $newRules + $wp_rewrite->rules, $newRules );
|
408 |
}
|
409 |
|
410 |
/**
|
@@ -1302,7 +1313,7 @@ class ECWD_Cpt {
|
|
1302 |
return false;
|
1303 |
}
|
1304 |
}
|
1305 |
-
|
1306 |
public static function get_instance() {
|
1307 |
if ( null == self::$instance ) {
|
1308 |
self::$instance = new self;
|
84 |
|
85 |
//category filter
|
86 |
add_filter('init',array($this, 'event_restrict_manage'));
|
87 |
+
|
88 |
}
|
89 |
|
90 |
|
177 |
*/
|
178 |
public function setup_cpt() {
|
179 |
global $ecwd_options;
|
180 |
+
$rewrite = false;
|
181 |
+
$venue_rewrite = false;
|
182 |
+
$organizer_rewrite = false;
|
183 |
+
$event_supports = array();
|
184 |
if ( isset( $ecwd_options['event_comments'] ) && $ecwd_options['event_comments'] == 1 ) {
|
185 |
$event_supports[] = 'comments';
|
186 |
}
|
187 |
+
if ( ! isset( $ecwd_options['enable_rewrite'] ) || $ecwd_options['enable_rewrite'] == 1 ) {
|
188 |
+
$defaultSlug = 'event';
|
189 |
+
if ( is_plugin_active( 'the-events-calendar/the-events-calendar.php' ) ) {
|
190 |
+
$defaultSlug = 'wdevent';
|
191 |
+
}
|
192 |
+
if ( false === get_option( ECWD_PLUGIN_PREFIX . '_slug_changed' ) ) {
|
193 |
+
update_option( ECWD_PLUGIN_PREFIX . '_slug_changed', 0 );
|
194 |
+
update_option( ECWD_PLUGIN_PREFIX . '_single_slug', $defaultSlug );
|
195 |
+
update_option( ECWD_PLUGIN_PREFIX . '_slug', $defaultSlug . 's' );
|
196 |
|
197 |
+
}
|
198 |
+
|
199 |
+
if ( ( isset( $ecwd_options['event_slug'] ) && $ecwd_options['event_slug'] !== get_option( ECWD_PLUGIN_PREFIX . '_single_slug' ) ) || ( isset( $ecwd_options['events_slug'] ) && $ecwd_options['events_slug'] !== get_option( ECWD_PLUGIN_PREFIX . '_slug' ) ) ) {
|
200 |
+
update_option( ECWD_PLUGIN_PREFIX . '_single_slug', $ecwd_options['event_slug'] );
|
201 |
+
update_option( ECWD_PLUGIN_PREFIX . '_slug', $ecwd_options['events_slug'] );
|
202 |
+
update_option( ECWD_PLUGIN_PREFIX . '_slug_changed', 1 );
|
203 |
+
}
|
204 |
|
205 |
+
$this->rewriteSlug = ( isset( $ecwd_options['events_slug'] ) && $ecwd_options['events_slug'] !== '' ) ? $ecwd_options['events_slug'] : $defaultSlug . 's';
|
206 |
+
$this->rewriteSlugSingular = ( isset( $ecwd_options['event_slug'] ) && $ecwd_options['event_slug'] !== '' ) ? $ecwd_options['event_slug'] : $defaultSlug;
|
207 |
+
$rewrite = array( 'slug' => $this->rewriteSlugSingular );
|
208 |
+
$venue_rewrite = array( 'slug' => 'venue' );
|
209 |
+
$organizer_rewrite = array( 'slug' => 'organizer' );
|
210 |
}
|
211 |
+
//calendars
|
|
|
|
|
212 |
$calendar_labels = array(
|
213 |
'name' => __( 'Calendars', 'ecwd' ),
|
214 |
'singular_name' => __( 'Calendar', 'ecwd' ),
|
283 |
'editor',
|
284 |
'thumbnail'
|
285 |
), $event_supports ),
|
286 |
+
'rewrite' => $rewrite
|
287 |
);
|
288 |
|
289 |
register_post_type( self::EVENT_POST_TYPE, $args );
|
322 |
'title',
|
323 |
'editor'
|
324 |
),
|
325 |
+
'rewrite' => $organizer_rewrite
|
326 |
);
|
327 |
|
328 |
register_post_type( self::ORGANIZER_POST_TYPE, $organizers_args );
|
360 |
'title',
|
361 |
'editor'
|
362 |
),
|
363 |
+
'rewrite' => $venue_rewrite
|
364 |
);
|
365 |
|
366 |
|
390 |
|
391 |
public function filterRewriteRules( $wp_rewrite ) {
|
392 |
global $ecwd_options;
|
393 |
+
if ( ! isset( $ecwd_options['enable_rewrite'] ) || $ecwd_options['enable_rewrite'] == 1 ) {
|
394 |
+
if ( ! $this->rewriteSlugSingular || $this->rewriteSlugSingular == '' ) {
|
395 |
+
$defaultSlug = 'event';
|
396 |
+
if ( is_plugin_active( 'the-events-calendar/the-events-calendar.php' ) ) {
|
397 |
+
$defaultSlug = 'wdevent';
|
398 |
+
}
|
399 |
|
400 |
+
$this->rewriteSlug = ( isset( $ecwd_options['events_slug'] ) && $ecwd_options['events_slug'] !== '' ) ? $ecwd_options['events_slug'] : $defaultSlug . 's';
|
401 |
+
$this->rewriteSlugSingular = ( isset( $ecwd_options['event_slug'] ) && $ecwd_options['event_slug'] !== '' ) ? $ecwd_options['event_slug'] : $defaultSlug;
|
|
|
|
|
402 |
}
|
403 |
|
404 |
+
$base = trailingslashit( $this->rewriteSlug );
|
405 |
+
$singleBase = trailingslashit( $this->rewriteSlugSingular );
|
406 |
+
$newRules = array();
|
407 |
+
// single event
|
408 |
+
$newRules[ $singleBase . '([^/]+)/(\d{4}-\d{2}-\d{2})/?$' ] = 'index.php?' . self::EVENT_POST_TYPE . '=' . $wp_rewrite->preg_index( 1 ) . "&eventDate=" . $wp_rewrite->preg_index( 2 );
|
409 |
+
$newRules[ $singleBase . '([^/]+)/all/?$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&' . self::EVENT_POST_TYPE . '=' . $wp_rewrite->preg_index( 1 ) . "&eventDisplay=all";
|
410 |
+
$newRules[ $base . 'page/(\d+)' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&eventDisplay=list&paged=' . $wp_rewrite->preg_index( 1 );
|
411 |
+
$newRules[ $base . '(feed|rdf|rss|rss2|atom)/?$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&eventDisplay=list&feed=' . $wp_rewrite->preg_index( 1 );
|
412 |
+
$newRules[ $base . '(\d{4}-\d{2})$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&eventDisplay=month' . '&eventDate=' . $wp_rewrite->preg_index( 1 );
|
413 |
+
$newRules[ $base . '(\d{4}-\d{2}-\d{2})/?$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&eventDisplay=day&eventDate=' . $wp_rewrite->preg_index( 1 );
|
414 |
+
$newRules[ $base . 'feed/?$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . 'eventDisplay=list&&feed=rss2';
|
415 |
+
$newRules[ $base . '?$' ] = 'index.php?post_type=' . self::EVENT_POST_TYPE . '&eventDisplay=default';
|
416 |
+
|
417 |
+
$wp_rewrite->rules = apply_filters( ECWD_PLUGIN_PREFIX . '_events_rewrite_rules', $newRules + $wp_rewrite->rules, $newRules );
|
418 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
419 |
}
|
420 |
|
421 |
/**
|
1313 |
return false;
|
1314 |
}
|
1315 |
}
|
1316 |
+
|
1317 |
public static function get_instance() {
|
1318 |
if ( null == self::$instance ) {
|
1319 |
self::$instance = new self;
|
includes/ecwd-display-class.php
CHANGED
@@ -868,6 +868,18 @@ class ECWD_Display {
|
|
868 |
return $next_event;
|
869 |
|
870 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
871 |
|
872 |
public function arraySort( $a, $subkey ) {
|
873 |
foreach ( $a as $k => $v ) {
|
868 |
return $next_event;
|
869 |
|
870 |
}
|
871 |
+
function events_unique( $array ) {
|
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 |
+
}
|
879 |
+
}
|
880 |
+
|
881 |
+
return $array;
|
882 |
+
}
|
883 |
|
884 |
public function arraySort( $a, $subkey ) {
|
885 |
foreach ( $a as $k => $v ) {
|
includes/ecwd-functions.php
CHANGED
@@ -29,11 +29,10 @@ function ecwd_print_calendar( $calendar_ids, $display = 'mini', $args = array(),
|
|
29 |
wp_enqueue_style( 'ecwd-calendar-main', plugins_url( '../css/calendar.css', __FILE__ ), '', 1 );
|
30 |
|
31 |
if ( $ecwd_calendar_theme && file_exists( ECWD_DIR . '/css/themes/' . $css_file . ".css" ) ) {
|
32 |
-
wp_enqueue_style( 'ecwd-calendar-theme_'
|
33 |
}
|
34 |
|
35 |
|
36 |
-
|
37 |
$calendar_ids_html = implode( '-', $ids );
|
38 |
$date = ( isset( $args['date'] ) ? $args['date'] : '' );
|
39 |
$prev_display = ( isset( $args['prev_display'] ) ? $args['prev_display'] : '' );
|
@@ -47,7 +46,7 @@ function ecwd_print_calendar( $calendar_ids, $display = 'mini', $args = array(),
|
|
47 |
}
|
48 |
|
49 |
//Create new display object, passing array of calendar id(s)
|
50 |
-
$d = new ECWD_Display( $ids, $title_text, $sort, $date, $page, $args['search_params'], $displays, $filters, $page_items, $event_search, $display);
|
51 |
$markup = '';
|
52 |
$start = current_time( 'timestamp' );
|
53 |
|
@@ -62,10 +61,11 @@ function ecwd_print_calendar( $calendar_ids, $display = 'mini', $args = array(),
|
|
62 |
$display = $prev_display;
|
63 |
}
|
64 |
if ( $ajax == false ) {
|
65 |
-
if ( $widget == 1 )
|
66 |
$markup .= '<div class="ecwd_' . $calendar_ids_html . ' calendar_widget_content calendar_main">';
|
67 |
-
else
|
68 |
$markup .= '<div class="ecwd_' . $calendar_ids_html . ' calendar_full_content calendar_main">';
|
|
|
69 |
if ( $widget !== 1 ) {
|
70 |
if ( defined( 'ECWD_FILTERS_EVENT_MAIN_FILE' ) && is_plugin_active( ECWD_FILTERS_EVENT_MAIN_FILE ) ) {
|
71 |
if ( defined( 'ECWD_FILTERS_EVENT_DIR' ) ) {
|
@@ -130,8 +130,8 @@ function ecwd_ajax() {
|
|
130 |
die( 'Request has failed.' );
|
131 |
}
|
132 |
|
133 |
-
$ids
|
134 |
-
$args
|
135 |
$display = '';
|
136 |
if ( isset( $_POST[ ECWD_PLUGIN_PREFIX . '_link' ] ) ) {
|
137 |
$link = esc_html( $_POST[ ECWD_PLUGIN_PREFIX . '_link' ] );
|
@@ -140,8 +140,8 @@ function ecwd_ajax() {
|
|
140 |
$page = isset( $link_arr['amp;cpage'] ) ? $link_arr['amp;cpage'] : 1;
|
141 |
|
142 |
$display = isset( $link_arr['amp;t'] ) ? $link_arr['amp;t'] : 'mini';
|
143 |
-
}else{
|
144 |
-
if(isset($_POST[ ECWD_PLUGIN_PREFIX . '_prev_display'])) {
|
145 |
$display = esc_html( $_POST[ ECWD_PLUGIN_PREFIX . '_prev_display' ] );
|
146 |
}
|
147 |
}
|
@@ -151,7 +151,7 @@ function ecwd_ajax() {
|
|
151 |
} else {
|
152 |
$args['date'] = '';
|
153 |
}
|
154 |
-
if($args['date'] =='' && isset( $_POST[ ECWD_PLUGIN_PREFIX . '_date_filter' ])){
|
155 |
$args['date'] = $_POST[ ECWD_PLUGIN_PREFIX . '_date_filter' ];
|
156 |
}
|
157 |
if ( isset( $_POST[ ECWD_PLUGIN_PREFIX . '_prev_display' ] ) && $_POST[ ECWD_PLUGIN_PREFIX . '_prev_display' ] != '' ) {
|
@@ -164,14 +164,14 @@ function ecwd_ajax() {
|
|
164 |
$args['widget'] = 1;
|
165 |
}
|
166 |
|
167 |
-
if($display=='') {
|
168 |
if ( $args['widget'] == 1 ) {
|
169 |
$display = 'mini';
|
170 |
} else {
|
171 |
$display = 'full';
|
172 |
}
|
173 |
}
|
174 |
-
if ( isset($page) ) {
|
175 |
$args['cpage'] = $page;
|
176 |
} else {
|
177 |
$args['cpage'] = 1;
|
@@ -257,7 +257,7 @@ add_action( 'wp_ajax_nopriv_ecwd_ajax_list', ECWD_PLUGIN_PREFIX . '_ajax_list' )
|
|
257 |
add_action( 'wp_ajax_ecwd_ajax_list', ECWD_PLUGIN_PREFIX . '_ajax_list' );
|
258 |
|
259 |
function replaceFirstImages( $content ) {
|
260 |
-
$content = preg_replace( "/<img[^>]+\>/i", " ", $content, 1);
|
261 |
|
262 |
return $content;
|
263 |
}
|
@@ -313,39 +313,35 @@ add_filter( 'the_content', ECWD_PLUGIN_PREFIX . '_event_content' );
|
|
313 |
//add_filter('template_include', ECWD_PLUGIN_PREFIX . '_set_template');
|
314 |
|
315 |
function ecwd_set_template( $template ) {
|
316 |
-
if ( is_singular(ECWD_PLUGIN_PREFIX . '_event') && ECWD_DIR . '/views/ecwd-event-content.php' != $template ) {
|
317 |
$template = ECWD_DIR . '/views/ecwd-event-content.php';
|
318 |
}
|
|
|
319 |
return $template;
|
320 |
}
|
321 |
|
322 |
-
|
323 |
function ecwd_event_post( $post ) {
|
324 |
-
global $ecwd_options;
|
325 |
-
if ( is_single() && isset( $post->comment_status ) && $post->post_type == ECWD_PLUGIN_PREFIX . '_event' ) {
|
326 |
-
$post->comment_status = 'closed';
|
327 |
-
if ( isset( $ecwd_options['event_comments'] ) && $ecwd_options['event_comments'] == 1 ) {
|
328 |
-
$post->comment_status = 'open';
|
329 |
-
}
|
330 |
-
}
|
331 |
-
return $post;
|
332 |
}
|
333 |
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
add_action( 'the_post', ECWD_PLUGIN_PREFIX . '_event_post' );
|
339 |
|
340 |
function ecwd_add_meta_tags() {
|
341 |
global $post, $ecwd_options;
|
342 |
-
if ( is_single() && $post->post_type == ECWD_PLUGIN_PREFIX . '_event' &&
|
343 |
-
echo '<meta property="og:title" content="'
|
344 |
-
$ecwd_event_date_from
|
345 |
-
$ecwd_event_date_to
|
346 |
-
$ecwd_all_day_event
|
347 |
-
$date_format
|
348 |
-
$time_format
|
349 |
if ( isset( $ecwd_options['date_format'] ) && $ecwd_options['date_format'] != '' ) {
|
350 |
$date_format = $ecwd_options['date_format'];
|
351 |
}
|
@@ -353,14 +349,14 @@ function ecwd_add_meta_tags() {
|
|
353 |
$time_format = $ecwd_options['time_format'];
|
354 |
}
|
355 |
$ecwd_event_location = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_event_location', true );
|
356 |
-
$description
|
357 |
if ( $ecwd_all_day_event == 1 ) {
|
358 |
-
$description.=
|
359 |
if ( $ecwd_all_day_event == 1 ) {
|
360 |
if ( $ecwd_event_date_to && date( $date_format, strtotime( $ecwd_event_date_from ) ) !== date( $date_format, strtotime( $ecwd_event_date_to ) ) ) {
|
361 |
-
$description.= ' - ' . date( $date_format, strtotime( $ecwd_event_date_to ) );
|
362 |
}
|
363 |
-
$description.= ' ' . __( 'All day', 'ecwd' ).' ';
|
364 |
}
|
365 |
} else {
|
366 |
$description .= date( $date_format, strtotime( $ecwd_event_date_from ) ) . ' ' . date( $time_format, strtotime( $ecwd_event_date_from ) );
|
@@ -369,16 +365,17 @@ function ecwd_add_meta_tags() {
|
|
369 |
$description .= ' - ' . date( $date_format, strtotime( $ecwd_event_date_to ) ) . ' ' . date( $time_format, strtotime( $ecwd_event_date_to ) );
|
370 |
}
|
371 |
}
|
372 |
-
$description .= ' '
|
373 |
-
echo '<meta property="og:description" content="'
|
374 |
$feat_image = '';
|
375 |
-
if ( has_post_thumbnail($post->ID)) {
|
376 |
-
$feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID, 'pull') );
|
377 |
}
|
378 |
-
echo '<meta property="og:image" content="'
|
379 |
}
|
380 |
}
|
381 |
-
|
|
|
382 |
|
383 |
|
384 |
function ecwd_print_countdown( $event_id, $widget = 1, $theme_id = null, $args = array() ) {
|
@@ -444,6 +441,7 @@ function ecwd_print_countdown( $event_id, $widget = 1, $theme_id = null, $args =
|
|
444 |
$markup .= '</div>';
|
445 |
$markup .= '<div class="clear"></div>';
|
446 |
}
|
|
|
447 |
return $markup;
|
448 |
|
449 |
|
29 |
wp_enqueue_style( 'ecwd-calendar-main', plugins_url( '../css/calendar.css', __FILE__ ), '', 1 );
|
30 |
|
31 |
if ( $ecwd_calendar_theme && file_exists( ECWD_DIR . '/css/themes/' . $css_file . ".css" ) ) {
|
32 |
+
wp_enqueue_style( 'ecwd-calendar-theme_' . $css_file, plugins_url( '../css/themes/' . $css_file . '.css', __FILE__ ), '', 1 );
|
33 |
}
|
34 |
|
35 |
|
|
|
36 |
$calendar_ids_html = implode( '-', $ids );
|
37 |
$date = ( isset( $args['date'] ) ? $args['date'] : '' );
|
38 |
$prev_display = ( isset( $args['prev_display'] ) ? $args['prev_display'] : '' );
|
46 |
}
|
47 |
|
48 |
//Create new display object, passing array of calendar id(s)
|
49 |
+
$d = new ECWD_Display( $ids, $title_text, $sort, $date, $page, $args['search_params'], $displays, $filters, $page_items, $event_search, $display );
|
50 |
$markup = '';
|
51 |
$start = current_time( 'timestamp' );
|
52 |
|
61 |
$display = $prev_display;
|
62 |
}
|
63 |
if ( $ajax == false ) {
|
64 |
+
if ( $widget == 1 ) {
|
65 |
$markup .= '<div class="ecwd_' . $calendar_ids_html . ' calendar_widget_content calendar_main">';
|
66 |
+
} else {
|
67 |
$markup .= '<div class="ecwd_' . $calendar_ids_html . ' calendar_full_content calendar_main">';
|
68 |
+
}
|
69 |
if ( $widget !== 1 ) {
|
70 |
if ( defined( 'ECWD_FILTERS_EVENT_MAIN_FILE' ) && is_plugin_active( ECWD_FILTERS_EVENT_MAIN_FILE ) ) {
|
71 |
if ( defined( 'ECWD_FILTERS_EVENT_DIR' ) ) {
|
130 |
die( 'Request has failed.' );
|
131 |
}
|
132 |
|
133 |
+
$ids = esc_html( $_POST[ ECWD_PLUGIN_PREFIX . '_calendar_ids' ] );
|
134 |
+
$args = array();
|
135 |
$display = '';
|
136 |
if ( isset( $_POST[ ECWD_PLUGIN_PREFIX . '_link' ] ) ) {
|
137 |
$link = esc_html( $_POST[ ECWD_PLUGIN_PREFIX . '_link' ] );
|
140 |
$page = isset( $link_arr['amp;cpage'] ) ? $link_arr['amp;cpage'] : 1;
|
141 |
|
142 |
$display = isset( $link_arr['amp;t'] ) ? $link_arr['amp;t'] : 'mini';
|
143 |
+
} else {
|
144 |
+
if ( isset( $_POST[ ECWD_PLUGIN_PREFIX . '_prev_display' ] ) ) {
|
145 |
$display = esc_html( $_POST[ ECWD_PLUGIN_PREFIX . '_prev_display' ] );
|
146 |
}
|
147 |
}
|
151 |
} else {
|
152 |
$args['date'] = '';
|
153 |
}
|
154 |
+
if ( $args['date'] == '' && isset( $_POST[ ECWD_PLUGIN_PREFIX . '_date_filter' ] ) ) {
|
155 |
$args['date'] = $_POST[ ECWD_PLUGIN_PREFIX . '_date_filter' ];
|
156 |
}
|
157 |
if ( isset( $_POST[ ECWD_PLUGIN_PREFIX . '_prev_display' ] ) && $_POST[ ECWD_PLUGIN_PREFIX . '_prev_display' ] != '' ) {
|
164 |
$args['widget'] = 1;
|
165 |
}
|
166 |
|
167 |
+
if ( $display == '' ) {
|
168 |
if ( $args['widget'] == 1 ) {
|
169 |
$display = 'mini';
|
170 |
} else {
|
171 |
$display = 'full';
|
172 |
}
|
173 |
}
|
174 |
+
if ( isset( $page ) ) {
|
175 |
$args['cpage'] = $page;
|
176 |
} else {
|
177 |
$args['cpage'] = 1;
|
257 |
add_action( 'wp_ajax_ecwd_ajax_list', ECWD_PLUGIN_PREFIX . '_ajax_list' );
|
258 |
|
259 |
function replaceFirstImages( $content ) {
|
260 |
+
$content = preg_replace( "/<img[^>]+\>/i", " ", $content, 1 );
|
261 |
|
262 |
return $content;
|
263 |
}
|
313 |
//add_filter('template_include', ECWD_PLUGIN_PREFIX . '_set_template');
|
314 |
|
315 |
function ecwd_set_template( $template ) {
|
316 |
+
if ( is_singular( ECWD_PLUGIN_PREFIX . '_event' ) && ECWD_DIR . '/views/ecwd-event-content.php' != $template ) {
|
317 |
$template = ECWD_DIR . '/views/ecwd-event-content.php';
|
318 |
}
|
319 |
+
|
320 |
return $template;
|
321 |
}
|
322 |
|
|
|
323 |
function ecwd_event_post( $post ) {
|
324 |
+
global $ecwd_options;
|
325 |
+
if ( is_single() && isset( $post->comment_status ) && $post->post_type == ECWD_PLUGIN_PREFIX . '_event' ) {
|
326 |
+
$post->comment_status = 'closed';
|
327 |
+
if ( isset( $ecwd_options['event_comments'] ) && $ecwd_options['event_comments'] == 1 ) {
|
328 |
+
$post->comment_status = 'open';
|
329 |
+
}
|
330 |
+
}
|
331 |
+
return $post;
|
332 |
}
|
333 |
|
|
|
|
|
|
|
|
|
334 |
add_action( 'the_post', ECWD_PLUGIN_PREFIX . '_event_post' );
|
335 |
|
336 |
function ecwd_add_meta_tags() {
|
337 |
global $post, $ecwd_options;
|
338 |
+
if ( is_single() && $post->post_type == ECWD_PLUGIN_PREFIX . '_event' && isset( $ecwd_options['social_icons'] ) && $ecwd_options['social_icons'] != '' ) {
|
339 |
+
echo '<meta property="og:title" content="' . $post->post_title . '"/>';
|
340 |
+
$ecwd_event_date_from = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_event_date_from', true );
|
341 |
+
$ecwd_event_date_to = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_event_date_to', true );
|
342 |
+
$ecwd_all_day_event = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_all_day_event', true );
|
343 |
+
$date_format = 'Y-m-d';
|
344 |
+
$time_format = 'H:i';
|
345 |
if ( isset( $ecwd_options['date_format'] ) && $ecwd_options['date_format'] != '' ) {
|
346 |
$date_format = $ecwd_options['date_format'];
|
347 |
}
|
349 |
$time_format = $ecwd_options['time_format'];
|
350 |
}
|
351 |
$ecwd_event_location = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_event_location', true );
|
352 |
+
$description = '';
|
353 |
if ( $ecwd_all_day_event == 1 ) {
|
354 |
+
$description .= date( $date_format, strtotime( $ecwd_event_date_from ) );
|
355 |
if ( $ecwd_all_day_event == 1 ) {
|
356 |
if ( $ecwd_event_date_to && date( $date_format, strtotime( $ecwd_event_date_from ) ) !== date( $date_format, strtotime( $ecwd_event_date_to ) ) ) {
|
357 |
+
$description .= ' - ' . date( $date_format, strtotime( $ecwd_event_date_to ) );
|
358 |
}
|
359 |
+
$description .= ' ' . __( 'All day', 'ecwd' ) . ' ';
|
360 |
}
|
361 |
} else {
|
362 |
$description .= date( $date_format, strtotime( $ecwd_event_date_from ) ) . ' ' . date( $time_format, strtotime( $ecwd_event_date_from ) );
|
365 |
$description .= ' - ' . date( $date_format, strtotime( $ecwd_event_date_to ) ) . ' ' . date( $time_format, strtotime( $ecwd_event_date_to ) );
|
366 |
}
|
367 |
}
|
368 |
+
$description .= ' ' . $ecwd_event_location;
|
369 |
+
echo '<meta property="og:description" content="' . $description . '"/>';
|
370 |
$feat_image = '';
|
371 |
+
if ( has_post_thumbnail( $post->ID ) ) {
|
372 |
+
$feat_image = wp_get_attachment_url( get_post_thumbnail_id( $post->ID, 'pull' ) );
|
373 |
}
|
374 |
+
echo '<meta property="og:image" content="' . $feat_image . '"/>';
|
375 |
}
|
376 |
}
|
377 |
+
|
378 |
+
add_action( 'wp_head', 'ecwd_add_meta_tags', 2 );
|
379 |
|
380 |
|
381 |
function ecwd_print_countdown( $event_id, $widget = 1, $theme_id = null, $args = array() ) {
|
441 |
$markup .= '</div>';
|
442 |
$markup .= '<div class="clear"></div>';
|
443 |
}
|
444 |
+
|
445 |
return $markup;
|
446 |
|
447 |
|
includes/register-settings.php
CHANGED
@@ -10,16 +10,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
10 |
}
|
11 |
|
12 |
|
13 |
-
|
14 |
if ( isset( $_GET[ ECWD_PLUGIN_PREFIX . '_clear_cache' ] ) && $_GET[ ECWD_PLUGIN_PREFIX . '_clear_cache' ] == 1 ) {
|
15 |
-
$cpt
|
16 |
$cleared = $cpt->delete_transient();
|
17 |
-
if($cleared) {
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
|
22 |
-
|
23 |
}
|
24 |
|
25 |
}
|
@@ -41,6 +40,7 @@ function ecwd_register_settings() {
|
|
41 |
);
|
42 |
$ecwd_settings = array(
|
43 |
/* General Settings */
|
|
|
44 |
'general' => array(
|
45 |
'time_zone' => array(
|
46 |
'id' => 'time_zone',
|
@@ -70,6 +70,14 @@ function ecwd_register_settings() {
|
|
70 |
'size' => 'medium-text',
|
71 |
'type' => 'week_select'
|
72 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
'events_slug' => array(
|
74 |
'id' => 'events_slug',
|
75 |
'name' => __( 'Events slug', 'ecwd' ),
|
@@ -98,11 +106,18 @@ function ecwd_register_settings() {
|
|
98 |
'desc' => __( 'Check to display events within website post list in main pages.', 'ecwd' ),
|
99 |
'type' => 'checkbox'
|
100 |
),
|
101 |
-
'social_icons'
|
102 |
'id' => 'social_icons',
|
103 |
'name' => __( 'Enable Social Icons', 'ecwd' ),
|
104 |
'desc' => __( 'Check to display social icons in event, organizer and venue pages.', 'ecwd' ),
|
105 |
'type' => 'checkbox'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
)
|
107 |
|
108 |
)
|
@@ -155,7 +170,8 @@ function ecwd_get_settings_field_args( $option, $section ) {
|
|
155 |
'size' => isset( $option['size'] ) ? $option['size'] : null,
|
156 |
'options' => isset( $option['options'] ) ? $option['options'] : '',
|
157 |
'std' => isset( $option['std'] ) ? $option['std'] : '',
|
158 |
-
'href' => isset( $option['href'] ) ? $option['href'] : ''
|
|
|
159 |
);
|
160 |
|
161 |
// Link label to input using 'label_for' argument if text, textarea, password, select, or variations of.
|
@@ -204,6 +220,7 @@ function ecwd_update_select_callback( $args ) {
|
|
204 |
|
205 |
echo $html;
|
206 |
}
|
|
|
207 |
function ecwd_status_select_callback( $args ) {
|
208 |
global $ecwd_options;
|
209 |
$html = "\n" . '<select id="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']" name="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']" >
|
@@ -226,7 +243,7 @@ function ecwd_status_select_callback( $args ) {
|
|
226 |
|
227 |
function ecwd_checkbox_callback( $args ) {
|
228 |
global $ecwd_options;
|
229 |
-
$checked = isset( $ecwd_options[ $args['id'] ] ) ? checked( 1, $ecwd_options[ $args['id'] ], false ) : '';
|
230 |
$html = "\n" . '<div class="checkbox-div"><input type="checkbox" id="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']" name="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']" value="1" ' . $checked . '/><label for="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']"></label></div>' . "\n";
|
231 |
// Render description text directly to the right in a label if it exists.
|
232 |
if ( ! empty( $args['desc'] ) ) {
|
@@ -236,6 +253,29 @@ function ecwd_checkbox_callback( $args ) {
|
|
236 |
echo $html;
|
237 |
}
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
/*
|
240 |
* Multiple checkboxs callback function
|
241 |
*/
|
@@ -331,11 +371,12 @@ function ecwd_missing_callback( $args ) {
|
|
331 |
*/
|
332 |
|
333 |
function ecwd_get_settings() {
|
334 |
-
$ecwd_tabs = array(
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
|
|
339 |
);
|
340 |
// Set default settings
|
341 |
// If this is the first time running we need to set the defaults
|
10 |
}
|
11 |
|
12 |
|
|
|
13 |
if ( isset( $_GET[ ECWD_PLUGIN_PREFIX . '_clear_cache' ] ) && $_GET[ ECWD_PLUGIN_PREFIX . '_clear_cache' ] == 1 ) {
|
14 |
+
$cpt = ECWD_Cpt::get_instance();
|
15 |
$cleared = $cpt->delete_transient();
|
16 |
+
if ( $cleared ) {
|
17 |
+
try {
|
18 |
+
echo '<div class= "updated" ><p> ' . __( 'Cache has been deleted.', 'ecwd' ) . '</p></div>';
|
19 |
+
} catch ( Exception $e ) {
|
20 |
|
21 |
+
}
|
22 |
}
|
23 |
|
24 |
}
|
40 |
);
|
41 |
$ecwd_settings = array(
|
42 |
/* General Settings */
|
43 |
+
|
44 |
'general' => array(
|
45 |
'time_zone' => array(
|
46 |
'id' => 'time_zone',
|
70 |
'size' => 'medium-text',
|
71 |
'type' => 'week_select'
|
72 |
),
|
73 |
+
'enable_rewrite' => array(
|
74 |
+
'id' => 'enable_rewrite',
|
75 |
+
'name' => __( 'Enable rewrite', 'ecwd' ),
|
76 |
+
'default' => 'events',
|
77 |
+
'desc' => __( 'Check yes to enable event(s) url rewrite rule.', 'ecwd' ),
|
78 |
+
'type' => 'radio',
|
79 |
+
'default' => 1
|
80 |
+
),
|
81 |
'events_slug' => array(
|
82 |
'id' => 'events_slug',
|
83 |
'name' => __( 'Events slug', 'ecwd' ),
|
106 |
'desc' => __( 'Check to display events within website post list in main pages.', 'ecwd' ),
|
107 |
'type' => 'checkbox'
|
108 |
),
|
109 |
+
'social_icons' => array(
|
110 |
'id' => 'social_icons',
|
111 |
'name' => __( 'Enable Social Icons', 'ecwd' ),
|
112 |
'desc' => __( 'Check to display social icons in event, organizer and venue pages.', 'ecwd' ),
|
113 |
'type' => 'checkbox'
|
114 |
+
),
|
115 |
+
'related_events' => array(
|
116 |
+
'id' => 'related_events',
|
117 |
+
'name' => __( 'Show related events in the event page', 'ecwd' ),
|
118 |
+
'desc' =>'',
|
119 |
+
'type' => 'radio',
|
120 |
+
'default'=>1
|
121 |
)
|
122 |
|
123 |
)
|
170 |
'size' => isset( $option['size'] ) ? $option['size'] : null,
|
171 |
'options' => isset( $option['options'] ) ? $option['options'] : '',
|
172 |
'std' => isset( $option['std'] ) ? $option['std'] : '',
|
173 |
+
'href' => isset( $option['href'] ) ? $option['href'] : '',
|
174 |
+
'default' => isset( $option['default'] ) ? $option['default'] : ''
|
175 |
);
|
176 |
|
177 |
// Link label to input using 'label_for' argument if text, textarea, password, select, or variations of.
|
220 |
|
221 |
echo $html;
|
222 |
}
|
223 |
+
|
224 |
function ecwd_status_select_callback( $args ) {
|
225 |
global $ecwd_options;
|
226 |
$html = "\n" . '<select id="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']" name="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']" >
|
243 |
|
244 |
function ecwd_checkbox_callback( $args ) {
|
245 |
global $ecwd_options;
|
246 |
+
$checked = isset( $ecwd_options[ $args['id'] ] ) ? checked( 1, $ecwd_options[ $args['id'] ], false ) : (isset( $args['default'])?checked( 1, $args['default'], false):'');
|
247 |
$html = "\n" . '<div class="checkbox-div"><input type="checkbox" id="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']" name="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']" value="1" ' . $checked . '/><label for="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']"></label></div>' . "\n";
|
248 |
// Render description text directly to the right in a label if it exists.
|
249 |
if ( ! empty( $args['desc'] ) ) {
|
253 |
echo $html;
|
254 |
}
|
255 |
|
256 |
+
|
257 |
+
/*
|
258 |
+
* Radio callback function
|
259 |
+
*/
|
260 |
+
|
261 |
+
function ecwd_radio_callback( $args ) {
|
262 |
+
global $ecwd_options;
|
263 |
+
|
264 |
+
$checked_no = isset( $ecwd_options[ $args['id'] ] ) ? checked( 0, $ecwd_options[ $args['id'] ], false ) : '';
|
265 |
+
|
266 |
+
$checked_yes = isset( $ecwd_options[ $args['id'] ] ) ? checked( 1, $ecwd_options[ $args['id'] ], false ) : (isset($args['default'])? checked( 1, $args['default'], false ):'');
|
267 |
+
|
268 |
+
|
269 |
+
$html = "\n" . ' <div class="checkbox-div"><input type="radio" id="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']_yes" name="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']" value="1" ' . $checked_yes . '/><label for="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']_yes"></label></div> <label for="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']_yes">Yes</label>' . "\n";
|
270 |
+
$html .= '<div class="checkbox-div"> <input type="radio" id="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']_no" name="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']" value="0" ' . $checked_no . '/><label for="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']_no"></label></div> <label for="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']_no">No</label>' . "\n";
|
271 |
+
// Render description text directly to the right in a label if it exists.
|
272 |
+
if ( ! empty( $args['desc'] ) ) {
|
273 |
+
$html .= '<p class="description">' . $args['desc'] . '</p>' . "\n";
|
274 |
+
}
|
275 |
+
|
276 |
+
echo $html;
|
277 |
+
}
|
278 |
+
|
279 |
/*
|
280 |
* Multiple checkboxs callback function
|
281 |
*/
|
371 |
*/
|
372 |
|
373 |
function ecwd_get_settings() {
|
374 |
+
$ecwd_tabs = array(
|
375 |
+
'general' => 'General',
|
376 |
+
'fb' => 'FB settings',
|
377 |
+
'gcal' => 'Gcal settings',
|
378 |
+
'ical' => 'Ical settings',
|
379 |
+
'add_event' => 'Add Event'
|
380 |
);
|
381 |
// Set default settings
|
382 |
// If this is the first time running we need to set the defaults
|
js/admin/editor-buttons.js
CHANGED
@@ -142,7 +142,8 @@
|
|
142 |
items: [
|
143 |
{//add id select
|
144 |
type: 'label',
|
145 |
-
text: 'Filter addon should be purchased separately.'
|
|
|
146 |
|
147 |
}
|
148 |
]
|
@@ -274,7 +275,10 @@
|
|
274 |
},
|
275 |
{
|
276 |
type: 'label',
|
277 |
-
text: 'Upgrade to Pro version to access three more view options: posterboard, map and 4 days.'
|
|
|
|
|
|
|
278 |
}
|
279 |
|
280 |
]
|
142 |
items: [
|
143 |
{//add id select
|
144 |
type: 'label',
|
145 |
+
text: 'Filter addon should be purchased separately.',
|
146 |
+
style: 'color:#bf1b02'
|
147 |
|
148 |
}
|
149 |
]
|
275 |
},
|
276 |
{
|
277 |
type: 'label',
|
278 |
+
text: 'Upgrade to Pro version to access three more view options: posterboard, map and 4 days.',
|
279 |
+
style: 'color:#bf1b02'
|
280 |
+
|
281 |
+
|
282 |
}
|
283 |
|
284 |
]
|
js/scripts.js
CHANGED
@@ -381,8 +381,12 @@
|
|
381 |
}
|
382 |
|
383 |
function upcomingEventsSlider() {
|
|
|
|
|
384 |
var upcoming_events_slider_main = $('.upcoming_events_slider').width();
|
385 |
$('.upcoming_events_slider .upcoming_events_item').width(upcoming_events_slider_main);
|
|
|
|
|
386 |
$('.upcoming_events_slider .upcoming_event_container').width(parseInt(upcoming_events_slider_main) - 80);
|
387 |
$('.upcoming_events_slider > ul').width(upcoming_events_slider_main * $('.upcoming_events_slider .upcoming_events_item').length);
|
388 |
|
@@ -390,6 +394,30 @@
|
|
390 |
$('.upcoming_events_slider .upcoming_events_slider-arrow-right').show();
|
391 |
}
|
392 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
393 |
$('.upcoming_events_slider .upcoming_events_slider-arrow-right').click(function () {
|
394 |
var events_item_width = $(this).parent().find('ul li').eq(0).width();
|
395 |
|
@@ -420,7 +448,6 @@
|
|
420 |
|
421 |
});
|
422 |
}
|
423 |
-
|
424 |
function showWidgetEventDesc() {
|
425 |
$('.ecwd-widget-mini .event-container, .ecwd-widget-mini .ecwd_list .event-main-content').each(function () {
|
426 |
if ($(this).find('.arrow-down').length == 0) {
|
381 |
}
|
382 |
|
383 |
function upcomingEventsSlider() {
|
384 |
+
var current_date = Date.parse(Date());
|
385 |
+
|
386 |
var upcoming_events_slider_main = $('.upcoming_events_slider').width();
|
387 |
$('.upcoming_events_slider .upcoming_events_item').width(upcoming_events_slider_main);
|
388 |
+
|
389 |
+
|
390 |
$('.upcoming_events_slider .upcoming_event_container').width(parseInt(upcoming_events_slider_main) - 80);
|
391 |
$('.upcoming_events_slider > ul').width(upcoming_events_slider_main * $('.upcoming_events_slider .upcoming_events_item').length);
|
392 |
|
394 |
$('.upcoming_events_slider .upcoming_events_slider-arrow-right').show();
|
395 |
}
|
396 |
|
397 |
+
|
398 |
+
var min = 0;
|
399 |
+
$('.upcoming_events_slider .upcoming_events_item').each(function () {
|
400 |
+
var item_date = Date.parse($(this).data('date'));
|
401 |
+
if(item_date<current_date){
|
402 |
+
min++;
|
403 |
+
}else{
|
404 |
+
return false;
|
405 |
+
}
|
406 |
+
});
|
407 |
+
|
408 |
+
if(min && min == $('.upcoming_events_slider .upcoming_events_item').length){
|
409 |
+
min--;
|
410 |
+
}
|
411 |
+
|
412 |
+
$('.upcoming_events_slider .upcoming_events_item').css('left', -upcoming_events_slider_main*min);
|
413 |
+
|
414 |
+
if (parseInt($('.upcoming_events_slider .upcoming_events_item').css('left'))< 0){
|
415 |
+
$('.upcoming_events_slider').parent().find('.upcoming_events_slider-arrow-left').show();
|
416 |
+
}
|
417 |
+
if(parseInt($('.upcoming_events_slider .upcoming_events_item').css('left'))==-($('.upcoming_events_slider > ul').width()-upcoming_events_slider_main)){
|
418 |
+
$('.upcoming_events_slider').parent().find('.upcoming_events_slider-arrow-right').hide();
|
419 |
+
}
|
420 |
+
|
421 |
$('.upcoming_events_slider .upcoming_events_slider-arrow-right').click(function () {
|
422 |
var events_item_width = $(this).parent().find('ul li').eq(0).width();
|
423 |
|
448 |
|
449 |
});
|
450 |
}
|
|
|
451 |
function showWidgetEventDesc() {
|
452 |
$('.ecwd-widget-mini .event-container, .ecwd-widget-mini .ecwd_list .event-main-content').each(function () {
|
453 |
if ($(this).find('.arrow-down').length == 0) {
|
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-
|
5 |
-
"PO-Revision-Date: 2015-06-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: de\n"
|
@@ -24,25 +24,20 @@ msgstr ""
|
|
24 |
"X-Poedit-SearchPathExcluded-7: ecwd_admin_class.php\n"
|
25 |
"X-Poedit-SearchPathExcluded-8: includes/ecwd-event-class.php\n"
|
26 |
|
27 |
-
#: ecwd_class.php:47
|
28 |
-
msgid "Could not load the localization file: "
|
29 |
-
msgstr ""
|
30 |
-
|
31 |
#: includes/calendar-class.php:174 includes/calendar-class.php:175
|
32 |
-
#:
|
33 |
msgid "Month"
|
34 |
msgstr "Monat"
|
35 |
|
36 |
-
#: includes/calendar-class.php:176
|
37 |
-
#: views/widgets.php:169
|
38 |
msgid "List"
|
39 |
msgstr "Liste"
|
40 |
|
41 |
-
#: includes/calendar-class.php:178
|
42 |
msgid "Week"
|
43 |
msgstr "Woche"
|
44 |
|
45 |
-
#: includes/calendar-class.php:182
|
46 |
msgid "Day"
|
47 |
msgstr "Tag"
|
48 |
|
@@ -59,15 +54,17 @@ msgid "Posterboard"
|
|
59 |
msgstr "Posterboard"
|
60 |
|
61 |
#: includes/calendar-class.php:382 includes/calendar-class.php:416
|
62 |
-
#: includes/calendar-class.php:563 includes/calendar-class.php:
|
63 |
-
#: includes/calendar-class.php:
|
64 |
#: views/ecwd-event-content.php:75 views/ecwd-event-content.php:157
|
65 |
#: views/ecwd-organizer-content.php:128 views/ecwd-venue-content.php:173
|
|
|
|
|
66 |
msgid "All day"
|
67 |
msgstr "Den ganzen Tag"
|
68 |
|
69 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
70 |
-
#: includes/calendar-class.php:
|
71 |
msgid "No events"
|
72 |
msgstr "Keine Veranstaltungen"
|
73 |
|
@@ -75,77 +72,41 @@ msgstr "Keine Veranstaltungen"
|
|
75 |
msgid "No Events"
|
76 |
msgstr "Keine Veranstaltungen"
|
77 |
|
78 |
-
#: includes/calendar-class.php:
|
79 |
msgid "What're we looking for ?"
|
80 |
msgstr "Was machen wir?"
|
81 |
|
82 |
-
#: includes/calendar-class.php:
|
83 |
msgid "More events"
|
84 |
msgstr "Weitere Veranstaltungen"
|
85 |
|
86 |
-
#: includes/ecwd-
|
87 |
-
|
88 |
-
|
89 |
-
msgstr ""
|
90 |
-
|
91 |
-
#: includes/ecwd-event-class.php:188
|
92 |
-
#, php-format
|
93 |
-
msgid "%s years"
|
94 |
-
msgstr ""
|
95 |
-
|
96 |
-
#: includes/ecwd-event-class.php:189
|
97 |
-
#, php-format
|
98 |
-
msgid "%s month"
|
99 |
-
msgstr ""
|
100 |
-
|
101 |
-
#: includes/ecwd-event-class.php:189
|
102 |
-
#, php-format
|
103 |
-
msgid "%s months"
|
104 |
-
msgstr ""
|
105 |
-
|
106 |
-
#: includes/ecwd-event-class.php:190
|
107 |
-
#, php-format
|
108 |
-
msgid "%s week"
|
109 |
-
msgstr ""
|
110 |
|
111 |
-
#: includes/ecwd-
|
112 |
-
|
113 |
-
|
114 |
-
msgstr ""
|
115 |
-
|
116 |
-
#: includes/ecwd-event-class.php:191
|
117 |
-
#, php-format
|
118 |
-
msgid "%s day"
|
119 |
-
msgstr ""
|
120 |
|
121 |
-
#: includes/ecwd-
|
122 |
-
|
123 |
-
|
124 |
-
msgstr ""
|
125 |
|
126 |
-
#: includes/ecwd-
|
127 |
-
|
128 |
-
|
129 |
-
msgstr ""
|
130 |
|
131 |
-
#: includes/ecwd-
|
132 |
-
|
133 |
-
|
134 |
-
msgstr ""
|
135 |
|
136 |
-
#: includes/ecwd-
|
137 |
-
|
138 |
-
|
139 |
-
msgstr ""
|
140 |
|
141 |
-
#: includes/ecwd-
|
142 |
-
|
143 |
-
|
144 |
-
msgstr ""
|
145 |
-
|
146 |
-
#: includes/ecwd-functions.php:8
|
147 |
-
msgid "Loading..."
|
148 |
-
msgstr "Laden"
|
149 |
|
150 |
#: includes/texts.php:2
|
151 |
msgid "January"
|
@@ -279,15 +240,44 @@ msgstr "F"
|
|
279 |
msgid "Sa"
|
280 |
msgstr "S"
|
281 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
#: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
|
|
|
283 |
msgid "Date"
|
284 |
msgstr "Datum"
|
285 |
|
286 |
-
#: views/ecwd-event-content.php:90
|
287 |
msgid "Url"
|
288 |
msgstr "Url"
|
289 |
|
290 |
-
#: views/ecwd-event-content.php:96
|
291 |
msgid "Organizers"
|
292 |
msgstr "Veranstalter"
|
293 |
|
@@ -299,45 +289,6 @@ msgstr "kommende Veranstaltungen"
|
|
299 |
msgid "events"
|
300 |
msgstr "veranstaltungen"
|
301 |
|
302 |
-
#: views/
|
303 |
-
msgid "
|
304 |
-
msgstr ""
|
305 |
-
|
306 |
-
#: views/widgets.php:19
|
307 |
-
msgid "Descr"
|
308 |
-
msgstr ""
|
309 |
-
|
310 |
-
#: views/widgets.php:63
|
311 |
-
msgid ""
|
312 |
-
"No valid Event IDs have been entered for this widget. Please check that you "
|
313 |
-
"have entered the IDs correctly in the widget settings (Appearance > "
|
314 |
-
"Widgets), and that the Events have not been deleted."
|
315 |
-
msgstr ""
|
316 |
-
|
317 |
-
#: views/widgets.php:95
|
318 |
-
msgid "You have not added any events yet."
|
319 |
-
msgstr ""
|
320 |
-
|
321 |
-
#: views/widgets.php:128
|
322 |
-
msgid "There are no calendars created yet."
|
323 |
-
msgstr ""
|
324 |
-
|
325 |
-
#: views/widgets.php:129
|
326 |
-
msgid "Add your first calendar!"
|
327 |
-
msgstr ""
|
328 |
-
|
329 |
-
#: views/widgets.php:147
|
330 |
-
msgid "Title:"
|
331 |
-
msgstr ""
|
332 |
-
|
333 |
-
#: views/widgets.php:152
|
334 |
-
msgid "Calendar to display"
|
335 |
-
msgstr ""
|
336 |
-
|
337 |
-
#: views/widgets.php:166
|
338 |
-
msgid "Display Events as:"
|
339 |
-
msgstr ""
|
340 |
-
|
341 |
-
#: views/widgets.php:173
|
342 |
-
msgid "Events per page in list view:"
|
343 |
-
msgstr ""
|
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"
|
24 |
"X-Poedit-SearchPathExcluded-7: ecwd_admin_class.php\n"
|
25 |
"X-Poedit-SearchPathExcluded-8: includes/ecwd-event-class.php\n"
|
26 |
|
|
|
|
|
|
|
|
|
27 |
#: includes/calendar-class.php:174 includes/calendar-class.php:175
|
28 |
+
#: views/widgets.php:168
|
29 |
msgid "Month"
|
30 |
msgstr "Monat"
|
31 |
|
32 |
+
#: includes/calendar-class.php:176 views/widgets.php:169
|
|
|
33 |
msgid "List"
|
34 |
msgstr "Liste"
|
35 |
|
36 |
+
#: includes/calendar-class.php:178
|
37 |
msgid "Week"
|
38 |
msgstr "Woche"
|
39 |
|
40 |
+
#: includes/calendar-class.php:182
|
41 |
msgid "Day"
|
42 |
msgstr "Tag"
|
43 |
|
54 |
msgstr "Posterboard"
|
55 |
|
56 |
#: includes/calendar-class.php:382 includes/calendar-class.php:416
|
57 |
+
#: includes/calendar-class.php:563 includes/calendar-class.php:1167
|
58 |
+
#: includes/calendar-class.php:1306 includes/ecwd-functions.php:359
|
59 |
#: views/ecwd-event-content.php:75 views/ecwd-event-content.php:157
|
60 |
#: views/ecwd-organizer-content.php:128 views/ecwd-venue-content.php:173
|
61 |
+
#: views/single-event.php:98 views/single-event.php:189
|
62 |
+
#: views/single-event.php:354
|
63 |
msgid "All day"
|
64 |
msgstr "Den ganzen Tag"
|
65 |
|
66 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
67 |
+
#: includes/calendar-class.php:1362
|
68 |
msgid "No events"
|
69 |
msgstr "Keine Veranstaltungen"
|
70 |
|
72 |
msgid "No Events"
|
73 |
msgstr "Keine Veranstaltungen"
|
74 |
|
75 |
+
#: includes/calendar-class.php:973
|
76 |
msgid "What're we looking for ?"
|
77 |
msgstr "Was machen wir?"
|
78 |
|
79 |
+
#: includes/calendar-class.php:1237
|
80 |
msgid "More events"
|
81 |
msgstr "Weitere Veranstaltungen"
|
82 |
|
83 |
+
#: includes/ecwd-cpt-filter.php:67
|
84 |
+
msgid "From"
|
85 |
+
msgstr "Von"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
|
87 |
+
#: includes/ecwd-cpt-filter.php:74
|
88 |
+
msgid "To"
|
89 |
+
msgstr "Bis"
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
|
91 |
+
#: includes/ecwd-functions.php:8
|
92 |
+
msgid "Loading..."
|
93 |
+
msgstr "Laden"
|
|
|
94 |
|
95 |
+
#: includes/ecwd-functions.php:437 includes/texts.php:50
|
96 |
+
msgid "DAYS"
|
97 |
+
msgstr "TAGEN"
|
|
|
98 |
|
99 |
+
#: includes/ecwd-functions.php:438 includes/texts.php:51
|
100 |
+
msgid "HOURS"
|
101 |
+
msgstr "STANDEN"
|
|
|
102 |
|
103 |
+
#: includes/ecwd-functions.php:439 includes/texts.php:52
|
104 |
+
msgid "MINUTES"
|
105 |
+
msgstr "MINUTEN"
|
|
|
106 |
|
107 |
+
#: includes/ecwd-functions.php:440 includes/texts.php:53
|
108 |
+
msgid "SECONDS"
|
109 |
+
msgstr "SEKUNDEN"
|
|
|
|
|
|
|
|
|
|
|
110 |
|
111 |
#: includes/texts.php:2
|
112 |
msgid "January"
|
240 |
msgid "Sa"
|
241 |
msgstr "S"
|
242 |
|
243 |
+
#: includes/texts.php:41
|
244 |
+
msgid "Show Filters"
|
245 |
+
msgstr "Filter anzeigen"
|
246 |
+
|
247 |
+
#: includes/texts.php:42
|
248 |
+
msgid "Collapse Filters"
|
249 |
+
msgstr "Collapse Filter"
|
250 |
+
|
251 |
+
#: includes/texts.php:43
|
252 |
+
msgid "Reset Filters"
|
253 |
+
msgstr "Filter neu"
|
254 |
+
|
255 |
+
#: includes/texts.php:45
|
256 |
+
msgid "Days"
|
257 |
+
msgstr "Tagen"
|
258 |
+
|
259 |
+
#: includes/texts.php:46
|
260 |
+
msgid "Categories"
|
261 |
+
msgstr "Kategorien"
|
262 |
+
|
263 |
+
#: includes/texts.php:47
|
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"
|
274 |
msgstr "Datum"
|
275 |
|
276 |
+
#: views/ecwd-event-content.php:90 views/single-event.php:114
|
277 |
msgid "Url"
|
278 |
msgstr "Url"
|
279 |
|
280 |
+
#: views/ecwd-event-content.php:96 views/single-event.php:121
|
281 |
msgid "Organizers"
|
282 |
msgstr "Veranstalter"
|
283 |
|
289 |
msgid "events"
|
290 |
msgstr "veranstaltungen"
|
291 |
|
292 |
+
#: views/single-event.php:330
|
293 |
+
msgid "Related events"
|
294 |
+
msgstr "Keine Veranstaltungen"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-
|
5 |
-
"PO-Revision-Date: 2015-06-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: es\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 |
-
#:
|
32 |
msgid "Month"
|
33 |
msgstr "Mes"
|
34 |
|
35 |
-
#: includes/calendar-class.php:176
|
36 |
-
#: views/widgets.php:169
|
37 |
msgid "List"
|
38 |
msgstr "Lista"
|
39 |
|
40 |
-
#: includes/calendar-class.php:178
|
41 |
msgid "Week"
|
42 |
msgstr "Semana"
|
43 |
|
44 |
-
#: includes/calendar-class.php:182
|
45 |
msgid "Day"
|
46 |
msgstr "Día"
|
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:
|
62 |
-
#: includes/calendar-class.php:
|
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 "Todo el día"
|
67 |
|
68 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
69 |
-
#: includes/calendar-class.php:
|
70 |
msgid "No events"
|
71 |
msgstr "No hay eventos"
|
72 |
|
@@ -74,77 +71,41 @@ msgstr "No hay eventos"
|
|
74 |
msgid "No Events"
|
75 |
msgstr "No hay eventos"
|
76 |
|
77 |
-
#: includes/calendar-class.php:
|
78 |
msgid "What're we looking for ?"
|
79 |
msgstr "Qué estamos buscando?"
|
80 |
|
81 |
-
#: includes/calendar-class.php:
|
82 |
msgid "More events"
|
83 |
msgstr "Más eventos"
|
84 |
|
85 |
-
#: includes/ecwd-
|
86 |
-
|
87 |
-
|
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-
|
121 |
-
|
122 |
-
|
123 |
-
msgstr ""
|
124 |
|
125 |
-
#: includes/ecwd-
|
126 |
-
|
127 |
-
|
128 |
-
msgstr ""
|
129 |
|
130 |
-
#: includes/ecwd-
|
131 |
-
|
132 |
-
|
133 |
-
msgstr ""
|
134 |
|
135 |
-
#: includes/ecwd-
|
136 |
-
|
137 |
-
|
138 |
-
msgstr ""
|
139 |
|
140 |
-
#: includes/ecwd-
|
141 |
-
|
142 |
-
|
143 |
-
msgstr ""
|
144 |
|
145 |
-
#: includes/ecwd-functions.php:
|
146 |
-
msgid "
|
147 |
-
msgstr "
|
148 |
|
149 |
#: includes/texts.php:2
|
150 |
msgid "January"
|
@@ -278,15 +239,44 @@ msgstr "V"
|
|
278 |
msgid "Sa"
|
279 |
msgstr "S"
|
280 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
#: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
|
|
|
282 |
msgid "Date"
|
283 |
msgstr "Fecha"
|
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 "Organizador"
|
292 |
|
@@ -298,45 +288,6 @@ msgstr "próximos eventos"
|
|
298 |
msgid "events"
|
299 |
msgstr "eventos"
|
300 |
|
301 |
-
#: views/
|
302 |
-
msgid "
|
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 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"
|
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 "Mes"
|
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 "Día"
|
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 "Todo el día"
|
64 |
|
65 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
66 |
+
#: includes/calendar-class.php:1362
|
67 |
msgid "No events"
|
68 |
msgstr "No hay eventos"
|
69 |
|
71 |
msgid "No Events"
|
72 |
msgstr "No hay eventos"
|
73 |
|
74 |
+
#: includes/calendar-class.php:973
|
75 |
msgid "What're we looking for ?"
|
76 |
msgstr "Qué estamos buscando?"
|
77 |
|
78 |
+
#: includes/calendar-class.php:1237
|
79 |
msgid "More events"
|
80 |
msgstr "Más eventos"
|
81 |
|
82 |
+
#: includes/ecwd-cpt-filter.php:67
|
83 |
+
msgid "From"
|
84 |
+
msgstr "Desde"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
+
#: includes/ecwd-cpt-filter.php:74
|
87 |
+
msgid "To"
|
88 |
+
msgstr "A"
|
|
|
89 |
|
90 |
+
#: includes/ecwd-functions.php:8
|
91 |
+
msgid "Loading..."
|
92 |
+
msgstr "Cargando…"
|
|
|
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 "ACTA"
|
|
|
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"
|
239 |
msgid "Sa"
|
240 |
msgstr "S"
|
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 "Collapse Filters"
|
249 |
+
|
250 |
+
#: includes/texts.php:43
|
251 |
+
msgid "Reset Filters"
|
252 |
+
msgstr "Reiniciar los filtros"
|
253 |
+
|
254 |
+
#: includes/texts.php:45
|
255 |
+
msgid "Days"
|
256 |
+
msgstr "Dias"
|
257 |
+
|
258 |
+
#: includes/texts.php:46
|
259 |
+
msgid "Categories"
|
260 |
+
msgstr "Categorías"
|
261 |
+
|
262 |
+
#: includes/texts.php:47
|
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"
|
273 |
msgstr "Fecha"
|
274 |
|
275 |
+
#: views/ecwd-event-content.php:90 views/single-event.php:114
|
276 |
msgid "Url"
|
277 |
msgstr "Url"
|
278 |
|
279 |
+
#: views/ecwd-event-content.php:96 views/single-event.php:121
|
280 |
msgid "Organizers"
|
281 |
msgstr "Organizador"
|
282 |
|
288 |
msgid "events"
|
289 |
msgstr "eventos"
|
290 |
|
291 |
+
#: views/single-event.php:330
|
292 |
+
msgid "Related events"
|
293 |
+
msgstr "Más eventos"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-
|
5 |
-
"PO-Revision-Date: 2015-06-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: fr\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 |
-
#:
|
32 |
msgid "Month"
|
33 |
msgstr "Mois"
|
34 |
|
35 |
-
#: includes/calendar-class.php:176
|
36 |
-
#: views/widgets.php:169
|
37 |
msgid "List"
|
38 |
msgstr "Liste"
|
39 |
|
40 |
-
#: includes/calendar-class.php:178
|
41 |
msgid "Week"
|
42 |
msgstr "Semaine"
|
43 |
|
44 |
-
#: includes/calendar-class.php:182
|
45 |
msgid "Day"
|
46 |
msgstr "Jour"
|
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:
|
62 |
-
#: includes/calendar-class.php:
|
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 "Toute la journée"
|
67 |
|
68 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
69 |
-
#: includes/calendar-class.php:
|
70 |
msgid "No events"
|
71 |
msgstr "Aucun événement"
|
72 |
|
@@ -74,77 +71,41 @@ msgstr "Aucun événement"
|
|
74 |
msgid "No Events"
|
75 |
msgstr "Aucun événement"
|
76 |
|
77 |
-
#: includes/calendar-class.php:
|
78 |
msgid "What're we looking for ?"
|
79 |
msgstr "Qu’est-ce qu’on cherche?"
|
80 |
|
81 |
-
#: includes/calendar-class.php:
|
82 |
msgid "More events"
|
83 |
msgstr "Plus d’événements"
|
84 |
|
85 |
-
#: includes/ecwd-
|
86 |
-
|
87 |
-
|
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-
|
121 |
-
|
122 |
-
|
123 |
-
msgstr ""
|
124 |
|
125 |
-
#: includes/ecwd-
|
126 |
-
|
127 |
-
|
128 |
-
msgstr ""
|
129 |
|
130 |
-
#: includes/ecwd-
|
131 |
-
|
132 |
-
|
133 |
-
msgstr ""
|
134 |
|
135 |
-
#: includes/ecwd-
|
136 |
-
|
137 |
-
|
138 |
-
msgstr ""
|
139 |
|
140 |
-
#: includes/ecwd-
|
141 |
-
|
142 |
-
|
143 |
-
msgstr ""
|
144 |
|
145 |
-
#: includes/ecwd-functions.php:
|
146 |
-
msgid "
|
147 |
-
msgstr "
|
148 |
|
149 |
#: includes/texts.php:2
|
150 |
msgid "January"
|
@@ -192,7 +153,7 @@ msgstr "Novembre"
|
|
192 |
|
193 |
#: includes/texts.php:13
|
194 |
msgid "December"
|
195 |
-
msgstr ""
|
196 |
|
197 |
#: includes/texts.php:14
|
198 |
msgid "Sunday"
|
@@ -278,15 +239,40 @@ msgstr "V"
|
|
278 |
msgid "Sa"
|
279 |
msgstr "S"
|
280 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
#: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
|
|
|
282 |
msgid "Date"
|
283 |
-
msgstr ""
|
284 |
|
285 |
-
#: views/ecwd-event-content.php:90
|
286 |
msgid "Url"
|
287 |
-
msgstr ""
|
288 |
|
289 |
-
#: views/ecwd-event-content.php:96
|
290 |
msgid "Organizers"
|
291 |
msgstr "Organisateurs"
|
292 |
|
@@ -298,45 +284,6 @@ msgstr "évènements à venir"
|
|
298 |
msgid "events"
|
299 |
msgstr "événements"
|
300 |
|
301 |
-
#: views/
|
302 |
-
msgid "
|
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 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"
|
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 "Mois"
|
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 "Semaine"
|
38 |
|
39 |
+
#: includes/calendar-class.php:182
|
40 |
msgid "Day"
|
41 |
msgstr "Jour"
|
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 "Toute la journée"
|
64 |
|
65 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
66 |
+
#: includes/calendar-class.php:1362
|
67 |
msgid "No events"
|
68 |
msgstr "Aucun événement"
|
69 |
|
71 |
msgid "No Events"
|
72 |
msgstr "Aucun événement"
|
73 |
|
74 |
+
#: includes/calendar-class.php:973
|
75 |
msgid "What're we looking for ?"
|
76 |
msgstr "Qu’est-ce qu’on cherche?"
|
77 |
|
78 |
+
#: includes/calendar-class.php:1237
|
79 |
msgid "More events"
|
80 |
msgstr "Plus d’événements"
|
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 "à"
|
|
|
89 |
|
90 |
+
#: includes/ecwd-functions.php:8
|
91 |
+
msgid "Loading..."
|
92 |
+
msgstr "Chargement…"
|
|
|
93 |
|
94 |
+
#: includes/ecwd-functions.php:437 includes/texts.php:50
|
95 |
+
msgid "DAYS"
|
96 |
+
msgstr "JOURS"
|
|
|
97 |
|
98 |
+
#: includes/ecwd-functions.php:438 includes/texts.php:51
|
99 |
+
msgid "HOURS"
|
100 |
+
msgstr "HEURES"
|
|
|
101 |
|
102 |
+
#: includes/ecwd-functions.php:439 includes/texts.php:52
|
103 |
+
msgid "MINUTES"
|
104 |
+
msgstr "MINUTES"
|
|
|
105 |
|
106 |
+
#: includes/ecwd-functions.php:440 includes/texts.php:53
|
107 |
+
msgid "SECONDS"
|
108 |
+
msgstr "SECONDES"
|
109 |
|
110 |
#: includes/texts.php:2
|
111 |
msgid "January"
|
153 |
|
154 |
#: includes/texts.php:13
|
155 |
msgid "December"
|
156 |
+
msgstr "Décembre"
|
157 |
|
158 |
#: includes/texts.php:14
|
159 |
msgid "Sunday"
|
239 |
msgid "Sa"
|
240 |
msgstr "S"
|
241 |
|
242 |
+
#: includes/texts.php:41
|
243 |
+
msgid "Show Filters"
|
244 |
+
msgstr "Afficher les filtres"
|
245 |
+
|
246 |
+
#: includes/texts.php:42
|
247 |
+
msgid "Collapse Filters"
|
248 |
+
msgstr "Réduire les filtres"
|
249 |
+
|
250 |
+
#: includes/texts.php:43
|
251 |
+
msgid "Reset Filters"
|
252 |
+
msgstr "Enlever les filtres"
|
253 |
+
|
254 |
+
#: includes/texts.php:45
|
255 |
+
msgid "Days"
|
256 |
+
msgstr "Jours"
|
257 |
+
|
258 |
+
#: includes/texts.php:46
|
259 |
+
msgid "Categories"
|
260 |
+
msgstr "Catégories"
|
261 |
+
|
262 |
+
#: includes/texts.php:47
|
263 |
+
msgid "Venues"
|
264 |
+
msgstr "Lieux"
|
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 "Date"
|
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 "Organisateurs"
|
278 |
|
284 |
msgid "events"
|
285 |
msgstr "événements"
|
286 |
|
287 |
+
#: views/single-event.php:330
|
288 |
+
msgid "Related events"
|
289 |
+
msgstr "Plus d’événements"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-
|
5 |
-
"PO-Revision-Date: 2015-06-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: it\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 |
-
#:
|
32 |
msgid "Month"
|
33 |
msgstr "Mese"
|
34 |
|
35 |
-
#: includes/calendar-class.php:176
|
36 |
-
#: views/widgets.php:169
|
37 |
msgid "List"
|
38 |
msgstr "Lista"
|
39 |
|
40 |
-
#: includes/calendar-class.php:178
|
41 |
msgid "Week"
|
42 |
msgstr "Settimana"
|
43 |
|
44 |
-
#: includes/calendar-class.php:182
|
45 |
msgid "Day"
|
46 |
msgstr "Giorno"
|
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:
|
62 |
-
#: includes/calendar-class.php:
|
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 "Tutto il giorno"
|
67 |
|
68 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
69 |
-
#: includes/calendar-class.php:
|
70 |
msgid "No events"
|
71 |
msgstr "Nessun evento"
|
72 |
|
@@ -74,77 +71,41 @@ msgstr "Nessun evento"
|
|
74 |
msgid "No Events"
|
75 |
msgstr "Nessun Evento"
|
76 |
|
77 |
-
#: includes/calendar-class.php:
|
78 |
msgid "What're we looking for ?"
|
79 |
msgstr "Cosa stiamo cercando?"
|
80 |
|
81 |
-
#: includes/calendar-class.php:
|
82 |
msgid "More events"
|
83 |
msgstr "Altri eventi"
|
84 |
|
85 |
-
#: includes/ecwd-
|
86 |
-
|
87 |
-
|
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-
|
121 |
-
|
122 |
-
|
123 |
-
msgstr ""
|
124 |
|
125 |
-
#: includes/ecwd-
|
126 |
-
|
127 |
-
|
128 |
-
msgstr ""
|
129 |
|
130 |
-
#: includes/ecwd-
|
131 |
-
|
132 |
-
|
133 |
-
msgstr ""
|
134 |
|
135 |
-
#: includes/ecwd-
|
136 |
-
|
137 |
-
|
138 |
-
msgstr ""
|
139 |
|
140 |
-
#: includes/ecwd-
|
141 |
-
|
142 |
-
|
143 |
-
msgstr ""
|
144 |
|
145 |
-
#: includes/ecwd-functions.php:
|
146 |
-
msgid "
|
147 |
-
msgstr "
|
148 |
|
149 |
#: includes/texts.php:2
|
150 |
msgid "January"
|
@@ -278,15 +239,40 @@ msgstr "V"
|
|
278 |
msgid "Sa"
|
279 |
msgstr "S"
|
280 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
#: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
|
|
|
282 |
msgid "Date"
|
283 |
msgstr "Data"
|
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 "Organizzatori"
|
292 |
|
@@ -298,45 +284,6 @@ msgstr "prossimi eventi"
|
|
298 |
msgid "events"
|
299 |
msgstr "eventi"
|
300 |
|
301 |
-
#: views/
|
302 |
-
msgid "
|
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 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"
|
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 "Mese"
|
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 "Settimana"
|
38 |
|
39 |
+
#: includes/calendar-class.php:182
|
40 |
msgid "Day"
|
41 |
msgstr "Giorno"
|
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 "Tutto il giorno"
|
64 |
|
65 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
66 |
+
#: includes/calendar-class.php:1362
|
67 |
msgid "No events"
|
68 |
msgstr "Nessun evento"
|
69 |
|
71 |
msgid "No Events"
|
72 |
msgstr "Nessun Evento"
|
73 |
|
74 |
+
#: includes/calendar-class.php:973
|
75 |
msgid "What're we looking for ?"
|
76 |
msgstr "Cosa stiamo cercando?"
|
77 |
|
78 |
+
#: includes/calendar-class.php:1237
|
79 |
msgid "More events"
|
80 |
msgstr "Altri eventi"
|
81 |
|
82 |
+
#: includes/ecwd-cpt-filter.php:67
|
83 |
+
msgid "From"
|
84 |
+
msgstr "Da"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
+
#: includes/ecwd-cpt-filter.php:74
|
87 |
+
msgid "To"
|
88 |
+
msgstr "A"
|
|
|
89 |
|
90 |
+
#: includes/ecwd-functions.php:8
|
91 |
+
msgid "Loading..."
|
92 |
+
msgstr "Caricamento..."
|
|
|
93 |
|
94 |
+
#: includes/ecwd-functions.php:437 includes/texts.php:50
|
95 |
+
msgid "DAYS"
|
96 |
+
msgstr "GIORNI"
|
|
|
97 |
|
98 |
+
#: includes/ecwd-functions.php:438 includes/texts.php:51
|
99 |
+
msgid "HOURS"
|
100 |
+
msgstr "ORARIO"
|
|
|
101 |
|
102 |
+
#: includes/ecwd-functions.php:439 includes/texts.php:52
|
103 |
+
msgid "MINUTES"
|
104 |
+
msgstr "MINUTI"
|
|
|
105 |
|
106 |
+
#: includes/ecwd-functions.php:440 includes/texts.php:53
|
107 |
+
msgid "SECONDS"
|
108 |
+
msgstr "SECONDI"
|
109 |
|
110 |
#: includes/texts.php:2
|
111 |
msgid "January"
|
239 |
msgid "Sa"
|
240 |
msgstr "S"
|
241 |
|
242 |
+
#: includes/texts.php:41
|
243 |
+
msgid "Show Filters"
|
244 |
+
msgstr "Mostra i filtri"
|
245 |
+
|
246 |
+
#: includes/texts.php:42
|
247 |
+
msgid "Collapse Filters"
|
248 |
+
msgstr "Filtri Collapse"
|
249 |
+
|
250 |
+
#: includes/texts.php:43
|
251 |
+
msgid "Reset Filters"
|
252 |
+
msgstr "Filtri Ripristina"
|
253 |
+
|
254 |
+
#: includes/texts.php:45
|
255 |
+
msgid "Days"
|
256 |
+
msgstr "Giorni"
|
257 |
+
|
258 |
+
#: includes/texts.php:46
|
259 |
+
msgid "Categories"
|
260 |
+
msgstr "Categorie"
|
261 |
+
|
262 |
+
#: includes/texts.php:47
|
263 |
+
msgid "Venues"
|
264 |
+
msgstr "Luoghi"
|
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 "Url"
|
274 |
|
275 |
+
#: views/ecwd-event-content.php:96 views/single-event.php:121
|
276 |
msgid "Organizers"
|
277 |
msgstr "Organizzatori"
|
278 |
|
284 |
msgid "events"
|
285 |
msgstr "eventi"
|
286 |
|
287 |
+
#: views/single-event.php:330
|
288 |
+
msgid "Related events"
|
289 |
+
msgstr "Eventi correlati"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-
|
5 |
-
"PO-Revision-Date: 2015-06-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: nl_NL\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 |
-
#:
|
32 |
msgid "Month"
|
33 |
msgstr "Maand"
|
34 |
|
35 |
-
#: includes/calendar-class.php:176
|
36 |
-
#: views/widgets.php:169
|
37 |
msgid "List"
|
38 |
msgstr "Lijst"
|
39 |
|
40 |
-
#: includes/calendar-class.php:178
|
41 |
msgid "Week"
|
42 |
msgstr "Week"
|
43 |
|
44 |
-
#: includes/calendar-class.php:182
|
45 |
msgid "Day"
|
46 |
msgstr "Dag"
|
47 |
|
@@ -58,15 +53,17 @@ msgid "Posterboard"
|
|
58 |
msgstr "Lijmspray"
|
59 |
|
60 |
#: includes/calendar-class.php:382 includes/calendar-class.php:416
|
61 |
-
#: includes/calendar-class.php:563 includes/calendar-class.php:
|
62 |
-
#: includes/calendar-class.php:
|
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 "Gehele dag"
|
67 |
|
68 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
69 |
-
#: includes/calendar-class.php:
|
70 |
msgid "No events"
|
71 |
msgstr "Geen evenementen"
|
72 |
|
@@ -74,77 +71,41 @@ msgstr "Geen evenementen"
|
|
74 |
msgid "No Events"
|
75 |
msgstr "Geen Evenementen"
|
76 |
|
77 |
-
#: includes/calendar-class.php:
|
78 |
msgid "What're we looking for ?"
|
79 |
msgstr "Wat moeten we op zoek naar?"
|
80 |
|
81 |
-
#: includes/calendar-class.php:
|
82 |
msgid "More events"
|
83 |
msgstr "Meer Evenementen"
|
84 |
|
85 |
-
#: includes/ecwd-
|
86 |
-
|
87 |
-
|
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-
|
121 |
-
|
122 |
-
|
123 |
-
msgstr ""
|
124 |
|
125 |
-
#: includes/ecwd-
|
126 |
-
|
127 |
-
|
128 |
-
msgstr ""
|
129 |
|
130 |
-
#: includes/ecwd-
|
131 |
-
|
132 |
-
|
133 |
-
msgstr ""
|
134 |
|
135 |
-
#: includes/ecwd-
|
136 |
-
|
137 |
-
|
138 |
-
msgstr ""
|
139 |
|
140 |
-
#: includes/ecwd-
|
141 |
-
|
142 |
-
|
143 |
-
msgstr ""
|
144 |
|
145 |
-
#: includes/ecwd-functions.php:
|
146 |
-
msgid "
|
147 |
-
msgstr "
|
148 |
|
149 |
#: includes/texts.php:2
|
150 |
msgid "January"
|
@@ -278,15 +239,40 @@ msgstr "V"
|
|
278 |
msgid "Sa"
|
279 |
msgstr "Z"
|
280 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
#: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
|
|
|
282 |
msgid "Date"
|
283 |
msgstr "Datum"
|
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 "Organisatoren"
|
292 |
|
@@ -298,45 +284,6 @@ msgstr "Aankomende Evenementen"
|
|
298 |
msgid "events"
|
299 |
msgstr "events"
|
300 |
|
301 |
-
#: views/
|
302 |
-
msgid "
|
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 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"
|
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 "Maand"
|
30 |
|
31 |
+
#: includes/calendar-class.php:176 views/widgets.php:169
|
|
|
32 |
msgid "List"
|
33 |
msgstr "Lijst"
|
34 |
|
35 |
+
#: includes/calendar-class.php:178
|
36 |
msgid "Week"
|
37 |
msgstr "Week"
|
38 |
|
39 |
+
#: includes/calendar-class.php:182
|
40 |
msgid "Day"
|
41 |
msgstr "Dag"
|
42 |
|
53 |
msgstr "Lijmspray"
|
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 "Gehele dag"
|
64 |
|
65 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
66 |
+
#: includes/calendar-class.php:1362
|
67 |
msgid "No events"
|
68 |
msgstr "Geen evenementen"
|
69 |
|
71 |
msgid "No Events"
|
72 |
msgstr "Geen Evenementen"
|
73 |
|
74 |
+
#: includes/calendar-class.php:973
|
75 |
msgid "What're we looking for ?"
|
76 |
msgstr "Wat moeten we op zoek naar?"
|
77 |
|
78 |
+
#: includes/calendar-class.php:1237
|
79 |
msgid "More events"
|
80 |
msgstr "Meer Evenementen"
|
81 |
|
82 |
+
#: includes/ecwd-cpt-filter.php:67
|
83 |
+
msgid "From"
|
84 |
+
msgstr "Van"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
+
#: includes/ecwd-cpt-filter.php:74
|
87 |
+
msgid "To"
|
88 |
+
msgstr "Naar"
|
|
|
89 |
|
90 |
+
#: includes/ecwd-functions.php:8
|
91 |
+
msgid "Loading..."
|
92 |
+
msgstr "Het Laden..."
|
|
|
93 |
|
94 |
+
#: includes/ecwd-functions.php:437 includes/texts.php:50
|
95 |
+
msgid "DAYS"
|
96 |
+
msgstr "DAGEN"
|
|
|
97 |
|
98 |
+
#: includes/ecwd-functions.php:438 includes/texts.php:51
|
99 |
+
msgid "HOURS"
|
100 |
+
msgstr "HOURS"
|
|
|
101 |
|
102 |
+
#: includes/ecwd-functions.php:439 includes/texts.php:52
|
103 |
+
msgid "MINUTES"
|
104 |
+
msgstr "MINUTEN"
|
|
|
105 |
|
106 |
+
#: includes/ecwd-functions.php:440 includes/texts.php:53
|
107 |
+
msgid "SECONDS"
|
108 |
+
msgstr "SECONDEN"
|
109 |
|
110 |
#: includes/texts.php:2
|
111 |
msgid "January"
|
239 |
msgid "Sa"
|
240 |
msgstr "Z"
|
241 |
|
242 |
+
#: includes/texts.php:41
|
243 |
+
msgid "Show Filters"
|
244 |
+
msgstr "Toon filters"
|
245 |
+
|
246 |
+
#: includes/texts.php:42
|
247 |
+
msgid "Collapse Filters"
|
248 |
+
msgstr "Collaplse Filters"
|
249 |
+
|
250 |
+
#: includes/texts.php:43
|
251 |
+
msgid "Reset Filters"
|
252 |
+
msgstr "Reset Filters"
|
253 |
+
|
254 |
+
#: includes/texts.php:45
|
255 |
+
msgid "Days"
|
256 |
+
msgstr "Dagen"
|
257 |
+
|
258 |
+
#: includes/texts.php:46
|
259 |
+
msgid "Categories"
|
260 |
+
msgstr "Categorieën"
|
261 |
+
|
262 |
+
#: includes/texts.php:47
|
263 |
+
msgid "Venues"
|
264 |
+
msgstr "Locaties"
|
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 "Datum"
|
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 "Organisatoren"
|
278 |
|
284 |
msgid "events"
|
285 |
msgstr "events"
|
286 |
|
287 |
+
#: views/single-event.php:330
|
288 |
+
msgid "Related events"
|
289 |
+
msgstr "Verwante evenementen"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-
|
5 |
-
"PO-Revision-Date: 2015-06-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: ru\n"
|
@@ -24,25 +24,20 @@ 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 |
-
#: ecwd_class.php:47
|
28 |
-
msgid "Could not load the localization file: "
|
29 |
-
msgstr ""
|
30 |
-
|
31 |
#: includes/calendar-class.php:174 includes/calendar-class.php:175
|
32 |
-
#:
|
33 |
msgid "Month"
|
34 |
msgstr "Месяц"
|
35 |
|
36 |
-
#: includes/calendar-class.php:176
|
37 |
-
#: views/widgets.php:169
|
38 |
msgid "List"
|
39 |
msgstr "Список"
|
40 |
|
41 |
-
#: includes/calendar-class.php:178
|
42 |
msgid "Week"
|
43 |
msgstr "Неделя"
|
44 |
|
45 |
-
#: includes/calendar-class.php:182
|
46 |
msgid "Day"
|
47 |
msgstr "День"
|
48 |
|
@@ -59,15 +54,17 @@ msgid "Posterboard"
|
|
59 |
msgstr ""
|
60 |
|
61 |
#: includes/calendar-class.php:382 includes/calendar-class.php:416
|
62 |
-
#: includes/calendar-class.php:563 includes/calendar-class.php:
|
63 |
-
#: includes/calendar-class.php:
|
64 |
#: views/ecwd-event-content.php:75 views/ecwd-event-content.php:157
|
65 |
#: views/ecwd-organizer-content.php:128 views/ecwd-venue-content.php:173
|
|
|
|
|
66 |
msgid "All day"
|
67 |
msgstr "Весь День"
|
68 |
|
69 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
70 |
-
#: includes/calendar-class.php:
|
71 |
msgid "No events"
|
72 |
msgstr "Нет событий"
|
73 |
|
@@ -75,78 +72,42 @@ msgstr "Нет событий"
|
|
75 |
msgid "No Events"
|
76 |
msgstr "Нет Событий"
|
77 |
|
78 |
-
#: includes/calendar-class.php:
|
79 |
msgid "What're we looking for ?"
|
80 |
msgstr "Что мы ищем?"
|
81 |
|
82 |
-
#: includes/calendar-class.php:
|
83 |
msgid "More events"
|
84 |
msgstr "Другие события"
|
85 |
|
86 |
-
#: includes/ecwd-
|
87 |
-
|
88 |
-
msgid "%s year"
|
89 |
-
msgstr ""
|
90 |
-
|
91 |
-
#: includes/ecwd-event-class.php:188
|
92 |
-
#, php-format
|
93 |
-
msgid "%s years"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: includes/ecwd-
|
97 |
-
|
98 |
-
msgid "%s month"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: includes/ecwd-
|
102 |
-
|
103 |
-
|
104 |
-
msgstr ""
|
105 |
-
|
106 |
-
#: includes/ecwd-event-class.php:190
|
107 |
-
#, php-format
|
108 |
-
msgid "%s week"
|
109 |
-
msgstr ""
|
110 |
-
|
111 |
-
#: includes/ecwd-event-class.php:190
|
112 |
-
#, php-format
|
113 |
-
msgid "%s weeks"
|
114 |
-
msgstr ""
|
115 |
-
|
116 |
-
#: includes/ecwd-event-class.php:191
|
117 |
-
#, php-format
|
118 |
-
msgid "%s day"
|
119 |
-
msgstr ""
|
120 |
-
|
121 |
-
#: includes/ecwd-event-class.php:191
|
122 |
-
#, php-format
|
123 |
-
msgid "%s days"
|
124 |
-
msgstr ""
|
125 |
|
126 |
-
#: includes/ecwd-
|
127 |
-
|
128 |
-
msgid "%s hour"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: includes/ecwd-
|
132 |
-
|
133 |
-
msgid "%s hours"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: includes/ecwd-
|
137 |
-
|
138 |
-
msgid "%s min"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: includes/ecwd-
|
142 |
-
|
143 |
-
msgid "%s mins"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: includes/ecwd-functions.php:8
|
147 |
-
msgid "Loading..."
|
148 |
-
msgstr "Загрузка..."
|
149 |
-
|
150 |
#: includes/texts.php:2
|
151 |
msgid "January"
|
152 |
msgstr "Январь"
|
@@ -279,15 +240,40 @@ msgstr "П"
|
|
279 |
msgid "Sa"
|
280 |
msgstr "С"
|
281 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
#: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
|
|
|
283 |
msgid "Date"
|
284 |
msgstr "Дата"
|
285 |
|
286 |
-
#: views/ecwd-event-content.php:90
|
287 |
msgid "Url"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: views/ecwd-event-content.php:96
|
291 |
msgid "Organizers"
|
292 |
msgstr "Организаторы"
|
293 |
|
@@ -299,45 +285,6 @@ msgstr "Предстоящие События"
|
|
299 |
msgid "events"
|
300 |
msgstr "события"
|
301 |
|
302 |
-
#: views/
|
303 |
-
msgid "
|
304 |
-
msgstr ""
|
305 |
-
|
306 |
-
#: views/widgets.php:19
|
307 |
-
msgid "Descr"
|
308 |
-
msgstr ""
|
309 |
-
|
310 |
-
#: views/widgets.php:63
|
311 |
-
msgid ""
|
312 |
-
"No valid Event IDs have been entered for this widget. Please check that you "
|
313 |
-
"have entered the IDs correctly in the widget settings (Appearance > "
|
314 |
-
"Widgets), and that the Events have not been deleted."
|
315 |
-
msgstr ""
|
316 |
-
|
317 |
-
#: views/widgets.php:95
|
318 |
-
msgid "You have not added any events yet."
|
319 |
-
msgstr ""
|
320 |
-
|
321 |
-
#: views/widgets.php:128
|
322 |
-
msgid "There are no calendars created yet."
|
323 |
-
msgstr ""
|
324 |
-
|
325 |
-
#: views/widgets.php:129
|
326 |
-
msgid "Add your first calendar!"
|
327 |
-
msgstr ""
|
328 |
-
|
329 |
-
#: views/widgets.php:147
|
330 |
-
msgid "Title:"
|
331 |
-
msgstr ""
|
332 |
-
|
333 |
-
#: views/widgets.php:152
|
334 |
-
msgid "Calendar to display"
|
335 |
-
msgstr ""
|
336 |
-
|
337 |
-
#: views/widgets.php:166
|
338 |
-
msgid "Display Events as:"
|
339 |
-
msgstr ""
|
340 |
-
|
341 |
-
#: views/widgets.php:173
|
342 |
-
msgid "Events per page in list view:"
|
343 |
-
msgstr ""
|
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"
|
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"
|
30 |
msgstr "Месяц"
|
31 |
|
32 |
+
#: includes/calendar-class.php:176 views/widgets.php:169
|
|
|
33 |
msgid "List"
|
34 |
msgstr "Список"
|
35 |
|
36 |
+
#: includes/calendar-class.php:178
|
37 |
msgid "Week"
|
38 |
msgstr "Неделя"
|
39 |
|
40 |
+
#: includes/calendar-class.php:182
|
41 |
msgid "Day"
|
42 |
msgstr "День"
|
43 |
|
54 |
msgstr ""
|
55 |
|
56 |
#: includes/calendar-class.php:382 includes/calendar-class.php:416
|
57 |
+
#: includes/calendar-class.php:563 includes/calendar-class.php:1167
|
58 |
+
#: includes/calendar-class.php:1306 includes/ecwd-functions.php:359
|
59 |
#: views/ecwd-event-content.php:75 views/ecwd-event-content.php:157
|
60 |
#: views/ecwd-organizer-content.php:128 views/ecwd-venue-content.php:173
|
61 |
+
#: views/single-event.php:98 views/single-event.php:189
|
62 |
+
#: views/single-event.php:354
|
63 |
msgid "All day"
|
64 |
msgstr "Весь День"
|
65 |
|
66 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
67 |
+
#: includes/calendar-class.php:1362
|
68 |
msgid "No events"
|
69 |
msgstr "Нет событий"
|
70 |
|
72 |
msgid "No Events"
|
73 |
msgstr "Нет Событий"
|
74 |
|
75 |
+
#: includes/calendar-class.php:973
|
76 |
msgid "What're we looking for ?"
|
77 |
msgstr "Что мы ищем?"
|
78 |
|
79 |
+
#: includes/calendar-class.php:1237
|
80 |
msgid "More events"
|
81 |
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..."
|
93 |
+
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"
|
113 |
msgstr "Январь"
|
240 |
msgid "Sa"
|
241 |
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
|
269 |
msgid "Date"
|
270 |
msgstr "Дата"
|
271 |
|
272 |
+
#: views/ecwd-event-content.php:90 views/single-event.php:114
|
273 |
msgid "Url"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: views/ecwd-event-content.php:96 views/single-event.php:121
|
277 |
msgid "Organizers"
|
278 |
msgstr "Организаторы"
|
279 |
|
285 |
msgid "events"
|
286 |
msgstr "события"
|
287 |
|
288 |
+
#: views/single-event.php:330
|
289 |
+
msgid "Related events"
|
290 |
+
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-
|
6 |
"PO-Revision-Date: 2015-06-05 12:45+0400\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
@@ -24,25 +24,21 @@ 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 |
-
#: ecwd_class.php:47
|
28 |
-
msgid "Could not load the localization file: "
|
29 |
-
msgstr ""
|
30 |
|
31 |
#: includes/calendar-class.php:174 includes/calendar-class.php:175
|
32 |
-
#:
|
33 |
msgid "Month"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: includes/calendar-class.php:176
|
37 |
-
#: views/widgets.php:169
|
38 |
msgid "List"
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: includes/calendar-class.php:178
|
42 |
msgid "Week"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: includes/calendar-class.php:182
|
46 |
msgid "Day"
|
47 |
msgstr ""
|
48 |
|
@@ -59,15 +55,17 @@ msgid "Posterboard"
|
|
59 |
msgstr ""
|
60 |
|
61 |
#: includes/calendar-class.php:382 includes/calendar-class.php:416
|
62 |
-
#: includes/calendar-class.php:563 includes/calendar-class.php:
|
63 |
-
#: includes/calendar-class.php:
|
64 |
#: views/ecwd-event-content.php:75 views/ecwd-event-content.php:157
|
65 |
#: views/ecwd-organizer-content.php:128 views/ecwd-venue-content.php:173
|
|
|
|
|
66 |
msgid "All day"
|
67 |
msgstr ""
|
68 |
|
69 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
70 |
-
#: includes/calendar-class.php:
|
71 |
msgid "No events"
|
72 |
msgstr ""
|
73 |
|
@@ -75,76 +73,40 @@ msgstr ""
|
|
75 |
msgid "No Events"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: includes/calendar-class.php:
|
79 |
msgid "What're we looking for ?"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: includes/calendar-class.php:
|
83 |
msgid "More events"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: includes/ecwd-
|
87 |
-
|
88 |
-
msgid "%s year"
|
89 |
-
msgstr ""
|
90 |
-
|
91 |
-
#: includes/ecwd-event-class.php:188
|
92 |
-
#, php-format
|
93 |
-
msgid "%s years"
|
94 |
-
msgstr ""
|
95 |
-
|
96 |
-
#: includes/ecwd-event-class.php:189
|
97 |
-
#, php-format
|
98 |
-
msgid "%s month"
|
99 |
-
msgstr ""
|
100 |
-
|
101 |
-
#: includes/ecwd-event-class.php:189
|
102 |
-
#, php-format
|
103 |
-
msgid "%s months"
|
104 |
-
msgstr ""
|
105 |
-
|
106 |
-
#: includes/ecwd-event-class.php:190
|
107 |
-
#, php-format
|
108 |
-
msgid "%s week"
|
109 |
-
msgstr ""
|
110 |
-
|
111 |
-
#: includes/ecwd-event-class.php:190
|
112 |
-
#, php-format
|
113 |
-
msgid "%s weeks"
|
114 |
-
msgstr ""
|
115 |
-
|
116 |
-
#: includes/ecwd-event-class.php:191
|
117 |
-
#, php-format
|
118 |
-
msgid "%s day"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: includes/ecwd-
|
122 |
-
|
123 |
-
msgid "%s days"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: includes/ecwd-
|
127 |
-
|
128 |
-
msgid "%s hour"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: includes/ecwd-
|
132 |
-
|
133 |
-
msgid "%s hours"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: includes/ecwd-
|
137 |
-
|
138 |
-
msgid "%s min"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: includes/ecwd-
|
142 |
-
|
143 |
-
msgid "%s mins"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: includes/ecwd-functions.php:
|
147 |
-
msgid "
|
148 |
msgstr ""
|
149 |
|
150 |
#: includes/texts.php:2
|
@@ -279,65 +241,51 @@ msgstr ""
|
|
279 |
msgid "Sa"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#:
|
283 |
-
msgid "
|
284 |
-
msgstr ""
|
285 |
-
|
286 |
-
#: views/ecwd-event-content.php:90
|
287 |
-
msgid "Url"
|
288 |
-
msgstr ""
|
289 |
-
|
290 |
-
#: views/ecwd-event-content.php:96
|
291 |
-
msgid "Organizers"
|
292 |
-
msgstr ""
|
293 |
-
|
294 |
-
#: views/ecwd-organizer-content.php:105
|
295 |
-
msgid "upcoming events"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#:
|
299 |
-
msgid "
|
300 |
msgstr ""
|
301 |
|
302 |
-
#:
|
303 |
-
msgid "
|
304 |
msgstr ""
|
305 |
|
306 |
-
#:
|
307 |
-
msgid "
|
308 |
msgstr ""
|
309 |
|
310 |
-
#:
|
311 |
-
msgid ""
|
312 |
-
"No valid Event IDs have been entered for this widget. Please check that you "
|
313 |
-
"have entered the IDs correctly in the widget settings (Appearance > "
|
314 |
-
"Widgets), and that the Events have not been deleted."
|
315 |
msgstr ""
|
316 |
|
317 |
-
#:
|
318 |
-
msgid "
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: views/
|
322 |
-
|
|
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: views/
|
326 |
-
msgid "
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: views/
|
330 |
-
msgid "
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: views/
|
334 |
-
msgid "
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: views/
|
338 |
-
msgid "
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: views/
|
342 |
-
msgid "
|
343 |
msgstr ""
|
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 |
"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"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: includes/calendar-class.php:176 views/widgets.php:169
|
|
|
34 |
msgid "List"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: includes/calendar-class.php:178
|
38 |
msgid "Week"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: includes/calendar-class.php:182
|
42 |
msgid "Day"
|
43 |
msgstr ""
|
44 |
|
55 |
msgstr ""
|
56 |
|
57 |
#: includes/calendar-class.php:382 includes/calendar-class.php:416
|
58 |
+
#: includes/calendar-class.php:563 includes/calendar-class.php:1167
|
59 |
+
#: includes/calendar-class.php:1306 includes/ecwd-functions.php:359
|
60 |
#: views/ecwd-event-content.php:75 views/ecwd-event-content.php:157
|
61 |
#: views/ecwd-organizer-content.php:128 views/ecwd-venue-content.php:173
|
62 |
+
#: views/single-event.php:98 views/single-event.php:189
|
63 |
+
#: views/single-event.php:354
|
64 |
msgid "All day"
|
65 |
msgstr ""
|
66 |
|
67 |
#: includes/calendar-class.php:439 includes/calendar-class.php:515
|
68 |
+
#: includes/calendar-class.php:1362
|
69 |
msgid "No events"
|
70 |
msgstr ""
|
71 |
|
73 |
msgid "No Events"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: includes/calendar-class.php:973
|
77 |
msgid "What're we looking for ?"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: includes/calendar-class.php:1237
|
81 |
msgid "More events"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: includes/ecwd-cpt-filter.php:67
|
85 |
+
msgid "From"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: includes/ecwd-cpt-filter.php:74
|
89 |
+
msgid "To"
|
|
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: includes/ecwd-functions.php:8
|
93 |
+
msgid "Loading..."
|
|
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: includes/ecwd-functions.php:437 includes/texts.php:50
|
97 |
+
msgid "DAYS"
|
|
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: includes/ecwd-functions.php:438 includes/texts.php:51
|
101 |
+
msgid "HOURS"
|
|
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: includes/ecwd-functions.php:439 includes/texts.php:52
|
105 |
+
msgid "MINUTES"
|
|
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: includes/ecwd-functions.php:440 includes/texts.php:53
|
109 |
+
msgid "SECONDS"
|
110 |
msgstr ""
|
111 |
|
112 |
#: includes/texts.php:2
|
241 |
msgid "Sa"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: includes/texts.php:41
|
245 |
+
msgid "Show Filters"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: includes/texts.php:42
|
249 |
+
msgid "Collapse Filters"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: includes/texts.php:43
|
253 |
+
msgid "Reset Filters"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: includes/texts.php:45
|
257 |
+
msgid "Days"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: includes/texts.php:46
|
261 |
+
msgid "Categories"
|
|
|
|
|
|
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: includes/texts.php:47
|
265 |
+
msgid "Venues"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: views/ecwd-event-content.php:66 views/ecwd-event-content.php:152
|
269 |
+
#: views/single-event.php:89 views/single-event.php:184
|
270 |
+
msgid "Date"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: views/ecwd-event-content.php:90 views/single-event.php:114
|
274 |
+
msgid "Url"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: views/ecwd-event-content.php:96 views/single-event.php:121
|
278 |
+
msgid "Organizers"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: views/ecwd-organizer-content.php:105
|
282 |
+
msgid "upcoming events"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: views/ecwd-venue-content.php:136
|
286 |
+
msgid "events"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: views/single-event.php:330
|
290 |
+
msgid "Related events"
|
291 |
msgstr ""
|
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
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -111,6 +111,10 @@ After downloading the ZIP file of the Event Calendar WD plugin,
|
|
111 |
|
112 |
== Changelog ==
|
113 |
|
|
|
|
|
|
|
|
|
114 |
= 1.0.6 =
|
115 |
Changed: Removed Add Venue link
|
116 |
Fixed: Delete event from calendar page issue
|
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 |
|
111 |
|
112 |
== Changelog ==
|
113 |
|
114 |
+
= 1.0.7 =
|
115 |
+
New: Related events slider
|
116 |
+
New: Enable/disable rewrite rule option
|
117 |
+
|
118 |
= 1.0.6 =
|
119 |
Changed: Removed Add Venue link
|
120 |
Fixed: Delete event from calendar page issue
|
views/admin/admin.php
CHANGED
@@ -15,11 +15,6 @@ global $ecwd_tabs;
|
|
15 |
?>
|
16 |
|
17 |
<div class="wrap">
|
18 |
-
<div style="float: right; clear: both;">
|
19 |
-
<a href="https://web-dorado.com/files/fromEventCalendarWD.php" target="_blank" style="text-decoration:none;">
|
20 |
-
<img src="<?php echo plugins_url('../../assets/pro.png', __FILE__)?>" border="0" alt="https://web-dorado.com/files/fromEventCalendarWD.php" width="215">
|
21 |
-
</a>
|
22 |
-
</div>
|
23 |
<?php settings_errors(); ?>
|
24 |
<div id="ecwd-settings">
|
25 |
|
15 |
?>
|
16 |
|
17 |
<div class="wrap">
|
|
|
|
|
|
|
|
|
|
|
18 |
<?php settings_errors(); ?>
|
19 |
<div id="ecwd-settings">
|
20 |
|
views/admin/ecwd-featured-plugins.php
CHANGED
@@ -15,11 +15,6 @@ global $ecwd_tabs;
|
|
15 |
?>
|
16 |
|
17 |
<div class="wrap">
|
18 |
-
<div style="float: right; clear: both;">
|
19 |
-
<a href="https://web-dorado.com/files/fromEventCalendarWD.php" target="_blank" style="text-decoration:none;">
|
20 |
-
<img src="<?php echo plugins_url('../../assets/pro.png', __FILE__)?>" border="0" alt="https://web-dorado.com/files/fromEventCalendarWD.php" width="215">
|
21 |
-
</a>
|
22 |
-
</div>
|
23 |
<?php settings_errors(); ?>
|
24 |
<div id="ecwd-settings">
|
25 |
|
15 |
?>
|
16 |
|
17 |
<div class="wrap">
|
|
|
|
|
|
|
|
|
|
|
18 |
<?php settings_errors(); ?>
|
19 |
<div id="ecwd-settings">
|
20 |
|
views/admin/ecwd-featured-themes.php
CHANGED
@@ -15,11 +15,6 @@ global $ecwd_tabs;
|
|
15 |
?>
|
16 |
|
17 |
<div class="wrap">
|
18 |
-
<div style="float: right; clear: both;">
|
19 |
-
<a href="https://web-dorado.com/files/fromEventCalendarWD.php" target="_blank" style="text-decoration:none;">
|
20 |
-
<img src="<?php echo plugins_url('../../assets/pro.png', __FILE__)?>" border="0" alt="https://web-dorado.com/files/fromEventCalendarWD.php" width="215">
|
21 |
-
</a>
|
22 |
-
</div>
|
23 |
<?php settings_errors(); ?>
|
24 |
<div id="ecwd-settings">
|
25 |
|
15 |
?>
|
16 |
|
17 |
<div class="wrap">
|
|
|
|
|
|
|
|
|
|
|
18 |
<?php settings_errors(); ?>
|
19 |
<div id="ecwd-settings">
|
20 |
|
views/admin/ecwd-theme-meta.php
CHANGED
@@ -8,12 +8,6 @@ global $post;
|
|
8 |
?>
|
9 |
|
10 |
<div class="wrap">
|
11 |
-
<div style="float: right; clear: both;">
|
12 |
-
<a href="https://web-dorado.com/files/fromEventCalendarWD.php" target="_blank" style="text-decoration:none;">
|
13 |
-
<img src="<?php echo plugins_url( '../../assets/pro.png', __FILE__ ) ?>" border="0"
|
14 |
-
alt="https://web-dorado.com/files/fromEventCalendarWD.php" width="215">
|
15 |
-
</a>
|
16 |
-
</div>
|
17 |
<div id="ecwd-settings">
|
18 |
<div id="ecwd-settings-content">
|
19 |
<h2 id="add_on_title"><?php echo esc_html( get_admin_page_title() ); ?></h2>
|
8 |
?>
|
9 |
|
10 |
<div class="wrap">
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
<div id="ecwd-settings">
|
12 |
<div id="ecwd-settings-content">
|
13 |
<h2 id="add_on_title"><?php echo esc_html( get_admin_page_title() ); ?></h2>
|
views/admin/licensing.php
CHANGED
@@ -14,13 +14,6 @@ global $ecwd_tabs;
|
|
14 |
?>
|
15 |
|
16 |
<div class="wrap">
|
17 |
-
<div style="float: right; clear: both;">
|
18 |
-
<a href="https://web-dorado.com/files/fromEventCalendarWD.php" target="_blank" style="text-decoration:none;">
|
19 |
-
<img src="<?php echo plugins_url( '../../assets/pro.png', __FILE__ ) ?>" border="0"
|
20 |
-
alt="https://web-dorado.com/files/fromEventCalendarWD.php" width="215">
|
21 |
-
</a>
|
22 |
-
</div>
|
23 |
-
|
24 |
<div id="ecwd-settings">
|
25 |
|
26 |
<div id="ecwd-settings-content">
|
14 |
?>
|
15 |
|
16 |
<div class="wrap">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
<div id="ecwd-settings">
|
18 |
|
19 |
<div id="ecwd-settings-content">
|
views/ecwd-organizer-content.php
CHANGED
@@ -114,6 +114,19 @@ echo $content;
|
|
114 |
?>
|
115 |
<li itemscope itemtype="http://schema.org/Event" class="upcoming_events_item">
|
116 |
<div class="upcoming_event_container">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
<div class="event-title" itemprop="name">
|
118 |
<a href="<?php echo $ecwd_event['permalink'] ?>"><?php echo $ecwd_event['title'] ?></a>
|
119 |
</div>
|
@@ -135,22 +148,7 @@ echo $content;
|
|
135 |
}
|
136 |
} ?>
|
137 |
</div>
|
138 |
-
|
139 |
-
$image = getAndReplaceFirstImage( $ecwd_event['post']->post_content );
|
140 |
-
if ( ! has_post_thumbnail( $ecwd_event['id'] ) && $image['image'] == "" ) {
|
141 |
-
$image_class = "ecwd-no-image";
|
142 |
-
}
|
143 |
-
echo '<div class="upcoming_events_item-img ' . $image_class . '">';
|
144 |
-
if ( get_the_post_thumbnail( $ecwd_event['id'] ) ) {
|
145 |
-
echo get_the_post_thumbnail( $ecwd_event['id'], array( 800, 280 ) );
|
146 |
-
} elseif ( $image['image'] != null ) {
|
147 |
-
echo '<img src="' . $image['image'] . '" />';
|
148 |
-
$ecwd_event['post']->post_content = $image['content'];
|
149 |
-
}
|
150 |
-
echo '</div>'; ?>
|
151 |
-
|
152 |
-
<div
|
153 |
-
class="upcoming_events_item-content"><?php echo( $ecwd_event['post']->post_content ? $ecwd_event['post']->post_content : 'No additional details for this event.' ); ?> </div>
|
154 |
</div>
|
155 |
</li>
|
156 |
<?php
|
114 |
?>
|
115 |
<li itemscope itemtype="http://schema.org/Event" class="upcoming_events_item">
|
116 |
<div class="upcoming_event_container">
|
117 |
+
<?php $image_class = '';
|
118 |
+
$image = getAndReplaceFirstImage( $ecwd_event['post']->post_content );
|
119 |
+
if ( ! has_post_thumbnail( $ecwd_event['id'] ) && $image['image'] == "" ) {
|
120 |
+
$image_class = "ecwd-no-image";
|
121 |
+
}
|
122 |
+
echo '<div class="upcoming_events_item-img ' . $image_class . '">';
|
123 |
+
if ( get_the_post_thumbnail( $ecwd_event['id'] ) ) {
|
124 |
+
echo get_the_post_thumbnail( $ecwd_event['id'], 'thumb' );
|
125 |
+
} elseif ( $image['image'] != null ) {
|
126 |
+
echo '<img src="' . $image['image'] . '" />';
|
127 |
+
$ecwd_event['post']->post_content = $image['content'];
|
128 |
+
}
|
129 |
+
echo '</div>'; ?>
|
130 |
<div class="event-title" itemprop="name">
|
131 |
<a href="<?php echo $ecwd_event['permalink'] ?>"><?php echo $ecwd_event['title'] ?></a>
|
132 |
</div>
|
148 |
}
|
149 |
} ?>
|
150 |
</div>
|
151 |
+
<div class="upcoming_events_item-content"><?php echo( $ecwd_event['post']->post_content ? $ecwd_event['post']->post_content : 'No additional details for this event.' ); ?> </div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
</div>
|
153 |
</li>
|
154 |
<?php
|
views/ecwd-venue-content.php
CHANGED
@@ -152,7 +152,7 @@ echo $content;
|
|
152 |
}
|
153 |
echo '<div class="upcoming_events_item-img ' . $image_class . '">';
|
154 |
if ( get_the_post_thumbnail( $ecwd_event['id'] ) ) {
|
155 |
-
echo get_the_post_thumbnail( $ecwd_event['id'],
|
156 |
} elseif ( $image['image'] != null ) {
|
157 |
echo '<img src="' . $image['image'] . '" />';
|
158 |
$ecwd_event['post']->post_content = $image['content'];
|
152 |
}
|
153 |
echo '<div class="upcoming_events_item-img ' . $image_class . '">';
|
154 |
if ( get_the_post_thumbnail( $ecwd_event['id'] ) ) {
|
155 |
+
echo get_the_post_thumbnail( $ecwd_event['id'], 'thumb' );
|
156 |
} elseif ( $image['image'] != null ) {
|
157 |
echo '<img src="' . $image['image'] . '" />';
|
158 |
$ecwd_event['post']->post_content = $image['content'];
|
views/single-event.php
CHANGED
@@ -70,7 +70,8 @@ get_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 |
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
75 |
|
76 |
<div class="ecwd-event" itemscope itemtype="http://schema.org/Event">
|
@@ -154,17 +155,17 @@ get_header();
|
|
154 |
?>
|
155 |
|
156 |
<div class="ecwd-social">
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
</div>
|
169 |
<?php } ?>
|
170 |
<?php
|
@@ -242,16 +243,169 @@ get_header();
|
|
242 |
<div>
|
243 |
<?php the_content(); ?>
|
244 |
</div>
|
|
|
|
|
245 |
<?php
|
246 |
-
if (
|
247 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
|
249 |
-
<?php echo comments_template(); ?>
|
250 |
-
</div>
|
251 |
-
<?php } ?>
|
252 |
|
253 |
</div> <!-- #post-x -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
<?php endwhile; ?>
|
|
|
255 |
</div>
|
256 |
|
257 |
<?php get_footer(); ?>
|
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">
|
155 |
?>
|
156 |
|
157 |
<div class="ecwd-social">
|
158 |
+
<span class="share-links">
|
159 |
+
<a href="http://twitter.com/home?status=<?php echo get_permalink( $post_id ) ?>" class="ecwd-twitter"
|
160 |
+
target="_blank" data-original-title="Tweet It">
|
161 |
+
<span class="visuallyhidden">Twitter</span></a>
|
162 |
+
<a href="http://www.facebook.com/sharer.php?u=<?php echo get_permalink( $post_id ) ?>" class="ecwd-facebook"
|
163 |
+
target="_blank" data-original-title="Share on Facebook">
|
164 |
+
<span class="visuallyhidden">Facebook</span></a>
|
165 |
+
<a href="http://plus.google.com/share?url=<?php echo get_permalink( $post_id ) ?>" class="ecwd-google-plus"
|
166 |
+
target="_blank" data-original-title="Share on Google+">
|
167 |
+
<span class="visuallyhidden">Google+</span></a>
|
168 |
+
</span>
|
169 |
</div>
|
170 |
<?php } ?>
|
171 |
<?php
|
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 |
+
|
401 |
+
if ( comments_open() && $post->comment_status == 'open' ) { ?>
|
402 |
+
<div class="ecwd-comments">
|
403 |
+
|
404 |
+
<?php echo comments_template(); ?>
|
405 |
+
</div>
|
406 |
+
<?php } ?>
|
407 |
<?php endwhile; ?>
|
408 |
+
|
409 |
</div>
|
410 |
|
411 |
<?php get_footer(); ?>
|