Completed
Branch dependabot/npm_and_yarn/@wordp... (e9f48b)
by
unknown
60:52 queued 52:34
created
admin_pages/events/help_tours/Templates_Help_Tour.class.php 2 patches
Indentation   +208 added lines, -208 removed lines patch added patch discarded remove patch
@@ -15,212 +15,212 @@
 block discarded – undo
15 15
 class Templates_Help_Tour extends EE_Help_Tour
16 16
 {
17 17
 
18
-    protected function _set_tour_properties()
19
-    {
20
-        $this->_label = __('Templates Tour', 'event_espresso');
21
-        $this->_slug = 'templates-settings-joyride';
22
-    }
23
-
24
-    protected function _set_tour_stops()
25
-    {
26
-        $this->_stops = array(
27
-            10  => array(
28
-                'content' => $this->_start(),
29
-            ),
30
-            15  => array(
31
-                'id'      => 'display_status_banner_single',
32
-                'content' => $this->_default_status_banner_single_stop(),
33
-                'options' => array(
34
-                    'tipLocation'    => 'right',
35
-                    'tipAdjustmentY' => -50,
36
-                    'tipAdjustmentX' => 15,
37
-                ),
38
-            ),
39
-            20  => array(
40
-                'id'      => 'default_type',
41
-                'content' => $this->_default_view_stop(),
42
-                'options' => array(
43
-                    'tipLocation'    => 'right',
44
-                    'tipAdjustmentY' => -50,
45
-                    'tipAdjustmentX' => 15,
46
-                ),
47
-            ),
48
-            30  => array(
49
-                'id'      => 'event_list_grid_size',
50
-                'content' => $this->_event_list_grid_size_stop(),
51
-                'options' => array(
52
-                    'tipLocation'    => 'right',
53
-                    'tipAdjustmentY' => -50,
54
-                    'tipAdjustmentX' => 15,
55
-                ),
56
-            ),
57
-            40  => array(
58
-                'id'      => 'display_description_in_event_list',
59
-                'content' => $this->_display_description_stop(),
60
-                'options' => array(
61
-                    'tipLocation'    => 'right',
62
-                    'tipAdjustmentY' => -50,
63
-                    'tipAdjustmentX' => 15,
64
-                ),
65
-            ),
66
-            50  => array(
67
-                'id'      => 'display_address_in_event_list',
68
-                'content' => $this->_display_address_stop(),
69
-                'options' => array(
70
-                    'tipLocation'    => 'right',
71
-                    'tipAdjustmentY' => -50,
72
-                    'tipAdjustmentX' => 15,
73
-                ),
74
-            ),
75
-            60  => array(
76
-                'id'      => 'display_venue_details_in_event_list',
77
-                'content' => $this->_display_venue_stop(),
78
-                'options' => array(
79
-                    'tipLocation'    => 'right',
80
-                    'tipAdjustmentY' => -50,
81
-                    'tipAdjustmentX' => 15,
82
-                ),
83
-            ),
84
-            70  => array(
85
-                'id'      => 'display_expired_events',
86
-                'content' => $this->_display_expired_events_stop(),
87
-                'options' => array(
88
-                    'tipLocation'    => 'right',
89
-                    'tipAdjustmentY' => -50,
90
-                    'tipAdjustmentX' => 15,
91
-                ),
92
-            ),
93
-            80  => array(
94
-                'id'      => 'event_listings_url',
95
-                'content' => $this->_event_listings_url_stop(),
96
-                'options' => array(
97
-                    'tipLocation'    => 'right',
98
-                    'tipAdjustmentY' => -50,
99
-                    'tipAdjustmentX' => 15,
100
-                ),
101
-            ),
102
-            90  => array(
103
-                'id'      => 'reset_event_list_settings',
104
-                'content' => $this->_reset_event_list_settings_stop(),
105
-                'options' => array(
106
-                    'tipLocation'    => 'right',
107
-                    'tipAdjustmentY' => -50,
108
-                    'tipAdjustmentX' => 15,
109
-                ),
110
-            ),
111
-            100 => array(
112
-                'id'      => 'display_status_banner',
113
-                'content' => $this->_display_status_banner_stop(),
114
-                'options' => array(
115
-                    'tipLocation'    => 'right',
116
-                    'tipAdjustmentY' => -50,
117
-                    'tipAdjustmentX' => 15,
118
-                ),
119
-            ),
120
-            110 => array(
121
-                'id'      => 'display_address_in_regform',
122
-                'content' => $this->_display_address_in_reg_form_stop(),
123
-                'options' => array(
124
-                    'tipLocation'    => 'right',
125
-                    'tipAdjustmentY' => -50,
126
-                    'tipAdjustmentX' => 15,
127
-                ),
128
-            ),
129
-        );
130
-    }
131
-
132
-
133
-    protected function _start()
134
-    {
135
-        $content = '<h3>' . __('Template Settings', 'event_espresso') . '</h3>';
136
-        $content .= '<p>'
137
-                    . __(
138
-                        'This tour of the Templates Page will go over different areas of the screen to help you understand what they are used for.',
139
-                        'event_espresso'
140
-                    ) . '</p>';
141
-        return $content;
142
-    }
143
-
144
-    protected function _default_status_banner_single_stop()
145
-    {
146
-        return '<p>'
147
-               . __(
148
-                   'Specify whether event status banners should be shown next to the title on the single event page.',
149
-                   'event_espresso'
150
-               ) . '</p>';
151
-    }
152
-
153
-    protected function _default_view_stop()
154
-    {
155
-        return '<p>' . __('Define how your basic event list will appear.', 'event_espresso') . '</p>';
156
-    }
157
-
158
-    protected function _event_list_grid_size_stop()
159
-    {
160
-        return '<p>'
161
-               . __(
162
-                   'If you have selected grid view in the option above, then you can use these settings to change the size of the grids.',
163
-                   'event_espresso'
164
-               ) . '</p>';
165
-    }
166
-
167
-    protected function _display_description_stop()
168
-    {
169
-        return '<p>' . __('Specify whether descriptions be shown on the event list.', 'event_espresso') . '</p>';
170
-    }
171
-
172
-    protected function _display_address_stop()
173
-    {
174
-        return '<p>'
175
-               . __(
176
-                   'Specify whether  the venue address be displayed on the event list.',
177
-                   'event_espresso'
178
-               ) . '</p>';
179
-    }
180
-
181
-    protected function _display_venue_stop()
182
-    {
183
-        return '<p>'
184
-               . __(
185
-                   'Specify whether  the venue information be displayed on the event list.',
186
-                   'event_espresso'
187
-               ) . '</p>';
188
-    }
189
-
190
-    protected function _display_expired_events_stop()
191
-    {
192
-        return '<p>' . __('Should expired events be shown on the default event list.', 'event_espresso') . '</p>';
193
-    }
194
-
195
-    protected function _event_listings_url_stop()
196
-    {
197
-        return '<p>' . __('This is the website address (URL) for your event listings page.', 'event_espresso') . '</p>';
198
-    }
199
-
200
-    protected function _reset_event_list_settings_stop()
201
-    {
202
-        return '<p>'
203
-               . __(
204
-                   '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.',
205
-                   'event_espresso'
206
-               ) . '</p>';
207
-    }
208
-
209
-    protected function _display_status_banner_stop()
210
-    {
211
-        return '<p>'
212
-               . __(
213
-                   'Specify whether event status banners should be shown next to the title on the event list page.',
214
-                   'event_espresso'
215
-               ) . '</p>';
216
-    }
217
-
218
-    protected function _display_address_in_reg_form_stop()
219
-    {
220
-        return '<p>'
221
-               . __(
222
-                   'Specify whether the address for a venue be shown on the single registration page.',
223
-                   'event_espresso'
224
-               ) . '</p>';
225
-    }
18
+	protected function _set_tour_properties()
19
+	{
20
+		$this->_label = __('Templates Tour', 'event_espresso');
21
+		$this->_slug = 'templates-settings-joyride';
22
+	}
23
+
24
+	protected function _set_tour_stops()
25
+	{
26
+		$this->_stops = array(
27
+			10  => array(
28
+				'content' => $this->_start(),
29
+			),
30
+			15  => array(
31
+				'id'      => 'display_status_banner_single',
32
+				'content' => $this->_default_status_banner_single_stop(),
33
+				'options' => array(
34
+					'tipLocation'    => 'right',
35
+					'tipAdjustmentY' => -50,
36
+					'tipAdjustmentX' => 15,
37
+				),
38
+			),
39
+			20  => array(
40
+				'id'      => 'default_type',
41
+				'content' => $this->_default_view_stop(),
42
+				'options' => array(
43
+					'tipLocation'    => 'right',
44
+					'tipAdjustmentY' => -50,
45
+					'tipAdjustmentX' => 15,
46
+				),
47
+			),
48
+			30  => array(
49
+				'id'      => 'event_list_grid_size',
50
+				'content' => $this->_event_list_grid_size_stop(),
51
+				'options' => array(
52
+					'tipLocation'    => 'right',
53
+					'tipAdjustmentY' => -50,
54
+					'tipAdjustmentX' => 15,
55
+				),
56
+			),
57
+			40  => array(
58
+				'id'      => 'display_description_in_event_list',
59
+				'content' => $this->_display_description_stop(),
60
+				'options' => array(
61
+					'tipLocation'    => 'right',
62
+					'tipAdjustmentY' => -50,
63
+					'tipAdjustmentX' => 15,
64
+				),
65
+			),
66
+			50  => array(
67
+				'id'      => 'display_address_in_event_list',
68
+				'content' => $this->_display_address_stop(),
69
+				'options' => array(
70
+					'tipLocation'    => 'right',
71
+					'tipAdjustmentY' => -50,
72
+					'tipAdjustmentX' => 15,
73
+				),
74
+			),
75
+			60  => array(
76
+				'id'      => 'display_venue_details_in_event_list',
77
+				'content' => $this->_display_venue_stop(),
78
+				'options' => array(
79
+					'tipLocation'    => 'right',
80
+					'tipAdjustmentY' => -50,
81
+					'tipAdjustmentX' => 15,
82
+				),
83
+			),
84
+			70  => array(
85
+				'id'      => 'display_expired_events',
86
+				'content' => $this->_display_expired_events_stop(),
87
+				'options' => array(
88
+					'tipLocation'    => 'right',
89
+					'tipAdjustmentY' => -50,
90
+					'tipAdjustmentX' => 15,
91
+				),
92
+			),
93
+			80  => array(
94
+				'id'      => 'event_listings_url',
95
+				'content' => $this->_event_listings_url_stop(),
96
+				'options' => array(
97
+					'tipLocation'    => 'right',
98
+					'tipAdjustmentY' => -50,
99
+					'tipAdjustmentX' => 15,
100
+				),
101
+			),
102
+			90  => array(
103
+				'id'      => 'reset_event_list_settings',
104
+				'content' => $this->_reset_event_list_settings_stop(),
105
+				'options' => array(
106
+					'tipLocation'    => 'right',
107
+					'tipAdjustmentY' => -50,
108
+					'tipAdjustmentX' => 15,
109
+				),
110
+			),
111
+			100 => array(
112
+				'id'      => 'display_status_banner',
113
+				'content' => $this->_display_status_banner_stop(),
114
+				'options' => array(
115
+					'tipLocation'    => 'right',
116
+					'tipAdjustmentY' => -50,
117
+					'tipAdjustmentX' => 15,
118
+				),
119
+			),
120
+			110 => array(
121
+				'id'      => 'display_address_in_regform',
122
+				'content' => $this->_display_address_in_reg_form_stop(),
123
+				'options' => array(
124
+					'tipLocation'    => 'right',
125
+					'tipAdjustmentY' => -50,
126
+					'tipAdjustmentX' => 15,
127
+				),
128
+			),
129
+		);
130
+	}
131
+
132
+
133
+	protected function _start()
134
+	{
135
+		$content = '<h3>' . __('Template Settings', 'event_espresso') . '</h3>';
136
+		$content .= '<p>'
137
+					. __(
138
+						'This tour of the Templates Page will go over different areas of the screen to help you understand what they are used for.',
139
+						'event_espresso'
140
+					) . '</p>';
141
+		return $content;
142
+	}
143
+
144
+	protected function _default_status_banner_single_stop()
145
+	{
146
+		return '<p>'
147
+			   . __(
148
+				   'Specify whether event status banners should be shown next to the title on the single event page.',
149
+				   'event_espresso'
150
+			   ) . '</p>';
151
+	}
152
+
153
+	protected function _default_view_stop()
154
+	{
155
+		return '<p>' . __('Define how your basic event list will appear.', 'event_espresso') . '</p>';
156
+	}
157
+
158
+	protected function _event_list_grid_size_stop()
159
+	{
160
+		return '<p>'
161
+			   . __(
162
+				   'If you have selected grid view in the option above, then you can use these settings to change the size of the grids.',
163
+				   'event_espresso'
164
+			   ) . '</p>';
165
+	}
166
+
167
+	protected function _display_description_stop()
168
+	{
169
+		return '<p>' . __('Specify whether descriptions be shown on the event list.', 'event_espresso') . '</p>';
170
+	}
171
+
172
+	protected function _display_address_stop()
173
+	{
174
+		return '<p>'
175
+			   . __(
176
+				   'Specify whether  the venue address be displayed on the event list.',
177
+				   'event_espresso'
178
+			   ) . '</p>';
179
+	}
180
+
181
+	protected function _display_venue_stop()
182
+	{
183
+		return '<p>'
184
+			   . __(
185
+				   'Specify whether  the venue information be displayed on the event list.',
186
+				   'event_espresso'
187
+			   ) . '</p>';
188
+	}
189
+
190
+	protected function _display_expired_events_stop()
191
+	{
192
+		return '<p>' . __('Should expired events be shown on the default event list.', 'event_espresso') . '</p>';
193
+	}
194
+
195
+	protected function _event_listings_url_stop()
196
+	{
197
+		return '<p>' . __('This is the website address (URL) for your event listings page.', 'event_espresso') . '</p>';
198
+	}
199
+
200
+	protected function _reset_event_list_settings_stop()
201
+	{
202
+		return '<p>'
203
+			   . __(
204
+				   '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.',
205
+				   'event_espresso'
206
+			   ) . '</p>';
207
+	}
208
+
209
+	protected function _display_status_banner_stop()
210
+	{
211
+		return '<p>'
212
+			   . __(
213
+				   'Specify whether event status banners should be shown next to the title on the event list page.',
214
+				   'event_espresso'
215
+			   ) . '</p>';
216
+	}
217
+
218
+	protected function _display_address_in_reg_form_stop()
219
+	{
220
+		return '<p>'
221
+			   . __(
222
+				   'Specify whether the address for a venue be shown on the single registration page.',
223
+				   'event_espresso'
224
+			   ) . '</p>';
225
+	}
226 226
 }
