@@ -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 |
@@ -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 |
@@ -11,8 +11,11 @@ |
||
11 | 11 | <?php echo $att_questions; ?> |
12 | 12 | <?php if ( !empty($att_questions) ) : ?> |
13 | 13 | <input id="reg-admin-attendee-questions-submit" class="button-primary" value="Update Registration Questions" type="submit" /> |
14 | - <?php else : ?> |
|
15 | - <p class="ee-attention"><?php _e('There were no custom questions asked for this registration.', 'event_espresso'); ?></p> |
|
14 | + <?php else { |
|
15 | + : ?> |
|
16 | + <p class="ee-attention"><?php _e('There were no custom questions asked for this registration.', 'event_espresso'); |
|
17 | +} |
|
18 | +?></p> |
|
16 | 19 | <?php endif; ?> |
17 | 20 | |
18 | 21 | </form> |
@@ -2,14 +2,14 @@ |
||
2 | 2 | <p><?php _e('This displays the custom questions and answers for this registrant. Please note that any answers to system questions have been saved with the contact record. You can edit those answers via the "View/Edit this Contact" link in the Contact Details metabox in the sidebar.', 'event_espresso'); ?></p> |
3 | 3 | |
4 | 4 | <form name="reg-admin-attendee-questions-frm" id="reg-admin-attendee-questions-frm" action="<?php echo REG_ADMIN_URL; ?>" method="post"> |
5 | - <?php wp_nonce_field( $reg_questions_form_action . '_nonce', $reg_questions_form_action . '_nonce' ); ?> |
|
5 | + <?php wp_nonce_field($reg_questions_form_action.'_nonce', $reg_questions_form_action.'_nonce'); ?> |
|
6 | 6 | <input type="hidden" name="page" value="<?php echo REG_PG_SLUG; ?>"/> |
7 | 7 | <input type="hidden" name="action" value="<?php echo $reg_questions_form_action; ?>"/> |
8 | 8 | <input type="hidden" name="_REG_ID" value="<?php echo $REG_ID; ?>"/> |
9 | 9 | <input type="hidden" name="espresso_ajax" id="espresso-ajax" value="0"/> |
10 | 10 | <input type="hidden" name="noheader" id="reg-admin-noheader-inp" value="true"/> |
11 | 11 | <?php echo $att_questions; ?> |
12 | - <?php if ( !empty($att_questions) ) : ?> |
|
12 | + <?php if ( ! empty($att_questions)) : ?> |
|
13 | 13 | <input id="reg-admin-attendee-questions-submit" class="button-primary" value="Update Registration Questions" type="submit" /> |
14 | 14 | <?php else : ?> |
15 | 15 | <p class="ee-attention"><?php _e('There were no custom questions asked for this registration.', 'event_espresso'); ?></p> |
@@ -1,2 +1,2 @@ |
||
1 | -<h1><span class="small-text not-bold"><?php _e( 'Adding Registration For: ', 'event_espresso' );?></span><?php echo $event_name;?></h1> |
|
1 | +<h1><span class="small-text not-bold"><?php _e('Adding Registration For: ', 'event_espresso'); ?></span><?php echo $event_name; ?></h1> |
|
2 | 2 | <?php echo $step_content; ?> |
3 | 3 | \ No newline at end of file |
@@ -2,13 +2,13 @@ |
||
2 | 2 | <h2 class="ee-new-registration-step-header"><?php echo $title ?></h2> |
3 | 3 | <div class="ee-new-registration-step-content"> |
4 | 4 | <?php echo $content; ?> |
5 | - <?php if ( $show_notification_toggle && EE_Registry::instance()->CAP->current_user_can( 'ee_send_message', 'registration_message_type' ) ) : ?> |
|
5 | + <?php if ($show_notification_toggle && EE_Registry::instance()->CAP->current_user_can('ee_send_message', 'registration_message_type')) : ?> |
|
6 | 6 | <div class="ee-attention"> |
7 | - <label for="txn_reg_status_change" class="last"><?php _e( 'Send Related Messages?', 'event_espresso' );?></label> |
|
7 | + <label for="txn_reg_status_change" class="last"><?php _e('Send Related Messages?', 'event_espresso'); ?></label> |
|
8 | 8 | <input type="checkbox" value="1" name="txn_reg_status_change[send_notifications]" checked=checked> |
9 | 9 | <br/> |
10 | 10 | <br /> |
11 | - <p class="description"><?php _e( 'Send a notification to registrants after processing?', 'event_espresso' );?></p><br/> |
|
11 | + <p class="description"><?php _e('Send a notification to registrants after processing?', 'event_espresso'); ?></p><br/> |
|
12 | 12 | <label></label> |
13 | 13 | </div> |
14 | 14 | <?php endif; ?> |