text domain updated

This commit is contained in:
magepeopleteam 2018-10-31 09:47:54 +00:00
parent 683f6ba12c
commit e4b88b4da5
20 changed files with 201 additions and 201 deletions

View File

@ -5,33 +5,33 @@ if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly.
function mep_cpt() {
$labels = array(
'name' => _x( 'Events', 'mepevent' ),
'singular_name' => _x( 'Events', 'mepevent' ),
'menu_name' => __( 'Events', 'mepevent' ),
'name_admin_bar' => __( 'Events', 'mepevent' ),
'archives' => __( 'Events List', 'mepevent' ),
'attributes' => __( 'Events List', 'mepevent' ),
'parent_item_colon' => __( 'Event Item:', 'mepevent' ),
'all_items' => __( 'All Events', 'mepevent' ),
'add_new_item' => __( 'Add New Event', 'mepevent' ),
'add_new' => __( 'Add New Event', 'mepevent' ),
'new_item' => __( 'New Event', 'mepevent' ),
'edit_item' => __( 'Edit Event', 'mepevent' ),
'update_item' => __( 'Update Event', 'mepevent' ),
'view_item' => __( 'View Event', 'mepevent' ),
'view_items' => __( 'View Event', 'mepevent' ),
'search_items' => __( 'Search Event', 'mepevent' ),
'not_found' => __( 'Event Not found', 'mepevent' ),
'not_found_in_trash' => __( 'Event Not found in Trash', 'mepevent' ),
'featured_image' => __( 'Event Feature Image', 'mepevent' ),
'set_featured_image' => __( 'Set Event featured image', 'mepevent' ),
'remove_featured_image' => __( 'Remove Event featured image', 'mepevent' ),
'use_featured_image' => __( 'Use as Event featured image', 'mepevent' ),
'insert_into_item' => __( 'Insert into Event', 'mepevent' ),
'uploaded_to_this_item' => __( 'Uploaded to this Event', 'mepevent' ),
'items_list' => __( 'Event list', 'mepevent' ),
'items_list_navigation' => __( 'Event list navigation', 'mepevent' ),
'filter_items_list' => __( 'Filter Event list', 'mepevent' ),
'name' => _x( 'Events', 'mage-eventpress' ),
'singular_name' => _x( 'Events', 'mage-eventpress' ),
'menu_name' => __( 'Events', 'mage-eventpress' ),
'name_admin_bar' => __( 'Events', 'mage-eventpress' ),
'archives' => __( 'Events List', 'mage-eventpress' ),
'attributes' => __( 'Events List', 'mage-eventpress' ),
'parent_item_colon' => __( 'Event Item:', 'mage-eventpress' ),
'all_items' => __( 'All Events', 'mage-eventpress' ),
'add_new_item' => __( 'Add New Event', 'mage-eventpress' ),
'add_new' => __( 'Add New Event', 'mage-eventpress' ),
'new_item' => __( 'New Event', 'mage-eventpress' ),
'edit_item' => __( 'Edit Event', 'mage-eventpress' ),
'update_item' => __( 'Update Event', 'mage-eventpress' ),
'view_item' => __( 'View Event', 'mage-eventpress' ),
'view_items' => __( 'View Event', 'mage-eventpress' ),
'search_items' => __( 'Search Event', 'mage-eventpress' ),
'not_found' => __( 'Event Not found', 'mage-eventpress' ),
'not_found_in_trash' => __( 'Event Not found in Trash', 'mage-eventpress' ),
'featured_image' => __( 'Event Feature Image', 'mage-eventpress' ),
'set_featured_image' => __( 'Set Event featured image', 'mage-eventpress' ),
'remove_featured_image' => __( 'Remove Event featured image', 'mage-eventpress' ),
'use_featured_image' => __( 'Use as Event featured image', 'mage-eventpress' ),
'insert_into_item' => __( 'Insert into Event', 'mage-eventpress' ),
'uploaded_to_this_item' => __( 'Uploaded to this Event', 'mage-eventpress' ),
'items_list' => __( 'Event list', 'mage-eventpress' ),
'items_list_navigation' => __( 'Event list navigation', 'mage-eventpress' ),
'filter_items_list' => __( 'Filter Event list', 'mage-eventpress' ),
);

View File

@ -16,7 +16,7 @@ function export_btn() {
<input type="hidden" name='meta_value' value="<?php echo $_GET['meta_value']; ?>"/>
<?php } ?>
<input style="display:none" type="radio" name='format' id="formatCSV" value="csv" checked="checked"/>
<input type="submit" name='export' id="csvExport" value="<?php _e('Export to CSV','mepevent'); ?>"/>
<input type="submit" name='export' id="csvExport" value="<?php _e('Export to CSV','mage-eventpress'); ?>"/>
</form>
</div>

View File

@ -30,7 +30,7 @@ function mep_event_change_reg_status_cb($post){
$values = get_post_custom( $post->ID );
?>
<div class='sec'>
<label for="mep_ev_20988"> <?php _e('Registration On/Off:','mepevent'); ?>
<label for="mep_ev_20988"> <?php _e('Registration On/Off:','mage-eventpress'); ?>
<label class="switch">
<input type="checkbox" id="mep_ev_20988" name='mep_reg_status' <?php if(array_key_exists('mep_reg_status', $values)){ if($values['mep_reg_status'][0]=='on'){ echo 'checked'; } }else{ echo 'Checked'; } ?>/>
<span class="slider round"></span>
@ -66,7 +66,7 @@ $user_api = mep_get_option( 'google-map-api', 'general_setting_sec', '');
?>
<div class='sec'>
<label for="mep_ev_2"> <?php _e('Location/Venue:','mepevent'); ?> </label>
<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>
</div>
@ -74,35 +74,35 @@ $user_api = mep_get_option( 'google-map-api', 'general_setting_sec', '');
<div class='sec'>
<label for="mep_ev_3"> <?php _e('Street:','mepevent'); ?> </label>
<label for="mep_ev_3"> <?php _e('Street:','mage-eventpress'); ?> </label>
<span><input id='mep_ev_3' type="text" name='mep_street' value='<?php if(array_key_exists('mep_street', $values)){ echo $values['mep_street'][0]; } ?>'> </span>
</div>
<div class='sec'>
<label for="mep_ev_4"> <?php _e('City:','mepevent'); ?> </label>
<label for="mep_ev_4"> <?php _e('City:','mage-eventpress'); ?> </label>
<span><input id='mep_ev_4' type="text" name='mep_city' value='<?php if(array_key_exists('mep_city', $values)){ echo $values['mep_city'][0]; } ?>'> </span>
</div>
<div class='sec'>
<label for="mep_ev_5"> <?php _e('State:','mepevent'); ?> </label>
<label for="mep_ev_5"> <?php _e('State:','mage-eventpress'); ?> </label>
<span><input id='mep_ev_5' type="text" name='mep_state' value='<?php if(array_key_exists('mep_state', $values)){ echo $values['mep_state'][0]; } ?>'> </span>
</div>
<div class='sec'>
<label for="mep_ev_6"> <?php _e('Postcode:','mepevent'); ?> </label>
<label for="mep_ev_6"> <?php _e('Postcode:','mage-eventpress'); ?> </label>
<span><input id='mep_ev_6' type="text" name='mep_postcode' value='<?php if(array_key_exists('mep_postcode', $values)){ echo $values['mep_postcode'][0]; } ?>'> </span>
</div>
<div class='sec'>
<label for="mep_ev_7"> <?php _e('Country:','mepevent'); ?> </label>
<label for="mep_ev_7"> <?php _e('Country:','mage-eventpress'); ?> </label>
<span><input id='mep_ev_7' type="text" name='mep_country' value='<?php if(array_key_exists('mep_country', $values)){ echo $values['mep_country'][0]; } ?>'> </span>
</div>
@ -110,7 +110,7 @@ $user_api = mep_get_option( 'google-map-api', 'general_setting_sec', '');
if($user_api){
?>
<div class='sec'>
<label for="mep_ev_989"> <?php _e('Show Google Map:','mepevent'); ?> </label>
<label for="mep_ev_989"> <?php _e('Show Google Map:','mage-eventpress'); ?> </label>
<span><input style='text-align: left;width: auto;' id='mep_ev_989' type="checkbox" name='mep_sgm' value='1' <?php if(array_key_exists('mep_sgm', $values)){ $mep_sgm = $values['mep_sgm'][0]; if($mep_sgm==1){ echo 'checked'; } } ?> > Yes</span>
</div>
<div class='sec'>
@ -242,11 +242,11 @@ $values = get_post_custom( $post->ID );
<table id="" width="100%">
<thead>
<tr>
<th width="20%"><?php _e('Price Label','mepevent'); ?></th>
<th width="20%"><?php _e('Price','mepevent'); ?></th>
<th width="20%"><?php _e('Quantity','mepevent'); ?></th>
<th width="20%"><?php _e('Input Type','mepevent'); ?></th>
<th width="20%"><?php _e('Show Quantity Box','mepevent'); ?></th>
<th width="20%"><?php _e('Price Label','mage-eventpress'); ?></th>
<th width="20%"><?php _e('Price','mage-eventpress'); ?></th>
<th width="20%"><?php _e('Quantity','mage-eventpress'); ?></th>
<th width="20%"><?php _e('Input Type','mage-eventpress'); ?></th>
<th width="20%"><?php _e('Show Quantity Box','mage-eventpress'); ?></th>
</tr>
</thead>
<tbody>
@ -256,10 +256,10 @@ $values = get_post_custom( $post->ID );
<td><input id='mep_ev_1' type="number" name='mep_total_seat' value='<?php if(array_key_exists('mep_total_seat', $values)){ echo $values['mep_total_seat'][0]; } ?>'> </td>
<td> <?php if(array_key_exists('qty_box_type', $values)){ $qty_typec = $values['qty_box_type'][0]; }else{ $qty_typec=""; } ?>
<select name="qty_box_type" id="mep_ev_9800" class=''>
<option value="inputbox" <?php if($qty_typec=='inputbox'){ echo "Selected"; } ?>><?php _e('Input Box','mepevent'); ?></option>
<option value="dropdown" <?php if($qty_typec=='dropdown'){ echo "Selected"; } ?>><?php _e('Dropdown List','mepevent'); ?></option>
<option value="inputbox" <?php if($qty_typec=='inputbox'){ echo "Selected"; } ?>><?php _e('Input Box','mage-eventpress'); ?></option>
<option value="dropdown" <?php if($qty_typec=='dropdown'){ echo "Selected"; } ?>><?php _e('Dropdown List','mage-eventpress'); ?></option>
</select></td>
<td> <span><input style='text-align: left;width: auto;' id='mep_ev_98' type="checkbox" name='mep_sqi' value='1' <?php if(array_key_exists('mep_sqi', $values)){ $sqi = $values['mep_sqi'][0]; }else{ $sqi =0; } if($sqi==1){ echo 'checked'; } ?> > <?php _e('Yes','mepevent'); ?></span></td>
<td> <span><input style='text-align: left;width: auto;' id='mep_ev_98' type="checkbox" name='mep_sqi' value='1' <?php if(array_key_exists('mep_sqi', $values)){ $sqi = $values['mep_sqi'][0]; }else{ $sqi =0; } if($sqi==1){ echo 'checked'; } ?> > <?php _e('Yes','mage-eventpress'); ?></span></td>
</tr>
</tbody>
</table>
@ -323,7 +323,7 @@ function mep_event_faq_meta_box_cb() {
<div id='mep_event_faq_r' class="">
<input placeholder="FAQ Title" type="text" class="mep-faq-input" value="<?php if($field['mep_faq_title'] != '') echo esc_attr( $field['mep_faq_title'] ); ?>" name="mep_faq_title[]">
<textarea placeholder="FAQ Contents" name="mep_faq_content[]" id="" cols="50" rows="4" class="mep-faq-input"><?php if($field['mep_faq_content'] != '') echo esc_attr( $field['mep_faq_content'] ); ?></textarea>
<a class="button remove-faq-row" href="#"><?php _e('Remove','mepevent'); ?></a>
<a class="button remove-faq-row" href="#"><?php _e('Remove','mage-eventpress'); ?></a>
</div>
</td>
</tr>
@ -340,7 +340,7 @@ function mep_event_faq_meta_box_cb() {
<div id='mep_event_faq_r' class="">
<input placeholder="FAQ Title" type="text" class="mep-faq-input" name="mep_faq_title[]">
<textarea placeholder="FAQ Contents" name="mep_faq_content[]" id="" cols="50" rows="4" class="mep-faq-input"></textarea>
<a class="button remove-faq-row" href="#"><?php _e('Remove','mepevent'); ?></a>
<a class="button remove-faq-row" href="#"><?php _e('Remove','mage-eventpress'); ?></a>
</div>
</td>
@ -348,7 +348,7 @@ function mep_event_faq_meta_box_cb() {
</tr>
</tbody>
</table>
<p><a id="add-faq-row" class="button" href="#"><?php _e('Add New F.A.Q','mepevent'); ?></a></p>
<p><a id="add-faq-row" class="button" href="#"><?php _e('Add New F.A.Q','mage-eventpress'); ?></a></p>
<?php
}
@ -434,10 +434,10 @@ function mep_event_extra_price_option() {
<table id="repeatable-fieldset-one" width="100%">
<thead>
<tr>
<th width="30%"><?php _e('Extra Service Name','mepevent'); ?></th>
<th width="30%"><?php _e('Service Price','mepevent'); ?></th>
<th width="20%"><?php _e('Available Qty','mepevent'); ?></th>
<th width="10%"><?php _e('Qty Box Type','mepevent'); ?></th>
<th width="30%"><?php _e('Extra Service Name','mage-eventpress'); ?></th>
<th width="30%"><?php _e('Service Price','mage-eventpress'); ?></th>
<th width="20%"><?php _e('Available Qty','mage-eventpress'); ?></th>
<th width="10%"><?php _e('Qty Box Type','mage-eventpress'); ?></th>
<th width="10%"></th>
</tr>
</thead>
@ -458,11 +458,11 @@ function mep_event_extra_price_option() {
<td align="center">
<select name="option_qty_type[]" id="mep_ev_9800kj8" class=''>
<option value="inputbox" <?php if($qty_type=='inputbox'){ echo "Selected"; } ?>><?php _e('Input Box','mepevent'); ?></option>
<option value="dropdown" <?php if($qty_type=='dropdown'){ echo "Selected"; } ?>><?php _e('Dropdown List','mepevent'); ?></option>
<option value="inputbox" <?php if($qty_type=='inputbox'){ echo "Selected"; } ?>><?php _e('Input Box','mage-eventpress'); ?></option>
<option value="dropdown" <?php if($qty_type=='dropdown'){ echo "Selected"; } ?>><?php _e('Dropdown List','mage-eventpress'); ?></option>
</select>
</td>
<td><a class="button remove-row" href="#"><?php _e('Remove','mepevent'); ?></a></td>
<td><a class="button remove-row" href="#"><?php _e('Remove','mage-eventpress'); ?></a></td>
</tr>
<?php
}
@ -478,16 +478,16 @@ function mep_event_extra_price_option() {
<td><input type="number" class="widefat" name="option_qty[]" value="" /></td>
<td><select name="option_qty_type[]" id="mep_ev_9800kj8" class=''>
<option value=""><?php _e('Please Select Type','mepevent'); ?></option>
<option value="inputbox"><?php _e('Input Box','mepevent'); ?></option>
<option value="dropdown"><?php _e('Dropdown List','mepevent'); ?></option>
<option value=""><?php _e('Please Select Type','mage-eventpress'); ?></option>
<option value="inputbox"><?php _e('Input Box','mage-eventpress'); ?></option>
<option value="dropdown"><?php _e('Dropdown List','mage-eventpress'); ?></option>
</select></td>
<td><a class="button remove-row" href="#"><?php _e('Remove','mepevent'); ?></a></td>
<td><a class="button remove-row" href="#"><?php _e('Remove','mage-eventpress'); ?></a></td>
</tr>
</tbody>
</table>
<p><a id="add-row" class="button" href="#"><?php _e('Add Extra Price','mepevent'); ?></a></p>
<p><a id="add-row" class="button" href="#"><?php _e('Add Extra Price','mage-eventpress'); ?></a></p>
<?php
}
@ -528,10 +528,10 @@ function mep_event_ticket_type() {
<table id="repeatable-fieldset-one-t" width="100%">
<thead>
<tr>
<th width="30%"><?php _e('Ticket Type Name','mepevent'); ?></th>
<th width="30%"><?php _e('Ticket Price','mepevent'); ?></th>
<th width="20%"><?php _e('Available Qty','mepevent'); ?></th>
<th width="10%"><?php _e('Qty Box Type','mepevent'); ?></th>
<th width="30%"><?php _e('Ticket Type Name','mage-eventpress'); ?></th>
<th width="30%"><?php _e('Ticket Price','mage-eventpress'); ?></th>
<th width="20%"><?php _e('Available Qty','mage-eventpress'); ?></th>
<th width="10%"><?php _e('Qty Box Type','mage-eventpress'); ?></th>
<th width="10%"></th>
</tr>
</thead>
@ -551,11 +551,11 @@ function mep_event_ticket_type() {
<td><input type="number" class="widefat" name="option_qty_t[]" value="<?php if ($field['option_qty_t'] != '') echo esc_attr( $field['option_qty_t'] ); else echo ''; ?>" /></td>
<td><select name="option_qty_t_type[]" id="mep_ev_9800kj8" class=''>
<option value="inputbox" <?php if($qty_t_type=='inputbox'){ echo "Selected"; } ?>><?php _e('Input Box','mepevent'); ?></option>
<option value="dropdown" <?php if($qty_t_type=='dropdown'){ echo "Selected"; } ?>><?php _e('Dropdown List','mepevent'); ?></option>
<option value="inputbox" <?php if($qty_t_type=='inputbox'){ echo "Selected"; } ?>><?php _e('Input Box','mage-eventpress'); ?></option>
<option value="dropdown" <?php if($qty_t_type=='dropdown'){ echo "Selected"; } ?>><?php _e('Dropdown List','mage-eventpress'); ?></option>
</select></td>
<td><a class="button remove-row-t" href="#"><?php _e('Remove','mepevent'); ?></a></td>
<td><a class="button remove-row-t" href="#"><?php _e('Remove','mage-eventpress'); ?></a></td>
</tr>
<?php
}
@ -569,12 +569,12 @@ function mep_event_ticket_type() {
<td><input type="text" class="widefat" name="option_name_t[]" /></td>
<td><input type="number" class="widefat" name="option_price_t[]" value="" /></td>
<td><input type="number" class="widefat" name="option_qty_t[]" value="" /></td>
<td><select name="option_qty_t_type[]" id="mep_ev_9800kj8" class=''><option value=""><?php _e('Please Select Type','mepevent'); ?></option><option value="inputbox"><?php _e('Input Box','mepevent'); ?></option><option value="dropdown"><?php _e('Dropdown List','mepevent'); ?></option></select></td>
<td><a class="button remove-row-t" href="#"><?php _e('Remove','mepevent'); ?></a></td>
<td><select name="option_qty_t_type[]" id="mep_ev_9800kj8" class=''><option value=""><?php _e('Please Select Type','mage-eventpress'); ?></option><option value="inputbox"><?php _e('Input Box','mage-eventpress'); ?></option><option value="dropdown"><?php _e('Dropdown List','mage-eventpress'); ?></option></select></td>
<td><a class="button remove-row-t" href="#"><?php _e('Remove','mage-eventpress'); ?></a></td>
</tr>
</tbody>
</table>
<p><a id="add-row-t" class="button" href="#"><?php _e('Add New Ticket Type','mepevent'); ?></a></p>
<p><a id="add-row-t" class="button" href="#"><?php _e('Add New Ticket Type','mage-eventpress'); ?></a></p>
<?php
}
@ -595,13 +595,13 @@ $values = get_post_custom( $post->ID );
?>
<div class='sec'>
<label for="event_start_date"> <?php _e('Start Date & Time:','mepevent'); ?> </label>
<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:','mepevent'); ?> </label>
<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>
@ -615,7 +615,7 @@ function mep_event_email_meta_box_cb($post){
$values = get_post_custom( $post->ID );
?>
<div class='sec'>
<label for="event_start_date"> <?php _e('Confirmation Email Text:','mepevent'); ?> </label>
<label for="event_start_date"> <?php _e('Confirmation Email Text:','mage-eventpress'); ?> </label>
<span><textarea style='border: 1px solid #ddd;width: 100%;min-height: 200px;margin: 10px 0;padding: 5px;' class='' id='' type="text" name='mep_event_cc_email_text'><?php if(array_key_exists('mep_event_cc_email_text', $values)){ echo $values['mep_event_cc_email_text'][0]; } ?></textarea> </span>
</div>
<?php
@ -632,31 +632,31 @@ $values = get_post_custom( $post->ID );
<div class='sec'>
<label for="mep_ev_98">
<span><input style='text-align: left;width: auto;' id='mep_ev_98' type="checkbox" name='mep_full_name' <?php if(array_key_exists('mep_full_name', $values)){ $sqi = $values['mep_full_name'][0]; }else{$sqi=0; } if($sqi==1){ echo 'checked'; } ?> value='1' /> <?php _e('Full Name','mepevent'); ?> </span></label>
<span><input style='text-align: left;width: auto;' id='mep_ev_98' type="checkbox" name='mep_full_name' <?php if(array_key_exists('mep_full_name', $values)){ $sqi = $values['mep_full_name'][0]; }else{$sqi=0; } if($sqi==1){ echo 'checked'; } ?> value='1' /> <?php _e('Full Name','mage-eventpress'); ?> </span></label>
</div>
<div class='sec'>
<label for="mep_ev_981">
<span><input style='text-align: left;width: auto;' id='mep_ev_981' type="checkbox" name='mep_reg_email' <?php if(array_key_exists('mep_reg_email', $values)){ $sqi1 = $values['mep_reg_email'][0]; }else{$sqi1=0;} if($sqi1==1){ echo 'checked'; } ?> value='1' /> <?php _e('Email Address','mepevent'); ?> </span></label>
<span><input style='text-align: left;width: auto;' id='mep_ev_981' type="checkbox" name='mep_reg_email' <?php if(array_key_exists('mep_reg_email', $values)){ $sqi1 = $values['mep_reg_email'][0]; }else{$sqi1=0;} if($sqi1==1){ echo 'checked'; } ?> value='1' /> <?php _e('Email Address','mage-eventpress'); ?> </span></label>
</div>
<div class='sec'>
<label for="mep_ev_982">
<span><input style='text-align: left;width: auto;' id='mep_ev_982' type="checkbox" name='mep_reg_phone' <?php if(array_key_exists('mep_reg_phone', $values)){ $sqi2 = $values['mep_reg_phone'][0];}else{$sqi2=0;} if($sqi2==1){ echo 'checked'; } ?> value='1' /> <?php _e('Phone Number','mepevent'); ?> </span></label>
<span><input style='text-align: left;width: auto;' id='mep_ev_982' type="checkbox" name='mep_reg_phone' <?php if(array_key_exists('mep_reg_phone', $values)){ $sqi2 = $values['mep_reg_phone'][0];}else{$sqi2=0;} if($sqi2==1){ echo 'checked'; } ?> value='1' /> <?php _e('Phone Number','mage-eventpress'); ?> </span></label>
</div>
<div class='sec'>
<label for="mep_ev_983">
<span><input style='text-align: left;width: auto;' id='mep_ev_983' type="checkbox" name='mep_reg_address' <?php if(array_key_exists('mep_reg_address', $values)){ $sqi3 = $values['mep_reg_address'][0];}else{$sqi3=0;} if($sqi3==1){ echo 'checked'; } ?> value='1' /><?php _e('Address','mepevent'); ?> </span></label>
<span><input style='text-align: left;width: auto;' id='mep_ev_983' type="checkbox" name='mep_reg_address' <?php if(array_key_exists('mep_reg_address', $values)){ $sqi3 = $values['mep_reg_address'][0];}else{$sqi3=0;} if($sqi3==1){ echo 'checked'; } ?> value='1' /><?php _e('Address','mage-eventpress'); ?> </span></label>
</div>
<div class='sec'>
<label for="mep_ev_98309">
<span><input style='text-align: left;width: auto;' id='mep_ev_98309' type="checkbox" name='mep_reg_tshirtsize' <?php if(array_key_exists('mep_reg_tshirtsize', $values)){ $sqi312 = $values['mep_reg_tshirtsize'][0]; }else{$sqi312=0;} if($sqi312==1){ echo 'checked'; } ?> value='1' /><?php _e('T-Shirt Size','mepevent'); ?> </span></label>
<span><input style='text-align: left;width: auto;' id='mep_ev_98309' type="checkbox" name='mep_reg_tshirtsize' <?php if(array_key_exists('mep_reg_tshirtsize', $values)){ $sqi312 = $values['mep_reg_tshirtsize'][0]; }else{$sqi312=0;} if($sqi312==1){ echo 'checked'; } ?> value='1' /><?php _e('T-Shirt Size','mage-eventpress'); ?> </span></label>
</label>
<label for="">
<?php _e('Input Tshirts size, separetd by comma (M,L,XL)','mepevent'); ?>
<?php _e('Input Tshirts size, separetd by comma (M,L,XL)','mage-eventpress'); ?>
<?php
if(array_key_exists('mep_reg_tshirtsize', $values)){ $tsizes = $values['mep_reg_tshirtsize_list'][0]; }else{$tsizes='';}
?>
@ -668,24 +668,24 @@ if(array_key_exists('mep_reg_tshirtsize', $values)){ $tsizes = $values['mep_reg_
<div class='sec'>
<label for="mep_ev_984">
<span><input style='text-align: left;width: auto;' id='mep_ev_984' type="checkbox" name='mep_reg_designation' <?php if(array_key_exists('mep_reg_designation', $values)){ $sqi4 = $values['mep_reg_designation'][0]; }else{$sqi4=0;} if($sqi4==1){ echo 'checked'; } ?> value='1' /> <?php _e('Designation','mepevent'); ?> </span></label>
<span><input style='text-align: left;width: auto;' id='mep_ev_984' type="checkbox" name='mep_reg_designation' <?php if(array_key_exists('mep_reg_designation', $values)){ $sqi4 = $values['mep_reg_designation'][0]; }else{$sqi4=0;} if($sqi4==1){ echo 'checked'; } ?> value='1' /> <?php _e('Designation','mage-eventpress'); ?> </span></label>
</div>
<div class='sec'>
<label for="mep_ev_985">
<span><input style='text-align: left;width: auto;' id='mep_ev_985' type="checkbox" name='mep_reg_website' <?php if(array_key_exists('mep_reg_website', $values)){ $sqi5 = $values['mep_reg_website'][0]; }else{$sqi5=0;} if($sqi5==1){ echo 'checked'; } ?> value='1' /> <?php _e('Website','mepevent'); ?> </span></label>
<span><input style='text-align: left;width: auto;' id='mep_ev_985' type="checkbox" name='mep_reg_website' <?php if(array_key_exists('mep_reg_website', $values)){ $sqi5 = $values['mep_reg_website'][0]; }else{$sqi5=0;} if($sqi5==1){ echo 'checked'; } ?> value='1' /> <?php _e('Website','mage-eventpress'); ?> </span></label>
</div>
<div class='sec'>
<label for="mep_ev_986">
<span><input style='text-align: left;width: auto;' id='mep_ev_986' type="checkbox" name='mep_reg_veg' <?php if(array_key_exists('mep_reg_veg', $values)){ $sqi6 = $values['mep_reg_veg'][0];}else{$sqi6=0; } if($sqi6==1){ echo 'checked'; } ?> value='1' /> <?php _e('Vegetarian','mepevent'); ?> </span></label>
<span><input style='text-align: left;width: auto;' id='mep_ev_986' type="checkbox" name='mep_reg_veg' <?php if(array_key_exists('mep_reg_veg', $values)){ $sqi6 = $values['mep_reg_veg'][0];}else{$sqi6=0; } if($sqi6==1){ echo 'checked'; } ?> value='1' /> <?php _e('Vegetarian','mage-eventpress'); ?> </span></label>
</div>
<div class='sec'>
<label for="mep_ev_987">
<span><input style='text-align: left;width: auto;' id='mep_ev_987' type="checkbox" name='mep_reg_company' <?php if(array_key_exists('mep_reg_company', $values)){ $sqi7 = $values['mep_reg_company'][0]; }else{ $sqi7=0; } if($sqi7==1){ echo 'checked'; } ?> value='1' /> <?php _e('Company Name','mepevent'); ?> </span></label>
<span><input style='text-align: left;width: auto;' id='mep_ev_987' type="checkbox" name='mep_reg_company' <?php if(array_key_exists('mep_reg_company', $values)){ $sqi7 = $values['mep_reg_company'][0]; }else{ $sqi7=0; } if($sqi7==1){ echo 'checked'; } ?> value='1' /> <?php _e('Company Name','mage-eventpress'); ?> </span></label>
</div>
<div class='sec'>
<label for="mep_ev_988">
<span><input style='text-align: left;width: auto;' id='mep_ev_988' type="checkbox" name='mep_reg_gender' <?php if(array_key_exists('mep_reg_gender', $values)){ $sqi8 = $values['mep_reg_gender'][0]; }else{$sqi8=0;} if($sqi8==1){ echo 'checked'; } ?> value='1' /> <?php _e('Gender','mepevent'); ?> </span></label>
<span><input style='text-align: left;width: auto;' id='mep_ev_988' type="checkbox" name='mep_reg_gender' <?php if(array_key_exists('mep_reg_gender', $values)){ $sqi8 = $values['mep_reg_gender'][0]; }else{$sqi8=0;} if($sqi8==1){ echo 'checked'; } ?> value='1' /> <?php _e('Gender','mage-eventpress'); ?> </span></label>
</div>
<?php
@ -1025,62 +1025,62 @@ $event_meta = get_post_custom($values['ea_event_id'][0]);
<div class="mep-attendee-sec-details">
<div class='sec'>
<span class="ea-label"><?php _e('Event:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Event:','mage-eventpress'); ?> </span>
<span class="ea-value"><?php echo $values['ea_event_name'][0]; ?> </span>
</div>
<div class='sec'>
<span class="ea-label"><?php _e('UserID:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('UserID:','mage-eventpress'); ?> </span>
<span class="ea-value"><?php echo $values['ea_user_id'][0]; ?></span>
</div>
<?php if($mep_full_name){ ?>
<div class='sec'>
<span class="ea-label"><?php _e('Full Name:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Full Name:','mage-eventpress'); ?> </span>
<span class="ea-value"><?php echo $values['ea_name'][0]; ?></span>
</div>
<?php } if($mep_reg_email){ ?>
<div class='sec'>
<span class="ea-label"><?php _e('Email:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Email:','mage-eventpress'); ?> </span>
<span class="ea-value"><?php echo $values['ea_email'][0]; ?></span>
</div>
<?php } if($mep_reg_phone){ ?>
<div class='sec'>
<span class="ea-label"><?php _e('Phone:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Phone:','mage-eventpress'); ?> </span>
<span class="ea-value"><?php echo $values['ea_phone'][0]; ?></span>
</div>
<?php } if($mep_reg_address){ ?>
<div class='sec'>
<span class="ea-label"><?php _e('Addres:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Addres:','mage-eventpress'); ?> </span>
<span class="ea-value">
<?php echo $values['ea_address_1'][0]; ?>
</span>
</div>
<?php } if($mep_reg_gender){ ?>
<div class='sec'>
<span class="ea-label"><?php _e('Gender:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Gender:','mage-eventpress'); ?> </span>
<span class="ea-value">
<?php echo $values['ea_gender'][0]; ?>
</span>
</div>
<?php } if($mep_reg_company){ ?>
<div class='sec'>
<span class="ea-label"><?php _e('Company:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Company:','mage-eventpress'); ?> </span>
<span class="ea-value">
<?php echo $values['ea_company'][0]; ?>
</span>
</div>
<?php } if($mep_reg_designation){ ?>
<div class='sec'>
<span class="ea-label"><?php _e('Designation:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Designation:','mage-eventpress'); ?> </span>
<span class="ea-value">
<?php echo $values['ea_desg'][0]; ?>
</span>
</div>
<?php } if($mep_reg_website){ ?>
<div class='sec'>
<span class="ea-label"><?php _e('Website:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Website:','mage-eventpress'); ?> </span>
<span class="ea-value">
<?php echo $values['ea_website'][0]; ?>
</span>
@ -1088,7 +1088,7 @@ $event_meta = get_post_custom($values['ea_event_id'][0]);
<?php } if($mep_reg_veg){ ?>
<div class='sec'>
<span class="ea-label"><?php _e('Vegetarian?:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Vegetarian?:','mage-eventpress'); ?> </span>
<span class="ea-value">
<?php echo $values['ea_vegetarian'][0]; ?>
</span>
@ -1096,7 +1096,7 @@ $event_meta = get_post_custom($values['ea_event_id'][0]);
<?php } if($mep_reg_tshirtsize){ ?>
<div class='sec'>
<span class="ea-label"><?php _e('T-Shirt Size?:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('T-Shirt Size?:','mage-eventpress'); ?> </span>
<span class="ea-value">
<?php echo $values['ea_tshirtsize'][0]; ?>
</span>
@ -1127,13 +1127,13 @@ $mep_form_builder_data = get_post_meta($values['ea_event_id'][0], 'mep_form_buil
<div class='sec'>
<span class="ea-label"><?php _e('Ticket Type:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Ticket Type:','mage-eventpress'); ?> </span>
<span class="ea-value">
<?php echo $values['ea_ticket_type'][0]; ?>
</span>
</div>
<div class='sec'>
<span class="ea-label"><?php _e('Order ID:','mepevent'); ?> </span>
<span class="ea-label"><?php _e('Order ID:','mage-eventpress'); ?> </span>
<span class="ea-value">
<?php echo $values['ea_order_id'][0]; ?>
</span>
@ -1141,7 +1141,7 @@ $mep_form_builder_data = get_post_meta($values['ea_event_id'][0], 'mep_form_buil
</div>
<div class='sec'>
<span>
<a href="<?php echo get_site_url(); ?>/wp-admin/post.php?post=<?php echo $values['ea_order_id'][0]; ?>&action=edit" class='button button-primary button-large'><?php _e('View Order','mepevent'); ?></a>
<a href="<?php echo get_site_url(); ?>/wp-admin/post.php?post=<?php echo $values['ea_order_id'][0]; ?>&action=edit" class='button button-primary button-large'><?php _e('View Order','mage-eventpress'); ?></a>
</span>
</div>
<?php

View File

@ -94,7 +94,7 @@ $terms = get_terms( array(
) );
?>
<div class="mep-event-cat-controls">
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mepevent'); ?></button><?php
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mage-eventpress'); ?></button><?php
foreach ($terms as $_terms) {
?><button type="button" class="mep-cat-control" data-filter=".<?php echo $_terms->slug; ?>"><?php echo $_terms->name; ?></button><?php
}
@ -110,7 +110,7 @@ $terms = get_terms( array(
) );
?>
<div class="mep-event-cat-controls">
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mepevent'); ?></button><?php
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mage-eventpress'); ?></button><?php
foreach ($terms as $_terms) {
?><button type="button" class="mep-cat-control" data-filter=".<?php echo $_terms->slug; ?>"><?php echo $_terms->name; ?></button><?php
}
@ -200,7 +200,7 @@ $author_terms = get_the_terms(get_the_id(), 'mep_org');
<div class="mep_list_event_details"><a href="<?php the_permalink(); ?>">
<div class="mep-list-header">
<h2 class='mep_list_title'><?php the_title(); ?></h2>
<h3 class='mep_list_date'> <?php _e('Price Start from:','mepevent'); ?> <?php echo mep_event_list_price(get_the_id()); ?><!-- <i class="fa fa-calendar"></i> <?php echo date('h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> - <?php echo $event_meta['mep_event_end_date'][0]; ?> --></h3>
<h3 class='mep_list_date'> <?php _e('Price Start from:','mage-eventpress'); ?> <?php echo mep_event_list_price(get_the_id()); ?><!-- <i class="fa fa-calendar"></i> <?php echo date('h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> - <?php echo $event_meta['mep_event_end_date'][0]; ?> --></h3>
</div>
<?php
@ -216,21 +216,21 @@ if($style=='list'){
<li>
<div class="evl-ico"><i class="fa fa-university"></i> </div>
<div class="evl-cc">
<h5><?php _e('Organized By:','mepevent'); ?></h5>
<h5><?php _e('Organized By:','mage-eventpress'); ?></h5>
<h6><?php echo $author_terms[0]->name; ?></h6>
</div>
</li>
<li>
<div class="evl-ico"><i class="fa fa-map-marker"></i> </div>
<div class="evl-cc">
<h5><?php _e('Location:','mepevent'); ?></h5>
<h5><?php _e('Location:','mage-eventpress'); ?></h5>
<h6><?php echo $event_meta['mep_city'][0]; ?></h6>
</div>
</li>
<li>
<div class="evl-ico"><i class="fa fa-calendar"></i> </div>
<div class="evl-cc">
<h5><?php _e('Time:','mepevent'); ?></h5>
<h5><?php _e('Time:','mage-eventpress'); ?></h5>
<h6><?php echo date('h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> - <?php echo date('h:i A', strtotime($event_meta['mep_event_end_date'][0])); ?></h6>
</div>
</li>
@ -314,7 +314,7 @@ $terms = get_terms( array(
) );
?>
<div class="mep-event-cat-controls">
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mepevent'); ?></button><?php
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mage-eventpress'); ?></button><?php
foreach ($terms as $_terms) {
?><button type="button" class="mep-cat-control" data-filter=".<?php echo $_terms->slug; ?>"><?php echo $_terms->name; ?></button><?php
}
@ -330,7 +330,7 @@ $terms = get_terms( array(
) );
?>
<div class="mep-event-cat-controls">
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mepevent'); ?></button><?php
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mage-eventpress'); ?></button><?php
foreach ($terms as $_terms) {
?><button type="button" class="mep-cat-control" data-filter=".<?php echo $_terms->slug; ?>"><?php echo $_terms->name; ?></button><?php
}
@ -436,21 +436,21 @@ if($style=='list'){
<li>
<div class="evl-ico"><i class="fa fa-university"></i> </div>
<div class="evl-cc">
<h5><?php _e('Organized By:','mepevent'); ?></h5>
<h5><?php _e('Organized By:','mage-eventpress'); ?></h5>
<h6><?php echo $author_terms[0]->name; ?></h6>
</div>
</li>
<li>
<div class="evl-ico"><i class="fa fa-map-marker"></i> </div>
<div class="evl-cc">
<h5><?php _e('Location:','mepevent'); ?></h5>
<h5><?php _e('Location:','mage-eventpress'); ?></h5>
<h6><?php echo $event_meta['mep_city'][0]; ?></h6>
</div>
</li>
<li>
<div class="evl-ico"><i class="fa fa-calendar"></i> </div>
<div class="evl-cc">
<h5><?php _e('Time:','mepevent'); ?></h5>
<h5><?php _e('Time:','mage-eventpress'); ?></h5>
<h6><?php echo date('h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> - <?php echo date('h:i A', strtotime($event_meta['mep_event_end_date'][0])); ?></h6>
</div>
</li>

View File

@ -4,26 +4,26 @@ function mep_cpt_tax(){
$labels = array(
'name' => _x( 'Event Category','mepevent' ),
'singular_name' => _x( 'Event Category','mepevent' ),
'menu_name' => __( 'Category', 'mepevent' ),
'all_items' => __( 'All Event Category', 'mepevent' ),
'parent_item' => __( 'Parent Category', 'mepevent' ),
'parent_item_colon' => __( 'Parent Category:', 'mepevent' ),
'new_item_name' => __( 'New Category Name', 'mepevent' ),
'add_new_item' => __( 'Add New Category', 'mepevent' ),
'edit_item' => __( 'Edit Category', 'mepevent' ),
'update_item' => __( 'Update Category', 'mepevent' ),
'view_item' => __( 'View Category', 'mepevent' ),
'separate_items_with_commas' => __( 'Separate Category with commas', 'mepevent' ),
'add_or_remove_items' => __( 'Add or remove Category', 'mepevent' ),
'choose_from_most_used' => __( 'Choose from the most used', 'mepevent' ),
'popular_items' => __( 'Popular Category', 'mepevent' ),
'search_items' => __( 'Search Category', 'mepevent' ),
'not_found' => __( 'Not Found', 'mepevent' ),
'no_terms' => __( 'No Category', 'mepevent' ),
'items_list' => __( 'Category list', 'mepevent' ),
'items_list_navigation' => __( 'Category list navigation', 'mepevent' ),
'name' => _x( 'Event Category','mage-eventpress' ),
'singular_name' => _x( 'Event Category','mage-eventpress' ),
'menu_name' => __( 'Category', 'mage-eventpress' ),
'all_items' => __( 'All Event Category', 'mage-eventpress' ),
'parent_item' => __( 'Parent Category', 'mage-eventpress' ),
'parent_item_colon' => __( 'Parent Category:', 'mage-eventpress' ),
'new_item_name' => __( 'New Category Name', 'mage-eventpress' ),
'add_new_item' => __( 'Add New Category', 'mage-eventpress' ),
'edit_item' => __( 'Edit Category', 'mage-eventpress' ),
'update_item' => __( 'Update Category', 'mage-eventpress' ),
'view_item' => __( 'View Category', 'mage-eventpress' ),
'separate_items_with_commas' => __( 'Separate Category with commas', 'mage-eventpress' ),
'add_or_remove_items' => __( 'Add or remove Category', 'mage-eventpress' ),
'choose_from_most_used' => __( 'Choose from the most used', 'mage-eventpress' ),
'popular_items' => __( 'Popular Category', 'mage-eventpress' ),
'search_items' => __( 'Search Category', 'mage-eventpress' ),
'not_found' => __( 'Not Found', 'mage-eventpress' ),
'no_terms' => __( 'No Category', 'mage-eventpress' ),
'items_list' => __( 'Category list', 'mage-eventpress' ),
'items_list_navigation' => __( 'Category list navigation', 'mage-eventpress' ),
);
$args = array(
@ -40,26 +40,26 @@ register_taxonomy('mep_cat', 'mep_events', $args);
$labelso = array(
'name' => _x( 'Event Organizer','mepevent' ),
'singular_name' => _x( 'Event Organizer','mepevent' ),
'menu_name' => __( 'Organizer', 'mepevent' ),
'all_items' => __( 'All Event Organizer', 'mepevent' ),
'parent_item' => __( 'Parent Organizer', 'mepevent' ),
'parent_item_colon' => __( 'Parent Organizer:', 'mepevent' ),
'new_item_name' => __( 'New Organizer Name', 'mepevent' ),
'add_new_item' => __( 'Add New Organizer', 'mepevent' ),
'edit_item' => __( 'Edit Organizer', 'mepevent' ),
'update_item' => __( 'Update Organizer', 'mepevent' ),
'view_item' => __( 'View Organizer', 'mepevent' ),
'separate_items_with_commas' => __( 'Separate Organizer with commas', 'mepevent' ),
'add_or_remove_items' => __( 'Add or remove Organizer', 'mepevent' ),
'choose_from_most_used' => __( 'Choose from the most used', 'mepevent' ),
'popular_items' => __( 'Popular Organizer', 'mepevent' ),
'search_items' => __( 'Search Organizer', 'mepevent' ),
'not_found' => __( 'Not Found', 'mepevent' ),
'no_terms' => __( 'No Organizer', 'mepevent' ),
'items_list' => __( 'Organizer list', 'mepevent' ),
'items_list_navigation' => __( 'Organizer list navigation', 'mepevent' ),
'name' => _x( 'Event Organizer','mage-eventpress' ),
'singular_name' => _x( 'Event Organizer','mage-eventpress' ),
'menu_name' => __( 'Organizer', 'mage-eventpress' ),
'all_items' => __( 'All Event Organizer', 'mage-eventpress' ),
'parent_item' => __( 'Parent Organizer', 'mage-eventpress' ),
'parent_item_colon' => __( 'Parent Organizer:', 'mage-eventpress' ),
'new_item_name' => __( 'New Organizer Name', 'mage-eventpress' ),
'add_new_item' => __( 'Add New Organizer', 'mage-eventpress' ),
'edit_item' => __( 'Edit Organizer', 'mage-eventpress' ),
'update_item' => __( 'Update Organizer', 'mage-eventpress' ),
'view_item' => __( 'View Organizer', 'mage-eventpress' ),
'separate_items_with_commas' => __( 'Separate Organizer with commas', 'mage-eventpress' ),
'add_or_remove_items' => __( 'Add or remove Organizer', 'mage-eventpress' ),
'choose_from_most_used' => __( 'Choose from the most used', 'mage-eventpress' ),
'popular_items' => __( 'Popular Organizer', 'mage-eventpress' ),
'search_items' => __( 'Search Organizer', 'mage-eventpress' ),
'not_found' => __( 'Not Found', 'mage-eventpress' ),
'no_terms' => __( 'No Organizer', 'mage-eventpress' ),
'items_list' => __( 'Organizer list', 'mage-eventpress' ),
'items_list_navigation' => __( 'Organizer list navigation', 'mage-eventpress' ),
);
$argso = array(

View File

@ -148,7 +148,7 @@ jQuery('#eventpxtp_<?php echo $count; ?>').on('change', function () {
jQuery('#dadainfo_<?php echo $count; ?>').append(
jQuery('<div/>')
.attr("id", "newDiv" + i)
.html("<div class='mep-user-info-sec'><h5><?php echo $qm; ?> <?php _e('Attendee info:','mepevent'); ?>"+i+"</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='<?php _e('Enter Your Name','mepevent'); ?>'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='<?php _e('Enter Your Email','mepevent'); ?>'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='<?php _e('Enter Your Phone','mepevent'); ?>'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='<?php _e('Enter you address','mepevent'); ?>'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'><?php _e('T-Shirt Size','mepevent'); ?><select name='tshirtsize[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'><?php _e('Gender','mepevent'); ?><select name='gender[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Male'><?php _e('Male','mepevent'); ?></option><option value='Female'><?php _e('Female','mepevent'); ?></option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='<?php _e('Company','mepevent'); ?>'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='<?php _e('Designation','mepevent'); ?>'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='<?php _e('Website','mepevent'); ?>'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'><?php _e('Vegetarian','mepevent'); ?><select name='vegetarian[]' id='veg'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Yes'><?php _e('Yes','mepevent'); ?></option><option value='No'><?php _e('No','mepevent'); ?></option></select></label><input type='hidden' name='ticket_type[]' class='mep_input' value='<?php echo $qm; ?>' /><?php do_action('mep_after_reg_form_front'); ?>")
.html("<div class='mep-user-info-sec'><h5><?php echo $qm; ?> <?php _e('Attendee info:','mage-eventpress'); ?>"+i+"</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='<?php _e('Enter Your Name','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='<?php _e('Enter Your Email','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='<?php _e('Enter Your Phone','mage-eventpress'); ?>'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='<?php _e('Enter you address','mage-eventpress'); ?>'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'><?php _e('T-Shirt Size','mage-eventpress'); ?><select name='tshirtsize[]' id='gen'><option value=''><?php _e('Please Select','mage-eventpress'); ?></option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'><?php _e('Gender','mage-eventpress'); ?><select name='gender[]' id='gen'><option value=''><?php _e('Please Select','mage-eventpress'); ?></option><option value='Male'><?php _e('Male','mage-eventpress'); ?></option><option value='Female'><?php _e('Female','mage-eventpress'); ?></option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='<?php _e('Company','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='<?php _e('Designation','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='<?php _e('Website','mage-eventpress'); ?>'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'><?php _e('Vegetarian','mage-eventpress'); ?><select name='vegetarian[]' id='veg'><option value=''><?php _e('Please Select','mage-eventpress'); ?></option><option value='Yes'><?php _e('Yes','mage-eventpress'); ?></option><option value='No'><?php _e('No','mage-eventpress'); ?></option></select></label><input type='hidden' name='ticket_type[]' class='mep_input' value='<?php echo $qm; ?>' /><?php do_action('mep_after_reg_form_front'); ?>")
);
}
@ -175,7 +175,7 @@ jQuery('#quantity_5a7abbd1bff73').on('change', function () {
jQuery('#divParent').append(
jQuery('<div/>')
.attr("id", "newDiv" + i)
.html("<div class='mep-user-info-sec'><h5><?php echo $qm; ?> <?php _e('Attendee info:','mepevent'); ?>"+i+"</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='<?php _e('Enter Your Name','mepevent'); ?>'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='<?php _e('Enter Your Email','mepevent'); ?>'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='<?php _e('Enter Your Phone','mepevent'); ?>'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='<?php _e('Enter you address','mepevent'); ?>'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'><?php _e('T-Shirt Size','mepevent'); ?><select name='tshirtsize[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'><?php _e('Gender','mepevent'); ?><select name='gender[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Male'><?php _e('Male','mepevent'); ?></option><option value='Female'><?php _e('Female','mepevent'); ?></option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='<?php _e('Company','mepevent'); ?>'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='<?php _e('Designation','mepevent'); ?>'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='<?php _e('Website','mepevent'); ?>'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'><?php _e('Vegetarian','mepevent'); ?><select name='vegetarian[]' id='veg'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Yes'><?php _e('Yes','mepevent'); ?></option><option value='No'><?php _e('No','mepevent'); ?></option></select></label><input type='hidden' name='ticket_type[]' class='mep_input' value='<?php echo $qm; ?>' /><?php do_action('mep_after_reg_form_front'); ?>")
.html("<div class='mep-user-info-sec'><h5><?php echo $qm; ?> <?php _e('Attendee info:','mage-eventpress'); ?>"+i+"</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='<?php _e('Enter Your Name','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='<?php _e('Enter Your Email','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='<?php _e('Enter Your Phone','mage-eventpress'); ?>'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='<?php _e('Enter you address','mage-eventpress'); ?>'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'><?php _e('T-Shirt Size','mage-eventpress'); ?><select name='tshirtsize[]' id='gen'><option value=''><?php _e('Please Select','mage-eventpress'); ?></option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'><?php _e('Gender','mage-eventpress'); ?><select name='gender[]' id='gen'><option value=''><?php _e('Please Select','mage-eventpress'); ?></option><option value='Male'><?php _e('Male','mage-eventpress'); ?></option><option value='Female'><?php _e('Female','mage-eventpress'); ?></option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='<?php _e('Company','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='<?php _e('Designation','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='<?php _e('Website','mage-eventpress'); ?>'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'><?php _e('Vegetarian','mage-eventpress'); ?><select name='vegetarian[]' id='veg'><option value=''><?php _e('Please Select','mage-eventpress'); ?></option><option value='Yes'><?php _e('Yes','mage-eventpress'); ?></option><option value='No'><?php _e('No','mage-eventpress'); ?></option></select></label><input type='hidden' name='ticket_type[]' class='mep_input' value='<?php echo $qm; ?>' /><?php do_action('mep_after_reg_form_front'); ?>")
);
}

View File

@ -72,57 +72,57 @@ $values = get_post_custom(get_the_id());
</tr>
<?php if($values['ea_email'][0]){ ?>
<tr>
<td><?php _e('Email','mepevent'); ?></td>
<td><?php _e('Email','mage-eventpress'); ?></td>
<td><?php echo $values['ea_email'][0]; ?></td>
</tr>
<?php } if($values['ea_phone'][0]){ ?>
<tr>
<td><?php _e('Phone','mepevent'); ?></td>
<td><?php _e('Phone','mage-eventpress'); ?></td>
<td><?php echo $values['ea_phone'][0]; ?></td>
</tr>
<?php } if($values['ea_address_1'][0]){ ?>
<tr>
<td><?php _e('Address','mepevent'); ?></td>
<td><?php _e('Address','mage-eventpress'); ?></td>
<td><?php echo $values['ea_address_1'][0]; ?> </td>
</tr>
<?php } if($values['ea_desg'][0]){ ?>
<tr>
<td><?php _e('Designation','mepevent'); ?></td>
<td><?php _e('Designation','mage-eventpress'); ?></td>
<td><?php echo $values['ea_desg'][0]; ?></td>
</tr>
<?php } if($values['ea_company'][0]){ ?>
<tr>
<td><?php _e('Company','mepevent'); ?></td>
<td><?php _e('Company','mage-eventpress'); ?></td>
<td><?php echo $values['ea_company'][0]; ?></td>
</tr>
<?php } if($values['ea_website'][0]){ ?>
<tr>
<td><?php _e('Website','mepevent'); ?></td>
<td><?php _e('Website','mage-eventpress'); ?></td>
<td><?php echo $values['ea_website'][0]; ?> </td>
</tr>
<?php } if($values['ea_gender'][0]){ ?>
<tr>
<td><?php _e('Gender','mepevent'); ?></td>
<td><?php _e('Gender','mage-eventpress'); ?></td>
<td><?php echo $values['ea_gender'][0]; ?> </td>
</tr>
<?php } if($values['ea_vegetarian'][0]){ ?>
<tr>
<td><?php _e('Vegetarian','mepevent'); ?></td>
<td><?php _e('Vegetarian','mage-eventpress'); ?></td>
<td><?php echo $values['ea_vegetarian'][0]; ?> </td>
</tr>
<?php } if($values['ea_tshirtsize'][0]){ ?>
<tr>
<td><?php _e('T Shirt Size','mepevent'); ?></td>
<td><?php _e('T Shirt Size','mage-eventpress'); ?></td>
<td><?php echo $values['ea_tshirtsize'][0]; ?> </td>
</tr>
<?php } if($values['ea_ticket_type'][0]){ ?>
<tr>
<td><?php _e('Ticket Type','mepevent'); ?></td>
<td><?php _e('Ticket Type','mage-eventpress'); ?></td>
<td><?php echo $values['ea_ticket_type'][0]; ?> </td>
</tr>
<?php }

View File

@ -52,10 +52,10 @@ if($mep_event_ticket_type){
}
if(time() > strtotime($newformat)){
_e('"<span class=event-expire-btn>Event Expired</span>"','mepevent');
_e('"<span class=event-expire-btn>Event Expired</span>"','mage-eventpress');
}
elseif($seat_left<=0){
_e('"<span class=event-expire-btn>No Seat Available</span>"','mepevent');
_e('"<span class=event-expire-btn>No Seat Available</span>"','mage-eventpress');
}
else{
$days = $interval->d;
@ -84,7 +84,7 @@ if(array_key_exists('mep_reg_status', $event_meta)){
if($reg_status!='off'){
?>
<h4 class="mep-cart-table-title"> <?php _e('Register Now:','mepevent'); ?></h4>
<h4 class="mep-cart-table-title"> <?php _e('Register Now:','mage-eventpress'); ?></h4>
<form action="" method='post'>
<?php do_action('mep_event_ticket_type_extra_service'); ?>
<input type='hidden' id='rowtotal' value="<?php echo get_post_meta($post_id,"_price",true); ?>"/>
@ -92,7 +92,7 @@ if($reg_status!='off'){
<tr>
<td align="left" class='total-col'><?php _e('Quantity:','mepevent'); ?> <?php if($event_sqi==1){
<td align="left" class='total-col'><?php _e('Quantity:','mage-eventpress'); ?> <?php if($event_sqi==1){
$mep_event_ticket_type = get_post_meta($post_id, 'mep_event_ticket_type', true);
if($mep_event_ticket_type){
?>
@ -109,12 +109,12 @@ if($qty_typec=='dropdown'){ ?>
</select>
<?php }else{ ?>
<input id="quantity_5a7abbd1bff73" class="input-text qty text extra-qty-box" step="1" min="1" max="<?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?>" name="quantity" value="1" title="Qty" size="4" pattern="[0-9]*" inputmode="numeric" type="number">
<?php } } }else { echo 1; } ?> <span class='the-total'><?php _e('Total','mepevent'); ?> <span id="usertotal"></span></span></td>
<?php } } }else { echo 1; } ?> <span class='the-total'><?php _e('Total','mage-eventpress'); ?> <span id="usertotal"></span></span></td>
<td align="right"> <button type="submit" name="add-to-cart" value="<?php echo esc_attr($post_id); ?>" class="single_add_to_cart_button button alt btn-mep-event-cart"><?php _e(mep_get_label($post_id,'mep_cart_btn_text','Register This Event'),'mepevent'); ?> </button></td>
<td align="right"> <button type="submit" name="add-to-cart" value="<?php echo esc_attr($post_id); ?>" class="single_add_to_cart_button button alt btn-mep-event-cart"><?php _e(mep_get_label($post_id,'mep_cart_btn_text','Register This Event'),'mage-eventpress'); ?> </button></td>
</tr>
</table>
<?php
@ -123,7 +123,7 @@ if(!$mep_event_ticket_type){
if($qm){$qm=$qm;}else{$qm='';}
?>
<div class="user-info-sec">
<div id="divParent"><div class='mep-user-info-sec'><h5><?php echo $qm; ?> <?php _e('Attendee info','mepevent'); ?>:1</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='<?php _e('Enter Your Name','mepevent'); ?>'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='<?php _e('Enter Your Email','mepevent'); ?>'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='<?php _e('Enter Your Phone','mepevent'); ?>'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='<?php _e('Enter you address','mepevent'); ?>'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'><?php _e('T-Shirt Size','mepevent'); ?><select name='tshirtsize[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'><?php _e('Gender','mepevent'); ?><select name='gender[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Male'><?php _e('Male','mepevent'); ?></option><option value='Female'><?php _e('Female','mepevent'); ?></option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='<?php _e('Company','mepevent'); ?>'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='<?php _e('Designation','mepevent'); ?>'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='<?php _e('Website','mepevent'); ?>'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'><?php _e('Vegetarian','mepevent'); ?><select name='vegetarian[]' id='veg'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Yes'><?php _e('Yes','mepevent'); ?></option><option value='No'><?php _e('No','mepevent'); ?></option></select></label><input type='hidden' name='ticket_type[]' class='mep_input' value='<?php echo $qm; ?>' /><?php do_action('mep_after_reg_form_front'); ?></div>
<div id="divParent"><div class='mep-user-info-sec'><h5><?php echo $qm; ?> <?php _e('Attendee info','mage-eventpress'); ?>:1</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='<?php _e('Enter Your Name','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='<?php _e('Enter Your Email','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='<?php _e('Enter Your Phone','mage-eventpress'); ?>'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='<?php _e('Enter you address','mage-eventpress'); ?>'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'><?php _e('T-Shirt Size','mage-eventpress'); ?><select name='tshirtsize[]' id='gen'><option value=''><?php _e('Please Select','mage-eventpress'); ?></option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'><?php _e('Gender','mage-eventpress'); ?><select name='gender[]' id='gen'><option value=''><?php _e('Please Select','mage-eventpress'); ?></option><option value='Male'><?php _e('Male','mage-eventpress'); ?></option><option value='Female'><?php _e('Female','mage-eventpress'); ?></option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='<?php _e('Company','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='<?php _e('Designation','mage-eventpress'); ?>'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='<?php _e('Website','mage-eventpress'); ?>'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'><?php _e('Vegetarian','mage-eventpress'); ?><select name='vegetarian[]' id='veg'><option value=''><?php _e('Please Select','mage-eventpress'); ?></option><option value='Yes'><?php _e('Yes','mage-eventpress'); ?></option><option value='No'><?php _e('No','mage-eventpress'); ?></option></select></label><input type='hidden' name='ticket_type[]' class='mep_input' value='<?php echo $qm; ?>' /><?php do_action('mep_after_reg_form_front'); ?></div>
</div>
</div>
<?php } ?>

View File

@ -13,9 +13,9 @@ _e("<h3 class='ex-sec-title'>".mep_get_label($pid,'mep_event_extra_service_text'
?>
<table>
<tr>
<td align="left"><?php _e('Name','mepevent'); ?></td>
<td><?php _e('Quantity','mepevent'); ?></td>
<td><?php _e('Price','mepevent'); ?></td>
<td align="left"><?php _e('Name','mage-eventpress'); ?></td>
<td><?php _e('Quantity','mage-eventpress'); ?></td>
<td><?php _e('Price','mage-eventpress'); ?></td>
</tr>
<?php
foreach ($mep_events_extra_prices as $field) {

View File

@ -25,17 +25,17 @@ $qty_t_type = $field['option_qty_t_type'];
?>
<tr>
<td align="Left"><?php echo $field['option_name_t']; ?>
<div class="xtra-item-left"><?php echo $llft; ?> <?php _e('Left','mepevent'); ?></div>
<div class="xtra-item-left"><?php echo $llft; ?> <?php _e('Left','mage-eventpress'); ?></div>
</td>
<td class="ticket-qty">
<span class="tkt-qty"> <?php _e('Ticket Qty:','mepevent'); ?> </span>
<span class="tkt-qty"> <?php _e('Ticket Qty:','mage-eventpress'); ?> </span>
<?php
if($llft>0){
if($qty_t_type=='dropdown'){ ?>
<select name="option_qty[]" id="eventpxtp_<?php echo $count; ?>" class='extra-qty-box etp'>
<?php for ($i = 0; $i <= $llft; $i++) { ?>
<option value="<?php echo $i; ?>"><?php echo $i; ?> <?php _e('Ticket','mepevent'); ?></option>
<option value="<?php echo $i; ?>"><?php echo $i; ?> <?php _e('Ticket','mage-eventpress'); ?></option>
<?php } ?>
</select>
<?php }else{ ?>

View File

@ -6,7 +6,7 @@ $mep_event_faq = get_post_meta($post->ID, 'mep_event_faq', true);
if ( $mep_event_faq ) {
?>
<div class="mep-event-faq-part">
<h4><?php _e('Event F.A.Q','mepevent'); ?></h4>
<h4><?php _e('Event F.A.Q','mage-eventpress'); ?></h4>
<div id='mep-event-accordion' class="">
<?php
foreach ( $mep_event_faq as $field ) {

View File

@ -4,5 +4,5 @@ add_action('mep_event_organizer','mep_ev_org');
function mep_ev_org(){
global $author_terms;
if($author_terms){ ?><p> <?php _e('By:','mepevent'); ?> <a href="<?php echo get_term_link( $author_terms[0]->term_id, 'mep_org' ); ?>"><?php echo $author_terms[0]->name; ?></a></p><?php }
if($author_terms){ ?><p> <?php _e('By:','mage-eventpress'); ?> <a href="<?php echo get_term_link( $author_terms[0]->term_id, 'mep_org' ); ?>"><?php echo $author_terms[0]->name; ?></a></p><?php }
}

View File

@ -9,5 +9,5 @@ if($event_meta['_price'][0]>0){
?>
<h3><?php echo $event_meta['mep_price_label'][0]; ?>: </h3>
<?php } echo get_woocommerce_currency_symbol().$event_meta['_price'][0]; ?>
<?php } else{ _e('','mepevent'); }
<?php } else{ _e('','mage-eventpress'); }
}

View File

@ -7,7 +7,7 @@ function mep_ev_social_share(){
$post_id = $post->ID;
?>
<div class="mep-event-meta">
<?php _e(mep_get_label($post_id,'mep_share_text','Share This Event:'),'mepevent'); ?> <?php mep_social_share(); ?>
<?php _e(mep_get_label($post_id,'mep_share_text','Share This Event:'),'mage-eventpress'); ?> <?php mep_social_share(); ?>
</div>
<?php
}

View File

@ -26,12 +26,12 @@ $llft = ($field['option_qty_t'] - $tesq);
$leftt = $leftt+$llft;
}
?>
<h5><strong><?php _e('Total Seat:','mepevent'); ?></strong> <?php echo $stc; ?> (<strong><?php echo $leftt; ?></strong> Left)</h5>
<h5><strong><?php _e('Total Seat:','mage-eventpress'); ?></strong> <?php echo $stc; ?> (<strong><?php echo $leftt; ?></strong> Left)</h5>
<?php
}else{
if($event_meta['mep_total_seat'][0]){ ?>
<h5><strong><?php _e('Total Seat:','mepevent'); ?></strong> <?php echo $event_meta['mep_total_seat'][0]; ?> (<strong><?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?></strong> Left)</h5>
<h5><strong><?php _e('Total Seat:','mage-eventpress'); ?></strong> <?php echo $event_meta['mep_total_seat'][0]; ?> (<strong><?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?></strong> Left)</h5>
<?php }
}

View File

@ -14,21 +14,21 @@
<div class="mep-default-feature-date">
<div class="df-ico"><i class="fa fa-calendar"></i></div>
<div class='df-dtl'>
<h3><?php _e('Event Date:','mepevent'); ?></h3>
<h3><?php _e('Event Date:','mage-eventpress'); ?></h3>
<?php do_action('mep_event_date_only'); ?>
</div>
</div>
<div class="mep-default-feature-time">
<div class="df-ico"><i class="fa fa-clock-o"></i></div>
<div class='df-dtl'>
<h3><?php _e('Event Time:','mepevent'); ?></h3>
<h3><?php _e('Event Time:','mage-eventpress'); ?></h3>
<?php do_action('mep_event_time_only'); ?>
</div>
</div>
<div class="mep-default-feature-location">
<div class="df-ico"><i class="fa fa-map-marker"></i></div>
<div class='df-dtl'>
<h3><?php _e('Event Location:','mepevent'); ?></h3>
<h3><?php _e('Event Location:','mage-eventpress'); ?></h3>
<p><?php do_action('mep_event_location_venue'); ?>, <?php do_action('mep_event_location_city'); ?> </p>
</div>
</div>
@ -50,7 +50,7 @@
</div>
<div class="mep-default-sidebar">
<div class="mep-default-sidrbar-map">
<h3><?php _e('Event Location:','mepevent'); ?></h3>
<h3><?php _e('Event Location:','mage-eventpress'); ?></h3>
<?php do_action('mep_event_map'); ?>
</div>
<div class="df-sidebar-part">

View File

@ -23,7 +23,7 @@
</div>
<div class="mep-right-col">
<div class="mep-event-datetime">
<h3><?php _e('Date and Time:','mepevent'); ?></h3>
<h3><?php _e('Date and Time:','mage-eventpress'); ?></h3>
<?php do_action('mep_event_date'); ?>
</div>
</div>
@ -31,7 +31,7 @@
<div class="mep-content-part">
<div class="mep-left-col">
<div class="mep-event-details">
<h3 class="mep-desc-title"><?php _e('Description','mepevent'); ?></h3>
<h3 class="mep-desc-title"><?php _e('Description','mage-eventpress'); ?></h3>
<?php do_action('mep_event_details'); ?>
<div class="mep-theme1-faq-sec">
<?php do_action('mep_event_faq'); ?>
@ -45,7 +45,7 @@
</div>
</div>
<div class="mep-event-location">
<h3><?php _e('Event Location:','mepevent'); ?></h3>
<h3><?php _e('Event Location:','mage-eventpress'); ?></h3>
<?php do_action('mep_event_location') ?>
</div>
</div>

View File

@ -30,9 +30,9 @@
</div>
<div class="mep-tem2-venue">
<div class="tm2-location">
<h3><?php _e('Organizer:','mepevent'); ?></h3>
<h3><?php _e('Organizer:','mage-eventpress'); ?></h3>
<?php do_action('mep_event_organizer'); ?>
<h3><?php _e('Venue:','mepevent'); ?></h3>
<h3><?php _e('Venue:','mage-eventpress'); ?></h3>
<?php do_action('mep_event_location') ?>
</div>
<div class="tm2-map">

View File

@ -38,7 +38,7 @@
<!-- Mid sec end -->
<div class="mep-tem3-event-details">
<h2><?php _e('About The Event','mepevent'); ?>:</h2>
<h2><?php _e('About The Event','mage-eventpress'); ?>:</h2>
<?php do_action('mep_event_details'); ?>
</div>

View File

@ -6,7 +6,7 @@
* Version: 2.1.4
* Author: MagePeople Team
* Author URI: http://www.mage-people.com/
* Text Domain: mepevent
* Text Domain: mage-eventpress
* Domain Path: /languages/
*/
@ -558,8 +558,8 @@ function mep_set_custom_edit_event_columns($columns) {
unset( $columns['date'] );
$columns['mep_status'] = __( 'Status', 'mepevent' );
$columns['mep_atten'] = __( 'Attendees', 'mepevent' );
$columns['mep_status'] = __( 'Status', 'mage-eventpress' );
$columns['mep_atten'] = __( 'Attendees', 'mage-eventpress' );
return $columns;
}
@ -626,13 +626,13 @@ function mep_set_custom_events_attendees_columns($columns) {
unset( $columns['date'] );
$columns['mep_uid'] = __( 'Unique ID', 'mepevvent' );
$columns['mep_fn'] = __( 'Full Name', 'mepevent' );
$columns['mep_fn'] = __( 'Full Name', 'mage-eventpress' );
// $columns['mep_email'] = __( 'email', 'mep' );
// $columns['mep_phone'] = __( 'Phone', 'mep' );
// $columns['mep_address'] = __( 'Addresss', 'mep' );
// $columns['mep_tsize'] = __( 'Tee Size', 'mep' );
$columns['mep_ttype'] = __( 'Ticket', 'mepevent' );
$columns['mep_evnt'] = __( 'Event', 'mepevent' );
$columns['mep_ttype'] = __( 'Ticket', 'mage-eventpress' );
$columns['mep_evnt'] = __( 'Event', 'mage-eventpress' );
return $columns;
}
@ -841,10 +841,10 @@ ob_start();
<div class="mep-user-ticket-list">
<table>
<tr>
<th><?php _e('Name','mepevent'); ?></th>
<th><?php _e('Ticket','mepevent'); ?></th>
<th><?php _e('Event','mepevent'); ?></th>
<th><?php _e('Download','mepevent'); ?></th>
<th><?php _e('Name','mage-eventpress'); ?></th>
<th><?php _e('Ticket','mage-eventpress'); ?></th>
<th><?php _e('Event','mage-eventpress'); ?></th>
<th><?php _e('Download','mage-eventpress'); ?></th>
</tr>
<?php
$args_search_qqq = array (
@ -873,7 +873,7 @@ $event_id = get_post_meta( get_the_id(), 'ea_event_id', true );
<td><?php echo get_post_meta( get_the_id(), 'ea_name', true ); ?></td>
<td><?php echo get_post_meta( get_the_id(), 'ea_ticket_type', true ); ?></td>
<td><?php echo get_post_meta( get_the_id(), 'ea_event_name', true ); ?></td>
<td><a href="<?php the_permalink(); ?>"><?php _e('Download','mepevent'); ?></a></td>
<td><a href="<?php the_permalink(); ?>"><?php _e('Download','mage-eventpress'); ?></a></td>
</tr>
<?php
}