Please login to merge, or discard this patch.
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -132,12 +132,12 @@  discard block
 block discarded – undo
132 132
 
133 133
     protected function _start()
134 134
     {
135
-        $content = '<h3>' . __('Template Settings', 'event_espresso') . '</h3>';
135
+        $content = '<h3>'.__('Template Settings', 'event_espresso').'</h3>';
136 136
         $content .= '<p>'
137 137
                     . __(
138 138
                         'This tour of the Templates Page will go over different areas of the screen to help you understand what they are used for.',
139 139
                         'event_espresso'
140
-                    ) . '</p>';
140
+                    ).'</p>';
141 141
         return $content;
142 142
     }
143 143
 
@@ -147,12 +147,12 @@  discard block
 block discarded – undo
147 147
                . __(
148 148
                    'Specify whether event status banners should be shown next to the title on the single event page.',
149 149
                    'event_espresso'
150
-               ) . '</p>';
150
+               ).'</p>';
151 151
     }
152 152
 
153 153
     protected function _default_view_stop()
154 154
     {
155
-        return '<p>' . __('Define how your basic event list will appear.', 'event_espresso') . '</p>';
155
+        return '<p>'.__('Define how your basic event list will appear.', 'event_espresso').'</p>';
156 156
     }
157 157
 
158 158
     protected function _event_list_grid_size_stop()
@@ -161,12 +161,12 @@  discard block
 block discarded – undo
161 161
                . __(
162 162
                    'If you have selected grid view in the option above, then you can use these settings to change the size of the grids.',
163 163
                    'event_espresso'
164
-               ) . '</p>';
164
+               ).'</p>';
165 165
     }
166 166
 
167 167
     protected function _display_description_stop()
168 168
     {
169
-        return '<p>' . __('Specify whether descriptions be shown on the event list.', 'event_espresso') . '</p>';
169
+        return '<p>'.__('Specify whether descriptions be shown on the event list.', 'event_espresso').'</p>';
170 170
     }
171 171
 
172 172
     protected function _display_address_stop()
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
                . __(
176 176
                    'Specify whether  the venue address be displayed on the event list.',
177 177
                    'event_espresso'
178
-               ) . '</p>';
178
+               ).'</p>';
179 179
     }
180 180
 
181 181
     protected function _display_venue_stop()
@@ -184,17 +184,17 @@  discard block
 block discarded – undo
184 184
                . __(
185 185
                    'Specify whether  the venue information be displayed on the event list.',
186 186
                    'event_espresso'
187
-               ) . '</p>';
187
+               ).'</p>';
188 188
     }
189 189
 
190 190
     protected function _display_expired_events_stop()
191 191
     {
192
-        return '<p>' . __('Should expired events be shown on the default event list.', 'event_espresso') . '</p>';
192
+        return '<p>'.__('Should expired events be shown on the default event list.', 'event_espresso').'</p>';
193 193
     }
194 194
 
195 195
     protected function _event_listings_url_stop()
196 196
     {
197
-        return '<p>' . __('This is the website address (URL) for your event listings page.', 'event_espresso') . '</p>';
197
+        return '<p>'.__('This is the website address (URL) for your event listings page.', 'event_espresso').'</p>';
198 198
     }
199 199
 
200 200
     protected function _reset_event_list_settings_stop()
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
                . __(
204 204
                    '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.',
205 205
                    'event_espresso'
206
-               ) . '</p>';
206
+               ).'</p>';
207 207
     }
208 208
 
209 209
     protected function _display_status_banner_stop()
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
                . __(
213 213
                    'Specify whether event status banners should be shown next to the title on the event list page.',
214 214
                    'event_espresso'
215
-               ) . '</p>';
215
+               ).'</p>';
216 216
     }
217 217
 
218 218
     protected function _display_address_in_reg_form_stop()
@@ -221,6 +221,6 @@  discard block
 block discarded – undo
221 221
                . __(
222 222
                    'Specify whether the address for a venue be shown on the single registration page.',
223 223
                    'event_espresso'
224
-               ) . '</p>';
224
+               ).'</p>';
225 225
     }
226 226
 }
Please login to merge, or discard this patch.
admin_pages/events/help_tours/Event_Import_Help_Tour.class.php 2 patches
Indentation   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -15,60 +15,60 @@
 block discarded – undo
15 15
 class Event_Import_Help_Tour extends EE_Help_Tour
16 16
 {
17 17
 
18
-    protected function _set_tour_properties()
19
-    {
20
-        $this->_label = __('Import Tour', 'event_espresso');
21
-        $this->_slug = 'event-import-joyride';
22
-    }
18
+	protected function _set_tour_properties()
19
+	{
20
+		$this->_label = __('Import Tour', 'event_espresso');
21
+		$this->_slug = 'event-import-joyride';
22
+	}
23 23
 
24 24
 
25
-    protected function _set_tour_stops()
26
-    {
27
-        $this->_stops = array(
28
-            10 => array(
29
-                'content' => $this->_stop_one(),
30
-            ),
31
-            20 => array(
32
-                'content' => $this->_stop_two(),
33
-            ),
34
-            30 => array(
35
-                'content' => $this->_stop_three(),
36
-            ),
37
-            40 => array(
38
-                'content' => $this->_stop_four(),
25
+	protected function _set_tour_stops()
26
+	{
27
+		$this->_stops = array(
28
+			10 => array(
29
+				'content' => $this->_stop_one(),
30
+			),
31
+			20 => array(
32
+				'content' => $this->_stop_two(),
33
+			),
34
+			30 => array(
35
+				'content' => $this->_stop_three(),
36
+			),
37
+			40 => array(
38
+				'content' => $this->_stop_four(),
39 39
 
40
-            ),
41
-        );
42
-    }
40
+			),
41
+		);
42
+	}
43 43
 
44 44
 
45
-    protected function _stop_one()
46
-    {
47
-        $content = '<h3>' . __('Import', 'event_espresso') . '</h3>';
48
-        $content .= '<p>' . __('Learn how to import information into Event Espresso.', 'event_espresso') . '</p>';
49
-        return $content;
50
-    }
45
+	protected function _stop_one()
46
+	{
47
+		$content = '<h3>' . __('Import', 'event_espresso') . '</h3>';
48
+		$content .= '<p>' . __('Learn how to import information into Event Espresso.', 'event_espresso') . '</p>';
49
+		return $content;
50
+	}
51 51
 
52
-    protected function _stop_two()
53
-    {
54
-        return '<p>'
55
-               . __(
56
-                   '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.',
57
-                   'event_espresso'
58
-               ) . '</p>';
59
-    }
52
+	protected function _stop_two()
53
+	{
54
+		return '<p>'
55
+			   . __(
56
+				   '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.',
57
+				   'event_espresso'
58
+			   ) . '</p>';
59
+	}
60 60
 
61
-    protected function _stop_three()
62
-    {
63
-        return '<p>'
64
-               . __(
65
-                   'Click on Choose File and browse to the location of your CSV file on your computer.',
66
-                   'event_espresso'
67
-               ) . '</p>';
68
-    }
61
+	protected function _stop_three()
62
+	{
63
+		return '<p>'
64
+			   . __(
65
+				   'Click on Choose File and browse to the location of your CSV file on your computer.',
66
+				   'event_espresso'
67
+			   ) . '</p>';
68
+	}
69 69
 
70
-    protected function _stop_four()
71
-    {
72
-        return '<p>' . __('Click on Upload File.', 'event_espresso') . '</p>';
73
-    }
70
+	protected function _stop_four()
71
+	{
72
+		return '<p>' . __('Click on Upload File.', 'event_espresso') . '</p>';
73
+	}
74 74
 }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
 
45 45
     protected function _stop_one()
46 46
     {
47
-        $content = '<h3>' . __('Import', 'event_espresso') . '</h3>';
48
-        $content .= '<p>' . __('Learn how to import information into Event Espresso.', 'event_espresso') . '</p>';
47
+        $content = '<h3>'.__('Import', 'event_espresso').'</h3>';
48
+        $content .= '<p>'.__('Learn how to import information into Event Espresso.', 'event_espresso').'</p>';
49 49
         return $content;
50 50
     }
51 51
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
                . __(
56 56
                    '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.',
57 57
                    'event_espresso'
58
-               ) . '</p>';
58
+               ).'</p>';
59 59
     }
60 60
 
61 61
     protected function _stop_three()
@@ -64,11 +64,11 @@  discard block
 block discarded – undo
64 64
                . __(
65 65
                    'Click on Choose File and browse to the location of your CSV file on your computer.',
66 66
                    'event_espresso'
67
-               ) . '</p>';
67
+               ).'</p>';
68 68
     }
69 69
 
70 70
     protected function _stop_four()
71 71
     {
72
-        return '<p>' . __('Click on Upload File.', 'event_espresso') . '</p>';
72
+        return '<p>'.__('Click on Upload File.', 'event_espresso').'</p>';
73 73
     }
74 74
 }
Please login to merge, or discard this patch.
admin_pages/events/help_tours/Event_Default_Settings_Help_Tour.class.php 2 patches
Indentation   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -15,55 +15,55 @@
 block discarded – undo
15 15
 class Event_Default_Settings_Help_Tour extends EE_Help_Tour
