@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | 'options' => array( |
56 | 56 | 'tipLocation' => 'right', |
57 | 57 | 'tipAdjustmentY' => -55, |
58 | - 'tipAdjustmentX' => 5 |
|
58 | + 'tipAdjustmentX' => 5 |
|
59 | 59 | ) |
60 | 60 | ), |
61 | 61 | 40 => array( |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | 'options' => array( |
65 | 65 | 'tipLocation' => 'top', |
66 | 66 | 'tipAdjustmentY' => -75, |
67 | - 'tipAdjustmentX' => 250 |
|
67 | + 'tipAdjustmentX' => 250 |
|
68 | 68 | ) |
69 | 69 | ) |
70 | 70 | ); |
@@ -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 | /** |
@@ -72,21 +72,21 @@ discard block |
||
72 | 72 | |
73 | 73 | |
74 | 74 | protected function _stop_one() { |
75 | - $content = '<h3>' . __('Add New Event Category', 'event_espresso') . '</h3>'; |
|
76 | - $content .= '<p>' . __('This tour of the Add New Event Category page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
75 | + $content = '<h3>'.__('Add New Event Category', 'event_espresso').'</h3>'; |
|
76 | + $content .= '<p>'.__('This tour of the Add New Event Category page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
77 | 77 | return $content; |
78 | 78 | } |
79 | 79 | |
80 | 80 | protected function _stop_two() { |
81 | - return '<p>' . __('Enter a name for your new category.', 'event_espresso') . '</p>'; |
|
81 | + return '<p>'.__('Enter a name for your new category.', 'event_espresso').'</p>'; |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | protected function _stop_three() { |
85 | - return '<p>' . __('Enter a unique ID for your new category.', 'event_espresso') . '</p>'; |
|
85 | + return '<p>'.__('Enter a unique ID for your new category.', 'event_espresso').'</p>'; |
|
86 | 86 | } |
87 | 87 | |
88 | 88 | protected function _stop_four() { |
89 | - return '<p>' . __('The rich text editor can be used to add information about your category. Images and links can also be added along with your text.', 'event_espresso') . '</p>'; |
|
89 | + return '<p>'.__('The rich text editor can be used to add information about your category. Images and links can also be added along with your text.', 'event_espresso').'</p>'; |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | } |
93 | 93 | \ 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 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | $this->_slug = 'event-categories-joyride'; |
35 | 35 | } |
36 | 36 | |
37 | - protected function _set_tour_stops() { |
|
37 | + protected function _set_tour_stops() { |
|
38 | 38 | $this->_stops = array( |
39 | 39 | 10 => array( |
40 | 40 | 'content' => $this->_start(), |
@@ -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 | /** |
@@ -107,36 +107,36 @@ discard block |
||
107 | 107 | |
108 | 108 | |
109 | 109 | protected function _start() { |
110 | - $content = '<h3>' . __('Event Categories', 'event_espresso') . '</h3>'; |
|
111 | - $content .= '<p>' . __('This tour of the Event Categories page will provide an overview of the different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
110 | + $content = '<h3>'.__('Event Categories', 'event_espresso').'</h3>'; |
|
111 | + $content .= '<p>'.__('This tour of the Event Categories page will provide an overview of the different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
112 | 112 | return $content; |
113 | 113 | } |
114 | 114 | |
115 | 115 | protected function _id_stop() { |
116 | - return '<p>' . __('View the event category ID. Can be sorted by ascending or descending order.', 'event_espresso') . '</p>'; |
|
116 | + return '<p>'.__('View the event category ID. Can be sorted by ascending or descending order.', 'event_espresso').'</p>'; |
|
117 | 117 | } |
118 | 118 | |
119 | 119 | protected function _name_stop() { |
120 | - return '<p>' . __('View the name of each event category. Can be sorted by ascending or descending order.', 'event_espresso') . '</p>'; |
|
120 | + return '<p>'.__('View the name of each event category. Can be sorted by ascending or descending order.', 'event_espresso').'</p>'; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | protected function _shortcode_stop() { |
124 | - return '<p>' . __('View the shortcode for an event. This shortcode can be added to a WordPress post or WordPress page. ', 'event_espresso') . '</p>'; |
|
124 | + return '<p>'.__('View the shortcode for an event. This shortcode can be added to a WordPress post or WordPress page. ', 'event_espresso').'</p>'; |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | protected function _count_stop() { |
128 | - return '<p>' . __('View the number of events that are associated with an event category.', 'event_espresso') . '</p>'; |
|
128 | + return '<p>'.__('View the number of events that are associated with an event category.', 'event_espresso').'</p>'; |
|
129 | 129 | } |
130 | 130 | |
131 | 131 | protected function _bulk_actions_stop() { |
132 | - return '<p>' . __('Perform bulk actions to multiple event categories.', 'event_espresso') . '</p>'; |
|
132 | + return '<p>'.__('Perform bulk actions to multiple event categories.', 'event_espresso').'</p>'; |
|
133 | 133 | } |
134 | 134 | |
135 | 135 | protected function _search_stop() { |
136 | - return '<p>' . __('Search through event categories. The following sources will be searched: Event Category Name, Event Category Description.', 'event_espresso') . '</p>'; |
|
136 | + return '<p>'.__('Search through event categories. The following sources will be searched: Event Category Name, Event Category Description.', 'event_espresso').'</p>'; |
|
137 | 137 | } |
138 | 138 | |
139 | 139 | protected function _new_category_stop() { |
140 | - return '<p>' . __('Click here to add a new event category.', 'event_espresso') . '</p>'; |
|
140 | + return '<p>'.__('Click here to add a new event category.', 'event_espresso').'</p>'; |
|
141 | 141 | } |
142 | 142 | } |
143 | 143 | \ 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 |
@@ -59,7 +59,7 @@ |
||
59 | 59 | return $content; |
60 | 60 | } |
61 | 61 | |
62 | - //Options below are showing in full caps. Manually adding statuses and leaving code as is. |
|
62 | + //Options below are showing in full caps. Manually adding statuses and leaving code as is. |
|
63 | 63 | protected function _stop_two() { |
64 | 64 | return '<p>' . sprintf( __('Specify whether the default registration status be set to Approved, Not Approved, or Pending Payment.', 'event_espresso'), EEH_Template::pretty_status( EEM_Registration::status_id_not_approved, 'lowercase' ), EEH_Template::pretty_status( EEM_Registration::status_id_pending_payment, 'lowercase' ), EEH_Template::pretty_status( EEM_Registration::status_id_approved, 'lowercase' ) ) . '</p>'; |
65 | 65 | } |
@@ -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 | /** |
@@ -54,14 +54,14 @@ discard block |
||
54 | 54 | |
55 | 55 | |
56 | 56 | protected function _stop_one() { |
57 | - $content = '<h3>' . __('Event Default Settings', 'event_espresso') . '</h3>'; |
|
58 | - $content .= '<p>' . __('This tour of the Default Settings page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
57 | + $content = '<h3>'.__('Event Default Settings', 'event_espresso').'</h3>'; |
|
58 | + $content .= '<p>'.__('This tour of the Default Settings page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
59 | 59 | return $content; |
60 | 60 | } |
61 | 61 | |
62 | 62 | //Options below are showing in full caps. Manually adding statuses and leaving code as is. |
63 | 63 | protected function _stop_two() { |
64 | - return '<p>' . sprintf( __('Specify whether the default registration status be set to Approved, Not Approved, or Pending Payment.', 'event_espresso'), EEH_Template::pretty_status( EEM_Registration::status_id_not_approved, 'lowercase' ), EEH_Template::pretty_status( EEM_Registration::status_id_pending_payment, 'lowercase' ), EEH_Template::pretty_status( EEM_Registration::status_id_approved, 'lowercase' ) ) . '</p>'; |
|
64 | + return '<p>'.sprintf(__('Specify whether the default registration status be set to Approved, Not Approved, or Pending Payment.', 'event_espresso'), EEH_Template::pretty_status(EEM_Registration::status_id_not_approved, 'lowercase'), EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, 'lowercase'), EEH_Template::pretty_status(EEM_Registration::status_id_approved, 'lowercase')).'</p>'; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | } |
68 | 68 | \ 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 | /** |
@@ -72,21 +72,21 @@ discard block |
||
72 | 72 | |
73 | 73 | |
74 | 74 | protected function _stop_one() { |
75 | - $content = '<h3>' . __('Edit Event Category', 'event_espresso') . '</h3>'; |
|
76 | - $content .= '<p>' . __('This tour of the Edit Event Category page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
75 | + $content = '<h3>'.__('Edit Event Category', 'event_espresso').'</h3>'; |
|
76 | + $content .= '<p>'.__('This tour of the Edit Event Category page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
77 | 77 | return $content; |
78 | 78 | } |
79 | 79 | |
80 | 80 | protected function _stop_two() { |
81 | - return '<p>' . __('Edit the name for your category.', 'event_espresso') . '</p>'; |
|
81 | + return '<p>'.__('Edit the name for your category.', 'event_espresso').'</p>'; |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | protected function _stop_three() { |
85 | - return '<p>' . __('The unique ID for your category cannot be changed.', 'event_espresso') . '</p>'; |
|
85 | + return '<p>'.__('The unique ID for your category cannot be changed.', 'event_espresso').'</p>'; |
|
86 | 86 | } |
87 | 87 | |
88 | 88 | protected function _stop_four() { |
89 | - return '<p>' . __('The rich text editor can be used to edit information about your category. Images and links can also be added or removed along with your text.', 'event_espresso') . '</p>'; |
|
89 | + return '<p>'.__('The rich text editor can be used to edit information about your category. Images and links can also be added or removed along with your text.', 'event_espresso').'</p>'; |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | } |
93 | 93 | \ No newline at end of file |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | 'options' => array( |
56 | 56 | 'tipLocation' => 'right', |
57 | 57 | 'tipAdjustmentY' => -55, |
58 | - 'tipAdjustmentX' => 5 |
|
58 | + 'tipAdjustmentX' => 5 |
|
59 | 59 | ) |
60 | 60 | ), |
61 | 61 | 40 => array( |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | 'options' => array( |
65 | 65 | 'tipLocation' => 'top', |
66 | 66 | 'tipAdjustmentY' => -75, |
67 | - 'tipAdjustmentX' => 250 |
|
67 | + 'tipAdjustmentX' => 250 |
|
68 | 68 | ) |
69 | 69 | ) |
70 | 70 | ); |
@@ -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 |
@@ -122,14 +122,14 @@ discard block |
||
122 | 122 | 'tipLocation' => 'left' |
123 | 123 | ) |
124 | 124 | ), |
125 | - 110 => array( |
|
125 | + 110 => array( |
|
126 | 126 | 'id' => 'espresso_event_editor_event_options', |
127 | 127 | 'content' => $this->_event_registration_options_stop(), |
128 | 128 | 'options' => array( |
129 | 129 | 'tipLocation' => 'left' |
130 | 130 | ) |
131 | 131 | ), |
132 | - 120 => array( |
|
132 | + 120 => array( |
|
133 | 133 | 'id' => 'submitpost', |
134 | 134 | 'content' => $this->_publish_event_stop(), |
135 | 135 | 'options' => array( |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>'; |
196 | 196 | } |
197 | 197 | |
198 | - protected function _publish_event_stop() { |
|
198 | + protected function _publish_event_stop() { |
|
199 | 199 | return '<p>' . __('Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.', 'event_espresso') . '</p>'; |
200 | 200 | } |
201 | 201 |
@@ -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 | /** |
@@ -142,8 +142,8 @@ discard block |
||
142 | 142 | |
143 | 143 | |
144 | 144 | protected function _start() { |
145 | - $content = '<h3>' . __('Event Editor', 'event_espresso') . '</h3>'; |
|
146 | - $content .= '<p>' . __('This tour of the Event Editor will provide an overview of the different areas of the screen to help you understand what they are used for. Let\'s get started on setting up your first event with Event Espresso!', 'event_espresso') . '</p>'; |
|
145 | + $content = '<h3>'.__('Event Editor', 'event_espresso').'</h3>'; |
|
146 | + $content .= '<p>'.__('This tour of the Event Editor will provide an overview of the different areas of the screen to help you understand what they are used for. Let\'s get started on setting up your first event with Event Espresso!', 'event_espresso').'</p>'; |
|
147 | 147 | return $content; |
148 | 148 | } |
149 | 149 | |
@@ -152,51 +152,51 @@ discard block |
||
152 | 152 | } |
153 | 153 | |
154 | 154 | protected function _event_description_stop() { |
155 | - return '<p>' . __('The rich text editor can be used to add information about your event. Images and links can also be added along with your text.', 'event_espresso') . '</p>'; |
|
155 | + return '<p>'.__('The rich text editor can be used to add information about your event. Images and links can also be added along with your text.', 'event_espresso').'</p>'; |
|
156 | 156 | } |
157 | 157 | |
158 | 158 | protected function _event_venues_caf() { |
159 | - return '<p>' . __('In this section, you can select the venue that is hosting your event.', 'event_espresso') . '</p>'; |
|
159 | + return '<p>'.__('In this section, you can select the venue that is hosting your event.', 'event_espresso').'</p>'; |
|
160 | 160 | } |
161 | 161 | |
162 | 162 | protected function _event_venues_stop() { |
163 | - return '<p>' . __('In this section, you can enter information about the venue that is hosting your event.', 'event_espresso') . '</p>'; |
|
163 | + return '<p>'.__('In this section, you can enter information about the venue that is hosting your event.', 'event_espresso').'</p>'; |
|
164 | 164 | } |
165 | 165 | |
166 | 166 | protected function _event_pricing_stop() { |
167 | - return '<p>' . __('Use the Event Datetime & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', 'event_espresso') . '</p>'; |
|
167 | + return '<p>'.__('Use the Event Datetime & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', 'event_espresso').'</p>'; |
|
168 | 168 | } |
169 | 169 | |
170 | 170 | protected function _event_pricing_caf() { |
171 | - return '<p>' . __('Use the Event Datetimes & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', 'event_espresso') . '</p>'; |
|
171 | + return '<p>'.__('Use the Event Datetimes & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', 'event_espresso').'</p>'; |
|
172 | 172 | } |
173 | 173 | |
174 | 174 | protected function _event_registration_options_stop() { |
175 | - return '<p>' . __('Setup custom options for your event registration.', 'event_espresso') . '</p>'; |
|
175 | + return '<p>'.__('Setup custom options for your event registration.', 'event_espresso').'</p>'; |
|
176 | 176 | } |
177 | 177 | |
178 | 178 | protected function _event_post_tag_stop() { |
179 | - return '<p>' . __('Quickly add tags to your event.', 'event_espresso') . '</p>'; |
|
179 | + return '<p>'.__('Quickly add tags to your event.', 'event_espresso').'</p>'; |
|
180 | 180 | } |
181 | 181 | |
182 | 182 | protected function _event_categories_stop() { |
183 | - return '<p>' . __('Events can also be categorized if you wish.', 'event_espresso') . '</p>'; |
|
183 | + return '<p>'.__('Events can also be categorized if you wish.', 'event_espresso').'</p>'; |
|
184 | 184 | } |
185 | 185 | |
186 | 186 | protected function _primary_question_stop_caf() { |
187 | - return '<p>' . __('Use the questions group to request information from your primary registrant.', 'event_espresso') . '</p>'; |
|
187 | + return '<p>'.__('Use the questions group to request information from your primary registrant.', 'event_espresso').'</p>'; |
|
188 | 188 | } |
189 | 189 | |
190 | 190 | protected function _additional_questions_stop_caf() { |
191 | - return '<p>' . __('Use the questions group to request information from your additional registrant.', 'event_espresso') . '</p>'; |
|
191 | + return '<p>'.__('Use the questions group to request information from your additional registrant.', 'event_espresso').'</p>'; |
|
192 | 192 | } |
193 | 193 | |
194 | 194 | protected function _featured_image_stop() { |
195 | - return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>'; |
|
195 | + return '<p>'.__('Set a feature image for your event here.', 'event_espresso').'</p>'; |
|
196 | 196 | } |
197 | 197 | |
198 | 198 | protected function _publish_event_stop() { |
199 | - return '<p>' . __('Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.', 'event_espresso') . '</p>'; |
|
199 | + return '<p>'.__('Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.', 'event_espresso').'</p>'; |
|
200 | 200 | } |
201 | 201 | |
202 | 202 | } |
203 | 203 | \ 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 | /** |
@@ -55,21 +55,21 @@ discard block |
||
55 | 55 | |
56 | 56 | |
57 | 57 | protected function _stop_one() { |
58 | - $content = '<h3>' . __('Import', 'event_espresso') . '</h3>'; |
|
59 | - $content .= '<p>' . __('Learn how to import information into Event Espresso.', 'event_espresso') . '</p>'; |
|
58 | + $content = '<h3>'.__('Import', 'event_espresso').'</h3>'; |
|
59 | + $content .= '<p>'.__('Learn how to import information into Event Espresso.', 'event_espresso').'</p>'; |
|
60 | 60 | return $content; |
61 | 61 | } |
62 | 62 | |
63 | 63 | protected function _stop_two() { |
64 | - return '<p>' . __('A sample CSV file can be downloaded by creating an event through the Event Editor and then saving that event. Then return to the Event Overview screen and hover of the name of the event and click on Export.', 'event_espresso') . '</p>'; |
|
64 | + return '<p>'.__('A sample CSV file can be downloaded by creating an event through the Event Editor and then saving that event. Then return to the Event Overview screen and hover of the name of the event and click on Export.', 'event_espresso').'</p>'; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | protected function _stop_three() { |
68 | - return '<p>' . __('Click on Choose File and browse to the location of your CSV file on your computer.', 'event_espresso') . '</p>'; |
|
68 | + return '<p>'.__('Click on Choose File and browse to the location of your CSV file on your computer.', 'event_espresso').'</p>'; |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | protected function _stop_four() { |
72 | - return '<p>' . __('Click on Upload File.', 'event_espresso') . '</p>'; |
|
72 | + return '<p>'.__('Click on Upload File.', 'event_espresso').'</p>'; |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | } |
76 | 76 | \ 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 |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | 10 => array( |
41 | 41 | 'content' => $this->_start(), |
42 | 42 | ), |
43 | - 20 => array( |
|
43 | + 20 => array( |
|
44 | 44 | 'id' => 'id', |
45 | 45 | 'content' => $this->_event_id_stop(), |
46 | 46 | 'options' => array( |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | 'tipAdjustmentY' => -30 |
86 | 86 | ) |
87 | 87 | ), |
88 | - 70 => array( |
|
88 | + 70 => array( |
|
89 | 89 | 'id' => 'attendees', |
90 | 90 | 'content' => $this->_event_registrations_stop(), |
91 | 91 | 'options' => array( |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | 'tipAdjustmentX' => 10 |
122 | 122 | ) |
123 | 123 | ), |
124 | - 110 => array( |
|
124 | + 110 => array( |
|
125 | 125 | 'class' => 'subsubsub', |
126 | 126 | 'content' => $this->_views_stop(), |
127 | 127 | 'options' => array( |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | 'tipAdjustmentX' => 15 |
140 | 140 | ) |
141 | 141 | ), |
142 | - 130 => array( |
|
142 | + 130 => array( |
|
143 | 143 | 'id' => 'EVT_CAT', |
144 | 144 | 'content' => $this->_stop_about_filters(), |
145 | 145 | 'options' => array( |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | 'tipAdjustmentX' => -15 |
158 | 158 | ) |
159 | 159 | ), |
160 | - 150 => array( |
|
160 | + 150 => array( |
|
161 | 161 | 'id' => 'add-new-event', |
162 | 162 | 'content' => $this->_add_new_event_stop(), |
163 | 163 | 'options' => array( |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | ); |
170 | 170 | } |
171 | 171 | |
172 | - protected function _start() { |
|
172 | + protected function _start() { |
|
173 | 173 | $content = '<h3>' . __('Events Overview', 'event_espresso') . '</h3>'; |
174 | 174 | $content .= '<p>' . __('This tour of the Events Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
175 | 175 | return $content; |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | return '<p>' . __('View the date and time that an event begins on. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
193 | 193 | } |
194 | 194 | |
195 | - protected function _event_onsale_stop() { |
|
195 | + protected function _event_onsale_stop() { |
|
196 | 196 | return '<p>' . __('View the datetime that the first ticket for an event is available for purchase. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
197 | 197 | } |
198 | 198 | |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | return '<p>' . __('View the number of approved registrations for an event.', 'event_espresso') . '</p>'; |
201 | 201 | } |
202 | 202 | |
203 | - protected function _actions_stop() { |
|
203 | + protected function _actions_stop() { |
|
204 | 204 | return '<p>' . __('Perform an action to an event. See legend in bottom left corner.', 'event_espresso') . '</p>'; |
205 | 205 | } |
206 | 206 | |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | return '<p>' . __('Search through events. The following sources will be searched: Event Name, Event Description, and Event Short Description.', 'event_espresso') . '</p>'; |
229 | 229 | } |
230 | 230 | |
231 | - protected function _add_new_event_stop() { |
|
231 | + protected function _add_new_event_stop() { |
|
232 | 232 | return '<p>' . __('Click this button to add a new event.', 'event_espresso') . '</p>'; |
233 | 233 | } |
234 | 234 |
@@ -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 | /** |
@@ -170,42 +170,42 @@ discard block |
||
170 | 170 | } |
171 | 171 | |
172 | 172 | protected function _start() { |
173 | - $content = '<h3>' . __('Events Overview', 'event_espresso') . '</h3>'; |
|
174 | - $content .= '<p>' . __('This tour of the Events Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
173 | + $content = '<h3>'.__('Events Overview', 'event_espresso').'</h3>'; |
|
174 | + $content .= '<p>'.__('This tour of the Events Overview page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
175 | 175 | return $content; |
176 | 176 | } |
177 | 177 | |
178 | 178 | |
179 | 179 | protected function _event_id_stop() { |
180 | - return '<p>' . __('View an ID for an event. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
180 | + return '<p>'.__('View an ID for an event. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
181 | 181 | } |
182 | 182 | |
183 | 183 | protected function _event_name_stop() { |
184 | - return '<p>' . __('View the name (title) of an event. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
184 | + return '<p>'.__('View the name (title) of an event. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
185 | 185 | } |
186 | 186 | |
187 | 187 | protected function _event_venue_stop() { |
188 | - return '<p>' . __('View the venue for an event. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
188 | + return '<p>'.__('View the venue for an event. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
189 | 189 | } |
190 | 190 | |
191 | 191 | protected function _event_start_date_stop() { |
192 | - return '<p>' . __('View the date and time that an event begins on. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
192 | + return '<p>'.__('View the date and time that an event begins on. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
193 | 193 | } |
194 | 194 | |
195 | 195 | protected function _event_onsale_stop() { |
196 | - return '<p>' . __('View the datetime that the first ticket for an event is available for purchase. Can be sorted in ascending or descending order.', 'event_espresso') . '</p>'; |
|
196 | + return '<p>'.__('View the datetime that the first ticket for an event is available for purchase. Can be sorted in ascending or descending order.', 'event_espresso').'</p>'; |
|
197 | 197 | } |
198 | 198 | |
199 | 199 | protected function _event_registrations_stop() { |
200 | - return '<p>' . __('View the number of approved registrations for an event.', 'event_espresso') . '</p>'; |
|
200 | + return '<p>'.__('View the number of approved registrations for an event.', 'event_espresso').'</p>'; |
|
201 | 201 | } |
202 | 202 | |
203 | 203 | protected function _actions_stop() { |
204 | - return '<p>' . __('Perform an action to an event. See legend in bottom left corner.', 'event_espresso') . '</p>'; |
|
204 | + return '<p>'.__('Perform an action to an event. See legend in bottom left corner.', 'event_espresso').'</p>'; |
|
205 | 205 | } |
206 | 206 | |
207 | 207 | protected function _legend_stop() { |
208 | - return '<p>' . __('This is the legend that describes the actions available in the actions column. Also shows the statuses that are available for an event.', 'event_espresso') . '</p>'; |
|
208 | + return '<p>'.__('This is the legend that describes the actions available in the actions column. Also shows the statuses that are available for an event.', 'event_espresso').'</p>'; |
|
209 | 209 | } |
210 | 210 | |
211 | 211 | protected function _stop_archive_button() { |
@@ -213,23 +213,23 @@ discard block |
||
213 | 213 | } |
214 | 214 | |
215 | 215 | protected function _views_stop() { |
216 | - return '<p>' . __('You can select different views by draft, time period, or look at events which have been moved to the trash.') . '</p>'; |
|
216 | + return '<p>'.__('You can select different views by draft, time period, or look at events which have been moved to the trash.').'</p>'; |
|
217 | 217 | } |
218 | 218 | |
219 | 219 | protected function _bulkactions_stop() { |
220 | - return '<p>' . __('Perform a bulk action to multiple events.', 'event_espresso') . '</p>'; |
|
220 | + return '<p>'.__('Perform a bulk action to multiple events.', 'event_espresso').'</p>'; |
|
221 | 221 | } |
222 | 222 | |
223 | 223 | protected function _stop_about_filters() { |
224 | - return '<p>' . __('Events can be filtered by status, date, or category.', 'event_espresso') . '</p>'; |
|
224 | + return '<p>'.__('Events can be filtered by status, date, or category.', 'event_espresso').'</p>'; |
|
225 | 225 | } |
226 | 226 | |
227 | 227 | protected function _search_stop() { |
228 | - return '<p>' . __('Search through events. The following sources will be searched: Event Name, Event Description, and Event Short Description.', 'event_espresso') . '</p>'; |
|
228 | + return '<p>'.__('Search through events. The following sources will be searched: Event Name, Event Description, and Event Short Description.', 'event_espresso').'</p>'; |
|
229 | 229 | } |
230 | 230 | |
231 | 231 | protected function _add_new_event_stop() { |
232 | - return '<p>' . __('Click this button to add a new event.', 'event_espresso') . '</p>'; |
|
232 | + return '<p>'.__('Click this button to add a new event.', 'event_espresso').'</p>'; |
|
233 | 233 | } |
234 | 234 | |
235 | 235 | } |
236 | 236 | \ 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 | /** |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * @return string |
56 | 56 | */ |
57 | 57 | protected function _end() { |
58 | - return '<p>' . 'This is just testing that multiple tours still work' . '</p>'; |
|
58 | + return '<p>'.'This is just testing that multiple tours still work'.'</p>'; |
|
59 | 59 | } |
60 | 60 | |
61 | 61 | } |
62 | 62 | \ 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 |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | 10 => array( |
40 | 40 | 'content' => $this->_start(), |
41 | 41 | ), |
42 | - 15 => array( |
|
42 | + 15 => array( |
|
43 | 43 | 'id' => 'display_status_banner_single', |
44 | 44 | 'content' => $this->_default_status_banner_single_stop(), |
45 | 45 | 'options' => array( |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | 'tipAdjustmentX' => 15 |
112 | 112 | ) |
113 | 113 | ), |
114 | - 90 => array( |
|
114 | + 90 => array( |
|
115 | 115 | 'id' => 'reset_event_list_settings', |
116 | 116 | 'content' => $this->_reset_event_list_settings_stop(), |
117 | 117 | 'options' => array( |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | 'tipAdjustmentX' => 15 |
121 | 121 | ) |
122 | 122 | ), |
123 | - 100 => array( |
|
123 | + 100 => array( |
|
124 | 124 | 'id' => 'display_status_banner', |
125 | 125 | 'content' => $this->_display_status_banner_stop(), |
126 | 126 | 'options' => array( |
@@ -180,11 +180,11 @@ discard block |
||
180 | 180 | return '<p>' . __('This is the website address (URL) for your event listings page.', 'event_espresso') . '</p>'; |
181 | 181 | } |
182 | 182 | |
183 | - protected function _reset_event_list_settings_stop() { |
|
183 | + protected function _reset_event_list_settings_stop() { |
|
184 | 184 | return '<p>' . __('Notice: When this option is set to yes, any customization from the above settings will be lost and your event list settings will be set to default.', 'event_espresso') . '</p>'; |
185 | 185 | } |
186 | 186 | |
187 | - protected function _display_status_banner_stop() { |
|
187 | + protected function _display_status_banner_stop() { |
|
188 | 188 | return '<p>' . __('Specify whether event status banners should be shown next to the title on the event list page.', 'event_espresso') . '</p>'; |
189 | 189 | } |
190 | 190 |
@@ -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 | /** |
@@ -143,53 +143,53 @@ discard block |
||
143 | 143 | |
144 | 144 | |
145 | 145 | protected function _start() { |
146 | - $content = '<h3>' . __('Template Settings', 'event_espresso') . '</h3>'; |
|
147 | - $content .= '<p>' . __('This tour of the Templates Page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso') . '</p>'; |
|
146 | + $content = '<h3>'.__('Template Settings', 'event_espresso').'</h3>'; |
|
147 | + $content .= '<p>'.__('This tour of the Templates Page will go over different areas of the screen to help you understand what they are used for.', 'event_espresso').'</p>'; |
|
148 | 148 | return $content; |
149 | 149 | } |
150 | 150 | |
151 | 151 | protected function _default_status_banner_single_stop() { |
152 | - return '<p>' . __('Specify whether event status banners should be shown next to the title on the single event page.', 'event_espresso') . '</p>'; |
|
152 | + return '<p>'.__('Specify whether event status banners should be shown next to the title on the single event page.', 'event_espresso').'</p>'; |
|
153 | 153 | } |
154 | 154 | |
155 | 155 | protected function _default_view_stop() { |
156 | - return '<p>' . __('Define how your basic event list will appear.', 'event_espresso') . '</p>'; |
|
156 | + return '<p>'.__('Define how your basic event list will appear.', 'event_espresso').'</p>'; |
|
157 | 157 | } |
158 | 158 | |
159 | 159 | protected function _event_list_grid_size_stop() { |
160 | - return '<p>' . __('If you have selected grid view in the option above, then you can use these settings to change the size of the grids.', 'event_espresso') . '</p>'; |
|
160 | + return '<p>'.__('If you have selected grid view in the option above, then you can use these settings to change the size of the grids.', 'event_espresso').'</p>'; |
|
161 | 161 | } |
162 | 162 | |
163 | 163 | protected function _display_description_stop() { |
164 | - return '<p>' . __('Specify whether descriptions be shown on the event list.', 'event_espresso') . '</p>'; |
|
164 | + return '<p>'.__('Specify whether descriptions be shown on the event list.', 'event_espresso').'</p>'; |
|
165 | 165 | } |
166 | 166 | |
167 | 167 | protected function _display_address_stop() { |
168 | - return '<p>' . __('Specify whether the venue address be displayed on the event list.', 'event_espresso') . '</p>'; |
|
168 | + return '<p>'.__('Specify whether the venue address be displayed on the event list.', 'event_espresso').'</p>'; |
|
169 | 169 | } |
170 | 170 | |
171 | 171 | protected function _display_venue_stop() { |
172 | - return '<p>' . __('Specify whether the venue information be displayed on the event list.', 'event_espresso') . '</p>'; |
|
172 | + return '<p>'.__('Specify whether the venue information be displayed on the event list.', 'event_espresso').'</p>'; |
|
173 | 173 | } |
174 | 174 | |
175 | 175 | protected function _display_expired_events_stop() { |
176 | - return '<p>' . __('Should expired events be shown on the default event list.', 'event_espresso') . '</p>'; |
|
176 | + return '<p>'.__('Should expired events be shown on the default event list.', 'event_espresso').'</p>'; |
|
177 | 177 | } |
178 | 178 | |
179 | 179 | protected function _event_listings_url_stop() { |
180 | - return '<p>' . __('This is the website address (URL) for your event listings page.', 'event_espresso') . '</p>'; |
|
180 | + return '<p>'.__('This is the website address (URL) for your event listings page.', 'event_espresso').'</p>'; |
|
181 | 181 | } |
182 | 182 | |
183 | 183 | protected function _reset_event_list_settings_stop() { |
184 | - return '<p>' . __('Notice: When this option is set to yes, any customization from the above settings will be lost and your event list settings will be set to default.', 'event_espresso') . '</p>'; |
|
184 | + return '<p>'.__('Notice: When this option is set to yes, any customization from the above settings will be lost and your event list settings will be set to default.', 'event_espresso').'</p>'; |
|
185 | 185 | } |
186 | 186 | |
187 | 187 | protected function _display_status_banner_stop() { |
188 | - return '<p>' . __('Specify whether event status banners should be shown next to the title on the event list page.', 'event_espresso') . '</p>'; |
|
188 | + return '<p>'.__('Specify whether event status banners should be shown next to the title on the event list page.', 'event_espresso').'</p>'; |
|
189 | 189 | } |
190 | 190 | |
191 | 191 | protected function _display_address_in_reg_form_stop() { |
192 | - return '<p>' . __('Specify whether the address for a venue be shown on the single registration page.', 'event_espresso') . '</p>'; |
|
192 | + return '<p>'.__('Specify whether the address for a venue be shown on the single registration page.', 'event_espresso').'</p>'; |
|
193 | 193 | } |
194 | 194 | |
195 | 195 | } |
196 | 196 | \ 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 |