Easy Forms for MailChimp - Version 6.3.2

Version Description

Download this release

Release Info

Developer yikesitskevin
Plugin Icon 128x128 Easy Forms for MailChimp
Version 6.3.2
Comparing to
See all releases

Code changes from version 6.3.1 to 6.3.2

admin/class-yikes-inc-easy-mailchimp-extender-admin.php CHANGED
@@ -2123,7 +2123,6 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
2123
  <table class="form-table form-field-container">
2124
  <!-- Default Value -->
2125
  <?php switch( $field['type'] ) {
2126
-
2127
  default:
2128
  case 'radio':
2129
  case 'checkboxes':
@@ -2149,7 +2148,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
2149
 
2150
  foreach( json_decode( $field['groups'], true ) as $id => $group ) {
2151
  $field_id = "{$field['group_id']}-{$id}";
2152
- $field_type = 'hidden' == $field['type'] ? 'radio' : $field['type'];
2153
  $field_type = 'checkboxes' == $field_type ? 'checkbox' : $field_type;
2154
  $field_name = "field[{$field['group_id']}][default_choice]";
2155
  $field_name = 'checkbox' == $field_type ? $field_name . '[]' : $field_name;
@@ -2158,12 +2157,12 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
2158
  $checked = '';
2159
  switch ( $field_type ) {
2160
  case 'radio':
2161
- case 'hidden':
2162
  default:
2163
  $checked = checked( $field['default_choice'], $id, false );
2164
  break;
2165
 
2166
  case 'checkbox':
 
2167
  if ( in_array( $id, (array) $field['default_choice'] ) ) {
2168
  $checked = checked( true, true, false );
2169
  }
2123
  <table class="form-table form-field-container">
2124
  <!-- Default Value -->
2125
  <?php switch( $field['type'] ) {
 
2126
  default:
2127
  case 'radio':
2128
  case 'checkboxes':
2148
 
2149
  foreach( json_decode( $field['groups'], true ) as $id => $group ) {
2150
  $field_id = "{$field['group_id']}-{$id}";
2151
+ $field_type = 'hidden' == $field['type'] ? 'checkbox' : $field['type'];
2152
  $field_type = 'checkboxes' == $field_type ? 'checkbox' : $field_type;
2153
  $field_name = "field[{$field['group_id']}][default_choice]";
2154
  $field_name = 'checkbox' == $field_type ? $field_name . '[]' : $field_name;
2157
  $checked = '';
2158
  switch ( $field_type ) {
2159
  case 'radio':
 
2160
  default:
2161
  $checked = checked( $field['default_choice'], $id, false );
2162
  break;
2163
 
2164
  case 'checkbox':
2165
+ case 'hidden':
2166
  if ( in_array( $id, (array) $field['default_choice'] ) ) {
2167
  $checked = checked( true, true, false );
2168
  }
admin/js/min/yikes-inc-easy-mailchimp-extender-admin.min.js CHANGED
@@ -1 +1 @@
1
- function YIKES_Easy_MC_SwitchForm(a){window.location.replace(object_data.admin_url+"admin.php?page=yikes-mailchimp-edit-form&id="+a)}function toggleOptinValue(a){"true"==a.value?jQuery(".yks-mailchimp-single-optin-message").slideUp("fast",function(){jQuery(".yks-mailchimp-double-optin-message").slideDown("fast")}):jQuery(".yks-mailchimp-double-optin-message").slideUp("fast",function(){jQuery(".yks-mailchimp-single-optin-message").slideDown("fast")})}function toggleDeleteSubscriberButton(a){a.prop("checked")?jQuery("#delete-mailchimp-subscriber").removeAttr("disabled"):jQuery("#delete-mailchimp-subscriber").attr("disabled","disabled")}function checkForInterestGroups(a,b,c){var d=a.parents("li").find(".interest-groups-container").children().length;if(0==d)a.parents("li").find(".interest-groups-container").append("<p>"+object_data.locating_interest_groups+'<span class="upgrading-ellipse-one">.</span><span class="upgrading-ellipse-two">.</span><span class="upgrading-ellipse-three">.</span><img class="search-interest-group-preloader" src="'+object_data.preloader_url+'" /></p>');else{var e=1;a.parents("li").find(".interest-groups-container").children().each(function(){jQuery(this).fadeOut("fast",function(){jQuery(this).remove(),e==d&&a.parents("li").find(".interest-groups-container").append("<p>"+object_data.locating_interest_groups+'<span class="upgrading-ellipse-one">.</span><span class="upgrading-ellipse-two">.</span><span class="upgrading-ellipse-three">.</span><img class="search-interest-group-preloader" src="'+object_data.preloader_url+'" /></p>'),console.log(e),e++})})}var f={action:"check_list_for_interest_groups",list_id:b,integration:c};jQuery.ajax({url:object_data.ajax_url,type:"POST",data:f,dataType:"html",success:function(b,c,d){setTimeout(function(){a.parents("li").find(".interest-groups-container").html(b)},500)},error:function(a,b,c){alert(b+a.status+a.responseText+"...")},complete:function(a,b){}}),console.log(b)}function shouldWeDisplayCustomURL(a){"custom_url"==jQuery(a).val()?jQuery(".custom_redirect_url_label").fadeIn():jQuery(".custom_redirect_url_label").fadeOut()}!function(a){"use strict";a(document).ready(function(){a("body").on("click",".view-yikes-mc-form-shortcode",function(){var a=jQuery(this);jQuery(this).parents("tr").find(".form-id-container").text();return a.parents("tr").find(".stat-container").toggleClass("hidden-class"),a.parents("tr").find(".shortcode").toggleClass("hidden-class"),a.toggleText(),!1}),a("body").on("click",".disabled",function(){return!1}),a("body").hasClass("admin_page_yikes-mailchimp-edit-form")||a(".show-some-love-container").css("max-height",jQuery(".show-some-love-container").height()),a("body").on("click",".about-yikes-inc-toggle",function(){if(jQuery(this).toggleText(),jQuery(".show-some-love-container").find("h3").toggleText(),jQuery(this).hasClass("show-yikes-some-love-toggle")){jQuery(this).removeClass("show-yikes-some-love-toggle");var a=jQuery(".show-some-love-container").find("h3").first().height()+24,b=jQuery("#review-yikes-easy-mc").height()+24,c=jQuery(".sidebar-footer-text").first().height()+12,d=jQuery(".sidebar-footer-text").last().height()+13,e=parseInt(a+b+c+d);return jQuery(".show-some-love-container").css("max-height",e),jQuery("#about-yikes-inc").fadeOut(720,function(){jQuery(".sidebar-footer-text").first().fadeIn(450),jQuery("#review-yikes-easy-mc").fadeIn(450)}),!1}jQuery(this).toggleClass("show-yikes-some-love-toggle");var a=jQuery(".show-some-love-container").find("h3").first().height()+24,f=jQuery("#about-yikes-inc").height()+18,d=jQuery(".sidebar-footer-text").last().height()+18,e=parseInt(a+f+d);return jQuery(".sidebar-footer-text").first().hide(),jQuery(".show-some-love-container").addClass("about-yikes-inc").css("max-height",e),jQuery("#about-yikes-inc").show().css("opacity",0),jQuery("#review-yikes-easy-mc").fadeOut("fast",function(){jQuery("#about-yikes-inc").fadeTo(800,1)}),!1}),a.fn.toggleText=function(){var a=this.data("alt-text");a&&(this.data("alt-text",this.html()),this.html(a))}})}(jQuery);
1
+ function YIKES_Easy_MC_SwitchForm(a){window.location.replace(object_data.admin_url+"admin.php?page=yikes-mailchimp-edit-form&id="+a)}function toggleOptinValue(a){"true"==a.value?jQuery(".yks-mailchimp-single-optin-message").slideUp("fast",function(){jQuery(".yks-mailchimp-double-optin-message").slideDown("fast")}):jQuery(".yks-mailchimp-double-optin-message").slideUp("fast",function(){jQuery(".yks-mailchimp-single-optin-message").slideDown("fast")})}function toggleDeleteSubscriberButton(a){a.prop("checked")?jQuery("#delete-mailchimp-subscriber").removeAttr("disabled"):jQuery("#delete-mailchimp-subscriber").attr("disabled","disabled")}function checkForInterestGroups(a,b,c){var d=a.parents("li").find(".interest-groups-container").children().length;if(0==d)a.parents("li").find(".interest-groups-container").append("<p>"+object_data.locating_interest_groups+'<span class="upgrading-ellipse-one">.</span><span class="upgrading-ellipse-two">.</span><span class="upgrading-ellipse-three">.</span><img class="search-interest-group-preloader" src="'+object_data.preloader_url+'" /></p>');else{var e=1;a.parents("li").find(".interest-groups-container").children().each(function(){jQuery(this).fadeOut("fast",function(){jQuery(this).remove(),e==d&&a.parents("li").find(".interest-groups-container").append("<p>"+object_data.locating_interest_groups+'<span class="upgrading-ellipse-one">.</span><span class="upgrading-ellipse-two">.</span><span class="upgrading-ellipse-three">.</span><img class="search-interest-group-preloader" src="'+object_data.preloader_url+'" /></p>'),console.log(e),e++})})}var f={action:"check_list_for_interest_groups",list_id:b,integration:c};jQuery.ajax({url:object_data.ajax_url,type:"POST",data:f,dataType:"html",success:function(b,c,d){setTimeout(function(){a.parents("li").find(".interest-groups-container").html(b)},500)},error:function(a,b,c){alert(b+a.status+a.responseText+"...")},complete:function(a,b){}}),console.log(b)}function shouldWeDisplayCustomURL(a){"custom_url"==jQuery(a).val()?jQuery(".custom_redirect_url_label").fadeIn():jQuery(".custom_redirect_url_label").fadeOut()}function show_custom_messages_based_on_optin_settings(){show_custom_resub_messages_based_on_optin_settings(),show_custom_success_messages_based_on_optin_settings()}function yikes_mc_hide_custom_resub_messages(){jQuery(".yikes-easy-mc-custom-messages-email-section, .yikes-easy-mc-custom-messages-email-section-help").fadeOut(),jQuery('label[for="yikes-easy-mc-user-resubscribed-success-message"], label[for="yikes-easy-mc-user-subscribed-message"], \r\t\t\tlabel[for="yikes-easy-mc-user-subscribed-update-link"]').hide(),jQuery(".yikes-easy-mc-user-resubscribed-success-message-help, .yikes-easy-mc-user-subscribed-message-help, \r\t\t\t.yikes-easy-mc-user-subscribed-update-link-help").hide()}function yikes_mc_hide_custom_optin_messages(){jQuery('label[for="yikes-easy-mc-success-single-optin-message"], label[for="yikes-easy-mc-success-message"]').hide(),jQuery(".yikes-easy-mc-success-single-optin-message-help, .yikes-easy-mc-success-message-help").hide()}function show_custom_resub_messages_based_on_optin_settings(){yikes_mc_hide_custom_resub_messages();var a=jQuery("#update-user").is(":checked"),b=jQuery("#update-email").is(":checked");a===!1&&jQuery('label[for="yikes-easy-mc-user-subscribed-message"], .yikes-easy-mc-user-subscribed-message-help').fadeIn(),a===!0&&b===!0&&jQuery('label[for="yikes-easy-mc-user-subscribed-update-link"], .yikes-easy-mc-custom-messages-email-section, \r\t\t\t\t.yikes-easy-mc-user-subscribed-update-link-help, .yikes-easy-mc-custom-messages-email-section-help').fadeIn(),a===!0&&b===!1&&jQuery('label[for="yikes-easy-mc-user-resubscribed-success-message"], .yikes-easy-mc-user-resubscribed-success-message-help').fadeIn()}function show_custom_success_messages_based_on_optin_settings(){yikes_mc_hide_custom_optin_messages();var a=jQuery("#single").is(":checked");a===!0?jQuery('label[for="yikes-easy-mc-success-single-optin-message"], .yikes-easy-mc-success-single-optin-message-help ').fadeIn():jQuery('label[for="yikes-easy-mc-success-message"], .yikes-easy-mc-success-message-help').fadeIn()}!function(a){"use strict";a(document).ready(function(){show_custom_messages_based_on_optin_settings(),a('input[name="update-existing-user"]').change(show_custom_resub_messages_based_on_optin_settings),a('input[name="update-existing-email"]').change(show_custom_resub_messages_based_on_optin_settings),a('input[name="single-double-optin"]').change(show_custom_success_messages_based_on_optin_settings),a("body").on("click",".view-yikes-mc-form-shortcode",function(){var a=jQuery(this);jQuery(this).parents("tr").find(".form-id-container").text();return a.parents("tr").find(".stat-container").toggleClass("hidden-class"),a.parents("tr").find(".shortcode").toggleClass("hidden-class"),a.toggleText(),!1}),a("body").on("click",".disabled",function(){return!1}),a("body").hasClass("admin_page_yikes-mailchimp-edit-form")||a(".show-some-love-container").css("max-height",jQuery(".show-some-love-container").height()),a("body").on("click",".about-yikes-inc-toggle",function(){if(jQuery(this).toggleText(),jQuery(".show-some-love-container").find("h3").toggleText(),jQuery(this).hasClass("show-yikes-some-love-toggle")){jQuery(this).removeClass("show-yikes-some-love-toggle");var a=jQuery(".show-some-love-container").find("h3").first().height()+24,b=jQuery("#review-yikes-easy-mc").height()+24,c=jQuery(".sidebar-footer-text").first().height()+12,d=jQuery(".sidebar-footer-text").last().height()+13,e=parseInt(a+b+c+d);return jQuery(".show-some-love-container").css("max-height",e),jQuery("#about-yikes-inc").fadeOut(720,function(){jQuery(".sidebar-footer-text").first().fadeIn(450),jQuery("#review-yikes-easy-mc").fadeIn(450)}),!1}jQuery(this).toggleClass("show-yikes-some-love-toggle");var a=jQuery(".show-some-love-container").find("h3").first().height()+24,f=jQuery("#about-yikes-inc").height()+18,d=jQuery(".sidebar-footer-text").last().height()+18,e=parseInt(a+f+d);return jQuery(".sidebar-footer-text").first().hide(),jQuery(".show-some-love-container").addClass("about-yikes-inc").css("max-height",e),jQuery("#about-yikes-inc").show().css("opacity",0),jQuery("#review-yikes-easy-mc").fadeOut("fast",function(){jQuery("#about-yikes-inc").fadeTo(800,1)}),!1}),a.fn.toggleText=function(){var a=this.data("alt-text");a&&(this.data("alt-text",this.html()),this.html(a))}})}(jQuery);
admin/js/yikes-inc-easy-mailchimp-extender-admin.js CHANGED
@@ -1 +1 @@
1
- (function( $ ) {
1
+ (function( $ ) {
admin/partials/dashboard-widgets/templates/stats-list-template.php CHANGED
@@ -1,16 +1,34 @@
1
  <?php
2
  /* The template file for displaying our stats in the Admin dashboard widget */
3
 
4
- if ( isset( $list_data ) && isset( $list_data['id'] ) ) {
 
5
 
6
  // When a user selects a list from the dropdown, capture the array value here
7
  $list = $list_data;
8
- } else {
9
 
10
- // On initial page load, we grab all of the lists
11
- // So we need to default to the first item in the list
12
- $list = $list_data[ array_keys( $list_data )[0] ];
 
 
 
 
 
 
 
 
 
 
 
13
  }
 
 
 
 
 
 
14
  ?>
15
  <section id="yikes-easy-mc-widget-stat-holder">
16
  <h3><?php echo $list['name']; ?> <small><a href="<?php echo esc_url_raw( admin_url( 'admin.php?page=yikes-mailchimp-view-list&list-id=' . $list['id'] . '' ) ); ?>" title="<?php _e( 'view List' , 'yikes-inc-easy-mailchimp-extender' ); ?>"><?php _e( 'view list' , 'yikes-inc-easy-mailchimp-extender' ); ?></a></small></h3>
1
  <?php
2
  /* The template file for displaying our stats in the Admin dashboard widget */
3
 
4
+ if ( isset( $list_data ) ) {
5
+ if ( isset( $list_data['id'] ) ) {
6
 
7
  // When a user selects a list from the dropdown, capture the array value here
8
  $list = $list_data;
9
+ } else {
10
 
11
+ // On initial page load, we grab all of the lists and we need to default to the first item in the list
12
+
13
+ // Get the list IDs, capture the first list ID
14
+ $first_list_id = '';
15
+ $list_ids = array_keys( $list_data );
16
+ if ( is_array( $list_ids ) && isset( $list_ids[0] ) ) {
17
+ $first_list_id = $list_ids[0];
18
+ }
19
+
20
+ // Set our $list value to the first list in the list_data array
21
+ if ( isset( $list_data[ $first_list_id ] ) && is_array( $list_data[ $first_list_id ] ) && isset( $list_data[ $first_list_id ]['id'] ) ) {
22
+ $list = $list_data[ $first_list_id ];
23
+ }
24
+ }
25
  }
26
+
27
+ // Make sure we have our variables before continuing
28
+ if ( empty( $list_data ) || empty( $list ) ) {
29
+ return;
30
+ }
31
+
32
  ?>
33
  <section id="yikes-easy-mc-widget-stat-holder">
34
  <h3><?php echo $list['name']; ?> <small><a href="<?php echo esc_url_raw( admin_url( 'admin.php?page=yikes-mailchimp-view-list&list-id=' . $list['id'] . '' ) ); ?>" title="<?php _e( 'view List' , 'yikes-inc-easy-mailchimp-extender' ); ?>"><?php _e( 'view list' , 'yikes-inc-easy-mailchimp-extender' ); ?></a></small></h3>
admin/partials/edit-form.php CHANGED
@@ -553,7 +553,7 @@
553
  );
554
  $global_error_messages = get_option( 'yikes-easy-mc-global-error-messages' , $error_message_array );
555
  ?>
556
- <p class="edit-form-description"><?php _e( "Customize the response messages for this form. Leave the field blank to use the default message. The messages applicable to this form depend on the Opt-in Settings chosen." , 'yikes-inc-easy-mailchimp-extender' ); ?></p>
557
 
558
  <!-- Success Message (refactored @ 6.3.0 for double optin) -->
559
  <label for="yikes-easy-mc-success-message"><strong><?php _e( 'Success: Double opt-in' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
@@ -583,18 +583,20 @@
583
  <!-- Email Section -->
584
 
585
  <hr>
586
- <p class="edit-form-description"><?php _e( 'Customize the profile verification email sent to re-subscribers. Leave the text unedited to use the default message. This email is used if you have "Update Existing Subscriber" set to Yes and "Send Update Email" set to Yes.' , 'yikes-inc-easy-mailchimp-extender' ); ?></p>
587
- <!-- Email Subject -->
588
- <label for="yikes-easy-mc-user-email-subject"><strong><?php _e( 'Email Subject' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
589
- <input type="text" class="widefat" name="yikes-easy-mc-user-email-subject" id="yikes-easy-mc-user-email-subject" value="<?php echo isset( $error_messages['email-subject'] ) ? stripslashes( esc_html( $error_messages['email-subject'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['email-subject']; ?>">
590
- </label>
591
- <!-- Email Body -->
592
- <label for="yikes-easy-mc-user-email-body"><strong><?php _e( 'Email Body' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
593
- <?php
594
- $editor_content = ( isset( $error_messages['email-body'] ) && ! empty( $error_messages['email-body'] ) ) ? $error_messages['email-body'] : Yikes_Inc_Easy_Mailchimp_Forms_Admin::generate_default_email_body();
595
- wp_editor( $editor_content, 'yikes-easy-mc-user-email-body', array( 'textarea_id' => 'yikes-easy-mc-user-email-body' ) );
596
- ?>
597
- </label>
 
 
598
  </div>
599
 
600
  <!-- .inside -->
@@ -605,31 +607,31 @@
605
  </div>
606
  <!-- post-body-content -->
607
  <!-- sidebar -->
608
- <div id="postbox-container-1" class="postbox-container">
609
  <div class="meta-box-sortables">
610
  <div class="postbox yikes-easy-mc-postbox">
611
  <h3 class="edit-form-title"><span><?php _e( "Custom Message Help" , 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
612
  <div class="inside">
613
  <ul>
614
- <li><strong><?php _e( 'Success: Double opt-in' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed after a double opt-in form has been submitted.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
615
- <li><strong><?php _e( 'Success Message: Single opt-in' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed after a single opt-in form has been submitted.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
616
- <li><strong><?php _e( 'Success: Re-subscriber' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed after a form has been submitted if you have "Update Existing Subscriber" set to Yes and "Send Update Email" set to No.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
617
- <li><strong><?php _e( 'Success: Re-subscriber with link to email profile update message' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed after a form has been submitted if you have "Update Existing Subscriber" set to Yes and "Send Update Email" set to Yes. Wrap the text you want to be the link in <code>[link][/link]</code> tags.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
618
- <li><strong><?php _e( 'Error: Re-subscribers not permitted' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed after an current subscriber tries to submit a form that has "Update Existing Subscriber" set to No. You can display the user\'s email in the message using an <code>[email]</code> tag.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
619
- <li><strong><?php _e( 'Error: General' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed if an form error has occurred.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
620
  </ul>
621
 
622
  </div>
623
  <!-- .inside -->
624
  </div>
625
 
626
- <div class="postbox yikes-easy-mc-postbox">
627
  <h3 class="edit-form-title"><span><?php _e( "Email Message Help" , 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
628
  <div class="inside">
629
 
630
  <ul>
631
- <li><strong><?php _e( 'Email Subject' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The subject of the email sent to the user.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
632
- <li><strong><?php _e( 'Email Body' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php echo sprintf( __( 'The text in the profile update verification email sent to the subscriber. Wrap the text you want to be the link in <code>[link][/link]</code> tags. The link is required in the email, please don\'t leave these tags out. You can also use <code>[url]</code> tag to display your website\'s URL (e.g. %s).', 'yikes-inc-easy-mailchimp-extender' ), get_home_url() ); ?></li>
633
  </ul>
634
 
635
  </div>
553
  );
554
  $global_error_messages = get_option( 'yikes-easy-mc-global-error-messages' , $error_message_array );
555
  ?>
556
+ <p class="edit-form-description"><?php _e( "Customize the response messages for this form. Leave the field blank to use the default message. The messages shown below depend on the Opt-in Settings chosen." , 'yikes-inc-easy-mailchimp-extender' ); ?></p>
557
 
558
  <!-- Success Message (refactored @ 6.3.0 for double optin) -->
559
  <label for="yikes-easy-mc-success-message"><strong><?php _e( 'Success: Double opt-in' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
583
  <!-- Email Section -->
584
 
585
  <hr>
586
+ <div class="yikes-easy-mc-custom-messages-email-section">
587
+ <p class="edit-form-description"><?php _e( 'Customize the profile verification email sent to re-subscribers. Leave the text unedited to use the default message.' , 'yikes-inc-easy-mailchimp-extender' ); ?></p>
588
+ <!-- Email Subject -->
589
+ <label for="yikes-easy-mc-user-email-subject"><strong><?php _e( 'Email Subject' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
590
+ <input type="text" class="widefat" name="yikes-easy-mc-user-email-subject" id="yikes-easy-mc-user-email-subject" value="<?php echo isset( $error_messages['email-subject'] ) ? stripslashes( esc_html( $error_messages['email-subject'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['email-subject']; ?>">
591
+ </label>
592
+ <!-- Email Body -->
593
+ <label for="yikes-easy-mc-user-email-body"><strong><?php _e( 'Email Body' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
594
+ <?php
595
+ $editor_content = ( isset( $error_messages['email-body'] ) && ! empty( $error_messages['email-body'] ) ) ? $error_messages['email-body'] : Yikes_Inc_Easy_Mailchimp_Forms_Admin::generate_default_email_body();
596
+ wp_editor( $editor_content, 'yikes-easy-mc-user-email-body', array( 'textarea_id' => 'yikes-easy-mc-user-email-body' ) );
597
+ ?>
598
+ </label>
599
+ </div>
600
  </div>
601
 
602
  <!-- .inside -->
607
  </div>
608
  <!-- post-body-content -->
609
  <!-- sidebar -->
610
+ <div id="postbox-container-1" class="postbox-container yikes-easy-mc-custom-messages-section-help">
611
  <div class="meta-box-sortables">
612
  <div class="postbox yikes-easy-mc-postbox">
613
  <h3 class="edit-form-title"><span><?php _e( "Custom Message Help" , 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
614
  <div class="inside">
615
  <ul>
616
+ <li class="yikes-easy-mc-success-message-help"><strong><?php _e( 'Success: Double opt-in' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed after a double opt-in form has been submitted.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
617
+ <li class="yikes-easy-mc-success-single-optin-message-help"><strong><?php _e( 'Success Message: Single opt-in' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed after a single opt-in form has been submitted.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
618
+ <li class="yikes-easy-mc-user-resubscribed-success-message-help"><strong><?php _e( 'Success: Re-subscriber' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed after a subscriber submits a form for a list they are already subscribed to.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
619
+ <li class="yikes-easy-mc-user-subscribed-update-link-help"><strong><?php _e( 'Success: Re-subscriber with link to email profile update message' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed after a subscriber submits a form for a list they are already subscribed to. Wrap the text you want to be the link in <code>[link][/link]</code> tags.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
620
+ <li class="yikes-easy-mc-user-subscribed-message-help"><strong><?php _e( 'Error: Re-subscribers not permitted' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed after a subscriber tries to join a list they are already subscribed to. You can display the user\'s email in the message using an <code>[email]</code> tag.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
621
+ <li class="yikes-easy-mc-general-error-message-help"><strong><?php _e( 'Error: General' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The message displayed if a form error has occurred.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
622
  </ul>
623
 
624
  </div>
625
  <!-- .inside -->
626
  </div>
627
 
628
+ <div class="postbox yikes-easy-mc-postbox yikes-easy-mc-custom-messages-email-section-help">
629
  <h3 class="edit-form-title"><span><?php _e( "Email Message Help" , 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
630
  <div class="inside">
631
 
632
  <ul>
633
+ <li class="yikes-easy-mc-user-email-subject-help"><strong><?php _e( 'Email Subject' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php _e( 'The subject of the email sent to the user.' , 'yikes-inc-easy-mailchimp-extender' ); ?></li>
634
+ <li class="yikes-easy-mc-user-email-body-help"><strong><?php _e( 'Email Body' , 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php echo sprintf( __( 'The text in the profile update verification email sent to the subscriber. Wrap the text you want to be the link in <code>[link][/link]</code> tags. The link is required in the email, please don\'t leave these tags out. You can also use <code>[url]</code> tag to display your website\'s URL (e.g. %s).', 'yikes-inc-easy-mailchimp-extender' ), get_home_url() ); ?></li>
635
  </ul>
636
 
637
  </div>
languages/yikes-inc-easy-mailchimp-extender.pot CHANGED
@@ -6,9 +6,9 @@
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: yikes-inc-easy-mailchimp-extender 6.3.1\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2017-01-18 13:54+0000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -41,14 +41,14 @@ msgstr ""
41
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:385
42
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:407
43
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:427
44
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2492
45
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2527
46
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2547
47
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2580
48
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2614
49
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2750
50
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2772
51
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2796
52
  msgid ""
53
  "We've run into an error. The security check didn't pass. Please try again."
54
  msgstr ""
@@ -56,13 +56,13 @@ msgstr ""
56
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:385
57
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:407
58
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:427
59
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2527
60
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2547
61
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2580
62
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2615
63
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2750
64
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2772
65
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2796
66
  msgid "Failed nonce validation"
67
  msgstr ""
68
 
@@ -234,7 +234,7 @@ msgstr ""
234
 
235
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1006
236
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1007
237
- #: admin/partials/edit-form.php:714 admin/partials/view-user.php:119
238
  msgid "View List"
239
  msgstr ""
240
 
@@ -393,7 +393,7 @@ msgid "Form Description"
393
  msgstr ""
394
 
395
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1531
396
- #: admin/partials/edit-form.php:696
397
  #: admin/partials/menu/options-sections/integration-settings.php:142
398
  msgid "Associated List"
399
  msgstr ""
@@ -567,8 +567,8 @@ msgstr ""
567
 
568
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1902
569
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1932
570
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2134
571
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2194
572
  #: admin/partials/ajax/add_field_to_form.php:167
573
  #: admin/partials/ajax/add_field_to_form.php:193
574
  #: admin/partials/ajax/add_interest_group_to_form.php:89
@@ -578,7 +578,7 @@ msgid "Default Selection"
578
  msgstr ""
579
 
580
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1920
581
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2182
582
  #: admin/partials/ajax/add_field_to_form.php:181
583
  #: admin/partials/ajax/add_interest_group_to_form.php:102
584
  #: admin/partials/ajax/add_interest_group_to_form.php:126
@@ -586,14 +586,14 @@ msgid "Select the option that should be selected by default."
586
  msgstr ""
587
 
588
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1941
589
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2203
590
  #: admin/partials/ajax/add_field_to_form.php:204
591
  #: admin/partials/ajax/add_interest_group_to_form.php:151
592
  msgid "Which option should be selected by default?"
593
  msgstr ""
594
 
595
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1961
596
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2217
597
  #: admin/partials/ajax/add_field_to_form.php:218
598
  #: admin/partials/ajax/add_interest_group_to_form.php:163
599
  msgid "Description"
@@ -607,14 +607,14 @@ msgid ""
607
  msgstr ""
608
 
609
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1973
610
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2230
611
  #: admin/partials/ajax/add_field_to_form.php:230
612
  #: admin/partials/ajax/add_interest_group_to_form.php:176
613
  msgid "Additional Classes"
614
  msgstr ""
615
 
616
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1978
617
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2235
618
  #: admin/partials/ajax/add_field_to_form.php:235
619
  #: admin/partials/ajax/add_interest_group_to_form.php:181
620
  #, php-format
@@ -622,14 +622,14 @@ msgid "Assign additional classes to this field. %s."
622
  msgstr ""
623
 
624
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1978
625
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2235
626
  #: admin/partials/ajax/add_field_to_form.php:235
627
  #: admin/partials/ajax/add_interest_group_to_form.php:181
628
  msgid "View bundled classes"
629
  msgstr ""
630
 
631
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1985
632
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2242
633
  #: admin/partials/ajax/add_field_to_form.php:242
634
  #: admin/partials/ajax/add_interest_group_to_form.php:188
635
  msgid "Field Required?"
@@ -641,14 +641,14 @@ msgid "Email is a required field."
641
  msgstr ""
642
 
643
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1991
644
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2248
645
  #: admin/partials/ajax/add_field_to_form.php:247
646
  #: admin/partials/ajax/add_interest_group_to_form.php:193
647
  msgid "Require this field to be filled in before the form can be submitted."
648
  msgstr ""
649
 
650
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1998
651
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2255
652
  #: admin/partials/ajax/add_field_to_form.php:254
653
  #: admin/partials/ajax/add_interest_group_to_form.php:200
654
  msgid "Hide Field"
@@ -660,21 +660,21 @@ msgid "Cannot toggle email field visibility."
660
  msgstr ""
661
 
662
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2004
663
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2261
664
  #: admin/partials/ajax/add_field_to_form.php:259
665
  #: admin/partials/ajax/add_interest_group_to_form.php:205
666
  msgid "Hide this field from being displayed on the front end."
667
  msgstr ""
668
 
669
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2011
670
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2268
671
  #: admin/partials/ajax/add_field_to_form.php:266
672
  #: admin/partials/ajax/add_interest_group_to_form.php:212
673
  msgid "Hide Label"
674
  msgstr ""
675
 
676
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2017
677
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2274
678
  #: admin/partials/ajax/add_field_to_form.php:271
679
  #: admin/partials/ajax/add_interest_group_to_form.php:217
680
  msgid "Toggle field label visibility."
@@ -707,14 +707,14 @@ msgid ""
707
  msgstr ""
708
 
709
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2080
710
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2284
711
  #: admin/partials/ajax/add_field_to_form.php:334
712
  #: admin/partials/ajax/add_interest_group_to_form.php:227
713
  msgid "Close"
714
  msgstr ""
715
 
716
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2081
717
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2285
718
  #: admin/partials/ajax/add_field_to_form.php:335
719
  #: admin/partials/ajax/add_interest_group_to_form.php:228
720
  msgid "Remove Field"
@@ -726,7 +726,7 @@ msgid ""
726
  "prevent issues on the front end."
727
  msgstr ""
728
 
729
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2222
730
  #: admin/partials/ajax/add_field_to_form.php:223
731
  #: admin/partials/ajax/add_interest_group_to_form.php:168
732
  msgid ""
@@ -734,139 +734,139 @@ msgid ""
734
  "and provide some direction on how the field should be filled out or selected."
735
  msgstr ""
736
 
737
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2299
738
  msgid ""
739
  "No fields are assigned to this form. Select fields from the right hand "
740
  "column to add to this form."
741
  msgstr ""
742
 
 
743
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2310
744
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2311
745
  msgid "Page Title"
746
  msgstr ""
747
 
748
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2310
749
  msgid ""
750
  "Pre-populate the field with the current page or post title that the user is "
751
  "on when opting in to your mailing list."
752
  msgstr ""
753
 
 
754
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2315
755
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2316
756
  msgid "Page ID"
757
  msgstr ""
758
 
759
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2315
760
  msgid ""
761
  "Pre-populate the field with the current page or post ID that the user is on "
762
  "when opting in to your mailing list."
763
  msgstr ""
764
 
 
765
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2320
766
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2321
767
  msgid "Page URL"
768
  msgstr ""
769
 
770
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2320
771
  msgid ""
772
  "Pre-populate the field with the current page URL that the user is on when "
773
  "opting in to your mailing list."
774
  msgstr ""
775
 
 
776
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2325
777
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2326
778
  msgid "Blog Name"
779
  msgstr ""
780
 
781
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2325
782
  msgid ""
783
  "Pre-populate the field with the current blog name that the user is on when "
784
  "opting in to your mailing list. This is especially helpful for multi-site "
785
  "networks."
786
  msgstr ""
787
 
 
788
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2330
789
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2331
790
  msgid "User Logged In"
791
  msgstr ""
792
 
793
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2330
794
  msgid ""
795
  "Detects if a user is logged in and pre-populates the field with an "
796
  "appropriate value."
797
  msgstr ""
798
 
799
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2358
800
  msgid "Pre Defined Tags"
801
  msgstr ""
802
 
803
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2359
804
  msgid ""
805
  "You can use any of the following tags to populate a MailChimp text field "
806
  "with dynamic content. This can be used to determine which page the user "
807
  "signed up on, if the user was logged in and more."
808
  msgstr ""
809
 
810
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2403
811
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2461
812
  msgid "Already assigned to your form"
813
  msgstr ""
814
 
815
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2407
816
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2421
817
  msgid "required field"
818
  msgstr ""
819
 
820
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2431
821
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2476
822
  msgid "Add to Form Builder"
823
  msgstr ""
824
 
 
825
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2506
826
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2507
827
  msgid "Error creating a new form"
828
  msgstr ""
829
 
830
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2506
831
  msgid "Creating a new form"
832
  msgstr ""
833
 
834
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2506
835
  #: admin/partials/welcome-page/welcome-sections/getting-started-section.php:15
836
  msgid "Forms"
837
  msgstr ""
838
 
839
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2721
840
  msgid "Greetings,"
841
  msgstr ""
842
 
843
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2724
844
  msgid ""
845
  "A request has been made to update your MailChimp account profile information."
846
  msgstr ""
847
 
848
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2725
849
  msgid " To do so please use the following link: "
850
  msgstr ""
851
 
852
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2727
853
  msgid "Update MailChimp Profile Info"
854
  msgstr ""
855
 
856
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2731
857
  msgid "If you did not request this update, please disregard this email."
858
  msgstr ""
859
 
860
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2734
861
  #, php-format
862
  msgid "This email was sent from: %s"
863
  msgstr ""
864
 
865
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2758
866
  msgid "Unsubscribe User"
867
  msgstr ""
868
 
869
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2759
870
  msgid "Manage List Page"
871
  msgstr ""
872
 
@@ -967,59 +967,59 @@ msgstr ""
967
  msgid "Message"
968
  msgstr ""
969
 
970
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:16
971
  msgid "view List"
972
  msgstr ""
973
 
974
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:16
975
  msgid "view list"
976
  msgstr ""
977
 
978
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:21
979
  msgid "Subscribers"
980
  msgstr ""
981
 
982
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:22
983
  msgid "Unsubscribed"
984
  msgstr ""
985
 
986
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:23
987
  msgid "New Since Send"
988
  msgstr ""
989
 
990
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:24
991
  msgid "Avg. Sub. Rate"
992
  msgstr ""
993
 
994
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:29
995
  msgid "Number of active subscribers."
996
  msgstr ""
997
 
998
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:31
999
  msgid "subscribers"
1000
  msgstr ""
1001
 
1002
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:33
1003
  msgid "Number of users who have unsusbscribed."
1004
  msgstr ""
1005
 
1006
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:35
1007
  msgid "unsubscribed"
1008
  msgstr ""
1009
 
1010
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:39
1011
  msgid "Number of new subscribers since the last campaign was sent."
1012
  msgstr ""
1013
 
1014
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:41
1015
  msgid "new since send"
1016
  msgstr ""
1017
 
1018
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:43
1019
  msgid "Average number of subscribers per month."
1020
  msgstr ""
1021
 
1022
- #: admin/partials/dashboard-widgets/templates/stats-list-template.php:45
1023
  msgid "avg. sub. rate"
1024
  msgstr ""
1025
 
@@ -1134,7 +1134,7 @@ msgstr ""
1134
  msgid "Form Builder"
1135
  msgstr ""
1136
 
1137
- #: admin/partials/edit-form.php:185 admin/partials/edit-form.php:671
1138
  msgid "Form Settings"
1139
  msgstr ""
1140
 
@@ -1156,7 +1156,7 @@ msgstr ""
1156
  msgid "Clear Form Fields"
1157
  msgstr ""
1158
 
1159
- #: admin/partials/edit-form.php:226 admin/partials/edit-form.php:854
1160
  msgid "Update Form"
1161
  msgstr ""
1162
 
@@ -1468,11 +1468,11 @@ msgstr ""
1468
  #: admin/partials/edit-form.php:556
1469
  msgid ""
1470
  "Customize the response messages for this form. Leave the field blank to use "
1471
- "the default message. The messages applicable to this form depend on the Opt-"
1472
- "in Settings chosen."
1473
  msgstr ""
1474
 
1475
- #: admin/partials/edit-form.php:559 admin/partials/edit-form.php:614
1476
  msgid "Success: Double opt-in"
1477
  msgstr ""
1478
 
@@ -1480,87 +1480,85 @@ msgstr ""
1480
  msgid "Success: Single opt-in"
1481
  msgstr ""
1482
 
1483
- #: admin/partials/edit-form.php:567 admin/partials/edit-form.php:616
1484
  msgid "Success: Re-subscriber"
1485
  msgstr ""
1486
 
1487
- #: admin/partials/edit-form.php:571 admin/partials/edit-form.php:617
1488
  msgid "Success: Re-subscriber with link to email profile update message"
1489
  msgstr ""
1490
 
1491
- #: admin/partials/edit-form.php:575 admin/partials/edit-form.php:618
1492
  msgid "Error: Re-subscribers not permitted"
1493
  msgstr ""
1494
 
1495
- #: admin/partials/edit-form.php:579 admin/partials/edit-form.php:619
1496
  msgid "Error: General"
1497
  msgstr ""
1498
 
1499
- #: admin/partials/edit-form.php:586
1500
  msgid ""
1501
  "Customize the profile verification email sent to re-subscribers. Leave the "
1502
- "text unedited to use the default message. This email is used if you have "
1503
- "\"Update Existing Subscriber\" set to Yes and \"Send Update Email\" set to "
1504
- "Yes."
1505
  msgstr ""
1506
 
1507
- #: admin/partials/edit-form.php:588 admin/partials/edit-form.php:631
1508
  msgid "Email Subject"
1509
  msgstr ""
1510
 
1511
- #: admin/partials/edit-form.php:592 admin/partials/edit-form.php:632
1512
  msgid "Email Body"
1513
  msgstr ""
1514
 
1515
- #: admin/partials/edit-form.php:611
1516
  msgid "Custom Message Help"
1517
  msgstr ""
1518
 
1519
- #: admin/partials/edit-form.php:614
1520
  msgid "The message displayed after a double opt-in form has been submitted."
1521
  msgstr ""
1522
 
1523
- #: admin/partials/edit-form.php:615
1524
  msgid "Success Message: Single opt-in"
1525
  msgstr ""
1526
 
1527
- #: admin/partials/edit-form.php:615
1528
  msgid "The message displayed after a single opt-in form has been submitted."
1529
  msgstr ""
1530
 
1531
- #: admin/partials/edit-form.php:616
1532
  msgid ""
1533
- "The message displayed after a form has been submitted if you have \"Update "
1534
- "Existing Subscriber\" set to Yes and \"Send Update Email\" set to No."
1535
  msgstr ""
1536
 
1537
- #: admin/partials/edit-form.php:617
1538
  msgid ""
1539
- "The message displayed after a form has been submitted if you have \"Update "
1540
- "Existing Subscriber\" set to Yes and \"Send Update Email\" set to Yes. Wrap "
1541
- "the text you want to be the link in <code>[link][/link]</code> tags."
1542
  msgstr ""
1543
 
1544
- #: admin/partials/edit-form.php:618
1545
  msgid ""
1546
- "The message displayed after an current subscriber tries to submit a form "
1547
- "that has \"Update Existing Subscriber\" set to No. You can display the "
1548
- "user's email in the message using an <code>[email]</code> tag."
1549
  msgstr ""
1550
 
1551
- #: admin/partials/edit-form.php:619
1552
- msgid "The message displayed if an form error has occurred."
1553
  msgstr ""
1554
 
1555
- #: admin/partials/edit-form.php:627
1556
  msgid "Email Message Help"
1557
  msgstr ""
1558
 
1559
- #: admin/partials/edit-form.php:631
1560
  msgid "The subject of the email sent to the user."
1561
  msgstr ""
1562
 
1563
- #: admin/partials/edit-form.php:632
1564
  #, php-format
1565
  msgid ""
1566
  "The text in the profile update verification email sent to the subscriber. "
@@ -1569,70 +1567,70 @@ msgid ""
1569
  "can also use <code>[url]</code> tag to display your website's URL (e.g. %s)."
1570
  msgstr ""
1571
 
1572
- #: admin/partials/edit-form.php:675
1573
  msgid "Edit Another Form"
1574
  msgstr ""
1575
 
1576
- #: admin/partials/edit-form.php:685 admin/partials/menu/manage-forms.php:147
1577
  msgid "Shortcode"
1578
  msgstr ""
1579
 
1580
- #: admin/partials/edit-form.php:692
1581
  msgid "Associated List Settings"
1582
  msgstr ""
1583
 
1584
- #: admin/partials/edit-form.php:707
1585
  msgid "No Lists Found"
1586
  msgstr ""
1587
 
1588
- #: admin/partials/edit-form.php:717
1589
  msgid ""
1590
  "Users who sign up via this form will be added to the list selected above."
1591
  msgstr ""
1592
 
1593
- #: admin/partials/edit-form.php:721
1594
  msgid ""
1595
  "It looks like you first need to create a list to assign this form to. Head "
1596
  "over to"
1597
  msgstr ""
1598
 
1599
- #: admin/partials/edit-form.php:721
1600
  msgid "Create a new list"
1601
  msgstr ""
1602
 
1603
- #: admin/partials/edit-form.php:721
1604
  msgid "to create your first list"
1605
  msgstr ""
1606
 
1607
- #: admin/partials/edit-form.php:728
1608
  msgid "Opt-in Settings"
1609
  msgstr ""
1610
 
1611
- #: admin/partials/edit-form.php:738
1612
  msgid "Single or Double Opt-in"
1613
  msgstr ""
1614
 
1615
- #: admin/partials/edit-form.php:740
1616
  msgid "Single"
1617
  msgstr ""
1618
 
1619
- #: admin/partials/edit-form.php:741
1620
  msgid "Double"
1621
  msgstr ""
1622
 
1623
- #: admin/partials/edit-form.php:743
1624
  msgid ""
1625
  "Double opt-in requires users to confirm their email address before being "
1626
  "added to a list (recommended)"
1627
  msgstr ""
1628
 
1629
- #: admin/partials/edit-form.php:752
1630
  msgid "Update Existing Subscriber"
1631
  msgstr ""
1632
 
1633
- #: admin/partials/edit-form.php:754 admin/partials/edit-form.php:770
1634
- #: admin/partials/edit-form.php:790 admin/partials/edit-form.php:805
1635
- #: admin/partials/edit-form.php:820
1636
  #: admin/partials/menu/options-sections/integration-settings.php:168
1637
  #: includes/third-party-integrations/visual-composer/visual-composer.php:59
1638
  #: includes/third-party-integrations/visual-composer/visual-composer.php:70
@@ -1640,94 +1638,94 @@ msgstr ""
1640
  msgid "Yes"
1641
  msgstr ""
1642
 
1643
- #: admin/partials/edit-form.php:755 admin/partials/edit-form.php:771
1644
- #: admin/partials/edit-form.php:791 admin/partials/edit-form.php:806
1645
- #: admin/partials/edit-form.php:821
1646
  #: admin/partials/menu/options-sections/integration-settings.php:169
1647
  #: public/classes/checkbox-integrations/class.contact_form_7-checkbox.php:54
1648
  msgid "No"
1649
  msgstr ""
1650
 
1651
- #: admin/partials/edit-form.php:757
1652
  #, php-format
1653
  msgid ""
1654
  "Update an existing subscriber's profile information instead of displaying a "
1655
  "%s message."
1656
  msgstr ""
1657
 
1658
- #: admin/partials/edit-form.php:757 admin/partials/edit-form.php:773
1659
  msgid "\"user already subscribed\""
1660
  msgstr ""
1661
 
1662
- #: admin/partials/edit-form.php:768
1663
  msgid "Send Update Email"
1664
  msgstr ""
1665
 
1666
- #: admin/partials/edit-form.php:773
1667
  msgid ""
1668
  "Send an email to the user granting their permission to update their profile "
1669
  "information. Otherwise, an existing subscriber filling out this form, will "
1670
  "have their profile information updated without any further interaction."
1671
  msgstr ""
1672
 
1673
- #: admin/partials/edit-form.php:779
1674
  msgid "Submission Settings"
1675
  msgstr ""
1676
 
1677
- #: admin/partials/edit-form.php:788
1678
  msgid "Enable AJAX Submission"
1679
  msgstr ""
1680
 
1681
- #: admin/partials/edit-form.php:793
1682
  msgid ""
1683
  "AJAX form submissions transmit data without requiring the page to refresh."
1684
  msgstr ""
1685
 
1686
- #: admin/partials/edit-form.php:803
1687
  msgid "Redirect On Submission"
1688
  msgstr ""
1689
 
1690
- #: admin/partials/edit-form.php:809
1691
  msgid "When the user signs up would you like to redirect them to another page?"
1692
  msgstr ""
1693
 
1694
- #: admin/partials/edit-form.php:818
1695
  msgid "Hide Form After Sign Up"
1696
  msgstr ""
1697
 
1698
- #: admin/partials/edit-form.php:823
1699
  msgid "Should the form be hidden after the user successfully signs up?"
1700
  msgstr ""
1701
 
1702
- #: admin/partials/edit-form.php:832
1703
  msgid "Existing Interest Groups"
1704
  msgstr ""
1705
 
1706
- #: admin/partials/edit-form.php:834
1707
  msgid "Replace"
1708
  msgstr ""
1709
 
1710
- #: admin/partials/edit-form.php:835
1711
  msgid "Update"
1712
  msgstr ""
1713
 
1714
- #: admin/partials/edit-form.php:838
1715
  msgid ""
1716
  "<strong>Replace</strong>: Replace all interest groups with the new ones "
1717
  "submitted."
1718
  msgstr ""
1719
 
1720
- #: admin/partials/edit-form.php:841
1721
  msgid ""
1722
  "<strong>Update</strong>: Update <em>only</em> the ones submitted. Leave "
1723
  "existing interest groups as is."
1724
  msgstr ""
1725
 
1726
- #: admin/partials/edit-form.php:856
1727
  msgid "Are you sure you want to delete this form? This cannot be undone."
1728
  msgstr ""
1729
 
1730
- #: admin/partials/edit-form.php:856
1731
  msgid "Delete Form"
1732
  msgstr ""
1733
 
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: yikes-inc-easy-mailchimp-extender 6.3.2\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2017-01-25 18:50+0000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
41
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:385
42
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:407
43
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:427
44
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2491
45
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2526
46
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2546
47
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2579
48
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2613
49
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2749
50
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2771
51
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2795
52
  msgid ""
53
  "We've run into an error. The security check didn't pass. Please try again."
54
  msgstr ""
56
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:385
57
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:407
58
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:427
59
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2526
60
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2546
61
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2579
62
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2614
63
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2749
64
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2771
65
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2795
66
  msgid "Failed nonce validation"
67
  msgstr ""
68
 
234
 
235
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1006
236
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1007
237
+ #: admin/partials/edit-form.php:716 admin/partials/view-user.php:119
238
  msgid "View List"
239
  msgstr ""
240
 
393
  msgstr ""
394
 
395
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1531
396
+ #: admin/partials/edit-form.php:698
397
  #: admin/partials/menu/options-sections/integration-settings.php:142
398
  msgid "Associated List"
399
  msgstr ""
567
 
568
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1902
569
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1932
570
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2133
571
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2193
572
  #: admin/partials/ajax/add_field_to_form.php:167
573
  #: admin/partials/ajax/add_field_to_form.php:193
574
  #: admin/partials/ajax/add_interest_group_to_form.php:89
578
  msgstr ""
579
 
580
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1920
581
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2181
582
  #: admin/partials/ajax/add_field_to_form.php:181
583
  #: admin/partials/ajax/add_interest_group_to_form.php:102
584
  #: admin/partials/ajax/add_interest_group_to_form.php:126
586
  msgstr ""
587
 
588
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1941
589
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2202
590
  #: admin/partials/ajax/add_field_to_form.php:204
591
  #: admin/partials/ajax/add_interest_group_to_form.php:151
592
  msgid "Which option should be selected by default?"
593
  msgstr ""
594
 
595
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1961
596
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2216
597
  #: admin/partials/ajax/add_field_to_form.php:218
598
  #: admin/partials/ajax/add_interest_group_to_form.php:163
599
  msgid "Description"
607
  msgstr ""
608
 
609
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1973
610
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2229
611
  #: admin/partials/ajax/add_field_to_form.php:230
612
  #: admin/partials/ajax/add_interest_group_to_form.php:176
613
  msgid "Additional Classes"
614
  msgstr ""
615
 
616
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1978
617
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2234
618
  #: admin/partials/ajax/add_field_to_form.php:235
619
  #: admin/partials/ajax/add_interest_group_to_form.php:181
620
  #, php-format
622
  msgstr ""
623
 
624
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1978
625
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2234
626
  #: admin/partials/ajax/add_field_to_form.php:235
627
  #: admin/partials/ajax/add_interest_group_to_form.php:181
628
  msgid "View bundled classes"
629
  msgstr ""
630
 
631
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1985
632
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2241
633
  #: admin/partials/ajax/add_field_to_form.php:242
634
  #: admin/partials/ajax/add_interest_group_to_form.php:188
635
  msgid "Field Required?"
641
  msgstr ""
642
 
643
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1991
644
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2247
645
  #: admin/partials/ajax/add_field_to_form.php:247
646
  #: admin/partials/ajax/add_interest_group_to_form.php:193
647
  msgid "Require this field to be filled in before the form can be submitted."
648
  msgstr ""
649
 
650
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1998
651
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2254
652
  #: admin/partials/ajax/add_field_to_form.php:254
653
  #: admin/partials/ajax/add_interest_group_to_form.php:200
654
  msgid "Hide Field"
660
  msgstr ""
661
 
662
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2004
663
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2260
664
  #: admin/partials/ajax/add_field_to_form.php:259
665
  #: admin/partials/ajax/add_interest_group_to_form.php:205
666
  msgid "Hide this field from being displayed on the front end."
667
  msgstr ""
668
 
669
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2011
670
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2267
671
  #: admin/partials/ajax/add_field_to_form.php:266
672
  #: admin/partials/ajax/add_interest_group_to_form.php:212
673
  msgid "Hide Label"
674
  msgstr ""
675
 
676
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2017
677
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2273
678
  #: admin/partials/ajax/add_field_to_form.php:271
679
  #: admin/partials/ajax/add_interest_group_to_form.php:217
680
  msgid "Toggle field label visibility."
707
  msgstr ""
708
 
709
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2080
710
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2283
711
  #: admin/partials/ajax/add_field_to_form.php:334
712
  #: admin/partials/ajax/add_interest_group_to_form.php:227
713
  msgid "Close"
714
  msgstr ""
715
 
716
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2081
717
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2284
718
  #: admin/partials/ajax/add_field_to_form.php:335
719
  #: admin/partials/ajax/add_interest_group_to_form.php:228
720
  msgid "Remove Field"
726
  "prevent issues on the front end."
727
  msgstr ""
728
 
729
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2221
730
  #: admin/partials/ajax/add_field_to_form.php:223
731
  #: admin/partials/ajax/add_interest_group_to_form.php:168
732
  msgid ""
734
  "and provide some direction on how the field should be filled out or selected."
735
  msgstr ""
736
 
737
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2298
738
  msgid ""
739
  "No fields are assigned to this form. Select fields from the right hand "
740
  "column to add to this form."
741
  msgstr ""
742
 
743
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2309
744
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2310
 
745
  msgid "Page Title"
746
  msgstr ""
747
 
748
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2309
749
  msgid ""
750
  "Pre-populate the field with the current page or post title that the user is "
751
  "on when opting in to your mailing list."
752
  msgstr ""
753
 
754
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2314
755
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2315
 
756
  msgid "Page ID"
757
  msgstr ""
758
 
759
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2314
760
  msgid ""
761
  "Pre-populate the field with the current page or post ID that the user is on "
762
  "when opting in to your mailing list."
763
  msgstr ""
764
 
765
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2319
766
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2320
 
767
  msgid "Page URL"
768
  msgstr ""
769
 
770
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2319
771
  msgid ""
772
  "Pre-populate the field with the current page URL that the user is on when "
773
  "opting in to your mailing list."
774
  msgstr ""
775
 
776
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2324
777
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2325
 
778
  msgid "Blog Name"
779
  msgstr ""
780
 
781
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2324
782
  msgid ""
783
  "Pre-populate the field with the current blog name that the user is on when "
784
  "opting in to your mailing list. This is especially helpful for multi-site "
785
  "networks."
786
  msgstr ""
787
 
788
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2329
789
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2330
 
790
  msgid "User Logged In"
791
  msgstr ""
792
 
793
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2329
794
  msgid ""
795
  "Detects if a user is logged in and pre-populates the field with an "
796
  "appropriate value."
797
  msgstr ""
798
 
799
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2357
800
  msgid "Pre Defined Tags"
801
  msgstr ""
802
 
803
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2358
804
  msgid ""
805
  "You can use any of the following tags to populate a MailChimp text field "
806
  "with dynamic content. This can be used to determine which page the user "
807
  "signed up on, if the user was logged in and more."
808
  msgstr ""
809
 
810
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2402
811
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2460
812
  msgid "Already assigned to your form"
813
  msgstr ""
814
 
815
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2406
816
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2420
817
  msgid "required field"
818
  msgstr ""
819
 
820
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2430
821
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2475
822
  msgid "Add to Form Builder"
823
  msgstr ""
824
 
825
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2505
826
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2506
 
827
  msgid "Error creating a new form"
828
  msgstr ""
829
 
830
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2505
831
  msgid "Creating a new form"
832
  msgstr ""
833
 
834
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2505
835
  #: admin/partials/welcome-page/welcome-sections/getting-started-section.php:15
836
  msgid "Forms"
837
  msgstr ""
838
 
839
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2720
840
  msgid "Greetings,"
841
  msgstr ""
842
 
843
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2723
844
  msgid ""
845
  "A request has been made to update your MailChimp account profile information."
846
  msgstr ""
847
 
848
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2724
849
  msgid " To do so please use the following link: "
850
  msgstr ""
851
 
852
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2726
853
  msgid "Update MailChimp Profile Info"
854
  msgstr ""
855
 
856
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2730
857
  msgid "If you did not request this update, please disregard this email."
858
  msgstr ""
859
 
860
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2733
861
  #, php-format
862
  msgid "This email was sent from: %s"
863
  msgstr ""
864
 
865
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2757
866
  msgid "Unsubscribe User"
867
  msgstr ""
868
 
869
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2758
870
  msgid "Manage List Page"
871
  msgstr ""
872
 
967
  msgid "Message"
968
  msgstr ""
969
 
970
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:34
971
  msgid "view List"
972
  msgstr ""
973
 
974
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:34
975
  msgid "view list"
976
  msgstr ""
977
 
978
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:39
979
  msgid "Subscribers"
980
  msgstr ""
981
 
982
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:40
983
  msgid "Unsubscribed"
984
  msgstr ""
985
 
986
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:41
987
  msgid "New Since Send"
988
  msgstr ""
989
 
990
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:42
991
  msgid "Avg. Sub. Rate"
992
  msgstr ""
993
 
994
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:47
995
  msgid "Number of active subscribers."
996
  msgstr ""
997
 
998
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:49
999
  msgid "subscribers"
1000
  msgstr ""
1001
 
1002
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:51
1003
  msgid "Number of users who have unsusbscribed."
1004
  msgstr ""
1005
 
1006
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:53
1007
  msgid "unsubscribed"
1008
  msgstr ""
1009
 
1010
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:57
1011
  msgid "Number of new subscribers since the last campaign was sent."
1012
  msgstr ""
1013
 
1014
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:59
1015
  msgid "new since send"
1016
  msgstr ""
1017
 
1018
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:61
1019
  msgid "Average number of subscribers per month."
1020
  msgstr ""
1021
 
1022
+ #: admin/partials/dashboard-widgets/templates/stats-list-template.php:63
1023
  msgid "avg. sub. rate"
1024
  msgstr ""
1025
 
1134
  msgid "Form Builder"
1135
  msgstr ""
1136
 
1137
+ #: admin/partials/edit-form.php:185 admin/partials/edit-form.php:673
1138
  msgid "Form Settings"
1139
  msgstr ""
1140
 
1156
  msgid "Clear Form Fields"
1157
  msgstr ""
1158
 
1159
+ #: admin/partials/edit-form.php:226 admin/partials/edit-form.php:856
1160
  msgid "Update Form"
1161
  msgstr ""
1162
 
1468
  #: admin/partials/edit-form.php:556
1469
  msgid ""
1470
  "Customize the response messages for this form. Leave the field blank to use "
1471
+ "the default message. The messages shown below depend on the Opt-in Settings "
1472
+ "chosen."
1473
  msgstr ""
1474
 
1475
+ #: admin/partials/edit-form.php:559 admin/partials/edit-form.php:616
1476
  msgid "Success: Double opt-in"
1477
  msgstr ""
1478
 
1480
  msgid "Success: Single opt-in"
1481
  msgstr ""
1482
 
1483
+ #: admin/partials/edit-form.php:567 admin/partials/edit-form.php:618
1484
  msgid "Success: Re-subscriber"
1485
  msgstr ""
1486
 
1487
+ #: admin/partials/edit-form.php:571 admin/partials/edit-form.php:619
1488
  msgid "Success: Re-subscriber with link to email profile update message"
1489
  msgstr ""
1490
 
1491
+ #: admin/partials/edit-form.php:575 admin/partials/edit-form.php:620
1492
  msgid "Error: Re-subscribers not permitted"
1493
  msgstr ""
1494
 
1495
+ #: admin/partials/edit-form.php:579 admin/partials/edit-form.php:621
1496
  msgid "Error: General"
1497
  msgstr ""
1498
 
1499
+ #: admin/partials/edit-form.php:587
1500
  msgid ""
1501
  "Customize the profile verification email sent to re-subscribers. Leave the "
1502
+ "text unedited to use the default message."
 
 
1503
  msgstr ""
1504
 
1505
+ #: admin/partials/edit-form.php:589 admin/partials/edit-form.php:633
1506
  msgid "Email Subject"
1507
  msgstr ""
1508
 
1509
+ #: admin/partials/edit-form.php:593 admin/partials/edit-form.php:634
1510
  msgid "Email Body"
1511
  msgstr ""
1512
 
1513
+ #: admin/partials/edit-form.php:613
1514
  msgid "Custom Message Help"
1515
  msgstr ""
1516
 
1517
+ #: admin/partials/edit-form.php:616
1518
  msgid "The message displayed after a double opt-in form has been submitted."
1519
  msgstr ""
1520
 
1521
+ #: admin/partials/edit-form.php:617
1522
  msgid "Success Message: Single opt-in"
1523
  msgstr ""
1524
 
1525
+ #: admin/partials/edit-form.php:617
1526
  msgid "The message displayed after a single opt-in form has been submitted."
1527
  msgstr ""
1528
 
1529
+ #: admin/partials/edit-form.php:618
1530
  msgid ""
1531
+ "The message displayed after a subscriber submits a form for a list they are "
1532
+ "already subscribed to."
1533
  msgstr ""
1534
 
1535
+ #: admin/partials/edit-form.php:619
1536
  msgid ""
1537
+ "The message displayed after a subscriber submits a form for a list they are "
1538
+ "already subscribed to. Wrap the text you want to be the link in <code>[link]"
1539
+ "[/link]</code> tags."
1540
  msgstr ""
1541
 
1542
+ #: admin/partials/edit-form.php:620
1543
  msgid ""
1544
+ "The message displayed after a subscriber tries to join a list they are "
1545
+ "already subscribed to. You can display the user's email in the message "
1546
+ "using an <code>[email]</code> tag."
1547
  msgstr ""
1548
 
1549
+ #: admin/partials/edit-form.php:621
1550
+ msgid "The message displayed if a form error has occurred."
1551
  msgstr ""
1552
 
1553
+ #: admin/partials/edit-form.php:629
1554
  msgid "Email Message Help"
1555
  msgstr ""
1556
 
1557
+ #: admin/partials/edit-form.php:633
1558
  msgid "The subject of the email sent to the user."
1559
  msgstr ""
1560
 
1561
+ #: admin/partials/edit-form.php:634
1562
  #, php-format
1563
  msgid ""
1564
  "The text in the profile update verification email sent to the subscriber. "
1567
  "can also use <code>[url]</code> tag to display your website's URL (e.g. %s)."
1568
  msgstr ""
1569
 
1570
+ #: admin/partials/edit-form.php:677
1571
  msgid "Edit Another Form"
1572
  msgstr ""
1573
 
1574
+ #: admin/partials/edit-form.php:687 admin/partials/menu/manage-forms.php:147
1575
  msgid "Shortcode"
1576
  msgstr ""
1577
 
1578
+ #: admin/partials/edit-form.php:694
1579
  msgid "Associated List Settings"
1580
  msgstr ""
1581
 
1582
+ #: admin/partials/edit-form.php:709
1583
  msgid "No Lists Found"
1584
  msgstr ""
1585
 
1586
+ #: admin/partials/edit-form.php:719
1587
  msgid ""
1588
  "Users who sign up via this form will be added to the list selected above."
1589
  msgstr ""
1590
 
1591
+ #: admin/partials/edit-form.php:723
1592
  msgid ""
1593
  "It looks like you first need to create a list to assign this form to. Head "
1594
  "over to"
1595
  msgstr ""
1596
 
1597
+ #: admin/partials/edit-form.php:723
1598
  msgid "Create a new list"
1599
  msgstr ""
1600
 
1601
+ #: admin/partials/edit-form.php:723
1602
  msgid "to create your first list"
1603
  msgstr ""
1604
 
1605
+ #: admin/partials/edit-form.php:730
1606
  msgid "Opt-in Settings"
1607
  msgstr ""
1608
 
1609
+ #: admin/partials/edit-form.php:740
1610
  msgid "Single or Double Opt-in"
1611
  msgstr ""
1612
 
1613
+ #: admin/partials/edit-form.php:742
1614
  msgid "Single"
1615
  msgstr ""
1616
 
1617
+ #: admin/partials/edit-form.php:743
1618
  msgid "Double"
1619
  msgstr ""
1620
 
1621
+ #: admin/partials/edit-form.php:745
1622
  msgid ""
1623
  "Double opt-in requires users to confirm their email address before being "
1624
  "added to a list (recommended)"
1625
  msgstr ""
1626
 
1627
+ #: admin/partials/edit-form.php:754
1628
  msgid "Update Existing Subscriber"
1629
  msgstr ""
1630
 
1631
+ #: admin/partials/edit-form.php:756 admin/partials/edit-form.php:772
1632
+ #: admin/partials/edit-form.php:792 admin/partials/edit-form.php:807
1633
+ #: admin/partials/edit-form.php:822
1634
  #: admin/partials/menu/options-sections/integration-settings.php:168
1635
  #: includes/third-party-integrations/visual-composer/visual-composer.php:59
1636
  #: includes/third-party-integrations/visual-composer/visual-composer.php:70
1638
  msgid "Yes"
1639
  msgstr ""
1640
 
1641
+ #: admin/partials/edit-form.php:757 admin/partials/edit-form.php:773
1642
+ #: admin/partials/edit-form.php:793 admin/partials/edit-form.php:808
1643
+ #: admin/partials/edit-form.php:823
1644
  #: admin/partials/menu/options-sections/integration-settings.php:169
1645
  #: public/classes/checkbox-integrations/class.contact_form_7-checkbox.php:54
1646
  msgid "No"
1647
  msgstr ""
1648
 
1649
+ #: admin/partials/edit-form.php:759
1650
  #, php-format
1651
  msgid ""
1652
  "Update an existing subscriber's profile information instead of displaying a "
1653
  "%s message."
1654
  msgstr ""
1655
 
1656
+ #: admin/partials/edit-form.php:759 admin/partials/edit-form.php:775
1657
  msgid "\"user already subscribed\""
1658
  msgstr ""
1659
 
1660
+ #: admin/partials/edit-form.php:770
1661
  msgid "Send Update Email"
1662
  msgstr ""
1663
 
1664
+ #: admin/partials/edit-form.php:775
1665
  msgid ""
1666
  "Send an email to the user granting their permission to update their profile "
1667
  "information. Otherwise, an existing subscriber filling out this form, will "
1668
  "have their profile information updated without any further interaction."
1669
  msgstr ""
1670
 
1671
+ #: admin/partials/edit-form.php:781
1672
  msgid "Submission Settings"
1673
  msgstr ""
1674
 
1675
+ #: admin/partials/edit-form.php:790
1676
  msgid "Enable AJAX Submission"
1677
  msgstr ""
1678
 
1679
+ #: admin/partials/edit-form.php:795
1680
  msgid ""
1681
  "AJAX form submissions transmit data without requiring the page to refresh."
1682
  msgstr ""
1683
 
1684
+ #: admin/partials/edit-form.php:805
1685
  msgid "Redirect On Submission"
1686
  msgstr ""
1687
 
1688
+ #: admin/partials/edit-form.php:811
1689
  msgid "When the user signs up would you like to redirect them to another page?"
1690
  msgstr ""
1691
 
1692
+ #: admin/partials/edit-form.php:820
1693
  msgid "Hide Form After Sign Up"
1694
  msgstr ""
1695
 
1696
+ #: admin/partials/edit-form.php:825
1697
  msgid "Should the form be hidden after the user successfully signs up?"
1698
  msgstr ""
1699
 
1700
+ #: admin/partials/edit-form.php:834
1701
  msgid "Existing Interest Groups"
1702
  msgstr ""
1703
 
1704
+ #: admin/partials/edit-form.php:836
1705
  msgid "Replace"
1706
  msgstr ""
1707
 
1708
+ #: admin/partials/edit-form.php:837
1709
  msgid "Update"
1710
  msgstr ""
1711
 
1712
+ #: admin/partials/edit-form.php:840
1713
  msgid ""
1714
  "<strong>Replace</strong>: Replace all interest groups with the new ones "
1715
  "submitted."
1716
  msgstr ""
1717
 
1718
+ #: admin/partials/edit-form.php:843
1719
  msgid ""
1720
  "<strong>Update</strong>: Update <em>only</em> the ones submitted. Leave "
1721
  "existing interest groups as is."
1722
  msgstr ""
1723
 
1724
+ #: admin/partials/edit-form.php:858
1725
  msgid "Are you sure you want to delete this form? This cannot be undone."
1726
  msgstr ""
1727
 
1728
+ #: admin/partials/edit-form.php:858
1729
  msgid "Delete Form"
1730
  msgstr ""
1731
 
public/partials/shortcodes/process_form_shortcode.php CHANGED
@@ -1186,12 +1186,20 @@ function process_mailchimp_shortcode( $atts ) {
1186
  </span>
1187
  <?php }
1188
 
 
 
1189
 
1190
- foreach( $groups as $group ) {
1191
  ?>
1192
- <label for="<?php echo $field['group_id'] . '-' . $i; ?>" class="yikes-easy-mc-checkbox-label <?php echo implode( ' ' , $custom_classes ); if( $x === $count ) { ?> last-selection<?php } ?>" style="display:none;">
1193
- <input type="radio" name="<?php echo $field['group_id']; ?>[]" id="<?php echo $field['group_id'] . '-' . $i; ?>" <?php if( $field['type'] == 'checkboxes' ) { if( in_array( $i , $default_choice ) ) { echo 'checked="checked"'; } } else { checked( ( isset( $default_choice ) && is_array( $default_choice ) ) ? $default_choice[0] : $default_choice , $i ); } ?> value="<?php echo esc_attr( $group['name'] ); ?>">
1194
- <?php echo esc_attr( stripslashes( str_replace( '' , '\'', $group['name'] ) ) ); ?>
 
 
 
 
 
 
1195
  </label>
1196
  <?php
1197
  $i++;
1186
  </span>
1187
  <?php }
1188
 
1189
+ // Turn $default_choice into an array if it isn't already
1190
+ $default_choice = ( isset( $default_choice ) && is_array( $default_choice ) ) ? $default_choice : array( $default_choice );
1191
 
1192
+ foreach( $groups as $group_id => $name ) {
1193
  ?>
1194
+ <label for="<?php echo $field['group_id'] . '-' . $i; ?>" class="yikes-easy-mc-checkbox-label <?php echo implode( ' ' , $custom_classes ); if ( $x === $count ) { echo 'last-selection'; } ?>" style="display:none;">
1195
+ <input
1196
+ type="checkbox"
1197
+ name="group-<?php echo $field['group_id']; ?>[]"
1198
+ id="<?php echo $field['group_id'] . '-' . $i; ?>"
1199
+ value="<?php echo $group_id ?>"
1200
+ <?php if ( in_array( $group_id, $default_choice ) ) { echo 'checked="checked"'; } ?>
1201
+ >
1202
+ <?php echo esc_attr( stripslashes( str_replace( '' , '\'', $name ) ) ); ?>
1203
  </label>
1204
  <?php
1205
  $i++;
public/partials/shortcodes/yikes-mailchimp-subscriber-count.php CHANGED
@@ -68,6 +68,9 @@ function yikes_mailchimp_subscriber_count_shortcode( $attributes ) {
68
  __( "Get Account Lists", 'yikes-inc-easy-mailchimp-extender' ),
69
  "yikes-mailchimp-subscriber-count.php"
70
  );
 
 
 
71
  }
72
 
73
  /* type cast the returned value as an integer */
68
  __( "Get Account Lists", 'yikes-inc-easy-mailchimp-extender' ),
69
  "yikes-mailchimp-subscriber-count.php"
70
  );
71
+
72
+ ob_clean();
73
+ return;
74
  }
75
 
76
  /* type cast the returned value as an integer */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://yikesplugins.com/?utm_source=wp_plugin_repo&utm_medium=dona
4
  Tags: MailChimp, MailChimp forms, MailChimp lists, opt-in forms, sign up form, MailChimp, email, forms, mailing lists, marketing, newsletter, sign up
5
  Requires at least: 4.0
6
  Tested up to: 4.7.1
7
- Stable tag: 6.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -242,6 +242,15 @@ Below you'll find a complete list of the hooks and filters available in Easy For
242
 
243
  == Changelog ==
244
 
 
 
 
 
 
 
 
 
 
245
  = Easy Forms for MailChimp 6.3.0 - January 17th, 2016 =
246
  * Version 6.3.0's biggest change is migrating the plugin to use MailChimp's v3 API.
247
  * Created API classes to interact with the MailChimp API
4
  Tags: MailChimp, MailChimp forms, MailChimp lists, opt-in forms, sign up form, MailChimp, email, forms, mailing lists, marketing, newsletter, sign up
5
  Requires at least: 4.0
6
  Tested up to: 4.7.1
7
+ Stable tag: 6.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
242
 
243
  == Changelog ==
244
 
245
+ = Easy Forms for MailChimp 6.3.2 - January 25th, 2016 =
246
+ * Custom message visibility is now dictated by your opt-in settings
247
+ * Fixed an issue with the PHP `array_keys` function that breaks PHP versions < 5.4
248
+ * Hidden interest groups now work properly and are defined as checkboxes for consistency with MailChimp
249
+ * Some minor copy changes and a new .pot file
250
+
251
+ = Easy Forms for MailChimp 6.3.1 - January 18th, 2016 =
252
+ * Generated new .pot file for proper i18n/l10n
253
+
254
  = Easy Forms for MailChimp 6.3.0 - January 17th, 2016 =
255
  * Version 6.3.0's biggest change is migrating the plugin to use MailChimp's v3 API.
256
  * Created API classes to interact with the MailChimp API
yikes-inc-easy-mailchimp-extender.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Easy Forms for MailChimp
4
  * Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
5
  * Description: The ultimate MailChimp WordPress plugin. Easily build <strong>unlimited forms for your MailChimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">MailChimp API key</a>.
6
- * Version: 6.3.1
7
  * Author: YIKES, Inc.
8
  * Author URI: https://www.yikesplugins.com/
9
  * License: GPL-3.0+
@@ -42,7 +42,7 @@ if ( ! defined( 'WPINC' ) ) {
42
  * @since 6.1.3
43
  */
44
  if ( ! defined( 'YIKES_MC_VERSION' ) ) {
45
- define( 'YIKES_MC_VERSION' , '6.3.1' );
46
  }
47
 
48
  /**
3
  * Plugin Name: Easy Forms for MailChimp
4
  * Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
5
  * Description: The ultimate MailChimp WordPress plugin. Easily build <strong>unlimited forms for your MailChimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">MailChimp API key</a>.
6
+ * Version: 6.3.2
7
  * Author: YIKES, Inc.
8
  * Author URI: https://www.yikesplugins.com/
9
  * License: GPL-3.0+
42
  * @since 6.1.3
43
  */
44
  if ( ! defined( 'YIKES_MC_VERSION' ) ) {
45
+ define( 'YIKES_MC_VERSION' , '6.3.2' );
46
  }
47
 
48
  /**