@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -99,32 +99,32 @@ discard block |
||
| 99 | 99 | |
| 100 | 100 | |
| 101 | 101 | protected function _start() { |
| 102 | - $content = '<h3>' . __('Registration Details', 'event_espresso') . '</h3>'; |
|
| 103 | - $content .= '<p>' . __('This tour of the Registration Details page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
| 102 | + $content = '<h3>'.__('Registration Details', 'event_espresso').'</h3>'; |
|
| 103 | + $content .= '<p>'.__('This tour of the Registration Details page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
| 104 | 104 | return $content; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | protected function _reg_date_title() { |
| 108 | - return '<p>' . __('This is the date that the registration occurred on.') . '</p>'; |
|
| 108 | + return '<p>'.__('This is the date that the registration occurred on.').'</p>'; |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | protected function _reg_details_stop() { |
| 112 | - return '<p>' . __('The buttons below allow you to perform an action with a registration. The options are Approved, Not Approved, Declined, and Cancelled.', 'event_espresso') . '</p>'; |
|
| 112 | + return '<p>'.__('The buttons below allow you to perform an action with a registration. The options are Approved, Not Approved, Declined, and Cancelled.', 'event_espresso').'</p>'; |
|
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | protected function _reg_details_table() { |
| 116 | - return '<p>' . __('The registration items area displays various information including Line Item ID, Event Name, Event Date, Ticket Option, Price, Quantity, Line Total, Sales Tax, and the Grand Total.', 'event_espresso') . '</p>'; |
|
| 116 | + return '<p>'.__('The registration items area displays various information including Line Item ID, Event Name, Event Date, Ticket Option, Price, Quantity, Line Total, Sales Tax, and the Grand Total.', 'event_espresso').'</p>'; |
|
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | protected function _display_additional_info_stop() { |
| 120 | - return '<p>' . __('You can view additional information about the registration by clicking on the link below. Examples of available information includes Registration ID, IP Address, and User Agent.', 'event_espresso') . '</p>'; |
|
| 120 | + return '<p>'.__('You can view additional information about the registration by clicking on the link below. Examples of available information includes Registration ID, IP Address, and User Agent.', 'event_espresso').'</p>'; |
|
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | protected function _edit_reg_question_stop() { |
| 124 | - return '<p>' . __('View the answers to your custom questions below.', 'event_espresso') . '</p>'; |
|
| 124 | + return '<p>'.__('View the answers to your custom questions below.', 'event_espresso').'</p>'; |
|
| 125 | 125 | } |
| 126 | 126 | |
| 127 | 127 | protected function _attendee_details_stop() { |
| 128 | - return '<p>' . __('View details on the registrant attached to this registration.', 'event_espresso') . '</p>'; |
|
| 128 | + return '<p>'.__('View details on the registrant attached to this registration.', 'event_espresso').'</p>'; |
|
| 129 | 129 | } |
| 130 | 130 | } |
| 131 | 131 | \ No newline at end of file |
@@ -1,6 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | +} |
|
| 4 | 5 | |
| 5 | 6 | /** |
| 6 | 7 | * Event Espresso |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | protected function _set_tour_properties() { |
| 33 | 33 | $this->_label = __('Registrations Overview Tour', 'event_espresso'); |
| 34 | - if ( isset( $this->_req_data['event_id'] ) ) |
|
| 34 | + if (isset($this->_req_data['event_id'])) |
|
| 35 | 35 | $this->_slug = 'registration-per-event-overview-joyride'; |
| 36 | 36 | else |
| 37 | 37 | $this->_slug = 'registration-overview-joyride'; |
@@ -174,69 +174,69 @@ discard block |
||
| 174 | 174 | |
| 175 | 175 | |
| 176 | 176 | protected function _start() { |
| 177 | - $content = '<h3>' . __('Registration Overview', 'event_espresso') . '</h3>'; |
|
| 178 | - if ( isset( $this->_req_data['event_id'] ) ) { |
|
| 179 | - $content .= '<p>' . __('An introduction to the Registration Overview page for a single event. This view is pretty much the same as the default overview registration page except you are only seeing registrations for a specific event. There are also some changes to the available columns in this view.', 'event_espresso') . '</p>'; |
|
| 177 | + $content = '<h3>'.__('Registration Overview', 'event_espresso').'</h3>'; |
|
| 178 | + if (isset($this->_req_data['event_id'])) { |
|
| 179 | + $content .= '<p>'.__('An introduction to the Registration Overview page for a single event. This view is pretty much the same as the default overview registration page except you are only seeing registrations for a specific event. There are also some changes to the available columns in this view.', 'event_espresso').'</p>'; |
|
| 180 | 180 | } else { |
| 181 | - $content .= '<p>' . __('This tour of the Registration Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
| 181 | + $content .= '<p>'.__('This tour of the Registration Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
| 182 | 182 | } |
| 183 | 183 | return $content; |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | protected function _reg_id_stop() { |
| 187 | - return '<p>' . __('View the registration ID. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
| 187 | + return '<p>'.__('View the registration ID. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | protected function _reg_count_stop() { |
| 191 | - return '<p>' . __('View registration number.', 'event_espresso') . '</p>'; |
|
| 191 | + return '<p>'.__('View registration number.', 'event_espresso').'</p>'; |
|
| 192 | 192 | } |
| 193 | 193 | |
| 194 | 194 | protected function _attendee_name_stop() { |
| 195 | - return '<p>' . __('View the name of the registrant. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
| 195 | + return '<p>'.__('View the name of the registrant. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | protected function _reg_date_stop() { |
| 199 | - return '<p>' . __('View registration date. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
| 199 | + return '<p>'.__('View registration date. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
| 200 | 200 | } |
| 201 | 201 | |
| 202 | 202 | protected function _event_name_stop() { |
| 203 | - return '<p>' . __('View the name of the event. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
| 203 | + return '<p>'.__('View the name of the event. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | protected function _dtt_evt_start_stop() { |
| 207 | - return '<p>' . __('View the date of the event. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
| 207 | + return '<p>'.__('View the date of the event. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
| 208 | 208 | } |
| 209 | 209 | |
| 210 | 210 | protected function _reg_code_stop() { |
| 211 | - return '<p>' . __('View registration code for a registrant.', 'event_espresso') . '</p>'; |
|
| 211 | + return '<p>'.__('View registration code for a registrant.', 'event_espresso').'</p>'; |
|
| 212 | 212 | } |
| 213 | 213 | |
| 214 | 214 | protected function _txn_total_stop() { |
| 215 | - return '<p>' . __('View price of registration.', 'event_espresso') . '</p>'; |
|
| 215 | + return '<p>'.__('View price of registration.', 'event_espresso').'</p>'; |
|
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | protected function _actions_stop() { |
| 219 | - return '<p>' . __('Perform an action to a registration. See legend in bottom left corner.', 'event_espresso') . '</p>'; |
|
| 219 | + return '<p>'.__('Perform an action to a registration. See legend in bottom left corner.', 'event_espresso').'</p>'; |
|
| 220 | 220 | } |
| 221 | 221 | |
| 222 | 222 | protected function _legend_stop() { |
| 223 | - return '<p>' . __('This is the legend that describes the actions available in the actions column. Also shows available statuses for a registration.', 'event_espresso') . '</p>'; |
|
| 223 | + return '<p>'.__('This is the legend that describes the actions available in the actions column. Also shows available statuses for a registration.', 'event_espresso').'</p>'; |
|
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | protected function _views_stop() { |
| 227 | - return '<p>' . __('You can select different views by time period or look at registrations which have been moved to the trash.') . '</p>'; |
|
| 227 | + return '<p>'.__('You can select different views by time period or look at registrations which have been moved to the trash.').'</p>'; |
|
| 228 | 228 | } |
| 229 | 229 | |
| 230 | 230 | protected function _bulkactions_stop() { |
| 231 | - return '<p>' . __('Perform a bulk action to multiple registrations.', 'event_espresso') . '</p>'; |
|
| 231 | + return '<p>'.__('Perform a bulk action to multiple registrations.', 'event_espresso').'</p>'; |
|
| 232 | 232 | } |
| 233 | 233 | |
| 234 | 234 | protected function _stop_about_filters() { |
| 235 | - return '<p>' . __('Registrations can be filtered by date, categories, or status.', 'event_espresso') . '</p>'; |
|
| 235 | + return '<p>'.__('Registrations can be filtered by date, categories, or status.', 'event_espresso').'</p>'; |
|
| 236 | 236 | } |
| 237 | 237 | |
| 238 | 238 | protected function _search_stop() { |
| 239 | - return '<p>' . __('Search through registrations. The following sources will be searched: Event Name, Event Description, First Name, Last Name, Biography, Email Address, Address, Comments, Notes, Registration Final Price, Registration Code, Registration Group Size, Ticket Name, and Ticket Description.', 'event_espresso') . '</p>'; |
|
| 239 | + return '<p>'.__('Search through registrations. The following sources will be searched: Event Name, Event Description, First Name, Last Name, Biography, Email Address, Address, Comments, Notes, Registration Final Price, Registration Code, Registration Group Size, Ticket Name, and Ticket Description.', 'event_espresso').'</p>'; |
|
| 240 | 240 | } |
| 241 | 241 | |
| 242 | 242 | } |
| 243 | 243 | \ No newline at end of file |
@@ -1,6 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | +} |
|
| 4 | 5 | |
| 5 | 6 | /** |
| 6 | 7 | * Event Espresso |
@@ -31,10 +32,11 @@ discard block |
||
| 31 | 32 | |
| 32 | 33 | protected function _set_tour_properties() { |
| 33 | 34 | $this->_label = __('Registrations Overview Tour', 'event_espresso'); |
| 34 | - if ( isset( $this->_req_data['event_id'] ) ) |
|
| 35 | - $this->_slug = 'registration-per-event-overview-joyride'; |
|
| 36 | - else |
|
| 37 | - $this->_slug = 'registration-overview-joyride'; |
|
| 35 | + if ( isset( $this->_req_data['event_id'] ) ) { |
|
| 36 | + $this->_slug = 'registration-per-event-overview-joyride'; |
|
| 37 | + } else { |
|
| 38 | + $this->_slug = 'registration-overview-joyride'; |
|
| 39 | + } |
|
| 38 | 40 | } |
| 39 | 41 | |
| 40 | 42 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -60,17 +60,17 @@ discard block |
||
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | protected function _start() { |
| 63 | - $content = '<h3>' . __('Registration Reports', 'event_espresso') . '</h3>'; |
|
| 64 | - $content .= '<p>' . __('This tour of the Registration Reports page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
| 63 | + $content = '<h3>'.__('Registration Reports', 'event_espresso').'</h3>'; |
|
| 64 | + $content .= '<p>'.__('This tour of the Registration Reports page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
| 65 | 65 | return $content; |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | protected function _reg_per_day_report_stop() { |
| 69 | - return '<p>' . __('This graph shows registrations for each day.', 'event_espresso') . '</p>'; |
|
| 69 | + return '<p>'.__('This graph shows registrations for each day.', 'event_espresso').'</p>'; |
|
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | protected function _reg_per_event_report_stop() { |
| 73 | - return '<p>' . __('This graph shows registrations for each event.', 'event_espresso') . '</p>'; |
|
| 73 | + return '<p>'.__('This graph shows registrations for each event.', 'event_espresso').'</p>'; |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | } |
| 77 | 77 | \ No newline at end of file |
@@ -1,6 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | +} |
|
| 4 | 5 | |
| 5 | 6 | /** |
| 6 | 7 | * Event Espresso |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if ( ! defined('EVENT_ESPRESSO_VERSION')) |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | 4 | |
| 5 | 5 | /** |
@@ -97,39 +97,39 @@ discard block |
||
| 97 | 97 | |
| 98 | 98 | |
| 99 | 99 | protected function _start() { |
| 100 | - $content = '<h3>' . __('Welcome to the Registration Details page!', 'event_espresso') . '</h3>'; |
|
| 101 | - $content .= '<p>' . __('An introduction to the registration details page', 'event_espresso') . '</p>'; |
|
| 100 | + $content = '<h3>'.__('Welcome to the Registration Details page!', 'event_espresso').'</h3>'; |
|
| 101 | + $content .= '<p>'.__('An introduction to the registration details page', 'event_espresso').'</p>'; |
|
| 102 | 102 | return $content; |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | |
| 106 | 106 | protected function _reg_date_title() { |
| 107 | - return '<p>' . __('About the reg date') . '</p>'; |
|
| 107 | + return '<p>'.__('About the reg date').'</p>'; |
|
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | |
| 111 | 111 | |
| 112 | 112 | protected function _reg_details_stop() { |
| 113 | - return '<p>' . __('About the reg details area (pending, buttons they can push and what happens)', 'event_espresso') . '</p>'; |
|
| 113 | + return '<p>'.__('About the reg details area (pending, buttons they can push and what happens)', 'event_espresso').'</p>'; |
|
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | |
| 117 | 117 | protected function _reg_details_table() { |
| 118 | - return '<p>' . __('about the registration details metabox', 'event_espresso') . '</p>'; |
|
| 118 | + return '<p>'.__('about the registration details metabox', 'event_espresso').'</p>'; |
|
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | |
| 122 | 122 | protected function _display_additional_info_stop() { |
| 123 | - return '<p>' . __('what happens when they click this link? What\'s it here for', 'event_espresso') . '</p>'; |
|
| 123 | + return '<p>'.__('what happens when they click this link? What\'s it here for', 'event_espresso').'</p>'; |
|
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | |
| 127 | 127 | protected function _attendee_details_stop() { |
| 128 | - return '<p>' . __('details on the registrant attached to this registration', 'event_espresso') . '</p>'; |
|
| 128 | + return '<p>'.__('details on the registrant attached to this registration', 'event_espresso').'</p>'; |
|
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | |
| 132 | 132 | protected function _edit_reg_question_stop() { |
| 133 | - return '<p>' . __('info about how they can edit the questions related to this registration here', 'event_espresso') . '</p>'; |
|
| 133 | + return '<p>'.__('info about how they can edit the questions related to this registration here', 'event_espresso').'</p>'; |
|
| 134 | 134 | } |
| 135 | 135 | } |
| 136 | 136 | \ No newline at end of file |
@@ -1,6 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
| 2 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
| 3 | 3 | exit('NO direct script access allowed'); |
| 4 | +} |
|
| 4 | 5 | |
| 5 | 6 | /** |
| 6 | 7 | * Event Espresso |
@@ -36,8 +36,8 @@ discard block |
||
| 36 | 36 | 'content' => $this->_registration_trash_message(), |
| 37 | 37 | ), |
| 38 | 38 | 1 => array( |
| 39 | - 'content_id' => 'registration-status-' . EEM_Registration::status_id_approved, |
|
| 40 | - 'target' => '.reg-status-' . EEM_Registration::status_id_approved, |
|
| 39 | + 'content_id' => 'registration-status-'.EEM_Registration::status_id_approved, |
|
| 40 | + 'target' => '.reg-status-'.EEM_Registration::status_id_approved, |
|
| 41 | 41 | 'content' => $this->_registration_status_legend(EEM_Registration::status_id_approved), |
| 42 | 42 | 'options' => array( |
| 43 | 43 | 'position' => array( |
@@ -46,8 +46,8 @@ discard block |
||
| 46 | 46 | ) |
| 47 | 47 | ), |
| 48 | 48 | 2 => array( |
| 49 | - 'content_id' => 'registration-status-' . EEM_Registration::status_id_pending_payment, |
|
| 50 | - 'target' => '.reg-status-' . EEM_Registration::status_id_pending_payment, |
|
| 49 | + 'content_id' => 'registration-status-'.EEM_Registration::status_id_pending_payment, |
|
| 50 | + 'target' => '.reg-status-'.EEM_Registration::status_id_pending_payment, |
|
| 51 | 51 | 'content' => $this->_registration_status_legend(EEM_Registration::status_id_pending_payment), |
| 52 | 52 | 'options' => array( |
| 53 | 53 | 'position' => array( |
@@ -56,8 +56,8 @@ discard block |
||
| 56 | 56 | ) |
| 57 | 57 | ), |
| 58 | 58 | 3 => array( |
| 59 | - 'content_id' => 'registration-status-' . EEM_Registration::status_id_not_approved, |
|
| 60 | - 'target' => '.reg-status-' . EEM_Registration::status_id_not_approved, |
|
| 59 | + 'content_id' => 'registration-status-'.EEM_Registration::status_id_not_approved, |
|
| 60 | + 'target' => '.reg-status-'.EEM_Registration::status_id_not_approved, |
|
| 61 | 61 | 'content' => $this->_registration_status_legend(EEM_Registration::status_id_not_approved), |
| 62 | 62 | 'options' => array( |
| 63 | 63 | 'position' => array( |
@@ -66,8 +66,8 @@ discard block |
||
| 66 | 66 | ) |
| 67 | 67 | ), |
| 68 | 68 | 4 => array( |
| 69 | - 'content_id' => 'registration-status-' . EEM_Registration::status_id_declined, |
|
| 70 | - 'target' => '.reg-status-' . EEM_Registration::status_id_declined, |
|
| 69 | + 'content_id' => 'registration-status-'.EEM_Registration::status_id_declined, |
|
| 70 | + 'target' => '.reg-status-'.EEM_Registration::status_id_declined, |
|
| 71 | 71 | 'content' => $this->_registration_status_legend(EEM_Registration::status_id_declined), |
| 72 | 72 | 'options' => array( |
| 73 | 73 | 'position' => array( |
@@ -76,8 +76,8 @@ discard block |
||
| 76 | 76 | ) |
| 77 | 77 | ), |
| 78 | 78 | 5 => array( |
| 79 | - 'content_id' => 'registration-status-' . EEM_Registration::status_id_cancelled, |
|
| 80 | - 'target' => '.reg-status-' . EEM_Registration::status_id_cancelled, |
|
| 79 | + 'content_id' => 'registration-status-'.EEM_Registration::status_id_cancelled, |
|
| 80 | + 'target' => '.reg-status-'.EEM_Registration::status_id_cancelled, |
|
| 81 | 81 | 'content' => $this->_registration_status_legend(EEM_Registration::status_id_cancelled), |
| 82 | 82 | 'options' => array( |
| 83 | 83 | 'position' => array( |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | |
| 92 | 92 | |
| 93 | 93 | private function _registration_trash_message() { |
| 94 | - return '<p>' . __('This lock-icon means that this registration cannot be trashed. Registrations that belong to a transaction that has payments cannot be trashed. If you wish to trash this registration then you must delete all payments attached to the related transaction first.', 'event_espresso') . '</p>'; |
|
| 94 | + return '<p>'.__('This lock-icon means that this registration cannot be trashed. Registrations that belong to a transaction that has payments cannot be trashed. If you wish to trash this registration then you must delete all payments attached to the related transaction first.', 'event_espresso').'</p>'; |
|
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | * @param EEM_Registration constant $status What status is set (by class) |
| 104 | 104 | * @return string The status legend with the related status highlighted |
| 105 | 105 | */ |
| 106 | - private function _registration_status_legend( $status ) { |
|
| 106 | + private function _registration_status_legend($status) { |
|
| 107 | 107 | |
| 108 | 108 | $status_array = array( |
| 109 | 109 | 'approved_status' => EEM_Registration::status_id_approved, |
@@ -113,6 +113,6 @@ discard block |
||
| 113 | 113 | 'cancelled_status' => EEM_Registration::status_id_cancelled |
| 114 | 114 | ); |
| 115 | 115 | |
| 116 | - return EEH_Template::status_legend( $status_array, $status ); |
|
| 116 | + return EEH_Template::status_legend($status_array, $status); |
|
| 117 | 117 | } |
| 118 | 118 | } |
| 119 | 119 | \ No newline at end of file |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -EEH_Template_Validator::verify_instanceof( $attendee, '$attendee', 'EE_Attendee'); |
|
| 2 | +EEH_Template_Validator::verify_instanceof($attendee, '$attendee', 'EE_Attendee'); |
|
| 3 | 3 | /* |
| 4 | 4 | * @var $attendee EE_Attendee |
| 5 | 5 | * @var $state_html html for displaying the attendee's state |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -EEH_Template_Validator::verify_instanceof( $attendee, '$attendee', 'EE_Attendee'); |
|
| 2 | +EEH_Template_Validator::verify_instanceof($attendee, '$attendee', 'EE_Attendee'); |
|
| 3 | 3 | /** |
| 4 | 4 | * @var $attendee - instance of EE_Attendee |
| 5 | 5 | */ |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | <tr valign="top"> |
| 10 | 10 | <td> |
| 11 | 11 | <label for="ATT_email"><?php _e('Email Address', 'event_espresso'); ?><span class="denotes-required-spn">*</span></label><br> |
| 12 | - <div class="validation-notice-dv"><?php _e( 'The following is a required field', 'event_espresso' );?></div> |
|
| 12 | + <div class="validation-notice-dv"><?php _e('The following is a required field', 'event_espresso'); ?></div> |
|
| 13 | 13 | <input class="all-options required" type="text" id="ATT_email" name="ATT_email" value="<?php echo $attendee->email(); ?>" required/><br/> |
| 14 | 14 | <p class="description"><?php _e('( required value )', 'event_espresso'); ?></p> |
| 15 | 15 | </td> |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -EEH_Template_Validator::verify_instanceof( $attendee, '$attendee', 'EE_Attendee'); |
|
| 2 | +EEH_Template_Validator::verify_instanceof($attendee, '$attendee', 'EE_Attendee'); |
|
| 3 | 3 | /** |
| 4 | 4 | * @var $attendee - instance of EE_Attendee |
| 5 | 5 | */ |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | <label for="ATT_fname"><?php _e('First Name', 'event_espresso'); ?><span class="denotes-required-spn">*</span></label> |
| 21 | 21 | </th> |
| 22 | 22 | <td> |
| 23 | - <div class="validation-notice-dv"><?php _e( 'The following is a required field', 'event_espresso' );?></div> |
|
| 23 | + <div class="validation-notice-dv"><?php _e('The following is a required field', 'event_espresso'); ?></div> |
|
| 24 | 24 | <input class="regular-text required" type="text" id="ATT_fname" name="ATT_fname" value="<?php echo $attendee->fname(); ?>"/><br/> |
| 25 | 25 | <p class="description"><?php _e('The registrant\'s given name. ( required value )', 'event_espresso'); ?></p> |
| 26 | 26 | </td> |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | <label for="ATT_lname"><?php _e('Last Name', 'event_espresso'); ?><span class="denotes-required-spn">*</span></label> |
| 32 | 32 | </th> |
| 33 | 33 | <td> |
| 34 | - <div class="validation-notice-dv"><?php _e( 'The following is a required field', 'event_espresso' );?></div> |
|
| 34 | + <div class="validation-notice-dv"><?php _e('The following is a required field', 'event_espresso'); ?></div> |
|
| 35 | 35 | <input class="regular-text required" type="text" id="ATT_lname" name="ATT_lname" value="<?php echo $attendee->lname(); ?>"/><br/> |
| 36 | 36 | <p class="description"><?php _e('The registrant\'s family name. ( required value )', 'event_espresso'); ?></p> |
| 37 | 37 | </td> |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | <label for="ATT_email"><?php _e('Email Address', 'event_espresso'); ?><span class="denotes-required-spn">*</span></label> |
| 43 | 43 | </th> |
| 44 | 44 | <td> |
| 45 | - <div class="validation-notice-dv"><?php _e( 'The following is a required field', 'event_espresso' );?></div> |
|
| 45 | + <div class="validation-notice-dv"><?php _e('The following is a required field', 'event_espresso'); ?></div> |
|
| 46 | 46 | <input class="regular-text required" type="text" id="ATT_email" name="ATT_email" value="<?php echo $attendee->email(); ?>"/><br/> |
| 47 | 47 | <p class="description"><?php _e('( required value )', 'event_espresso'); ?></p> |
| 48 | 48 | </td> |
@@ -109,8 +109,8 @@ discard block |
||
| 109 | 109 | |
| 110 | 110 | |
| 111 | 111 | |
| 112 | - <?php do_action( 'AHEE__attendee_details_main_meta_box__template__table_body_end',$attendee );?> |
|
| 112 | + <?php do_action('AHEE__attendee_details_main_meta_box__template__table_body_end', $attendee); ?> |
|
| 113 | 113 | </tbody> |
| 114 | 114 | </table> |
| 115 | - <?php do_action( 'AHEE__attendee_details_main_meta_box__template__after_table',$attendee );?> |
|
| 115 | + <?php do_action('AHEE__attendee_details_main_meta_box__template__after_table', $attendee); ?> |
|
| 116 | 116 | </div> |
| 117 | 117 | \ No newline at end of file |