version 2.3 released with orazination address features

This commit is contained in:
magepeopleteam 2019-01-24 09:08:40 +00:00
parent 5d53cc798b
commit 9af905fab4
2 changed files with 14 additions and 5 deletions

View File

@ -93,6 +93,17 @@ $user_api = mep_get_option( 'google-map-api', 'general_setting_sec', '');
?>
<div class='sec'>
<label for="mep_ev_9890"> <?php _e('Show Address from Organizer?:','mage-eventpress'); ?> </label>
<span><input style='text-align: left;width: auto;' id='mep_ev_9890' type="checkbox" name='mep_org_address' value='1' <?php if(array_key_exists('mep_org_address', $values)){ $mep_org_address = $values['mep_org_address'][0]; if($mep_org_address==1){ echo 'checked'; } } ?> > Yes</span>
</div>
<div class='sec'>
<label for="mep_ev_2"> <?php _e('Location/Venue:','mage-eventpress'); ?> </label>
<span><input id='mep_ev_2' type="text" name='mep_location_venue' value='<?php if(array_key_exists('mep_location_venue', $values)){ echo $values['mep_location_venue'][0]; } ?>'> </span>
@ -753,14 +764,10 @@ $values = get_post_custom( $post->ID );
<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' value='<?php if(array_key_exists('mep_event_start_date', $values)){ echo $values['mep_event_start_date'][0]; } ?>'> </span>
</div>
<div class='sec'>
<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' value='<?php if(array_key_exists('mep_event_end_date', $values)){ echo $values['mep_event_end_date'][0]; } ?>'> </span>
</div>
<?php
}
@ -993,6 +1000,7 @@ if($post){
$mep_sqi = strip_tags($_POST['mep_sqi']);
$qty_box_type = strip_tags($_POST['qty_box_type']);
$mep_sgm = strip_tags($_POST['mep_sgm']);
$mep_org_address = strip_tags($_POST['mep_org_address']);
$_price = strip_tags($_POST['_price']);
$mep_event_start_date = strip_tags($_POST['mep_event_start_date']);
$mep_event_end_date = strip_tags($_POST['mep_event_end_date']);
@ -1035,6 +1043,7 @@ $update_reg_gender = update_post_meta( $pid, 'mep_reg_gender', $mep_reg_gen
$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);

View File

@ -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: 2.2.9
* Version: 2.3.0
* Author: MagePeople Team
* Author URI: http://www.mage-people.com/
* Text Domain: mage-eventpress