@@ -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 | } |
@@ -15,144 +15,144 @@ |
||
15 | 15 | class Venues_Categories_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('Venue Categories Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'venue-categories-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('Venue Categories Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'venue-categories-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' => 'shortcode', |
|
50 | - 'content' => $this->_shortcode_stop(), |
|
51 | - 'options' => array( |
|
52 | - 'tipLocation' => 'top', |
|
53 | - 'tipAdjustmentX' => 5, |
|
54 | - 'tipAdjustmentY' => -30, |
|
55 | - ), |
|
56 | - ), |
|
57 | - 50 => array( |
|
58 | - 'id' => 'count', |
|
59 | - 'content' => $this->_count_stop(), |
|
60 | - 'options' => array( |
|
61 | - 'tipLocation' => 'top', |
|
62 | - 'tipAdjustmentX' => 5, |
|
63 | - 'tipAdjustmentY' => -30, |
|
64 | - ), |
|
65 | - ), |
|
66 | - 60 => array( |
|
67 | - 'class' => 'bulkactions', |
|
68 | - 'content' => $this->_bulk_actions_stop(), |
|
69 | - 'options' => array( |
|
70 | - 'tipLocation' => 'top', |
|
71 | - 'tipAdjustmentX' => 25, |
|
72 | - 'tipAdjustmentY' => -35, |
|
73 | - ), |
|
74 | - ), |
|
75 | - 70 => array( |
|
76 | - 'id' => 'event-espresso_page_espresso_venues-search-input', |
|
77 | - 'content' => $this->_search_stop(), |
|
78 | - 'options' => array( |
|
79 | - 'tipLocation' => 'left', |
|
80 | - 'tipAdjustmentY' => -50, |
|
81 | - 'tipAdjustmentX' => -15, |
|
82 | - ), |
|
83 | - ), |
|
84 | - 80 => array( |
|
85 | - 'id' => 'add-new-category', |
|
86 | - 'content' => $this->_new_category_stop(), |
|
87 | - 'options' => array( |
|
88 | - 'tipLocation' => 'right', |
|
89 | - 'tipAdjustmentY' => -50, |
|
90 | - 'tipAdjustmentX' => 10, |
|
91 | - ), |
|
92 | - ), |
|
93 | - ); |
|
94 | - } |
|
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' => 'shortcode', |
|
50 | + 'content' => $this->_shortcode_stop(), |
|
51 | + 'options' => array( |
|
52 | + 'tipLocation' => 'top', |
|
53 | + 'tipAdjustmentX' => 5, |
|
54 | + 'tipAdjustmentY' => -30, |
|
55 | + ), |
|
56 | + ), |
|
57 | + 50 => array( |
|
58 | + 'id' => 'count', |
|
59 | + 'content' => $this->_count_stop(), |
|
60 | + 'options' => array( |
|
61 | + 'tipLocation' => 'top', |
|
62 | + 'tipAdjustmentX' => 5, |
|
63 | + 'tipAdjustmentY' => -30, |
|
64 | + ), |
|
65 | + ), |
|
66 | + 60 => array( |
|
67 | + 'class' => 'bulkactions', |
|
68 | + 'content' => $this->_bulk_actions_stop(), |
|
69 | + 'options' => array( |
|
70 | + 'tipLocation' => 'top', |
|
71 | + 'tipAdjustmentX' => 25, |
|
72 | + 'tipAdjustmentY' => -35, |
|
73 | + ), |
|
74 | + ), |
|
75 | + 70 => array( |
|
76 | + 'id' => 'event-espresso_page_espresso_venues-search-input', |
|
77 | + 'content' => $this->_search_stop(), |
|
78 | + 'options' => array( |
|
79 | + 'tipLocation' => 'left', |
|
80 | + 'tipAdjustmentY' => -50, |
|
81 | + 'tipAdjustmentX' => -15, |
|
82 | + ), |
|
83 | + ), |
|
84 | + 80 => array( |
|
85 | + 'id' => 'add-new-category', |
|
86 | + 'content' => $this->_new_category_stop(), |
|
87 | + 'options' => array( |
|
88 | + 'tipLocation' => 'right', |
|
89 | + 'tipAdjustmentY' => -50, |
|
90 | + 'tipAdjustmentX' => 10, |
|
91 | + ), |
|
92 | + ), |
|
93 | + ); |
|
94 | + } |
|
95 | 95 | |
96 | 96 | |
97 | - protected function _start() |
|
98 | - { |
|
99 | - $content = '<h3>' . __('Venue Overview', 'event_espresso') . '</h3>'; |
|
100 | - $content .= '<p>' |
|
101 | - . __( |
|
102 | - '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.', |
|
103 | - 'event_espresso' |
|
104 | - ) . '</p>'; |
|
105 | - return $content; |
|
106 | - } |
|
97 | + protected function _start() |
|
98 | + { |
|
99 | + $content = '<h3>' . __('Venue Overview', 'event_espresso') . '</h3>'; |
|
100 | + $content .= '<p>' |
|
101 | + . __( |
|
102 | + '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.', |
|
103 | + 'event_espresso' |
|
104 | + ) . '</p>'; |
|
105 | + return $content; |
|
106 | + } |
|
107 | 107 | |
108 | - protected function _id_stop() |
|
109 | - { |
|
110 | - return '<p>' |
|
111 | - . __( |
|
112 | - 'View the venue category ID. Can be sorted by ascending or descending order.', |
|
113 | - 'event_espresso' |
|
114 | - ) . '</p>'; |
|
115 | - } |
|
108 | + protected function _id_stop() |
|
109 | + { |
|
110 | + return '<p>' |
|
111 | + . __( |
|
112 | + 'View the venue category ID. Can be sorted by ascending or descending order.', |
|
113 | + 'event_espresso' |
|
114 | + ) . '</p>'; |
|
115 | + } |
|
116 | 116 | |
117 | - protected function _name_stop() |
|
118 | - { |
|
119 | - return '<p>' |
|
120 | - . __( |
|
121 | - 'View the name of each venue category. Can be sorted by ascending or descending order.', |
|
122 | - 'event_espresso' |
|
123 | - ) . '</p>'; |
|
124 | - } |
|
117 | + protected function _name_stop() |
|
118 | + { |
|
119 | + return '<p>' |
|
120 | + . __( |
|
121 | + 'View the name of each venue category. Can be sorted by ascending or descending order.', |
|
122 | + 'event_espresso' |
|
123 | + ) . '</p>'; |
|
124 | + } |
|
125 | 125 | |
126 | - protected function _shortcode_stop() |
|
127 | - { |
|
128 | - return '<p>' |
|
129 | - . __( |
|
130 | - 'View the shortcode for a venue category. This shortcode can be added to an event, WordPress post, or WordPress page. ', |
|
131 | - 'event_espresso' |
|
132 | - ) . '</p>'; |
|
133 | - } |
|
126 | + protected function _shortcode_stop() |
|
127 | + { |
|
128 | + return '<p>' |
|
129 | + . __( |
|
130 | + 'View the shortcode for a venue category. This shortcode can be added to an event, WordPress post, or WordPress page. ', |
|
131 | + 'event_espresso' |
|
132 | + ) . '</p>'; |
|
133 | + } |
|
134 | 134 | |
135 | - protected function _count_stop() |
|
136 | - { |
|
137 | - return '<p>' . __('View the number of venues that are associated with a category.', 'event_espresso') . '</p>'; |
|
138 | - } |
|
135 | + protected function _count_stop() |
|
136 | + { |
|
137 | + return '<p>' . __('View the number of venues that are associated with a category.', 'event_espresso') . '</p>'; |
|
138 | + } |
|
139 | 139 | |
140 | - protected function _bulk_actions_stop() |
|
141 | - { |
|
142 | - return '<p>' . __('Perform bulk actions to multiple venue categories.', 'event_espresso') . '</p>'; |
|
143 | - } |
|
140 | + protected function _bulk_actions_stop() |
|
141 | + { |
|
142 | + return '<p>' . __('Perform bulk actions to multiple venue categories.', 'event_espresso') . '</p>'; |
|
143 | + } |
|
144 | 144 | |
145 | - protected function _search_stop() |
|
146 | - { |
|
147 | - return '<p>' |
|
148 | - . __( |
|
149 | - 'Search through venues categories. The following sources will be searched: Venue Category ID, Venue Category Name, Venue Shortcode, and Venue Count.', |
|
150 | - 'event_espresso' |
|
151 | - ) . '</p>'; |
|
152 | - } |
|
145 | + protected function _search_stop() |
|
146 | + { |
|
147 | + return '<p>' |
|
148 | + . __( |
|
149 | + 'Search through venues categories. The following sources will be searched: Venue Category ID, Venue Category Name, Venue Shortcode, and Venue Count.', |
|
150 | + 'event_espresso' |
|
151 | + ) . '</p>'; |
|
152 | + } |
|
153 | 153 | |
154 | - protected function _new_category_stop() |
|
155 | - { |
|
156 | - return '<p>' . __('Click here to add a new venue category.', 'event_espresso') . '</p>'; |
|
157 | - } |
|
154 | + protected function _new_category_stop() |
|
155 | + { |
|
156 | + return '<p>' . __('Click here to add a new venue category.', 'event_espresso') . '</p>'; |
|
157 | + } |
|
158 | 158 | } |
@@ -96,12 +96,12 @@ discard block |
||
96 | 96 | |
97 | 97 | protected function _start() |
98 | 98 | { |
99 | - $content = '<h3>' . __('Venue Overview', 'event_espresso') . '</h3>'; |
|
99 | + $content = '<h3>'.__('Venue Overview', 'event_espresso').'</h3>'; |
|
100 | 100 | $content .= '<p>' |
101 | 101 | . __( |
102 | 102 | '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.', |
103 | 103 | 'event_espresso' |
104 | - ) . '</p>'; |
|
104 | + ).'</p>'; |
|
105 | 105 | return $content; |
106 | 106 | } |
107 | 107 | |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | . __( |
112 | 112 | 'View the venue category ID. Can be sorted by ascending or descending order.', |
113 | 113 | 'event_espresso' |
114 | - ) . '</p>'; |
|
114 | + ).'</p>'; |
|
115 | 115 | } |
116 | 116 | |
117 | 117 | protected function _name_stop() |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | . __( |
121 | 121 | 'View the name of each venue category. Can be sorted by ascending or descending order.', |
122 | 122 | 'event_espresso' |
123 | - ) . '</p>'; |
|
123 | + ).'</p>'; |
|
124 | 124 | } |
125 | 125 | |
126 | 126 | protected function _shortcode_stop() |
@@ -129,17 +129,17 @@ discard block |
||
129 | 129 | . __( |
130 | 130 | 'View the shortcode for a venue category. This shortcode can be added to an event, WordPress post, or WordPress page. ', |
131 | 131 | 'event_espresso' |
132 | - ) . '</p>'; |
|
132 | + ).'</p>'; |
|
133 | 133 | } |
134 | 134 | |
135 | 135 | protected function _count_stop() |
136 | 136 | { |
137 | - return '<p>' . __('View the number of venues that are associated with a category.', 'event_espresso') . '</p>'; |
|
137 | + return '<p>'.__('View the number of venues that are associated with a category.', 'event_espresso').'</p>'; |
|
138 | 138 | } |
139 | 139 | |
140 | 140 | protected function _bulk_actions_stop() |
141 | 141 | { |
142 | - return '<p>' . __('Perform bulk actions to multiple venue categories.', 'event_espresso') . '</p>'; |
|
142 | + return '<p>'.__('Perform bulk actions to multiple venue categories.', 'event_espresso').'</p>'; |
|
143 | 143 | } |
144 | 144 | |
145 | 145 | protected function _search_stop() |
@@ -148,11 +148,11 @@ discard block |
||
148 | 148 | . __( |
149 | 149 | 'Search through venues categories. The following sources will be searched: Venue Category ID, Venue Category Name, Venue Shortcode, and Venue Count.', |
150 | 150 | 'event_espresso' |
151 | - ) . '</p>'; |
|
151 | + ).'</p>'; |
|
152 | 152 | } |
153 | 153 | |
154 | 154 | protected function _new_category_stop() |
155 | 155 | { |
156 | - return '<p>' . __('Click here to add a new venue category.', 'event_espresso') . '</p>'; |
|
156 | + return '<p>'.__('Click here to add a new venue category.', 'event_espresso').'</p>'; |
|
157 | 157 | } |
158 | 158 | } |
@@ -17,120 +17,120 @@ |
||
17 | 17 | { |
18 | 18 | |
19 | 19 | |
20 | - protected function _setup_data() |
|
21 | - { |
|
22 | - $this->_data = $this->_admin_page->get_categories($this->_per_page, $this->_current_page); |
|
23 | - $this->_all_data_count = $this->_admin_page->get_categories($this->_per_page, $this->_current_page, true); |
|
24 | - } |
|
25 | - |
|
26 | - |
|
27 | - protected function _set_properties() |
|
28 | - { |
|
29 | - $this->_wp_list_args = array( |
|
30 | - 'singular' => __('venue category', 'event_espresso'), |
|
31 | - 'plural' => __('venue categories', 'event_espresso'), |
|
32 | - 'ajax' => true, // for now, |
|
33 | - 'screen' => $this->_admin_page->get_current_screen()->id, |
|
34 | - ); |
|
35 | - |
|
36 | - $this->_columns = array( |
|
37 | - 'cb' => '<input type="checkbox" />', |
|
38 | - 'id' => __('ID', 'event_espresso'), |
|
39 | - 'name' => __('Name', 'event_espresso'), |
|
40 | - // 'shortcode' => __('Shortcode', 'event_espresso'), |
|
41 | - 'count' => __('Venues', 'event_espresso'), |
|
42 | - ); |
|
43 | - |
|
44 | - $this->_sortable_columns = array( |
|
45 | - 'id' => array('Term.term_id' => true), |
|
46 | - 'name' => array('Term.slug' => false), |
|
47 | - 'count' => array('term_count' => false), |
|
48 | - ); |
|
49 | - |
|
50 | - $this->_hidden_columns = array(); |
|
51 | - } |
|
52 | - |
|
53 | - |
|
54 | - // not needed |
|
55 | - protected function _get_table_filters() |
|
56 | - { |
|
57 | - return array(); |
|
58 | - } |
|
59 | - |
|
60 | - |
|
61 | - protected function _add_view_counts() |
|
62 | - { |
|
63 | - $this->_views['all']['count'] = $this->_all_data_count; |
|
64 | - } |
|
65 | - |
|
66 | - |
|
67 | - public function column_cb($item) |
|
68 | - { |
|
69 | - return sprintf('<input type="checkbox" name="VEN_CAT_ID[]" value="%s" />', $item->get('term_id')); |
|
70 | - } |
|
71 | - |
|
72 | - |
|
73 | - public function column_id($item) |
|
74 | - { |
|
75 | - $content = $item->get('term_id'); |
|
76 | - $content .= ' <span class="show-on-mobile-view-only">' . $item->get_first_related('Term')->get( |
|
77 | - 'name' |
|
78 | - ) . '</span>'; |
|
79 | - return $content; |
|
80 | - } |
|
81 | - |
|
82 | - |
|
83 | - public function column_name($item) |
|
84 | - { |
|
85 | - $edit_query_args = array( |
|
86 | - 'action' => 'edit_category', |
|
87 | - 'VEN_CAT_ID' => $item->get('term_id'), |
|
88 | - ); |
|
89 | - |
|
90 | - $delete_query_args = array( |
|
91 | - 'action' => 'delete_category', |
|
92 | - 'VEN_CAT_ID' => $item->get('term_id'), |
|
93 | - ); |
|
94 | - |
|
95 | - $edit_link = EE_Admin_Page::add_query_args_and_nonce($edit_query_args, EE_VENUES_ADMIN_URL); |
|
96 | - $delete_link = EE_Admin_Page::add_query_args_and_nonce($delete_query_args, EE_VENUES_ADMIN_URL); |
|
97 | - |
|
98 | - $actions = array( |
|
99 | - 'edit' => '<a href="' . $edit_link . '" title="' . esc_attr__( |
|
100 | - 'Edit Category', |
|
101 | - 'event_espresso' |
|
102 | - ) . '">' . __('Edit', 'event_espresso') . '</a>', |
|
103 | - ); |
|
104 | - |
|
105 | - |
|
106 | - $actions['delete'] = '<a href="' . $delete_link . '" title="' . esc_attr__( |
|
107 | - 'Delete Category', |
|
108 | - 'event_espresso' |
|
109 | - ) . '">' . __('Delete', 'event_espresso') . '</a>'; |
|
110 | - |
|
111 | - $content = '<strong><a class="row-title" href="' . $edit_link . '">' . $item->get_first_related('Term')->get( |
|
112 | - 'name' |
|
113 | - ) . '</a></strong>'; |
|
114 | - $content .= $this->row_actions($actions); |
|
115 | - return $content; |
|
116 | - } |
|
117 | - |
|
118 | - |
|
119 | - public function column_shortcode($item) |
|
120 | - { |
|
121 | - $content = '[EVENT_ESPRESSO_CATEGORY category_id="' . $item->get_first_related('Term')->get('slug') . '"]'; |
|
122 | - return $content; |
|
123 | - } |
|
124 | - |
|
125 | - |
|
126 | - public function column_count($item) |
|
127 | - { |
|
128 | - $e_args = array( |
|
129 | - 'action' => 'default', |
|
130 | - 'category' => $item->get_first_related('Term')->ID(), |
|
131 | - ); |
|
132 | - $e_link = EE_Admin_Page::add_query_args_and_nonce($e_args, EE_VENUES_ADMIN_URL); |
|
133 | - $content = '<a href="' . $e_link . '">' . $item->get('term_count') . '</a>'; |
|
134 | - return $content; |
|
135 | - } |
|
20 | + protected function _setup_data() |
|
21 | + { |
|
22 | + $this->_data = $this->_admin_page->get_categories($this->_per_page, $this->_current_page); |
|
23 | + $this->_all_data_count = $this->_admin_page->get_categories($this->_per_page, $this->_current_page, true); |
|
24 | + } |
|
25 | + |
|
26 | + |
|
27 | + protected function _set_properties() |
|
28 | + { |
|
29 | + $this->_wp_list_args = array( |
|
30 | + 'singular' => __('venue category', 'event_espresso'), |
|
31 | + 'plural' => __('venue categories', 'event_espresso'), |
|
32 | + 'ajax' => true, // for now, |
|
33 | + 'screen' => $this->_admin_page->get_current_screen()->id, |
|
34 | + ); |
|
35 | + |
|
36 | + $this->_columns = array( |
|
37 | + 'cb' => '<input type="checkbox" />', |
|
38 | + 'id' => __('ID', 'event_espresso'), |
|
39 | + 'name' => __('Name', 'event_espresso'), |
|
40 | + // 'shortcode' => __('Shortcode', 'event_espresso'), |
|
41 | + 'count' => __('Venues', 'event_espresso'), |
|
42 | + ); |
|
43 | + |
|
44 | + $this->_sortable_columns = array( |
|
45 | + 'id' => array('Term.term_id' => true), |
|
46 | + 'name' => array('Term.slug' => false), |
|
47 | + 'count' => array('term_count' => false), |
|
48 | + ); |
|
49 | + |
|
50 | + $this->_hidden_columns = array(); |
|
51 | + } |
|
52 | + |
|
53 | + |
|
54 | + // not needed |
|
55 | + protected function _get_table_filters() |
|
56 | + { |
|
57 | + return array(); |
|
58 | + } |
|
59 | + |
|
60 | + |
|
61 | + protected function _add_view_counts() |
|
62 | + { |
|
63 | + $this->_views['all']['count'] = $this->_all_data_count; |
|
64 | + } |
|
65 | + |
|
66 | + |
|
67 | + public function column_cb($item) |
|
68 | + { |
|
69 | + return sprintf('<input type="checkbox" name="VEN_CAT_ID[]" value="%s" />', $item->get('term_id')); |
|
70 | + } |
|
71 | + |
|
72 | + |
|
73 | + public function column_id($item) |
|
74 | + { |
|
75 | + $content = $item->get('term_id'); |
|
76 | + $content .= ' <span class="show-on-mobile-view-only">' . $item->get_first_related('Term')->get( |
|
77 | + 'name' |
|
78 | + ) . '</span>'; |
|
79 | + return $content; |
|
80 | + } |
|
81 | + |
|
82 | + |
|
83 | + public function column_name($item) |
|
84 | + { |
|
85 | + $edit_query_args = array( |
|
86 | + 'action' => 'edit_category', |
|
87 | + 'VEN_CAT_ID' => $item->get('term_id'), |
|
88 | + ); |
|
89 | + |
|
90 | + $delete_query_args = array( |
|
91 | + 'action' => 'delete_category', |
|
92 | + 'VEN_CAT_ID' => $item->get('term_id'), |
|
93 | + ); |
|
94 | + |
|
95 | + $edit_link = EE_Admin_Page::add_query_args_and_nonce($edit_query_args, EE_VENUES_ADMIN_URL); |
|
96 | + $delete_link = EE_Admin_Page::add_query_args_and_nonce($delete_query_args, EE_VENUES_ADMIN_URL); |
|
97 | + |
|
98 | + $actions = array( |
|
99 | + 'edit' => '<a href="' . $edit_link . '" title="' . esc_attr__( |
|
100 | + 'Edit Category', |
|
101 | + 'event_espresso' |
|
102 | + ) . '">' . __('Edit', 'event_espresso') . '</a>', |
|
103 | + ); |
|
104 | + |
|
105 | + |
|
106 | + $actions['delete'] = '<a href="' . $delete_link . '" title="' . esc_attr__( |
|
107 | + 'Delete Category', |
|
108 | + 'event_espresso' |
|
109 | + ) . '">' . __('Delete', 'event_espresso') . '</a>'; |
|
110 | + |
|
111 | + $content = '<strong><a class="row-title" href="' . $edit_link . '">' . $item->get_first_related('Term')->get( |
|
112 | + 'name' |
|
113 | + ) . '</a></strong>'; |
|
114 | + $content .= $this->row_actions($actions); |
|
115 | + return $content; |
|
116 | + } |
|
117 | + |
|
118 | + |
|
119 | + public function column_shortcode($item) |
|
120 | + { |
|
121 | + $content = '[EVENT_ESPRESSO_CATEGORY category_id="' . $item->get_first_related('Term')->get('slug') . '"]'; |
|
122 | + return $content; |
|
123 | + } |
|
124 | + |
|
125 | + |
|
126 | + public function column_count($item) |
|
127 | + { |
|
128 | + $e_args = array( |
|
129 | + 'action' => 'default', |
|
130 | + 'category' => $item->get_first_related('Term')->ID(), |
|
131 | + ); |
|
132 | + $e_link = EE_Admin_Page::add_query_args_and_nonce($e_args, EE_VENUES_ADMIN_URL); |
|
133 | + $content = '<a href="' . $e_link . '">' . $item->get('term_count') . '</a>'; |
|
134 | + return $content; |
|
135 | + } |
|
136 | 136 | } |
@@ -73,9 +73,9 @@ discard block |
||
73 | 73 | public function column_id($item) |
74 | 74 | { |
75 | 75 | $content = $item->get('term_id'); |
76 | - $content .= ' <span class="show-on-mobile-view-only">' . $item->get_first_related('Term')->get( |
|
76 | + $content .= ' <span class="show-on-mobile-view-only">'.$item->get_first_related('Term')->get( |
|
77 | 77 | 'name' |
78 | - ) . '</span>'; |
|
78 | + ).'</span>'; |
|
79 | 79 | return $content; |
80 | 80 | } |
81 | 81 | |
@@ -96,21 +96,21 @@ discard block |
||
96 | 96 | $delete_link = EE_Admin_Page::add_query_args_and_nonce($delete_query_args, EE_VENUES_ADMIN_URL); |
97 | 97 | |
98 | 98 | $actions = array( |
99 | - 'edit' => '<a href="' . $edit_link . '" title="' . esc_attr__( |
|
99 | + 'edit' => '<a href="'.$edit_link.'" title="'.esc_attr__( |
|
100 | 100 | 'Edit Category', |
101 | 101 | 'event_espresso' |
102 | - ) . '">' . __('Edit', 'event_espresso') . '</a>', |
|
102 | + ).'">'.__('Edit', 'event_espresso').'</a>', |
|
103 | 103 | ); |
104 | 104 | |
105 | 105 | |
106 | - $actions['delete'] = '<a href="' . $delete_link . '" title="' . esc_attr__( |
|
106 | + $actions['delete'] = '<a href="'.$delete_link.'" title="'.esc_attr__( |
|
107 | 107 | 'Delete Category', |
108 | 108 | 'event_espresso' |
109 | - ) . '">' . __('Delete', 'event_espresso') . '</a>'; |
|
109 | + ).'">'.__('Delete', 'event_espresso').'</a>'; |
|
110 | 110 | |
111 | - $content = '<strong><a class="row-title" href="' . $edit_link . '">' . $item->get_first_related('Term')->get( |
|
111 | + $content = '<strong><a class="row-title" href="'.$edit_link.'">'.$item->get_first_related('Term')->get( |
|
112 | 112 | 'name' |
113 | - ) . '</a></strong>'; |
|
113 | + ).'</a></strong>'; |
|
114 | 114 | $content .= $this->row_actions($actions); |
115 | 115 | return $content; |
116 | 116 | } |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | |
119 | 119 | public function column_shortcode($item) |
120 | 120 | { |
121 | - $content = '[EVENT_ESPRESSO_CATEGORY category_id="' . $item->get_first_related('Term')->get('slug') . '"]'; |
|
121 | + $content = '[EVENT_ESPRESSO_CATEGORY category_id="'.$item->get_first_related('Term')->get('slug').'"]'; |
|
122 | 122 | return $content; |
123 | 123 | } |
124 | 124 | |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | 'category' => $item->get_first_related('Term')->ID(), |
131 | 131 | ); |
132 | 132 | $e_link = EE_Admin_Page::add_query_args_and_nonce($e_args, EE_VENUES_ADMIN_URL); |
133 | - $content = '<a href="' . $e_link . '">' . $item->get('term_count') . '</a>'; |
|
133 | + $content = '<a href="'.$e_link.'">'.$item->get('term_count').'</a>'; |
|
134 | 134 | return $content; |
135 | 135 | } |
136 | 136 | } |
@@ -15,77 +15,77 @@ |
||
15 | 15 | class Event_Add_Category_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('Add New Category Tour', 'event_espresso'); |
|
21 | - $this->_slug = 'event-add-category-joyride'; |
|
22 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('Add New Category Tour', 'event_espresso'); |
|
21 | + $this->_slug = 'event-add-category-joyride'; |
|
22 | + } |
|
23 | 23 | |
24 | 24 | |
25 | - protected function _set_tour_stops() |
|
26 | - { |
|
27 | - $this->_stops = array( |
|
28 | - 10 => array( |
|
29 | - 'content' => $this->_stop_one(), |
|
30 | - ), |
|
31 | - 20 => array( |
|
32 | - 'id' => 'category_name', |
|
33 | - 'content' => $this->_stop_two(), |
|
34 | - 'options' => array( |
|
35 | - 'tipLocation' => 'right', |
|
36 | - 'tipAdjustmentY' => -55, |
|
37 | - 'tipAdjustmentX' => 5, |
|
38 | - ), |
|
39 | - ), |
|
40 | - 30 => array( |
|
41 | - 'id' => 'cat_id', |
|
42 | - 'content' => $this->_stop_three(), |
|
43 | - 'options' => array( |
|
44 | - 'tipLocation' => 'right', |
|
45 | - 'tipAdjustmentY' => -55, |
|
46 | - 'tipAdjustmentX' => 5, |
|
47 | - ), |
|
48 | - ), |
|
49 | - 40 => array( |
|
50 | - 'id' => 'category_desc', |
|
51 | - 'content' => $this->_stop_four(), |
|
52 | - 'options' => array( |
|
53 | - 'tipLocation' => 'top', |
|
54 | - 'tipAdjustmentY' => -75, |
|
55 | - 'tipAdjustmentX' => 250, |
|
56 | - ), |
|
57 | - ), |
|
58 | - ); |
|
59 | - } |
|
25 | + protected function _set_tour_stops() |
|
26 | + { |
|
27 | + $this->_stops = array( |
|
28 | + 10 => array( |
|
29 | + 'content' => $this->_stop_one(), |
|
30 | + ), |
|
31 | + 20 => array( |
|
32 | + 'id' => 'category_name', |
|
33 | + 'content' => $this->_stop_two(), |
|
34 | + 'options' => array( |
|
35 | + 'tipLocation' => 'right', |
|
36 | + 'tipAdjustmentY' => -55, |
|
37 | + 'tipAdjustmentX' => 5, |
|
38 | + ), |
|
39 | + ), |
|
40 | + 30 => array( |
|
41 | + 'id' => 'cat_id', |
|
42 | + 'content' => $this->_stop_three(), |
|
43 | + 'options' => array( |
|
44 | + 'tipLocation' => 'right', |
|
45 | + 'tipAdjustmentY' => -55, |
|
46 | + 'tipAdjustmentX' => 5, |
|
47 | + ), |
|
48 | + ), |
|
49 | + 40 => array( |
|
50 | + 'id' => 'category_desc', |
|
51 | + 'content' => $this->_stop_four(), |
|
52 | + 'options' => array( |
|
53 | + 'tipLocation' => 'top', |
|
54 | + 'tipAdjustmentY' => -75, |
|
55 | + 'tipAdjustmentX' => 250, |
|
56 | + ), |
|
57 | + ), |
|
58 | + ); |
|
59 | + } |
|
60 | 60 | |
61 | 61 | |
62 | - protected function _stop_one() |
|
63 | - { |
|
64 | - $content = '<h3>' . __('Add New Event Category', 'event_espresso') . '</h3>'; |
|
65 | - $content .= '<p>' |
|
66 | - . __( |
|
67 | - 'This tour of the Add New Event Category page will go over different areas of the screen to help you understand what they are used for.', |
|
68 | - 'event_espresso' |
|
69 | - ) . '</p>'; |
|
70 | - return $content; |
|
71 | - } |
|
62 | + protected function _stop_one() |
|
63 | + { |
|
64 | + $content = '<h3>' . __('Add New Event Category', 'event_espresso') . '</h3>'; |
|
65 | + $content .= '<p>' |
|
66 | + . __( |
|
67 | + 'This tour of the Add New Event Category page will go over different areas of the screen to help you understand what they are used for.', |
|
68 | + 'event_espresso' |
|
69 | + ) . '</p>'; |
|
70 | + return $content; |
|
71 | + } |
|
72 | 72 | |
73 | - protected function _stop_two() |
|
74 | - { |
|
75 | - return '<p>' . __('Enter a name for your new category.', 'event_espresso') . '</p>'; |
|
76 | - } |
|
73 | + protected function _stop_two() |
|
74 | + { |
|
75 | + return '<p>' . __('Enter a name for your new category.', 'event_espresso') . '</p>'; |
|
76 | + } |
|
77 | 77 | |
78 | - protected function _stop_three() |
|
79 | - { |
|
80 | - return '<p>' . __('Enter a unique ID for your new category.', 'event_espresso') . '</p>'; |
|
81 | - } |
|
78 | + protected function _stop_three() |
|
79 | + { |
|
80 | + return '<p>' . __('Enter a unique ID for your new category.', 'event_espresso') . '</p>'; |
|
81 | + } |
|
82 | 82 | |
83 | - protected function _stop_four() |
|
84 | - { |
|
85 | - return '<p>' |
|
86 | - . __( |
|
87 | - 'The rich text editor can be used to add information about your category. Images and links can also be added along with your text.', |
|
88 | - 'event_espresso' |
|
89 | - ) . '</p>'; |
|
90 | - } |
|
83 | + protected function _stop_four() |
|
84 | + { |
|
85 | + return '<p>' |
|
86 | + . __( |
|
87 | + 'The rich text editor can be used to add information about your category. Images and links can also be added along with your text.', |
|
88 | + 'event_espresso' |
|
89 | + ) . '</p>'; |
|
90 | + } |
|
91 | 91 | } |
@@ -61,23 +61,23 @@ discard block |
||
61 | 61 | |
62 | 62 | protected function _stop_one() |
63 | 63 | { |
64 | - $content = '<h3>' . __('Add New Event Category', 'event_espresso') . '</h3>'; |
|
64 | + $content = '<h3>'.__('Add New Event Category', 'event_espresso').'</h3>'; |
|
65 | 65 | $content .= '<p>' |
66 | 66 | . __( |
67 | 67 | 'This tour of the Add New Event Category page will go over different areas of the screen to help you understand what they are used for.', |
68 | 68 | 'event_espresso' |
69 | - ) . '</p>'; |
|
69 | + ).'</p>'; |
|
70 | 70 | return $content; |
71 | 71 | } |
72 | 72 | |
73 | 73 | protected function _stop_two() |
74 | 74 | { |
75 | - return '<p>' . __('Enter a name for your new category.', 'event_espresso') . '</p>'; |
|
75 | + return '<p>'.__('Enter a name for your new category.', 'event_espresso').'</p>'; |
|
76 | 76 | } |
77 | 77 | |
78 | 78 | protected function _stop_three() |
79 | 79 | { |
80 | - return '<p>' . __('Enter a unique ID for your new category.', 'event_espresso') . '</p>'; |
|
80 | + return '<p>'.__('Enter a unique ID for your new category.', 'event_espresso').'</p>'; |
|
81 | 81 | } |
82 | 82 | |
83 | 83 | protected function _stop_four() |
@@ -86,6 +86,6 @@ discard block |
||
86 | 86 | . __( |
87 | 87 | 'The rich text editor can be used to add information about your category. Images and links can also be added along with your text.', |
88 | 88 | 'event_espresso' |
89 | - ) . '</p>'; |
|
89 | + ).'</p>'; |
|
90 | 90 | } |
91 | 91 | } |
@@ -15,219 +15,219 @@ |
||
15 | 15 | class Event_Editor_Help_Tour extends EE_Help_Tour |
16 | 16 | { |
17 | 17 | |
18 | - protected function _set_tour_properties() |
|
19 | - { |
|
20 | - $this->_label = __('Event Editor Tour', 'event_espresso'); |
|
21 | - $this->_slug = $this->_is_caf ? 'event-editor-caf-joyride' : 'event-editor-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' => 'titlewrap', |
|
33 | - 'content' => $this->_event_title_stop(), |
|
34 | - 'options' => array( |
|
35 | - 'tipLocation' => 'bottom', |
|
36 | - 'tipAdjustmentY' => -40, |
|
37 | - ), |
|
38 | - ), |
|
39 | - 30 => array( |
|
40 | - 'id' => 'wp-content-editor-tools', |
|
41 | - 'content' => $this->_event_description_stop(), |
|
42 | - 'options' => array( |
|
43 | - 'tipLocation' => 'right', |
|
44 | - ), |
|
45 | - ), |
|
46 | - 35 => array( |
|
47 | - 'id' => 'espresso_event_editor_tickets', |
|
48 | - 'content' => $this->_event_pricing_stop(), |
|
49 | - 'options' => array( |
|
50 | - 'tipLocation' => 'top', |
|
51 | - 'tipAdjustmentY' => -30, |
|
52 | - ), |
|
53 | - ), |
|
54 | - 40 => array( |
|
55 | - 'id' => 'espresso_events_Venues_Hooks_venue_metabox_metabox', |
|
56 | - 'content' => $this->_event_venues_caf(), |
|
57 | - 'options' => array( |
|
58 | - 'tipLocation' => 'top', |
|
59 | - 'tipAdjustmentY' => -30, |
|
60 | - ), |
|
61 | - ), |
|
62 | - 50 => array( |
|
63 | - 'id' => 'espresso_events_Pricing_Hooks_pricing_metabox_metabox', |
|
64 | - 'content' => $this->_event_pricing_caf(), |
|
65 | - 'options' => array( |
|
66 | - 'tipLocation' => 'top', |
|
67 | - 'tipAdjustmentY' => -30, |
|
68 | - ), |
|
69 | - ), |
|
70 | - 60 => array( |
|
71 | - 'id' => 'tagsdiv-post_tag', |
|
72 | - 'content' => $this->_event_post_tag_stop(), |
|
73 | - 'options' => array( |
|
74 | - 'tipLocation' => 'left', |
|
75 | - ), |
|
76 | - ), |
|
77 | - 70 => array( |
|
78 | - 'id' => 'espresso_event_categoriesdiv', |
|
79 | - 'content' => $this->_event_categories_stop(), |
|
80 | - 'options' => array( |
|
81 | - 'tipLocation' => 'left', |
|
82 | - ), |
|
83 | - ), |
|
84 | - |
|
85 | - 80 => array( |
|
86 | - 'id' => $this->_is_caf ? 'espresso_events_Registration_Form_Hooks_Extend_primary_questions_metabox' |
|
87 | - : 'espresso_events_Registration_Form_Hooks_primary_questions_metabox', |
|
88 | - 'content' => $this->_primary_question_stop_caf(), |
|
89 | - 'options' => array( |
|
90 | - 'tipLocation' => 'left', |
|
91 | - ), |
|
92 | - ), |
|
93 | - 90 => array( |
|
94 | - 'id' => 'espresso_events_Registration_Form_Hooks_Extend_additional_questions_metabox', |
|
95 | - 'content' => $this->_additional_questions_stop_caf(), |
|
96 | - 'options' => array( |
|
97 | - 'tipLocation' => 'left', |
|
98 | - ), |
|
99 | - ), |
|
100 | - 100 => array( |
|
101 | - 'id' => 'postimagediv', |
|
102 | - 'content' => $this->_featured_image_stop(), |
|
103 | - 'options' => array( |
|
104 | - 'tipLocation' => 'left', |
|
105 | - ), |
|
106 | - ), |
|
107 | - 110 => array( |
|
108 | - 'id' => 'espresso_event_editor_event_options', |
|
109 | - 'content' => $this->_event_registration_options_stop(), |
|
110 | - 'options' => array( |
|
111 | - 'tipLocation' => 'left', |
|
112 | - ), |
|
113 | - ), |
|
114 | - 120 => array( |
|
115 | - 'id' => 'submitpost', |
|
116 | - 'content' => $this->_publish_event_stop(), |
|
117 | - 'options' => array( |
|
118 | - 'tipLocation' => 'left', |
|
119 | - ), |
|
120 | - ), |
|
121 | - |
|
122 | - ); |
|
123 | - } |
|
124 | - |
|
125 | - |
|
126 | - protected function _start() |
|
127 | - { |
|
128 | - $content = '<h3>' . __('Event Editor', 'event_espresso') . '</h3>'; |
|
129 | - $content .= '<p>' |
|
130 | - . __( |
|
131 | - 'This tour of the Event Editor will provide an overview of the different areas of the screen to help you understand what they are used for. Let\'s get started on setting up your first event with Event Espresso!', |
|
132 | - 'event_espresso' |
|
133 | - ) . '</p>'; |
|
134 | - return $content; |
|
135 | - } |
|
136 | - |
|
137 | - protected function _event_title_stop() |
|
138 | - { |
|
139 | - return '<p>Enter the title for your event in this field.</p>'; |
|
140 | - } |
|
141 | - |
|
142 | - protected function _event_description_stop() |
|
143 | - { |
|
144 | - return '<p>' |
|
145 | - . __( |
|
146 | - 'The rich text editor can be used to add information about your event. Images and links can also be added along with your text.', |
|
147 | - 'event_espresso' |
|
148 | - ) . '</p>'; |
|
149 | - } |
|
150 | - |
|
151 | - protected function _event_venues_caf() |
|
152 | - { |
|
153 | - return '<p>' |
|
154 | - . __( |
|
155 | - 'In this section, you can select the venue that is hosting your event.', |
|
156 | - 'event_espresso' |
|
157 | - ) . '</p>'; |
|
158 | - } |
|
159 | - |
|
160 | - protected function _event_venues_stop() |
|
161 | - { |
|
162 | - return '<p>' |
|
163 | - . __( |
|
164 | - 'In this section, you can enter information about the venue that is hosting your event.', |
|
165 | - 'event_espresso' |
|
166 | - ) . '</p>'; |
|
167 | - } |
|
168 | - |
|
169 | - protected function _event_pricing_stop() |
|
170 | - { |
|
171 | - return '<p>' |
|
172 | - . __( |
|
173 | - 'Use the Event Datetime & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', |
|
174 | - 'event_espresso' |
|
175 | - ) . '</p>'; |
|
176 | - } |
|
177 | - |
|
178 | - protected function _event_pricing_caf() |
|
179 | - { |
|
180 | - return '<p>' |
|
181 | - . __( |
|
182 | - 'Use the Event Datetimes & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', |
|
183 | - 'event_espresso' |
|
184 | - ) . '</p>'; |
|
185 | - } |
|
186 | - |
|
187 | - protected function _event_registration_options_stop() |
|
188 | - { |
|
189 | - return '<p>' . __('Setup custom options for your event registration.', 'event_espresso') . '</p>'; |
|
190 | - } |
|
191 | - |
|
192 | - protected function _event_post_tag_stop() |
|
193 | - { |
|
194 | - return '<p>' . __('Quickly add tags to your event.', 'event_espresso') . '</p>'; |
|
195 | - } |
|
196 | - |
|
197 | - protected function _event_categories_stop() |
|
198 | - { |
|
199 | - return '<p>' . __('Events can also be categorized if you wish.', 'event_espresso') . '</p>'; |
|
200 | - } |
|
201 | - |
|
202 | - protected function _primary_question_stop_caf() |
|
203 | - { |
|
204 | - return '<p>' |
|
205 | - . __( |
|
206 | - 'Use the questions group to request information from your primary registrant.', |
|
207 | - 'event_espresso' |
|
208 | - ) . '</p>'; |
|
209 | - } |
|
210 | - |
|
211 | - protected function _additional_questions_stop_caf() |
|
212 | - { |
|
213 | - return '<p>' |
|
214 | - . __( |
|
215 | - 'Use the questions group to request information from your additional registrant.', |
|
216 | - 'event_espresso' |
|
217 | - ) . '</p>'; |
|
218 | - } |
|
219 | - |
|
220 | - protected function _featured_image_stop() |
|
221 | - { |
|
222 | - return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>'; |
|
223 | - } |
|
224 | - |
|
225 | - protected function _publish_event_stop() |
|
226 | - { |
|
227 | - return '<p>' |
|
228 | - . __( |
|
229 | - 'Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.', |
|
230 | - 'event_espresso' |
|
231 | - ) . '</p>'; |
|
232 | - } |
|
18 | + protected function _set_tour_properties() |
|
19 | + { |
|
20 | + $this->_label = __('Event Editor Tour', 'event_espresso'); |
|
21 | + $this->_slug = $this->_is_caf ? 'event-editor-caf-joyride' : 'event-editor-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' => 'titlewrap', |
|
33 | + 'content' => $this->_event_title_stop(), |
|
34 | + 'options' => array( |
|
35 | + 'tipLocation' => 'bottom', |
|
36 | + 'tipAdjustmentY' => -40, |
|
37 | + ), |
|
38 | + ), |
|
39 | + 30 => array( |
|
40 | + 'id' => 'wp-content-editor-tools', |
|
41 | + 'content' => $this->_event_description_stop(), |
|
42 | + 'options' => array( |
|
43 | + 'tipLocation' => 'right', |
|
44 | + ), |
|
45 | + ), |
|
46 | + 35 => array( |
|
47 | + 'id' => 'espresso_event_editor_tickets', |
|
48 | + 'content' => $this->_event_pricing_stop(), |
|
49 | + 'options' => array( |
|
50 | + 'tipLocation' => 'top', |
|
51 | + 'tipAdjustmentY' => -30, |
|
52 | + ), |
|
53 | + ), |
|
54 | + 40 => array( |
|
55 | + 'id' => 'espresso_events_Venues_Hooks_venue_metabox_metabox', |
|
56 | + 'content' => $this->_event_venues_caf(), |
|
57 | + 'options' => array( |
|
58 | + 'tipLocation' => 'top', |
|
59 | + 'tipAdjustmentY' => -30, |
|
60 | + ), |
|
61 | + ), |
|
62 | + 50 => array( |
|
63 | + 'id' => 'espresso_events_Pricing_Hooks_pricing_metabox_metabox', |
|
64 | + 'content' => $this->_event_pricing_caf(), |
|
65 | + 'options' => array( |
|
66 | + 'tipLocation' => 'top', |
|
67 | + 'tipAdjustmentY' => -30, |
|
68 | + ), |
|
69 | + ), |
|
70 | + 60 => array( |
|
71 | + 'id' => 'tagsdiv-post_tag', |
|
72 | + 'content' => $this->_event_post_tag_stop(), |
|
73 | + 'options' => array( |
|
74 | + 'tipLocation' => 'left', |
|
75 | + ), |
|
76 | + ), |
|
77 | + 70 => array( |
|
78 | + 'id' => 'espresso_event_categoriesdiv', |
|
79 | + 'content' => $this->_event_categories_stop(), |
|
80 | + 'options' => array( |
|
81 | + 'tipLocation' => 'left', |
|
82 | + ), |
|
83 | + ), |
|
84 | + |
|
85 | + 80 => array( |
|
86 | + 'id' => $this->_is_caf ? 'espresso_events_Registration_Form_Hooks_Extend_primary_questions_metabox' |
|
87 | + : 'espresso_events_Registration_Form_Hooks_primary_questions_metabox', |
|
88 | + 'content' => $this->_primary_question_stop_caf(), |
|
89 | + 'options' => array( |
|
90 | + 'tipLocation' => 'left', |
|
91 | + ), |
|
92 | + ), |
|
93 | + 90 => array( |
|
94 | + 'id' => 'espresso_events_Registration_Form_Hooks_Extend_additional_questions_metabox', |
|
95 | + 'content' => $this->_additional_questions_stop_caf(), |
|
96 | + 'options' => array( |
|
97 | + 'tipLocation' => 'left', |
|
98 | + ), |
|
99 | + ), |
|
100 | + 100 => array( |
|
101 | + 'id' => 'postimagediv', |
|
102 | + 'content' => $this->_featured_image_stop(), |
|
103 | + 'options' => array( |
|
104 | + 'tipLocation' => 'left', |
|
105 | + ), |
|
106 | + ), |
|
107 | + 110 => array( |
|
108 | + 'id' => 'espresso_event_editor_event_options', |
|
109 | + 'content' => $this->_event_registration_options_stop(), |
|
110 | + 'options' => array( |
|
111 | + 'tipLocation' => 'left', |
|
112 | + ), |
|
113 | + ), |
|
114 | + 120 => array( |
|
115 | + 'id' => 'submitpost', |
|
116 | + 'content' => $this->_publish_event_stop(), |
|
117 | + 'options' => array( |
|
118 | + 'tipLocation' => 'left', |
|
119 | + ), |
|
120 | + ), |
|
121 | + |
|
122 | + ); |
|
123 | + } |
|
124 | + |
|
125 | + |
|
126 | + protected function _start() |
|
127 | + { |
|
128 | + $content = '<h3>' . __('Event Editor', 'event_espresso') . '</h3>'; |
|
129 | + $content .= '<p>' |
|
130 | + . __( |
|
131 | + 'This tour of the Event Editor will provide an overview of the different areas of the screen to help you understand what they are used for. Let\'s get started on setting up your first event with Event Espresso!', |
|
132 | + 'event_espresso' |
|
133 | + ) . '</p>'; |
|
134 | + return $content; |
|
135 | + } |
|
136 | + |
|
137 | + protected function _event_title_stop() |
|
138 | + { |
|
139 | + return '<p>Enter the title for your event in this field.</p>'; |
|
140 | + } |
|
141 | + |
|
142 | + protected function _event_description_stop() |
|
143 | + { |
|
144 | + return '<p>' |
|
145 | + . __( |
|
146 | + 'The rich text editor can be used to add information about your event. Images and links can also be added along with your text.', |
|
147 | + 'event_espresso' |
|
148 | + ) . '</p>'; |
|
149 | + } |
|
150 | + |
|
151 | + protected function _event_venues_caf() |
|
152 | + { |
|
153 | + return '<p>' |
|
154 | + . __( |
|
155 | + 'In this section, you can select the venue that is hosting your event.', |
|
156 | + 'event_espresso' |
|
157 | + ) . '</p>'; |
|
158 | + } |
|
159 | + |
|
160 | + protected function _event_venues_stop() |
|
161 | + { |
|
162 | + return '<p>' |
|
163 | + . __( |
|
164 | + 'In this section, you can enter information about the venue that is hosting your event.', |
|
165 | + 'event_espresso' |
|
166 | + ) . '</p>'; |
|
167 | + } |
|
168 | + |
|
169 | + protected function _event_pricing_stop() |
|
170 | + { |
|
171 | + return '<p>' |
|
172 | + . __( |
|
173 | + 'Use the Event Datetime & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', |
|
174 | + 'event_espresso' |
|
175 | + ) . '</p>'; |
|
176 | + } |
|
177 | + |
|
178 | + protected function _event_pricing_caf() |
|
179 | + { |
|
180 | + return '<p>' |
|
181 | + . __( |
|
182 | + 'Use the Event Datetimes & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', |
|
183 | + 'event_espresso' |
|
184 | + ) . '</p>'; |
|
185 | + } |
|
186 | + |
|
187 | + protected function _event_registration_options_stop() |
|
188 | + { |
|
189 | + return '<p>' . __('Setup custom options for your event registration.', 'event_espresso') . '</p>'; |
|
190 | + } |
|
191 | + |
|
192 | + protected function _event_post_tag_stop() |
|
193 | + { |
|
194 | + return '<p>' . __('Quickly add tags to your event.', 'event_espresso') . '</p>'; |
|
195 | + } |
|
196 | + |
|
197 | + protected function _event_categories_stop() |
|
198 | + { |
|
199 | + return '<p>' . __('Events can also be categorized if you wish.', 'event_espresso') . '</p>'; |
|
200 | + } |
|
201 | + |
|
202 | + protected function _primary_question_stop_caf() |
|
203 | + { |
|
204 | + return '<p>' |
|
205 | + . __( |
|
206 | + 'Use the questions group to request information from your primary registrant.', |
|
207 | + 'event_espresso' |
|
208 | + ) . '</p>'; |
|
209 | + } |
|
210 | + |
|
211 | + protected function _additional_questions_stop_caf() |
|
212 | + { |
|
213 | + return '<p>' |
|
214 | + . __( |
|
215 | + 'Use the questions group to request information from your additional registrant.', |
|
216 | + 'event_espresso' |
|
217 | + ) . '</p>'; |
|
218 | + } |
|
219 | + |
|
220 | + protected function _featured_image_stop() |
|
221 | + { |
|
222 | + return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>'; |
|
223 | + } |
|
224 | + |
|
225 | + protected function _publish_event_stop() |
|
226 | + { |
|
227 | + return '<p>' |
|
228 | + . __( |
|
229 | + 'Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.', |
|
230 | + 'event_espresso' |
|
231 | + ) . '</p>'; |
|
232 | + } |
|
233 | 233 | } |
@@ -125,12 +125,12 @@ discard block |
||
125 | 125 | |
126 | 126 | protected function _start() |
127 | 127 | { |
128 | - $content = '<h3>' . __('Event Editor', 'event_espresso') . '</h3>'; |
|
128 | + $content = '<h3>'.__('Event Editor', 'event_espresso').'</h3>'; |
|
129 | 129 | $content .= '<p>' |
130 | 130 | . __( |
131 | 131 | 'This tour of the Event Editor will provide an overview of the different areas of the screen to help you understand what they are used for. Let\'s get started on setting up your first event with Event Espresso!', |
132 | 132 | 'event_espresso' |
133 | - ) . '</p>'; |
|
133 | + ).'</p>'; |
|
134 | 134 | return $content; |
135 | 135 | } |
136 | 136 | |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | . __( |
146 | 146 | 'The rich text editor can be used to add information about your event. Images and links can also be added along with your text.', |
147 | 147 | 'event_espresso' |
148 | - ) . '</p>'; |
|
148 | + ).'</p>'; |
|
149 | 149 | } |
150 | 150 | |
151 | 151 | protected function _event_venues_caf() |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | . __( |
155 | 155 | 'In this section, you can select the venue that is hosting your event.', |
156 | 156 | 'event_espresso' |
157 | - ) . '</p>'; |
|
157 | + ).'</p>'; |
|
158 | 158 | } |
159 | 159 | |
160 | 160 | protected function _event_venues_stop() |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | . __( |
164 | 164 | 'In this section, you can enter information about the venue that is hosting your event.', |
165 | 165 | 'event_espresso' |
166 | - ) . '</p>'; |
|
166 | + ).'</p>'; |
|
167 | 167 | } |
168 | 168 | |
169 | 169 | protected function _event_pricing_stop() |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | . __( |
173 | 173 | 'Use the Event Datetime & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', |
174 | 174 | 'event_espresso' |
175 | - ) . '</p>'; |
|
175 | + ).'</p>'; |
|
176 | 176 | } |
177 | 177 | |
178 | 178 | protected function _event_pricing_caf() |
@@ -181,22 +181,22 @@ discard block |
||
181 | 181 | . __( |
182 | 182 | 'Use the Event Datetimes & Ticket section to enter details about when the event is happening and what tickets you want to offer for access to the event.', |
183 | 183 | 'event_espresso' |
184 | - ) . '</p>'; |
|
184 | + ).'</p>'; |
|
185 | 185 | } |
186 | 186 | |
187 | 187 | protected function _event_registration_options_stop() |
188 | 188 | { |
189 | - return '<p>' . __('Setup custom options for your event registration.', 'event_espresso') . '</p>'; |
|
189 | + return '<p>'.__('Setup custom options for your event registration.', 'event_espresso').'</p>'; |
|
190 | 190 | } |
191 | 191 | |
192 | 192 | protected function _event_post_tag_stop() |
193 | 193 | { |
194 | - return '<p>' . __('Quickly add tags to your event.', 'event_espresso') . '</p>'; |
|
194 | + return '<p>'.__('Quickly add tags to your event.', 'event_espresso').'</p>'; |
|
195 | 195 | } |
196 | 196 | |
197 | 197 | protected function _event_categories_stop() |
198 | 198 | { |
199 | - return '<p>' . __('Events can also be categorized if you wish.', 'event_espresso') . '</p>'; |
|
199 | + return '<p>'.__('Events can also be categorized if you wish.', 'event_espresso').'</p>'; |
|
200 | 200 | } |
201 | 201 | |
202 | 202 | protected function _primary_question_stop_caf() |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | . __( |
206 | 206 | 'Use the questions group to request information from your primary registrant.', |
207 | 207 | 'event_espresso' |
208 | - ) . '</p>'; |
|
208 | + ).'</p>'; |
|
209 | 209 | } |
210 | 210 | |
211 | 211 | protected function _additional_questions_stop_caf() |
@@ -214,12 +214,12 @@ discard block |
||
214 | 214 | . __( |
215 | 215 | 'Use the questions group to request information from your additional registrant.', |
216 | 216 | 'event_espresso' |
217 | - ) . '</p>'; |
|
217 | + ).'</p>'; |
|
218 | 218 | } |
219 | 219 | |
220 | 220 | protected function _featured_image_stop() |
221 | 221 | { |
222 | - return '<p>' . __('Set a feature image for your event here.', 'event_espresso') . '</p>'; |
|
222 | + return '<p>'.__('Set a feature image for your event here.', 'event_espresso').'</p>'; |
|
223 | 223 | } |
224 | 224 | |
225 | 225 | protected function _publish_event_stop() |
@@ -228,6 +228,6 @@ discard block |
||
228 | 228 | . __( |
229 | 229 | 'Easily control the state of your event. The main states are Published, Pending Review, and Draft. Additional states are Cancelled, Postponed, and Sold Out.', |
230 | 230 | 'event_espresso' |
231 | - ) . '</p>'; |
|
231 | + ).'</p>'; |
|
232 | 232 | } |
233 | 233 | } |