@@ -5,7 +5,7 @@ |
||
5 | 5 | |
6 | 6 | <div id="espresso-thank-you-page-payment-details-dv"> |
7 | 7 | <?php |
8 | - if (! empty($payments)) { ?> |
|
8 | + if ( ! empty($payments)) { ?> |
|
9 | 9 | <table class="ee-table"> |
10 | 10 | <thead> |
11 | 11 | <tr> |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | |
18 | 18 | <div id="espresso-thank-you-page-payment-details-dv"> |
19 | 19 | <?php |
20 | - if (! empty($payments)) { ?> |
|
20 | + if (! empty($payments)) { ?> |
|
21 | 21 | <table class="ee-table"> |
22 | 22 | <thead> |
23 | 23 | <tr> |
@@ -37,39 +37,39 @@ discard block |
||
37 | 37 | </thead> |
38 | 38 | <tbody> |
39 | 39 | <?php |
40 | - foreach ($payments as $payment) { |
|
41 | - echo wp_kses($payment, AllowedTags::getAllowedTags()); |
|
42 | - } |
|
43 | - ?> |
|
40 | + foreach ($payments as $payment) { |
|
41 | + echo wp_kses($payment, AllowedTags::getAllowedTags()); |
|
42 | + } |
|
43 | + ?> |
|
44 | 44 | </tbody> |
45 | 45 | </table> |
46 | 46 | <?php |
47 | - } else { |
|
48 | - if ($transaction->total()) { |
|
49 | - echo apply_filters( |
|
50 | - 'FHEE__payment_overview_template__no_payments_made', |
|
51 | - sprintf( |
|
52 | - esc_html__('%sNo payments towards this transaction have been received.%s', 'event_espresso'), |
|
53 | - '<p class="important-notice">', |
|
54 | - '</p>' |
|
55 | - ) |
|
56 | - ); |
|
57 | - do_action('AHEE__thank_you_page_payment_details_template__no_payments_made', $transaction); |
|
58 | - } else { |
|
59 | - echo apply_filters( |
|
60 | - 'FHEE__payment_overview_template__no_payment_required', |
|
61 | - sprintf( |
|
62 | - esc_html__('%sNo payment is required for this transaction.%s', 'event_espresso'), |
|
63 | - '<p>', |
|
64 | - '</p>' |
|
65 | - ) |
|
66 | - ); |
|
67 | - do_action('AHEE__thank_you_page_payment_details_template__no_payment_required'); |
|
68 | - } |
|
69 | - } |
|
70 | - echo wp_kses($gateway_content, AllowedTags::getAllowedTags()); |
|
71 | - do_action('AHEE__thank_you_page_payment_details_template__after_gateway_content', $gateway_content); |
|
72 | - ?> |
|
47 | + } else { |
|
48 | + if ($transaction->total()) { |
|
49 | + echo apply_filters( |
|
50 | + 'FHEE__payment_overview_template__no_payments_made', |
|
51 | + sprintf( |
|
52 | + esc_html__('%sNo payments towards this transaction have been received.%s', 'event_espresso'), |
|
53 | + '<p class="important-notice">', |
|
54 | + '</p>' |
|
55 | + ) |
|
56 | + ); |
|
57 | + do_action('AHEE__thank_you_page_payment_details_template__no_payments_made', $transaction); |
|
58 | + } else { |
|
59 | + echo apply_filters( |
|
60 | + 'FHEE__payment_overview_template__no_payment_required', |
|
61 | + sprintf( |
|
62 | + esc_html__('%sNo payment is required for this transaction.%s', 'event_espresso'), |
|
63 | + '<p>', |
|
64 | + '</p>' |
|
65 | + ) |
|
66 | + ); |
|
67 | + do_action('AHEE__thank_you_page_payment_details_template__no_payment_required'); |
|
68 | + } |
|
69 | + } |
|
70 | + echo wp_kses($gateway_content, AllowedTags::getAllowedTags()); |
|
71 | + do_action('AHEE__thank_you_page_payment_details_template__after_gateway_content', $gateway_content); |
|
72 | + ?> |
|
73 | 73 | |
74 | 74 | <br/> |
75 | 75 | <?php do_action('AHEE__thank_you_page_payment_details_template__after_payment_details'); ?> |
@@ -6,17 +6,17 @@ |
||
6 | 6 | interface EEI_Contact |
7 | 7 | { |
8 | 8 | |
9 | - public function fname(); |
|
9 | + public function fname(); |
|
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | - public function lname(); |
|
13 | + public function lname(); |
|
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | - public function email(); |
|
17 | + public function email(); |
|
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | - public function phone(); |
|
21 | + public function phone(); |
|
22 | 22 | } |
@@ -6,33 +6,33 @@ |
||
6 | 6 | interface EEI_Has_Address |
7 | 7 | { |
8 | 8 | |
9 | - public function address(); |
|
9 | + public function address(); |
|
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | - public function address2(); |
|
13 | + public function address2(); |
|
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | - public function city(); |
|
17 | + public function city(); |
|
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | - public function state_ID(); |
|
21 | + public function state_ID(); |
|
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | - public function state_obj(); |
|
25 | + public function state_obj(); |
|
26 | 26 | |
27 | 27 | |
28 | 28 | |
29 | - public function country_ID(); |
|
29 | + public function country_ID(); |
|
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | - public function country_obj(); |
|
33 | + public function country_obj(); |
|
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | - public function zip(); |
|
37 | + public function zip(); |
|
38 | 38 | } |
@@ -6,22 +6,22 @@ |
||
6 | 6 | interface EEHI_Template |
7 | 7 | { |
8 | 8 | |
9 | - /** |
|
10 | - * EEH_Template::format_currency |
|
11 | - * This helper takes a raw float value and formats it according to the default config country currency settings, or the country currency settings from the supplied country ISO code |
|
12 | - * |
|
13 | - * @param float $amount raw money value |
|
14 | - * @param boolean $return_raw whether to return the formatted float value only with no currency sign or code |
|
15 | - * @param boolean $display_code whether to display the country code (USD). Default = TRUE |
|
16 | - * @param string $CNT_ISO 2 letter ISO code for a country |
|
17 | - * @param string $cur_code_span_class |
|
18 | - * @return string the html output for the formatted money value |
|
19 | - */ |
|
20 | - public static function format_currency( |
|
21 | - $amount = null, |
|
22 | - $return_raw = false, |
|
23 | - $display_code = true, |
|
24 | - $CNT_ISO = '', |
|
25 | - $cur_code_span_class = 'currency-code' |
|
26 | - ); |
|
9 | + /** |
|
10 | + * EEH_Template::format_currency |
|
11 | + * This helper takes a raw float value and formats it according to the default config country currency settings, or the country currency settings from the supplied country ISO code |
|
12 | + * |
|
13 | + * @param float $amount raw money value |
|
14 | + * @param boolean $return_raw whether to return the formatted float value only with no currency sign or code |
|
15 | + * @param boolean $display_code whether to display the country code (USD). Default = TRUE |
|
16 | + * @param string $CNT_ISO 2 letter ISO code for a country |
|
17 | + * @param string $cur_code_span_class |
|
18 | + * @return string the html output for the formatted money value |
|
19 | + */ |
|
20 | + public static function format_currency( |
|
21 | + $amount = null, |
|
22 | + $return_raw = false, |
|
23 | + $display_code = true, |
|
24 | + $CNT_ISO = '', |
|
25 | + $cur_code_span_class = 'currency-code' |
|
26 | + ); |
|
27 | 27 | } |
@@ -6,27 +6,27 @@ |
||
6 | 6 | interface EEHI_File |
7 | 7 | { |
8 | 8 | |
9 | - /** |
|
10 | - * ensure_file_exists_and_is_writable |
|
11 | - * ensures that a file exists and is writable, will attempt to create file if it does not exist |
|
12 | - * |
|
13 | - * @param string $full_file_path |
|
14 | - * @throws EE_Error |
|
15 | - * @return bool |
|
16 | - */ |
|
17 | - public static function ensure_file_exists_and_is_writable($full_file_path = ''); |
|
9 | + /** |
|
10 | + * ensure_file_exists_and_is_writable |
|
11 | + * ensures that a file exists and is writable, will attempt to create file if it does not exist |
|
12 | + * |
|
13 | + * @param string $full_file_path |
|
14 | + * @throws EE_Error |
|
15 | + * @return bool |
|
16 | + */ |
|
17 | + public static function ensure_file_exists_and_is_writable($full_file_path = ''); |
|
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | - /** |
|
22 | - * ensure_folder_exists_and_is_writable |
|
23 | - * ensures that a folder exists and is writable, will attempt to create folder if it does not exist |
|
24 | - * |
|
25 | - * @param string $folder |
|
26 | - * @throws EE_Error |
|
27 | - * @return bool |
|
28 | - */ |
|
29 | - public static function ensure_folder_exists_and_is_writable($folder = ''); |
|
21 | + /** |
|
22 | + * ensure_folder_exists_and_is_writable |
|
23 | + * ensures that a folder exists and is writable, will attempt to create folder if it does not exist |
|
24 | + * |
|
25 | + * @param string $folder |
|
26 | + * @throws EE_Error |
|
27 | + * @return bool |
|
28 | + */ |
|
29 | + public static function ensure_folder_exists_and_is_writable($folder = ''); |
|
30 | 30 | } |
31 | 31 | // End of file EEHI_File.interface.php |
32 | 32 | // Location: core/interfaces/EEHI_File.interface.php |
@@ -6,14 +6,14 @@ |
||
6 | 6 | interface EEI_Address_Formatter |
7 | 7 | { |
8 | 8 | |
9 | - /** |
|
10 | - * @param string $address |
|
11 | - * @param string $address2 |
|
12 | - * @param string $city |
|
13 | - * @param string $state |
|
14 | - * @param string $zip |
|
15 | - * @param string $country |
|
16 | - * @param string $CNT_ISO |
|
17 | - */ |
|
18 | - public function format($address, $address2, $city, $state, $zip, $country, $CNT_ISO); |
|
9 | + /** |
|
10 | + * @param string $address |
|
11 | + * @param string $address2 |
|
12 | + * @param string $city |
|
13 | + * @param string $state |
|
14 | + * @param string $zip |
|
15 | + * @param string $country |
|
16 | + * @param string $CNT_ISO |
|
17 | + */ |
|
18 | + public function format($address, $address2, $city, $state, $zip, $country, $CNT_ISO); |
|
19 | 19 | } |
@@ -12,9 +12,9 @@ |
||
12 | 12 | { |
13 | 13 | |
14 | 14 | |
15 | - /** |
|
16 | - * Expect a EE_messenger object back that is serving as the sending messenger for a message. |
|
17 | - * @return EE_messenger |
|
18 | - */ |
|
19 | - public function sending_messenger(); |
|
15 | + /** |
|
16 | + * Expect a EE_messenger object back that is serving as the sending messenger for a message. |
|
17 | + * @return EE_messenger |
|
18 | + */ |
|
19 | + public function sending_messenger(); |
|
20 | 20 | } |
@@ -11,16 +11,16 @@ |
||
11 | 11 | interface EEI_Line_Item_Object |
12 | 12 | { |
13 | 13 | |
14 | - /** |
|
15 | - * Return the name representing the object (i.e. Event Title, or Ticket Name). |
|
16 | - * @return string |
|
17 | - */ |
|
18 | - public function name(); |
|
14 | + /** |
|
15 | + * Return the name representing the object (i.e. Event Title, or Ticket Name). |
|
16 | + * @return string |
|
17 | + */ |
|
18 | + public function name(); |
|
19 | 19 | |
20 | 20 | |
21 | - /** |
|
22 | - * Return the ID representation for the object. |
|
23 | - * @return mixed int|string |
|
24 | - */ |
|
25 | - public function ID(); |
|
21 | + /** |
|
22 | + * Return the ID representation for the object. |
|
23 | + * @return mixed int|string |
|
24 | + */ |
|
25 | + public function ID(); |
|
26 | 26 | } |
@@ -18,11 +18,11 @@ |
||
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | - /** |
|
22 | - * process |
|
23 | - * |
|
24 | - * @param \EEI_Line_Item $line_item |
|
25 | - * @return \EEI_Line_Item |
|
26 | - */ |
|
27 | - public function process(EEI_Line_Item $line_item); |
|
21 | + /** |
|
22 | + * process |
|
23 | + * |
|
24 | + * @param \EEI_Line_Item $line_item |
|
25 | + * @return \EEI_Line_Item |
|
26 | + */ |
|
27 | + public function process(EEI_Line_Item $line_item); |
|
28 | 28 | } |