16 16
 {
17 17
 
18
-    protected function _set_tour_properties()
19
-    {
20
-        $this->_label = __('Default Settings Tour', 'event_espresso');
21
-        $this->_slug = $this->_is_caf ? 'event-default-settings-caf-joyride' : 'event-default-settings-joyride';
22
-    }
18
+	protected function _set_tour_properties()
19
+	{
20
+		$this->_label = __('Default Settings Tour', 'event_espresso');
21
+		$this->_slug = $this->_is_caf ? 'event-default-settings-caf-joyride' : 'event-default-settings-joyride';
22
+	}
23 23
 
24 24
 
25
-    protected function _set_tour_stops()
26
-    {
27
-        $this->_stops = array(
28
-            10 => array(
29
-                'content' => $this->_stop_one(),
30
-            ),
31
-            20 => array(
32
-                'id'      => 'default_reg_status',
33
-                'content' => $this->_stop_two(),
34
-                'options' => array(
35
-                    'tipLocation'    => 'right',
36
-                    'tipAdjustmentY' => -50,
37
-                    'tipAdjustmentX' => 15,
38
-                ),
39
-            ),
40
-        );
41
-    }
25
+	protected function _set_tour_stops()
26
+	{
27
+		$this->_stops = array(
28
+			10 => array(
29
+				'content' => $this->_stop_one(),
30
+			),
31
+			20 => array(
32
+				'id'      => 'default_reg_status',
33
+				'content' => $this->_stop_two(),
34
+				'options' => array(
35
+					'tipLocation'    => 'right',
36
+					'tipAdjustmentY' => -50,
37
+					'tipAdjustmentX' => 15,
38
+				),
39
+			),
40
+		);
41
+	}
42 42
 
43 43
 
44
-    protected function _stop_one()
45
-    {
46
-        $content = '<h3>' . __('Event Default Settings', 'event_espresso') . '</h3>';
47
-        $content .= '<p>'
48
-                    . __(
49
-                        'This tour of the Default Settings page will go over different areas of the screen to help you understand what they are used for.',
50
-                        'event_espresso'
51
-                    ) . '</p>';
52
-        return $content;
53
-    }
44
+	protected function _stop_one()
45
+	{
46
+		$content = '<h3>' . __('Event Default Settings', 'event_espresso') . '</h3>';
47
+		$content .= '<p>'
48
+					. __(
49
+						'This tour of the Default Settings page will go over different areas of the screen to help you understand what they are used for.',
50
+						'event_espresso'
51
+					) . '</p>';
52
+		return $content;
53
+	}
54 54
 
55
-    // Options below are showing in full caps. Manually adding statuses and leaving code as is.
56
-    protected function _stop_two()
57
-    {
58
-        return '<p>'
59
-               . sprintf(
60
-                   __(
61
-                       'Specify whether the default registration status be set to Approved, Not Approved, or Pending Payment.',
62
-                       'event_espresso'
63
-                   ),
64
-                   EEH_Template::pretty_status(EEM_Registration::status_id_not_approved, 'lowercase'),
65
-                   EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, 'lowercase'),
66
-                   EEH_Template::pretty_status(EEM_Registration::status_id_approved, 'lowercase')
67
-               ) . '</p>';
68
-    }
55
+	// Options below are showing in full caps. Manually adding statuses and leaving code as is.
56
+	protected function _stop_two()
57
+	{
58
+		return '<p>'
59
+			   . sprintf(
60
+				   __(
61
+					   'Specify whether the default registration status be set to Approved, Not Approved, or Pending Payment.',
62
+					   'event_espresso'
63
+				   ),
64
+				   EEH_Template::pretty_status(EEM_Registration::status_id_not_approved, 'lowercase'),
65
+				   EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, 'lowercase'),
66
+				   EEH_Template::pretty_status(EEM_Registration::status_id_approved, 'lowercase')
67
+			   ) . '</p>';
68
+	}
69 69
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,12 +43,12 @@  discard block
 block discarded – undo
43 43
 
44 44
     protected function _stop_one()
45 45
     {
46
-        $content = '<h3>' . __('Event Default Settings', 'event_espresso') . '</h3>';
46
+        $content = '<h3>'.__('Event Default Settings', 'event_espresso').'</h3>';
47 47
         $content .= '<p>'
48 48
                     . __(
49 49
                         'This tour of the Default Settings page will go over different areas of the screen to help you understand what they are used for.',
50 50
                         'event_espresso'
51
-                    ) . '</p>';
51
+                    ).'</p>';
52 52
         return $content;
53 53
     }
54 54
 
@@ -64,6 +64,6 @@  discard block
 block discarded – undo
64 64
                    EEH_Template::pretty_status(EEM_Registration::status_id_not_approved, 'lowercase'),
65 65
                    EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, 'lowercase'),
66 66
                    EEH_Template::pretty_status(EEM_Registration::status_id_approved, 'lowercase')
67
-               ) . '</p>';
67
+               ).'</p>';
68 68
     }
69 69
 }
Please login to merge, or discard this patch.
admin_pages/events/help_tours/Event_Categories_Help_Tour.class.php 2 patches
Indentation   +134 added lines, -134 removed lines patch added patch discarded remove patch
@@ -16,148 +16,148 @@
 block discarded – undo
16 16
 class Event_Categories_Help_Tour extends EE_Help_Tour
17 17
 {
18 18
 
19
-    protected function _set_tour_properties()
20
-    {
21
-        $this->_label = __('Event Categories Tour', 'event_espresso');
22
-        $this->_slug = 'event-categories-joyride';
23
-    }
19
+	protected function _set_tour_properties()
20
+	{
21
+		$this->_label = __('Event Categories Tour', 'event_espresso');
22
+		$this->_slug = 'event-categories-joyride';
23
+	}
24 24
 
25
-    protected function _set_tour_stops()
26
-    {
27
-        $this->_stops = array(
28
-            10 => array(
29
-                'content' => $this->_start(),
30
-            ),
31
-            20 => array(
32
-                'id'      => 'id',
33
-                'content' => $this->_id_stop(),
34
-                'options' => array(
35
-                    'tipLocation'    => 'top',
36
-                    'tipAdjustmentX' => -20,
37
-                    'tipAdjustmentY' => -30,
38
-                ),
39
-            ),
40
-            30 => array(
41
-                'id'      => 'name',
42
-                'content' => $this->_name_stop(),
43
-                'options' => array(
44
-                    'tipLocation'    => 'top',
45
-                    'tipAdjustmentX' => -5,
46
-                    'tipAdjustmentY' => -30,
47
-                ),
48
-            ),
49
-            40 => array(
50
-                'id'      => 'shortcode',
51
-                'content' => $this->_shortcode_stop(),
52
-                'options' => array(
53
-                    'tipLocation'    => 'top',
54
-                    'tipAdjustmentX' => 5,
55
-                    'tipAdjustmentY' => -30,
56
-                ),
57
-            ),
58
-            50 => array(
59
-                'id'      => 'count',
60
-                'content' => $this->_count_stop(),
61
-                'options' => array(
62
-                    'tipLocation'    => 'top',
63
-                    'tipAdjustmentX' => 5,
64
-                    'tipAdjustmentY' => -30,
65
-                ),
66
-            ),
67
-            60 => array(
68
-                'class'   => 'bulkactions',
69
-                'content' => $this->_bulk_actions_stop(),
70
-                'options' => array(
71
-                    'tipLocation'    => 'top',
72
-                    'tipAdjustmentX' => 25,
73
-                    'tipAdjustmentY' => -35,
74
-                ),
75
-            ),
76
-            70 => array(
77
-                'id'      => 'event-espresso_page_espresso_categories-search-input',
78
-                'content' => $this->_search_stop(),
79
-                'options' => array(
80
-                    'tipLocation'    => 'left',
81
-                    'tipAdjustmentY' => -50,
82
-                    'tipAdjustmentX' => -15,
83
-                ),
84
-            ),
85
-            80 => array(
86
-                'id'      => 'add-new-category',
87
-                'content' => $this->_new_category_stop(),
88
-                'options' => array(
89
-                    'tipLocation'    => 'right',
90
-                    'tipAdjustmentY' => -50,
91
-                    'tipAdjustmentX' => 10,
92
-                ),
93
-            ),
94
-        );
95
-    }
25
+	protected function _set_tour_stops()
26
+	{
27
+		$this->_stops = array(
28
+			10 => array(
29
+				'content' => $this->_start(),
30
+			),
31
+			20 => array(
32
+				'id'      => 'id',
33
+				'content' => $this->_id_stop(),
34
+				'options' => array(
35
+					'tipLocation'    => 'top',
36
+					'tipAdjustmentX' => -20,
37
+					'tipAdjustmentY' => -30,
38
+				),
39
+			),
40
+			30 => array(
41
+				'id'      => 'name',
42
+				'content' => $this->_name_stop(),
43
+				'options' => array(
44
+					'tipLocation'    => 'top',
45
+					'tipAdjustmentX' => -5,
46
+					'tipAdjustmentY' => -30,
47
+				),
48
+			),
49
+			40 => array(
50
+				'id'      => 'shortcode',
51
+				'content' => $this->_shortcode_stop(),
52
+				'options' => array(
53
+					'tipLocation'    => 'top',
54
+					'tipAdjustmentX' => 5,
55
+					'tipAdjustmentY' => -30,
56
+				),
57
+			),
58
+			50 => array(
59
+				'id'      => 'count',
60
+				'content' => $this->_count_stop(),
61
+				'options' => array(
62
+					'tipLocation'    => 'top',
63
+					'tipAdjustmentX' => 5,
64
+					'tipAdjustmentY' => -30,
65
+				),
66
+			),
67
+			60 => array(
68
+				'class'   => 'bulkactions',
69
+				'content' => $this->_bulk_actions_stop(),
70
+				'options' => array(
71
+					'tipLocation'    => 'top',
72
+					'tipAdjustmentX' => 25,
73
+					'tipAdjustmentY' => -35,
74
+				),
75
+			),
76
+			70 => array(
77
+				'id'      => 'event-espresso_page_espresso_categories-search-input',
78
+				'content' => $this->_search_stop(),
79
+				'options' => array(
80
+					'tipLocation'    => 'left',
81
+					'tipAdjustmentY' => -50,
82
+					'tipAdjustmentX' => -15,
83
+				),
84
+			),
85
+			80 => array(
86
+				'id'      => 'add-new-category',
87
+				'content' => $this->_new_category_stop(),
88
+				'options' => array(
89
+					'tipLocation'    => 'right',
90
+					'tipAdjustmentY' => -50,
91
+					'tipAdjustmentX' => 10,
92
+				),
93
+			),
94
+		);
95
+	}
96 96
 
97 97
 
98
-    protected function _start()
99
-    {
100
-        $content = '<h3>' . __('Event Categories', 'event_espresso') . '</h3>';
101
-        $content .= '<p>'
102
-                    . __(
103
-                        '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.',
104
-                        'event_espresso'
105
-                    ) . '</p>';
106
-        return $content;
107
-    }
98
+	protected function _start()
99
+	{
100
+		$content = '<h3>' . __('Event Categories', 'event_espresso') . '</h3>';
101
+		$content .= '<p>'
102
+					. __(
103
+						'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.',
104
+						'event_espresso'
105
+					) . '</p>';
106
+		return $content;
107
+	}
108 108
 
109
-    protected function _id_stop()
110
-    {
111
-        return '<p>'
112
-               . __(
113
-                   'View the event category ID. Can be sorted by ascending or descending order.',
114
-                   'event_espresso'
115
-               ) . '</p>';
116
-    }
109
+	protected function _id_stop()
110
+	{
111
+		return '<p>'
112
+			   . __(
113
+				   'View the event category ID. Can be sorted by ascending or descending order.',
114
+				   'event_espresso'
115
+			   ) . '</p>';
116
+	}
117 117
 
118
-    protected function _name_stop()
119
-    {
120
-        return '<p>'
121
-               . __(
122
-                   'View the name of each event category. Can be sorted by ascending or descending order.',
123
-                   'event_espresso'
124
-               ) . '</p>';
125
-    }
118
+	protected function _name_stop()
119
+	{
120
+		return '<p>'
121
+			   . __(
122
+				   'View the name of each event category. Can be sorted by ascending or descending order.',
123
+				   'event_espresso'
124
+			   ) . '</p>';
125
+	}
126 126
 
127
-    protected function _shortcode_stop()
128
-    {
129
-        return '<p>'
130
-               . __(
131
-                   'View the shortcode for an event. This shortcode can be added to a WordPress post or WordPress page. ',
132
-                   'event_espresso'
133
-               ) . '</p>';
134
-    }
127
+	protected function _shortcode_stop()
128
+	{
129
+		return '<p>'
130
+			   . __(
131
+				   'View the shortcode for an event. This shortcode can be added to a WordPress post or WordPress page. ',
132
+				   'event_espresso'
133
+			   ) . '</p>';
134
+	}
135 135
 
136
-    protected function _count_stop()
137
-    {
138
-        return '<p>'
139
-               . __(
140
-                   'View the number of events that are associated with an event category.',
141
-                   'event_espresso'
142
-               ) . '</p>';
143
-    }
136
+	protected function _count_stop()
137
+	{
138
+		return '<p>'
139
+			   . __(
140
+				   'View the number of events that are associated with an event category.',
141
+				   'event_espresso'
142
+			   ) . '</p>';
143
+	}
144 144
 
145
-    protected function _bulk_actions_stop()
146
-    {
147
-        return '<p>' . __('Perform bulk actions to multiple event categories.', 'event_espresso') . '</p>';
148
-    }
145
+	protected function _bulk_actions_stop()
146
+	{
147
+		return '<p>' . __('Perform bulk actions to multiple event categories.', 'event_espresso') . '</p>';
148
+	}
149 149
 
150
-    protected function _search_stop()
151
-    {
152
-        return '<p>'
153
-               . __(
154
-                   'Search through event categories. The following sources will be searched: Event Category Name, Event Category Description.',
155
-                   'event_espresso'
156
-               ) . '</p>';
157
-    }
150
+	protected function _search_stop()
151
+	{
152
+		return '<p>'
153
+			   . __(
154
+				   'Search through event categories. The following sources will be searched: Event Category Name, Event Category Description.',
155
+				   'event_espresso'
156
+			   ) . '</p>';
157
+	}
158 158
 
159
-    protected function _new_category_stop()
160
-    {
161
-        return '<p>' . __('Click here to add a new event category.', 'event_espresso') . '</p>';
162
-    }
159
+	protected function _new_category_stop()
160
+	{
161
+		return '<p>' . __('Click here to add a new event category.', 'event_espresso') . '</p>';
162
+	}
163 163
 }
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -97,12 +97,12 @@  discard block
 block discarded – undo
