Easy Forms for MailChimp - Version 6.3.3

Version Description

Download this release

Release Info

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

Code changes from version 6.3.2 to 6.3.3

admin/class-yikes-inc-easy-mailchimp-extender-admin.php CHANGED
@@ -323,7 +323,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
323
  $default_tag = get_the_title( $post->ID );
324
  }
325
  // page id
326
- if( $default_tag == '{page_title}' ) {
327
  $default_tag = $post->ID;
328
  }
329
  // page url
@@ -794,6 +794,11 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
794
  // is Right to left language? default is false
795
  'isRTL' => $wp_locale->is_rtl(),
796
  'start_date_exceeds_end_date_error' => __( 'Error: The start date and time cannot occur after the end date and time. Chosen date reverted to previous selection.', 'yikes-inc-easy-mailchimp-extender' ),
 
 
 
 
 
797
  );
798
  wp_localize_script( 'edit-form-js' , 'yikes_mailchimp_edit_form' , $localized_data );
799
  }
@@ -1766,12 +1771,22 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
1766
 
1767
  // find any fields that are assigned to this form, that don't exist in MailChimp
1768
  // or else were going to run into issues when we submit the form
1769
- $available_merge_variables = array();
1770
- $available_interest_groups = array();
 
 
 
 
1771
 
1772
  // loop over merge variables
1773
  if ( ! empty( $merge_variables['merge_fields'] ) ) {
1774
  $available_merge_variables = wp_list_pluck( $merge_variables['merge_fields'], 'tag' );
 
 
 
 
 
 
1775
  }
1776
 
1777
  // loop over interest groups
@@ -1793,11 +1808,16 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
1793
  ?>
1794
  <section class="draggable" id="<?php echo $field['merge']; ?>">
1795
  <!-- top -->
1796
- <a href="#" class="expansion-section-title settings-sidebar">
1797
- <span class="dashicons dashicons-plus"></span><?php echo stripslashes( $field['label'] ); ?>
 
1798
  <?php if ( $excluded_field ) { ?>
1799
  <img src="<?php echo YIKES_MC_URL . 'includes/images/warning.svg'; ?>" class="field-doesnt-exist-notice" title="<?php _e( 'Field no longer exists.' , 'yikes-inc-easy-mailchimp-extender' ); ?>" alt="<?php _e( 'Field no longer exists.' , 'yikes-inc-easy-mailchimp-extender' ); ?>">
1800
  <?php } ?>
 
 
 
 
1801
  <span class="field-type-text"><small><?php echo __( 'type' , 'yikes-inc-easy-mailchimp-extender' ) . ' : ' . $field['type']; ?></small></span>
1802
  </a>
1803
  <!-- expansion section -->
@@ -1807,11 +1827,14 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
1807
  <p class="yikes-mc-warning-message"><?php _e( "This field no longer exists in this list. Delete this field from the form to prevent issues on your website." , 'yikes-inc-easy-mailchimp-extender' ); ?></p>
1808
  <?php } ?>
1809
 
1810
- <!-- store the label -->
1811
- <input type="hidden" name="field[<?php echo $field['merge']; ?>][label]" value="<?php echo $field['label']; ?>" />
1812
- <input type="hidden" name="field[<?php echo $field['merge']; ?>][type]" value="<?php echo $field['type']; ?>" />
1813
- <input type="hidden" name="field[<?php echo $field['merge']; ?>][merge]" value="<?php echo $field['merge']; ?>" />
1814
  <input type="hidden" class="field-<?php echo $field['merge']; ?>-position position-input" name="field[<?php echo $field['merge']; ?>][position]" value="<?php echo $i++; ?>" />
 
 
 
1815
 
1816
  <?php if ( $field['type'] == 'radio' || $field['type'] == 'dropdown' || $field['type'] == 'select' ) {
1817
  $choices = json_decode( $field['choices'], true );
@@ -2097,7 +2120,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
2097
  <section class="draggable" id="<?php echo $field['group_id']; ?>">
2098
  <!-- top -->
2099
  <a href="#" class="expansion-section-title settings-sidebar">
2100
- <span class="dashicons dashicons-plus"></span><?php echo stripslashes( $field['label'] ); ?>
2101
  <?php if( in_array( $field['group_id'] , $excluded_fields ) ) { ?>
2102
  <img src="<?php echo YIKES_MC_URL . 'includes/images/warning.svg'; ?>" class="field-no-longer-exists-warning" title="<?php _e( 'Field no longer exists.' , 'yikes-inc-easy-mailchimp-extender' ); ?>" alt="<?php _e( 'Field no longer exists.' , 'yikes-inc-easy-mailchimp-extender' ); ?>">
2103
  <?php } ?>
323
  $default_tag = get_the_title( $post->ID );
324
  }
325
  // page id
326
+ if( $default_tag == '{page_id}' ) {
327
  $default_tag = $post->ID;
328
  }
329
  // page url
794
  // is Right to left language? default is false
795
  'isRTL' => $wp_locale->is_rtl(),
796
  'start_date_exceeds_end_date_error' => __( 'Error: The start date and time cannot occur after the end date and time. Chosen date reverted to previous selection.', 'yikes-inc-easy-mailchimp-extender' ),
797
+
798
+ // Editing field label fields
799
+ 'edit_field_label_pencil_title' => __( 'Click to edit the label', 'yikes-inc-easy-mailchimp-extender' ),
800
+ 'edit_field_label_cancel_title' => __( 'Click to cancel editing. Your changes will not be saved.', 'yikes-inc-easy-mailchimp-extender' ),
801
+ 'save_field_label_nonce' => wp_create_nonce( 'save_field_label_nonce' ),
802
  );
803
  wp_localize_script( 'edit-form-js' , 'yikes_mailchimp_edit_form' , $localized_data );
804
  }
1771
 
1772
  // find any fields that are assigned to this form, that don't exist in MailChimp
1773
  // or else were going to run into issues when we submit the form
1774
+ $available_merge_variables = array();
1775
+ $available_interest_groups = array();
1776
+
1777
+ // Default variables as arrays - these are used for holding the MailChimp merge field ID
1778
+ $merge_field_ids = array();
1779
+ $mailchimp_merge_field_ids = array();
1780
 
1781
  // loop over merge variables
1782
  if ( ! empty( $merge_variables['merge_fields'] ) ) {
1783
  $available_merge_variables = wp_list_pluck( $merge_variables['merge_fields'], 'tag' );
1784
+ $mailchimp_merge_field_ids = wp_list_pluck( $merge_variables['merge_fields'], 'merge_id' );
1785
+
1786
+ // Array will look like $merge_tag => $merge_id
1787
+ foreach( $available_merge_variables as $index => $merge_tag ) {
1788
+ $merge_field_ids[$merge_tag] = $mailchimp_merge_field_ids[$index];
1789
+ }
1790
  }
1791
 
1792
  // loop over interest groups
1808
  ?>
1809
  <section class="draggable" id="<?php echo $field['merge']; ?>">
1810
  <!-- top -->
1811
+ <a class="expansion-section-title settings-sidebar">
1812
+ <span class="dashicons dashicons-plus yikes-mc-expansion-toggle"></span>
1813
+ <span class="yikes-mc-expansion-section-field-label"> <?php echo stripslashes( $field['label'] ); ?> </span>
1814
  <?php if ( $excluded_field ) { ?>
1815
  <img src="<?php echo YIKES_MC_URL . 'includes/images/warning.svg'; ?>" class="field-doesnt-exist-notice" title="<?php _e( 'Field no longer exists.' , 'yikes-inc-easy-mailchimp-extender' ); ?>" alt="<?php _e( 'Field no longer exists.' , 'yikes-inc-easy-mailchimp-extender' ); ?>">
1816
  <?php } ?>
1817
+ <input maxlength="45" type="text" class="yikes-mc-edit-field-label-input" value="<?php echo stripslashes( $field['label'] ); ?>" />
1818
+ <span class="dashicons dashicons-yes yikes-mc-save-field-label-edits-icon" title="<?php _e( 'Click to save changes.' , 'yikes-inc-easy-mailchimp-extender' ); ?>"></span>
1819
+ <span class="dashicons dashicons-edit yikes-mc-edit-field-label-icon" title="<?php _e( 'Click to edit the label' , 'yikes-inc-easy-mailchimp-extender' ); ?>"></span>
1820
+ <span class="yikes-mc-edit-field-label-message"></span>
1821
  <span class="field-type-text"><small><?php echo __( 'type' , 'yikes-inc-easy-mailchimp-extender' ) . ' : ' . $field['type']; ?></small></span>
1822
  </a>
1823
  <!-- expansion section -->
1827
  <p class="yikes-mc-warning-message"><?php _e( "This field no longer exists in this list. Delete this field from the form to prevent issues on your website." , 'yikes-inc-easy-mailchimp-extender' ); ?></p>
1828
  <?php } ?>
1829
 
1830
+ <!-- store field data -->
1831
+ <input type="hidden" class="yikes-mc-merge-field-label" name="field[<?php echo $field['merge']; ?>][label]" value="<?php echo $field['label']; ?>" />
1832
+ <input type="hidden" class="yikes-mc-merge-field-type" name="field[<?php echo $field['merge']; ?>][type]" value="<?php echo $field['type']; ?>" />
1833
+ <input type="hidden" class="yikes-mc-merge-field-tag" name="field[<?php echo $field['merge']; ?>][merge]" value="<?php echo $field['merge']; ?>" />
1834
  <input type="hidden" class="field-<?php echo $field['merge']; ?>-position position-input" name="field[<?php echo $field['merge']; ?>][position]" value="<?php echo $i++; ?>" />
1835
+ <?php if ( isset( $merge_field_ids[ $field['merge'] ] ) && is_int( $merge_field_ids[ $field['merge'] ] ) ) { ?>
1836
+ <input type="hidden" class="yikes-mc-merge-field-id" name="field[<?php echo $field['merge']; ?>][id]" value="<?php echo $merge_field_ids[ $field['merge'] ] ?>" />
1837
+ <?php } ?>
1838
 
