version 3.2.5 released with date issue fixed
This commit is contained in:
parent
e6706c5667
commit
79337d94fd
|
@ -1,213 +1,213 @@
|
|||
.inside .sec {
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
font-weight: normal;
|
||||
margin: 15px 0;
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
font-weight: normal;
|
||||
margin: 15px 0;
|
||||
}
|
||||
.sec label {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.mep_status .active {
|
||||
background: green none repeat scroll 0 0;
|
||||
color: #fff;
|
||||
padding: 6px 10px;
|
||||
background: green none repeat scroll 0 0;
|
||||
color: #fff;
|
||||
padding: 6px 10px;
|
||||
}
|
||||
.mep_status .err {
|
||||
background: red none repeat scroll 0 0;
|
||||
color: #fff;
|
||||
padding: 6px 10px;
|
||||
background: red none repeat scroll 0 0;
|
||||
color: #fff;
|
||||
padding: 6px 10px;
|
||||
}
|
||||
#mep_uid {
|
||||
width: 65px;
|
||||
width: 65px;
|
||||
}
|
||||
.inside .sec input {
|
||||
border: 1px solid #ddd;
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
color: #000;
|
||||
border: 1px solid #ddd;
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
color: #000;
|
||||
}
|
||||
.inside .sec label {
|
||||
font-weight: normal;
|
||||
display: block;
|
||||
font-weight: normal;
|
||||
display: block;
|
||||
}
|
||||
table.atendee-info {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Always set the map height explicitly to define the size of the div
|
||||
* element that contains the map. */
|
||||
* element that contains the map. */
|
||||
#map {
|
||||
height: 250px;
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
|
||||
#infowindow-content .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#infowindow-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#map #infowindow-content {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.pac-card {
|
||||
margin: 10px 10px 0 0;
|
||||
border-radius: 2px 0 0 2px;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
outline: none;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
||||
background-color: #fff;
|
||||
font-family: Roboto;
|
||||
}
|
||||
|
||||
#pac-container {
|
||||
padding-bottom: 12px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.pac-controls {
|
||||
display: inline-block;
|
||||
padding: 5px 11px;
|
||||
}
|
||||
|
||||
.pac-controls label {
|
||||
font-family: Roboto;
|
||||
font-size: 13px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
#pac-input {
|
||||
background-color: #fff;
|
||||
font-family: Roboto;
|
||||
font-size: 15px;
|
||||
font-weight: 300;
|
||||
margin-left: 12px;
|
||||
padding: 0 11px 0 13px;
|
||||
text-overflow: ellipsis;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
#pac-input:focus {
|
||||
border-color: #4d90fe;
|
||||
}
|
||||
|
||||
div#mep_event_faq_r {
|
||||
display: block;
|
||||
width: 94%;
|
||||
border: 1px solid #ddd;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.mep-faq-input {
|
||||
width: 100%;
|
||||
display: block;
|
||||
border: 1px solid #8a8a8a;
|
||||
padding: 5px;
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
div#mep-event-faq-box {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
a.button.remove-faq-row {
|
||||
/* float: right; */
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
}
|
||||
.settings_page_mep_event_settings_page h2 {
|
||||
padding-left: 10px;
|
||||
}
|
||||
.mep-attendee-sec-details span {
|
||||
border: 1px solid #ddd;
|
||||
padding: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.mep-attendee-sec-details .ea-label {
|
||||
width: 200px!important;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#infowindow-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#map #infowindow-content {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.pac-card {
|
||||
margin: 10px 10px 0 0;
|
||||
border-radius: 2px 0 0 2px;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
outline: none;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
||||
background-color: #fff;
|
||||
font-family: Roboto;
|
||||
}
|
||||
|
||||
#pac-container {
|
||||
padding-bottom: 12px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.pac-controls {
|
||||
display: inline-block;
|
||||
padding: 5px 11px;
|
||||
}
|
||||
|
||||
.pac-controls label {
|
||||
font-family: Roboto;
|
||||
font-size: 13px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
#pac-input {
|
||||
background-color: #fff;
|
||||
font-family: Roboto;
|
||||
font-size: 15px;
|
||||
font-weight: 300;
|
||||
margin-left: 12px;
|
||||
padding: 0 11px 0 13px;
|
||||
text-overflow: ellipsis;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
#pac-input:focus {
|
||||
border-color: #4d90fe;
|
||||
}
|
||||
|
||||
div#mep_event_faq_r {
|
||||
display: block;
|
||||
width: 94%;
|
||||
border: 1px solid #ddd;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.mep-faq-input {
|
||||
width: 100%;
|
||||
display: block;
|
||||
border: 1px solid #8a8a8a;
|
||||
padding: 5px;
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
div#mep-event-faq-box {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
a.button.remove-faq-row {
|
||||
/* float: right; */
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
}
|
||||
.settings_page_mep_event_settings_page h2 {
|
||||
padding-left: 10px;
|
||||
}
|
||||
.mep-attendee-sec-details span {
|
||||
border: 1px solid #ddd;
|
||||
padding: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.mep-attendee-sec-details .ea-label {
|
||||
width: 200px!important;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mep-attendee-sec-details .ea-value {
|
||||
width: 68%!important;
|
||||
width: 68%!important;
|
||||
}
|
||||
|
||||
.mep-attendee-sec-details .sec {
|
||||
margin: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.post-type-mep_events .switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 60px;
|
||||
height: 24px;
|
||||
float: right;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 60px;
|
||||
height: 24px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.post-type-mep_events .switch input {display:none;}
|
||||
|
||||
.post-type-mep_events .slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #ccc;
|
||||
-webkit-transition: .4s;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
.post-type-mep_events .slider:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 17px;
|
||||
width: 17px;
|
||||
left: 10px;
|
||||
bottom: 4px;
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #ccc;
|
||||
-webkit-transition: .4s;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
.post-type-mep_events .slider:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 17px;
|
||||
width: 17px;
|
||||
left: 10px;
|
||||
bottom: 4px;
|
||||
background-color: white;
|
||||
-webkit-transition: .4s;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
.post-type-mep_events input:checked + .slider {
|
||||
background-color: #2196F3;
|
||||
background-color: #2196F3;
|
||||
}
|
||||
|
||||
.post-type-mep_events input:focus + .slider {
|
||||
box-shadow: 0 0 1px #2196F3;
|
||||
box-shadow: 0 0 1px #2196F3;
|
||||
}
|
||||
|
||||
.post-type-mep_events input:checked + .slider:before {
|
||||
-webkit-transform: translateX(26px);
|
||||
-ms-transform: translateX(26px);
|
||||
transform: translateX(26px);
|
||||
-webkit-transform: translateX(26px);
|
||||
-ms-transform: translateX(26px);
|
||||
transform: translateX(26px);
|
||||
}
|
||||
|
||||
/* Rounded sliders */
|
||||
.post-type-mep_events .slider.round {
|
||||
border-radius: 34px;
|
||||
border-radius: 34px;
|
||||
}
|
||||
|
||||
.post-type-mep_events .slider.round:before {
|
||||
border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
div#mep-event-price {
|
||||
border: 5px solid red;
|
||||
border: 5px solid red;
|
||||
}
|
||||
|
||||
div#mep-event-price h2 {
|
||||
background: red;
|
||||
color: #fff;
|
||||
background: red;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
div#mage-primary-button{
|
||||
|
@ -215,61 +215,61 @@ background:green !important;
|
|||
color:white !important;
|
||||
}
|
||||
ul.mep_rt_settings_list li {
|
||||
display: block;
|
||||
margin: 20px 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 5px 0 10px;
|
||||
display: block;
|
||||
margin: 20px 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 5px 0 10px;
|
||||
}
|
||||
.mage_settings_panel_wrap .metabox-holder {
|
||||
padding-top: 10px;
|
||||
background: #fff;
|
||||
padding: 20px;
|
||||
border: 5px solid #0071a1;
|
||||
/* border-top: 0px; */
|
||||
padding-top: 10px;
|
||||
background: #fff;
|
||||
padding: 20px;
|
||||
border: 5px solid #0071a1;
|
||||
/* border-top: 0px; */
|
||||
}
|
||||
|
||||
.mage_settings_panel_wrap .nav-tab {
|
||||
float: left;
|
||||
border: 2px solid #0e678c;
|
||||
border-bottom: none;
|
||||
margin-left: .5em;
|
||||
padding: 5px 10px;
|
||||
font-size: 14px;
|
||||
line-height: 1.71428571;
|
||||
font-weight: 600;
|
||||
background: #0071a1;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
float: left;
|
||||
border: 2px solid #0e678c;
|
||||
border-bottom: none;
|
||||
margin-left: .5em;
|
||||
padding: 5px 10px;
|
||||
font-size: 14px;
|
||||
line-height: 1.71428571;
|
||||
font-weight: 600;
|
||||
background: #0071a1;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.mage_settings_panel_wrap .nav-tab.nav-tab-active {
|
||||
background: #5ea8c8;
|
||||
background: #5ea8c8;
|
||||
}
|
||||
.mage_settings_panel_wrap table th {
|
||||
width: 330px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 10px 10px 0 0;
|
||||
font-size: 13px;
|
||||
width: 330px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 10px 10px 0 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.mage_settings_panel_wrap table td {
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 10px 0;
|
||||
}
|
||||
.mage_settings_panel_wrap p.submit {
|
||||
text-align: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.mage_settings_panel_wrap p.submit input {
|
||||
font-size: 16px;
|
||||
padding: 5px 30px;
|
||||
border-radius: 0;
|
||||
font-size: 16px;
|
||||
padding: 5px 30px;
|
||||
border-radius: 0;
|
||||
}
|
||||
.mage_settings_panel_wrap .metabox-holder h2 {
|
||||
border-bottom: 2px solid #0071a1;
|
||||
font-size: 20px;
|
||||
padding: 15px;
|
||||
background: #ddd;
|
||||
margin-bottom: 30px;
|
||||
margin-top: 10px;
|
||||
border-bottom: 2px solid #0071a1;
|
||||
font-size: 20px;
|
||||
padding: 15px;
|
||||
background: #ddd;
|
||||
margin-bottom: 30px;
|
||||
margin-top: 10px;
|
||||
}
|
|
@ -119,5 +119,16 @@ function mep_fw_meta_boxs()
|
|||
if($speaker_status == 'yes'){
|
||||
new AddMetaBox($events_speaker_list_meta_args);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -37,11 +37,6 @@ add_meta_box( 'mep-event-rest-count-sec', __('Event Reset Booking Count','mage-e
|
|||
|
||||
add_meta_box( 'mep-event-rich-text', __('<span class="dashicons dashicons-admin-generic" style="color:green; padding-right:10px;"></span>Event Rich text','mage-eventpress'), 'mep_event_rich_text_meta_box_cb', 'mep_events', 'normal', 'high' );
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
add_action('admin_head','mep_hide_single_price_section');
|
||||
|
@ -102,35 +97,6 @@ function mep_event_rich_text_meta_box_cb($post){
|
|||
}
|
||||
|
||||
|
||||
add_action('save_post','mep_rt_meta_save');
|
||||
function mep_rt_meta_save($post_id){
|
||||
|
||||
global $wpdb;
|
||||
|
||||
if ( ! isset( $_POST['mep_event_ricn_text_nonce'] ) || ! wp_verify_nonce( $_POST['mep_event_ricn_text_nonce'], 'mep_event_ricn_text_nonce' ) )
|
||||
return;
|
||||
|
||||
if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)
|
||||
return;
|
||||
|
||||
if (!current_user_can('edit_post', $post_id))
|
||||
return;
|
||||
|
||||
|
||||
if (get_post_type($post_id) == 'mep_events') {
|
||||
|
||||
$event_rt_status = $_POST['mep_rt_event_status'];
|
||||
$event_rt_atdnce_mode = $_POST['mep_rt_event_attandence_mode'];
|
||||
$event_rt_prv_date = $_POST['mep_rt_event_prvdate'];
|
||||
|
||||
update_post_meta( $post_id, 'mep_rt_event_status', $event_rt_status);
|
||||
update_post_meta( $post_id, 'mep_rt_event_attandence_mode', $event_rt_atdnce_mode);
|
||||
update_post_meta( $post_id, 'mep_rt_event_prvdate', $event_rt_prv_date);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -185,7 +151,6 @@ function mep_event_tax_cb($post){
|
|||
$values = get_post_custom( $post->ID );
|
||||
wp_nonce_field( 'mep_event_reg_btn_nonce', 'mep_event_reg_btn_nonce' );
|
||||
$check_values = isset($values['_tax_status'][0]) ? $values['_tax_status'][0] : "";
|
||||
echo $check_values;
|
||||
|
||||
if(array_key_exists('_tax_status', $values)){ $tx_status = $values['_tax_status'][0]; }else{ $tx_status = ''; }
|
||||
|
||||
|
@ -1124,22 +1089,7 @@ function mep_event_date_meta_box_cb($post){
|
|||
});
|
||||
</script>
|
||||
|
||||
<!-- <div class='sec'>
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="event_start_date"> <?php _e('Start Date & Time:','mage-eventpress'); ?> </label>
|
||||
<span><input class='event_start' id='event_start_date' type="text" name='mep_event_start_date' placeholder="YYYY-MM-DD" value='<?php if(array_key_exists('mep_event_start_date', $values)){ echo $values['mep_event_start_date'][0]; } ?>'> </span>
|
||||
</td>
|
||||
<td>
|
||||
<label for="event_end_date"> <?php _e('End Date & Time:','mage-eventpress'); ?> </label>
|
||||
<span><input class='event_end' id='event_end_date' type="text" name='mep_event_end_date' placeholder="YYYY-MM-DD" value='<?php if(array_key_exists('mep_event_end_date', $values)){ echo $values['mep_event_end_date'][0]; } ?>'> </span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div> -->
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="sec">
|
||||
<table id="repeatable-fieldset-one-d" width="100%">
|
||||
|
@ -1285,7 +1235,7 @@ if($current_template){
|
|||
add_action('save_post', 'mep_events_ticket_type_save');
|
||||
function mep_events_ticket_type_save($post_id) {
|
||||
global $wpdb;
|
||||
$table_name = $wpdb->prefix . 'mep_event_ticket_type';
|
||||
|
||||
|
||||
if ( ! isset( $_POST['mep_event_ticket_type_nonce'] ) ||
|
||||
! wp_verify_nonce( $_POST['mep_event_ticket_type_nonce'], 'mep_event_ticket_type_nonce' ) )
|
||||
|
@ -1300,64 +1250,65 @@ function mep_events_ticket_type_save($post_id) {
|
|||
|
||||
if (get_post_type($post_id) == 'mep_events') {
|
||||
|
||||
$old = get_post_meta($post_id, 'mep_event_ticket_type', true);
|
||||
$new = array();
|
||||
// $options = hhs_get_sample_options();
|
||||
|
||||
$names = $_POST['option_name_t'];
|
||||
// $selects = $_POST['select'];
|
||||
$urls = $_POST['option_price_t'];
|
||||
$qty = $_POST['option_qty_t'];
|
||||
$dqty = $_POST['option_default_qty_t'];
|
||||
$rsv = $_POST['option_rsv_t'];
|
||||
$qty_type = $_POST['option_qty_t_type'];
|
||||
// $required = $_POST['option_required_t'];
|
||||
// $total_sold = $_POST['option_sold'];
|
||||
|
||||
$order_id = 0;
|
||||
$count = count( $names );
|
||||
|
||||
for ( $i = 0; $i < $count; $i++ ) {
|
||||
|
||||
if ( $names[$i] != '' ) :
|
||||
$new[$i]['option_name_t'] = stripslashes( strip_tags( $names[$i] ) );
|
||||
endif;
|
||||
|
||||
if ( $urls[$i] != '' ) :
|
||||
$new[$i]['option_price_t'] = stripslashes( strip_tags( $urls[$i] ) );
|
||||
endif;
|
||||
|
||||
if ( $qty[$i] != '' ) :
|
||||
$new[$i]['option_qty_t'] = stripslashes( strip_tags( $qty[$i] ) );
|
||||
endif;
|
||||
|
||||
if ( $rsv[$i] != '' ) :
|
||||
$new[$i]['option_rsv_t'] = stripslashes( strip_tags( $rsv[$i] ) );
|
||||
endif;
|
||||
|
||||
if ( $dqty[$i] != '' ) :
|
||||
$new[$i]['option_default_qty_t'] = stripslashes( strip_tags( $dqty[$i] ) );
|
||||
endif;
|
||||
|
||||
if ( $qty_type[$i] != '' ) :
|
||||
$new[$i]['option_qty_t_type'] = stripslashes( strip_tags( $qty_type[$i] ) );
|
||||
endif;
|
||||
|
||||
// if ( $required[$i] != '' ) :
|
||||
// $new[$i]['option_required_t'] = stripslashes( strip_tags( $required[$i] ) );
|
||||
// endif;
|
||||
|
||||
$old = get_post_meta($post_id, 'mep_event_ticket_type', true) ? get_post_meta($post_id, 'mep_event_ticket_type', true) : array();
|
||||
|
||||
|
||||
$opt_name = $post_id.str_replace(' ', '', $names[$i]);
|
||||
|
||||
// update_post_meta( $post_id, "mep_xtra_$opt_name",0 );
|
||||
$new = array();
|
||||
$names = $_POST['option_name_t'] ? $_POST['option_name_t'] : array();
|
||||
$ticket_price = $_POST['option_price_t'] ? $_POST['option_price_t'] : array();
|
||||
$qty = $_POST['option_qty_t'] ? $_POST['option_qty_t'] : array();
|
||||
$dflt_qty = $_POST['option_default_qty_t'] ? $_POST['option_default_qty_t'] : array();
|
||||
$rsv = $_POST['option_rsv_t'] ? $_POST['option_rsv_t'] : array();
|
||||
$qty_type = $_POST['option_qty_t_type'] ? $_POST['option_qty_t_type'] : array();
|
||||
|
||||
$count = count( $names );
|
||||
|
||||
for ( $i = 0; $i < $count; $i++ ) {
|
||||
// $new[$i]['option_name_t'] = !empty($names[$i]) ? stripslashes( strip_tags( $names[$i] ) ) : '';
|
||||
// $new[$i]['option_price_t'] = !empty($ticket_price[$i]) ? stripslashes( strip_tags( $ticket_price[$i] ) ) : '';
|
||||
// $new[$i]['option_qty_t'] = !empty($qty[$i]) ? stripslashes( strip_tags( $qty[$i] ) ) : '';
|
||||
// $new[$i]['option_rsv_t'] = !empty($rsv[$i]) ? stripslashes( strip_tags( $rsv[$i] ) ) : '';
|
||||
// $new[$i]['option_default_qty_t'] = !empty($dflt_qty[$i]) ? stripslashes( strip_tags( $dflt_qty[$i] ) ) : '';
|
||||
// $new[$i]['option_qty_t_type'] = !empty($qty_type[$i]) ? stripslashes( strip_tags( $qty_type[$i] ) ) : '';
|
||||
|
||||
|
||||
if ( $names[ $i ] != '' ) :
|
||||
$new[ $i ]['option_name_t'] = stripslashes( strip_tags( $names[ $i ] ) );
|
||||
endif;
|
||||
|
||||
|
||||
if ( $ticket_price[ $i ] != '' ) :
|
||||
$new[ $i ]['option_price_t'] = stripslashes( strip_tags( $ticket_price[ $i ] ) );
|
||||
endif;
|
||||
|
||||
|
||||
if ( $qty[ $i ] != '' ) :
|
||||
$new[ $i ]['option_qty_t'] = stripslashes( strip_tags( $qty[ $i ] ) );
|
||||
endif;
|
||||
|
||||
|
||||
if ( $rsv[ $i ] != '' ) :
|
||||
$new[ $i ]['option_rsv_t'] = stripslashes( strip_tags( $rsv[ $i ] ) );
|
||||
endif;
|
||||
|
||||
|
||||
if ( $dflt_qty[ $i ] != '' ) :
|
||||
$new[ $i ]['option_default_qty_t'] = stripslashes( strip_tags( $dflt_qty[ $i ] ) );
|
||||
endif;
|
||||
|
||||
if ( $qty_type[ $i ] != '' ) :
|
||||
$new[ $i ]['option_qty_t_type'] = stripslashes( strip_tags( $qty_type[ $i ] ) );
|
||||
endif;
|
||||
|
||||
}
|
||||
|
||||
if ( !empty( $new ) && $new != $old )
|
||||
update_post_meta( $post_id, 'mep_event_ticket_type', $new );
|
||||
elseif ( empty($new) && $old )
|
||||
$ticket_type_list = apply_filters('mep_ticket_type_arr_save',$new);
|
||||
|
||||
|
||||
if ( !empty( $ticket_type_list ) && $ticket_type_list != $old )
|
||||
update_post_meta( $post_id, 'mep_event_ticket_type', $ticket_type_list );
|
||||
elseif ( empty($ticket_type_list) && $old )
|
||||
delete_post_meta( $post_id, 'mep_event_ticket_type', $old );
|
||||
}
|
||||
}
|
||||
|
@ -1446,195 +1397,162 @@ if (get_post_type($post_id) == 'mep_events') {
|
|||
|
||||
|
||||
|
||||
/**
|
||||
* Now Saving the Event Meta Field Data
|
||||
*/
|
||||
|
||||
|
||||
add_action('save_post','mep_event_meta_save');
|
||||
function mep_event_meta_save($post_id){
|
||||
|
||||
if ( ! isset( $_POST['mep_event_ricn_text_nonce'] ) || ! wp_verify_nonce( $_POST['mep_event_ricn_text_nonce'], 'mep_event_ricn_text_nonce' ) )
|
||||
return;
|
||||
|
||||
if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)
|
||||
return;
|
||||
|
||||
if (!current_user_can('edit_post', $post_id))
|
||||
return;
|
||||
|
||||
|
||||
/**
|
||||
* If the saving post is event then go on
|
||||
*/
|
||||
if (get_post_type($post_id) == 'mep_events') {
|
||||
$pid = $post_id;
|
||||
|
||||
$oldm = get_post_meta($post_id, 'mep_event_more_date', true);
|
||||
|
||||
$more_start_date = isset($_POST['event_more_start_date']) ? $_POST['event_more_start_date'] : array();
|
||||
$more_start_time = isset($_POST['event_more_start_time']) ? $_POST['event_more_start_time'] : '';
|
||||
$more_end_date = isset($_POST['event_more_end_date']) ? $_POST['event_more_end_date'] : '';
|
||||
$more_end_time = isset($_POST['event_more_end_time']) ? $_POST['event_more_end_time'] : '';
|
||||
|
||||
|
||||
$mcount = count( $more_start_date );
|
||||
|
||||
for ( $m = 0; $m < $mcount; $m++ ) {
|
||||
if ( $more_start_date[$m] != '' ) :
|
||||
$mdate[$m]['event_more_start_date'] = stripslashes( strip_tags( $more_start_date[$m] ) );
|
||||
$mdate[$m]['event_more_start_time'] = stripslashes( strip_tags( $more_start_time[$m] ) );
|
||||
$mdate[$m]['event_more_end_date'] = stripslashes( strip_tags( $more_end_date[$m] ) );
|
||||
$mdate[$m]['event_more_end_time'] = stripslashes( strip_tags( $more_end_time[$m] ) );
|
||||
endif;
|
||||
}
|
||||
|
||||
|
||||
|
||||
add_action('save_post','mep_events_meta_save');
|
||||
function mep_events_meta_save($post_id){
|
||||
global $post;
|
||||
if($post){
|
||||
$pid = $post->ID;
|
||||
if ($post->post_type != 'mep_events'){
|
||||
return;
|
||||
}
|
||||
}else{
|
||||
$pid='';
|
||||
}
|
||||
|
||||
if (get_post_type($post_id) == 'mep_events') {
|
||||
|
||||
$oldm = get_post_meta($post_id, 'mep_event_more_date', true);
|
||||
|
||||
$more_start_date = isset($_POST['event_more_start_date']) ? $_POST['event_more_start_date'] : array();
|
||||
$more_start_time = isset($_POST['event_more_start_time']) ? $_POST['event_more_start_time'] : '';
|
||||
$more_end_date = isset($_POST['event_more_end_date']) ? $_POST['event_more_end_date'] : '';
|
||||
$more_end_time = isset($_POST['event_more_end_time']) ? $_POST['event_more_end_time'] : '';
|
||||
|
||||
|
||||
$mcount = count( $more_start_date );
|
||||
|
||||
for ( $m = 0; $m < $mcount; $m++ ) {
|
||||
if ( $more_start_date[$m] != '' ) :
|
||||
$mdate[$m]['event_more_start_date'] = stripslashes( strip_tags( $more_start_date[$m] ) );
|
||||
$mdate[$m]['event_more_start_time'] = stripslashes( strip_tags( $more_start_time[$m] ) );
|
||||
$mdate[$m]['event_more_end_date'] = stripslashes( strip_tags( $more_end_date[$m] ) );
|
||||
$mdate[$m]['event_more_end_time'] = stripslashes( strip_tags( $more_end_time[$m] ) );
|
||||
endif;
|
||||
}
|
||||
$event_rt_status = $_POST['mep_rt_event_status'];
|
||||
$event_rt_atdnce_mode = $_POST['mep_rt_event_attandence_mode'];
|
||||
$event_rt_prv_date = $_POST['mep_rt_event_prvdate'];
|
||||
|
||||
$seat = isset( $_POST['mep_total_seat'] ) ? strip_tags( $_POST['mep_total_seat'] ) : "";
|
||||
$rsvs = isset( $_POST['mep_rsv_seat'] ) ? strip_tags( $_POST['mep_rsv_seat'] ) : "";
|
||||
$mep_location_venue = isset( $_POST['mep_location_venue'] ) ? strip_tags( $_POST['mep_location_venue'] ) : "";
|
||||
$mep_street = isset( $_POST['mep_street'] ) ? strip_tags( $_POST['mep_street'] ) : "";
|
||||
$mep_city = isset( $_POST['mep_city'] ) ? strip_tags( $_POST['mep_city'] ) : "";
|
||||
$mep_state = isset($_POST['mep_state']) ? strip_tags( $_POST['mep_state'] ) : "";
|
||||
$mep_postcode = isset($_POST['mep_postcode']) ? strip_tags( $_POST['mep_postcode'] ) : "";
|
||||
$mep_country = isset($_POST['mep_country']) ? strip_tags( $_POST['mep_country'] ) : "";
|
||||
$mep_price_label = isset($_POST['mep_price_label']) ? strip_tags( $_POST['mep_price_label'] ) : "";
|
||||
$mep_sqi = isset($_POST['mep_sqi']) ? strip_tags( $_POST['mep_sqi'] ) : "";
|
||||
$qty_box_type = isset($_POST['qty_box_type']) ? strip_tags( $_POST['qty_box_type'] ) : "";
|
||||
$mep_sgm = isset($_POST['mep_sgm']) ? strip_tags( $_POST['mep_sgm'] ) : "";
|
||||
$mep_org_address = isset($_POST['mep_org_address']) ? strip_tags( $_POST['mep_org_address'] ) : "";
|
||||
$_price = isset($_POST['_price']) ? strip_tags( $_POST['_price'] ) : "";
|
||||
|
||||
$event_start_date = strip_tags($_POST['event_start_date']);
|
||||
$event_start_time = strip_tags($_POST['event_start_time']);
|
||||
$event_end_date = strip_tags($_POST['event_end_date']);
|
||||
$event_end_time = strip_tags($_POST['event_end_time']);
|
||||
// $mep_event_end_date = strip_tags($_POST['mep_event_end_date']);
|
||||
$mep_event_cc_email_text = $_POST['mep_event_cc_email_text'];
|
||||
|
||||
|
||||
$latitude = isset($_POST['latitude']) ? strip_tags($_POST['latitude']) : "";
|
||||
$longitude = isset($_POST['latitude']) ? strip_tags($_POST['longitude']): "";
|
||||
$location_name = isset($_POST['location_name']) ? strip_tags($_POST['location_name']) : "";
|
||||
|
||||
$mep_full_name = isset($_POST['mep_full_name']) ? strip_tags($_POST['mep_full_name']) : "";
|
||||
$mep_reg_email = isset($_POST['mep_reg_email']) ? strip_tags($_POST['mep_reg_email']) : "";
|
||||
$mep_reg_phone = isset($_POST['mep_reg_phone']) ? strip_tags($_POST['mep_reg_phone']) : "";
|
||||
$mep_reg_address = isset($_POST['mep_reg_address']) ? strip_tags($_POST['mep_reg_address']) : "";
|
||||
$mep_reg_designation = isset($_POST['mep_reg_designation']) ? strip_tags($_POST['mep_reg_designation']) : "";
|
||||
$mep_reg_website = isset($_POST['mep_reg_website']) ? strip_tags($_POST['mep_reg_website']) : "";
|
||||
$mep_reg_veg = isset($_POST['mep_reg_veg']) ? strip_tags($_POST['mep_reg_veg']) : "";
|
||||
$mep_reg_company = isset($_POST['mep_reg_company']) ? strip_tags($_POST['mep_reg_company']) : "";
|
||||
$mep_reg_gender = isset($_POST['mep_reg_gender']) ? strip_tags($_POST['mep_reg_gender']) : "";
|
||||
$mep_reg_tshirtsize = isset($_POST['mep_reg_tshirtsize']) ? strip_tags($_POST['mep_reg_tshirtsize']) : "";
|
||||
$mep_reg_tshirtsize_list = isset($_POST['mep_reg_tshirtsize_list']) ? strip_tags($_POST['mep_reg_tshirtsize_list']) : "";
|
||||
$mep_event_template = isset($_POST['mep_event_template']) ? strip_tags($_POST['mep_event_template']) : "";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if ( !empty( $mdate ) && $mdate != $oldm )
|
||||
$event_start_datetime = date('Y-m-d H:i:s',strtotime($event_start_date.' '.$event_start_time));
|
||||
$event_end_datetime = date('Y-m-d H:i:s',strtotime($event_end_date.' '.$event_end_time));
|
||||
$md = sizeof($mdate)>0 ? end($mdate) : array();
|
||||
$event_expire_datetime = sizeof($md) > 0 ? date('Y-m-d H:i:s',strtotime($md['event_more_end_date'].' '.$md['event_more_end_time'])) : $event_end_datetime;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
update_post_meta( $post_id, 'mep_rt_event_status', $event_rt_status);
|
||||
update_post_meta( $post_id, 'mep_rt_event_attandence_mode', $event_rt_atdnce_mode);
|
||||
update_post_meta( $post_id, 'mep_rt_event_prvdate', $event_rt_prv_date);
|
||||
|
||||
update_post_meta( $pid, 'mep_full_name', $mep_full_name);
|
||||
update_post_meta( $pid, 'mep_reg_email', $mep_reg_email);
|
||||
update_post_meta( $pid, 'mep_reg_phone', $mep_reg_phone);
|
||||
update_post_meta( $pid, 'mep_reg_address', $mep_reg_address);
|
||||
update_post_meta( $pid, 'mep_reg_designation', $mep_reg_designation);
|
||||
update_post_meta( $pid, 'mep_reg_website', $mep_reg_website);
|
||||
update_post_meta( $pid, 'mep_reg_veg', $mep_reg_veg);
|
||||
update_post_meta( $pid, 'mep_reg_company', $mep_reg_company);
|
||||
update_post_meta( $pid, 'mep_reg_gender', $mep_reg_gender);
|
||||
update_post_meta( $pid, 'mep_reg_tshirtsize', $mep_reg_tshirtsize);
|
||||
update_post_meta( $pid, 'mep_reg_tshirtsize_list', $mep_reg_tshirtsize_list);
|
||||
update_post_meta( $pid, 'mep_event_template', $mep_event_template);
|
||||
update_post_meta( $pid, 'mep_org_address', $mep_org_address);
|
||||
|
||||
update_post_meta( $pid, 'event_start_date', $event_start_date);
|
||||
update_post_meta( $pid, 'event_start_time', $event_start_time);
|
||||
update_post_meta( $pid, 'event_end_date', $event_end_date);
|
||||
update_post_meta( $pid, 'event_end_time', $event_end_time);
|
||||
update_post_meta( $post_id, 'event_start_datetime', $event_start_datetime );
|
||||
update_post_meta( $post_id, 'event_end_datetime', $event_end_datetime );
|
||||
update_post_meta( $post_id, 'event_expire_datetime', $event_expire_datetime );
|
||||
update_post_meta( $pid, '_manage_stock', $st_msg);
|
||||
update_post_meta( $pid, '_stock', $seat);
|
||||
update_post_meta( $pid, '_stock_msg', 'new');
|
||||
update_post_meta( $pid, 'longitude', $longitude);
|
||||
update_post_meta( $pid, 'latitude', $latitude);
|
||||
update_post_meta( $pid, 'location_name', $location_name);
|
||||
update_post_meta( $pid, 'mep_location_venue', $mep_location_venue);
|
||||
update_post_meta( $pid, 'mep_street', $mep_street);
|
||||
update_post_meta( $pid, '_sold_individually', 'no');
|
||||
update_post_meta( $pid, 'mep_city', $mep_city);
|
||||
update_post_meta( $pid, 'mep_state', $mep_state);
|
||||
update_post_meta( $pid, 'mep_postcode', $mep_postcode);
|
||||
update_post_meta( $pid, 'mep_country', $mep_country);
|
||||
update_post_meta( $pid, 'mep_sqi', $mep_sqi);
|
||||
update_post_meta( $pid, 'qty_box_type', $qty_box_type);
|
||||
update_post_meta( $pid, 'mep_sgm', $mep_sgm);
|
||||
update_post_meta( $pid, 'mep_price_label', $mep_price_label);
|
||||
update_post_meta( $pid, '_price', $_price);
|
||||
update_post_meta( $pid, '_virtual', 'yes');
|
||||
update_post_meta( $pid, 'mep_event_cc_email_text', $mep_event_cc_email_text);
|
||||
update_post_meta( $pid, '_sku', $pid);
|
||||
|
||||
if ( !empty( $mdate ) && $mdate != $oldm )
|
||||
update_post_meta( $post_id, 'mep_event_more_date', $mdate );
|
||||
|
||||
elseif ( empty($mdate) && $oldm )
|
||||
elseif ( empty($mdate) && $oldm )
|
||||
delete_post_meta( $post_id, 'mep_event_more_date', $oldm );
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//if you get here then it's your post type so do your thing....
|
||||
if(isset($_POST['mep_total_seat'])){
|
||||
|
||||
$seat = isset( $_POST['mep_total_seat'] ) ? strip_tags( $_POST['mep_total_seat'] ) : "";
|
||||
$rsvs = isset( $_POST['mep_rsv_seat'] ) ? strip_tags( $_POST['mep_rsv_seat'] ) : "";
|
||||
$mep_location_venue = isset( $_POST['mep_location_venue'] ) ? strip_tags( $_POST['mep_location_venue'] ) : "";
|
||||
$mep_street = isset( $_POST['mep_street'] ) ? strip_tags( $_POST['mep_street'] ) : "";
|
||||
$mep_city = isset( $_POST['mep_city'] ) ? strip_tags( $_POST['mep_city'] ) : "";
|
||||
$mep_state = isset($_POST['mep_state']) ? strip_tags( $_POST['mep_state'] ) : "";
|
||||
$mep_postcode = isset($_POST['mep_postcode']) ? strip_tags( $_POST['mep_postcode'] ) : "";
|
||||
$mep_country = isset($_POST['mep_country']) ? strip_tags( $_POST['mep_country'] ) : "";
|
||||
$mep_price_label = isset($_POST['mep_price_label']) ? strip_tags( $_POST['mep_price_label'] ) : "";
|
||||
$mep_sqi = isset($_POST['mep_sqi']) ? strip_tags( $_POST['mep_sqi'] ) : "";
|
||||
$qty_box_type = isset($_POST['qty_box_type']) ? strip_tags( $_POST['qty_box_type'] ) : "";
|
||||
$mep_sgm = isset($_POST['mep_sgm']) ? strip_tags( $_POST['mep_sgm'] ) : "";
|
||||
$mep_org_address = isset($_POST['mep_org_address']) ? strip_tags( $_POST['mep_org_address'] ) : "";
|
||||
$_price = isset($_POST['_price']) ? strip_tags( $_POST['_price'] ) : "";
|
||||
|
||||
$event_start_date = strip_tags($_POST['event_start_date']);
|
||||
$event_start_time = strip_tags($_POST['event_start_time']);
|
||||
$event_end_date = strip_tags($_POST['event_end_date']);
|
||||
$event_end_time = strip_tags($_POST['event_end_time']);
|
||||
// $mep_event_end_date = strip_tags($_POST['mep_event_end_date']);
|
||||
$mep_event_cc_email_text = $_POST['mep_event_cc_email_text'];
|
||||
|
||||
|
||||
$latitude = isset($_POST['latitude']) ? strip_tags($_POST['latitude']) : "";
|
||||
$longitude = isset($_POST['latitude']) ? strip_tags($_POST['longitude']): "";
|
||||
$location_name = isset($_POST['location_name']) ? strip_tags($_POST['location_name']) : "";
|
||||
|
||||
$mep_full_name = isset($_POST['mep_full_name']) ? strip_tags($_POST['mep_full_name']) : "";
|
||||
$mep_reg_email = isset($_POST['mep_reg_email']) ? strip_tags($_POST['mep_reg_email']) : "";
|
||||
$mep_reg_phone = isset($_POST['mep_reg_phone']) ? strip_tags($_POST['mep_reg_phone']) : "";
|
||||
$mep_reg_address = isset($_POST['mep_reg_address']) ? strip_tags($_POST['mep_reg_address']) : "";
|
||||
$mep_reg_designation = isset($_POST['mep_reg_designation']) ? strip_tags($_POST['mep_reg_designation']) : "";
|
||||
$mep_reg_website = isset($_POST['mep_reg_website']) ? strip_tags($_POST['mep_reg_website']) : "";
|
||||
$mep_reg_veg = isset($_POST['mep_reg_veg']) ? strip_tags($_POST['mep_reg_veg']) : "";
|
||||
$mep_reg_company = isset($_POST['mep_reg_company']) ? strip_tags($_POST['mep_reg_company']) : "";
|
||||
$mep_reg_gender = isset($_POST['mep_reg_gender']) ? strip_tags($_POST['mep_reg_gender']) : "";
|
||||
$mep_reg_tshirtsize = isset($_POST['mep_reg_tshirtsize']) ? strip_tags($_POST['mep_reg_tshirtsize']) : "";
|
||||
$mep_reg_tshirtsize_list = isset($_POST['mep_reg_tshirtsize_list']) ? strip_tags($_POST['mep_reg_tshirtsize_list']) : "";
|
||||
$mep_event_template = isset($_POST['mep_event_template']) ? strip_tags($_POST['mep_event_template']) : "";
|
||||
|
||||
|
||||
|
||||
|
||||
$update_reg_name = update_post_meta( $pid, 'mep_full_name', $mep_full_name);
|
||||
$update_reg_email = update_post_meta( $pid, 'mep_reg_email', $mep_reg_email);
|
||||
$update_reg_phone = update_post_meta( $pid, 'mep_reg_phone', $mep_reg_phone);
|
||||
$update_reg_address = update_post_meta( $pid, 'mep_reg_address', $mep_reg_address);
|
||||
$update_reg_desg = update_post_meta( $pid, 'mep_reg_designation', $mep_reg_designation);
|
||||
$update_reg_web = update_post_meta( $pid, 'mep_reg_website', $mep_reg_website);
|
||||
$update_reg_veg = update_post_meta( $pid, 'mep_reg_veg', $mep_reg_veg);
|
||||
$update_reg_comapny = update_post_meta( $pid, 'mep_reg_company', $mep_reg_company);
|
||||
$update_reg_gender = update_post_meta( $pid, 'mep_reg_gender', $mep_reg_gender);
|
||||
$update_tshirtsize = update_post_meta( $pid, 'mep_reg_tshirtsize', $mep_reg_tshirtsize);
|
||||
$mep_reg_tshirtsize_list = update_post_meta( $pid, 'mep_reg_tshirtsize_list', $mep_reg_tshirtsize_list);
|
||||
$update_template = update_post_meta( $pid, 'mep_event_template', $mep_event_template);
|
||||
$update_mep_org_address = update_post_meta( $pid, 'mep_org_address', $mep_org_address);
|
||||
|
||||
$event_start_datetime = date('Y-m-d H:i:s',strtotime($event_start_date.' '.$event_start_time));
|
||||
$event_end_datetime = date('Y-m-d H:i:s',strtotime($event_end_date.' '.$event_end_time));
|
||||
|
||||
|
||||
|
||||
$md = sizeof($mdate)>0 ? end($mdate) : array();
|
||||
$event_expire_datetime = sizeof($md) > 0 ? date('Y-m-d H:i:s',strtotime($md['event_more_end_date'].' '.$md['event_more_end_time'])) : $event_end_datetime;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
update_post_meta( $pid, 'event_start_date', $event_start_date);
|
||||
update_post_meta( $pid, 'event_start_time', $event_start_time);
|
||||
update_post_meta( $pid, 'event_end_date', $event_end_date);
|
||||
update_post_meta( $pid, 'event_end_time', $event_end_time);
|
||||
update_post_meta( $post_id, 'event_start_datetime', $event_start_datetime );
|
||||
update_post_meta( $post_id, 'event_end_datetime', $event_end_datetime );
|
||||
update_post_meta( $post_id, 'event_expire_datetime', $event_expire_datetime );
|
||||
|
||||
$mep_event_ticket_type = get_post_meta($pid, 'mep_event_ticket_type', true);
|
||||
|
||||
if($mep_event_ticket_type){
|
||||
$st_msg = 'no';
|
||||
$seat = "";
|
||||
$_price =0;
|
||||
$rsvs =0;
|
||||
}else{
|
||||
$st_msg = 'yes';
|
||||
$_price = $_price;
|
||||
$seat = $seat;
|
||||
$rsvs = $rsvs;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
$update_seat = update_post_meta( $pid, 'mep_total_seat', $seat);
|
||||
$update_seat = update_post_meta( $pid, 'mep_rsv_seat', $rsvs);
|
||||
|
||||
$update_seat_stock_status = update_post_meta( $pid, '_manage_stock', $st_msg);
|
||||
|
||||
$update_seat_stock = update_post_meta( $pid, '_stock', $seat);
|
||||
$sts_msg = update_post_meta( $pid, '_stock_msg', 'new');
|
||||
// $ttl_booking = update_post_meta( $pid, 'total_booking', '0');
|
||||
|
||||
$longitude = update_post_meta( $pid, 'longitude', $longitude);
|
||||
$latitude = update_post_meta( $pid, 'latitude', $latitude);
|
||||
$location_name = update_post_meta( $pid, 'location_name', $location_name);
|
||||
|
||||
|
||||
|
||||
$update_location = update_post_meta( $pid, 'mep_location_venue', $mep_location_venue);
|
||||
$update_mep_street = update_post_meta( $pid, 'mep_street', $mep_street);
|
||||
$update_seat_stock_status = update_post_meta( $pid, '_sold_individually', 'no');
|
||||
$update_city = update_post_meta( $pid, 'mep_city', $mep_city);
|
||||
$update_mep_state = update_post_meta( $pid, 'mep_state', $mep_state);
|
||||
$update_postcode = update_post_meta( $pid, 'mep_postcode', $mep_postcode);
|
||||
$update_conuntry = update_post_meta( $pid, 'mep_country', $mep_country);
|
||||
$update_sqi = update_post_meta( $pid, 'mep_sqi', $mep_sqi);
|
||||
$qty_box_type = update_post_meta( $pid, 'qty_box_type', $qty_box_type);
|
||||
$update_mep_sgm = update_post_meta( $pid, 'mep_sgm', $mep_sgm);
|
||||
$update_price_label = update_post_meta( $pid, 'mep_price_label', $mep_price_label);
|
||||
$update_price = update_post_meta( $pid, '_price', $_price);
|
||||
// $update_start = update_post_meta( $pid, 'mep_event_start_date', $mep_event_start_date);
|
||||
$update_virtual = update_post_meta( $pid, '_virtual', 'yes');
|
||||
// $update_end = update_post_meta( $pid, 'mep_event_end_date', $mep_event_end_date);
|
||||
$mep_event_cc_email_text = update_post_meta( $pid, 'mep_event_cc_email_text', $mep_event_cc_email_text);
|
||||
$mep_event_sku = update_post_meta( $pid, '_sku', $pid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -30,6 +30,7 @@ function mep_add_custom_fields_text_to_cart_item($cart_item_data, $product_id, $
|
|||
$user = $form_position == 'details_page' ? mep_save_attendee_info_into_cart($product_id) : array();
|
||||
$validate = mep_cart_ticket_type('validation_data', $total_price,$product_id);
|
||||
|
||||
|
||||
/**
|
||||
* Now Store the datas into Cart Session
|
||||
*/
|
||||
|
@ -85,6 +86,8 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
|
|||
$eid = array_key_exists('event_id', $cart_item) ? $cart_item['event_id'] : 0; //$cart_item['event_id'];
|
||||
|
||||
if (get_post_type($eid) == 'mep_events') {
|
||||
$hide_location_status = mep_get_option('mep_hide_location_from_order_page', 'general_setting_sec', 'no');
|
||||
$hide_date_status = mep_get_option('mep_hide_date_from_order_page', 'general_setting_sec', 'no');
|
||||
$user_info = $cart_item['event_user_info'];
|
||||
$ticket_type_arr = $cart_item['event_ticket_info'];
|
||||
$event_extra_service = $cart_item['event_extra_service'];
|
||||
|
@ -98,9 +101,11 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
|
|||
if ($recurring == 'yes') {
|
||||
if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0 && sizeof($user_info) == 0) {
|
||||
foreach ($ticket_type_arr as $_event_recurring_date) {
|
||||
if($hide_date_status == 'no'){
|
||||
?>
|
||||
<li><?php _e('Event Date', 'mage-eventpress'); ?>: <?php echo $cart_item['event_cart_date']; ?></li>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -119,15 +124,19 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
|
|||
<?php
|
||||
echo '</li>';
|
||||
} else {
|
||||
if($hide_date_status == 'no'){
|
||||
?>
|
||||
<li><?php _e('Event Date', 'mage-eventpress'); ?>: <?php echo get_mep_datetime($cart_item['event_cart_display_date'],'date-time-text'); ?></li>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
}
|
||||
if($hide_location_status == 'no'){
|
||||
?>
|
||||
|
||||
<li><?php _e('Event Location', 'mage-eventpress'); ?>: <?php echo $cart_item['event_cart_location']; ?></li>
|
||||
<?php
|
||||
}
|
||||
if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0) {
|
||||
foreach ($ticket_type_arr as $ticket) {
|
||||
echo '<li>' . $ticket['ticket_name'] . " - " . wc_price($ticket['ticket_price']) . ' x ' . $ticket['ticket_qty'] . ' = ' . wc_price($ticket['ticket_price'] * $ticket['ticket_qty']) . '</li>';
|
||||
|
|
|
@ -847,15 +847,9 @@ add_filter('template_include', 'mep_city_template_chooser');
|
|||
// Getting event exprie date & time
|
||||
function mep_get_event_status($startdatetime){
|
||||
|
||||
// $default_timezone_val = wp_timezone_string();
|
||||
// date_default_timezone_set($default_timezone_val);
|
||||
|
||||
$current = current_time('Y-m-d H:i:s');
|
||||
$newformat = date('Y-m-d H:i:s',strtotime($startdatetime));
|
||||
|
||||
|
||||
// date_default_timezone_set(get_option('timezone_string'));
|
||||
|
||||
|
||||
$datetime1 = new DateTime($newformat);
|
||||
$datetime2 = new DateTime($current);
|
||||
|
||||
|
@ -876,7 +870,13 @@ add_filter('template_include', 'mep_city_template_chooser');
|
|||
}
|
||||
|
||||
|
||||
|
||||
function mep_merge_saved_array($arr1,$arr2){
|
||||
$output = [];
|
||||
for ($i=0; $i<count($arr1); $i++) {
|
||||
$output[$i] = array_merge($arr1[$i], $arr2[$i]);
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
||||
// Redirect to Checkout after successfuly event registration
|
||||
|
@ -2754,10 +2754,10 @@ function mep_single_page_js_script($event_id){
|
|||
// price.closest('tr').find('.cart_total_price').html(sum + "â‚´");
|
||||
|
||||
});
|
||||
jQuery('#usertotal').html("<?php if ($currency_pos == "left") {
|
||||
jQuery('#usertotal').html("<?php if ($currency_pos == "left" || $currency_pos == 'left_space') {
|
||||
echo get_woocommerce_currency_symbol();
|
||||
} ?>" + total + "<?php if ($currency_pos == "right") {
|
||||
get_woocommerce_currency_symbol();
|
||||
} ?>" + total + "<?php if ($currency_pos == "right" || $currency_pos == 'right_space') {
|
||||
echo get_woocommerce_currency_symbol();
|
||||
} ?>");
|
||||
jQuery('#rowtotal').val(total);
|
||||
}).change(); //trigger change event on page load
|
||||
|
@ -2781,6 +2781,7 @@ function mep_single_page_js_script($event_id){
|
|||
foreach ($event_multi_date as $event_date) {
|
||||
|
||||
$start_date = $recurring == 'yes' ? date('Y-m-d H:i:s', strtotime($event_date['event_more_start_date'] . ' ' . $event_date['event_more_start_time'])) : date('Y-m-d H:i:s', strtotime(mep_get_event_expire_date($event_id)));
|
||||
$event_start_date = $recurring == 'yes' ? date('Y-m-d H:i:s', strtotime($event_date['event_more_start_date'] . ' ' . $event_date['event_more_start_time'])) : get_post_meta($event_id,'event_start_datetime',true);
|
||||
|
||||
if (strtotime(current_time('Y-m-d H:i:s')) < strtotime($start_date)) {
|
||||
foreach ($mep_event_ticket_type as $field) {
|
||||
|
@ -2801,7 +2802,7 @@ function mep_single_page_js_script($event_id){
|
|||
jQuery('#dadainfo_<?php echo $count; ?>').append(
|
||||
jQuery('<div/>')
|
||||
.attr("id", "newDiv" + i)
|
||||
.html("<?php do_action('mep_reg_fields', $start_date, $event_id, $ticket_type); ?>")
|
||||
.html("<?php do_action('mep_reg_fields', $event_start_date, $event_id, $ticket_type); ?>")
|
||||
);
|
||||
}
|
||||
jQuery('#eventpxtp_<?php echo $count; ?>').on('change', function() {
|
||||
|
@ -2823,7 +2824,7 @@ function mep_single_page_js_script($event_id){
|
|||
jQuery('#dadainfo_<?php echo $count; ?>').append(
|
||||
jQuery('<div/>')
|
||||
.attr("id", "newDiv" + i)
|
||||
.html("<?php do_action('mep_reg_fields', $start_date, $event_id, $ticket_type); ?>")
|
||||
.html("<?php do_action('mep_reg_fields', $event_start_date, $event_id, $ticket_type); ?>")
|
||||
);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -9,9 +9,20 @@ ob_start();
|
|||
if($location_sts){
|
||||
$org_arr = get_the_terms( $event_id, 'mep_org' );
|
||||
$org_id = $org_arr[0]->term_id;
|
||||
echo get_term_meta( $org_id, 'org_location', true ); ?>,<?php if(get_term_meta( $org_id, 'org_street', true )){ ?><?php echo get_term_meta( $org_id, 'org_street', true ); ?>, <?php } if(get_term_meta( $org_id, 'org_city', true )){ ?> <?php echo get_term_meta( $org_id, 'org_city', true ); ?>, <?php } if(get_term_meta( $org_id, 'org_state', true )){ echo get_term_meta( $org_id, 'org_state', true ); ?>, <?php } if(get_term_meta( $org_id, 'org_postcode', true )){ ?> <?php echo get_term_meta( $org_id, 'org_postcode', true ); ?>, <?php } if(get_term_meta( $org_id, 'org_country', true )){ ?> <?php echo get_term_meta( $org_id, 'org_country', true ); ?> <?php }
|
||||
echo get_term_meta( $org_id, 'org_location', true ); ?>,<?php if(get_term_meta( $org_id, 'org_street', true )){ ?><?php echo get_term_meta( $org_id, 'org_street', true ); ?>,
|
||||
<?php } if(get_term_meta( $org_id, 'org_city', true )){ ?> <?php echo get_term_meta( $org_id, 'org_city', true ); ?>,
|
||||
<?php } if(get_term_meta( $org_id, 'org_state', true )){ echo get_term_meta( $org_id, 'org_state', true ); ?>,
|
||||
<?php } if(get_term_meta( $org_id, 'org_postcode', true )){ ?>
|
||||
<?php echo get_term_meta( $org_id, 'org_postcode', true ); ?>,
|
||||
<?php } if(get_term_meta( $org_id, 'org_country', true )){ ?>
|
||||
<?php echo get_term_meta( $org_id, 'org_country', true ); ?> <?php }
|
||||
}else{
|
||||
echo $event_meta['mep_location_venue'][0]; ?>, <?php if($event_meta['mep_street'][0]){ ?><?php echo $event_meta['mep_street'][0]; ?>, <?php } if($event_meta['mep_city'][0]){ ?> <?php echo $event_meta['mep_city'][0]; ?>, <?php } if($event_meta['mep_state'][0]){ ?> <?php echo $event_meta['mep_state'][0]; ?>, <?php } if($event_meta['mep_postcode'][0]){ ?> <?php echo $event_meta['mep_postcode'][0]; ?>, <?php } if($event_meta['mep_country'][0]){ ?> <?php echo $event_meta['mep_country'][0]; ?> <?php }
|
||||
echo $event_meta['mep_location_venue'][0]; ?>,
|
||||
<?php if($event_meta['mep_street'][0]){ ?><?php echo $event_meta['mep_street'][0]; ?>,
|
||||
<?php } if($event_meta['mep_city'][0]){ ?> <?php echo $event_meta['mep_city'][0]; ?>,
|
||||
<?php } if($event_meta['mep_state'][0]){ ?> <?php echo $event_meta['mep_state'][0]; ?>,
|
||||
<?php } if($event_meta['mep_postcode'][0]){ ?> <?php echo $event_meta['mep_postcode'][0]; ?>,
|
||||
<?php } if($event_meta['mep_country'][0]){ ?> <?php echo $event_meta['mep_country'][0]; ?> <?php }
|
||||
}
|
||||
|
||||
|
||||
|
@ -29,20 +40,24 @@ if($location_sts){
|
|||
$org_arr = get_the_terms( $event_id, 'mep_org' );
|
||||
$org_id = $org_arr[0]->term_id;
|
||||
?>
|
||||
<?php echo get_term_meta( $org_id, 'org_location', true ); ?>,
|
||||
<?php if(get_term_meta( $org_id, 'org_street', true )){ ?><?php echo get_term_meta( $org_id, 'org_street', true ); ?>, <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_city', true )){ ?> <?php echo get_term_meta( $org_id, 'org_city', true ); ?>, <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_state', true )){ ?> <?php echo get_term_meta( $org_id, 'org_state', true ); ?>, <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_postcode', true )){ ?> <?php echo get_term_meta( $org_id, 'org_postcode', true ); ?>, <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_country', true )){ ?> <?php echo get_term_meta( $org_id, 'org_country', true ); ?> <?php }
|
||||
<?php echo get_term_meta( $org_id, 'org_location', true ); ?>,
|
||||
<?php if(get_term_meta( $org_id, 'org_street', true )){ ?><?php echo get_term_meta( $org_id, 'org_street', true ); ?>,
|
||||
<?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_city', true )){ ?> <?php echo get_term_meta( $org_id, 'org_city', true ); ?>,
|
||||
<?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_state', true )){ ?> <?php echo get_term_meta( $org_id, 'org_state', true ); ?>,
|
||||
<?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_postcode', true )){ ?>
|
||||
<?php echo get_term_meta( $org_id, 'org_postcode', true ); ?>, <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_country', true )){ ?> <?php echo get_term_meta( $org_id, 'org_country', true ); ?> <?php }
|
||||
}else{
|
||||
?>
|
||||
<?php echo $event_meta['mep_location_venue'][0]; ?>,
|
||||
<?php if($event_meta['mep_street'][0]){ ?><?php echo $event_meta['mep_street'][0]; ?>, <?php } ?>
|
||||
<?php if($event_meta['mep_city'][0]){ ?> <?php echo $event_meta['mep_city'][0]; ?>, <?php } ?>
|
||||
<?php if($event_meta['mep_state'][0]){ ?> <?php echo $event_meta['mep_state'][0]; ?>, <?php } ?>
|
||||
<?php if($event_meta['mep_postcode'][0]){ ?> <?php echo $event_meta['mep_postcode'][0]; ?>, <?php } ?>
|
||||
<?php if($event_meta['mep_country'][0]){ ?> <?php echo $event_meta['mep_country'][0]; ?> <?php }
|
||||
<?php echo $event_meta['mep_location_venue'][0]; ?>,
|
||||
<?php if($event_meta['mep_street'][0]){ ?><?php echo $event_meta['mep_street'][0]; ?>, <?php } ?>
|
||||
<?php if($event_meta['mep_city'][0]){ ?> <?php echo $event_meta['mep_city'][0]; ?>, <?php } ?>
|
||||
<?php if($event_meta['mep_state'][0]){ ?> <?php echo $event_meta['mep_state'][0]; ?>, <?php } ?>
|
||||
<?php if($event_meta['mep_postcode'][0]){ ?> <?php echo $event_meta['mep_postcode'][0]; ?>, <?php } ?>
|
||||
<?php if($event_meta['mep_country'][0]){ ?> <?php echo $event_meta['mep_country'][0]; ?> <?php }
|
||||
|
||||
}
|
||||
$content = ob_get_clean();
|
||||
|
@ -58,20 +73,25 @@ if($location_sts){
|
|||
$org_arr = get_the_terms( $post->ID, 'mep_org' );
|
||||
$org_id = $org_arr[0]->term_id;
|
||||
?>
|
||||
<p><?php echo get_term_meta( $org_id, 'org_location', true ); ?>,</p>
|
||||
<?php if(get_term_meta( $org_id, 'org_street', true )){ ?><p><?php echo get_term_meta( $org_id, 'org_street', true ); ?>,</p> <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_city', true )){ ?> <p><?php echo get_term_meta( $org_id, 'org_city', true ); ?>,</p> <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_state', true )){ ?> <p><?php echo get_term_meta( $org_id, 'org_state', true ); ?>,</p> <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_postcode', true )){ ?> <p><?php echo get_term_meta( $org_id, 'org_postcode', true ); ?>,</p> <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_country', true )){ ?> <p><?php echo get_term_meta( $org_id, 'org_country', true ); ?></p> <?php }
|
||||
<p><?php echo get_term_meta( $org_id, 'org_location', true ); ?>,</p>
|
||||
<?php if(get_term_meta( $org_id, 'org_street', true )){ ?><p>
|
||||
<?php echo get_term_meta( $org_id, 'org_street', true ); ?>,</p> <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_city', true )){ ?> <p><?php echo get_term_meta( $org_id, 'org_city', true ); ?>,
|
||||
</p> <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_state', true )){ ?> <p><?php echo get_term_meta( $org_id, 'org_state', true ); ?>,
|
||||
</p> <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_postcode', true )){ ?> <p>
|
||||
<?php echo get_term_meta( $org_id, 'org_postcode', true ); ?>,</p> <?php } ?>
|
||||
<?php if(get_term_meta( $org_id, 'org_country', true )){ ?> <p>
|
||||
<?php echo get_term_meta( $org_id, 'org_country', true ); ?></p> <?php }
|
||||
}else{
|
||||
?>
|
||||
<p><?php echo $event_meta['mep_location_venue'][0]; ?>,</p>
|
||||
<?php if($event_meta['mep_street'][0]){ ?><p><?php echo $event_meta['mep_street'][0]; ?>,</p> <?php } ?>
|
||||
<?php if($event_meta['mep_city'][0]){ ?> <p><?php echo $event_meta['mep_city'][0]; ?>,</p> <?php } ?>
|
||||
<?php if($event_meta['mep_state'][0]){ ?> <p><?php echo $event_meta['mep_state'][0]; ?>,</p> <?php } ?>
|
||||
<?php if($event_meta['mep_postcode'][0]){ ?> <p><?php echo $event_meta['mep_postcode'][0]; ?>,</p> <?php } ?>
|
||||
<?php if($event_meta['mep_country'][0]){ ?> <p><?php echo $event_meta['mep_country'][0]; ?></p> <?php }
|
||||
<p><?php echo $event_meta['mep_location_venue'][0]; ?>,</p>
|
||||
<?php if($event_meta['mep_street'][0]){ ?><p><?php echo $event_meta['mep_street'][0]; ?>,</p> <?php } ?>
|
||||
<?php if($event_meta['mep_city'][0]){ ?> <p><?php echo $event_meta['mep_city'][0]; ?>,</p> <?php } ?>
|
||||
<?php if($event_meta['mep_state'][0]){ ?> <p><?php echo $event_meta['mep_state'][0]; ?>,</p> <?php } ?>
|
||||
<?php if($event_meta['mep_postcode'][0]){ ?> <p><?php echo $event_meta['mep_postcode'][0]; ?>,</p> <?php } ?>
|
||||
<?php if($event_meta['mep_country'][0]){ ?> <p><?php echo $event_meta['mep_country'][0]; ?></p> <?php }
|
||||
|
||||
}
|
||||
$content = ob_get_clean();
|
||||
|
@ -91,7 +111,7 @@ $org_id = $org_arr[0]->term_id;
|
|||
echo "<span>".get_term_meta( $org_id, 'org_location', true )."</span>";
|
||||
}else{
|
||||
?>
|
||||
<span><?php echo $event_meta['mep_location_venue'][0]; ?></span>
|
||||
<span><?php echo $event_meta['mep_location_venue'][0]; ?></span>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
@ -186,7 +206,7 @@ $org_id = $org_arr[0]->term_id;
|
|||
echo "<span>".get_term_meta( $org_id, 'org_street', true )."</span>";
|
||||
}else{
|
||||
?>
|
||||
<span><?php echo $event_meta['mep_street'][0]; ?></span>
|
||||
<span><?php echo $event_meta['mep_street'][0]; ?></span>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
@ -202,7 +222,7 @@ $org_id = $org_arr[0]->term_id;
|
|||
echo "<span>".get_term_meta( $org_id, 'org_city', true )."</span>";
|
||||
}else{
|
||||
?>
|
||||
<span><?php echo $event_meta['mep_city'][0]; ?></span>
|
||||
<span><?php echo $event_meta['mep_city'][0]; ?></span>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
@ -218,7 +238,7 @@ $org_id = $org_arr[0]->term_id;
|
|||
echo "<span>".get_term_meta( $org_id, 'org_state', true )."</span>";
|
||||
}else{
|
||||
?>
|
||||
<span><?php echo $event_meta['mep_state'][0]; ?></span>
|
||||
<span><?php echo $event_meta['mep_state'][0]; ?></span>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
@ -234,7 +254,7 @@ $org_id = $org_arr[0]->term_id;
|
|||
echo "<span>".get_term_meta( $org_id, 'org_postcode', true )."</span>";
|
||||
}else{
|
||||
?>
|
||||
<span><?php echo $event_meta['mep_postcode'][0]; ?></span>
|
||||
<span><?php echo $event_meta['mep_postcode'][0]; ?></span>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
@ -250,7 +270,37 @@ $org_id = $org_arr[0]->term_id;
|
|||
echo "<span>".get_term_meta( $org_id, 'org_country', true )."</span>";
|
||||
}else{
|
||||
?>
|
||||
<span><?php echo $event_meta['mep_country'][0]; ?></span>
|
||||
<span><?php echo $event_meta['mep_country'][0]; ?></span>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
add_action('mep_event_address_list_sidebar','mep_event_address_list_sidebar_html');
|
||||
function mep_event_address_list_sidebar_html($event_id){
|
||||
$location_sts = get_post_meta($event_id,'mep_org_address',true);
|
||||
$org_arr = get_the_terms( $event_id, 'mep_org' );
|
||||
$org_id = $org_arr[0]->term_id;
|
||||
|
||||
$venue = !empty($location_sts) ? get_term_meta( $org_id, 'org_location', true ) : get_post_meta($event_id,'mep_location_venue',true);
|
||||
$street = !empty($location_sts) ? get_term_meta( $org_id, 'org_street', true ) : get_post_meta($event_id,'mep_street',true);
|
||||
$city = !empty($location_sts) ? get_term_meta( $org_id, 'org_city', true ) : get_post_meta($event_id,'mep_city',true);
|
||||
$state = !empty($location_sts) ? get_term_meta( $org_id, 'org_state', true ) : get_post_meta($event_id,'mep_state',true);
|
||||
$country = !empty($location_sts) ? get_term_meta( $org_id, 'org_country', true ) : get_post_meta($event_id,'mep_country',true);
|
||||
ob_start();
|
||||
?>
|
||||
<ul>
|
||||
<?php if($venue){ ?> <li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_venue'); ?>
|
||||
</li> <?php } ?>
|
||||
<?php if($street){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_street'); ?>
|
||||
</li><?php } ?>
|
||||
<?php if($city){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_city'); ?></li>
|
||||
<?php } ?>
|
||||
<?php if($state){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_state'); ?>
|
||||
</li><?php } ?>
|
||||
<?php if($country){ ?><li><i class="fa fa-arrow-circle-right"></i>
|
||||
<?php do_action('mep_event_location_country'); ?><?php } ?>
|
||||
</li>
|
||||
</ul>
|
||||
<?php
|
||||
echo ob_get_clean();
|
||||
}
|
|
@ -9,83 +9,9 @@ function mep_ev_ticket_type($post_id){
|
|||
|
||||
if($mep_event_ticket_type){
|
||||
?>
|
||||
<?php echo "<h3 class='ex-sec-title'>".mep_get_label($post_id,'mep_event_ticket_type_text','Ticket Type:')."</h3>"; ?>
|
||||
|
||||
<?php echo "<h3 class='ex-sec-title'>".mep_get_label($post_id,'mep_event_ticket_type_text','Ticket Type:')."</h3>"; ?>
|
||||
<table>
|
||||
<?php
|
||||
$count =1;
|
||||
foreach ( $mep_event_ticket_type as $field ) {
|
||||
$qty_t_type = $field['option_qty_t_type'];
|
||||
$total_quantity = isset($field['option_qty_t']) ? $field['option_qty_t'] : 0;
|
||||
$default_qty = isset($field['option_default_qty_t']) && $field['option_default_qty_t'] > 0 ? $field['option_default_qty_t'] : 0;
|
||||
$total_resv_quantity = isset($field['option_rsv_t']) ? $field['option_rsv_t'] : 0;
|
||||
$event_date = get_post_meta($post_id, 'event_start_date', true).' '.get_post_meta($post_id, 'event_start_time', true);
|
||||
$total_sold = (int) mep_ticket_type_sold($post_id,$field['option_name_t'],$event_date);
|
||||
$total_tickets = (int) $total_quantity - ((int) $total_sold + (int) $total_resv_quantity);
|
||||
$total_seats = apply_filters('mep_total_ticket_of_type',$total_tickets,$post_id,$field);
|
||||
$total_min_seat = apply_filters('mep_ticket_min_qty',0,$post_id,$field);
|
||||
$default_quantity = apply_filters('mep_ticket_default_qty',$default_qty,$post_id,$field);
|
||||
$total_left = apply_filters('mep_total_ticket_of_type',$total_tickets,$post_id,$field);
|
||||
$passed = apply_filters('mep_ticket_type_validation',true);
|
||||
?>
|
||||
<tr>
|
||||
<td align="Left"><?php echo $field['option_name_t']; ?>
|
||||
<input type="hidden" name='mep_event_start_date[]' value="<?php echo get_post_meta($post_id, 'event_start_datetime', true); ?>">
|
||||
<?php if($mep_available_seat=='on'){ ?><div class="xtra-item-left"><?php echo max($total_left,0); ?>
|
||||
|
||||
<?php echo mep_get_option('mep_left_text', 'label_setting_sec') ? mep_get_option('mep_left_text', 'label_setting_sec') : _e('Left:','mage-eventpress'); ?>
|
||||
|
||||
</div> <?php } ?>
|
||||
</td>
|
||||
<td class="ticket-qty">
|
||||
<span class="tkt-qty">
|
||||
<?php echo mep_get_option('mep_ticket_qty_text', 'label_setting_sec') ? mep_get_option('mep_ticket_qty_text', 'label_setting_sec') : _e('Ticket Qty:','mage-eventpress'); ?>
|
||||
</span>
|
||||
<?php
|
||||
if($total_left>0){
|
||||
if($qty_t_type=='dropdown'){ ?>
|
||||
<select name="option_qty[]" id="eventpxtp_<?php echo $count; ?>" <?php if($total_left<=0){ ?> style='display: none!important;' <?php } ?> class='extra-qty-box etp'>
|
||||
<?php
|
||||
for ($i = $total_min_seat; $i <= $total_left; $i++) { ?>
|
||||
<option value="<?php echo $i; ?>" <?php if($i == $default_quantity){ echo 'Selected'; } ?>><?php echo $i; ?>
|
||||
<?php echo mep_get_option('mep_ticket_text', 'label_setting_sec') ? mep_get_option('mep_ticket_text', 'label_setting_sec') : _e('Ticket:','mage-eventpress'); ?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<?php }else{ ?>
|
||||
|
||||
<div class="mage_input_group">
|
||||
<span class="fa fa-minus qty_dec"></span>
|
||||
<!--input id="eventpxtp_<?php echo $count; ?>" <?php //if($ext_left<=0){ echo "disabled"; } ?> type="text" class='extra-qty-box etp' name='option_qty[]' data-price='<?php echo $field['option_price_t']; ?>' value='<?php echo $default_quantity; ?>' min="<?php echo $default_quantity; ?>" max="<?php echo max($total_left,0); ?>"-->
|
||||
<input id="eventpxtp_<?php echo $count; ?>" <?php //if($ext_left<=0){ echo "disabled"; } ?> type="text" class='extra-qty-box etp' name='option_qty[]' data-price='<?php echo $field['option_price_t']; ?>' value='<?php echo $default_quantity; ?>' min="<?php echo $total_min_seat; ?>" max="<?php echo max($total_seats,0); ?>">
|
||||
<span class="fa fa-plus qty_inc"></span>
|
||||
</div>
|
||||
<?php } }else{ _e('No Seat Available','mage-eventpress'); }
|
||||
$ticket_name = $field['option_name_t'];
|
||||
do_action('mep_after_ticket_type_qty',$post_id,$ticket_name,$field,$default_quantity);
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
<td class="ticket-price"><span class="tkt-pric">
|
||||
|
||||
<?php echo mep_get_option('mep_per_ticket_price_text', 'label_setting_sec') ? mep_get_option('mep_per_ticket_price_text', 'label_setting_sec') : _e('Per Ticket Price:','mage-eventpress'); ?>
|
||||
</span> <strong><?php echo wc_price($field['option_price_t']); ?></strong>
|
||||
<?php if($total_left>0){ ?>
|
||||
<p style="display: none;" class="price_jq"><?php echo $field['option_price_t']; ?></p>
|
||||
<input type="hidden" name='option_name[]' value='<?php echo $field['option_name_t']; ?>'>
|
||||
<input type="hidden" name='option_price[]' value='<?php echo $field['option_price_t']; ?>'>
|
||||
<input type="hidden" name='max_qty[]' value='<?php echo $field['option_max_qty']; ?>'>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class='user-innnf'> <div class="user-info-sec">
|
||||
<div id="dadainfo_<?php echo $count; ?>" class="dada-info"></div></div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $count++; } ?>
|
||||
<?php do_action('mep_event_ticket_type_loop_list',$post_id); ?>
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
|
|
|
@ -0,0 +1,96 @@
|
|||
<?php
|
||||
add_action('mep_event_ticket_type_loop_list', 'mep_event_ticket_type_loop_list_html');
|
||||
function mep_event_ticket_type_loop_list_html($post_id)
|
||||
{
|
||||
$mep_available_seat = get_post_meta($post_id, 'mep_available_seat', true) ? get_post_meta($post_id, 'mep_available_seat', true) : 'on';
|
||||
$mep_event_ticket_type = get_post_meta($post_id, 'mep_event_ticket_type', true) ? get_post_meta($post_id, 'mep_event_ticket_type', true) : array();
|
||||
ob_start();
|
||||
?>
|
||||
<?php
|
||||
$count = 1;
|
||||
foreach ($mep_event_ticket_type as $field) {
|
||||
$qty_t_type = $field['option_qty_t_type'];
|
||||
$total_quantity = isset($field['option_qty_t']) ? $field['option_qty_t'] : 0;
|
||||
$default_qty = isset($field['option_default_qty_t']) && $field['option_default_qty_t'] > 0 ? $field['option_default_qty_t'] : 0;
|
||||
$total_resv_quantity = isset($field['option_rsv_t']) ? $field['option_rsv_t'] : 0;
|
||||
$event_date = get_post_meta($post_id, 'event_start_date', true) . ' ' . get_post_meta($post_id, 'event_start_time', true);
|
||||
$total_sold = (int) mep_ticket_type_sold($post_id, $field['option_name_t'], $event_date);
|
||||
$total_tickets = (int) $total_quantity - ((int) $total_sold + (int) $total_resv_quantity);
|
||||
$total_seats = apply_filters('mep_total_ticket_of_type', $total_tickets, $post_id, $field);
|
||||
$total_min_seat = apply_filters('mep_ticket_min_qty', 0, $post_id, $field);
|
||||
$default_quantity = apply_filters('mep_ticket_default_qty', $default_qty, $post_id, $field);
|
||||
$total_left = apply_filters('mep_total_ticket_of_type', $total_tickets, $post_id, $field);
|
||||
$ticket_price = apply_filters('mep_ticket_type_price', $field['option_price_t'], $field['option_name_t'], $post_id, $field);
|
||||
$passed = apply_filters('mep_ticket_type_validation', true);
|
||||
?>
|
||||
<tr>
|
||||
<td align="Left"><?php echo $field['option_name_t']; ?>
|
||||
<input type="hidden" name='mep_event_start_date[]' value="<?php echo get_post_meta($post_id, 'event_start_datetime', true); ?>">
|
||||
<?php if ($mep_available_seat == 'on') { ?><div class="xtra-item-left"><?php echo max($total_left, 0); ?>
|
||||
|
||||
<?php echo mep_get_option('mep_left_text', 'label_setting_sec') ? mep_get_option('mep_left_text', 'label_setting_sec') : _e('Left:', 'mage-eventpress'); ?>
|
||||
|
||||
</div> <?php } ?>
|
||||
</td>
|
||||
<td class="ticket-qty">
|
||||
<span class="tkt-qty">
|
||||
<?php echo mep_get_option('mep_ticket_qty_text', 'label_setting_sec') ? mep_get_option('mep_ticket_qty_text', 'label_setting_sec') : _e('Ticket Qty:', 'mage-eventpress'); ?>
|
||||
</span>
|
||||
<?php
|
||||
if ($total_left > 0) {
|
||||
if ($qty_t_type == 'dropdown') { ?>
|
||||
<select name="option_qty[]" id="eventpxtp_<?php echo $count; ?>" <?php if ($total_left <= 0) { ?> style='display: none!important;' <?php } ?> class='extra-qty-box etp'>
|
||||
<?php
|
||||
for ($i = $total_min_seat; $i <= $total_left; $i++) { ?>
|
||||
<option value="<?php echo $i; ?>" <?php if ($i == $default_quantity) {
|
||||
echo 'Selected';
|
||||
} ?>><?php echo $i; ?>
|
||||
<?php echo mep_get_option('mep_ticket_text', 'label_setting_sec') ? mep_get_option('mep_ticket_text', 'label_setting_sec') : _e('Ticket:', 'mage-eventpress'); ?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<?php } else { ?>
|
||||
|
||||
<div class="mage_input_group">
|
||||
<span class="fa fa-minus qty_dec"></span>
|
||||
<input id="eventpxtp_<?php echo $count; ?>" type="text" class='extra-qty-box etp' name='option_qty[]' data-price='<?php echo $ticket_price; ?>' value='<?php echo $default_quantity; ?>' min="<?php echo $total_min_seat; ?>" max="<?php echo max($total_seats, 0); ?>">
|
||||
<span class="fa fa-plus qty_inc"></span>
|
||||
</div>
|
||||
<?php }
|
||||
} else {
|
||||
_e('No Seat Available', 'mage-eventpress');
|
||||
}
|
||||
$ticket_name = $field['option_name_t'];
|
||||
do_action('mep_after_ticket_type_qty', $post_id, $ticket_name, $field, $default_quantity);
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
<td class="ticket-price"><span class="tkt-pric">
|
||||
|
||||
<?php echo mep_get_option('mep_per_ticket_price_text', 'label_setting_sec') ? mep_get_option('mep_per_ticket_price_text', 'label_setting_sec') : _e('Per Ticket Price:', 'mage-eventpress'); ?>
|
||||
</span> <strong><?php echo wc_price($ticket_price); ?></strong>
|
||||
|
||||
<?php if ($total_left > 0) { ?>
|
||||
<p style="display: none;" class="price_jq"><?php echo $ticket_price; ?></p>
|
||||
<input type="hidden" name='option_name[]' value='<?php echo $field['option_name_t']; ?>'>
|
||||
<input type="hidden" name='option_price[]' value='<?php echo $ticket_price; ?>'>
|
||||
<input type="hidden" name='max_qty[]' value='<?php echo $field['option_max_qty']; ?>'>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class='user-innnf'>
|
||||
<div class="user-info-sec">
|
||||
<div id="dadainfo_<?php echo $count; ?>" class="dada-info"></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $count++;
|
||||
} ?>
|
||||
|
||||
<?php
|
||||
$loop_list = ob_get_clean();
|
||||
echo apply_filters('mep_event_ticket_type_loop', $loop_list, $post_id);
|
||||
}
|
|
@ -19,7 +19,7 @@ $mep_reg_tshirtsize = strip_tags($event_meta['mep_reg_tshirtsize'][0]);
|
|||
$global_template = mep_get_option('mep_global_single_template', 'general_setting_sec', 'default-theme.php');
|
||||
$current_template = $event_meta['mep_event_template'][0];
|
||||
$_current_template = $current_template ? $current_template : $global_template;
|
||||
$currency_pos = get_option('woocommerce_currency_pos');
|
||||
$currency_pos = get_option('woocommerce_currency_pos');
|
||||
?>
|
||||
<div class="mep-events-wrapper">
|
||||
<?php
|
||||
|
|
|
@ -24,4 +24,5 @@ require_once(dirname(__FILE__) . "/event_loop_timeline.php");
|
|||
require_once(dirname(__FILE__) . "/event_loop_title.php");
|
||||
require_once(dirname(__FILE__) . "/event_speakers_list.php");
|
||||
require_once(dirname(__FILE__) . "/shortcode_add_cart_section.php");
|
||||
require_once(dirname(__FILE__) . "/shortcode_speaker_list.php");
|
||||
require_once(dirname(__FILE__) . "/shortcode_speaker_list.php");
|
||||
require_once(dirname(__FILE__) . "/event_ticket_type_loop_list.php");
|
File diff suppressed because it is too large
Load Diff
|
@ -1,415 +1,415 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: EN\n"
|
||||
"POT-Creation-Date: 2019-02-05 16:04+0600\n"
|
||||
"PO-Revision-Date: 2020-02-27 14:33+0100\n"
|
||||
"Last-Translator: shamim <shamim.link@yahoo.com>\n"
|
||||
"Language-Team: English (United States)\n"
|
||||
"Language: pl_PL\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.3\n"
|
||||
"X-Poedit-Basepath: ..\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Poedit-KeywordsList: __(;_e;__x;_x\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"X-Loco-Version: 2.3.1; wp-5.3.2\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
|
||||
#: inc/mep_csv_export.php:19
|
||||
msgid "Export to CSV"
|
||||
msgstr "Eksportuj do CSV"
|
||||
|
||||
#: inc/mep_event_meta.php:40
|
||||
msgid "Registration On/Off:"
|
||||
msgstr "Rejestracja włączona / wyłączona:"
|
||||
|
||||
#: inc/mep_event_meta.php:54
|
||||
msgid "Show Available Seat?"
|
||||
msgstr "Pokaż dostępne miejsce?"
|
||||
|
||||
#: inc/mep_event_meta.php:98
|
||||
msgid "Show Address from Organizer?:"
|
||||
msgstr "Pokaż adres z organizatora ?:"
|
||||
|
||||
#: inc/mep_event_meta.php:108
|
||||
msgid "Location/Venue:"
|
||||
msgstr "Lokalizacja / miejsce:"
|
||||
|
||||
#: inc/mep_event_meta.php:116 inc/mep_tax_meta.php:12 inc/mep_tax_meta.php:204
|
||||
msgid "Street:"
|
||||
msgstr "Ulica:"
|
||||
|
||||
#: inc/mep_event_meta.php:123 inc/mep_tax_meta.php:17 inc/mep_tax_meta.php:210
|
||||
msgid "City:"
|
||||
msgstr "Miasto:"
|
||||
|
||||
#: inc/mep_event_meta.php:130 inc/mep_tax_meta.php:22 inc/mep_tax_meta.php:216
|
||||
msgid "State:"
|
||||
msgstr "Stan:"
|
||||
|
||||
#: inc/mep_event_meta.php:137 inc/mep_tax_meta.php:27 inc/mep_tax_meta.php:222
|
||||
msgid "Postcode:"
|
||||
msgstr "Kod pocztowy:"
|
||||
|
||||
#: inc/mep_event_meta.php:144 inc/mep_tax_meta.php:32 inc/mep_tax_meta.php:228
|
||||
msgid "Country:"
|
||||
msgstr "Kraj:"
|
||||
|
||||
#: inc/mep_event_meta.php:152
|
||||
msgid "Show Google Map:"
|
||||
msgstr "Pokaż mapę Google:"
|
||||
|
||||
#: inc/mep_event_meta.php:284
|
||||
msgid "Price Label"
|
||||
msgstr "Etykieta cenowa"
|
||||
|
||||
#: inc/mep_event_meta.php:285
|
||||
#: templates/template-prts/event_extra_service.php:18
|
||||
msgid "Price"
|
||||
msgstr "Cena"
|
||||
|
||||
#: inc/mep_event_meta.php:286
|
||||
#: templates/template-prts/event_extra_service.php:17
|
||||
msgid "Quantity"
|
||||
msgstr "Ilość"
|
||||
|
||||
#: inc/mep_event_meta.php:287 inc/mep_event_meta.php:702
|
||||
msgid "Reserve Qty"
|
||||
msgstr "Zarezerwuj ilość"
|
||||
|
||||
#: inc/mep_event_meta.php:288
|
||||
msgid "Input Type"
|
||||
msgstr "Rodzaj wejścia"
|
||||
|
||||
#: inc/mep_event_meta.php:289
|
||||
msgid "Show Quantity Box"
|
||||
msgstr "Pokaż pole ilości"
|
||||
|
||||
#: inc/mep_event_meta.php:300 inc/mep_event_meta.php:629
|
||||
#: inc/mep_event_meta.php:650 inc/mep_event_meta.php:725
|
||||
#: inc/mep_event_meta.php:744
|
||||
msgid "Input Box"
|
||||
msgstr "Pole wprowadzania"
|
||||
|
||||
#: inc/mep_event_meta.php:301 inc/mep_event_meta.php:630
|
||||
#: inc/mep_event_meta.php:651 inc/mep_event_meta.php:726
|
||||
#: inc/mep_event_meta.php:744
|
||||
msgid "Dropdown List"
|
||||
msgstr "Lista rozwijana"
|
||||
|
||||
#: inc/mep_event_meta.php:303
|
||||
msgid "Yes"
|
||||
msgstr "tak"
|
||||
|
||||
#: inc/mep_event_meta.php:367 inc/mep_event_meta.php:384
|
||||
#: inc/mep_event_meta.php:495 inc/mep_event_meta.php:512
|
||||
#: inc/mep_event_meta.php:633 inc/mep_event_meta.php:653
|
||||
#: inc/mep_event_meta.php:729 inc/mep_event_meta.php:745
|
||||
msgid "Remove"
|
||||
msgstr "Usunąć"
|
||||
|
||||
#: inc/mep_event_meta.php:383
|
||||
msgid "FAQ Contents"
|
||||
msgstr "FAQ Treść"
|
||||
|
||||
#: inc/mep_event_meta.php:392
|
||||
msgid "Add New F.A.Q"
|
||||
msgstr "Dodaj nowy F.A.Q"
|
||||
|
||||
#: inc/mep_event_meta.php:511
|
||||
msgid "Day Details"
|
||||
msgstr "Szczegóły dnia"
|
||||
|
||||
#: inc/mep_event_meta.php:520
|
||||
msgid "Add New Day"
|
||||
msgstr "Dodaj nowy dzień"
|
||||
|
||||
#: inc/mep_event_meta.php:605
|
||||
msgid "Extra Service Name"
|
||||
msgstr "Nazwa dodatkowej usługi"
|
||||
|
||||
#: inc/mep_event_meta.php:606
|
||||
msgid "Service Price"
|
||||
msgstr "Cena usługi"
|
||||
|
||||
#: inc/mep_event_meta.php:607 inc/mep_event_meta.php:701
|
||||
msgid "Available Qty"
|
||||
msgstr "Dostępna ilość"
|
||||
|
||||
#: inc/mep_event_meta.php:608 inc/mep_event_meta.php:703
|
||||
msgid "Qty Box Type"
|
||||
msgstr "Ilość Rodzaj skrzynki"
|
||||
|
||||
#: inc/mep_event_meta.php:649 inc/mep_event_meta.php:744
|
||||
msgid "Please Select Type"
|
||||
msgstr "Wybierz typ"
|
||||
|
||||
#: inc/mep_event_meta.php:658
|
||||
msgid "Add Extra Price"
|
||||
msgstr "Dodaj dodatkową cenę"
|
||||
|
||||
#: inc/mep_event_meta.php:699
|
||||
msgid "Ticket Type Name"
|
||||
msgstr "Nazwa rodzaju biletu"
|
||||
|
||||
#: inc/mep_event_meta.php:700
|
||||
msgid "Ticket Price"
|
||||
msgstr "Cena biletu"
|
||||
|
||||
#: inc/mep_event_meta.php:749
|
||||
msgid "Add New Ticket Type"
|
||||
msgstr "Dodaj nowy typ biletu"
|
||||
|
||||
#: inc/mep_event_meta.php:770
|
||||
msgid "Start Date & Time:"
|
||||
msgstr "Data i godzina rozpoczęcia:"
|
||||
|
||||
#: inc/mep_event_meta.php:774
|
||||
msgid "End Date & Time:"
|
||||
msgstr "Data i godzina zakończenia:"
|
||||
|
||||
#: inc/mep_event_meta.php:786
|
||||
msgid "Confirmation Email Text:"
|
||||
msgstr "Tekst e-maila z potwierdzeniem:"
|
||||
|
||||
#: inc/mep_event_meta.php:1143
|
||||
msgid "Event:"
|
||||
msgstr "Zdarzenie:"
|
||||
|
||||
#: inc/mep_event_meta.php:1148
|
||||
msgid "UserID:"
|
||||
msgstr "Identyfikator użytkownika:"
|
||||
|
||||
#: inc/mep_event_meta.php:1155
|
||||
msgid "Full Name:"
|
||||
msgstr "Pełne imię i nazwisko:"
|
||||
|
||||
#: inc/mep_event_meta.php:1160
|
||||
msgid "Email:"
|
||||
msgstr "Email:"
|
||||
|
||||
#: inc/mep_event_meta.php:1165
|
||||
msgid "Phone:"
|
||||
msgstr "Telefon:"
|
||||
|
||||
#: inc/mep_event_meta.php:1170
|
||||
msgid "Addres:"
|
||||
msgstr "Adres:"
|
||||
|
||||
#: inc/mep_event_meta.php:1177
|
||||
msgid "Gender:"
|
||||
msgstr "Płeć:"
|
||||
|
||||
#: inc/mep_event_meta.php:1184
|
||||
msgid "Company:"
|
||||
msgstr "Firma:"
|
||||
|
||||
#: inc/mep_event_meta.php:1191
|
||||
msgid "Designation:"
|
||||
msgstr "Przeznaczenie:"
|
||||
|
||||
#: inc/mep_event_meta.php:1198
|
||||
msgid "Website:"
|
||||
msgstr "Strona internetowa:"
|
||||
|
||||
#: inc/mep_event_meta.php:1206
|
||||
msgid "Vegetarian?:"
|
||||
msgstr "Wegetariański?"
|
||||
|
||||
#: inc/mep_event_meta.php:1214
|
||||
msgid "T-Shirt Size?:"
|
||||
msgstr "Rozmiar koszulki?"
|
||||
|
||||
#: inc/mep_event_meta.php:1245
|
||||
msgid "Ticket Type:"
|
||||
msgstr "Typ biletu:"
|
||||
|
||||
#: inc/mep_event_meta.php:1251
|
||||
msgid "Order ID:"
|
||||
msgstr "ID zamówienia:"
|
||||
|
||||
#: inc/mep_event_meta.php:1259
|
||||
msgid "View Order"
|
||||
msgstr "Zobacz zamówienie"
|
||||
|
||||
#: inc/mep_shortcode.php:105 inc/mep_shortcode.php:121
|
||||
msgid "All"
|
||||
msgstr "Wszystko"
|
||||
|
||||
#: inc/mep_shortcode.php:248 inc/mep_shortcode.php:490
|
||||
msgid "Organized By:"
|
||||
msgstr "Zorganizowane przez:"
|
||||
|
||||
#: inc/mep_shortcode.php:255 inc/mep_shortcode.php:497
|
||||
msgid "Location:"
|
||||
msgstr "Lokalizacja:"
|
||||
|
||||
#: inc/mep_shortcode.php:262 inc/mep_shortcode.php:504
|
||||
msgid "Time:"
|
||||
msgstr "Czas:"
|
||||
|
||||
#: inc/mep_tax.php:7 inc/mep_tax.php:8
|
||||
msgid "Event Category"
|
||||
msgstr "Kategoria zdarzenia"
|
||||
|
||||
#: inc/mep_tax.php:43 inc/mep_tax.php:44
|
||||
msgid "Event Organizer"
|
||||
msgstr "Organizator zdarzenia"
|
||||
|
||||
#: inc/mep_tax_meta.php:7 inc/mep_tax_meta.php:198
|
||||
msgid "Location/Venue"
|
||||
msgstr "Lokalizacja / miejsce:"
|
||||
|
||||
#: inc/mep_tax_meta.php:234
|
||||
msgid "Map:"
|
||||
msgstr "Mapa:"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:75
|
||||
msgid "Email"
|
||||
msgstr "Email"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:80
|
||||
msgid "Phone"
|
||||
msgstr "Telefon"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:85
|
||||
msgid "Address"
|
||||
msgstr "Adres"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:90
|
||||
msgid "Designation"
|
||||
msgstr "Przeznaczenie"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:95
|
||||
msgid "Company"
|
||||
msgstr "Firma"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:100
|
||||
msgid "Website"
|
||||
msgstr "Strona internetowa"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:105
|
||||
msgid "Gender"
|
||||
msgstr "Płeć:"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:111
|
||||
msgid "Vegetarian"
|
||||
msgstr "Wegetariański"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:118
|
||||
msgid "T Shirt Size"
|
||||
msgstr "Rozmiar koszulki"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:125
|
||||
msgid "Ticket Type"
|
||||
msgstr "Typ biletu"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:64
|
||||
msgid "Event Expired"
|
||||
msgstr "Wydarzenie wygasło"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:71
|
||||
#: templates/template-prts/event_ticket_type.php:50
|
||||
msgid "No Seat Available"
|
||||
msgstr "Brak dostępnych miejsc"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:90
|
||||
msgid "Register Now:"
|
||||
msgstr "Rezerwuj teraz:"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:96
|
||||
msgid "Quantity:"
|
||||
msgstr "Ilość:"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:124
|
||||
msgid "Total"
|
||||
msgstr "Całkowity"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:126
|
||||
msgid "No Ticket Selected!"
|
||||
msgstr "Nie wybrano biletu!"
|
||||
|
||||
#: templates/template-prts/event_extra_service.php:16
|
||||
#: woocommerce-event-press.php:639
|
||||
msgid "Name"
|
||||
msgstr "Nazwa"
|
||||
|
||||
#: templates/template-prts/event_extra_service.php:30
|
||||
#: templates/template-prts/event_ticket_type.php:35
|
||||
#: templates/template-prts/total_seat.php:50
|
||||
#: templates/template-prts/total_seat.php:55
|
||||
msgid "Left"
|
||||
msgstr "Lewo"
|
||||
|
||||
#: templates/template-prts/event_extra_service.php:45
|
||||
msgid "Not Available"
|
||||
msgstr "Niedostępne"
|
||||
|
||||
#: templates/template-prts/event_ticket_type.php:38
|
||||
msgid "Ticket Qty:"
|
||||
msgstr "Ilość biletów:"
|
||||
|
||||
#: templates/template-prts/event_ticket_type.php:45
|
||||
#: woocommerce-event-press.php:640
|
||||
msgid "Ticket"
|
||||
msgstr "Bilet"
|
||||
|
||||
#: templates/template-prts/event_ticket_type.php:52
|
||||
msgid "Per Ticket Price:"
|
||||
msgstr "Cena za bilet:"
|
||||
|
||||
#: templates/template-prts/faq.php:9
|
||||
msgid "Event F.A.Q"
|
||||
msgstr "Wydarzenie F.A.Q"
|
||||
|
||||
#: templates/template-prts/organizer.php:7
|
||||
msgid "By:"
|
||||
msgstr "Przez:"
|
||||
|
||||
#: templates/template-prts/total_seat.php:50
|
||||
#: templates/template-prts/total_seat.php:55
|
||||
msgid "Total Seat:"
|
||||
msgstr "Łączna liczba miejsc:"
|
||||
|
||||
#: templates/themes/default-theme.php:17
|
||||
msgid "Event Date:"
|
||||
msgstr "Data wydarzenia:"
|
||||
|
||||
#: templates/themes/default-theme.php:24
|
||||
msgid "Event Time:"
|
||||
msgstr "Czas wydarzenia:"
|
||||
|
||||
#: templates/themes/default-theme.php:31 templates/themes/default-theme.php:53
|
||||
#: templates/themes/theme-1.php:48
|
||||
msgid "Event Location:"
|
||||
msgstr "Lokalizacja wydarzenia:"
|
||||
|
||||
#: templates/themes/theme-1.php:26
|
||||
msgid "Date and Time:"
|
||||
msgstr "Data i godzina:"
|
||||
|
||||
#: templates/themes/theme-1.php:34
|
||||
msgid "Description"
|
||||
msgstr "Opis"
|
||||
|
||||
#: templates/themes/theme-2.php:33
|
||||
msgid "Organizer:"
|
||||
msgstr "Organizator:"
|
||||
|
||||
#: templates/themes/theme-2.php:35
|
||||
msgid "Venue:"
|
||||
msgstr "Miejsce wydarzenia:"
|
||||
|
||||
#: templates/themes/theme-3.php:41
|
||||
msgid "About The Event"
|
||||
msgstr "O wydarzeniu"
|
||||
|
||||
#: woocommerce-event-press.php:641
|
||||
msgid "Event"
|
||||
msgstr "Zdarzenie"
|
||||
|
||||
#: woocommerce-event-press.php:642 woocommerce-event-press.php:671
|
||||
msgid "Download"
|
||||
msgstr "Download"
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: EN\n"
|
||||
"POT-Creation-Date: 2019-02-05 16:04+0600\n"
|
||||
"PO-Revision-Date: 2020-02-27 14:33+0100\n"
|
||||
"Last-Translator: shamim <shamim.link@yahoo.com>\n"
|
||||
"Language-Team: English (United States)\n"
|
||||
"Language: pl_PL\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.3\n"
|
||||
"X-Poedit-Basepath: ..\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Poedit-KeywordsList: __(;_e;__x;_x\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"X-Loco-Version: 2.3.1; wp-5.3.2\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
|
||||
#: inc/mep_csv_export.php:19
|
||||
msgid "Export to CSV"
|
||||
msgstr "Eksportuj do CSV"
|
||||
|
||||
#: inc/mep_event_meta.php:40
|
||||
msgid "Registration On/Off:"
|
||||
msgstr "Rejestracja włączona / wyłączona:"
|
||||
|
||||
#: inc/mep_event_meta.php:54
|
||||
msgid "Show Available Seat?"
|
||||
msgstr "Pokaż dostępne miejsce?"
|
||||
|
||||
#: inc/mep_event_meta.php:98
|
||||
msgid "Show Address from Organizer?:"
|
||||
msgstr "Pokaż adres z organizatora ?:"
|
||||
|
||||
#: inc/mep_event_meta.php:108
|
||||
msgid "Location/Venue:"
|
||||
msgstr "Lokalizacja / miejsce:"
|
||||
|
||||
#: inc/mep_event_meta.php:116 inc/mep_tax_meta.php:12 inc/mep_tax_meta.php:204
|
||||
msgid "Street:"
|
||||
msgstr "Ulica:"
|
||||
|
||||
#: inc/mep_event_meta.php:123 inc/mep_tax_meta.php:17 inc/mep_tax_meta.php:210
|
||||
msgid "City:"
|
||||
msgstr "Miasto:"
|
||||
|
||||
#: inc/mep_event_meta.php:130 inc/mep_tax_meta.php:22 inc/mep_tax_meta.php:216
|
||||
msgid "State:"
|
||||
msgstr "Stan:"
|
||||
|
||||
#: inc/mep_event_meta.php:137 inc/mep_tax_meta.php:27 inc/mep_tax_meta.php:222
|
||||
msgid "Postcode:"
|
||||
msgstr "Kod pocztowy:"
|
||||
|
||||
#: inc/mep_event_meta.php:144 inc/mep_tax_meta.php:32 inc/mep_tax_meta.php:228
|
||||
msgid "Country:"
|
||||
msgstr "Kraj:"
|
||||
|
||||
#: inc/mep_event_meta.php:152
|
||||
msgid "Show Google Map:"
|
||||
msgstr "Pokaż mapę Google:"
|
||||
|
||||
#: inc/mep_event_meta.php:284
|
||||
msgid "Price Label"
|
||||
msgstr "Etykieta cenowa"
|
||||
|
||||
#: inc/mep_event_meta.php:285
|
||||
#: templates/template-prts/event_extra_service.php:18
|
||||
msgid "Price"
|
||||
msgstr "Cena"
|
||||
|
||||
#: inc/mep_event_meta.php:286
|
||||
#: templates/template-prts/event_extra_service.php:17
|
||||
msgid "Quantity"
|
||||
msgstr "Ilość"
|
||||
|
||||
#: inc/mep_event_meta.php:287 inc/mep_event_meta.php:702
|
||||
msgid "Reserve Qty"
|
||||
msgstr "Zarezerwuj ilość"
|
||||
|
||||
#: inc/mep_event_meta.php:288
|
||||
msgid "Input Type"
|
||||
msgstr "Rodzaj wejścia"
|
||||
|
||||
#: inc/mep_event_meta.php:289
|
||||
msgid "Show Quantity Box"
|
||||
msgstr "Pokaż pole ilości"
|
||||
|
||||
#: inc/mep_event_meta.php:300 inc/mep_event_meta.php:629
|
||||
#: inc/mep_event_meta.php:650 inc/mep_event_meta.php:725
|
||||
#: inc/mep_event_meta.php:744
|
||||
msgid "Input Box"
|
||||
msgstr "Pole wprowadzania"
|
||||
|
||||
#: inc/mep_event_meta.php:301 inc/mep_event_meta.php:630
|
||||
#: inc/mep_event_meta.php:651 inc/mep_event_meta.php:726
|
||||
#: inc/mep_event_meta.php:744
|
||||
msgid "Dropdown List"
|
||||
msgstr "Lista rozwijana"
|
||||
|
||||
#: inc/mep_event_meta.php:303
|
||||
msgid "Yes"
|
||||
msgstr "tak"
|
||||
|
||||
#: inc/mep_event_meta.php:367 inc/mep_event_meta.php:384
|
||||
#: inc/mep_event_meta.php:495 inc/mep_event_meta.php:512
|
||||
#: inc/mep_event_meta.php:633 inc/mep_event_meta.php:653
|
||||
#: inc/mep_event_meta.php:729 inc/mep_event_meta.php:745
|
||||
msgid "Remove"
|
||||
msgstr "Usunąć"
|
||||
|
||||
#: inc/mep_event_meta.php:383
|
||||
msgid "FAQ Contents"
|
||||
msgstr "FAQ Treść"
|
||||
|
||||
#: inc/mep_event_meta.php:392
|
||||
msgid "Add New F.A.Q"
|
||||
msgstr "Dodaj nowy F.A.Q"
|
||||
|
||||
#: inc/mep_event_meta.php:511
|
||||
msgid "Day Details"
|
||||
msgstr "Szczegóły dnia"
|
||||
|
||||
#: inc/mep_event_meta.php:520
|
||||
msgid "Add New Day"
|
||||
msgstr "Dodaj nowy dzień"
|
||||
|
||||
#: inc/mep_event_meta.php:605
|
||||
msgid "Extra Service Name"
|
||||
msgstr "Nazwa dodatkowej usługi"
|
||||
|
||||
#: inc/mep_event_meta.php:606
|
||||
msgid "Service Price"
|
||||
msgstr "Cena usługi"
|
||||
|
||||
#: inc/mep_event_meta.php:607 inc/mep_event_meta.php:701
|
||||
msgid "Available Qty"
|
||||
msgstr "Dostępna ilość"
|
||||
|
||||
#: inc/mep_event_meta.php:608 inc/mep_event_meta.php:703
|
||||
msgid "Qty Box Type"
|
||||
msgstr "Ilość Rodzaj skrzynki"
|
||||
|
||||
#: inc/mep_event_meta.php:649 inc/mep_event_meta.php:744
|
||||
msgid "Please Select Type"
|
||||
msgstr "Wybierz typ"
|
||||
|
||||
#: inc/mep_event_meta.php:658
|
||||
msgid "Add Extra Price"
|
||||
msgstr "Dodaj dodatkową cenę"
|
||||
|
||||
#: inc/mep_event_meta.php:699
|
||||
msgid "Ticket Type Name"
|
||||
msgstr "Nazwa rodzaju biletu"
|
||||
|
||||
#: inc/mep_event_meta.php:700
|
||||
msgid "Ticket Price"
|
||||
msgstr "Cena biletu"
|
||||
|
||||
#: inc/mep_event_meta.php:749
|
||||
msgid "Add New Ticket Type"
|
||||
msgstr "Dodaj nowy typ biletu"
|
||||
|
||||
#: inc/mep_event_meta.php:770
|
||||
msgid "Start Date & Time:"
|
||||
msgstr "Data i godzina rozpoczęcia:"
|
||||
|
||||
#: inc/mep_event_meta.php:774
|
||||
msgid "End Date & Time:"
|
||||
msgstr "Data i godzina zakończenia:"
|
||||
|
||||
#: inc/mep_event_meta.php:786
|
||||
msgid "Confirmation Email Text:"
|
||||
msgstr "Tekst e-maila z potwierdzeniem:"
|
||||
|
||||
#: inc/mep_event_meta.php:1143
|
||||
msgid "Event:"
|
||||
msgstr "Zdarzenie:"
|
||||
|
||||
#: inc/mep_event_meta.php:1148
|
||||
msgid "UserID:"
|
||||
msgstr "Identyfikator użytkownika:"
|
||||
|
||||
#: inc/mep_event_meta.php:1155
|
||||
msgid "Full Name:"
|
||||
msgstr "Pełne imię i nazwisko:"
|
||||
|
||||
#: inc/mep_event_meta.php:1160
|
||||
msgid "Email:"
|
||||
msgstr "Email:"
|
||||
|
||||
#: inc/mep_event_meta.php:1165
|
||||
msgid "Phone:"
|
||||
msgstr "Telefon:"
|
||||
|
||||
#: inc/mep_event_meta.php:1170
|
||||
msgid "Addres:"
|
||||
msgstr "Adres:"
|
||||
|
||||
#: inc/mep_event_meta.php:1177
|
||||
msgid "Gender:"
|
||||
msgstr "Płeć:"
|
||||
|
||||
#: inc/mep_event_meta.php:1184
|
||||
msgid "Company:"
|
||||
msgstr "Firma:"
|
||||
|
||||
#: inc/mep_event_meta.php:1191
|
||||
msgid "Designation:"
|
||||
msgstr "Przeznaczenie:"
|
||||
|
||||
#: inc/mep_event_meta.php:1198
|
||||
msgid "Website:"
|
||||
msgstr "Strona internetowa:"
|
||||
|
||||
#: inc/mep_event_meta.php:1206
|
||||
msgid "Vegetarian?:"
|
||||
msgstr "Wegetariański?"
|
||||
|
||||
#: inc/mep_event_meta.php:1214
|
||||
msgid "T-Shirt Size?:"
|
||||
msgstr "Rozmiar koszulki?"
|
||||
|
||||
#: inc/mep_event_meta.php:1245
|
||||
msgid "Ticket Type:"
|
||||
msgstr "Typ biletu:"
|
||||
|
||||
#: inc/mep_event_meta.php:1251
|
||||
msgid "Order ID:"
|
||||
msgstr "ID zamówienia:"
|
||||
|
||||
#: inc/mep_event_meta.php:1259
|
||||
msgid "View Order"
|
||||
msgstr "Zobacz zamówienie"
|
||||
|
||||
#: inc/mep_shortcode.php:105 inc/mep_shortcode.php:121
|
||||
msgid "All"
|
||||
msgstr "Wszystko"
|
||||
|
||||
#: inc/mep_shortcode.php:248 inc/mep_shortcode.php:490
|
||||
msgid "Organized By:"
|
||||
msgstr "Zorganizowane przez:"
|
||||
|
||||
#: inc/mep_shortcode.php:255 inc/mep_shortcode.php:497
|
||||
msgid "Location:"
|
||||
msgstr "Lokalizacja:"
|
||||
|
||||
#: inc/mep_shortcode.php:262 inc/mep_shortcode.php:504
|
||||
msgid "Time:"
|
||||
msgstr "Czas:"
|
||||
|
||||
#: inc/mep_tax.php:7 inc/mep_tax.php:8
|
||||
msgid "Event Category"
|
||||
msgstr "Kategoria zdarzenia"
|
||||
|
||||
#: inc/mep_tax.php:43 inc/mep_tax.php:44
|
||||
msgid "Event Organizer"
|
||||
msgstr "Organizator zdarzenia"
|
||||
|
||||
#: inc/mep_tax_meta.php:7 inc/mep_tax_meta.php:198
|
||||
msgid "Location/Venue"
|
||||
msgstr "Lokalizacja / miejsce:"
|
||||
|
||||
#: inc/mep_tax_meta.php:234
|
||||
msgid "Map:"
|
||||
msgstr "Mapa:"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:75
|
||||
msgid "Email"
|
||||
msgstr "Email"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:80
|
||||
msgid "Phone"
|
||||
msgstr "Telefon"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:85
|
||||
msgid "Address"
|
||||
msgstr "Adres"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:90
|
||||
msgid "Designation"
|
||||
msgstr "Przeznaczenie"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:95
|
||||
msgid "Company"
|
||||
msgstr "Firma"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:100
|
||||
msgid "Website"
|
||||
msgstr "Strona internetowa"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:105
|
||||
msgid "Gender"
|
||||
msgstr "Płeć:"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:111
|
||||
msgid "Vegetarian"
|
||||
msgstr "Wegetariański"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:118
|
||||
msgid "T Shirt Size"
|
||||
msgstr "Rozmiar koszulki"
|
||||
|
||||
#: templates/single-mep_events_attendees.php:125
|
||||
msgid "Ticket Type"
|
||||
msgstr "Typ biletu"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:64
|
||||
msgid "Event Expired"
|
||||
msgstr "Wydarzenie wygasło"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:71
|
||||
#: templates/template-prts/event_ticket_type.php:50
|
||||
msgid "No Seat Available"
|
||||
msgstr "Brak dostępnych miejsc"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:90
|
||||
msgid "Register Now:"
|
||||
msgstr "Rezerwuj teraz:"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:96
|
||||
msgid "Quantity:"
|
||||
msgstr "Ilość:"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:124
|
||||
msgid "Total"
|
||||
msgstr "Całkowity"
|
||||
|
||||
#: templates/template-prts/event_add_cart.php:126
|
||||
msgid "No Ticket Selected!"
|
||||
msgstr "Nie wybrano biletu!"
|
||||
|
||||
#: templates/template-prts/event_extra_service.php:16
|
||||
#: woocommerce-event-press.php:639
|
||||
msgid "Name"
|
||||
msgstr "Nazwa"
|
||||
|
||||
#: templates/template-prts/event_extra_service.php:30
|
||||
#: templates/template-prts/event_ticket_type.php:35
|
||||
#: templates/template-prts/total_seat.php:50
|
||||
#: templates/template-prts/total_seat.php:55
|
||||
msgid "Left"
|
||||
msgstr "Lewo"
|
||||
|
||||
#: templates/template-prts/event_extra_service.php:45
|
||||
msgid "Not Available"
|
||||
msgstr "Niedostępne"
|
||||
|
||||
#: templates/template-prts/event_ticket_type.php:38
|
||||
msgid "Ticket Qty:"
|
||||
msgstr "Ilość biletów:"
|
||||
|
||||
#: templates/template-prts/event_ticket_type.php:45
|
||||
#: woocommerce-event-press.php:640
|
||||
msgid "Ticket"
|
||||
msgstr "Bilet"
|
||||
|
||||
#: templates/template-prts/event_ticket_type.php:52
|
||||
msgid "Per Ticket Price:"
|
||||
msgstr "Cena za bilet:"
|
||||
|
||||
#: templates/template-prts/faq.php:9
|
||||
msgid "Event F.A.Q"
|
||||
msgstr "Wydarzenie F.A.Q"
|
||||
|
||||
#: templates/template-prts/organizer.php:7
|
||||
msgid "By:"
|
||||
msgstr "Przez:"
|
||||
|
||||
#: templates/template-prts/total_seat.php:50
|
||||
#: templates/template-prts/total_seat.php:55
|
||||
msgid "Total Seat:"
|
||||
msgstr "Łączna liczba miejsc:"
|
||||
|
||||
#: templates/themes/default-theme.php:17
|
||||
msgid "Event Date:"
|
||||
msgstr "Data wydarzenia:"
|
||||
|
||||
#: templates/themes/default-theme.php:24
|
||||
msgid "Event Time:"
|
||||
msgstr "Czas wydarzenia:"
|
||||
|
||||
#: templates/themes/default-theme.php:31 templates/themes/default-theme.php:53
|
||||
#: templates/themes/theme-1.php:48
|
||||
msgid "Event Location:"
|
||||
msgstr "Lokalizacja wydarzenia:"
|
||||
|
||||
#: templates/themes/theme-1.php:26
|
||||
msgid "Date and Time:"
|
||||
msgstr "Data i godzina:"
|
||||
|
||||
#: templates/themes/theme-1.php:34
|
||||
msgid "Description"
|
||||
msgstr "Opis"
|
||||
|
||||
#: templates/themes/theme-2.php:33
|
||||
msgid "Organizer:"
|
||||
msgstr "Organizator:"
|
||||
|
||||
#: templates/themes/theme-2.php:35
|
||||
msgid "Venue:"
|
||||
msgstr "Miejsce wydarzenia:"
|
||||
|
||||
#: templates/themes/theme-3.php:41
|
||||
msgid "About The Event"
|
||||
msgstr "O wydarzeniu"
|
||||
|
||||
#: woocommerce-event-press.php:641
|
||||
msgid "Event"
|
||||
msgstr "Zdarzenie"
|
||||
|
||||
#: woocommerce-event-press.php:642 woocommerce-event-press.php:671
|
||||
msgid "Download"
|
||||
msgstr "Download"
|
||||
|
|
13
readme.txt
13
readme.txt
|
@ -535,4 +535,15 @@ Custom CSS Code section added into Event Settings
|
|||
Event Settings Page Design Improved
|
||||
Event Location & Date Show/Hide from Order Details and Email Body option added into the event settings
|
||||
Multi Date Expand/Collapse option added into Event Details Page.
|
||||
28 April 2020*
|
||||
|
||||
28 April 2020*
|
||||
|
||||
|
||||
= 3.2.5 =
|
||||
* Update Release:
|
||||
Code Optimized & Improved
|
||||
Fix Event Start Date Time Wrong Display issue
|
||||
New Feature: You can hide Event Date & location from the cart section display
|
||||
New Filter & Action hooks added
|
||||
|
||||
08 May 2020*
|
|
@ -71,12 +71,14 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'general
|
|||
|
||||
</div>
|
||||
<div class="mep-default-sidebar">
|
||||
<?php if ($hide_location_details == 'no') { ?>
|
||||
<div class="mep-default-sidrbar-map">
|
||||
<h3>
|
||||
<?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : _e('Event Location:', 'mage-eventpress'); ?>
|
||||
</h3>
|
||||
<?php do_action('mep_event_map',get_the_id()); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="df-sidebar-part">
|
||||
<?php if ($hide_total_seat_details == 'no') { ?>
|
||||
<div class="mep-default-sidrbar-price-seat">
|
||||
|
@ -91,14 +93,7 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'general
|
|||
|
||||
if ($hide_address_details == 'no') { ?>
|
||||
<div class="mep-default-sidrbar-address">
|
||||
<ul>
|
||||
<li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_venue'); ?></li>
|
||||
<li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_street'); ?></li>
|
||||
<li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_city'); ?></li>
|
||||
<li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_state'); ?></li>
|
||||
<li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_country'); ?>
|
||||
</li>
|
||||
</ul>
|
||||
<?php do_action('mep_event_address_list_sidebar',get_the_id()); ?>
|
||||
</div>
|
||||
<?php }
|
||||
if ($hide_schedule_details == 'no') { ?>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: Woocommerce Events Manager
|
||||
* Plugin URI: http://mage-people.com
|
||||
* Description: A Complete Event Solution for WordPress by MagePeople..
|
||||
* Version: 3.2.4
|
||||
* Version: 3.2.5
|
||||
* Author: MagePeople Team
|
||||
* Author URI: http://www.mage-people.com/
|
||||
* Text Domain: mage-eventpress
|
||||
|
|
Loading…
Reference in New Issue