@@ -15,56 +15,56 @@ |
||
15 | 15 | class Transaction_Reports_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('Transaction Reports Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'transaction-reports-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('Transaction Reports Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'transaction-reports-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' => 'txn-admin-revenue-per-day-report-dv', |
|
32 | - 'content' => $this->_txn_per_day_report(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'top', |
|
35 | - 'tipAdjustmentY' => -40, |
|
36 | - ), |
|
37 | - ), |
|
38 | - 30 => array( |
|
39 | - 'id' => 'txn-admin-revenue-per-event-report-dv', |
|
40 | - 'content' => $this->_txn_per_event_report(), |
|
41 | - 'options' => array( |
|
42 | - 'tipLocation' => 'top', |
|
43 | - 'tipAdjustmentY' => -40, |
|
44 | - ), |
|
45 | - ), |
|
46 | - ); |
|
47 | - } |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_start(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'txn-admin-revenue-per-day-report-dv', |
|
32 | + 'content' => $this->_txn_per_day_report(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'top', |
|
35 | + 'tipAdjustmentY' => -40, |
|
36 | + ), |
|
37 | + ), |
|
38 | + 30 => array( |
|
39 | + 'id' => 'txn-admin-revenue-per-event-report-dv', |
|
40 | + 'content' => $this->_txn_per_event_report(), |
|
41 | + 'options' => array( |
|
42 | + 'tipLocation' => 'top', |
|
43 | + 'tipAdjustmentY' => -40, |
|
44 | + ), |
|
45 | + ), |
|
46 | + ); |
|
47 | + } |
|
48 | 48 | |
49 | 49 | |
50 | - protected function _start() |
|
51 | - { |
|
52 | - $content = '<h3>' . __('Transaction Reports', 'event_espresso') . '</h3>'; |
|
53 | - $content .= '<p>' |
|
54 | - . __( |
|
55 | - 'This tour of the Transaction Reports page will go over different areas of the screen to help you understand what they are used for.', |
|
56 | - 'event_espresso' |
|
57 | - ) . '</p>'; |
|
58 | - return $content; |
|
59 | - } |
|
50 | + protected function _start() |
|
51 | + { |
|
52 | + $content = '<h3>' . __('Transaction Reports', 'event_espresso') . '</h3>'; |
|
53 | + $content .= '<p>' |
|
54 | + . __( |
|
55 | + 'This tour of the Transaction Reports page will go over different areas of the screen to help you understand what they are used for.', |
|
56 | + 'event_espresso' |
|
57 | + ) . '</p>'; |
|
58 | + return $content; |
|
59 | + } |
|
60 | 60 | |
61 | - protected function _txn_per_day_report() |
|
62 | - { |
|
63 | - return '<p>' . __('This graph shows revenue for each day.', 'event_espresso') . '</p>'; |
|
64 | - } |
|
61 | + protected function _txn_per_day_report() |
|
62 | + { |
|
63 | + return '<p>' . __('This graph shows revenue for each day.', 'event_espresso') . '</p>'; |
|
64 | + } |
|
65 | 65 | |
66 | - protected function _txn_per_event_report() |
|
67 | - { |
|
68 | - return '<p>' . __('This graph shows revenue for each event.', 'event_espresso') . '</p>'; |
|
69 | - } |
|
66 | + protected function _txn_per_event_report() |
|
67 | + { |
|
68 | + return '<p>' . __('This graph shows revenue for each event.', 'event_espresso') . '</p>'; |
|
69 | + } |
|
70 | 70 | } |
@@ -49,22 +49,22 @@ |
||
49 | 49 | |
50 | 50 | protected function _start() |
51 | 51 | { |
52 | - $content = '<h3>' . __('Transaction Reports', 'event_espresso') . '</h3>'; |
|
52 | + $content = '<h3>'.__('Transaction Reports', 'event_espresso').'</h3>'; |
|
53 | 53 | $content .= '<p>' |
54 | 54 | . __( |
55 | 55 | 'This tour of the Transaction Reports page will go over different areas of the screen to help you understand what they are used for.', |
56 | 56 | 'event_espresso' |
57 | - ) . '</p>'; |
|
57 | + ).'</p>'; |
|
58 | 58 | return $content; |
59 | 59 | } |
60 | 60 | |
61 | 61 | protected function _txn_per_day_report() |
62 | 62 | { |
63 | - return '<p>' . __('This graph shows revenue for each day.', 'event_espresso') . '</p>'; |
|
63 | + return '<p>'.__('This graph shows revenue for each day.', 'event_espresso').'</p>'; |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | protected function _txn_per_event_report() |
67 | 67 | { |
68 | - return '<p>' . __('This graph shows revenue for each event.', 'event_espresso') . '</p>'; |
|
68 | + return '<p>'.__('This graph shows revenue for each event.', 'event_espresso').'</p>'; |
|
69 | 69 | } |
70 | 70 | } |
@@ -15,172 +15,172 @@ |
||
15 | 15 | class Transaction_Details_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('View Transaction Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'transaction-details-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('View Transaction Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'transaction-details-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' => 'txn-date-h2', |
|
33 | - 'content' => $this->_txn_date_h2_stop(), |
|
34 | - 'options' => array( |
|
35 | - 'tipLocation' => 'top', |
|
36 | - 'tipAdjustmentY' => -40, |
|
37 | - 'tipAdjustmentX' => 200, |
|
38 | - ), |
|
39 | - ), |
|
40 | - 30 => array( |
|
41 | - 'id' => 'txn-status-h2', |
|
42 | - 'content' => $this->_txn_status_h2_stop(), |
|
43 | - 'options' => array( |
|
44 | - 'tipLocation' => 'top', |
|
45 | - 'tipAdjustmentY' => -40, |
|
46 | - 'tipAdjustmentX' => 200, |
|
47 | - ), |
|
48 | - ), |
|
49 | - 40 => array( |
|
50 | - /*'id' => 'txn-amount-due-h2',*/ |
|
51 | - 'content' => $this->_txn_amount_due_h2_stop(), |
|
52 | - /*'options' => array( |
|
25 | + protected function _set_tour_stops() |
|
26 | + { |
|
27 | + $this->_stops = array( |
|
28 | + 10 => array( |
|
29 | + 'content' => $this->_start(), |
|
30 | + ), |
|
31 | + 20 => array( |
|
32 | + 'id' => 'txn-date-h2', |
|
33 | + 'content' => $this->_txn_date_h2_stop(), |
|
34 | + 'options' => array( |
|
35 | + 'tipLocation' => 'top', |
|
36 | + 'tipAdjustmentY' => -40, |
|
37 | + 'tipAdjustmentX' => 200, |
|
38 | + ), |
|
39 | + ), |
|
40 | + 30 => array( |
|
41 | + 'id' => 'txn-status-h2', |
|
42 | + 'content' => $this->_txn_status_h2_stop(), |
|
43 | + 'options' => array( |
|
44 | + 'tipLocation' => 'top', |
|
45 | + 'tipAdjustmentY' => -40, |
|
46 | + 'tipAdjustmentX' => 200, |
|
47 | + ), |
|
48 | + ), |
|
49 | + 40 => array( |
|
50 | + /*'id' => 'txn-amount-due-h2',*/ |
|
51 | + 'content' => $this->_txn_amount_due_h2_stop(), |
|
52 | + /*'options' => array( |
|
53 | 53 | 'tipLocation' => 'top', |
54 | 54 | 'tipAdjustmentY' => -40, |
55 | 55 | 'tipAdjustmentX' => 200 |
56 | 56 | )*/ |
57 | - ), |
|
58 | - 50 => array( |
|
59 | - 'id' => 'edit-txn-details-mbox', |
|
60 | - 'content' => $this->_txn_details_metabox_stop(), |
|
61 | - 'options' => array( |
|
62 | - 'tipLocation' => 'top', |
|
63 | - 'tipAdjustmentY' => -30, |
|
64 | - 'tipAdjustmentX' => 60, |
|
65 | - ), |
|
66 | - ), |
|
67 | - 55 => array( |
|
68 | - 'id' => 'display-additional-transaction-session-info', |
|
69 | - 'content' => $this->_txn_session_info_stop(), |
|
70 | - 'options' => array( |
|
71 | - 'tipLocation' => 'top', |
|
72 | - 'tipAdjustmentY' => -35, |
|
73 | - 'tipAdjustmentX' => 60, |
|
74 | - ), |
|
75 | - ), |
|
76 | - 60 => array( |
|
77 | - 'id' => 'edit-txn-attendees-mbox', |
|
78 | - 'content' => $this->_txn_attendees_metabox_stop(), |
|
79 | - 'options' => array( |
|
80 | - 'tipLocation' => 'top', |
|
81 | - 'tipAdjustmentY' => -35, |
|
82 | - 'tipAdjustmentX' => 60, |
|
83 | - ), |
|
84 | - ), |
|
85 | - 70 => array( |
|
86 | - 'id' => 'edit-txn-registrant-mbox', |
|
87 | - 'content' => $this->_txn_primary_reg_metabox_stop(), |
|
88 | - 'options' => array( |
|
89 | - 'tipLocation' => 'left', |
|
90 | - 'tipAdjustmentY' => -20, |
|
91 | - 'tipAdjustmentX' => -10, |
|
92 | - ), |
|
93 | - ), |
|
94 | - 80 => array( |
|
95 | - 'id' => 'edit-txn-billing-info-mbox', |
|
96 | - 'content' => $this->_txn_billing_metabox_stop(), |
|
97 | - 'options' => array( |
|
98 | - 'tipLocation' => 'left', |
|
99 | - 'tipAdjustmentY' => -20, |
|
100 | - 'tipAdjustmentX' => -10, |
|
101 | - ), |
|
102 | - ), |
|
103 | - ); |
|
104 | - } |
|
57 | + ), |
|
58 | + 50 => array( |
|
59 | + 'id' => 'edit-txn-details-mbox', |
|
60 | + 'content' => $this->_txn_details_metabox_stop(), |
|
61 | + 'options' => array( |
|
62 | + 'tipLocation' => 'top', |
|
63 | + 'tipAdjustmentY' => -30, |
|
64 | + 'tipAdjustmentX' => 60, |
|
65 | + ), |
|
66 | + ), |
|
67 | + 55 => array( |
|
68 | + 'id' => 'display-additional-transaction-session-info', |
|
69 | + 'content' => $this->_txn_session_info_stop(), |
|
70 | + 'options' => array( |
|
71 | + 'tipLocation' => 'top', |
|
72 | + 'tipAdjustmentY' => -35, |
|
73 | + 'tipAdjustmentX' => 60, |
|
74 | + ), |
|
75 | + ), |
|
76 | + 60 => array( |
|
77 | + 'id' => 'edit-txn-attendees-mbox', |
|
78 | + 'content' => $this->_txn_attendees_metabox_stop(), |
|
79 | + 'options' => array( |
|
80 | + 'tipLocation' => 'top', |
|
81 | + 'tipAdjustmentY' => -35, |
|
82 | + 'tipAdjustmentX' => 60, |
|
83 | + ), |
|
84 | + ), |
|
85 | + 70 => array( |
|
86 | + 'id' => 'edit-txn-registrant-mbox', |
|
87 | + 'content' => $this->_txn_primary_reg_metabox_stop(), |
|
88 | + 'options' => array( |
|
89 | + 'tipLocation' => 'left', |
|
90 | + 'tipAdjustmentY' => -20, |
|
91 | + 'tipAdjustmentX' => -10, |
|
92 | + ), |
|
93 | + ), |
|
94 | + 80 => array( |
|
95 | + 'id' => 'edit-txn-billing-info-mbox', |
|
96 | + 'content' => $this->_txn_billing_metabox_stop(), |
|
97 | + 'options' => array( |
|
98 | + 'tipLocation' => 'left', |
|
99 | + 'tipAdjustmentY' => -20, |
|
100 | + 'tipAdjustmentX' => -10, |
|
101 | + ), |
|
102 | + ), |
|
103 | + ); |
|
104 | + } |
|
105 | 105 | |
106 | 106 | |
107 | - protected function _start() |
|
108 | - { |
|
109 | - $content = '<h3>' . __('View Transaction', 'event_espresso') . '</h3>'; |
|
110 | - $content .= '<p>' |
|
111 | - . __( |
|
112 | - 'This tour of the View Transaction page will go over different areas of the screen to help you understand what they are used for.', |
|
113 | - 'event_espresso' |
|
114 | - ) . '</p>'; |
|
115 | - return $content; |
|
116 | - } |
|
107 | + protected function _start() |
|
108 | + { |
|
109 | + $content = '<h3>' . __('View Transaction', 'event_espresso') . '</h3>'; |
|
110 | + $content .= '<p>' |
|
111 | + . __( |
|
112 | + 'This tour of the View Transaction page will go over different areas of the screen to help you understand what they are used for.', |
|
113 | + 'event_espresso' |
|
114 | + ) . '</p>'; |
|
115 | + return $content; |
|
116 | + } |
|
117 | 117 | |
118 | - protected function _txn_date_h2_stop() |
|
119 | - { |
|
120 | - return '<p>' . __('This is the date that the transaction occurred on.', 'event_espresso') . '</p>'; |
|
121 | - } |
|
118 | + protected function _txn_date_h2_stop() |
|
119 | + { |
|
120 | + return '<p>' . __('This is the date that the transaction occurred on.', 'event_espresso') . '</p>'; |
|
121 | + } |
|
122 | 122 | |
123 | - protected function _txn_status_h2_stop() |
|
124 | - { |
|
125 | - return '<p>' |
|
126 | - . __( |
|
127 | - 'View current status of the transaction. Available statuses are Complete, Failed, Incomplete, and Overpaid.', |
|
128 | - 'event_espresso' |
|
129 | - ) . '</p>'; |
|
130 | - } |
|
123 | + protected function _txn_status_h2_stop() |
|
124 | + { |
|
125 | + return '<p>' |
|
126 | + . __( |
|
127 | + 'View current status of the transaction. Available statuses are Complete, Failed, Incomplete, and Overpaid.', |
|
128 | + 'event_espresso' |
|
129 | + ) . '</p>'; |
|
130 | + } |
|
131 | 131 | |
132 | - protected function _txn_amount_due_h2_stop() |
|
133 | - { |
|
134 | - return '<p>' |
|
135 | - . __( |
|
136 | - 'View the amount due for a transaction (will not appear if the transaction has been paid in full).', |
|
137 | - 'event_espresso' |
|
138 | - ) . '</p>'; |
|
139 | - } |
|
132 | + protected function _txn_amount_due_h2_stop() |
|
133 | + { |
|
134 | + return '<p>' |
|
135 | + . __( |
|
136 | + 'View the amount due for a transaction (will not appear if the transaction has been paid in full).', |
|
137 | + 'event_espresso' |
|
138 | + ) . '</p>'; |
|
139 | + } |
|
140 | 140 | |
141 | - protected function _txn_details_metabox_stop() |
|
142 | - { |
|
143 | - return '<p>' |
|
144 | - . __( |
|
145 | - 'The transaction details area displays various information including Line Item ID, Event Name, Event Date, Ticket Option, Price, Quantity, Line Total, Sales Tax, and the Grand Total. You can also view details about any payments made towards this transaction.', |
|
146 | - 'event_espresso' |
|
147 | - ) . '</p>'; |
|
148 | - } |
|
141 | + protected function _txn_details_metabox_stop() |
|
142 | + { |
|
143 | + return '<p>' |
|
144 | + . __( |
|
145 | + 'The transaction details area displays various information including Line Item ID, Event Name, Event Date, Ticket Option, Price, Quantity, Line Total, Sales Tax, and the Grand Total. You can also view details about any payments made towards this transaction.', |
|
146 | + 'event_espresso' |
|
147 | + ) . '</p>'; |
|
148 | + } |
|
149 | 149 | |
150 | - protected function _txn_session_info_stop() |
|
151 | - { |
|
152 | - return '<p>' |
|
153 | - . __( |
|
154 | - 'You can view additional information about the transaction by clicking on the link below. Examples of available information includes IP Address and User Agent.', |
|
155 | - 'event_espresso' |
|
156 | - ) . '</p>'; |
|
157 | - } |
|
150 | + protected function _txn_session_info_stop() |
|
151 | + { |
|
152 | + return '<p>' |
|
153 | + . __( |
|
154 | + 'You can view additional information about the transaction by clicking on the link below. Examples of available information includes IP Address and User Agent.', |
|
155 | + 'event_espresso' |
|
156 | + ) . '</p>'; |
|
157 | + } |
|
158 | 158 | |
159 | - protected function _txn_attendees_metabox_stop() |
|
160 | - { |
|
161 | - return '<p>' |
|
162 | - . __( |
|
163 | - 'View information about registrants that are linked to this transaction.', |
|
164 | - 'event_espresso' |
|
165 | - ) . '</p>'; |
|
166 | - } |
|
159 | + protected function _txn_attendees_metabox_stop() |
|
160 | + { |
|
161 | + return '<p>' |
|
162 | + . __( |
|
163 | + 'View information about registrants that are linked to this transaction.', |
|
164 | + 'event_espresso' |
|
165 | + ) . '</p>'; |
|
166 | + } |
|
167 | 167 | |
168 | - protected function _txn_primary_reg_metabox_stop() |
|
169 | - { |
|
170 | - return '<p>' |
|
171 | - . __( |
|
172 | - 'View contact details on the primary registrant who is linked to this transaction.', |
|
173 | - 'event_espresso' |
|
174 | - ) . '</p>'; |
|
175 | - } |
|
168 | + protected function _txn_primary_reg_metabox_stop() |
|
169 | + { |
|
170 | + return '<p>' |
|
171 | + . __( |
|
172 | + 'View contact details on the primary registrant who is linked to this transaction.', |
|
173 | + 'event_espresso' |
|
174 | + ) . '</p>'; |
|
175 | + } |
|
176 | 176 | |
177 | - protected function _txn_billing_metabox_stop() |
|
178 | - { |
|
179 | - return '<p>' . __('View billing information for this transaction.', 'event_espresso') . '</p>'; |
|
180 | - } |
|
177 | + protected function _txn_billing_metabox_stop() |
|
178 | + { |
|
179 | + return '<p>' . __('View billing information for this transaction.', 'event_espresso') . '</p>'; |
|
180 | + } |
|
181 | 181 | |
182 | - protected function _event_name_stop() |
|
183 | - { |
|
184 | - return '<p>' . __('event name', 'event_espresso') . '</p>'; |
|
185 | - } |
|
182 | + protected function _event_name_stop() |
|
183 | + { |
|
184 | + return '<p>' . __('event name', 'event_espresso') . '</p>'; |
|
185 | + } |
|
186 | 186 | } |
@@ -106,18 +106,18 @@ discard block |
||
106 | 106 | |
107 | 107 | protected function _start() |
108 | 108 | { |
109 | - $content = '<h3>' . __('View Transaction', 'event_espresso') . '</h3>'; |
|
109 | + $content = '<h3>'.__('View Transaction', 'event_espresso').'</h3>'; |
|
110 | 110 | $content .= '<p>' |
111 | 111 | . __( |
112 | 112 | 'This tour of the View Transaction page will go over different areas of the screen to help you understand what they are used for.', |
113 | 113 | 'event_espresso' |
114 | - ) . '</p>'; |
|
114 | + ).'</p>'; |
|
115 | 115 | return $content; |
116 | 116 | } |
117 | 117 | |
118 | 118 | protected function _txn_date_h2_stop() |
119 | 119 | { |
120 | - return '<p>' . __('This is the date that the transaction occurred on.', 'event_espresso') . '</p>'; |
|
120 | + return '<p>'.__('This is the date that the transaction occurred on.', 'event_espresso').'</p>'; |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | protected function _txn_status_h2_stop() |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | . __( |
127 | 127 | 'View current status of the transaction. Available statuses are Complete, Failed, Incomplete, and Overpaid.', |
128 | 128 | 'event_espresso' |
129 | - ) . '</p>'; |
|
129 | + ).'</p>'; |
|
130 | 130 | } |
131 | 131 | |
132 | 132 | protected function _txn_amount_due_h2_stop() |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | . __( |
136 | 136 | 'View the amount due for a transaction (will not appear if the transaction has been paid in full).', |
137 | 137 | 'event_espresso' |
138 | - ) . '</p>'; |
|
138 | + ).'</p>'; |
|
139 | 139 | } |
140 | 140 | |
141 | 141 | protected function _txn_details_metabox_stop() |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | . __( |
145 | 145 | 'The transaction details area displays various information including Line Item ID, Event Name, Event Date, Ticket Option, Price, Quantity, Line Total, Sales Tax, and the Grand Total. You can also view details about any payments made towards this transaction.', |
146 | 146 | 'event_espresso' |
147 | - ) . '</p>'; |
|
147 | + ).'</p>'; |
|
148 | 148 | } |
149 | 149 | |
150 | 150 | protected function _txn_session_info_stop() |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | . __( |
154 | 154 | 'You can view additional information about the transaction by clicking on the link below. Examples of available information includes IP Address and User Agent.', |
155 | 155 | 'event_espresso' |
156 | - ) . '</p>'; |
|
156 | + ).'</p>'; |
|
157 | 157 | } |
158 | 158 | |
159 | 159 | protected function _txn_attendees_metabox_stop() |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | . __( |
163 | 163 | 'View information about registrants that are linked to this transaction.', |
164 | 164 | 'event_espresso' |
165 | - ) . '</p>'; |
|
165 | + ).'</p>'; |
|
166 | 166 | } |
167 | 167 | |
168 | 168 | protected function _txn_primary_reg_metabox_stop() |
@@ -171,16 +171,16 @@ discard block |
||
171 | 171 | . __( |
172 | 172 | 'View contact details on the primary registrant who is linked to this transaction.', |
173 | 173 | 'event_espresso' |
174 | - ) . '</p>'; |
|
174 | + ).'</p>'; |
|
175 | 175 | } |
176 | 176 | |
177 | 177 | protected function _txn_billing_metabox_stop() |
178 | 178 | { |
179 | - return '<p>' . __('View billing information for this transaction.', 'event_espresso') . '</p>'; |
|
179 | + return '<p>'.__('View billing information for this transaction.', 'event_espresso').'</p>'; |
|
180 | 180 | } |
181 | 181 | |
182 | 182 | protected function _event_name_stop() |
183 | 183 | { |
184 | - return '<p>' . __('event name', 'event_espresso') . '</p>'; |
|
184 | + return '<p>'.__('event name', 'event_espresso').'</p>'; |
|
185 | 185 | } |
186 | 186 | } |
@@ -15,221 +15,221 @@ |
||
15 | 15 | class Transactions_Overview_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('Transactions Overview Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'transaction-overview-joyride'; |
|
22 | - } |
|
23 | - |
|
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' => 'TXN_ID', |
|
33 | - 'content' => $this->_txn_id_stop(), |
|
34 | - 'options' => array( |
|
35 | - 'tipLocation' => 'top', |
|
36 | - 'tipAdjustmentX' => -20, |
|
37 | - 'tipAdjustmentY' => -30, |
|
38 | - ), |
|
39 | - ), |
|
40 | - 30 => array( |
|
41 | - 'id' => 'TXN_timestamp', |
|
42 | - 'content' => $this->_txn_timestamp_stop(), |
|
43 | - 'options' => array( |
|
44 | - 'tipLocation' => 'top', |
|
45 | - 'tipAdjustmentX' => 25, |
|
46 | - 'tipAdjustmentY' => -30, |
|
47 | - ), |
|
48 | - ), |
|
49 | - 50 => array( |
|
50 | - 'id' => 'TXN_total', |
|
51 | - 'content' => $this->_txn_total_stop(), |
|
52 | - 'options' => array( |
|
53 | - 'tipLocation' => 'top', |
|
54 | - 'tipAdjustmentX' => 5, |
|
55 | - 'tipAdjustmentY' => -30, |
|
56 | - ), |
|
57 | - ), |
|
58 | - 60 => array( |
|
59 | - 'id' => 'TXN_paid', |
|
60 | - 'content' => $this->_txn_paid_stop(), |
|
61 | - 'options' => array( |
|
62 | - 'tipLocation' => 'top', |
|
63 | - 'tipAdjustmentX' => 5, |
|
64 | - 'tipAdjustmentY' => -30, |
|
65 | - ), |
|
66 | - ), |
|
67 | - 70 => array( |
|
68 | - 'id' => 'ATT_fname', |
|
69 | - 'content' => $this->_attendee_name_stop(), |
|
70 | - 'options' => array( |
|
71 | - 'tipLocation' => 'top', |
|
72 | - 'tipAdjustmentX' => 20, |
|
73 | - 'tipAdjustmentY' => -30, |
|
74 | - ), |
|
75 | - ), |
|
76 | - 80 => array( |
|
77 | - 'id' => 'ATT_email', |
|
78 | - 'content' => $this->_att_email_stop(), |
|
79 | - 'options' => array( |
|
80 | - 'tipLocation' => 'top', |
|
81 | - 'tipAdjustmentX' => 15, |
|
82 | - 'tipAdjustmentY' => -30, |
|
83 | - ), |
|
84 | - ), |
|
85 | - 90 => array( |
|
86 | - 'id' => 'event_name', |
|
87 | - 'content' => $this->_event_name_stop(), |
|
88 | - 'options' => array( |
|
89 | - 'tipLocation' => 'top', |
|
90 | - 'tipAdjustmentX' => 0, |
|
91 | - 'tipAdjustmentY' => -30, |
|
92 | - ), |
|
93 | - ), |
|
94 | - 100 => array( |
|
95 | - 'id' => 'actions', |
|
96 | - 'content' => $this->_actions_stop(), |
|
97 | - 'options' => array( |
|
98 | - 'tipLocation' => 'left', |
|
99 | - 'tipAdjustmentX' => -5, |
|
100 | - 'tipAdjustmentY' => -50, |
|
101 | - ), |
|
102 | - ), |
|
103 | - 110 => array( |
|
104 | - 'class' => 'ee-list-table-legend-container', |
|
105 | - 'content' => $this->_legend_stop(), |
|
106 | - 'options' => array( |
|
107 | - 'tipLocation' => 'right', |
|
108 | - 'tipAdjustmentX' => 15, |
|
109 | - 'tipAdjustmentY' => -40, |
|
110 | - ), |
|
111 | - ), |
|
112 | - 120 => array( |
|
113 | - 'id' => 'txn-filter-start-date', |
|
114 | - 'content' => $this->_stop_about_filters(), |
|
115 | - 'options' => array( |
|
116 | - 'tipLocation' => 'top', |
|
117 | - 'tipAdjustmentX' => 105, |
|
118 | - 'tipAdjustmentY' => -45, |
|
119 | - ), |
|
120 | - ), |
|
121 | - 130 => array( |
|
122 | - 'id' => 'event-espresso_page_espresso_transactions-search-input', |
|
123 | - 'content' => $this->_search_stop(), |
|
124 | - 'options' => array( |
|
125 | - 'tipLocation' => 'left', |
|
126 | - 'tipAdjustmentY' => -50, |
|
127 | - 'tipAdjustmentX' => -15, |
|
128 | - ), |
|
129 | - ), |
|
130 | - ); |
|
131 | - } |
|
132 | - |
|
133 | - |
|
134 | - protected function _start() |
|
135 | - { |
|
136 | - $content = '<h3>' . __('Transactions Overview', 'event_espresso') . '</h3>'; |
|
137 | - $content .= '<p>' |
|
138 | - . __( |
|
139 | - 'This tour of the Transactions Overview page will go over different areas of the screen to help you understand what they are used for.', |
|
140 | - 'event_espresso' |
|
141 | - ) . '</p>'; |
|
142 | - return $content; |
|
143 | - } |
|
144 | - |
|
145 | - protected function _txn_id_stop() |
|
146 | - { |
|
147 | - return '<p>' |
|
148 | - . __( |
|
149 | - 'View transaction ID. Can be sorted in ascending or descending order.', |
|
150 | - 'event_espresso' |
|
151 | - ) . '</p>'; |
|
152 | - } |
|
153 | - |
|
154 | - protected function _txn_timestamp_stop() |
|
155 | - { |
|
156 | - return '<p>' |
|
157 | - . __( |
|
158 | - 'View transaction date. Can be sorted in ascending or descending order.', |
|
159 | - 'event_espresso' |
|
160 | - ) . '</p>'; |
|
161 | - } |
|
162 | - |
|
163 | - protected function _txn_total_stop() |
|
164 | - { |
|
165 | - return '<p>' . __('View total for transaction.', 'event_espresso') . '</p>'; |
|
166 | - } |
|
167 | - |
|
168 | - protected function _txn_paid_stop() |
|
169 | - { |
|
170 | - return '<p>' . __('View amount paid for transaction.', 'event_espresso') . '</p>'; |
|
171 | - } |
|
172 | - |
|
173 | - protected function _attendee_name_stop() |
|
174 | - { |
|
175 | - return '<p>' |
|
176 | - . __( |
|
177 | - 'View name for the primary registrant. Can be sorted in ascending or descending order.', |
|
178 | - 'event_espresso' |
|
179 | - ) . '</p>'; |
|
180 | - } |
|
181 | - |
|
182 | - protected function _att_email_stop() |
|
183 | - { |
|
184 | - return '<p>' |
|
185 | - . __( |
|
186 | - 'View email address for primary registrant. Can be sorted in ascending or descending order.', |
|
187 | - 'event_espresso' |
|
188 | - ) . '</p>'; |
|
189 | - } |
|
190 | - |
|
191 | - protected function _event_name_stop() |
|
192 | - { |
|
193 | - return '<p>' |
|
194 | - . __( |
|
195 | - 'View name of event. Can be sorted in ascending or descending order.', |
|
196 | - 'event_espresso' |
|
197 | - ) . '</p>'; |
|
198 | - } |
|
199 | - |
|
200 | - protected function _actions_stop() |
|
201 | - { |
|
202 | - return '<p>' |
|
203 | - . __( |
|
204 | - 'Perform an action to a transaction. See legend in bottom left corner.', |
|
205 | - 'event_espresso' |
|
206 | - ) . '</p>'; |
|
207 | - } |
|
208 | - |
|
209 | - protected function _legend_stop() |
|
210 | - { |
|
211 | - return '<p>' |
|
212 | - . __( |
|
213 | - 'This legend that describes the actions available in the actions column. Also shows available statuses for a transaction.', |
|
214 | - 'event_espresso' |
|
215 | - ) . '</p>'; |
|
216 | - } |
|
217 | - |
|
218 | - protected function _stop_about_filters() |
|
219 | - { |
|
220 | - return '<p>' |
|
221 | - . __( |
|
222 | - 'Filter transactions by date by selecting two dates and clicking on the filter button. You can clear your current date selection by clicking on the reset filters button.', |
|
223 | - 'event_espresso' |
|
224 | - ) . '</p>'; |
|
225 | - } |
|
226 | - |
|
227 | - protected function _search_stop() |
|
228 | - { |
|
229 | - return '<p>' |
|
230 | - . __( |
|
231 | - 'Search through transactions. The following sources will be searched: Event Name, Event Description, First Name, Last Name, Biography, Email Address, Address, Comments, Notes, Registration Final Price, Registration Code, Registration Group Size, Ticket Name, Ticket Description, Payment Method, Payment Gateway, Transaction Details, and Transaction Session.', |
|
232 | - 'event_espresso' |
|
233 | - ) . '</p>'; |
|
234 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('Transactions Overview Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'transaction-overview-joyride'; |
|
22 | + } |
|
23 | + |
|
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' => 'TXN_ID', |
|
33 | + 'content' => $this->_txn_id_stop(), |
|
34 | + 'options' => array( |
|
35 | + 'tipLocation' => 'top', |
|
36 | + 'tipAdjustmentX' => -20, |
|
37 | + 'tipAdjustmentY' => -30, |
|
38 | + ), |
|
39 | + ), |
|
40 | + 30 => array( |
|
41 | + 'id' => 'TXN_timestamp', |
|
42 | + 'content' => $this->_txn_timestamp_stop(), |
|
43 | + 'options' => array( |
|
44 | + 'tipLocation' => 'top', |
|
45 | + 'tipAdjustmentX' => 25, |
|
46 | + 'tipAdjustmentY' => -30, |
|
47 | + ), |
|
48 | + ), |
|
49 | + 50 => array( |
|
50 | + 'id' => 'TXN_total', |
|
51 | + 'content' => $this->_txn_total_stop(), |
|
52 | + 'options' => array( |
|
53 | + 'tipLocation' => 'top', |
|
54 | + 'tipAdjustmentX' => 5, |
|
55 | + 'tipAdjustmentY' => -30, |
|
56 | + ), |
|
57 | + ), |
|
58 | + 60 => array( |
|
59 | + 'id' => 'TXN_paid', |
|
60 | + 'content' => $this->_txn_paid_stop(), |
|
61 | + 'options' => array( |
|
62 | + 'tipLocation' => 'top', |
|
63 | + 'tipAdjustmentX' => 5, |
|
64 | + 'tipAdjustmentY' => -30, |
|
65 | + ), |
|
66 | + ), |
|
67 | + 70 => array( |
|
68 | + 'id' => 'ATT_fname', |
|
69 | + 'content' => $this->_attendee_name_stop(), |
|
70 | + 'options' => array( |
|
71 | + 'tipLocation' => 'top', |
|
72 | + 'tipAdjustmentX' => 20, |
|
73 | + 'tipAdjustmentY' => -30, |
|
74 | + ), |
|
75 | + ), |
|
76 | + 80 => array( |
|
77 | + 'id' => 'ATT_email', |
|
78 | + 'content' => $this->_att_email_stop(), |
|
79 | + 'options' => array( |
|
80 | + 'tipLocation' => 'top', |
|
81 | + 'tipAdjustmentX' => 15, |
|
82 | + 'tipAdjustmentY' => -30, |
|
83 | + ), |
|
84 | + ), |
|
85 | + 90 => array( |
|
86 | + 'id' => 'event_name', |
|
87 | + 'content' => $this->_event_name_stop(), |
|
88 | + 'options' => array( |
|
89 | + 'tipLocation' => 'top', |
|
90 | + 'tipAdjustmentX' => 0, |
|
91 | + 'tipAdjustmentY' => -30, |
|
92 | + ), |
|
93 | + ), |
|
94 | + 100 => array( |
|
95 | + 'id' => 'actions', |
|
96 | + 'content' => $this->_actions_stop(), |
|
97 | + 'options' => array( |
|
98 | + 'tipLocation' => 'left', |
|
99 | + 'tipAdjustmentX' => -5, |
|
100 | + 'tipAdjustmentY' => -50, |
|
101 | + ), |
|
102 | + ), |
|
103 | + 110 => array( |
|
104 | + 'class' => 'ee-list-table-legend-container', |
|
105 | + 'content' => $this->_legend_stop(), |
|
106 | + 'options' => array( |
|
107 | + 'tipLocation' => 'right', |
|
108 | + 'tipAdjustmentX' => 15, |
|
109 | + 'tipAdjustmentY' => -40, |
|
110 | + ), |
|
111 | + ), |
|
112 | + 120 => array( |
|
113 | + 'id' => 'txn-filter-start-date', |
|
114 | + 'content' => $this->_stop_about_filters(), |
|
115 | + 'options' => array( |
|
116 | + 'tipLocation' => 'top', |
|
117 | + 'tipAdjustmentX' => 105, |
|
118 | + 'tipAdjustmentY' => -45, |
|
119 | + ), |
|
120 | + ), |
|
121 | + 130 => array( |
|
122 | + 'id' => 'event-espresso_page_espresso_transactions-search-input', |
|
123 | + 'content' => $this->_search_stop(), |
|
124 | + 'options' => array( |
|
125 | + 'tipLocation' => 'left', |
|
126 | + 'tipAdjustmentY' => -50, |
|
127 | + 'tipAdjustmentX' => -15, |
|
128 | + ), |
|
129 | + ), |
|
130 | + ); |
|
131 | + } |
|
132 | + |
|
133 | + |
|
134 | + protected function _start() |
|
135 | + { |
|
136 | + $content = '<h3>' . __('Transactions Overview', 'event_espresso') . '</h3>'; |
|
137 | + $content .= '<p>' |
|
138 | + . __( |
|
139 | + 'This tour of the Transactions Overview page will go over different areas of the screen to help you understand what they are used for.', |
|
140 | + 'event_espresso' |
|
141 | + ) . '</p>'; |
|
142 | + return $content; |
|
143 | + } |
|
144 | + |
|
145 | + protected function _txn_id_stop() |
|
146 | + { |
|
147 | + return '<p>' |
|
148 | + . __( |
|
149 | + 'View transaction ID. Can be sorted in ascending or descending order.', |
|
150 | + 'event_espresso' |
|
151 | + ) . '</p>'; |
|
152 | + } |
|
153 | + |
|
154 | + protected function _txn_timestamp_stop() |
|
155 | + { |
|
156 | + return '<p>' |
|
157 | + . __( |
|
158 | + 'View transaction date. Can be sorted in ascending or descending order.', |
|
159 | + 'event_espresso' |
|
160 | + ) . '</p>'; |
|
161 | + } |
|
162 | + |
|
163 | + protected function _txn_total_stop() |
|
164 | + { |
|
165 | + return '<p>' . __('View total for transaction.', 'event_espresso') . '</p>'; |
|
166 | + } |
|
167 | + |
|
168 | + protected function _txn_paid_stop() |
|
169 | + { |
|
170 | + return '<p>' . __('View amount paid for transaction.', 'event_espresso') . '</p>'; |
|
171 | + } |
|
172 | + |
|
173 | + protected function _attendee_name_stop() |
|
174 | + { |
|
175 | + return '<p>' |
|
176 | + . __( |
|
177 | + 'View name for the primary registrant. Can be sorted in ascending or descending order.', |
|
178 | + 'event_espresso' |
|
179 | + ) . '</p>'; |
|
180 | + } |
|
181 | + |
|
182 | + protected function _att_email_stop() |
|
183 | + { |
|
184 | + return '<p>' |
|
185 | + . __( |
|
186 | + 'View email address for primary registrant. Can be sorted in ascending or descending order.', |
|
187 | + 'event_espresso' |
|
188 | + ) . '</p>'; |
|
189 | + } |
|
190 | + |
|
191 | + protected function _event_name_stop() |
|
192 | + { |
|
193 | + return '<p>' |
|
194 | + . __( |
|
195 | + 'View name of event. Can be sorted in ascending or descending order.', |
|
196 | + 'event_espresso' |
|
197 | + ) . '</p>'; |
|
198 | + } |
|
199 | + |
|
200 | + protected function _actions_stop() |
|
201 | + { |
|
202 | + return '<p>' |
|
203 | + . __( |
|
204 | + 'Perform an action to a transaction. See legend in bottom left corner.', |
|
205 | + 'event_espresso' |
|
206 | + ) . '</p>'; |
|
207 | + } |
|
208 | + |
|
209 | + protected function _legend_stop() |
|
210 | + { |
|
211 | + return '<p>' |
|
212 | + . __( |
|
213 | + 'This legend that describes the actions available in the actions column. Also shows available statuses for a transaction.', |
|
214 | + 'event_espresso' |
|
215 | + ) . '</p>'; |
|
216 | + } |
|
217 | + |
|
218 | + protected function _stop_about_filters() |
|
219 | + { |
|
220 | + return '<p>' |
|
221 | + . __( |
|
222 | + 'Filter transactions by date by selecting two dates and clicking on the filter button. You can clear your current date selection by clicking on the reset filters button.', |
|
223 | + 'event_espresso' |
|
224 | + ) . '</p>'; |
|
225 | + } |
|
226 | + |
|
227 | + protected function _search_stop() |
|
228 | + { |
|
229 | + return '<p>' |
|
230 | + . __( |
|
231 | + 'Search through transactions. The following sources will be searched: Event Name, Event Description, First Name, Last Name, Biography, Email Address, Address, Comments, Notes, Registration Final Price, Registration Code, Registration Group Size, Ticket Name, Ticket Description, Payment Method, Payment Gateway, Transaction Details, and Transaction Session.', |
|
232 | + 'event_espresso' |
|
233 | + ) . '</p>'; |
|
234 | + } |
|
235 | 235 | } |
@@ -133,12 +133,12 @@ discard block |
||
133 | 133 | |
134 | 134 | protected function _start() |
135 | 135 | { |
136 | - $content = '<h3>' . __('Transactions Overview', 'event_espresso') . '</h3>'; |
|
136 | + $content = '<h3>'.__('Transactions Overview', 'event_espresso').'</h3>'; |
|
137 | 137 | $content .= '<p>' |
138 | 138 | . __( |
139 | 139 | 'This tour of the Transactions Overview page will go over different areas of the screen to help you understand what they are used for.', |
140 | 140 | 'event_espresso' |
141 | - ) . '</p>'; |
|
141 | + ).'</p>'; |
|
142 | 142 | return $content; |
143 | 143 | } |
144 | 144 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | . __( |
149 | 149 | 'View transaction ID. Can be sorted in ascending or descending order.', |
150 | 150 | 'event_espresso' |
151 | - ) . '</p>'; |
|
151 | + ).'</p>'; |
|
152 | 152 | } |
153 | 153 | |
154 | 154 | protected function _txn_timestamp_stop() |
@@ -157,17 +157,17 @@ discard block |
||
157 | 157 | . __( |
158 | 158 | 'View transaction date. Can be sorted in ascending or descending order.', |
159 | 159 | 'event_espresso' |
160 | - ) . '</p>'; |
|
160 | + ).'</p>'; |
|
161 | 161 | } |
162 | 162 | |
163 | 163 | protected function _txn_total_stop() |
164 | 164 | { |
165 | - return '<p>' . __('View total for transaction.', 'event_espresso') . '</p>'; |
|
165 | + return '<p>'.__('View total for transaction.', 'event_espresso').'</p>'; |
|
166 | 166 | } |
167 | 167 | |
168 | 168 | protected function _txn_paid_stop() |
169 | 169 | { |
170 | - return '<p>' . __('View amount paid for transaction.', 'event_espresso') . '</p>'; |
|
170 | + return '<p>'.__('View amount paid for transaction.', 'event_espresso').'</p>'; |
|
171 | 171 | } |
172 | 172 | |
173 | 173 | protected function _attendee_name_stop() |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | . __( |
177 | 177 | 'View name for the primary registrant. Can be sorted in ascending or descending order.', |
178 | 178 | 'event_espresso' |
179 | - ) . '</p>'; |
|
179 | + ).'</p>'; |
|
180 | 180 | } |
181 | 181 | |
182 | 182 | protected function _att_email_stop() |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | . __( |
186 | 186 | 'View email address for primary registrant. Can be sorted in ascending or descending order.', |
187 | 187 | 'event_espresso' |
188 | - ) . '</p>'; |
|
188 | + ).'</p>'; |
|
189 | 189 | } |
190 | 190 | |
191 | 191 | protected function _event_name_stop() |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | . __( |
195 | 195 | 'View name of event. Can be sorted in ascending or descending order.', |
196 | 196 | 'event_espresso' |
197 | - ) . '</p>'; |
|
197 | + ).'</p>'; |
|
198 | 198 | } |
199 | 199 | |
200 | 200 | protected function _actions_stop() |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | . __( |
204 | 204 | 'Perform an action to a transaction. See legend in bottom left corner.', |
205 | 205 | 'event_espresso' |
206 | - ) . '</p>'; |
|
206 | + ).'</p>'; |
|
207 | 207 | } |
208 | 208 | |
209 | 209 | protected function _legend_stop() |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | . __( |
213 | 213 | 'This legend that describes the actions available in the actions column. Also shows available statuses for a transaction.', |
214 | 214 | 'event_espresso' |
215 | - ) . '</p>'; |
|
215 | + ).'</p>'; |
|
216 | 216 | } |
217 | 217 | |
218 | 218 | protected function _stop_about_filters() |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | . __( |
222 | 222 | 'Filter transactions by date by selecting two dates and clicking on the filter button. You can clear your current date selection by clicking on the reset filters button.', |
223 | 223 | 'event_espresso' |
224 | - ) . '</p>'; |
|
224 | + ).'</p>'; |
|
225 | 225 | } |
226 | 226 | |
227 | 227 | protected function _search_stop() |
@@ -230,6 +230,6 @@ discard block |
||
230 | 230 | . __( |
231 | 231 | 'Search through transactions. The following sources will be searched: Event Name, Event Description, First Name, Last Name, Biography, Email Address, Address, Comments, Notes, Registration Final Price, Registration Code, Registration Group Size, Ticket Name, Ticket Description, Payment Method, Payment Gateway, Transaction Details, and Transaction Session.', |
232 | 232 | 'event_espresso' |
233 | - ) . '</p>'; |
|
233 | + ).'</p>'; |
|
234 | 234 | } |
235 | 235 | } |
@@ -15,76 +15,76 @@ |
||
15 | 15 | class Venues_Add_Category_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('Add Venue Category Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'venue-add-category-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('Add Venue Category Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'venue-add-category-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_stop_one(), |
|
29 | - ), |
|
30 | - 20 => array( |
|
31 | - 'id' => 'category_name', |
|
32 | - 'content' => $this->_category_name_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'right', |
|
35 | - 'tipAdjustmentY' => -55, |
|
36 | - 'tipAdjustmentX' => 5, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 30 => array( |
|
40 | - 'id' => 'cat_id', |
|
41 | - 'content' => $this->_category_id_stop(), |
|
42 | - 'options' => array( |
|
43 | - 'tipLocation' => 'right', |
|
44 | - 'tipAdjustmentY' => -55, |
|
45 | - 'tipAdjustmentX' => 5, |
|
46 | - ), |
|
47 | - ), |
|
48 | - 40 => array( |
|
49 | - 'id' => 'category_desc', |
|
50 | - 'content' => $this->_category_editor_stop(), |
|
51 | - 'options' => array( |
|
52 | - 'tipLocation' => 'top', |
|
53 | - 'tipAdjustmentY' => -75, |
|
54 | - 'tipAdjustmentX' => 250, |
|
55 | - ), |
|
56 | - ), |
|
57 | - ); |
|
58 | - } |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_stop_one(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'category_name', |
|
32 | + 'content' => $this->_category_name_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'right', |
|
35 | + 'tipAdjustmentY' => -55, |
|
36 | + 'tipAdjustmentX' => 5, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 30 => array( |
|
40 | + 'id' => 'cat_id', |
|
41 | + 'content' => $this->_category_id_stop(), |
|
42 | + 'options' => array( |
|
43 | + 'tipLocation' => 'right', |
|
44 | + 'tipAdjustmentY' => -55, |
|
45 | + 'tipAdjustmentX' => 5, |
|
46 | + ), |
|
47 | + ), |
|
48 | + 40 => array( |
|
49 | + 'id' => 'category_desc', |
|
50 | + 'content' => $this->_category_editor_stop(), |
|
51 | + 'options' => array( |
|
52 | + 'tipLocation' => 'top', |
|
53 | + 'tipAdjustmentY' => -75, |
|
54 | + 'tipAdjustmentX' => 250, |
|
55 | + ), |
|
56 | + ), |
|
57 | + ); |
|
58 | + } |
|
59 | 59 | |
60 | 60 | |
61 | - protected function _stop_one() |
|
62 | - { |
|
63 | - $content = '<h3>' . __('Add New Venue Category', 'event_espresso') . '</h3>'; |
|
64 | - $content .= '<p>' |
|
65 | - . __( |
|
66 | - 'This tour of the Add New Venue Category page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
|
67 | - 'event_espresso' |
|
68 | - ) . '</p>'; |
|
69 | - return $content; |
|
70 | - } |
|
61 | + protected function _stop_one() |
|
62 | + { |
|
63 | + $content = '<h3>' . __('Add New Venue Category', 'event_espresso') . '</h3>'; |
|
64 | + $content .= '<p>' |
|
65 | + . __( |
|
66 | + 'This tour of the Add New Venue Category page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
|
67 | + 'event_espresso' |
|
68 | + ) . '</p>'; |
|
69 | + return $content; |
|
70 | + } |
|
71 | 71 | |
72 | - protected function _category_name_stop() |
|
73 | - { |
|
74 | - return '<p>' . __('Enter a name for your new venue category.', 'event_espresso') . '</p>'; |
|
75 | - } |
|
72 | + protected function _category_name_stop() |
|
73 | + { |
|
74 | + return '<p>' . __('Enter a name for your new venue category.', 'event_espresso') . '</p>'; |
|
75 | + } |
|
76 | 76 | |
77 | - protected function _category_id_stop() |
|
78 | - { |
|
79 | - return '<p>' . __('Enter a unique ID for your new venue category.', 'event_espresso') . '</p>'; |
|
80 | - } |
|
77 | + protected function _category_id_stop() |
|
78 | + { |
|
79 | + return '<p>' . __('Enter a unique ID for your new venue category.', 'event_espresso') . '</p>'; |
|
80 | + } |
|
81 | 81 | |
82 | - protected function _category_editor_stop() |
|
83 | - { |
|
84 | - return '<p>' |
|
85 | - . __( |
|
86 | - 'The rich text editor can be used to add information about your venue category. Images and links can also be added along with your text.', |
|
87 | - 'event_espresso' |
|
88 | - ) . '</p>'; |
|
89 | - } |
|
82 | + protected function _category_editor_stop() |
|
83 | + { |
|
84 | + return '<p>' |
|
85 | + . __( |
|
86 | + 'The rich text editor can be used to add information about your venue category. Images and links can also be added along with your text.', |
|
87 | + 'event_espresso' |
|
88 | + ) . '</p>'; |
|
89 | + } |
|
90 | 90 | } |
@@ -60,23 +60,23 @@ discard block |
||
60 | 60 | |
61 | 61 | protected function _stop_one() |
62 | 62 | { |
63 | - $content = '<h3>' . __('Add New Venue Category', 'event_espresso') . '</h3>'; |
|
63 | + $content = '<h3>'.__('Add New Venue Category', 'event_espresso').'</h3>'; |
|
64 | 64 | $content .= '<p>' |
65 | 65 | . __( |
66 | 66 | 'This tour of the Add New Venue Category page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
67 | 67 | 'event_espresso' |
68 | - ) . '</p>'; |
|
68 | + ).'</p>'; |
|
69 | 69 | return $content; |
70 | 70 | } |
71 | 71 | |
72 | 72 | protected function _category_name_stop() |
73 | 73 | { |
74 | - return '<p>' . __('Enter a name for your new venue category.', 'event_espresso') . '</p>'; |
|
74 | + return '<p>'.__('Enter a name for your new venue category.', 'event_espresso').'</p>'; |
|
75 | 75 | } |
76 | 76 | |
77 | 77 | protected function _category_id_stop() |
78 | 78 | { |
79 | - return '<p>' . __('Enter a unique ID for your new venue category.', 'event_espresso') . '</p>'; |
|
79 | + return '<p>'.__('Enter a unique ID for your new venue category.', 'event_espresso').'</p>'; |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | protected function _category_editor_stop() |
@@ -85,6 +85,6 @@ discard block |
||
85 | 85 | . __( |
86 | 86 | 'The rich text editor can be used to add information about your venue category. Images and links can also be added along with your text.', |
87 | 87 | 'event_espresso' |
88 | - ) . '</p>'; |
|
88 | + ).'</p>'; |
|
89 | 89 | } |
90 | 90 | } |
@@ -15,148 +15,148 @@ |
||
15 | 15 | class Venues_Edit_Venue_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('Venue Editor Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'venue-edit-venue-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('Venue Editor Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'venue-edit-venue-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_stop_one(), |
|
29 | - ), |
|
30 | - 20 => array( |
|
31 | - 'id' => 'titlewrap', |
|
32 | - 'content' => $this->_venue_title_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'bottom', |
|
35 | - 'tipAdjustmentY' => -30, |
|
36 | - ), |
|
37 | - ), |
|
38 | - 30 => array( |
|
39 | - 'id' => 'wp-content-editor-tools', |
|
40 | - 'content' => $this->_venue_editor_stop(), |
|
41 | - 'options' => array( |
|
42 | - 'tipLocation' => 'right', |
|
43 | - ), |
|
44 | - ), |
|
45 | - 40 => array( |
|
46 | - 'id' => 'tagsdiv-post_tag', |
|
47 | - 'content' => $this->_venue_tags_stop(), |
|
48 | - 'options' => array( |
|
49 | - 'tipLocation' => 'left', |
|
50 | - ), |
|
51 | - ), |
|
52 | - 50 => array( |
|
53 | - 'id' => 'espresso_venue_categoriesdiv', |
|
54 | - 'content' => $this->_venue_categories_stop(), |
|
55 | - 'options' => array( |
|
56 | - 'tipLocation' => 'left', |
|
57 | - ), |
|
58 | - ), |
|
59 | - 60 => array( |
|
60 | - 'id' => 'espresso_venue_address_options', |
|
61 | - 'content' => $this->_venue_physical_location_stop(), |
|
62 | - 'options' => array( |
|
63 | - 'tipLocation' => 'left', |
|
64 | - ), |
|
65 | - ), |
|
66 | - 70 => array( |
|
67 | - 'id' => 'espresso_venue_gmap_options', |
|
68 | - 'content' => $this->_venue_gmap_stop(), |
|
69 | - 'options' => array( |
|
70 | - 'tipLocation' => 'left', |
|
71 | - ), |
|
72 | - ), |
|
73 | - 80 => array( |
|
74 | - 'id' => 'espresso_venue_virtual_loc_options', |
|
75 | - 'content' => $this->_venue_virtual_location_stop(), |
|
76 | - 'options' => array( |
|
77 | - 'tipLocation' => 'left', |
|
78 | - ), |
|
79 | - ), |
|
80 | - 90 => array( |
|
81 | - 'id' => 'postimagediv', |
|
82 | - 'content' => $this->_stop_featured_image(), |
|
83 | - 'options' => array( |
|
84 | - 'tipLocation' => 'left', |
|
85 | - ), |
|
86 | - ), |
|
87 | - 100 => array( |
|
88 | - 'id' => 'submitpost', |
|
89 | - 'content' => $this->_stop_publish_box(), |
|
90 | - 'options' => array( |
|
91 | - 'tipLocation' => 'left', |
|
92 | - ), |
|
93 | - ), |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_stop_one(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'titlewrap', |
|
32 | + 'content' => $this->_venue_title_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'bottom', |
|
35 | + 'tipAdjustmentY' => -30, |
|
36 | + ), |
|
37 | + ), |
|
38 | + 30 => array( |
|
39 | + 'id' => 'wp-content-editor-tools', |
|
40 | + 'content' => $this->_venue_editor_stop(), |
|
41 | + 'options' => array( |
|
42 | + 'tipLocation' => 'right', |
|
43 | + ), |
|
44 | + ), |
|
45 | + 40 => array( |
|
46 | + 'id' => 'tagsdiv-post_tag', |
|
47 | + 'content' => $this->_venue_tags_stop(), |
|
48 | + 'options' => array( |
|
49 | + 'tipLocation' => 'left', |
|
50 | + ), |
|
51 | + ), |
|
52 | + 50 => array( |
|
53 | + 'id' => 'espresso_venue_categoriesdiv', |
|
54 | + 'content' => $this->_venue_categories_stop(), |
|
55 | + 'options' => array( |
|
56 | + 'tipLocation' => 'left', |
|
57 | + ), |
|
58 | + ), |
|
59 | + 60 => array( |
|
60 | + 'id' => 'espresso_venue_address_options', |
|
61 | + 'content' => $this->_venue_physical_location_stop(), |
|
62 | + 'options' => array( |
|
63 | + 'tipLocation' => 'left', |
|
64 | + ), |
|
65 | + ), |
|
66 | + 70 => array( |
|
67 | + 'id' => 'espresso_venue_gmap_options', |
|
68 | + 'content' => $this->_venue_gmap_stop(), |
|
69 | + 'options' => array( |
|
70 | + 'tipLocation' => 'left', |
|
71 | + ), |
|
72 | + ), |
|
73 | + 80 => array( |
|
74 | + 'id' => 'espresso_venue_virtual_loc_options', |
|
75 | + 'content' => $this->_venue_virtual_location_stop(), |
|
76 | + 'options' => array( |
|
77 | + 'tipLocation' => 'left', |
|
78 | + ), |
|
79 | + ), |
|
80 | + 90 => array( |
|
81 | + 'id' => 'postimagediv', |
|
82 | + 'content' => $this->_stop_featured_image(), |
|
83 | + 'options' => array( |
|
84 | + 'tipLocation' => 'left', |
|
85 | + ), |
|
86 | + ), |
|
87 | + 100 => array( |
|
88 | + 'id' => 'submitpost', |
|
89 | + 'content' => $this->_stop_publish_box(), |
|
90 | + 'options' => array( |
|
91 | + 'tipLocation' => 'left', |
|
92 | + ), |
|
93 | + ), |
|
94 | 94 | |
95 | - ); |
|
96 | - } |
|
95 | + ); |
|
96 | + } |
|
97 | 97 | |
98 | 98 | |
99 | - protected function _stop_one() |
|
100 | - { |
|
101 | - $content = '<h3>' . __('Edit Venue', 'event_espresso') . '</h3>'; |
|
102 | - $content .= '<p>' |
|
103 | - . __( |
|
104 | - 'This tour of the Venue Editor page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
|
105 | - 'event_espresso' |
|
106 | - ) . '</p>'; |
|
107 | - return $content; |
|
108 | - } |
|
99 | + protected function _stop_one() |
|
100 | + { |
|
101 | + $content = '<h3>' . __('Edit Venue', 'event_espresso') . '</h3>'; |
|
102 | + $content .= '<p>' |
|
103 | + . __( |
|
104 | + 'This tour of the Venue Editor page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
|
105 | + 'event_espresso' |
|
106 | + ) . '</p>'; |
|
107 | + return $content; |
|
108 | + } |
|
109 | 109 | |
110 | - protected function _venue_title_stop() |
|
111 | - { |
|
112 | - return '<p>Edit the title for your venue in this field.</p>'; |
|
113 | - } |
|
110 | + protected function _venue_title_stop() |
|
111 | + { |
|
112 | + return '<p>Edit the title for your venue in this field.</p>'; |
|
113 | + } |
|
114 | 114 | |
115 | - protected function _venue_editor_stop() |
|
116 | - { |
|
117 | - return '<p>' |
|
118 | - . __( |
|
119 | - 'The rich text editor can be used to edit information about your venue. Images and links can also be added or removed along with your text.', |
|
120 | - 'event_espresso' |
|
121 | - ) . '</p>'; |
|
122 | - } |
|
115 | + protected function _venue_editor_stop() |
|
116 | + { |
|
117 | + return '<p>' |
|
118 | + . __( |
|
119 | + 'The rich text editor can be used to edit information about your venue. Images and links can also be added or removed along with your text.', |
|
120 | + 'event_espresso' |
|
121 | + ) . '</p>'; |
|
122 | + } |
|
123 | 123 | |
124 | - protected function _venue_tags_stop() |
|
125 | - { |
|
126 | - return '<p>' . __('Quickly edit tags for your venue.', 'event_espresso') . '</p>'; |
|
127 | - } |
|
124 | + protected function _venue_tags_stop() |
|
125 | + { |
|
126 | + return '<p>' . __('Quickly edit tags for your venue.', 'event_espresso') . '</p>'; |
|
127 | + } |
|
128 | 128 | |
129 | - protected function _venue_categories_stop() |
|
130 | - { |
|
131 | - return '<p>' . __('Venues can also be categorized if you wish.', 'event_espresso') . '</p>'; |
|
132 | - } |
|
129 | + protected function _venue_categories_stop() |
|
130 | + { |
|
131 | + return '<p>' . __('Venues can also be categorized if you wish.', 'event_espresso') . '</p>'; |
|
132 | + } |
|
133 | 133 | |
134 | - protected function _venue_physical_location_stop() |
|
135 | - { |
|
136 | - return '<p>' . __('Edit the physical address for your venue.', 'event_espresso') . '</p>'; |
|
137 | - } |
|
134 | + protected function _venue_physical_location_stop() |
|
135 | + { |
|
136 | + return '<p>' . __('Edit the physical address for your venue.', 'event_espresso') . '</p>'; |
|
137 | + } |
|
138 | 138 | |
139 | - protected function _venue_gmap_stop() |
|
140 | - { |
|
141 | - return '<p>' . __('Enable or disable a Google Map for your venue.', 'event_espresso') . '</p>'; |
|
142 | - } |
|
139 | + protected function _venue_gmap_stop() |
|
140 | + { |
|
141 | + return '<p>' . __('Enable or disable a Google Map for your venue.', 'event_espresso') . '</p>'; |
|
142 | + } |
|
143 | 143 | |
144 | - protected function _venue_virtual_location_stop() |
|
145 | - { |
|
146 | - return '<p>' . __('Setup a virtual location for your venue.', 'event_espresso') . '</p>'; |
|
147 | - } |
|
144 | + protected function _venue_virtual_location_stop() |
|
145 | + { |
|
146 | + return '<p>' . __('Setup a virtual location for your venue.', 'event_espresso') . '</p>'; |
|
147 | + } |
|
148 | 148 | |
149 | - protected function _stop_featured_image() |
|
150 | - { |
|
151 | - return '<p>' . __('Set a feature image for your venue here.', 'event_espresso') . '</p>'; |
|
152 | - } |
|
149 | + protected function _stop_featured_image() |
|
150 | + { |
|
151 | + return '<p>' . __('Set a feature image for your venue here.', 'event_espresso') . '</p>'; |
|
152 | + } |
|
153 | 153 | |
154 | - protected function _stop_publish_box() |
|
155 | - { |
|
156 | - return '<p>' |
|
157 | - . __( |
|
158 | - 'Easily control the status of your venue. The main options are Published, Pending Review, and Draft.', |
|
159 | - 'event_espresso' |
|
160 | - ) . '</p>'; |
|
161 | - } |
|
154 | + protected function _stop_publish_box() |
|
155 | + { |
|
156 | + return '<p>' |
|
157 | + . __( |
|
158 | + 'Easily control the status of your venue. The main options are Published, Pending Review, and Draft.', |
|
159 | + 'event_espresso' |
|
160 | + ) . '</p>'; |
|
161 | + } |
|
162 | 162 | } |
@@ -98,12 +98,12 @@ discard block |
||
98 | 98 | |
99 | 99 | protected function _stop_one() |
100 | 100 | { |
101 | - $content = '<h3>' . __('Edit Venue', 'event_espresso') . '</h3>'; |
|
101 | + $content = '<h3>'.__('Edit Venue', 'event_espresso').'</h3>'; |
|
102 | 102 | $content .= '<p>' |
103 | 103 | . __( |
104 | 104 | 'This tour of the Venue Editor page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
105 | 105 | 'event_espresso' |
106 | - ) . '</p>'; |
|
106 | + ).'</p>'; |
|
107 | 107 | return $content; |
108 | 108 | } |
109 | 109 | |
@@ -118,37 +118,37 @@ discard block |
||
118 | 118 | . __( |
119 | 119 | 'The rich text editor can be used to edit information about your venue. Images and links can also be added or removed along with your text.', |
120 | 120 | 'event_espresso' |
121 | - ) . '</p>'; |
|
121 | + ).'</p>'; |
|
122 | 122 | } |
123 | 123 | |
124 | 124 | protected function _venue_tags_stop() |
125 | 125 | { |
126 | - return '<p>' . __('Quickly edit tags for your venue.', 'event_espresso') . '</p>'; |
|
126 | + return '<p>'.__('Quickly edit tags for your venue.', 'event_espresso').'</p>'; |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | protected function _venue_categories_stop() |
130 | 130 | { |
131 | - return '<p>' . __('Venues can also be categorized if you wish.', 'event_espresso') . '</p>'; |
|
131 | + return '<p>'.__('Venues can also be categorized if you wish.', 'event_espresso').'</p>'; |
|
132 | 132 | } |
133 | 133 | |
134 | 134 | protected function _venue_physical_location_stop() |
135 | 135 | { |
136 | - return '<p>' . __('Edit the physical address for your venue.', 'event_espresso') . '</p>'; |
|
136 | + return '<p>'.__('Edit the physical address for your venue.', 'event_espresso').'</p>'; |
|
137 | 137 | } |
138 | 138 | |
139 | 139 | protected function _venue_gmap_stop() |
140 | 140 | { |
141 | - return '<p>' . __('Enable or disable a Google Map for your venue.', 'event_espresso') . '</p>'; |
|
141 | + return '<p>'.__('Enable or disable a Google Map for your venue.', 'event_espresso').'</p>'; |
|
142 | 142 | } |
143 | 143 | |
144 | 144 | protected function _venue_virtual_location_stop() |
145 | 145 | { |
146 | - return '<p>' . __('Setup a virtual location for your venue.', 'event_espresso') . '</p>'; |
|
146 | + return '<p>'.__('Setup a virtual location for your venue.', 'event_espresso').'</p>'; |
|
147 | 147 | } |
148 | 148 | |
149 | 149 | protected function _stop_featured_image() |
150 | 150 | { |
151 | - return '<p>' . __('Set a feature image for your venue here.', 'event_espresso') . '</p>'; |
|
151 | + return '<p>'.__('Set a feature image for your venue here.', 'event_espresso').'</p>'; |
|
152 | 152 | } |
153 | 153 | |
154 | 154 | protected function _stop_publish_box() |
@@ -157,6 +157,6 @@ discard block |
||
157 | 157 | . __( |
158 | 158 | 'Easily control the status of your venue. The main options are Published, Pending Review, and Draft.', |
159 | 159 | 'event_espresso' |
160 | - ) . '</p>'; |
|
160 | + ).'</p>'; |
|
161 | 161 | } |
162 | 162 | } |
@@ -15,180 +15,180 @@ |
||
15 | 15 | class Venues_Overview_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('Venues Overview Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'venue-overview-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('Venues Overview Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'venue-overview-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' => 'id', |
|
32 | - 'content' => $this->_id_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'top', |
|
35 | - 'tipAdjustmentX' => -20, |
|
36 | - 'tipAdjustmentY' => -30, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 30 => array( |
|
40 | - 'id' => 'name', |
|
41 | - 'content' => $this->_name_stop(), |
|
42 | - 'options' => array( |
|
43 | - 'tipLocation' => 'top', |
|
44 | - 'tipAdjustmentX' => -5, |
|
45 | - 'tipAdjustmentY' => -30, |
|
46 | - ), |
|
47 | - ), |
|
48 | - 40 => array( |
|
49 | - 'id' => 'address', |
|
50 | - 'content' => $this->_address_stop(), |
|
51 | - 'options' => array( |
|
52 | - 'tipLocation' => 'top', |
|
53 | - 'tipAdjustmentX' => 0, |
|
54 | - 'tipAdjustmentY' => -30, |
|
55 | - ), |
|
56 | - ), |
|
57 | - 50 => array( |
|
58 | - 'id' => 'city', |
|
59 | - 'content' => $this->_city_stop(), |
|
60 | - 'options' => array( |
|
61 | - 'tipLocation' => 'top', |
|
62 | - 'tipAdjustmentX' => -10, |
|
63 | - 'tipAdjustmentY' => -30, |
|
64 | - ), |
|
65 | - ), |
|
66 | - 60 => array( |
|
67 | - 'id' => 'capacity', |
|
68 | - 'content' => $this->_capacity_stop(), |
|
69 | - 'options' => array( |
|
70 | - 'tipLocation' => 'top', |
|
71 | - 'tipAdjustmentX' => 0, |
|
72 | - 'tipAdjustmentY' => -30, |
|
73 | - ), |
|
74 | - ), |
|
75 | - 70 => array( |
|
76 | - 'id' => 'shortcode', |
|
77 | - 'content' => $this->_shortcode_stop(), |
|
78 | - 'options' => array( |
|
79 | - 'tipLocation' => 'top', |
|
80 | - 'tipAdjustmentX' => 5, |
|
81 | - 'tipAdjustmentY' => -30, |
|
82 | - ), |
|
83 | - ), |
|
84 | - 80 => array( |
|
85 | - 'class' => 'bulkactions', |
|
86 | - 'content' => $this->_bulk_actions_stop(), |
|
87 | - 'options' => array( |
|
88 | - 'tipLocation' => 'top', |
|
89 | - 'tipAdjustmentX' => 25, |
|
90 | - 'tipAdjustmentY' => -35, |
|
91 | - ), |
|
92 | - ), |
|
93 | - 90 => array( |
|
94 | - 'id' => 'event-espresso_page_espresso_venues-search-input', |
|
95 | - 'content' => $this->_search_stop(), |
|
96 | - 'options' => array( |
|
97 | - 'tipLocation' => 'left', |
|
98 | - 'tipAdjustmentY' => -50, |
|
99 | - 'tipAdjustmentX' => -15, |
|
100 | - ), |
|
101 | - ), |
|
102 | - 100 => array( |
|
103 | - 'id' => 'add-new-venue', |
|
104 | - 'content' => $this->_new_venue_stop(), |
|
105 | - 'options' => array( |
|
106 | - 'tipLocation' => 'right', |
|
107 | - 'tipAdjustmentY' => -50, |
|
108 | - 'tipAdjustmentX' => 10, |
|
109 | - ), |
|
110 | - ), |
|
111 | - ); |
|
112 | - } |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_start(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'id', |
|
32 | + 'content' => $this->_id_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'top', |
|
35 | + 'tipAdjustmentX' => -20, |
|
36 | + 'tipAdjustmentY' => -30, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 30 => array( |
|
40 | + 'id' => 'name', |
|
41 | + 'content' => $this->_name_stop(), |
|
42 | + 'options' => array( |
|
43 | + 'tipLocation' => 'top', |
|
44 | + 'tipAdjustmentX' => -5, |
|
45 | + 'tipAdjustmentY' => -30, |
|
46 | + ), |
|
47 | + ), |
|
48 | + 40 => array( |
|
49 | + 'id' => 'address', |
|
50 | + 'content' => $this->_address_stop(), |
|
51 | + 'options' => array( |
|
52 | + 'tipLocation' => 'top', |
|
53 | + 'tipAdjustmentX' => 0, |
|
54 | + 'tipAdjustmentY' => -30, |
|
55 | + ), |
|
56 | + ), |
|
57 | + 50 => array( |
|
58 | + 'id' => 'city', |
|
59 | + 'content' => $this->_city_stop(), |
|
60 | + 'options' => array( |
|
61 | + 'tipLocation' => 'top', |
|
62 | + 'tipAdjustmentX' => -10, |
|
63 | + 'tipAdjustmentY' => -30, |
|
64 | + ), |
|
65 | + ), |
|
66 | + 60 => array( |
|
67 | + 'id' => 'capacity', |
|
68 | + 'content' => $this->_capacity_stop(), |
|
69 | + 'options' => array( |
|
70 | + 'tipLocation' => 'top', |
|
71 | + 'tipAdjustmentX' => 0, |
|
72 | + 'tipAdjustmentY' => -30, |
|
73 | + ), |
|
74 | + ), |
|
75 | + 70 => array( |
|
76 | + 'id' => 'shortcode', |
|
77 | + 'content' => $this->_shortcode_stop(), |
|
78 | + 'options' => array( |
|
79 | + 'tipLocation' => 'top', |
|
80 | + 'tipAdjustmentX' => 5, |
|
81 | + 'tipAdjustmentY' => -30, |
|
82 | + ), |
|
83 | + ), |
|
84 | + 80 => array( |
|
85 | + 'class' => 'bulkactions', |
|
86 | + 'content' => $this->_bulk_actions_stop(), |
|
87 | + 'options' => array( |
|
88 | + 'tipLocation' => 'top', |
|
89 | + 'tipAdjustmentX' => 25, |
|
90 | + 'tipAdjustmentY' => -35, |
|
91 | + ), |
|
92 | + ), |
|
93 | + 90 => array( |
|
94 | + 'id' => 'event-espresso_page_espresso_venues-search-input', |
|
95 | + 'content' => $this->_search_stop(), |
|
96 | + 'options' => array( |
|
97 | + 'tipLocation' => 'left', |
|
98 | + 'tipAdjustmentY' => -50, |
|
99 | + 'tipAdjustmentX' => -15, |
|
100 | + ), |
|
101 | + ), |
|
102 | + 100 => array( |
|
103 | + 'id' => 'add-new-venue', |
|
104 | + 'content' => $this->_new_venue_stop(), |
|
105 | + 'options' => array( |
|
106 | + 'tipLocation' => 'right', |
|
107 | + 'tipAdjustmentY' => -50, |
|
108 | + 'tipAdjustmentX' => 10, |
|
109 | + ), |
|
110 | + ), |
|
111 | + ); |
|
112 | + } |
|
113 | 113 | |
114 | 114 | |
115 | - protected function _start() |
|
116 | - { |
|
117 | - $content = '<h3>' . __('Venue Overview', 'event_espresso') . '</h3>'; |
|
118 | - $content .= '<p>' |
|
119 | - . __( |
|
120 | - 'This tour of the Venues Overview page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
|
121 | - 'event_espresso' |
|
122 | - ) . '</p>'; |
|
123 | - return $content; |
|
124 | - } |
|
115 | + protected function _start() |
|
116 | + { |
|
117 | + $content = '<h3>' . __('Venue Overview', 'event_espresso') . '</h3>'; |
|
118 | + $content .= '<p>' |
|
119 | + . __( |
|
120 | + 'This tour of the Venues Overview page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
|
121 | + 'event_espresso' |
|
122 | + ) . '</p>'; |
|
123 | + return $content; |
|
124 | + } |
|
125 | 125 | |
126 | - protected function _id_stop() |
|
127 | - { |
|
128 | - return '<p>' |
|
129 | - . __( |
|
130 | - 'View the venue ID. Can be sorted by ascending or descending order.', |
|
131 | - 'event_espresso' |
|
132 | - ) . '</p>'; |
|
133 | - } |
|
126 | + protected function _id_stop() |
|
127 | + { |
|
128 | + return '<p>' |
|
129 | + . __( |
|
130 | + 'View the venue ID. Can be sorted by ascending or descending order.', |
|
131 | + 'event_espresso' |
|
132 | + ) . '</p>'; |
|
133 | + } |
|
134 | 134 | |
135 | - protected function _name_stop() |
|
136 | - { |
|
137 | - return '<p>' |
|
138 | - . __( |
|
139 | - 'View the name of each venue. Can be sorted by ascending or descending order.', |
|
140 | - 'event_espresso' |
|
141 | - ) . '</p>'; |
|
142 | - } |
|
135 | + protected function _name_stop() |
|
136 | + { |
|
137 | + return '<p>' |
|
138 | + . __( |
|
139 | + 'View the name of each venue. Can be sorted by ascending or descending order.', |
|
140 | + 'event_espresso' |
|
141 | + ) . '</p>'; |
|
142 | + } |
|
143 | 143 | |
144 | - protected function _address_stop() |
|
145 | - { |
|
146 | - return '<p>' . __('View the address for each venue.', 'event_espresso') . '</p>'; |
|
147 | - } |
|
144 | + protected function _address_stop() |
|
145 | + { |
|
146 | + return '<p>' . __('View the address for each venue.', 'event_espresso') . '</p>'; |
|
147 | + } |
|
148 | 148 | |
149 | - protected function _city_stop() |
|
150 | - { |
|
151 | - return '<p>' |
|
152 | - . __( |
|
153 | - 'View the city for each venue. Can be sorted by ascending or descending order.', |
|
154 | - 'event_espresso' |
|
155 | - ) . '</p>'; |
|
156 | - } |
|
149 | + protected function _city_stop() |
|
150 | + { |
|
151 | + return '<p>' |
|
152 | + . __( |
|
153 | + 'View the city for each venue. Can be sorted by ascending or descending order.', |
|
154 | + 'event_espresso' |
|
155 | + ) . '</p>'; |
|
156 | + } |
|
157 | 157 | |
158 | - protected function _capacity_stop() |
|
159 | - { |
|
160 | - return '<p>' |
|
161 | - . __( |
|
162 | - 'View the capacity for each venue. Can be sorted by ascending or descending order.', |
|
163 | - 'event_espresso' |
|
164 | - ) . '</p>'; |
|
165 | - } |
|
158 | + protected function _capacity_stop() |
|
159 | + { |
|
160 | + return '<p>' |
|
161 | + . __( |
|
162 | + 'View the capacity for each venue. Can be sorted by ascending or descending order.', |
|
163 | + 'event_espresso' |
|
164 | + ) . '</p>'; |
|
165 | + } |
|
166 | 166 | |
167 | - protected function _shortcode_stop() |
|
168 | - { |
|
169 | - return '<p>' |
|
170 | - . __( |
|
171 | - 'View the shortcode for a venue. This shortcode can be added to an event, WordPress post, or WordPress page. ', |
|
172 | - 'event_espresso' |
|
173 | - ) . '</p>'; |
|
174 | - } |
|
167 | + protected function _shortcode_stop() |
|
168 | + { |
|
169 | + return '<p>' |
|
170 | + . __( |
|
171 | + 'View the shortcode for a venue. This shortcode can be added to an event, WordPress post, or WordPress page. ', |
|
172 | + 'event_espresso' |
|
173 | + ) . '</p>'; |
|
174 | + } |
|
175 | 175 | |
176 | - protected function _bulk_actions_stop() |
|
177 | - { |
|
178 | - return '<p>' . __('Perform bulk actions to multiple venues.', 'event_espresso') . '</p>'; |
|
179 | - } |
|
176 | + protected function _bulk_actions_stop() |
|
177 | + { |
|
178 | + return '<p>' . __('Perform bulk actions to multiple venues.', 'event_espresso') . '</p>'; |
|
179 | + } |
|
180 | 180 | |
181 | - protected function _search_stop() |
|
182 | - { |
|
183 | - return '<p>' |
|
184 | - . __( |
|
185 | - 'Search through venues. The following sources will be searched: Venue Name, Venue Description, Venue Short Description, Venue Address, Venue City, Venue Zip/Postal Code, Venue Phone, Venue URL, Venue Virtual Phone, Venue Google Map link, Event Name, Event Description, Event Phone, and Event External URL.', |
|
186 | - 'event_espresso' |
|
187 | - ) . '</p>'; |
|
188 | - } |
|
181 | + protected function _search_stop() |
|
182 | + { |
|
183 | + return '<p>' |
|
184 | + . __( |
|
185 | + 'Search through venues. The following sources will be searched: Venue Name, Venue Description, Venue Short Description, Venue Address, Venue City, Venue Zip/Postal Code, Venue Phone, Venue URL, Venue Virtual Phone, Venue Google Map link, Event Name, Event Description, Event Phone, and Event External URL.', |
|
186 | + 'event_espresso' |
|
187 | + ) . '</p>'; |
|
188 | + } |
|
189 | 189 | |
190 | - protected function _new_venue_stop() |
|
191 | - { |
|
192 | - return '<p>' . __('Click here to add a new venue.', 'event_espresso') . '</p>'; |
|
193 | - } |
|
190 | + protected function _new_venue_stop() |
|
191 | + { |
|
192 | + return '<p>' . __('Click here to add a new venue.', 'event_espresso') . '</p>'; |
|
193 | + } |
|
194 | 194 | } |
@@ -114,12 +114,12 @@ discard block |
||
114 | 114 | |
115 | 115 | protected function _start() |
116 | 116 | { |
117 | - $content = '<h3>' . __('Venue Overview', 'event_espresso') . '</h3>'; |
|
117 | + $content = '<h3>'.__('Venue Overview', 'event_espresso').'</h3>'; |
|
118 | 118 | $content .= '<p>' |
119 | 119 | . __( |
120 | 120 | 'This tour of the Venues Overview page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
121 | 121 | 'event_espresso' |
122 | - ) . '</p>'; |
|
122 | + ).'</p>'; |
|
123 | 123 | return $content; |
124 | 124 | } |
125 | 125 | |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | . __( |
130 | 130 | 'View the venue ID. Can be sorted by ascending or descending order.', |
131 | 131 | 'event_espresso' |
132 | - ) . '</p>'; |
|
132 | + ).'</p>'; |
|
133 | 133 | } |
134 | 134 | |
135 | 135 | protected function _name_stop() |
@@ -138,12 +138,12 @@ discard block |
||
138 | 138 | . __( |
139 | 139 | 'View the name of each venue. Can be sorted by ascending or descending order.', |
140 | 140 | 'event_espresso' |
141 | - ) . '</p>'; |
|
141 | + ).'</p>'; |
|
142 | 142 | } |
143 | 143 | |
144 | 144 | protected function _address_stop() |
145 | 145 | { |
146 | - return '<p>' . __('View the address for each venue.', 'event_espresso') . '</p>'; |
|
146 | + return '<p>'.__('View the address for each venue.', 'event_espresso').'</p>'; |
|
147 | 147 | } |
148 | 148 | |
149 | 149 | protected function _city_stop() |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | . __( |
153 | 153 | 'View the city for each venue. Can be sorted by ascending or descending order.', |
154 | 154 | 'event_espresso' |
155 | - ) . '</p>'; |
|
155 | + ).'</p>'; |
|
156 | 156 | } |
157 | 157 | |
158 | 158 | protected function _capacity_stop() |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | . __( |
162 | 162 | 'View the capacity for each venue. Can be sorted by ascending or descending order.', |
163 | 163 | 'event_espresso' |
164 | - ) . '</p>'; |
|
164 | + ).'</p>'; |
|
165 | 165 | } |
166 | 166 | |
167 | 167 | protected function _shortcode_stop() |
@@ -170,12 +170,12 @@ discard block |
||
170 | 170 | . __( |
171 | 171 | 'View the shortcode for a venue. This shortcode can be added to an event, WordPress post, or WordPress page. ', |
172 | 172 | 'event_espresso' |
173 | - ) . '</p>'; |
|
173 | + ).'</p>'; |
|
174 | 174 | } |
175 | 175 | |
176 | 176 | protected function _bulk_actions_stop() |
177 | 177 | { |
178 | - return '<p>' . __('Perform bulk actions to multiple venues.', 'event_espresso') . '</p>'; |
|
178 | + return '<p>'.__('Perform bulk actions to multiple venues.', 'event_espresso').'</p>'; |
|
179 | 179 | } |
180 | 180 | |
181 | 181 | protected function _search_stop() |
@@ -184,11 +184,11 @@ discard block |
||
184 | 184 | . __( |
185 | 185 | 'Search through venues. The following sources will be searched: Venue Name, Venue Description, Venue Short Description, Venue Address, Venue City, Venue Zip/Postal Code, Venue Phone, Venue URL, Venue Virtual Phone, Venue Google Map link, Event Name, Event Description, Event Phone, and Event External URL.', |
186 | 186 | 'event_espresso' |
187 | - ) . '</p>'; |
|
187 | + ).'</p>'; |
|
188 | 188 | } |
189 | 189 | |
190 | 190 | protected function _new_venue_stop() |
191 | 191 | { |
192 | - return '<p>' . __('Click here to add a new venue.', 'event_espresso') . '</p>'; |
|
192 | + return '<p>'.__('Click here to add a new venue.', 'event_espresso').'</p>'; |
|
193 | 193 | } |
194 | 194 | } |
@@ -15,72 +15,72 @@ |
||
15 | 15 | class Google_Maps_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('Google Maps Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'google-maps-settings-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('Google Maps Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'google-maps-settings-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' => 'use_google_maps', |
|
32 | - 'content' => $this->_use_google_maps_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'right', |
|
35 | - 'tipAdjustmentY' => -50, |
|
36 | - 'tipAdjustmentX' => 15, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 30 => array( |
|
40 | - 'id' => 'event_details_map_width', |
|
41 | - 'content' => $this->_reg_page_map_settings_stop(), |
|
42 | - 'options' => array( |
|
43 | - 'tipLocation' => 'right', |
|
44 | - 'tipAdjustmentY' => -75, |
|
45 | - 'tipAdjustmentX' => 20, |
|
46 | - ), |
|
47 | - ), |
|
48 | - 40 => array( |
|
49 | - 'id' => 'event_list_map_width', |
|
50 | - 'content' => $this->_event_list_map_stop(), |
|
51 | - 'options' => array( |
|
52 | - 'tipLocation' => 'right', |
|
53 | - 'tipAdjustmentY' => -80, |
|
54 | - 'tipAdjustmentX' => 20, |
|
55 | - ), |
|
56 | - ), |
|
57 | - ); |
|
58 | - } |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_start(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'use_google_maps', |
|
32 | + 'content' => $this->_use_google_maps_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'right', |
|
35 | + 'tipAdjustmentY' => -50, |
|
36 | + 'tipAdjustmentX' => 15, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 30 => array( |
|
40 | + 'id' => 'event_details_map_width', |
|
41 | + 'content' => $this->_reg_page_map_settings_stop(), |
|
42 | + 'options' => array( |
|
43 | + 'tipLocation' => 'right', |
|
44 | + 'tipAdjustmentY' => -75, |
|
45 | + 'tipAdjustmentX' => 20, |
|
46 | + ), |
|
47 | + ), |
|
48 | + 40 => array( |
|
49 | + 'id' => 'event_list_map_width', |
|
50 | + 'content' => $this->_event_list_map_stop(), |
|
51 | + 'options' => array( |
|
52 | + 'tipLocation' => 'right', |
|
53 | + 'tipAdjustmentY' => -80, |
|
54 | + 'tipAdjustmentX' => 20, |
|
55 | + ), |
|
56 | + ), |
|
57 | + ); |
|
58 | + } |
|
59 | 59 | |
60 | 60 | |
61 | - protected function _start() |
|
62 | - { |
|
63 | - $content = '<h3>' . __('Google Maps Settings', 'event_espresso') . '</h3>'; |
|
64 | - $content .= '<p>' |
|
65 | - . __( |
|
66 | - 'This tour of the Google Maps page will go over different areas of the screen to help you understand what they are used for.', |
|
67 | - 'event_espresso' |
|
68 | - ) . '</p>'; |
|
69 | - return $content; |
|
70 | - } |
|
61 | + protected function _start() |
|
62 | + { |
|
63 | + $content = '<h3>' . __('Google Maps Settings', 'event_espresso') . '</h3>'; |
|
64 | + $content .= '<p>' |
|
65 | + . __( |
|
66 | + 'This tour of the Google Maps page will go over different areas of the screen to help you understand what they are used for.', |
|
67 | + 'event_espresso' |
|
68 | + ) . '</p>'; |
|
69 | + return $content; |
|
70 | + } |
|
71 | 71 | |
72 | - protected function _use_google_maps_stop() |
|
73 | - { |
|
74 | - return '<p>' . __('Turn Google maps on or off site wide for Event Espresso.', 'event_espresso') . '</p>'; |
|
75 | - } |
|
72 | + protected function _use_google_maps_stop() |
|
73 | + { |
|
74 | + return '<p>' . __('Turn Google maps on or off site wide for Event Espresso.', 'event_espresso') . '</p>'; |
|
75 | + } |
|
76 | 76 | |
77 | - protected function _reg_page_map_settings_stop() |
|
78 | - { |
|
79 | - return '<p>' . __('These settings affect the single registration page maps only.', 'event_espresso') . '</p>'; |
|
80 | - } |
|
77 | + protected function _reg_page_map_settings_stop() |
|
78 | + { |
|
79 | + return '<p>' . __('These settings affect the single registration page maps only.', 'event_espresso') . '</p>'; |
|
80 | + } |
|
81 | 81 | |
82 | - protected function _event_list_map_stop() |
|
83 | - { |
|
84 | - return '<p>' . __('These setting affect the event list page maps.', 'event_espresso') . '</p>'; |
|
85 | - } |
|
82 | + protected function _event_list_map_stop() |
|
83 | + { |
|
84 | + return '<p>' . __('These setting affect the event list page maps.', 'event_espresso') . '</p>'; |
|
85 | + } |
|
86 | 86 | } |
@@ -60,27 +60,27 @@ |
||
60 | 60 | |
61 | 61 | protected function _start() |
62 | 62 | { |
63 | - $content = '<h3>' . __('Google Maps Settings', 'event_espresso') . '</h3>'; |
|
63 | + $content = '<h3>'.__('Google Maps Settings', 'event_espresso').'</h3>'; |
|
64 | 64 | $content .= '<p>' |
65 | 65 | . __( |
66 | 66 | 'This tour of the Google Maps page will go over different areas of the screen to help you understand what they are used for.', |
67 | 67 | 'event_espresso' |
68 | - ) . '</p>'; |
|
68 | + ).'</p>'; |
|
69 | 69 | return $content; |
70 | 70 | } |
71 | 71 | |
72 | 72 | protected function _use_google_maps_stop() |
73 | 73 | { |
74 | - return '<p>' . __('Turn Google maps on or off site wide for Event Espresso.', 'event_espresso') . '</p>'; |
|
74 | + return '<p>'.__('Turn Google maps on or off site wide for Event Espresso.', 'event_espresso').'</p>'; |
|
75 | 75 | } |
76 | 76 | |
77 | 77 | protected function _reg_page_map_settings_stop() |
78 | 78 | { |
79 | - return '<p>' . __('These settings affect the single registration page maps only.', 'event_espresso') . '</p>'; |
|
79 | + return '<p>'.__('These settings affect the single registration page maps only.', 'event_espresso').'</p>'; |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | protected function _event_list_map_stop() |
83 | 83 | { |
84 | - return '<p>' . __('These setting affect the event list page maps.', 'event_espresso') . '</p>'; |
|
84 | + return '<p>'.__('These setting affect the event list page maps.', 'event_espresso').'</p>'; |
|
85 | 85 | } |
86 | 86 | } |
@@ -15,148 +15,148 @@ |
||
15 | 15 | class Venues_Add_Venue_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('Venue Editor Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'venue-add-venue-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('Venue Editor Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'venue-add-venue-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_stop_one(), |
|
29 | - ), |
|
30 | - 20 => array( |
|
31 | - 'id' => 'titlewrap', |
|
32 | - 'content' => $this->_venue_title_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'bottom', |
|
35 | - 'tipAdjustmentY' => -30, |
|
36 | - ), |
|
37 | - ), |
|
38 | - 30 => array( |
|
39 | - 'id' => 'wp-content-editor-tools', |
|
40 | - 'content' => $this->_venue_editor_stop(), |
|
41 | - 'options' => array( |
|
42 | - 'tipLocation' => 'right', |
|
43 | - ), |
|
44 | - ), |
|
45 | - 40 => array( |
|
46 | - 'id' => 'tagsdiv-post_tag', |
|
47 | - 'content' => $this->_venue_tags_stop(), |
|
48 | - 'options' => array( |
|
49 | - 'tipLocation' => 'left', |
|
50 | - ), |
|
51 | - ), |
|
52 | - 50 => array( |
|
53 | - 'id' => 'espresso_venue_categoriesdiv', |
|
54 | - 'content' => $this->_venue_categories_stop(), |
|
55 | - 'options' => array( |
|
56 | - 'tipLocation' => 'left', |
|
57 | - ), |
|
58 | - ), |
|
59 | - 60 => array( |
|
60 | - 'id' => 'espresso_venue_address_options', |
|
61 | - 'content' => $this->_venue_physical_location_stop(), |
|
62 | - 'options' => array( |
|
63 | - 'tipLocation' => 'left', |
|
64 | - ), |
|
65 | - ), |
|
66 | - 70 => array( |
|
67 | - 'id' => 'espresso_venue_gmap_options', |
|
68 | - 'content' => $this->_venue_gmap_stop(), |
|
69 | - 'options' => array( |
|
70 | - 'tipLocation' => 'left', |
|
71 | - ), |
|
72 | - ), |
|
73 | - 80 => array( |
|
74 | - 'id' => 'espresso_venue_virtual_loc_options', |
|
75 | - 'content' => $this->_venue_virtual_location_stop(), |
|
76 | - 'options' => array( |
|
77 | - 'tipLocation' => 'left', |
|
78 | - ), |
|
79 | - ), |
|
80 | - 90 => array( |
|
81 | - 'id' => 'postimagediv', |
|
82 | - 'content' => $this->_stop_featured_image(), |
|
83 | - 'options' => array( |
|
84 | - 'tipLocation' => 'left', |
|
85 | - ), |
|
86 | - ), |
|
87 | - 100 => array( |
|
88 | - 'id' => 'submitpost', |
|
89 | - 'content' => $this->_stop_publish_box(), |
|
90 | - 'options' => array( |
|
91 | - 'tipLocation' => 'left', |
|
92 | - ), |
|
93 | - ), |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_stop_one(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'titlewrap', |
|
32 | + 'content' => $this->_venue_title_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'bottom', |
|
35 | + 'tipAdjustmentY' => -30, |
|
36 | + ), |
|
37 | + ), |
|
38 | + 30 => array( |
|
39 | + 'id' => 'wp-content-editor-tools', |
|
40 | + 'content' => $this->_venue_editor_stop(), |
|
41 | + 'options' => array( |
|
42 | + 'tipLocation' => 'right', |
|
43 | + ), |
|
44 | + ), |
|
45 | + 40 => array( |
|
46 | + 'id' => 'tagsdiv-post_tag', |
|
47 | + 'content' => $this->_venue_tags_stop(), |
|
48 | + 'options' => array( |
|
49 | + 'tipLocation' => 'left', |
|
50 | + ), |
|
51 | + ), |
|
52 | + 50 => array( |
|
53 | + 'id' => 'espresso_venue_categoriesdiv', |
|
54 | + 'content' => $this->_venue_categories_stop(), |
|
55 | + 'options' => array( |
|
56 | + 'tipLocation' => 'left', |
|
57 | + ), |
|
58 | + ), |
|
59 | + 60 => array( |
|
60 | + 'id' => 'espresso_venue_address_options', |
|
61 | + 'content' => $this->_venue_physical_location_stop(), |
|
62 | + 'options' => array( |
|
63 | + 'tipLocation' => 'left', |
|
64 | + ), |
|
65 | + ), |
|
66 | + 70 => array( |
|
67 | + 'id' => 'espresso_venue_gmap_options', |
|
68 | + 'content' => $this->_venue_gmap_stop(), |
|
69 | + 'options' => array( |
|
70 | + 'tipLocation' => 'left', |
|
71 | + ), |
|
72 | + ), |
|
73 | + 80 => array( |
|
74 | + 'id' => 'espresso_venue_virtual_loc_options', |
|
75 | + 'content' => $this->_venue_virtual_location_stop(), |
|
76 | + 'options' => array( |
|
77 | + 'tipLocation' => 'left', |
|
78 | + ), |
|
79 | + ), |
|
80 | + 90 => array( |
|
81 | + 'id' => 'postimagediv', |
|
82 | + 'content' => $this->_stop_featured_image(), |
|
83 | + 'options' => array( |
|
84 | + 'tipLocation' => 'left', |
|
85 | + ), |
|
86 | + ), |
|
87 | + 100 => array( |
|
88 | + 'id' => 'submitpost', |
|
89 | + 'content' => $this->_stop_publish_box(), |
|
90 | + 'options' => array( |
|
91 | + 'tipLocation' => 'left', |
|
92 | + ), |
|
93 | + ), |
|
94 | 94 | |
95 | - ); |
|
96 | - } |
|
95 | + ); |
|
96 | + } |
|
97 | 97 | |
98 | 98 | |
99 | - protected function _stop_one() |
|
100 | - { |
|
101 | - $content = '<h3>' . __('Add Venue', 'event_espresso') . '</h3>'; |
|
102 | - $content .= '<p>' |
|
103 | - . __( |
|
104 | - 'This tour of the Venue Editor page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
|
105 | - 'event_espresso' |
|
106 | - ) . '</p>'; |
|
107 | - return $content; |
|
108 | - } |
|
99 | + protected function _stop_one() |
|
100 | + { |
|
101 | + $content = '<h3>' . __('Add Venue', 'event_espresso') . '</h3>'; |
|
102 | + $content .= '<p>' |
|
103 | + . __( |
|
104 | + 'This tour of the Venue Editor page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
|
105 | + 'event_espresso' |
|
106 | + ) . '</p>'; |
|
107 | + return $content; |
|
108 | + } |
|
109 | 109 | |
110 | - protected function _venue_title_stop() |
|
111 | - { |
|
112 | - return '<p>Enter the title for your venue in this field.</p>'; |
|
113 | - } |
|
110 | + protected function _venue_title_stop() |
|
111 | + { |
|
112 | + return '<p>Enter the title for your venue in this field.</p>'; |
|
113 | + } |
|
114 | 114 | |
115 | - protected function _venue_editor_stop() |
|
116 | - { |
|
117 | - return '<p>' |
|
118 | - . __( |
|
119 | - 'The rich text editor can be used to add information about your venue. Images and links can also be added along with your text.', |
|
120 | - 'event_espresso' |
|
121 | - ) . '</p>'; |
|
122 | - } |
|
115 | + protected function _venue_editor_stop() |
|
116 | + { |
|
117 | + return '<p>' |
|
118 | + . __( |
|
119 | + 'The rich text editor can be used to add information about your venue. Images and links can also be added along with your text.', |
|
120 | + 'event_espresso' |
|
121 | + ) . '</p>'; |
|
122 | + } |
|
123 | 123 | |
124 | - protected function _venue_tags_stop() |
|
125 | - { |
|
126 | - return '<p>' . __('Quickly add tags to your venue.', 'event_espresso') . '</p>'; |
|
127 | - } |
|
124 | + protected function _venue_tags_stop() |
|
125 | + { |
|
126 | + return '<p>' . __('Quickly add tags to your venue.', 'event_espresso') . '</p>'; |
|
127 | + } |
|
128 | 128 | |
129 | - protected function _venue_categories_stop() |
|
130 | - { |
|
131 | - return '<p>' . __('Venues can also be categorized if you wish.', 'event_espresso') . '</p>'; |
|
132 | - } |
|
129 | + protected function _venue_categories_stop() |
|
130 | + { |
|
131 | + return '<p>' . __('Venues can also be categorized if you wish.', 'event_espresso') . '</p>'; |
|
132 | + } |
|
133 | 133 | |
134 | - protected function _venue_physical_location_stop() |
|
135 | - { |
|
136 | - return '<p>' . __('Add a physical address for your venue.', 'event_espresso') . '</p>'; |
|
137 | - } |
|
134 | + protected function _venue_physical_location_stop() |
|
135 | + { |
|
136 | + return '<p>' . __('Add a physical address for your venue.', 'event_espresso') . '</p>'; |
|
137 | + } |
|
138 | 138 | |
139 | - protected function _venue_gmap_stop() |
|
140 | - { |
|
141 | - return '<p>' . __('Enable or disable a Google Map for your venue.', 'event_espresso') . '</p>'; |
|
142 | - } |
|
139 | + protected function _venue_gmap_stop() |
|
140 | + { |
|
141 | + return '<p>' . __('Enable or disable a Google Map for your venue.', 'event_espresso') . '</p>'; |
|
142 | + } |
|
143 | 143 | |
144 | - protected function _venue_virtual_location_stop() |
|
145 | - { |
|
146 | - return '<p>' . __('Setup a virtual location for your venue.', 'event_espresso') . '</p>'; |
|
147 | - } |
|
144 | + protected function _venue_virtual_location_stop() |
|
145 | + { |
|
146 | + return '<p>' . __('Setup a virtual location for your venue.', 'event_espresso') . '</p>'; |
|
147 | + } |
|
148 | 148 | |
149 | - protected function _stop_featured_image() |
|
150 | - { |
|
151 | - return '<p>' . __('Set a feature image for your venue here.', 'event_espresso') . '</p>'; |
|
152 | - } |
|
149 | + protected function _stop_featured_image() |
|
150 | + { |
|
151 | + return '<p>' . __('Set a feature image for your venue here.', 'event_espresso') . '</p>'; |
|
152 | + } |
|
153 | 153 | |
154 | - protected function _stop_publish_box() |
|
155 | - { |
|
156 | - return '<p>' |
|
157 | - . __( |
|
158 | - 'Easily control the status of your venue. The main options are Published, Pending Review, and Draft.', |
|
159 | - 'event_espresso' |
|
160 | - ) . '</p>'; |
|
161 | - } |
|
154 | + protected function _stop_publish_box() |
|
155 | + { |
|
156 | + return '<p>' |
|
157 | + . __( |
|
158 | + 'Easily control the status of your venue. The main options are Published, Pending Review, and Draft.', |
|
159 | + 'event_espresso' |
|
160 | + ) . '</p>'; |
|
161 | + } |
|
162 | 162 | } |
@@ -98,12 +98,12 @@ discard block |
||
98 | 98 | |
99 | 99 | protected function _stop_one() |
100 | 100 | { |
101 | - $content = '<h3>' . __('Add Venue', 'event_espresso') . '</h3>'; |
|
101 | + $content = '<h3>'.__('Add Venue', 'event_espresso').'</h3>'; |
|
102 | 102 | $content .= '<p>' |
103 | 103 | . __( |
104 | 104 | 'This tour of the Venue Editor page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
105 | 105 | 'event_espresso' |
106 | - ) . '</p>'; |
|
106 | + ).'</p>'; |
|
107 | 107 | return $content; |
108 | 108 | } |
109 | 109 | |
@@ -118,37 +118,37 @@ discard block |
||
118 | 118 | . __( |
119 | 119 | 'The rich text editor can be used to add information about your venue. Images and links can also be added along with your text.', |
120 | 120 | 'event_espresso' |
121 | - ) . '</p>'; |
|
121 | + ).'</p>'; |
|
122 | 122 | } |
123 | 123 | |
124 | 124 | protected function _venue_tags_stop() |
125 | 125 | { |
126 | - return '<p>' . __('Quickly add tags to your venue.', 'event_espresso') . '</p>'; |
|
126 | + return '<p>'.__('Quickly add tags to your venue.', 'event_espresso').'</p>'; |
|
127 | 127 | } |
128 | 128 | |
129 | 129 | protected function _venue_categories_stop() |
130 | 130 | { |
131 | - return '<p>' . __('Venues can also be categorized if you wish.', 'event_espresso') . '</p>'; |
|
131 | + return '<p>'.__('Venues can also be categorized if you wish.', 'event_espresso').'</p>'; |
|
132 | 132 | } |
133 | 133 | |
134 | 134 | protected function _venue_physical_location_stop() |
135 | 135 | { |
136 | - return '<p>' . __('Add a physical address for your venue.', 'event_espresso') . '</p>'; |
|
136 | + return '<p>'.__('Add a physical address for your venue.', 'event_espresso').'</p>'; |
|
137 | 137 | } |
138 | 138 | |
139 | 139 | protected function _venue_gmap_stop() |
140 | 140 | { |
141 | - return '<p>' . __('Enable or disable a Google Map for your venue.', 'event_espresso') . '</p>'; |
|
141 | + return '<p>'.__('Enable or disable a Google Map for your venue.', 'event_espresso').'</p>'; |
|
142 | 142 | } |
143 | 143 | |
144 | 144 | protected function _venue_virtual_location_stop() |
145 | 145 | { |
146 | - return '<p>' . __('Setup a virtual location for your venue.', 'event_espresso') . '</p>'; |
|
146 | + return '<p>'.__('Setup a virtual location for your venue.', 'event_espresso').'</p>'; |
|
147 | 147 | } |
148 | 148 | |
149 | 149 | protected function _stop_featured_image() |
150 | 150 | { |
151 | - return '<p>' . __('Set a feature image for your venue here.', 'event_espresso') . '</p>'; |
|
151 | + return '<p>'.__('Set a feature image for your venue here.', 'event_espresso').'</p>'; |
|
152 | 152 | } |
153 | 153 | |
154 | 154 | protected function _stop_publish_box() |
@@ -157,6 +157,6 @@ discard block |
||
157 | 157 | . __( |
158 | 158 | 'Easily control the status of your venue. The main options are Published, Pending Review, and Draft.', |
159 | 159 | 'event_espresso' |
160 | - ) . '</p>'; |
|
160 | + ).'</p>'; |
|
161 | 161 | } |
162 | 162 | } |
@@ -15,76 +15,76 @@ |
||
15 | 15 | class Venues_Edit_Category_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('Edit Venue Category Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'venue-edit-category-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('Edit Venue Category Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'venue-edit-category-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | - protected function _set_tour_stops() |
|
25 | - { |
|
26 | - $this->_stops = array( |
|
27 | - 10 => array( |
|
28 | - 'content' => $this->_stop_one(), |
|
29 | - ), |
|
30 | - 20 => array( |
|
31 | - 'id' => 'category_name', |
|
32 | - 'content' => $this->_category_name_stop(), |
|
33 | - 'options' => array( |
|
34 | - 'tipLocation' => 'right', |
|
35 | - 'tipAdjustmentY' => -55, |
|
36 | - 'tipAdjustmentX' => 5, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 30 => array( |
|
40 | - 'id' => 'cat_id', |
|
41 | - 'content' => $this->_category_id_stop(), |
|
42 | - 'options' => array( |
|
43 | - 'tipLocation' => 'right', |
|
44 | - 'tipAdjustmentY' => -55, |
|
45 | - 'tipAdjustmentX' => 5, |
|
46 | - ), |
|
47 | - ), |
|
48 | - 40 => array( |
|
49 | - 'id' => 'category_desc', |
|
50 | - 'content' => $this->_category_editor_stop(), |
|
51 | - 'options' => array( |
|
52 | - 'tipLocation' => 'top', |
|
53 | - 'tipAdjustmentY' => -75, |
|
54 | - 'tipAdjustmentX' => 250, |
|
55 | - ), |
|
56 | - ), |
|
57 | - ); |
|
58 | - } |
|
24 | + protected function _set_tour_stops() |
|
25 | + { |
|
26 | + $this->_stops = array( |
|
27 | + 10 => array( |
|
28 | + 'content' => $this->_stop_one(), |
|
29 | + ), |
|
30 | + 20 => array( |
|
31 | + 'id' => 'category_name', |
|
32 | + 'content' => $this->_category_name_stop(), |
|
33 | + 'options' => array( |
|
34 | + 'tipLocation' => 'right', |
|
35 | + 'tipAdjustmentY' => -55, |
|
36 | + 'tipAdjustmentX' => 5, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 30 => array( |
|
40 | + 'id' => 'cat_id', |
|
41 | + 'content' => $this->_category_id_stop(), |
|
42 | + 'options' => array( |
|
43 | + 'tipLocation' => 'right', |
|
44 | + 'tipAdjustmentY' => -55, |
|
45 | + 'tipAdjustmentX' => 5, |
|
46 | + ), |
|
47 | + ), |
|
48 | + 40 => array( |
|
49 | + 'id' => 'category_desc', |
|
50 | + 'content' => $this->_category_editor_stop(), |
|
51 | + 'options' => array( |
|
52 | + 'tipLocation' => 'top', |
|
53 | + 'tipAdjustmentY' => -75, |
|
54 | + 'tipAdjustmentX' => 250, |
|
55 | + ), |
|
56 | + ), |
|
57 | + ); |
|
58 | + } |
|
59 | 59 | |
60 | 60 | |
61 | - protected function _stop_one() |
|
62 | - { |
|
63 | - $content = '<h3>' . __('Edit Venue Category', 'event_espresso') . '</h3>'; |
|
64 | - $content .= '<p>' |
|
65 | - . __( |
|
66 | - 'This tour of the Edit Venue Category page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
|
67 | - 'event_espresso' |
|
68 | - ) . '</p>'; |
|
69 | - return $content; |
|
70 | - } |
|
61 | + protected function _stop_one() |
|
62 | + { |
|
63 | + $content = '<h3>' . __('Edit Venue Category', 'event_espresso') . '</h3>'; |
|
64 | + $content .= '<p>' |
|
65 | + . __( |
|
66 | + 'This tour of the Edit Venue Category page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
|
67 | + 'event_espresso' |
|
68 | + ) . '</p>'; |
|
69 | + return $content; |
|
70 | + } |
|
71 | 71 | |
72 | - protected function _category_name_stop() |
|
73 | - { |
|
74 | - return '<p>' . __('Edit the name for your venue category.', 'event_espresso') . '</p>'; |
|
75 | - } |
|
72 | + protected function _category_name_stop() |
|
73 | + { |
|
74 | + return '<p>' . __('Edit the name for your venue category.', 'event_espresso') . '</p>'; |
|
75 | + } |
|
76 | 76 | |
77 | - protected function _category_id_stop() |
|
78 | - { |
|
79 | - return '<p>' . __('View the unique ID for your category (cannot be changed).', 'event_espresso') . '</p>'; |
|
80 | - } |
|
77 | + protected function _category_id_stop() |
|
78 | + { |
|
79 | + return '<p>' . __('View the unique ID for your category (cannot be changed).', 'event_espresso') . '</p>'; |
|
80 | + } |
|
81 | 81 | |
82 | - protected function _category_editor_stop() |
|
83 | - { |
|
84 | - return '<p>' |
|
85 | - . __( |
|
86 | - 'The rich text editor can be used to edit information about your venue category. Images and links can also be added or removed along with your text.', |
|
87 | - 'event_espresso' |
|
88 | - ) . '</p>'; |
|
89 | - } |
|
82 | + protected function _category_editor_stop() |
|
83 | + { |
|
84 | + return '<p>' |
|
85 | + . __( |
|
86 | + 'The rich text editor can be used to edit information about your venue category. Images and links can also be added or removed along with your text.', |
|
87 | + 'event_espresso' |
|
88 | + ) . '</p>'; |
|
89 | + } |
|
90 | 90 | } |
@@ -60,23 +60,23 @@ discard block |
||
60 | 60 | |
61 | 61 | protected function _stop_one() |
62 | 62 | { |
63 | - $content = '<h3>' . __('Edit Venue Category', 'event_espresso') . '</h3>'; |
|
63 | + $content = '<h3>'.__('Edit Venue Category', 'event_espresso').'</h3>'; |
|
64 | 64 | $content .= '<p>' |
65 | 65 | . __( |
66 | 66 | 'This tour of the Edit Venue Category page will provide an overview of the different areas of the screen to help you understand what they are used for.', |
67 | 67 | 'event_espresso' |
68 | - ) . '</p>'; |
|
68 | + ).'</p>'; |
|
69 | 69 | return $content; |
70 | 70 | } |
71 | 71 | |
72 | 72 | protected function _category_name_stop() |
73 | 73 | { |
74 | - return '<p>' . __('Edit the name for your venue category.', 'event_espresso') . '</p>'; |
|
74 | + return '<p>'.__('Edit the name for your venue category.', 'event_espresso').'</p>'; |
|
75 | 75 | } |
76 | 76 | |
77 | 77 | protected function _category_id_stop() |
78 | 78 | { |
79 | - return '<p>' . __('View the unique ID for your category (cannot be changed).', 'event_espresso') . '</p>'; |
|
79 | + return '<p>'.__('View the unique ID for your category (cannot be changed).', 'event_espresso').'</p>'; |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | protected function _category_editor_stop() |
@@ -85,6 +85,6 @@ discard block |
||
85 | 85 | . __( |
86 | 86 | 'The rich text editor can be used to edit information about your venue category. Images and links can also be added or removed along with your text.', |
87 | 87 | 'event_espresso' |
88 | - ) . '</p>'; |
|
88 | + ).'</p>'; |
|
89 | 89 | } |
90 | 90 | } |