@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | -if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) { |
|
3 | - exit( 'No direct script access allowed' ); |
|
2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) { |
|
3 | + exit('No direct script access allowed'); |
|
4 | 4 | } |
5 | 5 | |
6 | 6 | /** |
@@ -19,11 +19,11 @@ discard block |
||
19 | 19 | <div id="espresso-event-details-dv" class="" > |
20 | 20 | <?php |
21 | 21 | // Start the Loop. |
22 | - while ( have_posts() ) : the_post(); |
|
22 | + while (have_posts()) : the_post(); |
|
23 | 23 | // Include the post TYPE-specific template for the content. |
24 | - espresso_get_template_part( 'content', 'espresso_events' ); |
|
24 | + espresso_get_template_part('content', 'espresso_events'); |
|
25 | 25 | // If comments are open or we have at least one comment, load up the comment template. |
26 | - if ( comments_open() || get_comments_number() ) { |
|
26 | + if (comments_open() || get_comments_number()) { |
|
27 | 27 | comments_template(); |
28 | 28 | } |
29 | 29 | endwhile; |
@@ -35,6 +35,6 @@ discard block |
||
35 | 35 | </div><!-- #primary --> |
36 | 36 | |
37 | 37 | <?php |
38 | -get_sidebar( 'content' ); |
|
38 | +get_sidebar('content'); |
|
39 | 39 | get_sidebar(); |
40 | 40 | get_footer(); |
41 | 41 | \ No newline at end of file |
@@ -1,4 +1,4 @@ |
||
1 | 1 | <p><strong><?php _e('Messengers', 'event_espresso'); ?></strong></p> |
2 | 2 | <p> |
3 | -<?php printf( __('Messengers are the vehicles that deliver messages to individuals (recipients). By default, every install of Event Espresso has the %sEmail%s messenger active. The Email messenger is a vehicle for delivering messages. Other possible vehicles might be any social media applications, 3rd party API\'s etc.', 'event_espresso'), '<strong>', '</strong>' ); ?> |
|
3 | +<?php printf(__('Messengers are the vehicles that deliver messages to individuals (recipients). By default, every install of Event Espresso has the %sEmail%s messenger active. The Email messenger is a vehicle for delivering messages. Other possible vehicles might be any social media applications, 3rd party API\'s etc.', 'event_espresso'), '<strong>', '</strong>'); ?> |
|
4 | 4 | </p> |
5 | 5 | \ No newline at end of file |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <li id="<?php echo $slug_id; ?>" class="ui-widget-content ui-corner-tr mt-tab <?php echo $class; ?>"> |
2 | - <div id="<?php echo $slug_id; ?>-handle" class="mt-handlediv no-drag" title="<?php esc_attr_e( 'Click to toggle', 'event_espresso' ); ?>"><br></div> |
|
2 | + <div id="<?php echo $slug_id; ?>-handle" class="mt-handlediv no-drag" title="<?php esc_attr_e('Click to toggle', 'event_espresso'); ?>"><br></div> |
|
3 | 3 | <strong class="ui-widget-header"><?php echo $label; ?></strong> |
4 | 4 | <?php echo $content; ?> |
5 | 5 | <span class="mt_nonce hidden"><?php echo $mt_nonce; ?></span> |
@@ -2,7 +2,7 @@ |
||
2 | 2 | <p><?php _e('The following list of shortcodes can be used for this Messenger and Message Type. You can use the descriptions to learn what the shortcode will be parsed to when the final message is generated.', 'event_espresso'); ?></p> |
3 | 3 | |
4 | 4 | <?php |
5 | -foreach ( $shortcodes as $name => $description ) : |
|
5 | +foreach ($shortcodes as $name => $description) : |
|
6 | 6 | ?> |
7 | 7 | <p><strong><?php echo $name; ?></strong></p> |
8 | 8 | <p><?php echo $description; ?></p> |
@@ -5,25 +5,25 @@ |
||
5 | 5 | <table id="txn-admin-transaction-attendees-table" class="admin-primary-mbox-tbl"> |
6 | 6 | <thead> |
7 | 7 | <tr> |
8 | - <th class="jst-left"><?php _e( '#', 'event_espresso' );?></th> |
|
9 | - <th class="jst-left"><?php _e( 'Event Name and Ticket', 'event_espresso' );?></th> |
|
10 | - <th class="jst-left"><?php _e( 'Registrant', 'event_espresso' );?></th> |
|
11 | - <th class="jst-left"><?php _e( 'Ticket Price', 'event_espresso' );?></th> |
|
12 | - <th class="jst-left"><?php _e( 'Email', 'event_espresso' );?></th> |
|
13 | - <th class="jst-left"><?php _e( 'Address', 'event_espresso' );?></th> |
|
8 | + <th class="jst-left"><?php _e('#', 'event_espresso'); ?></th> |
|
9 | + <th class="jst-left"><?php _e('Event Name and Ticket', 'event_espresso'); ?></th> |
|
10 | + <th class="jst-left"><?php _e('Registrant', 'event_espresso'); ?></th> |
|
11 | + <th class="jst-left"><?php _e('Ticket Price', 'event_espresso'); ?></th> |
|
12 | + <th class="jst-left"><?php _e('Email', 'event_espresso'); ?></th> |
|
13 | + <th class="jst-left"><?php _e('Address', 'event_espresso'); ?></th> |
|
14 | 14 | </tr> |
15 | 15 | </thead> |
16 | 16 | <tbody> |
17 | - <?php if ( isset( $event_attendees ) && is_array( $event_attendees )) : ?> |
|
18 | - <?php foreach ( $event_attendees as $registration => $attendee ) : ?> |
|
17 | + <?php if (isset($event_attendees) && is_array($event_attendees)) : ?> |
|
18 | + <?php foreach ($event_attendees as $registration => $attendee) : ?> |
|
19 | 19 | <tr class="ee-status-strip reg-status-<?php echo $attendee['STS_ID']; ?>" style="display: table-row;"> |
20 | - <td class="jst-left"><?php echo $attendee['att_num'];?></td> |
|
21 | - <td class="jst-left"><?php echo $attendee['event_ticket_name'];?></td> |
|
20 | + <td class="jst-left"><?php echo $attendee['att_num']; ?></td> |
|
21 | + <td class="jst-left"><?php echo $attendee['event_ticket_name']; ?></td> |
|
22 | 22 | <td class="jst-left"> |
23 | 23 | <?php |
24 | - $att_link = EE_Admin_Page::add_query_args_and_nonce( array( 'action'=>'view_registration', '_REG_ID'=>$registration), REG_ADMIN_URL ); |
|
24 | + $att_link = EE_Admin_Page::add_query_args_and_nonce(array('action'=>'view_registration', '_REG_ID'=>$registration), REG_ADMIN_URL); |
|
25 | 25 | ?> |
26 | - <a href="<?php echo $att_link; ?>" title="<?php _e( 'View details for this registrant', 'event_espresso' );?>"> |
|
26 | + <a href="<?php echo $att_link; ?>" title="<?php _e('View details for this registrant', 'event_espresso'); ?>"> |
|
27 | 27 | <?php echo $attendee['attendee']?> |
28 | 28 | </a> |
29 | 29 | </td> |
@@ -30,8 +30,8 @@ |
||
30 | 30 | <?php _e('This shows the type of question. Available options are Text, Textarea, Checkboxes, Radio Buttons, Dropdown, State/Province Dropdown, Country Dropdown, Date Picker, and HTML Textarea (allowed tags: a, abbr, acronym, b, br, blockquote ,cite, code, del ,em, i, li, ol, p, q, s, strike, strong, ul).', 'event_espresso'); ?> |
31 | 31 | </li> |
32 | 32 | <li> |
33 | -<strong><?php _e('Answer Options (for applicable question types)', 'event_espresso');?></strong> |
|
34 | -<strong><?php _e('Values do not allow any HTML, however, descriptions do allow HTML.', 'event_espresso');?></strong> |
|
33 | +<strong><?php _e('Answer Options (for applicable question types)', 'event_espresso'); ?></strong> |
|
34 | +<strong><?php _e('Values do not allow any HTML, however, descriptions do allow HTML.', 'event_espresso'); ?></strong> |
|
35 | 35 | </li> |
36 | 36 | <li> |
37 | 37 | <strong><?php _e('Required Question', 'event_espresso'); ?></strong><br /> |
@@ -7,7 +7,7 @@ |
||
7 | 7 | <?php _e('Enter your support license key in this field to benefit from one-click updates. To manage your support license key, please <a href="http://eventespresso.com/wp-login.php">login to your Event Espresso account</a>. Then click on Edit Account Details which appears in the left sidebar menu.', 'event_espresso'); ?> |
8 | 8 | </p> |
9 | 9 | <p class="ee-attention"> |
10 | -<?php printf( __('Site license keys are now called support license keys. Your support license key should only be entered on live/production sites. If this is a development or test site, %sdo not%s enter your support license key.', 'event_espresso'), '<strong>', '</strong>' ); ?> |
|
10 | +<?php printf(__('Site license keys are now called support license keys. Your support license key should only be entered on live/production sites. If this is a development or test site, %sdo not%s enter your support license key.', 'event_espresso'), '<strong>', '</strong>'); ?> |
|
11 | 11 | </p> |
12 | 12 | <p><strong><?php _e('Contact Information', 'event_espresso'); ?></strong></p> |
13 | 13 | <p> |
@@ -3,35 +3,35 @@ |
||
3 | 3 | <br/> |
4 | 4 | <?php //echo EEH_Debug_Tools::printr( $event_attendees, 'event_attendees' ); ?> |
5 | 5 | <?php echo $attendee_notice; ?> |
6 | -<?php if ( !empty($attendees) ) : ?> |
|
6 | +<?php if ( ! empty($attendees)) : ?> |
|
7 | 7 | <div class="admin-primary-mbox-tbl-wrap"> |
8 | 8 | <table id="reg-admin-transaction-attendees-table" class="admin-primary-mbox-tbl"> |
9 | 9 | <thead> |
10 | 10 | <tr> |
11 | - <th class="jst-left"><?php _e( '#', 'event_espresso' );?></th> |
|
12 | - <th class="jst-left"><?php _e( 'Event Name', 'event_espresso' );?></th> |
|
13 | - <th class="jst-left"><?php _e( 'Attendee', 'event_espresso' );?></th> |
|
14 | - <th class="jst-rght"><?php _e( 'Price Paid', 'event_espresso' );?></th> |
|
15 | - <th class="jst-left"><?php _e( 'Email', 'event_espresso' );?></th> |
|
16 | - <th class="jst-left"><?php _e( 'Address', 'event_espresso' );?></th> |
|
17 | - <!--<th class="jst-cntr"><?php _e( 'Actions', 'event_espresso' );?></th>--> |
|
11 | + <th class="jst-left"><?php _e('#', 'event_espresso'); ?></th> |
|
12 | + <th class="jst-left"><?php _e('Event Name', 'event_espresso'); ?></th> |
|
13 | + <th class="jst-left"><?php _e('Attendee', 'event_espresso'); ?></th> |
|
14 | + <th class="jst-rght"><?php _e('Price Paid', 'event_espresso'); ?></th> |
|
15 | + <th class="jst-left"><?php _e('Email', 'event_espresso'); ?></th> |
|
16 | + <th class="jst-left"><?php _e('Address', 'event_espresso'); ?></th> |
|
17 | + <!--<th class="jst-cntr"><?php _e('Actions', 'event_espresso'); ?></th>--> |
|
18 | 18 | </tr> |
19 | 19 | </thead> |
20 | 20 | <tbody> |
21 | 21 | |
22 | - <?php foreach ( $attendees as $att_nmbr => $attendee ) : ?> |
|
22 | + <?php foreach ($attendees as $att_nmbr => $attendee) : ?> |
|
23 | 23 | |
24 | 24 | <tr class="ee-status-strip reg-status-<?php echo $attendee['STS_ID']; ?>" style="display: table-row;"> |
25 | - <td class="jst-left"><?php echo $att_nmbr;?></td> |
|
26 | - <td class="jst-left"><?php echo $attendee['event_name'];?></td> |
|
25 | + <td class="jst-left"><?php echo $att_nmbr; ?></td> |
|
26 | + <td class="jst-left"><?php echo $attendee['event_name']; ?></td> |
|
27 | 27 | <td class="jst-left"> |
28 | - <a href="<?php echo $attendee['att_link']; ?>" title="<?php esc_attr_e( 'View details for this attendee', 'event_espresso' );?>"> |
|
29 | - <?php echo $attendee['fname'] . ' ' . $attendee['lname'];?> |
|
28 | + <a href="<?php echo $attendee['att_link']; ?>" title="<?php esc_attr_e('View details for this attendee', 'event_espresso'); ?>"> |
|
29 | + <?php echo $attendee['fname'].' '.$attendee['lname']; ?> |
|
30 | 30 | </a> |
31 | 31 | </td> |
32 | - <td class="jst-rght"><?php echo $currency_sign . ' ' . number_format( $attendee['final_price'], 2 );?></td> |
|
33 | - <td class="jst-left"><?php echo $attendee['email'];?></td> |
|
34 | - <td class="jst-left"><?php echo $attendee['address'];?></td> |
|
32 | + <td class="jst-rght"><?php echo $currency_sign.' '.number_format($attendee['final_price'], 2); ?></td> |
|
33 | + <td class="jst-left"><?php echo $attendee['email']; ?></td> |
|
34 | + <td class="jst-left"><?php echo $attendee['address']; ?></td> |
|
35 | 35 | <!--<th class="jst-cntr">view</th>--> |
36 | 36 | </tr> |
37 | 37 |