97 97
 
98 98
     protected function _start()
99 99
     {
100
-        $content = '<h3>' . __('Event Categories', 'event_espresso') . '</h3>';
100
+        $content = '<h3>'.__('Event Categories', 'event_espresso').'</h3>';
101 101
         $content .= '<p>'
102 102
                     . __(
103 103
                         '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.',
104 104
                         'event_espresso'
105
-                    ) . '</p>';
105
+                    ).'</p>';
106 106
         return $content;
107 107
     }
108 108
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
                . __(
113 113
                    'View the event category ID. Can be sorted by ascending or descending order.',
114 114
                    'event_espresso'
115
-               ) . '</p>';
115
+               ).'</p>';
116 116
     }
117 117
 
118 118
     protected function _name_stop()
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
                . __(
122 122
                    'View the name of each event category. Can be sorted by ascending or descending order.',
123 123
                    'event_espresso'
124
-               ) . '</p>';
124
+               ).'</p>';
125 125
     }
126 126
 
127 127
     protected function _shortcode_stop()
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
                . __(
131 131
                    'View the shortcode for an event. This shortcode can be added to a WordPress post or WordPress page. ',
132 132
                    'event_espresso'
133
-               ) . '</p>';
133
+               ).'</p>';
134 134
     }
135 135
 
136 136
     protected function _count_stop()
@@ -139,12 +139,12 @@  discard block
 block discarded – undo
139 139
                . __(
140 140
                    'View the number of events that are associated with an event category.',
141 141
                    'event_espresso'
142
-               ) . '</p>';
142
+               ).'</p>';
143 143
     }
144 144
 
145 145
     protected function _bulk_actions_stop()
146 146
     {
147
-        return '<p>' . __('Perform bulk actions to multiple event categories.', 'event_espresso') . '</p>';
147
+        return '<p>'.__('Perform bulk actions to multiple event categories.', 'event_espresso').'</p>';
148 148
     }
149 149
 
150 150
     protected function _search_stop()
@@ -153,11 +153,11 @@  discard block
 block discarded – undo
153 153
                . __(
154 154
                    'Search through event categories. The following sources will be searched: Event Category Name, Event Category Description.',
155 155
                    'event_espresso'
156
-               ) . '</p>';
156
+               ).'</p>';
157 157
     }
158 158
 
159 159
     protected function _new_category_stop()
160 160
     {
161
-        return '<p>' . __('Click here to add a new event category.', 'event_espresso') . '</p>';
161
+        return '<p>'.__('Click here to add a new event category.', 'event_espresso').'</p>';
162 162
     }
163 163
 }
Please login to merge, or discard this patch.
admin_pages/events/help_tours/New_Features_Test_Help_Tour.class.php 2 patches
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -15,37 +15,37 @@
 block discarded – undo
15 15
 class New_Features_Test_Help_Tour extends EE_Help_Tour
16 16
 {
17 17
 
18
-    protected function _set_tour_properties()
19
-    {
20
-        $this->_label = __('New Features Test', 'event_espresso');
21
-        $this->_slug = 'new-features-test';
22
-    }
18
+	protected function _set_tour_properties()
19
+	{
20
+		$this->_label = __('New Features Test', 'event_espresso');
21
+		$this->_slug = 'new-features-test';
22
+	}
23 23
 
24 24
 
25
-    protected function _set_tour_stops()
26
-    {
27
-        $this->_stops = array(
28
-            10 => array(
29
-                'content'     => $this->_end(),
30
-                'button_text' => __('Quit', 'event_espresso'),
31
-                'options'     => array(
32
-                    'tipLocation'    => 'left',
33
-                    'tipAdjustmentY' => -20,
34
-                    'tipAdjustmentX' => 10,
35
-                ),
36
-            ),
37
-        );
38
-    }
25
+	protected function _set_tour_stops()
26
+	{
27
+		$this->_stops = array(
28
+			10 => array(
29
+				'content'     => $this->_end(),
30
+				'button_text' => __('Quit', 'event_espresso'),
31
+				'options'     => array(
32
+					'tipLocation'    => 'left',
33
+					'tipAdjustmentY' => -20,
34
+					'tipAdjustmentX' => 10,
35
+				),
36
+			),
37
+		);
38
+	}
39 39
 
40 40
 
41
-    /**
42
-     * This is the default last stop for all tours that is displayed at the end of a tour OR when a tour is exited for
43
-     * the first time.
44
-     *
45
-     * @return string
46
-     */
47
-    protected function _end()
48
-    {
49
-        return '<p>' . 'This is just testing that multiple tours still work' . '</p>';
50
-    }
41
+	/**
42
+	 * This is the default last stop for all tours that is displayed at the end of a tour OR when a tour is exited for
43
+	 * the first time.
44
+	 *
45
+	 * @return string
46
+	 */
47
+	protected function _end()
48
+	{
49
+		return '<p>' . 'This is just testing that multiple tours still work' . '</p>';
50
+	}
51 51
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,6 +46,6 @@
 block discarded – undo
46 46
      */
47 47
     protected function _end()
48 48
     {
49
-        return '<p>' . 'This is just testing that multiple tours still work' . '</p>';
49
+        return '<p>'.'This is just testing that multiple tours still work'.'</p>';
50 50
     }
51 51
 }
Please login to merge, or discard this patch.
admin_pages/events/help_tours/Event_Overview_Help_Tour.class.php 2 patches
Indentation   +241 added lines, -241 removed lines patch added patch discarded remove patch
@@ -15,263 +15,263 @@
 block discarded – undo
15 15
 class Event_Overview_Help_Tour extends EE_Help_Tour
