@@ -1,9 +1,9 @@ |
||
1 | 1 | <p id="spco-auto-copy-attendee-pg" class="smaller-text lt-grey-text"> |
2 | 2 | <?php echo apply_filters( |
3 | - 'FHEE__registration_page_attendee_information__auto_copy_attendee_pg', |
|
4 | - __( |
|
5 | - 'The above information will be used for any additional tickets/attendees.', |
|
6 | - 'event_espresso' |
|
7 | - ) |
|
8 | - ); ?> |
|
3 | + 'FHEE__registration_page_attendee_information__auto_copy_attendee_pg', |
|
4 | + __( |
|
5 | + 'The above information will be used for any additional tickets/attendees.', |
|
6 | + 'event_espresso' |
|
7 | + ) |
|
8 | + ); ?> |
|
9 | 9 | </p> |
10 | 10 | \ No newline at end of file |
@@ -1,90 +1,90 @@ |
||
1 | 1 | <div id="ee-single-page-checkout-dv" class=""> |
2 | 2 | <?php |
3 | - if (! $empty_cart) { |
|
4 | - if (apply_filters('FHEE__registration_page_wrapper_template__display_time_limit', false)) { ?> |
|
3 | + if (! $empty_cart) { |
|
4 | + if (apply_filters('FHEE__registration_page_wrapper_template__display_time_limit', false)) { ?> |
|
5 | 5 | <p id="spco-registration-time-limit-pg" class="spco-steps-pg ee-attention important-notice" |
6 | 6 | style="display: none;"> |
7 | 7 | <?php echo sprintf( |
8 | - apply_filters( |
|
9 | - 'FHEE__registration_page_wrapper_template___time_limit', |
|
10 | - __('You have %1$s to complete your registration.', 'event_espresso') |
|
11 | - ), |
|
12 | - '<span id="spco-registration-time-limit-spn" class="spco-registration-time-limit-spn">' . $registration_time_limit . '</span>' |
|
13 | - ); |
|
14 | - ?> |
|
8 | + apply_filters( |
|
9 | + 'FHEE__registration_page_wrapper_template___time_limit', |
|
10 | + __('You have %1$s to complete your registration.', 'event_espresso') |
|
11 | + ), |
|
12 | + '<span id="spco-registration-time-limit-spn" class="spco-registration-time-limit-spn">' . $registration_time_limit . '</span>' |
|
13 | + ); |
|
14 | + ?> |
|
15 | 15 | <span id="spco-registration-expiration-spn" class="" style="display:none;"></span> |
16 | 16 | </p> |
17 | 17 | <?php } |
18 | - if (! $revisit && apply_filters('FHEE__registration_page_wrapper_template__steps_display', true)) { |
|
19 | - ?> |
|
18 | + if (! $revisit && apply_filters('FHEE__registration_page_wrapper_template__steps_display', true)) { |
|
19 | + ?> |
|
20 | 20 | <h2 id="spco-steps-big-hdr" class="spco-steps-big-hdr"><?php _e(' Steps', 'event_espresso'); ?></h2> |
21 | 21 | |
22 | 22 | <div id="spco-steps-display-dv"> |
23 | 23 | <?php |
24 | - $step_nmbr = 1; |
|
25 | - $total_steps = count($reg_steps) - 1; |
|
26 | - foreach ($reg_steps as $reg_step) { |
|
27 | - if ($reg_step instanceof EE_SPCO_Reg_Step && $reg_step->slug() != 'finalize_registration') { |
|
28 | - $slug = $reg_step->slug(); |
|
29 | - $step_display_dv_class = $reg_step->is_current_step() ? 'active-step' : 'inactive-step'; |
|
30 | - ?> |
|
24 | + $step_nmbr = 1; |
|
25 | + $total_steps = count($reg_steps) - 1; |
|
26 | + foreach ($reg_steps as $reg_step) { |
|
27 | + if ($reg_step instanceof EE_SPCO_Reg_Step && $reg_step->slug() != 'finalize_registration') { |
|
28 | + $slug = $reg_step->slug(); |
|
29 | + $step_display_dv_class = $reg_step->is_current_step() ? 'active-step' : 'inactive-step'; |
|
30 | + ?> |
|
31 | 31 | <div id="spco-step-<?php echo $slug; ?>-display-dv" |
32 | 32 | class="spco-step-display-dv <?php echo $step_display_dv_class; ?> steps-<?php echo $total_steps; ?>"> |
33 | 33 | <h4 id="spco-step-<?php echo $slug; ?>-display-hdr" class="spco-steps-display-hdr"> |
34 | 34 | <span class="spco-step-big-nmbr"><?php echo $step_nmbr; ?></span> <span |
35 | 35 | class="spco-step-name"> |
36 | 36 | <?php echo str_replace( |
37 | - ' ', |
|
38 | - '<br/> ', |
|
39 | - $reg_step->name() |
|
40 | - ); ?></span> |
|
37 | + ' ', |
|
38 | + '<br/> ', |
|
39 | + $reg_step->name() |
|
40 | + ); ?></span> |
|
41 | 41 | </h4> |
42 | 42 | </div> |
43 | 43 | |
44 | 44 | <?php |
45 | - if ($step_nmbr < $total_steps) { ?> |
|
45 | + if ($step_nmbr < $total_steps) { ?> |
|
46 | 46 | <div class="spco-step-arrow-dv">»</div> |
47 | 47 | <?php |
48 | - } |
|
49 | - $step_nmbr++; |
|
50 | - } |
|
51 | - } |
|
52 | - ?> |
|
48 | + } |
|
49 | + $step_nmbr++; |
|
50 | + } |
|
51 | + } |
|
52 | + ?> |
|
53 | 53 | <div class="clear-float"></div> |
54 | 54 | </div> |
55 | 55 | |
56 | 56 | <?php |
57 | - } |
|
57 | + } |
|
58 | 58 | |
59 | - do_action('AHEE__SPCO__before_registration_steps'); |
|
60 | - $step_nmbr = 1; |
|
61 | - foreach ($reg_steps as $reg_step) { |
|
62 | - if ($reg_step instanceof EE_SPCO_Reg_Step && $reg_step->slug() != 'finalize_registration') { |
|
63 | - $slug = $reg_step->slug(); |
|
64 | - do_action('AHEE__' . $slug . '__reg_step_start', $reg_step); |
|
65 | - // todo: deprecate hook AHEE__registration_page_attendee_information__start |
|
66 | - ?> |
|
59 | + do_action('AHEE__SPCO__before_registration_steps'); |
|
60 | + $step_nmbr = 1; |
|
61 | + foreach ($reg_steps as $reg_step) { |
|
62 | + if ($reg_step instanceof EE_SPCO_Reg_Step && $reg_step->slug() != 'finalize_registration') { |
|
63 | + $slug = $reg_step->slug(); |
|
64 | + do_action('AHEE__' . $slug . '__reg_step_start', $reg_step); |
|
65 | + // todo: deprecate hook AHEE__registration_page_attendee_information__start |
|
66 | + ?> |
|
67 | 67 | <div id="spco-<?php echo $slug; ?>-dv" class="spco-step-dv <?php echo $reg_step->div_class(); ?>"> |
68 | 68 | <?php echo $reg_step->display_reg_form(); ?> |
69 | 69 | <?php do_action('AHEE__SPCO_after_reg_step_form', $slug, $next_step); ?> |
70 | 70 | </div> |
71 | 71 | <?php $step_nmbr++; |
72 | - } |
|
73 | - } |
|
74 | - do_action('AHEE__SPCO__after_registration_steps'); |
|
75 | - } else { |
|
76 | - ?> |
|
72 | + } |
|
73 | + } |
|
74 | + do_action('AHEE__SPCO__after_registration_steps'); |
|
75 | + } else { |
|
76 | + ?> |
|
77 | 77 | <h3 id="spco-empty-cart-hdr" class="spco-step-title-hdr"> |
78 | 78 | <?php esc_html_e( |
79 | - 'Nothing in your Event Queue', |
|
80 | - 'event_espresso' |
|
81 | - ); ?></h3> |
|
79 | + 'Nothing in your Event Queue', |
|
80 | + 'event_espresso' |
|
81 | + ); ?></h3> |
|
82 | 82 | <p><?php echo $empty_msg; ?></p> |
83 | 83 | <?php echo $cookies_not_set_msg; ?> |
84 | 84 | <?php |
85 | - } |
|
86 | - do_action('AHEE__SPCO__reg_form_footer'); |
|
87 | - ?> |
|
85 | + } |
|
86 | + do_action('AHEE__SPCO__reg_form_footer'); |
|
87 | + ?> |
|
88 | 88 | |
89 | 89 | </div> |
90 | 90 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <div id="ee-single-page-checkout-dv" class=""> |
2 | 2 | <?php |
3 | - if (! $empty_cart) { |
|
3 | + if ( ! $empty_cart) { |
|
4 | 4 | if (apply_filters('FHEE__registration_page_wrapper_template__display_time_limit', false)) { ?> |
5 | 5 | <p id="spco-registration-time-limit-pg" class="spco-steps-pg ee-attention important-notice" |
6 | 6 | style="display: none;"> |
@@ -9,13 +9,13 @@ discard block |
||
9 | 9 | 'FHEE__registration_page_wrapper_template___time_limit', |
10 | 10 | __('You have %1$s to complete your registration.', 'event_espresso') |
11 | 11 | ), |
12 | - '<span id="spco-registration-time-limit-spn" class="spco-registration-time-limit-spn">' . $registration_time_limit . '</span>' |
|
12 | + '<span id="spco-registration-time-limit-spn" class="spco-registration-time-limit-spn">'.$registration_time_limit.'</span>' |
|
13 | 13 | ); |
14 | 14 | ?> |
15 | 15 | <span id="spco-registration-expiration-spn" class="" style="display:none;"></span> |
16 | 16 | </p> |
17 | 17 | <?php } |
18 | - if (! $revisit && apply_filters('FHEE__registration_page_wrapper_template__steps_display', true)) { |
|
18 | + if ( ! $revisit && apply_filters('FHEE__registration_page_wrapper_template__steps_display', true)) { |
|
19 | 19 | ?> |
20 | 20 | <h2 id="spco-steps-big-hdr" class="spco-steps-big-hdr"><?php _e(' Steps', 'event_espresso'); ?></h2> |
21 | 21 | |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | foreach ($reg_steps as $reg_step) { |
62 | 62 | if ($reg_step instanceof EE_SPCO_Reg_Step && $reg_step->slug() != 'finalize_registration') { |
63 | 63 | $slug = $reg_step->slug(); |
64 | - do_action('AHEE__' . $slug . '__reg_step_start', $reg_step); |
|
64 | + do_action('AHEE__'.$slug.'__reg_step_start', $reg_step); |
|
65 | 65 | // todo: deprecate hook AHEE__registration_page_attendee_information__start |
66 | 66 | ?> |
67 | 67 | <div id="spco-<?php echo $slug; ?>-dv" class="spco-step-dv <?php echo $reg_step->div_class(); ?>"> |
@@ -12,87 +12,87 @@ |
||
12 | 12 | { |
13 | 13 | |
14 | 14 | |
15 | - /** |
|
16 | - * @return EED_Invoice |
|
17 | - */ |
|
18 | - public static function instance() |
|
19 | - { |
|
20 | - return parent::get_instance(__CLASS__); |
|
21 | - } |
|
15 | + /** |
|
16 | + * @return EED_Invoice |
|
17 | + */ |
|
18 | + public static function instance() |
|
19 | + { |
|
20 | + return parent::get_instance(__CLASS__); |
|
21 | + } |
|
22 | 22 | |
23 | 23 | |
24 | - /** |
|
25 | - * set_hooks - for hooking into EE Core, other modules, etc |
|
26 | - * |
|
27 | - * @access public |
|
28 | - * @return void |
|
29 | - */ |
|
30 | - public static function set_hooks() |
|
31 | - { |
|
32 | - EE_Config::register_route('download_invoice', 'EED_Invoice', 'download_invoice'); |
|
33 | - EE_Config::register_route('launch_invoice', 'EED_Invoice', 'launch_invoice'); |
|
34 | - } |
|
24 | + /** |
|
25 | + * set_hooks - for hooking into EE Core, other modules, etc |
|
26 | + * |
|
27 | + * @access public |
|
28 | + * @return void |
|
29 | + */ |
|
30 | + public static function set_hooks() |
|
31 | + { |
|
32 | + EE_Config::register_route('download_invoice', 'EED_Invoice', 'download_invoice'); |
|
33 | + EE_Config::register_route('launch_invoice', 'EED_Invoice', 'launch_invoice'); |
|
34 | + } |
|
35 | 35 | |
36 | 36 | |
37 | - /** |
|
38 | - * set_hooks_admin - for hooking into EE Admin Core, other modules, etc |
|
39 | - * |
|
40 | - * @access public |
|
41 | - * @return void |
|
42 | - */ |
|
43 | - public static function set_hooks_admin() |
|
44 | - { |
|
45 | - } |
|
37 | + /** |
|
38 | + * set_hooks_admin - for hooking into EE Admin Core, other modules, etc |
|
39 | + * |
|
40 | + * @access public |
|
41 | + * @return void |
|
42 | + */ |
|
43 | + public static function set_hooks_admin() |
|
44 | + { |
|
45 | + } |
|
46 | 46 | |
47 | 47 | |
48 | - /** |
|
49 | - * run - initial module setup |
|
50 | - * |
|
51 | - * @access public |
|
52 | - * @return void |
|
53 | - */ |
|
54 | - public function run($WP) |
|
55 | - { |
|
56 | - if (is_readable(EE_MODULES . 'gateways/Invoice/lib/Invoice.class.php')) { |
|
57 | - require_once(EE_MODULES . 'gateways/Invoice/lib/Invoice.class.php'); |
|
58 | - } else { |
|
59 | - $msg = __('The Invoice.class.php file could not be loaded.', 'event_espresso'); |
|
60 | - EE_Error::add_error($msg, __FILE__, __FUNCTION__, __LINE__); |
|
61 | - } |
|
62 | - } |
|
48 | + /** |
|
49 | + * run - initial module setup |
|
50 | + * |
|
51 | + * @access public |
|
52 | + * @return void |
|
53 | + */ |
|
54 | + public function run($WP) |
|
55 | + { |
|
56 | + if (is_readable(EE_MODULES . 'gateways/Invoice/lib/Invoice.class.php')) { |
|
57 | + require_once(EE_MODULES . 'gateways/Invoice/lib/Invoice.class.php'); |
|
58 | + } else { |
|
59 | + $msg = __('The Invoice.class.php file could not be loaded.', 'event_espresso'); |
|
60 | + EE_Error::add_error($msg, __FILE__, __FUNCTION__, __LINE__); |
|
61 | + } |
|
62 | + } |
|
63 | 63 | |
64 | 64 | |
65 | - /** |
|
66 | - * invoice_launch |
|
67 | - * |
|
68 | - * @access public |
|
69 | - * @return void |
|
70 | - */ |
|
71 | - public function launch_invoice() |
|
72 | - { |
|
73 | - $this->run(null); |
|
74 | - if (EE_Registry::instance()->REQ->is_set('id')) { |
|
75 | - $id = sanitize_key(EE_Registry::instance()->REQ->get('id')); |
|
76 | - $invoice = new Invoice($id); |
|
77 | - $invoice->send_invoice(); |
|
78 | - } |
|
79 | - } |
|
65 | + /** |
|
66 | + * invoice_launch |
|
67 | + * |
|
68 | + * @access public |
|
69 | + * @return void |
|
70 | + */ |
|
71 | + public function launch_invoice() |
|
72 | + { |
|
73 | + $this->run(null); |
|
74 | + if (EE_Registry::instance()->REQ->is_set('id')) { |
|
75 | + $id = sanitize_key(EE_Registry::instance()->REQ->get('id')); |
|
76 | + $invoice = new Invoice($id); |
|
77 | + $invoice->send_invoice(); |
|
78 | + } |
|
79 | + } |
|
80 | 80 | |
81 | 81 | |
82 | - /** |
|
83 | - * download_invoice |
|
84 | - * |
|
85 | - * @access public |
|
86 | - * @return void |
|
87 | - */ |
|
88 | - public function download_invoice() |
|
89 | - { |
|
90 | - $this->run(null); |
|
91 | - if (EE_Registry::instance()->REQ->is_set('id')) { |
|
92 | - $id = sanitize_key(EE_Registry::instance()->REQ->get('id')); |
|
93 | - $invoice = new Invoice($_REQUEST['id']); |
|
94 | - // send invoice but force download |
|
95 | - $invoice->send_invoice(true); |
|
96 | - } |
|
97 | - } |
|
82 | + /** |
|
83 | + * download_invoice |
|
84 | + * |
|
85 | + * @access public |
|
86 | + * @return void |
|
87 | + */ |
|
88 | + public function download_invoice() |
|
89 | + { |
|
90 | + $this->run(null); |
|
91 | + if (EE_Registry::instance()->REQ->is_set('id')) { |
|
92 | + $id = sanitize_key(EE_Registry::instance()->REQ->get('id')); |
|
93 | + $invoice = new Invoice($_REQUEST['id']); |
|
94 | + // send invoice but force download |
|
95 | + $invoice->send_invoice(true); |
|
96 | + } |
|
97 | + } |
|
98 | 98 | } |
@@ -53,8 +53,8 @@ |
||
53 | 53 | */ |
54 | 54 | public function run($WP) |
55 | 55 | { |
56 | - if (is_readable(EE_MODULES . 'gateways/Invoice/lib/Invoice.class.php')) { |
|
57 | - require_once(EE_MODULES . 'gateways/Invoice/lib/Invoice.class.php'); |
|
56 | + if (is_readable(EE_MODULES.'gateways/Invoice/lib/Invoice.class.php')) { |
|
57 | + require_once(EE_MODULES.'gateways/Invoice/lib/Invoice.class.php'); |
|
58 | 58 | } else { |
59 | 59 | $msg = __('The Invoice.class.php file could not be loaded.', 'event_espresso'); |
60 | 60 | EE_Error::add_error($msg, __FILE__, __FUNCTION__, __LINE__); |
@@ -10,11 +10,11 @@ |
||
10 | 10 | * @ version 4+ |
11 | 11 | */ |
12 | 12 | ?> |
13 | -<p><?php _e('Organizer Name: ', 'event_espresso') . espresso_organization_name($VNU_ID); ?><br/> |
|
14 | - <?php _e('Organizer Email: ', 'event_espresso') . espresso_organization_email($VNU_ID); ?><br/> |
|
15 | - <?php _e('Venue Phone: ', 'event_espresso') . espresso_venue_phone($VNU_ID); ?></p> |
|
16 | -<p><?php _e('Categories: ', 'event_espresso') . espresso_venue_categories($VNU_ID); ?></p> |
|
17 | -<p><?php _e('Address: ', 'event_espresso') . espresso_venue_address($VNU_ID); ?></p> |
|
18 | -<p><?php _e('Website: ', 'event_espresso') . espresso_venue_website($VNU_ID); ?></p> |
|
19 | -<p><?php echo __('Description: ', 'event_espresso') . $venue_description; ?></p><br/> |
|
13 | +<p><?php _e('Organizer Name: ', 'event_espresso').espresso_organization_name($VNU_ID); ?><br/> |
|
14 | + <?php _e('Organizer Email: ', 'event_espresso').espresso_organization_email($VNU_ID); ?><br/> |
|
15 | + <?php _e('Venue Phone: ', 'event_espresso').espresso_venue_phone($VNU_ID); ?></p> |
|
16 | +<p><?php _e('Categories: ', 'event_espresso').espresso_venue_categories($VNU_ID); ?></p> |
|
17 | +<p><?php _e('Address: ', 'event_espresso').espresso_venue_address($VNU_ID); ?></p> |
|
18 | +<p><?php _e('Website: ', 'event_espresso').espresso_venue_website($VNU_ID); ?></p> |
|
19 | +<p><?php echo __('Description: ', 'event_espresso').$venue_description; ?></p><br/> |
|
20 | 20 | |
21 | 21 | \ No newline at end of file |
@@ -10,13 +10,13 @@ |
||
10 | 10 | * @ version 4+ |
11 | 11 | */ |
12 | 12 | ?> |
13 | -<p><?php _e('Event Organizer: ', 'event_espresso') . espresso_organization_name($EVT_ID); ?><br/> |
|
14 | - <?php _e('Organizer Email: ', 'event_espresso') . espresso_organization_email($EVT_ID); ?><br/> |
|
15 | - <?php _e('Event Phone: ', 'event_espresso') . espresso_event_phone($EVT_ID); ?></p> |
|
16 | -<p><?php _e('Event Status: ', 'event_espresso') . espresso_event_status($EVT_ID); ?></p> |
|
17 | -<p><?php _e('Categories: ', 'event_espresso') . espresso_event_categories($EVT_ID); ?></p> |
|
18 | -<?php _e('Dates and Times: ', 'event_espresso') . espresso_list_of_event_dates($EVT_ID); ?> |
|
19 | -<?php _e('Available Tickets: ', 'event_espresso') . espresso_event_tickets_available($EVT_ID); ?> |
|
20 | -<p><?php _e('Event Venue: ', 'event_espresso') . espresso_venue_name(null, false); ?></p> |
|
21 | -<p><?php echo __('Description: ', 'event_espresso') . $event_description; ?></p><br/> |
|
13 | +<p><?php _e('Event Organizer: ', 'event_espresso').espresso_organization_name($EVT_ID); ?><br/> |
|
14 | + <?php _e('Organizer Email: ', 'event_espresso').espresso_organization_email($EVT_ID); ?><br/> |
|
15 | + <?php _e('Event Phone: ', 'event_espresso').espresso_event_phone($EVT_ID); ?></p> |
|
16 | +<p><?php _e('Event Status: ', 'event_espresso').espresso_event_status($EVT_ID); ?></p> |
|
17 | +<p><?php _e('Categories: ', 'event_espresso').espresso_event_categories($EVT_ID); ?></p> |
|
18 | +<?php _e('Dates and Times: ', 'event_espresso').espresso_list_of_event_dates($EVT_ID); ?> |
|
19 | +<?php _e('Available Tickets: ', 'event_espresso').espresso_event_tickets_available($EVT_ID); ?> |
|
20 | +<p><?php _e('Event Venue: ', 'event_espresso').espresso_venue_name(null, false); ?></p> |
|
21 | +<p><?php echo __('Description: ', 'event_espresso').$event_description; ?></p><br/> |
|
22 | 22 | |
23 | 23 | \ No newline at end of file |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php printf( |
2 | - __( |
|
3 | - 'PayPal Express (Express Checkout) is an off-site payment method for accepting payments via PayPal and is available to event organizers in many countries. A PayPal premier or business account is needed to accept payments. Need a PayPal account? Call 1-855-456-1338 or %1$sclick here to sign up for a merchant account%2$s.', |
|
4 | - 'event_espresso' |
|
5 | - ), |
|
6 | - '<a href="https://eventespresso.com/go/paypalexpress/" target="_blank">', |
|
7 | - '</a>' |
|
2 | + __( |
|
3 | + 'PayPal Express (Express Checkout) is an off-site payment method for accepting payments via PayPal and is available to event organizers in many countries. A PayPal premier or business account is needed to accept payments. Need a PayPal account? Call 1-855-456-1338 or %1$sclick here to sign up for a merchant account%2$s.', |
|
4 | + 'event_espresso' |
|
5 | + ), |
|
6 | + '<a href="https://eventespresso.com/go/paypalexpress/" target="_blank">', |
|
7 | + '</a>' |
|
8 | 8 | ); |
@@ -2,25 +2,25 @@ |
||
2 | 2 | |
3 | 3 | <h4 class="important-notice"> |
4 | 4 | <?php _e( |
5 | - 'Debug Mode is turned ON. You will be redirected to the PayPal Sandbox environment. Please use your Sandbox PayPal account for the checkout.', |
|
6 | - 'event_espresso' |
|
7 | - ); ?></h4> |
|
5 | + 'Debug Mode is turned ON. You will be redirected to the PayPal Sandbox environment. Please use your Sandbox PayPal account for the checkout.', |
|
6 | + 'event_espresso' |
|
7 | + ); ?></h4> |
|
8 | 8 | |
9 | 9 | <h4><?php _e('How do I test specific error codes?', 'event_espresso'); ?></h4> |
10 | 10 | <p> |
11 | 11 | <?php _e( |
12 | - 'To trigger an error condition on an amount-related field, |
|
12 | + 'To trigger an error condition on an amount-related field, |
|
13 | 13 | specify a error code value as a number with two digits to the right of the decimal point. |
14 | 14 | For example, specify a value of 107.55 to trigger the 10755 error.', |
15 | - 'event_espresso' |
|
16 | - ); ?> |
|
15 | + 'event_espresso' |
|
16 | + ); ?> |
|
17 | 17 | </p> |
18 | 18 | <p> |
19 | 19 | <?php printf( |
20 | - __('More details can be found here: %1$s Testing Error Conditions %2$s.', 'event_espresso'), |
|
21 | - '<a href="https://developer.paypal.com/docs/classic/lifecycle/sb_error-conditions">', |
|
22 | - '</a>' |
|
23 | - ); ?> |
|
20 | + __('More details can be found here: %1$s Testing Error Conditions %2$s.', 'event_espresso'), |
|
21 | + '<a href="https://developer.paypal.com/docs/classic/lifecycle/sb_error-conditions">', |
|
22 | + '</a>' |
|
23 | + ); ?> |
|
24 | 24 | </p> |
25 | 25 | |
26 | 26 | </div> |
27 | 27 | \ No newline at end of file |
@@ -1,4 +1,4 @@ |
||
1 | 1 | <?php esc_html_e( |
2 | - 'Invoice is an offline payment method for accepting payments. Payments are processed manually by providing your registrants/attendees with information on how to pay their invoice.', |
|
3 | - 'event_espresso' |
|
2 | + 'Invoice is an offline payment method for accepting payments. Payments are processed manually by providing your registrants/attendees with information on how to pay their invoice.', |
|
3 | + 'event_espresso' |
|
4 | 4 | ); |
@@ -13,13 +13,13 @@ discard block |
||
13 | 13 | <div class="event-display-boxes"> |
14 | 14 | <?php |
15 | 15 | if (! empty($page_title)) { |
16 | - echo '<h4 id="invoice_title" class="payment_type_title section-heading">' |
|
17 | - . stripslashes_deep( |
|
18 | - $page_title |
|
19 | - ) . '</h4>'; |
|
16 | + echo '<h4 id="invoice_title" class="payment_type_title section-heading">' |
|
17 | + . stripslashes_deep( |
|
18 | + $page_title |
|
19 | + ) . '</h4>'; |
|
20 | 20 | } |
21 | 21 | if (! empty($invoice_url)) { |
22 | - ?> |
|
22 | + ?> |
|
23 | 23 | <p> |
24 | 24 | <a href="<?php echo $invoice_url; ?>" class="ee-button-lnk inline-button ee-invoice-lnk" target="_blank"> |
25 | 25 | <?php _e('View Invoice', 'event_espresso'); ?> |
@@ -27,21 +27,21 @@ discard block |
||
27 | 27 | </p> |
28 | 28 | <?php |
29 | 29 | |
30 | - if (isset($page_confirmation_text)) { |
|
31 | - echo '<div class="event-messages ui-state-highlight"><span class="ui-icon ui-icon-alert"></span><p class="instruct">' |
|
32 | - . stripslashes_deep( |
|
33 | - $page_confirmation_text |
|
34 | - ) . '</p></div>'; |
|
35 | - } |
|
30 | + if (isset($page_confirmation_text)) { |
|
31 | + echo '<div class="event-messages ui-state-highlight"><span class="ui-icon ui-icon-alert"></span><p class="instruct">' |
|
32 | + . stripslashes_deep( |
|
33 | + $page_confirmation_text |
|
34 | + ) . '</p></div>'; |
|
35 | + } |
|
36 | 36 | |
37 | - if (! empty($page_extra_info)) { |
|
38 | - ?> |
|
37 | + if (! empty($page_extra_info)) { |
|
38 | + ?> |
|
39 | 39 | <div class="address-block"> |
40 | 40 | <?php echo wpautop(stripslashes_deep($page_extra_info)); ?> |
41 | 41 | </div> |
42 | 42 | <?php |
43 | - } |
|
44 | - ?> |
|
43 | + } |
|
44 | + ?> |
|
45 | 45 | </div> |
46 | 46 | <?php |
47 | 47 | } |
@@ -12,13 +12,13 @@ discard block |
||
12 | 12 | ?> |
13 | 13 | <div class="event-display-boxes"> |
14 | 14 | <?php |
15 | -if (! empty($page_title)) { |
|
15 | +if ( ! empty($page_title)) { |
|
16 | 16 | echo '<h4 id="invoice_title" class="payment_type_title section-heading">' |
17 | 17 | . stripslashes_deep( |
18 | 18 | $page_title |
19 | - ) . '</h4>'; |
|
19 | + ).'</h4>'; |
|
20 | 20 | } |
21 | -if (! empty($invoice_url)) { |
|
21 | +if ( ! empty($invoice_url)) { |
|
22 | 22 | ?> |
23 | 23 | <p> |
24 | 24 | <a href="<?php echo $invoice_url; ?>" class="ee-button-lnk inline-button ee-invoice-lnk" target="_blank"> |
@@ -31,10 +31,10 @@ discard block |
||
31 | 31 | echo '<div class="event-messages ui-state-highlight"><span class="ui-icon ui-icon-alert"></span><p class="instruct">' |
32 | 32 | . stripslashes_deep( |
33 | 33 | $page_confirmation_text |
34 | - ) . '</p></div>'; |
|
34 | + ).'</p></div>'; |
|
35 | 35 | } |
36 | 36 | |
37 | - if (! empty($page_extra_info)) { |
|
37 | + if ( ! empty($page_extra_info)) { |
|
38 | 38 | ?> |
39 | 39 | <div class="address-block"> |
40 | 40 | <?php echo wpautop(stripslashes_deep($page_extra_info)); ?> |