style settings updated

This commit is contained in:
magepeopleteam 2020-12-17 11:28:55 +00:00
parent fdd3af16ad
commit 133fdce789
4 changed files with 26 additions and 4 deletions

View File

@ -364,6 +364,11 @@ div#mep_event_list_thumbnail_meta_boxes table td input#enable_global_qty {
padding: 10px;
min-height: 200px;
}
label.mp_event_virtual_type_des textarea {
display: block;
margin-top: 20px;
min-height: 100px;
}
#wp-mep_event_cc_email_text-media-buttons button{width:auto !important;}
.wrap.mage_settings_panel_wrap #setting-error-tgmpa{order: 0;width: 100%;}
#mp_event_all_info_in_tab table.form-table{table-layout: inherit;}
@ -437,7 +442,7 @@ iframe#gmap_canvas {width: 100%; height: 300px;}
p.event_meta_help_txt {font-size: 13px;margin: 5px;color: #BA2720;}
#add-new-date-row{margin: 10px 0;}
label.mp_event_virtual_type_des{margin:20px 0 0 0;}
label.mp_event_virtual_type_des{margin:0;}
label.mp_event_virtual_type_des textarea{width:100%;}
/*************/
#mp_event_all_info_in_tab .mp_event_custom_form_table{margin: 20px 0;}

View File

@ -871,6 +871,7 @@ class MP_Event_All_Info_In_One
<input class="mp_opacity_zero" type="checkbox" name="mep_event_type" <?php echo $checked; ?> />
<span class="slider round"></span>
</label>
<p></p>
<label class="mp_event_virtual_type_des <?php echo ($event_type == 'online') ? 'active' : ''; ?>">
<textarea type="text" name="mp_event_virtual_type_des" placeholder="Description"><?php echo $description; ?></textarea>
<p class="event_meta_help_txt"><?php _e('Please Enter Your Virtual event joining details Information. these information will send to buyer with confirmation email.', 'mage-eventpress') ?></p>

View File

@ -3467,4 +3467,20 @@ if (strtotime(current_time('Y-m-d H:i')) < strtotime($std) && $cn == 0) {
$cn++;
}
}
}
add_filter('mep_event_confirmation_text','mep_virtual_join_info_event_email_text',10,3);
function mep_virtual_join_info_event_email_text($content,$event_id,$order_id){
$event_type = get_post_meta($event_id, 'mep_event_type', true) ? get_post_meta($event_id, 'mep_event_type', true) : 'offline';
$email_content = get_post_meta($event_id, 'mp_event_virtual_type_des', true) ? get_post_meta($event_id, 'mp_event_virtual_type_des', true) : '';
if($event_type == 'online'){
$content = $content.'<br/>'.$email_content;
}
return $content;
}

View File

@ -138,10 +138,10 @@ if (!function_exists('mep_date_in_default_theme')) {
}
}
echo '</ul>';
if (sizeof($more_date) > 2) {
if (sizeof($more_date) > 2) {
?>
<p id="mep_single_view_all_date" class="mep-tem3-title-sec mep_single_date_btn"><?php _e('View All Date', 'mage-eventpress'); ?></p>
<p id="mep_single_hide_all_date" class="mep-tem3-title-sec mep_single_date_btn"><?php _e('Hide All Date', 'mage-eventpress'); ?></p>
<p id="mep_single_view_all_date" class="mep-tem3-title-sec mep_single_date_btn"><?php echo mep_get_option('mep_event_view_more_date_btn_text', 'label_setting_sec', __('View More Date', 'mage-eventpress')); ?></p>
<p id="mep_single_hide_all_date" class="mep-tem3-title-sec mep_single_date_btn"><?php echo mep_get_option('mep_event_hide_date_list_btn_text', 'label_setting_sec', __('Hide Date Lists', 'mage-eventpress')); ?></p>
<?php
}
}