16 16
 {
17 17
 
18
-    protected function _set_tour_properties()
19
-    {
20
-        $this->_label = __('Event Overview Tour', 'event_espresso');
21
-        $this->_slug = $this->_is_caf ? 'event-overview-caf-joyride' : 'event-overview-joyride';
22
-    }
18
+	protected function _set_tour_properties()
19
+	{
20
+		$this->_label = __('Event Overview Tour', 'event_espresso');
21
+		$this->_slug = $this->_is_caf ? 'event-overview-caf-joyride' : 'event-overview-joyride';
22
+	}
23 23
 
24 24
 
25
-    protected function _set_tour_stops()
26
-    {
27
-        $this->_stops = array(
28
-            10  => array(
29
-                'content' => $this->_start(),
30
-            ),
31
-            20  => array(
32
-                'id'      => 'id',
33
-                'content' => $this->_event_id_stop(),
34
-                'options' => array(
35
-                    'tipLocation'    => 'top',
36
-                    'tipAdjustmentX' => -20,
37
-                    'tipAdjustmentY' => -30,
38
-                ),
39
-            ),
40
-            30  => array(
41
-                'id'      => 'name',
42
-                'content' => $this->_event_name_stop(),
43
-                'options' => array(
44
-                    'tipLocation'    => 'top',
45
-                    'tipAdjustmentX' => -5,
46
-                    'tipAdjustmentY' => -30,
47
-                ),
48
-            ),
49
-            40  => array(
50
-                'id'      => 'venue',
51
-                'content' => $this->_event_venue_stop(),
52
-                'options' => array(
53
-                    'tipLocation'    => 'top',
54
-                    'tipAdjustmentX' => -5,
55
-                    'tipAdjustmentY' => -30,
56
-                ),
57
-            ),
58
-            50  => array(
59
-                'id'      => 'start_date_time',
60
-                'content' => $this->_event_start_date_stop(),
61
-                'options' => array(
62
-                    'tipLocation'    => 'top',
63
-                    'tipAdjustmentX' => 5,
64
-                    'tipAdjustmentY' => -30,
65
-                ),
66
-            ),
67
-            60  => array(
68
-                'id'      => 'reg_begins',
69
-                'content' => $this->_event_onsale_stop(),
70
-                'options' => array(
71
-                    'tipLocation'    => 'top',
72
-                    'tipAdjustmentX' => -5,
73
-                    'tipAdjustmentY' => -30,
74
-                ),
75
-            ),
76
-            70  => array(
77
-                'id'      => 'attendees',
78
-                'content' => $this->_event_registrations_stop(),
79
-                'options' => array(
80
-                    'tipLocation'    => 'left',
81
-                    'tipAdjustmentX' => -5,
82
-                    'tipAdjustmentY' => -50,
83
-                ),
84
-            ),
85
-            80  => array(
86
-                'id'      => 'actions',
87
-                'content' => $this->_actions_stop(),
88
-                'options' => array(
89
-                    'tipLocation'    => 'left',
90
-                    'tipAdjustmentX' => 0,
91
-                    'tipAdjustmentY' => -50,
92
-                ),
93
-            ),
94
-            90  => array(
95
-                'class'   => 'ee-list-table-legend-container',
96
-                'content' => $this->_legend_stop(),
97
-                'options' => array(
98
-                    'tipLocation'    => 'top',
99
-                    'tipAdjustmentX' => 15,
100
-                    'tipAdjustmentY' => -30,
101
-                ),
102
-            ),
103
-            100 => array(
104
-                'id'      => 'view-event-archive-page',
105
-                'content' => $this->_stop_archive_button(),
106
-                'options' => array(
107
-                    'tipLocation'    => 'right',
108
-                    'tipAdjustmentY' => -50,
109
-                    'tipAdjustmentX' => 10,
110
-                ),
111
-            ),
112
-            110 => array(
113
-                'class'   => 'subsubsub',
114
-                'content' => $this->_views_stop(),
115
-                'options' => array(
116
-                    'tipLocation'    => 'right',
117
-                    'tipAdjustmentY' => -50,
118
-                    'tipAdjustmentX' => 15,
119
-                ),
120
-            ),
121
-            120 => array(
122
-                'class'   => 'bulkactions',
123
-                'content' => $this->_bulkactions_stop(),
124
-                'options' => array(
125
-                    'tipLocation'    => 'bottom',
126
-                    'tipAdjustmentY' => -30,
127
-                    'tipAdjustmentX' => 15,
128
-                ),
129
-            ),
130
-            130 => array(
131
-                'id'      => 'EVT_CAT',
132
-                'content' => $this->_stop_about_filters(),
133
-                'options' => array(
134
-                    'tipLocation'    => 'top',
135
-                    'tipAdjustmentY' => -40,
136
-                    'tipAdjustmentX' => -5,
137
-                ),
138
-            ),
139
-            140 => array(
140
-                'id'      => 'toplevel_page_espresso_events-search-input',
141
-                'content' => $this->_search_stop(),
142
-                'options' => array(
143
-                    'tipLocation'    => 'left',
144
-                    'tipAdjustmentY' => -50,
145
-                    'tipAdjustmentX' => -15,
146
-                ),
147
-            ),
148
-            150 => array(
149
-                'id'      => 'add-new-event',
150
-                'content' => $this->_add_new_event_stop(),
151
-                'options' => array(
152
-                    'tipLocation'    => 'right',
153
-                    'tipAdjustmentY' => -50,
154
-                    'tipAdjustmentX' => 20,
155
-                ),
156
-            ),
157
-        );
158
-    }
25
+	protected function _set_tour_stops()
26
+	{
27
+		$this->_stops = array(
28
+			10  => array(
29
+				'content' => $this->_start(),
30
+			),
31
+			20  => array(
32
+				'id'      => 'id',
33
+				'content' => $this->_event_id_stop(),
34
+				'options' => array(
35
+					'tipLocation'    => 'top',
36
+					'tipAdjustmentX' => -20,
37
+					'tipAdjustmentY' => -30,
38
+				),
39
+			),
40
+			30  => array(
41
+				'id'      => 'name',
42
+				'content' => $this->_event_name_stop(),
43
+				'options' => array(
44
+					'tipLocation'    => 'top',
45
+					'tipAdjustmentX' => -5,
46
+					'tipAdjustmentY' => -30,
47
+				),
48
+			),
49
+			40  => array(
50
+				'id'      => 'venue',
51
+				'content' => $this->_event_venue_stop(),
52
+				'options' => array(
53
+					'tipLocation'    => 'top',
54
+					'tipAdjustmentX' => -5,
55
+					'tipAdjustmentY' => -30,
56
+				),
57
+			),
58
+			50  => array(
59
+				'id'      => 'start_date_time',
60
+				'content' => $this->_event_start_date_stop(),
61
+				'options' => array(
62
+					'tipLocation'    => 'top',
63
+					'tipAdjustmentX' => 5,
64
+					'tipAdjustmentY' => -30,
65
+				),
66
+			),
67
+			60  => array(
68
+				'id'      => 'reg_begins',
69
+				'content' => $this->_event_onsale_stop(),
70
+				'options' => array(
71
+					'tipLocation'    => 'top',
72
+					'tipAdjustmentX' => -5,
73
+					'tipAdjustmentY' => -30,
74
+				),
75
+			),
76
+			70  => array(
77
+				'id'      => 'attendees',
78
+				'content' => $this->_event_registrations_stop(),
79
+				'options' => array(
80
+					'tipLocation'    => 'left',
81
+					'tipAdjustmentX' => -5,
82
+					'tipAdjustmentY' => -50,
83
+				),
84
+			),
85
+			80  => array(
86
+				'id'      => 'actions',
87
+				'content' => $this->_actions_stop(),
88
+				'options' => array(
89
+					'tipLocation'    => 'left',
90
+					'tipAdjustmentX' => 0,
91
+					'tipAdjustmentY' => -50,
92
+				),
93
+			),
94
+			90  => array(
95
+				'class'   => 'ee-list-table-legend-container',
96
+				'content' => $this->_legend_stop(),
97
+				'options' => array(
98
+					'tipLocation'    => 'top',
99
+					'tipAdjustmentX' => 15,
100
+					'tipAdjustmentY' => -30,
101
+				),
102
+			),
103
+			100 => array(
104
+				'id'      => 'view-event-archive-page',
105
+				'content' => $this->_stop_archive_button(),
106
+				'options' => array(
107
+					'tipLocation'    => 'right',
108
+					'tipAdjustmentY' => -50,
109
+					'tipAdjustmentX' => 10,
110
+				),
111
+			),
112
+			110 => array(
113
+				'class'   => 'subsubsub',
114
+				'content' => $this->_views_stop(),
115
+				'options' => array(
116
+					'tipLocation'    => 'right',
117
+					'tipAdjustmentY' => -50,
118
+					'tipAdjustmentX' => 15,
119
+				),
120
+			),
121
+			120 => array(
122
+				'class'   => 'bulkactions',
123
+				'content' => $this->_bulkactions_stop(),
124
+				'options' => array(
125
+					'tipLocation'    => 'bottom',
126
+					'tipAdjustmentY' => -30,
127
+					'tipAdjustmentX' => 15,
128
+				),
129
+			),
130
+			130 => array(
131
+				'id'      => 'EVT_CAT',
132
+				'content' => $this->_stop_about_filters(),
133
+				'options' => array(
134
+					'tipLocation'    => 'top',
135
+					'tipAdjustmentY' => -40,
136
+					'tipAdjustmentX' => -5,
137
+				),
138
+			),
139
+			140 => array(
140
+				'id'      => 'toplevel_page_espresso_events-search-input',
141
+				'content' => $this->_search_stop(),
142
+				'options' => array(
143
+					'tipLocation'    => 'left',
144
+					'tipAdjustmentY' => -50,
145
+					'tipAdjustmentX' => -15,
146
+				),
147
+			),
148
+			150 => array(
149
+				'id'      => 'add-new-event',
150
+				'content' => $this->_add_new_event_stop(),
151
+				'options' => array(
152
+					'tipLocation'    => 'right',
153
+					'tipAdjustmentY' => -50,
154
+					'tipAdjustmentX' => 20,
155
+				),
156
+			),
157
+		);
158
+	}
159 159
 
160
-    protected function _start()
161
-    {
162
-        $content = '<h3>' . __('Events Overview', 'event_espresso') . '</h3>';
163
-        $content .= '<p>'
164
-                    . __(
165
-                        'This tour of the Events Overview page will go over different areas of the screen to help you understand what they are used for.',
166
-                        'event_espresso'
167
-                    ) . '</p>';
168
-        return $content;
169
-    }
160
+	protected function _start()
161
+	{
162
+		$content = '<h3>' . __('Events Overview', 'event_espresso') . '</h3>';
163
+		$content .= '<p>'
164
+					. __(
165
+						'This tour of the Events Overview page will go over different areas of the screen to help you understand what they are used for.',
166
+						'event_espresso'
167
+					) . '</p>';
168
+		return $content;
169
+	}
170 170
 
171 171
 
172
-    protected function _event_id_stop()
173
-    {
174
-        return '<p>'
175
-               . __(
176
-                   'View an ID for an event. Can be sorted in ascending or descending order.',
177
-                   'event_espresso'
178
-               ) . '</p>';
179
-    }
172
+	protected function _event_id_stop()
173
+	{
174
+		return '<p>'
175
+			   . __(
176
+				   'View an ID for an event. Can be sorted in ascending or descending order.',
177
+				   'event_espresso'
178
+			   ) . '</p>';
179
+	}
180 180
 
181
-    protected function _event_name_stop()
182
-    {
183
-        return '<p>'
184
-               . __(
185
-                   'View the name (title) of an event. Can be sorted in ascending or descending order.',
186
-                   'event_espresso'
187
-               ) . '</p>';
188
-    }
181
+	protected function _event_name_stop()
182
+	{
183
+		return '<p>'
184
+			   . __(
185
+				   'View the name (title) of an event. Can be sorted in ascending or descending order.',
186
+				   'event_espresso'
187
+			   ) . '</p>';
188
+	}
189 189
 
190
-    protected function _event_venue_stop()
191
-    {
192
-        return '<p>'
193
-               . __(
194
-                   'View the venue for an event. Can be sorted in ascending or descending order.',
195
-                   'event_espresso'
196
-               ) . '</p>';
197
-    }
190
+	protected function _event_venue_stop()
191
+	{
192
+		return '<p>'
193
+			   . __(
194
+				   'View the venue for an event. Can be sorted in ascending or descending order.',
195
+				   'event_espresso'
196
+			   ) . '</p>';
197
+	}
198 198
 
199
-    protected function _event_start_date_stop()
200
-    {
201
-        return '<p>'
202
-               . __(
203
-                   'View the date and time that an event begins on. Can be sorted in ascending or descending order.',
204
-                   'event_espresso'
205
-               ) . '</p>';
206
-    }
199
+	protected function _event_start_date_stop()
200
+	{
201
+		return '<p>'
202
+			   . __(
203
+				   'View the date and time that an event begins on. Can be sorted in ascending or descending order.',
204
+				   'event_espresso'
205
+			   ) . '</p>';
206
+	}
207 207
 
208
-    protected function _event_onsale_stop()
209
-    {
210
-        return '<p>'
211
-               . __(
212
-                   'View the datetime that the first ticket for an event is available for purchase. Can be sorted in ascending or descending order.',
213
-                   'event_espresso'
214
-               ) . '</p>';
215
-    }
208
+	protected function _event_onsale_stop()
209
+	{
210
+		return '<p>'
211
+			   . __(
212
+				   'View the datetime that the first ticket for an event is available for purchase. Can be sorted in ascending or descending order.',
213
+				   'event_espresso'
214
+			   ) . '</p>';
215
+	}
216 216
 
217
-    protected function _event_registrations_stop()
218
-    {
219
-        return '<p>' . __('View the number of approved registrations for an event.', 'event_espresso') . '</p>';
220
-    }
217
+	protected function _event_registrations_stop()
218
+	{
219
+		return '<p>' . __('View the number of approved registrations for an event.', 'event_espresso') . '</p>';
220
+	}
221 221
 
222
-    protected function _actions_stop()
223
-    {
224
-        return '<p>'
225
-               . __(
226
-                   'Perform an action to an event. See legend in bottom left corner.',
227
-                   'event_espresso'
228
-               ) . '</p>';
229
-    }
222
+	protected function _actions_stop()
223
+	{
224
+		return '<p>'
225
+			   . __(
226
+				   'Perform an action to an event. See legend in bottom left corner.',
227
+				   'event_espresso'
228
+			   ) . '</p>';
229
+	}
230 230
 
231
-    protected function _legend_stop()
232
-    {
233
-        return '<p>'
234
-               . __(
235
-                   'This is the legend that describes the actions available in the actions column. Also shows the statuses that are available for an event.',
236
-                   'event_espresso'
237
-               ) . '</p>';
238
-    }
231
+	protected function _legend_stop()
232
+	{
233
+		return '<p>'
234
+			   . __(
235
+				   'This is the legend that describes the actions available in the actions column. Also shows the statuses that are available for an event.',
236
+				   'event_espresso'
237
+			   ) . '</p>';
238
+	}
239 239
 
240
-    protected function _stop_archive_button()
241
-    {
242
-        return '<p>This button takes you to the event listings page on the front-end of your website.</p>';
243
-    }
240
+	protected function _stop_archive_button()
241
+	{
242
+		return '<p>This button takes you to the event listings page on the front-end of your website.</p>';
243
+	}
244 244
 
245
-    protected function _views_stop()
246
-    {
247
-        return '<p>'
248
-               . __(
249
-                   'You can select different views by draft, time period, or look at events which have been moved to the trash.',
250
-                   'event_espresso'
251
-               ) . '</p>';
252
-    }
245
+	protected function _views_stop()
246
+	{
247
+		return '<p>'
248
+			   . __(
249
+				   'You can select different views by draft, time period, or look at events which have been moved to the trash.',
250
+				   'event_espresso'
251
+			   ) . '</p>';
252
+	}
253 253
 
254
-    protected function _bulkactions_stop()
255
-    {
256
-        return '<p>' . __('Perform a bulk action to multiple events.', 'event_espresso') . '</p>';
257
-    }
254
+	protected function _bulkactions_stop()
255
+	{
256
+		return '<p>' . __('Perform a bulk action to multiple events.', 'event_espresso') . '</p>';
257
+	}
258 258
 
259
-    protected function _stop_about_filters()
260
-    {
261
-        return '<p>' . __('Events can be filtered by status, date, or category.', 'event_espresso') . '</p>';
262
-    }
259
+	protected function _stop_about_filters()
260
+	{
261
+		return '<p>' . __('Events can be filtered by status, date, or category.', 'event_espresso') . '</p>';
262
+	}
263 263
 
264
-    protected function _search_stop()
265
-    {
266
-        return '<p>'
267
-               . __(
268
-                   'Search through events. The following sources will be searched: Event Name, Event Description, and Event Short Description.',
269
-                   'event_espresso'
270
-               ) . '</p>';
271
-    }
264
+	protected function _search_stop()
265
+	{
266
+		return '<p>'
267
+			   . __(
268
+				   'Search through events. The following sources will be searched: Event Name, Event Description, and Event Short Description.',
269
+				   'event_espresso'
270
+			   ) . '</p>';
271
+	}
272 272
 
273
-    protected function _add_new_event_stop()
274
-    {
275
-        return '<p>' . __('Click this button to add a new event.', 'event_espresso') . '</p>';
276
-    }
273
+	protected function _add_new_event_stop()
274
+	{
275
+		return '<p>' . __('Click this button to add a new event.', 'event_espresso') . '</p>';
276
+	}
277 277
 }
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -159,12 +159,12 @@  discard block
 block discarded – undo
159 159
 
160 160
     protected function _start()
161 161
     {
162
-        $content = '<h3>' . __('Events Overview', 'event_espresso') . '</h3>';
162
+        $content = '<h3>'.__('Events Overview', 'event_espresso').'</h3>';
163 163
         $content .= '<p>'
164 164
                     . __(
165 165
                         'This tour of the Events Overview page will go over different areas of the screen to help you understand what they are used for.',
166 166
                         'event_espresso'
167
-                    ) . '</p>';
167
+                    ).'</p>';
168 168
         return $content;
169 169
     }
170 170
 
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
                . __(
176 176
                    'View an ID for an event. Can be sorted in ascending or descending order.',
177 177
                    'event_espresso'
178
-               ) . '</p>';
178
+               ).'</p>';
179 179
     }
180 180
 
181 181
     protected function _event_name_stop()
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
                . __(
185 185
                    'View the name (title) of an event. Can be sorted in ascending or descending order.',
186 186
                    'event_espresso'
187
-               ) . '</p>';
187
+               ).'</p>';
188 188
     }
189 189
 
190 190
     protected function _event_venue_stop()
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
                . __(
194 194
                    'View the venue for an event. Can be sorted in ascending or descending order.',
195 195
                    'event_espresso'
196
-               ) . '</p>';
196
+               ).'</p>';
197 197
     }
198 198
 
199 199
     protected function _event_start_date_stop()
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
                . __(
203 203
                    'View the date and time that an event begins on. Can be sorted in ascending or descending order.',
204 204
                    'event_espresso'
205
-               ) . '</p>';
205
+               ).'</p>';
206 206
     }
207 207
 
208 208
     protected function _event_onsale_stop()
@@ -211,12 +211,12 @@  discard block
 block discarded – undo
211 211
                . __(
212 212
                    'View the datetime that the first ticket for an event is available for purchase. Can be sorted in ascending or descending order.',
213 213
                    'event_espresso'
214
-               ) . '</p>';
214
+               ).'</p>';
215 215
     }
216 216
 
217 217
     protected function _event_registrations_stop()
