PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.3.7
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.3.7
7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / views / admin / settings / unsubscribe / customize.php
wordpress-popup / views / admin / settings / unsubscribe Last commit date
customize.php 6 years ago email-copy.php 6 years ago shortcode.php 6 years ago
customize.php
258 lines
1 <?php
2 /**
3 * Customize strings section under the "unsubscribe" tab.
4 *
5 * @package Hustle
6 * @since 4.0.0
7 */
8
9 $messages_enabled = '0' !== (string) $messages['enabled'];
10 ?>
11 <div class="sui-box-settings-row">
12
13 <div class="sui-box-settings-col-1">
14 <span class="sui-settings-label"><?php esc_html_e( 'Customize Unsubscribe Form', 'hustle' ); ?></span>
15 <span class="sui-description"><?php esc_html_e( 'Choose the copy of the unsubscribe form along with the success and error messages to be displayed.', 'hustle' ); ?></span>
16 </div>
17
18 <div class="sui-box-settings-col-2">
19
20 <div class="sui-form-field">
21
22 <label for="hustle-unsub-edit-message" class="sui-toggle hustle-toggle-with-container" data-toggle-on="unsub-messages">
23
24 <input
25 type="checkbox"
26 value="1"
27 name="messages_enabled"
28 id="hustle-unsub-edit-message"
29 aria-labelledby="hustle-unsub-edit-message-label"
30 <?php checked( $messages_enabled ); ?>
31 >
32
33 <span class="sui-toggle-slider" aria-hidden="true"></span>
34
35 <span id="hustle-unsub-edit-message-label" class="sui-toggle-label" ><?php esc_html_e( 'Enable form customization', 'hustle' ); ?></span>
36
37 </label>
38
39 <div class="sui-border-frame sui-toggle-content" data-toggle-content="unsub-messages" style="display: none;">
40
41 <!-- Submit button text -->
42 <div class="sui-form-field">
43
44 <?php
45 $sbt = array(
46 'button_text_label' => array(
47 'id' => 'submit-button-text-label',
48 'for' => 'submit-button-text',
49 'type' => 'label',
50 'value' => __( 'Submit button text', 'hustle' ),
51 ),
52 'button_text' => array(
53 'id' => 'submit-button-text',
54 'name' => 'submit_button_text',
55 'value' => $messages['submit_button_text'],
56 'placeholder' => '',
57 'type' => 'text',
58 ),
59 );
60
61 foreach ( $sbt as $key => $option ) {
62 $this->render( 'general/option', $option );
63 }
64 ?>
65
66 </div>
67
68 <!-- Search lists button text -->
69 <div class="sui-form-field">
70
71 <?php
72 $slbt = array(
73 'get_lists_button_text_label' => array(
74 'id' => 'lists-button-text-label',
75 'for' => 'lists-button-text',
76 'type' => 'label',
77 'value' => __( 'Search lists button text', 'hustle' ),
78 ),
79 'get_lists_button_text' => array(
80 'id' => 'lists-button-text',
81 'name' => 'get_lists_button_text',
82 'value' => $messages['get_lists_button_text'],
83 'placeholder' => '',
84 'type' => 'text',
85 ),
86 );
87
88 foreach ( $slbt as $key => $option ) {
89 $this->render( 'general/option', $option );
90 }
91 ?>
92
93 </div>
94
95 <!-- Invalid email error message -->
96 <div class="sui-form-field">
97
98 <?php
99 $ieem = array(
100 'invalid_email_message_label' => array(
101 'id' => 'invalid-email-message-label',
102 'for' => 'invalid-email',
103 'type' => 'label',
104 'value' => __( 'Invalid email error message', 'hustle' ),
105 ),
106 'invalid_email_message' => array(
107 'id' => 'invalid-email-message',
108 'name' => 'invalid_email',
109 'type' => 'text',
110 'value' => $messages['invalid_email'],
111 ),
112 );
113
114 foreach ( $ieem as $key => $option ) {
115 $this->render( 'general/option', $option );
116 }
117 ?>
118
119 </div>
120
121 <!-- Email not found message -->
122 <div class="sui-form-field">
123
124 <?php
125 $enfm = array(
126 'email_not_found_message_label' => array(
127 'id' => 'iemail-not-found-message-label',
128 'for' => 'email-not-found-message',
129 'type' => 'label',
130 'value' => __( 'Email not found message', 'hustle' ),
131 ),
132 'email_not_found_message' => array(
133 'id' => 'email-not-found-message',
134 'name' => 'email_not_found',
135 'type' => 'text',
136 'value' => $messages['email_not_found'],
137 ),
138 );
139
140 foreach ( $enfm as $key => $option ) {
141 $this->render( 'general/option', $option );
142 }
143 ?>
144
145 </div>
146
147 <!-- Data not valid message -->
148 <div class="sui-form-field">
149
150 <?php
151 $dnvm = array(
152 'invalid_data_message_label' => array(
153 'id' => 'invalid-data-message-label',
154 'for' => 'invalid-data-message',
155 'type' => 'label',
156 'value' => __( 'Data not valid message', 'hustle' ),
157 ),
158 'invalid_data_message' => array(
159 'id' => 'invalid-data-message',
160 'name' => 'invalid_data',
161 'type' => 'text',
162 'value' => $messages['invalid_data'],
163 ),
164 );
165
166 foreach ( $dnvm as $key => $option ) {
167 $this->render( 'general/option', $option );
168 }
169 ?>
170
171 </div>
172
173 <!-- Email couldn't be submitted message -->
174 <div class="sui-form-field">
175
176 <?php
177 $ecbsm = array(
178 'email_not_submitted_message_label' => array(
179 'id' => 'email-not-submitted-message-label',
180 'for' => 'email-not-submitted-message',
181 'type' => 'label',
182 'value' => __( 'Email couldn\'t be submitted message', 'hustle' ),
183 ),
184 'email_not_submitted_message' => array(
185 'id' => 'email-not-submitted-message',
186 'name' => 'email_not_processed',
187 'type' => 'text',
188 'value' => $messages['email_not_processed'],
189 ),
190 );
191
192 foreach ( $ecbsm as $key => $option ) {
193 $this->render( 'general/option', $option );
194 }
195 ?>
196
197 </div>
198
199 <!-- Check your email for confirmation message -->
200 <div class="sui-form-field">
201
202 <?php
203 $cyefcm = array(
204 'email_submitted_message_label' => array(
205 'id' => 'email-submitted-message-label',
206 'for' => 'email-submitted-message',
207 'type' => 'label',
208 'value' => __( 'Check your email for confirmation message', 'hustle' ),
209 ),
210 'email_submitted_message' => array(
211 'id' => 'email-submitted-message',
212 'name' => 'email_submitted',
213 'type' => 'text',
214 'value' => $messages['email_submitted'],
215 ),
216 );
217
218 foreach ( $cyefcm as $key => $option ) {
219 $this->render( 'general/option', $option );
220 }
221 ?>
222
223 </div>
224
225 <!-- Successful unsubscription message -->
226 <div class="sui-form-field">
227
228 <?php
229 $sum = array(
230 'successful_unsubscription_message_label' => array(
231 'id' => 'successful-unsubscription-message-label',
232 'for' => 'successful-unsubscription-message',
233 'type' => 'label',
234 'value' => __( 'Successful unsubscription message', 'hustle' ),
235 ),
236 'successful_unsubscription_message' => array(
237 'id' => 'successful-unsubscription-message',
238 'name' => 'successful_unsubscription',
239 'type' => 'text',
240 'value' => $messages['successful_unsubscription'],
241 ),
242 );
243
244 foreach ( $sum as $key => $option ) {
245 $this->render( 'general/option', $option );
246 }
247 ?>
248
249 </div>
250
251 </div>
252
253 </div>
254
255 </div>
256
257 </div>
258