1839
  <?php if ( $field['type'] == 'radio' || $field['type'] == 'dropdown' || $field['type'] == 'select' ) {
1840
  $choices = json_decode( $field['choices'], true );
2120
  <section class="draggable" id="<?php echo $field['group_id']; ?>">
2121
  <!-- top -->
2122
  <a href="#" class="expansion-section-title settings-sidebar">
2123
+ <span class="dashicons dashicons-plus yikes-mc-expansion-toggle"></span><?php echo stripslashes( $field['label'] ); ?>
2124
  <?php if( in_array( $field['group_id'] , $excluded_fields ) ) { ?>
2125
  <img src="<?php echo YIKES_MC_URL . 'includes/images/warning.svg'; ?>" class="field-no-longer-exists-warning" title="<?php _e( 'Field no longer exists.' , 'yikes-inc-easy-mailchimp-extender' ); ?>" alt="<?php _e( 'Field no longer exists.' , 'yikes-inc-easy-mailchimp-extender' ); ?>">
2126
  <?php } ?>
admin/css/yikes-inc-easy-mailchimp-extender-admin.css CHANGED
@@ -685,10 +685,21 @@ ul.support-option-list {
685
  -moz-box-sizing: border-box;
686
  }
687
 
688
- .yikes-mc-settings-expansion-section {
689
  display: none;
690
  background: rgba(241, 241, 241, 0.75);
691
- }
 
 
 
 
 
 
 
 
 
 
 
692
  .expansion-section-title {
693
  background: #ffffff;
694
  }
@@ -1098,6 +1109,8 @@ ul.support-option-list {
1098
  }
1099
  .field-type-text {
1100
  display: inline-block;
 
 
1101
  }
1102
  .type-container {
1103
  margin-top: 0;
@@ -1116,7 +1129,8 @@ ul.support-option-list {
1116
  /* Form Field Raiods/Checkboxes */
1117
  .form-field-container td input[type="checkbox"],
1118
  .form-field-container td input[type="radio"] {
1119
- margin: 0 5px;
 
1120
  }
1121
  .form-field-container td input[type="checkbox"]:first-child,
1122
  .form-field-container td input[type="radio"]:first-child {
@@ -1129,7 +1143,9 @@ ul.support-option-list {
1129
  border: none;
1130
  }
1131
  .pre-defined-tag-link {
 
1132
  font-size: 11px;
 
1133
  }
1134
  /* Close/Delete Buttons */
1135
  .toggle-container {
@@ -2312,6 +2328,24 @@ body.wp-customizer #available-widgets [id*="_yikes_easy_mc_widget"]>div.widget-t
2312
  animation-delay: 0.3s;
2313
  }
2314
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2315
  /* Animations */
2316
  @keyframes dot {
2317
  0% { opacity: 0; }
685
  -moz-box-sizing: border-box;
686
  }
687
 
688
+ .yikes-mc-settings-expansion-section {
689
  display: none;
690
  background: rgba(241, 241, 241, 0.75);
691
+ }
692
+
693
+ .yikes-mc-settings-expansion-section .form-table td {
694
+ padding: 10px 10px;
695
+ vertical-align: top;
696
+ }
697
+
698
+ .yikes-mc-settings-expansion-section .form-table td p.description {
699
+ line-height: 1;
700
+ margin-top: 2px;
701
+ }
702
+
703
  .expansion-section-title {
704
  background: #ffffff;
705
  }
1109
  }
1110
  .field-type-text {
1111
  display: inline-block;
1112
+ float: right;
1113
+ margin-right: 1em;
1114
  }
1115
  .type-container {
1116
  margin-top: 0;
1129
  /* Form Field Raiods/Checkboxes */
1130
  .form-field-container td input[type="checkbox"],
1131
  .form-field-container td input[type="radio"] {
1132
+ float: left;
1133
+ margin: 5px;
1134
  }
1135
  .form-field-container td input[type="checkbox"]:first-child,
1136
  .form-field-container td input[type="radio"]:first-child {
1143
  border: none;
1144
  }
1145
  .pre-defined-tag-link {
1146
+ display: block;
1147
  font-size: 11px;
1148
+ margin-top: -2px;
1149
  }
1150
  /* Close/Delete Buttons */
1151
  .toggle-container {
2328
  animation-delay: 0.3s;
2329
  }
2330
 
2331
+ .yikes-mc-edit-field-label-icon {
2332
+ display: inline;
2333
+ }
2334
+
2335
+ .yikes-mc-edit-field-label-input {
2336
+ display: none;
2337
+ width: auto;
2338
+ border-radius: 5px;
2339
+ }
2340
+ .yikes-mc-save-field-label-edits-icon {
2341
+ display: none;
2342
+ }
2343
+ .yikes-mc-edit-field-label-message {
2344
+ display: none;
2345
+ color: #F56060;
2346
+ margin-left: 26px;
2347
+ }
2348
+
2349
  /* Animations */
2350
  @keyframes dot {
2351
  0% { opacity: 0; }
admin/css/yikes-inc-easy-mailchimp-extender-admin.min.css CHANGED
@@ -1 +1 @@
1
- #yikes-easy-mc-dashboard-widget-stats h3,.addon-image{text-align:center}.yikes-easy-mc-hidden{display:none}.shortcode-input-field{color:#333;background:rgba(216,216,216,.35)!important}.edit-form-field-container-span{display:block;margin:.5em 0}.no-forms-widget{margin:2em 0}.view-ad-link{display:block;margin:0 auto}.no-forms-found-icon{font-size:14px;line-height:1.4;width:14px;color:#e07d7d}.coming-soon-button{position:absolute}.coming-soon-button .dashicons{font-size:14px;line-height:1.8}.add-ons-about-text{margin-top:0}#add-ons{margin:3em 0}.addon-image{display:block}.no-mailchimp-lists-found{padding:25px 0 25px 25px}.add-new-subscriber-button{display:block;margin-top:2em}.add-new-subscriber-form-container{display:none;padding-top:1em}.add-new-subscriber-form-container h4{margin-top:0}#yikes-easy-mc-widget-stat-holder,.yikes-easy-mc-stats-table{margin-top:1em}#migration-buttons{display:inline-block;margin-bottom:.5em}#migration-buttons form:first-child{margin-right:10px}#migration-buttons form{float:left}#yikes_easy_mc_account_activity_widget h3 span,#yikes_easy_mc_list_stats_widget h3 span{background:url(../../includes/images/MailChimp_Assets/Freddie_original.png) 8px 4px/25px auto no-repeat;background-size:25px;display:block;height:30px;padding-left:3em;padding-top:5px}#yikes_easy_mc_account_activity_widget h3.hndle,#yikes_easy_mc_list_stats_widget .inside{padding:0}#yikes_easy_mc_list_stats_widget h3{padding:0;line-height:1.6em}.yikes-easy-mc-stats-table,.yikes-easy-mc-stats-table .yikes-easy-mc-table-stats-tr,.yikes-easy-mc-stats-table tbody{display:block;width:100%}.yikes-easy-mc-table-stats-tr td{display:inline-block;width:48%;text-align:center}.yikes-easy-mc-table-stats-tr td:hover{cursor:pointer}.yikes-easy-mc-table-stats-tr td:first-of-type{border-right:1px solid #ececec}.yikes-easy-mc-stats-table .yikes-easy-mc-table-stats-tr-first{border-bottom:1px solid #ececec;border-top:1px solid #ececec}.yikes-easy-mc-stats-table p.yikes-easy-mc-dashboard-stat{color:#00a0d2;font-weight:800;font-size:20px;margin-bottom:2px;margin-top:15px;line-height:1.2;max-height:80px}.yikes-easy-mc-stats-table p.yikes-easy-mc-stat-list-label{font-size:13px;margin-top:0;margin-bottom:15px;font-family:"Open Sans"}#yikes_easy_mc_account_activity_widget table th.row-title{padding-left:10px}#pre-defined-tag-interior-container{background:url(../../includes/images/tinyMCE/yikes-mailchimp-combo-faded.png) bottom right no-repeat #fff;background-size:40%}.qtip-default{background-color:transparent!important;border:transparent!important;z-index:9999999!important}.qtip-bootstrap{padding:10px!important;z-index:9999999!important;font-size:12px}.search-interest-group-preloader{display:block;margin:8px 0 0 55px;width:12px}.no-interest-groupings-enabled-message{display:block;margin-top:12px!important;width:100%}.tooltip-integration-banner{max-width:100%;margin:0 0 .25em}.tooltiptext.qtip-bootstrap{font-size:12px}.tooltip-title{margin:0}.dashicons-editor-help:hover{cursor:pointer}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section{display:block;width:100%;margin:1.5em 0}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section .interest-group-section-title{display:block;width:100%;margin:.5em 0;text-decoration:underline}.github-avatar-url,body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing li a,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing li a{text-decoration:none}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section input{margin-right:0}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section label{margin-right:10px}i.mce-ico.mce-i-yks_mc_tinymce_button_key{background:url(../../includes/images/tinyMCE/Freddie_wink.png) no-repeat;background-size:18px;background-position-y:1px}#yikes_mailchimp_tinyMCE_modal-title{padding-left:42px;background:url(../../includes/images/MailChimp_Assets/Freddie_original.png) left no-repeat;background-size:25px;background-position-x:10px}#yikes_mailchimp_tinyMCE_modal{background:url(../../includes/images/tinyMCE/yikes-mailchimp-combo-faded.png) bottom left no-repeat #fff;background-size:40%;background-position-x:10px;background-position-y:95%}#yikes_mailchimp_tinyMCE_modal .mce-foot{border-top:none!important;background:0 0}[id*="_yikes_easy_mc_widget"]>div.widget-top>div.widget-title>h4{background:url(../../includes/images/MailChimp_Assets/Freddie_original.png) 2% 50%/25px auto no-repeat #FAFAFA;padding-left:40px}#review-yikes-easy-mailchimp-notice #yikes-mailchimp-logo,#yikes-mailchimp-logo{font-size:14px;text-align:center;background:url(../../includes/images/Welcome_Page/yikes-mailchimp-welcome-logo.png) no-repeat}#review-yikes-easy-mailchimp-notice #yikes-mailchimp-logo{background-size:60px;float:left;height:80px;width:80px}.about-wrap img.yikes-easy-mc-feature-image.yikes-easy-mc-feature-image-left,.yikes-easy-mc-feature-image-left{float:left;margin-right:30px;margin-left:0!important}.need-support-icon{line-height:1.5}ul.support-option-list{display:inline-block;width:100%}.support-option{float:left}.support-option-second{margin-left:10px}#yikes-mailchimp-logo.support-page{float:left;width:80pt}.yikes-easy-mc-whats-new-section-image{float:none;width:100%;margin-left:0!important}.welcome-page-tabs{margin-top:2em!important}.welcome-page-about-wrap .about-text,.welcome-page-about-wrap h2.welcome-title{margin-left:115px}.whats-new-wrap img.yikes-easy-mc-whats-new-section-image{margin-top:10px}.whats-new-wrap .feature-section:nth-child(1) img{float:left}.whats-new-wrap .feature-section:nth-child(3) img{float:right;width:250px;margin-right:0!important;margin-left:30px}.whats-new-wrap .feature-section:nth-child(4) img{margin-left:0!important}#yikes-mailchimp-logo{height:132px;width:132px}.about-wrap #yikes-mailchimp-logo{position:absolute;top:0;left:0}.about-wrap h2{text-align:left}.edd-welcome-screenshots{float:right;margin-left:10px!important}.about-wrap .feature-section{margin-top:20px}.about-wrap .feature-section p{max-width:40em}.about-wrap img.yikes-easy-mc-feature-image{float:right;margin-left:30px}.yikes-easy-mc-feature-image.yikes-easy-mc-feature-v3-image{border:0;margin-left:100px!important;margin-right:100px;max-height:340px;width:auto}#credit-container,#translators-container{display:inline-block;width:100%}#credit-container h2,#translators-container h2{margin:0 0 .5em 1em}#translators-container{margin-top:5em}#translators-container .translation-language{color:#333}#credit-container .team-member,#translators-container .translator{margin:1em 5% 1em 0;text-align:center}#credit-container .team-member img,#translators-container .translator img{border-radius:50%}.admin_page_yikes-mailchimp-welcome .about-wrap div.error,.admin_page_yikes-mailchimp-welcome .about-wrap div.updated{display:block;margin-left:115px}.github-avatar-image{width:100px}.github-avatar-url{display:inline-block;width:20%}github-avatar-url:focus{outline:0}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container img,div.show-some-love-container img.customizer-upsell-banner{max-width:100%}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container p:first-child{font-style:italic}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container hr{margin:1em 0}body.admin_page_yikes-mailchimp-welcome .nav-tab-wrapper .nav-tab .dashicons{font-size:17px;line-height:1.5}body.admin_page_yikes-mailchimp-welcome #kb-container,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles{display:inline-block;margin-top:1em}body.admin_page_yikes-mailchimp-welcome #kb-container h1{font-size:20px;margin-top:-1em}body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing{width:45%;margin-right:2%;float:left;min-height:260px}body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing li,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing li{margin:12px 0;text-decoration:none}body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing li:before,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing li:before{font-family:dashicons;content:"\f123";vertical-align:middle;display:block;float:left;margin:0 5px 5px 0}body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing li.list-title,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing li.list-title{font-size:17px;font-weight:200;text-decoration:underline}body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing li.list-title:before,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing li.list-title:before{content:"";padding-left:12px}body.admin_page_yikes-mailchimp-welcome .new-feature-list{list-style:none;line-height:middle}body.admin_page_yikes-mailchimp-welcome .new-feature-list li{margin-bottom:10px}body.admin_page_yikes-mailchimp-welcome .new-feature-list li:before{font-family:dashicons;content:"\f139";padding-right:2px;font-size:20px;vertical-align:middle}#review-yikes-easy-mailchimp-notice .button-container{display:block;width:100%;margin:.75em 0 1.5em}#review-yikes-easy-mailchimp-notice .button-container .dashicons{font-size:14px;line-height:1.9;margin-left:-4px}#review-yikes-easy-mailchimp-notice .button-container .dashicons-star-filled{color:#E6B800}#review-yikes-easy-mailchimp-notice .button-container .dashicons-upload{color:#6E8841}#review-yikes-easy-mailchimp-notice .button-container .dashicons-no-alt{color:#dc3a3a;line-height:2}body.easy-mailchimp_page_yikes-inc-easy-mailchimp-settings .dashicons-no-alt{color:#dc3a3a}#review-yikes-easy-mailchimp-notice .button-container a{margin-right:10px}#review-yikes-easy-mailchimp-notice{border-left:4px solid #00a0d2;background:#fefefe;padding:10px 12px 1px;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:15px 25px 20px 5px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background:#D8D8D8}.dashicons.yikes-love{color:pink}.field-description-input{resize:vertical;max-height:100px}.yikes-easy-mc-postbox h3{background:#00a0d2;font-weight:800;color:#fff}.yikes-easy-mc-postbox h3.bg-transparent{color:#333;font-weight:400;background:0 0}.yikes-mc-warning-message{padding-left:15px;margin-top:0;padding-top:10px;color:#da6e6e}.error-message-container label[for=yikes-easy-mc-user-subscribed-message],.error-message-container label[for=yikes-easy-mc-user-subscribed-update-link],.error-message-container label[for=yikes-easy-mc-user-email-subject],.error-message-container label[for=yikes-easy-mc-user-email-body],.error-message-container label[for=yikes-easy-mc-success-message],.error-message-container label[for=yikes-easy-mc-success-single-optin-message],.error-message-container label[for=yikes-easy-mc-user-resubscribed-success-message],.error-message-container label[for=yikes-easy-mc-general-error-message]{padding:.5em 1em;background:rgba(241,241,241,.75);box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin:0}body.admin_page_yikes-mailchimp-edit-form #error-container{padding:2px 1em;background:rgba(241,241,241,.75);box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin:0;color:#F56060}.error-message-container label:last-child{padding-bottom:1em;margin-bottom:.5em}.error-message-container label,.form-settings-container label{display:block;margin:1em 0}.yikes-easy-forms-sidebar .yikes-mc-settings-expansion-section{padding:.5em .75em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.yikes-mc-settings-expansion-section{display:none;background:rgba(241,241,241,.75)}.expansion-section-title{background:#fff}.expansion-section-title.settings-sidebar,.form-builder-section-title{text-decoration:none;display:block;border:1px solid rgba(177,177,177,.71);color:#333;padding:5px;margin:.5em 0 0}.expansion-section-title.settings-sidebar .dashicons,.form-builder-section-title .dashicons{content:"\f132";font-family:dashicons;font-size:15px;line-height:1.5}span.easy-mailchimp-add-on-valid-license-container{color:#44ba44;display:block;margin-top:1em}.easy-mailchimp-add-on-invalid-license-container{color:rgba(227,107,107,.86);display:block;margin-top:1em}.options-sidebar .yikes-easy-mc-postbox{overflow:visible}.options-sidebar .inside{padding:0 20px 12px}.yikes-easy-mc-about-text{margin-top:0}.add-on-settings-divider{margin:1em 0!important}#yks-mailchimp-double-optin-message,#yks-mailchimp-single-optin-message,.settings-page-input{width:50%}#yks-mailchimp-double-optin-message,#yks-mailchimp-single-optin-message{min-height:75px;max-height:200px;resize:vertical}#addon-settings-nav li a,#settings-nav li a{color:#333;text-decoration:none!important;transition:color .15s ease-out;-moz-transition:color .15s ease-out;-webkit-transition:color .15s ease-out;-o-transition:color .15s ease-out}#addon-settings-nav li a:hover,#settings-nav li a:hover,.option-menu-selected-arrow+a{color:#00a0d2!important}#addon-settings-nav{margin-bottom:0;margin-top:5px}.option-menu-selected-arrow{width:0;height:0;border-top:10px solid transparent;border-bottom:10px solid transparent;border-left:10px solid #a0a5aa;position:absolute;left:-.1em}label[for=yikes-mailchimp-debug-status]{display:inline-block;margin-bottom:1em;line-height:2.25}#yikes-mailchimp-debug-status{float:left;margin-top:.5em}label[for=yikes-mc-recaptcha-setting],label[for=yikes-mc-recaptcha-api-key]{display:block;margin-bottom:1em}.recaptcha-preview-link,input.recaptcha-setting-checkbox{display:block;margin-top:.5em}.recaptcha-preview-container{width:100%;display:none;margin:1em 0}#premium-support-form,.support-page-button,.support-page-logo{display:block;width:100%}.wrap #col-left,.wrap #col-right{width:49%}@media (max-width:800px){.wrap #col-left,.wrap #col-right{width:100%}}.support-page-logo{opacity:.7;max-width:100%}.support-page-button{min-height:40px;font-weight:700;text-align:center;line-height:3!important;margin-top:1em!important}.support-page-wordpress-font{font-size:1.3em;margin-right:13px}h2.premium-support-title{margin:1em 0 .5em}#premium-support-form input[type=text],#premium-support-form input[type=email],#premium-support-form input[type=submit],#premium-support-form select{display:block;width:100%;min-width:200px;margin:.5em 0}#premium-support-form label{font-weight:800}#premium-support-form label input,#premium-support-form label select{font-weight:500}#premium-support-form p{font-weight:300;display:block;margin-bottom:1em}#wp-support-content-wrap{min-height:150px;width:100%}.support-form-hidden{display:none!important}#yikes-mailchimp-error-log .row-title{font-weight:400}.create-error-log-help:hover{cursor:pointer}.error-log-tr td{display:table;margin-bottom:1em;margin-top:.5em}p.error-log-missing-file em,p.to-start-logging-errors-notice em{margin:10px 0}.export-custom-forms-list{display:none;margin:1em 0 2em}.export-custom-forms-list p{margin-top:0}.list-rating-star{color:#E6B800}#chimp-chatter{text-align:center}#chimp-chatter .chimp-chatter-container{margin:1em .2em;background:#F8F8F8;border-radius:10px;float:left;height:220px;padding:10px;width:44%}.chimp-chatter-mailchimp-logo{width:100%;display:block;margin:0 auto}.chimp-chatter-sidebar h2.account-status{text-align:center}.mailchimp-affiliate-link{color:#333;display:none}.mailchimp-avatar{display:block;margin:0 auto;box-shadow:3px 3px 10px 0 rgba(214,214,214,.75)}#yikes_easy_mc_toolbar_links li a:focus,.merge-tag-text{box-shadow:none}.chimpchatter-button-container{clear:both;display:block}.chimp-chatter-postbox{float:left;width:49%;margin-right:1%}.circle-account-active,.circle-account-inactive{display:inline-block;vertical-align:middle;height:15px;width:15px;border-radius:50%}#account-details .chimp-chatter-postbox.even{margin-right:0}.circle-account-inactive{margin-top:-3px;margin-right:5px;background:rgba(250,138,138,.79)}.chatter-type{font-weight:600;font-family:"open sans";font-size:14px;margin:5px 5px 0}.chatter-message{margin:2px 2px 15px!important}.circle-account-active{margin-top:-3px;margin-right:5px;background:rgba(128,214,128,.77)}#account-details .mailchimp-avatar{width:120px;border-radius:10%;margin-top:.5em}.chimp-chatter-positive{border-left:4px solid #9ddf9d}.chimp-chatter-negative{border-left:4px solid #FBA2A2}.chimp-chatter-neutral{border-left:4px solid #b1b1b1}#import-list-to-site{margin-top:10px}#import-list-to-site .input-field{display:block;width:100%;margin-top:5px;margin-bottom:5px}#import-list-to-site .form-description{resize:vertical;max-height:65px}#import-list-to-site .description{margin-top:5px}input.clear-mailchimp-api-cache{float:right;margin-top:-33px!important}.yikes-list-refreshed-notice{border-left:4px solid #46b450;margin:5px 0}.yikes-list-refreshed-notice p{margin:1em 0 .5em;padding:6px 12px;background:rgba(241,241,241,.5);font-size:13px;line-height:1.5}.sidebar-container,.star-container{margin-top:5px;margin-bottom:1.5em}.star-container a{text-decoration:none}.star-container .dashicons-star-filled{font-size:1.75em}.sidebar-footer-text{margin:15px 0!important;text-align:center}.sidebar-twitter-icon{text-decoration:none;color:#55ACEE}.field-doesnt-exist-notice{position:absolute;margin-left:5px;width:18px}.field-type-text{display:inline-block}.type-container{margin:0}.form-field-container{margin-top:0;margin-bottom:0}.field-no-longer-exists-warning{position:absolute;margin-left:5px;width:18px}.form-field-container td input[type=checkbox],.form-field-container td input[type=radio]{margin:0 5px}.form-field-container td input[type=checkbox]:first-child,.form-field-container td input[type=radio]:first-child{margin-left:0!important}.merge-tag-text{background:0 0;border:none}.pre-defined-tag-link{font-size:11px}.toggle-container{font-size:small;float:right}#pre-defined-tag-container{display:none}#pre-defined-tag-container h3{margin-bottom:0}#pre-defined-tag-container .tooltop-tag .dashicons-editor-help{font-size:13px;line-height:1.5}.no-fields-assigned-notice{margin:4em 0 2.25em;padding-bottom:6em;width:100%;text-align:center;background:url(../../includes/images/no-form-fields-assigned-arrow.jpg) bottom center no-repeat;background-size:105px}.yikes-easy-mc-widget-preloader{position:absolute;left:48%;margin-top:-96px}.yikes-dashboard-widget-section{padding:0 12px 12px}.select-list-title{padding-left:0}.yikes-dashboard-widget-section .description{margin:.5em 0 0}. error-descripion{padding-top:.5em}.yikes-mc-freddie-logo{float:left;margin-right:10px}.mv_ig_list{width:94%;margin-bottom:8px!important;border:none!important;background:0 0!important}.mv_ig_list .list-container{position:absolute}.mv_ig_list a{width:48%;padding:5px 0!important;text-align:center;margin:0}.mv_ig_list a:first-child{margin-right:0}.mv_ig_list a:last-child{float:right}.mv_ig_list .nav-tab{border:1px solid #ccc}.mv_ig_list .nav-tab-active{color:#fff;font-weight:700;background:#00a0d2}.mv_ig_list .arrow-down{position:absolute;margin-top:21px;margin-left:50px;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:12px solid #00a0d2}#container-container{display:inline-block;width:521px}#container-container .list-container{float:left;width:240px;position:relative}#container-container .list-container:last-child{margin-left:2em}#yikes_easy_mc_toolbar{margin-top:-.75em}#yikes_easy_mc_toolbar_links{display:inline-block;width:100%;margin:0;padding:10px 0}#yikes_easy_mc_toolbar_links li{float:left;margin:0 .5em}#yikes_easy_mc_toolbar_links li a{text-decoration:none;display:inline-block}#yikes_easy_mc_toolbar_links li a.selected_hidden_setting{color:#333;margin-bottom:3px}#yikes_easy_mc_toolbar_links li .selected_setting_triangle{width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-top:13px solid rgba(206,206,206,1);margin:0 auto}.checkbox-settings-list-dropdown,.optin-checkbox-label-input{width:250px;display:block}#yikes_easy_mc_toolbar_links li a.form-builder:before{content:"\f116";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.form-customizer:before{content:"\f100";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.error-messages:before{content:"\f117";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.form-settings:before{content:"\f111";font-family:dashicons}#checkbox-settings-form .dashicons-editor-help{font-size:15px;line-height:1.6}.no-lists-setup-notice{padding:.5em 0}.yikes-form-id-number{width:55px}span[title=Impressions]:hover,span[title=Submissions]:hover,span[title="Conversion Rate"]:hover{display:block;cursor:pointer}.form-id-container{padding:1px 8px;border-radius:5px;background:#49a9ec;font-weight:700;color:#fff}.manage-form-admin-notice{margin-top:1.75em!important}.remove-notification,.yikes-mc-settings-expansion-section a.remove-field,a.yikes-delete-mailchimp-form,a.yikes-delete-subscriber{color:#d96060!important}.yikes-delete-mailchimp-form{margin-top:6px}#postbox-container-1 .yikes-delete-mailchimp-form{float:right}.form-buttons-container{display:block;padding:11px 10px}.forms-buttons-container input[type=submit]{margin:0 0 .5em}.update-form-spinner{position:absolute;left:0;right:0;margin:0 auto;bottom:13px}.yikes-mc-shortcode-input{text-align:center;width:100%;color:#333}.hidden-class{display:none!important}.stat-container{width:10%;max-width:75px}.no-current-subscriber-notice em,.no-mailchimp-forms-found em{padding:25px 0 25px 25px}.column-columnname span.stats{display:block;width:100%;text-align:center}.column-columnname span.stats span{display:inline-block;width:20%}.column-columnname span.stats span:hover{cursor:pointer}#available-fields li,#available-interest-groups li{text-decoration:none;display:block;border:1px solid rgba(177,177,177,.71);color:#333;padding:5px;margin:.5em 0}#available-fields li.not-available,#available-interest-groups li.not-available{opacity:.6!important}#available-fields li.field-to-add-to-form,#available-interest-groups li.group-to-add-to-form{background:rgba(46,162,204,.25)}.add-field-to-editor .add-to-form-builder-arrow,.button-secondary .add-to-form-builder-arrow{width:15px;font-size:15px;line-height:1.8}.clear-form-fields{background:#e14d43;border-color:#d02c21;color:#fff;box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15);text-decoration:none;display:inline-block;height:28px;padding:0 10px 1px;border-width:1px;-webkit-appearance:none;border-radius:3px;white-space:nowrap;font-size:13px;line-height:26px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;float:right;margin:0 11px 10px 0}.clear-form-fields:active,.clear-form-fields:focus,.clear-form-fields:hover{background:#dd382d;border-color:#ba281e;color:#fff;box-shadow:inset 0 1px 0 #e8776f}.yikes-mc-view-list-breadcrumbs{padding:.8em;border:1px solid #D8D8D8;background:#ECECEC;margin:1.5em 0 .8em}.yikes-mc-member-rating-star{color:#daa520}#yikes-mc-subscriber-card-wrapper{background:#fefefe;min-height:200px;display:inline-block;box-shadow:0 1px 1px rgba(0,0,0,.04);webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;padding:15px 20px;width:500px;float:left}#yikes-mc-subscriber-card-wrapper .subscriber-optin-ip{display:inline-block;margin:1em 0 0;font-style:italic}.view-user-data-wrap #customer-tab-wrapper-list{float:left;background:#fefefe;margin-top:0;padding:12px;margin-left:-1px;border-right:1px solid #e5e5e5;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}.view-user-data-wrap #customer-tab-wrapper-list .dashicons{font-size:23px;height:23px;width:23px;margin:3px 0}.view-user-data-wrap #customer-tab-wrapper-list li.inactive{color:rgba(51,51,51,.31);transition:color ease-out .1s}.view-user-data-wrap #customer-tab-wrapper-list li.active,.view-user-data-wrap #customer-tab-wrapper-list li.inactive:hover{color:rgba(51,51,51,1)}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top .member-star-rating-container,#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top h2,#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top img{float:left}#yikes-mc-subscriber-card-wrapper #delete-mailchimp-subscriber{display:block;margin:0 auto}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top img{border-radius:3px}#yikes-mc-subscriber-card-wrapper .merge-variable-section li{display:inline-block;list-style:none;float:left;width:50%;min-height:65px;border-bottom:1px dotted #ddd}#yikes-mc-subscriber-card-wrapper .merge-variable-section li p{margin:0 0 1em}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top h2{max-width:370px;width:75%;padding:0}#yikes-mc-subscriber-card-wrapper .member-star-rating-container{display:block;margin:.5em 0 .5em 10px}#yikes-mc-subscriber-card-wrapper h2{margin-left:10px;margin-top:0;padding-top:0}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-body,#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top{display:inline-block;width:100%}.member-location-data,.member-subscription-date{width:70%;max-width:370px;display:block;float:left}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-body h4{margin-top:0;margin-left:5px}.yikes-mc-subscriber-hr{margin:1.5em 0}.member-subscription-date{margin:.5em 0 .5em 10px}.member-location-data{margin:.25em 0 .25em 10px}.addon-required-link{color:#333;opacity:.5}.view-list-sidebar-input{color:#333}.interest-group-ul,.merge-variable-ul,.segment-ul{padding-left:15px;font-size:14px}.interest-group-ul li .dashicons,.merge-variable-ul li .dashicons{line-height:1.8;font-size:9px}a.button-primary.edit-fields-button{margin:0 0 10px 15px}.interest-group-count,.merge-variable-count,.segment-group-count{text-decoration:underline;margin-bottom:.75em;padding-left:7px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td a,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a:hover{text-decoration:none}.interest-group-title{padding-left:5px}.edit-segments-button{margin:0 0 10px 15px}.edit-segment-description{padding:0 0 10px 15px}#credit-container{margin-top:1.5em}.yikes-easy-mailchimp-custom-content-icon{font-size:15px;line-height:1}.custom-field-section{display:block;margin:1em 0}#associated-list{width:100%;margin-top:5px}#redirect-user-to-selection{width:100%}#edit-yikes-mc-form label h3{margin-left:0;padding-left:0}#available-fields .field-required{color:#d96060!important}body.admin_page_yikes-mailchimp-edit-form #poststuff h2{padding:8px 12px;margin-top:0}.edit-form-form-description{width:100%;resize:vertical;min-height:65px;max-height:100px}.edit-form-title{padding-left:12px!important}#edit-form-description{padding:0 12px;margin:1em 0}.yikes-easy-mc-postbox{overflow:hidden}.no-interest-groups-found-message{opacity:.35}.upgrading-ellipse-one,.upgrading-ellipse-two{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-moz-opacity:0;-webkit-animation:dot 1.3s infinite}#interest-groups-container .description,#merge-variables-container .description{padding-top:.5em}.inside-section-1{margin-top:0;margin-bottom:1.5em}.inside-section-2{margin-top:0;margin-bottom:2em}.form-field-container-span{display:block;margin:.5em 0}#style-list ul li{display:block;width:100%;margin:1em 0}.form-style-adjustment,.wp-picker-container{display:block!important;width:100%;margin:.5em 0}.dynamic-email-tag{display:inline-block;margin-right:5px}.dynamic-tag-description td{padding-top:0}#create-new-notification-button{margin-top:1em}.file-container{display:none}.yikes-mailchimp-file-field input[name*="custom-field[incentive-attachment]"]{margin-bottom:.5em}.yikes-mailchimp-file-field input[name*="custom-field[incentive-attachment]"]+.button-secondary{margin-left:4px}input#upload-btn[data-attr-position="1"]{margin-left:0}.remove-file-button{background:url(../partials/helpers/fields/img/icon-delete.png);height:16px;position:absolute;text-indent:-99999px;width:16px}a.add-new-incentive-attachment{display:block;width:40px;margin-right:100%!important;margin-top:.5em!important}a.add-new-incentive-attachment .dashicons{font-size:15px;line-height:1.8}.form-builder-placeholder{background:rgba(206,206,206,.2);height:30px}.admin_page_yikes-mailchimp-edit-form #form-settings .section-title{font-size:1em;border-bottom:1px solid rgba(187,187,187,.29);display:block;width:100%;padding-bottom:6px;margin-bottom:.5em;margin-top:1.5em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior label,.admin_page_yikes-mailchimp-edit-form #form-settings .section-title.first{margin-top:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior{display:inline-block;width:100%;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;background:rgba(241,241,241,.75);padding:1em}label.login-restriction-center{display:block;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restirction-section{display:inline-block}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restirction-section p.description.error{color:#F56060}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restirction-section label{float:left;margin-right:.5em;margin-top:0;margin-bottom:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-expired-message,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-login-message,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-pending-message{display:block;width:100%;min-height:50px}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child{float:left;padding-left:2%;width:98%;border-left:1px dashed #BDBDBD;border-spacing:2px;margin:.5em 0 1em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-submit-button-text{margin:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restirction-section{margin-bottom:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restirction-section.last{margin-bottom:.75em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child.hidden{display:none}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .description+label{margin-top:1em;float:left;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior label.inline-form-label{margin-bottom:0;margin-top:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .description{display:block;width:100%;float:left}.admin_page_yikes-mailchimp-edit-form #form-settings .nested-child strong:first-child,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior strong:first-child{display:block;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .inline-form-label{float:left;margin-right:10px}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper{overflow-y:auto;height:150px;width:170px;background:#fff;border:1px solid #ddd;box-shadow:0 5px 10px rgba(0,0,0,.2);outline:0;z-index:10001;margin:0}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration{width:13em}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-30,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-60{width:11em}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list{margin:0;padding:0;list-style:none}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-duration{margin-left:5px;color:#888}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list:hover .ui-timepicker-duration{color:#888}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li{padding:3px 0 3px 5px;cursor:pointer;white-space:nowrap;color:#000;list-style:none;margin:0}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list:hover .ui-timepicker-selected{background:#fff;color:#000}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list .ui-timepicker-selected:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li:hover,body.admin_page_yikes-mailchimp-edit-form li.ui-timepicker-selected{background:#1980EC;color:#fff}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li:hover .ui-timepicker-duration,body.admin_page_yikes-mailchimp-edit-form li.ui-timepicker-selected .ui-timepicker-duration{color:#ccc}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled{color:#888;cursor:default}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled{background:#f2f2f2}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker{background-color:#fff;border:1px solid #66AFE9;border-radius:4px;box-shadow:0 0 8px rgba(102,175,233,.6);display:none;margin-top:4px;padding:10px;width:240px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a:hover,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker td:hover a{color:#2A6496;transition:color .1s ease-in-out}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-header{margin-bottom:4px;text-align:center}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-title{font-weight:700}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev{cursor:default;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;height:20px;line-height:1;margin-top:2px;width:30px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev{float:left;text-align:left}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next{float:right;text-align:right}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev:before{content:"\f141";font-family:dashicons}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next:before{content:"\f139";font-family:dashicons}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-next:hover,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-prev:hover{cursor:pointer!important}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-close{display:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-current{color:#555!important;border-color:#ccc!important;background:#f7f7f7!important;box-shadow:0 1px 0 #ccc!important;vertical-align:top!important;display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin-top:10px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-current-day a,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-today a{color:#fff}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-icon{display:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar{table-layout:fixed;width:100%}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar th{text-align:center;padding:4px 0}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td{border-radius:4px;transition:background-color .1s ease-in-out,color .1s ease-in-out}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td:hover{background-color:#EBEBEB;cursor:pointer}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-today{background-color:rgba(66,137,204,.65)}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-current-day{background-color:#4289cc}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable:hover{background-color:#fff;cursor:default}.custom-radio-holder{display:inline-block;width:100%;margin:.5em 0}.custom-radio-label{display:block;float:left;margin:0 5px}.custom-radio-label:first-child{margin-left:0!important}.custom-radio-label input[type=radio]{margin-right:0!important}.custom-select-field{display:block;width:100%;margin:.5em 0}#available-widgets [class*=yikes_easy] .widget-title:before{content:""!important;background:url(../../includes/images/MailChimp_Assets/Freddie_original.png) no-repeat #FAFAFA;background-size:contain}body.wp-customizer #available-widgets [id*="_yikes_easy_mc_widget"]>div.widget-top>div.widget-title>h4{background:0 0!important}#connection-container{float:right;color:#fff;padding:.25em .75em .25em .25em;margin-top:-4px}#connection-container.api-connected{background:#44ba44}#connection-container.api-not-connected{background:#b5b5b5}.yikes-mc-api-connected,.yikes-mc-api-not-connected{line-height:1}.show-some-love-container{transition:max-height .75s}#review-yikes-easy-mc{text-align:center}#review-yikes-easy-mc .dashicons-star-filled{color:#E6B800}.meta-box-sortables hr{margin:1.75em 0 0}#about-yikes-inc{display:none}#about-yikes-inc .about-sidebar-yikes-logo{float:left;width:95px;margin:5px 7px 0 0}#about-yikes-inc p{margin-top:0}.yikes-easy-mc-updated{display:block;border-left:4px solid #4EAEF0;margin:1em 20px 1em 0;padding:2px 10px;background:right bottom no-repeat #fff;background-size:120px;background-position-y:29px}.support-section{margin:1.5em 0;padding:1em 0}.github-octocat{background:url(../../includes/images/Support_Page/Octocat.png) left top no-repeat;background-size:100%;width:50px;height:45px;display:block;float:left;margin-top:-5px}@media screen and (max-width:1200px){.yikes-easy-mc-postbox #post-body.columns-2 #postbox-container-1{float:none}}@media screen and (max-width:850px){.option-menu-selected-arrow{display:none!important}}@media screen and (max-width:782px){#chimp-chatter .chimp-chatter-container{float:none;height:auto;width:100%}}.recaptcha-demo-gif{width:275px}.pro-version-only-notice{color:#d96060}.upgrading-ellipse-one{filter:alpha(opacity=0);-khtml-opacity:0;opacity:0;-webkit-animation-delay:0ms;animation:dot 1.3s infinite;animation-delay:0ms}.upgrading-ellipse-two{filter:alpha(opacity=0);-khtml-opacity:0;opacity:0;-webkit-animation-delay:.2s;animation:dot 1.3s infinite;animation-delay:.2s}.upgrading-ellipse-three{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:.3s;animation:dot 1.3s infinite;animation-delay:.3s}@keyframes dot{0%,50%{opacity:0}100%{opacity:1}}
1
+ #yikes-easy-mc-dashboard-widget-stats h3,.addon-image{text-align:center}.yikes-easy-mc-hidden{display:none}.shortcode-input-field{color:#333;background:rgba(216,216,216,.35)!important}.edit-form-field-container-span{display:block;margin:.5em 0}.no-forms-widget{margin:2em 0}.view-ad-link{display:block;margin:0 auto}.no-forms-found-icon{font-size:14px;line-height:1.4;width:14px;color:#e07d7d}.coming-soon-button{position:absolute}.coming-soon-button .dashicons{font-size:14px;line-height:1.8}.add-ons-about-text{margin-top:0}#add-ons{margin:3em 0}.addon-image{display:block}.no-mailchimp-lists-found{padding:25px 0 25px 25px}.add-new-subscriber-button{display:block;margin-top:2em}.add-new-subscriber-form-container{display:none;padding-top:1em}.add-new-subscriber-form-container h4{margin-top:0}#yikes-easy-mc-widget-stat-holder,.yikes-easy-mc-stats-table{margin-top:1em}#migration-buttons{display:inline-block;margin-bottom:.5em}#migration-buttons form:first-child{margin-right:10px}#migration-buttons form{float:left}#yikes_easy_mc_account_activity_widget h3 span,#yikes_easy_mc_list_stats_widget h3 span{background:url(../../includes/images/MailChimp_Assets/Freddie_original.png) 8px 4px/25px auto no-repeat;background-size:25px;display:block;height:30px;padding-left:3em;padding-top:5px}#yikes_easy_mc_account_activity_widget h3.hndle,#yikes_easy_mc_list_stats_widget .inside{padding:0}#yikes_easy_mc_list_stats_widget h3{padding:0;line-height:1.6em}.yikes-easy-mc-stats-table,.yikes-easy-mc-stats-table .yikes-easy-mc-table-stats-tr,.yikes-easy-mc-stats-table tbody{display:block;width:100%}.yikes-easy-mc-table-stats-tr td{display:inline-block;width:48%;text-align:center}.yikes-easy-mc-table-stats-tr td:hover{cursor:pointer}.yikes-easy-mc-table-stats-tr td:first-of-type{border-right:1px solid #ececec}.yikes-easy-mc-stats-table .yikes-easy-mc-table-stats-tr-first{border-bottom:1px solid #ececec;border-top:1px solid #ececec}.yikes-easy-mc-stats-table p.yikes-easy-mc-dashboard-stat{color:#00a0d2;font-weight:800;font-size:20px;margin-bottom:2px;margin-top:15px;line-height:1.2;max-height:80px}.yikes-easy-mc-stats-table p.yikes-easy-mc-stat-list-label{font-size:13px;margin-top:0;margin-bottom:15px;font-family:"Open Sans"}#yikes_easy_mc_account_activity_widget table th.row-title{padding-left:10px}#pre-defined-tag-interior-container{background:url(../../includes/images/tinyMCE/yikes-mailchimp-combo-faded.png) bottom right no-repeat #fff;background-size:40%}.qtip-default{background-color:transparent!important;border:transparent!important;z-index:9999999!important}.qtip-bootstrap{padding:10px!important;z-index:9999999!important;font-size:12px}.search-interest-group-preloader{display:block;margin:8px 0 0 55px;width:12px}.no-interest-groupings-enabled-message{display:block;margin-top:12px!important;width:100%}.tooltip-integration-banner{max-width:100%;margin:0 0 .25em}.tooltiptext.qtip-bootstrap{font-size:12px}.tooltip-title{margin:0}.dashicons-editor-help:hover{cursor:pointer}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section{display:block;width:100%;margin:1.5em 0}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section .interest-group-section-title{display:block;width:100%;margin:.5em 0;text-decoration:underline}.github-avatar-url,body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing li a,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing li a{text-decoration:none}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section input{margin-right:0}body.easy-forms_page_yikes-inc-easy-mailchimp-settings .interest-group-section label{margin-right:10px}i.mce-ico.mce-i-yks_mc_tinymce_button_key{background:url(../../includes/images/tinyMCE/Freddie_wink.png) no-repeat;background-size:18px;background-position-y:1px}#yikes_mailchimp_tinyMCE_modal-title{padding-left:42px;background:url(../../includes/images/MailChimp_Assets/Freddie_original.png) left no-repeat;background-size:25px;background-position-x:10px}#yikes_mailchimp_tinyMCE_modal{background:url(../../includes/images/tinyMCE/yikes-mailchimp-combo-faded.png) bottom left no-repeat #fff;background-size:40%;background-position-x:10px;background-position-y:95%}#yikes_mailchimp_tinyMCE_modal .mce-foot{border-top:none!important;background:0 0}[id*="_yikes_easy_mc_widget"]>div.widget-top>div.widget-title>h4{background:url(../../includes/images/MailChimp_Assets/Freddie_original.png) 2% 50%/25px auto no-repeat #FAFAFA;padding-left:40px}#review-yikes-easy-mailchimp-notice #yikes-mailchimp-logo,#yikes-mailchimp-logo{font-size:14px;text-align:center;background:url(../../includes/images/Welcome_Page/yikes-mailchimp-welcome-logo.png) no-repeat}#review-yikes-easy-mailchimp-notice #yikes-mailchimp-logo{background-size:60px;float:left;height:80px;width:80px}.about-wrap img.yikes-easy-mc-feature-image.yikes-easy-mc-feature-image-left,.yikes-easy-mc-feature-image-left{float:left;margin-right:30px;margin-left:0!important}.need-support-icon{line-height:1.5}ul.support-option-list{display:inline-block;width:100%}.support-option{float:left}.support-option-second{margin-left:10px}#yikes-mailchimp-logo.support-page{float:left;width:80pt}.yikes-easy-mc-whats-new-section-image{float:none;width:100%;margin-left:0!important}.welcome-page-tabs{margin-top:2em!important}.welcome-page-about-wrap .about-text,.welcome-page-about-wrap h2.welcome-title{margin-left:115px}.whats-new-wrap img.yikes-easy-mc-whats-new-section-image{margin-top:10px}.whats-new-wrap .feature-section:nth-child(1) img{float:left}.whats-new-wrap .feature-section:nth-child(3) img{float:right;width:250px;margin-right:0!important;margin-left:30px}.whats-new-wrap .feature-section:nth-child(4) img{margin-left:0!important}#yikes-mailchimp-logo{height:132px;width:132px}.about-wrap #yikes-mailchimp-logo{position:absolute;top:0;left:0}.about-wrap h2{text-align:left}.edd-welcome-screenshots{float:right;margin-left:10px!important}.about-wrap .feature-section{margin-top:20px}.about-wrap .feature-section p{max-width:40em}.about-wrap img.yikes-easy-mc-feature-image{float:right;margin-left:30px}.yikes-easy-mc-feature-image.yikes-easy-mc-feature-v3-image{border:0;margin-left:100px!important;margin-right:100px;max-height:340px;width:auto}#credit-container,#translators-container{display:inline-block;width:100%}#credit-container h2,#translators-container h2{margin:0 0 .5em 1em}#translators-container{margin-top:5em}#translators-container .translation-language{color:#333}#credit-container .team-member,#translators-container .translator{margin:1em 5% 1em 0;text-align:center}#credit-container .team-member img,#translators-container .translator img{border-radius:50%}.admin_page_yikes-mailchimp-welcome .about-wrap div.error,.admin_page_yikes-mailchimp-welcome .about-wrap div.updated{display:block;margin-left:115px}.github-avatar-image{width:100px}.github-avatar-url{display:inline-block;width:20%}github-avatar-url:focus{outline:0}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container img,div.show-some-love-container img.customizer-upsell-banner{max-width:100%}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container p:first-child{font-style:italic}body.admin_page_yikes-mailchimp-edit-form div.show-some-love-container hr{margin:1em 0}body.admin_page_yikes-mailchimp-welcome .nav-tab-wrapper .nav-tab .dashicons{font-size:17px;line-height:1.5}body.admin_page_yikes-mailchimp-welcome #kb-container,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles{display:inline-block;margin-top:1em}body.admin_page_yikes-mailchimp-welcome #kb-container h1{font-size:20px;margin-top:-1em}body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing{width:45%;margin-right:2%;float:left;min-height:260px}body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing li,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing li{margin:12px 0;text-decoration:none}body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing li:before,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing li:before{font-family:dashicons;content:"\f123";vertical-align:middle;display:block;float:left;margin:0 5px 5px 0}body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing li.list-title,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing li.list-title{font-size:17px;font-weight:200;text-decoration:underline}body.admin_page_yikes-mailchimp-welcome #kb-container .knowledge-base-listing li.list-title:before,body.easy-forms_page_yikes-inc-easy-mailchimp-support .knowledge-base-articles .knowledge-base-listing li.list-title:before{content:"";padding-left:12px}body.admin_page_yikes-mailchimp-welcome .new-feature-list{list-style:none;line-height:middle}body.admin_page_yikes-mailchimp-welcome .new-feature-list li{margin-bottom:10px}body.admin_page_yikes-mailchimp-welcome .new-feature-list li:before{font-family:dashicons;content:"\f139";padding-right:2px;font-size:20px;vertical-align:middle}#review-yikes-easy-mailchimp-notice .button-container{display:block;width:100%;margin:.75em 0 1.5em}#review-yikes-easy-mailchimp-notice .button-container .dashicons{font-size:14px;line-height:1.9;margin-left:-4px}#review-yikes-easy-mailchimp-notice .button-container .dashicons-star-filled{color:#E6B800}#review-yikes-easy-mailchimp-notice .button-container .dashicons-upload{color:#6E8841}#review-yikes-easy-mailchimp-notice .button-container .dashicons-no-alt{color:#dc3a3a;line-height:2}body.easy-mailchimp_page_yikes-inc-easy-mailchimp-settings .dashicons-no-alt{color:#dc3a3a}#review-yikes-easy-mailchimp-notice .button-container a{margin-right:10px}#review-yikes-easy-mailchimp-notice{border-left:4px solid #00a0d2;background:#fefefe;padding:10px 12px 1px;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:15px 25px 20px 5px}input.readonly,input[readonly],textarea.readonly,textarea[readonly]{background:#D8D8D8}.dashicons.yikes-love{color:pink}.field-description-input{resize:vertical;max-height:100px}.yikes-easy-mc-postbox h3{background:#00a0d2;font-weight:800;color:#fff}.yikes-easy-mc-postbox h3.bg-transparent{color:#333;font-weight:400;background:0 0}.yikes-mc-warning-message{padding-left:15px;margin-top:0;padding-top:10px;color:#da6e6e}.error-message-container label[for=yikes-easy-mc-user-subscribed-message],.error-message-container label[for=yikes-easy-mc-user-subscribed-update-link],.error-message-container label[for=yikes-easy-mc-user-email-subject],.error-message-container label[for=yikes-easy-mc-user-email-body],.error-message-container label[for=yikes-easy-mc-success-message],.error-message-container label[for=yikes-easy-mc-success-single-optin-message],.error-message-container label[for=yikes-easy-mc-user-resubscribed-success-message],.error-message-container label[for=yikes-easy-mc-general-error-message]{padding:.5em 1em;background:rgba(241,241,241,.75);box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin:0}body.admin_page_yikes-mailchimp-edit-form #error-container{padding:2px 1em;background:rgba(241,241,241,.75);box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin:0;color:#F56060}.error-message-container label:last-child{padding-bottom:1em;margin-bottom:.5em}.error-message-container label,.form-settings-container label{display:block;margin:1em 0}.yikes-easy-forms-sidebar .yikes-mc-settings-expansion-section{padding:.5em .75em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.yikes-mc-settings-expansion-section{display:none;background:rgba(241,241,241,.75)}.yikes-mc-settings-expansion-section .form-table td{padding:10px;vertical-align:top}.yikes-mc-settings-expansion-section .form-table td p.description{line-height:1;margin-top:2px}.expansion-section-title{background:#fff}.expansion-section-title.settings-sidebar,.form-builder-section-title{text-decoration:none;display:block;border:1px solid rgba(177,177,177,.71);color:#333;padding:5px;margin:.5em 0 0}.expansion-section-title.settings-sidebar .dashicons,.form-builder-section-title .dashicons{content:"\f132";font-family:dashicons;font-size:15px;line-height:1.5}span.easy-mailchimp-add-on-valid-license-container{color:#44ba44;display:block;margin-top:1em}.easy-mailchimp-add-on-invalid-license-container{color:rgba(227,107,107,.86);display:block;margin-top:1em}.options-sidebar .yikes-easy-mc-postbox{overflow:visible}.options-sidebar .inside{padding:0 20px 12px}.yikes-easy-mc-about-text{margin-top:0}.add-on-settings-divider{margin:1em 0!important}#yks-mailchimp-double-optin-message,#yks-mailchimp-single-optin-message,.settings-page-input{width:50%}#yks-mailchimp-double-optin-message,#yks-mailchimp-single-optin-message{min-height:75px;max-height:200px;resize:vertical}#addon-settings-nav li a,#settings-nav li a{color:#333;text-decoration:none!important;transition:color .15s ease-out;-moz-transition:color .15s ease-out;-webkit-transition:color .15s ease-out;-o-transition:color .15s ease-out}#addon-settings-nav li a:hover,#settings-nav li a:hover,.option-menu-selected-arrow+a{color:#00a0d2!important}#addon-settings-nav{margin-bottom:0;margin-top:5px}.option-menu-selected-arrow{width:0;height:0;border-top:10px solid transparent;border-bottom:10px solid transparent;border-left:10px solid #a0a5aa;position:absolute;left:-.1em}label[for=yikes-mailchimp-debug-status]{display:inline-block;margin-bottom:1em;line-height:2.25}#yikes-mailchimp-debug-status{float:left;margin-top:.5em}label[for=yikes-mc-recaptcha-setting],label[for=yikes-mc-recaptcha-api-key]{display:block;margin-bottom:1em}.recaptcha-preview-link,input.recaptcha-setting-checkbox{display:block;margin-top:.5em}.recaptcha-preview-container{width:100%;display:none;margin:1em 0}#premium-support-form,.support-page-button,.support-page-logo{display:block;width:100%}.wrap #col-left,.wrap #col-right{width:49%}@media (max-width:800px){.wrap #col-left,.wrap #col-right{width:100%}}.support-page-logo{opacity:.7;max-width:100%}.support-page-button{min-height:40px;font-weight:700;text-align:center;line-height:3!important;margin-top:1em!important}.support-page-wordpress-font{font-size:1.3em;margin-right:13px}h2.premium-support-title{margin:1em 0 .5em}#premium-support-form input[type=text],#premium-support-form input[type=email],#premium-support-form input[type=submit],#premium-support-form select{display:block;width:100%;min-width:200px;margin:.5em 0}#premium-support-form label{font-weight:800}#premium-support-form label input,#premium-support-form label select{font-weight:500}#premium-support-form p{font-weight:300;display:block;margin-bottom:1em}#wp-support-content-wrap{min-height:150px;width:100%}.support-form-hidden{display:none!important}#yikes-mailchimp-error-log .row-title{font-weight:400}.create-error-log-help:hover{cursor:pointer}.error-log-tr td{display:table;margin-bottom:1em;margin-top:.5em}p.error-log-missing-file em,p.to-start-logging-errors-notice em{margin:10px 0}.export-custom-forms-list{display:none;margin:1em 0 2em}.export-custom-forms-list p{margin-top:0}.list-rating-star{color:#E6B800}#chimp-chatter{text-align:center}#chimp-chatter .chimp-chatter-container{margin:1em .2em;background:#F8F8F8;border-radius:10px;float:left;height:220px;padding:10px;width:44%}.chimp-chatter-mailchimp-logo{width:100%;display:block;margin:0 auto}.chimp-chatter-sidebar h2.account-status{text-align:center}.mailchimp-affiliate-link{color:#333;display:none}.mailchimp-avatar{display:block;margin:0 auto;box-shadow:3px 3px 10px 0 rgba(214,214,214,.75)}#yikes_easy_mc_toolbar_links li a:focus,.merge-tag-text{box-shadow:none}.chimpchatter-button-container{clear:both;display:block}.chimp-chatter-postbox{float:left;width:49%;margin-right:1%}.circle-account-active,.circle-account-inactive{display:inline-block;vertical-align:middle;height:15px;width:15px;border-radius:50%}#account-details .chimp-chatter-postbox.even{margin-right:0}.circle-account-inactive{margin-top:-3px;margin-right:5px;background:rgba(250,138,138,.79)}.chatter-type{font-weight:600;font-family:"open sans";font-size:14px;margin:5px 5px 0}.chatter-message{margin:2px 2px 15px!important}.circle-account-active{margin-top:-3px;margin-right:5px;background:rgba(128,214,128,.77)}#account-details .mailchimp-avatar{width:120px;border-radius:10%;margin-top:.5em}.chimp-chatter-positive{border-left:4px solid #9ddf9d}.chimp-chatter-negative{border-left:4px solid #FBA2A2}.chimp-chatter-neutral{border-left:4px solid #b1b1b1}#import-list-to-site{margin-top:10px}#import-list-to-site .input-field{display:block;width:100%;margin-top:5px;margin-bottom:5px}#import-list-to-site .form-description{resize:vertical;max-height:65px}#import-list-to-site .description{margin-top:5px}input.clear-mailchimp-api-cache{float:right;margin-top:-33px!important}.yikes-list-refreshed-notice{border-left:4px solid #46b450;margin:5px 0}.yikes-list-refreshed-notice p{margin:1em 0 .5em;padding:6px 12px;background:rgba(241,241,241,.5);font-size:13px;line-height:1.5}.sidebar-container,.star-container{margin-top:5px;margin-bottom:1.5em}.star-container a{text-decoration:none}.star-container .dashicons-star-filled{font-size:1.75em}.sidebar-footer-text{margin:15px 0!important;text-align:center}.sidebar-twitter-icon{text-decoration:none;color:#55ACEE}.field-doesnt-exist-notice{position:absolute;margin-left:5px;width:18px}.field-type-text{display:inline-block;float:right;margin-right:1em}.type-container{margin:0}.form-field-container{margin-top:0;margin-bottom:0}.field-no-longer-exists-warning{position:absolute;margin-left:5px;width:18px}.form-field-container td input[type=checkbox],.form-field-container td input[type=radio]{float:left;margin:5px}.form-field-container td input[type=checkbox]:first-child,.form-field-container td input[type=radio]:first-child{margin-left:0!important}.merge-tag-text{background:0 0;border:none}.pre-defined-tag-link{display:block;font-size:11px;margin-top:-2px}.toggle-container{font-size:small;float:right}#pre-defined-tag-container{display:none}#pre-defined-tag-container h3{margin-bottom:0}#pre-defined-tag-container .tooltop-tag .dashicons-editor-help{font-size:13px;line-height:1.5}.no-fields-assigned-notice{margin:4em 0 2.25em;padding-bottom:6em;width:100%;text-align:center;background:url(../../includes/images/no-form-fields-assigned-arrow.jpg) bottom center no-repeat;background-size:105px}.yikes-easy-mc-widget-preloader{position:absolute;left:48%;margin-top:-96px}.yikes-dashboard-widget-section{padding:0 12px 12px}.select-list-title{padding-left:0}.yikes-dashboard-widget-section .description{margin:.5em 0 0}. error-descripion{padding-top:.5em}.yikes-mc-freddie-logo{float:left;margin-right:10px}.mv_ig_list{width:94%;margin-bottom:8px!important;border:none!important;background:0 0!important}.mv_ig_list .list-container{position:absolute}.mv_ig_list a{width:48%;padding:5px 0!important;text-align:center;margin:0}.mv_ig_list a:first-child{margin-right:0}.mv_ig_list a:last-child{float:right}.mv_ig_list .nav-tab{border:1px solid #ccc}.mv_ig_list .nav-tab-active{color:#fff;font-weight:700;background:#00a0d2}.mv_ig_list .arrow-down{position:absolute;margin-top:21px;margin-left:50px;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:12px solid #00a0d2}#container-container{display:inline-block;width:521px}#container-container .list-container{float:left;width:240px;position:relative}#container-container .list-container:last-child{margin-left:2em}#yikes_easy_mc_toolbar{margin-top:-.75em}#yikes_easy_mc_toolbar_links{display:inline-block;width:100%;margin:0;padding:10px 0}#yikes_easy_mc_toolbar_links li{float:left;margin:0 .5em}#yikes_easy_mc_toolbar_links li a{text-decoration:none;display:inline-block}#yikes_easy_mc_toolbar_links li a.selected_hidden_setting{color:#333;margin-bottom:3px}#yikes_easy_mc_toolbar_links li .selected_setting_triangle{width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-top:13px solid rgba(206,206,206,1);margin:0 auto}.checkbox-settings-list-dropdown,.optin-checkbox-label-input{width:250px;display:block}#yikes_easy_mc_toolbar_links li a.form-builder:before{content:"\f116";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.form-customizer:before{content:"\f100";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.error-messages:before{content:"\f117";font-family:dashicons}#yikes_easy_mc_toolbar_links li a.form-settings:before{content:"\f111";font-family:dashicons}#checkbox-settings-form .dashicons-editor-help{font-size:15px;line-height:1.6}.no-lists-setup-notice{padding:.5em 0}.yikes-form-id-number{width:55px}span[title=Impressions]:hover,span[title=Submissions]:hover,span[title="Conversion Rate"]:hover{display:block;cursor:pointer}.form-id-container{padding:1px 8px;border-radius:5px;background:#49a9ec;font-weight:700;color:#fff}.manage-form-admin-notice{margin-top:1.75em!important}.remove-notification,.yikes-mc-settings-expansion-section a.remove-field,a.yikes-delete-mailchimp-form,a.yikes-delete-subscriber{color:#d96060!important}.yikes-delete-mailchimp-form{margin-top:6px}#postbox-container-1 .yikes-delete-mailchimp-form{float:right}.form-buttons-container{display:block;padding:11px 10px}.forms-buttons-container input[type=submit]{margin:0 0 .5em}.update-form-spinner{position:absolute;left:0;right:0;margin:0 auto;bottom:13px}.yikes-mc-shortcode-input{text-align:center;width:100%;color:#333}.hidden-class{display:none!important}.stat-container{width:10%;max-width:75px}.no-current-subscriber-notice em,.no-mailchimp-forms-found em{padding:25px 0 25px 25px}.column-columnname span.stats{display:block;width:100%;text-align:center}.column-columnname span.stats span{display:inline-block;width:20%}.column-columnname span.stats span:hover{cursor:pointer}#available-fields li,#available-interest-groups li{text-decoration:none;display:block;border:1px solid rgba(177,177,177,.71);color:#333;padding:5px;margin:.5em 0}#available-fields li.not-available,#available-interest-groups li.not-available{opacity:.6!important}#available-fields li.field-to-add-to-form,#available-interest-groups li.group-to-add-to-form{background:rgba(46,162,204,.25)}.add-field-to-editor .add-to-form-builder-arrow,.button-secondary .add-to-form-builder-arrow{width:15px;font-size:15px;line-height:1.8}.clear-form-fields{background:#e14d43;border-color:#d02c21;color:#fff;box-shadow:inset 0 1px 0 #ec8b85,0 1px 0 rgba(0,0,0,.15);text-decoration:none;display:inline-block;height:28px;padding:0 10px 1px;border-width:1px;-webkit-appearance:none;border-radius:3px;white-space:nowrap;font-size:13px;line-height:26px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;float:right;margin:0 11px 10px 0}.clear-form-fields:active,.clear-form-fields:focus,.clear-form-fields:hover{background:#dd382d;border-color:#ba281e;color:#fff;box-shadow:inset 0 1px 0 #e8776f}.yikes-mc-view-list-breadcrumbs{padding:.8em;border:1px solid #D8D8D8;background:#ECECEC;margin:1.5em 0 .8em}.yikes-mc-member-rating-star{color:#daa520}#yikes-mc-subscriber-card-wrapper{background:#fefefe;min-height:200px;display:inline-block;box-shadow:0 1px 1px rgba(0,0,0,.04);webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;padding:15px 20px;width:500px;float:left}#yikes-mc-subscriber-card-wrapper .subscriber-optin-ip{display:inline-block;margin:1em 0 0;font-style:italic}.view-user-data-wrap #customer-tab-wrapper-list{float:left;background:#fefefe;margin-top:0;padding:12px;margin-left:-1px;border-right:1px solid #e5e5e5;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}.view-user-data-wrap #customer-tab-wrapper-list .dashicons{font-size:23px;height:23px;width:23px;margin:3px 0}.view-user-data-wrap #customer-tab-wrapper-list li.inactive{color:rgba(51,51,51,.31);transition:color ease-out .1s}.view-user-data-wrap #customer-tab-wrapper-list li.active,.view-user-data-wrap #customer-tab-wrapper-list li.inactive:hover{color:rgba(51,51,51,1)}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top .member-star-rating-container,#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top h2,#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top img{float:left}#yikes-mc-subscriber-card-wrapper #delete-mailchimp-subscriber{display:block;margin:0 auto}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top img{border-radius:3px}#yikes-mc-subscriber-card-wrapper .merge-variable-section li{display:inline-block;list-style:none;float:left;width:50%;min-height:65px;border-bottom:1px dotted #ddd}#yikes-mc-subscriber-card-wrapper .merge-variable-section li p{margin:0 0 1em}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top h2{max-width:370px;width:75%;padding:0}#yikes-mc-subscriber-card-wrapper .member-star-rating-container{display:block;margin:.5em 0 .5em 10px}#yikes-mc-subscriber-card-wrapper h2{margin-left:10px;margin-top:0;padding-top:0}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-body,#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top{display:inline-block;width:100%}.member-location-data,.member-subscription-date{width:70%;max-width:370px;display:block;float:left}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-body h4{margin-top:0;margin-left:5px}.yikes-mc-subscriber-hr{margin:1.5em 0}.member-subscription-date{margin:.5em 0 .5em 10px}.member-location-data{margin:.25em 0 .25em 10px}.addon-required-link{color:#333;opacity:.5}.view-list-sidebar-input{color:#333}.interest-group-ul,.merge-variable-ul,.segment-ul{padding-left:15px;font-size:14px}.interest-group-ul li .dashicons,.merge-variable-ul li .dashicons{line-height:1.8;font-size:9px}a.button-primary.edit-fields-button{margin:0 0 10px 15px}.interest-group-count,.merge-variable-count,.segment-group-count{text-decoration:underline;margin-bottom:.75em;padding-left:7px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td a,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a:hover{text-decoration:none}.interest-group-title{padding-left:5px}.edit-segments-button{margin:0 0 10px 15px}.edit-segment-description{padding:0 0 10px 15px}#credit-container{margin-top:1.5em}.yikes-easy-mailchimp-custom-content-icon{font-size:15px;line-height:1}.custom-field-section{display:block;margin:1em 0}#associated-list{width:100%;margin-top:5px}#redirect-user-to-selection{width:100%}#edit-yikes-mc-form label h3{margin-left:0;padding-left:0}#available-fields .field-required{color:#d96060!important}body.admin_page_yikes-mailchimp-edit-form #poststuff h2{padding:8px 12px;margin-top:0}.edit-form-form-description{width:100%;resize:vertical;min-height:65px;max-height:100px}.edit-form-title{padding-left:12px!important}#edit-form-description{padding:0 12px;margin:1em 0}.yikes-easy-mc-postbox{overflow:hidden}.no-interest-groups-found-message{opacity:.35}.upgrading-ellipse-one,.upgrading-ellipse-two{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-moz-opacity:0;-webkit-animation:dot 1.3s infinite}#interest-groups-container .description,#merge-variables-container .description{padding-top:.5em}.inside-section-1{margin-top:0;margin-bottom:1.5em}.inside-section-2{margin-top:0;margin-bottom:2em}.form-field-container-span{display:block;margin:.5em 0}#style-list ul li{display:block;width:100%;margin:1em 0}.form-style-adjustment,.wp-picker-container{display:block!important;width:100%;margin:.5em 0}.dynamic-email-tag{display:inline-block;margin-right:5px}.dynamic-tag-description td{padding-top:0}#create-new-notification-button{margin-top:1em}.file-container{display:none}.yikes-mailchimp-file-field input[name*="custom-field[incentive-attachment]"]{margin-bottom:.5em}.yikes-mailchimp-file-field input[name*="custom-field[incentive-attachment]"]+.button-secondary{margin-left:4px}input#upload-btn[data-attr-position="1"]{margin-left:0}.remove-file-button{background:url(../partials/helpers/fields/img/icon-delete.png);height:16px;position:absolute;text-indent:-99999px;width:16px}a.add-new-incentive-attachment{display:block;width:40px;margin-right:100%!important;margin-top:.5em!important}a.add-new-incentive-attachment .dashicons{font-size:15px;line-height:1.8}.form-builder-placeholder{background:rgba(206,206,206,.2);height:30px}.admin_page_yikes-mailchimp-edit-form #form-settings .section-title{font-size:1em;border-bottom:1px solid rgba(187,187,187,.29);display:block;width:100%;padding-bottom:6px;margin-bottom:.5em;margin-top:1.5em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior label,.admin_page_yikes-mailchimp-edit-form #form-settings .section-title.first{margin-top:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior{display:inline-block;width:100%;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;background:rgba(241,241,241,.75);padding:1em}label.login-restriction-center{display:block;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restirction-section{display:inline-block}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restirction-section p.description.error{color:#F56060}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restirction-section label{float:left;margin-right:.5em;margin-top:0;margin-bottom:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-expired-message,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-login-message,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-form-restriction-pending-message{display:block;width:100%;min-height:50px}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child{float:left;padding-left:2%;width:98%;border-left:1px dashed #BDBDBD;border-spacing:2px;margin:.5em 0 1em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child .yikes-easy-mc-submit-button-text{margin:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restirction-section{margin-bottom:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restirction-section.last{margin-bottom:.75em}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .nested-child.hidden{display:none}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .description+label{margin-top:1em;float:left;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior label.inline-form-label{margin-bottom:0;margin-top:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .description{display:block;width:100%;float:left}.admin_page_yikes-mailchimp-edit-form #form-settings .nested-child strong:first-child,.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior strong:first-child{display:block;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .inline-form-label{float:left;margin-right:10px}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper{overflow-y:auto;height:150px;width:170px;background:#fff;border:1px solid #ddd;box-shadow:0 5px 10px rgba(0,0,0,.2);outline:0;z-index:10001;margin:0}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration{width:13em}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-30,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-60{width:11em}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list{margin:0;padding:0;list-style:none}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-duration{margin-left:5px;color:#888}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list:hover .ui-timepicker-duration{color:#888}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li{padding:3px 0 3px 5px;cursor:pointer;white-space:nowrap;color:#000;list-style:none;margin:0}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list:hover .ui-timepicker-selected{background:#fff;color:#000}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list .ui-timepicker-selected:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li:hover,body.admin_page_yikes-mailchimp-edit-form li.ui-timepicker-selected{background:#1980EC;color:#fff}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li:hover .ui-timepicker-duration,body.admin_page_yikes-mailchimp-edit-form li.ui-timepicker-selected .ui-timepicker-duration{color:#ccc}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled{color:#888;cursor:default}body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-disabled:hover,body.admin_page_yikes-mailchimp-edit-form .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled{background:#f2f2f2}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker{background-color:#fff;border:1px solid #66AFE9;border-radius:4px;box-shadow:0 0 8px rgba(102,175,233,.6);display:none;margin-top:4px;padding:10px;width:240px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a:hover,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker td:hover a{color:#2A6496;transition:color .1s ease-in-out}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-header{margin-bottom:4px;text-align:center}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-title{font-weight:700}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev{cursor:default;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;height:20px;line-height:1;margin-top:2px;width:30px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev{float:left;text-align:left}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next{float:right;text-align:right}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-prev:before{content:"\f141";font-family:dashicons}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-next:before{content:"\f139";font-family:dashicons}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-next:hover,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-prev:hover{cursor:pointer!important}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-close{display:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker-current{color:#555!important;border-color:#ccc!important;background:#f7f7f7!important;box-shadow:0 1px 0 #ccc!important;vertical-align:top!important;display:inline-block;text-decoration:none;font-size:13px;line-height:26px;height:28px;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin-top:10px}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-current-day a,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-today a{color:#fff}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-icon{display:none}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar{table-layout:fixed;width:100%}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar th{text-align:center;padding:4px 0}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td{border-radius:4px;transition:background-color .1s ease-in-out,color .1s ease-in-out}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar td:hover{background-color:#EBEBEB;cursor:pointer}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-today{background-color:rgba(66,137,204,.65)}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-current-day{background-color:#4289cc}body.admin_page_yikes-mailchimp-edit-form .ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable:hover{background-color:#fff;cursor:default}.custom-radio-holder{display:inline-block;width:100%;margin:.5em 0}.custom-radio-label{display:block;float:left;margin:0 5px}.custom-radio-label:first-child{margin-left:0!important}.custom-radio-label input[type=radio]{margin-right:0!important}.custom-select-field{display:block;width:100%;margin:.5em 0}#available-widgets [class*=yikes_easy] .widget-title:before{content:""!important;background:url(../../includes/images/MailChimp_Assets/Freddie_original.png) no-repeat #FAFAFA;background-size:contain}body.wp-customizer #available-widgets [id*="_yikes_easy_mc_widget"]>div.widget-top>div.widget-title>h4{background:0 0!important}#connection-container{float:right;color:#fff;padding:.25em .75em .25em .25em;margin-top:-4px}#connection-container.api-connected{background:#44ba44}#connection-container.api-not-connected{background:#b5b5b5}.yikes-mc-api-connected,.yikes-mc-api-not-connected{line-height:1}.show-some-love-container{transition:max-height .75s}#review-yikes-easy-mc{text-align:center}#review-yikes-easy-mc .dashicons-star-filled{color:#E6B800}.meta-box-sortables hr{margin:1.75em 0 0}#about-yikes-inc{display:none}#about-yikes-inc .about-sidebar-yikes-logo{float:left;width:95px;margin:5px 7px 0 0}#about-yikes-inc p{margin-top:0}.yikes-easy-mc-updated{display:block;border-left:4px solid #4EAEF0;margin:1em 20px 1em 0;padding:2px 10px;background:right bottom no-repeat #fff;background-size:120px;background-position-y:29px}.support-section{margin:1.5em 0;padding:1em 0}.github-octocat{background:url(../../includes/images/Support_Page/Octocat.png) left top no-repeat;background-size:100%;width:50px;height:45px;display:block;float:left;margin-top:-5px}@media screen and (max-width:1200px){.yikes-easy-mc-postbox #post-body.columns-2 #postbox-container-1{float:none}}@media screen and (max-width:850px){.option-menu-selected-arrow{display:none!important}}@media screen and (max-width:782px){#chimp-chatter .chimp-chatter-container{float:none;height:auto;width:100%}}.recaptcha-demo-gif{width:275px}.pro-version-only-notice{color:#d96060}.upgrading-ellipse-one{filter:alpha(opacity=0);-khtml-opacity:0;opacity:0;-webkit-animation-delay:0ms;animation:dot 1.3s infinite;animation-delay:0ms}.upgrading-ellipse-two{filter:alpha(opacity=0);-khtml-opacity:0;opacity:0;-webkit-animation-delay:.2s;animation:dot 1.3s infinite;animation-delay:.2s}.upgrading-ellipse-three{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:.3s;animation:dot 1.3s infinite;animation-delay:.3s}.yikes-mc-edit-field-label-icon{display:inline}.yikes-mc-edit-field-label-input{display:none;width:auto;border-radius:5px}.yikes-mc-save-field-label-edits-icon{display:none}.yikes-mc-edit-field-label-message{display:none;color:#F56060;margin-left:26px}@keyframes dot{0%,50%{opacity:0}100%{opacity:1}}
admin/js/min/yikes-inc-easy-mailchimp-extender-edit-form.min.js CHANGED
@@ -1 +1 @@
1
- function togglePageRedirection(a){1==a.value?jQuery("#redirect-user-to-selection-label").fadeIn():jQuery("#redirect-user-to-selection-label").fadeOut()}function storeGlobalClicked(a){var b=a.parents("td").find("input").attr("name");jQuery(".clicked-input").val(b)}function populateDefaultValue(a){var b=jQuery(".clicked-input").val();jQuery(".clicked-input").val(""),tb_remove(),jQuery('input[name="'+b+'"]').val(a)}function toggle_nested_section(a){var b=jQuery(a).val();switch(b){case"image":jQuery(".submit-button-type-text").fadeOut("fast",function(){jQuery(".submit-button-type-image").fadeIn("fast")});break;case"text":jQuery(".submit-button-type-image").fadeOut("fast",function(){jQuery(".submit-button-type-text").fadeIn("fast")});break;default:case"1":"yikes-easy-mc-form-schedule"==jQuery(a).attr("name")?jQuery(".date-restirction-section").fadeToggle():jQuery(".login-restirction-section").fadeToggle()}return!1}function initialize_form_schedule_time_pickers(){jQuery(".date-picker").datepicker({numberOfMonths:1,showButtonPanel:!0,closeText:window.yikes_mailchimp_edit_form.closeText,currentText:window.yikes_mailchimp_edit_form.currentText,monthNames:window.yikes_mailchimp_edit_form.monthNames,monthNamesShort:window.yikes_mailchimp_edit_form.monthNamesShort,dayNames:window.yikes_mailchimp_edit_form.dayNames,dayNamesShort:window.yikes_mailchimp_edit_form.dayNamesShort,dayNamesMin:window.yikes_mailchimp_edit_form.dayNamesMin,dateFormat:window.yikes_mailchimp_edit_form.dateFormat,firstDay:window.yikes_mailchimp_edit_form.firstDay,isRTL:window.yikes_mailchimp_edit_form.isRTL,onSelect:function(a,b){var c=b.lastVal,d=b.id;yikes_check_valid_date(a,c,d)}}),jQuery(".time-picker").timepicker({scrollDefault:"now",timeFormat:"h:i A"}),jQuery(".time-picker").on("changeTime",function(){var a=jQuery(this).attr("id"),b=jQuery("#yikes-easy-mc-form-restriction-start-date").val(),c=jQuery("#yikes-easy-mc-form-restriction-end-date").val();yikes_check_valid_date(b,c,a)})}function yikes_check_valid_date(a,b,c){var d=jQuery("#yikes-easy-mc-form-restriction-start-date").val(),e=jQuery("#yikes-easy-mc-form-restriction-end-date").val(),f=yikes_12_to_24_hour_time_conversion(jQuery("#yikes-easy-mc-form-restriction-start-time").val()),g=yikes_12_to_24_hour_time_conversion(jQuery("#yikes-easy-mc-form-restriction-end-time").val()),h=new Date(d+" "+f),i=new Date(e+" "+g);if(h>i){if("yikes-easy-mc-form-restriction-start-date"!=c&&"yikes-easy-mc-form-restriction-end-date"!=c||jQuery("#"+c).val(b),jQuery(".date-restirction-section").find("p.description.error").length)return;jQuery(".date-restirction-section").first().find("p.description").after('<p class="description error">'+window.yikes_mailchimp_edit_form.start_date_exceeds_end_date_error+"</p>")}else jQuery(".date-restirction-section").find("p.description.error").remove()}function yikes_12_to_24_hour_time_conversion(a){var b=Number(a.match(/^(\d+)/)[1]),c=Number(a.match(/:(\d+)/)[1]),d=a.match(/\s(.*)$/)[1];"PM"==d&&b<12&&(b+=12),"AM"==d&&12==b&&(b-=12);var e=b.toString(),f=c.toString();return b<10&&(e="0"+e),c<10&&(f="0"+f),e+":"+f}function toggleUpdateEmailContainer(a){jQuery(".send-update-email").stop().fadeToggle()}window.Yikes_MailChimp_Edit_Form=window.Yikes_MailChimp_Edit_Form||{},window.yikes_mailchimp_edit_form=window.yikes_mailchimp_edit_form||{},function(a,b,c,d,e){"use strict";d.l10n=a.yikes_mailchimp_edit_form||{},c(b).ready(function(){c("body").find("#form-builder-container").sortable({items:".draggable:not(.non-draggable-yikes)",axis:"y",placeholder:"form-builder-placeholder",update:function(){var a=1;jQuery("#form-builder-container").find(".draggable").each(function(){jQuery(this).find(".position-input").val(a),a++})}}),c("body").on("click",".remove-field",function(){var a=jQuery(this).attr("alt"),b=jQuery(this);return c(this).parents(".yikes-mc-settings-expansion-section").prev().find(".dashicons").toggleClass("dashicons-minus"),c(this).parents(".yikes-mc-settings-expansion-section").slideToggle(450,function(){b.parents(".draggable").find(".expansion-section-title").css("background","rgb(255, 134, 134)"),b.parents(".draggable").fadeOut("slow",function(){jQuery("#available-fields").find('li[alt="'+a+'"]').removeClass("not-available"),jQuery("#available-interest-groups").find('li[alt="'+a+'"]').removeClass("not-available"),jQuery(this).remove(),c("#form-builder-container").find(".draggable").length<1&&(c(".clear-form-fields").hide(),c(".clear-form-fields").next().hide(),c("#form-builder-container").html('<h4 class="no-fields-assigned-notice non-draggable-yikes"><em>'+d.l10n.no_fields_assigned+"</em></h4>"))})}),!1}),c("body").on("click",".hide-field",function(){return c(this).parents(".yikes-mc-settings-expansion-section").prev().find(".dashicons").toggleClass("dashicons-minus"),c(this).parents(".yikes-mc-settings-expansion-section").slideToggle(450),!1}),c("body").on("click",".add-field-to-editor",function(){return c(".field-to-add-to-form").each(function(){var a=c("#form-builder-container").find(".draggable").length,b=c(this),e=b.attr("alt");c("#available-fields").children("li").removeClass("available-form-field");var f=c(this);f.attr("disabled","disabled").attr("onclick","return false;").removeClass("add-field-to-editor");var g={action:"add_field_to_form",field_name:b.attr("data-attr-field-name"),merge_tag:e,field_type:b.attr("data-attr-field-type"),list_id:b.attr("data-attr-form-id")};c.ajax({url:d.l10n.ajax_url,type:"POST",data:g,dataType:"html",success:function(d,f,g){b.removeClass("field-to-add-to-form").addClass("not-available"),c(".add-field-to-editor").hide(),c(".no-fields-assigned-notice").is(":visible")&&c("#form-builder-container").html(""),c("#form-builder-container").append(d),c(".clear-form-fields").show(),c(".clear-form-fields").next().show(),c(".field-"+e+"-position").val(parseInt(a+1))},error:function(a,b,c){alert(b+a.status+a.responseText+"...")},complete:function(a,b){c("#available-fields").children("li").addClass("available-form-field"),f.removeAttr("disabled").removeAttr("onclick"),c(".add-field-to-editor").hide()}})}),!1}),c("body").on("click",".add-interest-group-to-editor",function(){var a=c("#form-builder-container").find(".draggable").length,b=[];c(".group-to-add-to-form").each(function(){b.push({group_id:c(this).attr("alt"),field_type:c(this).attr("data-attr-field-type"),field_name:c(this).attr("data-attr-field-name")})}),c("#available-interest-groups").children("li").removeClass("available-interest-group");var e=c(this);e.attr("disabled","disabled").attr("onclick","return false;").removeClass("add-interest-group-to-editor");var f={action:"add_interest_group_to_form",interest_groups:b,list_id:c(".group-to-add-to-form").attr("data-attr-form-id")};return c.ajax({url:d.l10n.ajax_url,type:"POST",data:f,dataType:"html",success:function(b,d,e){c(".group-to-add-to-form").removeClass("group-to-add-to-form").addClass("not-available"),c(".add-interest-group-to-editor").hide(),a<1?(c("#form-builder-container").html("").append(b),c(".clear-form-fields").show(),c(".clear-form-fields").next().show()):c("#form-builder-container").append(b)},error:function(a,b,c){alert(b+a.status+a.responseText+"...")},complete:function(a,b){c("#available-interest-groups").children("li").addClass("available-interest-group"),e.removeAttr("disabled").removeAttr("onclick").addClass("add-interest-group-to-editor"),c(".add-interest-group-to-editor").hide()}}),!1}),c(".color-picker").each(function(){c(this).wpColorPicker()}),c("body").on("click",".expansion-section-title",function(){return c(this).next().stop().slideToggle(),c(this).find(".dashicons").toggleClass("dashicons-minus"),!1}),c("body").on("click",".available-form-field",function(){return!c(this).hasClass("not-available")&&void(c(this).hasClass("field-to-add-to-form")?(c(this).removeClass("field-to-add-to-form"),c(".add-field-to-editor").stop().fadeOut()):(c(this).toggleClass("field-to-add-to-form"),c(".add-field-to-editor").stop().fadeIn()))}),c("body").on("click",".available-interest-group",function(){return!c(this).hasClass("not-available")&&(c(this).hasClass("group-to-add-to-form")?c(this).removeClass("group-to-add-to-form"):c(this).toggleClass("group-to-add-to-form"),void(c(".group-to-add-to-form").length>0?c(".add-interest-group-to-editor").stop().fadeIn():c(".add-interest-group-to-editor").stop().fadeOut()))}),c("body").on("click",".hidden_setting",function(){c(".hidden_setting").removeClass("selected_hidden_setting"),c(".selected_setting_triangle").remove(),c(this).addClass("selected_hidden_setting").append('<div class="selected_setting_triangle"></div>');var a=c(this).attr("data-attr-container");c(".hidden-setting-label").hide(),c("#"+a).show()}),c("body").on("click",".close-form-expansion",function(){return c(this).parents(".yikes-mc-settings-expansion-section").slideToggle().prev().find(".dashicons").toggleClass("dashicons-minus"),!1}),c("body").on("click",".mv_ig_list .nav-tab",function(){if(c(this).hasClass("nav-tab-active"))return!1;if(c(this).hasClass("nav-tab-disabled"))return!1;c(".mv_ig_list .nav-tab").removeClass("nav-tab-active"),c(".arrow-down").remove(),c(this).addClass("nav-tab-active").prepend('<div class="arrow-down"></div>'),c(".mv_ig_list .nav-tab").addClass("nav-tab-disabled");var a=c(this).attr("alt");return"merge-variables"==a?(c("#merge-variables-container").stop().animate({left:"0px"},function(){c(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")}),c("#interest-groups-container").stop().animate({left:"+=268px"},function(){c(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")})):(c("#merge-variables-container").stop().animate({left:"-=278px"},function(){c(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")}),c("#interest-groups-container").stop().animate({left:"-=268px"},function(){c(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")})),!1}),c("body").on("click",".clear-form-fields",function(){return confirm(d.l10n.bulk_delete_alert)&&c("#form-builder").find(".draggable").find(".expansion-section-title").each(function(){c(this).css("background","rgb(255, 134, 134)");var a=c(this).parents(".draggable").find(".remove-field").attr("alt");c(this).fadeOut("slow",function(){c("#available-fields").find('li[alt="'+a+'"]').removeClass("not-available"),c("#available-interest-groups").find('li[alt="'+a+'"]').removeClass("not-available"),c(this).remove(),c(".clear-form-fields").hide(),c(".clear-form-fields").next().hide(),c(".available-form-field").each(function(){c(this).removeClass("not-available")}),c("#form-builder-container").html('<h4 class="no-fields-assigned-notice non-draggable-yikes"><em>'+d.l10n.no_fields_assigned+"</em></h4>")})}),!1}),initialize_form_schedule_time_pickers()})}(window,document,jQuery,Yikes_MailChimp_Edit_Form);
1
+ function togglePageRedirection(a){1==a.value?jQuery("#redirect-user-to-selection-label").fadeIn():jQuery("#redirect-user-to-selection-label").fadeOut()}function storeGlobalClicked(a){var b=a.parents("td").find("input").attr("name");jQuery(".clicked-input").val(b)}function populateDefaultValue(a){var b=jQuery(".clicked-input").val();jQuery(".clicked-input").val(""),tb_remove(),jQuery('input[name="'+b+'"]').val(a)}function toggle_nested_section(a){var b=jQuery(a).val();switch(b){case"image":jQuery(".submit-button-type-text").fadeOut("fast",function(){jQuery(".submit-button-type-image").fadeIn("fast")});break;case"text":jQuery(".submit-button-type-image").fadeOut("fast",function(){jQuery(".submit-button-type-text").fadeIn("fast")});break;default:case"1":"yikes-easy-mc-form-schedule"==jQuery(a).attr("name")?jQuery(".date-restirction-section").fadeToggle():jQuery(".login-restirction-section").fadeToggle()}return!1}function initialize_form_schedule_time_pickers(){jQuery(".date-picker").datepicker({numberOfMonths:1,showButtonPanel:!0,closeText:window.yikes_mailchimp_edit_form.closeText,currentText:window.yikes_mailchimp_edit_form.currentText,monthNames:window.yikes_mailchimp_edit_form.monthNames,monthNamesShort:window.yikes_mailchimp_edit_form.monthNamesShort,dayNames:window.yikes_mailchimp_edit_form.dayNames,dayNamesShort:window.yikes_mailchimp_edit_form.dayNamesShort,dayNamesMin:window.yikes_mailchimp_edit_form.dayNamesMin,dateFormat:window.yikes_mailchimp_edit_form.dateFormat,firstDay:window.yikes_mailchimp_edit_form.firstDay,isRTL:window.yikes_mailchimp_edit_form.isRTL,onSelect:function(a,b){var c=b.lastVal,d=b.id;yikes_check_valid_date(a,c,d)}}),jQuery(".time-picker").timepicker({scrollDefault:"now",timeFormat:"h:i A"}),jQuery(".time-picker").on("changeTime",function(){var a=jQuery(this).attr("id"),b=jQuery("#yikes-easy-mc-form-restriction-start-date").val(),c=jQuery("#yikes-easy-mc-form-restriction-end-date").val();yikes_check_valid_date(b,c,a)})}function yikes_check_valid_date(a,b,c){var d=jQuery("#yikes-easy-mc-form-restriction-start-date").val(),e=jQuery("#yikes-easy-mc-form-restriction-end-date").val(),f=yikes_12_to_24_hour_time_conversion(jQuery("#yikes-easy-mc-form-restriction-start-time").val()),g=yikes_12_to_24_hour_time_conversion(jQuery("#yikes-easy-mc-form-restriction-end-time").val()),h=new Date(d+" "+f),i=new Date(e+" "+g);if(h>i){if("yikes-easy-mc-form-restriction-start-date"!=c&&"yikes-easy-mc-form-restriction-end-date"!=c||jQuery("#"+c).val(b),jQuery(".date-restirction-section").find("p.description.error").length)return;jQuery(".date-restirction-section").first().find("p.description").after('<p class="description error">'+window.yikes_mailchimp_edit_form.start_date_exceeds_end_date_error+"</p>")}else jQuery(".date-restirction-section").find("p.description.error").remove()}function yikes_12_to_24_hour_time_conversion(a){var b=Number(a.match(/^(\d+)/)[1]),c=Number(a.match(/:(\d+)/)[1]),d=a.match(/\s(.*)$/)[1];"PM"==d&&b<12&&(b+=12),"AM"==d&&12==b&&(b-=12);var e=b.toString(),f=c.toString();return b<10&&(e="0"+e),c<10&&(f="0"+f),e+":"+f}function toggleUpdateEmailContainer(a){jQuery(".send-update-email").stop().fadeToggle()}function yikes_mc_prevent_default_stop_prop(a){a.preventDefault(),a.stopPropagation()}function yikes_mc_toggle_field_label_edit(a){jQuery(a).siblings(".yikes-mc-edit-field-label-input").val(jQuery(a).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-label").val());var b=jQuery(a).siblings(".yikes-mc-expansion-section-field-label, .field-type-text"),c=jQuery(a).siblings(".yikes-mc-edit-field-label-input, .yikes-mc-save-field-label-edits-icon");jQuery(a).hasClass("dashicons-no")?(b=jQuery(a).siblings(".yikes-mc-edit-field-label-input, .yikes-mc-save-field-label-edits-icon"),c=jQuery(a).siblings(".yikes-mc-expansion-section-field-label, .field-type-text"),a.title=yikes_mailchimp_edit_form.edit_field_label_pencil_title):a.title=yikes_mailchimp_edit_form.edit_field_label_cancel_title,jQuery(a).toggleClass("dashicons-no dashicons-edit"),b.fadeToggle().promise().done(function(){c.fadeToggle()})}function yikes_mc_save_field_label_name(a,b,c){var d={action:"save_field_label_edits",list_id:b,field_data:c,nonce:yikes_mailchimp_edit_form.save_field_label_nonce};jQuery.post(yikes_mailchimp_edit_form.ajax_url,d,function(b){if("undefined"!==b&&"undefined"!==b.success){var d=b.success;if(d===!0){var e=c.field_name;yikes_mc_update_field_label(a,e),yikes_mc_toggle_field_label_edit(jQuery(a).siblings(".dashicons-no"))}else{var f="";"undefined"!==b.data&&"undefined"!==b.data.message&&(f=b.data.message,yikes_mc_display_field_label_error_message(a,f))}}})}function yikes_mc_update_field_label(a,b){jQuery(a).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-label").val(b),jQuery(a).siblings(".yikes-mc-expansion-section-field-label").text(b)}function yikes_mc_display_field_label_error_message(a,b){jQuery(a).siblings(".yikes-mc-edit-field-label-message").fadeOut(function(){jQuery(this).text(b).fadeIn()})}window.Yikes_MailChimp_Edit_Form=window.Yikes_MailChimp_Edit_Form||{},window.yikes_mailchimp_edit_form=window.yikes_mailchimp_edit_form||{},function(a,b,c,d,e){"use strict";d.l10n=a.yikes_mailchimp_edit_form||{},c(b).ready(function(){c("body").find("#form-builder-container").sortable({items:".draggable:not(.non-draggable-yikes)",axis:"y",placeholder:"form-builder-placeholder",update:function(){var a=1;jQuery("#form-builder-container").find(".draggable").each(function(){jQuery(this).find(".position-input").val(a),a++})}}),c("body").on("click",".remove-field",function(){var a=jQuery(this).attr("alt"),b=jQuery(this);return c(this).parents(".yikes-mc-settings-expansion-section").prev().find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),c(this).parents(".yikes-mc-settings-expansion-section").slideToggle(450,function(){b.parents(".draggable").find(".expansion-section-title").css("background","rgb(255, 134, 134)"),b.parents(".draggable").fadeOut("slow",function(){jQuery("#available-fields").find('li[alt="'+a+'"]').removeClass("not-available"),jQuery("#available-interest-groups").find('li[alt="'+a+'"]').removeClass("not-available"),jQuery(this).remove(),c("#form-builder-container").find(".draggable").length<1&&(c(".clear-form-fields").hide(),c(".clear-form-fields").next().hide(),c("#form-builder-container").html('<h4 class="no-fields-assigned-notice non-draggable-yikes"><em>'+d.l10n.no_fields_assigned+"</em></h4>"))})}),!1}),c("body").on("click",".hide-field",function(){return c(this).parents(".yikes-mc-settings-expansion-section").slideToggle(450).prev().find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),!1}),c("body").on("click",".add-field-to-editor",function(){return c(".field-to-add-to-form").each(function(){var a=c("#form-builder-container").find(".draggable").length,b=c(this),e=b.attr("alt");c("#available-fields").children("li").removeClass("available-form-field");var f=c(this);f.attr("disabled","disabled").attr("onclick","return false;").removeClass("add-field-to-editor");var g={action:"add_field_to_form",field_name:b.attr("data-attr-field-name"),merge_tag:e,field_type:b.attr("data-attr-field-type"),list_id:b.attr("data-attr-form-id")};c.ajax({url:d.l10n.ajax_url,type:"POST",data:g,dataType:"html",success:function(d,f,g){b.removeClass("field-to-add-to-form").addClass("not-available"),c(".add-field-to-editor").hide(),c(".no-fields-assigned-notice").is(":visible")&&c("#form-builder-container").html(""),c("#form-builder-container").append(d),c(".clear-form-fields").show(),c(".clear-form-fields").next().show(),c(".field-"+e+"-position").val(parseInt(a+1))},error:function(a,b,c){alert(b+a.status+a.responseText+"...")},complete:function(a,b){c("#available-fields").children("li").addClass("available-form-field"),f.removeAttr("disabled").removeAttr("onclick"),c(".add-field-to-editor").hide()}})}),!1}),c("body").on("click",".add-interest-group-to-editor",function(){var a=c("#form-builder-container").find(".draggable").length,b=[];c(".group-to-add-to-form").each(function(){b.push({group_id:c(this).attr("alt"),field_type:c(this).attr("data-attr-field-type"),field_name:c(this).attr("data-attr-field-name")})}),c("#available-interest-groups").children("li").removeClass("available-interest-group");var e=c(this);e.attr("disabled","disabled").attr("onclick","return false;").removeClass("add-interest-group-to-editor");var f={action:"add_interest_group_to_form",interest_groups:b,list_id:c(".group-to-add-to-form").attr("data-attr-form-id")};return c.ajax({url:d.l10n.ajax_url,type:"POST",data:f,dataType:"html",success:function(b,d,e){c(".group-to-add-to-form").removeClass("group-to-add-to-form").addClass("not-available"),c(".add-interest-group-to-editor").hide(),a<1?(c("#form-builder-container").html("").append(b),c(".clear-form-fields").show(),c(".clear-form-fields").next().show()):c("#form-builder-container").append(b)},error:function(a,b,c){alert(b+a.status+a.responseText+"...")},complete:function(a,b){c("#available-interest-groups").children("li").addClass("available-interest-group"),e.removeAttr("disabled").removeAttr("onclick").addClass("add-interest-group-to-editor"),c(".add-interest-group-to-editor").hide()}}),!1}),c(".color-picker").each(function(){c(this).wpColorPicker()}),c("body").on("click",".expansion-section-title",function(){return c(this).next().stop().slideToggle(),c(this).find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),!1}),c("body").on("click",".available-form-field",function(){return!c(this).hasClass("not-available")&&void(c(this).hasClass("field-to-add-to-form")?(c(this).removeClass("field-to-add-to-form"),c(".add-field-to-editor").stop().fadeOut()):(c(this).toggleClass("field-to-add-to-form"),c(".add-field-to-editor").stop().fadeIn()))}),c("body").on("click",".available-interest-group",function(){return!c(this).hasClass("not-available")&&(c(this).hasClass("group-to-add-to-form")?c(this).removeClass("group-to-add-to-form"):c(this).toggleClass("group-to-add-to-form"),void(c(".group-to-add-to-form").length>0?c(".add-interest-group-to-editor").stop().fadeIn():c(".add-interest-group-to-editor").stop().fadeOut()))}),c("body").on("click",".hidden_setting",function(){c(".hidden_setting").removeClass("selected_hidden_setting"),c(".selected_setting_triangle").remove(),c(this).addClass("selected_hidden_setting").append('<div class="selected_setting_triangle"></div>');var a=c(this).attr("data-attr-container");c(".hidden-setting-label").hide(),c("#"+a).show()}),c("body").on("click",".close-form-expansion",function(){var a=c(this).parents(".yikes-mc-settings-expansion-section").slideToggle();return a.prev().find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),!1}),c("body").on("click",".mv_ig_list .nav-tab",function(){if(c(this).hasClass("nav-tab-active"))return!1;if(c(this).hasClass("nav-tab-disabled"))return!1;c(".mv_ig_list .nav-tab").removeClass("nav-tab-active"),c(".arrow-down").remove(),c(this).addClass("nav-tab-active").prepend('<div class="arrow-down"></div>'),c(".mv_ig_list .nav-tab").addClass("nav-tab-disabled");var a=c(this).attr("alt");return"merge-variables"==a?(c("#merge-variables-container").stop().animate({left:"0px"},function(){c(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")}),c("#interest-groups-container").stop().animate({left:"+=268px"},function(){c(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")})):(c("#merge-variables-container").stop().animate({left:"-=278px"},function(){c(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")}),c("#interest-groups-container").stop().animate({left:"-=268px"},function(){c(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")})),!1}),c("body").on("click",".clear-form-fields",function(){return confirm(d.l10n.bulk_delete_alert)&&c("#form-builder").find(".draggable").find(".expansion-section-title").each(function(){c(this).css("background","rgb(255, 134, 134)");var a=c(this).parents(".draggable").find(".remove-field").attr("alt");c(this).fadeOut("slow",function(){c("#available-fields").find('li[alt="'+a+'"]').removeClass("not-available"),c("#available-interest-groups").find('li[alt="'+a+'"]').removeClass("not-available"),c(this).remove(),c(".clear-form-fields").hide(),c(".clear-form-fields").next().hide(),c(".available-form-field").each(function(){c(this).removeClass("not-available")}),c("#form-builder-container").html('<h4 class="no-fields-assigned-notice non-draggable-yikes"><em>'+d.l10n.no_fields_assigned+"</em></h4>")})}),!1}),c(".yikes-mc-edit-field-label-icon").click(function(a){yikes_mc_prevent_default_stop_prop(a),jQuery(this).siblings(".yikes-mc-edit-field-label-message").fadeOut();var b=this;yikes_mc_toggle_field_label_edit(b)}),c(".yikes-mc-edit-field-label-input").click(function(a){yikes_mc_prevent_default_stop_prop(a)}),c(".yikes-mc-save-field-label-edits-icon").click(function(a){yikes_mc_prevent_default_stop_prop(a),jQuery(this).siblings(".yikes-mc-edit-field-label-message").fadeOut();var b=this,c=jQuery("#form-builder-div").data("list-id"),d=jQuery(this).siblings(".yikes-mc-edit-field-label-input").val(),e=jQuery(this).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-id").val(),f={field_name:d,field_id:e},g=jQuery(this).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-label").val();return g===d?void yikes_mc_toggle_field_label_edit(jQuery(this).siblings(".yikes-mc-edit-field-label-icon")):void yikes_mc_save_field_label_name(b,c,f)}),initialize_form_schedule_time_pickers()})}(window,document,jQuery,Yikes_MailChimp_Edit_Form);
admin/js/yikes-inc-easy-mailchimp-extender-edit-form.js CHANGED
@@ -30,7 +30,7 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
30
  $( 'body' ).on( 'click' , '.remove-field' , function() {
31
  var merge_tag = jQuery( this ).attr( 'alt' );
32
  var clicked = jQuery( this );
33
- $( this ).parents( '.yikes-mc-settings-expansion-section' ).prev().find( '.dashicons' ).toggleClass( 'dashicons-minus' );
34
  $( this ).parents( '.yikes-mc-settings-expansion-section' ).slideToggle( 450 , function() {
35
  clicked.parents( '.draggable' ).find( '.expansion-section-title' ).css( 'background' , 'rgb(255, 134, 134)' );
36
  clicked.parents( '.draggable' ).fadeOut( 'slow' , function() {
@@ -50,11 +50,10 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
50
  });
51
 
52
  /*
53
- * Hide a field (click 'close')
54
  */
55
  $( 'body' ).on( 'click' , '.hide-field' , function() {
56
- $( this ).parents( '.yikes-mc-settings-expansion-section' ).prev().find( '.dashicons' ).toggleClass( 'dashicons-minus' );
57
- $( this ).parents( '.yikes-mc-settings-expansion-section' ).slideToggle( 450 );
58
  return false;
59
  });
60
 
@@ -195,7 +194,7 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
195
  /* Toggle settings hidden containers */
196
  $( 'body' ).on( 'click' , '.expansion-section-title' , function() {
197
  $( this ).next().stop().slideToggle();
198
- $( this ).find( '.dashicons' ).toggleClass( 'dashicons-minus' );
199
  return false;
200
  });
201
 
@@ -248,7 +247,8 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
248
 
249
  /* Close the form when clickcing 'close' */
250
  $( 'body' ).on( 'click' , '.close-form-expansion' , function() {
251
- $( this ).parents( '.yikes-mc-settings-expansion-section' ).slideToggle().prev().find( '.dashicons' ).toggleClass( 'dashicons-minus' );
 
252
  return false;
253
  });
254
 
@@ -319,6 +319,77 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
319
  return false;
320
  });
321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
  /**
323
  * Initialize our date pickers on init
324
  * @since 6.0.3.8
@@ -486,3 +557,106 @@ function yikes_12_to_24_hour_time_conversion( time ) {
486
  function toggleUpdateEmailContainer( clicked_button ) {
487
  jQuery( '.send-update-email' ).stop().fadeToggle();
488
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  $( 'body' ).on( 'click' , '.remove-field' , function() {
31
  var merge_tag = jQuery( this ).attr( 'alt' );
32
  var clicked = jQuery( this );
33
+ $( this ).parents( '.yikes-mc-settings-expansion-section' ).prev().find( '.yikes-mc-expansion-toggle' ).toggleClass( 'dashicons-minus' );
34
  $( this ).parents( '.yikes-mc-settings-expansion-section' ).slideToggle( 450 , function() {
35
  clicked.parents( '.draggable' ).find( '.expansion-section-title' ).css( 'background' , 'rgb(255, 134, 134)' );
36
  clicked.parents( '.draggable' ).fadeOut( 'slow' , function() {
50
  });
51
 
52
  /*
53
+ * Hide a [newly-added/unsaved] field (click 'close')
54
  */
55
  $( 'body' ).on( 'click' , '.hide-field' , function() {
56
+ $( this ).parents( '.yikes-mc-settings-expansion-section' ).slideToggle( 450 ).prev().find( '.yikes-mc-expansion-toggle' ).toggleClass( 'dashicons-minus' );
 
57
  return false;
58
  });
59
 
194
  /* Toggle settings hidden containers */
195
  $( 'body' ).on( 'click' , '.expansion-section-title' , function() {
196
  $( this ).next().stop().slideToggle();
197
+ $( this ).find( '.yikes-mc-expansion-toggle' ).toggleClass( 'dashicons-minus' );
198
  return false;
199
  });
200
 
247
 
248
  /* Close the form when clickcing 'close' */
249
  $( 'body' ).on( 'click' , '.close-form-expansion' , function() {
250
+ var expansion_section = $( this ).parents( '.yikes-mc-settings-expansion-section' ).slideToggle();
251
+ expansion_section.prev().find( '.yikes-mc-expansion-toggle' ).toggleClass( 'dashicons-minus' );
252
  return false;
253
  });
254
 
319
  return false;
320
  });
321
 
322
+ /**
323
+ * Click the edit pencil dashicon on the expansion-section when the field is expanded
324
+ */
325
+ $( '.yikes-mc-edit-field-label-icon' ).click( function( event ) {
326
+
327
+ // Prevent the tab from sliding up
328
+ yikes_mc_prevent_default_stop_prop( event );
329
+
330
+ // Remove the error message
331
+ jQuery( this ).siblings( '.yikes-mc-edit-field-label-message' ).fadeOut();
332
+
333
+ // Store the this var
334
+ var clicked_element = this;
335
+
336
+ // Call our function to toggle the input field / text fields
337
+ yikes_mc_toggle_field_label_edit( clicked_element );
338
+ });
339
+
340
+ /**
341
+ * Listen for clicks on the edit field label input field and do not slide tab up/down.
342
+ */
343
+ $( '.yikes-mc-edit-field-label-input' ).click( function( event ) { yikes_mc_prevent_default_stop_prop( event ) } );
344
+
345
+ /**
346
+ * Show the pencil for editing field labels when a user hovers over the expansion section
347
+ * and hide it when a user's mouse leaves the expansion section
348
+ */
349
+ // $( '.expansion-section-title' ).hover(
350
+ // function() { $( this ).children( '.yikes-mc-edit-field-label-icon.dashicons-edit' ).show(); },
351
+ // function() { $( this ).children( '.yikes-mc-edit-field-label-icon.dashicons-edit' ).hide(); }
352
+ // );
353
+
354
+ /**
355
+ * Save field label edit changes
356
+ */
357
+ $( '.yikes-mc-save-field-label-edits-icon' ).click( function( event ) {
358
+
359
+ // Prevent the tab from sliding up
360
+ yikes_mc_prevent_default_stop_prop( event );
361
+
362
+ // Remove the error message
363
+ jQuery( this ).siblings( '.yikes-mc-edit-field-label-message' ).fadeOut();
364
+
365
+ // Store the this var
366
+ var clicked_element = this;
367
+
368
+ // Get the current list ID
369
+ var list_id = jQuery( '#form-builder-div' ).data( 'list-id' );
370
+
371
+ // Capture the field data
372
+ var field_name = jQuery( this ).siblings( '.yikes-mc-edit-field-label-input' ).val();
373
+ var field_id = jQuery( this ).parents( '.expansion-section-title' ).siblings( '.yikes-mc-settings-expansion-section' ).children( '.yikes-mc-merge-field-id' ).val();
374
+ var field_data = {
375
+ field_name: field_name,
376
+ field_id: field_id
377
+ };
378
+
379
+ // Capture the current value of the field label
380
+ var current_field_name = jQuery( this ).parents( '.expansion-section-title' ).siblings( '.yikes-mc-settings-expansion-section' ).children( '.yikes-mc-merge-field-label' ).val();
381
+
382
+ // Do a quick check to make sure the user is actually changing the value
383
+ // If they're not changing the value (just using the checkmark to cancel) then just run our cancel function
384
+ if ( current_field_name === field_name ) {
385
+ yikes_mc_toggle_field_label_edit( jQuery( this ).siblings( '.yikes-mc-edit-field-label-icon' ) );
386
+ return;
387
+ }
388
+
389
+ // Call our function to save the changes
390
+ yikes_mc_save_field_label_name( clicked_element, list_id, field_data );
391
+ });
392
+
393
  /**
394
  * Initialize our date pickers on init
395
  * @since 6.0.3.8
557
  function toggleUpdateEmailContainer( clicked_button ) {
558
  jQuery( '.send-update-email' ).stop().fadeToggle();
559
  }
560
+
561
+ /**
562
+ * Wrapper function for event.preventDefault and event.stopPropagation
563
+ */
564
+ function yikes_mc_prevent_default_stop_prop( event ) {
565
+ event.preventDefault();
566
+ event.stopPropagation();
567
+ }
568
+
569
+ /**
570
+ * Toggle the field label edit sections
571
+ *
572
+ * If you're on the normal 'Field Label Text' view: change the pencil icon to an X icon, and replace the field label/type with an input field for field-label editing
573
+ * If you're on the 'Edit Field Label' view: change the X to a pencil, and replace the input field with the field label name and type
574
+ */
575
+ function yikes_mc_toggle_field_label_edit( clicked ) {
576
+
577
+ // Are we canceling the edit or are we initializing the edit? Run some conditional logic
578
+
579
+ // Let's populate our input field with the current value of the hidden input field (the currently defined label)
580
+ jQuery( clicked ).siblings( '.yikes-mc-edit-field-label-input' ).val(
581
+ jQuery( clicked ).parents( '.expansion-section-title' ).siblings( '.yikes-mc-settings-expansion-section' ).children( '.yikes-mc-merge-field-label' ).val()
582
+ );
583
+
584
+ // Default values
585
+ var fadeOut_selectors = jQuery( clicked ).siblings( '.yikes-mc-expansion-section-field-label, .field-type-text' );
586
+ var fadeIn_selectors = jQuery( clicked ).siblings( '.yikes-mc-edit-field-label-input, .yikes-mc-save-field-label-edits-icon' );
587
+
588
+ // If clicked element has class 'dashicons-no' we are CANCELING the edit
589
+ if ( jQuery( clicked ).hasClass( 'dashicons-no' ) ) {
590
+ fadeOut_selectors = jQuery( clicked ).siblings( '.yikes-mc-edit-field-label-input, .yikes-mc-save-field-label-edits-icon' );
591
+ fadeIn_selectors = jQuery( clicked ).siblings( '.yikes-mc-expansion-section-field-label, .field-type-text' );
592
+
593
+ // Change the dashicon title to something like "Click to edit the label"
594
+ clicked.title = yikes_mailchimp_edit_form.edit_field_label_pencil_title;
595
+ } else {
596
+
597
+ // Change the dashicon title to something like "Click to cancel editing. Your changes will not be saved."
598
+ clicked.title = yikes_mailchimp_edit_form.edit_field_label_cancel_title;
599
+ }
600
+
601
+ // Switch label from edit icon to X and vise versa
602
+ jQuery( clicked ).toggleClass( 'dashicons-no dashicons-edit' );
603
+
604
+ // Toggle fading in/fading out the field-label and field type OR the input field and save icon
605
+ // Use .promise() and .done() to run the callback once for potentially multiple selectors
606
+ fadeOut_selectors.fadeToggle().promise().done( function() {
607
+ fadeIn_selectors.fadeToggle();
608
+ });
609
+ }
610
+
611
+ function yikes_mc_save_field_label_name( clicked_element, list_id, field_data ) {
612
+ var data = {
613
+ action: 'save_field_label_edits',
614
+ list_id: list_id,
615
+ field_data: field_data,
616
+ nonce: yikes_mailchimp_edit_form.save_field_label_nonce
617
+ }
618
+
619
+ jQuery.post( yikes_mailchimp_edit_form.ajax_url, data, function( response ) {
620
+
621
+ if ( response !== 'undefined' && response.success !== 'undefined' ) {
622
+ var success = response.success;
623
+ if ( success === true ) {
624
+
625
+ // Update the field label
626
+ var field_label = field_data['field_name'];
627
+ yikes_mc_update_field_label( clicked_element, field_label );
628
+ yikes_mc_toggle_field_label_edit( jQuery( clicked_element ).siblings( '.dashicons-no' ) );
629
+ } else {
630
+
631
+ // Show error message
632
+ var message = '';
633
+ if ( response.data !== 'undefined' && response.data.message !== 'undefined' ) {
634
+ message = response.data.message;
635
+ yikes_mc_display_field_label_error_message( clicked_element, message );
636
+ }
637
+ }
638
+ }
639
+ });
640
+ }
641
+
642
+ /**
643
+ * Update field label values
644
+ */
645
+ function yikes_mc_update_field_label( element, field_label ) {
646
+
647
+ // Update the hidden input field -- this is what tells the backend to update the field
648
+ jQuery( element ).parents( '.expansion-section-title' ).siblings( '.yikes-mc-settings-expansion-section' ).children( '.yikes-mc-merge-field-label' ).val( field_label );
649
+
650
+ // Update the actual text on the expansion section
651
+ // (this is for UI/UX purposes only. On refresh/save, the actual value will be replaced)
652
+ jQuery( element ).siblings( '.yikes-mc-expansion-section-field-label' ).text( field_label );
653
+ }
654
+
655
+ /**
656
+ * Display an error message for errors during field label updates
657
+ */
658
+ function yikes_mc_display_field_label_error_message( element, message ) {
659
+ jQuery( element ).siblings( '.yikes-mc-edit-field-label-message' ).fadeOut( function() {
660
+ jQuery( this ).text( message ).fadeIn();
661
+ });
662
+ }
admin/partials/ajax/add_field_to_form.php CHANGED
@@ -36,7 +36,7 @@ $merge_field_data = $available_merge_variables['merge_fields'][ $index ];
36
  <section class="draggable" id="<?php echo $form_data['field_name']; ?>">
37
  <!-- top -->
38
  <a href="#" class="expansion-section-title settings-sidebar">
39
- <span class="dashicons dashicons-plus" title="<?php _e( 'Expand Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>"></span><?php echo stripslashes( $form_data['field_name'] ); ?>
40
  <span class="field-type-text"><small><?php echo __( 'type' , 'yikes-inc-easy-mailchimp-extender' ) . ' : ' . $form_data['field_type']; ?></small></span>
41
  </a>
42
  <!-- expansion section -->
36
  <section class="draggable" id="<?php echo $form_data['field_name']; ?>">
37
  <!-- top -->
38
  <a href="#" class="expansion-section-title settings-sidebar">
39
+ <span class="dashicons dashicons-plus yikes-mc-expansion-toggle" title="<?php _e( 'Expand Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>"></span><?php echo stripslashes( $form_data['field_name'] ); ?>
40
  <span class="field-type-text"><small><?php echo __( 'type' , 'yikes-inc-easy-mailchimp-extender' ) . ' : ' . $form_data['field_type']; ?></small></span>
41
  </a>
42
  <!-- expansion section -->
admin/partials/ajax/add_interest_group_to_form.php CHANGED
@@ -60,7 +60,7 @@ foreach( $interest_groups as $group ) {
60
  <section class="draggable" id="<?php echo $group['group_id']; ?>">
61
  <!-- top -->
62
  <a href="#" class="expansion-section-title settings-sidebar">
63
- <span class="dashicons dashicons-plus" title="<?php _e( 'Expand Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>"></span><?php echo stripslashes( $group['field_name'] ); ?>
64
  <span class="field-type-text"><small><?php echo __( 'type' , 'yikes-inc-easy-mailchimp-extender' ) . ' : ' . $group['field_type']; ?></small></span>
65
  </a>
66
  <!-- expansion section -->
60
  <section class="draggable" id="<?php echo $group['group_id']; ?>">
61
  <!-- top -->
62
  <a href="#" class="expansion-section-title settings-sidebar">
63
+ <span class="dashicons dashicons-plus yikes-mc-expansion-toggle" title="<?php _e( 'Expand Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>"></span><?php echo stripslashes( $group['field_name'] ); ?>
64
  <span class="field-type-text"><small><?php echo __( 'type' , 'yikes-inc-easy-mailchimp-extender' ) . ' : ' . $group['field_type']; ?></small></span>
65
  </a>
66
  <!-- expansion section -->
admin/partials/ajax/class.ajax.php CHANGED
@@ -11,16 +11,24 @@
11
  {
12
 
13
  public function __construct() {
14
- // ajax send merge variable to form builder
 
15
  add_action( 'wp_ajax_add_field_to_form', array( $this , 'send_field_to_form' ), 10 );
16
- // ajax send interest group to form builder
 
17
  add_action( 'wp_ajax_add_interest_group_to_form', array( $this , 'send_interest_group_to_form' ), 10 );
18
- // return new list data + activity (for dashboard widget )
 
19
  add_action( 'wp_ajax_get_new_list_data', array( $this , 'get_new_list_data' ), 10 );
20
- // return new list data + activity (for dashboard widget )
 
21
  add_action( 'wp_ajax_check_list_for_interest_groups', array( $this , 'check_list_for_interest_groups' ), 10 );
 
22
  // Add a new notification to a form
23
  add_action( 'wp_ajax_add_notification_to_form', array( $this , 'add_notification_to_form' ), 10 , 1 );
 
 
 
24
  }
25
 
26
  /*
@@ -108,4 +116,42 @@
108
 
109
  return $index;
110
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  }
11
  {
12
 
13
  public function __construct() {
14
+
15
+ // Ajax send merge variable to form builder
16
  add_action( 'wp_ajax_add_field_to_form', array( $this , 'send_field_to_form' ), 10 );
17
+
18
+ // Ajax send interest group to form builder
19
  add_action( 'wp_ajax_add_interest_group_to_form', array( $this , 'send_interest_group_to_form' ), 10 );
20
+
21
+ // Return new list data + activity (for dashboard widget )
22
  add_action( 'wp_ajax_get_new_list_data', array( $this , 'get_new_list_data' ), 10 );
23
+
24
+ // Return new list data + activity (for dashboard widget )
25
  add_action( 'wp_ajax_check_list_for_interest_groups', array( $this , 'check_list_for_interest_groups' ), 10 );
26
+
27
  // Add a new notification to a form
28
  add_action( 'wp_ajax_add_notification_to_form', array( $this , 'add_notification_to_form' ), 10 , 1 );
29
+
30
+ // Save field label edits
31
+ add_action( 'wp_ajax_save_field_label_edits', array( $this , 'save_field_label_edits' ), 10 , 1 );
32
  }
33
 
34
  /*
116
 
117
  return $index;
118
  }
119
+
120
+ /**
121
+ * Save changes to a field's label
122
+ */
123
+ public function save_field_label_edits() {
124
+
125
+ // Capture our $_POST variables
126
+ $list_id = isset( $_POST['list_id'] ) ? $_POST['list_id'] : '';
127
+ $field_data = isset( $_POST['field_data'] ) ? $_POST['field_data'] : array();
128
+ $field_name = isset( $field_data['field_name'] ) ? $field_data['field_name'] : '';
129
+ $field_id = isset( $field_data['field_id'] ) ? $field_data['field_id'] : '';
130
+
131
+ // Make sure we have our required variables before continuing
132
+ if ( $list_id === '' || $field_name === '' || $field_id === '' ) {
133
+ wp_send_json_error( array(
134
+ 'message' => __( 'Could not update the field label: missing required field.', 'yikes-inc-easy-mailchimp-extender' ),
135
+ 'developer-info' => "One of the following variables was empty: list_id: $list_id, field_name: $field_name, field_id: $field_id."
136
+ )
137
+ );
138
+ }
139
+
140
+ // Update the field!
141
+ $merge_field = yikes_get_mc_api_manager()->get_list_handler()->update_merge_field( $list_id, $field_id, array( 'name' => $field_name ), true );
142
+
143
+ // Check for an error. If error, log it and return error
144
+ if ( is_wp_error( $merge_field ) ) {
145
+ $error = isset( $merge_field['error'] ) ? $merge_field['error'] : __( 'API request failed. Unknown error.', 'yikes-inc-easy-mailchimp-extender' );
146
+ $error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
147
+ $error_logging->maybe_write_to_log( $error, __( "Updating merge field" , 'yikes-inc-easy-mailchimp-extender' ), "class.ajax.php" );
148
+ wp_send_json_error( array(
149
+ 'message' => __( 'Could not update the field label: API request failed.', 'yikes-inc-easy-mailchimp-extender' ),
150
+ 'developer-info' => $error
151
+ )
152
+ );
153
+ }
154
+
155
+ wp_send_json_success();
156
+ }
157
  }
admin/partials/edit-form.php CHANGED
@@ -208,8 +208,8 @@
208
  <div class="meta-box-sortables ui-sortable">
209
  <div class="postbox yikes-easy-mc-postbox">
210
  <!-- container title -->
211
- <h3 class="edit-form-title"><?php _e( 'Form Builder' , 'yikes-inc-easy-mailchimp-extender' ); ?></h3>
212
- <p id="edit-form-description" class="description"><?php _e( 'Select fields from the right to add to this form, you can click a field to reveal advanced options, or drag it to re-arrange its position in the form.' , 'yikes-inc-easy-mailchimp-extender' );?></p>
213
  <div id="form-builder-container" class="inside">
214
  <!-- #poststuff -->
215
  <?php echo $this->generate_form_editor( $form['fields'], $form['list_id'] , $available_merge_variables , isset( $interest_groupings ) ? $interest_groupings : array() ); ?>
@@ -691,7 +691,7 @@
691
 
692
 
693
  <a href="#" class="expansion-section-title settings-sidebar">
694
- <span class="dashicons dashicons-plus"></span><?php _e( 'Associated List Settings' , 'yikes-inc-easy-mailchimp-extender' ); ?>
695
  </a>
696
  <div class="yikes-mc-settings-expansion-section">
697
  <!-- Associated List -->
@@ -727,7 +727,7 @@
727
  </div>
728
 
729
  <a href="#" class="expansion-section-title settings-sidebar">
730
- <span class="dashicons dashicons-plus"></span><?php _e( 'Opt-in Settings' , 'yikes-inc-easy-mailchimp-extender' ); ?>
731
  </a>
732
  <div class="yikes-mc-settings-expansion-section">
733
 
@@ -778,7 +778,7 @@
778
  </div>
779
 
780
  <a href="#" class="expansion-section-title settings-sidebar">
781
- <span class="dashicons dashicons-plus"></span><?php _e( 'Submission Settings' , 'yikes-inc-easy-mailchimp-extender' ); ?>
782
  </a>
783
  <div class="yikes-mc-settings-expansion-section">
784
  <!-- AJAX form Submission -->
208
  <div class="meta-box-sortables ui-sortable">
209
  <div class="postbox yikes-easy-mc-postbox">
210
  <!-- container title -->
211
+ <h3 class="edit-form-title" id="form-builder-div" data-list-id="<?php echo $form['list_id'] ?>" ><?php _e( 'Form Builder' , 'yikes-inc-easy-mailchimp-extender' ); ?></h3>
212
+ <p id="edit-form-description" class="description"><?php _e( 'Click a field to show its advanced options or drag fields to re-arrange them. Click <span class="dashicons dashicons-edit"></span> to edit a field label. Make sure you hit "Update Form" to save all of your changes.' , 'yikes-inc-easy-mailchimp-extender' );?></p>
213
  <div id="form-builder-container" class="inside">
214
  <!-- #poststuff -->
215
  <?php echo $this->generate_form_editor( $form['fields'], $form['list_id'] , $available_merge_variables , isset( $interest_groupings ) ? $interest_groupings : array() ); ?>
691
 
692
 
693
  <a href="#" class="expansion-section-title settings-sidebar">
694
+ <span class="dashicons dashicons-plus yikes-mc-expansion-toggle"></span><?php _e( 'Associated List Settings' , 'yikes-inc-easy-mailchimp-extender' ); ?>
695
  </a>
696
  <div class="yikes-mc-settings-expansion-section">
697
  <!-- Associated List -->
727
  </div>
728
 
729
  <a href="#" class="expansion-section-title settings-sidebar">
730
+ <span class="dashicons dashicons-plus yikes-mc-expansion-toggle"></span><?php _e( 'Opt-in Settings' , 'yikes-inc-easy-mailchimp-extender' ); ?>
731
  </a>
732
  <div class="yikes-mc-settings-expansion-section">
733
 
778
  </div>
779
 
780
  <a href="#" class="expansion-section-title settings-sidebar">
781
+ <span class="dashicons dashicons-plus yikes-mc-expansion-toggle"></span><?php _e( 'Submission Settings' , 'yikes-inc-easy-mailchimp-extender' ); ?>
782
  </a>
783
  <div class="yikes-mc-settings-expansion-section">
784
  <!-- AJAX form Submission -->
includes/api/class-yikes-inc-easy-mailchimp-api-lists.php CHANGED
@@ -178,6 +178,36 @@ class Yikes_Inc_Easy_MailChimp_API_Lists extends Yikes_Inc_Easy_MailChimp_API_Ab
178
  return $merge_object;
179
  }
180
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
  /**
182
  * Get the Interest Categories for a particular list.
183
  *
178
  return $merge_object;
179
  }
180
 
181
+ /**
182
+ * Update a merge field for a particular list
183
+ *
184
+ * @author Kevin Utz
185
+ *
186
+ * @since 6.3.3
187
+ *
188
+ * @param string | $list_id | The ID of the MailChimp list
189
+ * @param string | $field_id | The ID of the merge field
190
+ * @param array | $field_data | An array of field data constituting the body of our API request
191
+ * @param bool | $clear_transient | Flag whether we should delete the transients associated with this list
192
+ *
193
+ * @return array | WP_Error
194
+ */
195
+ public function update_merge_field( $list_id, $field_id, $field_data, $clear_transient = true ) {
196
+ $path = "{$this->base_path}/{$list_id}/merge-fields/{$field_id}";
197
+ $field = $this->patch_to_api( $path, $field_data );
198
+
199
+ if ( is_wp_error( $field ) ) {
200
+ return $field;
201
+ }
202
+
203
+ if ( $clear_transient === true ) {
204
+ delete_transient( "yikes_eme_merge_variables_{$list_id}" );
205
+ }
206
+
207
+ return $field;
208
+ }
209
+
210
+
211
  /**
212
  * Get the Interest Categories for a particular list.
213
  *
languages/yikes-inc-easy-mailchimp-extender.pot CHANGED
@@ -8,7 +8,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"
@@ -19,7 +19,7 @@ msgstr ""
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
 
21
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:283
22
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:945
23
  msgid "Settings"
24
  msgstr ""
25
 
@@ -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: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,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: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
 
@@ -181,112 +181,121 @@ msgid ""
181
  "Chosen date reverted to previous selection."
182
  msgstr ""
183
 
184
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:886
 
 
 
 
 
 
 
 
 
185
  msgid "Easy Forms"
186
  msgstr ""
187
 
188
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:902
189
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:903
190
  msgid "Opt-in Forms"
191
  msgstr ""
192
 
193
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:912
194
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:913
195
  msgid "Mailing Lists"
196
  msgstr ""
197
 
198
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:932
199
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:933
200
  msgid "Account"
201
  msgstr ""
202
 
203
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:944
204
  msgid "Settings."
205
  msgstr ""
206
 
207
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:954
208
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:955
209
  #: admin/partials/menu/support.php:14
210
  msgid "Support"
211
  msgstr ""
212
 
213
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:964
214
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:965
215
  #: admin/partials/menu/add-ons.php:12
216
  #: admin/partials/welcome-page/welcome.php:20
217
  msgid "Add-Ons"
218
  msgstr ""
219
 
220
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:976
221
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:977
222
  #: public/partials/shortcodes/process_form_shortcode.php:240
223
  msgid "Edit Form"
224
  msgstr ""
225
 
226
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:986
227
  msgid "Us Easy Forms for MailChimp Upgrade Options Structure"
228
  msgstr ""
229
 
230
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:996
231
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:997
232
  msgid "Welcome"
233
  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:716 admin/partials/view-user.php:119
238
  msgid "View List"
239
  msgstr ""
240
 
241
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1016
242
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1017
243
  msgid "View User"
244
  msgstr ""
245
 
246
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1127
247
  msgid "API Connection"
248
  msgstr ""
249
 
250
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1136
251
  #: admin/partials/menu/options-sections/general-settings.php:26
252
  #: admin/partials/menu/options-sections/general-settings.php:28
253
  msgid "MailChimp API Key"
254
  msgstr ""
255
 
256
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1157
257
  msgid "Select Checkboxes to Generate"
258
  msgstr ""
259
 
260
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1179
261
  msgid "Enter reCAPTCHA Site Key"
262
  msgstr ""
263
 
264
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1186
265
  msgid "Enter reCAPTCHA Secret Key"
266
  msgstr ""
267
 
268
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1193
269
  msgid "Enable ReCaptcha"
270
  msgstr ""
271
 
272
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1213
273
  #: admin/partials/menu/options-sections/debug-settings.php:16
274
  msgid "Enable Debugging"
275
  msgstr ""
276
 
277
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1239
278
  msgid "Your API key appears to be invalid."
279
  msgstr ""
280
 
281
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1251
282
  msgid "Connecting to MailChimp"
283
  msgstr ""
284
 
285
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1251
286
  msgid "Settings Page/General Settings"
287
  msgstr ""
288
 
289
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1349
290
  #, php-format
291
  msgid ""
292
  "The previously stored options for %s have been cleared from the database. "
@@ -296,12 +305,12 @@ msgid ""
296
  "previously set-up."
297
  msgstr ""
298
 
299
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1355
300
  #, php-format
301
  msgid "It looks like you're upgrading from a previous version of %s."
302
  msgstr ""
303
 
304
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1355
305
  #, php-format
306
  msgid ""
307
  "In the newest version of %s, the options data structure has changed. We've "
@@ -310,175 +319,175 @@ msgid ""
310
  "assign them to the same mailing list."
311
  msgstr ""
312
 
313
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1356
314
  msgid ""
315
  "Before you continue, it's strongly recommended you the perform the migration "
316
  "to ensure the plugin continues to function properly."
317
  msgstr ""
318
 
319
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1357
320
  msgid "It's also strongly recommended that you take a backup of your database."
321
  msgstr ""
322
 
323
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1362
324
  msgid "Perform Migration"
325
  msgstr ""
326
 
327
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1366
328
  msgid "Dismiss Notice"
329
  msgstr ""
330
 
331
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1465
332
  msgid "Additional Settings"
333
  msgstr ""
334
 
335
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1468
336
  #: admin/partials/menu/options-sections/general-settings.php:11
337
  #: admin/partials/menu/options-sections/integration-settings.php:98
338
  #: admin/partials/menu/options.php:37
339
  msgid "General Settings"
340
  msgstr ""
341
 
342
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1469
343
  #: admin/partials/menu/options-sections/integration-settings.php:79
344
  msgid "Integration Settings"
345
  msgstr ""
346
 
347
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1470
348
  #: public/partials/shortcodes/process_form_shortcode.php:60
349
  #: public/partials/shortcodes/process_form_shortcode.php:63
350
  msgid "ReCaptcha Settings"
351
  msgstr ""
352
 
353
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1471
354
  #: admin/partials/menu/options-sections/api-cache-settings.php:6
355
  msgid "API Cache Settings"
356
  msgstr ""
357
 
358
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1472
359
  #: admin/partials/menu/options-sections/debug-settings.php:7
360
  msgid "Debug Settings"
361
  msgstr ""
362
 
363
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1473
364
  msgid "Import/Export"
365
  msgstr ""
366
 
367
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1480
368
  msgid "Addon Settings"
369
  msgstr ""
370
 
371
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1514
372
  msgid "Create a New Signup Form"
373
  msgstr ""
374
 
375
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1518
376
  msgid ""
377
  "Give your form a name, select a MailChimp list to assign users to, then "
378
  "click 'Create'."
379
  msgstr ""
380
 
381
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1523
382
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1524
383
  #: admin/partials/edit-form.php:157 admin/partials/menu/manage-forms.php:103
384
  #: admin/partials/menu/manage-forms.php:118
385
  msgid "Form Name"
386
  msgstr ""
387
 
388
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1527
389
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1528
390
  #: admin/partials/edit-form.php:163 admin/partials/menu/manage-forms.php:104
391
  #: admin/partials/menu/manage-forms.php:119
392
  msgid "Form Description"
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 ""
400
 
401
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1543
402
  msgid "Please enter a valid API key."
403
  msgstr ""
404
 
405
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1547
406
  msgid "No lists were found on the account."
407
  msgstr ""
408
 
409
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1560
410
  msgid "MailChimp list data has been succesfully refreshed."
411
  msgstr ""
412
 
413
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1570
414
  #, php-format
415
  msgid ""
416
  "Head over to <a href=\"http://www.MailChimp.com\" title=\"%s\">MailChimp</a> "
417
  "to create a new list."
418
  msgstr ""
419
 
420
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1570
421
  msgid "Create a list"
422
  msgstr ""
423
 
424
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1579
425
  msgid "Create"
426
  msgstr ""
427
 
428
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1581
429
  msgid "Please enter a valid MailChimp API key to get started."
430
  msgstr ""
431
 
432
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1583
433
  msgid "general settings"
434
  msgstr ""
435
 
436
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1594
437
  msgid "Refresh Lists"
438
  msgstr ""
439
 
440
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1611
441
  msgid "Select A Page or Post"
442
  msgstr ""
443
 
444
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1643
445
  msgid "Custom URL"
446
  msgstr ""
447
 
448
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1648
449
  msgid "Enter Custom URL"
450
  msgstr ""
451
 
452
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1683
453
  msgid "About YIKES, Inc."
454
  msgstr ""
455
 
456
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1683
457
  msgid "Show Us Some Love"
458
  msgstr ""
459
 
460
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1687
461
  msgid "Leave a review"
462
  msgstr ""
463
 
464
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1699
465
  msgid "Tweet about it"
466
  msgstr ""
467
 
468
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1705
469
  msgid "Vote that the plugin works"
470
  msgstr ""
471
 
472
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1708
473
  msgid "Vote for Compatibility"
474
  msgstr ""
475
 
476
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1713
477
  #, php-format
478
  msgid "This plugin made with %s by %s"
479
  msgstr ""
480
 
481
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1719
482
  msgid ""
483
  "is a web design and development company located in Philadelphia, "
484
  "Pennsylvania, US. YIKES specializes in custom WordPress theme and plugin "
@@ -486,89 +495,93 @@ msgid ""
486
  "applications and more."
487
  msgstr ""
488
 
489
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1722
490
  msgid "Show YIKES Some Love"
491
  msgstr ""
492
 
493
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1722
494
  msgid "About YIKES"
495
  msgstr ""
496
 
497
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1729
498
  msgid "Easy Forms for MailChimp Add-Ons"
499
  msgstr ""
500
 
501
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1731
502
  msgid "Check out available add-ons for some seriously enhanced features."
503
  msgstr ""
504
 
505
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1732
506
  msgid "View Add-Ons"
507
  msgstr ""
508
 
509
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1758
510
  msgid "We've encountered an error. No list ID was sent."
511
  msgstr ""
512
 
513
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1762
514
  msgid ""
515
  "We've encountered an error. Reload the page and try again. If the error "
516
  "persists, please reach out to support."
517
  msgstr ""
518
 
519
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1799
520
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2102
521
  msgid "Field no longer exists."
522
  msgstr ""
523
 
524
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1801
525
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2104
526
  #: admin/partials/ajax/add_field_to_form.php:40
527
  #: admin/partials/ajax/add_interest_group_to_form.php:64
528
  msgid "type"
529
  msgstr ""
530
 
531
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1807
 
 
 
 
532
  msgid ""
533
  "This field no longer exists in this list. Delete this field from the form to "
534
  "prevent issues on your website."
535
  msgstr ""
536
 
537
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1831
538
  #: admin/partials/ajax/add_field_to_form.php:64
539
  msgid "Merge Tag"
540
  msgstr ""
541
 
542
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1855
543
  #: admin/partials/ajax/add_field_to_form.php:90
544
  msgid "Placeholder"
545
  msgstr ""
546
 
547
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1860
548
  #: admin/partials/ajax/add_field_to_form.php:95
549
  msgid "Assign a placeholder value to this field."
550
  msgstr ""
551
 
552
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1878
553
  #: admin/partials/ajax/add_field_to_form.php:143
554
  msgid "Default Value"
555
  msgstr ""
556
 
557
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1883
558
  #: admin/partials/ajax/add_field_to_form.php:148
559
  msgid ""
560
  "Assign a default value to populate this field with on initial page load."
561
  msgstr ""
562
 
563
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1888
564
  #: admin/partials/ajax/add_field_to_form.php:153
565
  msgid "View Pre-Defined Tags"
566
  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
@@ -577,127 +590,127 @@ msgstr ""
577
  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: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
585
  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: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"
600
  msgstr ""
601
 
602
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1966
603
  msgid ""
604
  "Enter the description for the form field. This will be displayed to the user "
605
  "and will provide some direction on how the field should be filled out or "
606
  "selected."
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
621
  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: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?"
636
  msgstr ""
637
 
638
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1990
639
  #: admin/partials/ajax/add_field_to_form.php:246
640
  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: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"
655
  msgstr ""
656
 
657
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2003
658
  #: admin/partials/ajax/add_field_to_form.php:258
659
  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: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."
681
  msgstr ""
682
 
683
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2036
684
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2042
685
  #: admin/partials/ajax/add_field_to_form.php:290
686
  #: admin/partials/ajax/add_field_to_form.php:296
687
  msgid "Date Format"
688
  msgstr ""
689
 
690
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2048
691
  #: admin/partials/ajax/add_field_to_form.php:302
692
  msgid "Phone Format"
693
  msgstr ""
694
 
695
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2049
696
  #: admin/partials/ajax/add_field_to_form.php:303
697
  msgid "International"
698
  msgstr ""
699
 
700
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2061
701
  #: admin/partials/ajax/add_field_to_form.php:315
702
  #, php-format
703
  msgid ""
@@ -706,27 +719,27 @@ msgid ""
706
  "import this field."
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"
721
  msgstr ""
722
 
723
- #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2111
724
  msgid ""
725
  "This field no longer exists in this list. Delete this field from the form to "
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,139 +747,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: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
 
@@ -900,7 +913,7 @@ msgid "Could not find interest group data. "
900
  msgstr ""
901
 
902
  #: admin/partials/ajax/add_interest_group_to_form.php:30
903
- #: admin/partials/ajax/class.ajax.php:74 admin/partials/edit-form.php:106
904
  #: admin/partials/view-list.php:40
905
  msgid "Get Interest Groups"
906
  msgstr ""
@@ -913,7 +926,7 @@ msgstr ""
913
  msgid " Please refresh and try again."
914
  msgstr ""
915
 
916
- #: admin/partials/ajax/class.ajax.php:47
917
  #: admin/partials/dashboard-widgets/class.list-activity-widget.php:73
918
  #: admin/partials/edit-form.php:82 admin/partials/menu/manage-forms.php:15
919
  #: admin/partials/menu/manage-lists.php:9
@@ -923,10 +936,26 @@ msgstr ""
923
  msgid "Get Account Lists"
924
  msgstr ""
925
 
926
- #: admin/partials/ajax/class.ajax.php:48
927
  msgid "MailChimp Widget"
928
  msgstr ""
929
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
930
  #: admin/partials/dashboard-widgets/class.list-activity-widget.php:31
931
  msgid "Preloader"
932
  msgstr ""
@@ -3300,27 +3329,27 @@ msgid "Whoops, it looks like you forgot to assign fields to this form."
3300
  msgstr ""
3301
 
3302
  #: public/partials/shortcodes/process_form_shortcode.php:350
3303
- #: public/partials/shortcodes/process_form_shortcode.php:1079
3304
  msgid "This field is required."
3305
  msgstr ""
3306
 
3307
- #: public/partials/shortcodes/process_form_shortcode.php:566
3308
  msgid "Please enter a valid URL to the website."
3309
  msgstr ""
3310
 
3311
- #: public/partials/shortcodes/process_form_shortcode.php:566
3312
  msgid "Please enter a valid URL to the image."
3313
  msgstr ""
3314
 
3315
- #: public/partials/shortcodes/process_form_shortcode.php:606
3316
  msgid "International Phone Number"
3317
  msgstr ""
3318
 
3319
- #: public/partials/shortcodes/process_form_shortcode.php:606
3320
  msgid "US Phone Number (###) ### - ####"
3321
  msgstr ""
3322
 
3323
- #: public/partials/shortcodes/process_form_shortcode.php:634
3324
  #: public/partials/shortcodes/process_form_shortcode.php:751
3325
  msgid "5 digit zip code, numbers only"
3326
  msgstr ""
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-02-01 18:24+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"
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
 
21
  #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:283
22
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:950
23
  msgid "Settings"
24
  msgstr ""
25
 
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:2514
45
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2549
46
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2569
47
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2602
48
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2636
49
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2772
50
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2794
51
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2818
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:2549
60
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2569
61
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2602
62
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2637
63
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2772
64
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2794
65
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2818
66
  msgid "Failed nonce validation"
67
  msgstr ""
68
 
181
  "Chosen date reverted to previous selection."
182
  msgstr ""
183
 
184
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:799
185
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1820
186
+ msgid "Click to edit the label"
187
+ msgstr ""
188
+
189
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:800
190
+ msgid "Click to cancel editing. Your changes will not be saved."
191
+ msgstr ""
192
+
193
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:891
194
  msgid "Easy Forms"
195
  msgstr ""
196
 
197
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:907
198
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:908
199
  msgid "Opt-in Forms"
200
  msgstr ""
201
 
202
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:917
203
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:918
204
  msgid "Mailing Lists"
205
  msgstr ""
206
 
207
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:937
208
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:938
209
  msgid "Account"
210
  msgstr ""
211
 
212
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:949
213
  msgid "Settings."
214
  msgstr ""
215
 
216
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:959
217
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:960
218
  #: admin/partials/menu/support.php:14
219
  msgid "Support"
220
  msgstr ""
221
 
222
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:969
223
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:970
224
  #: admin/partials/menu/add-ons.php:12
225
  #: admin/partials/welcome-page/welcome.php:20
226
  msgid "Add-Ons"
227
  msgstr ""
228
 
229
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:981
230
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:982
231
  #: public/partials/shortcodes/process_form_shortcode.php:240
232
  msgid "Edit Form"
233
  msgstr ""
234
 
235
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:991
236
  msgid "Us Easy Forms for MailChimp Upgrade Options Structure"
237
  msgstr ""
238
 
239
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1001
240
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1002
241
  msgid "Welcome"
242
  msgstr ""
243
 
244
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1011
245
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1012
246
  #: admin/partials/edit-form.php:716 admin/partials/view-user.php:119
247
  msgid "View List"
248
  msgstr ""
249
 
250
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1021
251
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1022
252
  msgid "View User"
253
  msgstr ""
254
 
255
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1132
256
  msgid "API Connection"
257
  msgstr ""
258
 
259
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1141
260
  #: admin/partials/menu/options-sections/general-settings.php:26
261
  #: admin/partials/menu/options-sections/general-settings.php:28
262
  msgid "MailChimp API Key"
263
  msgstr ""
264
 
265
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1162
266
  msgid "Select Checkboxes to Generate"
267
  msgstr ""
268
 
269
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1184
270
  msgid "Enter reCAPTCHA Site Key"
271
  msgstr ""
272
 
273
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1191
274
  msgid "Enter reCAPTCHA Secret Key"
275
  msgstr ""
276
 
277
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1198
278
  msgid "Enable ReCaptcha"
279
  msgstr ""
280
 
281
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1218
282
  #: admin/partials/menu/options-sections/debug-settings.php:16
283
  msgid "Enable Debugging"
284
  msgstr ""
285
 
286
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1244
287
  msgid "Your API key appears to be invalid."
288
  msgstr ""
289
 
290
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1256
291
  msgid "Connecting to MailChimp"
292
  msgstr ""
293
 
294
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1256
295
  msgid "Settings Page/General Settings"
296
  msgstr ""
297
 
298
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1354
299
  #, php-format
300
  msgid ""
301
  "The previously stored options for %s have been cleared from the database. "
305
  "previously set-up."
306
  msgstr ""
307
 
308
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1360
309
  #, php-format
310
  msgid "It looks like you're upgrading from a previous version of %s."
311
  msgstr ""
312
 
313
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1360
314
  #, php-format
315
  msgid ""
316
  "In the newest version of %s, the options data structure has changed. We've "
319
  "assign them to the same mailing list."
320
  msgstr ""
321
 
322
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1361
323
  msgid ""
324
  "Before you continue, it's strongly recommended you the perform the migration "
325
  "to ensure the plugin continues to function properly."
326
  msgstr ""
327
 
328
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1362
329
  msgid "It's also strongly recommended that you take a backup of your database."
330
  msgstr ""
331
 
332
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1367
333
  msgid "Perform Migration"
334
  msgstr ""
335
 
336
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1371
337
  msgid "Dismiss Notice"
338
  msgstr ""
339
 
340
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1470
341
  msgid "Additional Settings"
342
  msgstr ""
343
 
344
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1473
345
  #: admin/partials/menu/options-sections/general-settings.php:11
346
  #: admin/partials/menu/options-sections/integration-settings.php:98
347
  #: admin/partials/menu/options.php:37
348
  msgid "General Settings"
349
  msgstr ""
350
 
351
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1474
352
  #: admin/partials/menu/options-sections/integration-settings.php:79
353
  msgid "Integration Settings"
354
  msgstr ""
355
 
356
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1475
357
  #: public/partials/shortcodes/process_form_shortcode.php:60
358
  #: public/partials/shortcodes/process_form_shortcode.php:63
359
  msgid "ReCaptcha Settings"
360
  msgstr ""
361
 
362
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1476
363
  #: admin/partials/menu/options-sections/api-cache-settings.php:6
364
  msgid "API Cache Settings"
365
  msgstr ""
366
 
367
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1477
368
  #: admin/partials/menu/options-sections/debug-settings.php:7
369
  msgid "Debug Settings"
370
  msgstr ""
371
 
372
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1478
373
  msgid "Import/Export"
374
  msgstr ""
375
 
376
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1485
377
  msgid "Addon Settings"
378
  msgstr ""
379
 
380
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1519
381
  msgid "Create a New Signup Form"
382
  msgstr ""
383
 
384
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1523
385
  msgid ""
386
  "Give your form a name, select a MailChimp list to assign users to, then "
387
  "click 'Create'."
388
  msgstr ""
389
 
390
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1528
391
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1529
392
  #: admin/partials/edit-form.php:157 admin/partials/menu/manage-forms.php:103
393
  #: admin/partials/menu/manage-forms.php:118
394
  msgid "Form Name"
395
  msgstr ""
396
 
397
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1532
398
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1533
399
  #: admin/partials/edit-form.php:163 admin/partials/menu/manage-forms.php:104
400
  #: admin/partials/menu/manage-forms.php:119
401
  msgid "Form Description"
402
  msgstr ""
403
 
404
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1536
405
  #: admin/partials/edit-form.php:698
406
  #: admin/partials/menu/options-sections/integration-settings.php:142
407
  msgid "Associated List"
408
  msgstr ""
409
 
410
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1548
411
  msgid "Please enter a valid API key."
412
  msgstr ""
413
 
414
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1552
415
  msgid "No lists were found on the account."
416
  msgstr ""
417
 
418
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1565
419
  msgid "MailChimp list data has been succesfully refreshed."
420
  msgstr ""
421
 
422
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1575
423
  #, php-format
424
  msgid ""
425
  "Head over to <a href=\"http://www.MailChimp.com\" title=\"%s\">MailChimp</a> "
426
  "to create a new list."
427
  msgstr ""
428
 
429
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1575
430
  msgid "Create a list"
431
  msgstr ""
432
 
433
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1584
434
  msgid "Create"
435
  msgstr ""
436
 
437
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1586
438
  msgid "Please enter a valid MailChimp API key to get started."
439
  msgstr ""
440
 
441
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1588
442
  msgid "general settings"
443
  msgstr ""
444
 
445
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1599
446
  msgid "Refresh Lists"
447
  msgstr ""
448
 
449
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1616
450
  msgid "Select A Page or Post"
451
  msgstr ""
452
 
453
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1648
454
  msgid "Custom URL"
455
  msgstr ""
456
 
457
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1653
458
  msgid "Enter Custom URL"
459
  msgstr ""
460
 
461
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1688
462
  msgid "About YIKES, Inc."
463
  msgstr ""
464
 
465
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1688
466
  msgid "Show Us Some Love"
467
  msgstr ""
468
 
469
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1692
470
  msgid "Leave a review"
471
  msgstr ""
472
 
473
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1704
474
  msgid "Tweet about it"
475
  msgstr ""
476
 
477
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1710
478
  msgid "Vote that the plugin works"
479
  msgstr ""
480
 
481
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1713
482
  msgid "Vote for Compatibility"
483
  msgstr ""
484
 
485
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1718
486
  #, php-format
487
  msgid "This plugin made with %s by %s"
488
  msgstr ""
489
 
490
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1724
491
  msgid ""
492
  "is a web design and development company located in Philadelphia, "
493
  "Pennsylvania, US. YIKES specializes in custom WordPress theme and plugin "
495
  "applications and more."
496
  msgstr ""
497
 
498
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1727
499
  msgid "Show YIKES Some Love"
500
  msgstr ""
501
 
502
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1727
503
  msgid "About YIKES"
504
  msgstr ""
505
 
506
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1734
507
  msgid "Easy Forms for MailChimp Add-Ons"
508
  msgstr ""
509
 
510
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1736
511
  msgid "Check out available add-ons for some seriously enhanced features."
512
  msgstr ""
513
 
514
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1737
515
  msgid "View Add-Ons"
516
  msgstr ""
517
 
518
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1763
519
  msgid "We've encountered an error. No list ID was sent."
520
  msgstr ""
521
 
522
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1767
523
  msgid ""
524
  "We've encountered an error. Reload the page and try again. If the error "
525
  "persists, please reach out to support."
526
  msgstr ""
527
 
528
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1815
529
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2125
530
  msgid "Field no longer exists."
531
  msgstr ""
532
 
533
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1817
534
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2127
535
  #: admin/partials/ajax/add_field_to_form.php:40
536
  #: admin/partials/ajax/add_interest_group_to_form.php:64
537
  msgid "type"
538
  msgstr ""
539
 
540
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1819
541
+ msgid "Click to save changes."
542
+ msgstr ""
543
+
544
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1827
545
  msgid ""
546
  "This field no longer exists in this list. Delete this field from the form to "
547
  "prevent issues on your website."
548
  msgstr ""
549
 
550
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1854
551
  #: admin/partials/ajax/add_field_to_form.php:64
552
  msgid "Merge Tag"
553
  msgstr ""
554
 
555
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1878
556
  #: admin/partials/ajax/add_field_to_form.php:90
557
  msgid "Placeholder"
558
  msgstr ""
559
 
560
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1883
561
  #: admin/partials/ajax/add_field_to_form.php:95
562
  msgid "Assign a placeholder value to this field."
563
  msgstr ""
564
 
565
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1901
566
  #: admin/partials/ajax/add_field_to_form.php:143
567
  msgid "Default Value"
568
  msgstr ""
569
 
570
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1906
571
  #: admin/partials/ajax/add_field_to_form.php:148
572
  msgid ""
573
  "Assign a default value to populate this field with on initial page load."
574
  msgstr ""
575
 
576
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1911
577
  #: admin/partials/ajax/add_field_to_form.php:153
578
  msgid "View Pre-Defined Tags"
579
  msgstr ""
580
 
581
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1925
582
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1955
583
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2156
584
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2216
585
  #: admin/partials/ajax/add_field_to_form.php:167
586
  #: admin/partials/ajax/add_field_to_form.php:193
587
  #: admin/partials/ajax/add_interest_group_to_form.php:89
590
  msgid "Default Selection"
591
  msgstr ""
592
 
593
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1943
594
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2204
595
  #: admin/partials/ajax/add_field_to_form.php:181
596
  #: admin/partials/ajax/add_interest_group_to_form.php:102
597
  #: admin/partials/ajax/add_interest_group_to_form.php:126
598
  msgid "Select the option that should be selected by default."
599
  msgstr ""
600
 
601
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1964
602
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2225
603
  #: admin/partials/ajax/add_field_to_form.php:204
604
  #: admin/partials/ajax/add_interest_group_to_form.php:151
605
  msgid "Which option should be selected by default?"
606
  msgstr ""
607
 
608
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1984
609
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2239
610
  #: admin/partials/ajax/add_field_to_form.php:218
611
  #: admin/partials/ajax/add_interest_group_to_form.php:163
612
  msgid "Description"
613
  msgstr ""
614
 
615
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1989
616
  msgid ""
617
  "Enter the description for the form field. This will be displayed to the user "
618
  "and will provide some direction on how the field should be filled out or "
619
  "selected."
620
  msgstr ""
621
 
622
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1996
623
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2252
624
  #: admin/partials/ajax/add_field_to_form.php:230
625
  #: admin/partials/ajax/add_interest_group_to_form.php:176
626
  msgid "Additional Classes"
627
  msgstr ""
628
 
629
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2001
630
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2257
631
  #: admin/partials/ajax/add_field_to_form.php:235
632
  #: admin/partials/ajax/add_interest_group_to_form.php:181
633
  #, php-format
634
  msgid "Assign additional classes to this field. %s."
635
  msgstr ""
636
 
637
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2001
638
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2257
639
  #: admin/partials/ajax/add_field_to_form.php:235
640
  #: admin/partials/ajax/add_interest_group_to_form.php:181
641
  msgid "View bundled classes"
642
  msgstr ""
643
 
644
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2008
645
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2264
646
  #: admin/partials/ajax/add_field_to_form.php:242
647
  #: admin/partials/ajax/add_interest_group_to_form.php:188
648
  msgid "Field Required?"
649
  msgstr ""
650
 
651
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2013
652
  #: admin/partials/ajax/add_field_to_form.php:246
653
  msgid "Email is a required field."
654
  msgstr ""
655
 
656
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2014
657
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2270
658
  #: admin/partials/ajax/add_field_to_form.php:247
659
  #: admin/partials/ajax/add_interest_group_to_form.php:193
660
  msgid "Require this field to be filled in before the form can be submitted."
661
  msgstr ""
662
 
663
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2021
664
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2277
665
  #: admin/partials/ajax/add_field_to_form.php:254
666
  #: admin/partials/ajax/add_interest_group_to_form.php:200
667
  msgid "Hide Field"
668
  msgstr ""
669
 
670
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2026
671
  #: admin/partials/ajax/add_field_to_form.php:258
672
  msgid "Cannot toggle email field visibility."
673
  msgstr ""
674
 
675
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2027
676
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2283
677
  #: admin/partials/ajax/add_field_to_form.php:259
678
  #: admin/partials/ajax/add_interest_group_to_form.php:205
679
  msgid "Hide this field from being displayed on the front end."
680
  msgstr ""
681
 
682
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2034
683
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2290
684
  #: admin/partials/ajax/add_field_to_form.php:266
685
  #: admin/partials/ajax/add_interest_group_to_form.php:212
686
  msgid "Hide Label"
687
  msgstr ""
688
 
689
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2040
690
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2296
691
  #: admin/partials/ajax/add_field_to_form.php:271
692
  #: admin/partials/ajax/add_interest_group_to_form.php:217
693
  msgid "Toggle field label visibility."
694
  msgstr ""
695
 
696
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2059
697
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2065
698
  #: admin/partials/ajax/add_field_to_form.php:290
699
  #: admin/partials/ajax/add_field_to_form.php:296
700
  msgid "Date Format"
701
  msgstr ""
702
 
703
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2071
704
  #: admin/partials/ajax/add_field_to_form.php:302
705
  msgid "Phone Format"
706
  msgstr ""
707
 
708
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2072
709
  #: admin/partials/ajax/add_field_to_form.php:303
710
  msgid "International"
711
  msgstr ""
712
 
713
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2084
714
  #: admin/partials/ajax/add_field_to_form.php:315
715
  #, php-format
716
  msgid ""
719
  "import this field."
720
  msgstr ""
721
 
722
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2103
723
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2306
724
  #: admin/partials/ajax/add_field_to_form.php:334
725
  #: admin/partials/ajax/add_interest_group_to_form.php:227
726
  msgid "Close"
727
  msgstr ""
728
 
729
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2104
730
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2307
731
  #: admin/partials/ajax/add_field_to_form.php:335
732
  #: admin/partials/ajax/add_interest_group_to_form.php:228
733
  msgid "Remove Field"
734
  msgstr ""
735
 
736
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2134
737
  msgid ""
738
  "This field no longer exists in this list. Delete this field from the form to "
739
  "prevent issues on the front end."
740
  msgstr ""
741
 
742
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2244
743
  #: admin/partials/ajax/add_field_to_form.php:223
744
  #: admin/partials/ajax/add_interest_group_to_form.php:168
745
  msgid ""
747
  "and provide some direction on how the field should be filled out or selected."
748
  msgstr ""
749
 
750
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2321
751
  msgid ""
752
  "No fields are assigned to this form. Select fields from the right hand "
753
  "column to add to this form."
754
  msgstr ""
755
 
756
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2332
757
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2333
758
  msgid "Page Title"
759
  msgstr ""
760
 
761
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2332
762
  msgid ""
763
  "Pre-populate the field with the current page or post title that the user is "
764
  "on when opting in to your mailing list."
765
  msgstr ""
766
 
767
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2337
768
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2338
769
  msgid "Page ID"
770
  msgstr ""
771
 
772
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2337
773
  msgid ""
774
  "Pre-populate the field with the current page or post ID that the user is on "
775
  "when opting in to your mailing list."
776
  msgstr ""
777
 
778
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2342
779
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2343
780
  msgid "Page URL"
781
  msgstr ""
782
 
783
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2342
784
  msgid ""
785
  "Pre-populate the field with the current page URL that the user is on when "
786
  "opting in to your mailing list."
787
  msgstr ""
788
 
789
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2347
790
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2348
791
  msgid "Blog Name"
792
  msgstr ""
793
 
794
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2347
795
  msgid ""
796
  "Pre-populate the field with the current blog name that the user is on when "
797
  "opting in to your mailing list. This is especially helpful for multi-site "
798
  "networks."
799
  msgstr ""
800
 
801
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2352
802
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2353
803
  msgid "User Logged In"
804
  msgstr ""
805
 
806
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2352
807
  msgid ""
808
  "Detects if a user is logged in and pre-populates the field with an "
809
  "appropriate value."
810
  msgstr ""
811
 
812
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2380
813
  msgid "Pre Defined Tags"
814
  msgstr ""
815
 
816
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2381
817
  msgid ""
818
  "You can use any of the following tags to populate a MailChimp text field "
819
  "with dynamic content. This can be used to determine which page the user "
820
  "signed up on, if the user was logged in and more."
821
  msgstr ""
822
 
823
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2425
824
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2483
825
  msgid "Already assigned to your form"
826
  msgstr ""
827
 
828
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2429
829
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2443
830
  msgid "required field"
831
  msgstr ""
832
 
833
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2453
834
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2498
835
  msgid "Add to Form Builder"
836
  msgstr ""
837
 
838
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2528
839
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2529
840
  msgid "Error creating a new form"
841
  msgstr ""
842
 
843
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2528
844
  msgid "Creating a new form"
845
  msgstr ""
846
 
847
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2528
848
  #: admin/partials/welcome-page/welcome-sections/getting-started-section.php:15
849
  msgid "Forms"
850
  msgstr ""
851
 
852
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2743
853
  msgid "Greetings,"
854
  msgstr ""
855
 
856
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2746
857
  msgid ""
858
  "A request has been made to update your MailChimp account profile information."
859
  msgstr ""
860
 
861
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2747
862
  msgid " To do so please use the following link: "
863
  msgstr ""
864
 
865
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2749
866
  msgid "Update MailChimp Profile Info"
867
  msgstr ""
868
 
869
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2753
870
  msgid "If you did not request this update, please disregard this email."
871
  msgstr ""
872
 
873
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2756
874
  #, php-format
875
  msgid "This email was sent from: %s"
876
  msgstr ""
877
 
878
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2780
879
  msgid "Unsubscribe User"
880
  msgstr ""
881
 
882
+ #: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2781
883
  msgid "Manage List Page"
884
  msgstr ""
885
 
913
  msgstr ""
914
 
915
  #: admin/partials/ajax/add_interest_group_to_form.php:30
916
+ #: admin/partials/ajax/class.ajax.php:82 admin/partials/edit-form.php:106
917
  #: admin/partials/view-list.php:40
918
  msgid "Get Interest Groups"
919
  msgstr ""
926
  msgid " Please refresh and try again."
927
  msgstr ""
928
 
929
+ #: admin/partials/ajax/class.ajax.php:55
930
  #: admin/partials/dashboard-widgets/class.list-activity-widget.php:73
931
  #: admin/partials/edit-form.php:82 admin/partials/menu/manage-forms.php:15
932
  #: admin/partials/menu/manage-lists.php:9
936
  msgid "Get Account Lists"
937
  msgstr ""
938
 
939
+ #: admin/partials/ajax/class.ajax.php:56
940
  msgid "MailChimp Widget"
941
  msgstr ""
942
 
943
+ #: admin/partials/ajax/class.ajax.php:134
944
+ msgid "Could not update the field label: missing required field."
945
+ msgstr ""
946
+
947
+ #: admin/partials/ajax/class.ajax.php:145
948
+ msgid "API request failed. Unknown error."
949
+ msgstr ""
950
+
951
+ #: admin/partials/ajax/class.ajax.php:147
952
+ msgid "Updating merge field"
953
+ msgstr ""
954
+
955
+ #: admin/partials/ajax/class.ajax.php:149
956
+ msgid "Could not update the field label: API request failed."
957
+ msgstr ""
958
+
959
  #: admin/partials/dashboard-widgets/class.list-activity-widget.php:31
960
  msgid "Preloader"
961
  msgstr ""
3329
  msgstr ""
3330
 
3331
  #: public/partials/shortcodes/process_form_shortcode.php:350
3332
+ #: public/partials/shortcodes/process_form_shortcode.php:1077
3333
  msgid "This field is required."
3334
  msgstr ""
3335
 
3336
+ #: public/partials/shortcodes/process_form_shortcode.php:569
3337
  msgid "Please enter a valid URL to the website."
3338
  msgstr ""
3339
 
3340
+ #: public/partials/shortcodes/process_form_shortcode.php:569
3341
  msgid "Please enter a valid URL to the image."
3342
  msgstr ""
3343
 
3344
+ #: public/partials/shortcodes/process_form_shortcode.php:609
3345
  msgid "International Phone Number"
3346
  msgstr ""
3347
 
3348
+ #: public/partials/shortcodes/process_form_shortcode.php:609
3349
  msgid "US Phone Number (###) ### - ####"
3350
  msgstr ""
3351
 
3352
+ #: public/partials/shortcodes/process_form_shortcode.php:637
3353
  #: public/partials/shortcodes/process_form_shortcode.php:751
3354
  msgid "5 digit zip code, numbers only"
3355
  msgstr ""
public/partials/shortcodes/process_form_shortcode.php CHANGED
@@ -370,7 +370,7 @@ function process_mailchimp_shortcode( $atts ) {
370
 
371
  // render the form!
372
  ?>
373
- <form id="<?php echo sanitize_title( $form_data['form_name'] ); ?>-<?php echo $form_id; ?>" class="yikes-easy-mc-form yikes-easy-mc-form-<?php echo $form_id . ' '; if ( $form_inline ) { echo 'yikes-mailchimp-form-inline '; } echo ' ' . apply_filters( 'yikes-mailchimp-form-class', $form_classes, $form_id ); if( !empty( $_POST ) && $form_submitted == 1 && $form_data['submission_settings']['hide_form_post_signup'] == 1 ) { echo ' yikes-easy-mc-display-none'; } ?>" action="" method="POST" data-attr-form-id="<?php echo $form_id; ?>">
374
 
375
  <?php
376
  // Set a default constant for hidden fields
@@ -492,9 +492,11 @@ function process_mailchimp_shortcode( $atts ) {
492
  }
493
  }
494
 
 
 
495
  $label_array['classes'] = 'class="' . implode( ' ', $label_class_array ) . '"';
496
 
497
- // filter the field array data
498
  $field_array = apply_filters( 'yikes-mailchimp-field-data', $field_array, $field, $form_id );
499
 
500
  /* Loop Over Standard Fields (aka merge variables) */
@@ -511,8 +513,9 @@ function process_mailchimp_shortcode( $atts ) {
511
  // pass our default value through our filter to parse dynamic data by tag (used solely for 'text' type)
512
  $default_value = ( isset( $field['default'] ) ? esc_attr( $field['default'] ) : '' );
513
  $default_value = apply_filters( 'yikes-mailchimp-process-default-tag', $default_value );
 
514
  ?>
515
- <label for="<?php echo $field['merge']; ?>" <?php echo implode( ' ' , $label_array ); ?>>
516
 
517
  <!-- dictate label visibility -->
518
  <?php if( !isset( $field['hide-label'] ) ) { ?>
@@ -521,7 +524,7 @@ function process_mailchimp_shortcode( $atts ) {
521
  </span>
522
  <?php } ?>
523
 
524
- <input <?php echo implode( ' ' , $field_array ); if( $field['type'] != 'email' && $field['type'] != 'number' ) { ?> type="text" <?php } else if( $field['type'] == 'email' ) { ?> type="email" <?php } else { ?> type="number" <?php } ?> value="<?php if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) { echo $_POST[$field['merge']]; } else { echo esc_attr( $default_value ); } ?>">
525
 
526
  <!-- description -->
527
  <?php if( isset( $field['description'] ) && trim( $field['description'] ) != '' ) { ?>
@@ -554,16 +557,16 @@ function process_mailchimp_shortcode( $atts ) {
554
  }
555
  </script>
556
 
557
- <label for="<?php echo $field['merge']; ?>" <?php echo implode( ' ' , $label_array ); ?>>
558
 
559
  <!-- dictate label visibility -->
560
  <?php if( !isset( $field['hide-label'] ) ) { ?>
561
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
562
- <?php echo apply_filters( 'yikes-mailchimp-'.$field['merge'].'-label' , esc_attr( stripslashes( $field['label'] ) ) ); ?>
563
  </span>
564
  <?php } ?>
565
 
566
- <input <?php echo implode( ' ' , $field_array ); ?> type="url" <?php if( $field['type'] == 'url' ) { ?> title="<?php _e( 'Please enter a valid URL to the website.' , 'yikes-inc-easy-mailchimp-extender' ); ?>" <?php } else { ?> title="<?php _e( 'Please enter a valid URL to the image.' , 'yikes-inc-easy-mailchimp-extender' ); ?>" <?php } ?> value="<?php if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) { echo $_POST[$field['merge']]; } else { echo esc_attr( $default_value ); } ?>" onblur="properlyFormatURLField(this);return false;">
567
 
568
  <!-- description -->
569
  <?php if( isset( $field['description'] ) && trim( $field['description'] ) != '' ) { ?>
@@ -594,16 +597,16 @@ function process_mailchimp_shortcode( $atts ) {
594
  }
595
  </script>
596
 
597
- <label for="<?php echo $field['merge']; ?>" <?php echo implode( ' ' , $label_array ); ?>>
598
 
599
  <!-- dictate label visibility -->
600
  <?php if( !isset( $field['hide-label'] ) ) { ?>
601
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
602
- <?php echo apply_filters( 'yikes-mailchimp-'.$field['merge'].'-label' , esc_attr( stripslashes( $field['label'] ) ) ); ?>
603
  </span>
604
  <?php } ?>
605
 
606
- <input <?php echo implode( ' ' , $field_array ); ?> type="text" <?php if( $phone_format != 'US' ) { ?> title="<?php _e( 'International Phone Number' , 'yikes-inc-easy-mailchimp-extender' ); ?>" pattern="<?php echo apply_filters( 'yikes-mailchimp-international-phone-pattern' , '[0-9,-,+]{1,}' ); ?>" <?php } else { ?> title="<?php _e( 'US Phone Number (###) ### - ####' , 'yikes-inc-easy-mailchimp-extender' ); ?>" pattern="<?php echo apply_filters( 'yikes-mailchimp-us-phone-pattern' , '^(\([0-9]{3}\)|[0-9]{3}-)[0-9]{3}-[0-9]{4}$' ); ?>" onblur="formatUSPhoneNumber(this);"<?php } ?> value="<?php if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) { echo $_POST[$field['merge']]; } else { echo esc_attr( $default_value ); } ?>">
607
 
608
  <!-- description -->
609
  <?php if( isset( $field['description'] ) && trim( $field['description'] ) != '' ) { ?>
@@ -622,16 +625,16 @@ function process_mailchimp_shortcode( $atts ) {
622
  $default_value = ( isset( $field['default'] ) ? esc_attr( $field['default'] ) : '' );
623
 
624
  ?>
625
- <label for="<?php echo $field['merge']; ?>" <?php echo implode( ' ' , $label_array ); ?>>
626
 
627
  <!-- dictate label visibility -->
628
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
629
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
630
- <?php echo apply_filters( 'yikes-mailchimp-'.$field['merge'].'-label' , esc_attr( stripslashes( $field['label'] ) ) ); ?>
631
  </span>
632
  <?php } ?>
633
 
634
- <input <?php echo implode( ' ' , $field_array ); ?> type="text" pattern="\d{5,5}(-\d{4,4})?" title="<?php _e( '5 digit zip code, numbers only' , 'yikes-inc-easy-mailchimp-extender' ); ?>" value="<?php if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) { echo $_POST[$field['merge']]; } else { echo esc_attr( $default_value ); } ?>">
635
 
636
  <!-- description -->
637
  <?php if( isset( $field['description'] ) ) { ?>
@@ -658,8 +661,8 @@ function process_mailchimp_shortcode( $atts ) {
658
  $x = 1;
659
  foreach( $required_fields as $type => $label ) {
660
 
661
- // set the field names for the addrress fields
662
- $field_array['name'] = 'name="'.$field[$tag].'['.$type.']'.'"';
663
 
664
  // reset the label classes for left-half/right-half for addresses
665
  if( isset( $label_array['class'] ) ) {
@@ -683,18 +686,17 @@ function process_mailchimp_shortcode( $atts ) {
683
  case 'addr2':
684
  case 'city':
685
 
686
-
687
  ?>
688
- <label for="<?php echo $field['merge']; ?>" data-attr-name="<?php echo esc_attr( $type ); ?>-field" <?php echo implode( ' ' , $label_array ); ?>>
689
 
690
  <!-- dictate label visibility -->
691
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
692
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
693
- <?php echo ucwords( apply_filters( 'yikes-mailchimp-address-'.$type.'-label' , esc_attr( $label ) ) ); ?>
694
  </span>
695
  <?php } ?>
696
 
697
- <input <?php if ( $type === 'addr2' ) { echo implode( ' ' , $addr2_field_array ); } else { echo implode( ' ' , $field_array ); } ?> type="text" value="<?php if( isset( $_POST[$field['merge']][$type] ) && $form_submitted != 1 ) { echo $_POST[$field['merge']][$type]; } ?>">
698
 
699
  </label>
700
  <?php
@@ -704,12 +706,12 @@ function process_mailchimp_shortcode( $atts ) {
704
  case 'state':
705
 
706
  ?>
707
- <label for="<?php echo $field['merge']; ?>" <?php echo implode( ' ' , $label_array ); ?> data-attr-name="state-dropdown"<?php if( ! in_array( $default_country, array( 'US' ) ) ) { ?> style="display: none;"<?php } ?>>
708
 
709
  <!-- dictate label visibility -->
710
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
711
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
712
- <?php echo ucwords( apply_filters( 'yikes-mailchimp-address-'.$type.'-label' , esc_attr( $label ) ) ); ?>
713
  </span>
714
  <?php } ?>
715
 
@@ -717,7 +719,6 @@ function process_mailchimp_shortcode( $atts ) {
717
  <?php include( YIKES_MC_PATH . 'public/partials/shortcodes/templates/state-dropdown.php' ); ?>
718
  </select>
719
 
720
-
721
  </label>
722
  <?php
723
 
@@ -726,17 +727,16 @@ function process_mailchimp_shortcode( $atts ) {
726
  case 'zip':
727
 
728
  ?>
729
- <label for="<?php echo $field['merge']; ?>" <?php echo implode( ' ' , $label_array ); ?> data-attr-name="zip-input"<?php if( ! in_array( $default_country, array( 'US', 'GB' ) ) ) { ?> style="display: none;"<?php } ?>>
730
 
731
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
732
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
733
- <?php echo ucwords( apply_filters( 'yikes-mailchimp-address-'.$type.'-label' , esc_attr( $label ) ) ); ?>
734
  </span>
735
  <?php } ?>
736
 
737
  <?php
738
  // If zip lookup plugin is installed, the ZIP field comes back as an array and we need to handle it differently...
739
- $zip_value_to_echo = '';
740
  if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) {
741
  if ( is_array( $_POST[$field['merge']] ) && isset( $_POST[$field['merge']]['zip'] ) ) {
742
  $zip_value_to_echo = $_POST[$field['merge']]['zip'];
@@ -744,11 +744,11 @@ function process_mailchimp_shortcode( $atts ) {
744
  $zip_value_to_echo = $_POST[$field['merge']];
745
  }
746
  } else {
747
- $zip_value_to_echo = esc_attr( $default_value );
748
  }
749
  ?>
750
 
751
- <input <?php echo implode( ' ' , $field_array ); ?> type="text" pattern="<?php echo apply_filters( 'yikes-mailchimp-zip-pattern', '\d{5,5}(-\d{4,4})?' ); ?>" title="<?php _e( '5 digit zip code, numbers only' , 'yikes-inc-easy-mailchimp-extender' ); ?>" value="<?php echo $zip_value_to_echo ?>">
752
 
753
  </label>
754
  <?php
@@ -786,7 +786,7 @@ function process_mailchimp_shortcode( $atts ) {
786
  $default_country = apply_filters( 'yikes-mailchimp-default-country-value', 'US' );
787
  ?>
788
 
789
- <label for="<?php echo $field['merge']; ?>" data-attr-name="<?php echo esc_attr( $type ); ?>-field" <?php echo implode( ' ' , $label_array ); ?>>
790
 
791
  <!-- dictate label visibility -->
792
  <?php if( !isset( $field['hide-label'] ) ) { ?>
@@ -902,11 +902,11 @@ function process_mailchimp_shortcode( $atts ) {
902
  <!-- dictate label visibility -->
903
  <?php if( !isset( $field['hide-label'] ) ) { ?>
904
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
905
- <?php echo apply_filters( 'yikes-mailchimp-'.$field['merge'].'-label' , esc_attr( stripslashes( $field['label'] ) ) ); ?>
906
  </span>
907
  <?php } ?>
908
 
909
- <input <?php echo implode( ' ' , $field_array ); ?> type="text" <?php if( $field['type'] == 'date' ) { ?> data-attr-type="date" <?php } else { ?> data-attr-type="birthday" <?php } ?> value="<?php if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) { echo $_POST[$field['merge']]; } else { echo esc_attr( $default_value ); } ?>">
910
 
911
  <!-- description -->
912
  <?php if( isset( $field['description'] ) && trim( $field['description'] ) != '' ) { ?>
@@ -933,24 +933,25 @@ function process_mailchimp_shortcode( $atts ) {
933
  <!-- dictate label visibility -->
934
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
935
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
936
- <?php echo apply_filters( 'yikes-mailchimp-'.$field['merge'].'-label' , esc_attr( stripslashes( $field['label'] ) ) ); ?>
937
  </span>
938
- <?php } ?>
939
 
940
- <select <?php echo implode( ' ' , $field_array ); ?>>
941
- <?php
942
- // decode for looping
943
- $choices = json_decode( $field['choices'], true );
944
 
945
- // If the form was submitted, but failed, let's default to the chosen option
946
- if( isset( $_POST[ $field['merge'] ] ) && $form_submitted === 0 ) {
947
- $default_choice = is_array( $_POST[ $field['merge'] ] ) ? $_POST[ $field['merge'] ] : array( $_POST[ $field['merge'] ] );
948
- }
949
 
 
 
 
950
  foreach( $choices as $choice ) { ?>
951
  <option
952
- value="<?php echo $choice; ?>"
953
- <?php if ( in_array( $x, $default_choice ) || in_array( $choice, $default_choice ) ) { echo 'selected="selected"'; } ?>>
954
  <?php echo esc_attr( stripslashes( $choice ) ); ?>
955
  </option><?php
956
  $x++;
@@ -992,48 +993,45 @@ function process_mailchimp_shortcode( $atts ) {
992
  $i = 1;
993
  $x = 0;
994
 
995
- // hidden labels
996
-
997
- ?>
998
- <label for="<?php echo esc_attr( $field['merge'] ); ?>" <?php echo implode( ' ' , $label_array ); ?>>
999
-
1000
- <!-- dictate label visibility -->
1001
- <?php if( ! isset( $field['hide-label'] ) ) { ?>
1002
- <span class="<?php echo esc_attr( $field['merge'] ). '-label'; ?> checkbox-parent-label">
1003
- <?php echo apply_filters( 'yikes-mailchimp-'.$field['merge'].'-label' , esc_attr( stripslashes( $field['label'] ) ) ); ?>
1004
- </span>
1005
- <?php }
1006
 
1007
- foreach( $choices as $choice ) {
1008
- ?>
1009
- <label for="<?php echo esc_attr( $field['merge'] ) . '-' . $i; ?>" class="yikes-easy-mc-checkbox-label <?php echo implode( ' ' , $custom_classes ); if( $i === $count ) { ?> last-selection<?php } ?>" <?php if( $i == 1 ) { echo $field_array['required']; } ?>>
1010
- <input
1011
- type="<?php echo esc_attr( $field['type'] ); ?>"
1012
- name="<?php echo $field['merge']; ?>"
1013
- id="<?php echo $field['merge'] . '-' . $i; ?>"
1014
- <?php if ( in_array( $x, $default_choice ) || in_array( $choice, $default_choice ) ) { echo 'checked="checked"'; } ?>
1015
- value="<?php echo esc_attr( $choice ); ?>">
1016
- <span class="<?php echo esc_attr( $field['merge'] ). '-label'; ?>"><?php echo stripslashes( $choice ); ?></span>
1017
- </label>
1018
- <?php
1019
- $i++;
1020
- $x++;
1021
- }
1022
 
1023
- // description
1024
- if( isset( $field['description'] ) && trim( $field['description'] ) != '' ) { ?>
1025
- <p class="form-field-description">
1026
- <small>
1027
- <?php echo apply_filters( 'yikes-mailchimp-' . $field['merge'] . '-description', esc_attr( trim( stripslashes( $field['description'] ) ) ), $form_id ); ?>
1028
- </small>
1029
- </p>
1030
- <?php } ?>
 
 
 
 
 
 
 
1031
 
1032
- </label>
1033
- <?php
 
 
 
 
 
 
1034
 
1035
- break;
 
1036
 
 
1037
  }
1038
 
1039
  } else { // Loop over interest groups
@@ -1047,9 +1045,9 @@ function process_mailchimp_shortcode( $atts ) {
1047
 
1048
  $count = count( $groups );
1049
 
1050
- if( $field['type'] == 'checkboxes' ) {
1051
  $type = 'checkbox';
1052
- } else if( $field['type'] == 'radio' ) {
1053
  $type = 'radio';
1054
  }
1055
 
@@ -1066,7 +1064,7 @@ function process_mailchimp_shortcode( $atts ) {
1066
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
1067
  <!-- dictate label visibility -->
1068
  <span class="<?php echo esc_attr( $field['group_id'] ) . '-label'; ?> checkbox-parent-label">
1069
- <?php echo apply_filters( 'yikes-mailchimp-'.$field['group_id'].'-label' , esc_attr( $field['label'] ) ); ?>
1070
  </span>
1071
  <?php
1072
  }
@@ -1092,16 +1090,16 @@ function process_mailchimp_shortcode( $atts ) {
1092
  }
1093
 
1094
  ?>
1095
- <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 } ?>">
1096
  <input
1097
  <?php if( isset( $field['require'] ) && $field['require'] == 1 ) { if ( $field['type'] !== 'checkboxes' ) { ?> required="required" <?php } ?>
1098
  class="yikes-interest-group-required" <?php } ?>
1099
- type="<?php echo $type; ?>"
1100
- name="group-<?php echo $field['group_id']; ?>[]"
1101
- id="<?php echo $field['group_id'] . '-' . $i; ?>"
1102
  <?php if ( in_array( $group_id, $default_choice ) ) { echo 'checked="checked"'; } ?>
1103
- value="<?php echo $group_id; ?>">
1104
- <?php echo $name; ?>
1105
  </label>
1106
  <?php
1107
  $i++;
@@ -1130,7 +1128,7 @@ function process_mailchimp_shortcode( $atts ) {
1130
  <!-- dictate label visibility -->
1131
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
1132
  <span class="<?php echo esc_attr( $field['group_id'] ) . '-label'; ?>">
1133
- <?php echo apply_filters( 'yikes-mailchimp-'.$field['group_id'].'-label' , esc_attr( $field['label'] ) ); ?>
1134
  </span>
1135
  <?php } ?>
1136
 
@@ -1148,7 +1146,7 @@ function process_mailchimp_shortcode( $atts ) {
1148
  ?>
1149
  <option
1150
  <?php if ( in_array( $group_id, $default_choice ) ) { echo 'selected="selected"'; } ?>
1151
- value="<?php echo $group_id; ?>">
1152
  <?php echo esc_attr( $name ); ?>
1153
  </option>
1154
  <?php
@@ -1191,12 +1189,12 @@ function process_mailchimp_shortcode( $atts ) {
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 ) ) ); ?>
@@ -1241,10 +1239,10 @@ function process_mailchimp_shortcode( $atts ) {
1241
  <input type="hidden" name="yikes-mailchimp-honeypot" id="yikes-mailchimp-honeypot" value="">
1242
 
1243
  <!-- List ID -->
1244
- <input type="hidden" name="yikes-mailchimp-associated-list-id" id="yikes-mailchimp-associated-list-id" value="<?php echo $form_data['list_id']; ?>">
1245
 
1246
  <!-- The form that is being submitted! Used to display error/success messages above the correct form -->
1247
- <input type="hidden" name="yikes-mailchimp-submitted-form" id="yikes-mailchimp-submitted-form" value="<?php echo $form_id; ?>">
1248
 
1249
  <!-- Submit Button -->
1250
  <?php
370
 
371
  // render the form!
372
  ?>
373
+ <form id="<?php echo sanitize_title( $form_data['form_name'] ); ?>-<?php echo $form_id; ?>" class="yikes-easy-mc-form yikes-easy-mc-form-<?php echo $form_id . ' '; if ( $form_inline ) { echo 'yikes-mailchimp-form-inline '; } echo ' ' . apply_filters( 'yikes-mailchimp-form-class', $form_classes, $form_id ); if( !empty( $_POST ) && $form_submitted == 1 && $form_data['submission_settings']['hide_form_post_signup'] == 1 ) { echo ' yikes-easy-mc-display-none'; } ?>" action="" method="POST" data-attr-form-id="<?php echo esc_attr( $form_id ); ?>">
374
 
375
  <?php
376
  // Set a default constant for hidden fields
492
  }
493
  }
494
 
495
+ // Sanitize the classes
496
+ $label_class_array = array_map( 'sanitize_html_class', $label_class_array );
497
  $label_array['classes'] = 'class="' . implode( ' ', $label_class_array ) . '"';
498
 
499
+ // Filter the field array data
500
  $field_array = apply_filters( 'yikes-mailchimp-field-data', $field_array, $field, $form_id );
501
 
502
  /* Loop Over Standard Fields (aka merge variables) */
513
  // pass our default value through our filter to parse dynamic data by tag (used solely for 'text' type)
514
  $default_value = ( isset( $field['default'] ) ? esc_attr( $field['default'] ) : '' );
515
  $default_value = apply_filters( 'yikes-mailchimp-process-default-tag', $default_value );
516
+
517
  ?>
518
+ <label for="<?php echo esc_attr( $field['merge'] ); ?>" <?php echo implode( ' ' , $label_array ); ?>>
519
 
520
  <!-- dictate label visibility -->
521
  <?php if( !isset( $field['hide-label'] ) ) { ?>
524
  </span>
525
  <?php } ?>
526
 
527
+ <input <?php echo implode( ' ' , $field_array ); if( $field['type'] != 'email' && $field['type'] != 'number' ) { ?> type="text" <?php } else if( $field['type'] == 'email' ) { ?> type="email" <?php } else { ?> type="number" <?php } ?> value="<?php if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) { echo esc_attr( $_POST[$field['merge']] ); } else { echo esc_attr( $default_value ); } ?>">
528
 
529
  <!-- description -->
530
  <?php if( isset( $field['description'] ) && trim( $field['description'] ) != '' ) { ?>
557
  }
558
  </script>
559
 
560
+ <label for="<?php echo esc_attr( $field['merge'] ); ?>" <?php echo implode( ' ' , $label_array ); ?>>
561
 
562
  <!-- dictate label visibility -->
563
  <?php if( !isset( $field['hide-label'] ) ) { ?>
564
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
565
+ <?php echo apply_filters( 'yikes-mailchimp-' . $field['merge'] . '-label' , esc_attr( stripslashes( $field['label'] ) ) ); ?>
566
  </span>
567
  <?php } ?>
568
 
569
+ <input <?php echo implode( ' ' , $field_array ); ?> type="url" <?php if( $field['type'] == 'url' ) { ?> title="<?php _e( 'Please enter a valid URL to the website.' , 'yikes-inc-easy-mailchimp-extender' ); ?>" <?php } else { ?> title="<?php _e( 'Please enter a valid URL to the image.' , 'yikes-inc-easy-mailchimp-extender' ); ?>" <?php } ?> value="<?php if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) { echo esc_attr( $_POST[$field['merge']] ); } else { echo esc_attr( $default_value ); } ?>" onblur="properlyFormatURLField(this);return false;">
570
 
571
  <!-- description -->
572
  <?php if( isset( $field['description'] ) && trim( $field['description'] ) != '' ) { ?>
597
  }
598
  </script>
599
 
600
+ <label for="<?php echo esc_attr( $field['merge'] ) ?>" <?php echo implode( ' ' , $label_array ); ?>>
601
 
602
  <!-- dictate label visibility -->
603
  <?php if( !isset( $field['hide-label'] ) ) { ?>
604
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
605
+ <?php echo apply_filters( 'yikes-mailchimp-' . $field['merge'] . '-label' , esc_attr( stripslashes( $field['label'] ) ) ); ?>
606
  </span>
607
  <?php } ?>
608
 
609
+ <input <?php echo implode( ' ' , $field_array ); ?> type="text" <?php if( $phone_format != 'US' ) { ?> title="<?php _e( 'International Phone Number' , 'yikes-inc-easy-mailchimp-extender' ); ?>" pattern="<?php echo apply_filters( 'yikes-mailchimp-international-phone-pattern' , '[0-9,-,+]{1,}' ); ?>" <?php } else { ?> title="<?php _e( 'US Phone Number (###) ### - ####' , 'yikes-inc-easy-mailchimp-extender' ); ?>" pattern="<?php echo apply_filters( 'yikes-mailchimp-us-phone-pattern' , '^(\([0-9]{3}\)|[0-9]{3}-)[0-9]{3}-[0-9]{4}$' ); ?>" onblur="formatUSPhoneNumber(this);"<?php } ?> value="<?php if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) { echo esc_attr( $_POST[$field['merge']] ); } else { echo esc_attr( $default_value ); } ?>">
610
 
611
  <!-- description -->
612
  <?php if( isset( $field['description'] ) && trim( $field['description'] ) != '' ) { ?>
625
  $default_value = ( isset( $field['default'] ) ? esc_attr( $field['default'] ) : '' );
626
 
627
  ?>
628
+ <label for="<?php echo esc_attr( $field['merge'] ); ?>" <?php echo implode( ' ' , $label_array ); ?>>
629
 
630
  <!-- dictate label visibility -->
631
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
632
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
633
+ <?php echo apply_filters( 'yikes-mailchimp-' . $field['merge'] . '-label' , esc_attr( stripslashes( $field['label'] ) ) ); ?>
634
  </span>
635
  <?php } ?>
636
 
637
+ <input <?php echo implode( ' ' , $field_array ); ?> type="text" pattern="\d{5,5}(-\d{4,4})?" title="<?php _e( '5 digit zip code, numbers only' , 'yikes-inc-easy-mailchimp-extender' ); ?>" value="<?php if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) { echo esc_attr( $_POST[$field['merge']] ); } else { echo esc_attr( $default_value ); } ?>">
638
 
639
  <!-- description -->
640
  <?php if( isset( $field['description'] ) ) { ?>
661
  $x = 1;
662
  foreach( $required_fields as $type => $label ) {
663
 
664
+ // set the field names for the address fields
665
+ $field_array['name'] = 'name="' . $field[$tag] . '[' . $type . ']' . '"';
666
 
667
  // reset the label classes for left-half/right-half for addresses
668
  if( isset( $label_array['class'] ) ) {
686
  case 'addr2':
687
  case 'city':
688
 
 
689
  ?>
690
+ <label for="<?php echo esc_attr( $field['merge'] ); ?>" data-attr-name="<?php echo esc_attr( $type ); ?>-field" <?php echo implode( ' ' , $label_array ); ?>>
691
 
692
  <!-- dictate label visibility -->
693
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
694
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
695
+ <?php echo ucwords( apply_filters( 'yikes-mailchimp-address-' . $type . '-label' , esc_attr( $label ) ) ); ?>
696
  </span>
697
  <?php } ?>
698
 
699
+ <input <?php if ( $type === 'addr2' ) { echo implode( ' ' , $addr2_field_array ); } else { echo implode( ' ' , $field_array ); } ?> type="text" value="<?php if( isset( $_POST[$field['merge']][$type] ) && $form_submitted != 1 ) { echo esc_attr( $_POST[$field['merge']][$type] ); } ?>">
700
 
701
  </label>
702
  <?php
706
  case 'state':
707
 
708
  ?>
709
+ <label for="<?php echo esc_attr( $field['merge'] ); ?>" <?php echo implode( ' ' , $label_array ); ?> data-attr-name="state-dropdown"<?php if( ! in_array( $default_country, array( 'US' ) ) ) { ?> style="display: none;"<?php } ?>>
710
 
711
  <!-- dictate label visibility -->
712
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
713
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
714
+ <?php echo ucwords( apply_filters( 'yikes-mailchimp-address-' . $type . '-label' , esc_attr( $label ) ) ); ?>
715
  </span>
716
  <?php } ?>
717
 
719
  <?php include( YIKES_MC_PATH . 'public/partials/shortcodes/templates/state-dropdown.php' ); ?>
720
  </select>
721
 
 
722
  </label>
723
  <?php
724
 
727
  case 'zip':
728
 
729
  ?>
730
+ <label for="<?php echo esc_attr( $field['merge'] ); ?>" <?php echo implode( ' ' , $label_array ); ?> data-attr-name="zip-input"<?php if( ! in_array( $default_country, array( 'US', 'GB' ) ) ) { ?> style="display: none;"<?php } ?>>
731
 
732
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
733
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
734
+ <?php echo ucwords( apply_filters( 'yikes-mailchimp-address-' . $type . '-label' , esc_attr( $label ) ) ); ?>
735
  </span>
736
  <?php } ?>
737
 
738
  <?php
739
  // If zip lookup plugin is installed, the ZIP field comes back as an array and we need to handle it differently...
 
740
  if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) {
741
  if ( is_array( $_POST[$field['merge']] ) && isset( $_POST[$field['merge']]['zip'] ) ) {
742
  $zip_value_to_echo = $_POST[$field['merge']]['zip'];
744
  $zip_value_to_echo = $_POST[$field['merge']];
745
  }
746
  } else {
747
+ $zip_value_to_echo = $default_value;
748
  }
749
  ?>
750
 
751
+ <input <?php echo implode( ' ' , $field_array ); ?> type="text" pattern="<?php echo apply_filters( 'yikes-mailchimp-zip-pattern', '\d{5,5}(-\d{4,4})?' ); ?>" title="<?php _e( '5 digit zip code, numbers only' , 'yikes-inc-easy-mailchimp-extender' ); ?>" value="<?php echo esc_attr( $zip_value_to_echo ); ?>">
752
 
753
  </label>
754
  <?php
786
  $default_country = apply_filters( 'yikes-mailchimp-default-country-value', 'US' );
787
  ?>
788
 
789
+ <label for="<?php echo esc_attr( $field['merge'] ); ?>" data-attr-name="<?php echo esc_attr( $type ); ?>-field" <?php echo implode( ' ' , $label_array ); ?>>
790
 
791
  <!-- dictate label visibility -->
792
  <?php if( !isset( $field['hide-label'] ) ) { ?>
902
  <!-- dictate label visibility -->
903
  <?php if( !isset( $field['hide-label'] ) ) { ?>
904
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
905
+ <?php echo apply_filters( 'yikes-mailchimp-' . $field['merge'] . '-label' , esc_attr( stripslashes( $field['label'] ) ) ); ?>
906
  </span>
907
  <?php } ?>
908
 
909
+ <input <?php echo implode( ' ' , $field_array ); ?> type="text" <?php if( $field['type'] == 'date' ) { ?> data-attr-type="date" <?php } else { ?> data-attr-type="birthday" <?php } ?> value="<?php if( isset( $_POST[$field['merge']] ) && $form_submitted != 1 ) { echo esc_attr( $_POST[$field['merge']] ); } else { echo esc_attr( $default_value ); } ?>">
910
 
911
  <!-- description -->
912
  <?php if( isset( $field['description'] ) && trim( $field['description'] ) != '' ) { ?>
933
  <!-- dictate label visibility -->
934
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
935
  <span class="<?php echo esc_attr( $field['merge'] ) . '-label'; ?>">
936
+ <?php echo apply_filters( 'yikes-mailchimp-' . $field['merge'] . '-label' , esc_attr( stripslashes( $field['label'] ) ) ); ?>
937
  </span>
938
+ <?php }
939
 
940
+ // decode for looping
941
+ $choices = json_decode( $field['choices'], true );
 
 
942
 
943
+ // If the form was submitted, but failed, let's default to the chosen option
944
+ if( isset( $_POST[ $field['merge'] ] ) && $form_submitted === 0 ) {
945
+ $default_choice = is_array( $_POST[ $field['merge'] ] ) ? $_POST[ $field['merge'] ] : array( $_POST[ $field['merge'] ] );
946
+ }
947
 
948
+ ?>
949
+ <select <?php echo implode( ' ' , $field_array ); ?>>
950
+ <?php
951
  foreach( $choices as $choice ) { ?>
952
  <option
953
+ value="<?php echo esc_attr( $choice ); ?>"
954
+ <?php if ( in_array( $x, $default_choice ) || in_array( $choice, $default_choice, true ) ) { echo 'selected="selected"'; } ?>>
955
  <?php echo esc_attr( stripslashes( $choice ) ); ?>
956
  </option><?php
957
  $x++;
993
  $i = 1;
994
  $x = 0;
995
 
996
+ ?>
997
+ <label for="<?php echo esc_attr( $field['merge'] ); ?>" <?php echo implode( ' ' , $label_array ); ?>>
 
 
 
 
 
 
 
 
 
998
 
999
+ <!-- dictate label visibility -->
1000
+ <?php if( ! isset( $field['hide-label'] ) ) { ?>
1001
+ <span class="<?php echo esc_attr( $field['merge'] ). '-label'; ?> checkbox-parent-label">
1002
+ <?php echo esc_attr( apply_filters( 'yikes-mailchimp-'.$field['merge'].'-label', stripslashes( $field['label'] ) ) ); ?>
1003
+ </span>
1004
+ <?php }
 
 
 
 
 
 
 
 
 
1005
 
1006
+ foreach( $choices as $choice ) {
1007
+ ?>
1008
+ <label for="<?php echo esc_attr( $field['merge'] ) . '-' . $i; ?>" class="yikes-easy-mc-checkbox-label <?php echo implode( ' ' , $custom_classes ); if( $i === $count ) { ?> last-selection<?php } ?>" <?php if( $i == 1 ) { echo $field_array['required']; } ?>>
1009
+ <input
1010
+ type="<?php echo esc_attr( $field['type'] ); ?>"
1011
+ name="<?php echo esc_attr( $field['merge'] ); ?>"
1012
+ id="<?php echo esc_attr( $field['merge'] . '-' . $i ); ?>"
1013
+ <?php if ( in_array( $x, $default_choice ) || in_array( $choice, $default_choice, true ) ) { echo 'checked="checked"'; } ?>
1014
+ value="<?php echo esc_attr( $choice ); ?>">
1015
+ <span class="<?php echo esc_attr( $field['merge'] ). '-label'; ?>"><?php echo stripslashes( $choice ); ?></span>
1016
+ </label>
1017
+ <?php
1018
+ $i++;
1019
+ $x++;
1020
+ }
1021
 
1022
+ // description
1023
+ if( isset( $field['description'] ) && trim( $field['description'] ) != '' ) { ?>
1024
+ <p class="form-field-description">
1025
+ <small>
1026
+ <?php echo apply_filters( 'yikes-mailchimp-' . $field['merge'] . '-description', esc_attr( trim( stripslashes( $field['description'] ) ) ), $form_id ); ?>
1027
+ </small>
1028
+ </p>
1029
+ <?php } ?>
1030
 
1031
+ </label>
1032
+ <?php
1033
 
1034
+ break;
1035
  }
1036
 
1037
  } else { // Loop over interest groups
1045
 
1046
  $count = count( $groups );
1047
 
1048
+ if( $field['type'] === 'checkboxes' ) {
1049
  $type = 'checkbox';
1050
+ } else if( $field['type'] === 'radio' ) {
1051
  $type = 'radio';
1052
  }
1053
 
1064
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
1065
  <!-- dictate label visibility -->
1066
  <span class="<?php echo esc_attr( $field['group_id'] ) . '-label'; ?> checkbox-parent-label">
1067
+ <?php echo apply_filters( 'yikes-mailchimp-' . $field['group_id'] . '-label' , esc_attr( $field['label'] ) ); ?>
1068
  </span>
1069
  <?php
1070
  }
1090
  }
1091
 
1092
  ?>
1093
+ <label for="<?php echo esc_attr( $field['group_id'] ) . '-' . $i; ?>" class="yikes-easy-mc-checkbox-label <?php echo implode( ' ' , $custom_classes ); if( $x === $count ) { ?> last-selection<?php } ?>">
1094
  <input
1095
  <?php if( isset( $field['require'] ) && $field['require'] == 1 ) { if ( $field['type'] !== 'checkboxes' ) { ?> required="required" <?php } ?>
1096
  class="yikes-interest-group-required" <?php } ?>
1097
+ type="<?php echo esc_attr( $type ); ?>"
1098
+ name="group-<?php echo esc_attr( $field['group_id'] ); ?>[]"
1099
+ id="<?php echo esc_attr( $field['group_id'] . '-' . $i ); ?>"
1100
  <?php if ( in_array( $group_id, $default_choice ) ) { echo 'checked="checked"'; } ?>
1101
+ value="<?php echo esc_attr( $group_id ); ?>">
1102
+ <?php echo esc_attr( $name ); ?>
1103
  </label>
1104
  <?php
1105
  $i++;
1128
  <!-- dictate label visibility -->
1129
  <?php if( ! isset( $field['hide-label'] ) ) { ?>
1130
  <span class="<?php echo esc_attr( $field['group_id'] ) . '-label'; ?>">
1131
+ <?php echo apply_filters( 'yikes-mailchimp-' . $field['group_id'] . '-label' , esc_attr( $field['label'] ) ); ?>
1132
  </span>
1133
  <?php } ?>
1134
 
1146
  ?>
1147
  <option
1148
  <?php if ( in_array( $group_id, $default_choice ) ) { echo 'selected="selected"'; } ?>
1149
+ value="<?php echo esc_attr( $group_id ); ?>">
1150
  <?php echo esc_attr( $name ); ?>
1151
  </option>
1152
  <?php
1189
 
1190
  foreach( $groups as $group_id => $name ) {
1191
  ?>
1192
+ <label for="<?php echo esc_attr( $field['group_id'] ) . '-' . $i; ?>" class="yikes-easy-mc-checkbox-label <?php echo implode( ' ' , $custom_classes ); if ( $x === $count ) { echo 'last-selection'; } ?>" style="display:none;">
1193
  <input
1194
  type="checkbox"
1195
+ name="group-<?php echo esc_attr( $field['group_id'] ); ?>[]"
1196
+ id="<?php echo esc_attr( $field['group_id'] ) . '-' . $i; ?>"
1197
+ value="<?php echo esc_attr( $group_id ) ?>"
1198
  <?php if ( in_array( $group_id, $default_choice ) ) { echo 'checked="checked"'; } ?>
1199
  >
1200
  <?php echo esc_attr( stripslashes( str_replace( '' , '\'', $name ) ) ); ?>
1239
  <input type="hidden" name="yikes-mailchimp-honeypot" id="yikes-mailchimp-honeypot" value="">
1240
 
1241
  <!-- List ID -->
1242
+ <input type="hidden" name="yikes-mailchimp-associated-list-id" id="yikes-mailchimp-associated-list-id" value="<?php echo esc_attr( $form_data['list_id'] ); ?>">
1243
 
1244
  <!-- The form that is being submitted! Used to display error/success messages above the correct form -->
1245
+ <input type="hidden" name="yikes-mailchimp-submitted-form" id="yikes-mailchimp-submitted-form" value="<?php echo esc_attr( $form_id ); ?>">
1246
 
1247
  <!-- Submit Button -->
1248
  <?php
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: yikesinc, eherman24, liljimmi, hiwhatsup, JPry
3
  Donate link: https://yikesplugins.com/?utm_source=wp_plugin_repo&utm_medium=donate_link&utm_campaign=easy_forms_for_mailchimp
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,16 +242,21 @@ 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.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
257
  * Converted all supported v2 endpoints to the corresponding v3 endpoint
3
  Donate link: https://yikesplugins.com/?utm_source=wp_plugin_repo&utm_medium=donate_link&utm_campaign=easy_forms_for_mailchimp
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.2
7
+ Stable tag: 6.3.3
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.3 - February 1st, 2017 =
246
+ * Security vulnerability patched - props to @nathan-hermit for bringing this to our attention
247
+ * New feature: the ability to edit field labels
248
+ * Generated new .pot file
249
+
250
+ = Easy Forms for MailChimp 6.3.2 - January 25th, 2017 =
251
  * Custom message visibility is now dictated by your opt-in settings
252
  * Fixed an issue with the PHP `array_keys` function that breaks PHP versions < 5.4
253
  * Hidden interest groups now work properly and are defined as checkboxes for consistency with MailChimp
254
  * Some minor copy changes and a new .pot file
255
 
256
+ = Easy Forms for MailChimp 6.3.1 - January 18th, 2017 =
257
  * Generated new .pot file for proper i18n/l10n
258
 
259
+ = Easy Forms for MailChimp 6.3.0 - January 17th, 2017 =
260
  * Version 6.3.0's biggest change is migrating the plugin to use MailChimp's v3 API.
261
  * Created API classes to interact with the MailChimp API
262
  * Converted all supported v2 endpoints to the corresponding v3 endpoint
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.2
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.2' );
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.3
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.3' );
46
  }
47
 
48
  /**