218 218
     {
219
-        return '<p>' . __('View the number of approved registrations for an event.', 'event_espresso') . '</p>';
219
+        return '<p>'.__('View the number of approved registrations for an event.', 'event_espresso').'</p>';
220 220
     }
221 221
 
222 222
     protected function _actions_stop()
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
                . __(
226 226
                    'Perform an action to an event. See legend in bottom left corner.',
227 227
                    'event_espresso'
228
-               ) . '</p>';
228
+               ).'</p>';
229 229
     }
230 230
 
231 231
     protected function _legend_stop()
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
                . __(
235 235
                    'This is the legend that describes the actions available in the actions column. Also shows the statuses that are available for an event.',
236 236
                    'event_espresso'
237
-               ) . '</p>';
237
+               ).'</p>';
238 238
     }
239 239
 
240 240
     protected function _stop_archive_button()
@@ -248,17 +248,17 @@  discard block
 block discarded – undo
248 248
                . __(
249 249
                    'You can select different views by draft, time period, or look at events which have been moved to the trash.',
250 250
                    'event_espresso'
251
-               ) . '</p>';
251
+               ).'</p>';
252 252
     }
253 253
 
254 254
     protected function _bulkactions_stop()
255 255
     {
256
-        return '<p>' . __('Perform a bulk action to multiple events.', 'event_espresso') . '</p>';
256
+        return '<p>'.__('Perform a bulk action to multiple events.', 'event_espresso').'</p>';
257 257
     }
258 258
 
259 259
     protected function _stop_about_filters()
260 260
     {
261
-        return '<p>' . __('Events can be filtered by status, date, or category.', 'event_espresso') . '</p>';
261
+        return '<p>'.__('Events can be filtered by status, date, or category.', 'event_espresso').'</p>';
262 262
     }
263 263
 
264 264
     protected function _search_stop()
@@ -267,11 +267,11 @@  discard block
 block discarded – undo
267 267
                . __(
268 268
                    'Search through events. The following sources will be searched: Event Name, Event Description, and Event Short Description.',
269 269
                    'event_espresso'
270
-               ) . '</p>';
270
+               ).'</p>';
271 271
     }
272 272
 
273 273
     protected function _add_new_event_stop()
274 274
     {
275
-        return '<p>' . __('Click this button to add a new event.', 'event_espresso') . '</p>';
275
+        return '<p>'.__('Click this button to add a new event.', 'event_espresso').'</p>';
276 276
     }
277 277
 }
Please login to merge, or discard this patch.
admin_pages/events/help_tours/Event_Edit_Help_Tour.class.php 2 patches
Indentation   +222 added lines, -222 removed lines patch added patch discarded remove patch
@@ -15,226 +15,226 @@
 block discarded – undo
15 15
 class Event_Edit_Help_Tour extends EE_Help_Tour
16 16
 {
17 17
 
18
-    protected function _set_tour_properties()
19
-    {
20
-        $this->_label = __('Event Editor Tour', 'event_espresso');
21
-        $this->_slug = $this->_is_caf ? 'event-edit-caf-joyride' : 'event-edit-joyride';
22
-    }
23
-
24
-    protected function _set_tour_stops()
25
-    {
26
-        $this->_stops = array(
27
-            10 => array(
28
-                'content' => $this->_start(),
29
-            ),
30
-            20 => array(
31
-                'id'      => 'titlewrap',
32
-                'content' => $this->_event_title_stop(),
33
-                'options' => array(
34
-                    'tipLocation'    => 'bottom',
35
-                    'tipAdjustmentY' => -40,
36
-                ),
37
-            ),
38
-            30 => array(
39
-                'id'      => 'wp-content-editor-tools',
40
-                'content' => $this->_event_description_stop(),
41
-                'options' => array(
42
-                    'tipLocation' => 'right',
43
-                ),
44
-            ),
45
-            35 => array(
46
-                'id'      => 'espresso_event_editor_tickets',
47
-                'content' => $this->_event_pricing_stop(),
48
-                'options' => array(
49
-                    'tipLocation'    => 'top',
50
-                    'tipAdjustmentY' => -30,
51
-                ),
52
-            ),
53
-            40 => array(
54
-                'id'      => 'espresso_events_Venues_Hooks_venue_metabox_metabox',
55
-                'content' => $this->_event_venues_caf(),
56
-                'options' => array(
57
-                    'tipLocation'    => 'top',
58
-                    'tipAdjustmentY' => -30,
59
-                ),
60
-            ),
61
-            45 => array(
62
-                'id'      => 'espresso_event_editor_venue',
63
-                'content' => $this->_event_venues_stop(),
64
-                'options' => array(
65
-                    'tipLocation'    => 'top',
66
-                    'tipAdjustmentY' => -30,
67
-                ),
68
-            ),
69
-            50 => array(
70
-                'id'      => 'espresso_events_Pricing_Hooks_pricing_metabox_metabox',
71
-                'content' => $this->_event_pricing_caf(),
72
-                'options' => array(
73
-                    'tipLocation'    => 'top',
74
-                    'tipAdjustmentY' => -30,
75
-                ),
76
-            ),
77
-            60 => array(
78
-                'id'      => 'tagsdiv-post_tag',
79
-                'content' => $this->_event_post_tag_stop(),
80
-                'options' => array(
81
-                    'tipLocation' => 'left',
82
-                ),
83
-            ),
84
-            70 => array(
85
-                'id'      => 'espresso_event_categoriesdiv',
86
-                'content' => $this->_event_categories_stop(),
87
-                'options' => array(
88
-                    'tipLocation' => 'left',
89
-                ),
90
-            ),
91
-
92
-            80  => array(
93
-                'id'      => $this->_is_caf ? 'espresso_events_Registration_Form_Hooks_Extend_primary_questions_metabox'
94
-                    : 'espresso_events_Registration_Form_Hooks_primary_questions_metabox',
95
-                'content' => $this->_primary_question_stop_caf(),
96
-                'options' => array(
97
-                    'tipLocation' => 'left',
98
-                ),
99
-            ),
100
-            90  => array(
101
-                'id'      => 'espresso_events_Registration_Form_Hooks_Extend_additional_questions_metabox',
102
-                'content' => $this->_additional_questions_stop_caf(),
103
-                'options' => array(
104
-                    'tipLocation' => 'left',
105
-                ),
106
-            ),
107
-            100 => array(
108
-                'id'      => 'postimagediv',
109
-                'content' => $this->_featured_image_stop(),
110
-                'options' => array(
111
-                    'tipLocation' => 'left',
112
-                ),
113
-            ),
114
-            110 => array(
115
-                'id'      => 'espresso_event_editor_event_options',
116
-                'content' => $this->_event_registration_options_stop(),
117
-                'options' => array(
118
-                    'tipLocation' => 'left',
119
-                ),
120
-            ),
121
-            120 => array(
122
-                'id'      => 'submitpost',
123
-                'content' => $this->_publish_event_stop(),
124
-                'options' => array(
125
-                    'tipLocation' => 'left',
126
-                ),
127
-            ),
128
-
129
-        );
130
-    }
131
-
132
-
133
-    protected function _start()
134
-    {
135
-        $content = '<h3>' . __('Event Editor', 'event_espresso') . '</h3>';
136
-        $content .= '<p>'
137
-                    . __(
138
-                        '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!',
139
-                        'event_espresso'
140
-                    ) . '</p>';
141
-        return $content;
142
-    }
143
-
144
-    protected function _event_title_stop()
145
-    {
146
-        return '<p>Enter the title for your event in this field.</p>';
147
-    }
148
-
149
-    protected function _event_description_stop()
150
-    {
151
-        return '<p>'
152
-               . __(
153
-                   'The rich text editor can be used to add information about your event. Images and links can also be added along with your text.',
154
-                   'event_espresso'
155
-               ) . '</p>';
156
-    }
157
-
158
-    protected function _event_venues_caf()
159
-    {
160
-        return '<p>'
161
-               . __(
162
-                   'In this section, you can select the venue that is hosting your event.',
163
-                   'event_espresso'
164
-               ) . '</p>';
165
-    }
166
-
167
-    protected function _event_venues_stop()
168
-    {
169
-        return '<p>'
170
-               . __(
171
-                   'In this section, you can enter information about the venue that is hosting your event.',
172
-                   'event_espresso'
173
-               ) . '</p>';
174
-    }
175
-
176
-    protected function _event_pricing_stop()
177
-    {
178
-        return '<p>'
179
-               . __(
180
-                   '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.',
181
-                   'event_espresso'
182
-               ) . '</p>';
183
-    }
184
-
185
-    protected function _event_pricing_caf()
186
-    {
187
-        return '<p>'
188
-               . __(
189
-                   '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.',
190
-                   'event_espresso'
191
-               ) . '</p>';
192
-    }
193
-
194
-    protected function _event_registration_options_stop()
195
-    {
196
-        return '<p>' . __('Setup custom options for your event registration.', 'event_espresso') . '</p>';
197
-    }
198
-
199
-    protected function _event_post_tag_stop()
200
-    {
201
-        return '<p>' . __('Quickly add tags to your event.', 'event_espresso') . '</p>';
202
-    }
203
-
204
-    protected function _event_categories_stop()
205
-    {
206
-        return '<p>' . __('Events can also be categorized if you wish.', 'event_espresso') . '</p>';
207
-    }
208
-
209
-    protected function _primary_question_stop_caf()
210
-    {
211
-        return '<p>'
212
-               . __(
213
-                   'Use the questions group to request information from your primary registrant.',
214
-                   'event_espresso'
215
-               ) . '</p>';
216
-    }
217
-
218
-    protected function _additional_questions_stop_caf()
219
-    {
220
-        return '<p>'
221
-               . __(
222
-                   'Use the questions group to request information from your additional registrant.',
223
-                   'event_espresso'
224
-               ) . '</p>';
225
-    }
226
-
227
-    protected function _featured_image_stop()
228
-    {
229
-        return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>';
230
-    }
231
-
232
-    protected function _publish_event_stop()
233
-    {
234
-        return '<p>'
235
-               . __(
236
-                   'Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.',
237
-                   'event_espresso'
238
-               ) . '</p>';
239
-    }
18
+	protected function _set_tour_properties()
19
+	{
20
+		$this->_label = __('Event Editor Tour', 'event_espresso');
21
+		$this->_slug = $this->_is_caf ? 'event-edit-caf-joyride' : 'event-edit-joyride';
22
+	}
23
+
24
+	protected function _set_tour_stops()
25
+	{
26
+		$this->_stops = array(
27
+			10 => array(
28
+				'content' => $this->_start(),
29
+			),
30
+			20 => array(
31
+				'id'      => 'titlewrap',
32
+				'content' => $this->_event_title_stop(),
33
+				'options' => array(
34
+					'tipLocation'    => 'bottom',
35
+					'tipAdjustmentY' => -40,
36
+				),
37
+			),
38
+			30 => array(
39
+				'id'      => 'wp-content-editor-tools',
40
+				'content' => $this->_event_description_stop(),
41
+				'options' => array(
42
+					'tipLocation' => 'right',
43
+				),
44
+			),
45
+			35 => array(
46
+				'id'      => 'espresso_event_editor_tickets',
47
+				'content' => $this->_event_pricing_stop(),
48
+				'options' => array(
49
+					'tipLocation'    => 'top',
50
+					'tipAdjustmentY' => -30,
51
+				),
52
+			),
53
+			40 => array(
54
+				'id'      => 'espresso_events_Venues_Hooks_venue_metabox_metabox',
55
+				'content' => $this->_event_venues_caf(),
56
+				'options' => array(
57
+					'tipLocation'    => 'top',
58
+					'tipAdjustmentY' => -30,
59
+				),
60
+			),
61
+			45 => array(
62
+				'id'      => 'espresso_event_editor_venue',
63
+				'content' => $this->_event_venues_stop(),
64
+				'options' => array(
65
+					'tipLocation'    => 'top',
66
+					'tipAdjustmentY' => -30,
67
+				),
68
+			),
69
+			50 => array(
70
+				'id'      => 'espresso_events_Pricing_Hooks_pricing_metabox_metabox',
71
+				'content' => $this->_event_pricing_caf(),
72
+				'options' => array(
73
+					'tipLocation'    => 'top',
74
+					'tipAdjustmentY' => -30,
75
+				),
76
+			),
77
+			60 => array(
78
+				'id'      => 'tagsdiv-post_tag',
79
+				'content' => $this->_event_post_tag_stop(),
80
+				'options' => array(
81
+					'tipLocation' => 'left',
82
+				),
83
+			),
84
+			70 => array(
85
+				'id'      => 'espresso_event_categoriesdiv',
86
+				'content' => $this->_event_categories_stop(),
87
+				'options' => array(
88
+					'tipLocation' => 'left',
89
+				),
90
+			),
91
+
92
+			80  => array(
93
+				'id'      => $this->_is_caf ? 'espresso_events_Registration_Form_Hooks_Extend_primary_questions_metabox'
94
+					: 'espresso_events_Registration_Form_Hooks_primary_questions_metabox',
95
+				'content' => $this->_primary_question_stop_caf(),
96
+				'options' => array(
97
+					'tipLocation' => 'left',
98
+				),
99
+			),
100
+			90  => array(
101
+				'id'      => 'espresso_events_Registration_Form_Hooks_Extend_additional_questions_metabox',
102
+				'content' => $this->_additional_questions_stop_caf(),
103
+				'options' => array(
104
+					'tipLocation' => 'left',
105
+				),
106
+			),
107
+			100 => array(
108
+				'id'      => 'postimagediv',
109
+				'content' => $this->_featured_image_stop(),
110
+				'options' => array(
111
+					'tipLocation' => 'left',
112
+				),
113
+			),
114
+			110 => array(
115
+				'id'      => 'espresso_event_editor_event_options',
116
+				'content' => $this->_event_registration_options_stop(),
117
+				'options' => array(
118
+					'tipLocation' => 'left',
119
+				),
120
+			),
121
+			120 => array(
122
+				'id'      => 'submitpost',
123
+				'content' => $this->_publish_event_stop(),
124
+				'options' => array(
125
+					'tipLocation' => 'left',
126
+				),
127
+			),
128
+
129
+		);
130
+	}
131
+
132
+
133
+	protected function _start()
134
+	{
135
+		$content = '<h3>' . __('Event Editor', 'event_espresso') . '</h3>';
136
+		$content .= '<p>'
137
+					. __(
138
+						'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!',
139
+						'event_espresso'
140
+					) . '</p>';
141
+		return $content;
142
+	}
143
+
144
+	protected function _event_title_stop()
145
+	{
146
+		return '<p>Enter the title for your event in this field.</p>';
147
+	}
148
+
149
+	protected function _event_description_stop()
150
+	{
151
+		return '<p>'
152
+			   . __(
153
+				   'The rich text editor can be used to add information about your event. Images and links can also be added along with your text.',
154
+				   'event_espresso'
155
+			   ) . '</p>';
156
+	}
157
+
158
+	protected function _event_venues_caf()
159
+	{
160
+		return '<p>'
161
+			   . __(
162
+				   'In this section, you can select the venue that is hosting your event.',
163
+				   'event_espresso'
164
+			   ) . '</p>';
165
+	}
166
+
167
+	protected function _event_venues_stop()
168
+	{
169
+		return '<p>'
170
+			   . __(
171
+				   'In this section, you can enter information about the venue that is hosting your event.',
172
+				   'event_espresso'
173
+			   ) . '</p>';
174
+	}
175
+
176
+	protected function _event_pricing_stop()
177
+	{
178
+		return '<p>'
179
+			   . __(
180
+				   '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.',
181
+				   'event_espresso'
182
+			   ) . '</p>';
183
+	}
184
+
185
+	protected function _event_pricing_caf()
186
+	{
187
+		return '<p>'
188
+			   . __(
189
+				   '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.',
190
+				   'event_espresso'
191
+			   ) . '</p>';
192
+	}
193
+
194
+	protected function _event_registration_options_stop()
195
+	{
196
+		return '<p>' . __('Setup custom options for your event registration.', 'event_espresso') . '</p>';
197
+	}
198
+
199
+	protected function _event_post_tag_stop()
200
+	{
201
+		return '<p>' . __('Quickly add tags to your event.', 'event_espresso') . '</p>';
202
+	}
203
+
204
+	protected function _event_categories_stop()
205
+	{
206
+		return '<p>' . __('Events can also be categorized if you wish.', 'event_espresso') . '</p>';
207
+	}
208
+
209
+	protected function _primary_question_stop_caf()
210
+	{
211
+		return '<p>'
212
+			   . __(
213
+				   'Use the questions group to request information from your primary registrant.',
214
+				   'event_espresso'
215
+			   ) . '</p>';
216
+	}
217
+
218
+	protected function _additional_questions_stop_caf()
219
+	{
220
+		return '<p>'
221
+			   . __(
222
+				   'Use the questions group to request information from your additional registrant.',
223
+				   'event_espresso'
224
+			   ) . '</p>';
225
+	}
226
+
227
+	protected function _featured_image_stop()
228
+	{
229
+		return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>';
230
+	}
231
+
232
+	protected function _publish_event_stop()
233
+	{
234
+		return '<p>'
235
+			   . __(
236
+				   'Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.',
237
+				   'event_espresso'
238
+			   ) . '</p>';
239
+	}
240 240
 }
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -125,12 +125,12 @@  discard block
 block discarded – undo
