function update
This commit is contained in:
parent
898ba1e9e6
commit
54f6dabaa6
|
@ -81,7 +81,17 @@ if (!class_exists('MAGE_Events_Setting_Controls')) :
|
|||
{
|
||||
$settings_fields = array(
|
||||
'general_setting_sec' => apply_filters('mep_settings_general_arr',array(
|
||||
|
||||
array(
|
||||
'name' => 'mep_disable_block_editor',
|
||||
'label' => __('Disable Block/Gutenberg Editor', 'mage-eventpress'),
|
||||
'desc' => __('If you want to disable WordPress new Block/Gutenberg editor for event please select Yes', 'mage-eventpress'),
|
||||
'type' => 'select',
|
||||
'default' => 'yes',
|
||||
'options' => array(
|
||||
'yes' => 'Yes',
|
||||
'no' => 'No'
|
||||
)
|
||||
),
|
||||
array(
|
||||
'name' => 'mep_event_label',
|
||||
'label' => __('Event Label', 'mage-eventpress'),
|
||||
|
@ -337,8 +347,8 @@ if (!class_exists('MAGE_Events_Setting_Controls')) :
|
|||
),
|
||||
array(
|
||||
'name' => 'mep_event_hide_total_seat_from_details',
|
||||
'label' => __('Hide Event Total Seat Section from Details page ?', 'mage-eventpress'),
|
||||
'desc' => __('Select yes to hide Total Seat Section from details.', 'mage-eventpress'),
|
||||
'label' => __('Hide Event Total Seats Section from Details page ?', 'mage-eventpress'),
|
||||
'desc' => __('Select yes to hide Total Seats Section from details.', 'mage-eventpress'),
|
||||
'type' => 'select',
|
||||
'default' => 'no',
|
||||
'options' => array(
|
||||
|
@ -453,7 +463,14 @@ if (!class_exists('MAGE_Events_Setting_Controls')) :
|
|||
'no' => 'No'
|
||||
)
|
||||
),
|
||||
|
||||
array(
|
||||
'name' => 'mep_ticket_expire_time',
|
||||
'label' => __( 'Event Ticket Expire before minutes', 'mage-eventpress' ),
|
||||
'desc' => __( 'Please enter the minute that you want attendee can not book/register the ticket before start of the event', 'mage-eventpress' ),
|
||||
'type' => 'text',
|
||||
'default' => '0',
|
||||
'placeholder'=>'15'
|
||||
),
|
||||
|
||||
|
||||
|
||||
|
@ -478,15 +495,15 @@ if (!class_exists('MAGE_Events_Setting_Controls')) :
|
|||
|
||||
array(
|
||||
'name' => 'mep_email_form_name',
|
||||
'label' => __('Email Form Name', 'mage-eventpress'),
|
||||
'desc' => __('Email Form Name', 'mage-eventpress'),
|
||||
'label' => __('Email From Name', 'mage-eventpress'),
|
||||
'desc' => __('Email From Name', 'mage-eventpress'),
|
||||
'default' => '',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'name' => 'mep_email_form_email',
|
||||
'label' => __('Form Email', 'mage-eventpress'),
|
||||
'desc' => __('Form Email', 'mage-eventpress'),
|
||||
'label' => __('From Email', 'mage-eventpress'),
|
||||
'desc' => __('From Email', 'mage-eventpress'),
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
|
@ -601,8 +618,8 @@ if (!class_exists('MAGE_Events_Setting_Controls')) :
|
|||
),
|
||||
array(
|
||||
'name' => 'mep_total_seat_text',
|
||||
'label' => __('Total Seat:', 'mage-eventpress'),
|
||||
'desc' => __('Enter the text which you want to display as Total Seat in event list page.', 'mage-eventpress'),
|
||||
'label' => __('Total Seats:', 'mage-eventpress'),
|
||||
'desc' => __('Enter the text which you want to display as Total Seats in event list page.', 'mage-eventpress'),
|
||||
'type' => 'text',
|
||||
'default' => ''
|
||||
),
|
||||
|
@ -823,7 +840,7 @@ if (!class_exists('MAGE_Events_Setting_Controls')) :
|
|||
|
||||
array(
|
||||
'name' => 'mep_load_carousal_from_theme',
|
||||
'label' => __('Load owlCarousel From Theme', 'mage-eventpress'),
|
||||
'label' => __('Load owl Carousel From Theme', 'mage-eventpress'),
|
||||
'desc' => __('If your theme Carousel stop working or in your theme already loaded the OWL Carousel Lib, then you can set this yes?', 'mage-eventpress'),
|
||||
'type' => 'select',
|
||||
'default' => 'no',
|
||||
|
|
|
@ -642,6 +642,11 @@ class MP_Event_All_Info_In_One
|
|||
$values = get_post_custom($post_id);
|
||||
?>
|
||||
<div class="sec">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="mp_ticket_type_table">
|
||||
<table id="repeatable-fieldset-one-d">
|
||||
<thead>
|
||||
|
@ -744,7 +749,7 @@ class MP_Event_All_Info_In_One
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<button id="add-new-date-row" class="button" style="background:green; color:white;"><span class="dashicons dashicons-plus-alt" style="margin-top: 3px;color: white;"></span><?php _e('Add More Date', 'mage-eventpress'); ?></button>
|
||||
<button id="add-new-date-row" class="button" style="background:green; color:white;"><span class="dashicons dashicons-plus-alt" style="margin-top: 3px;color: white;"></span><?php _e('Add More Dates', 'mage-eventpress'); ?></button>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
@ -966,8 +971,7 @@ class MP_Event_All_Info_In_One
|
|||
// print_r($saved_user_role);
|
||||
?>
|
||||
<tr>
|
||||
<th><span><?php echo $event_label;
|
||||
_e('Is Virtual?', 'mage-eventpress'); ?></span></th>
|
||||
<th><span><?php _e('Virtual ', 'mage-eventpress'); echo $event_label.'?'; ?></span></th>
|
||||
<td colspan="3">
|
||||
<label class="mp_event_virtual_type_des_switch">
|
||||
<input class="mp_opacity_zero" type="checkbox" name="mep_event_type" <?php echo $checked; ?> />
|
||||
|
|
|
@ -37,7 +37,8 @@ function mep_add_custom_fields_text_to_cart_item($cart_item_data, $product_id, $
|
|||
|
||||
|
||||
|
||||
|
||||
// print_r($ticket_type_arr);
|
||||
// die();
|
||||
|
||||
/**
|
||||
* Now Store the datas into Cart Session
|
||||
|
@ -265,10 +266,10 @@ function mep_add_custom_fields_text_to_order_items($item, $cart_item_key, $value
|
|||
$date_text = mep_get_option('mep_event_date_text', 'label_setting_sec', __('Date', 'mage-eventpress')) ? mep_get_option('mep_event_date_text', 'label_setting_sec', __('Date', 'mage-eventpress')) : 'Date';
|
||||
if (get_post_type($eid) == 'mep_events') {
|
||||
$event_id = $eid;
|
||||
$mep_events_extra_prices = $values['event_extra_option'];
|
||||
$cart_location = $values['event_cart_location'];
|
||||
$event_extra_service = $values['event_extra_service'];
|
||||
$ticket_type_arr = $values['event_ticket_info'];
|
||||
$mep_events_extra_prices = array_key_exists('event_extra_option', $values) ? $values['event_extra_option'] : [];
|
||||
$cart_location = array_key_exists('event_cart_location', $values) ? $values['event_cart_location'] : '';
|
||||
$event_extra_service = array_key_exists('event_extra_service', $values) ? $values['event_extra_service'] : [];
|
||||
$ticket_type_arr = array_key_exists('event_ticket_info', $values) ? $values['event_ticket_info'] : '';
|
||||
$cart_date = get_mep_datetime($values['event_cart_date'],'date-time-text');
|
||||
$form_position = mep_get_option('mep_user_form_position', 'general_attendee_sec', 'details_page');
|
||||
$event_user_info = $form_position == 'details_page' ? $values['event_user_info'] : mep_save_attendee_info_into_cart($eid);
|
||||
|
|
|
@ -151,13 +151,13 @@ function mep_get_all_tax_list($current_tax=null){
|
|||
function mep_event_confirmation_email_sent($event_id,$sent_email,$order_id){
|
||||
$values = get_post_custom($event_id);
|
||||
|
||||
$global_email_text = mep_get_option( 'mep_confirmation_email_text', 'email_setting_sec', '');
|
||||
$global_email_form_email = mep_get_option( 'mep_email_form_email', 'email_setting_sec', '');
|
||||
$global_email_form = mep_get_option( 'mep_email_form_name', 'email_setting_sec', '');
|
||||
$global_email_sub = mep_get_option( 'mep_email_subject', 'email_setting_sec', '');
|
||||
$event_email_text = $values['mep_event_cc_email_text'][0];
|
||||
$admin_email = get_option( 'admin_email' );
|
||||
$site_name = get_option( 'blogname' );
|
||||
$global_email_text = mep_get_option( 'mep_confirmation_email_text', 'email_setting_sec', '');
|
||||
$global_email_form_email = mep_get_option( 'mep_email_form_email', 'email_setting_sec', '');
|
||||
$global_email_form = mep_get_option( 'mep_email_form_name', 'email_setting_sec', '');
|
||||
$global_email_sub = mep_get_option( 'mep_email_subject', 'email_setting_sec', '');
|
||||
$event_email_text = $values['mep_event_cc_email_text'][0];
|
||||
$admin_email = get_option( 'admin_email' );
|
||||
$site_name = get_option( 'blogname' );
|
||||
|
||||
|
||||
if($global_email_sub){
|
||||
|
@ -187,8 +187,8 @@ function mep_get_all_tax_list($current_tax=null){
|
|||
$headers[] = "From: $form_name <$form_email>";
|
||||
|
||||
if($email_body){
|
||||
$confirmation_email_text = apply_filters('mep_event_confirmation_text',$email_body,$event_id,$order_id);
|
||||
wp_mail( $sent_email, $email_sub, nl2br($confirmation_email_text), $headers );
|
||||
$confirmation_email_text = apply_filters('mep_event_confirmation_text',$email_body,$event_id,$order_id);
|
||||
wp_mail( $sent_email, $email_sub, nl2br($confirmation_email_text), $headers );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1133,8 +1133,8 @@ if (!function_exists('mep_social_share')) {
|
|||
?>
|
||||
<ul class='mep-social-share'>
|
||||
<?php do_action('mep_before_social_share_list',get_the_id()); ?>
|
||||
<li> <a data-toggle="tooltip" title="" class="facebook" onclick="window.open('https://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>','Facebook','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="http://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>" data-original-title="Share on Facebook"><i class="fa fa-facebook"></i></a></li>
|
||||
<li><a data-toggle="tooltip" title="" class="twitter" onclick="window.open('https://twitter.com/share?url=<?php the_permalink(); ?>&text=<?php the_title(); ?>','Twitter share','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="http://twitter.com/share?url=<?php the_permalink(); ?>&text=<?php the_title(); ?>" data-original-title="Twittet it"><i class="fa fa-twitter"></i></a></li>
|
||||
<li> <a data-toggle="tooltip" title="" class="facebook" onclick="window.open('https://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>','Facebook','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="https://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>" data-original-title="Share on Facebook"><i class="fa fa-facebook"></i></a></li>
|
||||
<li><a data-toggle="tooltip" title="" class="twitter" onclick="window.open('https://twitter.com/share?url=<?php the_permalink(); ?>&text=<?php the_title(); ?>','Twitter share','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="https://twitter.com/share?url=<?php the_permalink(); ?>&text=<?php the_title(); ?>" data-original-title="Twittet it"><i class="fa fa-twitter"></i></a></li>
|
||||
<?php do_action('mep_after_social_share_list',get_the_id()); ?>
|
||||
</ul>
|
||||
<?php
|
||||
|
@ -1979,7 +1979,7 @@ if (!function_exists('mep_get_event_total_seat')) {
|
|||
$total_left = $total_seat - ($total_sold + $total_resv);
|
||||
ob_start();
|
||||
if($t=='multi'){
|
||||
$total = $total_seat * $m;
|
||||
$total = (int) $total_seat * (int) $m;
|
||||
$sold = $total - ($total_sold + $total_resv);
|
||||
$available = $total - $sold;;
|
||||
?>
|
||||
|
@ -2073,7 +2073,7 @@ if (!function_exists('mep_reset_event_booking')) {
|
|||
|
||||
|
||||
if($recurring == 'yes'){
|
||||
$event_more_dates = count(get_post_meta($post_id,'mep_event_more_date',true))+1;
|
||||
$event_more_dates = is_array($more_date) && sizeof($more_date) > 0 ?count($more_date)+1 : '';
|
||||
echo mep_get_event_total_seat($post_id,$event_more_dates,'multi');
|
||||
}else{
|
||||
echo mep_get_event_total_seat($post_id);
|
||||
|
@ -2301,6 +2301,9 @@ function get_mep_datetime($date,$type){
|
|||
if($type == 'day'){
|
||||
return wp_date( 'd', $timestamp );
|
||||
}
|
||||
if($type == 'Dday'){
|
||||
return wp_date( 'D', $timestamp );
|
||||
}
|
||||
if($type == 'month'){
|
||||
return wp_date( 'M', $timestamp );
|
||||
}
|
||||
|
@ -2909,7 +2912,9 @@ function mep_apply_custom_css(){
|
|||
function mep_get_ticket_type_price_by_name($name,$event_id){
|
||||
$ticket_type_arr = get_post_meta($event_id,'mep_event_ticket_type',true) ? get_post_meta($event_id,'mep_event_ticket_type',true) : [];
|
||||
foreach($ticket_type_arr as $price){
|
||||
if($price['option_name_t'] === $name){
|
||||
$TicketName = str_replace("'", "", $price['option_name_t']);
|
||||
|
||||
if($TicketName === $name){
|
||||
$p = $price['option_price_t'];
|
||||
}
|
||||
}
|
||||
|
@ -2950,6 +2955,7 @@ function mep_cart_ticket_type($type,$total_price,$product_id){
|
|||
|
||||
$mep_event_start_date = isset($_POST['mep_event_start_date']) ? $_POST['mep_event_start_date'] : array();
|
||||
$names = isset($_POST['option_name']) ? $_POST['option_name'] : array();
|
||||
|
||||
$qty = isset($_POST['option_qty']) ? $_POST['option_qty'] : array();
|
||||
$max_qty = isset($_POST['max_qty']) ? $_POST['max_qty'] : array();
|
||||
$price = mep_get_ticket_type_price_arr( mep_get_orginal_ticket_name($names),$product_id);
|
||||
|
@ -2974,6 +2980,9 @@ function mep_cart_ticket_type($type,$total_price,$product_id){
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if($type == 'ticket_price'){
|
||||
return $total_price;
|
||||
}elseif($type == 'validation_data'){
|
||||
|
@ -3858,4 +3867,32 @@ function mep_custom_share_btn($event_id){
|
|||
</a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
add_filter('mep_ticket_current_time','mep_add_expire_min_in_current_date',10,3);
|
||||
function mep_add_expire_min_in_current_date($current_date,$event_date,$event_id){
|
||||
|
||||
$minutes_to_add = (int) mep_get_option('mep_ticket_expire_time', 'general_setting_sec',0);
|
||||
$time = new DateTime($current_date);
|
||||
$time->add(new DateInterval('PT' . $minutes_to_add . 'M'));
|
||||
$current_date = $time->format('Y-m-d H:i');
|
||||
|
||||
return $current_date;
|
||||
|
||||
}
|
||||
|
||||
add_filter('use_block_editor_for_post_type', 'mep_disable_gutenberg', 10, 2);
|
||||
function mep_disable_gutenberg($current_status, $post_type)
|
||||
{
|
||||
$user_status = mep_get_option( 'mep_disable_block_editor', 'general_setting_sec', 'yes' );
|
||||
// Use your post type key instead of 'product'
|
||||
if ($post_type === 'mep_events' && $user_status == 'yes') return false;
|
||||
return $current_status;
|
||||
}
|
||||
|
||||
function mep_enable_big_selects_for_queries() {
|
||||
global $wpdb;
|
||||
$wpdb->query( 'SET SQL_BIG_SELECTS=1' );
|
||||
}
|
||||
add_action( 'init', 'mep_enable_big_selects_for_queries' );
|
|
@ -18,7 +18,8 @@ if (!function_exists('mep_event_ticket_type_loop_list_html')) {
|
|||
$seat_plan_visible = get_post_meta($post_id, 'mp_event_seat_plan_visible', true) ? get_post_meta($post_id, 'mp_event_seat_plan_visible', true) : '1';
|
||||
$event_expire_date = get_post_meta($post_id, 'event_expire_datetime', true) ? get_post_meta($post_id, 'event_expire_datetime', true) : '';
|
||||
|
||||
if (sizeof($seat_plan) > 0 && $seat_plan_visible ==2) {
|
||||
if (class_exists('MP_ESP_Frontend') && sizeof($seat_plan) > 0 && $seat_plan_visible ==2) {
|
||||
|
||||
$event_start_date = get_post_meta($post_id, 'event_start_date', true) . ' ' . get_post_meta($post_id, 'event_start_time', true);
|
||||
$ticket_type_file_path = apply_filters('mep_ticket_type_file_path',mep_template_file_path('single/ticket_type_list.php'),$post_id);
|
||||
require($ticket_type_file_path);
|
||||
|
@ -27,7 +28,7 @@ if (!function_exists('mep_event_ticket_type_loop_list_html')) {
|
|||
|
||||
foreach ($mep_event_ticket_type as $field) {
|
||||
|
||||
$current_time = current_time('Y-m-d H:i');
|
||||
$current_time = apply_filters('mep_ticket_current_time',current_time('Y-m-d H:i'),$event_expire_date,$post_id);
|
||||
$ticket_type_name = array_key_exists('option_name_t',$field) ? mep_remove_apostopie($field['option_name_t']) : '';
|
||||
$ticket_type = array_key_exists('option_qty_t_type',$field) ? $field['option_qty_t_type'] : '';
|
||||
$ticket_type_qty = array_key_exists('option_qty_t',$field) ? $field['option_qty_t'] : 0;
|
||||
|
|
|
@ -14,6 +14,7 @@ if (!function_exists('mep_ev_seat')) {
|
|||
if ($recurring == 'no') {
|
||||
|
||||
$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();
|
||||
$event_date = get_post_meta($post->ID, 'event_start_date', true) ? get_post_meta($post->ID, 'event_start_date', true) : '';
|
||||
$mep_available_seat = array_key_exists('mep_available_seat', $event_meta) ? $event_meta['mep_available_seat'][0] : 'on';
|
||||
|
||||
if (is_array($mep_event_ticket_type) && sizeof($mep_event_ticket_type) > 0) {
|
||||
|
@ -21,6 +22,8 @@ if (!function_exists('mep_ev_seat')) {
|
|||
$total_resv = apply_filters('mep_event_total_resv_seat_count', mep_event_total_seat(get_the_id(), 'resv'), get_the_id());
|
||||
$total_sold = mep_ticket_sold(get_the_id());
|
||||
$total_left = $total_seat - ($total_sold + $total_resv);
|
||||
// mep_total_available_seat
|
||||
$total_left = apply_filters('mep_total_available_seat', $total_left, get_the_id(),'',$event_date);;
|
||||
require(mep_template_file_path('single/total_seat.php'));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ msgid "Event Details Template"
|
|||
msgstr ""
|
||||
|
||||
#: inc/admin_setting_panel.php:92 inc/admin_setting_panel.php:93
|
||||
msgid "Email Form Name"
|
||||
msgid "Email From Name"
|
||||
msgstr ""
|
||||
|
||||
#: inc/admin_setting_panel.php:99 inc/admin_setting_panel.php:100
|
||||
|
|
|
@ -73,7 +73,7 @@ msgstr ""
|
|||
"যখন উপরে হ্যা সিলেক্ট করা থাকবে. "
|
||||
|
||||
#: inc/admin_setting_panel.php:113 inc/admin_setting_panel.php:114
|
||||
msgid "Email Form Name"
|
||||
msgid "Email From Name"
|
||||
msgstr "ইমেইল কোথা হইতে গেছে তার নাম"
|
||||
|
||||
#: inc/admin_setting_panel.php:120 inc/admin_setting_panel.php:121
|
||||
|
|
|
@ -266,7 +266,7 @@ msgstr ""
|
|||
"nastavení je: Ne."
|
||||
|
||||
#: inc/admin_setting_panel.php:359 inc/admin_setting_panel.php:360
|
||||
msgid "Email Form Name"
|
||||
msgid "Email From Name"
|
||||
msgstr ""
|
||||
|
||||
#: inc/admin_setting_panel.php:365 inc/admin_setting_panel.php:366
|
||||
|
@ -1121,7 +1121,7 @@ msgid "Add New Ticket Type"
|
|||
msgstr "Přidat nový typ lístku"
|
||||
|
||||
#: inc/mep_event_meta.php:1173
|
||||
msgid "Add More Date"
|
||||
msgid "Add More Dates"
|
||||
msgstr "Přidat další datum"
|
||||
|
||||
#: inc/mep_event_meta.php:1186
|
||||
|
|
|
@ -82,7 +82,7 @@ msgid "Add Extra Price"
|
|||
msgstr "extra Preis hinzufügen"
|
||||
|
||||
#: inc/mep_event_meta.php:1121
|
||||
msgid "Add More Date"
|
||||
msgid "Add More Dates"
|
||||
msgstr "Datum hinzufügen"
|
||||
|
||||
#: inc/mep_tax.php:14
|
||||
|
@ -257,7 +257,7 @@ msgid "Email"
|
|||
msgstr "E-Mail"
|
||||
|
||||
#: inc/admin_setting_panel.php:328 inc/admin_setting_panel.php:329
|
||||
msgid "Email Form Name"
|
||||
msgid "Email From Name"
|
||||
msgstr "E-Mail Formularname"
|
||||
|
||||
#: inc/admin_setting_panel.php:45
|
||||
|
|
|
@ -48,7 +48,7 @@ msgid "Event Details Template"
|
|||
msgstr "Modèle des détails d'événement"
|
||||
|
||||
#: inc/admin_setting_panel.php:92 inc/admin_setting_panel.php:93
|
||||
msgid "Email Form Name"
|
||||
msgid "Email From Name"
|
||||
msgstr "Nom du formulaire de courriel"
|
||||
|
||||
#: inc/admin_setting_panel.php:99 inc/admin_setting_panel.php:100
|
||||
|
|
|
@ -46,7 +46,7 @@ msgid "Event Details Template"
|
|||
msgstr "Template evenementdetails"
|
||||
|
||||
#: inc/admin_setting_panel.php:92 inc/admin_setting_panel.php:93
|
||||
msgid "Email Form Name"
|
||||
msgid "Email From Name"
|
||||
msgstr "Naam e-mailformulier"
|
||||
|
||||
#: inc/admin_setting_panel.php:99 inc/admin_setting_panel.php:100
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
|
||||
|
||||
<tr>
|
||||
<td align="Left"><?php echo $field['option_name_t']; ?>
|
||||
<?php if ($mep_available_seat == 'on') { ?><div class="xtra-item-left"><?php echo max($total_ticket_left, 0); ?>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<h5><strong><?php echo mep_get_option('mep_total_seat_text', 'label_setting_sec') ? mep_get_option('mep_total_seat_text', 'label_setting_sec') : _e('Total Seat:', 'mage-eventpress'); ?></strong> <?php echo $total_seat; if ($mep_available_seat == 'on') { ?> (<strong><?php echo max($total_left, 0); ?></strong> <?php echo mep_get_option('mep_left_text', 'label_setting_sec') ? mep_get_option('mep_left_text', 'label_setting_sec') : _e('Left:', 'mage-eventpress'); ?>)<?php } ?></h5>
|
||||
<h5><strong><?php echo mep_get_option('mep_total_seat_text', 'label_setting_sec') ? mep_get_option('mep_total_seat_text', 'label_setting_sec') : _e('Total Seats:', 'mage-eventpress'); ?></strong> <?php echo $total_seat; if ($mep_available_seat == 'on') { ?> (<strong><?php echo max($total_left, 0); ?></strong> <?php echo mep_get_option('mep_left_text', 'label_setting_sec') ? mep_get_option('mep_left_text', 'label_setting_sec') : _e('Left:', 'mage-eventpress'); ?>)<?php } ?></h5>
|
Loading…
Reference in New Issue