Version Description
- Title rewriting workaround for themes where main menus are broken on events pages
- Added option to show lists on calendar days regardless of whether there is only one event on that day.
- added spanish translation
- fixed rsvp deletion issue
- fixed potential phpmailer conflicts
- CSS issue with maps fixed
- optimized placeholders, adding new standard placeholders
Download this release
Release Info
Developer | netweblogic |
Plugin | Events Manager |
Version | 3.0.4 |
Comparing to | |
See all releases |
Code changes from version 3.0.3 to 3.0.4
- admin/admin.php +50 -3
- admin/bookings.php +1 -1
- admin/categories.php +1 -1
- admin/event.php +12 -8
- admin/events.php +1 -1
- admin/functions.php +0 -64
- admin/{support.php → help.php} +3 -3
- admin/locations-search.php +1 -1
- admin/options.php +15 -1
- ajax.php +1 -1
- bookings.php +1 -1
- classes/booking.php +4 -4
- classes/bookings.php +13 -10
- classes/calendar.php +1 -0
- classes/category.php +1 -1
- classes/event.php +147 -156
- classes/events.php +5 -28
- classes/location.php +75 -84
- classes/locations.php +6 -5
- classes/mailer.php +1 -1
- classes/object.php +5 -5
- classes/people.php +1 -1
- classes/person.php +4 -4
- classes/phpmailer/class.phpmailer.php +2 -2
- classes/phpmailer/class.smtp.php +2 -2
- classes/recurrence.php +2 -2
- events-manager.php +22 -95
- events.php +40 -28
- includes/css/events_manager.css +3 -19
- includes/css/events_manager_admin.css +43 -0
- includes/js/em_calendar_ajax.js +1 -1
- includes/langs/dbem-es_ES.mo +0 -0
- includes/langs/dbem-es_ES.po +1468 -304
- includes/langs/events-manager.pot +1665 -0
- install.php +94 -81
- readme.txt +10 -6
- template-tags-depreciated.php +6 -1
- widgets/events.php +5 -3
- widgets/locations.php +3 -2
admin/admin.php
CHANGED
@@ -1,17 +1,54 @@
|
|
1 |
<?php
|
2 |
-
//Admin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
/**
|
5 |
* Called by admin_print_scripts-(hook|page) action, created when adding menu items in events-manager.php
|
6 |
*/
|
7 |
function em_admin_load_scripts(){
|
|
|
8 |
if( get_option('dbem_gmap_is_active') ){
|
9 |
wp_enqueue_script('em-google-maps', 'http://maps.google.com/maps/api/js?sensor=false');
|
10 |
}
|
11 |
-
|
|
|
|
|
12 |
//Load the UI items, currently date picker and autocomplete plus dependencies
|
13 |
//wp_enqueue_script('em-ui-js', WP_PLUGIN_URL.'/events-manager/includes/js/jquery-ui-1.8.5.custom.min.js', array('jquery', 'jquery-ui-core'));
|
14 |
wp_enqueue_script('em-ui-js', WP_PLUGIN_URL.'/events-manager/includes/js/em_ui.js', array('jquery', 'jquery-ui-core'));
|
|
|
15 |
//Date Picker Locale
|
16 |
$locale_code = substr ( get_locale (), 0, 2 );
|
17 |
$locale_file = "/events-manager/includes/js/i18n/jquery.ui.datepicker-$locale_code.js";
|
@@ -19,6 +56,16 @@ function em_admin_load_scripts(){
|
|
19 |
wp_enqueue_script("em-ui-datepicker-$locale_code", WP_PLUGIN_URL.$locale_file, array('em-ui-js'));
|
20 |
}
|
21 |
wp_enqueue_script('em-script', WP_PLUGIN_URL.'/events-manager/includes/js/em_admin.js', array('em-ui-js'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
}
|
23 |
|
24 |
/**
|
@@ -26,7 +73,7 @@ function em_admin_load_scripts(){
|
|
26 |
*/
|
27 |
function em_admin_load_styles() {
|
28 |
wp_enqueue_style('em-ui-css', WP_PLUGIN_URL.'/events-manager/includes/css/jquery-ui-1.7.3.custom.css');
|
29 |
-
wp_enqueue_style('events-manager-admin', WP_PLUGIN_URL.'/events-manager/includes/css/
|
30 |
}
|
31 |
|
32 |
/**
|
1 |
<?php
|
2 |
+
//Admin functions
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Generate warnings and notices in the admin area
|
6 |
+
*/
|
7 |
+
function em_admin_warnings() {
|
8 |
+
//If we're editing the events page show hello to new user
|
9 |
+
$events_page_id = get_option ( 'dbem_events_page' );
|
10 |
+
if (isset ( $_GET ['disable_hello_to_user'] ) && $_GET ['disable_hello_to_user'] == 'true'){
|
11 |
+
// Disable Hello to new user if requested
|
12 |
+
update_option ( 'dbem_hello_to_user', 0 );
|
13 |
+
}else{
|
14 |
+
if ( preg_match( '/(post|page).php/', $_SERVER ['SCRIPT_NAME']) && isset ( $_GET ['action'] ) && $_GET ['action'] == 'edit' && isset ( $_GET ['post'] ) && $_GET ['post'] == "$events_page_id") {
|
15 |
+
$message = sprintf ( __ ( "This page corresponds to <strong>Events Manager</strong> events page. Its content will be overriden by <strong>Events Manager</strong>. If you want to display your content, you can can assign another page to <strong>Events Manager</strong> in the the <a href='%s'>Settings</a>. ", 'dbem' ), 'admin.php?page=events-manager-options' );
|
16 |
+
$notice = "<div class='error'><p>$message</p></div>";
|
17 |
+
echo $notice;
|
18 |
+
}
|
19 |
+
}
|
20 |
+
//If events page couldn't be created
|
21 |
+
if( !empty($_GET['em_dismiss_events_page']) ){
|
22 |
+
update_option('dbem_dismiss_events_page',1);
|
23 |
+
}else{
|
24 |
+
if ( !get_page($events_page_id) && !get_option('dbem_dismiss_events_page') ){
|
25 |
+
$dismiss_link_joiner = ( count($_GET) > 0 ) ? '&':'?';
|
26 |
+
$advice = sprintf ( __( 'Uh Oh! For some reason wordpress could not create an events page for you (or you just deleted it). Not to worry though, all you have to do is create an empty page, name it whatever you want, and select it as your events page in your <a href="%s">options page</a>. Sorry for the extra step! If you know what you are doing, you may have done this on purpose, if so <a href="%s">ignore this message</a>', 'dbem'), get_bloginfo ( 'url' ) . '/wp-admin/admin.php?page=events-manager-options', $_SERVER['REQUEST_URI'].$dismiss_link_joiner.'em_dismiss_events_page=1' );
|
27 |
+
?>
|
28 |
+
<div id="em_page_error" class="updated">
|
29 |
+
<p><?php echo $advice; ?></p>
|
30 |
+
</div>
|
31 |
+
<?php
|
32 |
+
}
|
33 |
+
}
|
34 |
+
}
|
35 |
+
add_action ( 'admin_notices', 'em_admin_warnings' );
|
36 |
|
37 |
/**
|
38 |
* Called by admin_print_scripts-(hook|page) action, created when adding menu items in events-manager.php
|
39 |
*/
|
40 |
function em_admin_load_scripts(){
|
41 |
+
//Add maps
|
42 |
if( get_option('dbem_gmap_is_active') ){
|
43 |
wp_enqueue_script('em-google-maps', 'http://maps.google.com/maps/api/js?sensor=false');
|
44 |
}
|
45 |
+
//Time Entry
|
46 |
+
wp_enqueue_script('em-timeentry', WP_PLUGIN_URL.'/events-manager/includes/js/timeentry/jquery.timeentry.js', array('jquery'));
|
47 |
+
|
48 |
//Load the UI items, currently date picker and autocomplete plus dependencies
|
49 |
//wp_enqueue_script('em-ui-js', WP_PLUGIN_URL.'/events-manager/includes/js/jquery-ui-1.8.5.custom.min.js', array('jquery', 'jquery-ui-core'));
|
50 |
wp_enqueue_script('em-ui-js', WP_PLUGIN_URL.'/events-manager/includes/js/em_ui.js', array('jquery', 'jquery-ui-core'));
|
51 |
+
|
52 |
//Date Picker Locale
|
53 |
$locale_code = substr ( get_locale (), 0, 2 );
|
54 |
$locale_file = "/events-manager/includes/js/i18n/jquery.ui.datepicker-$locale_code.js";
|
56 |
wp_enqueue_script("em-ui-datepicker-$locale_code", WP_PLUGIN_URL.$locale_file, array('em-ui-js'));
|
57 |
}
|
58 |
wp_enqueue_script('em-script', WP_PLUGIN_URL.'/events-manager/includes/js/em_admin.js', array('em-ui-js'));
|
59 |
+
|
60 |
+
//TinyMCE Editor
|
61 |
+
add_action( 'admin_print_footer_scripts', 'wp_tiny_mce', 25 );
|
62 |
+
wp_enqueue_script('post');
|
63 |
+
if ( user_can_richedit() )
|
64 |
+
wp_enqueue_script('editor');
|
65 |
+
add_thickbox();
|
66 |
+
wp_enqueue_script('media-upload');
|
67 |
+
wp_enqueue_script('word-count');
|
68 |
+
wp_enqueue_script('quicktags');
|
69 |
}
|
70 |
|
71 |
/**
|
73 |
*/
|
74 |
function em_admin_load_styles() {
|
75 |
wp_enqueue_style('em-ui-css', WP_PLUGIN_URL.'/events-manager/includes/css/jquery-ui-1.7.3.custom.css');
|
76 |
+
wp_enqueue_style('events-manager-admin', WP_PLUGIN_URL.'/events-manager/includes/css/events_manager_admin.css');
|
77 |
}
|
78 |
|
79 |
/**
|
admin/bookings.php
CHANGED
@@ -12,7 +12,7 @@ function dbem_admin_actions_bookings() {
|
|
12 |
if( isset($_POST['secondaryAction']) && $_POST['secondaryAction'] == 'delete_bookings' ){
|
13 |
if( EM_Object::array_is_numeric($_GET['bookings']) && count($_GET['bookings']) > 0 ){
|
14 |
$bookings = $_GET['bookings'];
|
15 |
-
$sql = "DELETE FROM ". $wpdb->prefix.
|
16 |
$wpdb->query($sql);
|
17 |
$dbem_form_delete_message = __('Bookings deleted', 'dbem');
|
18 |
}
|
12 |
if( isset($_POST['secondaryAction']) && $_POST['secondaryAction'] == 'delete_bookings' ){
|
13 |
if( EM_Object::array_is_numeric($_GET['bookings']) && count($_GET['bookings']) > 0 ){
|
14 |
$bookings = $_GET['bookings'];
|
15 |
+
$sql = "DELETE FROM ". $wpdb->prefix.EM_BOOKINGS_TABLE ." WHERE booking_id = ". implode(' OR booking_id = ', $bookings);
|
16 |
$wpdb->query($sql);
|
17 |
$dbem_form_delete_message = __('Bookings deleted', 'dbem');
|
18 |
}
|
admin/categories.php
CHANGED
@@ -7,7 +7,7 @@ function dbem_categories_subpanel() {
|
|
7 |
dbem_categories_edit_layout();
|
8 |
} else {
|
9 |
// Insert/Update/Delete Record
|
10 |
-
$categories_table = $wpdb->prefix.
|
11 |
if( isset($_POST['action']) && $_POST['action'] == "edit" ) {
|
12 |
// category update required
|
13 |
$category = array();
|
7 |
dbem_categories_edit_layout();
|
8 |
} else {
|
9 |
// Insert/Update/Delete Record
|
10 |
+
$categories_table = $wpdb->prefix.EM_CATEGORIES_TABLE;
|
11 |
if( isset($_POST['action']) && $_POST['action'] == "edit" ) {
|
12 |
// category update required
|
13 |
$category = array();
|
admin/event.php
CHANGED
@@ -65,7 +65,7 @@ function dbem_event_form( $title ) {
|
|
65 |
<h3 class='hndle'><span>
|
66 |
<?php _e ( "Recurrence", 'dbem' ); ?>
|
67 |
</span></h3>
|
68 |
-
|
69 |
<?php //TODO add js warning if rescheduling, since all bookings are deleted ?>
|
70 |
<?php if ( !$EM_Event->id || $EM_Event->is_recurring() ) : ?>
|
71 |
<p>
|
@@ -192,12 +192,6 @@ function dbem_event_form( $title ) {
|
|
192 |
<th scope='col'><?php _e('Spaces', 'dbem') ?></th>
|
193 |
</tr>
|
194 |
</thead>
|
195 |
-
<tfoot>
|
196 |
-
<tr>
|
197 |
-
<th scope='row' colspan='2'><?php _e('Booked spaces','dbem') ?>:</th><td class='booking-result' id='booked-seats'><?php echo $booked_seats ?></td></tr>
|
198 |
-
<tr><th scope='row' colspan='2'><?php _e('Available spaces','dbem') ?>:</th><td class='booking-result' id='available-seats'><?php echo $available_seats ?></td>
|
199 |
-
</tr>
|
200 |
-
</tfoot>
|
201 |
<tbody>
|
202 |
<?php
|
203 |
foreach ($EM_Event->get_bookings()->bookings as $EM_Booking) {
|
@@ -215,7 +209,17 @@ function dbem_event_form( $title ) {
|
|
215 |
<?php
|
216 |
}
|
217 |
?>
|
218 |
-
</tbody>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
</table>
|
220 |
</div>
|
221 |
|
65 |
<h3 class='hndle'><span>
|
66 |
<?php _e ( "Recurrence", 'dbem' ); ?>
|
67 |
</span></h3>
|
68 |
+
<div class="inside">
|
69 |
<?php //TODO add js warning if rescheduling, since all bookings are deleted ?>
|
70 |
<?php if ( !$EM_Event->id || $EM_Event->is_recurring() ) : ?>
|
71 |
<p>
|
192 |
<th scope='col'><?php _e('Spaces', 'dbem') ?></th>
|
193 |
</tr>
|
194 |
</thead>
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
<tbody>
|
196 |
<?php
|
197 |
foreach ($EM_Event->get_bookings()->bookings as $EM_Booking) {
|
209 |
<?php
|
210 |
}
|
211 |
?>
|
212 |
+
</tbody>
|
213 |
+
<tfoot>
|
214 |
+
<tr>
|
215 |
+
<th scope='row' colspan='2'><?php _e('Booked spaces','dbem') ?>:</th>
|
216 |
+
<td class='booking-result' id='booked-seats'><?php echo $booked_seats ?></td>
|
217 |
+
</tr>
|
218 |
+
<tr>
|
219 |
+
<th scope='row' colspan='2'><?php _e('Available spaces','dbem') ?>:</th>
|
220 |
+
<td class='booking-result' id='available-seats'><?php echo $available_seats ?></td>
|
221 |
+
</tr>
|
222 |
+
</tfoot>
|
223 |
</table>
|
224 |
</div>
|
225 |
|
admin/events.php
CHANGED
@@ -19,7 +19,7 @@ function dbem_events_subpanel() {
|
|
19 |
if ($order == ""){
|
20 |
$order = "ASC";
|
21 |
}
|
22 |
-
$event_table_name = $wpdb->prefix .
|
23 |
|
24 |
// DELETE action
|
25 |
if ( $action == 'deleteEvents' && EM_Object::array_is_numeric($selectedEvents) ) {
|
19 |
if ($order == ""){
|
20 |
$order = "ASC";
|
21 |
}
|
22 |
+
$event_table_name = $wpdb->prefix . EM_EVENTS_TABLE;
|
23 |
|
24 |
// DELETE action
|
25 |
if ( $action == 'deleteEvents' && EM_Object::array_is_numeric($selectedEvents) ) {
|
admin/functions.php
DELETED
@@ -1,64 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/*Random Admin Functions*/
|
3 |
-
|
4 |
-
//This adds the tinymce editor
|
5 |
-
function dbem_tinymce(){
|
6 |
-
add_action( 'admin_print_footer_scripts', 'wp_tiny_mce', 25 );
|
7 |
-
wp_enqueue_script('post');
|
8 |
-
if ( user_can_richedit() )
|
9 |
-
wp_enqueue_script('editor');
|
10 |
-
add_thickbox();
|
11 |
-
wp_enqueue_script('media-upload');
|
12 |
-
wp_enqueue_script('word-count');
|
13 |
-
wp_enqueue_script('quicktags');
|
14 |
-
}
|
15 |
-
add_action ( 'admin_init', 'dbem_tinymce' );
|
16 |
-
|
17 |
-
// ADMIN CSS for debug
|
18 |
-
function dbem_admin_css() {
|
19 |
-
$css = "
|
20 |
-
<style type='text/css'>
|
21 |
-
.debug{
|
22 |
-
color: green;
|
23 |
-
background: #B7F98C;
|
24 |
-
margin: 15px;
|
25 |
-
padding: 10px;
|
26 |
-
border: 1px solid #629948;
|
27 |
-
}
|
28 |
-
.switch-tab {
|
29 |
-
background: #aaa;
|
30 |
-
width: 100px;
|
31 |
-
float: right;
|
32 |
-
text-align: center;
|
33 |
-
margin: 3px 1px 0 5px;
|
34 |
-
padding: 2px;
|
35 |
-
}
|
36 |
-
.switch-tab a {
|
37 |
-
color: #fff;
|
38 |
-
text-decoration: none;
|
39 |
-
}
|
40 |
-
.switch-tab a:hover {
|
41 |
-
color: #D54E21;
|
42 |
-
|
43 |
-
}
|
44 |
-
#events-pagination {
|
45 |
-
text-align: center;
|
46 |
-
|
47 |
-
}
|
48 |
-
#events-pagination a {
|
49 |
-
margin: 0 20px 0 20px;
|
50 |
-
text-decoration: none;
|
51 |
-
width: 80px;
|
52 |
-
padding: 3px 0;
|
53 |
-
background: #FAF4B7;
|
54 |
-
border: 1px solid #ccc;
|
55 |
-
border-top: none;
|
56 |
-
}
|
57 |
-
#new-event {
|
58 |
-
float: left;
|
59 |
-
|
60 |
-
}
|
61 |
-
</style>";
|
62 |
-
echo $css;
|
63 |
-
}
|
64 |
-
add_action ( 'admin_print_scripts', 'dbem_admin_css' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/{support.php → help.php}
RENAMED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Display function for the support page. here we can give links to forums and special upgrade instructions e.g. migration features
|
4 |
*/
|
5 |
-
function
|
6 |
global $wpdb;
|
7 |
?>
|
8 |
<div class="wrap">
|
@@ -13,7 +13,7 @@ function em_admin_support(){
|
|
13 |
</p>
|
14 |
<?php
|
15 |
//Is this a previously imported installation?
|
16 |
-
$old_table_name = $wpdb->prefix.
|
17 |
if( $wpdb->get_var("SHOW TABLES LIKE '$old_table_name'") == $old_table_name ){
|
18 |
?>
|
19 |
<div class="updated">
|
@@ -22,7 +22,7 @@ function em_admin_support(){
|
|
22 |
<p>If something went wrong with the update to version 3 read on:</p>
|
23 |
<h3>Scenario 1: the plugin is working, but for some reason the old events weren't imported</h3>
|
24 |
<p>You can safely reimport your old events from the previous tables without any risk of deleting them. However, if you click the link below <b>YOU WILL OVERWRITE ANY NEW EVENTS YOU CREATED IN VERSION 3</b></p>
|
25 |
-
<p><a onclick="return confirm('Are you sure you want to do this? Any new changes made since updating will be overwritten by your old ones, and this cannot be undone');" href="<?php echo wp_nonce_url( get_bloginfo('wpurl').'/wp-admin/admin.php?page=events-manager-
|
26 |
<h3>Scenario 2: the plugin is not working, I want to go back to version 2!</h3>
|
27 |
<p>You can safely downgrade and will not lose any information.</p>
|
28 |
<ol>
|
2 |
/**
|
3 |
* Display function for the support page. here we can give links to forums and special upgrade instructions e.g. migration features
|
4 |
*/
|
5 |
+
function em_admin_help(){
|
6 |
global $wpdb;
|
7 |
?>
|
8 |
<div class="wrap">
|
13 |
</p>
|
14 |
<?php
|
15 |
//Is this a previously imported installation?
|
16 |
+
$old_table_name = $wpdb->prefix.'dbem_events';
|
17 |
if( $wpdb->get_var("SHOW TABLES LIKE '$old_table_name'") == $old_table_name ){
|
18 |
?>
|
19 |
<div class="updated">
|
22 |
<p>If something went wrong with the update to version 3 read on:</p>
|
23 |
<h3>Scenario 1: the plugin is working, but for some reason the old events weren't imported</h3>
|
24 |
<p>You can safely reimport your old events from the previous tables without any risk of deleting them. However, if you click the link below <b>YOU WILL OVERWRITE ANY NEW EVENTS YOU CREATED IN VERSION 3</b></p>
|
25 |
+
<p><a onclick="return confirm('Are you sure you want to do this? Any new changes made since updating will be overwritten by your old ones, and this cannot be undone');" href="<?php echo wp_nonce_url( get_bloginfo('wpurl').'/wp-admin/admin.php?page=events-manager-help&em_reimport=1', 'em_reimport' ) ?>">Reimport Events from version 2</a></p>
|
26 |
<h3>Scenario 2: the plugin is not working, I want to go back to version 2!</h3>
|
27 |
<p>You can safely downgrade and will not lose any information.</p>
|
28 |
<ol>
|
admin/locations-search.php
CHANGED
@@ -7,7 +7,7 @@ require_once('../../../../wp-load.php');
|
|
7 |
|
8 |
global $wpdb;
|
9 |
|
10 |
-
$locations_table = $wpdb->prefix .
|
11 |
|
12 |
$term = (isset($_GET['term'])) ? '%'.$_GET['term'].'%' : '%'.$_GET['q'].'%';
|
13 |
$sql = $wpdb->prepare("
|
7 |
|
8 |
global $wpdb;
|
9 |
|
10 |
+
$locations_table = $wpdb->prefix . EM_LOCATIONS_TABLE;
|
11 |
|
12 |
$term = (isset($_GET['term'])) ? '%'.$_GET['term'].'%' : '%'.$_GET['q'].'%';
|
13 |
$sql = $wpdb->prepare("
|
admin/options.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
//
|
3 |
function em_options_save(){
|
4 |
if( current_user_can('activate_plugins') && !empty($_POST['em-submitted']) ){
|
5 |
//Build the array of options here
|
@@ -43,6 +43,17 @@ function dbem_options_subpanel() {
|
|
43 |
$(this).text(close_text);
|
44 |
}
|
45 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
});
|
47 |
</script>
|
48 |
<div class="wrap">
|
@@ -94,6 +105,8 @@ function dbem_options_subpanel() {
|
|
94 |
//Rest
|
95 |
dbem_options_radio_binary ( __( 'Show events page in lists?', 'dbem' ), 'dbem_list_events_page', __( 'Check this option if you want the events page to appear together with other pages in pages lists.', 'dbem' ) );
|
96 |
dbem_options_radio_binary ( __( 'Display calendar in events page?', 'dbem' ), 'dbem_display_calendar_in_events_page', __( 'This options allows to display the calendar in the events page, instead of the default list. It is recommended not to display both the calendar widget and a calendar page.','dbem' ) );
|
|
|
|
|
97 |
echo $save_button;
|
98 |
?>
|
99 |
</table>
|
@@ -127,6 +140,7 @@ function dbem_options_subpanel() {
|
|
127 |
dbem_options_input_text ( __( 'Small calendar title', 'dbem' ), 'dbem_small_calendar_event_title_format', __( 'The format of the title, corresponding to the text that appears when hovering on an eventful calendar day.', 'dbem' ) );
|
128 |
dbem_options_input_text ( __( 'Small calendar title separator', 'dbem' ), 'dbem_small_calendar_event_title_separator', __( 'The separator appearing on the above title when more than one events are taking place on the same day.', 'dbem' ) );
|
129 |
dbem_options_input_text ( __( 'Full calendar events format', 'dbem' ), 'dbem_full_calendar_event_format', __( 'The format of each event when displayed in the full calendar. Remember to include <code>li</code> tags before and after the event.', 'dbem' ) );
|
|
|
130 |
echo $save_button;
|
131 |
?>
|
132 |
</table>
|
1 |
<?php
|
2 |
+
//Function composing the options subpanel
|
3 |
function em_options_save(){
|
4 |
if( current_user_can('activate_plugins') && !empty($_POST['em-submitted']) ){
|
5 |
//Build the array of options here
|
43 |
$(this).text(close_text);
|
44 |
}
|
45 |
});
|
46 |
+
//For rewrite titles
|
47 |
+
$('input:radio[name=dbem_disable_title_rewrites]').live('change',function(){
|
48 |
+
checked_check = $('input:radio[name=dbem_disable_title_rewrites]:checked');
|
49 |
+
if( checked_check.val() == 1 ){
|
50 |
+
$('#dbem_title_html_row').show();
|
51 |
+
}else{
|
52 |
+
$('#dbem_title_html_row').hide();
|
53 |
+
}
|
54 |
+
});
|
55 |
+
$('input:radio[name=dbem_disable_title_rewrites]').trigger('change');
|
56 |
+
|
57 |
});
|
58 |
</script>
|
59 |
<div class="wrap">
|
105 |
//Rest
|
106 |
dbem_options_radio_binary ( __( 'Show events page in lists?', 'dbem' ), 'dbem_list_events_page', __( 'Check this option if you want the events page to appear together with other pages in pages lists.', 'dbem' ) );
|
107 |
dbem_options_radio_binary ( __( 'Display calendar in events page?', 'dbem' ), 'dbem_display_calendar_in_events_page', __( 'This options allows to display the calendar in the events page, instead of the default list. It is recommended not to display both the calendar widget and a calendar page.','dbem' ) );
|
108 |
+
dbem_options_radio_binary ( __( 'Disable title rewriting?', 'dbem' ), 'dbem_disable_title_rewrites', __( "Some wordpress themes don't follow best practices when generating navigation menus, and so the automatic title rewriting feature may cause problems, if your menus aren't working correctly on the event pages, try setting this to 'Yes', and provide an appropriate HTML title format below.",'dbem' ) );
|
109 |
+
dbem_options_input_text ( __( 'Event Manager titles', 'dbem' ), 'dbem_title_html', __( "This only setting only matters if you selected 'Yes' to above. You will notice the events page titles aren't being rewritten, and you have a new title underneath the default page name. This is where you control the HTML of this title. Make sure you keep the #_PAGETITLE placeholder here, as that's what is rewritten by events manager. To control what's rewritten in this title, see settings further down for page titles.", 'dbem' ) );
|
110 |
echo $save_button;
|
111 |
?>
|
112 |
</table>
|
140 |
dbem_options_input_text ( __( 'Small calendar title', 'dbem' ), 'dbem_small_calendar_event_title_format', __( 'The format of the title, corresponding to the text that appears when hovering on an eventful calendar day.', 'dbem' ) );
|
141 |
dbem_options_input_text ( __( 'Small calendar title separator', 'dbem' ), 'dbem_small_calendar_event_title_separator', __( 'The separator appearing on the above title when more than one events are taking place on the same day.', 'dbem' ) );
|
142 |
dbem_options_input_text ( __( 'Full calendar events format', 'dbem' ), 'dbem_full_calendar_event_format', __( 'The format of each event when displayed in the full calendar. Remember to include <code>li</code> tags before and after the event.', 'dbem' ) );
|
143 |
+
dbem_options_radio_binary ( __( 'Show list on day with single event?', 'dbem' ), 'dbem_display_calendar_day_single', __( "By default, if a calendar day only has one event, it display a single event when clicking on the link of that calendar date. If you select Yes here, you will get always see a list of events.",'dbem' ) );
|
144 |
echo $save_button;
|
145 |
?>
|
146 |
</table>
|
ajax.php
CHANGED
@@ -5,7 +5,7 @@ function em_ajax_actions() {
|
|
5 |
if(isset($_REQUEST['dbem_ajax_action']) && $_REQUEST['dbem_ajax_action'] == 'booking_data') {
|
6 |
if(isset($_REQUEST['id'])){
|
7 |
$EM_Event = new EM_Event($_REQUEST['id']);
|
8 |
-
echo "[
|
9 |
}
|
10 |
die();
|
11 |
}
|
5 |
if(isset($_REQUEST['dbem_ajax_action']) && $_REQUEST['dbem_ajax_action'] == 'booking_data') {
|
6 |
if(isset($_REQUEST['id'])){
|
7 |
$EM_Event = new EM_Event($_REQUEST['id']);
|
8 |
+
echo "[{bookedSeats:".$EM_Event->get_bookings()->get_booked_seats().", availableSeats:".$EM_Event->get_bookings()->get_available_seats()."}]";
|
9 |
}
|
10 |
die();
|
11 |
}
|
bookings.php
CHANGED
@@ -29,7 +29,7 @@ function em_actions_bookings() {
|
|
29 |
$EM_Person = new EM_Person();
|
30 |
if( $EM_Person->get(array('person_name' => $_POST['person_name'], 'person_email' => $_POST['person_email'])) ){
|
31 |
$deleted = 0;
|
32 |
-
foreach($EM_Event->get_bookings()->
|
33 |
if($EM_Booking->person->id == $EM_Person->id ){
|
34 |
$EM_Booking->delete();
|
35 |
$deleted++;
|
29 |
$EM_Person = new EM_Person();
|
30 |
if( $EM_Person->get(array('person_name' => $_POST['person_name'], 'person_email' => $_POST['person_email'])) ){
|
31 |
$deleted = 0;
|
32 |
+
foreach($EM_Event->get_bookings()->bookings as $EM_Booking){
|
33 |
if($EM_Booking->person->id == $EM_Person->id ){
|
34 |
$EM_Booking->delete();
|
35 |
$deleted++;
|
classes/booking.php
CHANGED
@@ -35,7 +35,7 @@ class EM_Booking extends EM_Object{
|
|
35 |
}elseif( $booking_data > 0 ){
|
36 |
//Retreiving from the database
|
37 |
global $wpdb;
|
38 |
-
$sql = "SELECT * FROM ". $wpdb->prefix .
|
39 |
$booking = $wpdb->get_row($sql, ARRAY_A);
|
40 |
//Get the person for this booking
|
41 |
$this->person = new EM_Person($booking['person_id']);
|
@@ -51,7 +51,7 @@ class EM_Booking extends EM_Object{
|
|
51 |
*/
|
52 |
function save(){
|
53 |
global $wpdb;
|
54 |
-
$table = $wpdb->prefix.
|
55 |
//First the person
|
56 |
//Does this person exist?
|
57 |
$person_result = $this->person->save();
|
@@ -100,7 +100,7 @@ class EM_Booking extends EM_Object{
|
|
100 |
$conds[] = "`$key`='$value'";
|
101 |
}
|
102 |
}
|
103 |
-
$sql = "SELECT * FROM ". $wpdb->
|
104 |
$result = $wpdb->get_row($sql, ARRAY_A);
|
105 |
if($result){
|
106 |
$this->to_object($result);
|
@@ -116,7 +116,7 @@ class EM_Booking extends EM_Object{
|
|
116 |
*/
|
117 |
function delete(){
|
118 |
global $wpdb;
|
119 |
-
$sql = $wpdb->prepare("DELETE FROM ". $wpdb->prefix.
|
120 |
return ( $wpdb->query( $sql ) !== false );
|
121 |
}
|
122 |
|
35 |
}elseif( $booking_data > 0 ){
|
36 |
//Retreiving from the database
|
37 |
global $wpdb;
|
38 |
+
$sql = "SELECT * FROM ". $wpdb->prefix . EM_BOOKINGS_TABLE ." WHERE booking_id ='$booking_data'";
|
39 |
$booking = $wpdb->get_row($sql, ARRAY_A);
|
40 |
//Get the person for this booking
|
41 |
$this->person = new EM_Person($booking['person_id']);
|
51 |
*/
|
52 |
function save(){
|
53 |
global $wpdb;
|
54 |
+
$table = $wpdb->prefix.EM_BOOKINGS_TABLE;
|
55 |
//First the person
|
56 |
//Does this person exist?
|
57 |
$person_result = $this->person->save();
|
100 |
$conds[] = "`$key`='$value'";
|
101 |
}
|
102 |
}
|
103 |
+
$sql = "SELECT * FROM ". $wpdb->EM_BOOKINGS_TABLE ." WHERE " . implode(' AND ', $conds) ;
|
104 |
$result = $wpdb->get_row($sql, ARRAY_A);
|
105 |
if($result){
|
106 |
$this->to_object($result);
|
116 |
*/
|
117 |
function delete(){
|
118 |
global $wpdb;
|
119 |
+
$sql = $wpdb->prepare("DELETE FROM ". $wpdb->prefix.EM_BOOKINGS_TABLE . " WHERE booking_id=%d", $this->id);
|
120 |
return ( $wpdb->query( $sql ) !== false );
|
121 |
}
|
122 |
|
classes/bookings.php
CHANGED
@@ -37,7 +37,7 @@ class EM_Bookings extends EM_Object{
|
|
37 |
global $wpdb;
|
38 |
$this->event_id = $event->id;
|
39 |
$this->seats = $event->seats;
|
40 |
-
$sql = "SELECT * FROM ". $wpdb->prefix .
|
41 |
$bookings = $wpdb->get_results($sql, ARRAY_A);
|
42 |
foreach ($bookings as $booking){
|
43 |
$this->bookings[] = new EM_Booking($booking);
|
@@ -99,7 +99,7 @@ class EM_Bookings extends EM_Object{
|
|
99 |
*/
|
100 |
function delete(){
|
101 |
global $wpdb;
|
102 |
-
$result = $wpdb->query("DELETE FROM ".$wpdb->prefix.
|
103 |
return ($result);
|
104 |
}
|
105 |
|
@@ -162,14 +162,17 @@ class EM_Bookings extends EM_Object{
|
|
162 |
// email specific placeholders
|
163 |
// TODO make placeholders for RSVP consistent, we shouldn't need some of these as they're on the main events output function
|
164 |
$placeholders = array(
|
165 |
-
'#
|
166 |
-
'#
|
167 |
-
'#
|
168 |
-
'#
|
169 |
-
'#
|
170 |
-
'#
|
171 |
-
'#
|
172 |
-
'#
|
|
|
|
|
|
|
173 |
);
|
174 |
foreach($placeholders as $key => $value) {
|
175 |
$contact_body= str_replace($key, $value, $contact_body);
|
37 |
global $wpdb;
|
38 |
$this->event_id = $event->id;
|
39 |
$this->seats = $event->seats;
|
40 |
+
$sql = "SELECT * FROM ". $wpdb->prefix . EM_BOOKINGS_TABLE ." b, ". $wpdb->prefix . EM_PEOPLE_TABLE ." p WHERE event_id ='{$this->event_id}' AND p.person_id=b.person_id";
|
41 |
$bookings = $wpdb->get_results($sql, ARRAY_A);
|
42 |
foreach ($bookings as $booking){
|
43 |
$this->bookings[] = new EM_Booking($booking);
|
99 |
*/
|
100 |
function delete(){
|
101 |
global $wpdb;
|
102 |
+
$result = $wpdb->query("DELETE FROM ".$wpdb->prefix.EM_BOOKINGS_TABLE." WHERE event_id='{$this->event_id}'");
|
103 |
return ($result);
|
104 |
}
|
105 |
|
162 |
// email specific placeholders
|
163 |
// TODO make placeholders for RSVP consistent, we shouldn't need some of these as they're on the main events output function
|
164 |
$placeholders = array(
|
165 |
+
'#_RESPNAME' => '#_BOOKINGNAME',//Depreciated
|
166 |
+
'#_RESPEMAIL' => '#_BOOKINGEMAIL',//Depreciated
|
167 |
+
'#_RESPPHONE' => '#_BOOKINGPHONE',//Depreciated
|
168 |
+
'#_SPACES' => '#_BOOKINGSPACES',//Depreciated
|
169 |
+
'#_COMMENT' => '#_BOOKINGCOMMENT',//Depreciated
|
170 |
+
'#_RESERVEDSPACES' => '#_BOOKEDSEATS',//Depreciated
|
171 |
+
'#_BOOKINGNAME' => $EM_Booking->person->name,
|
172 |
+
'#_BOOKINGEMAIL' => $EM_Booking->person->email,
|
173 |
+
'#_BOOKINGPHONE' => $EM_Booking->person->phone,
|
174 |
+
'#_BOOKINGSPACES' => $EM_Booking->seats,
|
175 |
+
'#_BOOKINGCOMMENT' => $EM_Booking->comment,
|
176 |
);
|
177 |
foreach($placeholders as $key => $value) {
|
178 |
$contact_body= str_replace($key, $value, $contact_body);
|
classes/calendar.php
CHANGED
@@ -321,6 +321,7 @@ class EM_Calendar extends EM_Object {
|
|
321 |
$defaults = array(
|
322 |
'full' => 0, //Will display a full calendar with event names
|
323 |
'long_events' => 0, //Events that last longer than a day
|
|
|
324 |
);
|
325 |
$atts = parent::get_default_search($defaults, $array);
|
326 |
$atts['full'] = ($atts['full']==true) ? 1:0;
|
321 |
$defaults = array(
|
322 |
'full' => 0, //Will display a full calendar with event names
|
323 |
'long_events' => 0, //Events that last longer than a day
|
324 |
+
'scope' => 'future'
|
325 |
);
|
326 |
$atts = parent::get_default_search($defaults, $array);
|
327 |
$atts['full'] = ($atts['full']==true) ? 1:0;
|
classes/category.php
CHANGED
@@ -4,7 +4,7 @@ class EM_Category extends EM_Object {
|
|
4 |
|
5 |
function get( $category_id = false ){
|
6 |
global $wpdb;
|
7 |
-
$categories_table = $wpdb->prefix.
|
8 |
if( $category_id === false ){
|
9 |
//No id supplied, so we return everything
|
10 |
return $wpdb->get_results("SELECT * FROM $categories_table", ARRAY_A);
|
4 |
|
5 |
function get( $category_id = false ){
|
6 |
global $wpdb;
|
7 |
+
$categories_table = $wpdb->prefix.EM_CATEGORIES_TABLE;
|
8 |
if( $category_id === false ){
|
9 |
//No id supplied, so we return everything
|
10 |
return $wpdb->get_results("SELECT * FROM $categories_table", ARRAY_A);
|
classes/event.php
CHANGED
@@ -86,8 +86,8 @@ class EM_Event extends EM_Object{
|
|
86 |
$this->location = new EM_Location( $event );
|
87 |
}elseif( is_numeric($event_data) && $event_data > 0 ){
|
88 |
//Retreiving from the database
|
89 |
-
$events_table = $wpdb->prefix .
|
90 |
-
$locations_table = $wpdb->prefix .
|
91 |
$sql = "
|
92 |
SELECT * FROM $events_table
|
93 |
LEFT JOIN $locations_table ON {$locations_table}.location_id={$events_table}.location_id
|
@@ -201,7 +201,7 @@ class EM_Event extends EM_Object{
|
|
201 |
//FIXME Event doesn't save title when inserting first time
|
202 |
global $wpdb, $current_user;
|
203 |
get_currentuserinfo();;
|
204 |
-
$events_table = $wpdb->prefix.
|
205 |
//First let's save the location, no location no event!
|
206 |
if ( !$this->location->id && !$this->location->save() ){ //shouldn't try to save if location exists
|
207 |
$this->errors[] = __ ( 'There was a problem saving the location so event was not saved.', 'dbem' );
|
@@ -283,7 +283,7 @@ class EM_Event extends EM_Object{
|
|
283 |
//Delete the recurrences then this recurrence event
|
284 |
$this->delete_events();
|
285 |
}
|
286 |
-
$result = $wpdb->query ( $wpdb->prepare("DELETE FROM ". $wpdb->prefix .
|
287 |
if($result !== false){
|
288 |
$bookings_result = $this->get_bookings()->delete();
|
289 |
}
|
@@ -296,7 +296,7 @@ class EM_Event extends EM_Object{
|
|
296 |
function duplicate(){
|
297 |
global $wpdb, $EZSQL_ERROR;
|
298 |
//First, duplicate.
|
299 |
-
$event_table_name = $wpdb->prefix .
|
300 |
$eventArray = $this->to_array();
|
301 |
unset($eventArray['event_id']);
|
302 |
$result = $wpdb->insert($event_table_name, $eventArray);
|
@@ -345,7 +345,7 @@ class EM_Event extends EM_Object{
|
|
345 |
*/
|
346 |
function get_category() {
|
347 |
global $wpdb;
|
348 |
-
$sql = "SELECT category_id, category_name FROM ".$wpdb->prefix.
|
349 |
$category = $wpdb->get_row($sql, ARRAY_A);
|
350 |
return $category;
|
351 |
}
|
@@ -355,7 +355,7 @@ class EM_Event extends EM_Object{
|
|
355 |
*/
|
356 |
function delete_bookings(){
|
357 |
global $wpdb;
|
358 |
-
return $wpdb->query( $wpdb->prepare("DELETE FROM ".$wpdb->prefix.
|
359 |
}
|
360 |
|
361 |
/**
|
@@ -402,162 +402,122 @@ class EM_Event extends EM_Object{
|
|
402 |
*/
|
403 |
function output($format, $target="html") {
|
404 |
$event_string = $format;
|
405 |
-
|
406 |
foreach($placeholders[0] as $result) {
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
if ($this->rsvp) {
|
448 |
-
$rsvp_add_module .= em_add_booking_form();
|
449 |
-
} else {
|
450 |
-
$rsvp_add_module .= "";
|
451 |
-
}
|
452 |
-
$event_string = str_replace($result, $rsvp_add_module , $event_string );
|
453 |
-
}
|
454 |
-
if (preg_match('/#_REMOVEBOOKINGFORM/', $result)) {
|
455 |
-
$rsvp_is_active = get_option('dbem_rsvp_enabled');
|
456 |
-
if ($this->rsvp) {
|
457 |
-
$rsvp_delete_module .= em_delete_booking_form();
|
458 |
-
} else {
|
459 |
-
$rsvp_delete_module .= "";
|
460 |
-
}
|
461 |
-
$event_string = str_replace($result, $rsvp_delete_module , $event_string );
|
462 |
-
}
|
463 |
-
if (preg_match('/#_AVAILABLESEATS/', $result)) {
|
464 |
-
$rsvp_is_active = get_option('dbem_rsvp_enabled');
|
465 |
-
if ($this->rsvp) {
|
466 |
-
$availble_seats = $this->get_bookings()->get_available_seats();
|
467 |
-
} else {
|
468 |
-
$availble_seats = "0";
|
469 |
-
}
|
470 |
-
$event_string = str_replace($result, $availble_seats , $event_string );
|
471 |
-
}
|
472 |
-
if (preg_match('/#_LINKEDNAME/', $result)) {
|
473 |
-
$events_page_id = get_option('dbem_events_page');
|
474 |
-
$event_page_link = get_permalink($events_page_id);
|
475 |
-
if (stristr($event_page_link, "?"))
|
476 |
-
$joiner = "&";
|
477 |
-
else
|
478 |
-
$joiner = "?";
|
479 |
-
$event_string = str_replace($result, "<a href='".get_permalink($events_page_id).$joiner."event_id=".$this->id."' title='".$this->name."'>".$this->name."</a>" , $event_string );
|
480 |
-
}
|
481 |
-
if (preg_match('/#_EVENTPAGEURL(\[(.+\)]))?/', $result)) {
|
482 |
-
$events_page_id = get_option('dbem_events_page');
|
483 |
-
if (stristr($event_page_link, "?"))
|
484 |
-
$joiner = "&";
|
485 |
-
else
|
486 |
-
$joiner = "?";
|
487 |
-
$event_string = str_replace($result, get_permalink($events_page_id).$joiner."event_id=".$this->id , $event_string );
|
488 |
-
}
|
489 |
-
|
490 |
-
if (preg_match('/#_(NAME|NOTES|SEATS|EXCERPT)/', $result)) {
|
491 |
-
$field = ltrim(strtolower($result), "#_");
|
492 |
-
$field_value = $this->$field;
|
493 |
-
|
494 |
-
if ($field == "notes" || $field == "excerpt") {
|
495 |
-
if ($target == "html"){
|
496 |
-
//If excerpt, we use more link text
|
497 |
-
if($field == "excerpt"){
|
498 |
-
$matches = explode('<!--more-->', $this->notes);
|
499 |
-
$field_value = $matches[0];
|
500 |
-
$field_value = apply_filters('dbem_notes_excerpt', $field_value);
|
501 |
-
}else{
|
502 |
-
$field_value = apply_filters('dbem_notes', $field_value);
|
503 |
-
}
|
504 |
-
//$field_value = apply_filters('the_content', $field_value); - chucks a wobbly if we do this.
|
505 |
}else{
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
513 |
}else{
|
514 |
-
$
|
515 |
}
|
516 |
-
$field_value = apply_filters('the_content_rss', $field_value);
|
517 |
-
}
|
518 |
}
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
533 |
}
|
534 |
-
if
|
535 |
-
|
536 |
-
$
|
|
|
537 |
}
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
|
|
|
|
542 |
}
|
543 |
// matches all PHP END time placeholders for endtime
|
544 |
-
if (preg_match('/^#@[
|
545 |
-
$event_string = str_replace($result, mysql2date(ltrim($result, "#@"), $this->end_date), $event_string );
|
546 |
-
}
|
547 |
-
// matches all PHP START time placeholders
|
548 |
-
if (preg_match('/^#[aABgGhHisueIOPTZcrU]$/', $result)) {
|
549 |
-
$event_string = str_replace($result, mysql2date(ltrim($result, "#"), "2000-10-10 ".$this->start_time),$event_string );
|
550 |
-
}
|
551 |
-
// matches all PHP END time placeholders
|
552 |
-
if (preg_match('/^#@[aABgGhHisueIOPTZcrU]$/', $result)) {
|
553 |
-
$event_string = str_replace($result, mysql2date(ltrim($result, "#@"), "2000-10-10 ".$this->end_time),$event_string );
|
554 |
-
}
|
555 |
-
//Add a placeholder for categories
|
556 |
-
if (preg_match('/^#_CATEGORY$/', $result)) {
|
557 |
-
$category = EM_Category::get($this->category_id);
|
558 |
-
$event_string = str_replace($result, $category['category_name'], $event_string );
|
559 |
-
}
|
560 |
-
|
561 |
}
|
562 |
//Time place holder that doesn't show if empty.
|
563 |
preg_match_all('/#@?_\{[A-Za-z0-9 -\/,\.\\\]+\}/', $format, $results);
|
@@ -569,7 +529,7 @@ class EM_Event extends EM_Object{
|
|
569 |
$date = 'start_date';
|
570 |
$offset = 3;
|
571 |
}
|
572 |
-
if( $date == '
|
573 |
$event_string = str_replace($result, '', $event_string);
|
574 |
}else{
|
575 |
$event_string = str_replace($result, mysql2date(substr($result, $offset, (strlen($result)-($offset+1)) ), $this->$date),$event_string );
|
@@ -621,7 +581,7 @@ class EM_Event extends EM_Object{
|
|
621 |
foreach( $matching_days as $day ) {
|
622 |
$event['event_start_date'] = date("Y-m-d", $day);
|
623 |
$event['event_end_date'] = $event['event_start_date'];
|
624 |
-
$event_saves[] = $wpdb->insert($wpdb->prefix.
|
625 |
//TODO should be EM_DEBUG, and do we really need it?
|
626 |
if( DEBUG ){ echo "Entering recurrence " . date("D d M Y", $day)."<br/>"; }
|
627 |
}
|
@@ -851,4 +811,35 @@ class EM_Event extends EM_Object{
|
|
851 |
return $event;
|
852 |
}
|
853 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
854 |
?>
|
86 |
$this->location = new EM_Location( $event );
|
87 |
}elseif( is_numeric($event_data) && $event_data > 0 ){
|
88 |
//Retreiving from the database
|
89 |
+
$events_table = $wpdb->prefix . EM_EVENTS_TABLE;
|
90 |
+
$locations_table = $wpdb->prefix . EM_LOCATIONS_TABLE;
|
91 |
$sql = "
|
92 |
SELECT * FROM $events_table
|
93 |
LEFT JOIN $locations_table ON {$locations_table}.location_id={$events_table}.location_id
|
201 |
//FIXME Event doesn't save title when inserting first time
|
202 |
global $wpdb, $current_user;
|
203 |
get_currentuserinfo();;
|
204 |
+
$events_table = $wpdb->prefix.EM_EVENTS_TABLE;
|
205 |
//First let's save the location, no location no event!
|
206 |
if ( !$this->location->id && !$this->location->save() ){ //shouldn't try to save if location exists
|
207 |
$this->errors[] = __ ( 'There was a problem saving the location so event was not saved.', 'dbem' );
|
283 |
//Delete the recurrences then this recurrence event
|
284 |
$this->delete_events();
|
285 |
}
|
286 |
+
$result = $wpdb->query ( $wpdb->prepare("DELETE FROM ". $wpdb->prefix . EM_EVENTS_TABLE ." WHERE event_id=%d", $this->id) );
|
287 |
if($result !== false){
|
288 |
$bookings_result = $this->get_bookings()->delete();
|
289 |
}
|
296 |
function duplicate(){
|
297 |
global $wpdb, $EZSQL_ERROR;
|
298 |
//First, duplicate.
|
299 |
+
$event_table_name = $wpdb->prefix . EM_EVENTS_TABLE;
|
300 |
$eventArray = $this->to_array();
|
301 |
unset($eventArray['event_id']);
|
302 |
$result = $wpdb->insert($event_table_name, $eventArray);
|
345 |
*/
|
346 |
function get_category() {
|
347 |
global $wpdb;
|
348 |
+
$sql = "SELECT category_id, category_name FROM ".$wpdb->prefix.EM_EVENTS_TABLE." LEFT JOIN ".$wpdb->prefix.EM_CATEGORIES_TABLE." ON category_id=event_category_id WHERE event_id ='".$this->id."'";
|
349 |
$category = $wpdb->get_row($sql, ARRAY_A);
|
350 |
return $category;
|
351 |
}
|
355 |
*/
|
356 |
function delete_bookings(){
|
357 |
global $wpdb;
|
358 |
+
return $wpdb->query( $wpdb->prepare("DELETE FROM ".$wpdb->prefix.EM_BOOKINGS_TABLE." WHERE event_id=%d", $this->id) );
|
359 |
}
|
360 |
|
361 |
/**
|
402 |
*/
|
403 |
function output($format, $target="html") {
|
404 |
$event_string = $format;
|
405 |
+
preg_match_all("/#@?_?[A-Za-z0-9]+/", $format, $placeholders);
|
406 |
foreach($placeholders[0] as $result) {
|
407 |
+
$match = true;
|
408 |
+
$replace = '';
|
409 |
+
switch( $result ){
|
410 |
+
//Event Details
|
411 |
+
case '#_NAME':
|
412 |
+
$replace = $this->name;
|
413 |
+
break;
|
414 |
+
case '#_NOTES':
|
415 |
+
case '#_EXCERPT':
|
416 |
+
//SEE AT BOTTOM OF FILE FOR OLD TARGET FILTERS FROM 2.x
|
417 |
+
$replace = $this->notes;
|
418 |
+
if($result == "#_EXCERPT"){
|
419 |
+
$matches = explode('<!--more-->', $this->notes);
|
420 |
+
$replace = $matches[0];
|
421 |
+
}
|
422 |
+
break;
|
423 |
+
case '#_CATEGORY':
|
424 |
+
$category = EM_Category::get($this->category_id);
|
425 |
+
$replace = $category['category_name'];
|
426 |
+
break;
|
427 |
+
//Times
|
428 |
+
case '#_24HSTARTTIME':
|
429 |
+
case '#_24HENDTIME':
|
430 |
+
$time = ($result == '#_24HSTARTTIME') ? $this->start_time:$this->end_time;
|
431 |
+
$replace = substr($time, 0,5);
|
432 |
+
break;
|
433 |
+
case '#_12HSTARTTIME':
|
434 |
+
case '#_12HENDTIME':
|
435 |
+
$time = ($result == '#_12HSTARTTIME') ? $this->start_time:$this->end_time;
|
436 |
+
$replace = date('g:i A', strtotime($time));
|
437 |
+
break;
|
438 |
+
//Links
|
439 |
+
case '#_EVENTPAGEURL': //Depreciated
|
440 |
+
case '#_LINKEDNAME': //Depreciated
|
441 |
+
case '#_EVENTURL': //Just the URL
|
442 |
+
case '#_EVENTLINK': //HTML Link
|
443 |
+
$joiner = (stristr(EM_URI, "?")) ? "&" : "?";
|
444 |
+
$event_link = EM_URI.$joiner."event_id=".$this->id;
|
445 |
+
if($result == '#_LINKEDNAME' || $result == '#_EVENTLINK'){
|
446 |
+
$replace = "<a href='{$event_link}' title='{$this->name}'>{$this->name}</a>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
447 |
}else{
|
448 |
+
$replace = $event_link;
|
449 |
+
}
|
450 |
+
break;
|
451 |
+
case '#_EDITEVENTLINK':
|
452 |
+
if(is_user_logged_in()){
|
453 |
+
//TODO user should have permission to edit the event
|
454 |
+
$replace = "<a href=' ".get_bloginfo('wpurl')."/wp-admin/edit.php?page=events-manager/events-manager.php&action=edit_event&event_id=".$this->id."'>".__('Edit').' '.__('Event', 'dbem')."</a>";
|
455 |
+
}
|
456 |
+
break;
|
457 |
+
//Bookings
|
458 |
+
case '#_ADDBOOKINGFORM':
|
459 |
+
case '#_REMOVEBOOKINGFORM':
|
460 |
+
case '#_BOOKINGFORM':
|
461 |
+
if ($this->rsvp && get_option('dbem_rsvp_enabled')){
|
462 |
+
if($result == '#_BOOKINGFORM'){
|
463 |
+
$replace = em_add_booking_form().em_delete_booking_form();
|
464 |
}else{
|
465 |
+
$replace = ($result == '#_ADDBOOKINGFORM') ? em_add_booking_form():em_delete_booking_form();
|
466 |
}
|
|
|
|
|
467 |
}
|
468 |
+
break;
|
469 |
+
case '#_AVAILABLESEATS': //Depreciated
|
470 |
+
case '#_AVAILABLESPACES':
|
471 |
+
if ($this->rsvp && get_option('dbem_rsvp_enabled')) {
|
472 |
+
$replace = $this->get_bookings()->get_available_seats();
|
473 |
+
} else {
|
474 |
+
$replace = "0";
|
475 |
+
}
|
476 |
+
break;
|
477 |
+
case '#_BOOKEDSEATS': //Depreciated
|
478 |
+
case '#_BOOKEDSPACES':
|
479 |
+
if ($this->rsvp && get_option('dbem_rsvp_enabled')) {
|
480 |
+
$replace = $this->get_bookings()->get_booked_seats();
|
481 |
+
} else {
|
482 |
+
$replace = "0";
|
483 |
+
}
|
484 |
+
break;
|
485 |
+
case '#_SEATS': //Depreciated
|
486 |
+
case '#_SPACES':
|
487 |
+
$replace = $this->seats;
|
488 |
+
break;
|
489 |
+
//Contact Person
|
490 |
+
case '#_CONTACTNAME':
|
491 |
+
case '#_CONTACTPERSON': //Depreciated (your call, I think name is better)
|
492 |
+
$replace = $this->contact->display_name;
|
493 |
+
break;
|
494 |
+
case '#_CONTACTEMAIL':
|
495 |
+
case '#_CONTACTMAIL': //Depreciated
|
496 |
+
$replace = dbem_ascii_encode($this->contact->user_email);
|
497 |
+
break;
|
498 |
+
case '#_CONTACTPHONE':
|
499 |
+
$replace = ( $this->contact->phone != '') ? $this->contact->phone : __('N/A', 'dbem');
|
500 |
+
break;
|
501 |
+
default:
|
502 |
+
$match = false;
|
503 |
+
break;
|
504 |
}
|
505 |
+
if($match){ //if true, we've got a placeholder that needs replacing
|
506 |
+
//TODO FILTER - placeholder filter
|
507 |
+
$replace = apply_filters('em_placeholder', $replace, $result, $target); //USE WITH CAUTION! THIS MIGHT GET RENAMED
|
508 |
+
$event_string = str_replace($result, $replace , $event_string );
|
509 |
}
|
510 |
+
}
|
511 |
+
//Time placeholders
|
512 |
+
foreach($placeholders[0] as $result) {
|
513 |
+
// matches all PHP START date and time placeholders
|
514 |
+
if (preg_match('/^#[dDjlNSwzWFmMntLoYyaABgGhHisueIOPTZcrU]$/', $result)) {
|
515 |
+
$event_string = str_replace($result, mysql2date(ltrim($result, "#"), $this->start_date.$this->start_time),$event_string );
|
516 |
}
|
517 |
// matches all PHP END time placeholders for endtime
|
518 |
+
if (preg_match('/^#@[dDjlNSwzWFmMntLoYyaABgGhHisueIOPTZcrU]$/', $result)) {
|
519 |
+
$event_string = str_replace($result, mysql2date(ltrim($result, "#@"), $this->end_date.$this->end_time), $event_string );
|
520 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
521 |
}
|
522 |
//Time place holder that doesn't show if empty.
|
523 |
preg_match_all('/#@?_\{[A-Za-z0-9 -\/,\.\\\]+\}/', $format, $results);
|
529 |
$date = 'start_date';
|
530 |
$offset = 3;
|
531 |
}
|
532 |
+
if( $date == 'end_date' && $this->$date == $this->start_date ){
|
533 |
$event_string = str_replace($result, '', $event_string);
|
534 |
}else{
|
535 |
$event_string = str_replace($result, mysql2date(substr($result, $offset, (strlen($result)-($offset+1)) ), $this->$date),$event_string );
|
581 |
foreach( $matching_days as $day ) {
|
582 |
$event['event_start_date'] = date("Y-m-d", $day);
|
583 |
$event['event_end_date'] = $event['event_start_date'];
|
584 |
+
$event_saves[] = $wpdb->insert($wpdb->prefix.EM_EVENTS_TABLE, $event, $this->get_types($event));
|
585 |
//TODO should be EM_DEBUG, and do we really need it?
|
586 |
if( DEBUG ){ echo "Entering recurrence " . date("D d M Y", $day)."<br/>"; }
|
587 |
}
|
811 |
return $event;
|
812 |
}
|
813 |
}
|
814 |
+
|
815 |
+
//TODO placeholder targets filtering could be streamlined better
|
816 |
+
/**
|
817 |
+
* This is a temporary filter function which mimicks the old filters in the old 2.x placeholders function
|
818 |
+
* @param unknown_type $replace
|
819 |
+
* @param unknown_type $placeholder
|
820 |
+
* @param unknown_type $target
|
821 |
+
* @return mixed
|
822 |
+
*/
|
823 |
+
function em_placeholder_targets($replace,$placeholder,$target){
|
824 |
+
if( ($placeholder == "#_EXCERPT" || $placeholder == "#_LOCATIONEXCERPT") && $target == 'html' ){
|
825 |
+
$replace = apply_filters('dbem_notes_excerpt', $replace);
|
826 |
+
}elseif( $placeholder == "#_NOTES" || $placeholder == "#_EXCERPT" || $placeholder == "#_LOCATIONEXCERPT" ){
|
827 |
+
if($target == 'html'){
|
828 |
+
$replace = apply_filters('dbem_notes', $replace);
|
829 |
+
}elseif($target == 'map'){
|
830 |
+
$replace = apply_filters('dbem_notes_map', $replace);
|
831 |
+
}else{
|
832 |
+
$replace = apply_filters('dbem_notes_rss', $replace);
|
833 |
+
$replace = apply_filters('the_content_rss', $replace);
|
834 |
+
}
|
835 |
+
}elseif( in_array($placeholder, array("#_NAME",'#_ADDRESS','#_LOCATION','#_TOWN')) ){
|
836 |
+
if ($target == "html"){
|
837 |
+
$replace = apply_filters('dbem_general', $replace);
|
838 |
+
}else{
|
839 |
+
$replace = apply_filters('dbem_general_rss', $replace);
|
840 |
+
}
|
841 |
+
}
|
842 |
+
return $replace;
|
843 |
+
}
|
844 |
+
add_filter('em_placeholder','em_placeholder_targets',1,3);
|
845 |
?>
|
classes/events.php
CHANGED
@@ -15,8 +15,8 @@ class EM_Events extends EM_Object {
|
|
15 |
*/
|
16 |
function get( $args = array() ) {
|
17 |
global $wpdb;
|
18 |
-
$events_table = $wpdb->prefix .
|
19 |
-
$locations_table = $wpdb->prefix .
|
20 |
|
21 |
//Quick version, we can accept an array of IDs, which is easy to retrieve
|
22 |
if( self::array_is_numeric($args) ){ //Array of numbers, assume they are event IDs to retreive
|
@@ -78,7 +78,7 @@ class EM_Events extends EM_Object {
|
|
78 |
*/
|
79 |
function count_date($date){
|
80 |
global $wpdb;
|
81 |
-
$table_name = $wpdb->prefix .
|
82 |
$sql = "SELECT COUNT(*) FROM $table_name WHERE (event_start_date like '$date') OR (event_start_date <= '$date' AND event_end_date >= '$date');";
|
83 |
return $wpdb->get_var ( $sql );
|
84 |
}
|
@@ -101,9 +101,9 @@ class EM_Events extends EM_Object {
|
|
101 |
if(self::array_is_numeric($event_ids)){
|
102 |
$condition = implode(" OR event_id=", $event_ids);
|
103 |
//Delete all the bookings
|
104 |
-
$result_bookings = $wpdb->query("DELETE FROM ". $wpdb->prefix .
|
105 |
//Now delete the events
|
106 |
-
$result = $wpdb->query ( "DELETE FROM ". $wpdb->prefix .
|
107 |
}
|
108 |
return true;
|
109 |
}
|
@@ -148,28 +148,5 @@ class EM_Events extends EM_Object {
|
|
148 |
$EM_Event_old = $EM_Event;
|
149 |
return $output;
|
150 |
}
|
151 |
-
|
152 |
-
/**
|
153 |
-
* Takes the array and provides a clean array of search parameters, along with details
|
154 |
-
* @param array $array
|
155 |
-
* @return array
|
156 |
-
*/
|
157 |
-
function get_default_search($array = array()){
|
158 |
-
//TODO trim these defaults, the EM_Object will have some of these already
|
159 |
-
$defaults = array(
|
160 |
-
'limit' => false,
|
161 |
-
'scope' => 'all',
|
162 |
-
'order' => 'ASC',
|
163 |
-
'format' => '',
|
164 |
-
'category' => 0,
|
165 |
-
'location' => 0,
|
166 |
-
'offset'=>0,
|
167 |
-
'recurrence'=>0,
|
168 |
-
'recurring'=>false ,
|
169 |
-
'month'=>'', //If this is set, month must be set
|
170 |
-
'year'=>'' //If this is set, takes precedence over scope
|
171 |
-
);
|
172 |
-
return parent::get_default_search($defaults, $array);
|
173 |
-
}
|
174 |
}
|
175 |
?>
|
15 |
*/
|
16 |
function get( $args = array() ) {
|
17 |
global $wpdb;
|
18 |
+
$events_table = $wpdb->prefix . EM_EVENTS_TABLE;
|
19 |
+
$locations_table = $wpdb->prefix . EM_LOCATIONS_TABLE;
|
20 |
|
21 |
//Quick version, we can accept an array of IDs, which is easy to retrieve
|
22 |
if( self::array_is_numeric($args) ){ //Array of numbers, assume they are event IDs to retreive
|
78 |
*/
|
79 |
function count_date($date){
|
80 |
global $wpdb;
|
81 |
+
$table_name = $wpdb->prefix . EM_EVENTS_TABLE;
|
82 |
$sql = "SELECT COUNT(*) FROM $table_name WHERE (event_start_date like '$date') OR (event_start_date <= '$date' AND event_end_date >= '$date');";
|
83 |
return $wpdb->get_var ( $sql );
|
84 |
}
|
101 |
if(self::array_is_numeric($event_ids)){
|
102 |
$condition = implode(" OR event_id=", $event_ids);
|
103 |
//Delete all the bookings
|
104 |
+
$result_bookings = $wpdb->query("DELETE FROM ". $wpdb->prefix . EM_BOOKINGS_TABLE ." WHERE event_id=$condition;");
|
105 |
//Now delete the events
|
106 |
+
$result = $wpdb->query ( "DELETE FROM ". $wpdb->prefix . EM_EVENTS_TABLE ." WHERE event_id=$condition;" );
|
107 |
}
|
108 |
return true;
|
109 |
}
|
148 |
$EM_Event_old = $EM_Event;
|
149 |
return $output;
|
150 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
}
|
152 |
?>
|
classes/location.php
CHANGED
@@ -44,7 +44,7 @@ class EM_Location extends EM_Object {
|
|
44 |
}elseif( $location_data > 0 ){
|
45 |
//Retreiving from the database
|
46 |
global $wpdb;
|
47 |
-
$sql = "SELECT * FROM ". $wpdb->prefix.
|
48 |
$location = $wpdb->get_row($sql, ARRAY_A);
|
49 |
}
|
50 |
//If gmap is turned off, values may not be returned and set, so we set it here
|
@@ -73,7 +73,7 @@ class EM_Location extends EM_Object {
|
|
73 |
|
74 |
function save(){
|
75 |
global $wpdb;
|
76 |
-
$table = $wpdb->prefix.
|
77 |
$data = $this->to_array();
|
78 |
unset($data['location_id']);
|
79 |
unset($data['location_image_url']);
|
@@ -90,7 +90,7 @@ class EM_Location extends EM_Object {
|
|
90 |
|
91 |
function delete(){
|
92 |
global $wpdb;
|
93 |
-
$table_name = $wpdb->prefix.
|
94 |
$sql = "DELETE FROM $table_name WHERE location_id = '{$this->id}';";
|
95 |
$wpdb->query($sql);
|
96 |
$this->image_delete();
|
@@ -99,7 +99,7 @@ class EM_Location extends EM_Object {
|
|
99 |
function get_image_url(){
|
100 |
if($this->image_url == ''){
|
101 |
foreach($this->mime_types as $type) {
|
102 |
-
$file_path = "/".
|
103 |
if( file_exists( ABSPATH . $file_path) ) {
|
104 |
$result = get_bloginfo('wpurl').$file_path;
|
105 |
$this->image_url = $result;
|
@@ -110,7 +110,7 @@ class EM_Location extends EM_Object {
|
|
110 |
}
|
111 |
|
112 |
function image_delete() {
|
113 |
-
$file_name= ABSPATH.
|
114 |
foreach($this->mime_types as $type) {
|
115 |
if (file_exists($file_name.".".$type))
|
116 |
unlink($file_name.".".$type);
|
@@ -120,12 +120,12 @@ class EM_Location extends EM_Object {
|
|
120 |
function image_upload(){
|
121 |
//TODO better image upload error handling
|
122 |
if ($_FILES['location_image']['size'] > 0 ) {
|
123 |
-
if( !file_exists(ABSPATH.
|
124 |
-
mkdir(ABSPATH.
|
125 |
}
|
126 |
$this->image_delete();
|
127 |
list($width, $height, $type, $attr) = getimagesize($_FILES['location_image']['tmp_name']);
|
128 |
-
$image_path = ABSPATH.
|
129 |
if (!move_uploaded_file($_FILES['location_image']['tmp_name'], $image_path)){
|
130 |
$this->errors = __('The image could not be loaded','dbem');
|
131 |
return false;
|
@@ -138,7 +138,7 @@ class EM_Location extends EM_Object {
|
|
138 |
|
139 |
function load_similar($criteria){
|
140 |
global $wpdb;
|
141 |
-
$locations_table = $wpdb->prefix.
|
142 |
$prepared_sql = $wpdb->prepare("SELECT * FROM $locations_table WHERE location_name = %s AND location_address = %s AND location_town = %s", stripcslashes($criteria['location_name']), stripcslashes($criteria['location_address']), stripcslashes($criteria['location_town']) );
|
143 |
//$wpdb->show_errors(true);
|
144 |
$location = $wpdb->get_row($prepared_sql, ARRAY_A);
|
@@ -181,7 +181,7 @@ class EM_Location extends EM_Object {
|
|
181 |
|
182 |
function has_events(){
|
183 |
global $wpdb;
|
184 |
-
$events_table = $wpdb->prefix.
|
185 |
$sql = "SELECT event_id FROM $events_table WHERE location_id = {$this->id}";
|
186 |
$affected_events = $wpdb->get_results($sql);
|
187 |
return (count($affected_events) > 0);
|
@@ -194,89 +194,80 @@ class EM_Location extends EM_Object {
|
|
194 |
|
195 |
function output($format, $target="html") {
|
196 |
$location_string = $format;
|
197 |
-
preg_match_all("
|
198 |
-
foreach($placeholders[0] as $result) {
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
|
|
|
|
212 |
}
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
}
|
|
|
|
|
225 |
}
|
226 |
-
|
227 |
-
|
228 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
}
|
230 |
-
if
|
231 |
-
|
232 |
-
$
|
233 |
-
|
234 |
-
}
|
235 |
-
if (preg_match('/#_(LOCATIONLINK)/', $result)) {
|
236 |
-
$joiner = (stristr(EM_URI, "?")) ? "&" : "?";
|
237 |
-
$venue_page_link = EM_URI.$joiner."location_id=".$this->id;
|
238 |
-
$venue_page_link = '<a href="'.$venue_page_link.'">'.$this->name.'</a>';
|
239 |
-
$location_string = str_replace($result, $venue_page_link , $location_string );
|
240 |
}
|
241 |
-
if (preg_match('/#_(PASTEVENTS|NEXTEVENTS|ALLEVENTS)/', $result)) {
|
242 |
-
if ($result == '#_PASTEVENTS'){ $scope = 'past'; }
|
243 |
-
elseif ( $result == '#_NEXTEVENTS' ){ $scope = 'future'; }
|
244 |
-
else{ $scope = 'all'; }
|
245 |
-
$events = EM_Events::get( array('location'=>$this->id, 'scope'=>$scope) );
|
246 |
-
$list = '';
|
247 |
-
if ( count($events) > 0 ){
|
248 |
-
foreach($events as $event){
|
249 |
-
$list .= $event->output(get_option('dbem_location_event_list_item_format'));
|
250 |
-
}
|
251 |
-
} else {
|
252 |
-
$list = get_option('dbem_location_no_events_message');
|
253 |
-
}
|
254 |
-
$location_string = str_replace($result, $list , $location_string );
|
255 |
-
}
|
256 |
-
if (preg_match('/#_IMAGE$/', $result)) {
|
257 |
-
if($this->image_url != ''){
|
258 |
-
$location_image = "<img src='".$this->image_url."' alt='".$this->name."'/>";
|
259 |
-
}else{
|
260 |
-
$location_image = "";
|
261 |
-
}
|
262 |
-
$location_string = str_replace($result, $location_image , $location_string );
|
263 |
-
}
|
264 |
-
if (preg_match('/#_(ADDRESS|TOWN|PROVINCE)/', $result)) { //TODO province in location is not being used
|
265 |
-
$field = ltrim(strtolower($result), "#_");
|
266 |
-
if ($target == "html") {
|
267 |
-
$field_value = apply_filters('dbem_general', $this->$field);
|
268 |
-
} else {
|
269 |
-
$field_value = apply_filters('dbem_general_rss', $this->$field);
|
270 |
-
}
|
271 |
-
$location_string = str_replace($result, $field_value , $location_string );
|
272 |
-
}
|
273 |
}
|
274 |
-
//TODO all of these should just use str_replace if possible
|
275 |
-
//#_(LOCATION|NAME)
|
276 |
$name_filter = ($target == "html") ? 'dbem_general':'dbem_general_rss';
|
277 |
$location_string = str_replace('#_LOCATION', apply_filters($name_filter, $this->name) , $location_string );
|
278 |
$location_string = str_replace('#_NAME', apply_filters($name_filter, $this->name) , $location_string );
|
279 |
-
|
280 |
return $location_string;
|
281 |
}
|
282 |
}
|
44 |
}elseif( $location_data > 0 ){
|
45 |
//Retreiving from the database
|
46 |
global $wpdb;
|
47 |
+
$sql = "SELECT * FROM ". $wpdb->prefix.EM_LOCATIONS_TABLE ." WHERE location_id ='{$location_data}'";
|
48 |
$location = $wpdb->get_row($sql, ARRAY_A);
|
49 |
}
|
50 |
//If gmap is turned off, values may not be returned and set, so we set it here
|
73 |
|
74 |
function save(){
|
75 |
global $wpdb;
|
76 |
+
$table = $wpdb->prefix.EM_LOCATIONS_TABLE;
|
77 |
$data = $this->to_array();
|
78 |
unset($data['location_id']);
|
79 |
unset($data['location_image_url']);
|
90 |
|
91 |
function delete(){
|
92 |
global $wpdb;
|
93 |
+
$table_name = $wpdb->prefix.EM_LOCATIONS_TABLE;
|
94 |
$sql = "DELETE FROM $table_name WHERE location_id = '{$this->id}';";
|
95 |
$wpdb->query($sql);
|
96 |
$this->image_delete();
|
99 |
function get_image_url(){
|
100 |
if($this->image_url == ''){
|
101 |
foreach($this->mime_types as $type) {
|
102 |
+
$file_path = "/".EM_IMAGE_UPLOAD_DIR."/location-{$this->id}.$type";
|
103 |
if( file_exists( ABSPATH . $file_path) ) {
|
104 |
$result = get_bloginfo('wpurl').$file_path;
|
105 |
$this->image_url = $result;
|
110 |
}
|
111 |
|
112 |
function image_delete() {
|
113 |
+
$file_name= ABSPATH.EM_IMAGE_UPLOAD_DIR."/location-".$this->id;
|
114 |
foreach($this->mime_types as $type) {
|
115 |
if (file_exists($file_name.".".$type))
|
116 |
unlink($file_name.".".$type);
|
120 |
function image_upload(){
|
121 |
//TODO better image upload error handling
|
122 |
if ($_FILES['location_image']['size'] > 0 ) {
|
123 |
+
if( !file_exists(ABSPATH.EM_IMAGE_UPLOAD_DIR) ){
|
124 |
+
mkdir(ABSPATH.EM_IMAGE_UPLOAD_DIR, 0777);
|
125 |
}
|
126 |
$this->image_delete();
|
127 |
list($width, $height, $type, $attr) = getimagesize($_FILES['location_image']['tmp_name']);
|
128 |
+
$image_path = ABSPATH.EM_IMAGE_UPLOAD_DIR."/location-".$this->id.".".$this->mime_types[$type];
|
129 |
if (!move_uploaded_file($_FILES['location_image']['tmp_name'], $image_path)){
|
130 |
$this->errors = __('The image could not be loaded','dbem');
|
131 |
return false;
|
138 |
|
139 |
function load_similar($criteria){
|
140 |
global $wpdb;
|
141 |
+
$locations_table = $wpdb->prefix.EM_LOCATIONS_TABLE;
|
142 |
$prepared_sql = $wpdb->prepare("SELECT * FROM $locations_table WHERE location_name = %s AND location_address = %s AND location_town = %s", stripcslashes($criteria['location_name']), stripcslashes($criteria['location_address']), stripcslashes($criteria['location_town']) );
|
143 |
//$wpdb->show_errors(true);
|
144 |
$location = $wpdb->get_row($prepared_sql, ARRAY_A);
|
181 |
|
182 |
function has_events(){
|
183 |
global $wpdb;
|
184 |
+
$events_table = $wpdb->prefix.EM_EVENTS_TABLE;
|
185 |
$sql = "SELECT event_id FROM $events_table WHERE location_id = {$this->id}";
|
186 |
$affected_events = $wpdb->get_results($sql);
|
187 |
return (count($affected_events) > 0);
|
194 |
|
195 |
function output($format, $target="html") {
|
196 |
$location_string = $format;
|
197 |
+
preg_match_all("/#_[A-Za-z]+/", $format, $placeholders);
|
198 |
+
foreach($placeholders[0] as $result) {
|
199 |
+
$match = true;
|
200 |
+
$replace = '';
|
201 |
+
switch( $result ){
|
202 |
+
case '#_MAP':
|
203 |
+
case '#_LOCATIONMAP':
|
204 |
+
$replace = EM_Map::get_single( array('location' => $this) );
|
205 |
+
break;
|
206 |
+
case '#_DESCRIPTION': //To make this backwards compatible
|
207 |
+
case '#_EXCERPT':
|
208 |
+
case '#_LOCATIONNOTES':
|
209 |
+
case '#_LOCATIONEXCERPT':
|
210 |
+
$replace = $this->description;
|
211 |
+
if($result == "#_EXCERPT" || $result == "#_LOCATIONEXCERPT"){
|
212 |
+
$matches = explode('<!--more-->', $this->description);
|
213 |
+
$replace = $matches[0];
|
214 |
}
|
215 |
+
break;
|
216 |
+
case '#_LOCATIONURL':
|
217 |
+
case '#_LOCATIONLINK':
|
218 |
+
$joiner = (stristr(EM_URI, "?")) ? "&" : "?";
|
219 |
+
$link = EM_URI.$joiner."location_id=".$this->id;
|
220 |
+
$replace = ($result == '#_LOCATIONURL') ? $link : '<a href="'.$link.'">'.$this->name.'</a>';
|
221 |
+
break;
|
222 |
+
case '#_PASTEVENTS':
|
223 |
+
case '#_LOCATIONPASTEVENTS':
|
224 |
+
case '#_NEXTEVENTS':
|
225 |
+
case '#_LOCATIONNEXTEVENTS':
|
226 |
+
case '#_ALLEVENTS':
|
227 |
+
case '#_LOCATIONALLEVENTS':
|
228 |
+
if ($result == '#_PASTEVENTS' || $result == '#_LOCATIONPASTEVENTS'){ $scope = 'past'; }
|
229 |
+
elseif ( $result == '#_NEXTEVENTS' || $result == '#_LOCATIONNEXTEVENTS' ){ $scope = 'future'; }
|
230 |
+
else{ $scope = 'all'; }
|
231 |
+
$events = EM_Events::get( array('location'=>$this->id, 'scope'=>$scope) );
|
232 |
+
if ( count($events) > 0 ){
|
233 |
+
foreach($events as $event){
|
234 |
+
$replace .= $event->output(get_option('dbem_location_event_list_item_format'));
|
235 |
}
|
236 |
+
} else {
|
237 |
+
$replace = get_option('dbem_location_no_events_message');
|
238 |
}
|
239 |
+
break;
|
240 |
+
case '#_IMAGE':
|
241 |
+
case '#_LOCATIONIMAGE':
|
242 |
+
if($this->image_url != ''){
|
243 |
+
$replace = "<img src='".$this->image_url."' alt='".$this->name."'/>";
|
244 |
+
}
|
245 |
+
break;
|
246 |
+
case '#_NAME':
|
247 |
+
case '#_LOCATIONNAME':
|
248 |
+
$replace = $this->name;
|
249 |
+
break;
|
250 |
+
case '#_ADDRESS': //Depreciated
|
251 |
+
case '#_LOCATIONADDRESS':
|
252 |
+
$replace = $this->address;
|
253 |
+
break;
|
254 |
+
case '#_TOWN': //Depreciated
|
255 |
+
case '#_LOCATIONTOWN':
|
256 |
+
$replace = $this->town;
|
257 |
+
break;
|
258 |
+
default:
|
259 |
+
$match = false;
|
260 |
+
break;
|
261 |
}
|
262 |
+
if($match){ //if true, we've got a placeholder that needs replacing
|
263 |
+
//TODO FILTER - placeholder filter
|
264 |
+
$replace = apply_filters('em_placeholder', $replace, $result, $target); //USE WITH CAUTION! THIS MIGHT GET RENAMED
|
265 |
+
$location_string = str_replace($result, $replace , $location_string );
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
}
|
|
|
|
|
268 |
$name_filter = ($target == "html") ? 'dbem_general':'dbem_general_rss';
|
269 |
$location_string = str_replace('#_LOCATION', apply_filters($name_filter, $this->name) , $location_string );
|
270 |
$location_string = str_replace('#_NAME', apply_filters($name_filter, $this->name) , $location_string );
|
|
|
271 |
return $location_string;
|
272 |
}
|
273 |
}
|
classes/locations.php
CHANGED
@@ -13,8 +13,8 @@ class EM_Locations extends EM_Object {
|
|
13 |
*/
|
14 |
function get( $args = array() ){
|
15 |
global $wpdb;
|
16 |
-
$events_table = $wpdb->prefix .
|
17 |
-
$locations_table = $wpdb->prefix .
|
18 |
|
19 |
//Quick version, we can accept an array of IDs, which is easy to retrieve
|
20 |
if( self::array_is_numeric($args) && count() ){ //Array of numbers, assume they are event IDs to retreive
|
@@ -113,8 +113,8 @@ class EM_Locations extends EM_Object {
|
|
113 |
*/
|
114 |
function build_sql_conditions( $args = array() ){
|
115 |
global $wpdb;
|
116 |
-
$events_table = $wpdb->prefix .
|
117 |
-
$locations_table = $wpdb->prefix .
|
118 |
|
119 |
$conditions = parent::build_sql_conditions($args);
|
120 |
//eventful locations
|
@@ -133,7 +133,8 @@ class EM_Locations extends EM_Object {
|
|
133 |
function get_default_search($args = array()){
|
134 |
$defaults = array(
|
135 |
'eventful' => false, //Locations that have an event (scope will also play a part here
|
136 |
-
'eventless' => false //Locations WITHOUT events, eventful takes precedence
|
|
|
137 |
);
|
138 |
$args['eventful'] = ($args['eventful'] == true);
|
139 |
$args['eventless'] = ($args['eventless'] == true);
|
13 |
*/
|
14 |
function get( $args = array() ){
|
15 |
global $wpdb;
|
16 |
+
$events_table = $wpdb->prefix . EM_EVENTS_TABLE;
|
17 |
+
$locations_table = $wpdb->prefix . EM_LOCATIONS_TABLE;
|
18 |
|
19 |
//Quick version, we can accept an array of IDs, which is easy to retrieve
|
20 |
if( self::array_is_numeric($args) && count() ){ //Array of numbers, assume they are event IDs to retreive
|
113 |
*/
|
114 |
function build_sql_conditions( $args = array() ){
|
115 |
global $wpdb;
|
116 |
+
$events_table = $wpdb->prefix . EM_EVENTS_TABLE;
|
117 |
+
$locations_table = $wpdb->prefix . EM_LOCATIONS_TABLE;
|
118 |
|
119 |
$conditions = parent::build_sql_conditions($args);
|
120 |
//eventful locations
|
133 |
function get_default_search($args = array()){
|
134 |
$defaults = array(
|
135 |
'eventful' => false, //Locations that have an event (scope will also play a part here
|
136 |
+
'eventless' => false, //Locations WITHOUT events, eventful takes precedence
|
137 |
+
'scope' => 'all'
|
138 |
);
|
139 |
$args['eventful'] = ($args['eventful'] == true);
|
140 |
$args['eventless'] = ($args['eventless'] == true);
|
classes/mailer.php
CHANGED
@@ -22,7 +22,7 @@ class EM_Mailer {
|
|
22 |
|
23 |
if( preg_match('/^[_.0-9a-z-]+@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3}$/i', $receiver) ){
|
24 |
$this->load_phpmailer();
|
25 |
-
$mail = new
|
26 |
//$mail->SMTPDebug = true;
|
27 |
$mail->ClearAllRecipients();
|
28 |
$mail->ClearAddresses();
|
22 |
|
23 |
if( preg_match('/^[_.0-9a-z-]+@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3}$/i', $receiver) ){
|
24 |
$this->load_phpmailer();
|
25 |
+
$mail = new EM_PHPMailer();
|
26 |
//$mail->SMTPDebug = true;
|
27 |
$mail->ClearAllRecipients();
|
28 |
$mail->ClearAddresses();
|
classes/object.php
CHANGED
@@ -16,14 +16,14 @@ class EM_Object {
|
|
16 |
function get_default_search($defaults=array(), $array = array()){
|
17 |
//Create minimal defaults array, merge it with supplied defaults array
|
18 |
$super_defaults = array(
|
19 |
-
'limit' => false,
|
20 |
-
'scope' => '
|
21 |
'order' => 'ASC',
|
22 |
'format' => '',
|
23 |
'category' => 0,
|
24 |
'location' => 0,
|
25 |
'offset'=>0,
|
26 |
-
'recurrence'=>0,
|
27 |
'recurring'=>false,
|
28 |
'month'=>'',
|
29 |
'year'=>'',
|
@@ -99,8 +99,8 @@ class EM_Object {
|
|
99 |
*/
|
100 |
function build_sql_conditions( $args = array() ){
|
101 |
global $wpdb;
|
102 |
-
$events_table = $wpdb->prefix .
|
103 |
-
$locations_table = $wpdb->prefix .
|
104 |
|
105 |
//Format the arguments passed on
|
106 |
$scope = $args['scope'];//undefined variable warnings in ZDE, could just delete this (but dont pls!)
|
16 |
function get_default_search($defaults=array(), $array = array()){
|
17 |
//Create minimal defaults array, merge it with supplied defaults array
|
18 |
$super_defaults = array(
|
19 |
+
'limit' => false,
|
20 |
+
'scope' => 'future',
|
21 |
'order' => 'ASC',
|
22 |
'format' => '',
|
23 |
'category' => 0,
|
24 |
'location' => 0,
|
25 |
'offset'=>0,
|
26 |
+
'recurrence'=>0,
|
27 |
'recurring'=>false,
|
28 |
'month'=>'',
|
29 |
'year'=>'',
|
99 |
*/
|
100 |
function build_sql_conditions( $args = array() ){
|
101 |
global $wpdb;
|
102 |
+
$events_table = $wpdb->prefix . EM_EVENTS_TABLE;
|
103 |
+
$locations_table = $wpdb->prefix . EM_LOCATIONS_TABLE;
|
104 |
|
105 |
//Format the arguments passed on
|
106 |
$scope = $args['scope'];//undefined variable warnings in ZDE, could just delete this (but dont pls!)
|
classes/people.php
CHANGED
@@ -8,7 +8,7 @@ class EM_People extends EM_Object {
|
|
8 |
*/
|
9 |
function get( $return_people = true ) {
|
10 |
global $wpdb;
|
11 |
-
$sql = "SELECT * FROM ". $wpdb->prefix.
|
12 |
$result = $wpdb->get_results($sql, ARRAY_A);
|
13 |
if( $return_people ){
|
14 |
//Return people as EM_Person objects
|
8 |
*/
|
9 |
function get( $return_people = true ) {
|
10 |
global $wpdb;
|
11 |
+
$sql = "SELECT * FROM ". $wpdb->prefix.EM_PEOPLE_TABLE ;
|
12 |
$result = $wpdb->get_results($sql, ARRAY_A);
|
13 |
if( $return_people ){
|
14 |
//Return people as EM_Person objects
|
classes/person.php
CHANGED
@@ -26,7 +26,7 @@ class EM_Person extends EM_Object{
|
|
26 |
}elseif( $person_data > 0 ){
|
27 |
//Retreiving from the database
|
28 |
global $wpdb;
|
29 |
-
$sql = "SELECT * FROM ". $wpdb->prefix .
|
30 |
$person = $wpdb->get_row($sql, ARRAY_A);
|
31 |
}
|
32 |
//Save into the object
|
@@ -48,7 +48,7 @@ class EM_Person extends EM_Object{
|
|
48 |
$conds[] = "`$key`='$value'";
|
49 |
}
|
50 |
}
|
51 |
-
$sql = "SELECT * FROM ". $wpdb->prefix.
|
52 |
$result = $wpdb->get_row($sql, ARRAY_A);
|
53 |
if($result){
|
54 |
$this->to_object($result);
|
@@ -63,7 +63,7 @@ class EM_Person extends EM_Object{
|
|
63 |
if($this->validate()){
|
64 |
//Does this person already exist?
|
65 |
$this->load_similar();
|
66 |
-
$table = $wpdb->prefix.
|
67 |
$data = $this->to_array();
|
68 |
unset($data['person_id']);
|
69 |
if($this->id != ''){
|
@@ -93,7 +93,7 @@ class EM_Person extends EM_Object{
|
|
93 |
*/
|
94 |
function find_similar(){
|
95 |
global $wpdb;
|
96 |
-
$sql = "SELECT * FROM ". $wpdb->prefix.
|
97 |
$row = $wpdb->get_row( $wpdb->prepare($sql, array($this->name, $this->email, $this->phone)), ARRAY_A );
|
98 |
if( is_array($row) ){
|
99 |
return $row['person_id'];
|
26 |
}elseif( $person_data > 0 ){
|
27 |
//Retreiving from the database
|
28 |
global $wpdb;
|
29 |
+
$sql = "SELECT * FROM ". $wpdb->prefix . EM_PEOPLE_TABLE ." WHERE person_id ='$person_data'";
|
30 |
$person = $wpdb->get_row($sql, ARRAY_A);
|
31 |
}
|
32 |
//Save into the object
|
48 |
$conds[] = "`$key`='$value'";
|
49 |
}
|
50 |
}
|
51 |
+
$sql = "SELECT * FROM ". $wpdb->prefix.EM_PEOPLE_TABLE ." WHERE " . implode(' AND ', $conds) ;
|
52 |
$result = $wpdb->get_row($sql, ARRAY_A);
|
53 |
if($result){
|
54 |
$this->to_object($result);
|
63 |
if($this->validate()){
|
64 |
//Does this person already exist?
|
65 |
$this->load_similar();
|
66 |
+
$table = $wpdb->prefix.EM_PEOPLE_TABLE;
|
67 |
$data = $this->to_array();
|
68 |
unset($data['person_id']);
|
69 |
if($this->id != ''){
|
93 |
*/
|
94 |
function find_similar(){
|
95 |
global $wpdb;
|
96 |
+
$sql = "SELECT * FROM ". $wpdb->prefix.EM_PEOPLE_TABLE ." WHERE person_name='%s' AND person_email='%s' AND person_phone='%s'";
|
97 |
$row = $wpdb->get_row( $wpdb->prepare($sql, array($this->name, $this->email, $this->phone)), ARRAY_A );
|
98 |
if( is_array($row) ){
|
99 |
return $row['person_id'];
|
classes/phpmailer/class.phpmailer.php
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
* @author Brent R. Matzelle
|
18 |
* @copyright 2001 - 2003 Brent R. Matzelle
|
19 |
*/
|
20 |
-
class
|
21 |
{
|
22 |
/////////////////////////////////////////////////
|
23 |
// PUBLIC VARIABLES
|
@@ -524,7 +524,7 @@ class PHPMailer
|
|
524 |
* @return bool
|
525 |
*/
|
526 |
function SmtpConnect() {
|
527 |
-
if($this->smtp == NULL) { $this->smtp = new
|
528 |
|
529 |
$this->smtp->do_debug = $this->SMTPDebug;
|
530 |
$hosts = explode(";", $this->Host);
|
17 |
* @author Brent R. Matzelle
|
18 |
* @copyright 2001 - 2003 Brent R. Matzelle
|
19 |
*/
|
20 |
+
class EM_PHPMailer
|
21 |
{
|
22 |
/////////////////////////////////////////////////
|
23 |
// PUBLIC VARIABLES
|
524 |
* @return bool
|
525 |
*/
|
526 |
function SmtpConnect() {
|
527 |
+
if($this->smtp == NULL) { $this->smtp = new EM_SMTP(); }
|
528 |
|
529 |
$this->smtp->do_debug = $this->SMTPDebug;
|
530 |
$hosts = explode(";", $this->Host);
|
classes/phpmailer/class.smtp.php
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
* @package PHPMailer
|
22 |
* @author Chris Ryan
|
23 |
*/
|
24 |
-
class
|
25 |
{
|
26 |
/**
|
27 |
* SMTP server port
|
@@ -54,7 +54,7 @@ class SMTP
|
|
54 |
* @access public
|
55 |
* @return void
|
56 |
*/
|
57 |
-
function
|
58 |
$this->smtp_conn = 0;
|
59 |
$this->error = null;
|
60 |
$this->helo_rply = null;
|
21 |
* @package PHPMailer
|
22 |
* @author Chris Ryan
|
23 |
*/
|
24 |
+
class EM_SMTP
|
25 |
{
|
26 |
/**
|
27 |
* SMTP server port
|
54 |
* @access public
|
55 |
* @return void
|
56 |
*/
|
57 |
+
function EM_SMTP() {
|
58 |
$this->smtp_conn = 0;
|
59 |
$this->error = null;
|
60 |
$this->helo_rply = null;
|
classes/recurrence.php
CHANGED
@@ -50,7 +50,7 @@ class EM_Recurrence extends EM_Object{
|
|
50 |
}elseif( is_numeric($event_data) || isset($event_data['recurrence_id']) ){
|
51 |
//$event_data is recurrence_id - Retreiving from the database
|
52 |
$recurrence_id = (is_array($event_data)) ? $event_data['recurrence_id']:$event_data;
|
53 |
-
$sql = "SELECT * FROM ". $wpdb->prefix .
|
54 |
$result = $wpdb->get_row( $sql, ARRAY_A );
|
55 |
if($result){
|
56 |
$this->location = new EM_Location ( $recurrence ['location_id'] );
|
@@ -68,7 +68,7 @@ class EM_Recurrence extends EM_Object{
|
|
68 |
*/
|
69 |
function delete() {
|
70 |
global $wpdb;
|
71 |
-
$sql = "DELETE FROM ".$wpdb->prefix.
|
72 |
$wpdb->query($sql);
|
73 |
}
|
74 |
|
50 |
}elseif( is_numeric($event_data) || isset($event_data['recurrence_id']) ){
|
51 |
//$event_data is recurrence_id - Retreiving from the database
|
52 |
$recurrence_id = (is_array($event_data)) ? $event_data['recurrence_id']:$event_data;
|
53 |
+
$sql = "SELECT * FROM ". $wpdb->prefix . EM_RECURRENCE_TABLE ." WHERE recurrence_id = $recurrence_id";
|
54 |
$result = $wpdb->get_row( $sql, ARRAY_A );
|
55 |
if($result){
|
56 |
$this->location = new EM_Location ( $recurrence ['location_id'] );
|
68 |
*/
|
69 |
function delete() {
|
70 |
global $wpdb;
|
71 |
+
$sql = "DELETE FROM ".$wpdb->prefix.EM_RECURRENCE_TABLE." WHERE recurrence_id = '{$this->id}';";
|
72 |
$wpdb->query($sql);
|
73 |
}
|
74 |
|
events-manager.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Events Manager
|
4 |
-
Version: 3.0.
|
5 |
Plugin URI: http://davidebenini.it/wordpress-plugins/events-manager/
|
6 |
Description: Manage events specifying precise spatial data (Location, Town, Province, etc).
|
7 |
Author: Davide Benini, Marcus Sykes
|
@@ -78,66 +78,26 @@ if( is_admin() ){
|
|
78 |
include_once('admin/categories.php');
|
79 |
include_once('admin/event.php');
|
80 |
include_once('admin/events.php');
|
|
|
81 |
include_once('admin/locations.php');
|
82 |
-
include_once('admin/functions.php');
|
83 |
include_once('admin/options.php');
|
84 |
include_once('admin/people.php');
|
85 |
-
include_once('admin/support.php');
|
86 |
}
|
87 |
|
88 |
|
89 |
// Setting constants
|
90 |
-
define('EM_VERSION', 3.
|
91 |
-
define('
|
92 |
-
define('
|
93 |
-
define('
|
94 |
-
define('
|
95 |
-
define('
|
96 |
-
define('
|
97 |
-
define('
|
98 |
-
define('
|
99 |
-
define(
|
100 |
-
|
101 |
-
define('DEFAULT_LIST_DATE_TITLE', __('Events', 'dbem').' - #j #M #y');
|
102 |
-
define('DEFAULT_EVENT_LIST_ITEM_FORMAT', '<li>#j #M #Y - #H:#i<br/> #_LINKEDNAME<br/>#_TOWN </li>');
|
103 |
-
define('DEFAULT_SINGLE_EVENT_FORMAT', '<p>#j #M #Y - #H:#i</p><p>#_TOWN</p>');
|
104 |
-
define('DEFAULT_EVENTS_PAGE_TITLE',__('Events','dbem') ) ;
|
105 |
-
define('DEFAULT_EVENT_PAGE_TITLE_FORMAT', '#_NAME');
|
106 |
-
define('DEFAULT_RSS_DESCRIPTION_FORMAT',"#j #M #y - #H:#i <br/>#_LOCATION <br/>#_ADDRESS <br/>#_TOWN");
|
107 |
-
define('DEFAULT_RSS_TITLE_FORMAT',"#_NAME");
|
108 |
-
define('DEFAULT_MAP_TEXT_FORMAT', '<strong>#_LOCATION</strong><p>#_ADDRESS</p><p>#_TOWN</p>');
|
109 |
-
define('DEFAULT_WIDGET_EVENT_LIST_ITEM_FORMAT','#_LINKEDNAME<ul><li>#j #M #y</li><li>#_TOWN</li></ul>');
|
110 |
-
define('DEFAULT_WIDGET_LOCATION_LIST_ITEM_FORMAT','#_LOCATIONLINK<ul><li>#_ADDRESS</li><li>#_TOWN</li></ul>');
|
111 |
-
define('DEFAULT_NO_EVENTS_MESSAGE', __('No events', 'dbem'));
|
112 |
-
define('DEFAULT_SINGLE_LOCATION_FORMAT', '<p>#_ADDRESS</p><p>#_TOWN</p>');
|
113 |
-
define('DEFAULT_LOCATION_PAGE_TITLE_FORMAT', '#_NAME');
|
114 |
-
define('DEFAULT_LOCATION_BALOON_FORMAT', "<strong>#_NAME</strong><br/>#_ADDRESS - #_TOWN<br/><a href='#_LOCATIONPAGEURL'>Details</a>");
|
115 |
-
define('DEFAULT_LOCATION_EVENT_LIST_ITEM_FORMAT', "<li>#_NAME - #j #M #Y - #H:#i</li>");
|
116 |
-
define('DEFAULT_LOCATION_LIST_ITEM_FORMAT','#_LOCATIONLINK<ul><li>#_ADDRESS</li><li>#_TOWN</li></ul>');
|
117 |
-
define('DEFAULT_LOCATION_NO_EVENTS_MESSAGE', __('<li>No events in this location</li>', 'dbem'));
|
118 |
-
define("IMAGE_UPLOAD_DIR", "wp-content/uploads/locations-pics");
|
119 |
-
define('DEFAULT_IMAGE_MAX_WIDTH', 700);
|
120 |
-
define('DEFAULT_IMAGE_MAX_HEIGHT', 700);
|
121 |
-
define('DEFAULT_IMAGE_MAX_SIZE', 204800);
|
122 |
-
define('DEFAULT_FULL_CALENDAR_EVENT_FORMAT', '<li>#_LINKEDNAME</li>');
|
123 |
-
define('DEFAULT_SMALL_CALENDAR_EVENT_TITLE_FORMAT', "#_NAME" );
|
124 |
-
define('DEFAULT_SMALL_CALENDAR_EVENT_TITLE_SEPARATOR', ", ");
|
125 |
-
define('DEFAULT_USE_SELECT_FOR_LOCATIONS', false);
|
126 |
-
define('DEFAULT_ATTRIBUTES_ENABLED', true);
|
127 |
-
define('DEFAULT_RECURRENCE_ENABLED', true);
|
128 |
-
define('DEFAULT_RSVP_ENABLED', true);
|
129 |
-
define('DEFAULT_CATEGORIES_ENABLED', true);
|
130 |
|
131 |
-
// obsolete tables
|
132 |
-
define('OLD_EVENTS_TBNAME','dbem_events') ;
|
133 |
-
define('OLD_RECURRENCE_TBNAME','dbem_recurrence'); //TABLE NAME
|
134 |
-
define('OLD_LOCATIONS_TBNAME','dbem_locations'); //TABLE NAME
|
135 |
-
define('OLD_BOOKINGS_TBNAME','dbem_bookings'); //TABLE NAME
|
136 |
-
define('OLD_PEOPLE_TBNAME','dbem_people'); //TABLE NAME
|
137 |
-
define('OLD_BOOKING_PEOPLE_TBNAME','dbem_bookings_people'); //TABLE NAME
|
138 |
-
define('OLD_CATEGORIES_TBNAME', 'dbem_categories'); //TABLE NAME
|
139 |
-
|
140 |
-
|
141 |
// DEBUG constant for developing
|
142 |
// if you are hacking this plugin, set to TRUE, a log will show in admin pages
|
143 |
define('DEBUG', false);
|
@@ -216,16 +176,16 @@ add_filter( 'plugin_row_meta', 'em_set_plugin_meta', 10, 2 );
|
|
216 |
function em_create_events_submenu () {
|
217 |
if(function_exists('add_submenu_page')) {
|
218 |
//TODO Add flexible permissions
|
219 |
-
add_object_page(__('Events', 'dbem'),__('Events', 'dbem'),
|
220 |
// Add a submenu to the custom top-level menu:
|
221 |
$plugin_pages = array();
|
222 |
-
$plugin_pages[] = add_submenu_page(__FILE__, __('Edit'),__('Edit'),
|
223 |
-
$plugin_pages[] = add_submenu_page(__FILE__, __('Add new', 'dbem'), __('Add new','dbem'),
|
224 |
-
$plugin_pages[] = add_submenu_page(__FILE__, __('Locations', 'dbem'), __('Locations', 'dbem'),
|
225 |
-
$plugin_pages[] = add_submenu_page(__FILE__, __('People', 'dbem'), __('People', 'dbem'),
|
226 |
-
$plugin_pages[] = add_submenu_page(__FILE__, __('Event Categories','dbem'),__('Categories','dbem'),
|
227 |
-
$plugin_pages[] = add_submenu_page(__FILE__, __('Events Manager Settings','dbem'),__('Settings','dbem'),
|
228 |
-
$plugin_pages[] = add_submenu_page(__FILE__, __('Getting Help for Events Manager','dbem'),__('Help','dbem'),
|
229 |
foreach($plugin_pages as $plugin_page){
|
230 |
add_action( 'admin_print_scripts-'. $plugin_page, 'em_admin_load_scripts' );
|
231 |
add_action( 'admin_head-'. $plugin_page, 'em_admin_general_script' );
|
@@ -252,43 +212,10 @@ add_action ( 'template_redirect', 'em_enqueue_public' );
|
|
252 |
*/
|
253 |
function em_favorite_menu($actions) {
|
254 |
// add quick link to our favorite plugin
|
255 |
-
$actions ['admin.php?page=new_event'] = array (__ ( 'Add an event', 'dbem' ),
|
256 |
return $actions;
|
257 |
}
|
258 |
add_filter ( 'favorite_actions', 'em_favorite_menu' );
|
259 |
-
|
260 |
-
/**
|
261 |
-
* Generate warnings and notices in the admin area
|
262 |
-
*/
|
263 |
-
function em_admin_warnings() {
|
264 |
-
//If we're editing the events page show hello to new user
|
265 |
-
$events_page_id = get_option ( 'dbem_events_page' );
|
266 |
-
if (isset ( $_GET ['disable_hello_to_user'] ) && $_GET ['disable_hello_to_user'] == 'true'){
|
267 |
-
// Disable Hello to new user if requested
|
268 |
-
update_option ( 'dbem_hello_to_user', 0 );
|
269 |
-
}else{
|
270 |
-
if ( preg_match( '/(post|page).php/', $_SERVER ['SCRIPT_NAME']) && isset ( $_GET ['action'] ) && $_GET ['action'] == 'edit' && isset ( $_GET ['post'] ) && $_GET ['post'] == "$events_page_id") {
|
271 |
-
$message = sprintf ( __ ( "This page corresponds to <strong>Events Manager</strong> events page. Its content will be overriden by <strong>Events Manager</strong>. If you want to display your content, you can can assign another page to <strong>Events Manager</strong> in the the <a href='%s'>Settings</a>. ", 'dbem' ), 'admin.php?page=events-manager-options' );
|
272 |
-
$notice = "<div class='error'><p>$message</p></div>";
|
273 |
-
echo $notice;
|
274 |
-
}
|
275 |
-
}
|
276 |
-
//If events page couldn't be created
|
277 |
-
if( !empty($_GET['em_dismiss_events_page']) ){
|
278 |
-
update_option('dbem_dismiss_events_page',1);
|
279 |
-
}else{
|
280 |
-
if ( !get_page($events_page_id) && !get_option('dbem_dismiss_events_page') ){
|
281 |
-
$dismiss_link_joiner = ( count($_GET) > 0 ) ? '&':'?';
|
282 |
-
$advice = sprintf ( __( 'Uh Oh! For some reason wordpress could not create an events page for you (or you just deleted it). Not to worry though, all you have to do is create an empty page, name it whatever you want, and select it as your events page in your <a href="%s">options page</a>. Sorry for the extra step! If you know what you are doing, you may have done this on purpose, if so <a href="%s">ignore this message</a>', 'dbem'), get_bloginfo ( 'url' ) . '/wp-admin/admin.php?page=events-manager-options', $_SERVER['REQUEST_URI'].$dismiss_link_joiner.'em_dismiss_events_page=1' );
|
283 |
-
?>
|
284 |
-
<div id="em_page_error" class="updated">
|
285 |
-
<p><?php echo $advice; ?></p>
|
286 |
-
</div>
|
287 |
-
<?php
|
288 |
-
}
|
289 |
-
}
|
290 |
-
}
|
291 |
-
add_action ( 'admin_notices', 'em_admin_warnings' );
|
292 |
|
293 |
/* Creating the wp_events table to store event data*/
|
294 |
function em_activate() {
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Events Manager
|
4 |
+
Version: 3.0.4
|
5 |
Plugin URI: http://davidebenini.it/wordpress-plugins/events-manager/
|
6 |
Description: Manage events specifying precise spatial data (Location, Town, Province, etc).
|
7 |
Author: Davide Benini, Marcus Sykes
|
78 |
include_once('admin/categories.php');
|
79 |
include_once('admin/event.php');
|
80 |
include_once('admin/events.php');
|
81 |
+
include_once('admin/help.php');
|
82 |
include_once('admin/locations.php');
|
|
|
83 |
include_once('admin/options.php');
|
84 |
include_once('admin/people.php');
|
|
|
85 |
}
|
86 |
|
87 |
|
88 |
// Setting constants
|
89 |
+
define('EM_VERSION', 3.04); //self expanatory
|
90 |
+
define('EM_CATEGORIES_TABLE', 'em_categories'); //TABLE NAME
|
91 |
+
define('EM_EVENTS_TABLE','em_events'); //TABLE NAME
|
92 |
+
define('EM_RECURRENCE_TABLE','dbem_recurrence'); //TABLE NAME
|
93 |
+
define('EM_LOCATIONS_TABLE','em_locations'); //TABLE NAME
|
94 |
+
define('EM_BOOKINGS_TABLE','em_bookings'); //TABLE NAME
|
95 |
+
define('EM_PEOPLE_TABLE','em_people'); //TABLE NAME
|
96 |
+
define('EM_MIN_CAPABILITY', 'edit_posts'); // Minimum user level to access calendars
|
97 |
+
define('EM_SETTING_CAPABILITY', 'activate_plugins'); // Minimum user level to access calendars
|
98 |
+
define("EM_IMAGE_UPLOAD_DIR", "wp-content/uploads/locations-pics");
|
99 |
+
//TODO reorganize how defaults are created, e.g. is it necessary to create false entries? They are false by default... less code, but maybe not verbose enough...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
// DEBUG constant for developing
|
102 |
// if you are hacking this plugin, set to TRUE, a log will show in admin pages
|
103 |
define('DEBUG', false);
|
176 |
function em_create_events_submenu () {
|
177 |
if(function_exists('add_submenu_page')) {
|
178 |
//TODO Add flexible permissions
|
179 |
+
add_object_page(__('Events', 'dbem'),__('Events', 'dbem'),EM_MIN_CAPABILITY,__FILE__,'dbem_events_subpanel', '../wp-content/plugins/events-manager/includes/images/calendar-16.png');
|
180 |
// Add a submenu to the custom top-level menu:
|
181 |
$plugin_pages = array();
|
182 |
+
$plugin_pages[] = add_submenu_page(__FILE__, __('Edit'),__('Edit'),EM_MIN_CAPABILITY,__FILE__,'dbem_events_subpanel');
|
183 |
+
$plugin_pages[] = add_submenu_page(__FILE__, __('Add new', 'dbem'), __('Add new','dbem'), EM_MIN_CAPABILITY, 'new_event', "dbem_new_event_page");
|
184 |
+
$plugin_pages[] = add_submenu_page(__FILE__, __('Locations', 'dbem'), __('Locations', 'dbem'), EM_MIN_CAPABILITY, 'locations', "dbem_locations_page");
|
185 |
+
$plugin_pages[] = add_submenu_page(__FILE__, __('People', 'dbem'), __('People', 'dbem'), EM_MIN_CAPABILITY, 'people', "em_people_page");
|
186 |
+
$plugin_pages[] = add_submenu_page(__FILE__, __('Event Categories','dbem'),__('Categories','dbem'), EM_SETTING_CAPABILITY, "events-manager-categories", 'dbem_categories_subpanel');
|
187 |
+
$plugin_pages[] = add_submenu_page(__FILE__, __('Events Manager Settings','dbem'),__('Settings','dbem'), EM_SETTING_CAPABILITY, "events-manager-options", 'dbem_options_subpanel');
|
188 |
+
$plugin_pages[] = add_submenu_page(__FILE__, __('Getting Help for Events Manager','dbem'),__('Help','dbem'), EM_SETTING_CAPABILITY, "events-manager-help", 'em_admin_help');
|
189 |
foreach($plugin_pages as $plugin_page){
|
190 |
add_action( 'admin_print_scripts-'. $plugin_page, 'em_admin_load_scripts' );
|
191 |
add_action( 'admin_head-'. $plugin_page, 'em_admin_general_script' );
|
212 |
*/
|
213 |
function em_favorite_menu($actions) {
|
214 |
// add quick link to our favorite plugin
|
215 |
+
$actions ['admin.php?page=new_event'] = array (__ ( 'Add an event', 'dbem' ), EM_MIN_CAPABILITY );
|
216 |
return $actions;
|
217 |
}
|
218 |
add_filter ( 'favorite_actions', 'em_favorite_menu' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
|
220 |
/* Creating the wp_events table to store event data*/
|
221 |
function em_activate() {
|
events.php
CHANGED
@@ -8,40 +8,45 @@
|
|
8 |
* @param $data
|
9 |
* @return string
|
10 |
*/
|
11 |
-
function em_content($
|
12 |
$events_page_id = get_option ( 'dbem_events_page' );
|
13 |
if ( get_the_ID() == $events_page_id && $events_page_id != 0 ) {
|
14 |
global $wpdb, $EM_Event;
|
|
|
15 |
//TODO any loop should put the current $EM_Event etc. into the global variable
|
16 |
if ( isset( $_REQUEST['calendar_day'] ) && $_REQUEST['calendar_day'] != '' ) {
|
17 |
//Events for a specific day
|
18 |
$events = EM_Events::get( array('limit'=>10,'scope'=>$_REQUEST['calendar_day'],'order'=>"ASC") );
|
19 |
-
if ( count($events) > 1) {
|
20 |
-
|
21 |
} else {
|
22 |
$EM_Event = $events[0];
|
23 |
-
|
24 |
}
|
25 |
} elseif ( is_numeric($_REQUEST['location_id']) ) {
|
26 |
//Just a single location
|
27 |
$location = new EM_Location($_REQUEST['location_id']);
|
28 |
-
|
29 |
} elseif ( is_numeric($_REQUEST['event_id']) ) {
|
30 |
// single event page
|
31 |
$event = new EM_Event( $_REQUEST['event_id'] );
|
32 |
-
|
33 |
} else {
|
34 |
// Multiple events page
|
35 |
$scope = ($_REQUEST['scope']) ? EM_Object::sanitize($_REQUEST['scope']) : "future";
|
36 |
if (get_option ( 'dbem_display_calendar_in_events_page' )){
|
37 |
-
|
38 |
}else{
|
39 |
-
|
40 |
}
|
41 |
}
|
42 |
-
|
43 |
-
|
|
|
|
|
|
|
44 |
}
|
|
|
45 |
}
|
46 |
add_filter ( 'the_content', 'em_content' );
|
47 |
|
@@ -50,7 +55,7 @@ add_filter ( 'the_content', 'em_content' );
|
|
50 |
* @param $data
|
51 |
* @return string
|
52 |
*/
|
53 |
-
function em_events_page_title($
|
54 |
global $EM_Event;
|
55 |
global $post;
|
56 |
$events_page_id = get_option ( 'dbem_events_page' );
|
@@ -59,26 +64,32 @@ function em_events_page_title($data) {
|
|
59 |
if (isset ( $_REQUEST['calendar_day'] ) && $_REQUEST['calendar_day'] != '') {
|
60 |
$events = EM_Events::get(array('limit'=>2,'scope'=>$_REQUEST['calendar_day']));
|
61 |
$event = $events[0];
|
62 |
-
if ( count($events) > 1 ) {
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
}else{
|
65 |
-
|
66 |
}
|
67 |
-
}
|
68 |
-
if (isset ( $_REQUEST ['location_id'] ) && $_REQUEST ['location_id'] |= '') {
|
69 |
$location = new EM_Location( EM_Object::sanitize($_REQUEST ['location_id']) );
|
70 |
-
|
71 |
-
}
|
72 |
-
if (isset ( $_REQUEST ['event_id'] ) && $_REQUEST ['event_id'] != '') {
|
73 |
// single event page
|
74 |
-
|
75 |
-
}
|
76 |
// Multiple events page
|
77 |
-
|
78 |
}
|
79 |
-
|
80 |
-
return $data;
|
81 |
}
|
|
|
82 |
}
|
83 |
add_filter ( 'single_post_title', 'em_events_page_title' ); //Filter for the wp_title of page, can directly reference page title function
|
84 |
|
@@ -90,11 +101,12 @@ add_filter ( 'single_post_title', 'em_events_page_title' ); //Filter for the wp_
|
|
90 |
function em_wp_the_title($data){
|
91 |
//This is set by the loop_start and loop_end actions
|
92 |
global $wp_query;
|
93 |
-
if (
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
}
|
|
|
98 |
}
|
99 |
add_filter ( 'the_title', 'em_wp_the_title' );
|
100 |
|
8 |
* @param $data
|
9 |
* @return string
|
10 |
*/
|
11 |
+
function em_content($content) {
|
12 |
$events_page_id = get_option ( 'dbem_events_page' );
|
13 |
if ( get_the_ID() == $events_page_id && $events_page_id != 0 ) {
|
14 |
global $wpdb, $EM_Event;
|
15 |
+
//TODO FILTER - filter em page content before placeholder replacing
|
16 |
//TODO any loop should put the current $EM_Event etc. into the global variable
|
17 |
if ( isset( $_REQUEST['calendar_day'] ) && $_REQUEST['calendar_day'] != '' ) {
|
18 |
//Events for a specific day
|
19 |
$events = EM_Events::get( array('limit'=>10,'scope'=>$_REQUEST['calendar_day'],'order'=>"ASC") );
|
20 |
+
if ( count($events) > 1 || get_option('dbem_display_calendar_day_single') == 1 ) {
|
21 |
+
$content = EM_Events::output($events);
|
22 |
} else {
|
23 |
$EM_Event = $events[0];
|
24 |
+
$content = $EM_Event->output_single();
|
25 |
}
|
26 |
} elseif ( is_numeric($_REQUEST['location_id']) ) {
|
27 |
//Just a single location
|
28 |
$location = new EM_Location($_REQUEST['location_id']);
|
29 |
+
$content = $location->output_single();
|
30 |
} elseif ( is_numeric($_REQUEST['event_id']) ) {
|
31 |
// single event page
|
32 |
$event = new EM_Event( $_REQUEST['event_id'] );
|
33 |
+
$content = $event->output_single();
|
34 |
} else {
|
35 |
// Multiple events page
|
36 |
$scope = ($_REQUEST['scope']) ? EM_Object::sanitize($_REQUEST['scope']) : "future";
|
37 |
if (get_option ( 'dbem_display_calendar_in_events_page' )){
|
38 |
+
$content = EM_Calendar::get( array('full'=>1) );
|
39 |
}else{
|
40 |
+
$content = EM_Events::output ( array('limit'=>10,'scope'=>$scope, 'order'=>"ASC") );
|
41 |
}
|
42 |
}
|
43 |
+
//If disable rewrite flag is on, then we need to add a placeholder here
|
44 |
+
if( get_option('dbem_disable_title_rewrites') == 1 ){
|
45 |
+
$content = str_replace('#_PAGETITLE', em_events_page_title(''), get_option('dbem_title_html')) . $content;
|
46 |
+
}
|
47 |
+
//TODO FILTER - filter em page content before display
|
48 |
}
|
49 |
+
return $content;
|
50 |
}
|
51 |
add_filter ( 'the_content', 'em_content' );
|
52 |
|
55 |
* @param $data
|
56 |
* @return string
|
57 |
*/
|
58 |
+
function em_events_page_title($content) {
|
59 |
global $EM_Event;
|
60 |
global $post;
|
61 |
$events_page_id = get_option ( 'dbem_events_page' );
|
64 |
if (isset ( $_REQUEST['calendar_day'] ) && $_REQUEST['calendar_day'] != '') {
|
65 |
$events = EM_Events::get(array('limit'=>2,'scope'=>$_REQUEST['calendar_day']));
|
66 |
$event = $events[0];
|
67 |
+
if ( count($events) > 1 || get_option('dbem_display_calendar_day_single') == 1 ) {
|
68 |
+
//We only support dates for the calendar day list title, so we do a simple filter for the supplied calendar_day
|
69 |
+
$content = get_option ('dbem_list_date_title');
|
70 |
+
preg_match_all("/#[A-Za-z0-9]+/", $content, $placeholders);
|
71 |
+
foreach($placeholders[0] as $placeholder) {
|
72 |
+
// matches all PHP date and time placeholders
|
73 |
+
if (preg_match('/^#[dDjlNSwzWFmMntLoYyaABgGhHisueIOPTZcrU]$/', $placeholder)) {
|
74 |
+
$content = str_replace($placeholder, mysql2date(ltrim($placeholder, "#"), $_REQUEST['calendar_day']),$content );
|
75 |
+
}
|
76 |
+
}
|
77 |
}else{
|
78 |
+
$content = $event->output( get_option('dbem_event_page_title_format') );
|
79 |
}
|
80 |
+
}elseif (isset ( $_REQUEST ['location_id'] ) && $_REQUEST ['location_id'] |= '') {
|
|
|
81 |
$location = new EM_Location( EM_Object::sanitize($_REQUEST ['location_id']) );
|
82 |
+
$content = $location->output(get_option( 'dbem_location_page_title_format' ));;
|
83 |
+
}elseif (isset ( $_REQUEST ['event_id'] ) && $_REQUEST ['event_id'] != '') {
|
|
|
84 |
// single event page
|
85 |
+
$content = $EM_Event->output ( get_option ( 'dbem_event_page_title_format' ) );
|
86 |
+
}else{
|
87 |
// Multiple events page
|
88 |
+
$content = get_option ( 'dbem_events_page_title' );
|
89 |
}
|
90 |
+
//TODO FILTER - filter titles before em output
|
|
|
91 |
}
|
92 |
+
return $content;
|
93 |
}
|
94 |
add_filter ( 'single_post_title', 'em_events_page_title' ); //Filter for the wp_title of page, can directly reference page title function
|
95 |
|
101 |
function em_wp_the_title($data){
|
102 |
//This is set by the loop_start and loop_end actions
|
103 |
global $wp_query;
|
104 |
+
if( get_option('dbem_disable_title_rewrites') != 1 ){
|
105 |
+
if ( $wp_query->in_the_loop ) {
|
106 |
+
return em_events_page_title($data) ;
|
107 |
+
}
|
108 |
}
|
109 |
+
return $data ;
|
110 |
}
|
111 |
add_filter ( 'the_title', 'em_wp_the_title' );
|
112 |
|
includes/css/events_manager.css
CHANGED
@@ -1,6 +1,3 @@
|
|
1 |
-
#location_info td { vertical-align:top; text-align:left; }
|
2 |
-
#location_info th { vertical-align:top; text-align:left; padding:5px 10px 0 0; }
|
3 |
-
|
4 |
table#dbem-bookings-table tfoot td.booking-result {
|
5 |
font-weight: bold;
|
6 |
background:#6D6D6D url(../../../wp-admin/images/menu-bits.gif) repeat-x scroll left top;
|
@@ -50,21 +47,7 @@ div.dbem-rsvp-message-error {
|
|
50 |
padding: 5px;
|
51 |
border: 2px solid #C34F33;
|
52 |
}
|
53 |
-
|
54 |
-
a.bookingdelbutton {
|
55 |
-
background: url("../../../wp-admin/images/xit.gif") no-repeat;
|
56 |
-
font-size: 11px;
|
57 |
-
text-indent: -9999px;
|
58 |
-
height: 10px;
|
59 |
-
width: 10px;
|
60 |
-
overflow:hidden;
|
61 |
-
position:absolute;
|
62 |
-
|
63 |
-
}
|
64 |
-
a.bookingdelbutton:hover {
|
65 |
-
background: url("../../../wp-admin/images/xit.gif") no-repeat -10px;
|
66 |
-
|
67 |
-
}
|
68 |
/* Printable stuff */
|
69 |
body#printable {
|
70 |
font-family: Gill Sans, Helvetica, Arial, sans-serif;
|
@@ -120,7 +103,8 @@ table#dbem-location-data th {
|
|
120 |
}
|
121 |
#dbem-location-map img {
|
122 |
max-width: none;
|
123 |
-
}
|
|
|
124 |
|
125 |
|
126 |
table.dbem-calendar-table td {
|
|
|
|
|
|
|
1 |
table#dbem-bookings-table tfoot td.booking-result {
|
2 |
font-weight: bold;
|
3 |
background:#6D6D6D url(../../../wp-admin/images/menu-bits.gif) repeat-x scroll left top;
|
47 |
padding: 5px;
|
48 |
border: 2px solid #C34F33;
|
49 |
}
|
50 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
/* Printable stuff */
|
52 |
body#printable {
|
53 |
font-family: Gill Sans, Helvetica, Arial, sans-serif;
|
103 |
}
|
104 |
#dbem-location-map img {
|
105 |
max-width: none;
|
106 |
+
}
|
107 |
+
#em-map-balloon #content { width:auto }
|
108 |
|
109 |
|
110 |
table.dbem-calendar-table td {
|
includes/css/events_manager_admin.css
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#location_info td { vertical-align:top; text-align:left; }
|
2 |
+
#location_info th { vertical-align:top; text-align:left; padding:5px 10px 0 0; }
|
3 |
+
|
4 |
+
.debug{
|
5 |
+
color: green;
|
6 |
+
background: #B7F98C;
|
7 |
+
margin: 15px;
|
8 |
+
padding: 10px;
|
9 |
+
border: 1px solid #629948;
|
10 |
+
}
|
11 |
+
.switch-tab {
|
12 |
+
background: #aaa;
|
13 |
+
width: 100px;
|
14 |
+
float: right;
|
15 |
+
text-align: center;
|
16 |
+
margin: 3px 1px 0 5px;
|
17 |
+
padding: 2px;
|
18 |
+
}
|
19 |
+
.switch-tab a {
|
20 |
+
color: #fff;
|
21 |
+
text-decoration: none;
|
22 |
+
}
|
23 |
+
.switch-tab a:hover {
|
24 |
+
color: #D54E21;
|
25 |
+
|
26 |
+
}
|
27 |
+
#events-pagination {
|
28 |
+
text-align: center;
|
29 |
+
|
30 |
+
}
|
31 |
+
#events-pagination a {
|
32 |
+
margin: 0 20px 0 20px;
|
33 |
+
text-decoration: none;
|
34 |
+
width: 80px;
|
35 |
+
padding: 3px 0;
|
36 |
+
background: #FAF4B7;
|
37 |
+
border: 1px solid #ccc;
|
38 |
+
border-top: none;
|
39 |
+
}
|
40 |
+
#new-event {
|
41 |
+
float: left;
|
42 |
+
|
43 |
+
}
|
includes/js/em_calendar_ajax.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
//inserted at wp_head
|
2 |
jQuery(document).ready( function($) {
|
3 |
-
$('
|
4 |
e.preventDefault();
|
5 |
$(this).parents('.em-calendar-wrapper').first().load($(this).attr('href'));
|
6 |
} );
|
1 |
//inserted at wp_head
|
2 |
jQuery(document).ready( function($) {
|
3 |
+
$('a.em-calnav, a.em-calnav').live('click', function(e){
|
4 |
e.preventDefault();
|
5 |
$(this).parents('.em-calendar-wrapper').first().load($(this).attr('href'));
|
6 |
} );
|
includes/langs/dbem-es_ES.mo
CHANGED
Binary file
|
includes/langs/dbem-es_ES.po
CHANGED
@@ -1,413 +1,1577 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version:
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator:
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Poedit-Language: Italian\n"
|
13 |
-
"X-Poedit-Country: ITALY\n"
|
14 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
-
"X-Poedit-Basepath: /Users/davidebenini/Sites/testblog/wp-content/plugins/events-manager/\n"
|
16 |
-
"X-Poedit-KeywordsList: _e;__\n"
|
17 |
-
"X-Poedit-SearchPath-0: .\n"
|
18 |
-
|
19 |
-
#: dbem_calendar.php:121
|
20 |
-
msgid "M_Monday_initial"
|
21 |
-
msgstr "L"
|
22 |
-
|
23 |
-
#: dbem_calendar.php:121
|
24 |
-
msgid "T_Tuesday_initial"
|
25 |
-
msgstr "M"
|
26 |
-
|
27 |
-
#: dbem_calendar.php:121
|
28 |
-
msgid "W_Wednesday_initial"
|
29 |
-
msgstr "M"
|
30 |
-
|
31 |
-
#: dbem_calendar.php:121
|
32 |
-
msgid "T_Thursday_initial"
|
33 |
-
msgstr "J"
|
34 |
-
|
35 |
-
#: dbem_calendar.php:121
|
36 |
-
msgid "F_Friday_initial"
|
37 |
-
msgstr "V"
|
38 |
-
|
39 |
-
#: dbem_calendar.php:121
|
40 |
-
msgid "S_Saturday_initial"
|
41 |
-
msgstr "S"
|
42 |
-
|
43 |
-
#: dbem_calendar.php:121
|
44 |
-
msgid "S_Sunday_initial"
|
45 |
-
msgstr "D"
|
46 |
-
|
47 |
-
#: dbem_widgets.php:10
|
48 |
-
#: dbem_widgets.php:35
|
49 |
-
#: events-manager.php:40
|
50 |
-
#: events-manager.php:179
|
51 |
-
#: events-manager.php:185
|
52 |
-
#: events-manager.php:211
|
53 |
-
#: events-manager.php:222
|
54 |
-
msgid "Events"
|
55 |
-
msgstr "Eventos"
|
56 |
|
57 |
-
#:
|
58 |
-
#:
|
59 |
-
#:
|
60 |
-
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
-
#:
|
64 |
-
|
65 |
-
|
66 |
-
msgstr "Título"
|
67 |
|
68 |
-
#:
|
69 |
-
|
70 |
-
|
|
|
|
|
71 |
|
72 |
-
#:
|
73 |
-
|
74 |
-
|
|
|
|
|
75 |
|
76 |
-
#:
|
77 |
-
#:
|
78 |
-
|
79 |
-
|
|
|
80 |
|
81 |
-
#:
|
82 |
-
|
83 |
-
|
84 |
-
msgstr "Todos los eventos"
|
85 |
|
86 |
-
#:
|
87 |
-
|
88 |
-
|
89 |
-
msgstr "Eventos pasados"
|
90 |
|
91 |
-
#:
|
92 |
-
msgid "
|
93 |
-
msgstr "
|
94 |
|
95 |
-
#:
|
96 |
-
|
97 |
-
|
|
|
98 |
|
99 |
-
#:
|
100 |
-
|
101 |
-
|
|
|
102 |
|
103 |
-
#:
|
104 |
-
msgid "
|
105 |
-
msgstr "
|
106 |
|
107 |
-
#:
|
108 |
-
|
109 |
-
|
|
|
110 |
|
111 |
-
#:
|
112 |
-
#:
|
113 |
-
msgid "
|
114 |
-
msgstr "
|
115 |
|
116 |
-
#:
|
117 |
-
#:
|
118 |
-
msgid "
|
119 |
-
msgstr "
|
120 |
|
121 |
-
#:
|
122 |
-
msgid "
|
123 |
-
msgstr "
|
124 |
|
125 |
-
#:
|
126 |
-
msgid "
|
127 |
-
msgstr "
|
128 |
-
|
129 |
-
#: events-manager.php:305
|
130 |
-
msgid "updated"
|
131 |
-
msgstr "actualizado"
|
132 |
|
133 |
-
#:
|
|
|
134 |
msgid "Insert New Event"
|
135 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
|
137 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
msgid "Edit Event"
|
139 |
-
msgstr "
|
140 |
|
141 |
-
#: events
|
142 |
msgid "Past Events"
|
143 |
-
msgstr "Eventos
|
144 |
|
145 |
-
#: events
|
146 |
msgid "All Events"
|
147 |
-
msgstr "Todos los
|
148 |
|
149 |
-
#: events
|
150 |
msgid "Future Events"
|
151 |
-
msgstr "Eventos
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
-
#:
|
154 |
msgid "Event Manager Options"
|
155 |
-
msgstr "Opciones de
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
|
157 |
-
#:
|
158 |
-
msgid "
|
159 |
-
msgstr "
|
160 |
|
161 |
-
#:
|
162 |
-
msgid "
|
163 |
-
msgstr "
|
164 |
|
165 |
-
#:
|
166 |
-
msgid "
|
167 |
-
msgstr "
|
168 |
|
169 |
-
#:
|
170 |
-
msgid "
|
171 |
-
msgstr "
|
172 |
|
173 |
-
#:
|
174 |
-
msgid "
|
175 |
-
msgstr "
|
176 |
|
177 |
-
#:
|
178 |
-
|
179 |
-
|
|
|
180 |
|
181 |
-
#:
|
182 |
-
msgid "
|
183 |
-
msgstr "
|
184 |
|
185 |
-
#:
|
186 |
-
|
187 |
-
|
188 |
-
#: events-manager.php:523
|
189 |
-
msgid "Follow the previous formatting instructions."
|
190 |
-
msgstr "Siga las instrucciones de formato anteriores."
|
191 |
|
192 |
-
#:
|
193 |
-
msgid "Default
|
194 |
-
msgstr "
|
195 |
|
196 |
-
#:
|
197 |
-
msgid "
|
198 |
-
msgstr "
|
199 |
|
200 |
-
#:
|
201 |
-
msgid "
|
202 |
-
msgstr "
|
203 |
|
204 |
-
#:
|
205 |
-
msgid "
|
206 |
-
msgstr "
|
207 |
|
208 |
-
#:
|
209 |
-
|
210 |
-
|
211 |
-
msgstr "Si"
|
212 |
|
213 |
-
#:
|
214 |
-
|
215 |
-
|
216 |
-
msgstr "No"
|
217 |
|
218 |
-
#:
|
219 |
-
msgid "
|
220 |
-
msgstr "
|
|
|
|
|
|
|
|
|
221 |
|
222 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
msgid "Events page title"
|
224 |
-
msgstr "
|
225 |
|
226 |
-
#:
|
227 |
msgid "The title on the multiple events page."
|
228 |
-
msgstr "El título
|
229 |
|
230 |
-
#:
|
231 |
msgid "No events message"
|
232 |
-
msgstr "
|
233 |
|
234 |
-
#:
|
235 |
msgid "The message displayed when no events are available."
|
236 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
|
238 |
-
#:
|
239 |
msgid "RSS main title"
|
240 |
-
msgstr "
|
241 |
|
242 |
-
#:
|
243 |
msgid "The main title of your RSS events feed."
|
244 |
-
msgstr "El título
|
245 |
|
246 |
-
#:
|
247 |
msgid "RSS main description"
|
248 |
-
msgstr "
|
249 |
|
250 |
-
#:
|
251 |
msgid "The main description of your RSS events feed."
|
252 |
-
msgstr "La descripción
|
253 |
|
254 |
-
#:
|
255 |
msgid "RSS title format"
|
256 |
-
msgstr "
|
257 |
|
258 |
-
#:
|
259 |
msgid "The format of the title of each item in the events RSS feed."
|
260 |
-
msgstr "El formato
|
261 |
|
262 |
-
#:
|
263 |
msgid "RSS description format"
|
264 |
-
msgstr "
|
265 |
|
266 |
-
#:
|
267 |
-
msgid "The format of the description of each item in the events RSS feed."
|
268 |
-
msgstr "El formato de la descripción de cada
|
269 |
|
270 |
-
#:
|
|
|
|
|
|
|
|
|
271 |
msgid "Enable Google Maps integration?"
|
272 |
-
msgstr "¿
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
273 |
|
274 |
-
#:
|
275 |
msgid "Check this option to enable Goggle Map integration."
|
276 |
-
msgstr "
|
277 |
|
278 |
-
#:
|
279 |
-
msgid "
|
280 |
-
msgstr "
|
281 |
|
282 |
-
#:
|
283 |
-
msgid "
|
284 |
-
msgstr "
|
285 |
|
286 |
-
#:
|
287 |
-
msgid "
|
288 |
-
msgstr "
|
289 |
|
290 |
-
#:
|
291 |
-
msgid "
|
292 |
-
msgstr "
|
293 |
|
294 |
-
#:
|
295 |
-
msgid "
|
296 |
-
msgstr "
|
297 |
|
298 |
-
#:
|
299 |
-
msgid "
|
300 |
-
msgstr "
|
301 |
|
302 |
-
#:
|
303 |
-
msgid "
|
304 |
-
msgstr "
|
305 |
|
306 |
-
#:
|
307 |
-
|
308 |
-
|
|
|
309 |
|
310 |
-
#:
|
311 |
-
|
312 |
-
|
313 |
-
msgstr "Nombre"
|
314 |
|
315 |
-
#:
|
316 |
-
|
317 |
-
|
318 |
-
msgstr "Lugar"
|
319 |
|
320 |
-
#:
|
321 |
-
|
322 |
-
|
323 |
-
msgstr "Ciudad"
|
324 |
|
325 |
-
#:
|
326 |
-
|
327 |
-
|
328 |
-
msgstr "Dirección"
|
329 |
|
330 |
-
#:
|
331 |
-
msgid "
|
332 |
-
msgstr "
|
333 |
|
334 |
-
#:
|
335 |
-
msgid "
|
336 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
337 |
|
338 |
-
#:
|
339 |
-
msgid "
|
340 |
-
msgstr "
|
341 |
|
342 |
-
#:
|
343 |
-
msgid "
|
344 |
-
msgstr "
|
345 |
|
346 |
-
#:
|
347 |
-
msgid "
|
348 |
-
msgstr "
|
349 |
|
350 |
-
#:
|
|
|
351 |
msgid "Edit"
|
352 |
msgstr "Editar"
|
353 |
|
354 |
-
#:
|
355 |
-
msgid "
|
356 |
-
msgstr "
|
357 |
|
358 |
-
#:
|
359 |
-
msgid "
|
360 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
|
362 |
-
#:
|
363 |
-
msgid "The
|
364 |
-
msgstr "
|
365 |
|
366 |
-
#:
|
367 |
-
msgid "
|
368 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
369 |
|
370 |
-
#: events-manager.php:
|
371 |
-
|
372 |
-
|
|
|
|
|
373 |
|
374 |
-
#: events-manager.php:
|
375 |
-
msgid "
|
376 |
-
msgstr "
|
377 |
|
378 |
-
#: events-manager.php:
|
379 |
-
|
380 |
-
|
|
|
381 |
|
382 |
-
#: events-manager.php:
|
383 |
-
msgid "
|
384 |
-
msgstr "
|
385 |
|
386 |
-
#: events-manager.php:
|
387 |
-
msgid "
|
388 |
-
msgstr "
|
389 |
|
390 |
-
#: events-manager.php:
|
391 |
-
msgid "
|
392 |
-
msgstr "
|
393 |
|
394 |
-
#: events-manager.php:
|
395 |
-
msgid "
|
396 |
-
msgstr "
|
397 |
|
398 |
-
#: events-manager.php:
|
399 |
-
msgid "
|
400 |
-
msgstr "
|
401 |
-
|
402 |
-
#: events-manager.php:
|
403 |
-
msgid "
|
404 |
-
msgstr "
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
|
1 |
+
# Translation of the WordPress plugin Events Manager 3.0.4 by Davide Benini, Marcus Sykes.
|
2 |
+
# Copyright (C) 2010 Davide Benini, Marcus Sykes
|
3 |
+
# This file is distributed under the same license as the Events Manager package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
+
#
|
6 |
msgid ""
|
7 |
msgstr ""
|
8 |
+
"Project-Id-Version: Events Manager 3.0.4\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/events-manager\n"
|
10 |
+
"POT-Creation-Date: 2010-10-22 13:29+0000\n"
|
11 |
+
"PO-Revision-Date: 2010-10-22 15:35+0100\n"
|
12 |
+
"Last-Translator: Marcus Sykes <marcus@netweblogic.com>\n"
|
13 |
"Language-Team: \n"
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
+
#: admin/admin.php:125
|
19 |
+
#: admin/categories.php:76
|
20 |
+
#: admin/categories.php:83
|
21 |
+
#: admin/event.php:279
|
22 |
+
#: admin/events.php:192
|
23 |
+
#: admin/locations.php:103
|
24 |
+
#: admin/locations.php:111
|
25 |
+
#: admin/people.php:39
|
26 |
+
#: bookings.php:78
|
27 |
+
#: bookings.php:149
|
28 |
+
msgid "Name"
|
29 |
+
msgstr "Nombre"
|
30 |
|
31 |
+
#: admin/admin.php:126
|
32 |
+
msgid "Date"
|
33 |
+
msgstr "Fecha"
|
|
|
34 |
|
35 |
+
#: admin/admin.php:127
|
36 |
+
#: admin/event.php:338
|
37 |
+
#: admin/events.php:194
|
38 |
+
msgid "Location"
|
39 |
+
msgstr "Lugar"
|
40 |
|
41 |
+
#: admin/admin.php:128
|
42 |
+
#: admin/locations.php:104
|
43 |
+
#: admin/locations.php:112
|
44 |
+
msgid "Address"
|
45 |
+
msgstr "Dirección"
|
46 |
|
47 |
+
#: admin/admin.php:129
|
48 |
+
#: admin/locations.php:105
|
49 |
+
#: admin/locations.php:113
|
50 |
+
msgid "Town"
|
51 |
+
msgstr "Localidad"
|
52 |
|
53 |
+
#: admin/admin.php:143
|
54 |
+
msgid "Some required fields are missing:"
|
55 |
+
msgstr "Falta completar algunos campos obligatorios:"
|
|
|
56 |
|
57 |
+
#: admin/admin.php:146
|
58 |
+
msgid "Since the event is repeated, you must specify an end date"
|
59 |
+
msgstr "Como este evento es recurrente, es obligatorio indicar la fecha de finalización."
|
|
|
60 |
|
61 |
+
#: admin/bookings.php:17
|
62 |
+
msgid "Bookings deleted"
|
63 |
+
msgstr "Reservas eliminadas"
|
64 |
|
65 |
+
#: admin/categories.php:56
|
66 |
+
#: events-manager.php:227
|
67 |
+
msgid "Categories"
|
68 |
+
msgstr "Categorías"
|
69 |
|
70 |
+
#: admin/categories.php:75
|
71 |
+
#: admin/categories.php:82
|
72 |
+
msgid "ID"
|
73 |
+
msgstr "ID"
|
74 |
|
75 |
+
#: admin/categories.php:106
|
76 |
+
msgid "No categories have been inserted yet!"
|
77 |
+
msgstr "¡Aún no se han insertado categorías!"
|
78 |
|
79 |
+
#: admin/categories.php:118
|
80 |
+
#: admin/categories.php:126
|
81 |
+
msgid "Add category"
|
82 |
+
msgstr "Añadir categoría"
|
83 |
|
84 |
+
#: admin/categories.php:122
|
85 |
+
#: admin/categories.php:164
|
86 |
+
msgid "Category name"
|
87 |
+
msgstr "Nombre"
|
88 |
|
89 |
+
#: admin/categories.php:124
|
90 |
+
#: admin/categories.php:166
|
91 |
+
msgid "The name of the category"
|
92 |
+
msgstr "El nombre de la categoría."
|
93 |
|
94 |
+
#: admin/categories.php:148
|
95 |
+
msgid "Edit category"
|
96 |
+
msgstr "Editar categoría"
|
97 |
|
98 |
+
#: admin/categories.php:169
|
99 |
+
msgid "Update category"
|
100 |
+
msgstr "Actualizar"
|
|
|
|
|
|
|
|
|
101 |
|
102 |
+
#: admin/event.php:4
|
103 |
+
#: admin/events.php:72
|
104 |
msgid "Insert New Event"
|
105 |
+
msgstr "Insertar nuevo evento"
|
106 |
+
|
107 |
+
#: admin/event.php:31
|
108 |
+
msgid "Mon"
|
109 |
+
msgstr "Lun"
|
110 |
+
|
111 |
+
#: admin/event.php:31
|
112 |
+
msgid "Tue"
|
113 |
+
msgstr "Mar"
|
114 |
+
|
115 |
+
#: admin/event.php:31
|
116 |
+
msgid "Wed"
|
117 |
+
msgstr "Mié"
|
118 |
+
|
119 |
+
#: admin/event.php:31
|
120 |
+
msgid "Thu"
|
121 |
+
msgstr "Jue"
|
122 |
+
|
123 |
+
#: admin/event.php:31
|
124 |
+
msgid "Fri"
|
125 |
+
msgstr "Vie"
|
126 |
+
|
127 |
+
#: admin/event.php:31
|
128 |
+
msgid "Sat"
|
129 |
+
msgstr "Sáb"
|
130 |
+
|
131 |
+
#: admin/event.php:31
|
132 |
+
msgid "Sun"
|
133 |
+
msgstr "Dom"
|
134 |
+
|
135 |
+
#: admin/event.php:42
|
136 |
+
msgid "WARNING: This is a recurring event."
|
137 |
+
msgstr "ATENCIÓN: Este evento es recurrente."
|
138 |
+
|
139 |
+
#: admin/event.php:44
|
140 |
+
msgid "Modifying these data all the events linked to this recurrence will be rescheduled"
|
141 |
+
msgstr "Cualquier modificación a estos datos reprogramará todas sus fechas"
|
142 |
+
|
143 |
+
#: admin/event.php:46
|
144 |
+
msgid "and all booking information will be deleted!"
|
145 |
+
msgstr "y eliminará todas las reservas asociadas a ellas."
|
146 |
+
|
147 |
+
#: admin/event.php:49
|
148 |
+
msgid "WARNING: This is a recurrence."
|
149 |
+
msgstr "ATENCIÓN: Este evento es recurrente."
|
150 |
+
|
151 |
+
#: admin/event.php:51
|
152 |
+
msgid "If you change these data and save, this will become an independent event."
|
153 |
+
msgstr "Si guarda los cambios en esta página, se convertirá en un evento independiente."
|
154 |
+
|
155 |
+
#: admin/event.php:66
|
156 |
+
msgid "Recurrence"
|
157 |
+
msgstr "Recurrencia"
|
158 |
+
|
159 |
+
#: admin/event.php:73
|
160 |
+
msgid "Repeated event"
|
161 |
+
msgstr "Este evento se repite"
|
162 |
+
|
163 |
+
#: admin/event.php:80
|
164 |
+
msgid "Daily"
|
165 |
+
msgstr "Diariamente"
|
166 |
+
|
167 |
+
#: admin/event.php:80
|
168 |
+
msgid "Weekly"
|
169 |
+
msgstr "Semanalmente"
|
170 |
+
|
171 |
+
#: admin/event.php:80
|
172 |
+
msgid "Monthly"
|
173 |
+
msgstr "Mensualmente"
|
174 |
+
|
175 |
+
#: admin/event.php:86
|
176 |
+
#: admin/event.php:109
|
177 |
+
msgid "Every"
|
178 |
+
msgstr "Cada"
|
179 |
+
|
180 |
+
#: admin/event.php:89
|
181 |
+
msgid "day"
|
182 |
+
msgstr "día"
|
183 |
+
|
184 |
+
#: admin/event.php:91
|
185 |
+
msgid "days"
|
186 |
+
msgstr "días"
|
187 |
+
|
188 |
+
#: admin/event.php:93
|
189 |
+
msgid "week"
|
190 |
+
msgstr "semana"
|
191 |
+
|
192 |
+
#: admin/event.php:95
|
193 |
+
msgid "weeks"
|
194 |
+
msgstr "semanas"
|
195 |
+
|
196 |
+
#: admin/event.php:97
|
197 |
+
msgid "month"
|
198 |
+
msgstr "mes"
|
199 |
+
|
200 |
+
#: admin/event.php:99
|
201 |
+
msgid "months"
|
202 |
+
msgstr "meses"
|
203 |
+
|
204 |
+
#: admin/event.php:112
|
205 |
+
msgid "first"
|
206 |
+
msgstr "primer"
|
207 |
+
|
208 |
+
#: admin/event.php:112
|
209 |
+
msgid "second"
|
210 |
+
msgstr "segundo"
|
211 |
+
|
212 |
+
#: admin/event.php:112
|
213 |
+
msgid "third"
|
214 |
+
msgstr "tercer"
|
215 |
+
|
216 |
+
#: admin/event.php:112
|
217 |
+
msgid "fourth"
|
218 |
+
msgstr "cuarto"
|
219 |
+
|
220 |
+
#: admin/event.php:112
|
221 |
+
msgid "last"
|
222 |
+
msgstr "último"
|
223 |
+
|
224 |
+
#: admin/event.php:123
|
225 |
+
msgid "Check if your event happens more than once according to a regular pattern"
|
226 |
+
msgstr "Utilice la recurrencia si su evento se repite de acuerdo a un patrón regular."
|
227 |
+
|
228 |
+
#: admin/event.php:130
|
229 |
+
#: admin/events.php:36
|
230 |
+
#: admin/events.php:255
|
231 |
+
msgid "Reschedule"
|
232 |
+
msgstr "Reprogramar"
|
233 |
+
|
234 |
+
#: admin/event.php:135
|
235 |
+
msgid "This is't a recurrent event"
|
236 |
+
msgstr "Este evento no es recurrente"
|
237 |
+
|
238 |
+
#: admin/event.php:147
|
239 |
+
msgid "Contact Person"
|
240 |
+
msgstr "Persona de contacto"
|
241 |
+
|
242 |
+
#: admin/event.php:150
|
243 |
+
msgid "Contact"
|
244 |
+
msgstr "Contacto"
|
245 |
+
|
246 |
+
#: admin/event.php:151
|
247 |
+
msgid "Select..."
|
248 |
+
msgstr "Seleccione..."
|
249 |
+
|
250 |
+
#: admin/event.php:158
|
251 |
+
msgid "RSVP"
|
252 |
+
msgstr "RSVP"
|
253 |
+
|
254 |
+
#: admin/event.php:162
|
255 |
+
msgid "Enable registration for this event"
|
256 |
+
msgstr "Activar reservas para este evento"
|
257 |
+
|
258 |
+
#: admin/event.php:173
|
259 |
+
#: admin/event.php:192
|
260 |
+
msgid "Spaces"
|
261 |
+
msgstr "Espacios"
|
262 |
+
|
263 |
+
#: admin/event.php:185
|
264 |
+
msgid "responses so far"
|
265 |
+
msgstr "respuestas hasta ahora"
|
266 |
+
|
267 |
+
#: admin/event.php:191
|
268 |
+
msgid "Responder"
|
269 |
+
msgstr "Responder"
|
270 |
+
|
271 |
+
#: admin/event.php:197
|
272 |
+
msgid "Booked spaces"
|
273 |
+
msgstr "Espacios reservados"
|
274 |
|
275 |
+
#: admin/event.php:198
|
276 |
+
msgid "Available spaces"
|
277 |
+
msgstr "Espacios disponibles"
|
278 |
+
|
279 |
+
#: admin/event.php:208
|
280 |
+
msgid "Comment:"
|
281 |
+
msgstr "Comentarios:"
|
282 |
+
|
283 |
+
#: admin/event.php:226
|
284 |
+
msgid "Printable view"
|
285 |
+
msgstr "Versión para imprimir"
|
286 |
+
|
287 |
+
#: admin/event.php:234
|
288 |
+
msgid "No responses yet!"
|
289 |
+
msgstr "¡Aún no hay respuestas!"
|
290 |
+
|
291 |
+
#: admin/event.php:251
|
292 |
+
#: admin/events.php:228
|
293 |
+
msgid "Category"
|
294 |
+
msgstr "Categoría"
|
295 |
+
|
296 |
+
#: admin/event.php:254
|
297 |
+
msgid "Category:"
|
298 |
+
msgstr "Categoría:"
|
299 |
+
|
300 |
+
#: admin/event.php:284
|
301 |
+
msgid "The event name. Example: Birthday party"
|
302 |
+
msgstr "El título del evento. Por ejemplo: Fiesta de cumpleaños."
|
303 |
+
|
304 |
+
#: admin/event.php:289
|
305 |
+
msgid "Event date"
|
306 |
+
msgstr "Fecha"
|
307 |
+
|
308 |
+
#: admin/event.php:292
|
309 |
+
msgid "Recurrence dates"
|
310 |
+
msgstr "Rango de fechas"
|
311 |
+
|
312 |
+
#: admin/event.php:302
|
313 |
+
msgid "The event date."
|
314 |
+
msgstr "La fecha en que tiene lugar el evento."
|
315 |
+
|
316 |
+
#: admin/event.php:305
|
317 |
+
msgid "When not reoccurring, this event spans between the beginning and end date."
|
318 |
+
msgstr "Si no es recurrente, el evento dura desde la fecha de inicio hasta la de finalización."
|
319 |
+
|
320 |
+
#: admin/event.php:310
|
321 |
+
msgid "The recurrence beginning and end date."
|
322 |
+
msgstr "La primera y última fechas en que tiene lugar el evento recurrente."
|
323 |
+
|
324 |
+
#: admin/event.php:316
|
325 |
+
msgid "Event time"
|
326 |
+
msgstr "Hora"
|
327 |
+
|
328 |
+
#: admin/event.php:323
|
329 |
+
msgid "The time of the event beginning and end"
|
330 |
+
msgstr "El horario de inicio y de finalización del evento"
|
331 |
+
|
332 |
+
#: admin/event.php:328
|
333 |
+
msgid "Coordinates"
|
334 |
+
msgstr "Coordenadas"
|
335 |
+
|
336 |
+
#: admin/event.php:347
|
337 |
+
msgid "Location:"
|
338 |
+
msgstr "Lugar:"
|
339 |
+
|
340 |
+
#: admin/event.php:364
|
341 |
+
msgid "The name of the location where the event takes place. You can use the name of a venue, a square, etc"
|
342 |
+
msgstr "El nombre del lugar en el que el evento tiene lugar. Puede utilizar el nombre de un bar, una plaza, etc."
|
343 |
+
|
344 |
+
#: admin/event.php:369
|
345 |
+
msgid "Name:"
|
346 |
+
msgstr "Nombre:"
|
347 |
+
|
348 |
+
#: admin/event.php:372
|
349 |
+
msgid "Select a location for your event"
|
350 |
+
msgstr "El nombre del lugar donde se desarrolla el evento."
|
351 |
+
|
352 |
+
#: admin/event.php:376
|
353 |
+
msgid "Address:"
|
354 |
+
msgstr "Dirección:"
|
355 |
+
|
356 |
+
#: admin/event.php:379
|
357 |
+
msgid "The address of the location where the event takes place. Example: 21, Dominick Street"
|
358 |
+
msgstr "La dirección física del lugar. Ejemplo: \"Congreso 151\"."
|
359 |
+
|
360 |
+
#: admin/event.php:383
|
361 |
+
msgid "Town:"
|
362 |
+
msgstr "Localidad:"
|
363 |
+
|
364 |
+
#: admin/event.php:386
|
365 |
+
msgid "The town where the location is located. If you're using the Google Map integration and want to avoid geotagging ambiguities include the country in the town field. Example: Verona, Italy."
|
366 |
+
msgstr "La localidad en la que se encuentra el lugar. Si utiliza la integración con Google Maps y quiere evitar ambigüedades, incluya distrito y país en este campo. Ejemplo: \"San Miguel de Tucumán, Tucumán, Argentina\"."
|
367 |
+
|
368 |
+
#: admin/event.php:395
|
369 |
+
#: admin/locations.php:181
|
370 |
+
#: admin/locations.php:265
|
371 |
+
msgid "Location not found"
|
372 |
+
msgstr "Lugar no encontrado"
|
373 |
+
|
374 |
+
#: admin/event.php:406
|
375 |
+
msgid "Details"
|
376 |
+
msgstr "Detalles"
|
377 |
+
|
378 |
+
#: admin/event.php:413
|
379 |
+
msgid "Details about the event"
|
380 |
+
msgstr "Información detallada acerca del evento."
|
381 |
+
|
382 |
+
#: admin/event.php:420
|
383 |
+
msgid "Attributes"
|
384 |
+
msgstr "Atributos"
|
385 |
+
|
386 |
+
#: admin/event.php:475
|
387 |
+
msgid "Not defined in templates"
|
388 |
+
msgstr "No definidos en plantillas"
|
389 |
+
|
390 |
+
#: admin/event.php:519
|
391 |
+
msgid "In order to use attributes, you must define some in your templates, otherwise they'll never show. Go to Events > Settings to add attribute placeholders."
|
392 |
+
msgstr "Para utilizar atributos debe primero definirlos en sus plantillas, caso contrario jamás se mostrarán. Vaya a Eventos > Opciones para añadir marcadores de atributos."
|
393 |
+
|
394 |
+
#: admin/event.php:531
|
395 |
+
msgid "Submit Event"
|
396 |
+
msgstr "Guardar evento"
|
397 |
+
|
398 |
+
#: admin/event.php:542
|
399 |
+
msgid "Are you sure you want to reschedule this recurring event? If you do this, you will lose all booking information and the old recurring events will be deleted."
|
400 |
+
msgstr "¿Está seguro de que desea reprogramar este evento recurrente? Si continúa, se eliminarán todas las reservas y las fechas asociadas a él."
|
401 |
+
|
402 |
+
#: admin/event.php:552
|
403 |
+
msgid "Are you sure you want to disable bookings? If you do this and save, you will lose all previous bookings. If you wish to prevent further bookings, reduce the number of seats available to the amount of bookings you currently have"
|
404 |
+
msgstr "¿Está seguro de que desea desactivar las reservas? Si continúa y guarda los cambios, perderá todas las reservas. Si lo que desea es evitar que más gente reserve espacios, reduzca el número de asientos disponibles a la cantidad de reservas que tiene actualmente."
|
405 |
+
|
406 |
+
#: admin/events.php:51
|
407 |
+
#: admin/events.php:61
|
408 |
+
#: admin/locations.php:42
|
409 |
+
#: admin/locations.php:60
|
410 |
+
msgid "Ach, there's a problem here:"
|
411 |
+
msgstr "Ouch, hay un problema aquí:"
|
412 |
+
|
413 |
+
#: admin/events.php:74
|
414 |
+
#: admin/events.php:85
|
415 |
msgid "Edit Event"
|
416 |
+
msgstr "Editar evento"
|
417 |
|
418 |
+
#: admin/events.php:98
|
419 |
msgid "Past Events"
|
420 |
+
msgstr "Eventos pasados"
|
421 |
|
422 |
+
#: admin/events.php:101
|
423 |
msgid "All Events"
|
424 |
+
msgstr "Todos los eventos"
|
425 |
|
426 |
+
#: admin/events.php:104
|
427 |
msgid "Future Events"
|
428 |
+
msgstr "Eventos futuros"
|
429 |
+
|
430 |
+
#: admin/events.php:116
|
431 |
+
#: admin/events.php:136
|
432 |
+
#: widgets/events.php:72
|
433 |
+
msgid "Past events"
|
434 |
+
msgstr "Eventos pasados"
|
435 |
+
|
436 |
+
#: admin/events.php:117
|
437 |
+
#: admin/events.php:137
|
438 |
+
#: widgets/events.php:71
|
439 |
+
msgid "All events"
|
440 |
+
msgstr "Todos los eventos"
|
441 |
+
|
442 |
+
#: admin/events.php:118
|
443 |
+
#: admin/events.php:138
|
444 |
+
#: widgets/events.php:70
|
445 |
+
msgid "Future events"
|
446 |
+
msgstr "Eventos futuros"
|
447 |
+
|
448 |
+
#: admin/events.php:143
|
449 |
+
msgid "Total"
|
450 |
+
msgstr "Total"
|
451 |
+
|
452 |
+
#: admin/events.php:151
|
453 |
+
msgid "Bulk Actions"
|
454 |
+
msgstr "Acciones en lote"
|
455 |
+
|
456 |
+
#: admin/events.php:152
|
457 |
+
msgid "Delete selected"
|
458 |
+
msgstr "Eliminar seleccionados"
|
459 |
+
|
460 |
+
#: admin/events.php:154
|
461 |
+
msgid "Apply"
|
462 |
+
msgstr "Aplicar"
|
463 |
+
|
464 |
+
#: admin/events.php:165
|
465 |
+
msgid "Filter"
|
466 |
+
msgstr "Filtrar"
|
467 |
+
|
468 |
+
#: admin/events.php:171
|
469 |
+
msgid "Previous Page"
|
470 |
+
msgstr "Anterior"
|
471 |
+
|
472 |
+
#: admin/events.php:173
|
473 |
+
msgid "Next Page"
|
474 |
+
msgstr "Siguiente"
|
475 |
+
|
476 |
+
#: admin/events.php:182
|
477 |
+
msgid "no events"
|
478 |
+
msgstr "No hay eventos."
|
479 |
+
|
480 |
+
#: admin/events.php:195
|
481 |
+
msgid "Date and time"
|
482 |
+
msgstr "Fecha y hora"
|
483 |
+
|
484 |
+
#: admin/events.php:207
|
485 |
+
#: admin/events.php:208
|
486 |
+
msgid "D d M Y"
|
487 |
+
msgstr "D d M Y"
|
488 |
+
|
489 |
+
#: admin/events.php:232
|
490 |
+
msgid "Duplicate this event"
|
491 |
+
msgstr "Duplicar este evento"
|
492 |
+
|
493 |
+
#: admin/locations.php:20
|
494 |
+
msgid "Locations Deleted"
|
495 |
+
msgstr "Lugares eliminados"
|
496 |
+
|
497 |
+
#: admin/locations.php:36
|
498 |
+
msgid "The location has been updated."
|
499 |
+
msgstr "El lugar ha sido actualizado."
|
500 |
+
|
501 |
+
#: admin/locations.php:55
|
502 |
+
msgid "The location has been added."
|
503 |
+
msgstr "El lugar ha sido añadido."
|
504 |
+
|
505 |
+
#: admin/locations.php:83
|
506 |
+
#: events-manager.php:225
|
507 |
+
msgid "Locations"
|
508 |
+
msgstr "Lugares"
|
509 |
+
|
510 |
+
#: admin/locations.php:138
|
511 |
+
msgid "No venues have been inserted yet!"
|
512 |
+
msgstr "¡Aún no se han cargado lugares!"
|
513 |
+
|
514 |
+
#: admin/locations.php:148
|
515 |
+
#: admin/locations.php:203
|
516 |
+
msgid "Add location"
|
517 |
+
msgstr "Agregar lugar"
|
518 |
+
|
519 |
+
#: admin/locations.php:152
|
520 |
+
#: admin/locations.php:235
|
521 |
+
msgid "Location name"
|
522 |
+
msgstr "Nombre del lugar"
|
523 |
+
|
524 |
+
#: admin/locations.php:154
|
525 |
+
#: admin/locations.php:237
|
526 |
+
msgid "The name of the location"
|
527 |
+
msgstr "El nombre del lugar"
|
528 |
+
|
529 |
+
#: admin/locations.php:158
|
530 |
+
#: admin/locations.php:241
|
531 |
+
msgid "Location address"
|
532 |
+
msgstr "Dirección"
|
533 |
+
|
534 |
+
#: admin/locations.php:160
|
535 |
+
#: admin/locations.php:243
|
536 |
+
msgid "The address of the location"
|
537 |
+
msgstr "La dirección física del lugar. Ejemplo: \"Congreso 151\""
|
538 |
+
|
539 |
+
#: admin/locations.php:164
|
540 |
+
#: admin/locations.php:248
|
541 |
+
msgid "Location town"
|
542 |
+
msgstr "Localidad"
|
543 |
+
|
544 |
+
#: admin/locations.php:166
|
545 |
+
msgid "The town of the location"
|
546 |
+
msgstr "La localidad en la que se encuentra el lugar. Si utiliza la integración con Google Maps y quiere evitar ambigüedades, incluya distrito y país en este campo. Ejemplo: \"San Miguel de Tucumán, Tucumán, Argentina\""
|
547 |
+
|
548 |
+
#: admin/locations.php:189
|
549 |
+
#: admin/locations.php:285
|
550 |
+
msgid "Location image"
|
551 |
+
msgstr "Imagen"
|
552 |
+
|
553 |
+
#: admin/locations.php:191
|
554 |
+
msgid "Select an image to upload"
|
555 |
+
msgstr "Seleccione una imagen para subir"
|
556 |
+
|
557 |
+
#: admin/locations.php:195
|
558 |
+
#: admin/locations.php:274
|
559 |
+
msgid "Location description"
|
560 |
+
msgstr "Descripción"
|
561 |
+
|
562 |
+
#: admin/locations.php:200
|
563 |
+
#: admin/locations.php:280
|
564 |
+
msgid "A description of the Location. You may include any kind of info here."
|
565 |
+
msgstr "Una descripción del lugar. Puede incluir cualquier tipo de información aquí."
|
566 |
+
|
567 |
+
#: admin/locations.php:221
|
568 |
+
msgid "Edit location"
|
569 |
+
msgstr "Editar lugar"
|
570 |
+
|
571 |
+
#: admin/locations.php:250
|
572 |
+
msgid "The town where the location is located"
|
573 |
+
msgstr "La localidad donde está ubicado el lugar"
|
574 |
+
|
575 |
+
#: admin/locations.php:262
|
576 |
+
msgid "Location map"
|
577 |
+
msgstr "Mapa del lugar"
|
578 |
+
|
579 |
+
#: admin/locations.php:290
|
580 |
+
msgid "No image uploaded for this location yet"
|
581 |
+
msgstr "Aún no se ha cargado una imagen para este lugar"
|
582 |
+
|
583 |
+
#: admin/locations.php:295
|
584 |
+
msgid "Upload/change picture"
|
585 |
+
msgstr "Cargar/cambiar imagen"
|
586 |
+
|
587 |
+
#: admin/locations.php:299
|
588 |
+
msgid "Update location"
|
589 |
+
msgstr "Actualizar"
|
590 |
+
|
591 |
+
#: admin/options.php:16
|
592 |
+
msgid "Changes saved."
|
593 |
+
msgstr "Cambios guardados."
|
594 |
+
|
595 |
+
#: admin/options.php:28
|
596 |
+
#: admin/options.php:240
|
597 |
+
msgid "Save Changes"
|
598 |
+
msgstr "Guardar cambios"
|
599 |
+
|
600 |
+
#: admin/options.php:28
|
601 |
+
msgid "All"
|
602 |
+
msgstr "Todos"
|
603 |
+
|
604 |
+
#: admin/options.php:32
|
605 |
+
msgid "Collapse All"
|
606 |
+
msgstr "Contraer todos"
|
607 |
+
|
608 |
+
#: admin/options.php:33
|
609 |
+
msgid "Expand All"
|
610 |
+
msgstr "Expandir todos"
|
611 |
|
612 |
+
#: admin/options.php:51
|
613 |
msgid "Event Manager Options"
|
614 |
+
msgstr "Opciones de Events Manager"
|
615 |
+
|
616 |
+
#: admin/options.php:61
|
617 |
+
#: admin/options.php:78
|
618 |
+
#: admin/options.php:106
|
619 |
+
#: admin/options.php:125
|
620 |
+
#: admin/options.php:140
|
621 |
+
#: admin/options.php:156
|
622 |
+
#: admin/options.php:171
|
623 |
+
#: admin/options.php:192
|
624 |
+
#: admin/options.php:208
|
625 |
+
#: admin/options.php:227
|
626 |
+
msgid "Click to toggle"
|
627 |
+
msgstr "Haga clic para contraer/expandir"
|
628 |
+
|
629 |
+
#: admin/options.php:61
|
630 |
+
msgid "General options"
|
631 |
+
msgstr "Opciones generales"
|
632 |
+
|
633 |
+
#: admin/options.php:65
|
634 |
+
msgid "Use dropdown for locations?"
|
635 |
+
msgstr "¿Usar menú de lugares desplegable?"
|
636 |
+
|
637 |
+
#: admin/options.php:65
|
638 |
+
msgid "Select yes to select location from a drow-down menu; location selection will be faster, but you will lose the ability to insert locations with events"
|
639 |
+
msgstr "Permite elegir el lugar desde un menú desplegable. La selección será más rápida, pero no se podrán insertar nuevos lugares al crear eventos."
|
640 |
+
|
641 |
+
#: admin/options.php:66
|
642 |
+
msgid "Use recurrence?"
|
643 |
+
msgstr "¿Activar recurrencia?"
|
644 |
+
|
645 |
+
#: admin/options.php:66
|
646 |
+
msgid "Select yes to enable the recurrence features feature"
|
647 |
+
msgstr "Permite crear eventos recurrentes (diarios, semanales, mensuales, etc)."
|
648 |
+
|
649 |
+
#: admin/options.php:67
|
650 |
+
msgid "Use RSVP?"
|
651 |
+
msgstr "¿Activar RSVP?"
|
652 |
+
|
653 |
+
#: admin/options.php:67
|
654 |
+
msgid "Select yes to enable the RSVP feature"
|
655 |
+
msgstr "Permite que los usuarios se registren y reserven entradas/ubicaciones para los eventos."
|
656 |
+
|
657 |
+
#: admin/options.php:68
|
658 |
+
msgid "Use categories?"
|
659 |
+
msgstr "¿Activar categorías?"
|
660 |
+
|
661 |
+
#: admin/options.php:68
|
662 |
+
msgid "Select yes to enable the category features"
|
663 |
+
msgstr "Permite clasificar los eventos por categorías."
|
664 |
+
|
665 |
+
#: admin/options.php:69
|
666 |
+
msgid "Use attributes?"
|
667 |
+
msgstr "¿Activar atributos?"
|
668 |
+
|
669 |
+
#: admin/options.php:69
|
670 |
+
msgid "Select yes to enable the attributes feature"
|
671 |
+
msgstr "Permite añadir atributos (campos adicionales) a los eventos."
|
672 |
+
|
673 |
+
#: admin/options.php:78
|
674 |
+
#: admin/options.php:92
|
675 |
+
msgid "Events page"
|
676 |
+
msgstr "Página de eventos"
|
677 |
+
|
678 |
+
#: admin/options.php:87
|
679 |
+
msgid "[No Events Page]"
|
680 |
+
msgstr "[Sin página de eventos]"
|
681 |
+
|
682 |
+
#: admin/options.php:92
|
683 |
+
msgid "This option allows you to select which page to use as an events page"
|
684 |
+
msgstr "Elija la página que se utilizará para mostrar los eventos."
|
685 |
+
|
686 |
+
#: admin/options.php:95
|
687 |
+
msgid "Show events page in lists?"
|
688 |
+
msgstr "¿Mostrar página de eventos en listas?"
|
689 |
|
690 |
+
#: admin/options.php:95
|
691 |
+
msgid "Check this option if you want the events page to appear together with other pages in pages lists."
|
692 |
+
msgstr "Permite que WordPress incluya la página de eventos al listar las páginas del blog/sitio."
|
693 |
|
694 |
+
#: admin/options.php:96
|
695 |
+
msgid "Display calendar in events page?"
|
696 |
+
msgstr "¿Mostrar calendario en página de eventos?"
|
697 |
|
698 |
+
#: admin/options.php:96
|
699 |
+
msgid "This options allows to display the calendar in the events page, instead of the default list. It is recommended not to display both the calendar widget and a calendar page."
|
700 |
+
msgstr "Muestra el calendario en la página de eventos en lugar de la lista de eventos predeterminada. No se recomienda mostrar el calendario en la página y en el widget simultáneamente."
|
701 |
|
702 |
+
#: admin/options.php:97
|
703 |
+
msgid "Disable title rewriting?"
|
704 |
+
msgstr ""
|
705 |
|
706 |
+
#: admin/options.php:97
|
707 |
+
msgid "Some wordpress themes don't follow best practices when generating navigation menus, and so the automatic title rewriting feature may cause problems, if your menus aren't working correctly on the event pages, try setting this to 'Yes', and provide an appropriate HTML title format below."
|
708 |
+
msgstr ""
|
709 |
|
710 |
+
#: admin/options.php:98
|
711 |
+
#, fuzzy
|
712 |
+
msgid "Event Manager titles"
|
713 |
+
msgstr "Opciones de Events Manager"
|
714 |
|
715 |
+
#: admin/options.php:98
|
716 |
+
msgid "This only setting only matters if you selected 'Yes' to above. You will notice the events page titles aren't being rewritten, and you have a new title underneath the default page name. This is where you control the HTML of this title. Make sure you keep the #_PAGETITLE placeholder here, as that's what is rewritten by events manager. To control what's rewritten in this title, see settings further down for page titles."
|
717 |
+
msgstr ""
|
718 |
|
719 |
+
#: admin/options.php:106
|
720 |
+
msgid "Events format"
|
721 |
+
msgstr "Eventos"
|
|
|
|
|
|
|
722 |
|
723 |
+
#: admin/options.php:110
|
724 |
+
msgid "Default event list format header"
|
725 |
+
msgstr "Listado: encabezado"
|
726 |
|
727 |
+
#: admin/options.php:110
|
728 |
+
msgid "This content will appear just above your code for the default event list format. Default is blank"
|
729 |
+
msgstr "Se muestra justo arriba del listado de eventos. Predeterminado: vacío."
|
730 |
|
731 |
+
#: admin/options.php:111
|
732 |
+
msgid "Default event list format"
|
733 |
+
msgstr "Listado: ítem (evento)"
|
734 |
|
735 |
+
#: admin/options.php:111
|
736 |
+
msgid "The format of any events in a list.<br/>Insert one or more of the following placeholders: <code>#_NAME</code>, <code>#_LOCATION</code>, <code>#_ADDRESS</code>, <code>#_TOWN</code>, <code>#_NOTES</code>.<br/> Use <code>#_EXCERPT</code> to show <code>#_NOTES</code> until you place a <!–– more ––> marker.<br/> Use <code>#_LINKEDNAME</code> for the event name with a link to the given event page.<br/> Use <code>#_EVENTPAGEURL</code> to print the event page URL and make your own customised links.<br/> Use <code>#_LOCATIONPAGEURL</code> to print the location page URL and make your own customised links.<br/>Use <code>#_EDITEVENTLINK</code> to add add a link to edit page for the event, which will appear only when a user is logged in.<br/>To insert date and time values, use <a href=\"http://www.php.net/manual/en/function.date.php\">PHP time format characters</a> with a <code>#</code> symbol before them, i.e. <code>#m</code>, <code>#M</code>, <code>#j</code>, etc.<br/> For the end time, put <code>#@</code> in front of the character, ie. <code>#@h</code>, <code>#@i</code>, etc.<br/> You can also create a date format without prepending <code>#</code> by wrapping it in #_{} or #@_{} (e.g. <code>#_{d/m/Y}</code>). If there is no end date, the value is not shown.<br/>Feel free to use HTML tags as <code>li</code>, <code>br</code> and so on.<br/>For custom attributes, you use <code>#_ATT{key}{alternative text}</code>, the second braces are optional and will appear if the attribute is not defined or left blank for that event. This key will appear as an option when adding attributes to your event."
|
737 |
+
msgstr "El formato de cada evento de la lista.<br/>Puede utilizar los siguientes marcadores: <code>#_NAME</code>, <code>#_LOCATION</code>, <code>#_ADDRESS</code>, <code>#_TOWN</code>, <code>#_NOTES</code>.<br/> Use <code>#_EXCERPT</code> para mostrar el contenido de <code>#_NOTES</code> hasta el marcador <!–– more ––>.<br/> Use <code>#_LINKEDNAME</code> para mostrar el título enlazado a la página del evento.<br/> Use <code>#_EVENTPAGEURL</code> para mostrar la URL de la página del evento y personalizar los enlaces.<br/> Use <code>#_LOCATIONPAGEURL</code> para mostrar la URL de la página del lugar y personalizar los enlaces.<br/>Use <code>#_EDITEVENTLINK</code> para mostrar un link a la página de edición del evento, que se verá sólo si el usuario inició sesión.<br/>Para valores de fecha y hora, use <a href=\"http://www.php.net/manual/es/function.date.php\">los formatos de fecha/hora de PHP</a> precedidos por un <code>#</code>, ej. <code>#m</code>, <code>#M</code>, <code>#j</code>, etc.<br/> Para la hora de finalización, use <code>#@</code> antes del caracter, ej. <code>#@h</code>, <code>#@i</code>, etc.<br/> También puede definir un formato de fecha sin usar <code>#</code>, encerrándolo entre #_{} or #@_{} (ej. <code>#_{d/m/Y}</code>). Si no hay fecha de finalización, dicho valor no se mostrará.<br/>Use <code>#_12HSTARTTIME</code> y <code>#_12HENDTIME</code> para notación horaria AM/PM; <code>#_24HSTARTTIME</code> y <code>#_24HENDTIME</code> para 24h.<br/>Siéntase libre de usar tags HTML como <code>li</code>, <code>br</code> y similares.<br/>Para atributos personalizados, use <code>#_ATT{clave}{texto alternativo}</code>, las segundas llaves son opcionales y se mostrarán si el atributo no está definido o se dejó en blanco para ese evento. Esta clave se mostrará como una opción al agregar atributos al evento."
|
738 |
|
739 |
+
#: admin/options.php:112
|
740 |
+
msgid "Default event list format footer"
|
741 |
+
msgstr "Listado: pie"
|
|
|
742 |
|
743 |
+
#: admin/options.php:112
|
744 |
+
msgid "This content will appear just below your code for the default event list format. Default is blank"
|
745 |
+
msgstr "Se muestra justo abajo del listado de eventos. Predeterminado: vacío."
|
|
|
746 |
|
747 |
+
#: admin/options.php:113
|
748 |
+
msgid "Single event page title format"
|
749 |
+
msgstr "Detalle: título de página"
|
750 |
+
|
751 |
+
#: admin/options.php:113
|
752 |
+
msgid "The format of a single event page title. Follow the previous formatting instructions."
|
753 |
+
msgstr "El título de la página de información detallada de un evento. Utilice las mismas instrucciones de formato."
|
754 |
|
755 |
+
#: admin/options.php:114
|
756 |
+
msgid "Default single event format"
|
757 |
+
msgstr "Detalle: formato"
|
758 |
+
|
759 |
+
#: admin/options.php:114
|
760 |
+
msgid "The format of a single event page.<br/>Follow the previous formatting instructions. <br/>Use <code>#_MAP</code> to insert a map.<br/>Use <code>#_CONTACTNAME</code>, <code>#_CONTACTEMAIL</code>, <code>#_CONTACTPHONE</code> to insert respectively the name, e-mail address and phone number of the designated contact person. <br/>Use <code>#_ADDBOOKINGFORM</code> to insert a form to allow the user to respond to your events reserving one or more places (RSVP).<br/> Use <code>#_REMOVEBOOKINGFORM</code> to insert a form where users, inserting their name and e-mail address, can remove their bookings."
|
761 |
+
msgstr "El formato de la página de información detallada de un evento.<br/>Utilice las mismas instrucciones de formato. <br/>Use <code>#_MAP</code> para mostrar un mapa del lugar.<br/>Use <code>#_CONTACTNAME</code>, <code>#_CONTACTEMAIL</code>, <code>#_CONTACTPHONE</code> para mostrar respectivamente nombre, e-mail y teléfono de la persona de contacto designada. <br/>Use <code>#_ADDBOOKINGFORM</code> para mostrar un formulario de RSVP que permita al usuario reservar ubicaciones.<br/> Use <code>#_REMOVEBOOKINGFORM</code> para mostrar un formulario de RSVP que permita al usuario cancelar reservas."
|
762 |
+
|
763 |
+
#: admin/options.php:115
|
764 |
msgid "Events page title"
|
765 |
+
msgstr "Listado: título de página"
|
766 |
|
767 |
+
#: admin/options.php:115
|
768 |
msgid "The title on the multiple events page."
|
769 |
+
msgstr "El título de la página de listado de eventos. Utilice las mismas instrucciones de formato."
|
770 |
|
771 |
+
#: admin/options.php:116
|
772 |
msgid "No events message"
|
773 |
+
msgstr "\"No hay eventos\""
|
774 |
|
775 |
+
#: admin/options.php:116
|
776 |
msgid "The message displayed when no events are available."
|
777 |
+
msgstr "Mensaje a mostrar en lugar del listado en caso que no haya ningún evento disponible."
|
778 |
+
|
779 |
+
#: admin/options.php:117
|
780 |
+
msgid "List events by date title"
|
781 |
+
msgstr "Listado por fecha: título"
|
782 |
+
|
783 |
+
#: admin/options.php:117
|
784 |
+
msgid "If viewing a page for events on a specific dates, this is the title that would show up. To insert date values, use <a href=\"http://www.php.net/manual/en/function.date.php\">PHP time format characters</a> with a <code>#</code> symbol before them, i.e. <code>#m</code>, <code>#M</code>, <code>#j</code>, etc.<br/>"
|
785 |
+
msgstr "El título de la página de listado por fecha (ej. un día del calendario). Use <a href=\"http://www.php.net/manual/es/function.date.php\">los formatos de fecha/hora de PHP</a> precedidos por un <code>#</code>, ej. <code>#m</code>, <code>#M</code>, <code>#j</code>, etc."
|
786 |
+
|
787 |
+
#: admin/options.php:125
|
788 |
+
msgid "Calendar format"
|
789 |
+
msgstr "Calendario"
|
790 |
+
|
791 |
+
#: admin/options.php:129
|
792 |
+
msgid "Small calendar title"
|
793 |
+
msgstr "Tooltip: título"
|
794 |
+
|
795 |
+
#: admin/options.php:129
|
796 |
+
msgid "The format of the title, corresponding to the text that appears when hovering on an eventful calendar day."
|
797 |
+
msgstr "El título de cada evento, tal como se mostrará en el tooltip que se ve al pasar el mouse sobre un día del calendario. Utilice las mismas instrucciones de formato."
|
798 |
+
|
799 |
+
#: admin/options.php:130
|
800 |
+
msgid "Small calendar title separator"
|
801 |
+
msgstr "Tooltip: separador"
|
802 |
+
|
803 |
+
#: admin/options.php:130
|
804 |
+
msgid "The separator appearing on the above title when more than one events are taking place on the same day."
|
805 |
+
msgstr "Se utilizará para separar los títulos de eventos indicados en el paso anterior en caso de que haya más de uno disponible para el mismo día."
|
806 |
+
|
807 |
+
#: admin/options.php:131
|
808 |
+
msgid "Full calendar events format"
|
809 |
+
msgstr "Calendario: ítem (evento)"
|
810 |
+
|
811 |
+
#: admin/options.php:131
|
812 |
+
msgid "The format of each event when displayed in the full calendar. Remember to include <code>li</code> tags before and after the event."
|
813 |
+
msgstr "El formato de cada evento del calendario. Recuerde incluir tags <code>li</code> al principio y al final."
|
814 |
+
|
815 |
+
#: admin/options.php:132
|
816 |
+
msgid "Show list on day with single event?"
|
817 |
+
msgstr ""
|
818 |
+
|
819 |
+
#: admin/options.php:132
|
820 |
+
msgid "By default, if a calendar day only has one event, it display a single event when clicking on the link of that calendar date. If you select Yes here, you will get always see a list of events."
|
821 |
+
msgstr ""
|
822 |
+
|
823 |
+
#: admin/options.php:140
|
824 |
+
msgid "Locations format"
|
825 |
+
msgstr "Lugares"
|
826 |
+
|
827 |
+
#: admin/options.php:144
|
828 |
+
msgid "Single location page title format"
|
829 |
+
msgstr "Título de página"
|
830 |
+
|
831 |
+
#: admin/options.php:144
|
832 |
+
msgid "The format of a single location page title.<br/>Follow the previous formatting instructions."
|
833 |
+
msgstr "El título de la página de información detallada de un lugar. Utilice las mismas instrucciones de formato."
|
834 |
+
|
835 |
+
#: admin/options.php:145
|
836 |
+
msgid "Default single location page format"
|
837 |
+
msgstr "Formato de página"
|
838 |
+
|
839 |
+
#: admin/options.php:145
|
840 |
+
msgid "The format of a single location page.<br/>Insert one or more of the following placeholders: <code>#_NAME</code>, <code>#_ADDRESS</code>, <code>#_TOWN</code>, <code>#_DESCRIPTION</code>.<br/> Use <code>#_MAP</code> to display a map of the event location, and <code>#_IMAGE</code> to display an image of the location.<br/> Use <code>#_NEXTEVENTS</code> to insert a list of the upcoming events, <code>#_PASTEVENTS</code> for a list of past events, <code>#_ALLEVENTS</code> for a list of all events taking place in this location."
|
841 |
+
msgstr "El formato de la página de información detallada de un lugar.<br/>Puede utilizar los siguientes marcadores: <code>#_NAME</code>, <code>#_ADDRESS</code>, <code>#_TOWN</code>, <code>#_DESCRIPTION</code>.<br/> Use <code>#_MAP</code> para mostrar un mapa, e <code>#_IMAGE</code> para mostrar una imagen del lugar.<br/> Use <code>#_NEXTEVENTS</code> para mostrar un listado de los próximos eventos, <code>#_PASTEVENTS</code> para uno de los eventos pasados, y <code>#_ALLEVENTS</code> para uno de todos los eventos del lugar."
|
842 |
+
|
843 |
+
#: admin/options.php:146
|
844 |
+
msgid "Default location baloon format"
|
845 |
+
msgstr "Formato de globo"
|
846 |
+
|
847 |
+
#: admin/options.php:146
|
848 |
+
msgid "The format of of the text appearing in the baloon describing the location in the map.<br/>Insert one or more of the following placeholders: <code>#_NAME</code>, <code>#_ADDRESS</code>, <code>#_TOWN</code>, <code>#_DESCRIPTION</code> or <code>#_IMAGE</code>."
|
849 |
+
msgstr "Formato del texto descriptivo del lugar que aparece en el mapa, encerrado en un globo que señala la ubicación.<br/>Puede utilizar los siguientes marcadores: <code>#_NAME</code>, <code>#_ADDRESS</code>, <code>#_TOWN</code>, <code>#_DESCRIPTION</code> e <code>#_IMAGE</code>."
|
850 |
+
|
851 |
+
#: admin/options.php:147
|
852 |
+
msgid "Default location event list format"
|
853 |
+
msgstr "Formato de listado de eventos"
|
854 |
+
|
855 |
+
#: admin/options.php:147
|
856 |
+
msgid "The format of the events the list inserted in the location page through the <code>#_NEXTEVENTS</code>, <code>#_PASTEVENTS</code> and <code>#_ALLEVENTS</code> element. <br/> Follow the events formatting instructions"
|
857 |
+
msgstr "Formato del listado de eventos del lugar insertado mediante los marcadores <code>#_NEXTEVENTS</code>, <code>#_PASTEVENTS</code> y/o <code>#_ALLEVENTS</code>. <br/> Utilice las mismas instrucciones de formato."
|
858 |
+
|
859 |
+
#: admin/options.php:148
|
860 |
+
msgid "Default no events message"
|
861 |
+
msgstr "\"No hay eventos\""
|
862 |
+
|
863 |
+
#: admin/options.php:148
|
864 |
+
msgid "The message to be displayed in the list generated by <code>#_NEXTEVENTS</code>, <code>#_PASTEVENTS</code> and <code>#_ALLEVENTS</code> when no events are available."
|
865 |
+
msgstr "Mensaje a mostrar en vez de los listados de eventos de un lugar en caso que no haya ningún evento disponible."
|
866 |
+
|
867 |
+
#: admin/options.php:156
|
868 |
+
msgid "RSS feed format"
|
869 |
+
msgstr "Feed RSS"
|
870 |
|
871 |
+
#: admin/options.php:160
|
872 |
msgid "RSS main title"
|
873 |
+
msgstr "Feed: título"
|
874 |
|
875 |
+
#: admin/options.php:160
|
876 |
msgid "The main title of your RSS events feed."
|
877 |
+
msgstr "El título del feed RSS."
|
878 |
|
879 |
+
#: admin/options.php:161
|
880 |
msgid "RSS main description"
|
881 |
+
msgstr "Feed: descripción"
|
882 |
|
883 |
+
#: admin/options.php:161
|
884 |
msgid "The main description of your RSS events feed."
|
885 |
+
msgstr "La descripción del feed RSS."
|
886 |
|
887 |
+
#: admin/options.php:162
|
888 |
msgid "RSS title format"
|
889 |
+
msgstr "Ítem (evento): título"
|
890 |
|
891 |
+
#: admin/options.php:162
|
892 |
msgid "The format of the title of each item in the events RSS feed."
|
893 |
+
msgstr "El formato del título de cada evento en el feed RSS. Utilice las mismas instrucciones de formato."
|
894 |
|
895 |
+
#: admin/options.php:163
|
896 |
msgid "RSS description format"
|
897 |
+
msgstr "Ítem (evento): descripción"
|
898 |
|
899 |
+
#: admin/options.php:163
|
900 |
+
msgid "The format of the description of each item in the events RSS feed. Follow the previous formatting instructions."
|
901 |
+
msgstr "El formato de la descripción de cada evento en el feed RSS. Utilice las mismas instrucciones de formato."
|
902 |
|
903 |
+
#: admin/options.php:171
|
904 |
+
msgid "Maps and geotagging"
|
905 |
+
msgstr "Mapas y geolocalización"
|
906 |
+
|
907 |
+
#: admin/options.php:176
|
908 |
msgid "Enable Google Maps integration?"
|
909 |
+
msgstr "¿Integrar con Google Maps?"
|
910 |
+
|
911 |
+
#: admin/options.php:178
|
912 |
+
#: functions.php:114
|
913 |
+
msgid "Yes"
|
914 |
+
msgstr "Sí"
|
915 |
+
|
916 |
+
#: admin/options.php:179
|
917 |
+
#: functions.php:115
|
918 |
+
msgid "No"
|
919 |
+
msgstr "No"
|
920 |
|
921 |
+
#: admin/options.php:180
|
922 |
msgid "Check this option to enable Goggle Map integration."
|
923 |
+
msgstr "Permite mostrar mapas con la ubicación del lugar en cada evento."
|
924 |
|
925 |
+
#: admin/options.php:184
|
926 |
+
msgid "Map text format"
|
927 |
+
msgstr "Formato de globo"
|
928 |
|
929 |
+
#: admin/options.php:184
|
930 |
+
msgid "The format the text appearing in the event page map cloud.<br/>Follow the previous formatting instructions."
|
931 |
+
msgstr "Formato del texto descriptivo de un lugar que aparece en el mapa, encerrado en un globo que señala la ubicación. Utilice las mismas instrucciones de formato."
|
932 |
|
933 |
+
#: admin/options.php:192
|
934 |
+
msgid "RSVP and bookings"
|
935 |
+
msgstr "RSVP (reservas)"
|
936 |
|
937 |
+
#: admin/options.php:196
|
938 |
+
msgid "Default contact person"
|
939 |
+
msgstr "Persona de contacto predeterminada"
|
940 |
|
941 |
+
#: admin/options.php:196
|
942 |
+
msgid "Select the default contact person. This user will be employed whenever a contact person is not explicitly specified for an event"
|
943 |
+
msgstr "Seleccione la persona de contacto predeterminada, que se asignará a un evento cuando no se especifique en él ninguna otra."
|
944 |
|
945 |
+
#: admin/options.php:197
|
946 |
+
msgid "Enable the RSVP e-mail notifications?"
|
947 |
+
msgstr "¿Activar notificaciones por e-mail?"
|
948 |
|
949 |
+
#: admin/options.php:197
|
950 |
+
msgid "Check this option if you want to receive an email when someone books places for your events."
|
951 |
+
msgstr "Envía un correo electrónico a la persona de contacto cada vez que alguien reserva una o más ubicaciones en un evento."
|
952 |
|
953 |
+
#: admin/options.php:198
|
954 |
+
#: admin/options.php:199
|
955 |
+
msgid "Contact person email format"
|
956 |
+
msgstr "Formato de e-mail"
|
957 |
|
958 |
+
#: admin/options.php:198
|
959 |
+
msgid "The format or the email which will be sent to the contact person. Follow the events formatting instructions. <br/>Use <code>#_RESPNAME</code>, <code>#_RESPEMAIL</code> and <code>#_RESPPHONE</code> to display respectively the name, e-mail, address and phone of the respondent.<br/>Use <code>#_SPACES</code> to display the number of spaces reserved by the respondent. Use <code>#_COMMENT</code> to display the respondent's comment. <br/> Use <code>#_BOOKEDSEATS</code> and <code>#_AVAILABLESEATS</code> to display respectively the number of booked and available seats."
|
960 |
+
msgstr "Formato del mensaje de correo electrónico que se enviará a la persona de contacto. Utilice las mismas instrucciones de formato.<br/>Use <code>#_RESPNAME</code>, <code>#_RESPEMAIL</code> y <code>#_RESPPHONE</code> para mostrar respectivamente el nombre, e-mail y teléfono del usuario asistente. <br/>Use <code>#_SPACES</code> para mostrar el número de ubicaciones reservadas por el usuario registrante.<br />Use <code>#_COMMENT</code> para mostrar el comentario escrito por el usuario asistente. <br/> Use <code>#_RESERVEDSPACES</code> y <code>#_AVAILABLESPACES</code> para mostrar respectivamente el número total de ubicaciones reservadas y disponibles."
|
|
|
961 |
|
962 |
+
#: admin/options.php:199
|
963 |
+
msgid "The format or the email which will be sent to reposdent. Follow the events formatting instructions. <br/>Use <code>#_RESPNAME</code> to display the name of the respondent.<br/>Use <code>#_CONTACTNAME</code> and <code>#_CONTACTEMAIL</code> a to display respectively the name and e-mail of the contact person.<br/>Use <code>#_SPACES</code> to display the number of spaces reserved by the respondent. Use <code>#_COMMENT</code> to display the respondent's comment."
|
964 |
+
msgstr "Formato del mensaje de correo electrónico que se enviará al usuario registrante. Utilice las mismas instrucciones de formato.<br/>Use <code>#_RESPNAME</code> para mostrar el nombre del usuario asistente.<br/>Use <code>#_CONTACTNAME</code> y <code>#_PLAIN_CONTACTEMAIL</code> para mostrar respectivamente el nombre y e-mail de la persona de contacto.<br/>Use <code>#_SPACES</code> para mostrar el número de ubicaciones reservadas por el usuario asistente.<br/> Use <code>#_COMMENT</code> para mostrar el comentario escrito por el usuario asistente."
|
|
|
965 |
|
966 |
+
#: admin/options.php:200
|
967 |
+
msgid "Default notification receiver address"
|
968 |
+
msgstr "Dirección de e-mail para notificaciones"
|
|
|
969 |
|
970 |
+
#: admin/options.php:200
|
971 |
+
msgid "Insert the address of the receiver of your notifications"
|
972 |
+
msgstr "Indique a qué dirección de e-mail se enviarán las notificaciones cada vez que se realice una reserva."
|
|
|
973 |
|
974 |
+
#: admin/options.php:208
|
975 |
+
msgid "Email Settings"
|
976 |
+
msgstr "Configuración de envío de correo"
|
977 |
|
978 |
+
#: admin/options.php:212
|
979 |
+
msgid "Notification sender name"
|
980 |
+
msgstr "Remitente: nombre"
|
981 |
+
|
982 |
+
#: admin/options.php:212
|
983 |
+
msgid "Insert the display name of the notification sender."
|
984 |
+
msgstr "El nombre que se utilizará como remitente para enviar las notificaciones por e-mail."
|
985 |
+
|
986 |
+
#: admin/options.php:213
|
987 |
+
msgid "Notification sender address"
|
988 |
+
msgstr "Remitente: e-mail"
|
989 |
+
|
990 |
+
#: admin/options.php:213
|
991 |
+
msgid "Insert the address of the notification sender. It must corresponds with your gmail account user"
|
992 |
+
msgstr "La dirección de e-mail que se utilizará como remitente para enviar las notificaciones por e-mail. Debe coincidir con su cuenta de usuario de Gmail."
|
993 |
+
|
994 |
+
#: admin/options.php:214
|
995 |
+
msgid "The port through which you e-mail notifications will be sent. Make sure the firewall doesn't block this port"
|
996 |
+
msgstr "El puerto mediante el cual se enviarán las notificaciones. Asegúrese de que el firewall (cortafuegos) del servidor no bloquee este puerto."
|
997 |
+
|
998 |
+
#: admin/options.php:215
|
999 |
+
msgid "Mail sending method"
|
1000 |
+
msgstr "Método de envío de correo"
|
1001 |
+
|
1002 |
+
#: admin/options.php:215
|
1003 |
+
msgid "PHP mail function"
|
1004 |
+
msgstr "Función mail de PHP"
|
1005 |
+
|
1006 |
+
#: admin/options.php:215
|
1007 |
+
msgid "Select the method to send email notification."
|
1008 |
+
msgstr "Seleccione el método que desea utilizar para enviar las notificaciones por e-mail."
|
1009 |
+
|
1010 |
+
#: admin/options.php:216
|
1011 |
+
msgid "Use SMTP authentication?"
|
1012 |
+
msgstr "¿Activar autenticación SMTP?"
|
1013 |
+
|
1014 |
+
#: admin/options.php:216
|
1015 |
+
msgid "SMTP authenticatio is often needed. If you use GMail, make sure to set this parameter to Yes"
|
1016 |
+
msgstr "La autenticación SMTP es usualmente necesaria. Si utiliza Gmail, asegúrese de activar esta opción."
|
1017 |
+
|
1018 |
+
#: admin/options.php:217
|
1019 |
+
msgid "The SMTP host. Usually it corresponds to 'localhost'. If you use GMail, set this value to 'ssl://smtp.gmail.com:465'."
|
1020 |
+
msgstr "Dirección del servidor SMTP. Usualmente es \"localhost\"; si utiliza Gmail, configure este valor como \"'ssl://smtp.gmail.com:465\"."
|
1021 |
+
|
1022 |
+
#: admin/options.php:218
|
1023 |
+
msgid "SMTP username"
|
1024 |
+
msgstr "SMTP: nombre de usuario"
|
1025 |
+
|
1026 |
+
#: admin/options.php:218
|
1027 |
+
msgid "Insert the username to be used to access your SMTP server."
|
1028 |
+
msgstr "Indique el nombre de usuario que se utilizará para acceder al servidor SMTP especificado."
|
1029 |
+
|
1030 |
+
#: admin/options.php:219
|
1031 |
+
msgid "SMTP password"
|
1032 |
+
msgstr "SMTP: contraseña"
|
1033 |
+
|
1034 |
+
#: admin/options.php:219
|
1035 |
+
msgid "Insert the password to be used to access your SMTP server"
|
1036 |
+
msgstr "Indique la contraseña que se utilizará para acceder al servidor SMTP especificado."
|
1037 |
+
|
1038 |
+
#: admin/options.php:227
|
1039 |
+
msgid "Images size"
|
1040 |
+
msgstr "Tamaño de imágenes"
|
1041 |
+
|
1042 |
+
#: admin/options.php:231
|
1043 |
+
msgid "Maximum width (px)"
|
1044 |
+
msgstr "Ancho máximo (px)"
|
1045 |
+
|
1046 |
+
#: admin/options.php:231
|
1047 |
+
msgid "The maximum allowed width for images uploades"
|
1048 |
+
msgstr "El ancho máximo (en pixels) permitido para las imágenes que se suben."
|
1049 |
+
|
1050 |
+
#: admin/options.php:232
|
1051 |
+
msgid "Maximum height (px)"
|
1052 |
+
msgstr "Alto máximo (px)"
|
1053 |
+
|
1054 |
+
#: admin/options.php:232
|
1055 |
+
msgid "The maximum allowed width for images uploaded, in pixels"
|
1056 |
+
msgstr "El alto máximo (en pixels) permitido para las imágenes que se suben."
|
1057 |
+
|
1058 |
+
#: admin/options.php:233
|
1059 |
+
msgid "Maximum size (bytes)"
|
1060 |
+
msgstr "Peso máximo (bytes)"
|
1061 |
+
|
1062 |
+
#: admin/options.php:233
|
1063 |
+
msgid "The maximum allowed size for images uploaded, in pixels"
|
1064 |
+
msgstr "El peso máximo (en bytes) permitido para las imágenes que se suben."
|
1065 |
+
|
1066 |
+
#: admin/people.php:36
|
1067 |
+
msgid "Bookings data"
|
1068 |
+
msgstr "Información de reservas"
|
1069 |
+
|
1070 |
+
#: admin/people.php:40
|
1071 |
+
msgid "E-mail"
|
1072 |
+
msgstr "E-mail"
|
1073 |
+
|
1074 |
+
#: admin/people.php:41
|
1075 |
+
#: bookings.php:80
|
1076 |
+
msgid "Phone number"
|
1077 |
+
msgstr "Teléfono"
|
1078 |
+
|
1079 |
+
#: admin/people.php:42
|
1080 |
+
#: bookings.php:82
|
1081 |
+
msgid "Seats"
|
1082 |
+
msgstr "Asientos"
|
1083 |
+
|
1084 |
+
#: admin/people.php:43
|
1085 |
+
#: bookings.php:93
|
1086 |
+
msgid "Comment"
|
1087 |
+
msgstr "Comentarios"
|
1088 |
+
|
1089 |
+
#: admin/people.php:57
|
1090 |
+
msgid "Booked"
|
1091 |
+
msgstr "Reservados"
|
1092 |
+
|
1093 |
+
#: admin/people.php:62
|
1094 |
+
msgid "Available"
|
1095 |
+
msgstr "Disponibles"
|
1096 |
+
|
1097 |
+
#: admin/people.php:78
|
1098 |
+
msgid "No people have responded to your events yet!"
|
1099 |
+
msgstr "¡Aún no se han reservado ubicaciones!"
|
1100 |
+
|
1101 |
+
#: admin/people.php:81
|
1102 |
+
msgid "This table collects the data about the people who responded to your events"
|
1103 |
+
msgstr "Esta tabla guarda información sobre las personas que reservaron ubicaciones para sus eventos."
|
1104 |
+
|
1105 |
+
#: admin/people.php:118
|
1106 |
+
msgid "Phone"
|
1107 |
+
msgstr "Teléfono"
|
1108 |
+
|
1109 |
+
#. #-#-#-#-# plugin.pot (Events Manager 3.0.4) #-#-#-#-#
|
1110 |
+
#. Plugin Name of the plugin/theme
|
1111 |
+
#: admin/people.php:118
|
1112 |
+
msgid "Events Manager"
|
1113 |
+
msgstr "Events Manager"
|
1114 |
+
|
1115 |
+
#: admin/support.php:10
|
1116 |
+
#: events-manager.php:229
|
1117 |
+
msgid "Getting Help for Events Manager"
|
1118 |
+
msgstr "Ayuda de Events Manager"
|
1119 |
+
|
1120 |
+
#: bookings.php:40
|
1121 |
+
msgid "Booking deleted"
|
1122 |
+
msgstr "Reserva eliminada"
|
1123 |
+
|
1124 |
+
#: bookings.php:42
|
1125 |
+
msgid "There are no bookings associated to this name and e-mail"
|
1126 |
+
msgstr "No hay reservas asociadas a este nombre y e-mail"
|
1127 |
+
|
1128 |
+
#: bookings.php:66
|
1129 |
+
msgid "Book now!"
|
1130 |
+
msgstr "¡Reserve ahora!"
|
1131 |
+
|
1132 |
+
#: bookings.php:79
|
1133 |
+
#: bookings.php:152
|
1134 |
+
msgid "E-Mail"
|
1135 |
+
msgstr "E-mail"
|
1136 |
+
|
1137 |
+
#: bookings.php:96
|
1138 |
+
msgid "Send your booking"
|
1139 |
+
msgstr "Reservar"
|
1140 |
+
|
1141 |
+
#: bookings.php:105
|
1142 |
+
#: bookings.php:111
|
1143 |
+
msgid "Hide cancellation form"
|
1144 |
+
msgstr "Ocultar formulario de cancelación"
|
1145 |
+
|
1146 |
+
#: bookings.php:105
|
1147 |
+
#: bookings.php:107
|
1148 |
+
#: bookings.php:110
|
1149 |
+
#: bookings.php:114
|
1150 |
+
msgid "Cancel a booking"
|
1151 |
+
msgstr "Cancelar una reserva"
|
1152 |
+
|
1153 |
+
#: bookings.php:136
|
1154 |
+
#: bookings.php:157
|
1155 |
+
msgid "Cancel your booking"
|
1156 |
+
msgstr "Cancelar su reserva"
|
1157 |
+
|
1158 |
+
#: classes/booking.php:74
|
1159 |
+
msgid "There was a problem saving the booking."
|
1160 |
+
msgstr "Hubo un problema guardando la reserva."
|
1161 |
+
|
1162 |
+
#: classes/booking.php:80
|
1163 |
+
msgid "Your booking has been recorded"
|
1164 |
+
msgstr "Su reserva ha sido guardada."
|
1165 |
+
|
1166 |
+
#: classes/bookings.php:78
|
1167 |
+
msgid "Booking successful."
|
1168 |
+
msgstr "¡Reserva exitosa!"
|
1169 |
+
|
1170 |
+
#: classes/bookings.php:80
|
1171 |
+
msgid "However, we were not able to send you an email."
|
1172 |
+
msgstr "Sin embargo, no podemos enviarle un e-mail."
|
1173 |
+
|
1174 |
+
#: classes/bookings.php:88
|
1175 |
+
msgid "Booking could not be created"
|
1176 |
+
msgstr "La reserva no pudo realizarse."
|
1177 |
+
|
1178 |
+
#: classes/bookings.php:91
|
1179 |
+
msgid "Booking cannot be made, not enough seats available!"
|
1180 |
+
msgstr "No es posible reservar: no hay suficientes ubicaciones disponibles."
|
1181 |
+
|
1182 |
+
#: classes/bookings.php:183
|
1183 |
+
msgid "Reservation confirmed"
|
1184 |
+
msgstr "Reserva confirmada"
|
1185 |
+
|
1186 |
+
#: classes/bookings.php:186
|
1187 |
+
msgid "New booking"
|
1188 |
+
msgstr "Nueva reserva"
|
1189 |
+
|
1190 |
+
#: classes/event.php:207
|
1191 |
+
msgid "There was a problem saving the location so event was not saved."
|
1192 |
+
msgstr "Hubo un problema al guardar el lugar. El evento no se guardó."
|
1193 |
+
|
1194 |
+
#: classes/event.php:227
|
1195 |
+
#: classes/event.php:255
|
1196 |
+
msgid "Something went wrong with the recurrence update..."
|
1197 |
+
msgstr "Algo funcionó mal al actualizar la recurrencia..."
|
1198 |
+
|
1199 |
+
#: classes/event.php:228
|
1200 |
+
#: classes/event.php:256
|
1201 |
+
msgid "There was a problem saving the recurring events."
|
1202 |
+
msgstr "Hubo un problema al guardar los eventos recurrentes."
|
1203 |
+
|
1204 |
+
#: classes/event.php:233
|
1205 |
+
msgid "New recurrent event inserted!"
|
1206 |
+
msgstr "¡Nuevo evento recurrente cargado con éxito!"
|
1207 |
+
|
1208 |
+
#: classes/event.php:237
|
1209 |
+
msgid "New event successfully inserted!"
|
1210 |
+
msgstr "¡Nuevo evento cargado con éxito!"
|
1211 |
+
|
1212 |
+
#: classes/event.php:240
|
1213 |
+
#: classes/event.php:263
|
1214 |
+
msgid "Could not save the event details due to a database error."
|
1215 |
+
msgstr "Los detalles del evento no se guardaron debido a un error en la base de datos."
|
1216 |
+
|
1217 |
+
#: classes/event.php:259
|
1218 |
+
msgid "Recurrence updated!"
|
1219 |
+
msgstr "¡Recurrencia actualizada!"
|
1220 |
|
1221 |
+
#: classes/event.php:267
|
1222 |
+
msgid "updated"
|
1223 |
+
msgstr "actualizado"
|
1224 |
|
1225 |
+
#: classes/event.php:329
|
1226 |
+
msgid "Missing fields: "
|
1227 |
+
msgstr "Campos faltantes:"
|
1228 |
|
1229 |
+
#: classes/event.php:332
|
1230 |
+
msgid "Since the event is repeated, you must specify an event date."
|
1231 |
+
msgstr "Como este evento es recurrente, es obligatorio indicar la fecha."
|
1232 |
|
1233 |
+
#: classes/event.php:410
|
1234 |
+
#: events-manager.php:223
|
1235 |
msgid "Edit"
|
1236 |
msgstr "Editar"
|
1237 |
|
1238 |
+
#: classes/event.php:410
|
1239 |
+
msgid "Event"
|
1240 |
+
msgstr "Evento"
|
1241 |
|
1242 |
+
#: classes/event.php:536
|
1243 |
+
msgid "N/A"
|
1244 |
+
msgstr "N/D"
|
1245 |
+
|
1246 |
+
#: classes/event.php:792
|
1247 |
+
msgid "Sunday"
|
1248 |
+
msgstr "Domingo"
|
1249 |
+
|
1250 |
+
#: classes/event.php:792
|
1251 |
+
msgid "Monday"
|
1252 |
+
msgstr "Lunes"
|
1253 |
+
|
1254 |
+
#: classes/event.php:792
|
1255 |
+
msgid "Tuesday"
|
1256 |
+
msgstr "Martes"
|
1257 |
+
|
1258 |
+
#: classes/event.php:792
|
1259 |
+
msgid "Wednesday"
|
1260 |
+
msgstr "Miércoles"
|
1261 |
+
|
1262 |
+
#: classes/event.php:792
|
1263 |
+
msgid "Thursday"
|
1264 |
+
msgstr "Jueves"
|
1265 |
+
|
1266 |
+
#: classes/event.php:792
|
1267 |
+
msgid "Friday"
|
1268 |
+
msgstr "Viernes"
|
1269 |
+
|
1270 |
+
#: classes/event.php:792
|
1271 |
+
msgid "Saturday"
|
1272 |
+
msgstr "Sábado"
|
1273 |
+
|
1274 |
+
#: classes/event.php:793
|
1275 |
+
#, php-format
|
1276 |
+
msgid "the first %s of the month"
|
1277 |
+
msgstr "el primer %s del mes"
|
1278 |
+
|
1279 |
+
#: classes/event.php:793
|
1280 |
+
#, php-format
|
1281 |
+
msgid "the second %s of the month"
|
1282 |
+
msgstr "el segundo %s del mes"
|
1283 |
+
|
1284 |
+
#: classes/event.php:793
|
1285 |
+
#, php-format
|
1286 |
+
msgid "the third %s of the month"
|
1287 |
+
msgstr "el tercer %s del mes"
|
1288 |
+
|
1289 |
+
#: classes/event.php:793
|
1290 |
+
#, php-format
|
1291 |
+
msgid "the fourth %s of the month"
|
1292 |
+
msgstr "el cuarto %s del mes"
|
1293 |
+
|
1294 |
+
#: classes/event.php:793
|
1295 |
+
#, php-format
|
1296 |
+
msgid "the last %s of the month"
|
1297 |
+
msgstr "el último %s del mes"
|
1298 |
+
|
1299 |
+
#: classes/event.php:794
|
1300 |
+
#, php-format
|
1301 |
+
msgid "From %1$s to %2$s"
|
1302 |
+
msgstr "De %1$s a %2$s"
|
1303 |
+
|
1304 |
+
#: classes/event.php:797
|
1305 |
+
msgid "everyday"
|
1306 |
+
msgstr "todos los días"
|
1307 |
+
|
1308 |
+
#: classes/event.php:799
|
1309 |
+
#, php-format
|
1310 |
+
msgid "every %s days"
|
1311 |
+
msgstr "cada %s días"
|
1312 |
+
|
1313 |
+
#: classes/event.php:809
|
1314 |
+
#, php-format
|
1315 |
+
msgid "every %s weeks"
|
1316 |
+
msgstr "cada %s semanas"
|
1317 |
+
|
1318 |
+
#: classes/event.php:820
|
1319 |
+
#, php-format
|
1320 |
+
msgid "every %s months"
|
1321 |
+
msgstr "cada %s meses"
|
1322 |
+
|
1323 |
+
#: classes/location.php:39
|
1324 |
+
msgid "The location name"
|
1325 |
+
msgstr "Nombre"
|
1326 |
|
1327 |
+
#: classes/location.php:39
|
1328 |
+
msgid "The location address"
|
1329 |
+
msgstr "Dirección"
|
1330 |
|
1331 |
+
#: classes/location.php:39
|
1332 |
+
msgid "The location town"
|
1333 |
+
msgstr "Localidad"
|
1334 |
+
|
1335 |
+
#: classes/location.php:130
|
1336 |
+
msgid "The image could not be loaded"
|
1337 |
+
msgstr "No se pudo cargar la imagen"
|
1338 |
+
|
1339 |
+
#: classes/location.php:158
|
1340 |
+
msgid " is missing!"
|
1341 |
+
msgstr "falta!"
|
1342 |
+
|
1343 |
+
#: classes/location.php:166
|
1344 |
+
msgid "The image file is too big! Maximum size:"
|
1345 |
+
msgstr "¡La imagen es muy grande! Tamaño máximo:"
|
1346 |
+
|
1347 |
+
#: classes/location.php:172
|
1348 |
+
msgid "The image is too big! Maximum size allowed:"
|
1349 |
+
msgstr "¡La imagen es muy grande! Tamaño máximo permitido:"
|
1350 |
+
|
1351 |
+
#: classes/location.php:175
|
1352 |
+
msgid "The image is in a wrong format!"
|
1353 |
+
msgstr "¡La imagen está en un formato incorrecto!"
|
1354 |
+
|
1355 |
+
#: classes/mailer.php:61
|
1356 |
+
msgid "Please supply a valid email format."
|
1357 |
+
msgstr "Por favor, indique un formato de dirección de e-mail válido."
|
1358 |
+
|
1359 |
+
#: classes/map.php:20
|
1360 |
+
#: classes/map.php:48
|
1361 |
+
msgid "Loading Map...."
|
1362 |
+
msgstr "Cargando mapa..."
|
1363 |
+
|
1364 |
+
#: classes/map.php:61
|
1365 |
+
msgid "Map Unavailable"
|
1366 |
+
msgstr "Mapa no disponible"
|
1367 |
+
|
1368 |
+
#: classes/person.php:84
|
1369 |
+
msgid "Please provide a valid email address."
|
1370 |
+
msgstr "Por favor, indique una dirección de e-mail válida."
|
1371 |
+
|
1372 |
+
#: events-manager.php:101
|
1373 |
+
#: events-manager.php:104
|
1374 |
+
#: events-manager.php:220
|
1375 |
+
#: install.php:186
|
1376 |
+
#: install.php:187
|
1377 |
+
#: template-tags.php:16
|
1378 |
+
#: widgets/events.php:42
|
1379 |
+
msgid "Events"
|
1380 |
+
msgstr "Eventos"
|
1381 |
|
1382 |
+
#: events-manager.php:111
|
1383 |
+
#: install.php:178
|
1384 |
+
#: widgets/events.php:31
|
1385 |
+
msgid "No events"
|
1386 |
+
msgstr "No hay eventos"
|
1387 |
|
1388 |
+
#: events-manager.php:117
|
1389 |
+
msgid "<li>No events in this location</li>"
|
1390 |
+
msgstr "<li>No hay eventos en este lugar</li>"
|
1391 |
|
1392 |
+
#: events-manager.php:208
|
1393 |
+
#: events-manager.php:228
|
1394 |
+
msgid "Settings"
|
1395 |
+
msgstr "Opciones"
|
1396 |
|
1397 |
+
#: events-manager.php:224
|
1398 |
+
msgid "Add new"
|
1399 |
+
msgstr "Añadir nuevo"
|
1400 |
|
1401 |
+
#: events-manager.php:226
|
1402 |
+
msgid "People"
|
1403 |
+
msgstr "Personas"
|
1404 |
|
1405 |
+
#: events-manager.php:227
|
1406 |
+
msgid "Event Categories"
|
1407 |
+
msgstr "Categorías de eventos"
|
1408 |
|
1409 |
+
#: events-manager.php:228
|
1410 |
+
msgid "Events Manager Settings"
|
1411 |
+
msgstr "Opciones de Events Manager"
|
1412 |
|
1413 |
+
#: events-manager.php:229
|
1414 |
+
msgid "Help"
|
1415 |
+
msgstr "Ayuda"
|
1416 |
+
|
1417 |
+
#: events-manager.php:256
|
1418 |
+
msgid "Add an event"
|
1419 |
+
msgstr "Añadir un evento"
|
1420 |
+
|
1421 |
+
#: events-manager.php:272
|
1422 |
+
#, php-format
|
1423 |
+
msgid "This page corresponds to <strong>Events Manager</strong> events page. Its content will be overriden by <strong>Events Manager</strong>. If you want to display your content, you can can assign another page to <strong>Events Manager</strong> in the the <a href='%s'>Settings</a>. "
|
1424 |
+
msgstr "Esta página es utilizada como página de eventos de <strong>Events Manager</strong>; su contenido será ignorado y reemplazado. Si desea mostrar el contenido de esta página, puede seleccionar otra página de eventos en las <a href='%s'>opciones de Events Manager</a>."
|
1425 |
+
|
1426 |
+
#: events-manager.php:283
|
1427 |
+
#, php-format
|
1428 |
+
msgid "Uh Oh! For some reason wordpress could not create an events page for you (or you just deleted it). Not to worry though, all you have to do is create an empty page, name it whatever you want, and select it as your events page in your <a href=\"%s\">options page</a>. Sorry for the extra step! If you know what you are doing, you may have done this on purpose, if so <a href=\"%s\">ignore this message</a>"
|
1429 |
+
msgstr "¡Oh! Por alguna razón, WordPress no pudo crear una página de eventos (o usted la eliminó). No se preocupe: todo lo que debe hacer es crear una página vacía, llamarla como le plazca, y seleccionarla como página de eventos en las <a href=\"%s\">opciones de Events Manager</a>. Si sabe lo que está haciendo y eliminó la página intencionalmente, <a href=\"%s\">ignore este mensaje</a>."
|
1430 |
+
|
1431 |
+
#: functions.php:5
|
1432 |
+
#, fuzzy, php-format
|
1433 |
+
msgid ""
|
1434 |
+
"<p>Hey, <strong>%s</strong>, welcome to <strong>Events Manager</strong>! We hope you like it around here.</p> \r\n"
|
1435 |
+
"\t\t<p>Now it's time to insert events lists through <a href='%s' title='Widgets page'>widgets</a>, <a href='%s' title='Template tags documentation'>template tags</a> or <a href='%s' title='Shortcodes documentation'>shortcodes</a>.</p>\r\n"
|
1436 |
+
"\t\t<p>By the way, have you taken a look at the <a href='%s' title='Change settings'>Settings page</a>? That's where you customize the way events and locations are displayed.</p>\r\n"
|
1437 |
+
"\t\t<p>What? Tired of seeing this advice? I hear you, <a href='%s' title='Don't show this advice again'>click here</a> and you won't see this again!</p>"
|
1438 |
+
msgstr ""
|
1439 |
+
"<p>¡Hola, <strong>%s</strong>! ¡Bienvenido a <strong>Events Manager</strong>! Esperamos que lo disfrute.</p>\n"
|
1440 |
+
"\t\t<p>Puede insertar listados de eventos mediante <a href='%s' title='Widgets'>widgets</a>, <a href='%s' title='Tags de plantilla'>tags de plantilla</a> o <a href='%s' title='Shortcodes'>shortcodes</a>.</p>\n"
|
1441 |
+
"\t\t<p>A propósito, ¿ha consultado la <a href='%s' title='Opciones'>página de opciones</a>? Allí puede personalizar la forma en que se muestran eventos y lugares.</p>\n"
|
1442 |
+
"\t\t<p>¿Qué? ¿Cansado de leer estos consejos? Está bien, ¡<a href='%s' title='No volver a mostrar estos consejos'>haga clic aquí</a> y no volverá a verlos!</p>"
|
1443 |
+
|
1444 |
+
#: install.php:161
|
1445 |
+
msgid "Uncategorized"
|
1446 |
+
msgstr "Sin categoría"
|
1447 |
+
|
1448 |
+
#: install.php:169
|
1449 |
+
msgid "#_RESPNAME (#_RESPEMAIL) will attend #_NAME on #m #d, #Y. He wants to reserve #_SPACES spaces.<br/> Now there are #_RESERVEDSPACES spaces reserved, #_AVAILABLESPACES are still available.<br/>Yours faithfully,<br/>Events Manager"
|
1450 |
+
msgstr "#_RESPNAME (#_RESPEMAIL) asistirá a #_NAME el #d/#m/#Y. Desea reservar #_SPACES espacios.<br/>Actualmente hay #_RESERVEDSPACES espacios reservados, #_AVAILABLESPACES aún están disponibles.<br/>Atentamente,<br/>Events Manager"
|
1451 |
+
|
1452 |
+
#: install.php:170
|
1453 |
+
msgid "Dear #_RESPNAME, <br/>you have successfully reserved #_SPACES space/spaces for #_NAME.<br/>Yours faithfully,<br/> #_CONTACTPERSON"
|
1454 |
+
msgstr "Estimado #_RESPNAME,<br/>Usted ha reservado con éxito #_SPACES espacio(s) para #_NAME.<br/>Atentamente,<br/>#_CONTACTPERSON"
|
1455 |
+
|
1456 |
+
#: install.php:305
|
1457 |
+
msgid "We could not mirgrate old recurrence data over. DONT WORRY! You can just delete the current plugin, and re-install the previous 2.2.2 version and you wont lose any of your data. Either way, please contact the developers to let them know of this bug."
|
1458 |
+
msgstr "No hemos podido migrar los viejos datos de recurrencia. ¡No se preocupe! Usted puede simplemente borrar este plugin y reinstalar la versión anterior (2.2.2), y no perderá nada de la información cargada. De cualquier forma, por favor contacte a los desarrolladores para avisarles de este error."
|
1459 |
+
|
1460 |
+
#: install.php:467
|
1461 |
+
msgid "Events Manager successfully imported your events, please check your records to verify."
|
1462 |
+
msgstr "Events Manager ha importado exitosamente sus eventos. Por favor, chequee sus registros para verificarlo."
|
1463 |
+
|
1464 |
+
#: install.php:483
|
1465 |
+
#, php-format
|
1466 |
+
msgid "Something has gone wrong when importing your old event. See the <a href=\"%s\">support page</a> for more information. <a href=\"%s\">Dismiss this message</a>"
|
1467 |
+
msgstr "Algo ha funcionado mal al importar su viejo evento. Vea la <a href=\"%s\">página de soporte</a> para más información. <a href=\"%s\">Descartar este mensaje</a>"
|
1468 |
+
|
1469 |
+
#: locations.php:35
|
1470 |
+
msgid "Ach, some problems here:"
|
1471 |
+
msgstr "Ouch, hay problemas aquí:"
|
1472 |
+
|
1473 |
+
#: widgets/calendar.php:9
|
1474 |
+
msgid "Display your events in a calendar widget."
|
1475 |
+
msgstr "Muestra el calendario de eventos."
|
1476 |
+
|
1477 |
+
#: widgets/calendar.php:10
|
1478 |
+
msgid "Events Calendar"
|
1479 |
+
msgstr "Calendario de eventos"
|
1480 |
+
|
1481 |
+
#: widgets/calendar.php:32
|
1482 |
+
msgid "Calendar"
|
1483 |
+
msgstr "Calendario"
|
1484 |
+
|
1485 |
+
#: widgets/calendar.php:41
|
1486 |
+
#: widgets/events.php:60
|
1487 |
+
#: widgets/locations.php:60
|
1488 |
+
msgid "Title"
|
1489 |
+
msgstr "Título"
|
1490 |
+
|
1491 |
+
#: widgets/calendar.php:45
|
1492 |
+
msgid "Show Long Events?"
|
1493 |
+
msgstr "¿Mostrar eventos de más de un día?"
|
1494 |
+
|
1495 |
+
#: widgets/events.php:9
|
1496 |
+
msgid "Display a list of events on Events Manager."
|
1497 |
+
msgstr "Muestra ua listado de eventos."
|
1498 |
+
|
1499 |
+
#: widgets/events.php:64
|
1500 |
+
msgid "Number of events"
|
1501 |
+
msgstr "Cantidad"
|
1502 |
+
|
1503 |
+
#: widgets/events.php:68
|
1504 |
+
msgid "Scope of the events"
|
1505 |
+
msgstr "Rango"
|
1506 |
+
|
1507 |
+
#: widgets/events.php:76
|
1508 |
+
msgid "Order of the events"
|
1509 |
+
msgstr "Orden"
|
1510 |
+
|
1511 |
+
#: widgets/events.php:78
|
1512 |
+
#: widgets/locations.php:78
|
1513 |
+
msgid "Ascendant"
|
1514 |
+
msgstr "Ascendente"
|
1515 |
+
|
1516 |
+
#: widgets/events.php:79
|
1517 |
+
#: widgets/locations.php:79
|
1518 |
+
msgid "Descendant"
|
1519 |
+
msgstr "Descendente"
|
1520 |
+
|
1521 |
+
#: widgets/events.php:83
|
1522 |
+
#: widgets/locations.php:83
|
1523 |
+
msgid "List item format"
|
1524 |
+
msgstr "Formato de evento"
|
1525 |
+
|
1526 |
+
#: widgets/locations.php:9
|
1527 |
+
msgid "Display a list of event locations on Events Manager."
|
1528 |
+
msgstr "Muestra un listado de lugares."
|
1529 |
+
|
1530 |
+
#: widgets/locations.php:31
|
1531 |
+
msgid "No locations"
|
1532 |
+
msgstr "No hay lugares"
|
1533 |
+
|
1534 |
+
#: widgets/locations.php:42
|
1535 |
+
msgid "Event Locations"
|
1536 |
+
msgstr "Lugares"
|
1537 |
+
|
1538 |
+
#: widgets/locations.php:64
|
1539 |
+
msgid "Show number of locations"
|
1540 |
+
msgstr "Cantidad"
|
1541 |
+
|
1542 |
+
#: widgets/locations.php:68
|
1543 |
+
msgid "Scope of the locations"
|
1544 |
+
msgstr "Rango"
|
1545 |
+
|
1546 |
+
#: widgets/locations.php:70
|
1547 |
+
msgid "Locations with upcoming events"
|
1548 |
+
msgstr "Lugares con eventos próximos"
|
1549 |
+
|
1550 |
+
#: widgets/locations.php:71
|
1551 |
+
msgid "All locations"
|
1552 |
+
msgstr "Todos los lugares"
|
1553 |
+
|
1554 |
+
#: widgets/locations.php:72
|
1555 |
+
msgid "Locations with past events "
|
1556 |
+
msgstr "Lugares con eventos pasados"
|
1557 |
+
|
1558 |
+
#: widgets/locations.php:76
|
1559 |
+
msgid "Order of the locations"
|
1560 |
+
msgstr "Orden"
|
1561 |
+
|
1562 |
+
#. Plugin URI of the plugin/theme
|
1563 |
+
msgid "http://davidebenini.it/wordpress-plugins/events-manager/"
|
1564 |
+
msgstr ""
|
1565 |
+
|
1566 |
+
#. Description of the plugin/theme
|
1567 |
+
msgid "Manage events specifying precise spatial data (Location, Town, Province, etc)."
|
1568 |
+
msgstr ""
|
1569 |
+
|
1570 |
+
#. Author of the plugin/theme
|
1571 |
+
msgid "Davide Benini, Marcus Sykes"
|
1572 |
+
msgstr ""
|
1573 |
+
|
1574 |
+
#. Author URI of the plugin/theme
|
1575 |
+
msgid "http://www.davidebenini.it/blog"
|
1576 |
+
msgstr ""
|
1577 |
|
includes/langs/events-manager.pot
ADDED
@@ -0,0 +1,1665 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin Events Manager 3.0.4 by Davide Benini, Marcus Sykes.
|
2 |
+
# Copyright (C) 2010 Davide Benini, Marcus Sykes
|
3 |
+
# This file is distributed under the same license as the Events Manager package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
+
#
|
6 |
+
#, fuzzy
|
7 |
+
msgid ""
|
8 |
+
msgstr ""
|
9 |
+
"Project-Id-Version: Events Manager 3.0.4\n"
|
10 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/events-manager\n"
|
11 |
+
"POT-Creation-Date: 2010-10-22 13:29+0000\n"
|
12 |
+
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
|
13 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
+
"MIME-Version: 1.0\n"
|
16 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
17 |
+
"Content-Transfer-Encoding: 8bit\n"
|
18 |
+
|
19 |
+
#: admin/admin.php:125 admin/categories.php:76 admin/categories.php:83
|
20 |
+
#: admin/event.php:279 admin/events.php:192 admin/locations.php:103
|
21 |
+
#: admin/locations.php:111 admin/people.php:39 bookings.php:78
|
22 |
+
#: bookings.php:149
|
23 |
+
msgid "Name"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: admin/admin.php:126
|
27 |
+
msgid "Date"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: admin/admin.php:127 admin/event.php:338 admin/events.php:194
|
31 |
+
msgid "Location"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: admin/admin.php:128 admin/locations.php:104 admin/locations.php:112
|
35 |
+
msgid "Address"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: admin/admin.php:129 admin/locations.php:105 admin/locations.php:113
|
39 |
+
msgid "Town"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: admin/admin.php:143
|
43 |
+
msgid "Some required fields are missing:"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: admin/admin.php:146
|
47 |
+
msgid "Since the event is repeated, you must specify an end date"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: admin/bookings.php:17
|
51 |
+
msgid "Bookings deleted"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: admin/categories.php:56 events-manager.php:227
|
55 |
+
msgid "Categories"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: admin/categories.php:75 admin/categories.php:82
|
59 |
+
msgid "ID"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: admin/categories.php:106
|
63 |
+
msgid "No categories have been inserted yet!"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: admin/categories.php:118 admin/categories.php:126
|
67 |
+
msgid "Add category"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: admin/categories.php:122 admin/categories.php:164
|
71 |
+
msgid "Category name"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: admin/categories.php:124 admin/categories.php:166
|
75 |
+
msgid "The name of the category"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: admin/categories.php:148
|
79 |
+
msgid "Edit category"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: admin/categories.php:169
|
83 |
+
msgid "Update category"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: admin/event.php:4 admin/events.php:72
|
87 |
+
msgid "Insert New Event"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: admin/event.php:31
|
91 |
+
msgid "Mon"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: admin/event.php:31
|
95 |
+
msgid "Tue"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: admin/event.php:31
|
99 |
+
msgid "Wed"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: admin/event.php:31
|
103 |
+
msgid "Thu"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: admin/event.php:31
|
107 |
+
msgid "Fri"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: admin/event.php:31
|
111 |
+
msgid "Sat"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: admin/event.php:31
|
115 |
+
msgid "Sun"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: admin/event.php:42
|
119 |
+
msgid "WARNING: This is a recurring event."
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
+
#: admin/event.php:44
|
123 |
+
msgid ""
|
124 |
+
"Modifying these data all the events linked to this recurrence will be "
|
125 |
+
"rescheduled"
|
126 |
+
msgstr ""
|
127 |
+
|
128 |
+
#: admin/event.php:46
|
129 |
+
msgid "and all booking information will be deleted!"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: admin/event.php:49
|
133 |
+
msgid "WARNING: This is a recurrence."
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
+
#: admin/event.php:51
|
137 |
+
msgid ""
|
138 |
+
"If you change these data and save, this will become an independent event."
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: admin/event.php:66
|
142 |
+
msgid "Recurrence"
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: admin/event.php:73
|
146 |
+
msgid "Repeated event"
|
147 |
+
msgstr ""
|
148 |
+
|
149 |
+
#: admin/event.php:80
|
150 |
+
msgid "Daily"
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#: admin/event.php:80
|
154 |
+
msgid "Weekly"
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#: admin/event.php:80
|
158 |
+
msgid "Monthly"
|
159 |
+
msgstr ""
|
160 |
+
|
161 |
+
#: admin/event.php:86 admin/event.php:109
|
162 |
+
msgid "Every"
|
163 |
+
msgstr ""
|
164 |
+
|
165 |
+
#: admin/event.php:89
|
166 |
+
msgid "day"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#: admin/event.php:91
|
170 |
+
msgid "days"
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: admin/event.php:93
|
174 |
+
msgid "week"
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: admin/event.php:95
|
178 |
+
msgid "weeks"
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: admin/event.php:97
|
182 |
+
msgid "month"
|
183 |
+
msgstr ""
|
184 |
+
|
185 |
+
#: admin/event.php:99
|
186 |
+
msgid "months"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: admin/event.php:112
|
190 |
+
msgid "first"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: admin/event.php:112
|
194 |
+
msgid "second"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#: admin/event.php:112
|
198 |
+
msgid "third"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: admin/event.php:112
|
202 |
+
msgid "fourth"
|
203 |
+
msgstr ""
|
204 |
+
|
205 |
+
#: admin/event.php:112
|
206 |
+
msgid "last"
|
207 |
+
msgstr ""
|
208 |
+
|
209 |
+
#: admin/event.php:123
|
210 |
+
msgid ""
|
211 |
+
"Check if your event happens more than once according to a regular pattern"
|
212 |
+
msgstr ""
|
213 |
+
|
214 |
+
#: admin/event.php:130 admin/events.php:36 admin/events.php:255
|
215 |
+
msgid "Reschedule"
|
216 |
+
msgstr ""
|
217 |
+
|
218 |
+
#: admin/event.php:135
|
219 |
+
msgid "This is't a recurrent event"
|
220 |
+
msgstr ""
|
221 |
+
|
222 |
+
#: admin/event.php:147
|
223 |
+
msgid "Contact Person"
|
224 |
+
msgstr ""
|
225 |
+
|
226 |
+
#: admin/event.php:150
|
227 |
+
msgid "Contact"
|
228 |
+
msgstr ""
|
229 |
+
|
230 |
+
#: admin/event.php:151
|
231 |
+
msgid "Select..."
|
232 |
+
msgstr ""
|
233 |
+
|
234 |
+
#: admin/event.php:158
|
235 |
+
msgid "RSVP"
|
236 |
+
msgstr ""
|
237 |
+
|
238 |
+
#: admin/event.php:162
|
239 |
+
msgid "Enable registration for this event"
|
240 |
+
msgstr ""
|
241 |
+
|
242 |
+
#: admin/event.php:173 admin/event.php:192
|
243 |
+
msgid "Spaces"
|
244 |
+
msgstr ""
|
245 |
+
|
246 |
+
#: admin/event.php:185
|
247 |
+
msgid "responses so far"
|
248 |
+
msgstr ""
|
249 |
+
|
250 |
+
#: admin/event.php:191
|
251 |
+
msgid "Responder"
|
252 |
+
msgstr ""
|
253 |
+
|
254 |
+
#: admin/event.php:197
|
255 |
+
msgid "Booked spaces"
|
256 |
+
msgstr ""
|
257 |
+
|
258 |
+
#: admin/event.php:198
|
259 |
+
msgid "Available spaces"
|
260 |
+
msgstr ""
|
261 |
+
|
262 |
+
#: admin/event.php:208
|
263 |
+
msgid "Comment:"
|
264 |
+
msgstr ""
|
265 |
+
|
266 |
+
#: admin/event.php:226
|
267 |
+
msgid "Printable view"
|
268 |
+
msgstr ""
|
269 |
+
|
270 |
+
#: admin/event.php:234
|
271 |
+
msgid "No responses yet!"
|
272 |
+
msgstr ""
|
273 |
+
|
274 |
+
#: admin/event.php:251 admin/events.php:228
|
275 |
+
msgid "Category"
|
276 |
+
msgstr ""
|
277 |
+
|
278 |
+
#: admin/event.php:254
|
279 |
+
msgid "Category:"
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: admin/event.php:284
|
283 |
+
msgid "The event name. Example: Birthday party"
|
284 |
+
msgstr ""
|
285 |
+
|
286 |
+
#: admin/event.php:289
|
287 |
+
msgid "Event date"
|
288 |
+
msgstr ""
|
289 |
+
|
290 |
+
#: admin/event.php:292
|
291 |
+
msgid "Recurrence dates"
|
292 |
+
msgstr ""
|
293 |
+
|
294 |
+
#: admin/event.php:302
|
295 |
+
msgid "The event date."
|
296 |
+
msgstr ""
|
297 |
+
|
298 |
+
#: admin/event.php:305
|
299 |
+
msgid ""
|
300 |
+
"When not reoccurring, this event spans between the beginning and end date."
|
301 |
+
msgstr ""
|
302 |
+
|
303 |
+
#: admin/event.php:310
|
304 |
+
msgid "The recurrence beginning and end date."
|
305 |
+
msgstr ""
|
306 |
+
|
307 |
+
#: admin/event.php:316
|
308 |
+
msgid "Event time"
|
309 |
+
msgstr ""
|
310 |
+
|
311 |
+
#: admin/event.php:323
|
312 |
+
msgid "The time of the event beginning and end"
|
313 |
+
msgstr ""
|
314 |
+
|
315 |
+
#: admin/event.php:328
|
316 |
+
msgid "Coordinates"
|
317 |
+
msgstr ""
|
318 |
+
|
319 |
+
#: admin/event.php:347
|
320 |
+
msgid "Location:"
|
321 |
+
msgstr ""
|
322 |
+
|
323 |
+
#: admin/event.php:364
|
324 |
+
msgid ""
|
325 |
+
"The name of the location where the event takes place. You can use the name "
|
326 |
+
"of a venue, a square, etc"
|
327 |
+
msgstr ""
|
328 |
+
|
329 |
+
#: admin/event.php:369
|
330 |
+
msgid "Name:"
|
331 |
+
msgstr ""
|
332 |
+
|
333 |
+
#: admin/event.php:372
|
334 |
+
msgid "Select a location for your event"
|
335 |
+
msgstr ""
|
336 |
+
|
337 |
+
#: admin/event.php:376
|
338 |
+
msgid "Address:"
|
339 |
+
msgstr ""
|
340 |
+
|
341 |
+
#: admin/event.php:379
|
342 |
+
msgid ""
|
343 |
+
"The address of the location where the event takes place. Example: 21, "
|
344 |
+
"Dominick Street"
|
345 |
+
msgstr ""
|
346 |
+
|
347 |
+
#: admin/event.php:383
|
348 |
+
msgid "Town:"
|
349 |
+
msgstr ""
|
350 |
+
|
351 |
+
#: admin/event.php:386
|
352 |
+
msgid ""
|
353 |
+
"The town where the location is located. If you're using the Google Map "
|
354 |
+
"integration and want to avoid geotagging ambiguities include the country in "
|
355 |
+
"the town field. Example: Verona, Italy."
|
356 |
+
msgstr ""
|
357 |
+
|
358 |
+
#: admin/event.php:395 admin/locations.php:181 admin/locations.php:265
|
359 |
+
msgid "Location not found"
|
360 |
+
msgstr ""
|
361 |
+
|
362 |
+
#: admin/event.php:406
|
363 |
+
msgid "Details"
|
364 |
+
msgstr ""
|
365 |
+
|
366 |
+
#: admin/event.php:413
|
367 |
+
msgid "Details about the event"
|
368 |
+
msgstr ""
|
369 |
+
|
370 |
+
#: admin/event.php:420
|
371 |
+
msgid "Attributes"
|
372 |
+
msgstr ""
|
373 |
+
|
374 |
+
#: admin/event.php:475
|
375 |
+
msgid "Not defined in templates"
|
376 |
+
msgstr ""
|
377 |
+
|
378 |
+
#: admin/event.php:519
|
379 |
+
msgid ""
|
380 |
+
"In order to use attributes, you must define some in your templates, "
|
381 |
+
"otherwise they'll never show. Go to Events > Settings to add attribute "
|
382 |
+
"placeholders."
|
383 |
+
msgstr ""
|
384 |
+
|
385 |
+
#: admin/event.php:531
|
386 |
+
msgid "Submit Event"
|
387 |
+
msgstr ""
|
388 |
+
|
389 |
+
#: admin/event.php:542
|
390 |
+
msgid ""
|
391 |
+
"Are you sure you want to reschedule this recurring event? If you do this, "
|
392 |
+
"you will lose all booking information and the old recurring events will be "
|
393 |
+
"deleted."
|
394 |
+
msgstr ""
|
395 |
+
|
396 |
+
#: admin/event.php:552
|
397 |
+
msgid ""
|
398 |
+
"Are you sure you want to disable bookings? If you do this and save, you will "
|
399 |
+
"lose all previous bookings. If you wish to prevent further bookings, reduce "
|
400 |
+
"the number of seats available to the amount of bookings you currently have"
|
401 |
+
msgstr ""
|
402 |
+
|
403 |
+
#: admin/events.php:51 admin/events.php:61 admin/locations.php:42
|
404 |
+
#: admin/locations.php:60
|
405 |
+
msgid "Ach, there's a problem here:"
|
406 |
+
msgstr ""
|
407 |
+
|
408 |
+
#: admin/events.php:74 admin/events.php:85
|
409 |
+
msgid "Edit Event"
|
410 |
+
msgstr ""
|
411 |
+
|
412 |
+
#: admin/events.php:98
|
413 |
+
msgid "Past Events"
|
414 |
+
msgstr ""
|
415 |
+
|
416 |
+
#: admin/events.php:101
|
417 |
+
msgid "All Events"
|
418 |
+
msgstr ""
|
419 |
+
|
420 |
+
#: admin/events.php:104
|
421 |
+
msgid "Future Events"
|
422 |
+
msgstr ""
|
423 |
+
|
424 |
+
#: admin/events.php:116 admin/events.php:136 widgets/events.php:72
|
425 |
+
msgid "Past events"
|
426 |
+
msgstr ""
|
427 |
+
|
428 |
+
#: admin/events.php:117 admin/events.php:137 widgets/events.php:71
|
429 |
+
msgid "All events"
|
430 |
+
msgstr ""
|
431 |
+
|
432 |
+
#: admin/events.php:118 admin/events.php:138 widgets/events.php:70
|
433 |
+
msgid "Future events"
|
434 |
+
msgstr ""
|
435 |
+
|
436 |
+
#: admin/events.php:143
|
437 |
+
msgid "Total"
|
438 |
+
msgstr ""
|
439 |
+
|
440 |
+
#: admin/events.php:151
|
441 |
+
msgid "Bulk Actions"
|
442 |
+
msgstr ""
|
443 |
+
|
444 |
+
#: admin/events.php:152
|
445 |
+
msgid "Delete selected"
|
446 |
+
msgstr ""
|
447 |
+
|
448 |
+
#: admin/events.php:154
|
449 |
+
msgid "Apply"
|
450 |
+
msgstr ""
|
451 |
+
|
452 |
+
#: admin/events.php:165
|
453 |
+
msgid "Filter"
|
454 |
+
msgstr ""
|
455 |
+
|
456 |
+
#: admin/events.php:171
|
457 |
+
msgid "Previous Page"
|
458 |
+
msgstr ""
|
459 |
+
|
460 |
+
#: admin/events.php:173
|
461 |
+
msgid "Next Page"
|
462 |
+
msgstr ""
|
463 |
+
|
464 |
+
#: admin/events.php:182
|
465 |
+
msgid "no events"
|
466 |
+
msgstr ""
|
467 |
+
|
468 |
+
#: admin/events.php:195
|
469 |
+
msgid "Date and time"
|
470 |
+
msgstr ""
|
471 |
+
|
472 |
+
#: admin/events.php:207 admin/events.php:208
|
473 |
+
msgid "D d M Y"
|
474 |
+
msgstr ""
|
475 |
+
|
476 |
+
#: admin/events.php:232
|
477 |
+
msgid "Duplicate this event"
|
478 |
+
msgstr ""
|
479 |
+
|
480 |
+
#: admin/locations.php:20
|
481 |
+
msgid "Locations Deleted"
|
482 |
+
msgstr ""
|
483 |
+
|
484 |
+
#: admin/locations.php:36
|
485 |
+
msgid "The location has been updated."
|
486 |
+
msgstr ""
|
487 |
+
|
488 |
+
#: admin/locations.php:55
|
489 |
+
msgid "The location has been added."
|
490 |
+
msgstr ""
|
491 |
+
|
492 |
+
#: admin/locations.php:83 events-manager.php:225
|
493 |
+
msgid "Locations"
|
494 |
+
msgstr ""
|
495 |
+
|
496 |
+
#: admin/locations.php:138
|
497 |
+
msgid "No venues have been inserted yet!"
|
498 |
+
msgstr ""
|
499 |
+
|
500 |
+
#: admin/locations.php:148 admin/locations.php:203
|
501 |
+
msgid "Add location"
|
502 |
+
msgstr ""
|
503 |
+
|
504 |
+
#: admin/locations.php:152 admin/locations.php:235
|
505 |
+
msgid "Location name"
|
506 |
+
msgstr ""
|
507 |
+
|
508 |
+
#: admin/locations.php:154 admin/locations.php:237
|
509 |
+
msgid "The name of the location"
|
510 |
+
msgstr ""
|
511 |
+
|
512 |
+
#: admin/locations.php:158 admin/locations.php:241
|
513 |
+
msgid "Location address"
|
514 |
+
msgstr ""
|
515 |
+
|
516 |
+
#: admin/locations.php:160 admin/locations.php:243
|
517 |
+
msgid "The address of the location"
|
518 |
+
msgstr ""
|
519 |
+
|
520 |
+
#: admin/locations.php:164 admin/locations.php:248
|
521 |
+
msgid "Location town"
|
522 |
+
msgstr ""
|
523 |
+
|
524 |
+
#: admin/locations.php:166
|
525 |
+
msgid "The town of the location"
|
526 |
+
msgstr ""
|
527 |
+
|
528 |
+
#: admin/locations.php:189 admin/locations.php:285
|
529 |
+
msgid "Location image"
|
530 |
+
msgstr ""
|
531 |
+
|
532 |
+
#: admin/locations.php:191
|
533 |
+
msgid "Select an image to upload"
|
534 |
+
msgstr ""
|
535 |
+
|
536 |
+
#: admin/locations.php:195 admin/locations.php:274
|
537 |
+
msgid "Location description"
|
538 |
+
msgstr ""
|
539 |
+
|
540 |
+
#: admin/locations.php:200 admin/locations.php:280
|
541 |
+
msgid "A description of the Location. You may include any kind of info here."
|
542 |
+
msgstr ""
|
543 |
+
|
544 |
+
#: admin/locations.php:221
|
545 |
+
msgid "Edit location"
|
546 |
+
msgstr ""
|
547 |
+
|
548 |
+
#: admin/locations.php:250
|
549 |
+
msgid "The town where the location is located"
|
550 |
+
msgstr ""
|
551 |
+
|
552 |
+
#: admin/locations.php:262
|
553 |
+
msgid "Location map"
|
554 |
+
msgstr ""
|
555 |
+
|
556 |
+
#: admin/locations.php:290
|
557 |
+
msgid "No image uploaded for this location yet"
|
558 |
+
msgstr ""
|
559 |
+
|
560 |
+
#: admin/locations.php:295
|
561 |
+
msgid "Upload/change picture"
|
562 |
+
msgstr ""
|
563 |
+
|
564 |
+
#: admin/locations.php:299
|
565 |
+
msgid "Update location"
|
566 |
+
msgstr ""
|
567 |
+
|
568 |
+
#: admin/options.php:16
|
569 |
+
msgid "Changes saved."
|
570 |
+
msgstr ""
|
571 |
+
|
572 |
+
#: admin/options.php:28 admin/options.php:240
|
573 |
+
msgid "Save Changes"
|
574 |
+
msgstr ""
|
575 |
+
|
576 |
+
#: admin/options.php:28
|
577 |
+
msgid "All"
|
578 |
+
msgstr ""
|
579 |
+
|
580 |
+
#: admin/options.php:32
|
581 |
+
msgid "Collapse All"
|
582 |
+
msgstr ""
|
583 |
+
|
584 |
+
#: admin/options.php:33
|
585 |
+
msgid "Expand All"
|
586 |
+
msgstr ""
|
587 |
+
|
588 |
+
#: admin/options.php:51
|
589 |
+
msgid "Event Manager Options"
|
590 |
+
msgstr ""
|
591 |
+
|
592 |
+
#: admin/options.php:61 admin/options.php:78 admin/options.php:106
|
593 |
+
#: admin/options.php:125 admin/options.php:140 admin/options.php:156
|
594 |
+
#: admin/options.php:171 admin/options.php:192 admin/options.php:208
|
595 |
+
#: admin/options.php:227
|
596 |
+
msgid "Click to toggle"
|
597 |
+
msgstr ""
|
598 |
+
|
599 |
+
#: admin/options.php:61
|
600 |
+
msgid "General options"
|
601 |
+
msgstr ""
|
602 |
+
|
603 |
+
#: admin/options.php:65
|
604 |
+
msgid "Use dropdown for locations?"
|
605 |
+
msgstr ""
|
606 |
+
|
607 |
+
#: admin/options.php:65
|
608 |
+
msgid ""
|
609 |
+
"Select yes to select location from a drow-down menu; location selection will "
|
610 |
+
"be faster, but you will lose the ability to insert locations with events"
|
611 |
+
msgstr ""
|
612 |
+
|
613 |
+
#: admin/options.php:66
|
614 |
+
msgid "Use recurrence?"
|
615 |
+
msgstr ""
|
616 |
+
|
617 |
+
#: admin/options.php:66
|
618 |
+
msgid "Select yes to enable the recurrence features feature"
|
619 |
+
msgstr ""
|
620 |
+
|
621 |
+
#: admin/options.php:67
|
622 |
+
msgid "Use RSVP?"
|
623 |
+
msgstr ""
|
624 |
+
|
625 |
+
#: admin/options.php:67
|
626 |
+
msgid "Select yes to enable the RSVP feature"
|
627 |
+
msgstr ""
|
628 |
+
|
629 |
+
#: admin/options.php:68
|
630 |
+
msgid "Use categories?"
|
631 |
+
msgstr ""
|
632 |
+
|
633 |
+
#: admin/options.php:68
|
634 |
+
msgid "Select yes to enable the category features"
|
635 |
+
msgstr ""
|
636 |
+
|
637 |
+
#: admin/options.php:69
|
638 |
+
msgid "Use attributes?"
|
639 |
+
msgstr ""
|
640 |
+
|
641 |
+
#: admin/options.php:69
|
642 |
+
msgid "Select yes to enable the attributes feature"
|
643 |
+
msgstr ""
|
644 |
+
|
645 |
+
#: admin/options.php:78 admin/options.php:92
|
646 |
+
msgid "Events page"
|
647 |
+
msgstr ""
|
648 |
+
|
649 |
+
#: admin/options.php:87
|
650 |
+
msgid "[No Events Page]"
|
651 |
+
msgstr ""
|
652 |
+
|
653 |
+
#: admin/options.php:92
|
654 |
+
msgid "This option allows you to select which page to use as an events page"
|
655 |
+
msgstr ""
|
656 |
+
|
657 |
+
#: admin/options.php:95
|
658 |
+
msgid "Show events page in lists?"
|
659 |
+
msgstr ""
|
660 |
+
|
661 |
+
#: admin/options.php:95
|
662 |
+
msgid ""
|
663 |
+
"Check this option if you want the events page to appear together with other "
|
664 |
+
"pages in pages lists."
|
665 |
+
msgstr ""
|
666 |
+
|
667 |
+
#: admin/options.php:96
|
668 |
+
msgid "Display calendar in events page?"
|
669 |
+
msgstr ""
|
670 |
+
|
671 |
+
#: admin/options.php:96
|
672 |
+
msgid ""
|
673 |
+
"This options allows to display the calendar in the events page, instead of "
|
674 |
+
"the default list. It is recommended not to display both the calendar widget "
|
675 |
+
"and a calendar page."
|
676 |
+
msgstr ""
|
677 |
+
|
678 |
+
#: admin/options.php:97
|
679 |
+
msgid "Disable title rewriting?"
|
680 |
+
msgstr ""
|
681 |
+
|
682 |
+
#: admin/options.php:97
|
683 |
+
msgid ""
|
684 |
+
"Some wordpress themes don't follow best practices when generating navigation "
|
685 |
+
"menus, and so the automatic title rewriting feature may cause problems, if "
|
686 |
+
"your menus aren't working correctly on the event pages, try setting this to "
|
687 |
+
"'Yes', and provide an appropriate HTML title format below."
|
688 |
+
msgstr ""
|
689 |
+
|
690 |
+
#: admin/options.php:98
|
691 |
+
msgid "Event Manager titles"
|
692 |
+
msgstr ""
|
693 |
+
|
694 |
+
#: admin/options.php:98
|
695 |
+
msgid ""
|
696 |
+
"This only setting only matters if you selected 'Yes' to above. You will "
|
697 |
+
"notice the events page titles aren't being rewritten, and you have a new "
|
698 |
+
"title underneath the default page name. This is where you control the HTML "
|
699 |
+
"of this title. Make sure you keep the #_PAGETITLE placeholder here, as "
|
700 |
+
"that's what is rewritten by events manager. To control what's rewritten in "
|
701 |
+
"this title, see settings further down for page titles."
|
702 |
+
msgstr ""
|
703 |
+
|
704 |
+
#: admin/options.php:106
|
705 |
+
msgid "Events format"
|
706 |
+
msgstr ""
|
707 |
+
|
708 |
+
#: admin/options.php:110
|
709 |
+
msgid "Default event list format header"
|
710 |
+
msgstr ""
|
711 |
+
|
712 |
+
#: admin/options.php:110
|
713 |
+
msgid ""
|
714 |
+
"This content will appear just above your code for the default event list "
|
715 |
+
"format. Default is blank"
|
716 |
+
msgstr ""
|
717 |
+
|
718 |
+
#: admin/options.php:111
|
719 |
+
msgid "Default event list format"
|
720 |
+
msgstr ""
|
721 |
+
|
722 |
+
#: admin/options.php:111
|
723 |
+
msgid ""
|
724 |
+
"The format of any events in a list.<br/>Insert one or more of the following "
|
725 |
+
"placeholders: <code>#_NAME</code>, <code>#_LOCATION</code>, <code>#_ADDRESS</"
|
726 |
+
"code>, <code>#_TOWN</code>, <code>#_NOTES</code>.<br/> Use <code>#_EXCERPT</"
|
727 |
+
"code> to show <code>#_NOTES</code> until you place a <!–– "
|
728 |
+
"more ––> marker.<br/> Use <code>#_LINKEDNAME</code> for the "
|
729 |
+
"event name with a link to the given event page.<br/> Use "
|
730 |
+
"<code>#_EVENTPAGEURL</code> to print the event page URL and make your own "
|
731 |
+
"customised links.<br/> Use <code>#_LOCATIONPAGEURL</code> to print the "
|
732 |
+
"location page URL and make your own customised links.<br/>Use "
|
733 |
+
"<code>#_EDITEVENTLINK</code> to add add a link to edit page for the event, "
|
734 |
+
"which will appear only when a user is logged in.<br/>To insert date and time "
|
735 |
+
"values, use <a href=\"http://www.php.net/manual/en/function.date.php\">PHP "
|
736 |
+
"time format characters</a> with a <code>#</code> symbol before them, i.e. "
|
737 |
+
"<code>#m</code>, <code>#M</code>, <code>#j</code>, etc.<br/> For the end "
|
738 |
+
"time, put <code>#@</code> in front of the character, ie. <code>#@h</code>, "
|
739 |
+
"<code>#@i</code>, etc.<br/> You can also create a date format without "
|
740 |
+
"prepending <code>#</code> by wrapping it in #_{} or #@_{} (e.g. <code>#_{d/m/"
|
741 |
+
"Y}</code>). If there is no end date, the value is not shown.<br/>Feel free "
|
742 |
+
"to use HTML tags as <code>li</code>, <code>br</code> and so on.<br/>For "
|
743 |
+
"custom attributes, you use <code>#_ATT{key}{alternative text}</code>, the "
|
744 |
+
"second braces are optional and will appear if the attribute is not defined "
|
745 |
+
"or left blank for that event. This key will appear as an option when adding "
|
746 |
+
"attributes to your event."
|
747 |
+
msgstr ""
|
748 |
+
|
749 |
+
#: admin/options.php:112
|
750 |
+
msgid "Default event list format footer"
|
751 |
+
msgstr ""
|
752 |
+
|
753 |
+
#: admin/options.php:112
|
754 |
+
msgid ""
|
755 |
+
"This content will appear just below your code for the default event list "
|
756 |
+
"format. Default is blank"
|
757 |
+
msgstr ""
|
758 |
+
|
759 |
+
#: admin/options.php:113
|
760 |
+
msgid "Single event page title format"
|
761 |
+
msgstr ""
|
762 |
+
|
763 |
+
#: admin/options.php:113
|
764 |
+
msgid ""
|
765 |
+
"The format of a single event page title. Follow the previous formatting "
|
766 |
+
"instructions."
|
767 |
+
msgstr ""
|
768 |
+
|
769 |
+
#: admin/options.php:114
|
770 |
+
msgid "Default single event format"
|
771 |
+
msgstr ""
|
772 |
+
|
773 |
+
#: admin/options.php:114
|
774 |
+
msgid ""
|
775 |
+
"The format of a single event page.<br/>Follow the previous formatting "
|
776 |
+
"instructions. <br/>Use <code>#_MAP</code> to insert a map.<br/>Use "
|
777 |
+
"<code>#_CONTACTNAME</code>, <code>#_CONTACTEMAIL</code>, "
|
778 |
+
"<code>#_CONTACTPHONE</code> to insert respectively the name, e-mail address "
|
779 |
+
"and phone number of the designated contact person. <br/>Use "
|
780 |
+
"<code>#_ADDBOOKINGFORM</code> to insert a form to allow the user to respond "
|
781 |
+
"to your events reserving one or more places (RSVP).<br/> Use "
|
782 |
+
"<code>#_REMOVEBOOKINGFORM</code> to insert a form where users, inserting "
|
783 |
+
"their name and e-mail address, can remove their bookings."
|
784 |
+
msgstr ""
|
785 |
+
|
786 |
+
#: admin/options.php:115
|
787 |
+
msgid "Events page title"
|
788 |
+
msgstr ""
|
789 |
+
|
790 |
+
#: admin/options.php:115
|
791 |
+
msgid "The title on the multiple events page."
|
792 |
+
msgstr ""
|
793 |
+
|
794 |
+
#: admin/options.php:116
|
795 |
+
msgid "No events message"
|
796 |
+
msgstr ""
|
797 |
+
|
798 |
+
#: admin/options.php:116
|
799 |
+
msgid "The message displayed when no events are available."
|
800 |
+
msgstr ""
|
801 |
+
|
802 |
+
#: admin/options.php:117
|
803 |
+
msgid "List events by date title"
|
804 |
+
msgstr ""
|
805 |
+
|
806 |
+
#: admin/options.php:117
|
807 |
+
msgid ""
|
808 |
+
"If viewing a page for events on a specific dates, this is the title that "
|
809 |
+
"would show up. To insert date values, use <a href=\"http://www.php.net/"
|
810 |
+
"manual/en/function.date.php\">PHP time format characters</a> with a "
|
811 |
+
"<code>#</code> symbol before them, i.e. <code>#m</code>, <code>#M</code>, "
|
812 |
+
"<code>#j</code>, etc.<br/>"
|
813 |
+
msgstr ""
|
814 |
+
|
815 |
+
#: admin/options.php:125
|
816 |
+
msgid "Calendar format"
|
817 |
+
msgstr ""
|
818 |
+
|
819 |
+
#: admin/options.php:129
|
820 |
+
msgid "Small calendar title"
|
821 |
+
msgstr ""
|
822 |
+
|
823 |
+
#: admin/options.php:129
|
824 |
+
msgid ""
|
825 |
+
"The format of the title, corresponding to the text that appears when "
|
826 |
+
"hovering on an eventful calendar day."
|
827 |
+
msgstr ""
|
828 |
+
|
829 |
+
#: admin/options.php:130
|
830 |
+
msgid "Small calendar title separator"
|
831 |
+
msgstr ""
|
832 |
+
|
833 |
+
#: admin/options.php:130
|
834 |
+
msgid ""
|
835 |
+
"The separator appearing on the above title when more than one events are "
|
836 |
+
"taking place on the same day."
|
837 |
+
msgstr ""
|
838 |
+
|
839 |
+
#: admin/options.php:131
|
840 |
+
msgid "Full calendar events format"
|
841 |
+
msgstr ""
|
842 |
+
|
843 |
+
#: admin/options.php:131
|
844 |
+
msgid ""
|
845 |
+
"The format of each event when displayed in the full calendar. Remember to "
|
846 |
+
"include <code>li</code> tags before and after the event."
|
847 |
+
msgstr ""
|
848 |
+
|
849 |
+
#: admin/options.php:132
|
850 |
+
msgid "Show list on day with single event?"
|
851 |
+
msgstr ""
|
852 |
+
|
853 |
+
#: admin/options.php:132
|
854 |
+
msgid ""
|
855 |
+
"By default, if a calendar day only has one event, it display a single event "
|
856 |
+
"when clicking on the link of that calendar date. If you select Yes here, you "
|
857 |
+
"will get always see a list of events."
|
858 |
+
msgstr ""
|
859 |
+
|
860 |
+
#: admin/options.php:140
|
861 |
+
msgid "Locations format"
|
862 |
+
msgstr ""
|
863 |
+
|
864 |
+
#: admin/options.php:144
|
865 |
+
msgid "Single location page title format"
|
866 |
+
msgstr ""
|
867 |
+
|
868 |
+
#: admin/options.php:144
|
869 |
+
msgid ""
|
870 |
+
"The format of a single location page title.<br/>Follow the previous "
|
871 |
+
"formatting instructions."
|
872 |
+
msgstr ""
|
873 |
+
|
874 |
+
#: admin/options.php:145
|
875 |
+
msgid "Default single location page format"
|
876 |
+
msgstr ""
|
877 |
+
|
878 |
+
#: admin/options.php:145
|
879 |
+
msgid ""
|
880 |
+
"The format of a single location page.<br/>Insert one or more of the "
|
881 |
+
"following placeholders: <code>#_NAME</code>, <code>#_ADDRESS</code>, "
|
882 |
+
"<code>#_TOWN</code>, <code>#_DESCRIPTION</code>.<br/> Use <code>#_MAP</code> "
|
883 |
+
"to display a map of the event location, and <code>#_IMAGE</code> to display "
|
884 |
+
"an image of the location.<br/> Use <code>#_NEXTEVENTS</code> to insert a "
|
885 |
+
"list of the upcoming events, <code>#_PASTEVENTS</code> for a list of past "
|
886 |
+
"events, <code>#_ALLEVENTS</code> for a list of all events taking place in "
|
887 |
+
"this location."
|
888 |
+
msgstr ""
|
889 |
+
|
890 |
+
#: admin/options.php:146
|
891 |
+
msgid "Default location baloon format"
|
892 |
+
msgstr ""
|
893 |
+
|
894 |
+
#: admin/options.php:146
|
895 |
+
msgid ""
|
896 |
+
"The format of of the text appearing in the baloon describing the location in "
|
897 |
+
"the map.<br/>Insert one or more of the following placeholders: <code>#_NAME</"
|
898 |
+
"code>, <code>#_ADDRESS</code>, <code>#_TOWN</code>, <code>#_DESCRIPTION</"
|
899 |
+
"code> or <code>#_IMAGE</code>."
|
900 |
+
msgstr ""
|
901 |
+
|
902 |
+
#: admin/options.php:147
|
903 |
+
msgid "Default location event list format"
|
904 |
+
msgstr ""
|
905 |
+
|
906 |
+
#: admin/options.php:147
|
907 |
+
msgid ""
|
908 |
+
"The format of the events the list inserted in the location page through the "
|
909 |
+
"<code>#_NEXTEVENTS</code>, <code>#_PASTEVENTS</code> and <code>#_ALLEVENTS</"
|
910 |
+
"code> element. <br/> Follow the events formatting instructions"
|
911 |
+
msgstr ""
|
912 |
+
|
913 |
+
#: admin/options.php:148
|
914 |
+
msgid "Default no events message"
|
915 |
+
msgstr ""
|
916 |
+
|
917 |
+
#: admin/options.php:148
|
918 |
+
msgid ""
|
919 |
+
"The message to be displayed in the list generated by <code>#_NEXTEVENTS</"
|
920 |
+
"code>, <code>#_PASTEVENTS</code> and <code>#_ALLEVENTS</code> when no events "
|
921 |
+
"are available."
|
922 |
+
msgstr ""
|
923 |
+
|
924 |
+
#: admin/options.php:156
|
925 |
+
msgid "RSS feed format"
|
926 |
+
msgstr ""
|
927 |
+
|
928 |
+
#: admin/options.php:160
|
929 |
+
msgid "RSS main title"
|
930 |
+
msgstr ""
|
931 |
+
|
932 |
+
#: admin/options.php:160
|
933 |
+
msgid "The main title of your RSS events feed."
|
934 |
+
msgstr ""
|
935 |
+
|
936 |
+
#: admin/options.php:161
|
937 |
+
msgid "RSS main description"
|
938 |
+
msgstr ""
|
939 |
+
|
940 |
+
#: admin/options.php:161
|
941 |
+
msgid "The main description of your RSS events feed."
|
942 |
+
msgstr ""
|
943 |
+
|
944 |
+
#: admin/options.php:162
|
945 |
+
msgid "RSS title format"
|
946 |
+
msgstr ""
|
947 |
+
|
948 |
+
#: admin/options.php:162
|
949 |
+
msgid "The format of the title of each item in the events RSS feed."
|
950 |
+
msgstr ""
|
951 |
+
|
952 |
+
#: admin/options.php:163
|
953 |
+
msgid "RSS description format"
|
954 |
+
msgstr ""
|
955 |
+
|
956 |
+
#: admin/options.php:163
|
957 |
+
msgid ""
|
958 |
+
"The format of the description of each item in the events RSS feed. Follow "
|
959 |
+
"the previous formatting instructions."
|
960 |
+
msgstr ""
|
961 |
+
|
962 |
+
#: admin/options.php:171
|
963 |
+
msgid "Maps and geotagging"
|
964 |
+
msgstr ""
|
965 |
+
|
966 |
+
#: admin/options.php:176
|
967 |
+
msgid "Enable Google Maps integration?"
|
968 |
+
msgstr ""
|
969 |
+
|
970 |
+
#: admin/options.php:178 functions.php:114
|
971 |
+
msgid "Yes"
|
972 |
+
msgstr ""
|
973 |
+
|
974 |
+
#: admin/options.php:179 functions.php:115
|
975 |
+
msgid "No"
|
976 |
+
msgstr ""
|
977 |
+
|
978 |
+
#: admin/options.php:180
|
979 |
+
msgid "Check this option to enable Goggle Map integration."
|
980 |
+
msgstr ""
|
981 |
+
|
982 |
+
#: admin/options.php:184
|
983 |
+
msgid "Map text format"
|
984 |
+
msgstr ""
|
985 |
+
|
986 |
+
#: admin/options.php:184
|
987 |
+
msgid ""
|
988 |
+
"The format the text appearing in the event page map cloud.<br/>Follow the "
|
989 |
+
"previous formatting instructions."
|
990 |
+
msgstr ""
|
991 |
+
|
992 |
+
#: admin/options.php:192
|
993 |
+
msgid "RSVP and bookings"
|
994 |
+
msgstr ""
|
995 |
+
|
996 |
+
#: admin/options.php:196
|
997 |
+
msgid "Default contact person"
|
998 |
+
msgstr ""
|
999 |
+
|
1000 |
+
#: admin/options.php:196
|
1001 |
+
msgid ""
|
1002 |
+
"Select the default contact person. This user will be employed whenever a "
|
1003 |
+
"contact person is not explicitly specified for an event"
|
1004 |
+
msgstr ""
|
1005 |
+
|
1006 |
+
#: admin/options.php:197
|
1007 |
+
msgid "Enable the RSVP e-mail notifications?"
|
1008 |
+
msgstr ""
|
1009 |
+
|
1010 |
+
#: admin/options.php:197
|
1011 |
+
msgid ""
|
1012 |
+
"Check this option if you want to receive an email when someone books places "
|
1013 |
+
"for your events."
|
1014 |
+
msgstr ""
|
1015 |
+
|
1016 |
+
#: admin/options.php:198 admin/options.php:199
|
1017 |
+
msgid "Contact person email format"
|
1018 |
+
msgstr ""
|
1019 |
+
|
1020 |
+
#: admin/options.php:198
|
1021 |
+
msgid ""
|
1022 |
+
"The format or the email which will be sent to the contact person. Follow "
|
1023 |
+
"the events formatting instructions. <br/>Use <code>#_RESPNAME</code>, "
|
1024 |
+
"<code>#_RESPEMAIL</code> and <code>#_RESPPHONE</code> to display "
|
1025 |
+
"respectively the name, e-mail, address and phone of the respondent.<br/>Use "
|
1026 |
+
"<code>#_SPACES</code> to display the number of spaces reserved by the "
|
1027 |
+
"respondent. Use <code>#_COMMENT</code> to display the respondent's comment. "
|
1028 |
+
"<br/> Use <code>#_BOOKEDSEATS</code> and <code>#_AVAILABLESEATS</code> to "
|
1029 |
+
"display respectively the number of booked and available seats."
|
1030 |
+
msgstr ""
|
1031 |
+
|
1032 |
+
#: admin/options.php:199
|
1033 |
+
msgid ""
|
1034 |
+
"The format or the email which will be sent to reposdent. Follow the events "
|
1035 |
+
"formatting instructions. <br/>Use <code>#_RESPNAME</code> to display the "
|
1036 |
+
"name of the respondent.<br/>Use <code>#_CONTACTNAME</code> and "
|
1037 |
+
"<code>#_CONTACTEMAIL</code> a to display respectively the name and e-mail of "
|
1038 |
+
"the contact person.<br/>Use <code>#_SPACES</code> to display the number of "
|
1039 |
+
"spaces reserved by the respondent. Use <code>#_COMMENT</code> to display the "
|
1040 |
+
"respondent's comment."
|
1041 |
+
msgstr ""
|
1042 |
+
|
1043 |
+
#: admin/options.php:200
|
1044 |
+
msgid "Default notification receiver address"
|
1045 |
+
msgstr ""
|
1046 |
+
|
1047 |
+
#: admin/options.php:200
|
1048 |
+
msgid "Insert the address of the receiver of your notifications"
|
1049 |
+
msgstr ""
|
1050 |
+
|
1051 |
+
#: admin/options.php:208
|
1052 |
+
msgid "Email Settings"
|
1053 |
+
msgstr ""
|
1054 |
+
|
1055 |
+
#: admin/options.php:212
|
1056 |
+
msgid "Notification sender name"
|
1057 |
+
msgstr ""
|
1058 |
+
|
1059 |
+
#: admin/options.php:212
|
1060 |
+
msgid "Insert the display name of the notification sender."
|
1061 |
+
msgstr ""
|
1062 |
+
|
1063 |
+
#: admin/options.php:213
|
1064 |
+
msgid "Notification sender address"
|
1065 |
+
msgstr ""
|
1066 |
+
|
1067 |
+
#: admin/options.php:213
|
1068 |
+
msgid ""
|
1069 |
+
"Insert the address of the notification sender. It must corresponds with your "
|
1070 |
+
"gmail account user"
|
1071 |
+
msgstr ""
|
1072 |
+
|
1073 |
+
#: admin/options.php:214
|
1074 |
+
msgid ""
|
1075 |
+
"The port through which you e-mail notifications will be sent. Make sure the "
|
1076 |
+
"firewall doesn't block this port"
|
1077 |
+
msgstr ""
|
1078 |
+
|
1079 |
+
#: admin/options.php:215
|
1080 |
+
msgid "Mail sending method"
|
1081 |
+
msgstr ""
|
1082 |
+
|
1083 |
+
#: admin/options.php:215
|
1084 |
+
msgid "PHP mail function"
|
1085 |
+
msgstr ""
|
1086 |
+
|
1087 |
+
#: admin/options.php:215
|
1088 |
+
msgid "Select the method to send email notification."
|
1089 |
+
msgstr ""
|
1090 |
+
|
1091 |
+
#: admin/options.php:216
|
1092 |
+
msgid "Use SMTP authentication?"
|
1093 |
+
msgstr ""
|
1094 |
+
|
1095 |
+
#: admin/options.php:216
|
1096 |
+
msgid ""
|
1097 |
+
"SMTP authenticatio is often needed. If you use GMail, make sure to set this "
|
1098 |
+
"parameter to Yes"
|
1099 |
+
msgstr ""
|
1100 |
+
|
1101 |
+
#: admin/options.php:217
|
1102 |
+
msgid ""
|
1103 |
+
"The SMTP host. Usually it corresponds to 'localhost'. If you use GMail, set "
|
1104 |
+
"this value to 'ssl://smtp.gmail.com:465'."
|
1105 |
+
msgstr ""
|
1106 |
+
|
1107 |
+
#: admin/options.php:218
|
1108 |
+
msgid "SMTP username"
|
1109 |
+
msgstr ""
|
1110 |
+
|
1111 |
+
#: admin/options.php:218
|
1112 |
+
msgid "Insert the username to be used to access your SMTP server."
|
1113 |
+
msgstr ""
|
1114 |
+
|
1115 |
+
#: admin/options.php:219
|
1116 |
+
msgid "SMTP password"
|
1117 |
+
msgstr ""
|
1118 |
+
|
1119 |
+
#: admin/options.php:219
|
1120 |
+
msgid "Insert the password to be used to access your SMTP server"
|
1121 |
+
msgstr ""
|
1122 |
+
|
1123 |
+
#: admin/options.php:227
|
1124 |
+
msgid "Images size"
|
1125 |
+
msgstr ""
|
1126 |
+
|
1127 |
+
#: admin/options.php:231
|
1128 |
+
msgid "Maximum width (px)"
|
1129 |
+
msgstr ""
|
1130 |
+
|
1131 |
+
#: admin/options.php:231
|
1132 |
+
msgid "The maximum allowed width for images uploades"
|
1133 |
+
msgstr ""
|
1134 |
+
|
1135 |
+
#: admin/options.php:232
|
1136 |
+
msgid "Maximum height (px)"
|
1137 |
+
msgstr ""
|
1138 |
+
|
1139 |
+
#: admin/options.php:232
|
1140 |
+
msgid "The maximum allowed width for images uploaded, in pixels"
|
1141 |
+
msgstr ""
|
1142 |
+
|
1143 |
+
#: admin/options.php:233
|
1144 |
+
msgid "Maximum size (bytes)"
|
1145 |
+
msgstr ""
|
1146 |
+
|
1147 |
+
#: admin/options.php:233
|
1148 |
+
msgid "The maximum allowed size for images uploaded, in pixels"
|
1149 |
+
msgstr ""
|
1150 |
+
|
1151 |
+
#: admin/people.php:36
|
1152 |
+
msgid "Bookings data"
|
1153 |
+
msgstr ""
|
1154 |
+
|
1155 |
+
#: admin/people.php:40
|
1156 |
+
msgid "E-mail"
|
1157 |
+
msgstr ""
|
1158 |
+
|
1159 |
+
#: admin/people.php:41 bookings.php:80
|
1160 |
+
msgid "Phone number"
|
1161 |
+
msgstr ""
|
1162 |
+
|
1163 |
+
#: admin/people.php:42 bookings.php:82
|
1164 |
+
msgid "Seats"
|
1165 |
+
msgstr ""
|
1166 |
+
|
1167 |
+
#: admin/people.php:43 bookings.php:93
|
1168 |
+
msgid "Comment"
|
1169 |
+
msgstr ""
|
1170 |
+
|
1171 |
+
#: admin/people.php:57
|
1172 |
+
msgid "Booked"
|
1173 |
+
msgstr ""
|
1174 |
+
|
1175 |
+
#: admin/people.php:62
|
1176 |
+
msgid "Available"
|
1177 |
+
msgstr ""
|
1178 |
+
|
1179 |
+
#: admin/people.php:78
|
1180 |
+
msgid "No people have responded to your events yet!"
|
1181 |
+
msgstr ""
|
1182 |
+
|
1183 |
+
#: admin/people.php:81
|
1184 |
+
msgid ""
|
1185 |
+
"This table collects the data about the people who responded to your events"
|
1186 |
+
msgstr ""
|
1187 |
+
|
1188 |
+
#: admin/people.php:118
|
1189 |
+
msgid "Phone"
|
1190 |
+
msgstr ""
|
1191 |
+
|
1192 |
+
#. #-#-#-#-# plugin.pot (Events Manager 3.0.4) #-#-#-#-#
|
1193 |
+
#. Plugin Name of the plugin/theme
|
1194 |
+
#: admin/people.php:118
|
1195 |
+
msgid "Events Manager"
|
1196 |
+
msgstr ""
|
1197 |
+
|
1198 |
+
#: admin/support.php:10 events-manager.php:229
|
1199 |
+
msgid "Getting Help for Events Manager"
|
1200 |
+
msgstr ""
|
1201 |
+
|
1202 |
+
#: bookings.php:40
|
1203 |
+
msgid "Booking deleted"
|
1204 |
+
msgstr ""
|
1205 |
+
|
1206 |
+
#: bookings.php:42
|
1207 |
+
msgid "There are no bookings associated to this name and e-mail"
|
1208 |
+
msgstr ""
|
1209 |
+
|
1210 |
+
#: bookings.php:66
|
1211 |
+
msgid "Book now!"
|
1212 |
+
msgstr ""
|
1213 |
+
|
1214 |
+
#: bookings.php:79 bookings.php:152
|
1215 |
+
msgid "E-Mail"
|
1216 |
+
msgstr ""
|
1217 |
+
|
1218 |
+
#: bookings.php:96
|
1219 |
+
msgid "Send your booking"
|
1220 |
+
msgstr ""
|
1221 |
+
|
1222 |
+
#: bookings.php:105 bookings.php:111
|
1223 |
+
msgid "Hide cancellation form"
|
1224 |
+
msgstr ""
|
1225 |
+
|
1226 |
+
#: bookings.php:105 bookings.php:107 bookings.php:110 bookings.php:114
|
1227 |
+
msgid "Cancel a booking"
|
1228 |
+
msgstr ""
|
1229 |
+
|
1230 |
+
#: bookings.php:136 bookings.php:157
|
1231 |
+
msgid "Cancel your booking"
|
1232 |
+
msgstr ""
|
1233 |
+
|
1234 |
+
#: classes/booking.php:74
|
1235 |
+
msgid "There was a problem saving the booking."
|
1236 |
+
msgstr ""
|
1237 |
+
|
1238 |
+
#: classes/booking.php:80
|
1239 |
+
msgid "Your booking has been recorded"
|
1240 |
+
msgstr ""
|
1241 |
+
|
1242 |
+
#: classes/bookings.php:78
|
1243 |
+
msgid "Booking successful."
|
1244 |
+
msgstr ""
|
1245 |
+
|
1246 |
+
#: classes/bookings.php:80
|
1247 |
+
msgid "However, we were not able to send you an email."
|
1248 |
+
msgstr ""
|
1249 |
+
|
1250 |
+
#: classes/bookings.php:88
|
1251 |
+
msgid "Booking could not be created"
|
1252 |
+
msgstr ""
|
1253 |
+
|
1254 |
+
#: classes/bookings.php:91
|
1255 |
+
msgid "Booking cannot be made, not enough seats available!"
|
1256 |
+
msgstr ""
|
1257 |
+
|
1258 |
+
#: classes/bookings.php:183
|
1259 |
+
msgid "Reservation confirmed"
|
1260 |
+
msgstr ""
|
1261 |
+
|
1262 |
+
#: classes/bookings.php:186
|
1263 |
+
msgid "New booking"
|
1264 |
+
msgstr ""
|
1265 |
+
|
1266 |
+
#: classes/event.php:207
|
1267 |
+
msgid "There was a problem saving the location so event was not saved."
|
1268 |
+
msgstr ""
|
1269 |
+
|
1270 |
+
#: classes/event.php:227 classes/event.php:255
|
1271 |
+
msgid "Something went wrong with the recurrence update..."
|
1272 |
+
msgstr ""
|
1273 |
+
|
1274 |
+
#: classes/event.php:228 classes/event.php:256
|
1275 |
+
msgid "There was a problem saving the recurring events."
|
1276 |
+
msgstr ""
|
1277 |
+
|
1278 |
+
#: classes/event.php:233
|
1279 |
+
msgid "New recurrent event inserted!"
|
1280 |
+
msgstr ""
|
1281 |
+
|
1282 |
+
#: classes/event.php:237
|
1283 |
+
msgid "New event successfully inserted!"
|
1284 |
+
msgstr ""
|
1285 |
+
|
1286 |
+
#: classes/event.php:240 classes/event.php:263
|
1287 |
+
msgid "Could not save the event details due to a database error."
|
1288 |
+
msgstr ""
|
1289 |
+
|
1290 |
+
#: classes/event.php:259
|
1291 |
+
msgid "Recurrence updated!"
|
1292 |
+
msgstr ""
|
1293 |
+
|
1294 |
+
#: classes/event.php:267
|
1295 |
+
msgid "updated"
|
1296 |
+
msgstr ""
|
1297 |
+
|
1298 |
+
#: classes/event.php:329
|
1299 |
+
msgid "Missing fields: "
|
1300 |
+
msgstr ""
|
1301 |
+
|
1302 |
+
#: classes/event.php:332
|
1303 |
+
msgid "Since the event is repeated, you must specify an event date."
|
1304 |
+
msgstr ""
|
1305 |
+
|
1306 |
+
#: classes/event.php:410 events-manager.php:223
|
1307 |
+
msgid "Edit"
|
1308 |
+
msgstr ""
|
1309 |
+
|
1310 |
+
#: classes/event.php:410
|
1311 |
+
msgid "Event"
|
1312 |
+
msgstr ""
|
1313 |
+
|
1314 |
+
#: classes/event.php:536
|
1315 |
+
msgid "N/A"
|
1316 |
+
msgstr ""
|
1317 |
+
|
1318 |
+
#: classes/event.php:792
|
1319 |
+
msgid "Sunday"
|
1320 |
+
msgstr ""
|
1321 |
+
|
1322 |
+
#: classes/event.php:792
|
1323 |
+
msgid "Monday"
|
1324 |
+
msgstr ""
|
1325 |
+
|
1326 |
+
#: classes/event.php:792
|
1327 |
+
msgid "Tuesday"
|
1328 |
+
msgstr ""
|
1329 |
+
|
1330 |
+
#: classes/event.php:792
|
1331 |
+
msgid "Wednesday"
|
1332 |
+
msgstr ""
|
1333 |
+
|
1334 |
+
#: classes/event.php:792
|
1335 |
+
msgid "Thursday"
|
1336 |
+
msgstr ""
|
1337 |
+
|
1338 |
+
#: classes/event.php:792
|
1339 |
+
msgid "Friday"
|
1340 |
+
msgstr ""
|
1341 |
+
|
1342 |
+
#: classes/event.php:792
|
1343 |
+
msgid "Saturday"
|
1344 |
+
msgstr ""
|
1345 |
+
|
1346 |
+
#: classes/event.php:793
|
1347 |
+
#, php-format
|
1348 |
+
msgid "the first %s of the month"
|
1349 |
+
msgstr ""
|
1350 |
+
|
1351 |
+
#: classes/event.php:793
|
1352 |
+
#, php-format
|
1353 |
+
msgid "the second %s of the month"
|
1354 |
+
msgstr ""
|
1355 |
+
|
1356 |
+
#: classes/event.php:793
|
1357 |
+
#, php-format
|
1358 |
+
msgid "the third %s of the month"
|
1359 |
+
msgstr ""
|
1360 |
+
|
1361 |
+
#: classes/event.php:793
|
1362 |
+
#, php-format
|
1363 |
+
msgid "the fourth %s of the month"
|
1364 |
+
msgstr ""
|
1365 |
+
|
1366 |
+
#: classes/event.php:793
|
1367 |
+
#, php-format
|
1368 |
+
msgid "the last %s of the month"
|
1369 |
+
msgstr ""
|
1370 |
+
|
1371 |
+
#: classes/event.php:794
|
1372 |
+
#, php-format
|
1373 |
+
msgid "From %1$s to %2$s"
|
1374 |
+
msgstr ""
|
1375 |
+
|
1376 |
+
#: classes/event.php:797
|
1377 |
+
msgid "everyday"
|
1378 |
+
msgstr ""
|
1379 |
+
|
1380 |
+
#: classes/event.php:799
|
1381 |
+
#, php-format
|
1382 |
+
msgid "every %s days"
|
1383 |
+
msgstr ""
|
1384 |
+
|
1385 |
+
#: classes/event.php:809
|
1386 |
+
#, php-format
|
1387 |
+
msgid "every %s weeks"
|
1388 |
+
msgstr ""
|
1389 |
+
|
1390 |
+
#: classes/event.php:820
|
1391 |
+
#, php-format
|
1392 |
+
msgid "every %s months"
|
1393 |
+
msgstr ""
|
1394 |
+
|
1395 |
+
#: classes/location.php:39
|
1396 |
+
msgid "The location name"
|
1397 |
+
msgstr ""
|
1398 |
+
|
1399 |
+
#: classes/location.php:39
|
1400 |
+
msgid "The location address"
|
1401 |
+
msgstr ""
|
1402 |
+
|
1403 |
+
#: classes/location.php:39
|
1404 |
+
msgid "The location town"
|
1405 |
+
msgstr ""
|
1406 |
+
|
1407 |
+
#: classes/location.php:130
|
1408 |
+
msgid "The image could not be loaded"
|
1409 |
+
msgstr ""
|
1410 |
+
|
1411 |
+
#: classes/location.php:158
|
1412 |
+
msgid " is missing!"
|
1413 |
+
msgstr ""
|
1414 |
+
|
1415 |
+
#: classes/location.php:166
|
1416 |
+
msgid "The image file is too big! Maximum size:"
|
1417 |
+
msgstr ""
|
1418 |
+
|
1419 |
+
#: classes/location.php:172
|
1420 |
+
msgid "The image is too big! Maximum size allowed:"
|
1421 |
+
msgstr ""
|
1422 |
+
|
1423 |
+
#: classes/location.php:175
|
1424 |
+
msgid "The image is in a wrong format!"
|
1425 |
+
msgstr ""
|
1426 |
+
|
1427 |
+
#: classes/mailer.php:61
|
1428 |
+
msgid "Please supply a valid email format."
|
1429 |
+
msgstr ""
|
1430 |
+
|
1431 |
+
#: classes/map.php:20 classes/map.php:48
|
1432 |
+
msgid "Loading Map...."
|
1433 |
+
msgstr ""
|
1434 |
+
|
1435 |
+
#: classes/map.php:61
|
1436 |
+
msgid "Map Unavailable"
|
1437 |
+
msgstr ""
|
1438 |
+
|
1439 |
+
#: classes/person.php:84
|
1440 |
+
msgid "Please provide a valid email address."
|
1441 |
+
msgstr ""
|
1442 |
+
|
1443 |
+
#: events-manager.php:101 events-manager.php:104 events-manager.php:220
|
1444 |
+
#: install.php:186 install.php:187 template-tags.php:16 widgets/events.php:42
|
1445 |
+
msgid "Events"
|
1446 |
+
msgstr ""
|
1447 |
+
|
1448 |
+
#: events-manager.php:111 install.php:178 widgets/events.php:31
|
1449 |
+
msgid "No events"
|
1450 |
+
msgstr ""
|
1451 |
+
|
1452 |
+
#: events-manager.php:117
|
1453 |
+
msgid "<li>No events in this location</li>"
|
1454 |
+
msgstr ""
|
1455 |
+
|
1456 |
+
#: events-manager.php:208 events-manager.php:228
|
1457 |
+
msgid "Settings"
|
1458 |
+
msgstr ""
|
1459 |
+
|
1460 |
+
#: events-manager.php:224
|
1461 |
+
msgid "Add new"
|
1462 |
+
msgstr ""
|
1463 |
+
|
1464 |
+
#: events-manager.php:226
|
1465 |
+
msgid "People"
|
1466 |
+
msgstr ""
|
1467 |
+
|
1468 |
+
#: events-manager.php:227
|
1469 |
+
msgid "Event Categories"
|
1470 |
+
msgstr ""
|
1471 |
+
|
1472 |
+
#: events-manager.php:228
|
1473 |
+
msgid "Events Manager Settings"
|
1474 |
+
msgstr ""
|
1475 |
+
|
1476 |
+
#: events-manager.php:229
|
1477 |
+
msgid "Help"
|
1478 |
+
msgstr ""
|
1479 |
+
|
1480 |
+
#: events-manager.php:256
|
1481 |
+
msgid "Add an event"
|
1482 |
+
msgstr ""
|
1483 |
+
|
1484 |
+
#: events-manager.php:272
|
1485 |
+
#, php-format
|
1486 |
+
msgid ""
|
1487 |
+
"This page corresponds to <strong>Events Manager</strong> events page. Its "
|
1488 |
+
"content will be overriden by <strong>Events Manager</strong>. If you want to "
|
1489 |
+
"display your content, you can can assign another page to <strong>Events "
|
1490 |
+
"Manager</strong> in the the <a href='%s'>Settings</a>. "
|
1491 |
+
msgstr ""
|
1492 |
+
|
1493 |
+
#: events-manager.php:283
|
1494 |
+
#, php-format
|
1495 |
+
msgid ""
|
1496 |
+
"Uh Oh! For some reason wordpress could not create an events page for you (or "
|
1497 |
+
"you just deleted it). Not to worry though, all you have to do is create an "
|
1498 |
+
"empty page, name it whatever you want, and select it as your events page in "
|
1499 |
+
"your <a href=\"%s\">options page</a>. Sorry for the extra step! If you know "
|
1500 |
+
"what you are doing, you may have done this on purpose, if so <a href=\"%s"
|
1501 |
+
"\">ignore this message</a>"
|
1502 |
+
msgstr ""
|
1503 |
+
|
1504 |
+
#: functions.php:5
|
1505 |
+
#, php-format
|
1506 |
+
msgid ""
|
1507 |
+
"<p>Hey, <strong>%s</strong>, welcome to <strong>Events Manager</strong>! We "
|
1508 |
+
"hope you like it around here.</p> \r\n"
|
1509 |
+
"\t\t<p>Now it's time to insert events lists through <a href='%s' "
|
1510 |
+
"title='Widgets page'>widgets</a>, <a href='%s' title='Template tags "
|
1511 |
+
"documentation'>template tags</a> or <a href='%s' title='Shortcodes "
|
1512 |
+
"documentation'>shortcodes</a>.</p>\r\n"
|
1513 |
+
"\t\t<p>By the way, have you taken a look at the <a href='%s' title='Change "
|
1514 |
+
"settings'>Settings page</a>? That's where you customize the way events and "
|
1515 |
+
"locations are displayed.</p>\r\n"
|
1516 |
+
"\t\t<p>What? Tired of seeing this advice? I hear you, <a href='%s' "
|
1517 |
+
"title='Don't show this advice again'>click here</a> and you won't see this "
|
1518 |
+
"again!</p>"
|
1519 |
+
msgstr ""
|
1520 |
+
|
1521 |
+
#: install.php:161
|
1522 |
+
msgid "Uncategorized"
|
1523 |
+
msgstr ""
|
1524 |
+
|
1525 |
+
#: install.php:169
|
1526 |
+
msgid ""
|
1527 |
+
"#_RESPNAME (#_RESPEMAIL) will attend #_NAME on #m #d, #Y. He wants to "
|
1528 |
+
"reserve #_SPACES spaces.<br/> Now there are #_RESERVEDSPACES spaces "
|
1529 |
+
"reserved, #_AVAILABLESPACES are still available.<br/>Yours faithfully,<br/"
|
1530 |
+
">Events Manager"
|
1531 |
+
msgstr ""
|
1532 |
+
|
1533 |
+
#: install.php:170
|
1534 |
+
msgid ""
|
1535 |
+
"Dear #_RESPNAME, <br/>you have successfully reserved #_SPACES space/spaces "
|
1536 |
+
"for #_NAME.<br/>Yours faithfully,<br/> #_CONTACTPERSON"
|
1537 |
+
msgstr ""
|
1538 |
+
|
1539 |
+
#: install.php:305
|
1540 |
+
msgid ""
|
1541 |
+
"We could not mirgrate old recurrence data over. DONT WORRY! You can just "
|
1542 |
+
"delete the current plugin, and re-install the previous 2.2.2 version and you "
|
1543 |
+
"wont lose any of your data. Either way, please contact the developers to let "
|
1544 |
+
"them know of this bug."
|
1545 |
+
msgstr ""
|
1546 |
+
|
1547 |
+
#: install.php:467
|
1548 |
+
msgid ""
|
1549 |
+
"Events Manager successfully imported your events, please check your records "
|
1550 |
+
"to verify."
|
1551 |
+
msgstr ""
|
1552 |
+
|
1553 |
+
#: install.php:483
|
1554 |
+
#, php-format
|
1555 |
+
msgid ""
|
1556 |
+
"Something has gone wrong when importing your old event. See the <a href=\"%s"
|
1557 |
+
"\">support page</a> for more information. <a href=\"%s\">Dismiss this "
|
1558 |
+
"message</a>"
|
1559 |
+
msgstr ""
|
1560 |
+
|
1561 |
+
#: locations.php:35
|
1562 |
+
msgid "Ach, some problems here:"
|
1563 |
+
msgstr ""
|
1564 |
+
|
1565 |
+
#: widgets/calendar.php:9
|
1566 |
+
msgid "Display your events in a calendar widget."
|
1567 |
+
msgstr ""
|
1568 |
+
|
1569 |
+
#: widgets/calendar.php:10
|
1570 |
+
msgid "Events Calendar"
|
1571 |
+
msgstr ""
|
1572 |
+
|
1573 |
+
#: widgets/calendar.php:32
|
1574 |
+
msgid "Calendar"
|
1575 |
+
msgstr ""
|
1576 |
+
|
1577 |
+
#: widgets/calendar.php:41 widgets/events.php:60 widgets/locations.php:60
|
1578 |
+
msgid "Title"
|
1579 |
+
msgstr ""
|
1580 |
+
|
1581 |
+
#: widgets/calendar.php:45
|
1582 |
+
msgid "Show Long Events?"
|
1583 |
+
msgstr ""
|
1584 |
+
|
1585 |
+
#: widgets/events.php:9
|
1586 |
+
msgid "Display a list of events on Events Manager."
|
1587 |
+
msgstr ""
|
1588 |
+
|
1589 |
+
#: widgets/events.php:64
|
1590 |
+
msgid "Number of events"
|
1591 |
+
msgstr ""
|
1592 |
+
|
1593 |
+
#: widgets/events.php:68
|
1594 |
+
msgid "Scope of the events"
|
1595 |
+
msgstr ""
|
1596 |
+
|
1597 |
+
#: widgets/events.php:76
|
1598 |
+
msgid "Order of the events"
|
1599 |
+
msgstr ""
|
1600 |
+
|
1601 |
+
#: widgets/events.php:78 widgets/locations.php:78
|
1602 |
+
msgid "Ascendant"
|
1603 |
+
msgstr ""
|
1604 |
+
|
1605 |
+
#: widgets/events.php:79 widgets/locations.php:79
|
1606 |
+
msgid "Descendant"
|
1607 |
+
msgstr ""
|
1608 |
+
|
1609 |
+
#: widgets/events.php:83 widgets/locations.php:83
|
1610 |
+
msgid "List item format"
|
1611 |
+
msgstr ""
|
1612 |
+
|
1613 |
+
#: widgets/locations.php:9
|
1614 |
+
msgid "Display a list of event locations on Events Manager."
|
1615 |
+
msgstr ""
|
1616 |
+
|
1617 |
+
#: widgets/locations.php:31
|
1618 |
+
msgid "No locations"
|
1619 |
+
msgstr ""
|
1620 |
+
|
1621 |
+
#: widgets/locations.php:42
|
1622 |
+
msgid "Event Locations"
|
1623 |
+
msgstr ""
|
1624 |
+
|
1625 |
+
#: widgets/locations.php:64
|
1626 |
+
msgid "Show number of locations"
|
1627 |
+
msgstr ""
|
1628 |
+
|
1629 |
+
#: widgets/locations.php:68
|
1630 |
+
msgid "Scope of the locations"
|
1631 |
+
msgstr ""
|
1632 |
+
|
1633 |
+
#: widgets/locations.php:70
|
1634 |
+
msgid "Locations with upcoming events"
|
1635 |
+
msgstr ""
|
1636 |
+
|
1637 |
+
#: widgets/locations.php:71
|
1638 |
+
msgid "All locations"
|
1639 |
+
msgstr ""
|
1640 |
+
|
1641 |
+
#: widgets/locations.php:72
|
1642 |
+
msgid "Locations with past events "
|
1643 |
+
msgstr ""
|
1644 |
+
|
1645 |
+
#: widgets/locations.php:76
|
1646 |
+
msgid "Order of the locations"
|
1647 |
+
msgstr ""
|
1648 |
+
|
1649 |
+
#. Plugin URI of the plugin/theme
|
1650 |
+
msgid "http://davidebenini.it/wordpress-plugins/events-manager/"
|
1651 |
+
msgstr ""
|
1652 |
+
|
1653 |
+
#. Description of the plugin/theme
|
1654 |
+
msgid ""
|
1655 |
+
"Manage events specifying precise spatial data (Location, Town, Province, "
|
1656 |
+
"etc)."
|
1657 |
+
msgstr ""
|
1658 |
+
|
1659 |
+
#. Author of the plugin/theme
|
1660 |
+
msgid "Davide Benini, Marcus Sykes"
|
1661 |
+
msgstr ""
|
1662 |
+
|
1663 |
+
#. Author URI of the plugin/theme
|
1664 |
+
msgid "http://www.davidebenini.it/blog"
|
1665 |
+
msgstr ""
|
install.php
CHANGED
@@ -1,6 +1,16 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
function em_install() {
|
3 |
-
|
|
|
4 |
// Creates the events table if necessary
|
5 |
em_create_events_table();
|
6 |
em_create_locations_table();
|
@@ -10,7 +20,6 @@ function em_install() {
|
|
10 |
em_add_options();
|
11 |
|
12 |
//Migrate?
|
13 |
-
$old_version = get_option('dbem_version');
|
14 |
if( $old_version < 2.3 && $old_version != '' ){
|
15 |
em_migrate_to_new_tables();
|
16 |
em_import_verify();
|
@@ -19,8 +28,8 @@ function em_install() {
|
|
19 |
update_option('dbem_version', EM_VERSION);
|
20 |
|
21 |
// wp-content must be chmodded 777. Maybe just wp-content.
|
22 |
-
if(!file_exists("../".
|
23 |
-
mkdir("../".
|
24 |
|
25 |
em_create_events_page();
|
26 |
}
|
@@ -31,7 +40,7 @@ function em_create_events_table() {
|
|
31 |
get_currentuserinfo();
|
32 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
33 |
|
34 |
-
$table_name = $wpdb->prefix.
|
35 |
$sql = "CREATE TABLE ".$table_name." (
|
36 |
event_id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
37 |
event_author bigint(20) unsigned DEFAULT NULL,
|
@@ -56,7 +65,7 @@ function em_create_events_table() {
|
|
56 |
UNIQUE KEY (event_id)
|
57 |
) DEFAULT CHARSET=utf8 ;";
|
58 |
|
59 |
-
$old_table_name = $wpdb->prefix.
|
60 |
|
61 |
if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name && $wpdb->get_var("SHOW TABLES LIKE '$old_table_name'") != $old_table_name) {
|
62 |
dbDelta($sql);
|
@@ -76,7 +85,7 @@ function em_create_events_table() {
|
|
76 |
function em_create_locations_table() {
|
77 |
|
78 |
global $wpdb, $user_level;
|
79 |
-
$table_name = $wpdb->prefix.
|
80 |
|
81 |
// Creating the events table
|
82 |
$sql = "CREATE TABLE ".$table_name." (
|
@@ -93,7 +102,7 @@ function em_create_locations_table() {
|
|
93 |
|
94 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
95 |
|
96 |
-
$old_table_name = $wpdb->prefix.
|
97 |
|
98 |
if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name && $wpdb->get_var("SHOW TABLES LIKE '$old_table_name'") != $old_table_name) {
|
99 |
dbDelta($sql);
|
@@ -109,7 +118,7 @@ function em_create_locations_table() {
|
|
109 |
function em_create_bookings_table() {
|
110 |
|
111 |
global $wpdb, $user_level;
|
112 |
-
$table_name = $wpdb->prefix.
|
113 |
|
114 |
$sql = "CREATE TABLE ".$table_name." (
|
115 |
booking_id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
@@ -127,7 +136,7 @@ function em_create_bookings_table() {
|
|
127 |
function em_create_people_table() {
|
128 |
|
129 |
global $wpdb, $user_level;
|
130 |
-
$table_name = $wpdb->prefix.
|
131 |
|
132 |
$sql = "CREATE TABLE ".$table_name." (
|
133 |
person_id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
@@ -144,7 +153,7 @@ function em_create_people_table() {
|
|
144 |
function em_create_categories_table() {
|
145 |
|
146 |
global $wpdb, $user_level;
|
147 |
-
$table_name = $wpdb->prefix.
|
148 |
|
149 |
// Creating the events table
|
150 |
$sql = "CREATE TABLE ".$table_name." (
|
@@ -154,7 +163,7 @@ function em_create_categories_table() {
|
|
154 |
) DEFAULT CHARSET=utf8 ;";
|
155 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
156 |
|
157 |
-
$old_table_name = $wpdb->prefix.
|
158 |
|
159 |
if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name && $wpdb->get_var("SHOW TABLES LIKE '$old_table_name'") != $old_table_name) {
|
160 |
dbDelta($sql);
|
@@ -169,47 +178,51 @@ function em_add_options() {
|
|
169 |
$contact_person_email_body_localizable = __("#_RESPNAME (#_RESPEMAIL) will attend #_NAME on #m #d, #Y. He wants to reserve #_SPACES spaces.<br/> Now there are #_RESERVEDSPACES spaces reserved, #_AVAILABLESPACES are still available.<br/>Yours faithfully,<br/>Events Manager",'dbem') ;
|
170 |
$respondent_email_body_localizable = __("Dear #_RESPNAME, <br/>you have successfully reserved #_SPACES space/spaces for #_NAME.<br/>Yours faithfully,<br/> #_CONTACTPERSON",'dbem');
|
171 |
|
172 |
-
$dbem_options = array(
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
|
|
|
|
|
|
|
|
213 |
|
214 |
foreach($dbem_options as $key => $value){
|
215 |
add_option($key, $value);
|
@@ -226,7 +239,7 @@ function em_create_events_page(){
|
|
226 |
'ping_status' => get_option('default_ping_status'),
|
227 |
'post_content' => 'CONTENTS',
|
228 |
'post_excerpt' => 'CONTENTS',
|
229 |
-
'post_title' =>
|
230 |
);
|
231 |
$post_id = wp_insert_post($post_data, false);
|
232 |
if( $post_id > 0 ){
|
@@ -242,7 +255,7 @@ function em_migrate_to_new_tables(){
|
|
242 |
$errors = array();
|
243 |
// migrating events
|
244 |
$events_required = array('event_id', 'event_name','event_start_time','event_end_time','event_start_date','event_rsvp','location_id','recurrence');
|
245 |
-
$events = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.
|
246 |
$event_fields = array('event_id','event_author','event_name','event_start_time','event_end_time','event_start_date','event_end_date','event_notes','event_rsvp','event_seats','event_contactperson_id','location_id','recurrence_id','event_category_id','event_attributes');
|
247 |
if( count($events) > 0 ){
|
248 |
$events_values = array();
|
@@ -260,7 +273,7 @@ function em_migrate_to_new_tables(){
|
|
260 |
}
|
261 |
$events_keys = array_keys($event);
|
262 |
if( count($events_values) > 0 ){
|
263 |
-
$events_sql = "INSERT INTO " . $wpdb->prefix.
|
264 |
"(`" . implode('` ,`', $events_keys) . "`) VALUES".
|
265 |
implode(', ', $events_values);
|
266 |
$wpdb->query($events_sql);
|
@@ -271,8 +284,8 @@ function em_migrate_to_new_tables(){
|
|
271 |
}
|
272 |
|
273 |
// inserting recurrences into events
|
274 |
-
$table_name = $wpdb->prefix.
|
275 |
-
$results = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.
|
276 |
if( count($results) > 0 ){
|
277 |
foreach($results as $recurrence_raw){
|
278 |
//Save copy of recurrence_id
|
@@ -306,7 +319,7 @@ function em_migrate_to_new_tables(){
|
|
306 |
|
307 |
// migrating locations
|
308 |
$locations_required = array('location_id', 'location_name', 'location_address', 'location_town');
|
309 |
-
$locations = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.
|
310 |
$location_fields = array('location_id','location_name','location_address','location_town','location_province','location_latitude','location_longitude','location_description');
|
311 |
if( count($locations) > 0 ){
|
312 |
$locations_values = array();
|
@@ -324,7 +337,7 @@ function em_migrate_to_new_tables(){
|
|
324 |
}
|
325 |
$locations_keys = array_keys($location);
|
326 |
if( count($locations_values) > 0 ){
|
327 |
-
$locations_sql = "INSERT INTO " . $wpdb->prefix.
|
328 |
"(`" . implode('` ,`', $locations_keys) . "`) VALUES".
|
329 |
implode(', ', $locations_values);
|
330 |
$wpdb->query($locations_sql);
|
@@ -332,7 +345,7 @@ function em_migrate_to_new_tables(){
|
|
332 |
}
|
333 |
|
334 |
// migrating people
|
335 |
-
$people = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.
|
336 |
if( count($people) > 0 ){
|
337 |
$people_values = array();
|
338 |
$people_fields = array('person_id', 'person_name', 'person_email', 'person_phone');
|
@@ -348,7 +361,7 @@ function em_migrate_to_new_tables(){
|
|
348 |
}
|
349 |
$people_keys = array_keys($person);
|
350 |
if( count($people_values) > 0 ){
|
351 |
-
$people_sql = "INSERT INTO " . $wpdb->prefix.
|
352 |
"(`" . implode('` ,`', $people_keys) . "`) VALUES".
|
353 |
implode(', ', $people_values);
|
354 |
$wpdb->query($people_sql);
|
@@ -356,7 +369,7 @@ function em_migrate_to_new_tables(){
|
|
356 |
}
|
357 |
|
358 |
// migrating bookings
|
359 |
-
$bookings = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.
|
360 |
if( count($bookings) > 0 ){
|
361 |
$bookings_values = array();
|
362 |
$booking_fields = array('booking_id', 'event_id', 'person_id', 'booking_seats', 'booking_comment');
|
@@ -374,14 +387,14 @@ function em_migrate_to_new_tables(){
|
|
374 |
}
|
375 |
$bookings_keys = array_keys($booking);
|
376 |
if( count($bookings_values) > 0 ){
|
377 |
-
$bookings_sql = "INSERT INTO " . $wpdb->prefix.
|
378 |
"(`" . implode('` ,`', $bookings_keys) . "`) VALUES".
|
379 |
implode(', ', $bookings_values);
|
380 |
$wpdb->query($bookings_sql);
|
381 |
}
|
382 |
|
383 |
// migrating categories
|
384 |
-
$categories = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.
|
385 |
$categories_fields = array('category_id', 'category_name');
|
386 |
foreach($categories as $category) {
|
387 |
foreach($category as $key => $val){
|
@@ -389,7 +402,7 @@ function em_migrate_to_new_tables(){
|
|
389 |
unset($category[$key]);
|
390 |
}
|
391 |
}
|
392 |
-
$wpdb->insert($wpdb->prefix.
|
393 |
}
|
394 |
}
|
395 |
|
@@ -413,11 +426,11 @@ function em_reimport(){
|
|
413 |
if($_GET['em_reimport'] == 1 ){
|
414 |
check_admin_referer( 'em_reimport' );
|
415 |
$p = $wpdb->prefix;
|
416 |
-
$table_bookings = $p.
|
417 |
-
$table_categories = $p.
|
418 |
-
$table_events = $p.
|
419 |
-
$table_locations = $p.
|
420 |
-
$table_people = $p.
|
421 |
$wpdb->query('DROP TABLE '.$table_bookings.', '.$table_categories.', '.$table_events.', '.$table_locations.', '.$table_people.';');
|
422 |
update_option('dbem_version','2');
|
423 |
em_install();
|
@@ -433,17 +446,17 @@ function em_import_verify(){
|
|
433 |
global $wpdb;
|
434 |
$p = $wpdb->prefix;
|
435 |
//Now go through each table and compare row counts, if all match (events is old recurrences + events, then we're fine
|
436 |
-
$results[] = ( $wpdb->get_var("SELECT COUNT(*) FROM ".$p.
|
437 |
-
$results[] = ( $wpdb->get_var("SELECT COUNT(*) FROM ".$p.
|
438 |
-
$results[] = ( $wpdb->get_var("SELECT COUNT(*) FROM ".$p.
|
439 |
-
$results[] = ( $wpdb->get_var("SELECT COUNT(*) FROM ".$p.
|
440 |
-
$results[] = ( $wpdb->get_var("SELECT COUNT(*) FROM ".$p.
|
441 |
/* Debugging
|
442 |
-
echo "BOOKINGS : " . $wpdb->get_var("SELECT COUNT(*) FROM ".$p.
|
443 |
-
echo "<br/>CATEGORIES : ". $wpdb->get_var("SELECT COUNT(*) FROM ".$p.
|
444 |
-
echo "<br/>EVENTS : ". $wpdb->get_var("SELECT COUNT(*) FROM ".$p.
|
445 |
-
echo "<br/>LOCATIONS : ". $wpdb->get_var("SELECT COUNT(*) FROM ".$p.
|
446 |
-
echo "<br/>PEOPLE : ". $wpdb->get_var("SELECT COUNT(*) FROM ".$p.
|
447 |
*/
|
448 |
if( in_array(false, $results) ){
|
449 |
update_option( 'dbem_import_fail', 1 );
|
1 |
<?php
|
2 |
+
// obsolete tables
|
3 |
+
define('EM_OLD_EVENTS_TABLE','dbem_events') ;
|
4 |
+
define('EM_OLD_RECURRENCE_TABLE','dbem_recurrence'); //TABLE NAME
|
5 |
+
define('EM_OLD_LOCATIONS_TABLE','dbem_locations'); //TABLE NAME
|
6 |
+
define('EM_OLD_BOOKINGS_TABLE','dbem_bookings'); //TABLE NAME
|
7 |
+
define('EM_OLD_PEOPLE_TABLE','dbem_people'); //TABLE NAME
|
8 |
+
define('EM_OLD_BOOKING_PEOPLE_TABLE','dbem_bookings_people'); //TABLE NAME
|
9 |
+
define('EM_OLD_CATEGORIES_TABLE', 'dbem_categories'); //TABLE NAME
|
10 |
+
|
11 |
function em_install() {
|
12 |
+
$old_version = get_option('dbem_version');
|
13 |
+
if( EM_VERSION > $old_version || $old_version == '' ){
|
14 |
// Creates the events table if necessary
|
15 |
em_create_events_table();
|
16 |
em_create_locations_table();
|
20 |
em_add_options();
|
21 |
|
22 |
//Migrate?
|
|
|
23 |
if( $old_version < 2.3 && $old_version != '' ){
|
24 |
em_migrate_to_new_tables();
|
25 |
em_import_verify();
|
28 |
update_option('dbem_version', EM_VERSION);
|
29 |
|
30 |
// wp-content must be chmodded 777. Maybe just wp-content.
|
31 |
+
if(!file_exists("../".EM_IMAGE_UPLOAD_DIR))
|
32 |
+
mkdir("../".EM_IMAGE_UPLOAD_DIR, 0777); //do we need to 777 it? it'll be owner apache anyway, like normal uploads
|
33 |
|
34 |
em_create_events_page();
|
35 |
}
|
40 |
get_currentuserinfo();
|
41 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
42 |
|
43 |
+
$table_name = $wpdb->prefix.EM_EVENTS_TABLE;
|
44 |
$sql = "CREATE TABLE ".$table_name." (
|
45 |
event_id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
46 |
event_author bigint(20) unsigned DEFAULT NULL,
|
65 |
UNIQUE KEY (event_id)
|
66 |
) DEFAULT CHARSET=utf8 ;";
|
67 |
|
68 |
+
$old_table_name = $wpdb->prefix.EM_OLD_EVENTS_TABLE;
|
69 |
|
70 |
if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name && $wpdb->get_var("SHOW TABLES LIKE '$old_table_name'") != $old_table_name) {
|
71 |
dbDelta($sql);
|
85 |
function em_create_locations_table() {
|
86 |
|
87 |
global $wpdb, $user_level;
|
88 |
+
$table_name = $wpdb->prefix.EM_LOCATIONS_TABLE;
|
89 |
|
90 |
// Creating the events table
|
91 |
$sql = "CREATE TABLE ".$table_name." (
|
102 |
|
103 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
104 |
|
105 |
+
$old_table_name = $wpdb->prefix.EM_OLD_LOCATIONS_TABLE;
|
106 |
|
107 |
if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name && $wpdb->get_var("SHOW TABLES LIKE '$old_table_name'") != $old_table_name) {
|
108 |
dbDelta($sql);
|
118 |
function em_create_bookings_table() {
|
119 |
|
120 |
global $wpdb, $user_level;
|
121 |
+
$table_name = $wpdb->prefix.EM_BOOKINGS_TABLE;
|
122 |
|
123 |
$sql = "CREATE TABLE ".$table_name." (
|
124 |
booking_id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
136 |
function em_create_people_table() {
|
137 |
|
138 |
global $wpdb, $user_level;
|
139 |
+
$table_name = $wpdb->prefix.EM_PEOPLE_TABLE;
|
140 |
|
141 |
$sql = "CREATE TABLE ".$table_name." (
|
142 |
person_id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
153 |
function em_create_categories_table() {
|
154 |
|
155 |
global $wpdb, $user_level;
|
156 |
+
$table_name = $wpdb->prefix.EM_CATEGORIES_TABLE;
|
157 |
|
158 |
// Creating the events table
|
159 |
$sql = "CREATE TABLE ".$table_name." (
|
163 |
) DEFAULT CHARSET=utf8 ;";
|
164 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
165 |
|
166 |
+
$old_table_name = $wpdb->prefix.EM_OLD_CATEGORIES_TABLE;
|
167 |
|
168 |
if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name && $wpdb->get_var("SHOW TABLES LIKE '$old_table_name'") != $old_table_name) {
|
169 |
dbDelta($sql);
|
178 |
$contact_person_email_body_localizable = __("#_RESPNAME (#_RESPEMAIL) will attend #_NAME on #m #d, #Y. He wants to reserve #_SPACES spaces.<br/> Now there are #_RESERVEDSPACES spaces reserved, #_AVAILABLESPACES are still available.<br/>Yours faithfully,<br/>Events Manager",'dbem') ;
|
179 |
$respondent_email_body_localizable = __("Dear #_RESPNAME, <br/>you have successfully reserved #_SPACES space/spaces for #_NAME.<br/>Yours faithfully,<br/> #_CONTACTPERSON",'dbem');
|
180 |
|
181 |
+
$dbem_options = array(
|
182 |
+
'dbem_event_list_item_format' => '<li>#j #M #Y - #H:#i<br/> #_LINKEDNAME<br/>#_TOWN </li>',
|
183 |
+
'dbem_display_calendar_in_events_page' => 0,
|
184 |
+
'dbem_single_event_format' => '<h3>#_NAME</h3><p>#j #M #Y - #H:#i</p><p>#_TOWN</p>',
|
185 |
+
'dbem_event_page_title_format' => '#_NAME',
|
186 |
+
'dbem_list_events_page' => 1,
|
187 |
+
'dbem_events_page_title' => __('Events','dbem'),
|
188 |
+
'dbem_no_events_message' => __('No events','dbem'),
|
189 |
+
'dbem_location_page_title_format' => '#_NAME',
|
190 |
+
'dbem_location_baloon_format' => "<strong>#_NAME</strong><br/>#_ADDRESS - #_TOWN<br/><a href='#_LOCATIONPAGEURL'>Details</a>",
|
191 |
+
'dbem_location_event_list_item_format' => "<li>#_NAME - #j #M #Y - #H:#i</li>",
|
192 |
+
'dbem_location_list_item_format' => '#_LOCATIONLINK<ul><li>#_ADDRESS</li><li>#_TOWN</li></ul>',
|
193 |
+
'dbem_location_no_events_message' => __('<li>No events in this location</li>', 'dbem'),
|
194 |
+
'dbem_single_location_format' => '<p>#_ADDRESS</p><p>#_TOWN</p>',
|
195 |
+
'dbem_map_text_format' => '<strong>#_LOCATION</strong><p>#_ADDRESS</p><p>#_TOWN</p>',
|
196 |
+
'dbem_rss_main_title' => get_bloginfo('title')." - ".__('Events'),
|
197 |
+
'dbem_rss_main_description' => get_bloginfo('description')." - ".__('Events'),
|
198 |
+
'dbem_rss_description_format' => "#j #M #y - #H:#i <br/>#_LOCATION <br/>#_ADDRESS <br/>#_TOWN",
|
199 |
+
'dbem_rss_title_format' => "#_NAME",
|
200 |
+
'dbem_gmap_is_active'=> 1,
|
201 |
+
'dbem_default_contact_person' => 1,
|
202 |
+
'dbem_rsvp_mail_notify_is_active' => 0 ,
|
203 |
+
'dbem_contactperson_email_body' => __(str_replace("<br/>", "\n\r", $contact_person_email_body_localizable)),
|
204 |
+
'dbem_respondent_email_body' => __(str_replace("<br/>", "\n\r", $respondent_email_body_localizable)),
|
205 |
+
'dbem_rsvp_mail_port' => 465,
|
206 |
+
'dbem_smtp_host' => 'localhost',
|
207 |
+
'dbem_mail_sender_name' => '',
|
208 |
+
'dbem_rsvp_mail_send_method' => 'smtp',
|
209 |
+
'dbem_rsvp_mail_SMTPAuth' => 1,
|
210 |
+
'dbem_image_max_width' => 700,
|
211 |
+
'dbem_image_max_height' => 700,
|
212 |
+
'dbem_image_max_size' => 204800,
|
213 |
+
'dbem_list_date_title' => __('Events', 'dbem').' - #j #M #y',
|
214 |
+
'dbem_full_calendar_event_format' => '<li>#_LINKEDNAME</li>',
|
215 |
+
'dbem_small_calendar_event_title_format' => "#_NAME",
|
216 |
+
'dbem_small_calendar_event_title_separator' => ", ",
|
217 |
+
'dbem_hello_to_user' => 1,
|
218 |
+
'dbem_use_select_for_locations' => false,
|
219 |
+
'dbem_attributes_enabled' => true,
|
220 |
+
'dbem_recurrence_enabled'=> true,
|
221 |
+
'dbem_rsvp_enabled'=> true,
|
222 |
+
'dbem_categories_enabled'=> true,
|
223 |
+
'dbem_disable_title_rewrites'=> false,
|
224 |
+
'dbem_title_html' => '<h2>#_PAGETITLE</h2>'
|
225 |
+
);
|
226 |
|
227 |
foreach($dbem_options as $key => $value){
|
228 |
add_option($key, $value);
|
239 |
'ping_status' => get_option('default_ping_status'),
|
240 |
'post_content' => 'CONTENTS',
|
241 |
'post_excerpt' => 'CONTENTS',
|
242 |
+
'post_title' => __('Events','dbem')
|
243 |
);
|
244 |
$post_id = wp_insert_post($post_data, false);
|
245 |
if( $post_id > 0 ){
|
255 |
$errors = array();
|
256 |
// migrating events
|
257 |
$events_required = array('event_id', 'event_name','event_start_time','event_end_time','event_start_date','event_rsvp','location_id','recurrence');
|
258 |
+
$events = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.EM_OLD_EVENTS_TABLE,ARRAY_A) ;
|
259 |
$event_fields = array('event_id','event_author','event_name','event_start_time','event_end_time','event_start_date','event_end_date','event_notes','event_rsvp','event_seats','event_contactperson_id','location_id','recurrence_id','event_category_id','event_attributes');
|
260 |
if( count($events) > 0 ){
|
261 |
$events_values = array();
|
273 |
}
|
274 |
$events_keys = array_keys($event);
|
275 |
if( count($events_values) > 0 ){
|
276 |
+
$events_sql = "INSERT INTO " . $wpdb->prefix.EM_EVENTS_TABLE .
|
277 |
"(`" . implode('` ,`', $events_keys) . "`) VALUES".
|
278 |
implode(', ', $events_values);
|
279 |
$wpdb->query($events_sql);
|
284 |
}
|
285 |
|
286 |
// inserting recurrences into events
|
287 |
+
$table_name = $wpdb->prefix.EM_EVENTS_TABLE;
|
288 |
+
$results = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.EM_RECURRENCE_TABLE, ARRAY_A);
|
289 |
if( count($results) > 0 ){
|
290 |
foreach($results as $recurrence_raw){
|
291 |
//Save copy of recurrence_id
|
319 |
|
320 |
// migrating locations
|
321 |
$locations_required = array('location_id', 'location_name', 'location_address', 'location_town');
|
322 |
+
$locations = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.EM_OLD_LOCATIONS_TABLE,ARRAY_A) ;
|
323 |
$location_fields = array('location_id','location_name','location_address','location_town','location_province','location_latitude','location_longitude','location_description');
|
324 |
if( count($locations) > 0 ){
|
325 |
$locations_values = array();
|
337 |
}
|
338 |
$locations_keys = array_keys($location);
|
339 |
if( count($locations_values) > 0 ){
|
340 |
+
$locations_sql = "INSERT INTO " . $wpdb->prefix.EM_LOCATIONS_TABLE .
|
341 |
"(`" . implode('` ,`', $locations_keys) . "`) VALUES".
|
342 |
implode(', ', $locations_values);
|
343 |
$wpdb->query($locations_sql);
|
345 |
}
|
346 |
|
347 |
// migrating people
|
348 |
+
$people = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.EM_OLD_PEOPLE_TABLE,ARRAY_A) ;
|
349 |
if( count($people) > 0 ){
|
350 |
$people_values = array();
|
351 |
$people_fields = array('person_id', 'person_name', 'person_email', 'person_phone');
|
361 |
}
|
362 |
$people_keys = array_keys($person);
|
363 |
if( count($people_values) > 0 ){
|
364 |
+
$people_sql = "INSERT INTO " . $wpdb->prefix.EM_PEOPLE_TABLE .
|
365 |
"(`" . implode('` ,`', $people_keys) . "`) VALUES".
|
366 |
implode(', ', $people_values);
|
367 |
$wpdb->query($people_sql);
|
369 |
}
|
370 |
|
371 |
// migrating bookings
|
372 |
+
$bookings = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.EM_OLD_BOOKINGS_TABLE,ARRAY_A) ;
|
373 |
if( count($bookings) > 0 ){
|
374 |
$bookings_values = array();
|
375 |
$booking_fields = array('booking_id', 'event_id', 'person_id', 'booking_seats', 'booking_comment');
|
387 |
}
|
388 |
$bookings_keys = array_keys($booking);
|
389 |
if( count($bookings_values) > 0 ){
|
390 |
+
$bookings_sql = "INSERT INTO " . $wpdb->prefix.EM_BOOKINGS_TABLE .
|
391 |
"(`" . implode('` ,`', $bookings_keys) . "`) VALUES".
|
392 |
implode(', ', $bookings_values);
|
393 |
$wpdb->query($bookings_sql);
|
394 |
}
|
395 |
|
396 |
// migrating categories
|
397 |
+
$categories = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.EM_OLD_CATEGORIES_TABLE,ARRAY_A) ;
|
398 |
$categories_fields = array('category_id', 'category_name');
|
399 |
foreach($categories as $category) {
|
400 |
foreach($category as $key => $val){
|
402 |
unset($category[$key]);
|
403 |
}
|
404 |
}
|
405 |
+
$wpdb->insert($wpdb->prefix.EM_CATEGORIES_TABLE, $category);
|
406 |
}
|
407 |
}
|
408 |
|
426 |
if($_GET['em_reimport'] == 1 ){
|
427 |
check_admin_referer( 'em_reimport' );
|
428 |
$p = $wpdb->prefix;
|
429 |
+
$table_bookings = $p.EM_BOOKINGS_TABLE;
|
430 |
+
$table_categories = $p.EM_CATEGORIES_TABLE;
|
431 |
+
$table_events = $p.EM_EVENTS_TABLE;
|
432 |
+
$table_locations = $p.EM_LOCATIONS_TABLE;
|
433 |
+
$table_people = $p.EM_PEOPLE_TABLE;
|
434 |
$wpdb->query('DROP TABLE '.$table_bookings.', '.$table_categories.', '.$table_events.', '.$table_locations.', '.$table_people.';');
|
435 |
update_option('dbem_version','2');
|
436 |
em_install();
|
446 |
global $wpdb;
|
447 |
$p = $wpdb->prefix;
|
448 |
//Now go through each table and compare row counts, if all match (events is old recurrences + events, then we're fine
|
449 |
+
$results[] = ( $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_BOOKINGS_TABLE.";") == $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_BOOKINGS_TABLE.";") );
|
450 |
+
$results[] = ( $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_CATEGORIES_TABLE.";") ."==". $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_CATEGORIES_TABLE.";") );
|
451 |
+
$results[] = ( $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_EVENTS_TABLE.";") == $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_EVENTS_TABLE.";") + $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_RECURRENCE_TABLE.";") );
|
452 |
+
$results[] = ( $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_LOCATIONS_TABLE.";") == $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_LOCATIONS_TABLE.";") );
|
453 |
+
$results[] = ( $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_PEOPLE_TABLE.";") == $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_PEOPLE_TABLE.";") );
|
454 |
/* Debugging
|
455 |
+
echo "BOOKINGS : " . $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_BOOKINGS_TABLE.";") ."==". $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_BOOKINGS_TABLE);
|
456 |
+
echo "<br/>CATEGORIES : ". $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_CATEGORIES_TABLE.";") == $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_CATEGORIES_TABLE.";");
|
457 |
+
echo "<br/>EVENTS : ". $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_EVENTS_TABLE.";") .'=='. $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_EVENTS_TABLE.";") .'+'. $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_RECURRENCE_TABLE.";");
|
458 |
+
echo "<br/>LOCATIONS : ". $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_LOCATIONS_TABLE.";") .'=='. $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_LOCATIONS_TABLE.";");
|
459 |
+
echo "<br/>PEOPLE : ". $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_PEOPLE_TABLE.";") .'=='. $wpdb->get_var("SELECT COUNT(*) FROM ".$p.EM_OLD_PEOPLE_TABLE.";");
|
460 |
*/
|
461 |
if( in_array(false, $results) ){
|
462 |
update_option( 'dbem_import_fail', 1 );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://davidebenini.it
|
|
4 |
Tags: events, manager, calendar, gigs, concert, maps, geotagging, rsvp
|
5 |
Requires at least: 2.9
|
6 |
Tested up to: 3.0.1
|
7 |
-
Stable tag: 3.0.
|
8 |
|
9 |
Manage events and display them in your blog. Includes recurring events, location management, calendar, Google map integration, RSVP.
|
10 |
|
@@ -108,13 +108,17 @@ At this stage, Events Manager is only available in English and Italian. Yet, the
|
|
108 |
2. The events management page.
|
109 |
3. The Events Manager Options page.
|
110 |
|
111 |
-
== Upgrade Notice ==
|
112 |
-
|
113 |
-
= 3.0.3 =
|
114 |
-
This fixes some recurrence issues along with most other bugs we've been made aware of.
|
115 |
-
|
116 |
== Change Log ==
|
117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
= 3.0.3 =
|
119 |
* RSS Showing up again
|
120 |
* Fixed some reported fatal errors
|
4 |
Tags: events, manager, calendar, gigs, concert, maps, geotagging, rsvp
|
5 |
Requires at least: 2.9
|
6 |
Tested up to: 3.0.1
|
7 |
+
Stable tag: 3.0.4
|
8 |
|
9 |
Manage events and display them in your blog. Includes recurring events, location management, calendar, Google map integration, RSVP.
|
10 |
|
108 |
2. The events management page.
|
109 |
3. The Events Manager Options page.
|
110 |
|
|
|
|
|
|
|
|
|
|
|
111 |
== Change Log ==
|
112 |
|
113 |
+
= 3.0.4 =
|
114 |
+
* Title rewriting workaround for themes where main menus are broken on events pages
|
115 |
+
* Added option to show lists on calendar days regardless of whether there is only one event on that day.
|
116 |
+
* added spanish translation
|
117 |
+
* fixed rsvp deletion issue
|
118 |
+
* fixed potential phpmailer conflicts
|
119 |
+
* CSS issue with maps fixed
|
120 |
+
* optimized placeholders, adding new standard placeholders
|
121 |
+
|
122 |
= 3.0.3 =
|
123 |
* RSS Showing up again
|
124 |
* Fixed some reported fatal errors
|
template-tags-depreciated.php
CHANGED
@@ -17,6 +17,12 @@
|
|
17 |
* @return unknown_type
|
18 |
*/
|
19 |
function dbem_get_events_list($limit = "10", $scope = "future", $order = "ASC", $format = '', $echo = 1, $category = '') {
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
$return = EM_Events::output(array('limit'=>$limit, 'scope'=>$scope, 'order'=>$order, 'format'=>$format, 'category'=>$category));
|
21 |
if( $echo ) echo $return;
|
22 |
return $return;
|
@@ -33,7 +39,6 @@ function dbem_get_events_page($justurl = 0, $echo = 1, $text = '') {
|
|
33 |
if (strpos ( $justurl, "=" )) {
|
34 |
// allows the use of arguments without breaking the legacy code
|
35 |
$defaults = array ('justurl' => 0, 'text' => '', 'echo' => 1 );
|
36 |
-
|
37 |
$r = wp_parse_args ( $justurl, $defaults );
|
38 |
extract ( $r, EXTR_SKIP );
|
39 |
$justurl = $r ['justurl'];
|
17 |
* @return unknown_type
|
18 |
*/
|
19 |
function dbem_get_events_list($limit = "10", $scope = "future", $order = "ASC", $format = '', $echo = 1, $category = '') {
|
20 |
+
if (strpos ( $limit, "=" )) {
|
21 |
+
// allows the use of arguments without breaking the legacy code
|
22 |
+
$defaults = EM_Events::get_default_search();
|
23 |
+
$r = wp_parse_args ( $limit, $defaults );
|
24 |
+
extract ( $r, EXTR_SKIP );
|
25 |
+
}
|
26 |
$return = EM_Events::output(array('limit'=>$limit, 'scope'=>$scope, 'order'=>$order, 'format'=>$format, 'category'=>$category));
|
27 |
if( $echo ) echo $return;
|
28 |
return $return;
|
39 |
if (strpos ( $justurl, "=" )) {
|
40 |
// allows the use of arguments without breaking the legacy code
|
41 |
$defaults = array ('justurl' => 0, 'text' => '', 'echo' => 1 );
|
|
|
42 |
$r = wp_parse_args ( $justurl, $defaults );
|
43 |
extract ( $r, EXTR_SKIP );
|
44 |
$justurl = $r ['justurl'];
|
widgets/events.php
CHANGED
@@ -19,16 +19,17 @@ class EM_Widget extends WP_Widget {
|
|
19 |
|
20 |
$events = EM_Events::get($instance);
|
21 |
echo "<ul>";
|
|
|
22 |
if ( count($events) > 0 ){
|
23 |
foreach($events as $event){
|
24 |
-
if(
|
25 |
echo '<li>'. $event->output($instance['format']) .'</li>';
|
26 |
}else{
|
27 |
echo $event->output($instance['format']);
|
28 |
}
|
29 |
}
|
30 |
}else{
|
31 |
-
echo '<li>'.
|
32 |
}
|
33 |
echo "</ul>";
|
34 |
|
@@ -43,7 +44,8 @@ class EM_Widget extends WP_Widget {
|
|
43 |
'scope' => 'future',
|
44 |
'order' => 'ASC',
|
45 |
'limit' => 5,
|
46 |
-
'format' =>
|
|
|
47 |
);
|
48 |
foreach($defaults as $key => $value){
|
49 |
if($new_instance[$key] == ''){
|
19 |
|
20 |
$events = EM_Events::get($instance);
|
21 |
echo "<ul>";
|
22 |
+
$li_wrap = !preg_match('/^<li>/i', trim($instance['format']));
|
23 |
if ( count($events) > 0 ){
|
24 |
foreach($events as $event){
|
25 |
+
if( $li_wrap ){
|
26 |
echo '<li>'. $event->output($instance['format']) .'</li>';
|
27 |
}else{
|
28 |
echo $event->output($instance['format']);
|
29 |
}
|
30 |
}
|
31 |
}else{
|
32 |
+
echo '<li>'.__('No events', 'dbem').'</li>';
|
33 |
}
|
34 |
echo "</ul>";
|
35 |
|
44 |
'scope' => 'future',
|
45 |
'order' => 'ASC',
|
46 |
'limit' => 5,
|
47 |
+
'format' => '#_LINKEDNAME<ul><li>#j #M #y</li><li>#_TOWN</li></ul>',
|
48 |
+
'nolistwrap' => false
|
49 |
);
|
50 |
foreach($defaults as $key => $value){
|
51 |
if($new_instance[$key] == ''){
|
widgets/locations.php
CHANGED
@@ -19,9 +19,10 @@ class EM_Locations_Widget extends WP_Widget {
|
|
19 |
|
20 |
$locations = EM_Locations::get($instance);
|
21 |
echo "<ul>";
|
|
|
22 |
if ( count($locations) > 0 ){
|
23 |
foreach($locations as $location){
|
24 |
-
if(
|
25 |
echo '<li>'. $location->output($instance['format']) .'</li>';
|
26 |
}else{
|
27 |
echo $location->output($instance['format']);
|
@@ -43,7 +44,7 @@ class EM_Locations_Widget extends WP_Widget {
|
|
43 |
'scope' => 'future',
|
44 |
'order' => 'ASC',
|
45 |
'limit' => 5,
|
46 |
-
'format' =>
|
47 |
);
|
48 |
foreach($defaults as $key => $value){
|
49 |
if($new_instance[$key] == ''){
|
19 |
|
20 |
$locations = EM_Locations::get($instance);
|
21 |
echo "<ul>";
|
22 |
+
$li_wrap = !preg_match('/^<li>/i', trim($instance['format']));
|
23 |
if ( count($locations) > 0 ){
|
24 |
foreach($locations as $location){
|
25 |
+
if( $li_wrap ){
|
26 |
echo '<li>'. $location->output($instance['format']) .'</li>';
|
27 |
}else{
|
28 |
echo $location->output($instance['format']);
|
44 |
'scope' => 'future',
|
45 |
'order' => 'ASC',
|
46 |
'limit' => 5,
|
47 |
+
'format' => '#_LOCATIONLINK<ul><li>#_ADDRESS</li><li>#_TOWN</li></ul>'
|
48 |
);
|
49 |
foreach($defaults as $key => $value){
|
50 |
if($new_instance[$key] == ''){
|