125 125
 
126 126
     protected function _start()
127 127
     {
128
-        $content = '<h3>' . __('Event Editor', 'event_espresso') . '</h3>';
128
+        $content = '<h3>'.__('Event Editor', 'event_espresso').'</h3>';
129 129
         $content .= '<p>'
130 130
                     . __(
131 131
                         '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!',
132 132
                         'event_espresso'
133
-                    ) . '</p>';
133
+                    ).'</p>';
134 134
         return $content;
135 135
     }
136 136
 
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
                . __(
146 146
                    'The rich text editor can be used to add information about your event. Images and links can also be added along with your text.',
147 147
                    'event_espresso'
148
-               ) . '</p>';
148
+               ).'</p>';
149 149
     }
150 150
 
151 151
     protected function _event_venues_caf()
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
                . __(
155 155
                    'In this section, you can select the venue that is hosting your event.',
156 156
                    'event_espresso'
157
-               ) . '</p>';
157
+               ).'</p>';
158 158
     }
159 159
 
160 160
     protected function _event_venues_stop()
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
                . __(
164 164
                    'In this section, you can enter information about the venue that is hosting your event.',
165 165
                    'event_espresso'
166
-               ) . '</p>';
166
+               ).'</p>';
167 167
     }
168 168
 
169 169
     protected function _event_pricing_stop()
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
                . __(
173 173
                    '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.',
174 174
                    'event_espresso'
175
-               ) . '</p>';
175
+               ).'</p>';
176 176
     }
177 177
 
178 178
     protected function _event_pricing_caf()
@@ -181,22 +181,22 @@  discard block
 block discarded – undo
181 181
                . __(
182 182
                    '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.',
183 183
                    'event_espresso'
184
-               ) . '</p>';
184
+               ).'</p>';
185 185
     }
186 186
 
187 187
     protected function _event_registration_options_stop()
188 188
     {
189
-        return '<p>' . __('Setup custom options for your event registration.', 'event_espresso') . '</p>';
189
+        return '<p>'.__('Setup custom options for your event registration.', 'event_espresso').'</p>';
190 190
     }
191 191
 
192 192
     protected function _event_post_tag_stop()
193 193
     {
194
-        return '<p>' . __('Quickly add tags to your event.', 'event_espresso') . '</p>';
194
+        return '<p>'.__('Quickly add tags to your event.', 'event_espresso').'</p>';
195 195
     }
196 196
 
197 197
     protected function _event_categories_stop()
198 198
     {
199
-        return '<p>' . __('Events can also be categorized if you wish.', 'event_espresso') . '</p>';
199
+        return '<p>'.__('Events can also be categorized if you wish.', 'event_espresso').'</p>';
200 200
     }
201 201
 
202 202
     protected function _primary_question_stop_caf()
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
                . __(
206 206
                    'Use the questions group to request information from your primary registrant.',
207 207
                    'event_espresso'
208
-               ) . '</p>';
208
+               ).'</p>';
209 209
     }
210 210
 
211 211
     protected function _additional_questions_stop_caf()
@@ -214,12 +214,12 @@  discard block
 block discarded – undo
214 214
                . __(
215 215
                    'Use the questions group to request information from your additional registrant.',
216 216
                    'event_espresso'
217
-               ) . '</p>';
217
+               ).'</p>';
218 218
     }
219 219
 
220 220
     protected function _featured_image_stop()
221 221
     {
222
-        return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>';
222
+        return '<p>'.__('Set a feature image for your event here.', 'event_espresso').'</p>';
223 223
     }
224 224
 
225 225
     protected function _publish_event_stop()
@@ -228,6 +228,6 @@  discard block
 block discarded – undo
228 228
                . __(
229 229
                    'Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.',
230 230
                    'event_espresso'
231
-               ) . '</p>';
231
+               ).'</p>';
232 232
     }
233 233
 }
Please login to merge, or discard this patch.
admin_pages/events/help_tours/Event_Edit_Category_Help_Tour.class.php 2 patches
Indentation   +66 added lines, -66 removed lines patch added patch discarded remove patch
@@ -15,77 +15,77 @@
 block discarded – undo
15 15
 class Event_Edit_Category_Help_Tour extends EE_Help_Tour
16 16
 {
17 17
 
18
-    protected function _set_tour_properties()
19
-    {
20
-        $this->_label = __('Edit Category Tour', 'event_espresso');
21
-        $this->_slug = 'event-edit-category-joyride';
22
-    }
18
+	protected function _set_tour_properties()
19
+	{
20
+		$this->_label = __('Edit Category Tour', 'event_espresso');
21
+		$this->_slug = 'event-edit-category-joyride';
22
+	}
23 23
 
24 24
 
25
-    protected function _set_tour_stops()
26
-    {
27
-        $this->_stops = array(
28
-            10 => array(
29
-                'content' => $this->_stop_one(),
30
-            ),
31
-            20 => array(
32
-                'id'      => 'category_name',
33
-                'content' => $this->_stop_two(),
34
-                'options' => array(
35
-                    'tipLocation'    => 'right',
36
-                    'tipAdjustmentY' => -55,
37
-                    'tipAdjustmentX' => 5,
38
-                ),
39
-            ),
40
-            30 => array(
41
-                'id'      => 'cat_id',
42
-                'content' => $this->_stop_three(),
43
-                'options' => array(
44
-                    'tipLocation'    => 'right',
45
-                    'tipAdjustmentY' => -55,
46
-                    'tipAdjustmentX' => 5,
47
-                ),
48
-            ),
49
-            40 => array(
50
-                'id'      => 'category_desc',
51
-                'content' => $this->_stop_four(),
52
-                'options' => array(
53
-                    'tipLocation'    => 'top',
54
-                    'tipAdjustmentY' => -75,
55
-                    'tipAdjustmentX' => 250,
56
-                ),
57
-            ),
58
-        );
59
-    }
25
+	protected function _set_tour_stops()
26
+	{
27
+		$this->_stops = array(
28
+			10 => array(
29
+				'content' => $this->_stop_one(),
30
+			),
31
+			20 => array(
32
+				'id'      => 'category_name',
33
+				'content' => $this->_stop_two(),
34
+				'options' => array(
35
+					'tipLocation'    => 'right',
36
+					'tipAdjustmentY' => -55,
37
+					'tipAdjustmentX' => 5,
38
+				),
39
+			),
40
+			30 => array(
41
+				'id'      => 'cat_id',
42
+				'content' => $this->_stop_three(),
43
+				'options' => array(
44
+					'tipLocation'    => 'right',
45
+					'tipAdjustmentY' => -55,
46
+					'tipAdjustmentX' => 5,
47
+				),
48
+			),
49
+			40 => array(
50
+				'id'      => 'category_desc',
51
+				'content' => $this->_stop_four(),
52
+				'options' => array(
53
+					'tipLocation'    => 'top',
54
+					'tipAdjustmentY' => -75,
55
+					'tipAdjustmentX' => 250,
56
+				),
57
+			),
58
+		);
59
+	}
60 60
 
61 61
 
62
-    protected function _stop_one()
63
-    {
64
-        $content = '<h3>' . __('Edit Event Category', 'event_espresso') . '</h3>';
65
-        $content .= '<p>'
66
-                    . __(
67
-                        '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.',
68
-                        'event_espresso'
69
-                    ) . '</p>';
70
-        return $content;
71
-    }
62
+	protected function _stop_one()
63
+	{
64
+		$content = '<h3>' . __('Edit Event Category', 'event_espresso') . '</h3>';
65
+		$content .= '<p>'
66
+					. __(
67
+						'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.',
68
+						'event_espresso'
69
+					) . '</p>';
70
+		return $content;
71
+	}
72 72
 
73
-    protected function _stop_two()
74
-    {
75
-        return '<p>' . __('Edit the name for your category.', 'event_espresso') . '</p>';
76
-    }
73
+	protected function _stop_two()
74
+	{
75
+		return '<p>' . __('Edit the name for your category.', 'event_espresso') . '</p>';
76
+	}
77 77
 
78
-    protected function _stop_three()
79
-    {
80
-        return '<p>' . __('The unique ID for your category cannot be changed.', 'event_espresso') . '</p>';
81
-    }
78
+	protected function _stop_three()
79
+	{
80
+		return '<p>' . __('The unique ID for your category cannot be changed.', 'event_espresso') . '</p>';
81
+	}
82 82
 
83
-    protected function _stop_four()
84
-    {
85
-        return '<p>'
86
-               . __(
87
-                   '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.',
88
-                   'event_espresso'
89
-               ) . '</p>';
90
-    }
83
+	protected function _stop_four()
84
+	{
85
+		return '<p>'
86
+			   . __(
87
+				   '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.',
88
+				   'event_espresso'
89
+			   ) . '</p>';
90
+	}
91 91
 }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -61,23 +61,23 @@  discard block
 block discarded – undo
