Version Description
- New: Added ajax option for submission of forms
- Fix: HTML Tags getting escaped from the form description
- Update: Added support for two new regions(AF South 1 and EU South 1) in Amazon SES [PRO]
=
Download this release
Release Info
Developer | Icegram |
Plugin | Email Subscribers & Newsletters |
Version | 5.3.5 |
Comparing to | |
See all releases |
Code changes from version 5.3.4 to 5.3.5
- email-subscribers.php +2 -2
- lite/includes/class-es-install.php +1 -0
- lite/includes/classes/class-es-admin-settings.php +10 -0
- lite/includes/classes/class-es-forms-table.php +6 -6
- lite/includes/classes/class-es-handle-subscription.php +18 -8
- lite/language.php +4 -0
- lite/languages/email-subscribers.pot +119 -103
- lite/public/class-email-subscribers-public.php +1 -1
- lite/public/js/email-subscribers-public.js +97 -93
- lite/public/partials/class-es-shortcode.php +7 -3
- readme.txt +11 -3
email-subscribers.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Email Subscribers & Newsletters
|
4 |
* Plugin URI: https://www.icegram.com/
|
5 |
* Description: Add subscription forms on website, send HTML newsletters & automatically notify subscribers about new blog posts once it is published.
|
6 |
-
* Version: 5.3.
|
7 |
* Author: Icegram
|
8 |
* Author URI: https://www.icegram.com/
|
9 |
* Requires at least: 3.9
|
@@ -187,7 +187,7 @@ if ( 'premium' === $ig_es_plan ) {
|
|
187 |
/* ***************************** Initial Compatibility Work (End) ******************* */
|
188 |
|
189 |
if ( ! defined( 'ES_PLUGIN_VERSION' ) ) {
|
190 |
-
define( 'ES_PLUGIN_VERSION', '5.3.
|
191 |
}
|
192 |
|
193 |
// Plugin Folder Path.
|
3 |
* Plugin Name: Email Subscribers & Newsletters
|
4 |
* Plugin URI: https://www.icegram.com/
|
5 |
* Description: Add subscription forms on website, send HTML newsletters & automatically notify subscribers about new blog posts once it is published.
|
6 |
+
* Version: 5.3.5
|
7 |
* Author: Icegram
|
8 |
* Author URI: https://www.icegram.com/
|
9 |
* Requires at least: 3.9
|
187 |
/* ***************************** Initial Compatibility Work (End) ******************* */
|
188 |
|
189 |
if ( ! defined( 'ES_PLUGIN_VERSION' ) ) {
|
190 |
+
define( 'ES_PLUGIN_VERSION', '5.3.5' );
|
191 |
}
|
192 |
|
193 |
// Plugin Folder Path.
|
lite/includes/class-es-install.php
CHANGED
@@ -970,6 +970,7 @@ if ( ! class_exists( 'ES_Install' ) ) {
|
|
970 |
'ig_es_disable_wp_cron' => array( 'default' => 'no' ),
|
971 |
'ig_es_enable_sending_mails_in_customer_timezone' => array( 'default' => 'no' ),
|
972 |
'ig_es_track_email_opens' => array( 'default' => 'yes' ),
|
|
|
973 |
'ig_es_show_opt_in_consent' => array( 'default' => 'yes' ),
|
974 |
'ig_es_opt_in_consent_text' => array( 'default' => 'Subscribe to our email updates as well.' ),
|
975 |
'ig_es_installed_on' => array(
|
970 |
'ig_es_disable_wp_cron' => array( 'default' => 'no' ),
|
971 |
'ig_es_enable_sending_mails_in_customer_timezone' => array( 'default' => 'no' ),
|
972 |
'ig_es_track_email_opens' => array( 'default' => 'yes' ),
|
973 |
+
'ig_es_enable_ajax_form_submission' => array( 'default' => 'no' ),
|
974 |
'ig_es_show_opt_in_consent' => array( 'default' => 'yes' ),
|
975 |
'ig_es_opt_in_consent_text' => array( 'default' => 'Subscribe to our email updates as well.' ),
|
976 |
'ig_es_installed_on' => array(
|
lite/includes/classes/class-es-admin-settings.php
CHANGED
@@ -47,6 +47,7 @@ class ES_Admin_Settings {
|
|
47 |
|
48 |
$options['ig_es_disable_wp_cron'] = isset( $options['ig_es_disable_wp_cron'] ) ? $options['ig_es_disable_wp_cron'] : 'no';
|
49 |
$options['ig_es_track_email_opens'] = isset( $options['ig_es_track_email_opens'] ) ? $options['ig_es_track_email_opens'] : 'no';
|
|
|
50 |
$options['ig_es_enable_welcome_email'] = isset( $options['ig_es_enable_welcome_email'] ) ? $options['ig_es_enable_welcome_email'] : 'no';
|
51 |
$options['ig_es_notify_admin'] = isset( $options['ig_es_notify_admin'] ) ? $options['ig_es_notify_admin'] : 'no';
|
52 |
$options['ig_es_enable_cron_admin_email'] = isset( $options['ig_es_enable_cron_admin_email'] ) ? $options['ig_es_enable_cron_admin_email'] : 'no';
|
@@ -68,6 +69,7 @@ class ES_Admin_Settings {
|
|
68 |
'ig_es_optin_type',
|
69 |
'ig_es_post_image_size',
|
70 |
'ig_es_track_email_opens',
|
|
|
71 |
'ig_es_enable_welcome_email',
|
72 |
'ig_es_welcome_email_subject',
|
73 |
'ig_es_confirmation_mail_subject',
|
@@ -249,6 +251,14 @@ class ES_Admin_Settings {
|
|
249 |
),
|
250 |
// End-IG-Code.
|
251 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
'ig_es_track_email_opens' => array(
|
253 |
'id' => 'ig_es_track_email_opens',
|
254 |
'name' => __( 'Track opens', 'email-subscribers' ),
|
47 |
|
48 |
$options['ig_es_disable_wp_cron'] = isset( $options['ig_es_disable_wp_cron'] ) ? $options['ig_es_disable_wp_cron'] : 'no';
|
49 |
$options['ig_es_track_email_opens'] = isset( $options['ig_es_track_email_opens'] ) ? $options['ig_es_track_email_opens'] : 'no';
|
50 |
+
$options['ig_es_enable_ajax_form_submission'] = isset( $options['ig_es_enable_ajax_form_submission'] ) ? $options['ig_es_enable_ajax_form_submission'] : 'no';
|
51 |
$options['ig_es_enable_welcome_email'] = isset( $options['ig_es_enable_welcome_email'] ) ? $options['ig_es_enable_welcome_email'] : 'no';
|
52 |
$options['ig_es_notify_admin'] = isset( $options['ig_es_notify_admin'] ) ? $options['ig_es_notify_admin'] : 'no';
|
53 |
$options['ig_es_enable_cron_admin_email'] = isset( $options['ig_es_enable_cron_admin_email'] ) ? $options['ig_es_enable_cron_admin_email'] : 'no';
|
69 |
'ig_es_optin_type',
|
70 |
'ig_es_post_image_size',
|
71 |
'ig_es_track_email_opens',
|
72 |
+
'ig_es_enable_ajax_form_submission',
|
73 |
'ig_es_enable_welcome_email',
|
74 |
'ig_es_welcome_email_subject',
|
75 |
'ig_es_confirmation_mail_subject',
|
251 |
),
|
252 |
// End-IG-Code.
|
253 |
|
254 |
+
'ig_es_enable_ajax_form_submission' => array(
|
255 |
+
'id' => 'ig_es_enable_ajax_form_submission',
|
256 |
+
'name' => __( 'Enable AJAX subscription form submission', 'email-subscribers' ),
|
257 |
+
'info' => __( 'Enabling this will let users to submit their subscription form without page reload using AJAX call.', 'email-subscribers' ),
|
258 |
+
'type' => 'checkbox',
|
259 |
+
'default' => 'no',
|
260 |
+
),
|
261 |
+
|
262 |
'ig_es_track_email_opens' => array(
|
263 |
'id' => 'ig_es_track_email_opens',
|
264 |
'name' => __( 'Track opens', 'email-subscribers' ),
|
lite/includes/classes/class-es-forms-table.php
CHANGED
@@ -297,10 +297,10 @@ class ES_Forms_Table extends ES_List_Table {
|
|
297 |
$form_data['list_label'] = ! empty( $data['list_label'] ) ? $data['list_label'] : '';
|
298 |
$form_data['lists'] = ! empty( $data['lists'] ) ? $data['lists'] : array();
|
299 |
$form_data['af_id'] = ! empty( $data['af_id'] ) ? $data['af_id'] : 0;
|
300 |
-
$form_data['desc'] = ! empty( $data['desc'] ) ?
|
301 |
$form_data['captcha'] = ES_Common::get_captcha_setting( 0, $data );
|
302 |
$form_data['show_in_popup'] = ! empty( $data['show_in_popup'] ) ? $data['show_in_popup'] : 'no';
|
303 |
-
$form_data['popup_headline']
|
304 |
|
305 |
$lists = ES()->lists_db->get_list_id_name_map();
|
306 |
$nonce = wp_create_nonce( 'es_form' );
|
@@ -661,7 +661,7 @@ class ES_Forms_Table extends ES_List_Table {
|
|
661 |
|
662 |
$form_data = array();
|
663 |
$name = ! empty( $data['name'] ) ? sanitize_text_field( $data['name'] ) : '';
|
664 |
-
$desc = ! empty( $data['desc'] ) ?
|
665 |
$email_label = ! empty( $data['email_label'] ) ? sanitize_text_field( $data['email_label'] ) : '';
|
666 |
$email_place_holder = ! empty( $data['email_place_holder'] ) ? sanitize_text_field( $data['email_place_holder'] ) : '';
|
667 |
$name_label = ! empty( $data['name_label'] ) ? sanitize_text_field( $data['name_label'] ) : '';
|
@@ -727,7 +727,7 @@ class ES_Forms_Table extends ES_List_Table {
|
|
727 |
$form_body = apply_filters( 'es_add_custom_fields_data_in_form_body', $body, $data );
|
728 |
|
729 |
$submit_button_position = count( $form_body ) + 1;
|
730 |
-
$submit_data
|
731 |
array(
|
732 |
'type' => 'submit',
|
733 |
'name' => 'submit',
|
@@ -742,7 +742,7 @@ class ES_Forms_Table extends ES_List_Table {
|
|
742 |
),
|
743 |
);
|
744 |
|
745 |
-
$body
|
746 |
$settings = array(
|
747 |
'lists' => $list_ids,
|
748 |
'desc' => $desc,
|
@@ -784,7 +784,7 @@ class ES_Forms_Table extends ES_List_Table {
|
|
784 |
|
785 |
$gdpr_consent = 'no';
|
786 |
$gdpr_consent_text = '';
|
787 |
-
$es_form_popup
|
788 |
$es_popup_headline = ! empty( $settings_data['es_form_popup']['popup_headline'] ) ? $settings_data['es_form_popup']['popup_headline'] : '';
|
789 |
|
790 |
$captcha = ES_Common::get_captcha_setting( $id, $settings_data );
|
297 |
$form_data['list_label'] = ! empty( $data['list_label'] ) ? $data['list_label'] : '';
|
298 |
$form_data['lists'] = ! empty( $data['lists'] ) ? $data['lists'] : array();
|
299 |
$form_data['af_id'] = ! empty( $data['af_id'] ) ? $data['af_id'] : 0;
|
300 |
+
$form_data['desc'] = ! empty( $data['desc'] ) ? wp_kses_post( trim( wp_unslash( $data['desc'] ) ) ) : '';
|
301 |
$form_data['captcha'] = ES_Common::get_captcha_setting( 0, $data );
|
302 |
$form_data['show_in_popup'] = ! empty( $data['show_in_popup'] ) ? $data['show_in_popup'] : 'no';
|
303 |
+
$form_data['popup_headline'] = ! empty( $data['popup_headline'] ) ? $data['popup_headline'] : '';
|
304 |
|
305 |
$lists = ES()->lists_db->get_list_id_name_map();
|
306 |
$nonce = wp_create_nonce( 'es_form' );
|
661 |
|
662 |
$form_data = array();
|
663 |
$name = ! empty( $data['name'] ) ? sanitize_text_field( $data['name'] ) : '';
|
664 |
+
$desc = ! empty( $data['desc'] ) ? wp_kses_post( trim( wp_unslash( $data['desc'] ) ) ) : '';
|
665 |
$email_label = ! empty( $data['email_label'] ) ? sanitize_text_field( $data['email_label'] ) : '';
|
666 |
$email_place_holder = ! empty( $data['email_place_holder'] ) ? sanitize_text_field( $data['email_place_holder'] ) : '';
|
667 |
$name_label = ! empty( $data['name_label'] ) ? sanitize_text_field( $data['name_label'] ) : '';
|
727 |
$form_body = apply_filters( 'es_add_custom_fields_data_in_form_body', $body, $data );
|
728 |
|
729 |
$submit_button_position = count( $form_body ) + 1;
|
730 |
+
$submit_data = array(
|
731 |
array(
|
732 |
'type' => 'submit',
|
733 |
'name' => 'submit',
|
742 |
),
|
743 |
);
|
744 |
|
745 |
+
$body = array_merge( $form_body, $submit_data );
|
746 |
$settings = array(
|
747 |
'lists' => $list_ids,
|
748 |
'desc' => $desc,
|
784 |
|
785 |
$gdpr_consent = 'no';
|
786 |
$gdpr_consent_text = '';
|
787 |
+
$es_form_popup = ! empty( $settings_data['es_form_popup']['show_in_popup'] ) ? $settings_data['es_form_popup']['show_in_popup'] : 'no';
|
788 |
$es_popup_headline = ! empty( $settings_data['es_form_popup']['popup_headline'] ) ? $settings_data['es_form_popup']['popup_headline'] : '';
|
789 |
|
790 |
$captcha = ES_Common::get_captcha_setting( $id, $settings_data );
|
lite/includes/classes/class-es-handle-subscription.php
CHANGED
@@ -144,8 +144,8 @@ if ( ! class_exists( 'ES_Handle_Subscription' ) ) {
|
|
144 |
*/
|
145 |
public function __construct( $from_rainmaker = false ) {
|
146 |
if ( defined( 'DOING_AJAX' ) && ( true === DOING_AJAX ) ) {
|
147 |
-
add_action( 'wp_ajax_es_add_subscriber', array( $this, '
|
148 |
-
add_action( 'wp_ajax_nopriv_es_add_subscriber', array( $this, '
|
149 |
}
|
150 |
|
151 |
$this->from_rainmaker = $from_rainmaker;
|
@@ -153,6 +153,22 @@ if ( ! class_exists( 'ES_Handle_Subscription' ) ) {
|
|
153 |
$this->handle_subscription();
|
154 |
}
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
/**
|
157 |
* Process request
|
158 |
*
|
@@ -173,12 +189,6 @@ if ( ! class_exists( 'ES_Handle_Subscription' ) ) {
|
|
173 |
);
|
174 |
|
175 |
$es = ! empty( $_POST['es'] ) ? sanitize_text_field( wp_unslash( $_POST['es'] ) ) : '';
|
176 |
-
$es_subscribe = ! empty( $_POST['esfpx_es-subscribe'] ) ? sanitize_text_field( wp_unslash( $_POST['esfpx_es-subscribe'] ) ) : '';
|
177 |
-
|
178 |
-
if ( ! empty( $es_subscribe ) && wp_verify_nonce( $es_subscribe, 'es-subscribe' ) ) {
|
179 |
-
// TODO: Verify Nonce
|
180 |
-
$nonce_verified = true;
|
181 |
-
}
|
182 |
|
183 |
$doing_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX;
|
184 |
$return_response = defined( 'IG_ES_RETURN_HANDLE_RESPONSE' ) && IG_ES_RETURN_HANDLE_RESPONSE;
|
144 |
*/
|
145 |
public function __construct( $from_rainmaker = false ) {
|
146 |
if ( defined( 'DOING_AJAX' ) && ( true === DOING_AJAX ) ) {
|
147 |
+
add_action( 'wp_ajax_es_add_subscriber', array( $this, 'process_ajax_request' ), 10 );
|
148 |
+
add_action( 'wp_ajax_nopriv_es_add_subscriber', array( $this, 'process_ajax_request' ), 10 );
|
149 |
}
|
150 |
|
151 |
$this->from_rainmaker = $from_rainmaker;
|
153 |
$this->handle_subscription();
|
154 |
}
|
155 |
|
156 |
+
/**
|
157 |
+
* Process form submission via ajax call
|
158 |
+
*/
|
159 |
+
public function process_ajax_request() {
|
160 |
+
$es_subscribe = ! empty( $_POST['esfpx_es-subscribe'] ) ? sanitize_text_field( wp_unslash( $_POST['esfpx_es-subscribe'] ) ) : '';
|
161 |
+
|
162 |
+
if ( ! empty( $es_subscribe ) ) {
|
163 |
+
defined( 'IG_ES_RETURN_HANDLE_RESPONSE' ) || define( 'IG_ES_RETURN_HANDLE_RESPONSE', true );
|
164 |
+
$response = $this->process_request( wp_unslash( $_POST ) );
|
165 |
+
} else {
|
166 |
+
$response = array( 'status' => 'ERROR', 'message' => 'es_unexpected_error_notice', );
|
167 |
+
}
|
168 |
+
$response = $this->do_response( $response );
|
169 |
+
wp_send_json( $response );
|
170 |
+
}
|
171 |
+
|
172 |
/**
|
173 |
* Process request
|
174 |
*
|
189 |
);
|
190 |
|
191 |
$es = ! empty( $_POST['es'] ) ? sanitize_text_field( wp_unslash( $_POST['es'] ) ) : '';
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
|
193 |
$doing_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX;
|
194 |
$return_response = defined( 'IG_ES_RETURN_HANDLE_RESPONSE' ) && IG_ES_RETURN_HANDLE_RESPONSE;
|
lite/language.php
CHANGED
@@ -380,6 +380,8 @@ __( 'Single = confirm subscribers as they subscribe.<br> Double = send a confirm
|
|
380 |
__( 'Image size', 'email-subscribers' ),
|
381 |
/* translators: %s: Keyword */
|
382 |
__( '%s keyword will use this image size. Use full size only if your template design needs it. Thumbnail should work well otherwise.', 'email-subscribers' ),
|
|
|
|
|
383 |
__( 'Track opens', 'email-subscribers' ),
|
384 |
__( 'Do you want to track when people view your emails? (We recommend keeping it enabled)', 'email-subscribers' ),
|
385 |
__( 'Subscription success message', 'email-subscribers' ),
|
@@ -1205,6 +1207,7 @@ __( 'US AWS GovCloud', 'email-subscribers' ),
|
|
1205 |
__( 'EU (Ireland)', 'email-subscribers' ),
|
1206 |
__( 'EU (London)', 'email-subscribers' ),
|
1207 |
__( 'EU (Frankfurt)', 'email-subscribers' ),
|
|
|
1208 |
__( 'Asia Pacific (Mumbai)', 'email-subscribers' ),
|
1209 |
__( 'Asia Pacific (Tokyo)', 'email-subscribers' ),
|
1210 |
__( 'Asia Pacific (Seoul)', 'email-subscribers' ),
|
@@ -1212,6 +1215,7 @@ __( 'Asia Pacific (Singapore)', 'email-subscribers' ),
|
|
1212 |
__( 'Asia Pacific (Sydney)', 'email-subscribers' ),
|
1213 |
__( 'Canada (Central)', 'email-subscribers' ),
|
1214 |
__( 'South America (São Paulo)', 'email-subscribers' ),
|
|
|
1215 |
__( 'Encountered an error, but no description given', 'email-subscribers' ),
|
1216 |
/* translators: 1. Error type 2. Error code 3. Error message 4. Request Id */
|
1217 |
__( '%1$s - %2$s <br/>%3$s <br/>Request Id: %4$s', 'email-subscribers' ),
|
380 |
__( 'Image size', 'email-subscribers' ),
|
381 |
/* translators: %s: Keyword */
|
382 |
__( '%s keyword will use this image size. Use full size only if your template design needs it. Thumbnail should work well otherwise.', 'email-subscribers' ),
|
383 |
+
__( 'Enable AJAX subscription form submission', 'email-subscribers' ),
|
384 |
+
__( 'Enabling this will let users to submit their subscription form without page reload using AJAX call.', 'email-subscribers' ),
|
385 |
__( 'Track opens', 'email-subscribers' ),
|
386 |
__( 'Do you want to track when people view your emails? (We recommend keeping it enabled)', 'email-subscribers' ),
|
387 |
__( 'Subscription success message', 'email-subscribers' ),
|
1207 |
__( 'EU (Ireland)', 'email-subscribers' ),
|
1208 |
__( 'EU (London)', 'email-subscribers' ),
|
1209 |
__( 'EU (Frankfurt)', 'email-subscribers' ),
|
1210 |
+
__( 'EU (Milan)', 'email-subscribers' ),
|
1211 |
__( 'Asia Pacific (Mumbai)', 'email-subscribers' ),
|
1212 |
__( 'Asia Pacific (Tokyo)', 'email-subscribers' ),
|
1213 |
__( 'Asia Pacific (Seoul)', 'email-subscribers' ),
|
1215 |
__( 'Asia Pacific (Sydney)', 'email-subscribers' ),
|
1216 |
__( 'Canada (Central)', 'email-subscribers' ),
|
1217 |
__( 'South America (São Paulo)', 'email-subscribers' ),
|
1218 |
+
__( 'Africa (Cape Town)', 'email-subscribers' ),
|
1219 |
__( 'Encountered an error, but no description given', 'email-subscribers' ),
|
1220 |
/* translators: 1. Error type 2. Error code 3. Error message 4. Request Id */
|
1221 |
__( '%1$s - %2$s <br/>%3$s <br/>Request Id: %4$s', 'email-subscribers' ),
|
lite/languages/email-subscribers.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the Email Subscribers & Newsletters plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Email Subscribers & Newsletters 5.3.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/email-subscribers\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2022-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: email-subscribers\n"
|
@@ -305,7 +305,7 @@ msgstr ""
|
|
305 |
|
306 |
#: lite/admin/class-email-subscribers-admin.php:347
|
307 |
#: lite/admin/partials/dashboard.php:247
|
308 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
309 |
msgid "Settings"
|
310 |
msgstr ""
|
311 |
|
@@ -659,7 +659,7 @@ msgid "is in List"
|
|
659 |
msgstr ""
|
660 |
|
661 |
#: lite/admin/class-ig-es-campaign-rules.php:630
|
662 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
663 |
#: lite/includes/classes/class-es-campaign-report.php:189
|
664 |
#: lite/includes/classes/class-es-contacts-table.php:785
|
665 |
#: lite/includes/classes/class-es-export-subscribers.php:339
|
@@ -1627,7 +1627,7 @@ msgstr ""
|
|
1627 |
msgid "Date"
|
1628 |
msgstr ""
|
1629 |
|
1630 |
-
#: lite/includes/class-es-install.php:
|
1631 |
#: lite/includes/upgrade/es-update-functions.php:752
|
1632 |
msgid "Your subscription was successful! Kindly check your mailbox and confirm your subscription. If you don't see the email within a few minutes, check the spam/junk folder."
|
1633 |
msgstr ""
|
@@ -1636,28 +1636,28 @@ msgstr ""
|
|
1636 |
msgid "You do not have permission to update settings"
|
1637 |
msgstr ""
|
1638 |
|
1639 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1640 |
msgid "General"
|
1641 |
msgstr ""
|
1642 |
|
1643 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1644 |
msgid "Notifications"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1648 |
msgid "Email Sending"
|
1649 |
msgstr ""
|
1650 |
|
1651 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1652 |
msgid "Security"
|
1653 |
msgstr ""
|
1654 |
|
1655 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1656 |
msgid "Sender"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1660 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1661 |
#: lite/includes/classes/class-es-campaigns-table.php:626
|
1662 |
#: lite/includes/classes/class-es-forms-table.php:416
|
1663 |
#: lite/includes/classes/class-es-forms-table.php:984
|
@@ -1667,281 +1667,289 @@ msgstr ""
|
|
1667 |
msgid "Name"
|
1668 |
msgstr ""
|
1669 |
|
1670 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1671 |
msgid "The \"from\" name people will see when they receive emails."
|
1672 |
msgstr ""
|
1673 |
|
1674 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1675 |
msgid "The \"from\" email address for all emails."
|
1676 |
msgstr ""
|
1677 |
|
1678 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1679 |
msgid "Email Address"
|
1680 |
msgstr ""
|
1681 |
|
1682 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1683 |
msgid "Admin emails"
|
1684 |
msgstr ""
|
1685 |
|
1686 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1687 |
msgid "Who should be notified about system events like \"someone subscribed\", \"campaign sent\" etc?"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1691 |
msgid "You can enter multiple email addresses - separate them with comma"
|
1692 |
msgstr ""
|
1693 |
|
1694 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1695 |
msgid "Opt-in type"
|
1696 |
msgstr ""
|
1697 |
|
1698 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1699 |
msgid "Single = confirm subscribers as they subscribe.<br> Double = send a confirmation email and require clicking on a link to confirm subscription."
|
1700 |
msgstr ""
|
1701 |
|
1702 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1703 |
msgid "Image size"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
#. translators: %s: Keyword
|
1707 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1708 |
msgid "%s keyword will use this image size. Use full size only if your template design needs it. Thumbnail should work well otherwise."
|
1709 |
msgstr ""
|
1710 |
|
1711 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1712 |
msgid "Track opens"
|
1713 |
msgstr ""
|
1714 |
|
1715 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1716 |
msgid "Do you want to track when people view your emails? (We recommend keeping it enabled)"
|
1717 |
msgstr ""
|
1718 |
|
1719 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1720 |
msgid "Subscription success message"
|
1721 |
msgstr ""
|
1722 |
|
1723 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1724 |
msgid "This message will show when a visitor successfully subscribes using the form."
|
1725 |
msgstr ""
|
1726 |
|
1727 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1728 |
msgid "Unsubscribe text in email footer:"
|
1729 |
msgstr ""
|
1730 |
|
1731 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1732 |
msgid "All emails will include this text in the footer so people can unsubscribe if they want."
|
1733 |
msgstr ""
|
1734 |
|
1735 |
#. translators: %s: List of Keywords
|
1736 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1737 |
msgid "Use %s keyword to add unsubscribe link."
|
1738 |
msgstr ""
|
1739 |
|
1740 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1741 |
msgid "Double opt-in subscription messages:"
|
1742 |
msgstr ""
|
1743 |
|
1744 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1745 |
msgid "Page and messages to show when people click on the link in a subscription confirmation email."
|
1746 |
msgstr ""
|
1747 |
|
1748 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1749 |
msgid "You have been subscribed successfully!"
|
1750 |
msgstr ""
|
1751 |
|
1752 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1753 |
msgid "Message on successful subscription"
|
1754 |
msgstr ""
|
1755 |
|
1756 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1757 |
msgid "Show this message if contact is successfully subscribed from double opt-in (confirmation) email"
|
1758 |
msgstr ""
|
1759 |
|
1760 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1761 |
msgid "Oops.. Your request couldn't be completed. This email address seems to be already subscribed / blocked."
|
1762 |
msgstr ""
|
1763 |
|
1764 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1765 |
msgid "Message when subscription fails"
|
1766 |
msgstr ""
|
1767 |
|
1768 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1769 |
msgid "Show this message if any error occured after clicking confirmation link from double opt-in (confirmation) email."
|
1770 |
msgstr ""
|
1771 |
|
1772 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1773 |
msgid "Unsubscribe messages"
|
1774 |
msgstr ""
|
1775 |
|
1776 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1777 |
msgid "Page and messages to show when people click on the unsubscribe link in an email's footer."
|
1778 |
msgstr ""
|
1779 |
|
1780 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1781 |
msgid "Thank You, You have been successfully unsubscribed. You will no longer hear from us."
|
1782 |
msgstr ""
|
1783 |
|
1784 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1785 |
msgid "Message on unsubscribe success"
|
1786 |
msgstr ""
|
1787 |
|
1788 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1789 |
msgid "Once contact clicks on unsubscribe link, he/she will be redirected to a page where this message will be shown."
|
1790 |
msgstr ""
|
1791 |
|
1792 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1793 |
msgid "Oops.. There was some technical error. Please try again later or contact us."
|
1794 |
msgstr ""
|
1795 |
|
1796 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1797 |
msgid "Message when unsubscribe fails"
|
1798 |
msgstr ""
|
1799 |
|
1800 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1801 |
msgid "Show this message if any error occured after clicking on unsubscribe link."
|
1802 |
msgstr ""
|
1803 |
|
1804 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1805 |
msgid "Share Icegram"
|
1806 |
msgstr ""
|
1807 |
|
1808 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1809 |
msgid "Delete plugin data on uninstall"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1813 |
msgid "Be careful with this! When enabled, it will remove all lists, campaigns and other data if you uninstall the plugin."
|
1814 |
msgstr ""
|
1815 |
|
1816 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1817 |
msgid " We will take care of it. You don't need to visit this URL manually."
|
1818 |
msgstr ""
|
1819 |
|
1820 |
#. translators: %s: Link to Icegram documentation
|
1821 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1822 |
msgid "You need to visit this URL to send email notifications. Know <a href='%s' target='_blank'>how to run this in background</a>"
|
1823 |
msgstr ""
|
1824 |
|
1825 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1826 |
msgid "How to configure Email Sending"
|
1827 |
msgstr ""
|
1828 |
|
1829 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1830 |
msgid "Cron URL"
|
1831 |
msgstr ""
|
1832 |
|
1833 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1834 |
msgid "Disable Wordpress Cron"
|
1835 |
msgstr ""
|
1836 |
|
1837 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1838 |
msgid "Enable this option if you do not want Email Subscribers to use WP Cron to send emails."
|
1839 |
msgstr ""
|
1840 |
|
1841 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1842 |
msgid "Send emails at most every"
|
1843 |
msgstr ""
|
1844 |
|
1845 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1846 |
msgid "Optional if a real cron service is used"
|
1847 |
msgstr ""
|
1848 |
|
1849 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1850 |
msgid "Maximum emails to send in an hour"
|
1851 |
msgstr ""
|
1852 |
|
1853 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1854 |
msgid "Total emails your host can send in an hour."
|
1855 |
msgstr ""
|
1856 |
|
1857 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1858 |
msgid "Maximum emails to send at once"
|
1859 |
msgstr ""
|
1860 |
|
1861 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1862 |
msgid "Maximum emails you want to send on every cron request."
|
1863 |
msgstr ""
|
1864 |
|
1865 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1866 |
msgid "Send test email"
|
1867 |
msgstr ""
|
1868 |
|
1869 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1870 |
msgid "Enter email address to send test email."
|
1871 |
msgstr ""
|
1872 |
|
1873 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1874 |
msgid "Select Mailer"
|
1875 |
msgstr ""
|
1876 |
|
1877 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1878 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1879 |
msgid "Pepipost API key"
|
1880 |
msgstr ""
|
1881 |
|
1882 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1883 |
msgid "Select a mailer to send mail"
|
1884 |
msgstr ""
|
1885 |
|
1886 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1887 |
msgid "Blocked domain(s)"
|
1888 |
msgstr ""
|
1889 |
|
1890 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1891 |
msgid "Seeing spam signups from particular domains? Enter domains names (one per line) that you want to block here."
|
1892 |
msgstr ""
|
1893 |
|
1894 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1895 |
msgid "Save Settings"
|
1896 |
msgstr ""
|
1897 |
|
1898 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1899 |
msgid "Signup for Pepipost"
|
1900 |
msgstr ""
|
1901 |
|
1902 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1903 |
msgid "How to find"
|
1904 |
msgstr ""
|
1905 |
|
1906 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1907 |
msgid "Why to choose Pepipost"
|
1908 |
msgstr ""
|
1909 |
|
1910 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1911 |
msgid "Cron Info"
|
1912 |
msgstr ""
|
1913 |
|
1914 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1915 |
msgid "Event"
|
1916 |
msgstr ""
|
1917 |
|
1918 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1919 |
msgid "Interval"
|
1920 |
msgstr ""
|
1921 |
|
1922 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1923 |
msgid "Next Execution"
|
1924 |
msgstr ""
|
1925 |
|
1926 |
#. translators: %s: Next scheduled time
|
1927 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1928 |
msgid "In %s"
|
1929 |
msgstr ""
|
1930 |
|
1931 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1932 |
msgid "Plugin usage tracking"
|
1933 |
msgstr ""
|
1934 |
|
1935 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1936 |
msgid "Help us to improve Email Subscribers by opting in to share non-sensitive plugin usage data."
|
1937 |
msgstr ""
|
1938 |
|
1939 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1940 |
msgid "Now you can control all your notifications through workflows."
|
1941 |
msgstr ""
|
1942 |
|
1943 |
#. translators: 1. Anchor start tag 2. Anchor end tag
|
1944 |
-
#: lite/includes/classes/class-es-admin-settings.php:
|
1945 |
msgid "Click %1$shere%2$s to go to workflows."
|
1946 |
msgstr ""
|
1947 |
|
@@ -2496,7 +2504,7 @@ msgstr ""
|
|
2496 |
|
2497 |
#: lite/includes/classes/class-es-form-widget.php:43
|
2498 |
#: lite/public/partials/class-es-shortcode.php:151
|
2499 |
-
#: lite/public/partials/class-es-shortcode.php:
|
2500 |
msgid "Select list(s)"
|
2501 |
msgstr ""
|
2502 |
|
@@ -2707,59 +2715,59 @@ msgstr ""
|
|
2707 |
msgid "No Forms avaliable."
|
2708 |
msgstr ""
|
2709 |
|
2710 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2711 |
#: lite/public/class-email-subscribers-public.php:112
|
2712 |
msgid "Please enter email address"
|
2713 |
msgstr ""
|
2714 |
|
2715 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2716 |
#: lite/public/class-email-subscribers-public.php:113
|
2717 |
msgid "You need to wait for sometime before subscribing again"
|
2718 |
msgstr ""
|
2719 |
|
2720 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2721 |
#: lite/includes/upgrade/es-update-functions.php:752
|
2722 |
#: lite/public/class-email-subscribers-public.php:114
|
2723 |
msgid "Successfully Subscribed."
|
2724 |
msgstr ""
|
2725 |
|
2726 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2727 |
#: lite/public/class-email-subscribers-public.php:116
|
2728 |
msgid "Email Address already exists!"
|
2729 |
msgstr ""
|
2730 |
|
2731 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2732 |
#: lite/public/class-email-subscribers-public.php:117
|
2733 |
msgid "Oops.. Unexpected error occurred."
|
2734 |
msgstr ""
|
2735 |
|
2736 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2737 |
#: lite/public/class-email-subscribers-public.php:118
|
2738 |
msgid "Invalid email address"
|
2739 |
msgstr ""
|
2740 |
|
2741 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2742 |
msgid "Invalid name"
|
2743 |
msgstr ""
|
2744 |
|
2745 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2746 |
#: lite/public/class-email-subscribers-public.php:119
|
2747 |
msgid "Please try after some time"
|
2748 |
msgstr ""
|
2749 |
|
2750 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2751 |
msgid "Oops...unable to add subscriber"
|
2752 |
msgstr ""
|
2753 |
|
2754 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2755 |
msgid "You do not have permission to add subscriber"
|
2756 |
msgstr ""
|
2757 |
|
2758 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2759 |
msgid "Please select the list"
|
2760 |
msgstr ""
|
2761 |
|
2762 |
-
#: lite/includes/classes/class-es-handle-subscription.php:
|
2763 |
msgid "Invalid Captcha"
|
2764 |
msgstr ""
|
2765 |
|
@@ -5203,44 +5211,52 @@ msgid "EU (Frankfurt)"
|
|
5203 |
msgstr ""
|
5204 |
|
5205 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:421
|
5206 |
-
msgid "
|
5207 |
msgstr ""
|
5208 |
|
5209 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:422
|
5210 |
-
msgid "Asia Pacific (
|
5211 |
msgstr ""
|
5212 |
|
5213 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:423
|
5214 |
-
msgid "Asia Pacific (
|
5215 |
msgstr ""
|
5216 |
|
5217 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:424
|
5218 |
-
msgid "Asia Pacific (
|
5219 |
msgstr ""
|
5220 |
|
5221 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:425
|
5222 |
-
msgid "Asia Pacific (
|
5223 |
msgstr ""
|
5224 |
|
5225 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:426
|
5226 |
-
msgid "
|
5227 |
msgstr ""
|
5228 |
|
5229 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:427
|
|
|
|
|
|
|
|
|
5230 |
msgid "South America (São Paulo)"
|
5231 |
msgstr ""
|
5232 |
|
5233 |
-
#: pro/mailers/aws-ses/
|
|
|
|
|
|
|
|
|
5234 |
msgid "Encountered an error, but no description given"
|
5235 |
msgstr ""
|
5236 |
|
5237 |
#. translators: 1. Error type 2. Error code 3. Error message 4. Request Id
|
5238 |
-
#: pro/mailers/aws-ses/php-aws-ses/SimpleEmailService.php:
|
5239 |
msgid "%1$s - %2$s <br/>%3$s <br/>Request Id: %4$s"
|
5240 |
msgstr ""
|
5241 |
|
5242 |
#. translators: %s: Error message.
|
5243 |
-
#: pro/mailers/aws-ses/php-aws-ses/SimpleEmailService.php:
|
5244 |
msgid "Encountered an error: %s"
|
5245 |
msgstr ""
|
5246 |
|
2 |
# This file is distributed under the same license as the Email Subscribers & Newsletters plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Email Subscribers & Newsletters 5.3.5\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/email-subscribers\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2022-03-02T08:09:38+01:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: email-subscribers\n"
|
305 |
|
306 |
#: lite/admin/class-email-subscribers-admin.php:347
|
307 |
#: lite/admin/partials/dashboard.php:247
|
308 |
+
#: lite/includes/classes/class-es-admin-settings.php:133
|
309 |
msgid "Settings"
|
310 |
msgstr ""
|
311 |
|
659 |
msgstr ""
|
660 |
|
661 |
#: lite/admin/class-ig-es-campaign-rules.php:630
|
662 |
+
#: lite/includes/classes/class-es-admin-settings.php:213
|
663 |
#: lite/includes/classes/class-es-campaign-report.php:189
|
664 |
#: lite/includes/classes/class-es-contacts-table.php:785
|
665 |
#: lite/includes/classes/class-es-export-subscribers.php:339
|
1627 |
msgid "Date"
|
1628 |
msgstr ""
|
1629 |
|
1630 |
+
#: lite/includes/class-es-install.php:981
|
1631 |
#: lite/includes/upgrade/es-update-functions.php:752
|
1632 |
msgid "Your subscription was successful! Kindly check your mailbox and confirm your subscription. If you don't see the email within a few minutes, check the spam/junk folder."
|
1633 |
msgstr ""
|
1636 |
msgid "You do not have permission to update settings"
|
1637 |
msgstr ""
|
1638 |
|
1639 |
+
#: lite/includes/classes/class-es-admin-settings.php:145
|
1640 |
msgid "General"
|
1641 |
msgstr ""
|
1642 |
|
1643 |
+
#: lite/includes/classes/class-es-admin-settings.php:149
|
1644 |
msgid "Notifications"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
+
#: lite/includes/classes/class-es-admin-settings.php:153
|
1648 |
msgid "Email Sending"
|
1649 |
msgstr ""
|
1650 |
|
1651 |
+
#: lite/includes/classes/class-es-admin-settings.php:157
|
1652 |
msgid "Security"
|
1653 |
msgstr ""
|
1654 |
|
1655 |
+
#: lite/includes/classes/class-es-admin-settings.php:200
|
1656 |
msgid "Sender"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
+
#: lite/includes/classes/class-es-admin-settings.php:204
|
1660 |
+
#: lite/includes/classes/class-es-admin-settings.php:207
|
1661 |
#: lite/includes/classes/class-es-campaigns-table.php:626
|
1662 |
#: lite/includes/classes/class-es-forms-table.php:416
|
1663 |
#: lite/includes/classes/class-es-forms-table.php:984
|
1667 |
msgid "Name"
|
1668 |
msgstr ""
|
1669 |
|
1670 |
+
#: lite/includes/classes/class-es-admin-settings.php:205
|
1671 |
msgid "The \"from\" name people will see when they receive emails."
|
1672 |
msgstr ""
|
1673 |
|
1674 |
+
#: lite/includes/classes/class-es-admin-settings.php:214
|
1675 |
msgid "The \"from\" email address for all emails."
|
1676 |
msgstr ""
|
1677 |
|
1678 |
+
#: lite/includes/classes/class-es-admin-settings.php:216
|
1679 |
msgid "Email Address"
|
1680 |
msgstr ""
|
1681 |
|
1682 |
+
#: lite/includes/classes/class-es-admin-settings.php:224
|
1683 |
msgid "Admin emails"
|
1684 |
msgstr ""
|
1685 |
|
1686 |
+
#: lite/includes/classes/class-es-admin-settings.php:225
|
1687 |
msgid "Who should be notified about system events like \"someone subscribed\", \"campaign sent\" etc?"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
+
#: lite/includes/classes/class-es-admin-settings.php:227
|
1691 |
msgid "You can enter multiple email addresses - separate them with comma"
|
1692 |
msgstr ""
|
1693 |
|
1694 |
+
#: lite/includes/classes/class-es-admin-settings.php:233
|
1695 |
msgid "Opt-in type"
|
1696 |
msgstr ""
|
1697 |
|
1698 |
+
#: lite/includes/classes/class-es-admin-settings.php:235
|
1699 |
msgid "Single = confirm subscribers as they subscribe.<br> Double = send a confirmation email and require clicking on a link to confirm subscription."
|
1700 |
msgstr ""
|
1701 |
|
1702 |
+
#: lite/includes/classes/class-es-admin-settings.php:244
|
1703 |
msgid "Image size"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
#. translators: %s: Keyword
|
1707 |
+
#: lite/includes/classes/class-es-admin-settings.php:249
|
1708 |
msgid "%s keyword will use this image size. Use full size only if your template design needs it. Thumbnail should work well otherwise."
|
1709 |
msgstr ""
|
1710 |
|
1711 |
+
#: lite/includes/classes/class-es-admin-settings.php:256
|
1712 |
+
msgid "Enable AJAX subscription form submission"
|
1713 |
+
msgstr ""
|
1714 |
+
|
1715 |
+
#: lite/includes/classes/class-es-admin-settings.php:257
|
1716 |
+
msgid "Enabling this will let users to submit their subscription form without page reload using AJAX call."
|
1717 |
+
msgstr ""
|
1718 |
+
|
1719 |
+
#: lite/includes/classes/class-es-admin-settings.php:264
|
1720 |
msgid "Track opens"
|
1721 |
msgstr ""
|
1722 |
|
1723 |
+
#: lite/includes/classes/class-es-admin-settings.php:265
|
1724 |
msgid "Do you want to track when people view your emails? (We recommend keeping it enabled)"
|
1725 |
msgstr ""
|
1726 |
|
1727 |
+
#: lite/includes/classes/class-es-admin-settings.php:277
|
1728 |
msgid "Subscription success message"
|
1729 |
msgstr ""
|
1730 |
|
1731 |
+
#: lite/includes/classes/class-es-admin-settings.php:278
|
1732 |
msgid "This message will show when a visitor successfully subscribes using the form."
|
1733 |
msgstr ""
|
1734 |
|
1735 |
+
#: lite/includes/classes/class-es-admin-settings.php:289
|
1736 |
msgid "Unsubscribe text in email footer:"
|
1737 |
msgstr ""
|
1738 |
|
1739 |
+
#: lite/includes/classes/class-es-admin-settings.php:290
|
1740 |
msgid "All emails will include this text in the footer so people can unsubscribe if they want."
|
1741 |
msgstr ""
|
1742 |
|
1743 |
#. translators: %s: List of Keywords
|
1744 |
+
#: lite/includes/classes/class-es-admin-settings.php:292
|
1745 |
msgid "Use %s keyword to add unsubscribe link."
|
1746 |
msgstr ""
|
1747 |
|
1748 |
+
#: lite/includes/classes/class-es-admin-settings.php:297
|
1749 |
msgid "Double opt-in subscription messages:"
|
1750 |
msgstr ""
|
1751 |
|
1752 |
+
#: lite/includes/classes/class-es-admin-settings.php:298
|
1753 |
msgid "Page and messages to show when people click on the link in a subscription confirmation email."
|
1754 |
msgstr ""
|
1755 |
|
1756 |
+
#: lite/includes/classes/class-es-admin-settings.php:305
|
1757 |
msgid "You have been subscribed successfully!"
|
1758 |
msgstr ""
|
1759 |
|
1760 |
+
#: lite/includes/classes/class-es-admin-settings.php:307
|
1761 |
msgid "Message on successful subscription"
|
1762 |
msgstr ""
|
1763 |
|
1764 |
+
#: lite/includes/classes/class-es-admin-settings.php:308
|
1765 |
msgid "Show this message if contact is successfully subscribed from double opt-in (confirmation) email"
|
1766 |
msgstr ""
|
1767 |
|
1768 |
+
#: lite/includes/classes/class-es-admin-settings.php:316
|
1769 |
msgid "Oops.. Your request couldn't be completed. This email address seems to be already subscribed / blocked."
|
1770 |
msgstr ""
|
1771 |
|
1772 |
+
#: lite/includes/classes/class-es-admin-settings.php:318
|
1773 |
msgid "Message when subscription fails"
|
1774 |
msgstr ""
|
1775 |
|
1776 |
+
#: lite/includes/classes/class-es-admin-settings.php:319
|
1777 |
msgid "Show this message if any error occured after clicking confirmation link from double opt-in (confirmation) email."
|
1778 |
msgstr ""
|
1779 |
|
1780 |
+
#: lite/includes/classes/class-es-admin-settings.php:327
|
1781 |
msgid "Unsubscribe messages"
|
1782 |
msgstr ""
|
1783 |
|
1784 |
+
#: lite/includes/classes/class-es-admin-settings.php:328
|
1785 |
msgid "Page and messages to show when people click on the unsubscribe link in an email's footer."
|
1786 |
msgstr ""
|
1787 |
|
1788 |
+
#: lite/includes/classes/class-es-admin-settings.php:336
|
1789 |
msgid "Thank You, You have been successfully unsubscribed. You will no longer hear from us."
|
1790 |
msgstr ""
|
1791 |
|
1792 |
+
#: lite/includes/classes/class-es-admin-settings.php:338
|
1793 |
msgid "Message on unsubscribe success"
|
1794 |
msgstr ""
|
1795 |
|
1796 |
+
#: lite/includes/classes/class-es-admin-settings.php:339
|
1797 |
msgid "Once contact clicks on unsubscribe link, he/she will be redirected to a page where this message will be shown."
|
1798 |
msgstr ""
|
1799 |
|
1800 |
+
#: lite/includes/classes/class-es-admin-settings.php:347
|
1801 |
msgid "Oops.. There was some technical error. Please try again later or contact us."
|
1802 |
msgstr ""
|
1803 |
|
1804 |
+
#: lite/includes/classes/class-es-admin-settings.php:349
|
1805 |
msgid "Message when unsubscribe fails"
|
1806 |
msgstr ""
|
1807 |
|
1808 |
+
#: lite/includes/classes/class-es-admin-settings.php:350
|
1809 |
msgid "Show this message if any error occured after clicking on unsubscribe link."
|
1810 |
msgstr ""
|
1811 |
|
1812 |
+
#: lite/includes/classes/class-es-admin-settings.php:358
|
1813 |
msgid "Share Icegram"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
+
#: lite/includes/classes/class-es-admin-settings.php:367
|
1817 |
msgid "Delete plugin data on uninstall"
|
1818 |
msgstr ""
|
1819 |
|
1820 |
+
#: lite/includes/classes/class-es-admin-settings.php:368
|
1821 |
msgid "Be careful with this! When enabled, it will remove all lists, campaigns and other data if you uninstall the plugin."
|
1822 |
msgstr ""
|
1823 |
|
1824 |
+
#: lite/includes/classes/class-es-admin-settings.php:391
|
1825 |
msgid " We will take care of it. You don't need to visit this URL manually."
|
1826 |
msgstr ""
|
1827 |
|
1828 |
#. translators: %s: Link to Icegram documentation
|
1829 |
+
#: lite/includes/classes/class-es-admin-settings.php:394
|
1830 |
msgid "You need to visit this URL to send email notifications. Know <a href='%s' target='_blank'>how to run this in background</a>"
|
1831 |
msgstr ""
|
1832 |
|
1833 |
+
#: lite/includes/classes/class-es-admin-settings.php:397
|
1834 |
msgid "How to configure Email Sending"
|
1835 |
msgstr ""
|
1836 |
|
1837 |
+
#: lite/includes/classes/class-es-admin-settings.php:409
|
1838 |
msgid "Cron URL"
|
1839 |
msgstr ""
|
1840 |
|
1841 |
+
#: lite/includes/classes/class-es-admin-settings.php:418
|
1842 |
msgid "Disable Wordpress Cron"
|
1843 |
msgstr ""
|
1844 |
|
1845 |
+
#: lite/includes/classes/class-es-admin-settings.php:419
|
1846 |
msgid "Enable this option if you do not want Email Subscribers to use WP Cron to send emails."
|
1847 |
msgstr ""
|
1848 |
|
1849 |
+
#: lite/includes/classes/class-es-admin-settings.php:424
|
1850 |
msgid "Send emails at most every"
|
1851 |
msgstr ""
|
1852 |
|
1853 |
+
#: lite/includes/classes/class-es-admin-settings.php:427
|
1854 |
msgid "Optional if a real cron service is used"
|
1855 |
msgstr ""
|
1856 |
|
1857 |
+
#: lite/includes/classes/class-es-admin-settings.php:437
|
1858 |
msgid "Maximum emails to send in an hour"
|
1859 |
msgstr ""
|
1860 |
|
1861 |
+
#: lite/includes/classes/class-es-admin-settings.php:438
|
1862 |
msgid "Total emails your host can send in an hour."
|
1863 |
msgstr ""
|
1864 |
|
1865 |
+
#: lite/includes/classes/class-es-admin-settings.php:447
|
1866 |
msgid "Maximum emails to send at once"
|
1867 |
msgstr ""
|
1868 |
|
1869 |
+
#: lite/includes/classes/class-es-admin-settings.php:448
|
1870 |
msgid "Maximum emails you want to send on every cron request."
|
1871 |
msgstr ""
|
1872 |
|
1873 |
+
#: lite/includes/classes/class-es-admin-settings.php:459
|
1874 |
msgid "Send test email"
|
1875 |
msgstr ""
|
1876 |
|
1877 |
+
#: lite/includes/classes/class-es-admin-settings.php:460
|
1878 |
msgid "Enter email address to send test email."
|
1879 |
msgstr ""
|
1880 |
|
1881 |
+
#: lite/includes/classes/class-es-admin-settings.php:468
|
1882 |
msgid "Select Mailer"
|
1883 |
msgstr ""
|
1884 |
|
1885 |
+
#: lite/includes/classes/class-es-admin-settings.php:480
|
1886 |
+
#: lite/includes/classes/class-es-admin-settings.php:826
|
1887 |
msgid "Pepipost API key"
|
1888 |
msgstr ""
|
1889 |
|
1890 |
+
#: lite/includes/classes/class-es-admin-settings.php:497
|
1891 |
msgid "Select a mailer to send mail"
|
1892 |
msgstr ""
|
1893 |
|
1894 |
+
#: lite/includes/classes/class-es-admin-settings.php:507
|
1895 |
msgid "Blocked domain(s)"
|
1896 |
msgstr ""
|
1897 |
|
1898 |
+
#: lite/includes/classes/class-es-admin-settings.php:509
|
1899 |
msgid "Seeing spam signups from particular domains? Enter domains names (one per line) that you want to block here."
|
1900 |
msgstr ""
|
1901 |
|
1902 |
+
#: lite/includes/classes/class-es-admin-settings.php:721
|
1903 |
msgid "Save Settings"
|
1904 |
msgstr ""
|
1905 |
|
1906 |
+
#: lite/includes/classes/class-es-admin-settings.php:825
|
1907 |
msgid "Signup for Pepipost"
|
1908 |
msgstr ""
|
1909 |
|
1910 |
+
#: lite/includes/classes/class-es-admin-settings.php:826
|
1911 |
msgid "How to find"
|
1912 |
msgstr ""
|
1913 |
|
1914 |
+
#: lite/includes/classes/class-es-admin-settings.php:827
|
1915 |
msgid "Why to choose Pepipost"
|
1916 |
msgstr ""
|
1917 |
|
1918 |
+
#: lite/includes/classes/class-es-admin-settings.php:851
|
1919 |
msgid "Cron Info"
|
1920 |
msgstr ""
|
1921 |
|
1922 |
+
#: lite/includes/classes/class-es-admin-settings.php:918
|
1923 |
msgid "Event"
|
1924 |
msgstr ""
|
1925 |
|
1926 |
+
#: lite/includes/classes/class-es-admin-settings.php:919
|
1927 |
msgid "Interval"
|
1928 |
msgstr ""
|
1929 |
|
1930 |
+
#: lite/includes/classes/class-es-admin-settings.php:920
|
1931 |
msgid "Next Execution"
|
1932 |
msgstr ""
|
1933 |
|
1934 |
#. translators: %s: Next scheduled time
|
1935 |
+
#: lite/includes/classes/class-es-admin-settings.php:966
|
1936 |
msgid "In %s"
|
1937 |
msgstr ""
|
1938 |
|
1939 |
+
#: lite/includes/classes/class-es-admin-settings.php:1001
|
1940 |
msgid "Plugin usage tracking"
|
1941 |
msgstr ""
|
1942 |
|
1943 |
+
#: lite/includes/classes/class-es-admin-settings.php:1004
|
1944 |
msgid "Help us to improve Email Subscribers by opting in to share non-sensitive plugin usage data."
|
1945 |
msgstr ""
|
1946 |
|
1947 |
+
#: lite/includes/classes/class-es-admin-settings.php:1035
|
1948 |
msgid "Now you can control all your notifications through workflows."
|
1949 |
msgstr ""
|
1950 |
|
1951 |
#. translators: 1. Anchor start tag 2. Anchor end tag
|
1952 |
+
#: lite/includes/classes/class-es-admin-settings.php:1038
|
1953 |
msgid "Click %1$shere%2$s to go to workflows."
|
1954 |
msgstr ""
|
1955 |
|
2504 |
|
2505 |
#: lite/includes/classes/class-es-form-widget.php:43
|
2506 |
#: lite/public/partials/class-es-shortcode.php:151
|
2507 |
+
#: lite/public/partials/class-es-shortcode.php:418
|
2508 |
msgid "Select list(s)"
|
2509 |
msgstr ""
|
2510 |
|
2715 |
msgid "No Forms avaliable."
|
2716 |
msgstr ""
|
2717 |
|
2718 |
+
#: lite/includes/classes/class-es-handle-subscription.php:581
|
2719 |
#: lite/public/class-email-subscribers-public.php:112
|
2720 |
msgid "Please enter email address"
|
2721 |
msgstr ""
|
2722 |
|
2723 |
+
#: lite/includes/classes/class-es-handle-subscription.php:582
|
2724 |
#: lite/public/class-email-subscribers-public.php:113
|
2725 |
msgid "You need to wait for sometime before subscribing again"
|
2726 |
msgstr ""
|
2727 |
|
2728 |
+
#: lite/includes/classes/class-es-handle-subscription.php:583
|
2729 |
#: lite/includes/upgrade/es-update-functions.php:752
|
2730 |
#: lite/public/class-email-subscribers-public.php:114
|
2731 |
msgid "Successfully Subscribed."
|
2732 |
msgstr ""
|
2733 |
|
2734 |
+
#: lite/includes/classes/class-es-handle-subscription.php:584
|
2735 |
#: lite/public/class-email-subscribers-public.php:116
|
2736 |
msgid "Email Address already exists!"
|
2737 |
msgstr ""
|
2738 |
|
2739 |
+
#: lite/includes/classes/class-es-handle-subscription.php:585
|
2740 |
#: lite/public/class-email-subscribers-public.php:117
|
2741 |
msgid "Oops.. Unexpected error occurred."
|
2742 |
msgstr ""
|
2743 |
|
2744 |
+
#: lite/includes/classes/class-es-handle-subscription.php:586
|
2745 |
#: lite/public/class-email-subscribers-public.php:118
|
2746 |
msgid "Invalid email address"
|
2747 |
msgstr ""
|
2748 |
|
2749 |
+
#: lite/includes/classes/class-es-handle-subscription.php:587
|
2750 |
msgid "Invalid name"
|
2751 |
msgstr ""
|
2752 |
|
2753 |
+
#: lite/includes/classes/class-es-handle-subscription.php:588
|
2754 |
#: lite/public/class-email-subscribers-public.php:119
|
2755 |
msgid "Please try after some time"
|
2756 |
msgstr ""
|
2757 |
|
2758 |
+
#: lite/includes/classes/class-es-handle-subscription.php:589
|
2759 |
msgid "Oops...unable to add subscriber"
|
2760 |
msgstr ""
|
2761 |
|
2762 |
+
#: lite/includes/classes/class-es-handle-subscription.php:590
|
2763 |
msgid "You do not have permission to add subscriber"
|
2764 |
msgstr ""
|
2765 |
|
2766 |
+
#: lite/includes/classes/class-es-handle-subscription.php:591
|
2767 |
msgid "Please select the list"
|
2768 |
msgstr ""
|
2769 |
|
2770 |
+
#: lite/includes/classes/class-es-handle-subscription.php:592
|
2771 |
msgid "Invalid Captcha"
|
2772 |
msgstr ""
|
2773 |
|
5211 |
msgstr ""
|
5212 |
|
5213 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:421
|
5214 |
+
msgid "EU (Milan)"
|
5215 |
msgstr ""
|
5216 |
|
5217 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:422
|
5218 |
+
msgid "Asia Pacific (Mumbai)"
|
5219 |
msgstr ""
|
5220 |
|
5221 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:423
|
5222 |
+
msgid "Asia Pacific (Tokyo)"
|
5223 |
msgstr ""
|
5224 |
|
5225 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:424
|
5226 |
+
msgid "Asia Pacific (Seoul)"
|
5227 |
msgstr ""
|
5228 |
|
5229 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:425
|
5230 |
+
msgid "Asia Pacific (Singapore)"
|
5231 |
msgstr ""
|
5232 |
|
5233 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:426
|
5234 |
+
msgid "Asia Pacific (Sydney)"
|
5235 |
msgstr ""
|
5236 |
|
5237 |
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:427
|
5238 |
+
msgid "Canada (Central)"
|
5239 |
+
msgstr ""
|
5240 |
+
|
5241 |
+
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:428
|
5242 |
msgid "South America (São Paulo)"
|
5243 |
msgstr ""
|
5244 |
|
5245 |
+
#: pro/mailers/aws-ses/class-es-amazon-ses-mailer.php:429
|
5246 |
+
msgid "Africa (Cape Town)"
|
5247 |
+
msgstr ""
|
5248 |
+
|
5249 |
+
#: pro/mailers/aws-ses/php-aws-ses/SimpleEmailService.php:625
|
5250 |
msgid "Encountered an error, but no description given"
|
5251 |
msgstr ""
|
5252 |
|
5253 |
#. translators: 1. Error type 2. Error code 3. Error message 4. Request Id
|
5254 |
+
#: pro/mailers/aws-ses/php-aws-ses/SimpleEmailService.php:631
|
5255 |
msgid "%1$s - %2$s <br/>%3$s <br/>Request Id: %4$s"
|
5256 |
msgstr ""
|
5257 |
|
5258 |
#. translators: %s: Error message.
|
5259 |
+
#: pro/mailers/aws-ses/php-aws-ses/SimpleEmailService.php:635
|
5260 |
msgid "Encountered an error: %s"
|
5261 |
msgstr ""
|
5262 |
|
lite/public/class-email-subscribers-public.php
CHANGED
@@ -102,7 +102,7 @@ class Email_Subscribers_Public {
|
|
102 |
*/
|
103 |
|
104 |
|
105 |
-
wp_enqueue_script( $this->email_subscribers, plugin_dir_url( __FILE__ ) . 'js/email-subscribers-public.js', array( 'jquery' ), $this->version,
|
106 |
wp_register_script( 'ig-es-pre-data', plugin_dir_url( __FILE__ ) . 'js/icegram_messages_data.js', array(), $this->version, false );
|
107 |
wp_register_script( 'ig-es-popup-js', plugin_dir_url( __FILE__ ) . 'js/icegram.js', array( 'jquery' ), $this->version, false );
|
108 |
|
102 |
*/
|
103 |
|
104 |
|
105 |
+
wp_enqueue_script( $this->email_subscribers, plugin_dir_url( __FILE__ ) . 'js/email-subscribers-public.js', array( 'jquery' ), $this->version, true );
|
106 |
wp_register_script( 'ig-es-pre-data', plugin_dir_url( __FILE__ ) . 'js/icegram_messages_data.js', array(), $this->version, false );
|
107 |
wp_register_script( 'ig-es-popup-js', plugin_dir_url( __FILE__ ) . 'js/icegram.js', array( 'jquery' ), $this->version, false );
|
108 |
|
lite/public/js/email-subscribers-public.js
CHANGED
@@ -29,102 +29,106 @@
|
|
29 |
* practising this, we should strive to set a better example in our own work.
|
30 |
*/
|
31 |
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
|
|
|
|
|
|
|
|
123 |
|
124 |
|
125 |
return false;
|
126 |
}
|
127 |
-
|
128 |
// Compatibility of ES with IG
|
129 |
jQuery( window ).on( "init.icegram", function(e, ig) {
|
130 |
if(typeof ig !== 'undefined' && typeof ig.messages !== 'undefined' ) {
|
@@ -138,7 +142,7 @@
|
|
138 |
});
|
139 |
}
|
140 |
});
|
141 |
-
|
142 |
})(jQuery);
|
143 |
|
144 |
|
29 |
* practising this, we should strive to set a better example in our own work.
|
30 |
*/
|
31 |
|
32 |
+
$(document).ready(function () {
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Extend jQuery to convert form into JSON object
|
36 |
+
* @returns {{}}
|
37 |
+
*/
|
38 |
+
$.fn.serializeObject = function () {
|
39 |
+
var output = {};
|
40 |
+
var formData = this.serializeArray();
|
41 |
+
$.each(formData, function () {
|
42 |
+
var fieldName = this.name;
|
43 |
+
var fieldValue = this.value || '';
|
44 |
+
var isArrayField = fieldName.slice(-2) === '[]';
|
45 |
+
if (isArrayField) {
|
46 |
+
if (output[fieldName]) {
|
47 |
+
output[fieldName].push(fieldValue);
|
48 |
+
} else {
|
49 |
+
output[fieldName] = [fieldValue];
|
50 |
+
}
|
51 |
+
} else {
|
52 |
+
output[fieldName] = fieldValue;
|
53 |
+
}
|
54 |
+
});
|
55 |
+
return output;
|
56 |
+
};
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Handle subscription form submission
|
60 |
+
*/
|
61 |
+
$('.es_ajax_subscription_form').on('submit', function (e) {
|
62 |
+
var form = $(this);
|
63 |
+
e.preventDefault();
|
64 |
+
handleBindFunction(form);
|
65 |
+
});
|
66 |
+
|
67 |
+
});
|
68 |
+
|
69 |
+
function handleResponse(response, form) {
|
70 |
+
|
71 |
+
var status = response.status;
|
72 |
+
|
73 |
+
var message_class = 'success';
|
74 |
+
if (status === 'ERROR') {
|
75 |
+
message_class = 'error';
|
76 |
+
}
|
77 |
+
|
78 |
+
var responseText = response['message_text'];
|
79 |
+
var messageContainer = $(form).next('.es_subscription_message');
|
80 |
+
messageContainer.attr('class', 'es_subscription_message ' + message_class);
|
81 |
+
messageContainer.html(responseText);
|
82 |
+
var esSuccessEvent = {
|
83 |
+
detail: {
|
84 |
+
es_response: message_class,
|
85 |
+
msg: responseText
|
86 |
+
},
|
87 |
+
bubbles: true,
|
88 |
+
cancelable: true
|
89 |
+
};
|
90 |
+
|
91 |
+
$(form).trigger('es_response', [esSuccessEvent]);
|
92 |
+
}
|
93 |
+
|
94 |
+
function handleBindFunction(form, is_ig = false) {
|
95 |
+
form = $(form);
|
96 |
+
var formData = form.serializeObject();
|
97 |
+
formData['es'] = 'subscribe';
|
98 |
+
formData['action'] = 'es_add_subscriber';
|
99 |
+
$.ajax({
|
100 |
+
type: 'POST',
|
101 |
+
url: es_data.es_ajax_url,
|
102 |
+
data: formData,
|
103 |
+
dataType: 'json',
|
104 |
+
beforeSend: function () {
|
105 |
+
form.find('#spinner-image').show();
|
106 |
+
form.find('.es_submit_button').attr('disabled', true);
|
107 |
+
},
|
108 |
+
success: function (response) {
|
109 |
+
if (!is_ig) {
|
110 |
+
if (response && typeof response.status !== 'undefined' && response.status === "SUCCESS") {
|
111 |
+
form.slideUp('slow');
|
112 |
+
form.hide();
|
113 |
+
} else {
|
114 |
+
form.find('#spinner-image').hide();
|
115 |
+
}
|
116 |
+
}
|
117 |
+
form.find('.es_submit_button').attr('disabled', false);
|
118 |
+
jQuery(window).trigger('es.send_response', [form, response]);
|
119 |
+
handleResponse(response, form);
|
120 |
+
},
|
121 |
+
error: function (err) {
|
122 |
+
form.find('#spinner-image').hide();
|
123 |
+
form.find('.es_submit_button').attr('disabled', false);
|
124 |
+
console.log(err, 'error');
|
125 |
+
},
|
126 |
+
});
|
127 |
|
128 |
|
129 |
return false;
|
130 |
}
|
131 |
+
|
132 |
// Compatibility of ES with IG
|
133 |
jQuery( window ).on( "init.icegram", function(e, ig) {
|
134 |
if(typeof ig !== 'undefined' && typeof ig.messages !== 'undefined' ) {
|
142 |
});
|
143 |
}
|
144 |
});
|
145 |
+
|
146 |
})(jQuery);
|
147 |
|
148 |
|
lite/public/partials/class-es-shortcode.php
CHANGED
@@ -302,9 +302,11 @@ class ES_Shortcode {
|
|
302 |
$form_orig_html = $form_header_html;
|
303 |
// Don't show form if submission was successful.
|
304 |
if ( 'success' !== $message_class) {
|
305 |
-
$form_action_url
|
306 |
-
|
307 |
-
$
|
|
|
|
|
308 |
|
309 |
if ( '' != $desc ) {
|
310 |
$form_header_html .= '<div class="es_caption">' . $desc . '</div>';
|
@@ -421,6 +423,8 @@ class ES_Shortcode {
|
|
421 |
$list_contact_status_map = ES()->lists_contacts_db->get_list_contact_status_map( $contact_id );
|
422 |
}
|
423 |
|
|
|
|
|
424 |
foreach ( $lists as $list_id => $list_name ) {
|
425 |
if ( 0 != $i && 0 === ( $i % $columns ) ) {
|
426 |
$lists_html .= '</tr><tr>';
|
302 |
$form_orig_html = $form_header_html;
|
303 |
// Don't show form if submission was successful.
|
304 |
if ( 'success' !== $message_class) {
|
305 |
+
$form_action_url = ES_Common::get_current_request_url();
|
306 |
+
$enable_ajax_form_submission = get_option( 'ig_es_enable_ajax_form_submission', 'no' );
|
307 |
+
$extra_form_class = ( 'yes' == $enable_ajax_form_submission ) ? ' es_ajax_subscription_form' : '';
|
308 |
+
|
309 |
+
$form_header_html .= '<form action="' . $form_action_url . '#es_form_' . self::$form_identifier . '" method="post" class="es_subscription_form es_shortcode_form ' . esc_attr( $extra_form_class ) . '" id="es_subscription_form_' . $unique_id . '" data-source="ig-es" >';
|
310 |
|
311 |
if ( '' != $desc ) {
|
312 |
$form_header_html .= '<div class="es_caption">' . $desc . '</div>';
|
423 |
$list_contact_status_map = ES()->lists_contacts_db->get_list_contact_status_map( $contact_id );
|
424 |
}
|
425 |
|
426 |
+
$lists = apply_filters( 'ig_es_lists', $lists );
|
427 |
+
|
428 |
foreach ( $lists as $list_id => $list_name ) {
|
429 |
if ( 0 != $i && 0 === ( $i % $columns ) ) {
|
430 |
$lists_html .= '</tr><tr>';
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: email marketing, subscription, autoresponder, post notification, welcome e
|
|
6 |
Requires at least: 3.9
|
7 |
Tested up to: 5.9.1
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 5.3.
|
10 |
License: GPLv3
|
11 |
License URI: http://www.gnu.org/licenses
|
12 |
|
@@ -310,12 +310,20 @@ Refer [here](https://www.icegram.com/documentation/es-faq/).
|
|
310 |
|
311 |
== Upgrade Notice ==
|
312 |
|
313 |
-
= 5.3.
|
314 |
|
315 |
-
* New:
|
|
|
|
|
316 |
|
317 |
== Changelog ==
|
318 |
|
|
|
|
|
|
|
|
|
|
|
|
|
319 |
**5.3.4 (24.02.2022)**
|
320 |
|
321 |
* New: Integration of WooCommerce coupon in workflows [PRO]
|
6 |
Requires at least: 3.9
|
7 |
Tested up to: 5.9.1
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 5.3.5
|
10 |
License: GPLv3
|
11 |
License URI: http://www.gnu.org/licenses
|
12 |
|
310 |
|
311 |
== Upgrade Notice ==
|
312 |
|
313 |
+
= 5.3.5 =
|
314 |
|
315 |
+
* New: Added ajax option for submission of forms
|
316 |
+
* Fix: HTML Tags getting escaped from the form description
|
317 |
+
* Update: Added support for two new regions(AF South 1 and EU South 1) in Amazon SES [PRO]
|
318 |
|
319 |
== Changelog ==
|
320 |
|
321 |
+
**5.3.5 (02.03.2022)**
|
322 |
+
|
323 |
+
* New: Added ajax option for submission of forms
|
324 |
+
* Fix: HTML Tags getting escaped from the form description
|
325 |
+
* Update: Added support for two new regions(AF South 1 and EU South 1) in Amazon SES [PRO]
|
326 |
+
|
327 |
**5.3.4 (24.02.2022)**
|
328 |
|
329 |
* New: Integration of WooCommerce coupon in workflows [PRO]
|