@@ -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 | /** |
@@ -98,34 +98,34 @@ discard block |
||
98 | 98 | |
99 | 99 | |
100 | 100 | protected function _start() { |
101 | - $content = '<h3>' . __('Add New Question', 'event_espresso') . '</h3>'; |
|
102 | - $content .= '<p>' . __('This tour of the Add New Question page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
101 | + $content = '<h3>'.__('Add New Question', 'event_espresso').'</h3>'; |
|
102 | + $content .= '<p>'.__('This tour of the Add New Question page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
103 | 103 | |
104 | 104 | return $content; |
105 | 105 | } |
106 | 106 | |
107 | 107 | protected function _qst_display_text_stop() { |
108 | - return '<p>' . __('This is the question that is displayed to registrants who are signing up for events.', 'event_espresso') . '</p>'; |
|
108 | + return '<p>'.__('This is the question that is displayed to registrants who are signing up for events.', 'event_espresso').'</p>'; |
|
109 | 109 | } |
110 | 110 | |
111 | 111 | protected function _qst_admin_label_stop() { |
112 | - return '<p>' . __('Helps you understand the difference between questions that may appear similar but are actually different.', 'event_espresso') . '</p>'; |
|
112 | + return '<p>'.__('Helps you understand the difference between questions that may appear similar but are actually different.', 'event_espresso').'</p>'; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | protected function _qst_admin_only_stop() { |
116 | - return '<p>' . __('Specify whether this question should be shown only to admins.', 'event_espresso') . '</p>'; |
|
116 | + return '<p>'.__('Specify whether this question should be shown only to admins.', 'event_espresso').'</p>'; |
|
117 | 117 | } |
118 | 118 | |
119 | 119 | protected function _qst_type_stop() { |
120 | - return '<p>' . __('Select the type of question. Available options are Text, Textarea, Single, Multiple, Dropdown, and Date.', 'event_espresso') . '</p>'; |
|
120 | + return '<p>'.__('Select the type of question. Available options are Text, Textarea, Single, Multiple, Dropdown, and Date.', 'event_espresso').'</p>'; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | protected function _qst_required_stop() { |
124 | - return '<p>' . __('Specify whether this question should be required.', 'event_espresso') . '</p>'; |
|
124 | + return '<p>'.__('Specify whether this question should be required.', 'event_espresso').'</p>'; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | protected function _qst_required_text_stop() { |
128 | - return '<p>' . __('Text to display when registrant does not answer question but is required to.', 'event_espresso') . '</p>'; |
|
128 | + return '<p>'.__('Text to display when registrant does not answer question but is required to.', 'event_espresso').'</p>'; |
|
129 | 129 | } |
130 | 130 | |
131 | 131 | } |
132 | 132 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |
@@ -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 | /** |
@@ -98,34 +98,34 @@ discard block |
||
98 | 98 | |
99 | 99 | |
100 | 100 | protected function _start() { |
101 | - $content = '<h3>' . __('Edit Question Group', 'event_espresso') . '</h3>'; |
|
102 | - $content .= '<p>' . __('This tour of the Edit Question Group page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
101 | + $content = '<h3>'.__('Edit Question Group', 'event_espresso').'</h3>'; |
|
102 | + $content .= '<p>'.__('This tour of the Edit Question Group page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
103 | 103 | |
104 | 104 | return $content; |
105 | 105 | } |
106 | 106 | |
107 | 107 | protected function _qsg_name_stop() { |
108 | - return '<p>' . __('The name of the question group.', 'event_espresso') . '</p>'; |
|
108 | + return '<p>'.__('The name of the question group.', 'event_espresso').'</p>'; |
|
109 | 109 | } |
110 | 110 | |
111 | 111 | protected function _qsg_identifier_stop() { |
112 | - return '<p>' . __('A unique name for your question group.', 'event_espresso') . '</p>'; |
|
112 | + return '<p>'.__('A unique name for your question group.', 'event_espresso').'</p>'; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | protected function _qsg_desc_stop() { |
116 | - return '<p>' . __('A description of the question group.', 'event_espresso') . '</p>'; |
|
116 | + return '<p>'.__('A description of the question group.', 'event_espresso').'</p>'; |
|
117 | 117 | } |
118 | 118 | |
119 | 119 | protected function _qsg_order_stop() { |
120 | - return '<p>' . __('Set the order that you want your question group to appear in.', 'event_espresso') . '</p>'; |
|
120 | + return '<p>'.__('Set the order that you want your question group to appear in.', 'event_espresso').'</p>'; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | protected function _qsg_show_group_name_stop() { |
124 | - return '<p>' . __('Specify whether the group name should be shown on the registration page.', 'event_espresso') . '</p>'; |
|
124 | + return '<p>'.__('Specify whether the group name should be shown on the registration page.', 'event_espresso').'</p>'; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | protected function _qsg_show_group_desc_stop() { |
128 | - return '<p>' . __('Specify whether the group description should be shown on the registration page.', 'event_espresso') . '</p>'; |
|
128 | + return '<p>'.__('Specify whether the group description should be shown on the registration page.', 'event_espresso').'</p>'; |
|
129 | 129 | } |
130 | 130 | |
131 | 131 | } |
132 | 132 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |
@@ -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 | /** |
@@ -98,34 +98,34 @@ discard block |
||
98 | 98 | |
99 | 99 | |
100 | 100 | protected function _start() { |
101 | - $content = '<h3>' . __('Edit Question', 'event_espresso') . '</h3>'; |
|
102 | - $content .= '<p>' . __('This tour of the Edit Question page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
101 | + $content = '<h3>'.__('Edit Question', 'event_espresso').'</h3>'; |
|
102 | + $content .= '<p>'.__('This tour of the Edit Question page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
103 | 103 | |
104 | 104 | return $content; |
105 | 105 | } |
106 | 106 | |
107 | 107 | protected function _qst_display_text_stop() { |
108 | - return '<p>' . __('This is the question that is displayed to registrants who are signing up for events.', 'event_espresso') . '</p>'; |
|
108 | + return '<p>'.__('This is the question that is displayed to registrants who are signing up for events.', 'event_espresso').'</p>'; |
|
109 | 109 | } |
110 | 110 | |
111 | 111 | protected function _qst_admin_label_stop() { |
112 | - return '<p>' . __('Helps you understand the difference between questions that may appear similar but are actually different.', 'event_espresso') . '</p>'; |
|
112 | + return '<p>'.__('Helps you understand the difference between questions that may appear similar but are actually different.', 'event_espresso').'</p>'; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | protected function _qst_admin_only_stop() { |
116 | - return '<p>' . __('Specify whether this question should be shown only to the admins.', 'event_espresso') . '</p>'; |
|
116 | + return '<p>'.__('Specify whether this question should be shown only to the admins.', 'event_espresso').'</p>'; |
|
117 | 117 | } |
118 | 118 | |
119 | 119 | protected function _qst_type_stop() { |
120 | - return '<p>' . __('Select the type of question. Available options are text, textarea, single, multiple, dropdown, and date.', 'event_espresso') . '</p>'; |
|
120 | + return '<p>'.__('Select the type of question. Available options are text, textarea, single, multiple, dropdown, and date.', 'event_espresso').'</p>'; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | protected function _qst_required_stop() { |
124 | - return '<p>' . __('Specify whether this question should be required.', 'event_espresso') . '</p>'; |
|
124 | + return '<p>'.__('Specify whether this question should be required.', 'event_espresso').'</p>'; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | protected function _qst_required_text_stop() { |
128 | - return '<p>' . __('Text to display when registrant does not answer question but is required to.', 'event_espresso') . '</p>'; |
|
128 | + return '<p>'.__('Text to display when registrant does not answer question but is required to.', 'event_espresso').'</p>'; |
|
129 | 129 | } |
130 | 130 | |
131 | 131 | } |
132 | 132 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |
@@ -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 | /** |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | ) |
43 | 43 | ); |
44 | 44 | |
45 | - if ( $this->_is_caf ) { |
|
45 | + if ($this->_is_caf) { |
|
46 | 46 | $this->_stops[15] = array( |
47 | 47 | 'id' => 'id', |
48 | 48 | 'content' => $this->_id_stop(), |
@@ -111,45 +111,45 @@ discard block |
||
111 | 111 | |
112 | 112 | |
113 | 113 | protected function _start() { |
114 | - $content = '<h3>' . __('Question Groups', 'event_espresso') . '</h3>'; |
|
115 | - if ( $this->_is_caf ) { |
|
116 | - $content .= '<p>' . __('This tour of the Question Groups page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
114 | + $content = '<h3>'.__('Question Groups', 'event_espresso').'</h3>'; |
|
115 | + if ($this->_is_caf) { |
|
116 | + $content .= '<p>'.__('This tour of the Question Groups page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
117 | 117 | } else { |
118 | - $content .= '<p>' . __('Sorry, Event Espresso Decaf does not have this feature. Please purchase a support license to get access to this feature.', 'event_espresso') . '</p>'; |
|
118 | + $content .= '<p>'.__('Sorry, Event Espresso Decaf does not have this feature. Please purchase a support license to get access to this feature.', 'event_espresso').'</p>'; |
|
119 | 119 | } |
120 | 120 | |
121 | 121 | return $content; |
122 | 122 | } |
123 | 123 | |
124 | 124 | protected function _id_stop() { |
125 | - return '<p>' . __('View the ID of the question group. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
125 | + return '<p>'.__('View the ID of the question group. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | protected function _name_stop() { |
129 | - return '<p>' . __('View available questions groups. You can reorder your questions by dragging and dropping them.', 'event_espresso') . '</p>'; |
|
129 | + return '<p>'.__('View available questions groups. You can reorder your questions by dragging and dropping them.', 'event_espresso').'</p>'; |
|
130 | 130 | } |
131 | 131 | |
132 | 132 | protected function _description_stop() { |
133 | - return '<p>' . __('View the question group description.', 'event_espresso') . '</p>'; |
|
133 | + return '<p>'.__('View the question group description.', 'event_espresso').'</p>'; |
|
134 | 134 | } |
135 | 135 | |
136 | 136 | protected function _show_group_name_stop() { |
137 | - return '<p>' . __('View if the name of the question group should be shown to customers.', 'event_espresso') . '</p>'; |
|
137 | + return '<p>'.__('View if the name of the question group should be shown to customers.', 'event_espresso').'</p>'; |
|
138 | 138 | } |
139 | 139 | |
140 | 140 | protected function _show_group_description_stop() { |
141 | - return '<p>' . __('View if the description of the question group should be shown to customers.', 'event_espresso') . '</p>'; |
|
141 | + return '<p>'.__('View if the description of the question group should be shown to customers.', 'event_espresso').'</p>'; |
|
142 | 142 | } |
143 | 143 | |
144 | 144 | protected function _bulk_actions_stop() { |
145 | - return '<p>' . __('Perform bulk actions to multiple question groups.', 'event_espresso') . '</p>'; |
|
145 | + return '<p>'.__('Perform bulk actions to multiple question groups.', 'event_espresso').'</p>'; |
|
146 | 146 | } |
147 | 147 | |
148 | 148 | protected function _search_stop() { |
149 | - return '<p>' . __('Search through questions. The following sources will be searched: question group name and question group description.', 'event_espresso') . '</p>'; |
|
149 | + return '<p>'.__('Search through questions. The following sources will be searched: question group name and question group description.', 'event_espresso').'</p>'; |
|
150 | 150 | } |
151 | 151 | |
152 | 152 | protected function _add_new_question_group_stop() { |
153 | - return '<p>' . __('Click here to create a new question group.', 'event_espresso') . '</p>'; |
|
153 | + return '<p>'.__('Click here to create a new question group.', 'event_espresso').'</p>'; |
|
154 | 154 | } |
155 | 155 | } |
156 | 156 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |
@@ -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 | /** |
@@ -116,30 +116,30 @@ discard block |
||
116 | 116 | |
117 | 117 | |
118 | 118 | protected function _start() { |
119 | - $content = '<h3>' . __('Questions Overview', 'event_espresso') . '</h3>'; |
|
120 | - $content .= '<p>' . __('This tour of the Questions Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
119 | + $content = '<h3>'.__('Questions Overview', 'event_espresso').'</h3>'; |
|
120 | + $content .= '<p>'.__('This tour of the Questions Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
121 | 121 | |
122 | 122 | return $content; |
123 | 123 | } |
124 | 124 | |
125 | 125 | protected function _display_text_stop() { |
126 | - return '<p>' . __('View available questions. You can reorder your questions by dragging and dropping them.', 'event_espresso') . '</p>'; |
|
126 | + return '<p>'.__('View available questions. You can reorder your questions by dragging and dropping them.', 'event_espresso').'</p>'; |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | protected function _admin_label_stop() { |
130 | - return '<p>' . __('View the admin label for your questions.', 'event_espresso') . '</p>'; |
|
130 | + return '<p>'.__('View the admin label for your questions.', 'event_espresso').'</p>'; |
|
131 | 131 | } |
132 | 132 | |
133 | 133 | protected function _type_stop() { |
134 | - return '<p>' . __('View the type of question. Available options are Text, Textarea, Checkboxes, Radio Buttons, Dropdown, State/Province Dropdown, Country Dropdown, and Date Picker.', 'event_espresso') . '</p>'; |
|
134 | + return '<p>'.__('View the type of question. Available options are Text, Textarea, Checkboxes, Radio Buttons, Dropdown, State/Province Dropdown, Country Dropdown, and Date Picker.', 'event_espresso').'</p>'; |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | protected function _values_stop() { |
138 | - return '<p>' . __('View stored values for checkboxes, radio buttons, and select boxes.', 'event_espresso') . '</p>'; |
|
138 | + return '<p>'.__('View stored values for checkboxes, radio buttons, and select boxes.', 'event_espresso').'</p>'; |
|
139 | 139 | } |
140 | 140 | |
141 | 141 | protected function _required_stop() { |
142 | - return '<p>' . __('View if a question is required.', 'event_espresso') . '</p>'; |
|
142 | + return '<p>'.__('View if a question is required.', 'event_espresso').'</p>'; |
|
143 | 143 | } |
144 | 144 | |
145 | 145 | /* protected function _bulk_actions_stop() { |
@@ -147,11 +147,11 @@ discard block |
||
147 | 147 | } */ |
148 | 148 | |
149 | 149 | protected function _search_stop() { |
150 | - return '<p>' . __('Search through questions. The following sources will be searched: Name of Question (display text).', 'event_espresso') . '</p>'; |
|
150 | + return '<p>'.__('Search through questions. The following sources will be searched: Name of Question (display text).', 'event_espresso').'</p>'; |
|
151 | 151 | } |
152 | 152 | |
153 | 153 | protected function _add_new_question_stop() { |
154 | - return '<p>' . __('Click here to add a new question.', 'event_espresso') . '</p>'; |
|
154 | + return '<p>'.__('Click here to add a new question.', 'event_espresso').'</p>'; |
|
155 | 155 | } |
156 | 156 | |
157 | 157 | } |
158 | 158 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |
@@ -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 | /** |
@@ -98,34 +98,34 @@ discard block |
||
98 | 98 | |
99 | 99 | |
100 | 100 | protected function _start() { |
101 | - $content = '<h3>' . __('Registration Form Settings', 'event_espresso') . '</h3>'; |
|
102 | - $content .= '<p>' . __('This tour of the Registration Form Settings page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
101 | + $content = '<h3>'.__('Registration Form Settings', 'event_espresso').'</h3>'; |
|
102 | + $content .= '<p>'.__('This tour of the Registration Form Settings page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
103 | 103 | |
104 | 104 | return $content; |
105 | 105 | } |
106 | 106 | |
107 | 107 | protected function _use_recaptcha_stop() { |
108 | - return '<p>' . __('Specify whether reCAPTCHA should be enabled.', 'event_espresso') . '</p>'; |
|
108 | + return '<p>'.__('Specify whether reCAPTCHA should be enabled.', 'event_espresso').'</p>'; |
|
109 | 109 | } |
110 | 110 | |
111 | 111 | protected function _recaptcha_public_key_stop() { |
112 | - return '<p>' . __('Enter your public key for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
112 | + return '<p>'.__('Enter your public key for reCAPTCHA.', 'event_espresso').'</p>'; |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | protected function _recaptcha_private_key_stop() { |
116 | - return '<p>' . __('Enter your private key for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
116 | + return '<p>'.__('Enter your private key for reCAPTCHA.', 'event_espresso').'</p>'; |
|
117 | 117 | } |
118 | 118 | |
119 | 119 | protected function _recaptcha_theme_stop() { |
120 | - return '<p>' . __('Select a theme (style) for your reCAPTCHA.', 'event_espresso') . '</p>'; |
|
120 | + return '<p>'.__('Select a theme (style) for your reCAPTCHA.', 'event_espresso').'</p>'; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | protected function _recaptcha_language_stop() { |
124 | - return '<p>' . __('Specify the language that should be used for reCAPTCHA.', 'event_espresso') . '</p>'; |
|
124 | + return '<p>'.__('Specify the language that should be used for reCAPTCHA.', 'event_espresso').'</p>'; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | protected function _recaptcha_width_stop() { |
128 | - return '<p>' . __('Specify how wide (in pixels) the reCAPTCHA form should be.', 'event_espresso') . '</p>'; |
|
128 | + return '<p>'.__('Specify how wide (in pixels) the reCAPTCHA form should be.', 'event_espresso').'</p>'; |
|
129 | 129 | } |
130 | 130 | |
131 | 131 | } |
132 | 132 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |
@@ -92,7 +92,7 @@ |
||
92 | 92 | <input type="hidden" id="QST_type" name="QST_type" value="<?php echo $question->type()?>"/> |
93 | 93 | <?php |
94 | 94 | $explanatory_text = __('System question! This field cannot be changed.','event_espresso'); |
95 | - }else{ |
|
95 | + } else{ |
|
96 | 96 | $explanatory_text = __('Because there are currently answers for this question in the database, your options to change the question type have been limited to similar question-types.','event_espresso'); |
97 | 97 | } |
98 | 98 | if ( ! empty( $QST_system ) || $has_answers ) { ?> |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | <tbody> |
22 | 22 | <tr> |
23 | 23 | <th> |
24 | - <label for="QST_display_text"><?php echo $fields['QST_display_text']->get_nicename();?></label> <?php echo EEH_Template::get_help_tab_link('question_text_info');?> |
|
24 | + <label for="QST_display_text"><?php echo $fields['QST_display_text']->get_nicename(); ?></label> <?php echo EEH_Template::get_help_tab_link('question_text_info'); ?> |
|
25 | 25 | </th> |
26 | 26 | <td> |
27 | 27 | <input type="text" class="regular-text" id="QST_display_text" name="QST_display_text" value="<?php $question->f('QST_display_text')?>"/> |
@@ -31,23 +31,23 @@ discard block |
||
31 | 31 | |
32 | 32 | <tr> |
33 | 33 | <th> |
34 | - <label for="QST_admin_label"><?php echo $fields['QST_admin_label']->get_nicename();?></label> <?php echo EEH_Template::get_help_tab_link('question_label_info');?> |
|
34 | + <label for="QST_admin_label"><?php echo $fields['QST_admin_label']->get_nicename(); ?></label> <?php echo EEH_Template::get_help_tab_link('question_label_info'); ?> |
|
35 | 35 | </th> |
36 | 36 | <td> |
37 | 37 | <?php |
38 | - $disabled = ! empty( $QST_system ) ? ' disabled="disabled"' : ''; |
|
39 | - $id = ! empty( $QST_system ) ? '_disabled' : ''; |
|
38 | + $disabled = ! empty($QST_system) ? ' disabled="disabled"' : ''; |
|
39 | + $id = ! empty($QST_system) ? '_disabled' : ''; |
|
40 | 40 | ?> |
41 | 41 | <input type="text" class="regular-text" id="QST_admin_label<?php echo $id?>" name="QST_admin_label<?php echo $id?>" value="<?php $question->f('QST_admin_label')?>"<?php echo $disabled?>/> |
42 | 42 | <input class="QST_order" type="hidden" id="QST_order<?php echo $id; ?>" name = "QST_order<?php echo $id; ?>" value="<?php echo $question->get('QST_order'); ?>" /> |
43 | - <?php if ( ! empty( $QST_system )) { ?> |
|
43 | + <?php if ( ! empty($QST_system)) { ?> |
|
44 | 44 | <input type="hidden" id="QST_admin_label" name="QST_admin_label" value="<?php echo $question->admin_label()?>"/> |
45 | 45 | <?php } ?> |
46 | 46 | <br/> |
47 | 47 | <p class="description"> |
48 | - <?php if ( ! empty( $QST_system )) { ?> |
|
48 | + <?php if ( ! empty($QST_system)) { ?> |
|
49 | 49 | <span class="description" style="color:#D54E21;"> |
50 | - <?php _e('System question! This field cannot be changed.','event_espresso')?> |
|
50 | + <?php _e('System question! This field cannot be changed.', 'event_espresso')?> |
|
51 | 51 | </span> |
52 | 52 | <?php } ?> |
53 | 53 | |
@@ -57,21 +57,21 @@ discard block |
||
57 | 57 | |
58 | 58 | <tr> |
59 | 59 | <th> |
60 | - <label for="QST_admin_only"><?php echo $fields['QST_admin_only']->get_nicename();?></label> <?php echo EEH_Template::get_help_tab_link('question_admin_only_info');?> |
|
60 | + <label for="QST_admin_only"><?php echo $fields['QST_admin_only']->get_nicename(); ?></label> <?php echo EEH_Template::get_help_tab_link('question_admin_only_info'); ?> |
|
61 | 61 | </th> |
62 | 62 | <td> |
63 | 63 | <?php |
64 | - $disabled = ! empty( $QST_system ) ? ' disabled="disabled"' : ''; |
|
65 | - $id = ! empty( $QST_system ) ? '_disabled' : ''; |
|
64 | + $disabled = ! empty($QST_system) ? ' disabled="disabled"' : ''; |
|
65 | + $id = ! empty($QST_system) ? '_disabled' : ''; |
|
66 | 66 | $admin_only = $question->get('QST_admin_only'); |
67 | - $checked = !empty( $admin_only ) ? ' checked="checked"' : ''; |
|
67 | + $checked = ! empty($admin_only) ? ' checked="checked"' : ''; |
|
68 | 68 | ?> |
69 | 69 | <input class="QST_admin_only" type="checkbox" id="QST_admin_only<?php echo $id; ?>" name = "QST_admin_only<?php echo $id; ?>" value="1"<?php echo $disabled; echo $checked; ?>/> |
70 | 70 | <br/> |
71 | 71 | <p class="description"> |
72 | - <?php if ( ! empty( $QST_system )) { ?> |
|
72 | + <?php if ( ! empty($QST_system)) { ?> |
|
73 | 73 | <span class="description" style="color:#D54E21;"> |
74 | - <?php _e('System question! This field cannot be changed.','event_espresso')?> |
|
74 | + <?php _e('System question! This field cannot be changed.', 'event_espresso')?> |
|
75 | 75 | </span> |
76 | 76 | <?php } ?> |
77 | 77 | |
@@ -81,21 +81,21 @@ discard block |
||
81 | 81 | |
82 | 82 | <tr> |
83 | 83 | <th> |
84 | - <label for="QST_type"><?php echo $fields['QST_type']->get_nicename();?></label> <?php echo EEH_Template::get_help_tab_link('question_type_info');?> |
|
84 | + <label for="QST_type"><?php echo $fields['QST_type']->get_nicename(); ?></label> <?php echo EEH_Template::get_help_tab_link('question_type_info'); ?> |
|
85 | 85 | </th> |
86 | 86 | <td> |
87 | 87 | <?php |
88 | - $disabled = ! empty( $QST_system ) ? ' disabled="disabled"' : ''; |
|
89 | - $id = ! empty( $QST_system ) ? '_disabled' : ''; |
|
90 | - echo EEH_Form_Fields::select_input( 'QST_type' . $id, $question_types, $question->type(), 'id="QST_type' . $id . '"' . $disabled ); |
|
91 | - if( ! empty( $QST_system ) ) { ?> |
|
88 | + $disabled = ! empty($QST_system) ? ' disabled="disabled"' : ''; |
|
89 | + $id = ! empty($QST_system) ? '_disabled' : ''; |
|
90 | + echo EEH_Form_Fields::select_input('QST_type'.$id, $question_types, $question->type(), 'id="QST_type'.$id.'"'.$disabled); |
|
91 | + if ( ! empty($QST_system)) { ?> |
|
92 | 92 | <input type="hidden" id="QST_type" name="QST_type" value="<?php echo $question->type()?>"/> |
93 | 93 | <?php |
94 | - $explanatory_text = __('System question! This field cannot be changed.','event_espresso'); |
|
95 | - }else{ |
|
96 | - $explanatory_text = __('Because there are currently answers for this question in the database, your options to change the question type have been limited to similar question-types.','event_espresso'); |
|
94 | + $explanatory_text = __('System question! This field cannot be changed.', 'event_espresso'); |
|
95 | + } else { |
|
96 | + $explanatory_text = __('Because there are currently answers for this question in the database, your options to change the question type have been limited to similar question-types.', 'event_espresso'); |
|
97 | 97 | } |
98 | - if ( ! empty( $QST_system ) || $has_answers ) { ?> |
|
98 | + if ( ! empty($QST_system) || $has_answers) { ?> |
|
99 | 99 | <p><span class="description" style="color:#D54E21;"> |
100 | 100 | <?php echo $explanatory_text; ?> |
101 | 101 | </span></p> |
@@ -108,22 +108,22 @@ discard block |
||
108 | 108 | <tr id="text_input_question_options"> |
109 | 109 | <th> |
110 | 110 | <label> |
111 | - <?php _e( 'Maximum Allowed Response Size', 'event_espresso' );?> |
|
111 | + <?php _e('Maximum Allowed Response Size', 'event_espresso'); ?> |
|
112 | 112 | </label> |
113 | 113 | </th> |
114 | 114 | <td> |
115 | - <input id="QST_max" name="QST_max" type="number" <?php echo $max_max === EE_INF ? '' : "max='$max_max'";?> value="<?php $question->f( 'QST_max' );?>" min="1"> |
|
115 | + <input id="QST_max" name="QST_max" type="number" <?php echo $max_max === EE_INF ? '' : "max='$max_max'"; ?> value="<?php $question->f('QST_max'); ?>" min="1"> |
|
116 | 116 | <p> |
117 | 117 | <span class="description"> |
118 | - <?php _e( 'Maximum number of characters allowed when answering this question', 'event_espresso' );?> |
|
118 | + <?php _e('Maximum number of characters allowed when answering this question', 'event_espresso'); ?> |
|
119 | 119 | </span> |
120 | 120 | </p> |
121 | - <?php if ( $QST_system ) { ?> |
|
121 | + <?php if ($QST_system) { ?> |
|
122 | 122 | <p> |
123 | 123 | <span class="description" style="color:#D54E21;"> |
124 | 124 | <?php printf( |
125 | - __( 'System question! The maximum number of characters that can be used for this question is %1$s', 'event_espresso' ), |
|
126 | - $max_max );?> |
|
125 | + __('System question! The maximum number of characters that can be used for this question is %1$s', 'event_espresso'), |
|
126 | + $max_max ); ?> |
|
127 | 127 | </span> |
128 | 128 | </p> |
129 | 129 | <?php } ?> |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | <tr id="question_options"> |
133 | 133 | <th> |
134 | 134 | <label> |
135 | - <?php _e('Answer Options','event_espresso')?> |
|
135 | + <?php _e('Answer Options', 'event_espresso')?> |
|
136 | 136 | </label> |
137 | 137 | </th> |
138 | 138 | <td> |
@@ -141,10 +141,10 @@ discard block |
||
141 | 141 | <thead> |
142 | 142 | <tr> |
143 | 143 | <th class="option-value-header"> |
144 | - <?php _e('Value','event_espresso')?> |
|
144 | + <?php _e('Value', 'event_espresso')?> |
|
145 | 145 | </th> |
146 | 146 | <th class="option-desc-header"> |
147 | - <?php _e('Description (optional, only shown on registration form)','event_espresso')?> |
|
147 | + <?php _e('Description (optional, only shown on registration form)', 'event_espresso')?> |
|
148 | 148 | </th> |
149 | 149 | <th> |
150 | 150 | </th> |
@@ -167,17 +167,17 @@ discard block |
||
167 | 167 | </tr> |
168 | 168 | |
169 | 169 | <?php |
170 | - $count=0; |
|
170 | + $count = 0; |
|
171 | 171 | $question_options = $question->options(); |
172 | - if ( ! empty( $question_options )) { |
|
173 | - foreach( $question_options as $option_id => $option ) { |
|
174 | - $disabled = $has_answers || $option->get('QSO_system') ? ' disabled="disabled"' : ''; |
|
172 | + if ( ! empty($question_options)) { |
|
173 | + foreach ($question_options as $option_id => $option) { |
|
174 | + $disabled = $has_answers || $option->get('QSO_system') ? ' disabled="disabled"' : ''; |
|
175 | 175 | ?> |
176 | 176 | <tr class="question-option ee-options-sortable"> |
177 | 177 | <td class="option-value-cell"> |
178 | 178 | <input type="hidden" class="QSO_order" name="question_options[<?php echo $count; ?>][QSO_order]" value="<?php echo $count; ?>"> |
179 | 179 | <input type="text" class="option-value regular-text" name="question_options[<?php echo $count?>][QSO_value]" value="<?php $option->f('QSO_value')?>"<?php echo $disabled; ?>> |
180 | - <?php if ( $has_answers ) : ?> |
|
180 | + <?php if ($has_answers) : ?> |
|
181 | 181 | <input type="hidden" name="question_options[<?php echo $count; ?>][QSO_value]" value="<?php echo $option->f('QSO_value'); ?>" > |
182 | 182 | <?php endif; ?> |
183 | 183 | </td> |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | <input type="text" class="option-desc regular-text" name="question_options[<?php echo $count?>][QSO_desc]" value="<?php $option->f('QSO_desc')?>"> |
186 | 186 | </td> |
187 | 187 | <td> |
188 | - <?php if ( ! $option->system() ) { ?> |
|
188 | + <?php if ( ! $option->system()) { ?> |
|
189 | 189 | <span class="dashicons clickable dashicons-post-trash ee-icon-size-18 remove-option remove-item"></span> |
190 | 190 | <?php } ?> |
191 | 191 | <span class="dashicons dashicons-image-flip-vertical sortable-drag-handle ee-icon-size-18"></span> |
@@ -224,13 +224,13 @@ discard block |
||
224 | 224 | </table> |
225 | 225 | |
226 | 226 | <a id="new-question-option" class="button" style="margin:0 0 1em 3px;"> |
227 | - <?php _e('Add Another Answer Option','event_espresso')?> |
|
227 | + <?php _e('Add Another Answer Option', 'event_espresso')?> |
|
228 | 228 | </a><br/> |
229 | 229 | |
230 | 230 | <p class="description"> |
231 | - <?php _e('Answer Options are the choices that you give people to select from for RADIO_BTN, CHECKBOX or DROPDOWN questions. The Value is a simple key that will be saved to the database and the description is optional. Note that values CANNOT contain any HTML, but descriptions can.','event_espresso')?> |
|
231 | + <?php _e('Answer Options are the choices that you give people to select from for RADIO_BTN, CHECKBOX or DROPDOWN questions. The Value is a simple key that will be saved to the database and the description is optional. Note that values CANNOT contain any HTML, but descriptions can.', 'event_espresso')?> |
|
232 | 232 | </p> |
233 | - <?php if ( $has_answers ) : ?> |
|
233 | + <?php if ($has_answers) : ?> |
|
234 | 234 | <p class="description" style="color:#D54E21;"> |
235 | 235 | <?php _e('Answer values that are uneditable are this way because there are registrations in the database that have answers for this question. If you need to correct a mistake, or edit an existing option value, then trash the existing one and create a new option with the changes. This will ensure that the existing registrations that chose the original answer will preserve that answer.', 'event_espresso'); ?> |
236 | 236 | </p> |
@@ -241,32 +241,32 @@ discard block |
||
241 | 241 | |
242 | 242 | <tr> |
243 | 243 | <th> |
244 | - <label for="QST_required"><?php echo $fields['QST_required']->get_nicename();?></label> <?php echo EEH_Template::get_help_tab_link('required_question_info');?> |
|
244 | + <label for="QST_required"><?php echo $fields['QST_required']->get_nicename(); ?></label> <?php echo EEH_Template::get_help_tab_link('required_question_info'); ?> |
|
245 | 245 | </th> |
246 | 246 | <td> |
247 | 247 | <?php |
248 | - $system_required = array( 'fname', 'email' ); |
|
249 | - $disabled = in_array( $QST_system, $system_required ) ? ' disabled="disabled"' : ''; |
|
248 | + $system_required = array('fname', 'email'); |
|
249 | + $disabled = in_array($QST_system, $system_required) ? ' disabled="disabled"' : ''; |
|
250 | 250 | $required_on = $question->get('QST_admin_only'); |
251 | 251 | $show_required_msg = $required_on ? '' : ' display:none;'; |
252 | - $disabled = $required_on || ! empty( $disabled ) ? ' disabled="disabled"' : ''; |
|
253 | - $id = ! empty( $disabled ) && in_array( $QST_system, $system_required) ? '_disabled' : ''; |
|
254 | - $requiredOptions=array( |
|
255 | - array('text'=>'Optional','id'=>0), |
|
256 | - array('text'=>'Required','id'=>1) |
|
252 | + $disabled = $required_on || ! empty($disabled) ? ' disabled="disabled"' : ''; |
|
253 | + $id = ! empty($disabled) && in_array($QST_system, $system_required) ? '_disabled' : ''; |
|
254 | + $requiredOptions = array( |
|
255 | + array('text'=>'Optional', 'id'=>0), |
|
256 | + array('text'=>'Required', 'id'=>1) |
|
257 | 257 | ); |
258 | - echo EEH_Form_Fields::select_input('QST_required' . $id, $requiredOptions, $question->required(), 'id="QST_required' . $id . '"' . $disabled ); |
|
258 | + echo EEH_Form_Fields::select_input('QST_required'.$id, $requiredOptions, $question->required(), 'id="QST_required'.$id.'"'.$disabled); |
|
259 | 259 | ?> |
260 | 260 | <p><span id="required_toggled_on" class="description" style="color:#D54E21;<?php echo $show_required_msg; ?>"> |
261 | - <?php _e('Required is set to optional, and this field is disabled, because the question is Admin-Only.','event_espresso')?> |
|
261 | + <?php _e('Required is set to optional, and this field is disabled, because the question is Admin-Only.', 'event_espresso')?> |
|
262 | 262 | </span></p> |
263 | 263 | <p><span id="required_toggled_off" class="description" style="color:#D54E21; display: none;"> |
264 | - <?php _e('Required option field is no longer disabled because the question is not Admin-Only','event_espresso')?> |
|
264 | + <?php _e('Required option field is no longer disabled because the question is not Admin-Only', 'event_espresso')?> |
|
265 | 265 | </span></p> |
266 | - <?php if ( ! empty( $disabled ) && in_array( $QST_system, $system_required ) ) { ?> |
|
266 | + <?php if ( ! empty($disabled) && in_array($QST_system, $system_required)) { ?> |
|
267 | 267 | <input type="hidden" id="QST_required" name="QST_required" value="1"/> |
268 | 268 | <p><span class="description" style="color:#D54E21;"> |
269 | - <?php _e('System question! This field cannot be changed.','event_espresso')?> |
|
269 | + <?php _e('System question! This field cannot be changed.', 'event_espresso')?> |
|
270 | 270 | </span></p> |
271 | 271 | <?php } ?> |
272 | 272 | |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | |
276 | 276 | <tr> |
277 | 277 | <th> |
278 | - <label for="QST_required_text"><?php _e('Required Text', 'event_espresso'); ?></label> <?php echo EEH_Template::get_help_tab_link('required_text_info');?> |
|
278 | + <label for="QST_required_text"><?php _e('Required Text', 'event_espresso'); ?></label> <?php echo EEH_Template::get_help_tab_link('required_text_info'); ?> |
|
279 | 279 | </th> |
280 | 280 | <td> |
281 | 281 | <input type="text" class="regular-text" id="QST_required_text" name="QST_required_text" value="<?php $question->f('QST_required_text')?>"/> |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * |
22 | 22 | * ------------------------------------------------------------------------ |
23 | 23 | */ |
24 | -class Registrations_Admin_Page_Init extends EE_Admin_Page_CPT_Init { |
|
24 | +class Registrations_Admin_Page_Init extends EE_Admin_Page_CPT_Init { |
|
25 | 25 | |
26 | 26 | |
27 | 27 | |
@@ -34,16 +34,16 @@ discard block |
||
34 | 34 | * @return void |
35 | 35 | */ |
36 | 36 | public function __construct() { |
37 | - do_action( 'AHEE_log', __FILE__, __FUNCTION__, '' ); |
|
38 | - if ( ! defined( 'REG_PG_SLUG' ) ) { |
|
39 | - define( 'REG_PG_SLUG', 'espresso_registrations' ); |
|
40 | - define( 'REG_PG_NAME', ucwords( str_replace( '_', '', REG_PG_SLUG ))); |
|
41 | - define( 'REG_ADMIN', EE_ADMIN_PAGES . 'registrations' . DS ); |
|
42 | - define( 'REG_ADMIN_URL', admin_url( 'admin.php?page=' . REG_PG_SLUG )); |
|
43 | - define( 'REG_ASSETS_PATH', REG_ADMIN . 'assets' . DS ); |
|
44 | - define( 'REG_ASSETS_URL', EE_ADMIN_PAGES_URL . 'registrations/assets/' ); |
|
45 | - define( 'REG_TEMPLATE_PATH', REG_ADMIN . 'templates' . DS ); |
|
46 | - define( 'REG_TEMPLATE_URL', EE_ADMIN_PAGES_URL . 'registrations/templates/' ); |
|
37 | + do_action('AHEE_log', __FILE__, __FUNCTION__, ''); |
|
38 | + if ( ! defined('REG_PG_SLUG')) { |
|
39 | + define('REG_PG_SLUG', 'espresso_registrations'); |
|
40 | + define('REG_PG_NAME', ucwords(str_replace('_', '', REG_PG_SLUG))); |
|
41 | + define('REG_ADMIN', EE_ADMIN_PAGES.'registrations'.DS); |
|
42 | + define('REG_ADMIN_URL', admin_url('admin.php?page='.REG_PG_SLUG)); |
|
43 | + define('REG_ASSETS_PATH', REG_ADMIN.'assets'.DS); |
|
44 | + define('REG_ASSETS_URL', EE_ADMIN_PAGES_URL.'registrations/assets/'); |
|
45 | + define('REG_TEMPLATE_PATH', REG_ADMIN.'templates'.DS); |
|
46 | + define('REG_TEMPLATE_URL', EE_ADMIN_PAGES_URL.'registrations/templates/'); |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | parent::__construct(); |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | |
61 | 61 | protected function _set_menu_map() { |
62 | - $this->_menu_map = new EE_Admin_Page_Sub_Menu( array( |
|
62 | + $this->_menu_map = new EE_Admin_Page_Sub_Menu(array( |
|
63 | 63 | 'menu_group' => 'main', |
64 | 64 | 'menu_order' => 40, |
65 | 65 | 'show_on_menu' => EE_Admin_Page_Menu_Map::BLOG_ADMIN_ONLY, |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) exit('No direct script access allowed'); |
|
1 | +<?php if ( ! defined('EVENT_ESPRESSO_VERSION')) { |
|
2 | + exit('No direct script access allowed'); |
|
3 | +} |
|
2 | 4 | /** |
3 | 5 | * Event Espresso |
4 | 6 | * |
@@ -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 | /** |
@@ -153,57 +153,57 @@ discard block |
||
153 | 153 | |
154 | 154 | |
155 | 155 | protected function _start() { |
156 | - $content = '<h3>' . __('Contact List', 'event_espresso') . '</h3>'; |
|
157 | - $content .= '<p>' . __('This tour of the Contact List page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
156 | + $content = '<h3>'.__('Contact List', 'event_espresso').'</h3>'; |
|
157 | + $content .= '<p>'.__('This tour of the Contact List page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
158 | 158 | return $content; |
159 | 159 | } |
160 | 160 | |
161 | 161 | protected function _attendee_id_stop() { |
162 | - return '<p>' . __('View ID for registrants. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
162 | + return '<p>'.__('View ID for registrants. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
163 | 163 | } |
164 | 164 | |
165 | 165 | protected function _attendee_name_stop() { |
166 | - return '<p>' . __('View first name for registrants. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
166 | + return '<p>'.__('View first name for registrants. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
167 | 167 | } |
168 | 168 | |
169 | 169 | protected function _att_lname_stop() { |
170 | - return '<p>' . __('View last name for registrants. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
170 | + return '<p>'.__('View last name for registrants. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
171 | 171 | } |
172 | 172 | |
173 | 173 | protected function _att_email_stop() { |
174 | - return '<p>' . __('View email address for registrants. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
174 | + return '<p>'.__('View email address for registrants. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
175 | 175 | } |
176 | 176 | |
177 | 177 | protected function _att_phone_stop() { |
178 | - return '<p>' . __('View phone number for registrants.', 'event_espresso') . '</p>'; |
|
178 | + return '<p>'.__('View phone number for registrants.', 'event_espresso').'</p>'; |
|
179 | 179 | } |
180 | 180 | |
181 | 181 | protected function _att_address_stop() { |
182 | - return '<p>' . __('View address for registrants.', 'event_espresso') . '</p>'; |
|
182 | + return '<p>'.__('View address for registrants.', 'event_espresso').'</p>'; |
|
183 | 183 | } |
184 | 184 | |
185 | 185 | protected function _att_city_stop() { |
186 | - return '<p>' . __('View city for registrants.', 'event_espresso') . '</p>'; |
|
186 | + return '<p>'.__('View city for registrants.', 'event_espresso').'</p>'; |
|
187 | 187 | } |
188 | 188 | |
189 | 189 | protected function _sta_id_stop() { |
190 | - return '<p>' . __('View state/province for registrants. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
190 | + return '<p>'.__('View state/province for registrants. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
191 | 191 | } |
192 | 192 | |
193 | 193 | protected function _cnt_iso_stop() { |
194 | - return '<p>' . __('View country for registrants. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
194 | + return '<p>'.__('View country for registrants. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
195 | 195 | } |
196 | 196 | |
197 | 197 | protected function _bulkactions_stop() { |
198 | - return '<p>' . __('Perform a bulk action to multiple registrants.', 'event_espresso') . '</p>'; |
|
198 | + return '<p>'.__('Perform a bulk action to multiple registrants.', 'event_espresso').'</p>'; |
|
199 | 199 | } |
200 | 200 | |
201 | 201 | protected function _search_stop() { |
202 | - return '<p>' . __('Search through contacts. The following sources will be searched: Event Name, Event Description, First Name, Last Name, Biography, Email Address, Address, Comments, Notes, Registration Final Price, and Registration Code.', 'event_espresso') . '</p>'; |
|
202 | + return '<p>'.__('Search through contacts. The following sources will be searched: Event Name, Event Description, First Name, Last Name, Biography, Email Address, Address, Comments, Notes, Registration Final Price, and Registration Code.', 'event_espresso').'</p>'; |
|
203 | 203 | } |
204 | 204 | |
205 | 205 | protected function _contact_list_csv_export_stop() { |
206 | - return '<p>' . __('Export your contact list to a CSV file.', 'event_espresso') . '</p>'; |
|
206 | + return '<p>'.__('Export your contact list to a CSV file.', 'event_espresso').'</p>'; |
|
207 | 207 | } |
208 | 208 | |
209 | 209 | } |
210 | 210 | \ No newline at end of file |
@@ -6,8 +6,9 @@ |
||
6 | 6 | * @package Event Espresso |
7 | 7 | * @subpackage messages |
8 | 8 | */ |
9 | -if (!defined('EVENT_ESPRESSO_VERSION') ) |
|
9 | +if (!defined('EVENT_ESPRESSO_VERSION') ) { |
|
10 | 10 | exit('NO direct script access allowed'); |
11 | +} |
|
11 | 12 | |
12 | 13 | /** |
13 | 14 | * |