61 61
 
62 62
     protected function _stop_one()
63 63
     {
64
-        $content = '<h3>' . __('Edit Event Category', 'event_espresso') . '</h3>';
64
+        $content = '<h3>'.__('Edit Event Category', 'event_espresso').'</h3>';
65 65
         $content .= '<p>'
66 66
                     . __(
67 67
                         '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.',
68 68
                         'event_espresso'
69
-                    ) . '</p>';
69
+                    ).'</p>';
70 70
         return $content;
71 71
     }
72 72
 
73 73
     protected function _stop_two()
74 74
     {
75
-        return '<p>' . __('Edit the name for your category.', 'event_espresso') . '</p>';
75
+        return '<p>'.__('Edit the name for your category.', 'event_espresso').'</p>';
76 76
     }
77 77
 
78 78
     protected function _stop_three()
79 79
     {
80
-        return '<p>' . __('The unique ID for your category cannot be changed.', 'event_espresso') . '</p>';
80
+        return '<p>'.__('The unique ID for your category cannot be changed.', 'event_espresso').'</p>';
81 81
     }
82 82
 
83 83
     protected function _stop_four()
@@ -86,6 +86,6 @@  discard block
 block discarded – undo
86 86
                . __(
87 87
                    '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.',
88 88
                    'event_espresso'
89
-               ) . '</p>';
89
+               ).'</p>';
90 90
     }
91 91
 }
Please login to merge, or discard this patch.
help_tours/Registration_Form_Edit_Question_Group_Help_Tour.class.php 2 patches
Indentation   +109 added lines, -109 removed lines patch added patch discarded remove patch
@@ -15,123 +15,123 @@
 block discarded – undo
15 15
 class Registration_Form_Edit_Question_Group_Help_Tour extends EE_Help_Tour
16 16
 {
17 17
 
18
-    protected function _set_tour_properties()
19
-    {
20
-        $this->_label = __('Edit Question Group Tour', 'event_espresso');
21
-        $this->_slug = $this->_is_caf ? 'edit-question-caf-joyride' : 'edit-question-joyride';
22
-    }
18
+	protected function _set_tour_properties()
19
+	{
20
+		$this->_label = __('Edit Question Group Tour', 'event_espresso');
21
+		$this->_slug = $this->_is_caf ? 'edit-question-caf-joyride' : 'edit-question-joyride';
22
+	}
23 23
 
24
-    protected function _set_tour_stops()
25
-    {
26
-        $this->_stops = array(
27
-            10 => array(
28
-                'content' => $this->_start(),
29
-            ),
30
-            20 => array(
31
-                'id'      => 'QSG_name',
32
-                'content' => $this->_qsg_name_stop(),
33
-                'options' => array(
34
-                    'tipLocation'    => 'top',
35
-                    'tipAdjustmentX' => 0,
36
-                    'tipAdjustmentY' => -35,
37
-                ),
38
-            ),
39
-            30 => array(
40
-                'id'      => 'QSG_identifier',
41
-                'content' => $this->_qsg_identifier_stop(),
42
-                'options' => array(
43
-                    'tipLocation'    => 'top',
44
-                    'tipAdjustmentX' => 0,
45
-                    'tipAdjustmentY' => -35,
46
-                ),
47
-            ),
48
-            40 => array(
49
-                'id'      => 'QSG_desc',
50
-                'content' => $this->_qsg_desc_stop(),
51
-                'options' => array(
52
-                    'tipLocation'    => 'top',
53
-                    'tipAdjustmentX' => 0,
54
-                    'tipAdjustmentY' => -35,
55
-                ),
56
-            ),
57
-            50 => array(
58
-                'id'      => 'QSG_order',
59
-                'content' => $this->_qsg_order_stop(),
60
-                'options' => array(
61
-                    'tipLocation'    => 'top',
62
-                    'tipAdjustmentX' => -20,
63
-                    'tipAdjustmentY' => -35,
64
-                ),
65
-            ),
66
-            60 => array(
67
-                'id'      => 'QSG_show_group_name',
68
-                'content' => $this->_qsg_show_group_name_stop(),
69
-                'options' => array(
70
-                    'tipLocation'    => 'top',
71
-                    'tipAdjustmentX' => 0,
72
-                    'tipAdjustmentY' => -35,
73
-                ),
74
-            ),
75
-            70 => array(
76
-                'id'      => 'QSG_show_group_desc',
77
-                'content' => $this->_qsg_show_group_desc_stop(),
78
-                'options' => array(
79
-                    'tipLocation'    => 'top',
80
-                    'tipAdjustmentX' => 0,
81
-                    'tipAdjustmentY' => -35,
82
-                ),
83
-            ),
84
-        );
85
-    }
24
+	protected function _set_tour_stops()
25
+	{
26
+		$this->_stops = array(
27
+			10 => array(
28
+				'content' => $this->_start(),
29
+			),
30
+			20 => array(
31
+				'id'      => 'QSG_name',
32
+				'content' => $this->_qsg_name_stop(),
33
+				'options' => array(
34
+					'tipLocation'    => 'top',
35
+					'tipAdjustmentX' => 0,
36
+					'tipAdjustmentY' => -35,
37
+				),
38
+			),
39
+			30 => array(
40
+				'id'      => 'QSG_identifier',
41
+				'content' => $this->_qsg_identifier_stop(),
42
+				'options' => array(
43
+					'tipLocation'    => 'top',
44
+					'tipAdjustmentX' => 0,
45
+					'tipAdjustmentY' => -35,
46
+				),
47
+			),
48
+			40 => array(
49
+				'id'      => 'QSG_desc',
50
+				'content' => $this->_qsg_desc_stop(),
51
+				'options' => array(
52
+					'tipLocation'    => 'top',
53
+					'tipAdjustmentX' => 0,
54
+					'tipAdjustmentY' => -35,
55
+				),
56
+			),
57
+			50 => array(
58
+				'id'      => 'QSG_order',
59
+				'content' => $this->_qsg_order_stop(),
60
+				'options' => array(
61
+					'tipLocation'    => 'top',
62
+					'tipAdjustmentX' => -20,
63
+					'tipAdjustmentY' => -35,
64
+				),
65
+			),
66
+			60 => array(
67
+				'id'      => 'QSG_show_group_name',
68
+				'content' => $this->_qsg_show_group_name_stop(),
69
+				'options' => array(
70
+					'tipLocation'    => 'top',
71
+					'tipAdjustmentX' => 0,
72
+					'tipAdjustmentY' => -35,
73
+				),
74
+			),
75
+			70 => array(
76
+				'id'      => 'QSG_show_group_desc',
77
+				'content' => $this->_qsg_show_group_desc_stop(),
78
+				'options' => array(
79
+					'tipLocation'    => 'top',
80
+					'tipAdjustmentX' => 0,
81
+					'tipAdjustmentY' => -35,
82
+				),
83
+			),
84
+		);
85
+	}
86 86
 
87 87
 
88
-    protected function _start()
89
-    {
90
-        $content = '<h3>' . __('Edit Question Group', 'event_espresso') . '</h3>';
91
-        $content .= '<p>'
92
-                    . __(
93
-                        '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.',
94
-                        'event_espresso'
95
-                    ) . '</p>';
88
+	protected function _start()
89
+	{
90
+		$content = '<h3>' . __('Edit Question Group', 'event_espresso') . '</h3>';
91
+		$content .= '<p>'
92
+					. __(
93
+						'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.',
94
+						'event_espresso'
95
+					) . '</p>';
96 96
 
97
-        return $content;
98
-    }
97
+		return $content;
98
+	}
99 99
 
100
-    protected function _qsg_name_stop()
101
-    {
102
-        return '<p>' . __('The name of the question group.', 'event_espresso') . '</p>';
103
-    }
100
+	protected function _qsg_name_stop()
101
+	{
102
+		return '<p>' . __('The name of the question group.', 'event_espresso') . '</p>';
103
+	}
104 104
 
105
-    protected function _qsg_identifier_stop()
106
-    {
107
-        return '<p>' . __('A unique name for your question group.', 'event_espresso') . '</p>';
108
-    }
105
+	protected function _qsg_identifier_stop()
106
+	{
107
+		return '<p>' . __('A unique name for your question group.', 'event_espresso') . '</p>';
108
+	}
109 109
 
110
-    protected function _qsg_desc_stop()
111
-    {
112
-        return '<p>' . __('A description of the question group.', 'event_espresso') . '</p>';
113
-    }
110
+	protected function _qsg_desc_stop()
111
+	{
112
+		return '<p>' . __('A description of the question group.', 'event_espresso') . '</p>';
113
+	}
114 114
 
115
-    protected function _qsg_order_stop()
116
-    {
117
-        return '<p>' . __('Set the order that you want your question group to appear in.', 'event_espresso') . '</p>';
118
-    }
115
+	protected function _qsg_order_stop()
116
+	{
117
+		return '<p>' . __('Set the order that you want your question group to appear in.', 'event_espresso') . '</p>';
118
+	}
119 119
 
120
-    protected function _qsg_show_group_name_stop()
121
-    {
122
-        return '<p>'
123
-               . __(
124
-                   'Specify whether the group name should be shown on the registration page.',
125
-                   'event_espresso'
126
-               ) . '</p>';
127
-    }
120
+	protected function _qsg_show_group_name_stop()
121
+	{
122
+		return '<p>'
123
+			   . __(
124
+				   'Specify whether the group name should be shown on the registration page.',
125
+				   'event_espresso'
126
+			   ) . '</p>';
127
+	}
128 128
 
129
-    protected function _qsg_show_group_desc_stop()
130
-    {
131
-        return '<p>'
132
-               . __(
133
-                   'Specify whether the group description should be shown on the registration page.',
134
-                   'event_espresso'
135
-               ) . '</p>';
136
-    }
129
+	protected function _qsg_show_group_desc_stop()
130
+	{
131
+		return '<p>'
132
+			   . __(
133
+				   'Specify whether the group description should be shown on the registration page.',
134
+				   'event_espresso'
135
+			   ) . '</p>';
136
+	}
137 137
 }
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -87,34 +87,34 @@  discard block
 block discarded – undo
87 87
 
88 88
     protected function _start()
89 89
     {
90
-        $content = '<h3>' . __('Edit Question Group', 'event_espresso') . '</h3>';
90
+        $content = '<h3>'.__('Edit Question Group', 'event_espresso').'</h3>';
91 91
         $content .= '<p>'
92 92
                     . __(
93 93
                         '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.',
94 94
                         'event_espresso'
95
-                    ) . '</p>';
95
+                    ).'</p>';
96 96
 
97 97
         return $content;
98 98
     }
99 99
 
100 100
     protected function _qsg_name_stop()
101 101
     {
102
-        return '<p>' . __('The name of the question group.', 'event_espresso') . '</p>';
102
+        return '<p>'.__('The name of the question group.', 'event_espresso').'</p>';
103 103
     }
104 104
 
105 105
     protected function _qsg_identifier_stop()
106 106
     {
107
-        return '<p>' . __('A unique name for your question group.', 'event_espresso') . '</p>';
107
+        return '<p>'.__('A unique name for your question group.', 'event_espresso').'</p>';
108 108
     }
109 109
 
110 110
     protected function _qsg_desc_stop()
111 111
     {
112
-        return '<p>' . __('A description of the question group.', 'event_espresso') . '</p>';
112
+        return '<p>'.__('A description of the question group.', 'event_espresso').'</p>';
113 113
     }
114 114
 
115 115
     protected function _qsg_order_stop()
116 116
     {
117
-        return '<p>' . __('Set the order that you want your question group to appear in.', 'event_espresso') . '</p>';
117
+        return '<p>'.__('Set the order that you want your question group to appear in.', 'event_espresso').'</p>';
118 118
     }
119 119
 
120 120
     protected function _qsg_show_group_name_stop()
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
                . __(
124 124
                    'Specify whether the group name should be shown on the registration page.',
125 125
                    'event_espresso'
126
-               ) . '</p>';
126
+               ).'</p>';
127 127
     }
128 128
 
129 129
     protected function _qsg_show_group_desc_stop()
@@ -132,6 +132,6 @@  discard block
 block discarded – undo
132 132
                . __(
133 133
                    'Specify whether the group description should be shown on the registration page.',
134 134
                    'event_espresso'
135
-               ) . '</p>';
135
+               ).'</p>';
136 136
     }
137 137
 }
Please login to merge, or discard this patch.