WP Events Manager - Version 2.1.6

Version Description

  • Fix update event status
  • Update booking completed status when book free event
  • Add booking mail for admin

=

Download this release

Release Info

Developer leehld
Plugin Icon 128x128 WP Events Manager
Version 2.1.6
Comparing to
See all releases

Code changes from version 2.1.4 to 2.1.6

inc/admin/class-wpems-admin-menu.php CHANGED
@@ -36,8 +36,8 @@ class WPEMS_Admin_Menu {
36
  call_user_func_array( 'add_submenu_page', $menu );
37
  }
38
  }
39
- add_submenu_page( 'tp-event-setting', __( 'TP Event Users', 'wp-events-manager' ), __( 'Users', 'wp-events-manager' ), 'administrator', 'tp-event-users', array( 'WPEMS_Admin_Users', 'output' ) );
40
- add_submenu_page( 'tp-event-setting', __( 'TP Event Settings', 'wp-events-manager' ), __( 'Settings', 'wp-events-manager' ), 'administrator', 'tp-event-setting', array( 'WPEMS_Admin_Settings', 'output' ) );
41
  }
42
 
43
  /**
36
  call_user_func_array( 'add_submenu_page', $menu );
37
  }
38
  }
39
+ add_submenu_page( 'tp-event-setting', __( 'WP Event Users', 'wp-events-manager' ), __( 'Users', 'wp-events-manager' ), 'administrator', 'tp-event-users', array( 'WPEMS_Admin_Users', 'output' ) );
40
+ add_submenu_page( 'tp-event-setting', __( 'WP Event Settings', 'wp-events-manager' ), __( 'Settings', 'wp-events-manager' ), 'administrator', 'tp-event-setting', array( 'WPEMS_Admin_Settings', 'output' ) );
41
  }
42
 
43
  /**
inc/admin/metaboxes/class-wpems-admin-metabox-event.php CHANGED
@@ -1,13 +1,14 @@
1
  <?php
2
- if ( !defined( 'ABSPATH' ) ) {
3
  exit; // Exit if accessed directly
4
  }
5
 
6
  class WPEMS_Admin_Metabox_Event {
7
 
8
  public static function save( $post_id, $posted ) {
9
- if ( empty( $posted ) )
10
  return;
 
11
 
12
  foreach ( $posted as $name => $value ) {
13
  if ( strpos( $name, 'tp_event_' ) !== 0 ) {
@@ -16,14 +17,14 @@ class WPEMS_Admin_Metabox_Event {
16
  update_post_meta( $post_id, $name, $value );
17
  }
18
  // Start
19
- $start = !empty( $_POST['tp_event_date_start'] ) ? sanitize_text_field( $_POST['tp_event_date_start'] ) : '';
20
- $start .= $start && !empty( $_POST['tp_event_time_start'] ) ? ' ' . sanitize_text_field( $_POST['tp_event_time_start'] ) : '';
21
 
22
  // End
23
- $end = !empty( $_POST['tp_event_date_end'] ) ? sanitize_text_field( $_POST['tp_event_date_end'] ) : '';
24
- $end .= $end && !empty( $_POST['tp_event_time_end'] ) ? ' ' . sanitize_text_field( $_POST['tp_event_time_end'] ) : '';
25
 
26
- if ( ( $start && !$end ) || ( strtotime( $start ) >= strtotime( $end ) ) ) {
27
  WPEMS_Admin_Metaboxes::add_error( __( 'Please make sure event time is validate', 'wp-events-manager' ) );
28
  wp_update_post( array( 'ID' => $post_id, 'post_status' => 'publish' ) );
29
  }
@@ -31,27 +32,30 @@ class WPEMS_Admin_Metabox_Event {
31
  $event_start = strtotime( $start );
32
  $event_end = strtotime( $end );
33
 
34
- $time = strtotime( current_time( 'Y-m-d H:i' ) );
35
-
36
  $offset_time = get_option( 'gmt_offset' ) * 60 * 60;
37
 
38
- $status = 'publish';
39
  if ( $event_start && $event_end ) {
40
  if ( $event_start > $time ) {
41
- $status = 'tp-event-upcoming';
42
  } else if ( $event_start <= $time && $time < $event_end ) {
43
- $status = 'tp-event-happenning';
44
  } else if ( $time >= $event_end ) {
45
- $status = 'tp-event-expired';
46
  }
47
 
48
- wp_schedule_single_event( $event_start - $offset_time, 'tp_event_schedule_status', array( $post_id, 'tp-event-happenning' ) );
49
- wp_schedule_single_event( $event_end - $offset_time, 'tp_event_schedule_status', array( $post_id, 'tp-event-expired' ) );
 
 
 
 
 
 
50
  }
51
 
52
- if ( !in_array( get_post_status( $post_id ), array( 'tp-event-upcoming', 'tp-event-happenning', 'tp-event-expired' ) ) ) {
53
- wp_update_post( array( 'ID' => $post_id, 'post_status' => $status ) );
54
- }
55
 
56
  }
57
 
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
  exit; // Exit if accessed directly
4
  }
5
 
6
  class WPEMS_Admin_Metabox_Event {
7
 
8
  public static function save( $post_id, $posted ) {
9
+ if ( empty( $posted ) ) {
10
  return;
11
+ }
12
 
13
  foreach ( $posted as $name => $value ) {
14
  if ( strpos( $name, 'tp_event_' ) !== 0 ) {
17
  update_post_meta( $post_id, $name, $value );
18
  }
19
  // Start
20
+ $start = ! empty( $_POST['tp_event_date_start'] ) ? sanitize_text_field( $_POST['tp_event_date_start'] ) : '';
21
+ $start .= $start && ! empty( $_POST['tp_event_time_start'] ) ? ' ' . sanitize_text_field( $_POST['tp_event_time_start'] ) : '';
22
 
23
  // End
24
+ $end = ! empty( $_POST['tp_event_date_end'] ) ? sanitize_text_field( $_POST['tp_event_date_end'] ) : '';
25
+ $end .= $end && ! empty( $_POST['tp_event_time_end'] ) ? ' ' . sanitize_text_field( $_POST['tp_event_time_end'] ) : '';
26
 
27
+ if ( ( $start && ! $end ) || ( strtotime( $start ) >= strtotime( $end ) ) ) {
28
  WPEMS_Admin_Metaboxes::add_error( __( 'Please make sure event time is validate', 'wp-events-manager' ) );
29
  wp_update_post( array( 'ID' => $post_id, 'post_status' => 'publish' ) );
30
  }
32
  $event_start = strtotime( $start );
33
  $event_end = strtotime( $end );
34
 
35
+ $time = strtotime( current_time( 'Y-m-d H:i' ) );
 
36
  $offset_time = get_option( 'gmt_offset' ) * 60 * 60;
37
 
38
+ $status = 'expired';
39
  if ( $event_start && $event_end ) {
40
  if ( $event_start > $time ) {
41
+ $status = 'upcoming';
42
  } else if ( $event_start <= $time && $time < $event_end ) {
43
+ $status = 'happening';
44
  } else if ( $time >= $event_end ) {
45
+ $status = 'expired';
46
  }
47
 
48
+ wp_schedule_single_event( $event_start - $offset_time, 'tp_event_schedule_status', array(
49
+ $post_id,
50
+ 'happening'
51
+ ) );
52
+ wp_schedule_single_event( $event_end - $offset_time, 'tp_event_schedule_status', array(
53
+ $post_id,
54
+ 'expired'
55
+ ) );
56
  }
57
 
58
+ update_post_meta( $post_id, 'tp_event_status', $status );
 
 
59
 
60
  }
61
 
inc/admin/settings/class-wpems-admin-setting-emails.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- if ( !defined( 'ABSPATH' ) ) {
4
  exit();
5
  }
6
 
@@ -42,7 +42,7 @@ class WPEMS_Admin_Setting_Emails extends WPEMS_Abstract_Setting {
42
  array(
43
  'type' => 'yes_no',
44
  'title' => __( 'Event register', 'wp-events-manager' ),
45
- 'desc' => __( 'Send notify when user register event', 'wp-events-manager' ),
46
  'id' => $prefix . 'email_enable',
47
  'default' => 'yes'
48
  ),
1
  <?php
2
 
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
  exit();
5
  }
6
 
42
  array(
43
  'type' => 'yes_no',
44
  'title' => __( 'Event register', 'wp-events-manager' ),
45
+ 'desc' => __( 'Send email to admin and user when user registers event', 'wp-events-manager' ),
46
  'id' => $prefix . 'email_enable',
47
  'default' => 'yes'
48
  ),
inc/admin/upgrades/upgrade-2.0.8.php CHANGED
@@ -1,9 +1,8 @@
1
  <?php
2
 
3
- if ( ! defined( 'ABSPATH' ) || ! defined( 'WPEMS_INSTALLING' ) || ! WPEMS_INSTALLING ) {
4
  exit();
5
  }
6
-
7
  /**
8
  * Update event date meta
9
  */
1
  <?php
2
 
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
  exit();
5
  }
 
6
  /**
7
  * Update event date meta
8
  */
inc/admin/upgrades/upgrade-2.1.6.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit();
5
+ }
6
+
7
+ update_option( 'thimpress-event-version', '2.1.6' );
8
+
9
+ /**
10
+ * Update post meta
11
+ */
12
+ $event_args = array(
13
+ 'post_type' => 'tp_event',
14
+ 'posts_per_page' => - 1,
15
+ 'post_status' => 'any'
16
+ );
17
+ $events = new WP_Query( $event_args );
18
+ if ( $events->have_posts() ) {
19
+ while ( $events->have_posts() ) {
20
+ $events->the_post();
21
+
22
+ $status = get_post_status( get_the_ID() );
23
+
24
+ $meta = '';
25
+ switch ( $status ) {
26
+ case 'tp-event-expired':
27
+ $meta = 'expired';
28
+ break;
29
+ case 'tp-event-happenning':
30
+ $meta = 'happening';
31
+ break;
32
+ case 'tp-event-upcoming':
33
+ $meta = 'upcoming';
34
+ break;
35
+ default:
36
+ break;
37
+ }
38
+
39
+ if ( $meta ) {
40
+ update_post_meta( get_the_ID(), 'tp_event_status', $meta );
41
+ wp_update_post( array( 'ID' => get_the_ID(), 'post_status' => 'publish' ) );
42
+ }
43
+
44
+ }
45
+ wp_reset_query();
46
+ }
inc/class-wpems-ajax.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- if ( !defined( 'ABSPATH' ) ) {
4
  exit;
5
  }
6
 
@@ -52,28 +52,28 @@ class WPEMS_Ajax {
52
  * @return html login form if user not logged in || @return html register event form
53
  */
54
  public function load_form_register() {
55
- if ( empty( $_POST['nonce'] ) || !wp_verify_nonce( $_POST['nonce'], 'event-auth-register-nonce' ) ) {
56
  return;
57
  }
58
 
59
- $event_id = !empty( $_POST['event_id'] ) ? absint( $_POST['event_id'] ) : 0;
60
 
61
- if ( !$event_id ) {
62
  wpems_add_notice( 'error', __( 'Event not found.', 'wp-events-manager' ) );
63
  wpems_print_notices();
64
  die();
65
- } else if ( !is_user_logged_in() ) {
66
  wpems_print_notices( 'error', __( 'You must login before register ', 'wp-events-manager' ) . sprintf( ' <strong>%s</strong>', get_the_title( $event_id ) ) );
67
  die();
68
  } else {
69
  $event = new WPEMS_Event( $event_id );
70
  $registered_time = $event->booked_quantity( get_current_user_id() );
71
  ob_start();
72
- if ( get_post_status( $event_id ) === 'tp-event-expired' ) {
73
  wpems_print_notices( 'error', sprintf( '%s %s', get_the_title( $event_id ), __( 'has been expired', 'wp-events-manager' ) ) );
74
  } else if ( $registered_time && wpems_get_option( 'email_register_times' ) === 'once' && $event->is_free() ) {
75
  wpems_print_notices( 'error', __( 'You have registered this event before', 'wp-events-manager' ) );
76
- } else if ( !$event->get_slot_available() ) {
77
  wpems_print_notices( 'error', __( 'The event is full, the registration is closed', 'wp-events-manager' ) );
78
  } else {
79
  wpems_get_template( 'loop/booking-form.php', array( 'event_id' => $event_id ) );
@@ -99,19 +99,19 @@ class WPEMS_Ajax {
99
  throw new Exception( __( 'Invalid request', 'wp-events-manager' ) );
100
  }
101
 
102
- if ( !isset( $_POST['action'] ) || !check_ajax_referer( 'event_auth_register_nonce', 'event_auth_register_nonce' ) ) {
103
  throw new Exception( __( 'Invalid request', 'wp-events-manager' ) );
104
  }
105
 
106
  $event_id = false;
107
- if ( !isset( $_POST['event_id'] ) || !is_numeric( $_POST['event_id'] ) ) {
108
  throw new Exception( __( 'Invalid event request', 'wp-events-manager' ) );
109
  } else {
110
  $event_id = absint( sanitize_text_field( $_POST['event_id'] ) );
111
  }
112
 
113
  $qty = 0;
114
- if ( !isset( $_POST['qty'] ) || !is_numeric( $_POST['qty'] ) ) {
115
  throw new Exception( __( 'Quantity must integer', 'wp-events-manager' ) );
116
  } else {
117
  $qty = absint( sanitize_text_field( $_POST['qty'] ) );
@@ -142,11 +142,11 @@ class WPEMS_Ajax {
142
  'currency' => wpems_get_currency()
143
  ) );
144
 
145
- $payment = !empty( $payment_methods[$payment] ) ? $payment_methods[$payment] : false;
146
 
147
  $return = array();
148
 
149
- if ( $args['price'] > 0 && $payment && !$payment->is_available() ) {
150
  throw new Exception( sprintf( '%s %s', get_title(), __( 'is not ready. Please contact administrator to setup payment gateways', 'wp-events-manager' ) ) );
151
  }
152
 
@@ -166,7 +166,7 @@ class WPEMS_Ajax {
166
  if ( $args['price'] == 0 ) {
167
  // update booking status
168
  $book = WPEMS_Booking::instance( $booking_id );
169
- $book->update_status( 'pending' );
170
 
171
  // user booking
172
  $user = get_userdata( $book->user_id );
@@ -208,7 +208,10 @@ class WPEMS_Ajax {
208
 
209
  // ajax nopriv: user is not signin
210
  public function must_login() {
211
- wp_send_json( array( 'status' => false, 'message' => sprintf( __( 'You Must <a href="%s">Login</a>', 'wp-events-manager' ), tp_event_login_url() ) ) );
 
 
 
212
  die();
213
  }
214
 
1
  <?php
2
 
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
  exit;
5
  }
6
 
52
  * @return html login form if user not logged in || @return html register event form
53
  */
54
  public function load_form_register() {
55
+ if ( empty( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'event-auth-register-nonce' ) ) {
56
  return;
57
  }
58
 
59
+ $event_id = ! empty( $_POST['event_id'] ) ? absint( $_POST['event_id'] ) : 0;
60
 
61
+ if ( ! $event_id ) {
62
  wpems_add_notice( 'error', __( 'Event not found.', 'wp-events-manager' ) );
63
  wpems_print_notices();
64
  die();
65
+ } else if ( ! is_user_logged_in() ) {
66
  wpems_print_notices( 'error', __( 'You must login before register ', 'wp-events-manager' ) . sprintf( ' <strong>%s</strong>', get_the_title( $event_id ) ) );
67
  die();
68
  } else {
69
  $event = new WPEMS_Event( $event_id );
70
  $registered_time = $event->booked_quantity( get_current_user_id() );
71
  ob_start();
72
+ if ( get_post_meta( $event_id, 'tp_event_status', true ) === 'expired' ) {
73
  wpems_print_notices( 'error', sprintf( '%s %s', get_the_title( $event_id ), __( 'has been expired', 'wp-events-manager' ) ) );
74
  } else if ( $registered_time && wpems_get_option( 'email_register_times' ) === 'once' && $event->is_free() ) {
75
  wpems_print_notices( 'error', __( 'You have registered this event before', 'wp-events-manager' ) );
76
+ } else if ( ! $event->get_slot_available() ) {
77
  wpems_print_notices( 'error', __( 'The event is full, the registration is closed', 'wp-events-manager' ) );
78
  } else {
79
  wpems_get_template( 'loop/booking-form.php', array( 'event_id' => $event_id ) );
99
  throw new Exception( __( 'Invalid request', 'wp-events-manager' ) );
100
  }
101
 
102
+ if ( ! isset( $_POST['action'] ) || ! check_ajax_referer( 'event_auth_register_nonce', 'event_auth_register_nonce' ) ) {
103
  throw new Exception( __( 'Invalid request', 'wp-events-manager' ) );
104
  }
105
 
106
  $event_id = false;
107
+ if ( ! isset( $_POST['event_id'] ) || ! is_numeric( $_POST['event_id'] ) ) {
108
  throw new Exception( __( 'Invalid event request', 'wp-events-manager' ) );
109
  } else {
110
  $event_id = absint( sanitize_text_field( $_POST['event_id'] ) );
111
  }
112
 
113
  $qty = 0;
114
+ if ( ! isset( $_POST['qty'] ) || ! is_numeric( $_POST['qty'] ) ) {
115
  throw new Exception( __( 'Quantity must integer', 'wp-events-manager' ) );
116
  } else {
117
  $qty = absint( sanitize_text_field( $_POST['qty'] ) );
142
  'currency' => wpems_get_currency()
143
  ) );
144
 
145
+ $payment = ! empty( $payment_methods[ $payment ] ) ? $payment_methods[ $payment ] : false;
146
 
147
  $return = array();
148
 
149
+ if ( $args['price'] > 0 && $payment && ! $payment->is_available() ) {
150
  throw new Exception( sprintf( '%s %s', get_title(), __( 'is not ready. Please contact administrator to setup payment gateways', 'wp-events-manager' ) ) );
151
  }
152
 
166
  if ( $args['price'] == 0 ) {
167
  // update booking status
168
  $book = WPEMS_Booking::instance( $booking_id );
169
+ $book->update_status();
170
 
171
  // user booking
172
  $user = get_userdata( $book->user_id );
208
 
209
  // ajax nopriv: user is not signin
210
  public function must_login() {
211
+ wp_send_json( array(
212
+ 'status' => false,
213
+ 'message' => sprintf( __( 'You Must <a href="%s">Login</a>', 'wp-events-manager' ), tp_event_login_url() )
214
+ ) );
215
  die();
216
  }
217
 
inc/class-wpems-install.php CHANGED
@@ -18,7 +18,8 @@ class WPEMS_Install {
18
  public static function init() {
19
  self::$db_upgrade = array(
20
  '2.0' => WPEMS_INC . 'admin/upgrades/upgrade-2.0.php',
21
- '2.0.8' => WPEMS_INC . 'admin/upgrades/upgrade-2.0.8.php'
 
22
  );
23
  }
24
 
@@ -152,9 +153,14 @@ class WPEMS_Install {
152
  */
153
  public static function upgrade_database() {
154
  $old_version = get_option( 'thimpress-event-version' );
155
- foreach ( self::$db_upgrade as $ver => $file ) {
156
- if ( ! $old_version || version_compare( $old_version, $ver, '<' ) ) {
157
- require_once $file;
 
 
 
 
 
158
  }
159
  }
160
  }
@@ -163,6 +169,8 @@ class WPEMS_Install {
163
 
164
  WPEMS_Install::init();
165
 
 
 
166
  // active plugin
167
  register_activation_hook( WPEMS_MAIN_FILE, array( 'WPEMS_Install', 'install' ) );
168
  register_deactivation_hook( WPEMS_MAIN_FILE, array( 'WPEMS_Install', 'uninstall' ) );
18
  public static function init() {
19
  self::$db_upgrade = array(
20
  '2.0' => WPEMS_INC . 'admin/upgrades/upgrade-2.0.php',
21
+ '2.0.8' => WPEMS_INC . 'admin/upgrades/upgrade-2.0.8.php',
22
+ '2.1.6' => WPEMS_INC . 'admin/upgrades/upgrade-2.1.6.php'
23
  );
24
  }
25
 
153
  */
154
  public static function upgrade_database() {
155
  $old_version = get_option( 'thimpress-event-version' );
156
+
157
+ if ( $old_version ) {
158
+ if ( $old_version != WPEMS_VER ) {
159
+ foreach ( self::$db_upgrade as $ver => $file ) {
160
+ if ( ! $old_version || version_compare( $old_version, $ver, '<' ) ) {
161
+ require_once $file;
162
+ }
163
+ }
164
  }
165
  }
166
  }
169
 
170
  WPEMS_Install::init();
171
 
172
+ add_action( 'admin_init', array( 'WPEMS_Install', 'upgrade_database' ) );
173
+
174
  // active plugin
175
  register_activation_hook( WPEMS_MAIN_FILE, array( 'WPEMS_Install', 'install' ) );
176
  register_deactivation_hook( WPEMS_MAIN_FILE, array( 'WPEMS_Install', 'uninstall' ) );
inc/class-wpems-post-types.php CHANGED
@@ -18,7 +18,6 @@ class WPEMS_Custom_Post_Types {
18
  add_action( 'init', array( $this, 'register_event_category_tax' ) );
19
 
20
  // register post type status
21
- add_action( 'init', array( $this, 'register_event_status' ) );
22
  add_action( 'init', array( $this, 'register_booking_status' ) );
23
 
24
  // custom event post type column
@@ -32,8 +31,6 @@ class WPEMS_Custom_Post_Types {
32
  add_action( 'manage_event_auth_book_posts_custom_column', array( $this, 'booking_column_content' ), 10, 2 );
33
 
34
  add_filter( 'post_updated_messages', array( $this, 'update_message' ) );
35
- // filter nav-menu
36
- add_filter( 'nav_menu_meta_box_object', array( $this, 'nav_menu_event' ) );
37
 
38
  if ( is_admin() ) {
39
  // filter booking event by user ID
@@ -165,40 +162,6 @@ class WPEMS_Custom_Post_Types {
165
  register_taxonomy( 'tp_event_category', array( 'tp_event' ), $args );
166
  }
167
 
168
- /**
169
- * Register event status
170
- */
171
- public function register_event_status() {
172
- // post status // upcoming // expired // happening
173
-
174
- register_post_status( 'tp-event-upcoming', apply_filters( 'tp_event_register_upcoming_status_args', array(
175
- 'label' => _x( 'Upcoming', 'wp-events-manager' ),
176
- 'public' => true,
177
- 'exclude_from_search' => false,
178
- 'show_in_admin_all_list' => true,
179
- 'show_in_admin_status_list' => true,
180
- 'label_count' => _n_noop( 'Upcoming <span class="count">(%s)</span>', 'Upcoming <span class="count">(%s)</span>' ),
181
- ) ) );
182
-
183
- register_post_status( 'tp-event-happenning', apply_filters( 'tp_event_register_happening_status_args', array(
184
- 'label' => _x( 'Happening', 'wp-events-manager' ),
185
- 'public' => true,
186
- 'exclude_from_search' => false,
187
- 'show_in_admin_all_list' => true,
188
- 'show_in_admin_status_list' => true,
189
- 'label_count' => _n_noop( 'Happening <span class="count">(%s)</span>', 'Happening <span class="count">(%s)</span>' ),
190
- ) ) );
191
-
192
- register_post_status( 'tp-event-expired', apply_filters( 'tp_event_register_expired_status_args', array(
193
- 'label' => _x( 'Expired', 'wp-events-manager' ),
194
- 'public' => true,
195
- 'exclude_from_search' => false,
196
- 'show_in_admin_all_list' => true,
197
- 'show_in_admin_status_list' => true,
198
- 'label_count' => _n_noop( 'Expired <span class="count">(%s)</span>', 'Expired <span class="count">(%s)</span>' ),
199
- ) ) );
200
- }
201
-
202
  /**
203
  * Register booking status
204
  */
@@ -284,8 +247,7 @@ class WPEMS_Custom_Post_Types {
284
  $event = WPEMS_Event::instance( $post_id );
285
  switch ( $column ) {
286
  case 'status' :
287
- $status = get_post_status_object( get_post_status( $post_id ) );
288
- echo $status->label;
289
  break;
290
  case 'start' :
291
  $date_start = get_post_meta( $post_id, 'tp_event_date_start', true );
@@ -417,28 +379,6 @@ class WPEMS_Custom_Post_Types {
417
  return $query;
418
  }
419
 
420
- /**
421
- * Filter nav-menu
422
- *
423
- * @param null $object
424
- *
425
- * @return null
426
- */
427
- public function nav_menu_event( $object = null ) {
428
- if ( isset( $object->name ) && $object->name === 'tp_event' ) {
429
- // default query
430
- $object->_default_query = array(
431
- 'post_status' => array(
432
- 'tp-event-upcoming',
433
- 'tp-event-happenning',
434
- 'tp-event-expired'
435
- )
436
- );
437
- }
438
-
439
- return $object;
440
- }
441
-
442
  /**
443
  * update post message
444
  *
18
  add_action( 'init', array( $this, 'register_event_category_tax' ) );
19
 
20
  // register post type status
 
21
  add_action( 'init', array( $this, 'register_booking_status' ) );
22
 
23
  // custom event post type column
31
  add_action( 'manage_event_auth_book_posts_custom_column', array( $this, 'booking_column_content' ), 10, 2 );
32
 
33
  add_filter( 'post_updated_messages', array( $this, 'update_message' ) );
 
 
34
 
35
  if ( is_admin() ) {
36
  // filter booking event by user ID
162
  register_taxonomy( 'tp_event_category', array( 'tp_event' ), $args );
163
  }
164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  /**
166
  * Register booking status
167
  */
247
  $event = WPEMS_Event::instance( $post_id );
248
  switch ( $column ) {
249
  case 'status' :
250
+ echo $status = get_post_meta( $post_id, 'tp_event_status', true );
 
251
  break;
252
  case 'start' :
253
  $date_start = get_post_meta( $post_id, 'tp_event_date_start', true );
379
  return $query;
380
  }
381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
  /**
383
  * update post message
384
  *
inc/emails/class-wpems-register-event.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- if ( !defined( 'ABSPATH' ) ) {
4
  exit;
5
  }
6
 
@@ -21,7 +21,7 @@ class WPEMS_Email_Register_Event {
21
  return;
22
  }
23
 
24
- if ( !$booking_id ) {
25
  throw new Exception( sprintf( __( 'Error %s booking ID', 'wp-events-manager' ), $booking_id ) );
26
  }
27
 
@@ -33,13 +33,13 @@ class WPEMS_Email_Register_Event {
33
 
34
  if ( $booking ) {
35
  $user_id = $booking->user_id;
36
- if ( !$user_id ) {
37
  throw new Exception( __( 'User is not exists!', 'wp-events-manager' ) );
38
  die();
39
  }
40
  $user = get_userdata( $user_id );
41
 
42
- $email_subject = wpems_get_option( 'email_subject', '' );
43
 
44
  $headers[] = 'Content-Type: text/html; charset=UTF-8';
45
  // set mail from email
@@ -48,9 +48,20 @@ class WPEMS_Email_Register_Event {
48
  add_filter( 'wp_mail_from_name', array( $this, 'from_name' ) );
49
 
50
  if ( $user && $to = $user->data->user_email ) {
51
- $email_content = wpems_get_template_content( 'emails/register-event.php', array( 'booking' => $booking, 'user' => $user ) );
52
 
53
- return wp_mail( $to, $email_subject, stripslashes( $email_content ), $headers );
 
 
 
 
 
 
 
 
 
 
 
 
54
  }
55
  }
56
  }
@@ -62,6 +73,7 @@ class WPEMS_Email_Register_Event {
62
  return $email;
63
  }
64
  }
 
65
  return $email;
66
  }
67
 
@@ -70,6 +82,7 @@ class WPEMS_Email_Register_Event {
70
  if ( $name = wpems_get_option( 'email_from_name' ) ) {
71
  return $name;
72
  }
 
73
  return $name;
74
  }
75
 
1
  <?php
2
 
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
  exit;
5
  }
6
 
21
  return;
22
  }
23
 
24
+ if ( ! $booking_id ) {
25
  throw new Exception( sprintf( __( 'Error %s booking ID', 'wp-events-manager' ), $booking_id ) );
26
  }
27
 
33
 
34
  if ( $booking ) {
35
  $user_id = $booking->user_id;
36
+ if ( ! $user_id ) {
37
  throw new Exception( __( 'User is not exists!', 'wp-events-manager' ) );
38
  die();
39
  }
40
  $user = get_userdata( $user_id );
41
 
42
+ $email_subject = wpems_get_option( 'email_subject' ) ? wpems_get_option( 'email_subject' ) : __( 'Register event', 'wp-events-manager' );
43
 
44
  $headers[] = 'Content-Type: text/html; charset=UTF-8';
45
  // set mail from email
48
  add_filter( 'wp_mail_from_name', array( $this, 'from_name' ) );
49
 
50
  if ( $user && $to = $user->data->user_email ) {
 
51
 
52
+
53
+ $email_user_content = wpems_get_template_content( 'emails/register-event.php', array(
54
+ 'booking' => $booking,
55
+ 'user' => $user
56
+ ) );
57
+ $email_admin_content = wpems_get_template_content( 'emails/register-admin-event.php', array(
58
+ 'booking' => $booking,
59
+ 'user' => $user
60
+ ) );
61
+
62
+ wp_mail( get_option( 'admin_email' ), $email_subject, stripslashes( $email_admin_content ), $headers );
63
+
64
+ return wp_mail( $to, $email_subject, stripslashes( $email_user_content ), $headers );
65
  }
66
  }
67
  }
73
  return $email;
74
  }
75
  }
76
+
77
  return $email;
78
  }
79
 
82
  if ( $name = wpems_get_option( 'email_from_name' ) ) {
83
  return $name;
84
  }
85
+
86
  return $name;
87
  }
88
 
inc/widgets/class-wpems-widget-countdown.php CHANGED
@@ -116,9 +116,9 @@ class WPEMS_Widget_Countdown extends WP_Widget {
116
 
117
  public function events( $selected ) {
118
  $status = array(
119
- 'tp-event-upcoming' => 'Upcoming',
120
- 'tp-event-happenning' => 'Happening',
121
- 'tp-event-expired' => 'Exprired'
122
  );
123
  $selected = array_map( 'intval', $selected );
124
 
@@ -141,8 +141,13 @@ class WPEMS_Widget_Countdown extends WP_Widget {
141
  foreach ( $status as $stt => $label ) {
142
  $args = array(
143
  'post_type' => 'tp_event',
144
- 'post_status' => $stt,
145
- 'posts_per_page' => - 1
 
 
 
 
 
146
  );
147
 
148
  $results = new WP_Query( $args );
116
 
117
  public function events( $selected ) {
118
  $status = array(
119
+ 'upcoming' => __( 'Upcoming', 'wp-events-manager' ),
120
+ 'happening' => __( 'Happening', 'wp-events-manager' ),
121
+ 'expired' => __( 'Expired', 'wp-events-manager' )
122
  );
123
  $selected = array_map( 'intval', $selected );
124
 
141
  foreach ( $status as $stt => $label ) {
142
  $args = array(
143
  'post_type' => 'tp_event',
144
+ 'posts_per_page' => - 1,
145
+ 'meta_query' => array(
146
+ array(
147
+ 'key' => 'tp_event_status',
148
+ 'value' => $stt
149
+ )
150
+ )
151
  );
152
 
153
  $results = new WP_Query( $args );
inc/wpems-core-functions.php CHANGED
@@ -285,7 +285,9 @@ if ( ! function_exists( 'wpems_add_property_countdown' ) ) {
285
  ) );
286
 
287
  ?>
288
- <div class="event-google-map-canvas" style="height: <?php echo $map_args['height']; ?>; width: <?php echo $map_args['width']; ?>" id="map-canvas-<?php echo $map_args['map_id']; ?>"
 
 
289
  <?php foreach ( $map_args['map_data'] as $key => $val ) : ?>
290
  <?php if ( ! empty( $val ) ) : ?>
291
  data-<?php echo esc_attr( $key ) . '="' . esc_attr( $val ) . '"' ?>
@@ -559,29 +561,24 @@ if ( ! function_exists( 'wpems_schedule_update_status' ) ) {
559
  fclose( $fo );
560
  }
561
  wp_clear_scheduled_hook( 'tp_event_schedule_status', array( $post_id, $status ) );
562
- $old_status = get_post_status( $post_id );
563
-
564
- if ( $old_status !== $status && in_array( $status, array(
565
- 'tp-event-upcoming',
566
- 'tp-event-happenning',
567
- 'tp-event-expired'
568
- ) )
569
- ) {
570
  $post = wpems_add_property_countdown( get_post( $post_id ) );
571
 
572
  $current_time = strtotime( current_time( 'Y-m-d H:i' ) );
573
  $event_start = strtotime( $post->event_start );
574
  $event_end = strtotime( $post->event_end );
575
 
576
- if ( $status === 'tp-event-expired' && $current_time < $event_end ) {
577
  return;
578
  }
579
 
580
- if ( $status === 'tp-event-happenning' && $current_time < $event_start ) {
581
  return;
582
  }
583
 
584
- wp_update_post( array( 'ID' => $post_id, 'post_status' => $status ) );
585
  }
586
  }
587
  }
@@ -1360,10 +1357,12 @@ if ( ! function_exists( 'wpems_post_type_admin_order' ) ) {
1360
  function wpems_post_type_admin_order( $wp_query ) {
1361
  if ( is_admin() && ! isset( $_GET['orderby'] ) ) {
1362
  // Get the post type from the query
1363
- $post_type = $wp_query->query['post_type'];
1364
- if ( in_array( $post_type, array( 'tp_event', 'event_auth_book' ) ) ) {
1365
- $wp_query->set( 'orderby', 'date' );
1366
- $wp_query->set( 'order', 'DESC' );
 
 
1367
  }
1368
  }
1369
  }
@@ -1493,15 +1492,15 @@ if ( ! function_exists( 'tp_event_template_path' ) ) {
1493
 
1494
  }
1495
 
1496
- if ( !function_exists( 'tp_event_locate_template' ) ) {
1497
 
1498
  function tp_event_locate_template( $template_name, $template_path = '', $default_path = '' ) {
1499
 
1500
- if ( !$template_path ) {
1501
  $template_path = tp_event_template_path();
1502
  }
1503
 
1504
- if ( !$default_path ) {
1505
  $default_path = WPEMS_PATH . '/templates/';
1506
  }
1507
 
@@ -1514,7 +1513,7 @@ if ( !function_exists( 'tp_event_locate_template' ) ) {
1514
  )
1515
  );
1516
  // Get default template
1517
- if ( !$template ) {
1518
  $template = $default_path . $template_name;
1519
  }
1520
 
285
  ) );
286
 
287
  ?>
288
+ <div class="event-google-map-canvas"
289
+ style="height: <?php echo $map_args['height']; ?>; width: <?php echo $map_args['width']; ?>"
290
+ id="map-canvas-<?php echo $map_args['map_id']; ?>"
291
  <?php foreach ( $map_args['map_data'] as $key => $val ) : ?>
292
  <?php if ( ! empty( $val ) ) : ?>
293
  data-<?php echo esc_attr( $key ) . '="' . esc_attr( $val ) . '"' ?>
561
  fclose( $fo );
562
  }
563
  wp_clear_scheduled_hook( 'tp_event_schedule_status', array( $post_id, $status ) );
564
+ $old_status = get_post_meta( $post_id, 'tp_event_status', true );
565
+
566
+ if ( $old_status !== $status && in_array( $status, array( 'upcoming', 'happening', 'expired' ) ) ) {
 
 
 
 
 
567
  $post = wpems_add_property_countdown( get_post( $post_id ) );
568
 
569
  $current_time = strtotime( current_time( 'Y-m-d H:i' ) );
570
  $event_start = strtotime( $post->event_start );
571
  $event_end = strtotime( $post->event_end );
572
 
573
+ if ( $status === 'expired' && $current_time < $event_end ) {
574
  return;
575
  }
576
 
577
+ if ( $status === 'happening' && $current_time < $event_start ) {
578
  return;
579
  }
580
 
581
+ update_post_meta( $post_id, 'tp_event_status', $status );
582
  }
583
  }
584
  }
1357
  function wpems_post_type_admin_order( $wp_query ) {
1358
  if ( is_admin() && ! isset( $_GET['orderby'] ) ) {
1359
  // Get the post type from the query
1360
+ if ( isset( $wp_query->query['post_type'] ) ) {
1361
+ $post_type = $wp_query->query['post_type'];
1362
+ if ( in_array( $post_type, array( 'tp_event', 'event_auth_book' ) ) ) {
1363
+ $wp_query->set( 'orderby', 'date' );
1364
+ $wp_query->set( 'order', 'DESC' );
1365
+ }
1366
  }
1367
  }
1368
  }
1492
 
1493
  }
1494
 
1495
+ if ( ! function_exists( 'tp_event_locate_template' ) ) {
1496
 
1497
  function tp_event_locate_template( $template_name, $template_path = '', $default_path = '' ) {
1498
 
1499
+ if ( ! $template_path ) {
1500
  $template_path = tp_event_template_path();
1501
  }
1502
 
1503
+ if ( ! $default_path ) {
1504
  $default_path = WPEMS_PATH . '/templates/';
1505
  }
1506
 
1513
  )
1514
  );
1515
  // Get default template
1516
+ if ( ! $template ) {
1517
  $template = $default_path . $template_name;
1518
  }
1519
 
languages/wp-events-manager.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2017-04-14 14:39+0700\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -18,1316 +18,1302 @@ msgstr ""
18
  "Content-Transfer-Encoding: 8bit\n"
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
 
21
- #: trunk/inc/class-wpems-ajax.php:41
22
  msgid "Remove admin notice successful"
23
  msgstr ""
24
 
25
- #: trunk/inc/class-wpems-ajax.php:58
26
  msgid "Event not found."
27
  msgstr ""
28
 
29
- #: trunk/inc/class-wpems-ajax.php:62
30
  msgid "You must login before register "
31
  msgstr ""
32
 
33
- #: trunk/inc/class-wpems-ajax.php:69
34
  msgid "has been expired"
35
  msgstr ""
36
 
37
- #: trunk/inc/class-wpems-ajax.php:71
38
  msgid "You have registered this event before"
39
  msgstr ""
40
 
41
- #: trunk/inc/class-wpems-ajax.php:73
42
  msgid "The event is full, the registration is closed"
43
  msgstr ""
44
 
45
- #: trunk/inc/class-wpems-ajax.php:95 trunk/inc/class-wpems-ajax.php:99
46
  msgid "Invalid request"
47
  msgstr ""
48
 
49
- #: trunk/inc/class-wpems-ajax.php:104
50
  msgid "Invalid event request"
51
  msgstr ""
52
 
53
- #: trunk/inc/class-wpems-ajax.php:111
54
  msgid "Quantity must integer"
55
  msgstr ""
56
 
57
- #: trunk/inc/class-wpems-ajax.php:125
58
  msgid "You are registered this event."
59
  msgstr ""
60
 
61
- #: trunk/inc/class-wpems-ajax.php:146
62
  msgid "is not ready. Please contact administrator to setup payment gateways"
63
  msgstr ""
64
 
65
- #: trunk/inc/class-wpems-ajax.php:169
66
  #, php-format
67
  msgid ""
68
  "Book ID <strong>%s</strong> completed! We'll send mail to <strong>%s</"
69
  "strong> when it is approve."
70
  msgstr ""
71
 
72
- #: trunk/inc/class-wpems-ajax.php:184
73
  msgid "Payment method is not available"
74
  msgstr ""
75
 
76
- #: trunk/inc/class-wpems-ajax.php:207
77
  #, php-format
78
  msgid "You Must <a href=\"%s\">Login</a>"
79
  msgstr ""
80
 
81
- #: trunk/inc/class-wpems-booking.php:63
82
  #, php-format
83
  msgid "%s booking event %s"
84
  msgstr ""
85
 
86
- #: trunk/inc/class-wpems-booking.php:64 trunk/inc/class-wpems-booking.php:65
87
  #, php-format
88
  msgid "%s booking event %s with %s slot"
89
  msgstr ""
90
 
91
- #: trunk/inc/class-wpems-booking.php:88
92
  #, php-format
93
  msgid "Booking ID #%s is not exists."
94
  msgstr ""
95
 
96
- #: trunk/inc/class-wpems-install.php:114
97
  msgctxt "Page slug"
98
  msgid "user-register"
99
  msgstr ""
100
 
101
- #: trunk/inc/class-wpems-install.php:115
102
  msgctxt "Page title"
103
  msgid "User Register"
104
  msgstr ""
105
 
106
- #: trunk/inc/class-wpems-install.php:119
107
  msgctxt "Page slug"
108
  msgid "user-login"
109
  msgstr ""
110
 
111
- #: trunk/inc/class-wpems-install.php:120
112
  msgctxt "Page title"
113
  msgid "User Login"
114
  msgstr ""
115
 
116
- #: trunk/inc/class-wpems-install.php:124
117
  msgctxt "Page slug"
118
  msgid "forgot-password"
119
  msgstr ""
120
 
121
- #: trunk/inc/class-wpems-install.php:125
122
  msgctxt "Page title"
123
  msgid "Forgot Password"
124
  msgstr ""
125
 
126
- #: trunk/inc/class-wpems-install.php:129
127
  msgctxt "Page slug"
128
  msgid "reset-password"
129
  msgstr ""
130
 
131
- #: trunk/inc/class-wpems-install.php:130
132
  msgctxt "Page title"
133
  msgid "Reset Password"
134
  msgstr ""
135
 
136
- #: trunk/inc/class-wpems-install.php:134
137
  msgctxt "Page slug"
138
  msgid "user-account"
139
  msgstr ""
140
 
141
- #: trunk/inc/class-wpems-install.php:135
142
  msgctxt "Page title"
143
  msgid "User Account"
144
  msgstr ""
145
 
146
- #: trunk/inc/class-wpems-post-types.php:48
147
  msgctxt "post type general name"
148
  msgid "Events"
149
  msgstr ""
150
 
151
- #: trunk/inc/class-wpems-post-types.php:49
152
  msgctxt "post type singular name"
153
  msgid "Event"
154
  msgstr ""
155
 
156
- #: trunk/inc/class-wpems-post-types.php:50
157
  msgctxt "admin menu"
158
  msgid "Events"
159
  msgstr ""
160
 
161
- #: trunk/inc/class-wpems-post-types.php:51
162
  msgctxt "add new on admin bar"
163
  msgid "Event"
164
  msgstr ""
165
 
166
- #: trunk/inc/class-wpems-post-types.php:52
167
  msgctxt "event"
168
  msgid "Add New"
169
  msgstr ""
170
 
171
- #: trunk/inc/class-wpems-post-types.php:53
172
  msgid "Add New Event"
173
  msgstr ""
174
 
175
- #: trunk/inc/class-wpems-post-types.php:54
176
  msgid "New Event"
177
  msgstr ""
178
 
179
- #: trunk/inc/class-wpems-post-types.php:55
180
  msgid "Edit Event"
181
  msgstr ""
182
 
183
- #: trunk/inc/class-wpems-post-types.php:56
184
  msgid "View Event"
185
  msgstr ""
186
 
187
- #: trunk/inc/class-wpems-post-types.php:57
188
- #: trunk/inc/wpems-core-functions.php:1228
189
- #: trunk/templates/shortcodes/user-account.php:21
190
  msgid "Events"
191
  msgstr ""
192
 
193
- #: trunk/inc/class-wpems-post-types.php:58
194
  msgid "Search Events"
195
  msgstr ""
196
 
197
- #: trunk/inc/class-wpems-post-types.php:59
198
  msgid "Parent Events:"
199
  msgstr ""
200
 
201
- #: trunk/inc/class-wpems-post-types.php:60
202
  msgid "No events found."
203
  msgstr ""
204
 
205
- #: trunk/inc/class-wpems-post-types.php:61
206
  msgid "No events found in Trash."
207
  msgstr ""
208
 
209
- #: trunk/inc/class-wpems-post-types.php:66
210
  msgid "Event post type."
211
  msgstr ""
212
 
213
- #: trunk/inc/class-wpems-post-types.php:72
214
  msgctxt "URL slug"
215
  msgid "events"
216
  msgstr ""
217
 
218
- #: trunk/inc/class-wpems-post-types.php:93
219
  msgctxt "post type general name"
220
  msgid "Bookings"
221
  msgstr ""
222
 
223
- #: trunk/inc/class-wpems-post-types.php:94
224
  msgctxt "post type singular name"
225
  msgid "Booking"
226
  msgstr ""
227
 
228
- #: trunk/inc/class-wpems-post-types.php:95
229
  msgctxt "admin menu"
230
  msgid "Bookings"
231
  msgstr ""
232
 
233
- #: trunk/inc/class-wpems-post-types.php:96
234
  msgctxt "add new on admin bar"
235
  msgid "Booking"
236
  msgstr ""
237
 
238
- #: trunk/inc/class-wpems-post-types.php:97
239
  msgctxt "book"
240
  msgid "Add New"
241
  msgstr ""
242
 
243
- #: trunk/inc/class-wpems-post-types.php:98
244
  msgid "Add New Booking"
245
  msgstr ""
246
 
247
- #: trunk/inc/class-wpems-post-types.php:99
248
  msgid "New Booking"
249
  msgstr ""
250
 
251
- #: trunk/inc/class-wpems-post-types.php:100
252
- #: trunk/inc/admin/views/metaboxes/booking-details.php:40
253
  msgid "Booking Details"
254
  msgstr ""
255
 
256
- #: trunk/inc/class-wpems-post-types.php:101
257
  msgid "View Booking"
258
  msgstr ""
259
 
260
- #: trunk/inc/class-wpems-post-types.php:102
261
  msgid "Bookings"
262
  msgstr ""
263
 
264
- #: trunk/inc/class-wpems-post-types.php:103
265
  msgid "Search Books"
266
  msgstr ""
267
 
268
- #: trunk/inc/class-wpems-post-types.php:104
269
  msgid "Parent Books:"
270
  msgstr ""
271
 
272
- #: trunk/inc/class-wpems-post-types.php:105
273
  msgid "No books found."
274
  msgstr ""
275
 
276
- #: trunk/inc/class-wpems-post-types.php:106
277
  msgid "No books found in Trash."
278
  msgstr ""
279
 
280
- #: trunk/inc/class-wpems-post-types.php:111
281
  msgid "Description."
282
  msgstr ""
283
 
284
- #: trunk/inc/class-wpems-post-types.php:118
285
  msgctxt "URL slug"
286
  msgid "event-book"
287
  msgstr ""
288
 
289
- #: trunk/inc/class-wpems-post-types.php:140
290
  msgctxt "taxonomy general name"
291
  msgid "Event Categories"
292
  msgstr ""
293
 
294
- #: trunk/inc/class-wpems-post-types.php:141
295
  msgctxt "taxonomy singular name"
296
  msgid "Event Category"
297
  msgstr ""
298
 
299
- #: trunk/inc/class-wpems-post-types.php:142
300
  msgid "Search Categories"
301
  msgstr ""
302
 
303
- #: trunk/inc/class-wpems-post-types.php:143
304
  msgid "All Categories"
305
  msgstr ""
306
 
307
- #: trunk/inc/class-wpems-post-types.php:144
308
  msgid "Parent Category"
309
  msgstr ""
310
 
311
- #: trunk/inc/class-wpems-post-types.php:145
312
  msgid "Parent Category:"
313
  msgstr ""
314
 
315
- #: trunk/inc/class-wpems-post-types.php:146
316
  msgid "Edit Category"
317
  msgstr ""
318
 
319
- #: trunk/inc/class-wpems-post-types.php:147
320
  msgid "Update Category"
321
  msgstr ""
322
 
323
- #: trunk/inc/class-wpems-post-types.php:148
324
  msgid "Add New Category"
325
  msgstr ""
326
 
327
- #: trunk/inc/class-wpems-post-types.php:149
328
  msgid "New Category Name"
329
  msgstr ""
330
 
331
- #: trunk/inc/class-wpems-post-types.php:150
332
  msgid "Category"
333
  msgstr ""
334
 
335
- #: trunk/inc/class-wpems-post-types.php:173
336
- msgctxt "wp-events-manager"
337
- msgid "Upcoming"
338
- msgstr ""
339
-
340
- #: trunk/inc/class-wpems-post-types.php:178
341
- #, php-format
342
- msgid "Upcoming <span class=\"count\">(%s)</span>"
343
- msgid_plural "Upcoming <span class=\"count\">(%s)</span>"
344
- msgstr[0] ""
345
- msgstr[1] ""
346
-
347
- #: trunk/inc/class-wpems-post-types.php:182
348
- msgctxt "wp-events-manager"
349
- msgid "Happening"
350
- msgstr ""
351
-
352
- #: trunk/inc/class-wpems-post-types.php:187
353
- #, php-format
354
- msgid "Happening <span class=\"count\">(%s)</span>"
355
- msgid_plural "Happening <span class=\"count\">(%s)</span>"
356
- msgstr[0] ""
357
- msgstr[1] ""
358
-
359
- #: trunk/inc/class-wpems-post-types.php:191
360
- msgctxt "wp-events-manager"
361
- msgid "Expired"
362
- msgstr ""
363
-
364
- #: trunk/inc/class-wpems-post-types.php:196
365
- #, php-format
366
- msgid "Expired <span class=\"count\">(%s)</span>"
367
- msgid_plural "Expired <span class=\"count\">(%s)</span>"
368
- msgstr[0] ""
369
- msgstr[1] ""
370
-
371
- #: trunk/inc/class-wpems-post-types.php:206
372
  msgctxt "Booking status"
373
  msgid "Cancelled"
374
  msgstr ""
375
 
376
- #: trunk/inc/class-wpems-post-types.php:211
377
  #, php-format
378
  msgid "Cancelled <span class=\"count\">(%s)</span>"
379
  msgid_plural "Cancelled <span class=\"count\">(%s)</span>"
380
  msgstr[0] ""
381
  msgstr[1] ""
382
 
383
- #: trunk/inc/class-wpems-post-types.php:215
384
  msgctxt "Booking status"
385
  msgid "Pending"
386
  msgstr ""
387
 
388
- #: trunk/inc/class-wpems-post-types.php:220
389
  #, php-format
390
  msgid "Pending <span class=\"count\">(%s)</span>"
391
  msgid_plural "Pending <span class=\"count\">(%s)</span>"
392
  msgstr[0] ""
393
  msgstr[1] ""
394
 
395
- #: trunk/inc/class-wpems-post-types.php:224
396
  msgctxt "Booking status"
397
  msgid "Processing"
398
  msgstr ""
399
 
400
- #: trunk/inc/class-wpems-post-types.php:229
401
  #, php-format
402
  msgid "Processing <span class=\"count\">(%s)</span>"
403
  msgid_plural "Processing <span class=\"count\">(%s)</span>"
404
  msgstr[0] ""
405
  msgstr[1] ""
406
 
407
- #: trunk/inc/class-wpems-post-types.php:233
408
  msgctxt "Booking status"
409
  msgid "Completed"
410
  msgstr ""
411
 
412
- #: trunk/inc/class-wpems-post-types.php:238
413
  #, php-format
414
  msgid "Completed <span class=\"count\">(%s)</span>"
415
  msgid_plural "Completed <span class=\"count\">(%s)</span>"
416
  msgstr[0] ""
417
  msgstr[1] ""
418
 
419
- #: trunk/inc/class-wpems-post-types.php:252
420
  msgid "Start"
421
  msgstr ""
422
 
423
- #: trunk/inc/class-wpems-post-types.php:253
424
  msgid "End"
425
  msgstr ""
426
 
427
- #: trunk/inc/class-wpems-post-types.php:254
428
- #: trunk/inc/class-wpems-post-types.php:325
429
- #: trunk/templates/emails/register-event.php:27
430
- #: trunk/templates/shortcodes/user-account.php:26
431
  msgid "Status"
432
  msgstr ""
433
 
434
- #: trunk/inc/class-wpems-post-types.php:255
435
- #: trunk/inc/admin/views/metaboxes/event-settings.php:37
436
  msgid "Price"
437
  msgstr ""
438
 
439
- #: trunk/inc/class-wpems-post-types.php:256
440
  msgid "Booked / Total"
441
  msgstr ""
442
 
443
- #: trunk/inc/class-wpems-post-types.php:295
444
- #: trunk/inc/class-wpems-post-types.php:355
445
- #: trunk/templates/emails/register-event.php:34
446
- #: trunk/templates/loop/register.php:31
447
- #: trunk/templates/shortcodes/user-account.php:35
448
  msgid "Free"
449
  msgstr ""
450
 
451
- #: trunk/inc/class-wpems-post-types.php:297
452
  #, php-format
453
  msgid "<span class=\"event_auth_event_type\">%s/%s</span>"
454
  msgstr ""
455
 
456
- #: trunk/inc/class-wpems-post-types.php:297
457
  msgid "slot"
458
  msgstr ""
459
 
460
- #: trunk/inc/class-wpems-post-types.php:301
461
  msgid "Unlimited"
462
  msgstr ""
463
 
464
- #: trunk/inc/class-wpems-post-types.php:318
465
  msgid ""
466
  "<label class=\"screen-reader-text __web-inspector-hide-shortcut__\" for=\"cb-"
467
  "select-all-1\">Select All</label><input id=\"cb-select-all-1\" type="
468
  "\"checkbox\">"
469
  msgstr ""
470
 
471
- #: trunk/inc/class-wpems-post-types.php:319
472
- #: trunk/templates/emails/register-event.php:21
 
473
  msgid "ID"
474
  msgstr ""
475
 
476
- #: trunk/inc/class-wpems-post-types.php:320
477
- #: trunk/templates/emails/register-event.php:22
 
478
  msgid "Event"
479
  msgstr ""
480
 
481
- #: trunk/inc/class-wpems-post-types.php:321
482
  msgid "User"
483
  msgstr ""
484
 
485
- #: trunk/inc/class-wpems-post-types.php:322
486
  msgid "Date"
487
  msgstr ""
488
 
489
- #: trunk/inc/class-wpems-post-types.php:323
490
- #: trunk/inc/admin/views/metaboxes/booking-details.php:46
491
- #: trunk/templates/emails/register-event.php:25
492
- #: trunk/templates/emails/register-event.php:34
493
- #: trunk/templates/shortcodes/user-account.php:23
494
- #: trunk/templates/shortcodes/user-account.php:35
 
 
495
  msgid "Cost"
496
  msgstr ""
497
 
498
- #: trunk/inc/class-wpems-post-types.php:324
499
- #: trunk/inc/admin/views/metaboxes/booking-details.php:47
500
- #: trunk/inc/admin/views/metaboxes/event-settings.php:31
501
- #: trunk/templates/emails/register-event.php:24
502
- #: trunk/templates/loop/booking-form.php:21
503
- #: trunk/templates/shortcodes/user-account.php:24
504
  msgid "Quantity"
505
  msgstr ""
506
 
507
- #: trunk/inc/class-wpems-post-types.php:347
508
  #, php-format
509
  msgid "<a href=\"%s\">%s</a>"
510
  msgstr ""
511
 
512
- #: trunk/inc/class-wpems-post-types.php:439
513
- #: trunk/inc/class-wpems-post-types.php:442
514
- #: trunk/inc/class-wpems-post-types.php:445
515
  msgid "Event updated."
516
  msgstr ""
517
 
518
- #: trunk/inc/class-wpems-post-types.php:440
519
  msgid "Custom field updated."
520
  msgstr ""
521
 
522
- #: trunk/inc/class-wpems-post-types.php:441
523
  msgid "Custom field deleted."
524
  msgstr ""
525
 
526
- #: trunk/inc/class-wpems-post-types.php:444
527
  #, php-format
528
  msgid "Book restored to revision from %s"
529
  msgstr ""
530
 
531
- #: trunk/inc/class-wpems-post-types.php:446
532
  msgid "Event saved."
533
  msgstr ""
534
 
535
- #: trunk/inc/class-wpems-post-types.php:447
536
  msgid "Event submitted."
537
  msgstr ""
538
 
539
- #: trunk/inc/class-wpems-post-types.php:449
540
  #, php-format
541
  msgid "Event scheduled for: <strong>%1$s</strong>."
542
  msgstr ""
543
 
544
- #: trunk/inc/class-wpems-post-types.php:451
545
  msgid "M j, Y @ G:i"
546
  msgstr ""
547
 
548
- #: trunk/inc/class-wpems-post-types.php:453
549
  msgid "Event draft updated."
550
  msgstr ""
551
 
552
- #: trunk/inc/class-wpems-post-types.php:459
553
  msgid "View event"
554
  msgstr ""
555
 
556
- #: trunk/inc/class-wpems-post-types.php:465
557
  msgid "Preview event"
558
  msgstr ""
559
 
560
- #: trunk/inc/class-wpems-shortcodes.php:162
561
- #: trunk/inc/class-wpems-shortcodes.php:193
562
  msgid "Check your email for a link to reset your password."
563
  msgstr ""
564
 
565
- #: trunk/inc/class-wpems-user-process.php:48
566
  msgid "You have been sign out!"
567
  msgstr ""
568
 
569
- #: trunk/inc/class-wpems-user-process.php:138
570
- #: trunk/inc/class-wpems-user-process.php:142
571
- #: trunk/inc/class-wpems-user-process.php:146
572
- #: trunk/inc/class-wpems-user-process.php:155
573
  msgid "ERROR"
574
  msgstr ""
575
 
576
- #: trunk/inc/class-wpems-user-process.php:142
577
  msgid "Username is required."
578
  msgstr ""
579
 
580
- #: trunk/inc/class-wpems-user-process.php:146
581
  msgid "Password is required."
582
  msgstr ""
583
 
584
- #: trunk/inc/class-wpems-user-process.php:155
585
  msgid "A user could not be found with this email address."
586
  msgstr ""
587
 
588
- #: trunk/inc/class-wpems-user-process.php:177
589
  msgid "You have logged in"
590
  msgstr ""
591
 
592
- #: trunk/inc/wpems-core-functions.php:394
593
  msgid "Years"
594
  msgstr ""
595
 
596
- #: trunk/inc/wpems-core-functions.php:395
597
  msgid "Months"
598
  msgstr ""
599
 
600
- #: trunk/inc/wpems-core-functions.php:396
601
  msgid "Weeks"
602
  msgstr ""
603
 
604
- #: trunk/inc/wpems-core-functions.php:397
605
  msgid "Days"
606
  msgstr ""
607
 
608
- #: trunk/inc/wpems-core-functions.php:398
609
  msgid "Hours"
610
  msgstr ""
611
 
612
- #: trunk/inc/wpems-core-functions.php:399
613
  msgid "Minutes"
614
  msgstr ""
615
 
616
- #: trunk/inc/wpems-core-functions.php:400
617
  msgid "Seconds"
618
  msgstr ""
619
 
620
- #: trunk/inc/wpems-core-functions.php:403
621
  msgid "Year"
622
  msgstr ""
623
 
624
- #: trunk/inc/wpems-core-functions.php:404
625
  msgid "Month"
626
  msgstr ""
627
 
628
- #: trunk/inc/wpems-core-functions.php:405
629
  msgid "Week"
630
  msgstr ""
631
 
632
- #: trunk/inc/wpems-core-functions.php:406
633
  msgid "Day"
634
  msgstr ""
635
 
636
- #: trunk/inc/wpems-core-functions.php:407
637
  msgid "Hour"
638
  msgstr ""
639
 
640
- #: trunk/inc/wpems-core-functions.php:408
641
  msgid "Minute"
642
  msgstr ""
643
 
644
- #: trunk/inc/wpems-core-functions.php:409
645
  msgid "Second"
646
  msgstr ""
647
 
648
- #: trunk/inc/wpems-core-functions.php:413
649
  msgid "Something went wrong"
650
  msgstr ""
651
 
652
- #: trunk/inc/wpems-core-functions.php:1007
653
- #: trunk/inc/wpems-core-functions.php:1036
654
  #, php-format
655
  msgid "<span class=\"event_booking_status cancelled\">%s</span>"
656
  msgstr ""
657
 
658
- #: trunk/inc/wpems-core-functions.php:1011
659
- #: trunk/inc/wpems-core-functions.php:1037
660
  #, php-format
661
  msgid "<span class=\"event_booking_status pending\">%s</span>"
662
  msgstr ""
663
 
664
- #: trunk/inc/wpems-core-functions.php:1015
665
- #: trunk/inc/wpems-core-functions.php:1038
666
  #, php-format
667
  msgid "<span class=\"event_booking_status processing\">%s</span>"
668
  msgstr ""
669
 
670
- #: trunk/inc/wpems-core-functions.php:1019
671
- #: trunk/inc/wpems-core-functions.php:1039
672
  #, php-format
673
  msgid "<span class=\"event_booking_status completed\">%s</span>"
674
  msgstr ""
675
 
676
- #: trunk/inc/wpems-core-functions.php:1036
677
  msgid "Cancelled"
678
  msgstr ""
679
 
680
- #: trunk/inc/wpems-core-functions.php:1037
681
  msgid "Pending"
682
  msgstr ""
683
 
684
- #: trunk/inc/wpems-core-functions.php:1038
685
  msgid "Processing"
686
  msgstr ""
687
 
688
- #: trunk/inc/wpems-core-functions.php:1039
689
  msgid "Completed"
690
  msgstr ""
691
 
692
- #: trunk/inc/wpems-core-functions.php:1079
693
  msgid "Confirm Password is not match."
694
  msgstr ""
695
 
696
- #: trunk/inc/wpems-core-functions.php:1086
697
- #: trunk/inc/wpems-core-functions.php:1095
698
- #: trunk/inc/wpems-core-functions.php:1097
699
- #: trunk/inc/wpems-core-functions.php:1101
700
- #: trunk/inc/wpems-core-functions.php:1120
701
  msgid "ERROR: "
702
  msgstr ""
703
 
704
- #: trunk/inc/wpems-core-functions.php:1086
705
  msgid "Username is required field."
706
  msgstr ""
707
 
708
- #: trunk/inc/wpems-core-functions.php:1088
709
  msgid "Username is already exists."
710
  msgstr ""
711
 
712
- #: trunk/inc/wpems-core-functions.php:1095
713
  msgid "Please provide a valid email address."
714
  msgstr ""
715
 
716
- #: trunk/inc/wpems-core-functions.php:1097
717
  msgid "An account is already registered with your email address. Please login."
718
  msgstr ""
719
 
720
- #: trunk/inc/wpems-core-functions.php:1101
721
  msgid "Password is required field."
722
  msgstr ""
723
 
724
- #: trunk/inc/wpems-core-functions.php:1120
725
  msgid "Couldn't register."
726
  msgstr ""
727
 
728
- #: trunk/inc/wpems-core-functions.php:1233
729
  msgid "Categories"
730
  msgstr ""
731
 
732
- #: trunk/inc/abstracts/class-wpems-abstract-payment-gateway.php:105
733
  msgid "Payment completed. We will send you email when payment method verify."
734
  msgstr ""
735
 
736
- #: trunk/inc/admin/class-wpems-admin-menu.php:33
737
  msgid "Events Manager"
738
  msgstr ""
739
 
740
- #: trunk/inc/admin/class-wpems-admin-menu.php:39
741
- msgid "TP Event Users"
742
  msgstr ""
743
 
744
- #: trunk/inc/admin/class-wpems-admin-menu.php:39
745
  msgid "Users"
746
  msgstr ""
747
 
748
- #: trunk/inc/admin/class-wpems-admin-menu.php:40
749
- msgid "TP Event Settings"
750
  msgstr ""
751
 
752
- #: trunk/inc/admin/class-wpems-admin-menu.php:40
753
  msgid "Settings"
754
  msgstr ""
755
 
756
- #: trunk/inc/admin/class-wpems-admin-metaboxes.php:24
757
  msgid "Event Settings"
758
  msgstr ""
759
 
760
- #: trunk/inc/admin/class-wpems-admin-metaboxes.php:27
761
  msgid "Booking Information"
762
  msgstr ""
763
 
764
- #: trunk/inc/admin/class-wpems-admin-metaboxes.php:30
765
  msgid "Booking Actions"
766
  msgstr ""
767
 
768
- #: trunk/inc/admin/class-wpems-admin-settings.php:58
769
  msgid "Your settings have been saved."
770
  msgstr ""
771
 
772
- #: trunk/inc/admin/class-wpems-admin-settings.php:93
773
  msgid "Save changes"
774
  msgstr ""
775
 
776
- #: trunk/inc/admin/class-wpems-admin-users.php:22
777
  msgid "user"
778
  msgstr ""
779
 
780
- #: trunk/inc/admin/class-wpems-admin-users.php:23
781
  msgid "users"
782
  msgstr ""
783
 
784
- #: trunk/inc/admin/class-wpems-admin-users.php:69
785
  msgid "View"
786
  msgstr ""
787
 
788
- #: trunk/inc/admin/class-wpems-admin-users.php:80
789
  msgid "No users found."
790
  msgstr ""
791
 
792
- #: trunk/inc/admin/class-wpems-admin-users.php:112
793
- #: trunk/templates/shortcodes/form-login.php:13
794
- #: trunk/templates/shortcodes/form-register.php:12
795
  msgid "Username"
796
  msgstr ""
797
 
798
- #: trunk/inc/admin/class-wpems-admin-users.php:113
 
799
  msgid "Name"
800
  msgstr ""
801
 
802
- #: trunk/inc/admin/class-wpems-admin-users.php:114
803
- #: trunk/templates/shortcodes/form-register.php:17
804
  msgid "Email"
805
  msgstr ""
806
 
807
- #: trunk/inc/admin/class-wpems-admin-users.php:115
808
  msgid "Event Booking"
809
  msgstr ""
810
 
811
- #: trunk/inc/admin/class-wpems-admin-users.php:242
812
  msgid "Event Users"
813
  msgstr ""
814
 
815
- #: trunk/inc/admin/metaboxes/class-wpems-admin-metabox-event.php:27
816
  msgid "Please make sure event time is validate"
817
  msgstr ""
818
 
819
- #: trunk/inc/admin/settings/class-wpems-admin-setting-checkout.php:23
820
  msgid "Checkout"
821
  msgstr ""
822
 
823
- #: trunk/inc/admin/settings/class-wpems-admin-setting-checkout.php:40
824
  msgid "Checkout Process"
825
  msgstr ""
826
 
827
- #: trunk/inc/admin/settings/class-wpems-admin-setting-checkout.php:41
828
  msgid "General options for system"
829
  msgstr ""
830
 
831
- #: trunk/inc/admin/settings/class-wpems-admin-setting-checkout.php:45
832
  msgid "Booking times free event/email"
833
  msgstr ""
834
 
835
- #: trunk/inc/admin/settings/class-wpems-admin-setting-checkout.php:46
836
  msgid "This controls how many time booking free event of an email"
837
  msgstr ""
838
 
839
- #: trunk/inc/admin/settings/class-wpems-admin-setting-checkout.php:49
840
  msgid "Once"
841
  msgstr ""
842
 
843
- #: trunk/inc/admin/settings/class-wpems-admin-setting-checkout.php:50
844
  msgid "Many"
845
  msgstr ""
846
 
847
- #: trunk/inc/admin/settings/class-wpems-admin-setting-checkout.php:56
848
  msgid "Cancel payment status"
849
  msgstr ""
850
 
851
- #: trunk/inc/admin/settings/class-wpems-admin-setting-checkout.php:57
852
  msgid "How long cancel a payment (hour)"
853
  msgstr ""
854
 
855
- #: trunk/inc/admin/settings/class-wpems-admin-setting-checkout.php:77
856
  msgid "Checkout General"
857
  msgstr ""
858
 
859
- #: trunk/inc/admin/settings/class-wpems-admin-setting-emails.php:23
860
  msgid "Emails"
861
  msgstr ""
862
 
863
- #: trunk/inc/admin/settings/class-wpems-admin-setting-emails.php:40
864
  msgid "Email Notifications"
865
  msgstr ""
866
 
867
- #: trunk/inc/admin/settings/class-wpems-admin-setting-emails.php:44
868
  msgid "Event register"
869
  msgstr ""
870
 
871
- #: trunk/inc/admin/settings/class-wpems-admin-setting-emails.php:45
872
- msgid "Send notify when user register event"
873
  msgstr ""
874
 
875
- #: trunk/inc/admin/settings/class-wpems-admin-setting-emails.php:51
876
  msgid "From name"
877
  msgstr ""
878
 
879
- #: trunk/inc/admin/settings/class-wpems-admin-setting-emails.php:59
880
  msgid "Email from"
881
  msgstr ""
882
 
883
- #: trunk/inc/admin/settings/class-wpems-admin-setting-emails.php:67
884
  msgid "Subject"
885
  msgstr ""
886
 
887
- #: trunk/inc/admin/settings/class-wpems-admin-setting-emails.php:68
 
888
  msgid "Register event"
889
  msgstr ""
890
 
891
- #: trunk/inc/admin/settings/class-wpems-admin-setting-emails.php:75
892
  msgid "Account register"
893
  msgstr ""
894
 
895
- #: trunk/inc/admin/settings/class-wpems-admin-setting-emails.php:76
896
  msgid "Send notify when user register account"
897
  msgstr ""
898
 
899
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:23
900
  msgid "General"
901
  msgstr ""
902
 
903
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:41
904
  msgid "General Options"
905
  msgstr ""
906
 
907
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:45
908
  msgid "Event registration"
909
  msgstr ""
910
 
911
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:46
912
  msgid "Allows user register events"
913
  msgstr ""
914
 
915
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:52
916
  msgid "Currency"
917
  msgstr ""
918
 
919
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:53
920
  msgid "This controls what the currency prices"
921
  msgstr ""
922
 
923
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:61
924
  msgid "Currency Position"
925
  msgstr ""
926
 
927
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:62
928
  msgid "This controls the position of the currency symbol"
929
  msgstr ""
930
 
931
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:65
932
  msgid "Left"
933
  msgstr ""
934
 
935
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:66
936
  msgid "Right"
937
  msgstr ""
938
 
939
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:67
940
  msgid "Left with space"
941
  msgstr ""
942
 
943
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:68
944
  msgid "Right with space"
945
  msgstr ""
946
 
947
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:75
948
  msgid "Thousand Separator"
949
  msgstr ""
950
 
951
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:82
952
  msgid "Decimal Separator"
953
  msgstr ""
954
 
955
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:89
956
  msgid "Number of Decimals"
957
  msgstr ""
958
 
959
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:97
960
  msgid "Google Map API Key"
961
  msgstr ""
962
 
963
- #: trunk/inc/admin/settings/class-wpems-admin-setting-general.php:99
964
  msgid ""
965
  "Refer on https://developers.google.com/maps/documentation/javascript/get-api-"
966
  "key#get-an-api-key"
967
  msgstr ""
968
 
969
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:27
970
  msgid "Pages"
971
  msgstr ""
972
 
973
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:47
974
  msgid "Pages Settings"
975
  msgstr ""
976
 
977
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:51
978
  msgid "Register Page"
979
  msgstr ""
980
 
981
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:52
982
  msgid "This controls which the register page"
983
  msgstr ""
984
 
985
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:57
986
  msgid "Login Page"
987
  msgstr ""
988
 
989
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:58
990
  msgid "This controls which the login page"
991
  msgstr ""
992
 
993
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:63
994
- #: trunk/templates/shortcodes/form-login.php:43
995
  msgid "Forgot Password"
996
  msgstr ""
997
 
998
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:64
999
  msgid "This controls which the forgot password page"
1000
  msgstr ""
1001
 
1002
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:69
1003
- #: trunk/templates/shortcodes/reset-password.php:55
1004
  msgid "Reset Password"
1005
  msgstr ""
1006
 
1007
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:70
1008
  msgid "This controls which the reset password page"
1009
  msgstr ""
1010
 
1011
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:75
1012
  msgid "My Account"
1013
  msgstr ""
1014
 
1015
- #: trunk/inc/admin/settings/class-wpems-admin-setting-pages.php:76
1016
  msgid "This controls which the user account page"
1017
  msgstr ""
1018
 
1019
- #: trunk/inc/admin/views/metaboxes/booking-actions.php:17
1020
  msgid "Booking Status"
1021
  msgstr ""
1022
 
1023
- #: trunk/inc/admin/views/metaboxes/booking-actions.php:23
1024
  msgid "Update booking event status"
1025
  msgstr ""
1026
 
1027
- #: trunk/inc/admin/views/metaboxes/booking-actions.php:26
1028
  msgid "Booking Notes"
1029
  msgstr ""
1030
 
1031
- #: trunk/inc/admin/views/metaboxes/booking-details.php:34
1032
  #, php-format
1033
  msgid "Order %s"
1034
  msgstr ""
1035
 
1036
- #: trunk/inc/admin/views/metaboxes/booking-details.php:36
1037
  #, php-format
1038
  msgid "Date %s"
1039
  msgstr ""
1040
 
1041
- #: trunk/inc/admin/views/metaboxes/booking-details.php:45
1042
  msgid "Item"
1043
  msgstr ""
1044
 
1045
- #: trunk/inc/admin/views/metaboxes/booking-details.php:48
1046
- #: trunk/templates/emails/register-event.php:26
 
1047
  msgid "Payment Method"
1048
  msgstr ""
1049
 
1050
- #: trunk/inc/admin/views/metaboxes/booking-details.php:49
1051
  msgid "Amount"
1052
  msgstr ""
1053
 
1054
- #: trunk/inc/admin/views/metaboxes/booking-details.php:58
1055
- #: trunk/templates/emails/register-event.php:37
1056
- #: trunk/templates/shortcodes/user-account.php:38
 
1057
  msgid "No payment"
1058
  msgstr ""
1059
 
1060
- #: trunk/inc/admin/views/metaboxes/booking-details.php:64
1061
  msgid "Sub Total"
1062
  msgstr ""
1063
 
1064
- #: trunk/inc/admin/views/metaboxes/booking-details.php:68
1065
  msgid "Total"
1066
  msgstr ""
1067
 
1068
- #: trunk/inc/admin/views/metaboxes/event-settings.php:41
1069
  msgid "Set 0 to make it becomes free event"
1070
  msgstr ""
1071
 
1072
- #: trunk/inc/admin/views/metaboxes/event-settings.php:47
1073
  msgid "Start/End"
1074
  msgstr ""
1075
 
1076
- #: trunk/inc/admin/views/metaboxes/event-settings.php:54
1077
  msgid "to"
1078
  msgstr ""
1079
 
1080
- #: trunk/inc/admin/views/metaboxes/event-settings.php:65
1081
  msgid "Location"
1082
  msgstr ""
1083
 
1084
- #: trunk/inc/admin/views/metaboxes/event-settings.php:70
1085
  msgid "You need set up Google Map API Key to show map."
1086
  msgstr ""
1087
 
1088
- #: trunk/inc/admin/views/metaboxes/event-settings.php:71
1089
  msgid "Set up here"
1090
  msgstr ""
1091
 
1092
- #: trunk/inc/admin/views/metaboxes/event-settings.php:77
1093
  msgid "Shortcode"
1094
  msgstr ""
1095
 
1096
- #: trunk/inc/admin/views/settings/select-page.php:25
1097
  msgid "Select Page"
1098
  msgstr ""
1099
 
1100
- #: trunk/inc/emails/class-wpems-register-event.php:25
1101
  #, php-format
1102
  msgid "Error %s booking ID"
1103
  msgstr ""
1104
 
1105
- #: trunk/inc/emails/class-wpems-register-event.php:37
1106
  msgid "User is not exists!"
1107
  msgstr ""
1108
 
1109
- #: trunk/inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:25
1110
  msgid "PayPal"
1111
  msgstr ""
1112
 
1113
- #: trunk/inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:68
1114
  msgid ""
1115
  "Payment is completed. We will send you email when payment status is completed"
1116
  msgstr ""
1117
 
1118
- #: trunk/inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:70
1119
  msgid "Booking is cancel."
1120
  msgstr ""
1121
 
1122
- #: trunk/inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:139
1123
  msgid "Paypal Settings"
1124
  msgstr ""
1125
 
1126
- #: trunk/inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:140
1127
  msgid "Make payment via Paypal"
1128
  msgstr ""
1129
 
1130
- #: trunk/inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:144
1131
  msgid "Enable"
1132
  msgstr ""
1133
 
1134
- #: trunk/inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:151
1135
  msgid "Paypal email"
1136
  msgstr ""
1137
 
1138
- #: trunk/inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:158
1139
  msgid "Sandbox mode"
1140
  msgstr ""
1141
 
1142
- #: trunk/inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:165
1143
  msgid "Paypal Sandbox email"
1144
  msgstr ""
1145
 
1146
- #: trunk/inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:200
1147
  msgid "Booking ID is not exists!"
1148
  msgstr ""
1149
 
1150
- #: trunk/inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:242
1151
  msgid ""
1152
  "Email Business PayPal is invalid. Please contact administrator to setup "
1153
  "PayPal email."
1154
  msgstr ""
1155
 
1156
- #: trunk/inc/widgets/class-wpems-widget-countdown.php:14
1157
  msgid "WP Event Countdown"
1158
  msgstr ""
1159
 
1160
- #: trunk/inc/widgets/class-wpems-widget-countdown.php:15
1161
  msgid "Countdown timer for event"
1162
  msgstr ""
1163
 
1164
- #: trunk/inc/widgets/class-wpems-widget-countdown.php:71
1165
  msgid "Title:"
1166
  msgstr ""
1167
 
1168
- #: trunk/inc/widgets/class-wpems-widget-countdown.php:75
1169
  msgid "Carousel Slide:"
1170
  msgstr ""
1171
 
1172
- #: trunk/inc/widgets/class-wpems-widget-countdown.php:79
1173
  msgid "Navigation:"
1174
  msgstr ""
1175
 
1176
- #: trunk/inc/widgets/class-wpems-widget-countdown.php:83
1177
  msgid "Pagiantion:"
1178
  msgstr ""
1179
 
1180
- #: trunk/inc/widgets/class-wpems-widget-countdown.php:87
1181
  msgid "Events:"
1182
  msgstr ""
1183
 
1184
- #: trunk/templates/emails/register-event.php:11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1185
  #, php-format
1186
  msgid "Hello %s!"
1187
  msgstr ""
1188
 
1189
- #: trunk/templates/emails/register-event.php:14
1190
  #, php-format
1191
  msgid ""
1192
- "You have been registered successful our <a href=\"%s\">event</a>. Please go "
1193
  "to the following link for more details.<a href=\"%s\">Your account.</a>"
1194
  msgstr ""
1195
 
1196
- #: trunk/templates/emails/register-event.php:23
1197
- #: trunk/templates/shortcodes/user-account.php:22
1198
- msgid "Type"
1199
- msgstr ""
1200
-
1201
- #: trunk/templates/loop/booking-form.php:41
1202
  msgid ""
1203
  "There are no payment gateway available. Please contact administrator to "
1204
  "setup it."
1205
  msgstr ""
1206
 
1207
- #: trunk/templates/loop/booking-form.php:50
1208
- #: trunk/templates/loop/register.php:35
1209
  msgid "Register Now"
1210
  msgstr ""
1211
 
1212
- #: trunk/templates/loop/countdown.php:16
1213
  msgid "This event has expired"
1214
  msgstr ""
1215
 
1216
- #: trunk/templates/loop/excerpt.php:12
1217
  msgid "View Detail"
1218
  msgstr ""
1219
 
1220
- #: trunk/templates/loop/register.php:22
1221
  msgid "Total Slot:"
1222
  msgstr ""
1223
 
1224
- #: trunk/templates/loop/register.php:26
1225
  msgid "Booked Slot:"
1226
  msgstr ""
1227
 
1228
- #: trunk/templates/loop/register.php:30
1229
  msgid "Cost:"
1230
  msgstr ""
1231
 
1232
- #: trunk/templates/shortcodes/event-countdown.php:26
 
 
 
 
 
 
 
 
 
1233
  msgid "Invalid Event ID"
1234
  msgstr ""
1235
 
1236
- #: trunk/templates/shortcodes/forgot-password.php:20
1237
  msgid ""
1238
  "Please enter your username or email address. You will receive a link to "
1239
  "create a new password via email."
1240
  msgstr ""
1241
 
1242
- #: trunk/templates/shortcodes/forgot-password.php:23
1243
  msgid "Username or Email:"
1244
  msgstr ""
1245
 
1246
- #: trunk/templates/shortcodes/forgot-password.php:36
1247
  msgid "Get New Password"
1248
  msgstr ""
1249
 
1250
- #: trunk/templates/shortcodes/forgot-password.php:43
1251
- #: trunk/templates/shortcodes/form-login.php:34
1252
  msgid "Login"
1253
  msgstr ""
1254
 
1255
- #: trunk/templates/shortcodes/forgot-password.php:48
1256
  msgid "Create new user"
1257
  msgstr ""
1258
 
1259
- #: trunk/templates/shortcodes/form-login.php:18
1260
- #: trunk/templates/shortcodes/form-register.php:22
1261
- #: trunk/templates/shortcodes/reset-password.php:19
1262
  msgid "Password"
1263
  msgstr ""
1264
 
1265
- #: trunk/templates/shortcodes/form-login.php:26
1266
  msgid "Remember me"
1267
  msgstr ""
1268
 
1269
- #: trunk/templates/shortcodes/form-login.php:41
1270
- #: trunk/templates/shortcodes/form-register.php:43
1271
- #: trunk/templates/shortcodes/reset-password.php:65
1272
  msgid "Register"
1273
  msgstr ""
1274
 
1275
- #: trunk/templates/shortcodes/form-register.php:27
1276
- #: trunk/templates/shortcodes/reset-password.php:31
1277
  msgid "Confirm Password"
1278
  msgstr ""
1279
 
1280
- #: trunk/templates/shortcodes/form-register.php:36
1281
  msgid "Registration confirmation will be emailed to you."
1282
  msgstr ""
1283
 
1284
- #: trunk/templates/shortcodes/form-register.php:49
1285
- #: trunk/templates/shortcodes/reset-password.php:61
1286
  msgid "Log in"
1287
  msgstr ""
1288
 
1289
- #: trunk/templates/shortcodes/form-register.php:50
1290
  msgid "Password Lost and Found"
1291
  msgstr ""
1292
 
1293
- #: trunk/templates/shortcodes/form-register.php:50
1294
  msgid "Forgot password?"
1295
  msgstr ""
1296
 
1297
- #: trunk/templates/shortcodes/register-completed.php:9
1298
  #, php-format
1299
  msgid ""
1300
  "You have successfully registered to <strong>%s</strong>. We have emailed "
1301
  "your password to <i>%s</i> the email address you entered."
1302
  msgstr ""
1303
 
1304
- #: trunk/templates/shortcodes/register-error.php:7
1305
  msgid "Oops! Something went wrong."
1306
  msgstr ""
1307
 
1308
- #: trunk/templates/shortcodes/user-account.php:11
1309
  #, php-format
1310
  msgid "You are not <a href=\"%s\">login</a>"
1311
  msgstr ""
1312
 
1313
- #: trunk/templates/shortcodes/user-account.php:20
1314
  msgid "Booking ID"
1315
  msgstr ""
1316
 
1317
- #: trunk/templates/shortcodes/user-account.php:25
1318
  msgid "Method"
1319
  msgstr ""
1320
 
1321
- #: trunk/templates/shortcodes/user-account.php:56
1322
- #: trunk/templates/shortcodes/user-account.php:68
1323
  msgid "« Previous"
1324
  msgstr ""
1325
 
1326
- #: trunk/templates/shortcodes/user-account.php:57
1327
- #: trunk/templates/shortcodes/user-account.php:69
1328
  msgid "Next »"
1329
  msgstr ""
1330
 
1331
- #: trunk/templates/shortcodes/user-cannot-register.php:7
1332
  msgid "User registration is currently not allowed."
1333
  msgstr ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2018-04-16 11:20+0700\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
18
  "Content-Transfer-Encoding: 8bit\n"
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
 
21
+ #: inc/class-wpems-ajax.php:45
22
  msgid "Remove admin notice successful"
23
  msgstr ""
24
 
25
+ #: inc/class-wpems-ajax.php:62
26
  msgid "Event not found."
27
  msgstr ""
28
 
29
+ #: inc/class-wpems-ajax.php:66
30
  msgid "You must login before register "
31
  msgstr ""
32
 
33
+ #: inc/class-wpems-ajax.php:73
34
  msgid "has been expired"
35
  msgstr ""
36
 
37
+ #: inc/class-wpems-ajax.php:75
38
  msgid "You have registered this event before"
39
  msgstr ""
40
 
41
+ #: inc/class-wpems-ajax.php:77
42
  msgid "The event is full, the registration is closed"
43
  msgstr ""
44
 
45
+ #: inc/class-wpems-ajax.php:99 inc/class-wpems-ajax.php:103
46
  msgid "Invalid request"
47
  msgstr ""
48
 
49
+ #: inc/class-wpems-ajax.php:108
50
  msgid "Invalid event request"
51
  msgstr ""
52
 
53
+ #: inc/class-wpems-ajax.php:115
54
  msgid "Quantity must integer"
55
  msgstr ""
56
 
57
+ #: inc/class-wpems-ajax.php:129
58
  msgid "You are registered this event."
59
  msgstr ""
60
 
61
+ #: inc/class-wpems-ajax.php:150
62
  msgid "is not ready. Please contact administrator to setup payment gateways"
63
  msgstr ""
64
 
65
+ #: inc/class-wpems-ajax.php:173
66
  #, php-format
67
  msgid ""
68
  "Book ID <strong>%s</strong> completed! We'll send mail to <strong>%s</"
69
  "strong> when it is approve."
70
  msgstr ""
71
 
72
+ #: inc/class-wpems-ajax.php:188
73
  msgid "Payment method is not available"
74
  msgstr ""
75
 
76
+ #: inc/class-wpems-ajax.php:213
77
  #, php-format
78
  msgid "You Must <a href=\"%s\">Login</a>"
79
  msgstr ""
80
 
81
+ #: inc/class-wpems-booking.php:63
82
  #, php-format
83
  msgid "%s booking event %s"
84
  msgstr ""
85
 
86
+ #: inc/class-wpems-booking.php:64 inc/class-wpems-booking.php:65
87
  #, php-format
88
  msgid "%s booking event %s with %s slot"
89
  msgstr ""
90
 
91
+ #: inc/class-wpems-booking.php:88
92
  #, php-format
93
  msgid "Booking ID #%s is not exists."
94
  msgstr ""
95
 
96
+ #: inc/class-wpems-install.php:121
97
  msgctxt "Page slug"
98
  msgid "user-register"
99
  msgstr ""
100
 
101
+ #: inc/class-wpems-install.php:122
102
  msgctxt "Page title"
103
  msgid "User Register"
104
  msgstr ""
105
 
106
+ #: inc/class-wpems-install.php:126
107
  msgctxt "Page slug"
108
  msgid "user-login"
109
  msgstr ""
110
 
111
+ #: inc/class-wpems-install.php:127
112
  msgctxt "Page title"
113
  msgid "User Login"
114
  msgstr ""
115
 
116
+ #: inc/class-wpems-install.php:131
117
  msgctxt "Page slug"
118
  msgid "forgot-password"
119
  msgstr ""
120
 
121
+ #: inc/class-wpems-install.php:132
122
  msgctxt "Page title"
123
  msgid "Forgot Password"
124
  msgstr ""
125
 
126
+ #: inc/class-wpems-install.php:136
127
  msgctxt "Page slug"
128
  msgid "reset-password"
129
  msgstr ""
130
 
131
+ #: inc/class-wpems-install.php:137
132
  msgctxt "Page title"
133
  msgid "Reset Password"
134
  msgstr ""
135
 
136
+ #: inc/class-wpems-install.php:141
137
  msgctxt "Page slug"
138
  msgid "user-account"
139
  msgstr ""
140
 
141
+ #: inc/class-wpems-install.php:142
142
  msgctxt "Page title"
143
  msgid "User Account"
144
  msgstr ""
145
 
146
+ #: inc/class-wpems-post-types.php:47
147
  msgctxt "post type general name"
148
  msgid "Events"
149
  msgstr ""
150
 
151
+ #: inc/class-wpems-post-types.php:48
152
  msgctxt "post type singular name"
153
  msgid "Event"
154
  msgstr ""
155
 
156
+ #: inc/class-wpems-post-types.php:49
157
  msgctxt "admin menu"
158
  msgid "Events"
159
  msgstr ""
160
 
161
+ #: inc/class-wpems-post-types.php:50
162
  msgctxt "add new on admin bar"
163
  msgid "Event"
164
  msgstr ""
165
 
166
+ #: inc/class-wpems-post-types.php:51
167
  msgctxt "event"
168
  msgid "Add New"
169
  msgstr ""
170
 
171
+ #: inc/class-wpems-post-types.php:52
172
  msgid "Add New Event"
173
  msgstr ""
174
 
175
+ #: inc/class-wpems-post-types.php:53
176
  msgid "New Event"
177
  msgstr ""
178
 
179
+ #: inc/class-wpems-post-types.php:54
180
  msgid "Edit Event"
181
  msgstr ""
182
 
183
+ #: inc/class-wpems-post-types.php:55
184
  msgid "View Event"
185
  msgstr ""
186
 
187
+ #: inc/class-wpems-post-types.php:56 inc/wpems-core-functions.php:1287
188
+ #: templates/shortcodes/user-account.php:21
 
189
  msgid "Events"
190
  msgstr ""
191
 
192
+ #: inc/class-wpems-post-types.php:57
193
  msgid "Search Events"
194
  msgstr ""
195
 
196
+ #: inc/class-wpems-post-types.php:58
197
  msgid "Parent Events:"
198
  msgstr ""
199
 
200
+ #: inc/class-wpems-post-types.php:59
201
  msgid "No events found."
202
  msgstr ""
203
 
204
+ #: inc/class-wpems-post-types.php:60
205
  msgid "No events found in Trash."
206
  msgstr ""
207
 
208
+ #: inc/class-wpems-post-types.php:65
209
  msgid "Event post type."
210
  msgstr ""
211
 
212
+ #: inc/class-wpems-post-types.php:71
213
  msgctxt "URL slug"
214
  msgid "events"
215
  msgstr ""
216
 
217
+ #: inc/class-wpems-post-types.php:92
218
  msgctxt "post type general name"
219
  msgid "Bookings"
220
  msgstr ""
221
 
222
+ #: inc/class-wpems-post-types.php:93
223
  msgctxt "post type singular name"
224
  msgid "Booking"
225
  msgstr ""
226
 
227
+ #: inc/class-wpems-post-types.php:94
228
  msgctxt "admin menu"
229
  msgid "Bookings"
230
  msgstr ""
231
 
232
+ #: inc/class-wpems-post-types.php:95
233
  msgctxt "add new on admin bar"
234
  msgid "Booking"
235
  msgstr ""
236
 
237
+ #: inc/class-wpems-post-types.php:96
238
  msgctxt "book"
239
  msgid "Add New"
240
  msgstr ""
241
 
242
+ #: inc/class-wpems-post-types.php:97
243
  msgid "Add New Booking"
244
  msgstr ""
245
 
246
+ #: inc/class-wpems-post-types.php:98
247
  msgid "New Booking"
248
  msgstr ""
249
 
250
+ #: inc/class-wpems-post-types.php:99
251
+ #: inc/admin/views/metaboxes/booking-details.php:40
252
  msgid "Booking Details"
253
  msgstr ""
254
 
255
+ #: inc/class-wpems-post-types.php:100
256
  msgid "View Booking"
257
  msgstr ""
258
 
259
+ #: inc/class-wpems-post-types.php:101
260
  msgid "Bookings"
261
  msgstr ""
262
 
263
+ #: inc/class-wpems-post-types.php:102
264
  msgid "Search Books"
265
  msgstr ""
266
 
267
+ #: inc/class-wpems-post-types.php:103
268
  msgid "Parent Books:"
269
  msgstr ""
270
 
271
+ #: inc/class-wpems-post-types.php:104
272
  msgid "No books found."
273
  msgstr ""
274
 
275
+ #: inc/class-wpems-post-types.php:105
276
  msgid "No books found in Trash."
277
  msgstr ""
278
 
279
+ #: inc/class-wpems-post-types.php:110
280
  msgid "Description."
281
  msgstr ""
282
 
283
+ #: inc/class-wpems-post-types.php:117
284
  msgctxt "URL slug"
285
  msgid "event-book"
286
  msgstr ""
287
 
288
+ #: inc/class-wpems-post-types.php:139
289
  msgctxt "taxonomy general name"
290
  msgid "Event Categories"
291
  msgstr ""
292
 
293
+ #: inc/class-wpems-post-types.php:140
294
  msgctxt "taxonomy singular name"
295
  msgid "Event Category"
296
  msgstr ""
297
 
298
+ #: inc/class-wpems-post-types.php:141
299
  msgid "Search Categories"
300
  msgstr ""
301
 
302
+ #: inc/class-wpems-post-types.php:142
303
  msgid "All Categories"
304
  msgstr ""
305
 
306
+ #: inc/class-wpems-post-types.php:143
307
  msgid "Parent Category"
308
  msgstr ""
309
 
310
+ #: inc/class-wpems-post-types.php:144
311
  msgid "Parent Category:"
312
  msgstr ""
313
 
314
+ #: inc/class-wpems-post-types.php:145
315
  msgid "Edit Category"
316
  msgstr ""
317
 
318
+ #: inc/class-wpems-post-types.php:146
319
  msgid "Update Category"
320
  msgstr ""
321
 
322
+ #: inc/class-wpems-post-types.php:147
323
  msgid "Add New Category"
324
  msgstr ""
325
 
326
+ #: inc/class-wpems-post-types.php:148
327
  msgid "New Category Name"
328
  msgstr ""
329
 
330
+ #: inc/class-wpems-post-types.php:149
331
  msgid "Category"
332
  msgstr ""
333
 
334
+ #: inc/class-wpems-post-types.php:171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
  msgctxt "Booking status"
336
  msgid "Cancelled"
337
  msgstr ""
338
 
339
+ #: inc/class-wpems-post-types.php:176
340
  #, php-format
341
  msgid "Cancelled <span class=\"count\">(%s)</span>"
342
  msgid_plural "Cancelled <span class=\"count\">(%s)</span>"
343
  msgstr[0] ""
344
  msgstr[1] ""
345
 
346
+ #: inc/class-wpems-post-types.php:180
347
  msgctxt "Booking status"
348
  msgid "Pending"
349
  msgstr ""
350
 
351
+ #: inc/class-wpems-post-types.php:185
352
  #, php-format
353
  msgid "Pending <span class=\"count\">(%s)</span>"
354
  msgid_plural "Pending <span class=\"count\">(%s)</span>"
355
  msgstr[0] ""
356
  msgstr[1] ""
357
 
358
+ #: inc/class-wpems-post-types.php:189
359
  msgctxt "Booking status"
360
  msgid "Processing"
361
  msgstr ""
362
 
363
+ #: inc/class-wpems-post-types.php:194
364
  #, php-format
365
  msgid "Processing <span class=\"count\">(%s)</span>"
366
  msgid_plural "Processing <span class=\"count\">(%s)</span>"
367
  msgstr[0] ""
368
  msgstr[1] ""
369
 
370
+ #: inc/class-wpems-post-types.php:198
371
  msgctxt "Booking status"
372
  msgid "Completed"
373
  msgstr ""
374
 
375
+ #: inc/class-wpems-post-types.php:203
376
  #, php-format
377
  msgid "Completed <span class=\"count\">(%s)</span>"
378
  msgid_plural "Completed <span class=\"count\">(%s)</span>"
379
  msgstr[0] ""
380
  msgstr[1] ""
381
 
382
+ #: inc/class-wpems-post-types.php:217
383
  msgid "Start"
384
  msgstr ""
385
 
386
+ #: inc/class-wpems-post-types.php:218
387
  msgid "End"
388
  msgstr ""
389
 
390
+ #: inc/class-wpems-post-types.php:219 inc/class-wpems-post-types.php:304
391
+ #: templates/emails/register-admin-event.php:42
392
+ #: templates/emails/register-event.php:43
393
+ #: templates/shortcodes/user-account.php:26
394
  msgid "Status"
395
  msgstr ""
396
 
397
+ #: inc/class-wpems-post-types.php:220
398
+ #: inc/admin/views/metaboxes/event-settings.php:37
399
  msgid "Price"
400
  msgstr ""
401
 
402
+ #: inc/class-wpems-post-types.php:221
403
  msgid "Booked / Total"
404
  msgstr ""
405
 
406
+ #: inc/class-wpems-post-types.php:274 inc/class-wpems-post-types.php:335
407
+ #: templates/emails/register-admin-event.php:50
408
+ #: templates/emails/register-event.php:50 templates/loop/register.php:31
409
+ #: templates/shortcodes/user-account.php:35
 
410
  msgid "Free"
411
  msgstr ""
412
 
413
+ #: inc/class-wpems-post-types.php:276
414
  #, php-format
415
  msgid "<span class=\"event_auth_event_type\">%s/%s</span>"
416
  msgstr ""
417
 
418
+ #: inc/class-wpems-post-types.php:276
419
  msgid "slot"
420
  msgstr ""
421
 
422
+ #: inc/class-wpems-post-types.php:280
423
  msgid "Unlimited"
424
  msgstr ""
425
 
426
+ #: inc/class-wpems-post-types.php:297
427
  msgid ""
428
  "<label class=\"screen-reader-text __web-inspector-hide-shortcut__\" for=\"cb-"
429
  "select-all-1\">Select All</label><input id=\"cb-select-all-1\" type="
430
  "\"checkbox\">"
431
  msgstr ""
432
 
433
+ #: inc/class-wpems-post-types.php:298
434
+ #: templates/emails/register-admin-event.php:35
435
+ #: templates/emails/register-event.php:37
436
  msgid "ID"
437
  msgstr ""
438
 
439
+ #: inc/class-wpems-post-types.php:299
440
+ #: templates/emails/register-admin-event.php:37
441
+ #: templates/emails/register-event.php:38
442
  msgid "Event"
443
  msgstr ""
444
 
445
+ #: inc/class-wpems-post-types.php:300
446
  msgid "User"
447
  msgstr ""
448
 
449
+ #: inc/class-wpems-post-types.php:301
450
  msgid "Date"
451
  msgstr ""
452
 
453
+ #: inc/class-wpems-post-types.php:302
454
+ #: inc/admin/views/metaboxes/booking-details.php:46
455
+ #: templates/emails/register-admin-event.php:40
456
+ #: templates/emails/register-admin-event.php:50
457
+ #: templates/emails/register-event.php:41
458
+ #: templates/emails/register-event.php:50
459
+ #: templates/shortcodes/user-account.php:23
460
+ #: templates/shortcodes/user-account.php:35
461
  msgid "Cost"
462
  msgstr ""
463
 
464
+ #: inc/class-wpems-post-types.php:303
465
+ #: inc/admin/views/metaboxes/booking-details.php:47
466
+ #: inc/admin/views/metaboxes/event-settings.php:31
467
+ #: templates/emails/register-admin-event.php:39
468
+ #: templates/emails/register-event.php:40 templates/loop/booking-form.php:21
469
+ #: templates/shortcodes/user-account.php:24
470
  msgid "Quantity"
471
  msgstr ""
472
 
473
+ #: inc/class-wpems-post-types.php:327
474
  #, php-format
475
  msgid "<a href=\"%s\">%s</a>"
476
  msgstr ""
477
 
478
+ #: inc/class-wpems-post-types.php:398 inc/class-wpems-post-types.php:401
479
+ #: inc/class-wpems-post-types.php:404
 
480
  msgid "Event updated."
481
  msgstr ""
482
 
483
+ #: inc/class-wpems-post-types.php:399
484
  msgid "Custom field updated."
485
  msgstr ""
486
 
487
+ #: inc/class-wpems-post-types.php:400
488
  msgid "Custom field deleted."
489
  msgstr ""
490
 
491
+ #: inc/class-wpems-post-types.php:403
492
  #, php-format
493
  msgid "Book restored to revision from %s"
494
  msgstr ""
495
 
496
+ #: inc/class-wpems-post-types.php:405
497
  msgid "Event saved."
498
  msgstr ""
499
 
500
+ #: inc/class-wpems-post-types.php:406
501
  msgid "Event submitted."
502
  msgstr ""
503
 
504
+ #: inc/class-wpems-post-types.php:408
505
  #, php-format
506
  msgid "Event scheduled for: <strong>%1$s</strong>."
507
  msgstr ""
508
 
509
+ #: inc/class-wpems-post-types.php:410
510
  msgid "M j, Y @ G:i"
511
  msgstr ""
512
 
513
+ #: inc/class-wpems-post-types.php:412
514
  msgid "Event draft updated."
515
  msgstr ""
516
 
517
+ #: inc/class-wpems-post-types.php:418
518
  msgid "View event"
519
  msgstr ""
520
 
521
+ #: inc/class-wpems-post-types.php:424
522
  msgid "Preview event"
523
  msgstr ""
524
 
525
+ #: inc/class-wpems-shortcodes.php:179 inc/class-wpems-shortcodes.php:211
 
526
  msgid "Check your email for a link to reset your password."
527
  msgstr ""
528
 
529
+ #: inc/class-wpems-user-process.php:48
530
  msgid "You have been sign out!"
531
  msgstr ""
532
 
533
+ #: inc/class-wpems-user-process.php:138 inc/class-wpems-user-process.php:142
534
+ #: inc/class-wpems-user-process.php:146 inc/class-wpems-user-process.php:155
 
 
535
  msgid "ERROR"
536
  msgstr ""
537
 
538
+ #: inc/class-wpems-user-process.php:142
539
  msgid "Username is required."
540
  msgstr ""
541
 
542
+ #: inc/class-wpems-user-process.php:146
543
  msgid "Password is required."
544
  msgstr ""
545
 
546
+ #: inc/class-wpems-user-process.php:155
547
  msgid "A user could not be found with this email address."
548
  msgstr ""
549
 
550
+ #: inc/class-wpems-user-process.php:177
551
  msgid "You have logged in"
552
  msgstr ""
553
 
554
+ #: inc/wpems-core-functions.php:402
555
  msgid "Years"
556
  msgstr ""
557
 
558
+ #: inc/wpems-core-functions.php:403
559
  msgid "Months"
560
  msgstr ""
561
 
562
+ #: inc/wpems-core-functions.php:404
563
  msgid "Weeks"
564
  msgstr ""
565
 
566
+ #: inc/wpems-core-functions.php:405
567
  msgid "Days"
568
  msgstr ""
569
 
570
+ #: inc/wpems-core-functions.php:406
571
  msgid "Hours"
572
  msgstr ""
573
 
574
+ #: inc/wpems-core-functions.php:407
575
  msgid "Minutes"
576
  msgstr ""
577
 
578
+ #: inc/wpems-core-functions.php:408
579
  msgid "Seconds"
580
  msgstr ""
581
 
582
+ #: inc/wpems-core-functions.php:411
583
  msgid "Year"
584
  msgstr ""
585
 
586
+ #: inc/wpems-core-functions.php:412
587
  msgid "Month"
588
  msgstr ""
589
 
590
+ #: inc/wpems-core-functions.php:413
591
  msgid "Week"
592
  msgstr ""
593
 
594
+ #: inc/wpems-core-functions.php:414
595
  msgid "Day"
596
  msgstr ""
597
 
598
+ #: inc/wpems-core-functions.php:415
599
  msgid "Hour"
600
  msgstr ""
601
 
602
+ #: inc/wpems-core-functions.php:416
603
  msgid "Minute"
604
  msgstr ""
605
 
606
+ #: inc/wpems-core-functions.php:417
607
  msgid "Second"
608
  msgstr ""
609
 
610
+ #: inc/wpems-core-functions.php:421
611
  msgid "Something went wrong"
612
  msgstr ""
613
 
614
+ #: inc/wpems-core-functions.php:1029 inc/wpems-core-functions.php:1058
 
615
  #, php-format
616
  msgid "<span class=\"event_booking_status cancelled\">%s</span>"
617
  msgstr ""
618
 
619
+ #: inc/wpems-core-functions.php:1033 inc/wpems-core-functions.php:1059
 
620
  #, php-format
621
  msgid "<span class=\"event_booking_status pending\">%s</span>"
622
  msgstr ""
623
 
624
+ #: inc/wpems-core-functions.php:1037 inc/wpems-core-functions.php:1060
 
625
  #, php-format
626
  msgid "<span class=\"event_booking_status processing\">%s</span>"
627
  msgstr ""
628
 
629
+ #: inc/wpems-core-functions.php:1041 inc/wpems-core-functions.php:1061
 
630
  #, php-format
631
  msgid "<span class=\"event_booking_status completed\">%s</span>"
632
  msgstr ""
633
 
634
+ #: inc/wpems-core-functions.php:1058
635
  msgid "Cancelled"
636
  msgstr ""
637
 
638
+ #: inc/wpems-core-functions.php:1059
639
  msgid "Pending"
640
  msgstr ""
641
 
642
+ #: inc/wpems-core-functions.php:1060
643
  msgid "Processing"
644
  msgstr ""
645
 
646
+ #: inc/wpems-core-functions.php:1061
647
  msgid "Completed"
648
  msgstr ""
649
 
650
+ #: inc/wpems-core-functions.php:1101
651
  msgid "Confirm Password is not match."
652
  msgstr ""
653
 
654
+ #: inc/wpems-core-functions.php:1108 inc/wpems-core-functions.php:1117
655
+ #: inc/wpems-core-functions.php:1119 inc/wpems-core-functions.php:1123
656
+ #: inc/wpems-core-functions.php:1142
 
 
657
  msgid "ERROR: "
658
  msgstr ""
659
 
660
+ #: inc/wpems-core-functions.php:1108
661
  msgid "Username is required field."
662
  msgstr ""
663
 
664
+ #: inc/wpems-core-functions.php:1110
665
  msgid "Username is already exists."
666
  msgstr ""
667
 
668
+ #: inc/wpems-core-functions.php:1117
669
  msgid "Please provide a valid email address."
670
  msgstr ""
671
 
672
+ #: inc/wpems-core-functions.php:1119
673
  msgid "An account is already registered with your email address. Please login."
674
  msgstr ""
675
 
676
+ #: inc/wpems-core-functions.php:1123
677
  msgid "Password is required field."
678
  msgstr ""
679
 
680
+ #: inc/wpems-core-functions.php:1142
681
  msgid "Couldn't register."
682
  msgstr ""
683
 
684
+ #: inc/wpems-core-functions.php:1292
685
  msgid "Categories"
686
  msgstr ""
687
 
688
+ #: inc/abstracts/class-wpems-abstract-payment-gateway.php:105
689
  msgid "Payment completed. We will send you email when payment method verify."
690
  msgstr ""
691
 
692
+ #: inc/admin/class-wpems-admin-menu.php:33
693
  msgid "Events Manager"
694
  msgstr ""
695
 
696
+ #: inc/admin/class-wpems-admin-menu.php:39
697
+ msgid "WP Event Users"
698
  msgstr ""
699
 
700
+ #: inc/admin/class-wpems-admin-menu.php:39
701
  msgid "Users"
702
  msgstr ""
703
 
704
+ #: inc/admin/class-wpems-admin-menu.php:40
705
+ msgid "WP Event Settings"
706
  msgstr ""
707
 
708
+ #: inc/admin/class-wpems-admin-menu.php:40
709
  msgid "Settings"
710
  msgstr ""
711
 
712
+ #: inc/admin/class-wpems-admin-metaboxes.php:24
713
  msgid "Event Settings"
714
  msgstr ""
715
 
716
+ #: inc/admin/class-wpems-admin-metaboxes.php:27
717
  msgid "Booking Information"
718
  msgstr ""
719
 
720
+ #: inc/admin/class-wpems-admin-metaboxes.php:30
721
  msgid "Booking Actions"
722
  msgstr ""
723
 
724
+ #: inc/admin/class-wpems-admin-settings.php:58
725
  msgid "Your settings have been saved."
726
  msgstr ""
727
 
728
+ #: inc/admin/class-wpems-admin-settings.php:93
729
  msgid "Save changes"
730
  msgstr ""
731
 
732
+ #: inc/admin/class-wpems-admin-users.php:22
733
  msgid "user"
734
  msgstr ""
735
 
736
+ #: inc/admin/class-wpems-admin-users.php:23
737
  msgid "users"
738
  msgstr ""
739
 
740
+ #: inc/admin/class-wpems-admin-users.php:69
741
  msgid "View"
742
  msgstr ""
743
 
744
+ #: inc/admin/class-wpems-admin-users.php:80
745
  msgid "No users found."
746
  msgstr ""
747
 
748
+ #: inc/admin/class-wpems-admin-users.php:112
749
+ #: templates/shortcodes/form-login.php:13
750
+ #: templates/shortcodes/form-register.php:12
751
  msgid "Username"
752
  msgstr ""
753
 
754
+ #: inc/admin/class-wpems-admin-users.php:113
755
+ #: templates/emails/register-admin-event.php:36
756
  msgid "Name"
757
  msgstr ""
758
 
759
+ #: inc/admin/class-wpems-admin-users.php:114
760
+ #: templates/shortcodes/form-register.php:17
761
  msgid "Email"
762
  msgstr ""
763
 
764
+ #: inc/admin/class-wpems-admin-users.php:115
765
  msgid "Event Booking"
766
  msgstr ""
767
 
768
+ #: inc/admin/class-wpems-admin-users.php:242
769
  msgid "Event Users"
770
  msgstr ""
771
 
772
+ #: inc/admin/metaboxes/class-wpems-admin-metabox-event.php:28
773
  msgid "Please make sure event time is validate"
774
  msgstr ""
775
 
776
+ #: inc/admin/settings/class-wpems-admin-setting-checkout.php:23
777
  msgid "Checkout"
778
  msgstr ""
779
 
780
+ #: inc/admin/settings/class-wpems-admin-setting-checkout.php:40
781
  msgid "Checkout Process"
782
  msgstr ""
783
 
784
+ #: inc/admin/settings/class-wpems-admin-setting-checkout.php:41
785
  msgid "General options for system"
786
  msgstr ""
787
 
788
+ #: inc/admin/settings/class-wpems-admin-setting-checkout.php:45
789
  msgid "Booking times free event/email"
790
  msgstr ""
791
 
792
+ #: inc/admin/settings/class-wpems-admin-setting-checkout.php:46
793
  msgid "This controls how many time booking free event of an email"
794
  msgstr ""
795
 
796
+ #: inc/admin/settings/class-wpems-admin-setting-checkout.php:49
797
  msgid "Once"
798
  msgstr ""
799
 
800
+ #: inc/admin/settings/class-wpems-admin-setting-checkout.php:50
801
  msgid "Many"
802
  msgstr ""
803
 
804
+ #: inc/admin/settings/class-wpems-admin-setting-checkout.php:56
805
  msgid "Cancel payment status"
806
  msgstr ""
807
 
808
+ #: inc/admin/settings/class-wpems-admin-setting-checkout.php:57
809
  msgid "How long cancel a payment (hour)"
810
  msgstr ""
811
 
812
+ #: inc/admin/settings/class-wpems-admin-setting-checkout.php:77
813
  msgid "Checkout General"
814
  msgstr ""
815
 
816
+ #: inc/admin/settings/class-wpems-admin-setting-emails.php:23
817
  msgid "Emails"
818
  msgstr ""
819
 
820
+ #: inc/admin/settings/class-wpems-admin-setting-emails.php:40
821
  msgid "Email Notifications"
822
  msgstr ""
823
 
824
+ #: inc/admin/settings/class-wpems-admin-setting-emails.php:44
825
  msgid "Event register"
826
  msgstr ""
827
 
828
+ #: inc/admin/settings/class-wpems-admin-setting-emails.php:45
829
+ msgid "Send email notify admin and user when user register event"
830
  msgstr ""
831
 
832
+ #: inc/admin/settings/class-wpems-admin-setting-emails.php:51
833
  msgid "From name"
834
  msgstr ""
835
 
836
+ #: inc/admin/settings/class-wpems-admin-setting-emails.php:59
837
  msgid "Email from"
838
  msgstr ""
839
 
840
+ #: inc/admin/settings/class-wpems-admin-setting-emails.php:67
841
  msgid "Subject"
842
  msgstr ""
843
 
844
+ #: inc/admin/settings/class-wpems-admin-setting-emails.php:68
845
+ #: inc/emails/class-wpems-register-event.php:42
846
  msgid "Register event"
847
  msgstr ""
848
 
849
+ #: inc/admin/settings/class-wpems-admin-setting-emails.php:75
850
  msgid "Account register"
851
  msgstr ""
852
 
853
+ #: inc/admin/settings/class-wpems-admin-setting-emails.php:76
854
  msgid "Send notify when user register account"
855
  msgstr ""
856
 
857
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:23
858
  msgid "General"
859
  msgstr ""
860
 
861
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:41
862
  msgid "General Options"
863
  msgstr ""
864
 
865
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:45
866
  msgid "Event registration"
867
  msgstr ""
868
 
869
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:46
870
  msgid "Allows user register events"
871
  msgstr ""
872
 
873
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:52
874
  msgid "Currency"
875
  msgstr ""
876
 
877
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:53
878
  msgid "This controls what the currency prices"
879
  msgstr ""
880
 
881
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:61
882
  msgid "Currency Position"
883
  msgstr ""
884
 
885
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:62
886
  msgid "This controls the position of the currency symbol"
887
  msgstr ""
888
 
889
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:65
890
  msgid "Left"
891
  msgstr ""
892
 
893
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:66
894
  msgid "Right"
895
  msgstr ""
896
 
897
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:67
898
  msgid "Left with space"
899
  msgstr ""
900
 
901
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:68
902
  msgid "Right with space"
903
  msgstr ""
904
 
905
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:75
906
  msgid "Thousand Separator"
907
  msgstr ""
908
 
909
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:82
910
  msgid "Decimal Separator"
911
  msgstr ""
912
 
913
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:89
914
  msgid "Number of Decimals"
915
  msgstr ""
916
 
917
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:97
918
  msgid "Google Map API Key"
919
  msgstr ""
920
 
921
+ #: inc/admin/settings/class-wpems-admin-setting-general.php:99
922
  msgid ""
923
  "Refer on https://developers.google.com/maps/documentation/javascript/get-api-"
924
  "key#get-an-api-key"
925
  msgstr ""
926
 
927
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:27
928
  msgid "Pages"
929
  msgstr ""
930
 
931
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:47
932
  msgid "Pages Settings"
933
  msgstr ""
934
 
935
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:51
936
  msgid "Register Page"
937
  msgstr ""
938
 
939
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:52
940
  msgid "This controls which the register page"
941
  msgstr ""
942
 
943
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:57
944
  msgid "Login Page"
945
  msgstr ""
946
 
947
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:58
948
  msgid "This controls which the login page"
949
  msgstr ""
950
 
951
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:63
952
+ #: templates/shortcodes/form-login.php:43
953
  msgid "Forgot Password"
954
  msgstr ""
955
 
956
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:64
957
  msgid "This controls which the forgot password page"
958
  msgstr ""
959
 
960
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:69
961
+ #: templates/shortcodes/reset-password.php:55
962
  msgid "Reset Password"
963
  msgstr ""
964
 
965
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:70
966
  msgid "This controls which the reset password page"
967
  msgstr ""
968
 
969
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:75
970
  msgid "My Account"
971
  msgstr ""
972
 
973
+ #: inc/admin/settings/class-wpems-admin-setting-pages.php:76
974
  msgid "This controls which the user account page"
975
  msgstr ""
976
 
977
+ #: inc/admin/views/metaboxes/booking-actions.php:17
978
  msgid "Booking Status"
979
  msgstr ""
980
 
981
+ #: inc/admin/views/metaboxes/booking-actions.php:23
982
  msgid "Update booking event status"
983
  msgstr ""
984
 
985
+ #: inc/admin/views/metaboxes/booking-actions.php:26
986
  msgid "Booking Notes"
987
  msgstr ""
988
 
989
+ #: inc/admin/views/metaboxes/booking-details.php:34
990
  #, php-format
991
  msgid "Order %s"
992
  msgstr ""
993
 
994
+ #: inc/admin/views/metaboxes/booking-details.php:36
995
  #, php-format
996
  msgid "Date %s"
997
  msgstr ""
998
 
999
+ #: inc/admin/views/metaboxes/booking-details.php:45
1000
  msgid "Item"
1001
  msgstr ""
1002
 
1003
+ #: inc/admin/views/metaboxes/booking-details.php:48
1004
+ #: templates/emails/register-admin-event.php:41
1005
+ #: templates/emails/register-event.php:42
1006
  msgid "Payment Method"
1007
  msgstr ""
1008
 
1009
+ #: inc/admin/views/metaboxes/booking-details.php:49
1010
  msgid "Amount"
1011
  msgstr ""
1012
 
1013
+ #: inc/admin/views/metaboxes/booking-details.php:58
1014
+ #: templates/emails/register-admin-event.php:53
1015
+ #: templates/emails/register-event.php:53
1016
+ #: templates/shortcodes/user-account.php:38
1017
  msgid "No payment"
1018
  msgstr ""
1019
 
1020
+ #: inc/admin/views/metaboxes/booking-details.php:64
1021
  msgid "Sub Total"
1022
  msgstr ""
1023
 
1024
+ #: inc/admin/views/metaboxes/booking-details.php:68
1025
  msgid "Total"
1026
  msgstr ""
1027
 
1028
+ #: inc/admin/views/metaboxes/event-settings.php:41
1029
  msgid "Set 0 to make it becomes free event"
1030
  msgstr ""
1031
 
1032
+ #: inc/admin/views/metaboxes/event-settings.php:47
1033
  msgid "Start/End"
1034
  msgstr ""
1035
 
1036
+ #: inc/admin/views/metaboxes/event-settings.php:54
1037
  msgid "to"
1038
  msgstr ""
1039
 
1040
+ #: inc/admin/views/metaboxes/event-settings.php:65
1041
  msgid "Location"
1042
  msgstr ""
1043
 
1044
+ #: inc/admin/views/metaboxes/event-settings.php:70
1045
  msgid "You need set up Google Map API Key to show map."
1046
  msgstr ""
1047
 
1048
+ #: inc/admin/views/metaboxes/event-settings.php:71
1049
  msgid "Set up here"
1050
  msgstr ""
1051
 
1052
+ #: inc/admin/views/metaboxes/event-settings.php:77
1053
  msgid "Shortcode"
1054
  msgstr ""
1055
 
1056
+ #: inc/admin/views/settings/select-page.php:25
1057
  msgid "Select Page"
1058
  msgstr ""
1059
 
1060
+ #: inc/emails/class-wpems-register-event.php:25
1061
  #, php-format
1062
  msgid "Error %s booking ID"
1063
  msgstr ""
1064
 
1065
+ #: inc/emails/class-wpems-register-event.php:37
1066
  msgid "User is not exists!"
1067
  msgstr ""
1068
 
1069
+ #: inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:25
1070
  msgid "PayPal"
1071
  msgstr ""
1072
 
1073
+ #: inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:68
1074
  msgid ""
1075
  "Payment is completed. We will send you email when payment status is completed"
1076
  msgstr ""
1077
 
1078
+ #: inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:70
1079
  msgid "Booking is cancel."
1080
  msgstr ""
1081
 
1082
+ #: inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:139
1083
  msgid "Paypal Settings"
1084
  msgstr ""
1085
 
1086
+ #: inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:140
1087
  msgid "Make payment via Paypal"
1088
  msgstr ""
1089
 
1090
+ #: inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:144
1091
  msgid "Enable"
1092
  msgstr ""
1093
 
1094
+ #: inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:151
1095
  msgid "Paypal email"
1096
  msgstr ""
1097
 
1098
+ #: inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:158
1099
  msgid "Sandbox mode"
1100
  msgstr ""
1101
 
1102
+ #: inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:165
1103
  msgid "Paypal Sandbox email"
1104
  msgstr ""
1105
 
1106
+ #: inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:200
1107
  msgid "Booking ID is not exists!"
1108
  msgstr ""
1109
 
1110
+ #: inc/gateways/paypal/class-wpems-payment-gateway-paypal.php:242
1111
  msgid ""
1112
  "Email Business PayPal is invalid. Please contact administrator to setup "
1113
  "PayPal email."
1114
  msgstr ""
1115
 
1116
+ #: inc/widgets/class-wpems-widget-countdown.php:14
1117
  msgid "WP Event Countdown"
1118
  msgstr ""
1119
 
1120
+ #: inc/widgets/class-wpems-widget-countdown.php:15
1121
  msgid "Countdown timer for event"
1122
  msgstr ""
1123
 
1124
+ #: inc/widgets/class-wpems-widget-countdown.php:71
1125
  msgid "Title:"
1126
  msgstr ""
1127
 
1128
+ #: inc/widgets/class-wpems-widget-countdown.php:75
1129
  msgid "Carousel Slide:"
1130
  msgstr ""
1131
 
1132
+ #: inc/widgets/class-wpems-widget-countdown.php:79
1133
  msgid "Navigation:"
1134
  msgstr ""
1135
 
1136
+ #: inc/widgets/class-wpems-widget-countdown.php:83
1137
  msgid "Pagiantion:"
1138
  msgstr ""
1139
 
1140
+ #: inc/widgets/class-wpems-widget-countdown.php:87
1141
  msgid "Events:"
1142
  msgstr ""
1143
 
1144
+ #: inc/widgets/class-wpems-widget-countdown.php:119
1145
+ msgid "Upcoming"
1146
+ msgstr ""
1147
+
1148
+ #: inc/widgets/class-wpems-widget-countdown.php:120
1149
+ msgid "Happening"
1150
+ msgstr ""
1151
+
1152
+ #: inc/widgets/class-wpems-widget-countdown.php:121
1153
+ msgid "Expired"
1154
+ msgstr ""
1155
+
1156
+ #: templates/emails/register-admin-event.php:29
1157
+ #, php-format
1158
+ msgid "User have been registered successful <a href=\"%s\">your event</a>."
1159
+ msgstr ""
1160
+
1161
+ #: templates/emails/register-admin-event.php:38
1162
+ #: templates/emails/register-event.php:39
1163
+ #: templates/shortcodes/user-account.php:22
1164
+ msgid "Type"
1165
+ msgstr ""
1166
+
1167
+ #: templates/emails/register-event.php:27
1168
  #, php-format
1169
  msgid "Hello %s!"
1170
  msgstr ""
1171
 
1172
+ #: templates/emails/register-event.php:30
1173
  #, php-format
1174
  msgid ""
1175
+ "You have been registered successful <a href=\"%s\">our event</a>. Please go "
1176
  "to the following link for more details.<a href=\"%s\">Your account.</a>"
1177
  msgstr ""
1178
 
1179
+ #: templates/loop/booking-form.php:41
 
 
 
 
 
1180
  msgid ""
1181
  "There are no payment gateway available. Please contact administrator to "
1182
  "setup it."
1183
  msgstr ""
1184
 
1185
+ #: templates/loop/booking-form.php:50 templates/loop/register.php:42
 
1186
  msgid "Register Now"
1187
  msgstr ""
1188
 
1189
+ #: templates/loop/countdown.php:16
1190
  msgid "This event has expired"
1191
  msgstr ""
1192
 
1193
+ #: templates/loop/excerpt.php:12
1194
  msgid "View Detail"
1195
  msgstr ""
1196
 
1197
+ #: templates/loop/register.php:22
1198
  msgid "Total Slot:"
1199
  msgstr ""
1200
 
1201
+ #: templates/loop/register.php:26
1202
  msgid "Booked Slot:"
1203
  msgstr ""
1204
 
1205
+ #: templates/loop/register.php:30
1206
  msgid "Cost:"
1207
  msgstr ""
1208
 
1209
+ #: templates/loop/register.php:39
1210
+ msgid "You have registered this event before."
1211
+ msgstr ""
1212
+
1213
+ #: templates/loop/register.php:45
1214
+ #, php-format
1215
+ msgid "You must <a href=\"%s\">login</a> before register event."
1216
+ msgstr ""
1217
+
1218
+ #: templates/shortcodes/event-countdown.php:26
1219
  msgid "Invalid Event ID"
1220
  msgstr ""
1221
 
1222
+ #: templates/shortcodes/forgot-password.php:20
1223
  msgid ""
1224
  "Please enter your username or email address. You will receive a link to "
1225
  "create a new password via email."
1226
  msgstr ""
1227
 
1228
+ #: templates/shortcodes/forgot-password.php:23
1229
  msgid "Username or Email:"
1230
  msgstr ""
1231
 
1232
+ #: templates/shortcodes/forgot-password.php:36
1233
  msgid "Get New Password"
1234
  msgstr ""
1235
 
1236
+ #: templates/shortcodes/forgot-password.php:43
1237
+ #: templates/shortcodes/form-login.php:34
1238
  msgid "Login"
1239
  msgstr ""
1240
 
1241
+ #: templates/shortcodes/forgot-password.php:48
1242
  msgid "Create new user"
1243
  msgstr ""
1244
 
1245
+ #: templates/shortcodes/form-login.php:18
1246
+ #: templates/shortcodes/form-register.php:22
1247
+ #: templates/shortcodes/reset-password.php:19
1248
  msgid "Password"
1249
  msgstr ""
1250
 
1251
+ #: templates/shortcodes/form-login.php:26
1252
  msgid "Remember me"
1253
  msgstr ""
1254
 
1255
+ #: templates/shortcodes/form-login.php:41
1256
+ #: templates/shortcodes/form-register.php:43
1257
+ #: templates/shortcodes/reset-password.php:65
1258
  msgid "Register"
1259
  msgstr ""
1260
 
1261
+ #: templates/shortcodes/form-register.php:27
1262
+ #: templates/shortcodes/reset-password.php:31
1263
  msgid "Confirm Password"
1264
  msgstr ""
1265
 
1266
+ #: templates/shortcodes/form-register.php:36
1267
  msgid "Registration confirmation will be emailed to you."
1268
  msgstr ""
1269
 
1270
+ #: templates/shortcodes/form-register.php:49
1271
+ #: templates/shortcodes/reset-password.php:61
1272
  msgid "Log in"
1273
  msgstr ""
1274
 
1275
+ #: templates/shortcodes/form-register.php:50
1276
  msgid "Password Lost and Found"
1277
  msgstr ""
1278
 
1279
+ #: templates/shortcodes/form-register.php:50
1280
  msgid "Forgot password?"
1281
  msgstr ""
1282
 
1283
+ #: templates/shortcodes/register-completed.php:9
1284
  #, php-format
1285
  msgid ""
1286
  "You have successfully registered to <strong>%s</strong>. We have emailed "
1287
  "your password to <i>%s</i> the email address you entered."
1288
  msgstr ""
1289
 
1290
+ #: templates/shortcodes/register-error.php:7
1291
  msgid "Oops! Something went wrong."
1292
  msgstr ""
1293
 
1294
+ #: templates/shortcodes/user-account.php:11
1295
  #, php-format
1296
  msgid "You are not <a href=\"%s\">login</a>"
1297
  msgstr ""
1298
 
1299
+ #: templates/shortcodes/user-account.php:20
1300
  msgid "Booking ID"
1301
  msgstr ""
1302
 
1303
+ #: templates/shortcodes/user-account.php:25
1304
  msgid "Method"
1305
  msgstr ""
1306
 
1307
+ #: templates/shortcodes/user-account.php:56
1308
+ #: templates/shortcodes/user-account.php:68
1309
  msgid "« Previous"
1310
  msgstr ""
1311
 
1312
+ #: templates/shortcodes/user-account.php:57
1313
+ #: templates/shortcodes/user-account.php:69
1314
  msgid "Next »"
1315
  msgstr ""
1316
 
1317
+ #: templates/shortcodes/user-cannot-register.php:7
1318
  msgid "User registration is currently not allowed."
1319
  msgstr ""
readme.txt CHANGED
@@ -128,5 +128,14 @@ To stay in touch and update about FundPress's future releases and features, you
128
  - Fix update booking status with PHP 7
129
  - Update auto shortcode redirect
130
 
 
 
 
 
 
 
 
 
 
131
  == Upgrade Notice ==
132
 
128
  - Fix update booking status with PHP 7
129
  - Update auto shortcode redirect
130
 
131
+ = 2.1.5 =
132
+ - Fix notice single event with Siteorigin page builder
133
+
134
+ = 2.1.6 =
135
+ - Fix update event status
136
+ - Update booking completed status when book free event
137
+ - Add booking mail for admin
138
+
139
+
140
  == Upgrade Notice ==
141
 
templates/emails/register-admin-event.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ exit;
4
+ }
5
+
6
+ if ( ! $booking || ! $user ) {
7
+ return;
8
+ }
9
+ ?>
10
+
11
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
12
+ <html xmlns="http://www.w3.org/1999/xhtml">
13
+ <head>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
15
+ <meta name="viewport" content="width=device-width">
16
+ <style type="text/css">
17
+ table td,
18
+ table th {
19
+ font-size: 13px;
20
+ padding: 5px 30px;
21
+ border: 1px solid #eee;
22
+ }
23
+ </style>
24
+ </head>
25
+ <body>
26
+
27
+ <?php
28
+ printf(
29
+ __( 'User have been registered successful <a href="%s">your event</a>.', 'wp-events-manager' ), get_permalink( $booking->event_id ) );
30
+ ?>
31
+
32
+ <table class="event_auth_admin_table_booking">
33
+ <thead>
34
+ <tr>
35
+ <th><?php _e( 'ID', 'wp-events-manager' ) ?></th>
36
+ <th><?php _e( 'Name', 'wp-events-manager' ) ?></th>
37
+ <th><?php _e( 'Event', 'wp-events-manager' ) ?></th>
38
+ <th><?php _e( 'Type', 'wp-events-manager' ) ?></th>
39
+ <th><?php _e( 'Quantity', 'wp-events-manager' ) ?></th>
40
+ <th><?php _e( 'Cost', 'wp-events-manager' ) ?></th>
41
+ <th><?php _e( 'Payment Method', 'wp-events-manager' ) ?></th>
42
+ <th><?php _e( 'Status', 'wp-events-manager' ) ?></th>
43
+ </tr>
44
+ </thead>
45
+ <tbody>
46
+ <tr>
47
+ <td><?php printf( '%s', wpems_format_ID( $booking->ID ) ) ?></td>
48
+ <td><?php printf( '%s', $user->data->display_name ) ?></td>
49
+ <td><?php printf( '<a href="%s">%s</a>', get_permalink( $booking->event_id ), get_the_title( $booking->event_id ) ) ?></td>
50
+ <td><?php printf( '%s', floatval( $booking->price ) == 0 ? __( 'Free', 'wp-events-manager' ) : __( 'Cost', 'wp-events-manager' ) ) ?></td>
51
+ <td><?php printf( '%s', $booking->qty ) ?></td>
52
+ <td><?php printf( '%s', wpems_format_price( floatval( $booking->price ), $booking->currency ) ) ?></td>
53
+ <td><?php printf( '%s', $booking->payment_id ? wpems_get_payment_title( $booking->payment_id ) : __( 'No payment', 'wp-events-manager' ) ) ?></td>
54
+ <td>
55
+ <?php
56
+ $return = array();
57
+ $return[] = sprintf( '%s', wpems_booking_status( $booking->ID ) );
58
+ $return[] = $booking->payment_id ? sprintf( '(%s)', wpems_get_payment_title( $booking->payment_id ) ) : '';
59
+ $return = implode( '', $return );
60
+ printf( '%s', $return );
61
+ ?>
62
+ </td>
63
+ </tr>
64
+ </tbody>
65
+ </table>
66
+ </body>
67
+ </html>
templates/emails/register-event.php CHANGED
@@ -1,57 +1,67 @@
1
  <?php
2
- if ( !defined( 'ABSPATH' ) ) {
3
- exit;
4
  }
5
 
6
- if ( !$booking || !$user ) {
7
- return;
8
  }
9
  ?>
10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  <h2><?php printf( __( 'Hello %s!', 'wp-events-manager' ), $user->data->display_name ); ?></h2>
12
  <?php
13
  printf(
14
- __( 'You have been registered successful our <a href="%s">event</a>. Please go to the following link for more details.<a href="%s">Your account.</a>', 'wp-events-manager' ), get_permalink( $booking->event_id ), wpems_account_url()
15
  );
16
  ?>
17
 
18
  <table class="event_auth_admin_table_booking">
19
  <thead>
20
- <tr>
21
- <th style="border: 1px solid #eee"><?php _e( 'ID', 'wp-events-manager' ) ?></th>
22
- <th style="border: 1px solid #eee"><?php _e( 'Event', 'wp-events-manager' ) ?></th>
23
- <th style="border: 1px solid #eee"><?php _e( 'Type', 'wp-events-manager' ) ?></th>
24
- <th style="border: 1px solid #eee"><?php _e( 'Quantity', 'wp-events-manager' ) ?></th>
25
- <th style="border: 1px solid #eee"><?php _e( 'Cost', 'wp-events-manager' ) ?></th>
26
- <th style="border: 1px solid #eee"><?php _e( 'Payment Method', 'wp-events-manager' ) ?></th>
27
- <th style="border: 1px solid #eee"><?php _e( 'Status', 'wp-events-manager' ) ?></th>
28
- </tr>
29
  </thead>
30
  <tbody>
31
- <tr>
32
- <td style="border: 1px solid #eee"><?php printf( '%s', wpems_format_ID( $booking->ID ) ) ?></td>
33
- <td style="border: 1px solid #eee"><?php printf( '<a href="%s">%s</a>', get_permalink( $booking->event_id ), get_the_title( $booking->event_id ) ) ?></td>
34
- <td style="border: 1px solid #eee"><?php printf( '%s', floatval( $booking->price ) == 0 ? __( 'Free', 'wp-events-manager' ) : __( 'Cost', 'wp-events-manager' ) ) ?></td>
35
- <td style="border: 1px solid #eee"><?php printf( '%s', $booking->qty ) ?></td>
36
- <td style="border: 1px solid #eee"><?php printf( '%s', wpems_format_price( floatval( $booking->price ), $booking->currency ) ) ?></td>
37
- <td style="border: 1px solid #eee"><?php printf( '%s', $booking->payment_id ? wpems_get_payment_title( $booking->payment_id ) : __( 'No payment', 'wp-events-manager' ) ) ?></td>
38
- <td style="border: 1px solid #eee">
39
- <?php
40
- $return = array();
41
- $return[] = sprintf( '%s', wpems_booking_status( $booking->ID ) );
42
- $return[] = $booking->payment_id ? sprintf( '(%s)', wpems_get_payment_title( $booking->payment_id ) ) : '';
43
- $return = implode( '', $return );
44
- printf( '%s', $return );
45
- ?>
46
- </td>
47
- </tr>
48
  </tbody>
49
  </table>
50
- <style type="text/css">
51
- table td,
52
- table th{
53
- padding: 10px;
54
- font-size: 13px;
55
- border: 1px solid;
56
- }
57
- </style>
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ exit;
4
  }
5
 
6
+ if ( ! $booking || ! $user ) {
7
+ return;
8
  }
9
  ?>
10
 
11
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
12
+ <html xmlns="http://www.w3.org/1999/xhtml">
13
+ <head>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
15
+ <meta name="viewport" content="width=device-width">
16
+ <style type="text/css">
17
+ table td,
18
+ table th {
19
+ font-size: 13px;
20
+ padding: 5px 30px;
21
+ border: 1px solid #eee;
22
+ }
23
+ </style>
24
+ </head>
25
+ <body>
26
+
27
  <h2><?php printf( __( 'Hello %s!', 'wp-events-manager' ), $user->data->display_name ); ?></h2>
28
  <?php
29
  printf(
30
+ __( 'You have been registered successful <a href="%s">our event</a>. Please go to the following link for more details.<a href="%s">Your account.</a>', 'wp-events-manager' ), get_permalink( $booking->event_id ), wpems_account_url()
31
  );
32
  ?>
33
 
34
  <table class="event_auth_admin_table_booking">
35
  <thead>
36
+ <tr>
37
+ <th><?php _e( 'ID', 'wp-events-manager' ) ?></th>
38
+ <th><?php _e( 'Event', 'wp-events-manager' ) ?></th>
39
+ <th><?php _e( 'Type', 'wp-events-manager' ) ?></th>
40
+ <th><?php _e( 'Quantity', 'wp-events-manager' ) ?></th>
41
+ <th><?php _e( 'Cost', 'wp-events-manager' ) ?></th>
42
+ <th><?php _e( 'Payment Method', 'wp-events-manager' ) ?></th>
43
+ <th><?php _e( 'Status', 'wp-events-manager' ) ?></th>
44
+ </tr>
45
  </thead>
46
  <tbody>
47
+ <tr>
48
+ <td><?php printf( '%s', wpems_format_ID( $booking->ID ) ) ?></td>
49
+ <td><?php printf( '<a href="%s">%s</a>', get_permalink( $booking->event_id ), get_the_title( $booking->event_id ) ) ?></td>
50
+ <td><?php printf( '%s', floatval( $booking->price ) == 0 ? __( 'Free', 'wp-events-manager' ) : __( 'Cost', 'wp-events-manager' ) ) ?></td>
51
+ <td><?php printf( '%s', $booking->qty ) ?></td>
52
+ <td><?php printf( '%s', wpems_format_price( floatval( $booking->price ), $booking->currency ) ) ?></td>
53
+ <td><?php printf( '%s', $booking->payment_id ? wpems_get_payment_title( $booking->payment_id ) : __( 'No payment', 'wp-events-manager' ) ) ?></td>
54
+ <td>
55
+ <?php
56
+ $return = array();
57
+ $return[] = sprintf( '%s', wpems_booking_status( $booking->ID ) );
58
+ $return[] = $booking->payment_id ? sprintf( '(%s)', wpems_get_payment_title( $booking->payment_id ) ) : '';
59
+ $return = implode( '', $return );
60
+ printf( '%s', $return );
61
+ ?>
62
+ </td>
63
+ </tr>
64
  </tbody>
65
  </table>
66
+ </body>
67
+ </html>
 
 
 
 
 
 
templates/loop/register.php CHANGED
@@ -10,7 +10,7 @@ if ( wpems_get_option( 'allow_register_event' ) == 'no' ) {
10
  $event = new WPEMS_Event( get_the_ID() );
11
  $user_reg = $event->booked_quantity( get_current_user_id() );
12
 
13
- if ( absint( $event->qty ) == 0 || $event->post->post_status === 'tp-event-expired' ) {
14
  return;
15
  }
16
  ?>
@@ -33,10 +33,16 @@ if ( absint( $event->qty ) == 0 || $event->post->post_status === 'tp-event-expir
33
  </ul>
34
 
35
  <?php if ( is_user_logged_in() ) { ?>
36
- <a class="event_register_submit event_auth_button event-load-booking-form"
37
- data-event="<?php echo esc_attr( get_the_ID() ) ?>"><?php _e( 'Register Now', 'wp-events-manager' ); ?></a>
 
 
 
 
 
 
38
  <?php } else { ?>
39
- <p><?php echo sprintf( __( 'You must <a href="%s">login</a> before register event', 'wp-events-manager' ), wpems_login_url() ); ?></p>
40
  <?php } ?>
41
 
42
  </div>
10
  $event = new WPEMS_Event( get_the_ID() );
11
  $user_reg = $event->booked_quantity( get_current_user_id() );
12
 
13
+ if ( absint( $event->qty ) == 0 || get_post_meta( get_the_ID(), 'tp_event_status', true ) === 'expired' ) {
14
  return;
15
  }
16
  ?>
33
  </ul>
34
 
35
  <?php if ( is_user_logged_in() ) { ?>
36
+ <?php
37
+ $registered_time = $event->booked_quantity( get_current_user_id() );
38
+ if ( $registered_time && wpems_get_option( 'email_register_times' ) === 'once' && $event->is_free() ) { ?>
39
+ <p><?php echo __( 'You have registered this event before.', 'wp-events-manager' ); ?></p>
40
+ <?php } else { ?>
41
+ <a class="event_register_submit event_auth_button event-load-booking-form"
42
+ data-event="<?php echo esc_attr( get_the_ID() ) ?>"><?php _e( 'Register Now', 'wp-events-manager' ); ?></a>
43
+ <?php } ?>
44
  <?php } else { ?>
45
+ <p><?php echo sprintf( __( 'You must <a href="%s">login</a> before register event.', 'wp-events-manager' ), wpems_login_url() ); ?></p>
46
  <?php } ?>
47
 
48
  </div>
wp-events-manager.php CHANGED
@@ -5,7 +5,7 @@
5
  Plugin URI: http://thimpress.com/
6
  Description: A complete plugin for Events management and online booking system
7
  Author: ThimPress
8
- Version: 2.1.4
9
  Author URI: http://thimpress.com
10
  */
11
 
@@ -43,7 +43,7 @@ if ( ! class_exists( 'WPEMS' ) ) {
43
  $this->set_define( 'WPEMS_INC_URI', WPEMS_URI . 'inc/' );
44
  $this->set_define( 'WPEMS_ASSETS_URI', WPEMS_URI . 'assets/' );
45
  $this->set_define( 'WPEMS_LIB_URI', WPEMS_INC_URI . 'libraries/' );
46
- $this->set_define( 'WPEMS_VER', '2.1.4' );
47
  $this->set_define( 'WPEMS_MAIN_FILE', __FILE__ );
48
  }
49
 
5
  Plugin URI: http://thimpress.com/
6
  Description: A complete plugin for Events management and online booking system
7
  Author: ThimPress
8
+ Version: 2.1.6
9
  Author URI: http://thimpress.com
10
  */
11
 
43
  $this->set_define( 'WPEMS_INC_URI', WPEMS_URI . 'inc/' );
44
  $this->set_define( 'WPEMS_ASSETS_URI', WPEMS_URI . 'assets/' );
45
  $this->set_define( 'WPEMS_LIB_URI', WPEMS_INC_URI . 'libraries/' );
46
+ $this->set_define( 'WPEMS_VER', '2.1.6' );
47
  $this->set_define( 'WPEMS_MAIN_FILE', __FILE__ );
48
  }
49