Version Description
- February 6th, 2019 =
- Added tags! You can now add tags to your Easy Form's Forms! Any tag attached to a form will be attached to subscribers of that form. When applying tags to new subscribers, they can be filtered with the following filters:
yikes_mailchimp_subscriber_tags
(filters the list of tabs being applied) andyikes_mailchimp_subscriber_tag_active
(decides whether a certain tag will be added). - Added
[fname]
and[lname]
as email replacement tags. - Cleaned up code.
- Fixed some PHP warnings/notices.
- Fixed some styling issues inside the form builder.
- Fixed & cleaned some things in the Easy Form's Gutenberg block.
Download this release
Release Info
Developer | yikesitskevin |
Plugin | Easy Forms for MailChimp |
Version | 6.5.0 |
Comparing to | |
See all releases |
Code changes from version 6.4.11 to 6.5.0
- admin/class-yikes-inc-easy-mailchimp-extender-admin.php +95 -81
- admin/css/yikes-inc-easy-mailchimp-extender-admin.css +78 -18
- admin/css/yikes-inc-easy-mailchimp-extender-admin.min.css +1 -1
- admin/css/yikes-inc-easy-mailchimp-migrate-option-styles.min.css +1 -2
- admin/js/min/yikes-inc-easy-mailchimp-dashboard-widget.min.js +1 -1
- admin/js/min/yikes-inc-easy-mailchimp-extender-admin.min.js +1 -1
- admin/js/min/yikes-inc-easy-mailchimp-extender-edit-form.min.js +1 -1
- admin/js/min/yikes-inc-easy-mailchimp-tinymce-button.min.js +1 -1
- admin/js/yikes-inc-easy-mailchimp-extender-edit-form.js +199 -92
- admin/partials/ajax/add_field_to_form.php +5 -5
- admin/partials/ajax/add_interest_group_to_form.php +6 -6
- admin/partials/ajax/class.ajax.php +80 -17
- admin/partials/edit-form.php +368 -289
- admin/partials/menu/options-sections/general-settings.php +2 -2
- admin/partials/menu/options.php +1 -2
- admin/partials/view-list.php +3 -3
- admin/partials/view-user.php +27 -45
- blocks/blocks.php +6 -30
- blocks/easy-forms-block/easy-forms-block.php +20 -3
- blocks/maybe-do-blocks.php +28 -0
- changelog.txt +9 -0
- includes/api/class-yikes-inc-easy-mailchimp-api-abstract-items.php +1 -0
- includes/api/class-yikes-inc-easy-mailchimp-api-lists.php +23 -4
- includes/class-yikes-inc-easy-mailchimp-extender.php +1 -1
- languages/yikes-inc-easy-mailchimp-extender.pot +447 -414
- public/classes/checkbox-integrations/class.woocommerce_checkout_form-checkbox.php +3 -3
- public/classes/process/class.process_form_submission_handler.php +28 -7
- public/css/jquery-ui.min.css +6 -6
- public/css/yikes-inc-easy-mailchimp-extender-public.min.css +1 -1
- public/js/form-submission-helpers.min.js +1 -1
- public/js/yikes-mc-ajax-forms.js +2 -0
- public/js/yikes-mc-ajax-forms.min.js +1 -1
- public/partials/ajax/class.public_ajax.php +10 -6
- public/partials/shortcodes/process/process_form_submission.php +4 -0
- public/partials/shortcodes/process/process_form_submission_ajax.php +4 -0
- readme.txt +9 -4
- yikes-inc-easy-mailchimp-extender.php +2 -2
admin/class-yikes-inc-easy-mailchimp-extender-admin.php
CHANGED
@@ -777,6 +777,8 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
777 |
wp_enqueue_script( 'edit-form-js', YIKES_MC_URL . 'admin/js/min/yikes-inc-easy-mailchimp-extender-edit-form.min.js', array( 'jquery.timepicker.js', 'jquery-ui-datepicker' ) , $this->version, false );
|
778 |
|
779 |
$localized_data = array(
|
|
|
|
|
780 |
'ajax_url' => esc_url_raw( admin_url( 'admin-ajax.php' ) ),
|
781 |
'no_fields_assigned' => __( 'No fields assigned to this form. Select some fields to add to this form from the right hand column.', 'yikes-inc-easy-mailchimp-extender' ),
|
782 |
'bulk_delete_alert' => __( 'Are you sure you want to delete all of the fields assigned to this form?', 'yikes-inc-easy-mailchimp-extender' ),
|
@@ -2000,7 +2002,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
2000 |
</td>
|
2001 |
</tr>
|
2002 |
<!-- Description Above Field -->
|
2003 |
-
<tr valign="top">
|
2004 |
<td scope="row">
|
2005 |
<label for="description_above_<?php echo esc_attr( $field['merge'] ); ?>">
|
2006 |
<?php _e( 'Description Above Field', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -2008,7 +2010,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
2008 |
</td>
|
2009 |
<td>
|
2010 |
<input type="checkbox" id="description_above_<?php echo esc_attr( $field['merge'] ); ?>" class="widefat field-description-input" name="field[<?php echo $field['merge']; ?>][description_above]" value="1" <?php echo isset( $field['description_above'] ) && $field['description_above'] === '1' ? 'checked="checked"' : ''; ?> />
|
2011 |
-
<
|
2012 |
</td>
|
2013 |
</tr>
|
2014 |
<!-- Additional Classes -->
|
@@ -2281,7 +2283,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
2281 |
</tr>
|
2282 |
|
2283 |
<!-- Description Above Field -->
|
2284 |
-
<tr valign="top">
|
2285 |
<td scope="row">
|
2286 |
<label for="description_above_<?php echo $field['group_id']; ?>">
|
2287 |
<?php _e( 'Description Above Field', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -2289,7 +2291,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
2289 |
</td>
|
2290 |
<td>
|
2291 |
<input type="checkbox" id="description_above_<?php echo $field['group_id']; ?>" class="widefat field-description-input" name="field[<?php echo $field['group_id']; ?>][description_above]" value="1" <?php echo isset( $field['description_above'] ) && $field['description_above'] === '1' ? 'checked="checked"' : ''; ?> />
|
2292 |
-
<
|
2293 |
</td>
|
2294 |
</tr>
|
2295 |
|
@@ -2306,7 +2308,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
2306 |
</td>
|
2307 |
</tr>
|
2308 |
<!-- Required Toggle -->
|
2309 |
-
<tr valign="top">
|
2310 |
<td scope="row">
|
2311 |
<label for="field-required-<?php echo esc_attr( $field['group_id'] ); ?>">
|
2312 |
<?php _e( 'Field Required?', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -2319,7 +2321,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
2319 |
</td>
|
2320 |
</tr>
|
2321 |
<!-- Visible Toggle -->
|
2322 |
-
<tr valign="top">
|
2323 |
<td scope="row">
|
2324 |
<label for="hide-field-<?php echo esc_attr( $field['group_id'] ); ?>">
|
2325 |
<?php _e( 'Hide Field', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -2332,7 +2334,7 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
2332 |
</td>
|
2333 |
</tr>
|
2334 |
<!-- Toggle Field Label Visibility -->
|
2335 |
-
<tr valign="top">
|
2336 |
<td scope="row">
|
2337 |
<label for="hide-label-<?php echo esc_attr( $field['group_id'] ); ?>">
|
2338 |
<?php _e( 'Hide Label', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -2444,14 +2446,14 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
2444 |
<?php
|
2445 |
}
|
2446 |
|
2447 |
-
|
2448 |
-
|
2449 |
-
|
2450 |
-
|
2451 |
-
|
2452 |
-
|
2453 |
-
|
2454 |
-
public function build_available_merge_vars( $form_fields
|
2455 |
$fields_assigned_to_form = array();
|
2456 |
foreach ( $form_fields as $field ) {
|
2457 |
if ( isset( $field['merge'] ) ) {
|
@@ -2463,40 +2465,28 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
2463 |
?>
|
2464 |
<ul id="available-fields"><?php
|
2465 |
foreach ( $available_merge_variables['merge_fields'] as $merge_var ) {
|
2466 |
-
|
2467 |
-
|
2468 |
-
|
2469 |
-
|
2470 |
-
|
2471 |
-
|
2472 |
-
|
2473 |
-
|
2474 |
-
|
2475 |
-
|
2476 |
-
if ( $merge_var['required'] ) {
|
2477 |
-
echo ' <span class="field-required" title="' . __( 'required field', 'yikes-inc-easy-mailchimp-extender' ) . '">*</span>';
|
2478 |
-
} ?>
|
2479 |
-
<small class="field-type-text"><?php echo $merge_var['type']; ?></small>
|
2480 |
-
</li>
|
2481 |
<?php
|
2482 |
-
|
2483 |
-
?>
|
2484 |
-
<li class="available-form-field"
|
2485 |
-
alt="<?php echo $merge_var['tag']; ?>"
|
2486 |
-
data-attr-field-type="<?php echo esc_attr( $merge_var['type'] ); ?>"
|
2487 |
-
data-attr-field-name="<?php echo esc_attr( $merge_var['name'] ); ?>"
|
2488 |
-
data-attr-form-id="<?php echo esc_attr( $available_merge_variables['list_id'] ); ?>">
|
2489 |
-
<?php echo stripslashes( $merge_var['name'] );
|
2490 |
if ( $merge_var['required'] ) {
|
2491 |
echo ' <span class="field-required" title="' . __( 'required field', 'yikes-inc-easy-mailchimp-extender' ) . '">*</span>';
|
2492 |
-
}
|
2493 |
-
|
2494 |
-
|
2495 |
-
|
2496 |
-
|
2497 |
}
|
2498 |
?></ul>
|
2499 |
-
<a href="#" class="add-field-to-editor button-secondary yikes-easy-mc-hidden" style="display:none;">
|
2500 |
<small>
|
2501 |
<span class="dashicons dashicons-arrow-left-alt add-to-form-builder-arrow"></span> <?php _e( 'Add to Form Builder', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
2502 |
</small>
|
@@ -2505,14 +2495,14 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
2505 |
}
|
2506 |
}
|
2507 |
|
2508 |
-
|
2509 |
-
|
2510 |
-
|
2511 |
-
|
2512 |
-
|
2513 |
-
|
2514 |
-
|
2515 |
-
public function build_available_interest_groups( $form_fields
|
2516 |
$fields_assigned_to_form = array();
|
2517 |
if ( ! empty( $form_fields ) ) {
|
2518 |
foreach ( $form_fields as $field ) {
|
@@ -2523,44 +2513,66 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
2523 |
}
|
2524 |
|
2525 |
if ( ! empty( $available_interest_groups ) ) {
|
2526 |
-
|
2527 |
-
<ul id="available-interest-groups"
|
2528 |
-
|
2529 |
-
|
2530 |
-
|
2531 |
-
<li class="available-interest-group not-available"
|
2532 |
-
alt="<?php echo $interest_group['id']; ?>"
|
2533 |
-
data-attr-field-name="<?php echo htmlspecialchars( $interest_group['title'] ); ?>"
|
2534 |
-
data-attr-field-type="<?php echo $interest_group['type']; ?>"
|
2535 |
-
data-attr-form-id="<?php echo $list_id; ?>" title="<?php _e( 'Already assigned to your form', 'yikes-inc-easy-mailchimp-extender' ); ?>"
|
2536 |
-
disabled="disabled"
|
2537 |
-
>
|
2538 |
-
<?php echo stripslashes( $interest_group['title'] ); ?>
|
2539 |
-
<small class="field-type-text"><?php echo $interest_group['type']; ?></small>
|
2540 |
-
</li>
|
2541 |
-
<?php
|
2542 |
-
} else {
|
2543 |
?>
|
2544 |
-
<li class="available-
|
2545 |
-
alt="<?php echo $interest_group['id']; ?>"
|
2546 |
-
data-
|
2547 |
-
data-attr-field-
|
2548 |
-
data-attr-
|
|
|
|
|
|
|
2549 |
>
|
2550 |
-
<?php echo stripslashes( $interest_group['title'] ); ?>
|
2551 |
-
<small class="field-type-text"><?php echo $interest_group['type']; ?></small>
|
2552 |
</li>
|
2553 |
<?php
|
2554 |
}
|
2555 |
-
|
2556 |
-
|
2557 |
-
<a href="#" class="add-interest-group-to-editor button-secondary yikes-easy-mc-hidden" style="display:none;">
|
2558 |
<small>
|
2559 |
-
<span class="dashicons dashicons-arrow-left-alt add-to-form-builder-arrow"></span> <?php
|
2560 |
</small>
|
2561 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2562 |
<?php
|
2563 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2564 |
}
|
2565 |
|
2566 |
/*
|
@@ -3085,7 +3097,9 @@ class Yikes_Inc_Easy_Mailchimp_Forms_Admin {
|
|
3085 |
delete_transient( "yikes_eme_list_{$id}" );
|
3086 |
delete_transient( "yikes_eme_merge_variables_{$id}" );
|
3087 |
delete_transient( "yikes_eme_interest_categories_{$id}" );
|
3088 |
-
delete_transient( "yikes_eme_segments_{$id}" );
|
|
|
|
|
3089 |
delete_transient( "yikes_eme_members_{$id}" );
|
3090 |
}
|
3091 |
|
777 |
wp_enqueue_script( 'edit-form-js', YIKES_MC_URL . 'admin/js/min/yikes-inc-easy-mailchimp-extender-edit-form.min.js', array( 'jquery.timepicker.js', 'jquery-ui-datepicker' ) , $this->version, false );
|
778 |
|
779 |
$localized_data = array(
|
780 |
+
'add_tag_nonce' => wp_create_nonce( 'add-tag' ),
|
781 |
+
'remove_tag_nonce' => wp_create_nonce( 'remove-tag' ),
|
782 |
'ajax_url' => esc_url_raw( admin_url( 'admin-ajax.php' ) ),
|
783 |
'no_fields_assigned' => __( 'No fields assigned to this form. Select some fields to add to this form from the right hand column.', 'yikes-inc-easy-mailchimp-extender' ),
|
784 |
'bulk_delete_alert' => __( 'Are you sure you want to delete all of the fields assigned to this form?', 'yikes-inc-easy-mailchimp-extender' ),
|
2002 |
</td>
|
2003 |
</tr>
|
2004 |
<!-- Description Above Field -->
|
2005 |
+
<tr valign="top" class="yikes-checkbox-container">
|
2006 |
<td scope="row">
|
2007 |
<label for="description_above_<?php echo esc_attr( $field['merge'] ); ?>">
|
2008 |
<?php _e( 'Description Above Field', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
2010 |
</td>
|
2011 |
<td>
|
2012 |
<input type="checkbox" id="description_above_<?php echo esc_attr( $field['merge'] ); ?>" class="widefat field-description-input" name="field[<?php echo $field['merge']; ?>][description_above]" value="1" <?php echo isset( $field['description_above'] ) && $field['description_above'] === '1' ? 'checked="checked"' : ''; ?> />
|
2013 |
+
<p class="description"><small><?php _e( "By default the description will appear undearneath the field. Check this box if you'd like the description to appear above the field.", 'yikes-inc-easy-mailchimp-extender' );?></small></p>
|
2014 |
</td>
|
2015 |
</tr>
|
2016 |
<!-- Additional Classes -->
|
2283 |
</tr>
|
2284 |
|
2285 |
<!-- Description Above Field -->
|
2286 |
+
<tr valign="top" class="yikes-checkbox-container">
|
2287 |
<td scope="row">
|
2288 |
<label for="description_above_<?php echo $field['group_id']; ?>">
|
2289 |
<?php _e( 'Description Above Field', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
2291 |
</td>
|
2292 |
<td>
|
2293 |
<input type="checkbox" id="description_above_<?php echo $field['group_id']; ?>" class="widefat field-description-input" name="field[<?php echo $field['group_id']; ?>][description_above]" value="1" <?php echo isset( $field['description_above'] ) && $field['description_above'] === '1' ? 'checked="checked"' : ''; ?> />
|
2294 |
+
<p class="description"><small><?php _e( "By default the description will appear undearneath the field. Check this box if you'd like the description to appear above the field.", 'yikes-inc-easy-mailchimp-extender' );?></small></p>
|
2295 |
</td>
|
2296 |
</tr>
|
2297 |
|
2308 |
</td>
|
2309 |
</tr>
|
2310 |
<!-- Required Toggle -->
|
2311 |
+
<tr valign="top" class="yikes-checkbox-container">
|
2312 |
<td scope="row">
|
2313 |
<label for="field-required-<?php echo esc_attr( $field['group_id'] ); ?>">
|
2314 |
<?php _e( 'Field Required?', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
2321 |
</td>
|
2322 |
</tr>
|
2323 |
<!-- Visible Toggle -->
|
2324 |
+
<tr valign="top" class="yikes-checkbox-container">
|
2325 |
<td scope="row">
|
2326 |
<label for="hide-field-<?php echo esc_attr( $field['group_id'] ); ?>">
|
2327 |
<?php _e( 'Hide Field', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
2334 |
</td>
|
2335 |
</tr>
|
2336 |
<!-- Toggle Field Label Visibility -->
|
2337 |
+
<tr valign="top" class="yikes-checkbox-container">
|
2338 |
<td scope="row">
|
2339 |
<label for="hide-label-<?php echo esc_attr( $field['group_id'] ); ?>">
|
2340 |
<?php _e( 'Hide Label', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
2446 |
<?php
|
2447 |
}
|
2448 |
|
2449 |
+
/**
|
2450 |
+
* build_available_merge_vars( $list_id )
|
2451 |
+
* Submit an API request to get our merge variables, and build up a small form editor
|
2452 |
+
* for users to 'customize' their form
|
2453 |
+
* -
|
2454 |
+
* @parameters - $list_id - pass in the list ID to retreive merge variables from
|
2455 |
+
*/
|
2456 |
+
public function build_available_merge_vars( $form_fields, $available_merge_variables ) {
|
2457 |
$fields_assigned_to_form = array();
|
2458 |
foreach ( $form_fields as $field ) {
|
2459 |
if ( isset( $field['merge'] ) ) {
|
2465 |
?>
|
2466 |
<ul id="available-fields"><?php
|
2467 |
foreach ( $available_merge_variables['merge_fields'] as $merge_var ) {
|
2468 |
+
$not_available = isset( $fields_assigned_to_form[ $merge_var['tag'] ] );
|
2469 |
+
?>
|
2470 |
+
<li class="available-field <?php echo $not_available ? 'not-available' : ''; ?>"
|
2471 |
+
alt="<?php echo esc_attr( $merge_var['tag'] ); ?>"
|
2472 |
+
data-attr-field-type="<?php echo esc_attr( $merge_var['type'] ); ?>"
|
2473 |
+
data-attr-field-name="<?php echo esc_attr( $merge_var['name'] ); ?>"
|
2474 |
+
data-attr-form-id="<?php echo esc_attr( $available_merge_variables['list_id'] ); ?>"
|
2475 |
+
title="<?php echo $not_available ? esc_attr__( 'Already assigned to your form', 'yikes-inc-easy-mailchimp-extender' ) : ''; ?>"
|
2476 |
+
<?php echo $not_available ? 'disabled="disabled"' : ''; ?>
|
2477 |
+
>
|
|
|
|
|
|
|
|
|
|
|
2478 |
<?php
|
2479 |
+
echo esc_html( stripslashes( $merge_var['name'] ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2480 |
if ( $merge_var['required'] ) {
|
2481 |
echo ' <span class="field-required" title="' . __( 'required field', 'yikes-inc-easy-mailchimp-extender' ) . '">*</span>';
|
2482 |
+
}
|
2483 |
+
?>
|
2484 |
+
<small class="field-type-text"><?php echo esc_html( $merge_var['type'] ); ?></small>
|
2485 |
+
</li>
|
2486 |
+
<?php
|
2487 |
}
|
2488 |
?></ul>
|
2489 |
+
<a href="#" class="add-field-to-editor add-to-editor button-secondary yikes-easy-mc-hidden" style="display:none;">
|
2490 |
<small>
|
2491 |
<span class="dashicons dashicons-arrow-left-alt add-to-form-builder-arrow"></span> <?php _e( 'Add to Form Builder', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
2492 |
</small>
|
2495 |
}
|
2496 |
}
|
2497 |
|
2498 |
+
/**
|
2499 |
+
* build_available_interest_groups( $form_fields , $available_interest_groups )
|
2500 |
+
* Submit an API request to get our merge variables, and build up a small form editor
|
2501 |
+
* for users to 'customize' their form
|
2502 |
+
* -
|
2503 |
+
* @parameters - $list_id - pass in the list ID to retreive merge variables from
|
2504 |
+
*/
|
2505 |
+
public function build_available_interest_groups( $form_fields, $available_interest_groups, $list_id ) {
|
2506 |
$fields_assigned_to_form = array();
|
2507 |
if ( ! empty( $form_fields ) ) {
|
2508 |
foreach ( $form_fields as $field ) {
|
2513 |
}
|
2514 |
|
2515 |
if ( ! empty( $available_interest_groups ) ) {
|
2516 |
+
?>
|
2517 |
+
<ul id="available-interest-groups">
|
2518 |
+
<?php
|
2519 |
+
foreach ( $available_interest_groups as $interest_group ) {
|
2520 |
+
$not_available = isset( $fields_assigned_to_form[ $interest_group['id'] ] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2521 |
?>
|
2522 |
+
<li class="available-field <?php echo $not_available ? 'not-available' : ''; ?>"
|
2523 |
+
alt="<?php echo esc_attr( $interest_group['id'] ); ?>"
|
2524 |
+
data-group-id="<?php echo esc_attr( $interest_group['id'] ); ?>"
|
2525 |
+
data-attr-field-name="<?php echo esc_attr( htmlspecialchars( $interest_group['title'] ) ); ?>"
|
2526 |
+
data-attr-field-type="<?php echo esc_attr( $interest_group['type'] ); ?>"
|
2527 |
+
data-attr-form-id="<?php echo esc_attr( $list_id ); ?>"
|
2528 |
+
title="<?php echo $not_available ? __( 'Already assigned to your form', 'yikes-inc-easy-mailchimp-extender' ) : ''; ?>"
|
2529 |
+
<?php echo $not_available ? 'disabled="disabled"' : ''; ?>
|
2530 |
>
|
2531 |
+
<?php echo esc_html( stripslashes( $interest_group['title'] ) ); ?>
|
2532 |
+
<small class="field-type-text"><?php echo esc_html( $interest_group['type'] ); ?></small>
|
2533 |
</li>
|
2534 |
<?php
|
2535 |
}
|
2536 |
+
?>
|
2537 |
+
</ul>
|
2538 |
+
<a href="#" class="add-interest-group-to-editor add-to-editor button-secondary yikes-easy-mc-hidden" style="display:none;">
|
2539 |
<small>
|
2540 |
+
<span class="dashicons dashicons-arrow-left-alt add-to-form-builder-arrow"></span> <?php esc_html_e( 'Add to Form Builder', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
2541 |
</small>
|
2542 |
</a>
|
2543 |
+
<?php
|
2544 |
+
}
|
2545 |
+
}
|
2546 |
+
|
2547 |
+
/**
|
2548 |
+
* Smt.
|
2549 |
+
*/
|
2550 |
+
public function build_available_tags( $form_tags, $tags, $list_id ) {
|
2551 |
+
?>
|
2552 |
+
<ul id="available-tags">
|
2553 |
+
<?php
|
2554 |
+
foreach ( $tags as $tag_id => $tag ) {
|
2555 |
+
$not_available = isset( $form_tags[ $tag_id ] );
|
2556 |
+
?>
|
2557 |
+
<li class="available-field <?php echo $not_available ? 'not-available' : ''; ?>"
|
2558 |
+
id="tag-<?php echo esc_attr( $tag['id'] ); ?>"
|
2559 |
+
data-tag-id="<?php echo esc_attr( $tag['id'] ); ?>"
|
2560 |
+
data-tag-name="<?php echo esc_attr( $tag['name'] ); ?>"
|
2561 |
+
title="<?php echo $not_available ? __( 'Already assigned to your form', 'yikes-inc-easy-mailchimp-extender' ) : esc_attr( $tag['name'] ); ?>"
|
2562 |
+
<?php echo $not_available ? 'disabled="disabled"' : ''; ?>
|
2563 |
+
>
|
2564 |
+
<?php echo esc_html( $tag['name'] ); ?>
|
2565 |
+
</li>
|
2566 |
<?php
|
2567 |
}
|
2568 |
+
?>
|
2569 |
+
</ul>
|
2570 |
+
<a href="#" class="add-tag-to-editor add-to-editor button-secondary yikes-easy-mc-hidden" style="display:none;">
|
2571 |
+
<small>
|
2572 |
+
<span class="dashicons dashicons-arrow-left-alt add-to-form-builder-arrow"></span> <?php _e( 'Add to Form Builder', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
2573 |
+
</small>
|
2574 |
+
</a>
|
2575 |
+
<?php
|
2576 |
}
|
2577 |
|
2578 |
/*
|
3097 |
delete_transient( "yikes_eme_list_{$id}" );
|
3098 |
delete_transient( "yikes_eme_merge_variables_{$id}" );
|
3099 |
delete_transient( "yikes_eme_interest_categories_{$id}" );
|
3100 |
+
delete_transient( "yikes_eme_segments_{$id}_saved" );
|
3101 |
+
delete_transient( "yikes_eme_segments_{$id}_static" );
|
3102 |
+
delete_transient( "yikes_eme_segments_{$id}_fuzzy" );
|
3103 |
delete_transient( "yikes_eme_members_{$id}" );
|
3104 |
}
|
3105 |
|
admin/css/yikes-inc-easy-mailchimp-extender-admin.css
CHANGED
@@ -488,7 +488,6 @@ ul.support-option-list {
|
|
488 |
|
489 |
.yikes-mc-settings-expansion-section .form-table td p.description {
|
490 |
line-height: 1;
|
491 |
-
margin-top: 2px;
|
492 |
}
|
493 |
|
494 |
.expansion-section-title {
|
@@ -823,17 +822,14 @@ ul.support-option-list {
|
|
823 |
/* Form Field Radios/Checkboxes */
|
824 |
.form-field-container tr.yikes-checkbox-container input[type="checkbox"] {
|
825 |
float: left;
|
826 |
-
margin: 5px;
|
|
|
827 |
}
|
828 |
|
829 |
.form-field-container tr.yikes-checkbox-container-first td {
|
830 |
padding-top: 12px !important;
|
831 |
}
|
832 |
|
833 |
-
.form-field-container tr.yikes-checkbox-container td {
|
834 |
-
padding: 2px 12px;
|
835 |
-
}
|
836 |
-
|
837 |
.form-field-container td input[type="checkbox"]:first-child,
|
838 |
.form-field-container td input[type="radio"]:first-child {
|
839 |
margin-left: 0 !important;
|
@@ -909,16 +905,17 @@ ul.support-option-list {
|
|
909 |
position: absolute;
|
910 |
}
|
911 |
.mv_ig_list a {
|
912 |
-
width:
|
913 |
padding: 5px 0 !important;
|
914 |
text-align: center;
|
915 |
margin: 0;
|
|
|
916 |
}
|
917 |
.mv_ig_list a:first-child {
|
918 |
-
|
919 |
}
|
920 |
.mv_ig_list a:last-child {
|
921 |
-
|
922 |
}
|
923 |
|
924 |
.mv_ig_list {
|
@@ -936,7 +933,6 @@ ul.support-option-list {
|
|
936 |
.mv_ig_list .arrow-down {
|
937 |
position: absolute;
|
938 |
margin-top: 21px;
|
939 |
-
margin-left: 50px;
|
940 |
width: 0;
|
941 |
height: 0;
|
942 |
border-left: 12px solid transparent;
|
@@ -944,17 +940,31 @@ ul.support-option-list {
|
|
944 |
border-top: 12px solid #00a0d2;
|
945 |
}
|
946 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
947 |
#container-container {
|
948 |
display: inline-block;
|
949 |
-
width:
|
950 |
}
|
951 |
#container-container .list-container {
|
952 |
-
float: left;
|
953 |
width: 254px;
|
954 |
position: relative;
|
955 |
-
|
956 |
-
#container-container .list-container:last-child {
|
957 |
margin-left: 2em;
|
|
|
|
|
|
|
|
|
958 |
}
|
959 |
|
960 |
#yikes_easy_mc_toolbar {
|
@@ -1168,7 +1178,8 @@ a.yikes-delete-subscriber,
|
|
1168 |
}
|
1169 |
/* Available Form Field List */
|
1170 |
#available-fields li,
|
1171 |
-
#available-interest-groups li
|
|
|
1172 |
text-decoration: none;
|
1173 |
display: block;
|
1174 |
border: 1px solid rgba(177, 177, 177, 0.71);
|
@@ -1177,12 +1188,14 @@ a.yikes-delete-subscriber,
|
|
1177 |
margin: .5em 0;
|
1178 |
}
|
1179 |
#available-fields li.not-available,
|
1180 |
-
#available-interest-groups li.not-available
|
|
|
1181 |
opacity: .6 !important;
|
1182 |
}
|
1183 |
|
1184 |
-
#available-fields li.
|
1185 |
-
#available-interest-groups li.
|
|
|
1186 |
background: rgba(46, 162, 204, 0.25);
|
1187 |
}
|
1188 |
|
@@ -1194,6 +1207,49 @@ a.yikes-delete-subscriber,
|
|
1194 |
line-height: 1.8;
|
1195 |
}
|
1196 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1197 |
/* Form Builder Clear Form Fields Button */
|
1198 |
.clear-form-fields {
|
1199 |
background: #e14d43;
|
@@ -2004,6 +2060,10 @@ body.wp-customizer #available-widgets [id*="_yikes_easy_mc_widget"]>div.widget-t
|
|
2004 |
background-position-y: 29px;
|
2005 |
}
|
2006 |
|
|
|
|
|
|
|
|
|
2007 |
/** Break Points **/
|
2008 |
|
2009 |
@media screen and (max-width: 1200px) {
|
488 |
|
489 |
.yikes-mc-settings-expansion-section .form-table td p.description {
|
490 |
line-height: 1;
|
|
|
491 |
}
|
492 |
|
493 |
.expansion-section-title {
|
822 |
/* Form Field Radios/Checkboxes */
|
823 |
.form-field-container tr.yikes-checkbox-container input[type="checkbox"] {
|
824 |
float: left;
|
825 |
+
margin-right: 5px;
|
826 |
+
margin-top: 2px;
|
827 |
}
|
828 |
|
829 |
.form-field-container tr.yikes-checkbox-container-first td {
|
830 |
padding-top: 12px !important;
|
831 |
}
|
832 |
|
|
|
|
|
|
|
|
|
833 |
.form-field-container td input[type="checkbox"]:first-child,
|
834 |
.form-field-container td input[type="radio"]:first-child {
|
835 |
margin-left: 0 !important;
|
905 |
position: absolute;
|
906 |
}
|
907 |
.mv_ig_list a {
|
908 |
+
width: 40%;
|
909 |
padding: 5px 0 !important;
|
910 |
text-align: center;
|
911 |
margin: 0;
|
912 |
+
float: left;
|
913 |
}
|
914 |
.mv_ig_list a:first-child {
|
915 |
+
width: 32%;
|
916 |
}
|
917 |
.mv_ig_list a:last-child {
|
918 |
+
width: 25%;
|
919 |
}
|
920 |
|
921 |
.mv_ig_list {
|
933 |
.mv_ig_list .arrow-down {
|
934 |
position: absolute;
|
935 |
margin-top: 21px;
|
|
|
936 |
width: 0;
|
937 |
height: 0;
|
938 |
border-left: 12px solid transparent;
|
940 |
border-top: 12px solid #00a0d2;
|
941 |
}
|
942 |
|
943 |
+
#nav-tab-merge-variables .arrow-down {
|
944 |
+
left: 16%;
|
945 |
+
}
|
946 |
+
|
947 |
+
#nav-tab-interest-groups .arrow-down {
|
948 |
+
left: 49%;
|
949 |
+
}
|
950 |
+
|
951 |
+
#nav-tab-tags .arrow-down {
|
952 |
+
left: 79%;
|
953 |
+
}
|
954 |
+
|
955 |
#container-container {
|
956 |
display: inline-block;
|
957 |
+
width: 1000px;
|
958 |
}
|
959 |
#container-container .list-container {
|
|
|
960 |
width: 254px;
|
961 |
position: relative;
|
962 |
+
display: inline-block;
|
|
|
963 |
margin-left: 2em;
|
964 |
+
vertical-align: top;
|
965 |
+
}
|
966 |
+
#container-container .list-container:first-child {
|
967 |
+
margin-left: 0;
|
968 |
}
|
969 |
|
970 |
#yikes_easy_mc_toolbar {
|
1178 |
}
|
1179 |
/* Available Form Field List */
|
1180 |
#available-fields li,
|
1181 |
+
#available-interest-groups li,
|
1182 |
+
#available-tags li {
|
1183 |
text-decoration: none;
|
1184 |
display: block;
|
1185 |
border: 1px solid rgba(177, 177, 177, 0.71);
|
1188 |
margin: .5em 0;
|
1189 |
}
|
1190 |
#available-fields li.not-available,
|
1191 |
+
#available-interest-groups li.not-available,
|
1192 |
+
#available-tags li.not-available {
|
1193 |
opacity: .6 !important;
|
1194 |
}
|
1195 |
|
1196 |
+
#available-fields li.add-to-form,
|
1197 |
+
#available-interest-groups li.add-to-form,
|
1198 |
+
#available-tags li.add-to-form {
|
1199 |
background: rgba(46, 162, 204, 0.25);
|
1200 |
}
|
1201 |
|
1207 |
line-height: 1.8;
|
1208 |
}
|
1209 |
|
1210 |
+
.tags-title-text {
|
1211 |
+
margin-left: 1em;
|
1212 |
+
position: absolute;
|
1213 |
+
top: 60px;
|
1214 |
+
}
|
1215 |
+
|
1216 |
+
.tags-title-container {
|
1217 |
+
margin-right: 2em;
|
1218 |
+
margin-left: 4em;
|
1219 |
+
}
|
1220 |
+
|
1221 |
+
.tags-title {
|
1222 |
+
padding-top: 1em;
|
1223 |
+
padding-bottom: .75em;
|
1224 |
+
cursor: default;
|
1225 |
+
font-weight: 500;
|
1226 |
+
}
|
1227 |
+
|
1228 |
+
.tags-title-container > span.mailchimp-tag {
|
1229 |
+
font-size: .875em;
|
1230 |
+
margin-right: 1em;
|
1231 |
+
padding: .25em .4em 0em;
|
1232 |
+
border: 2px solid #00a0d2;
|
1233 |
+
border-radius: 10px;
|
1234 |
+
cursor: default;
|
1235 |
+
vertical-align: middle;
|
1236 |
+
display: inline-block;
|
1237 |
+
margin-top: 1em;
|
1238 |
+
}
|
1239 |
+
.tags-title-container span.dashicons {
|
1240 |
+
line-height: .8;
|
1241 |
+
font-size: 1.5em;
|
1242 |
+
padding-bottom: 0;
|
1243 |
+
cursor: pointer;
|
1244 |
+
margin-bottom: -4px;
|
1245 |
+
}
|
1246 |
+
|
1247 |
+
.tags-title-container .tag-divider {
|
1248 |
+
border: 1px solid #00a0d2;
|
1249 |
+
padding-bottom: 2px;
|
1250 |
+
margin-left: 3px;
|
1251 |
+
}
|
1252 |
+
|
1253 |
/* Form Builder Clear Form Fields Button */
|
1254 |
.clear-form-fields {
|
1255 |
background: #e14d43;
|
2060 |
background-position-y: 29px;
|
2061 |
}
|
2062 |
|
2063 |
+
#edit-yikes-mc-form #post-body.columns-2 #postbox-container-1 {
|
2064 |
+
width: 280px;
|
2065 |
+
}
|
2066 |
+
|
2067 |
/** Break Points **/
|
2068 |
|
2069 |
@media screen and (max-width: 1200px) {
|
admin/css/yikes-inc-easy-mailchimp-extender-admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.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;text-align:center}.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}#migration-buttons{display:inline-block;margin-bottom:.5em}#migration-buttons form:first-child{margin-right:10px}#migration-buttons form{float:left}#yikes_easy_mc_list_stats_widget h3 span{background:url( '../../includes/images/MailChimp_Assets/Freddie_original.png' ) no-repeat scroll 8px 4px/25px auto;background-size:25px;display:block;height:30px;padding-left:3em;padding-top:5px}#yikes_easy_mc_list_stats_widget h3{padding:0;line-height:1.6em}#yikes-easy-mc-dashboard-widget-stats h3{text-align:center}#yikes_easy_mc_list_stats_widget .inside{padding:0}.yikes-easy-mc-stats-table{margin-top:1em}.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-widget-stat-holder{margin-top:1em}.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"}#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 0}.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:0 0 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 0}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');background-size:18px;background-position-y:1px;background-repeat:no-repeat}#yikes_mailchimp_tinyMCE_modal-title{padding-left:42px;background:transparent url(../../includes/images/MailChimp_Assets/Freddie_original.png);background-repeat:no-repeat;background-size:25px;background-position:left;background-position-x:10px}#yikes_mailchimp_tinyMCE_modal .mce-foot{border-top:none!important}#yikes_mailchimp_tinyMCE_modal{background:#fff url(../../includes/images/tinyMCE/yikes-mailchimp-combo-faded.png);background-position:bottom left;background-size:40%;background-position-x:10px;background-position-y:95%;background-repeat:no-repeat}#yikes_mailchimp_tinyMCE_modal .mce-foot{background:0 0}[id*="_yikes_easy_mc_widget"]>div.widget-top>div.widget-title>h4{background:#fafafa url(../../includes/images/MailChimp_Assets/Freddie_original.png) no-repeat scroll 2% 50%/25px auto;padding-left:40px}#review-yikes-easy-mailchimp-notice #yikes-mailchimp-logo{background:url(../../includes/images/Welcome_Page/yikes-mailchimp-welcome-logo.png) no-repeat;background-size:60px;float:left;font-size:14px;height:80px;text-align:center;width:80px}.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-mailchimp-logo{height:132px;width:132px;font-size:14px;text-align:center;background:url(../../includes/images/Welcome_Page/yikes-mailchimp-welcome-logo.png) no-repeat}.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}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}#review-yikes-easy-mailchimp-notice .button-container{display:block;width:100%;margin:.75em 0 1.5em 0}#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:1px 12px;padding-top:10px;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-general-error-message],.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-update-email-failure],.error-message-container label[for=yikes-easy-mc-update-email-successful],.error-message-container label[for=yikes-easy-mc-user-email-body],.error-message-container label[for=yikes-easy-mc-user-email-subject],.error-message-container label[for=yikes-easy-mc-user-resubscribed-success-message],.error-message-container label[for=yikes-easy-mc-user-subscribed-message],.error-message-container label[for=yikes-easy-mc-user-subscribed-update-link]{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 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 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{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}.option-menu-selected-arrow+a{color:#00a0d2!important}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-api-key],label[for=yikes-mc-recaptcha-setting]{display:block;margin-bottom:1em}input.recaptcha-setting-checkbox{display:inline-block;margin-top:.5em;vertical-align:bottom}.recaptcha-preview-link{display:block;margin-top:.5em}.recaptcha-preview-container{display:block;width:100%;display:none;margin:1em 0}.wrap #col-left,.wrap #col-right{width:49%}@media (max-width:800px){.wrap #col-left,.wrap #col-right{width:100%}}.support-page-logo{width:100%;opacity:.7;max-width:100%;display:block}.support-page-button{display:block;width:100%;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 0}#premium-support-form{display:block;width:100%}#premium-support-form input[type=email],#premium-support-form input[type=submit],#premium-support-form input[type=text],#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 0}.export-custom-forms-list p{margin-top:0}.list-rating-star{color:#e6b800}#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 0;padding:6px 12px;background:rgba(241,241,241,.5);font-size:13px;line-height:1.5}.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-container{margin-top:5px;margin-bottom:1.5em}.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-top:0;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 tr.yikes-checkbox-container input[type=checkbox]{float:left;margin:5px}.form-field-container tr.yikes-checkbox-container-first td{padding-top:12px!important}.form-field-container tr.yikes-checkbox-container td{padding:2px 12px}.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;box-shadow:none;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 0;padding-bottom:6em;width:100%;text-align:center;background:url( '../../includes/images/no-form-fields-assigned-arrow.jpg' ) no-repeat;background-position:bottom center;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 0}. error-descripion{padding-top:.5em}.yikes-mc-freddie-logo{float:left;margin-right:10px}.mv_ig_list{width:100%;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{margin-bottom:.5em}.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:540px}#container-container .list-container{float:left;width:254px;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:focus{box-shadow:none}#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}#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}.integreation-checkbox-interest-groups-header{display:inline}.integration-checkbox-interest-groups-hr{margin-top:10px;margin-bottom:10px}#checkbox-settings-form .dashicons-editor-help{font-size:15px;line-height:1.6}.checkbox-settings-list-dropdown{display:block;width:250px}.no-lists-setup-notice{padding:.5em 0 .5em 0}.optin-checkbox-label-input{display:block;width:250px}.integration-checkbox-interest-groups{margin-bottom:10px}.integration-checkbox-interest-groups p,.integration-checkbox-interest-groups section{padding-left:25px}.yikes-mailchimp-checkbox-integration-list{color:#006799;display:inline-block;font-weight:600;margin-bottom:5px;padding:0 16px 8px 2px;vertical-align:top}.yikes-mailchimp-checkbox-integration-item{font-size:14px;font-weight:600;margin-bottom:10px}.yikes-mailchimp-checkbox-integration-list input[type=checkbox]{margin-right:0}label.optin-checkbox-label{display:block;margin:4px 0}label.optin-checkbox-label input.optin-checkbox-label-input,label.optin-checkbox-label select{display:inline-block}label.optin-checkbox-label select{margin-left:17px;width:auto}.yikes-form-id-number{width:55px}span[title="Conversion Rate"]:hover,span[title=Impressions]:hover,span[title=Submissions]: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 0}.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 0}.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 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 0}#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;margin-left:10px}#yikes-mc-subscriber-card-wrapper h2{margin-left:10px;margin-top:0;padding-top:0}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top{display:inline-block;width:100%}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-body{display:inline-block;width:100%}#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{display:block;width:70%;max-width:370px;margin:.5em 0;margin-left:10px;float:left}.member-location-data{display:block;width:70%;max-width:370px;margin:.25em 0;margin-left:10px;float:left}.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}.interest-group-title{padding-left:5px}.edit-segments-button{margin:0 0 10px 15px}.edit-segment-description{padding:0 0 10px 15px}.list-page-mailchimp-logo{width:100%;display:block;margin:0 auto}.list-page-sidebar h2.account-status{text-align:center}.mailchimp-avatar{display:block;margin:0 auto;box-shadow:3px 3px 10px 0 rgba(214,214,214,.75)}.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}#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-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}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior label{margin-top:0}label.login-restriction-center{display:block;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section{display:inline-block}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section p.description.error{color:#f56060}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section label{float:left;margin-right:.5em;margin-top:0;margin-bottom:0;display:inline-block}.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 0}.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-restriction-section{margin-bottom:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-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,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a:hover{text-decoration:none}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-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-calendar td a{text-decoration:none}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-today a{color:#fff}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-current-day a{color:#fff}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 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:0 20px 2px 0;margin-top:1em;margin-bottom:1em;padding:2px 10px;background:#fff;background-size:120px;background-position:right bottom;background-repeat:no-repeat;background-position-y:29px}@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{-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:0ms;animation:dot 1.3s infinite;animation-delay:0ms}.upgrading-ellipse-two{-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:.2s;animation:dot 1.3s infinite;animation-delay:.2s}.upgrading-ellipse-three{-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:80%;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%{opacity:0}50%{opacity:0}100%{opacity:1}}
|
1 |
+
.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;text-align:center}.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}#migration-buttons{display:inline-block;margin-bottom:.5em}#migration-buttons form:first-child{margin-right:10px}#migration-buttons form{float:left}#yikes_easy_mc_list_stats_widget h3 span{background:url( '../../includes/images/MailChimp_Assets/Freddie_original.png' ) no-repeat scroll 8px 4px/25px auto;background-size:25px;display:block;height:30px;padding-left:3em;padding-top:5px}#yikes_easy_mc_list_stats_widget h3{padding:0;line-height:1.6em}#yikes-easy-mc-dashboard-widget-stats h3{text-align:center}#yikes_easy_mc_list_stats_widget .inside{padding:0}.yikes-easy-mc-stats-table{margin-top:1em}.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-widget-stat-holder{margin-top:1em}.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"}#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 0}.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:0 0 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 0}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');background-size:18px;background-position-y:1px;background-repeat:no-repeat}#yikes_mailchimp_tinyMCE_modal-title{padding-left:42px;background:transparent url(../../includes/images/MailChimp_Assets/Freddie_original.png);background-repeat:no-repeat;background-size:25px;background-position:left;background-position-x:10px}#yikes_mailchimp_tinyMCE_modal .mce-foot{border-top:none!important}#yikes_mailchimp_tinyMCE_modal{background:#fff url(../../includes/images/tinyMCE/yikes-mailchimp-combo-faded.png);background-position:bottom left;background-size:40%;background-position-x:10px;background-position-y:95%;background-repeat:no-repeat}#yikes_mailchimp_tinyMCE_modal .mce-foot{background:0 0}[id*="_yikes_easy_mc_widget"]>div.widget-top>div.widget-title>h4{background:#fafafa url(../../includes/images/MailChimp_Assets/Freddie_original.png) no-repeat scroll 2% 50%/25px auto;padding-left:40px}#review-yikes-easy-mailchimp-notice #yikes-mailchimp-logo{background:url(../../includes/images/Welcome_Page/yikes-mailchimp-welcome-logo.png) no-repeat;background-size:60px;float:left;font-size:14px;height:80px;text-align:center;width:80px}.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-mailchimp-logo{height:132px;width:132px;font-size:14px;text-align:center;background:url(../../includes/images/Welcome_Page/yikes-mailchimp-welcome-logo.png) no-repeat}.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}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}#review-yikes-easy-mailchimp-notice .button-container{display:block;width:100%;margin:.75em 0 1.5em 0}#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:1px 12px;padding-top:10px;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-general-error-message],.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-update-email-failure],.error-message-container label[for=yikes-easy-mc-update-email-successful],.error-message-container label[for=yikes-easy-mc-user-email-body],.error-message-container label[for=yikes-easy-mc-user-email-subject],.error-message-container label[for=yikes-easy-mc-user-resubscribed-success-message],.error-message-container label[for=yikes-easy-mc-user-subscribed-message],.error-message-container label[for=yikes-easy-mc-user-subscribed-update-link]{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 10px;vertical-align:top}.yikes-mc-settings-expansion-section .form-table td p.description{line-height:1}.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 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{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}.option-menu-selected-arrow+a{color:#00a0d2!important}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-api-key],label[for=yikes-mc-recaptcha-setting]{display:block;margin-bottom:1em}input.recaptcha-setting-checkbox{display:inline-block;margin-top:.5em;vertical-align:bottom}.recaptcha-preview-link{display:block;margin-top:.5em}.recaptcha-preview-container{display:block;width:100%;display:none;margin:1em 0}.wrap #col-left,.wrap #col-right{width:49%}@media (max-width:800px){.wrap #col-left,.wrap #col-right{width:100%}}.support-page-logo{width:100%;opacity:.7;max-width:100%;display:block}.support-page-button{display:block;width:100%;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 0}#premium-support-form{display:block;width:100%}#premium-support-form input[type=email],#premium-support-form input[type=submit],#premium-support-form input[type=text],#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 0}.export-custom-forms-list p{margin-top:0}.list-rating-star{color:#e6b800}#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 0;padding:6px 12px;background:rgba(241,241,241,.5);font-size:13px;line-height:1.5}.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-container{margin-top:5px;margin-bottom:1.5em}.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-top:0;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 tr.yikes-checkbox-container input[type=checkbox]{float:left;margin-right:5px;margin-top:2px}.form-field-container tr.yikes-checkbox-container-first td{padding-top:12px!important}.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;box-shadow:none;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 0;padding-bottom:6em;width:100%;text-align:center;background:url( '../../includes/images/no-form-fields-assigned-arrow.jpg' ) no-repeat;background-position:bottom center;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 0}. error-descripion{padding-top:.5em}.yikes-mc-freddie-logo{float:left;margin-right:10px}.mv_ig_list{width:100%;margin-bottom:8px!important;border:none!important;background:0 0!important}.mv_ig_list .list-container{position:absolute}.mv_ig_list a{width:40%;padding:5px 0!important;text-align:center;margin:0;float:left}.mv_ig_list a:first-child{width:32%}.mv_ig_list a:last-child{width:25%}.mv_ig_list{margin-bottom:.5em}.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;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:12px solid #00a0d2}#nav-tab-merge-variables .arrow-down{left:16%}#nav-tab-interest-groups .arrow-down{left:49%}#nav-tab-tags .arrow-down{left:79%}#container-container{display:inline-block;width:1000px}#container-container .list-container{width:254px;position:relative;display:inline-block;margin-left:2em;vertical-align:top}#container-container .list-container:first-child{margin-left:0}#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:focus{box-shadow:none}#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}#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}.integreation-checkbox-interest-groups-header{display:inline}.integration-checkbox-interest-groups-hr{margin-top:10px;margin-bottom:10px}#checkbox-settings-form .dashicons-editor-help{font-size:15px;line-height:1.6}.checkbox-settings-list-dropdown{display:block;width:250px}.no-lists-setup-notice{padding:.5em 0 .5em 0}.optin-checkbox-label-input{display:block;width:250px}.integration-checkbox-interest-groups{margin-bottom:10px}.integration-checkbox-interest-groups p,.integration-checkbox-interest-groups section{padding-left:25px}.yikes-mailchimp-checkbox-integration-list{color:#006799;display:inline-block;font-weight:600;margin-bottom:5px;padding:0 16px 8px 2px;vertical-align:top}.yikes-mailchimp-checkbox-integration-item{font-size:14px;font-weight:600;margin-bottom:10px}.yikes-mailchimp-checkbox-integration-list input[type=checkbox]{margin-right:0}label.optin-checkbox-label{display:block;margin:4px 0}label.optin-checkbox-label input.optin-checkbox-label-input,label.optin-checkbox-label select{display:inline-block}label.optin-checkbox-label select{margin-left:17px;width:auto}.yikes-form-id-number{width:55px}span[title="Conversion Rate"]:hover,span[title=Impressions]:hover,span[title=Submissions]: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 0}.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,#available-tags 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,#available-tags li.not-available{opacity:.6!important}#available-fields li.add-to-form,#available-interest-groups li.add-to-form,#available-tags li.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}.tags-title-text{margin-left:1em;position:absolute;top:60px}.tags-title-container{margin-right:2em;margin-left:4em}.tags-title{padding-top:1em;padding-bottom:.75em;cursor:default;font-weight:500}.tags-title-container>span.mailchimp-tag{font-size:.875em;margin-right:1em;padding:.25em .4em 0;border:2px solid #00a0d2;border-radius:10px;cursor:default;vertical-align:middle;display:inline-block;margin-top:1em}.tags-title-container span.dashicons{line-height:.8;font-size:1.5em;padding-bottom:0;cursor:pointer;margin-bottom:-4px}.tags-title-container .tag-divider{border:1px solid #00a0d2;padding-bottom:2px;margin-left:3px}.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 0}.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 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 0}#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;margin-left:10px}#yikes-mc-subscriber-card-wrapper h2{margin-left:10px;margin-top:0;padding-top:0}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-top{display:inline-block;width:100%}#yikes-mc-subscriber-card-wrapper .yikes-mc-card-body{display:inline-block;width:100%}#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{display:block;width:70%;max-width:370px;margin:.5em 0;margin-left:10px;float:left}.member-location-data{display:block;width:70%;max-width:370px;margin:.25em 0;margin-left:10px;float:left}.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}.interest-group-title{padding-left:5px}.edit-segments-button{margin:0 0 10px 15px}.edit-segment-description{padding:0 0 10px 15px}.list-page-mailchimp-logo{width:100%;display:block;margin:0 auto}.list-page-sidebar h2.account-status{text-align:center}.mailchimp-avatar{display:block;margin:0 auto;box-shadow:3px 3px 10px 0 rgba(214,214,214,.75)}.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}#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-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}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior label{margin-top:0}label.login-restriction-center{display:block;width:100%}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section{display:inline-block}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section p.description.error{color:#f56060}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-section label{float:left;margin-right:.5em;margin-top:0;margin-bottom:0;display:inline-block}.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 0}.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-restriction-section{margin-bottom:0}.admin_page_yikes-mailchimp-edit-form #form-settings .section-interior .date-restriction-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,body.admin_page_yikes-mailchimp-edit-form .ui-datepicker a:hover{text-decoration:none}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-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-calendar td a{text-decoration:none}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-today a{color:#fff}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-current-day a{color:#fff}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 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:0 20px 2px 0;margin-top:1em;margin-bottom:1em;padding:2px 10px;background:#fff;background-size:120px;background-position:right bottom;background-repeat:no-repeat;background-position-y:29px}#edit-yikes-mc-form #post-body.columns-2 #postbox-container-1{width:280px}@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{-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:0ms;animation:dot 1.3s infinite;animation-delay:0ms}.upgrading-ellipse-two{-moz-opacity:0;-khtml-opacity:0;opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:.2s;animation:dot 1.3s infinite;animation-delay:.2s}.upgrading-ellipse-three{-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:80%;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%{opacity:0}50%{opacity:0}100%{opacity:1}}
|
admin/css/yikes-inc-easy-mailchimp-migrate-option-styles.min.css
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
.
|
2 |
-
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInlpa2VzLWluYy1lYXN5LW1haWxjaGltcC1taWdyYXRlLW9wdGlvbi1zdHlsZXMubWluLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw4Q0FBOEMsb0NBQW9DLFNBQVMsQ0FBQyx3QkFBd0IsWUFBWSxDQUFDLGlDQUFpQyxlQUFlLGVBQWUsZUFBZSxDQUFDLDJCQUEyQixtQkFBbUIsa0JBQWtCLGlCQUFpQiwwQkFBMEIsc0JBQXNCLGVBQWUsQ0FBQyxzQ0FBc0MsV0FBVyxlQUFlLGlCQUFpQix3QkFBd0IsQ0FBQyxvQkFBb0IsWUFBWSxDQUFDLHVCQUF1Qiw0QkFBNEIsNEJBQTRCLG1CQUFtQixDQUFDLHVCQUF1Qiw0QkFBNEIsNEJBQTRCLG1CQUFtQixDQUFDLHlCQUF5QixVQUFVLG9DQUFvQyw0QkFBNEIsNEJBQTRCLG1CQUFtQixDQUFDLGVBQWUsT0FBTyxTQUFTLENBQUMsS0FBSyxTQUFTLENBQUMsQ0FBQyIsImZpbGUiOiJ5aWtlcy1pbmMtZWFzeS1tYWlsY2hpbXAtbWlncmF0ZS1vcHRpb24tc3R5bGVzLm1pbi5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIudXBncmFkaW5nLWVsbGlwc2Utb25lLC51cGdyYWRpbmctZWxsaXBzZS10d297LXdlYmtpdC1hbmltYXRpb246ZG90IDEuM3MgaW5maW5pdGU7b3BhY2l0eTowfS5taWdyYXRlLW9wdGlvbnMtbm90aWNle2Rpc3BsYXk6bm9uZX0ubWlncmF0aW9uLWNvbXBsZXRlLW5vdGlmaWNhdGlvbnttYXJnaW4tdG9wOjJlbTtmb250LXNpemU6MThweDtmb250LXdlaWdodDoyMDB9I29wdGlvbnMtdXBkYXRlZCBsaTpiZWZvcmV7YmFja2dyb3VuZDojRkNGQ0ZDO2JvcmRlci1yYWRpdXM6NTAlO21hcmdpbi1yaWdodDo1cHg7Y29sb3I6cmdiYSg3NCwyMDksNzQsLjY5KTtmb250LWZhbWlseTpEYXNoaWNvbnM7Y29udGVudDpcIlxcZjE0N1wifSNvcHRpb25zLXVwZGF0ZWQgbGk6bGFzdC1jaGlsZDpiZWZvcmV7Y29udGVudDpcIlwiO2ZvbnQtZmFtaWx5OlwiXCI7bWFyZ2luLWxlZnQ6MTVweDttYXJnaW4tdG9wOjJlbSFpbXBvcnRhbnR9I29wdGlvbnMtdXBkYXRlZCBsaXttYXJnaW46MWVtIDB9LnVwZ3JhZGluZy1lbGxpcHNlLW9uZXstd2Via2l0LWFuaW1hdGlvbi1kZWxheTowbXM7YW5pbWF0aW9uOmRvdCAxLjNzIGluZmluaXRlO2FuaW1hdGlvbi1kZWxheTowbXN9LnVwZ3JhZGluZy1lbGxpcHNlLXR3b3std2Via2l0LWFuaW1hdGlvbi1kZWxheTouMnM7YW5pbWF0aW9uOmRvdCAxLjNzIGluZmluaXRlO2FuaW1hdGlvbi1kZWxheTouMnN9LnVwZ3JhZGluZy1lbGxpcHNlLXRocmVle29wYWNpdHk6MDstd2Via2l0LWFuaW1hdGlvbjpkb3QgMS4zcyBpbmZpbml0ZTstd2Via2l0LWFuaW1hdGlvbi1kZWxheTouM3M7YW5pbWF0aW9uOmRvdCAxLjNzIGluZmluaXRlO2FuaW1hdGlvbi1kZWxheTouM3N9QGtleWZyYW1lcyBkb3R7MCUsNTAle29wYWNpdHk6MH0xMDAle29wYWNpdHk6MX19Il19 */
|
1 |
+
.migrate-options-notice{display:none}.migration-complete-notification{margin-top:2em;font-size:18px;font-weight:200}#options-updated li:before{background:#fcfcfc;border-radius:50%;margin-right:5px;color:rgba(74,209,74,.69);font-family:Dashicons;content:"\f147"}#options-updated li:last-child:before{content:"";font-family:"";margin-left:15px;margin-top:2em!important}#options-updated li{margin:1em 0}.upgrading-ellipse-one{opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:0ms;animation:dot 1.3s infinite;animation-delay:0ms}.upgrading-ellipse-two{opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:.2s;animation:dot 1.3s infinite;animation-delay:.2s}.upgrading-ellipse-three{opacity:0;-webkit-animation:dot 1.3s infinite;-webkit-animation-delay:.3s;animation:dot 1.3s infinite;animation-delay:.3s}@keyframes dot{0%{opacity:0}50%{opacity:0}100%{opacity:1}}
|
|
admin/js/min/yikes-inc-easy-mailchimp-dashboard-widget.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
window.Yikes_MailChimp_Dashboard_Widget=window.Yikes_MailChimp_Dashboard_Widget||{},function(
|
1 |
+
window.Yikes_MailChimp_Dashboard_Widget=window.Yikes_MailChimp_Dashboard_Widget||{},function(e,t,a,i,s){"use strict";i.l10n=e.yikes_mailchimp_dsahboard_widget||{},i.cache=function(){i.$={},i.$.change_list=a(t.getElementById("yikes-easy-mc-dashboard-change-list")),i.$.widget_stats=a(t.getElementById("yikes-easy-mc-dashboard-widget-stats")),i.$.preloader=a(".yikes-easy-mc-widget-preloader")},i.new_list_data=function(){i.$.widget_stats.children().not(".yikes-easy-mc-widget-preloader").fadeTo("fast",".5"),i.$.widget_stats.append(i.l10n.preloader);var e={action:"get_new_list_data",list_id:a(this).val()};return a.ajax({url:i.l10n.ajax_url,type:"POST",data:e,success:function(e,t,a){console.log(e),i.$.preloader.remove(),i.$.widget_stats.children().fadeTo("fast","1"),i.$.widget_stats.html(e)},error:function(e,t,a){alert(t+e.status+e.responseText+"...")},complete:function(e,t){}}),!1},i.init=function(){i.cache(),i.$.change_list.on("change",i.new_list_data)},a(t).ready(i.init)}(window,document,jQuery,Yikes_MailChimp_Dashboard_Widget);
|
admin/js/min/yikes-inc-easy-mailchimp-extender-admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function YIKES_Easy_MC_SwitchForm(e){window.location.replace(object_data.admin_url+"admin.php?page=yikes-mailchimp-edit-form&id="+e)}function toggleOptinValue(e){"true"==e.value?jQuery(".yks-mailchimp-single-optin-message").slideUp("fast",function(){jQuery(".yks-mailchimp-double-optin-message").slideDown("fast")}):jQuery(".yks-mailchimp-double-optin-message").slideUp("fast",function(){jQuery(".yks-mailchimp-single-optin-message").slideDown("fast")})}function toggleDeleteSubscriberButton(e){e.prop("checked")?jQuery("#delete-mailchimp-subscriber").removeAttr("disabled"):jQuery("#delete-mailchimp-subscriber").attr("disabled","disabled")}function checkForInterestGroups(e,s,t){var i=e.parents("li").find(".interest-groups-container").children().length;if(0==i)e.parents("li").find(".interest-groups-container").append("<p>"+object_data.locating_interest_groups+'<span class="upgrading-ellipse-one">.</span><span class="upgrading-ellipse-two">.</span><span class="upgrading-ellipse-three">.</span><img class="search-interest-group-preloader" src="'+object_data.preloader_url+'" /></p>');else{var a=1;e.parents("li").find(".interest-groups-container").children().each(function(){jQuery(this).fadeOut("fast",function(){jQuery(this).remove(),a==i&&e.parents("li").find(".interest-groups-container").append("<p>"+object_data.locating_interest_groups+'<span class="upgrading-ellipse-one">.</span><span class="upgrading-ellipse-two">.</span><span class="upgrading-ellipse-three">.</span><img class="search-interest-group-preloader" src="'+object_data.preloader_url+'" /></p>'),console.log(a),a++})})}var r={action:"check_list_for_interest_groups",list_id:s,integration:t};jQuery.ajax({url:object_data.ajax_url,type:"POST",data:r,dataType:"html",success:function(s,t,i){setTimeout(function(){e.parents("li").find(".interest-groups-container").html(s)},500)},error:function(e,s,t){alert(s+e.status+e.responseText+"...")},complete:function(e,s){}}),console.log(s)}function remove_interest_groups_for_list_checkbox_integrations(e){jQuery(e).parents("label").next(".integration-checkbox-interest-groups").slideUp(function(){jQuery(this).remove()})}function display_interest_groups_for_list_checkbox_integrations(e){display_interest_groups_loading_spinner(e),fetch_interest_groups_by_list_id(jQuery(e).val(),jQuery(e).data("integration"),e)}function fetch_interest_groups_by_list_id(e,s,t){var i={action:"check_list_for_interest_groups",list_id:e,integration:s};jQuery.ajax({url:object_data.ajax_url,type:"POST",data:i,dataType:"html",success:function(e,s,i){jQuery(t).parents("label").children(".interest-groups-loading").remove(),jQuery(t).parents("label").after(e)},error:function(e,s,t){alert(s+e.status+e.responseText+"...")},complete:function(e,s){}})}function display_interest_groups_loading_spinner(e){jQuery(e).parents("label").append('<p class="interest-groups-loading">'+object_data.locating_interest_groups+'<span class="upgrading-ellipse-one">.</span> \r\t\t\t<span class="upgrading-ellipse-two">.</span><span class="upgrading-ellipse-three">.</span> \r\t\t\t<img class="search-interest-group-preloader" src="'+object_data.preloader_url+'" /> \r\t\t</p>')}function shouldWeDisplayCustomURL(e){"custom_url"==jQuery(e).val()?jQuery(".custom_redirect_url_label").fadeIn():jQuery(".custom_redirect_url_label").fadeOut()}function show_custom_messages_based_on_optin_settings(){show_custom_resub_messages_based_on_optin_settings(),show_custom_success_messages_based_on_optin_settings()}function yikes_mc_hide_custom_resub_messages(){jQuery(".yikes-easy-mc-custom-messages-email-section, .yikes-easy-mc-custom-messages-email-section-help").fadeOut(),jQuery('label[for="yikes-easy-mc-user-resubscribed-success-message"], label[for="yikes-easy-mc-user-subscribed-message"], \r\t\t\tlabel[for="yikes-easy-mc-user-subscribed-update-link"]').hide(),jQuery(".yikes-easy-mc-user-resubscribed-success-message-help, .yikes-easy-mc-user-subscribed-message-help, \r\t\t\t.yikes-easy-mc-user-subscribed-update-link-help").hide(),jQuery('label[for="yikes-easy-mc-update-email-successful"], label[for="yikes-easy-mc-update-email-failure"], \r\t\t\t .yikes-easy-mc-update-email-successful-help, .yikes-easy-mc-update-email-failure-help').hide()}function yikes_mc_hide_custom_optin_messages(){jQuery('label[for="yikes-easy-mc-success-single-optin-message"], label[for="yikes-easy-mc-success-message"]').hide(),jQuery(".yikes-easy-mc-success-single-optin-message-help, .yikes-easy-mc-success-message-help").hide()}function show_custom_resub_messages_based_on_optin_settings(){yikes_mc_hide_custom_resub_messages();var e=jQuery("#update-user").is(":checked"),s=jQuery("#update-email").is(":checked");!1===e&&jQuery('label[for="yikes-easy-mc-user-subscribed-message"], .yikes-easy-mc-user-subscribed-message-help').fadeIn(),!0===e&&!0===s&&jQuery('label[for="yikes-easy-mc-user-subscribed-update-link"], .yikes-easy-mc-custom-messages-email-section, \r\t\t\t\t.yikes-easy-mc-user-subscribed-update-link-help, .yikes-easy-mc-custom-messages-email-section-help, \r\t\t\t\tlabel[for="yikes-easy-mc-update-email-successful"], label[for="yikes-easy-mc-update-email-failure"], \r\t\t\t\t.yikes-easy-mc-update-email-successful-help, .yikes-easy-mc-update-email-failure-help').fadeIn(),!0===e&&!1===s&&jQuery('label[for="yikes-easy-mc-user-resubscribed-success-message"], .yikes-easy-mc-user-resubscribed-success-message-help').fadeIn()}function show_custom_success_messages_based_on_optin_settings(){yikes_mc_hide_custom_optin_messages(),!0===jQuery("#single").is(":checked")?jQuery('label[for="yikes-easy-mc-success-single-optin-message"], .yikes-easy-mc-success-single-optin-message-help ').fadeIn():jQuery('label[for="yikes-easy-mc-success-message"], .yikes-easy-mc-success-message-help').fadeIn()}!function(e){"use strict";e(document).ready(function(){show_custom_messages_based_on_optin_settings(),e('input[name="update-existing-user"]').change(show_custom_resub_messages_based_on_optin_settings),e('input[name="update-existing-email"]').change(show_custom_resub_messages_based_on_optin_settings),e('input[name="single-double-optin"]').change(show_custom_success_messages_based_on_optin_settings),e("body").on("click",".view-yikes-mc-form-shortcode",function(){var e=jQuery(this);jQuery(this).parents("tr").find(".form-id-container").text();return e.parents("tr").find(".stat-container").toggleClass("hidden-class"),e.parents("tr").find(".shortcode").toggleClass("hidden-class"),e.toggleText(),!1}),e("body").on("click",".disabled",function(){return!1}),e("body").hasClass("admin_page_yikes-mailchimp-edit-form")||e(".show-some-love-container").css("max-height",jQuery(".show-some-love-container").height()),e(".checkbox-settings-list-item").click(function(){jQuery(this).is(":checked")?display_interest_groups_for_list_checkbox_integrations(this):remove_interest_groups_for_list_checkbox_integrations(this)}),e("body").on("click",".yikes-mailchimp-toggle-ig",function(){var s=e(this);s.hasClass("dashicons-arrow-down-alt2")?(s.siblings(".integration-checkbox-interest-groups-interior").slideUp(),s.removeClass("dashicons-arrow-down-alt2").addClass("dashicons-arrow-right-alt2")):(s.siblings(".integration-checkbox-interest-groups-interior").slideDown(),s.removeClass("dashicons-arrow-right-alt2").addClass("dashicons-arrow-down-alt2"))}),e("body").on("click",".about-yikes-inc-toggle",function(){if(jQuery(this).toggleText(),jQuery(".show-some-love-container").find("h3").toggleText(),jQuery(this).hasClass("show-yikes-some-love-toggle")){jQuery(this).removeClass("show-yikes-some-love-toggle");var e=jQuery(".show-some-love-container").find("h3").first().height()+24,s=jQuery("#review-yikes-easy-mc").height()+24,t=jQuery(".sidebar-footer-text").first().height()+12,i=jQuery(".sidebar-footer-text").last().height()+13,a=parseInt(e+s+t+i);return jQuery(".show-some-love-container").css("max-height",a),jQuery("#about-yikes-inc").fadeOut(720,function(){jQuery(".sidebar-footer-text").first().fadeIn(450),jQuery("#review-yikes-easy-mc").fadeIn(450)}),!1}jQuery(this).toggleClass("show-yikes-some-love-toggle");
|
1 |
+
function YIKES_Easy_MC_SwitchForm(e){window.location.replace(object_data.admin_url+"admin.php?page=yikes-mailchimp-edit-form&id="+e)}function toggleOptinValue(e){"true"==e.value?jQuery(".yks-mailchimp-single-optin-message").slideUp("fast",function(){jQuery(".yks-mailchimp-double-optin-message").slideDown("fast")}):jQuery(".yks-mailchimp-double-optin-message").slideUp("fast",function(){jQuery(".yks-mailchimp-single-optin-message").slideDown("fast")})}function toggleDeleteSubscriberButton(e){e.prop("checked")?jQuery("#delete-mailchimp-subscriber").removeAttr("disabled"):jQuery("#delete-mailchimp-subscriber").attr("disabled","disabled")}function checkForInterestGroups(e,s,t){var i=e.parents("li").find(".interest-groups-container").children().length;if(0==i)e.parents("li").find(".interest-groups-container").append("<p>"+object_data.locating_interest_groups+'<span class="upgrading-ellipse-one">.</span><span class="upgrading-ellipse-two">.</span><span class="upgrading-ellipse-three">.</span><img class="search-interest-group-preloader" src="'+object_data.preloader_url+'" /></p>');else{var a=1;e.parents("li").find(".interest-groups-container").children().each(function(){jQuery(this).fadeOut("fast",function(){jQuery(this).remove(),a==i&&e.parents("li").find(".interest-groups-container").append("<p>"+object_data.locating_interest_groups+'<span class="upgrading-ellipse-one">.</span><span class="upgrading-ellipse-two">.</span><span class="upgrading-ellipse-three">.</span><img class="search-interest-group-preloader" src="'+object_data.preloader_url+'" /></p>'),console.log(a),a++})})}var r={action:"check_list_for_interest_groups",list_id:s,integration:t};jQuery.ajax({url:object_data.ajax_url,type:"POST",data:r,dataType:"html",success:function(s,t,i){setTimeout(function(){e.parents("li").find(".interest-groups-container").html(s)},500)},error:function(e,s,t){alert(s+e.status+e.responseText+"...")},complete:function(e,s){}}),console.log(s)}function remove_interest_groups_for_list_checkbox_integrations(e){jQuery(e).parents("label").next(".integration-checkbox-interest-groups").slideUp(function(){jQuery(this).remove()})}function display_interest_groups_for_list_checkbox_integrations(e){display_interest_groups_loading_spinner(e),fetch_interest_groups_by_list_id(jQuery(e).val(),jQuery(e).data("integration"),e)}function fetch_interest_groups_by_list_id(e,s,t){var i={action:"check_list_for_interest_groups",list_id:e,integration:s};jQuery.ajax({url:object_data.ajax_url,type:"POST",data:i,dataType:"html",success:function(e,s,i){jQuery(t).parents("label").children(".interest-groups-loading").remove(),jQuery(t).parents("label").after(e)},error:function(e,s,t){alert(s+e.status+e.responseText+"...")},complete:function(e,s){}})}function display_interest_groups_loading_spinner(e){jQuery(e).parents("label").append('<p class="interest-groups-loading">'+object_data.locating_interest_groups+'<span class="upgrading-ellipse-one">.</span> \r\t\t\t<span class="upgrading-ellipse-two">.</span><span class="upgrading-ellipse-three">.</span> \r\t\t\t<img class="search-interest-group-preloader" src="'+object_data.preloader_url+'" /> \r\t\t</p>')}function shouldWeDisplayCustomURL(e){"custom_url"==jQuery(e).val()?jQuery(".custom_redirect_url_label").fadeIn():jQuery(".custom_redirect_url_label").fadeOut()}function show_custom_messages_based_on_optin_settings(){show_custom_resub_messages_based_on_optin_settings(),show_custom_success_messages_based_on_optin_settings()}function yikes_mc_hide_custom_resub_messages(){jQuery(".yikes-easy-mc-custom-messages-email-section, .yikes-easy-mc-custom-messages-email-section-help").fadeOut(),jQuery('label[for="yikes-easy-mc-user-resubscribed-success-message"], label[for="yikes-easy-mc-user-subscribed-message"], \r\t\t\tlabel[for="yikes-easy-mc-user-subscribed-update-link"]').hide(),jQuery(".yikes-easy-mc-user-resubscribed-success-message-help, .yikes-easy-mc-user-subscribed-message-help, \r\t\t\t.yikes-easy-mc-user-subscribed-update-link-help").hide(),jQuery('label[for="yikes-easy-mc-update-email-successful"], label[for="yikes-easy-mc-update-email-failure"], \r\t\t\t .yikes-easy-mc-update-email-successful-help, .yikes-easy-mc-update-email-failure-help').hide()}function yikes_mc_hide_custom_optin_messages(){jQuery('label[for="yikes-easy-mc-success-single-optin-message"], label[for="yikes-easy-mc-success-message"]').hide(),jQuery(".yikes-easy-mc-success-single-optin-message-help, .yikes-easy-mc-success-message-help").hide()}function show_custom_resub_messages_based_on_optin_settings(){yikes_mc_hide_custom_resub_messages();var e=jQuery("#update-user").is(":checked"),s=jQuery("#update-email").is(":checked");!1===e&&jQuery('label[for="yikes-easy-mc-user-subscribed-message"], .yikes-easy-mc-user-subscribed-message-help').fadeIn(),!0===e&&!0===s&&jQuery('label[for="yikes-easy-mc-user-subscribed-update-link"], .yikes-easy-mc-custom-messages-email-section, \r\t\t\t\t.yikes-easy-mc-user-subscribed-update-link-help, .yikes-easy-mc-custom-messages-email-section-help, \r\t\t\t\tlabel[for="yikes-easy-mc-update-email-successful"], label[for="yikes-easy-mc-update-email-failure"], \r\t\t\t\t.yikes-easy-mc-update-email-successful-help, .yikes-easy-mc-update-email-failure-help').fadeIn(),!0===e&&!1===s&&jQuery('label[for="yikes-easy-mc-user-resubscribed-success-message"], .yikes-easy-mc-user-resubscribed-success-message-help').fadeIn()}function show_custom_success_messages_based_on_optin_settings(){yikes_mc_hide_custom_optin_messages(),!0===jQuery("#single").is(":checked")?jQuery('label[for="yikes-easy-mc-success-single-optin-message"], .yikes-easy-mc-success-single-optin-message-help ').fadeIn():jQuery('label[for="yikes-easy-mc-success-message"], .yikes-easy-mc-success-message-help').fadeIn()}!function(e){"use strict";e(document).ready(function(){show_custom_messages_based_on_optin_settings(),e('input[name="update-existing-user"]').change(show_custom_resub_messages_based_on_optin_settings),e('input[name="update-existing-email"]').change(show_custom_resub_messages_based_on_optin_settings),e('input[name="single-double-optin"]').change(show_custom_success_messages_based_on_optin_settings),e("body").on("click",".view-yikes-mc-form-shortcode",function(){var e=jQuery(this);jQuery(this).parents("tr").find(".form-id-container").text();return e.parents("tr").find(".stat-container").toggleClass("hidden-class"),e.parents("tr").find(".shortcode").toggleClass("hidden-class"),e.toggleText(),!1}),e("body").on("click",".disabled",function(){return!1}),e("body").hasClass("admin_page_yikes-mailchimp-edit-form")||e(".show-some-love-container").css("max-height",jQuery(".show-some-love-container").height()),e(".checkbox-settings-list-item").click(function(){jQuery(this).is(":checked")?display_interest_groups_for_list_checkbox_integrations(this):remove_interest_groups_for_list_checkbox_integrations(this)}),e("body").on("click",".yikes-mailchimp-toggle-ig",function(){var s=e(this);s.hasClass("dashicons-arrow-down-alt2")?(s.siblings(".integration-checkbox-interest-groups-interior").slideUp(),s.removeClass("dashicons-arrow-down-alt2").addClass("dashicons-arrow-right-alt2")):(s.siblings(".integration-checkbox-interest-groups-interior").slideDown(),s.removeClass("dashicons-arrow-right-alt2").addClass("dashicons-arrow-down-alt2"))}),e("body").on("click",".about-yikes-inc-toggle",function(){if(jQuery(this).toggleText(),jQuery(".show-some-love-container").find("h3").toggleText(),jQuery(this).hasClass("show-yikes-some-love-toggle")){jQuery(this).removeClass("show-yikes-some-love-toggle");var e=jQuery(".show-some-love-container").find("h3").first().height()+24,s=jQuery("#review-yikes-easy-mc").height()+24,t=jQuery(".sidebar-footer-text").first().height()+12,i=jQuery(".sidebar-footer-text").last().height()+13,a=parseInt(e+s+t+i);return jQuery(".show-some-love-container").css("max-height",a),jQuery("#about-yikes-inc").fadeOut(720,function(){jQuery(".sidebar-footer-text").first().fadeIn(450),jQuery("#review-yikes-easy-mc").fadeIn(450)}),!1}jQuery(this).toggleClass("show-yikes-some-love-toggle");e=jQuery(".show-some-love-container").find("h3").first().height()+24;var r=jQuery("#about-yikes-inc").height()+18;i=jQuery(".sidebar-footer-text").last().height()+18,a=parseInt(e+r+i);return jQuery(".sidebar-footer-text").first().hide(),jQuery(".show-some-love-container").addClass("about-yikes-inc").css("max-height",a),jQuery("#about-yikes-inc").show().css("opacity",0),jQuery("#review-yikes-easy-mc").fadeOut("fast",function(){jQuery("#about-yikes-inc").fadeTo(800,1)}),!1}),e.fn.toggleText=function(){var e=this.data("alt-text");e&&(this.data("alt-text",this.html()),this.html(e))}})}(jQuery);
|
admin/js/min/yikes-inc-easy-mailchimp-extender-edit-form.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function togglePageRedirection(e){var i=jQuery("#enable-ajax").is(":checked");1==e.value?(jQuery("#redirect-user-to-selection-label").fadeIn(),!0===i&&jQuery(".redirect-new-window-div").fadeIn()):jQuery("#redirect-user-to-selection-label, .redirect-new-window-div").fadeOut()}function storeGlobalClicked(e){var i=e.parents("td").find("input").attr("name");jQuery(".clicked-input").val(i)}function populateDefaultValue(e){var i=jQuery(".clicked-input").val();jQuery(".clicked-input").val(""),tb_remove(),jQuery('input[name="'+i+'"]').val(e)}function toggle_nested_section(e){switch(jQuery(e).val()){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(e).attr("name")?jQuery(".date-restriction-section").fadeToggle():jQuery(".login-restriction-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(e,i){event.preventDefault(),yikes_check_valid_date(e,i.lastVal,i.id)}}),jQuery(".time-picker").timepicker({scrollDefault:"now",timeFormat:"h:i A"}),jQuery(".time-picker").on("changeTime",function(e){var i=jQuery(this).attr("id");yikes_check_valid_date(jQuery("#yikes-easy-mc-form-restriction-start-date").val(),jQuery("#yikes-easy-mc-form-restriction-end-date").val(),i)})}function yikes_check_valid_date(e,i,t){var a=jQuery("#yikes-easy-mc-form-restriction-start-date").val(),s=yikes_12_to_24_hour_time_conversion(jQuery("#yikes-easy-mc-form-restriction-start-time").val()),n=jQuery("#yikes-easy-mc-form-restriction-end-date").val(),r=yikes_12_to_24_hour_time_conversion(jQuery("#yikes-easy-mc-form-restriction-end-time").val());if(new Date(a+" "+s)>new Date(n+" "+r)){if("yikes-easy-mc-form-restriction-start-date"!=t&&"yikes-easy-mc-form-restriction-end-date"!=t||jQuery("#"+t).val(i),jQuery(".date-restriction-section").find("p.description.error").length)return;jQuery(".date-restriction-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-restriction-section").find("p.description.error").remove()}function yikes_12_to_24_hour_time_conversion(e){if(!e)return"";var i=Number(e.match(/^(\d+)/)[1]),t=Number(e.match(/:(\d+)/)[1]),a=e.match(/\s(.*)$/)[1];"PM"==a&&i<12&&(i+=12),"AM"==a&&12==i&&(i-=12);var s=i.toString(),n=t.toString();return i<10&&(s="0"+s),t<10&&(n="0"+n),s+":"+n}function toggleUpdateEmailContainer(e){jQuery(".send-update-email").stop().fadeToggle()}function yikes_mc_prevent_default_stop_prop(e){e.preventDefault(),e.stopPropagation()}function yikes_mc_toggle_field_label_edit(e){jQuery(e).siblings(".yikes-mc-edit-field-label-input").val(jQuery(e).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-label").val());var i=jQuery(e).siblings(".yikes-mc-expansion-section-field-label, .field-type-text"),t=jQuery(e).siblings(".yikes-mc-edit-field-label-input, .yikes-mc-save-field-label-edits-icon");jQuery(e).hasClass("dashicons-no")?(i=jQuery(e).siblings(".yikes-mc-edit-field-label-input, .yikes-mc-save-field-label-edits-icon"),t=jQuery(e).siblings(".yikes-mc-expansion-section-field-label, .field-type-text"),e.title=yikes_mailchimp_edit_form.edit_field_label_pencil_title):e.title=yikes_mailchimp_edit_form.edit_field_label_cancel_title,jQuery(e).toggleClass("dashicons-no dashicons-edit"),i.fadeToggle().promise().done(function(){t.fadeToggle()})}function yikes_mc_save_field_label_name(e,i,t){var a={action:"save_field_label_edits",list_id:i,field_data:t,nonce:yikes_mailchimp_edit_form.save_field_label_nonce};jQuery.post(yikes_mailchimp_edit_form.ajax_url,a,function(i){if("undefined"!==i&&"undefined"!==i.success)if(!0===i.success){var a=t.field_name;yikes_mc_update_field_label(e,a),yikes_mc_toggle_field_label_edit(jQuery(e).siblings(".dashicons-no"))}else{var s="";"undefined"!==i.data&&"undefined"!==i.data.message&&(s=i.data.message,yikes_mc_display_field_label_error_message(e,s))}})}function yikes_mc_update_field_label(e,i){jQuery(e).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-label").val(i),jQuery(e).siblings(".yikes-mc-expansion-section-field-label").text(i)}function yikes_mc_display_field_label_error_message(e,i){jQuery(e).siblings(".yikes-mc-edit-field-label-message").fadeOut(function(){jQuery(this).text(i).fadeIn()})}window.Yikes_MailChimp_Edit_Form=window.Yikes_MailChimp_Edit_Form||{},window.yikes_mailchimp_edit_form=window.yikes_mailchimp_edit_form||{},function(e,i,t,a,s){"use strict";a.l10n=e.yikes_mailchimp_edit_form||{},t(i).ready(function(){jQuery("#form-builder-container").children().length>0&&jQuery(".edit-form-description-form-builder").hide(),t("body").find("#form-builder-container").sortable({items:".draggable:not(.non-draggable-yikes)",axis:"y",placeholder:"form-builder-placeholder",update:function(){var e=1;jQuery("#form-builder-container").find(".draggable").each(function(){jQuery(this).find(".position-input").val(e),e++})}}),t("body").on("click",".remove-field",function(){var e=jQuery(this).attr("alt"),i=jQuery(this);return t(this).parents(".yikes-mc-settings-expansion-section").prev().find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),t(this).parents(".yikes-mc-settings-expansion-section").slideToggle(450,function(){i.parents(".draggable").find(".expansion-section-title").css("background","rgb(255, 134, 134)"),i.parents(".draggable").fadeOut("slow",function(){jQuery("#available-fields").find('li[alt="'+e+'"]').removeClass("not-available"),jQuery("#available-interest-groups").find('li[alt="'+e+'"]').removeClass("not-available"),jQuery(this).remove(),t("#form-builder-container").find(".draggable").length<1&&(t(".clear-form-fields").hide(),t(".clear-form-fields").next().hide(),t("#form-builder-container").html('<h4 class="no-fields-assigned-notice non-draggable-yikes"><em>'+a.l10n.no_fields_assigned+"</em></h4>"))})}),!1}),t("body").on("click",".hide-field",function(){return t(this).parents(".yikes-mc-settings-expansion-section").slideToggle(450).prev().find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),!1}),t("body").on("click",".add-field-to-editor",function(){return jQuery(".edit-form-description-form-builder").show(),t(".field-to-add-to-form").each(function(){var e=t("#form-builder-container").find(".draggable").length,i=t(this),s=i.attr("alt");t("#available-fields").children("li").removeClass("available-form-field");var n=t(this);n.attr("disabled","disabled").attr("onclick","return false;").removeClass("add-field-to-editor");var r={action:"add_field_to_form",field_name:i.attr("data-attr-field-name"),merge_tag:s,field_type:i.attr("data-attr-field-type"),list_id:i.attr("data-attr-form-id")};t.ajax({url:a.l10n.ajax_url,type:"POST",data:r,dataType:"html",success:function(a,n,r){i.removeClass("field-to-add-to-form").addClass("not-available"),t(".add-field-to-editor").hide(),t(".no-fields-assigned-notice").is(":visible")&&t("#form-builder-container").html(""),t("#form-builder-container").append(a),t(".clear-form-fields").show(),t(".clear-form-fields").next().show(),t(".field-"+s+"-position").val(parseInt(e+1))},error:function(e,i,t){alert(i+e.status+e.responseText+"...")},complete:function(e,i){t("#available-fields").children("li").addClass("available-form-field"),n.removeAttr("disabled").removeAttr("onclick"),t(".add-field-to-editor").hide()}})}),!1}),t("body").on("click",".add-interest-group-to-editor",function(){var e=t("#form-builder-container").find(".draggable").length,i=[];t(".group-to-add-to-form").each(function(){i.push({group_id:t(this).attr("alt"),field_type:t(this).attr("data-attr-field-type"),field_name:t(this).attr("data-attr-field-name")})}),t("#available-interest-groups").children("li").removeClass("available-interest-group");var s=t(this);s.attr("disabled","disabled").attr("onclick","return false;").removeClass("add-interest-group-to-editor");var n={action:"add_interest_group_to_form",interest_groups:i,list_id:t(".group-to-add-to-form").attr("data-attr-form-id")};return t.ajax({url:a.l10n.ajax_url,type:"POST",data:n,dataType:"html",success:function(i,a,s){t(".group-to-add-to-form").removeClass("group-to-add-to-form").addClass("not-available"),t(".add-interest-group-to-editor").hide(),e<1?(t("#form-builder-container").html("").append(i),t(".clear-form-fields").show(),t(".clear-form-fields").next().show()):t("#form-builder-container").append(i)},error:function(e,i,t){alert(i+e.status+e.responseText+"...")},complete:function(e,i){t("#available-interest-groups").children("li").addClass("available-interest-group"),s.removeAttr("disabled").removeAttr("onclick").addClass("add-interest-group-to-editor"),t(".add-interest-group-to-editor").hide()}}),!1}),t(".color-picker").each(function(){t(this).wpColorPicker()}),t("body").on("click",".expansion-section-title",function(){return t(this).next().stop().slideToggle(),t(this).find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),!1}),t("body").on("click",".available-form-field",function(){if(t(this).hasClass("not-available"))return!1;t(this).hasClass("field-to-add-to-form")?(t(this).removeClass("field-to-add-to-form"),t(".add-field-to-editor").stop().fadeOut()):(t(this).toggleClass("field-to-add-to-form"),t(".add-field-to-editor").stop().fadeIn())}),t("body").on("click",".available-interest-group",function(){if(t(this).hasClass("not-available"))return!1;t(this).hasClass("group-to-add-to-form")?t(this).removeClass("group-to-add-to-form"):t(this).toggleClass("group-to-add-to-form"),t(".group-to-add-to-form").length>0?t(".add-interest-group-to-editor").stop().fadeIn():t(".add-interest-group-to-editor").stop().fadeOut()}),t("body").on("click",".hidden_setting",function(){t(".hidden_setting").removeClass("selected_hidden_setting"),t(".selected_setting_triangle").remove(),t(this).addClass("selected_hidden_setting").append('<div class="selected_setting_triangle"></div>');var e=t(this).attr("data-attr-container");t(".hidden-setting-label").hide(),t("#"+e).show()}),t("body").on("click",".close-form-expansion",function(){return t(this).parents(".yikes-mc-settings-expansion-section").slideToggle().prev().find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),!1}),t("body").on("click",".mv_ig_list .nav-tab",function(){return!t(this).hasClass("nav-tab-active")&&(!t(this).hasClass("nav-tab-disabled")&&(t(".mv_ig_list .nav-tab").removeClass("nav-tab-active"),t(".arrow-down").remove(),t(this).addClass("nav-tab-active").prepend('<div class="arrow-down"></div>'),t(".mv_ig_list .nav-tab").addClass("nav-tab-disabled"),"merge-variables"==t(this).attr("alt")?(t("#merge-variables-container").stop().animate({left:"0px"},function(){t(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")}),t("#interest-groups-container").stop().animate({left:"+=278px"},function(){t(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")})):(t("#merge-variables-container").stop().animate({left:"-=278px"},function(){t(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")}),t("#interest-groups-container").stop().animate({left:"-=278px"},function(){t(".mv_ig_list .nav-tab").removeClass("nav-tab-disabled")})),!1))}),t("body").on("click",".clear-form-fields",function(){return confirm(a.l10n.bulk_delete_alert)&&t("#form-builder").find(".draggable").find(".expansion-section-title").each(function(){t(this).css("background","rgb(255, 134, 134)");var e=t(this).parents(".draggable").find(".remove-field").attr("alt");t(this).fadeOut("slow",function(){t("#available-fields").find('li[alt="'+e+'"]').removeClass("not-available"),t("#available-interest-groups").find('li[alt="'+e+'"]').removeClass("not-available"),t(this).remove(),t(".clear-form-fields").hide(),t(".clear-form-fields").next().hide(),t(".available-form-field").each(function(){t(this).removeClass("not-available")}),t("#form-builder-container").html('<h4 class="no-fields-assigned-notice non-draggable-yikes"><em>'+a.l10n.no_fields_assigned+"</em></h4>")})}),!1}),t(".yikes-mc-edit-field-label-icon").click(function(e){yikes_mc_prevent_default_stop_prop(e),jQuery(this).siblings(".yikes-mc-edit-field-label-message").fadeOut(),yikes_mc_toggle_field_label_edit(this)}),t(".yikes-mc-edit-field-label-input").click(function(e){yikes_mc_prevent_default_stop_prop(e)}),t(".yikes-mc-save-field-label-edits-icon").click(function(e){yikes_mc_prevent_default_stop_prop(e),jQuery(this).siblings(".yikes-mc-edit-field-label-message").fadeOut();var i=this,t=jQuery("#form-builder-div").data("list-id"),a=jQuery(this).siblings(".yikes-mc-edit-field-label-input").val(),s={field_name:a,field_id:jQuery(this).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-id").val()};jQuery(this).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-label").val()!==a?yikes_mc_save_field_label_name(i,t,s):yikes_mc_toggle_field_label_edit(jQuery(this).siblings(".yikes-mc-edit-field-label-icon"))}),initialize_form_schedule_time_pickers(),t(".yikes-enable-disable-ajax").click(function(){var e=t("#enable-ajax").is(":checked"),i=t("#redirect-user").is(":checked");!0===e&&!0===i?t(".redirect-new-window-div").fadeIn():t(".redirect-new-window-div").fadeOut()})})}(window,document,jQuery,Yikes_MailChimp_Edit_Form);
|
1 |
+
function togglePageRedirection(e){var i=jQuery("#enable-ajax").is(":checked");1==e.value?(jQuery("#redirect-user-to-selection-label").fadeIn(),!0===i&&jQuery(".redirect-new-window-div").fadeIn()):jQuery("#redirect-user-to-selection-label, .redirect-new-window-div").fadeOut()}function storeGlobalClicked(e){var i=e.parents("td").find("input").attr("name");jQuery(".clicked-input").val(i)}function populateDefaultValue(e){var i=jQuery(".clicked-input").val();jQuery(".clicked-input").val(""),tb_remove(),jQuery('input[name="'+i+'"]').val(e)}function toggle_nested_section(e){switch(jQuery(e).val()){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(e).attr("name")?jQuery(".date-restriction-section").fadeToggle():jQuery(".login-restriction-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(e,i){event.preventDefault(),yikes_check_valid_date(e,i.lastVal,i.id)}}),jQuery(".time-picker").timepicker({scrollDefault:"now",timeFormat:"h:i A"}),jQuery(".time-picker").on("changeTime",function(e){var i=jQuery(this).attr("id");yikes_check_valid_date(jQuery("#yikes-easy-mc-form-restriction-start-date").val(),jQuery("#yikes-easy-mc-form-restriction-end-date").val(),i)})}function yikes_check_valid_date(e,i,t){var a=jQuery("#yikes-easy-mc-form-restriction-start-date").val(),n=yikes_12_to_24_hour_time_conversion(jQuery("#yikes-easy-mc-form-restriction-start-time").val()),s=jQuery("#yikes-easy-mc-form-restriction-end-date").val(),o=yikes_12_to_24_hour_time_conversion(jQuery("#yikes-easy-mc-form-restriction-end-time").val());if(new Date(a+" "+n)>new Date(s+" "+o)){if("yikes-easy-mc-form-restriction-start-date"!=t&&"yikes-easy-mc-form-restriction-end-date"!=t||jQuery("#"+t).val(i),jQuery(".date-restriction-section").find("p.description.error").length)return;jQuery(".date-restriction-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-restriction-section").find("p.description.error").remove()}function yikes_12_to_24_hour_time_conversion(e){if(!e)return"";var i=Number(e.match(/^(\d+)/)[1]),t=Number(e.match(/:(\d+)/)[1]),a=e.match(/\s(.*)$/)[1];"PM"==a&&i<12&&(i+=12),"AM"==a&&12==i&&(i-=12);var n=i.toString(),s=t.toString();return i<10&&(n="0"+n),t<10&&(s="0"+s),n+":"+s}function toggleUpdateEmailContainer(e){jQuery(".send-update-email").stop().fadeToggle()}function yikes_mc_prevent_default_stop_prop(e){e.preventDefault(),e.stopPropagation()}function yikes_mc_toggle_field_label_edit(e){jQuery(e).siblings(".yikes-mc-edit-field-label-input").val(jQuery(e).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-label").val());var i=jQuery(e).siblings(".yikes-mc-expansion-section-field-label, .field-type-text"),t=jQuery(e).siblings(".yikes-mc-edit-field-label-input, .yikes-mc-save-field-label-edits-icon");jQuery(e).hasClass("dashicons-no")?(i=jQuery(e).siblings(".yikes-mc-edit-field-label-input, .yikes-mc-save-field-label-edits-icon"),t=jQuery(e).siblings(".yikes-mc-expansion-section-field-label, .field-type-text"),e.title=yikes_mailchimp_edit_form.edit_field_label_pencil_title):e.title=yikes_mailchimp_edit_form.edit_field_label_cancel_title,jQuery(e).toggleClass("dashicons-no dashicons-edit"),i.fadeToggle().promise().done(function(){t.fadeToggle()})}function yikes_mc_save_field_label_name(e,i,t){var a={action:"save_field_label_edits",list_id:i,field_data:t,nonce:yikes_mailchimp_edit_form.save_field_label_nonce};jQuery.post(yikes_mailchimp_edit_form.ajax_url,a,function(i){if("undefined"!==i&&"undefined"!==i.success)if(!0===i.success){var a=t.field_name;yikes_mc_update_field_label(e,a),yikes_mc_toggle_field_label_edit(jQuery(e).siblings(".dashicons-no"))}else{var n="";"undefined"!==i.data&&"undefined"!==i.data.message&&(n=i.data.message,yikes_mc_display_field_label_error_message(e,n))}})}function yikes_mc_update_field_label(e,i){jQuery(e).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-label").val(i),jQuery(e).siblings(".yikes-mc-expansion-section-field-label").text(i)}function yikes_mc_display_field_label_error_message(e,i){jQuery(e).siblings(".yikes-mc-edit-field-label-message").fadeOut(function(){jQuery(this).text(i).fadeIn()})}window.Yikes_MailChimp_Edit_Form=window.Yikes_MailChimp_Edit_Form||{},window.yikes_mailchimp_edit_form=window.yikes_mailchimp_edit_form||{},function(e,i,t,a,n){"use strict";function s(){return t("#form-builder-div").data("list-id")}function o(){return t("#form-builder-div").data("form-id")}function l(e){const i=t(".tags-title-container");t.each(e,function(e,t){const a=function(e){return`<span class="mailchimp-tag" id="${e.id}" data-tag-name="${e.name}" data-tag-id="${e.id}">${e.name}<span class="tag-divider"></span><span class="dashicons dashicons-no-alt"></span></span>`}(t);i.append(a)}),r()}function r(){const e=t(".tags-title");0===t(".mailchimp-tag").length?e.slideUp():e.slideDown()}a.l10n=e.yikes_mailchimp_edit_form||{},t(i).ready(function(){!function(){const e={};t("#available-tags .not-available").each(function(i,a){const n=t(a),s=n.data("tag-id"),o=n.data("tag-name");e[s]={id:s,name:o}}),l(e)}(),0===jQuery("#form-builder-container > section").length&&jQuery(".edit-form-description-form-builder").hide(),t("body").find("#form-builder-container").sortable({items:".draggable:not(.non-draggable-yikes)",axis:"y",placeholder:"form-builder-placeholder",update:function(){var e=1;jQuery("#form-builder-container").find(".draggable").each(function(){jQuery(this).find(".position-input").val(e),e++})}}),t("body").on("click",".remove-field",function(){var e=jQuery(this).attr("alt"),i=jQuery(this);return t(this).parents(".yikes-mc-settings-expansion-section").prev().find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),t(this).parents(".yikes-mc-settings-expansion-section").slideToggle(450,function(){i.parents(".draggable").find(".expansion-section-title").css("background","rgb(255, 134, 134)"),i.parents(".draggable").fadeOut("slow",function(){jQuery("#available-fields").find('li[alt="'+e+'"]').removeClass("not-available"),jQuery("#available-interest-groups").find('li[alt="'+e+'"]').removeClass("not-available"),jQuery(this).remove(),t("#form-builder-container").find(".draggable").length<1&&(t(".clear-form-fields").hide(),t(".clear-form-fields").next().hide(),t("#form-builder-container").html('<h4 class="no-fields-assigned-notice non-draggable-yikes"><em>'+a.l10n.no_fields_assigned+"</em></h4>"))})}),!1}),t("body").on("click",".hide-field",function(){return t(this).parents(".yikes-mc-settings-expansion-section").slideToggle(450).prev().find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),!1}),t("body").on("click",".add-field-to-editor",function(){jQuery(".edit-form-description-form-builder").show();const e=t(this);return t("#available-fields .add-to-form").each(function(){var i=t("#form-builder-container").find(".draggable").length,n=t(this),o=n.attr("alt");t("#available-fields li").removeClass("available-field"),e.attr("disabled","disabled").attr("onclick","return false;").removeClass("add-field-to-editor");var l={action:"add_field_to_form",field_name:n.attr("data-attr-field-name"),merge_tag:o,field_type:n.attr("data-attr-field-type"),list_id:s()};t.ajax({url:a.l10n.ajax_url,type:"POST",data:l,dataType:"html",success:function(e,a,s){n.removeClass("add-to-form").addClass("not-available"),t(".no-fields-assigned-notice").is(":visible")&&t("#form-builder-container").html(""),t("#form-builder-container").append(e),t(".clear-form-fields").show(),t(".clear-form-fields").next().show(),t(".field-"+o+"-position").val(parseInt(i+1))},error:function(e,i,t){alert(i+e.status+e.responseText+"...")},complete:function(i,a){t("#available-fields li").addClass("available-field"),e.fadeOut("fast",function(){e.removeAttr("disabled").removeAttr("onclick").addClass("add-field-to-editor").fadeOut()})}})}),!1}),t("body").on("click",".add-interest-group-to-editor",function(){var e=t("#form-builder-container").find(".draggable").length,i=[];t("#available-interest-groups .add-to-form").each(function(){i.push({group_id:t(this).attr("alt"),field_type:t(this).attr("data-attr-field-type"),field_name:t(this).attr("data-attr-field-name")})}),t("#available-interest-groups li").removeClass("available-field");var n=t(this);n.attr("disabled","disabled").attr("onclick","return false;").removeClass("add-interest-group-to-editor");var o={action:"add_interest_group_to_form",interest_groups:i,list_id:s()};return t.ajax({url:a.l10n.ajax_url,type:"POST",data:o,dataType:"html",success:function(i,a,n){t("#available-interest-groups .add-to-form").removeClass("add-to-form").addClass("not-available"),e<1?(t("#form-builder-container").html("").append(i),t(".clear-form-fields").show(),t(".clear-form-fields").next().show()):t("#form-builder-container").append(i)},error:function(e,i,t){alert(i+e.status+e.responseText+"...")},complete:function(e,i){t("#available-interest-groups").children("li").addClass("available-field"),n.fadeOut("fast",function(){n.removeAttr("disabled").removeAttr("onclick").addClass("add-interest-group-to-editor")})}}),!1}),t("body").on("click",".add-tag-to-editor",function(){const e=t(this),i=[],n=t("#available-tags li");t("#available-tags .add-to-form").each(function(){const e=t(this);i.push({tag_name:e.data("tag-name"),tag_id:e.data("tag-id")})}),n.removeClass("available-field"),e.attr("disabled","disabled").removeClass("add-tag-to-editor");const r={action:"add_tag_to_form",tags:i,list_id:s(),form_id:o(),nonce:a.l10n.add_tag_nonce};return t.ajax({url:a.l10n.ajax_url,type:"POST",data:r,success:function(e,i,a){t("#available-tags .add-to-form").removeClass("add-to-form").addClass("not-available"),l(e.data.tags)},error:function(e,i,t){console.log(i),console.log(e.status),console.log(e.responseText)},complete:function(i,t){n.addClass("available-field"),e.removeAttr("disabled").addClass("add-tag-to-editor").hide()}}),!1}),t("body").on("click",".mailchimp-tag .dashicons.dashicons-no-alt",function(){t(".mailchimp-tag").css({"pointer-events":"none",opacity:".5"});const e=t(this),i=e.parents(".mailchimp-tag"),n=i.data("tag-id"),l={action:"remove_tag_from_form",tag:n,list_id:s(),form_id:o(),nonce:a.l10n.remove_tag_nonce};e.removeClass("dashicons-no-alt").addClass("dashicons-trash").fadeOut(550).fadeIn(550);const d=setInterval(function(){e.fadeOut(550).fadeIn(550)},700);return t.ajax({url:a.l10n.ajax_url,type:"POST",data:l,success:function(e,a,s){t(`#tag-${n}`).removeClass("not-available").removeAttr("disabled"),i.fadeOut("slow",function(){i.remove(),r(),t(".mailchimp-tag").css({"pointer-events":"auto",opacity:"1.0"})})},error:function(e,i,t){console.log(i),console.log(e.status),console.log(e.responseText)},complete:function(e,i){clearInterval(d)}}),!1}),t(".color-picker").each(function(){t(this).wpColorPicker()}),t("body").on("click",".expansion-section-title",function(){return t(this).next().stop().slideToggle(),t(this).find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),!1}),t("body").on("click","#container-container .available-field",function(){const e=t(this);if(e.hasClass("not-available"))return!1;e.toggleClass("add-to-form");const i=e.parents("ul"),a=i.siblings(".add-to-editor");0===i.children(".add-to-form").length?a.stop().fadeOut():a.stop().fadeIn()}),t("body").on("click",".hidden_setting",function(){t(".hidden_setting").removeClass("selected_hidden_setting"),t(".selected_setting_triangle").remove(),t(this).addClass("selected_hidden_setting").append('<div class="selected_setting_triangle"></div>');var e=t(this).attr("data-attr-container");t(".hidden-setting-label").hide(),t("#"+e).show()}),t("body").on("click",".close-form-expansion",function(){return t(this).parents(".yikes-mc-settings-expansion-section").slideToggle().prev().find(".yikes-mc-expansion-toggle").toggleClass("dashicons-minus"),!1}),t("body").on("click",".mv_ig_list .nav-tab",function(){const e=t(this),i=t(".nav-tab-active");if(e.hasClass("nav-tab-active")||e.hasClass("nav-tab-disabled"))return!1;const a=parseInt(e.index());i.removeClass("nav-tab-active"),t(".arrow-down").remove(),e.addClass("nav-tab-active").prepend('<div class="arrow-down"></div>');const n=t("#container-container .list-container"),s=(n.length,t("#container-container .list-container:eq("+a+")"));t("#container-container .list-container").not(s);var o=-283*a;return t.each(n,function(e,i){let n=parseInt(t(i).index());n!==a&&(o=n>a?0:-283*(n+1)),t(i).stop().animate({left:o+"px"})}),!1}),t("body").on("click",".clear-form-fields",function(){return confirm(a.l10n.bulk_delete_alert)&&t("#form-builder").find(".draggable").find(".expansion-section-title").each(function(){t(this).css("background","rgb(255, 134, 134)");var e=t(this).parents(".draggable").find(".remove-field").attr("alt");t(this).fadeOut("slow",function(){t("#available-fields").find('li[alt="'+e+'"]').removeClass("not-available"),t("#available-interest-groups").find('li[alt="'+e+'"]').removeClass("not-available"),t(this).remove(),t(".clear-form-fields").hide(),t(".clear-form-fields").next().hide(),t(".available-form-field").each(function(){t(this).removeClass("not-available")}),t("#form-builder-container").html('<h4 class="no-fields-assigned-notice non-draggable-yikes"><em>'+a.l10n.no_fields_assigned+"</em></h4>")})}),!1}),t(".yikes-mc-edit-field-label-icon").click(function(e){yikes_mc_prevent_default_stop_prop(e),jQuery(this).siblings(".yikes-mc-edit-field-label-message").fadeOut();yikes_mc_toggle_field_label_edit(this)}),t(".yikes-mc-edit-field-label-input").click(function(e){yikes_mc_prevent_default_stop_prop(e)}),t(".yikes-mc-save-field-label-edits-icon").click(function(e){yikes_mc_prevent_default_stop_prop(e),jQuery(this).siblings(".yikes-mc-edit-field-label-message").fadeOut();var i=s(),t=jQuery(this).siblings(".yikes-mc-edit-field-label-input").val(),a={field_name:t,field_id:jQuery(this).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-id").val()};jQuery(this).parents(".expansion-section-title").siblings(".yikes-mc-settings-expansion-section").children(".yikes-mc-merge-field-label").val()!==t?yikes_mc_save_field_label_name(this,i,a):yikes_mc_toggle_field_label_edit(jQuery(this).siblings(".yikes-mc-edit-field-label-icon"))}),initialize_form_schedule_time_pickers(),t(".yikes-enable-disable-ajax").click(function(){var e=t("#enable-ajax").is(":checked"),i=t("#redirect-user").is(":checked");!0===e&&!0===i?t(".redirect-new-window-div").fadeIn():t(".redirect-new-window-div").fadeOut()})})}(window,document,jQuery,Yikes_MailChimp_Edit_Form);
|
admin/js/min/yikes-inc-easy-mailchimp-tinymce-button.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){for(var
|
1 |
+
!function(){for(var t=JSON.parse(localized_data.forms),e=parseInt(t.length-1),i=0;i<=e;)t[i].text=decodeURI(t[i].text.replace(/\+/g," ")),i++;tinymce.PluginManager.add("yks_mc_tinymce_button",function(e){e.addButton("yks_mc_tinymce_button_key",{image:t.tinymce_icon,title:localized_data.button_title,onclick:function(){e.windowManager.open({title:localized_data.popup_title,body:[{type:"listbox",name:"list_id",label:localized_data.list_id_label,values:t},{type:"checkbox",name:"show_title",label:localized_data.show_title_label},{type:"checkbox",name:"show_description",label:localized_data.show_description_label},{type:"textbox",name:"submit_button_text",label:localized_data.submit_button_text_label},{type:"container",name:"submit_button_message",html:localized_data.submit_button_message}],id:"yikes_mailchimp_tinyMCE_modal",onsubmit:function(t){var i=t.data.list_id,a=t.data.submit_button_text,l=t.data.show_title,n=t.data.show_description;if("-"==i)return jQuery("#yikes_mailchimp_tinyMCE_modal").find(".mce-foot").find(".mce-widget").hide(),jQuery("#yikes_mailchimp_tinyMCE_modal-absend").next().prepend('<div class="error"><p>'+localized_data.alert_translated+"</p></div>"),!1;var o=[];o.push('form="'+i+'"'),!0===l&&o.push('title="1"'),!0===n&&o.push('description="1"'),""!==a&&o.push('submit="'+a+'"'),e.insertContent("[yikes-mailchimp "+o.join(" ")+"]")}})}})})}();
|
admin/js/yikes-inc-easy-mailchimp-extender-edit-form.js
CHANGED
@@ -8,10 +8,13 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
8 |
|
9 |
$( document ).ready( function() {
|
10 |
|
|
|
|
|
|
|
11 |
// On page load, check if there are any fields in the form builder
|
12 |
// If we find fields, show the field instructions
|
13 |
// If we don't find fields, hide the field instructions
|
14 |
-
if ( jQuery( '#form-builder-container' ).
|
15 |
jQuery( '.edit-form-description-form-builder' ).hide();
|
16 |
}
|
17 |
|
@@ -72,8 +75,9 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
72 |
|
73 |
// Display our form instructions (we hide these if there are no fields)
|
74 |
jQuery( '.edit-form-description-form-builder' ).show();
|
|
|
75 |
|
76 |
-
$( '.
|
77 |
/* get the length, to decide if we should clear the html and append, or just append */
|
78 |
var form_builder_length = $( '#form-builder-container' ).find( '.draggable' ).length;
|
79 |
|
@@ -81,17 +85,16 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
81 |
var merge_tag = field.attr( 'alt' );
|
82 |
|
83 |
/* temporarily disable all of the possible merge variables and interest groups (to prevent some weird stuff happening) */
|
84 |
-
$( '#available-fields
|
85 |
-
var clicked_button = $( this );
|
86 |
clicked_button.attr( 'disabled' , 'disabled' ).attr( 'onclick' , 'return false;' ).removeClass( 'add-field-to-editor' );
|
87 |
|
88 |
/* build our data */
|
89 |
var data = {
|
90 |
-
'action'
|
91 |
'field_name' : field.attr( 'data-attr-field-name' ),
|
92 |
-
'merge_tag'
|
93 |
'field_type' : field.attr( 'data-attr-field-type' ),
|
94 |
-
'list_id'
|
95 |
};
|
96 |
|
97 |
/* submit our ajax request */
|
@@ -101,8 +104,7 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
101 |
data: data,
|
102 |
dataType: 'html',
|
103 |
success : function( response, textStatus, jqXHR) {
|
104 |
-
field.removeClass( '
|
105 |
-
$( '.add-field-to-editor' ).hide();
|
106 |
|
107 |
/* If the banner is visible, this means that there is no fields assigned to the form - clear it */
|
108 |
if ( $( '.no-fields-assigned-notice' ).is( ':visible') ) {
|
@@ -123,10 +125,10 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
123 |
complete : function( jqXHR, textStatus ) {
|
124 |
/* console.log( 'field successfully added to the form' ); */
|
125 |
/* temporarily disable all of the possible merge variables and interest groups (to prevent some weird stuff happening) */
|
126 |
-
$( '#available-fields
|
127 |
-
clicked_button.
|
128 |
-
|
129 |
-
|
130 |
}
|
131 |
});
|
132 |
});
|
@@ -142,7 +144,7 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
142 |
var form_builder_length = $( '#form-builder-container' ).find( '.draggable' ).length;
|
143 |
|
144 |
var interest_groups = [];
|
145 |
-
$( '
|
146 |
interest_groups.push({
|
147 |
'group_id' : $( this ).attr( 'alt' ),
|
148 |
'field_type': $( this ).attr( 'data-attr-field-type' ),
|
@@ -151,7 +153,7 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
151 |
});
|
152 |
|
153 |
/* temporarily disable all of the possible merge variables and interest groups (to prevent some weird stuff happening) */
|
154 |
-
$( '#available-interest-groups
|
155 |
|
156 |
var button = $( this );
|
157 |
button.attr( 'disabled' , 'disabled' ).attr( 'onclick' , 'return false;' ).removeClass( 'add-interest-group-to-editor' );
|
@@ -160,7 +162,7 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
160 |
var data = {
|
161 |
'action' : 'add_interest_group_to_form',
|
162 |
'interest_groups': interest_groups,
|
163 |
-
'list_id' :
|
164 |
};
|
165 |
|
166 |
/* submit our ajax request */
|
@@ -170,9 +172,8 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
170 |
data: data,
|
171 |
dataType: 'html',
|
172 |
success : function( response, textStatus, jqXHR) {
|
173 |
-
$( '
|
174 |
-
|
175 |
-
if( form_builder_length < 1 ) {
|
176 |
$( '#form-builder-container' ).html( '' ).append( response );
|
177 |
$( '.clear-form-fields' ).show();
|
178 |
$( '.clear-form-fields' ).next().show(); /* Update Form button next to clear form fields */
|
@@ -186,15 +187,110 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
186 |
complete : function( jqXHR, textStatus ) {
|
187 |
/* console.log( 'interest group successfully added to the form..' ); */
|
188 |
/* temporarily disable all of the possible merge variables and interest groups (to prevent some weird stuff happening) */
|
189 |
-
$( '#available-interest-groups' ).children( 'li' ).addClass( 'available-
|
190 |
-
button.
|
191 |
-
|
192 |
-
|
193 |
}
|
194 |
});
|
195 |
return false;
|
196 |
}); /* end add field to form builder */
|
197 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
|
199 |
/* initialize color pickers */
|
200 |
$('.color-picker').each(function() {
|
@@ -209,39 +305,21 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
209 |
});
|
210 |
|
211 |
/* Toggle Selected Class (Available Merge Vars) */
|
212 |
-
$( 'body' ).on( 'click' , '.available-
|
213 |
-
|
|
|
214 |
return false;
|
215 |
} else {
|
216 |
-
|
217 |
-
$( this ).removeClass( 'field-to-add-to-form' );
|
218 |
-
$( '.add-field-to-editor' ).stop().fadeOut();
|
219 |
-
} else {
|
220 |
-
/* Remove the class that decides what icons will be added to our form */
|
221 |
-
/* $( '.field-to-add-to-form' ).removeClass( 'field-to-add-to-form' ); */
|
222 |
-
$( this ).toggleClass( 'field-to-add-to-form' );
|
223 |
-
$( '.add-field-to-editor' ).stop().fadeIn();
|
224 |
-
}
|
225 |
}
|
226 |
-
});
|
227 |
|
228 |
-
|
229 |
-
|
230 |
-
if( $( this ).hasClass( 'not-available' ) ) {
|
231 |
-
return false;
|
232 |
-
} else {
|
233 |
-
if( $( this ).hasClass( 'group-to-add-to-form' ) ) {
|
234 |
-
$( this ).removeClass( 'group-to-add-to-form' );
|
235 |
-
} else {
|
236 |
-
$( this ).toggleClass( 'group-to-add-to-form' );
|
237 |
-
}
|
238 |
-
}
|
239 |
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
$( '.add-interest-group-to-editor' ).stop().fadeOut();
|
245 |
}
|
246 |
});
|
247 |
|
@@ -262,42 +340,41 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
262 |
return false;
|
263 |
});
|
264 |
|
265 |
-
/* Toggle between
|
266 |
$( 'body' ).on( 'click' , '.mv_ig_list .nav-tab' , function() {
|
267 |
-
|
|
|
|
|
268 |
return false;
|
269 |
}
|
270 |
-
|
271 |
-
|
272 |
-
}
|
273 |
-
$( '.mv_ig_list .nav-tab' ).removeClass( 'nav-tab-active' );
|
274 |
$( '.arrow-down' ).remove();
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
}
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
$( '.mv_ig_list .nav-tab' ).removeClass( 'nav-tab-disabled' );
|
299 |
});
|
300 |
-
}
|
301 |
return false;
|
302 |
});
|
303 |
|
@@ -352,15 +429,6 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
352 |
*/
|
353 |
$( '.yikes-mc-edit-field-label-input' ).click( function( event ) { yikes_mc_prevent_default_stop_prop( event ) } );
|
354 |
|
355 |
-
/**
|
356 |
-
* Show the pencil for editing field labels when a user hovers over the expansion section
|
357 |
-
* and hide it when a user's mouse leaves the expansion section
|
358 |
-
*/
|
359 |
-
// $( '.expansion-section-title' ).hover(
|
360 |
-
// function() { $( this ).children( '.yikes-mc-edit-field-label-icon.dashicons-edit' ).show(); },
|
361 |
-
// function() { $( this ).children( '.yikes-mc-edit-field-label-icon.dashicons-edit' ).hide(); }
|
362 |
-
// );
|
363 |
-
|
364 |
/**
|
365 |
* Save field label edit changes
|
366 |
*/
|
@@ -376,7 +444,7 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
376 |
var clicked_element = this;
|
377 |
|
378 |
// Get the current list ID
|
379 |
-
var list_id =
|
380 |
|
381 |
// Capture the field data
|
382 |
var field_name = jQuery( this ).siblings( '.yikes-mc-edit-field-label-input' ).val();
|
@@ -421,7 +489,46 @@ window.yikes_mailchimp_edit_form = window.yikes_mailchimp_edit_form || {};
|
|
421 |
|
422 |
});
|
423 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
424 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
|
426 |
|
427 |
})( window, document, jQuery, Yikes_MailChimp_Edit_Form );
|
8 |
|
9 |
$( document ).ready( function() {
|
10 |
|
11 |
+
// Show tags added to this form.
|
12 |
+
add_tags_to_form_onload();
|
13 |
+
|
14 |
// On page load, check if there are any fields in the form builder
|
15 |
// If we find fields, show the field instructions
|
16 |
// If we don't find fields, hide the field instructions
|
17 |
+
if ( jQuery( '#form-builder-container > section' ).length === 0 ) {
|
18 |
jQuery( '.edit-form-description-form-builder' ).hide();
|
19 |
}
|
20 |
|
75 |
|
76 |
// Display our form instructions (we hide these if there are no fields)
|
77 |
jQuery( '.edit-form-description-form-builder' ).show();
|
78 |
+
const clicked_button = $( this );
|
79 |
|
80 |
+
$( '#available-fields .add-to-form' ).each( function() {
|
81 |
/* get the length, to decide if we should clear the html and append, or just append */
|
82 |
var form_builder_length = $( '#form-builder-container' ).find( '.draggable' ).length;
|
83 |
|
85 |
var merge_tag = field.attr( 'alt' );
|
86 |
|
87 |
/* temporarily disable all of the possible merge variables and interest groups (to prevent some weird stuff happening) */
|
88 |
+
$( '#available-fields li' ).removeClass( 'available-field' );
|
|
|
89 |
clicked_button.attr( 'disabled' , 'disabled' ).attr( 'onclick' , 'return false;' ).removeClass( 'add-field-to-editor' );
|
90 |
|
91 |
/* build our data */
|
92 |
var data = {
|
93 |
+
'action' : 'add_field_to_form',
|
94 |
'field_name' : field.attr( 'data-attr-field-name' ),
|
95 |
+
'merge_tag' : merge_tag,
|
96 |
'field_type' : field.attr( 'data-attr-field-type' ),
|
97 |
+
'list_id' : get_list_id()
|
98 |
};
|
99 |
|
100 |
/* submit our ajax request */
|
104 |
data: data,
|
105 |
dataType: 'html',
|
106 |
success : function( response, textStatus, jqXHR) {
|
107 |
+
field.removeClass( 'add-to-form' ).addClass( 'not-available' );
|
|
|
108 |
|
109 |
/* If the banner is visible, this means that there is no fields assigned to the form - clear it */
|
110 |
if ( $( '.no-fields-assigned-notice' ).is( ':visible') ) {
|
125 |
complete : function( jqXHR, textStatus ) {
|
126 |
/* console.log( 'field successfully added to the form' ); */
|
127 |
/* temporarily disable all of the possible merge variables and interest groups (to prevent some weird stuff happening) */
|
128 |
+
$( '#available-fields li' ).addClass( 'available-field' );
|
129 |
+
clicked_button.fadeOut( 'fast', function() {
|
130 |
+
clicked_button.removeAttr( 'disabled' ).removeAttr( 'onclick' ).addClass( 'add-field-to-editor' ).fadeOut();
|
131 |
+
});
|
132 |
}
|
133 |
});
|
134 |
});
|
144 |
var form_builder_length = $( '#form-builder-container' ).find( '.draggable' ).length;
|
145 |
|
146 |
var interest_groups = [];
|
147 |
+
$( '#available-interest-groups .add-to-form' ).each( function() {
|
148 |
interest_groups.push({
|
149 |
'group_id' : $( this ).attr( 'alt' ),
|
150 |
'field_type': $( this ).attr( 'data-attr-field-type' ),
|
153 |
});
|
154 |
|
155 |
/* temporarily disable all of the possible merge variables and interest groups (to prevent some weird stuff happening) */
|
156 |
+
$( '#available-interest-groups li' ).removeClass( 'available-field' );
|
157 |
|
158 |
var button = $( this );
|
159 |
button.attr( 'disabled' , 'disabled' ).attr( 'onclick' , 'return false;' ).removeClass( 'add-interest-group-to-editor' );
|
162 |
var data = {
|
163 |
'action' : 'add_interest_group_to_form',
|
164 |
'interest_groups': interest_groups,
|
165 |
+
'list_id' : get_list_id()
|
166 |
};
|
167 |
|
168 |
/* submit our ajax request */
|
172 |
data: data,
|
173 |
dataType: 'html',
|
174 |
success : function( response, textStatus, jqXHR) {
|
175 |
+
$( '#available-interest-groups .add-to-form' ).removeClass( 'add-to-form' ).addClass( 'not-available' );
|
176 |
+
if ( form_builder_length < 1 ) {
|
|
|
177 |
$( '#form-builder-container' ).html( '' ).append( response );
|
178 |
$( '.clear-form-fields' ).show();
|
179 |
$( '.clear-form-fields' ).next().show(); /* Update Form button next to clear form fields */
|
187 |
complete : function( jqXHR, textStatus ) {
|
188 |
/* console.log( 'interest group successfully added to the form..' ); */
|
189 |
/* temporarily disable all of the possible merge variables and interest groups (to prevent some weird stuff happening) */
|
190 |
+
$( '#available-interest-groups' ).children( 'li' ).addClass( 'available-field' );
|
191 |
+
button.fadeOut( 'fast', function() {
|
192 |
+
button.removeAttr( 'disabled' ).removeAttr( 'onclick' ).addClass( 'add-interest-group-to-editor' );
|
193 |
+
});
|
194 |
}
|
195 |
});
|
196 |
return false;
|
197 |
}); /* end add field to form builder */
|
198 |
|
199 |
+
$( 'body' ).on( 'click' , '.add-tag-to-editor' , function() {
|
200 |
+
const elem = $( this );
|
201 |
+
const tags = [];
|
202 |
+
const items = $( '#available-tags li' );
|
203 |
+
$( '#available-tags .add-to-form' ).each( function() {
|
204 |
+
const tag = $( this );
|
205 |
+
tags.push({
|
206 |
+
'tag_name': tag.data( 'tag-name' ),
|
207 |
+
'tag_id' : tag.data( 'tag-id' ),
|
208 |
+
});
|
209 |
+
});
|
210 |
+
|
211 |
+
// Disable ability to add tags to the form while AJAX is running.
|
212 |
+
items.removeClass( 'available-field' );
|
213 |
+
elem.attr( 'disabled' , 'disabled' ).removeClass( 'add-tag-to-editor' );
|
214 |
+
|
215 |
+
const data = {
|
216 |
+
'action' : 'add_tag_to_form',
|
217 |
+
'tags' : tags,
|
218 |
+
'list_id': get_list_id(),
|
219 |
+
'form_id': get_form_id(),
|
220 |
+
'nonce' : app.l10n.add_tag_nonce
|
221 |
+
};
|
222 |
+
|
223 |
+
// Ajax.
|
224 |
+
$.ajax({
|
225 |
+
url : app.l10n.ajax_url,
|
226 |
+
type: 'POST',
|
227 |
+
data: data,
|
228 |
+
success: function( response, textStatus, jqXHR ) {
|
229 |
+
$( '#available-tags .add-to-form' ).removeClass( 'add-to-form' ).addClass( 'not-available' );
|
230 |
+
add_tags_to_form( response.data.tags );
|
231 |
+
},
|
232 |
+
error: function( jqXHR, textStatus, errorThrown ) {
|
233 |
+
console.log( textStatus );
|
234 |
+
console.log( jqXHR.status );
|
235 |
+
console.log( jqXHR.responseText );
|
236 |
+
},
|
237 |
+
complete: function( jqXHR, textStatus ) {
|
238 |
+
|
239 |
+
// Enable ability to add the tags to the form.
|
240 |
+
items.addClass( 'available-field' );
|
241 |
+
elem.removeAttr( 'disabled' ).addClass( 'add-tag-to-editor' ).hide();
|
242 |
+
}
|
243 |
+
});
|
244 |
+
|
245 |
+
return false;
|
246 |
+
});
|
247 |
+
|
248 |
+
// Remove tag.
|
249 |
+
$( 'body' ).on( 'click' , '.mailchimp-tag .dashicons.dashicons-no-alt', function() {
|
250 |
+
// Prevent any other tag from being removed during the process.
|
251 |
+
$( '.mailchimp-tag' ).css( { 'pointer-events': 'none', 'opacity': '.5' } );
|
252 |
+
|
253 |
+
const icon = $( this );
|
254 |
+
const elem = icon.parents( '.mailchimp-tag' );
|
255 |
+
const tag_id = elem.data( 'tag-id' );
|
256 |
+
const data = {
|
257 |
+
'action' : 'remove_tag_from_form',
|
258 |
+
'tag' : tag_id,
|
259 |
+
'list_id': get_list_id(),
|
260 |
+
'form_id': get_form_id(),
|
261 |
+
'nonce' : app.l10n.remove_tag_nonce
|
262 |
+
};
|
263 |
+
|
264 |
+
icon.removeClass( 'dashicons-no-alt' ).addClass( 'dashicons-trash' ).fadeOut( 550 ).fadeIn( 550 );
|
265 |
+
const interval = setInterval( function () {
|
266 |
+
icon.fadeOut( 550 ).fadeIn( 550 );
|
267 |
+
}, 700 );
|
268 |
+
|
269 |
+
// Ajax.
|
270 |
+
$.ajax({
|
271 |
+
url : app.l10n.ajax_url,
|
272 |
+
type: 'POST',
|
273 |
+
data: data,
|
274 |
+
success: function( response, textStatus, jqXHR ) {
|
275 |
+
$( `#tag-${ tag_id }` ).removeClass( 'not-available' ).removeAttr( 'disabled' );
|
276 |
+
elem.fadeOut( 'slow', function(){
|
277 |
+
elem.remove();
|
278 |
+
tags_container_check();
|
279 |
+
$( '.mailchimp-tag' ).css( { 'pointer-events': 'auto', 'opacity': '1.0' } );
|
280 |
+
});
|
281 |
+
},
|
282 |
+
error: function( jqXHR, textStatus, errorThrown ) {
|
283 |
+
console.log( textStatus );
|
284 |
+
console.log( jqXHR.status );
|
285 |
+
console.log( jqXHR.responseText );
|
286 |
+
},
|
287 |
+
complete: function( jqXHR, textStatus ) {
|
288 |
+
clearInterval( interval );
|
289 |
+
}
|
290 |
+
});
|
291 |
+
|
292 |
+
return false;
|
293 |
+
});
|
294 |
|
295 |
/* initialize color pickers */
|
296 |
$('.color-picker').each(function() {
|
305 |
});
|
306 |
|
307 |
/* Toggle Selected Class (Available Merge Vars) */
|
308 |
+
$( 'body' ).on( 'click' , '#container-container .available-field' , function() {
|
309 |
+
const element = $( this );
|
310 |
+
if ( element.hasClass( 'not-available' ) ) {
|
311 |
return false;
|
312 |
} else {
|
313 |
+
element.toggleClass( 'add-to-form' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
}
|
|
|
315 |
|
316 |
+
const ul = element.parents( 'ul' );
|
317 |
+
const add_to_editor = ul.siblings( '.add-to-editor' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
|
319 |
+
if ( ul.children( '.add-to-form' ).length === 0 ) {
|
320 |
+
add_to_editor.stop().fadeOut();
|
321 |
+
} else {
|
322 |
+
add_to_editor.stop().fadeIn();
|
|
|
323 |
}
|
324 |
});
|
325 |
|
340 |
return false;
|
341 |
});
|
342 |
|
343 |
+
/* Toggle between tabs */
|
344 |
$( 'body' ).on( 'click' , '.mv_ig_list .nav-tab' , function() {
|
345 |
+
const element = $( this );
|
346 |
+
const prev_element = $( '.nav-tab-active' );
|
347 |
+
if ( element.hasClass( 'nav-tab-active' ) || element.hasClass( 'nav-tab-disabled' ) ) {
|
348 |
return false;
|
349 |
}
|
350 |
+
const clicked_tab_position = parseInt( element.index() );
|
351 |
+
prev_element.removeClass( 'nav-tab-active' );
|
|
|
|
|
352 |
$( '.arrow-down' ).remove();
|
353 |
+
element.addClass( 'nav-tab-active' ).prepend( '<div class="arrow-down"></div>' );
|
354 |
+
|
355 |
+
const containers = $( '#container-container .list-container' );
|
356 |
+
const num_containers = containers.length;
|
357 |
+
const selected_container = $( '#container-container .list-container:eq(' + clicked_tab_position + ')' );
|
358 |
+
const non_selected_containers = $( '#container-container .list-container' ).not( selected_container );
|
359 |
+
const width = -283;
|
360 |
+
var left = width * clicked_tab_position;
|
361 |
+
|
362 |
+
$.each( containers, function( index, ele ) {
|
363 |
+
|
364 |
+
let position = parseInt( $( ele ).index() );
|
365 |
+
|
366 |
+
if ( position !== clicked_tab_position ) {
|
367 |
+
if ( position > clicked_tab_position ) {
|
368 |
+
left = 0;
|
369 |
+
} else {
|
370 |
+
left = ( position + 1 ) * width;
|
371 |
+
}
|
372 |
+
}
|
373 |
+
|
374 |
+
$( ele ).stop().animate({
|
375 |
+
left: left + 'px'
|
|
|
376 |
});
|
377 |
+
});
|
378 |
return false;
|
379 |
});
|
380 |
|
429 |
*/
|
430 |
$( '.yikes-mc-edit-field-label-input' ).click( function( event ) { yikes_mc_prevent_default_stop_prop( event ) } );
|
431 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
432 |
/**
|
433 |
* Save field label edit changes
|
434 |
*/
|
444 |
var clicked_element = this;
|
445 |
|
446 |
// Get the current list ID
|
447 |
+
var list_id = get_list_id();
|
448 |
|
449 |
// Capture the field data
|
450 |
var field_name = jQuery( this ).siblings( '.yikes-mc-edit-field-label-input' ).val();
|
489 |
|
490 |
});
|
491 |
|
492 |
+
function get_list_id() {
|
493 |
+
return $( '#form-builder-div' ).data( 'list-id' );
|
494 |
+
}
|
495 |
+
|
496 |
+
function get_form_id() {
|
497 |
+
return $( '#form-builder-div' ).data( 'form-id' );
|
498 |
+
}
|
499 |
+
|
500 |
+
function add_tags_to_form_onload() {
|
501 |
+
const data = {};
|
502 |
+
$( '#available-tags .not-available' ).each( function( index, element ) {
|
503 |
+
const tag_el = $( element );
|
504 |
+
const tag_id = tag_el.data( 'tag-id' );
|
505 |
+
const name = tag_el.data( 'tag-name' );
|
506 |
+
data[tag_id] = { id: tag_id, name: name };
|
507 |
+
});
|
508 |
+
add_tags_to_form( data );
|
509 |
+
}
|
510 |
+
|
511 |
+
function add_tags_to_form( tags ) {
|
512 |
+
const tags_container = $( '.tags-title-container' );
|
513 |
+
$.each( tags, function( tag_id, tag ) {
|
514 |
+
const tag_html = create_tag( tag );
|
515 |
+
tags_container.append( tag_html );
|
516 |
+
});
|
517 |
+
tags_container_check();
|
518 |
+
}
|
519 |
|
520 |
+
function create_tag( tag ) {
|
521 |
+
return `<span class="mailchimp-tag" id="${ tag.id }" data-tag-name="${ tag.name }" data-tag-id="${ tag.id }">${ tag.name }<span class="tag-divider"></span><span class="dashicons dashicons-no-alt"></span></span>`;
|
522 |
+
}
|
523 |
+
|
524 |
+
function tags_container_check() {
|
525 |
+
const tags_container = $( '.tags-title' );
|
526 |
+
if ( $( '.mailchimp-tag' ).length === 0 ) {
|
527 |
+
tags_container.slideUp();
|
528 |
+
} else {
|
529 |
+
tags_container.slideDown();
|
530 |
+
}
|
531 |
+
}
|
532 |
|
533 |
|
534 |
})( window, document, jQuery, Yikes_MailChimp_Edit_Form );
|
admin/partials/ajax/add_field_to_form.php
CHANGED
@@ -246,7 +246,7 @@ $merge_field_data = $available_merge_variables['merge_fields'][ $index ];
|
|
246 |
</td>
|
247 |
</tr>
|
248 |
<!-- Description Above Field -->
|
249 |
-
<tr valign="top">
|
250 |
<td scope="row">
|
251 |
<label for="description_above_<?php echo esc_attr( $merge_field_data['tag'] ); ?>">
|
252 |
<?php _e( 'Description Above Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -254,7 +254,7 @@ $merge_field_data = $available_merge_variables['merge_fields'][ $index ];
|
|
254 |
</td>
|
255 |
<td>
|
256 |
<input type="checkbox" id="description_above_<?php echo esc_attr( $merge_field_data['tag'] ); ?>" class="widefat field-description-input" name="field[<?php echo $merge_field_data['tag']; ?>][description_above]" value="1" />
|
257 |
-
<
|
258 |
</td>
|
259 |
</tr>
|
260 |
<!-- Additional Classes -->
|
@@ -270,7 +270,7 @@ $merge_field_data = $available_merge_variables['merge_fields'][ $index ];
|
|
270 |
</td>
|
271 |
</tr>
|
272 |
<!-- Required Toggle -->
|
273 |
-
<tr valign="top">
|
274 |
<td scope="row">
|
275 |
<label for="field-required">
|
276 |
<?php _e( 'Field Required?' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -282,7 +282,7 @@ $merge_field_data = $available_merge_variables['merge_fields'][ $index ];
|
|
282 |
</td>
|
283 |
</tr>
|
284 |
<!-- Visible Toggle -->
|
285 |
-
<tr valign="top">
|
286 |
<td scope="row">
|
287 |
<label for="hide-field">
|
288 |
<?php _e( 'Hide Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -294,7 +294,7 @@ $merge_field_data = $available_merge_variables['merge_fields'][ $index ];
|
|
294 |
</td>
|
295 |
</tr>
|
296 |
<!-- Toggle Field Label Visibility -->
|
297 |
-
<tr valign="top">
|
298 |
<td scope="row">
|
299 |
<label for="placeholder">
|
300 |
<?php _e( 'Hide Label' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
246 |
</td>
|
247 |
</tr>
|
248 |
<!-- Description Above Field -->
|
249 |
+
<tr valign="top" class="yikes-checkbox-container">
|
250 |
<td scope="row">
|
251 |
<label for="description_above_<?php echo esc_attr( $merge_field_data['tag'] ); ?>">
|
252 |
<?php _e( 'Description Above Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
254 |
</td>
|
255 |
<td>
|
256 |
<input type="checkbox" id="description_above_<?php echo esc_attr( $merge_field_data['tag'] ); ?>" class="widefat field-description-input" name="field[<?php echo $merge_field_data['tag']; ?>][description_above]" value="1" />
|
257 |
+
<p class="description"><small><?php _e( "By default the description will appear undearneath the field. Check this box if you'd like the description to appear above the field.", 'yikes-inc-easy-mailchimp-extender' );?></small></p>
|
258 |
</td>
|
259 |
</tr>
|
260 |
<!-- Additional Classes -->
|
270 |
</td>
|
271 |
</tr>
|
272 |
<!-- Required Toggle -->
|
273 |
+
<tr valign="top" class="yikes-checkbox-container">
|
274 |
<td scope="row">
|
275 |
<label for="field-required">
|
276 |
<?php _e( 'Field Required?' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
282 |
</td>
|
283 |
</tr>
|
284 |
<!-- Visible Toggle -->
|
285 |
+
<tr valign="top" class="yikes-checkbox-container">
|
286 |
<td scope="row">
|
287 |
<label for="hide-field">
|
288 |
<?php _e( 'Hide Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
294 |
</td>
|
295 |
</tr>
|
296 |
<!-- Toggle Field Label Visibility -->
|
297 |
+
<tr valign="top" class="yikes-checkbox-container">
|
298 |
<td scope="row">
|
299 |
<label for="placeholder">
|
300 |
<?php _e( 'Hide Label' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
admin/partials/ajax/add_interest_group_to_form.php
CHANGED
@@ -111,7 +111,7 @@ foreach( $interest_groups as $group ) {
|
|
111 |
case 'hidden':
|
112 |
case 'checkboxes':
|
113 |
?>
|
114 |
-
<tr valign="top">
|
115 |
<td scope="row">
|
116 |
<label for="placeholder">
|
117 |
<?php _e( 'Default Selection' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -171,7 +171,7 @@ foreach( $interest_groups as $group ) {
|
|
171 |
</tr>
|
172 |
|
173 |
<!-- Description Above Field -->
|
174 |
-
<tr valign="top">
|
175 |
<td scope="row">
|
176 |
<label for="description_above_<?php echo esc_attr( $group['group_id'] ); ?>">
|
177 |
<?php _e( 'Description Above Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -179,7 +179,7 @@ foreach( $interest_groups as $group ) {
|
|
179 |
</td>
|
180 |
<td>
|
181 |
<input type="checkbox" id="description_above_<?php echo esc_attr( $group['group_id'] ); ?>" class="widefat field-description-input" name="field[<?php echo $group['group_id']; ?>][description_above]" value="1" />
|
182 |
-
<
|
183 |
</td>
|
184 |
</tr>
|
185 |
|
@@ -196,7 +196,7 @@ foreach( $interest_groups as $group ) {
|
|
196 |
</td>
|
197 |
</tr>
|
198 |
<!-- Required Toggle -->
|
199 |
-
<tr valign="top">
|
200 |
<td scope="row">
|
201 |
<label for="field-required">
|
202 |
<?php _e( 'Field Required?' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -208,7 +208,7 @@ foreach( $interest_groups as $group ) {
|
|
208 |
</td>
|
209 |
</tr>
|
210 |
<!-- Visible Toggle -->
|
211 |
-
<tr valign="top">
|
212 |
<td scope="row">
|
213 |
<label for="hide-field">
|
214 |
<?php _e( 'Hide Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
@@ -220,7 +220,7 @@ foreach( $interest_groups as $group ) {
|
|
220 |
</td>
|
221 |
</tr>
|
222 |
<!-- Toggle Field Label Visibility -->
|
223 |
-
<tr valign="top">
|
224 |
<td scope="row">
|
225 |
<label for="placeholder">
|
226 |
<?php _e( 'Hide Label' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
111 |
case 'hidden':
|
112 |
case 'checkboxes':
|
113 |
?>
|
114 |
+
<tr valign="top" class="yikes-checkbox-container">
|
115 |
<td scope="row">
|
116 |
<label for="placeholder">
|
117 |
<?php _e( 'Default Selection' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
171 |
</tr>
|
172 |
|
173 |
<!-- Description Above Field -->
|
174 |
+
<tr valign="top" class="yikes-checkbox-container">
|
175 |
<td scope="row">
|
176 |
<label for="description_above_<?php echo esc_attr( $group['group_id'] ); ?>">
|
177 |
<?php _e( 'Description Above Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
179 |
</td>
|
180 |
<td>
|
181 |
<input type="checkbox" id="description_above_<?php echo esc_attr( $group['group_id'] ); ?>" class="widefat field-description-input" name="field[<?php echo $group['group_id']; ?>][description_above]" value="1" />
|
182 |
+
<p class="description"><small><?php _e( "By default the description will appear undearneath the field. Check this box if you'd like the description to appear above the field.", 'yikes-inc-easy-mailchimp-extender' );?></small></p>
|
183 |
</td>
|
184 |
</tr>
|
185 |
|
196 |
</td>
|
197 |
</tr>
|
198 |
<!-- Required Toggle -->
|
199 |
+
<tr valign="top" class="yikes-checkbox-container">
|
200 |
<td scope="row">
|
201 |
<label for="field-required">
|
202 |
<?php _e( 'Field Required?' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
208 |
</td>
|
209 |
</tr>
|
210 |
<!-- Visible Toggle -->
|
211 |
+
<tr valign="top" class="yikes-checkbox-container">
|
212 |
<td scope="row">
|
213 |
<label for="hide-field">
|
214 |
<?php _e( 'Hide Field' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
220 |
</td>
|
221 |
</tr>
|
222 |
<!-- Toggle Field Label Visibility -->
|
223 |
+
<tr valign="top" class="yikes-checkbox-container">
|
224 |
<td scope="row">
|
225 |
<label for="placeholder">
|
226 |
<?php _e( 'Hide Label' , 'yikes-inc-easy-mailchimp-extender' ); ?>
|
admin/partials/ajax/class.ajax.php
CHANGED
@@ -7,28 +7,33 @@
|
|
7 |
* @since 6.0.0
|
8 |
* Author: Yikes Inc. | https://www.yikesinc.com
|
9 |
*/
|
10 |
-
class YIKES_Inc_Easy_MailChimp_Process_Ajax
|
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
|
20 |
|
21 |
-
//
|
22 |
-
add_action( '
|
23 |
|
24 |
-
//
|
25 |
-
add_action( '
|
26 |
|
27 |
-
//
|
28 |
-
add_action( '
|
29 |
|
30 |
-
//
|
31 |
-
add_action( '
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
|
34 |
/*
|
@@ -36,8 +41,8 @@
|
|
36 |
* - return a single container
|
37 |
*/
|
38 |
public function add_notification_to_form() {
|
39 |
-
if( $_POST['notification_name'] ) {
|
40 |
-
include_once
|
41 |
}
|
42 |
exit();
|
43 |
}
|
@@ -81,7 +86,7 @@
|
|
81 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
82 |
$error_logging->maybe_write_to_log(
|
83 |
$interest_groupings->get_error_code(),
|
84 |
-
__( "Get Interest Groups"
|
85 |
"class.ajax.php"
|
86 |
);
|
87 |
$interest_groupings = array();
|
@@ -109,6 +114,64 @@
|
|
109 |
exit();
|
110 |
}
|
111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
/*
|
113 |
* Search through multi dimensional array
|
114 |
* and return the index ( used to find the list name assigned to a form )
|
@@ -149,7 +212,7 @@
|
|
149 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
150 |
$error_logging->maybe_write_to_log(
|
151 |
$merge_field->get_error_code(),
|
152 |
-
__( "Updating merge field"
|
153 |
"class.ajax.php"
|
154 |
);
|
155 |
wp_send_json_error( array(
|
7 |
* @since 6.0.0
|
8 |
* Author: Yikes Inc. | https://www.yikesinc.com
|
9 |
*/
|
10 |
+
class YIKES_Inc_Easy_MailChimp_Process_Ajax {
|
|
|
11 |
|
12 |
public function __construct() {
|
13 |
|
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 |
|
17 |
+
// Ajax send interest group to form builder.
|
18 |
+
add_action( 'wp_ajax_add_interest_group_to_form', array( $this, 'send_interest_group_to_form' ), 10 );
|
19 |
|
20 |
+
// Ajax add a tag to the form.
|
21 |
+
add_action( 'wp_ajax_add_tag_to_form', array( $this, 'add_tags_to_form' ), 10 );
|
22 |
|
23 |
+
// Ajax remove tag from form.
|
24 |
+
add_action( 'wp_ajax_remove_tag_from_form', array( $this, 'remove_tag_from_form' ), 10 );
|
25 |
|
26 |
+
// Return new list data + activity (for dashboard widget).
|
27 |
+
add_action( 'wp_ajax_get_new_list_data', array( $this, 'get_new_list_data' ), 10 );
|
28 |
|
29 |
+
// Return new list data + activity (for dashboard widget).
|
30 |
+
add_action( 'wp_ajax_check_list_for_interest_groups', array( $this, 'check_list_for_interest_groups' ), 10 );
|
31 |
+
|
32 |
+
// Add a new notification to a form.
|
33 |
+
add_action( 'wp_ajax_add_notification_to_form', array( $this, 'add_notification_to_form' ), 10, 1 );
|
34 |
+
|
35 |
+
// Save field label edits.
|
36 |
+
add_action( 'wp_ajax_save_field_label_edits', array( $this, 'save_field_label_edits' ), 10, 1 );
|
37 |
}
|
38 |
|
39 |
/*
|
41 |
* - return a single container
|
42 |
*/
|
43 |
public function add_notification_to_form() {
|
44 |
+
if ( isset( $_POST['notification_name'] ) ) {
|
45 |
+
include_once YIKES_MC_PATH . 'admin/partials/ajax/add_notification_to_form.php';
|
46 |
}
|
47 |
exit();
|
48 |
}
|
86 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
87 |
$error_logging->maybe_write_to_log(
|
88 |
$interest_groupings->get_error_code(),
|
89 |
+
__( "Get Interest Groups", 'yikes-inc-easy-mailchimp-extender' ),
|
90 |
"class.ajax.php"
|
91 |
);
|
92 |
$interest_groupings = array();
|
114 |
exit();
|
115 |
}
|
116 |
|
117 |
+
/**
|
118 |
+
* Add a tag to the form.
|
119 |
+
*/
|
120 |
+
public function add_tags_to_form() {
|
121 |
+
// Verify Nonce.
|
122 |
+
if ( ! check_ajax_referer( 'add-tag', 'nonce', false ) ) {
|
123 |
+
wp_send_json_error( '1' );
|
124 |
+
}
|
125 |
+
$tags = isset( $_POST['tags'] ) ? wp_unslash( $_POST['tags'] ) : array();
|
126 |
+
$list_id = isset( $_POST['list_id'] ) ? filter_var( wp_unslash( $_POST['list_id'] ), FILTER_SANITIZE_STRING ) : '';
|
127 |
+
$form_id = isset( $_POST['form_id'] ) ? filter_var( wp_unslash( $_POST['form_id'] ), FILTER_SANITIZE_NUMBER_INT ) : 0;
|
128 |
+
|
129 |
+
if ( empty( $tags ) || empty( $list_id ) || empty( $form_id ) ) {
|
130 |
+
wp_send_json_error( '2' );
|
131 |
+
}
|
132 |
+
|
133 |
+
$form_interface = yikes_easy_mailchimp_extender_get_form_interface();
|
134 |
+
$form = $form_interface->get_form( $form_id );
|
135 |
+
$form_tags = array();
|
136 |
+
|
137 |
+
// This data came from $_POST so sanitize it.
|
138 |
+
foreach ( $tags as $tag ) {
|
139 |
+
$form_tags[ filter_var( $tag['tag_id'], FILTER_SANITIZE_NUMBER_INT ) ] = array(
|
140 |
+
'name' => filter_var( $tag['tag_name'], FILTER_SANITIZE_STRING ),
|
141 |
+
'id' => filter_var( $tag['tag_id'], FILTER_SANITIZE_NUMBER_INT ),
|
142 |
+
);
|
143 |
+
}
|
144 |
+
|
145 |
+
$form['tags'] = $form_tags + ( isset( $form['tags'] ) ? $form['tags'] : array() );
|
146 |
+
$form_interface->update_form( $form_id, $form );
|
147 |
+
wp_send_json_success( array( 'tags' => $form_tags ) );
|
148 |
+
}
|
149 |
+
|
150 |
+
/**
|
151 |
+
* Remove a tag from a form.
|
152 |
+
*/
|
153 |
+
public function remove_tag_from_form() {
|
154 |
+
// Verify Nonce.
|
155 |
+
if ( ! check_ajax_referer( 'remove-tag', 'nonce', false ) ) {
|
156 |
+
wp_send_json_error( '1' );
|
157 |
+
}
|
158 |
+
$tag = isset( $_POST['tag'] ) ? filter_var( wp_unslash( $_POST['tag'] ), FILTER_SANITIZE_NUMBER_INT ) : array();
|
159 |
+
$list_id = isset( $_POST['list_id'] ) ? filter_var( wp_unslash( $_POST['list_id'] ), FILTER_SANITIZE_STRING ) : '';
|
160 |
+
$form_id = isset( $_POST['form_id'] ) ? filter_var( wp_unslash( $_POST['form_id'] ), FILTER_SANITIZE_NUMBER_INT ) : 0;
|
161 |
+
|
162 |
+
if ( empty( $tag ) || empty( $list_id ) || empty( $form_id ) ) {
|
163 |
+
wp_send_json_error( '2' );
|
164 |
+
}
|
165 |
+
|
166 |
+
$form_interface = yikes_easy_mailchimp_extender_get_form_interface();
|
167 |
+
$form = $form_interface->get_form( $form_id );
|
168 |
+
if ( isset( $form['tags'] ) && isset( $form['tags'][ $tag ] ) ) {
|
169 |
+
unset( $form['tags'][ $tag ] );
|
170 |
+
}
|
171 |
+
$form_interface->update_form( $form_id, $form );
|
172 |
+
wp_send_json_success();
|
173 |
+
}
|
174 |
+
|
175 |
/*
|
176 |
* Search through multi dimensional array
|
177 |
* and return the index ( used to find the list name assigned to a form )
|
212 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
213 |
$error_logging->maybe_write_to_log(
|
214 |
$merge_field->get_error_code(),
|
215 |
+
__( "Updating merge field", 'yikes-inc-easy-mailchimp-extender' ),
|
216 |
"class.ajax.php"
|
217 |
);
|
218 |
wp_send_json_error( array(
|
admin/partials/edit-form.php
CHANGED
@@ -1,169 +1,169 @@
|
|
1 |
<div class="wrap">
|
2 |
-
|
3 |
-
|
4 |
-
// if an error was returned in the most recent query
|
5 |
-
if( isset( $_GET['sql_error'] ) ) {
|
6 |
-
// if error logging is turned on, lets display a better error to help narrow things down
|
7 |
-
// lets also log things to the error log
|
8 |
-
if( get_option( 'yikes-mailchimp-debug-status' , '' ) == '1' ) {
|
9 |
-
wp_die( '<strong>' . __( 'Error Creating Form' , 'yikes-inc-easy-mailchimp-extender' ) . '</strong> <p>' . stripslashes( urldecode( $_GET['sql_error'] ) ) . '</p>' , __( 'Error Creating Form' , 'yikes-inc-easy-mailchimp-extender' ) );
|
10 |
-
} else {
|
11 |
-
wp_die( '<strong>' . __( 'Error Creating Form' , 'yikes-inc-easy-mailchimp-extender' ) . '</strong><p>' . __( "Please try again. If the error persists please get in contact with the YIKES Inc. support team." , 'yikes-inc-easy-mailchimp-extender' ) . '</p>' );
|
12 |
-
}
|
13 |
-
}
|
14 |
-
|
15 |
-
/* Get The Form ID we need to edit */
|
16 |
-
if ( ! isset( $_GET['id'] ) ) {
|
17 |
-
wp_die( __( 'Oh No!', 'yikes-inc-easy-mailchimp-extender' ), __( 'Error', 'yikes-inc-easy-mailchimp-extender' ) );
|
18 |
-
}
|
19 |
-
|
20 |
-
// grab and store the form ID
|
21 |
-
$form_id = (int) $_GET['id'];
|
22 |
-
|
23 |
-
// Get our form interface.
|
24 |
-
$form_interface = yikes_easy_mailchimp_extender_get_form_interface();
|
25 |
-
|
26 |
-
// return it as an array, so we can work with it to build our form below
|
27 |
-
$form = $form_interface->get_form( $form_id );
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
// if the form was not found return an error
|
33 |
-
if ( empty( $form ) ) {
|
34 |
-
wp_die( printf( __( "Whoops! It looks like this form doesn't exist. If this error persists you may want to toggle on debugging on the <a href='%s'>%s</a> " , 'yikes-inc-easy-mailchimp-extender' ), esc_url_raw( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp-settings§ion=debug-settings' ) ), __( 'debug settings page' , 'yikes-inc-easy-mailchimp-extender' ) ), __( 'Error' , 'yikes-inc-easy-mailchimp-extender' ) );
|
35 |
-
}
|
36 |
-
|
37 |
-
// set global form data, mainly for use in custom form field declarations
|
38 |
-
$GLOBALS["form_data"] = $form;
|
39 |
-
|
40 |
-
$custom_styles = $form['custom_styles'];
|
41 |
-
$optin_settings = $form['optin_settings'];
|
42 |
-
$submission_settings = $form['submission_settings'];
|
43 |
-
$error_messages = $form['error_messages'];
|
44 |
-
|
45 |
-
if ( isset( $form['form_settings'] ) ) {
|
46 |
-
$form_settings = $form['form_settings'];
|
47 |
-
}
|
48 |
-
|
49 |
-
// get defaults if none are saved in the database yet
|
50 |
-
if ( empty( $form_settings ) ) {
|
51 |
-
// setup defaults if none are saved
|
52 |
-
$form_settings = array(
|
53 |
-
'yikes-easy-mc-form-class-names' => '',
|
54 |
-
'yikes-easy-mc-inline-form' => '0',
|
55 |
-
'yikes-easy-mc-submit-button-type' => 'text',
|
56 |
-
'yikes-easy-mc-submit-button-text' => __( 'Submit', 'yikes-inc-easy-mailchimp-extender' ),
|
57 |
-
'yikes-easy-mc-submit-button-image' => '',
|
58 |
-
'yikes-easy-mc-submit-button-classes' => '',
|
59 |
-
'yikes-easy-mc-form-schedule' => '0',
|
60 |
-
|
61 |
-
// current date & time
|
62 |
-
'yikes-easy-mc-form-restriction-start' => strtotime( current_time( 'm/d/Y g:iA' ) ),
|
63 |
-
|
64 |
-
// current date & time + 1 day
|
65 |
-
'yikes-easy-mc-form-restriction-end' => strtotime( current_time( 'm/d/Y g:iA' ) ) + ( 3600 * 24 ),
|
66 |
-
'yikes-easy-mc-form-restriction-pending-message' => sprintf( __( 'Signup is not yet open, and will be available on %s. Please come back then to signup.', 'yikes-inc-easy-mailchimp-extender' ), current_time( str_replace( '-', '/', get_option( 'date_format' ) ) ) . ' ' . __( 'at', 'yikes-inc-easy-mailchimp-extender' ) . ' ' . current_time( 'g:iA' ) ),
|
67 |
-
'yikes-easy-mc-form-restriction-expired-message' => sprintf( __( 'The signup period for this form ended on %s.', 'yikes-inc-easy-mailchimp-extender' ), date( str_replace( '-', '/', get_option( 'date_format' ) ), strtotime( current_time( str_replace( '-', '/', get_option( 'date_format' ) ) ) ) + ( 3600 * 24 ) ) . ' ' . __( 'at', 'yikes-inc-easy-mailchimp-extender' ) . ' ' . date( 'g:iA', strtotime( current_time( 'g:iA' ) ) + ( 3600 * 24 ) ) ),
|
68 |
-
'yikes-easy-mc-form-login-required' => '0',
|
69 |
-
'yikes-easy-mc-form-restriction-login-message' => __( 'You need to be logged in to sign up for this mailing list.', 'yikes-inc-easy-mailchimp-extender' ),
|
70 |
-
);
|
71 |
-
}
|
72 |
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
$list_data = $list_handler->get_lists();
|
78 |
-
if ( is_wp_error( $list_data ) ) {
|
79 |
-
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
80 |
-
$error_logging->maybe_write_to_log(
|
81 |
-
$list_data->get_error_code(),
|
82 |
-
__( "Get Account Lists", 'yikes-inc-easy-mailchimp-extender' ),
|
83 |
-
"Edit Form Page"
|
84 |
-
);
|
85 |
-
$list_data = array();
|
86 |
}
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
$
|
106 |
-
|
107 |
-
|
108 |
-
)
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
);
|
122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
?>
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
<h1>YIKES Easy Forms for MailChimp | <?php echo __( 'Edit' , 'yikes-inc-easy-mailchimp-extender' ) . ' ' . $form['form_name']; ?></h1>
|
128 |
-
|
129 |
-
<!-- Settings Page Description -->
|
130 |
-
<p class="yikes-easy-mc-about-text about-text"><?php _e( 'Update this MailChimp form\'s fields, styles and settings below.' , 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
131 |
-
|
132 |
<?php
|
133 |
-
|
134 |
-
?>
|
135 |
-
<div class="updated manage-form-admin-notice">
|
136 |
-
<p><?php _e( 'Opt-in form successfully updated.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
137 |
-
</div>
|
138 |
-
<?php
|
139 |
-
}
|
140 |
-
// hooks to allow extensions to display notices
|
141 |
-
do_action( 'yikes-mailchimp-edit-form-notice' );
|
142 |
-
?>
|
143 |
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
|
|
|
|
|
148 |
<div id="post-body" class="metabox-holder columns-2">
|
149 |
-
|
150 |
-
<!-- main content -->
|
151 |
<div id="post-body-content">
|
152 |
<div class="meta-box-sortables ui-sortable">
|
153 |
<div class="postbox yikes-easy-mc-postbox">
|
154 |
<div class="inside">
|
155 |
|
156 |
<label for="form-name">
|
157 |
-
<h3 class="bg-transparent"><?php
|
158 |
-
<input autocomplete="disabled" id="form-name" name="form-name" type="text" value="<?php echo
|
159 |
-
<p class="description"><?php
|
160 |
</label>
|
161 |
|
162 |
<label for="form-description">
|
163 |
-
<h3 class="bg-transparent"><?php
|
164 |
-
<textarea name="form-description" id="form-description" class="large-text edit-form-form-description"><?php echo isset( $form['form_description'] ) ?
|
165 |
-
<p class="description"><?php
|
166 |
-
<p class="description"><?php printf(
|
167 |
</label>
|
168 |
|
169 |
</div>
|
@@ -178,16 +178,16 @@
|
|
178 |
|
179 |
<ul id="yikes_easy_mc_toolbar_links">
|
180 |
<li class="hidden_setting_list">
|
181 |
-
<a class="hidden_setting form-builder selected_hidden_setting" data-attr-container="form-builder" onclick="return false;" title="<?php esc_attr_e( 'Customize Form Fields'
|
182 |
<div class="selected_setting_triangle"></div>
|
183 |
</li>
|
184 |
<li class="hidden_setting_list">
|
185 |
-
<a class="hidden_setting form-settings" onclick="return false;" data-attr-container="form-settings" title="<?php esc_attr_e( 'Form Settings'
|
186 |
</li>
|
187 |
<li class="hidden_setting_list">
|
188 |
-
<a class="hidden_setting error-messages" onclick="return false;" data-attr-container="error-messages" title="<?php esc_attr_e( 'Customize Form Messages'
|
189 |
</li>
|
190 |
-
<?php do_action( 'yikes-mailchimp-edit-form-section-links'
|
191 |
</ul>
|
192 |
|
193 |
</div>
|
@@ -208,11 +208,15 @@
|
|
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'
|
212 |
-
<
|
|
|
|
|
|
|
|
|
213 |
<div id="form-builder-container" class="inside">
|
214 |
<!-- #poststuff -->
|
215 |
-
<?php echo $this->generate_form_editor( $form['fields'], $form['list_id']
|
216 |
</div>
|
217 |
|
218 |
<!-- Bulk Delete Form Fields -->
|
@@ -223,7 +227,7 @@
|
|
223 |
?>
|
224 |
|
225 |
<!-- Save Fields Button -->
|
226 |
-
<?php submit_button( __( 'Update Form' )
|
227 |
|
228 |
<!-- .inside -->
|
229 |
</div>
|
@@ -236,44 +240,53 @@
|
|
236 |
<div id="postbox-container-1" class="postbox-container">
|
237 |
<div class="meta-box-sortables">
|
238 |
<div class="postbox yikes-easy-mc-postbox">
|
239 |
-
<h3 class="edit-form-title"><span><?php
|
240 |
<div class="inside">
|
241 |
|
242 |
<h3 class="nav-tab-wrapper mv_ig_list">
|
243 |
-
<a href="#" class="nav-tab nav-tab-active"
|
244 |
-
|
245 |
-
|
|
|
|
|
246 |
<?php } else { ?>
|
247 |
-
<a href="#" class="nav-tab no-interest-groups-found-message" disabled="disabled" title="<?php
|
248 |
<?php } ?>
|
|
|
249 |
</h3>
|
250 |
|
251 |
<div id="container-container">
|
252 |
|
253 |
<div id="merge-variables-container" class="list-container">
|
254 |
<?php
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
echo $merge_variable_error;
|
262 |
-
}
|
263 |
?>
|
264 |
</div>
|
265 |
|
266 |
<div id="interest-groups-container" class="list-container">
|
267 |
<?php
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
?>
|
278 |
</div>
|
279 |
|
@@ -305,18 +318,18 @@
|
|
305 |
<div id="post-body-content">
|
306 |
<div class="meta-box-sortables ui-sortable">
|
307 |
<div class="postbox yikes-easy-mc-postbox">
|
308 |
-
<h3 class="edit-form-title"><span><?php _e( "Additional Form Settings"
|
309 |
|
310 |
<div class="inside form-settings-container">
|
311 |
|
312 |
-
<p class="edit-form-description"><?php _e( "Adjust some additional form settings below."
|
313 |
|
314 |
<!-- begin form classes section -->
|
315 |
<strong class="section-title first"><?php _e( 'Overall Form Classes', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
316 |
<section class="section-interior">
|
317 |
|
318 |
<!-- form classes -->
|
319 |
-
<label for="yikes-easy-mc-form-class-names"><strong><?php _e( 'Form Classes'
|
320 |
<input type="text" class="widefat" name="yikes-easy-mc-form-class-names" id="yikes-easy-mc-form-class-names" value="<?php echo $form_settings['yikes-easy-mc-form-class-names']; ?>" placeholder="<?php _e( 'Add additional classes to this opt-in form.', 'yikes-inc-easy-mailchimp-extender' ); ?>" >
|
321 |
<p class="description"><?php printf( __( 'Add additional class names to the %s element.', 'yikes-inc-easy-mailchimp-extender' ), '<code>' . htmlentities( '<form>' ) . '</code>' ); ?></p>
|
322 |
</label>
|
@@ -330,7 +343,7 @@
|
|
330 |
|
331 |
<!-- setup the checked state here -->
|
332 |
<!-- inline form -->
|
333 |
-
<strong><?php _e( 'Inline Form'
|
334 |
<label class="inline-form-label">
|
335 |
<input type="radio" name="yikes-easy-mc-inline-form[]" value="1" <?php checked( $form_settings['yikes-easy-mc-inline-form'], '1' ); ?>/><?php _e( 'Enable', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
336 |
</label>
|
@@ -348,7 +361,7 @@
|
|
348 |
<section class="section-interior">
|
349 |
|
350 |
<!-- Submit button type -->
|
351 |
-
<strong><?php _e( 'Submit Button Type'
|
352 |
<label class="inline-form-label">
|
353 |
<input type="radio" onclick="toggle_nested_section( jQuery(this) );" name="yikes-easy-mc-submit-button-type[]" value="text" <?php checked( $form_settings['yikes-easy-mc-submit-button-type'], 'text' ); ?> /><?php _e( 'Text', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
354 |
</label>
|
@@ -361,7 +374,7 @@
|
|
361 |
<!-- Text submit button type -->
|
362 |
<section class="submit-button-type-text nested-child<?php if( $form_settings['yikes-easy-mc-submit-button-type'] == 'image' ) { echo ' hidden'; } ?>">
|
363 |
<!-- submit button text -->
|
364 |
-
<label for="yikes-easy-mc-submit-button-text"><strong><?php _e( 'Submit Button Text'
|
365 |
<input type="text" class="widefat" name="yikes-easy-mc-submit-button-text" id="yikes-easy-mc-submit-button-text" value="<?php echo $form_settings['yikes-easy-mc-submit-button-text']; ?>" placeholder="<?php _e( 'Submit', 'yikes-inc-easy-mailchimp-extender' ); ?>">
|
366 |
<p class="description"><?php printf( __( 'Set the submit button text. Leaving this blank will default to %s.', 'yikes-inc-easy-mailchimp-extender' ), '"' . __( 'Submit', 'yikes-inc-easy-mailchimp-extender' ) . '"' ); ?></p>
|
367 |
|
@@ -372,7 +385,7 @@
|
|
372 |
|
373 |
<!-- Image submit button type -->
|
374 |
<section class="submit-button-type-image nested-child<?php if( $form_settings['yikes-easy-mc-submit-button-type'] == 'text' ) { echo ' hidden'; } ?>">
|
375 |
-
<label for="yikes-easy-mc-submit-button-image"><strong><?php _e( 'Submit Button URL'
|
376 |
<input type="text" class="widefat" name="yikes-easy-mc-submit-button-image" id="yikes-easy-mc-submit-button-image" value="<?php echo $form_settings['yikes-easy-mc-submit-button-image']; ?>" placeholder="<?php _e( 'http://', 'yikes-inc-easy-mailchimp-extender' ); ?>">
|
377 |
<p class="description"><?php _e( 'Enter the URL of an image you would like to use as the submit button for this form.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
378 |
</label>
|
@@ -381,7 +394,7 @@
|
|
381 |
|
382 |
|
383 |
<!-- submit button classes -->
|
384 |
-
<label for="yikes-easy-mc-form-submit-button-classes"><strong style="float:left;"><?php _e( 'Submit Button Classes'
|
385 |
<input type="text" class="widefat" name="yikes-easy-mc-submit-button-classes" id="yikes-easy-mc-submit-button-classes" value="<?php echo $form_settings['yikes-easy-mc-submit-button-classes']; ?>" placeholder="<?php _e( 'Add additional classes to this submit button.', 'yikes-inc-easy-mailchimp-extender' ); ?>" >
|
386 |
<p class="description"><?php _e( 'Add custom classes to the submit button.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
387 |
</label>
|
@@ -402,13 +415,13 @@
|
|
402 |
<!-- Start Date Limitation Nested -->
|
403 |
<section class="date-restriction-section nested-child<?php if( $form_settings['yikes-easy-mc-form-schedule'] == '0' ) { echo ' hidden'; } ?>">
|
404 |
<!-- Start Date -->
|
405 |
-
<label for="yikes-easy-mc-form-restriction-start-date"><strong><?php _e( 'Start Date'
|
406 |
<input type="text" class="date-picker" name="yikes-easy-mc-form-restriction-start-date" id="yikes-easy-mc-form-restriction-start-date" value="<?php echo ! empty($form_settings['yikes-easy-mc-form-restriction-start'] ) ? date( $this->yikes_jQuery_datepicker_date_format( get_option( 'date_format' ) ), $form_settings['yikes-easy-mc-form-restriction-start'] ) : ''; ?>" >
|
407 |
<?php _e( 'at', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
408 |
</label>
|
409 |
|
410 |
<!-- Start Time -->
|
411 |
-
<label for="yikes-easy-mc-form-restriction-start-time"><strong><?php _e( 'Start Time'
|
412 |
<input type="text" class="time-picker" name="yikes-easy-mc-form-restriction-start-time" id="yikes-easy-mc-form-restriction-start-time" value="<?php echo ! empty( $form_settings['yikes-easy-mc-form-restriction-start'] ) ? date( 'g:iA', $form_settings['yikes-easy-mc-form-restriction-start'] ) : ''; ?>" >
|
413 |
</label>
|
414 |
<p class="description"><?php _e( 'Set the dates that this form should display on your site.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
@@ -418,19 +431,19 @@
|
|
418 |
<!-- End Date Limitation Nested -->
|
419 |
<section class="date-restriction-section nested-child<?php if( $form_settings['yikes-easy-mc-form-schedule'] == '0' ) { echo ' hidden'; } ?> last">
|
420 |
<!-- End Date -->
|
421 |
-
<label for="yikes-easy-mc-form-restriction-end-date"><strong><?php _e( 'End Date'
|
422 |
<input type="text" class="date-picker" name="yikes-easy-mc-form-restriction-end-date" id="yikes-easy-mc-form-restriction-end-date" value="<?php echo ! empty( $form_settings['yikes-easy-mc-form-restriction-end'] ) ? date( $this->yikes_jQuery_datepicker_date_format( get_option( 'date_format' ) ), $form_settings['yikes-easy-mc-form-restriction-end'] ) : ''; ?>" >
|
423 |
<?php _e( 'at', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
424 |
</label>
|
425 |
|
426 |
<!-- End Time -->
|
427 |
-
<label for="yikes-easy-mc-form-restriction-end-time"><strong><?php _e( 'End Time'
|
428 |
<input type="text" class="time-picker" name="yikes-easy-mc-form-restriction-end-time" id="yikes-easy-mc-form-restriction-end-time" value="<?php echo ! empty( $form_settings['yikes-easy-mc-form-restriction-end'] ) ? date( 'g:iA', $form_settings['yikes-easy-mc-form-restriction-end'] ) : ''; ?>" >
|
429 |
</label>
|
430 |
<p class="description"><?php _e( 'Set the dates that this form should no longer display on your site.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
431 |
|
432 |
<!-- Form pending message -->
|
433 |
-
<label for="yikes-easy-mc-form-restriction-pending-message"><strong><?php _e( 'Pending Message'
|
434 |
<?php
|
435 |
wp_editor(
|
436 |
$form_settings['yikes-easy-mc-form-restriction-pending-message'],
|
@@ -445,7 +458,7 @@
|
|
445 |
<p class="description"><?php _e( 'Set the message that should display prior to the form being active.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
446 |
|
447 |
<!-- form expired message -->
|
448 |
-
<label for="yikes-easy-mc-form-restriction-expired-message"><strong><?php _e( 'Expired Message'
|
449 |
<?php
|
450 |
wp_editor(
|
451 |
$form_settings['yikes-easy-mc-form-restriction-expired-message'],
|
@@ -469,7 +482,7 @@
|
|
469 |
|
470 |
<!-- Require Login Message -->
|
471 |
<section class="login-restriction-section nested-child<?php if( $form_settings['yikes-easy-mc-form-login-required'] == '0' ) { echo ' hidden'; } ?>">
|
472 |
-
<label for="yikes-easy-mc-form-restriction-login-message"><strong><?php _e( 'Required Login Message'
|
473 |
<?php
|
474 |
wp_editor(
|
475 |
$form_settings['yikes-easy-mc-form-restriction-login-message'],
|
@@ -501,14 +514,14 @@
|
|
501 |
<div id="postbox-container-1" class="postbox-container">
|
502 |
<div class="meta-box-sortables">
|
503 |
<div class="postbox yikes-easy-mc-postbox">
|
504 |
-
<h3 class="edit-form-title"><span><?php _e( "Form Settings Explained"
|
505 |
<div class="inside">
|
506 |
|
507 |
<ul>
|
508 |
-
<li><strong><?php _e( 'Classes'
|
509 |
-
<li><strong><?php _e( 'Form Layout'
|
510 |
-
<li><strong><?php _e( 'Submit Button'
|
511 |
-
<li><strong><?php _e( 'Form Restrictions'
|
512 |
</ul>
|
513 |
|
514 |
</div>
|
@@ -536,62 +549,62 @@
|
|
536 |
<div id="post-body-content">
|
537 |
<div class="meta-box-sortables ui-sortable">
|
538 |
<div class="postbox yikes-easy-mc-postbox">
|
539 |
-
<h3 class="edit-form-title"><span><?php _e( "Custom Messages"
|
540 |
|
541 |
<div class="inside error-message-container">
|
542 |
<?php
|
543 |
// build our default options
|
544 |
$error_message_array = array(
|
545 |
-
'success' => __( 'Thank You for subscribing! Check your email for the confirmation message.'
|
546 |
-
'success-single-optin' => __( 'Thank you for subscribing!'
|
547 |
'success-resubscribed' => __( 'Thank you for already being a subscriber! Your profile info has been updated.', 'yikes-inc-easy-mailchimp-extender' ),
|
548 |
-
'general-error' => __( "Whoops! It looks like something went wrong. Please try again."
|
549 |
-
'email-exists-error' => __( "The email you entered is already a subscriber to this list."
|
550 |
'update-link' => __( "You're already subscribed. To update your MailChimp profile, please [link]click to send yourself an update link[/link].", 'yikes-inc-easy-mailchimp-extender' ),
|
551 |
'email-subject' => __( 'MailChimp Profile Update', 'yikes-inc-easy-mailchimp-extender' ),
|
552 |
'update-email-success' => sprintf( __( '%s Update email successfully sent. Please check your inbox for the message.', 'yikes-inc-easy-mailchimp-extender' ), '✔' ),
|
553 |
'update-email-failure' => sprintf( __( '%s Email failed to send. Please contact the site administrator.', 'yikes-inc-easy-mailchimp-extender' ), '✕' ),
|
554 |
|
555 |
);
|
556 |
-
$global_error_messages = get_option( 'yikes-easy-mc-global-error-messages'
|
557 |
?>
|
558 |
-
<p class="edit-form-description"><?php _e( "Customize the response messages for this form. Leave the field blank to use the default message. The messages shown below depend on the Opt-in Settings chosen."
|
559 |
|
560 |
<!-- Success Message (refactored @ 6.3.0 for double optin) -->
|
561 |
-
<label for="yikes-easy-mc-success-message"><strong><?php _e( 'Success: Double opt-in'
|
562 |
<input type="text" class="widefat" name="yikes-easy-mc-success-message" id="yikes-easy-mc-success-message" value="<?php echo isset( $error_messages['success'] ) ? stripslashes( esc_html( $error_messages['success'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['success']; ?>" >
|
563 |
</label>
|
564 |
<!-- Success Message (for single optin) -->
|
565 |
-
<label for="yikes-easy-mc-success-single-optin-message"><strong><?php _e( 'Success: Single opt-in'
|
566 |
<input type="text" class="widefat" name="yikes-easy-mc-success-single-optin-message" id="yikes-easy-mc-success-single-optin-message" value="<?php echo isset( $error_messages['success-single-optin'] ) ? stripslashes( esc_html( $error_messages['success-single-optin'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['success-single-optin']; ?>" >
|
567 |
</label>
|
568 |
<!-- Resubscribing users when updating your profile via the form is allowed -->
|
569 |
-
<label for="yikes-easy-mc-user-resubscribed-success-message"><strong><?php _e( 'Success: Re-subscriber'
|
570 |
<input type="text" class="widefat" name="yikes-easy-mc-user-resubscribed-success-message" id="yikes-easy-mc-user-resubscribed-success-message" value="<?php echo isset( $error_messages['success-resubscribed'] ) ? stripslashes( esc_html( $error_messages['success-resubscribed'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['success-resubscribed']; ?>">
|
571 |
</label>
|
572 |
|
573 |
<!-- Click the link to update user profile etc. etc. -->
|
574 |
-
<label for="yikes-easy-mc-user-subscribed-update-link"><strong><?php _e( 'Success: Re-subscriber with link to email profile update message'
|
575 |
<input type="text" class="widefat" name="yikes-easy-mc-user-update-link" id="yikes-easy-mc-user-update-link" value="<?php echo isset( $error_messages['update-link'] ) ? stripslashes( esc_html( $error_messages['update-link'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['update-link']; ?>">
|
576 |
</label>
|
577 |
|
578 |
<!-- Email Address is already subscribed -->
|
579 |
-
<label for="yikes-easy-mc-user-subscribed-message"><strong><?php _e( 'Error: Re-subscribers not permitted'
|
580 |
<input type="text" class="widefat" name="yikes-easy-mc-user-subscribed-message" id="yikes-easy-mc-user-subscribed-message" value="<?php echo isset( $error_messages['already-subscribed'] ) ? stripslashes( esc_html( $error_messages['already-subscribed'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['email-exists-error']; ?>">
|
581 |
</label>
|
582 |
|
583 |
<!-- Update email successfully sent -->
|
584 |
-
<label for="yikes-easy-mc-update-email-successful"><strong><?php _e( 'Success: Update email successfully sent'
|
585 |
<input type="text" class="widefat" name="yikes-easy-mc-update-email-successful" id="yikes-easy-mc-update-email-successful" value="<?php echo isset( $error_messages['update-email-success'] ) ? stripslashes( esc_attr( $error_messages['update-email-success'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['update-email-success']; ?>" >
|
586 |
</label>
|
587 |
|
588 |
<!-- Update email failed to send -->
|
589 |
-
<label for="yikes-easy-mc-update-email-failure"><strong><?php _e( 'Error: Update email failed to send'
|
590 |
<input type="text" class="widefat" name="yikes-easy-mc-update-email-failure" id="yikes-easy-mc-update-email-failure" value="<?php echo isset( $error_messages['update-email-failure'] ) ? stripslashes( esc_attr( $error_messages['update-email-failure'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['update-email-failure']; ?>" >
|
591 |
</label>
|
592 |
|
593 |
<!-- General Error Message -->
|
594 |
-
<label for="yikes-easy-mc-general-error-message"><strong><?php _e( 'Error: General'
|
595 |
<input type="text" class="widefat" name="yikes-easy-mc-general-error-message" id="yikes-easy-mc-general-error-message" value="<?php echo isset( $error_messages['general-error'] ) ? stripslashes( esc_html( $error_messages['general-error'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['general-error']; ?>" >
|
596 |
</label>
|
597 |
|
@@ -599,13 +612,13 @@
|
|
599 |
|
600 |
<hr>
|
601 |
<div class="yikes-easy-mc-custom-messages-email-section">
|
602 |
-
<p class="edit-form-description"><?php _e( 'Customize the profile verification email sent to re-subscribers. Leave the text unedited to use the default message.'
|
603 |
<!-- Email Subject -->
|
604 |
-
<label for="yikes-easy-mc-user-email-subject"><strong><?php _e( 'Email Subject'
|
605 |
<input type="text" class="widefat" name="yikes-easy-mc-user-email-subject" id="yikes-easy-mc-user-email-subject" value="<?php echo isset( $error_messages['email-subject'] ) ? stripslashes( esc_html( $error_messages['email-subject'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['email-subject']; ?>">
|
606 |
</label>
|
607 |
<!-- Email Body -->
|
608 |
-
<label for="yikes-easy-mc-user-email-body"><strong><?php _e( 'Email Body'
|
609 |
<?php
|
610 |
$editor_content = ( isset( $error_messages['email-body'] ) && ! empty( $error_messages['email-body'] ) ) ? $error_messages['email-body'] : Yikes_Inc_Easy_Mailchimp_Forms_Admin::generate_default_email_body();
|
611 |
wp_editor( $editor_content, 'yikes-easy-mc-user-email-body', array( 'textarea_id' => 'yikes-easy-mc-user-email-body' ) );
|
@@ -625,17 +638,54 @@
|
|
625 |
<div id="postbox-container-1" class="postbox-container yikes-easy-mc-custom-messages-section-help">
|
626 |
<div class="meta-box-sortables">
|
627 |
<div class="postbox yikes-easy-mc-postbox">
|
628 |
-
<h3 class="edit-form-title"><span><?php
|
629 |
<div class="inside">
|
630 |
<ul>
|
631 |
-
<li class="yikes-easy-mc-success-message-help"
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
<li class="yikes-easy-mc-
|
638 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
639 |
</ul>
|
640 |
|
641 |
</div>
|
@@ -643,23 +693,52 @@
|
|
643 |
</div>
|
644 |
|
645 |
<div class="postbox yikes-easy-mc-postbox yikes-easy-mc-custom-messages-email-section-help">
|
646 |
-
<h3 class="edit-form-title"><span><?php
|
647 |
<div class="inside">
|
648 |
|
649 |
<ul>
|
650 |
-
<li class="yikes-easy-mc-user-email-subject-help"><strong><?php
|
651 |
<li class="yikes-easy-mc-user-email-body-help">
|
652 |
-
<strong><?php
|
653 |
-
<?php
|
|
|
|
|
|
|
654 |
</li>
|
655 |
<li class="yikes-easy-mc-user-email-body-help">
|
656 |
-
<strong><?php
|
657 |
-
<?php
|
658 |
<ul>
|
659 |
-
<li
|
660 |
-
|
661 |
-
|
662 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
663 |
</ul>
|
664 |
</li>
|
665 |
</ul>
|
@@ -685,7 +764,7 @@
|
|
685 |
</label>
|
686 |
<!-- End Error Messages -->
|
687 |
|
688 |
-
<?php do_action( 'yikes-mailchimp-edit-form-sections'
|
689 |
|
690 |
</div>
|
691 |
<!-- .inside -->
|
@@ -697,48 +776,48 @@
|
|
697 |
<!-- post-body-content -->
|
698 |
|
699 |
<!-- sidebar -->
|
700 |
-
<div id="postbox-container-1" class="postbox-container
|
701 |
<div class="meta-box-sortables">
|
702 |
<div class="postbox yikes-easy-mc-postbox">
|
703 |
-
<h3><span><?php
|
704 |
|
705 |
<div class="inside">
|
706 |
<p class="inside-section-1">
|
707 |
-
<label for="shortcode"><?php
|
708 |
<select class="widefat" name="form_switcher" id="form_switcher" onchange="YIKES_Easy_MC_SwitchForm(jQuery(this).val());">
|
709 |
-
<?php foreach( $all_forms as $single_form ) { ?>
|
710 |
-
<option <?php selected( $form_id
|
711 |
<?php } ?>
|
712 |
</select>
|
713 |
</label>
|
714 |
</p>
|
715 |
|
716 |
<p class="inside-section-2">
|
717 |
-
<label for="shortcode"><?php
|
718 |
-
<input type="text" onclick="this.setSelectionRange(0, this.value.length)" class="widefat shortcode-input-field" readonly value='[yikes-mailchimp form="<?php echo $form['id']; ?>"]' />
|
719 |
</label>
|
720 |
</p>
|
721 |
|
722 |
|
723 |
<a href="#" class="expansion-section-title settings-sidebar">
|
724 |
-
<span class="dashicons dashicons-plus yikes-mc-expansion-toggle"></span><?php
|
725 |
</a>
|
726 |
<div class="yikes-mc-settings-expansion-section">
|
727 |
<!-- Associated List -->
|
728 |
<p class="form-field-container">
|
729 |
<!-- necessary to prevent skipping on slideToggle(); -->
|
730 |
-
<label for="associated-list"><strong><?php
|
731 |
<select name="associated-list" id="associated-list" <?php if ( empty( $list_data ) ) { echo 'disabled="disabled"'; } ?> onchange="jQuery('.view-list-link').attr( 'href', '<?php echo esc_url( admin_url( 'admin.php?page=yikes-mailchimp-view-list&list-id=' ) ); ?>' + jQuery( this ).val() );">
|
732 |
<?php
|
733 |
if ( ! empty( $list_data ) ) {
|
734 |
foreach( $list_data as $mailing_list ) {
|
735 |
?>
|
736 |
-
<option <?php selected( $form['list_id']
|
737 |
<?php
|
738 |
}
|
739 |
} else {
|
740 |
?>
|
741 |
-
<option value="no-forms"><?php
|
742 |
<?php
|
743 |
}
|
744 |
?>
|
@@ -748,26 +827,26 @@
|
|
748 |
<a href="<?php echo esc_url( admin_url( 'admin.php?page=yikes-mailchimp-view-list&list-id=' . $form['list_id'] ) ); ?>" class="view-list-link"><?php _e( 'View List', 'yikes-inc-easy-mailchimp-extender' ); ?></a>
|
749 |
</p>
|
750 |
<p class="description">
|
751 |
-
<?php _e( "Users who sign up via this form will be added to the list selected above."
|
752 |
</p>
|
753 |
<?php } else { ?>
|
754 |
<p class="description">
|
755 |
-
<?php _e( "It looks like you first need to create a list to assign this form to. Head over to"
|
756 |
</p>
|
757 |
<?php } ?>
|
758 |
|
759 |
<!-- Display our Clear API Cache button -->
|
760 |
<?php if ( false === get_transient( 'yikes-easy-mailchimp-list-data' ) && false === get_transient( 'yikes-easy-mailchimp-profile-data' ) && false === get_transient( 'yikes-easy-mailchimp-account-data' ) && false === get_transient( 'yikesinc_eme_list_ids' ) && false === get_transient( 'yikes_eme_lists' ) ) { ?>
|
761 |
-
<p><a href="#" class="button-secondary" disabled="disabled" title="<?php _e( 'No MailChimp data found in temporary cache storage.'
|
762 |
<?php } else { ?>
|
763 |
-
<p><a href="<?php echo esc_url_raw( add_query_arg( array( 'action' => 'yikes-easy-mc-clear-transient-data'
|
764 |
<?php } ?>
|
765 |
</label>
|
766 |
</p>
|
767 |
</div>
|
768 |
|
769 |
<a href="#" class="expansion-section-title settings-sidebar">
|
770 |
-
<span class="dashicons dashicons-plus yikes-mc-expansion-toggle"></span><?php _e( 'Opt-in Settings'
|
771 |
</a>
|
772 |
<div class="yikes-mc-settings-expansion-section">
|
773 |
|
@@ -777,12 +856,12 @@
|
|
777 |
$optin_settings['optin'] = '1';
|
778 |
}
|
779 |
?>
|
780 |
-
<p class="form-field-container"><!-- necessary to prevent skipping on slideToggle(); --><label for="single-double-optin"><strong><?php _e( 'Single or Double Opt-in'
|
781 |
<span class="edit-form-field-container-span">
|
782 |
-
<label for="single"><input id="single" type="radio" name="single-double-optin" value="0" <?php checked( $optin_settings['optin']
|
783 |
-
<label for="double"><input id="double" type="radio" name="single-double-optin" value="1" <?php checked( $optin_settings['optin']
|
784 |
</span>
|
785 |
-
<p class="description"><?php _e( "Double opt-in requires users to confirm their email address before being added to a list (recommended)"
|
786 |
</label></p>
|
787 |
|
788 |
<!-- Update Existing Users -->
|
@@ -791,12 +870,12 @@
|
|
791 |
$optin_settings['update_existing_user'] = '1';
|
792 |
}
|
793 |
?>
|
794 |
-
<p class="form-field-container"><!-- necessary to prevent skipping on slideToggle(); --><label for="update-existing-user"><strong><?php _e( 'Update Existing Subscriber'
|
795 |
<span class="form-field-container-span">
|
796 |
-
<label for="update-user"><input type="radio" id="update-user" onchange="toggleUpdateEmailContainer(this);return false;" name="update-existing-user" value="1" <?php checked( $optin_settings['update_existing_user']
|
797 |
-
<label for="do-not-update-user"><input type="radio" onchange="toggleUpdateEmailContainer(this);return false;" id="do-not-update-user" name="update-existing-user" value="0" <?php checked( $optin_settings['update_existing_user']
|
798 |
</span>
|
799 |
-
<p class="description"><?php printf( __( "Update an existing subscriber's profile information instead of displaying a %s message."
|
800 |
</label></p>
|
801 |
|
802 |
<!--
|
@@ -807,18 +886,18 @@
|
|
807 |
<?php
|
808 |
$send_update_email = ( isset( $optin_settings['send_update_email'] ) && '' !== $optin_settings['send_update_email'] ) ? $optin_settings['send_update_email'] : 0;
|
809 |
?>
|
810 |
-
<p class="form-field-container send-update-email" <?php if ( 1 !== absint( $optin_settings['update_existing_user'] ) ) { ?>style="display:none;"<?php } ?>><!-- necessary to prevent skipping on slideToggle(); --><label for="update-existing-user"><strong><?php _e( 'Send Update Email'
|
811 |
<span class="form-field-container-span">
|
812 |
-
<label for="update-email"><input type="radio" id="update-email" name="update-existing-email" value="1" <?php checked( $send_update_email
|
813 |
-
<label for="do-not-update-email"><input type="radio" id="do-not-update-email" name="update-existing-email" value="0" <?php checked( $send_update_email
|
814 |
</span>
|
815 |
-
<em><?php printf( __( "Send an email to the user granting their permission to update their profile information. Otherwise, an existing subscriber filling out this form, will have their profile information updated without any further interaction."
|
816 |
</label></p>
|
817 |
|
818 |
</div>
|
819 |
|
820 |
<a href="#" class="expansion-section-title settings-sidebar">
|
821 |
-
<span class="dashicons dashicons-plus yikes-mc-expansion-toggle"></span><?php _e( 'Submission Settings'
|
822 |
</a>
|
823 |
<div class="yikes-mc-settings-expansion-section">
|
824 |
<!-- AJAX form Submission -->
|
@@ -827,12 +906,12 @@
|
|
827 |
$submission_settings['ajax'] = '1';
|
828 |
}
|
829 |
?>
|
830 |
-
<p class="form-field-container"><!-- necessary to prevent skipping on slideToggle(); --><label for="form-ajax-submission"><strong><?php _e( 'Enable AJAX Submission'
|
831 |
<span class="form-field-container-span">
|
832 |
-
<label for="enable-ajax"><input type="radio" id="enable-ajax" name="form-ajax-submission" class="yikes-enable-disable-ajax" value="1" <?php checked( $submission_settings['ajax']
|
833 |
-
<label for="disable-ajax"><input type="radio" id="disable-ajax" name="form-ajax-submission" class="yikes-enable-disable-ajax" value="0" <?php checked( $submission_settings['ajax']
|
834 |
</span>
|
835 |
-
<p class="description"><?php _e( "AJAX form submissions transmit data without requiring the page to refresh."
|
836 |
</label></p>
|
837 |
|
838 |
<!-- Redirect User On Submission -->
|
@@ -842,13 +921,13 @@
|
|
842 |
$submission_settings['redirect_page'] = '';
|
843 |
}
|
844 |
?>
|
845 |
-
<p><label for="redirect-user-on-submission"><strong><?php _e( 'Redirect On Submission'
|
846 |
<span class="form-field-container-span">
|
847 |
-
<label for="redirect-user"><input type="radio" id="redirect-user" onclick="togglePageRedirection( this );" name="redirect-user-on-submission" value="1" <?php checked( $submission_settings['redirect_on_submission']
|
848 |
-
<label for="do-not-redirect-user"><input type="radio" id="do-not-redirect-user" onclick="togglePageRedirection( this );" name="redirect-user-on-submission" value="0" <?php checked( $submission_settings['redirect_on_submission']
|
849 |
</span>
|
850 |
-
<?php $this->generate_page_redirect_dropdown( $submission_settings['redirect_on_submission']
|
851 |
-
<p class="description"><?php _e( "When the user signs up would you like to redirect them to another page?"
|
852 |
</label></p>
|
853 |
|
854 |
<?php
|
@@ -859,15 +938,15 @@
|
|
859 |
|
860 |
<!-- Option to open the redirect URL in a new window -->
|
861 |
<div class="redirect-new-window-div" <?php if ( ( ! isset( $submission_settings['redirect_on_submission'] ) || $submission_settings['redirect_on_submission'] === '0' ) || ( ! isset( $submission_settings['ajax'] ) || $submission_settings['ajax'] !== '1' ) ) { echo 'style="display:none;"'; } ?>>
|
862 |
-
<p><strong><?php _e( "Open Redirect URL in a New Window"
|
863 |
<label for="redirect-new-window-yes">
|
864 |
-
<input type="radio" class="widefat custom-redirect-new-window" id="redirect-new-window-yes" name="redirect_new_window" value="1" <?php checked( $submission_settings['redirect_new_window'], '1' ); ?>/><?php _e( 'Yes'
|
865 |
</label>
|
866 |
|
867 |
<label for="redirect-new-window-no">
|
868 |
-
<input type="radio" class="widefat redirect-new-window" id="redirect-new-window-no" name="redirect_new_window" value="0" <?php checked( $submission_settings['redirect_new_window']
|
869 |
</label>
|
870 |
-
<p class="description"><?php _e( "Should the redirect URL open in a new window/tab?"
|
871 |
</div>
|
872 |
|
873 |
<!-- Hide Form On Submission -->
|
@@ -876,12 +955,12 @@
|
|
876 |
$submission_settings['hide_form_post_signup'] = '0';
|
877 |
}
|
878 |
?>
|
879 |
-
<p><label for="hide-form-post-signup"><strong><?php _e( 'Hide Form After Sign Up'
|
880 |
<span class="form-field-container-span">
|
881 |
-
<label for="hide-form"><input type="radio" id="hide-form" name="hide-form-post-signup" value="1" <?php checked( $submission_settings['hide_form_post_signup']
|
882 |
-
<label for="do-not-hide-form"><input type="radio" id="do-not-hide-form" name="hide-form-post-signup" value="0" <?php checked( $submission_settings['hide_form_post_signup']
|
883 |
</span>
|
884 |
-
<p class="description"><?php _e( "Should the form be hidden after the user successfully signs up?"
|
885 |
</label></p>
|
886 |
|
887 |
<!-- Append or Replace Interest Groups -->
|
@@ -890,16 +969,16 @@
|
|
890 |
$submission_settings['replace_interests'] = '1'; // defaults to true
|
891 |
}
|
892 |
?>
|
893 |
-
<p><label for="replace-interest-groups"><strong><?php _e( 'Existing Interest Groups'
|
894 |
<span class="form-field-container-span">
|
895 |
-
<label for="replace-interest-groups"><input type="radio" id="replace-interest-groups" name="replace-interest-groups" value="1" <?php checked( $submission_settings['replace_interests']
|
896 |
-
<label for="update-interest-groups"><input type="radio" id="update-interest-groups" name="replace-interest-groups" value="0" <?php checked( $submission_settings['replace_interests']
|
897 |
</span>
|
898 |
|
899 |
-
<p class="description"><small><?php _e( "<strong>Replace</strong>: Replace all interest groups with the new ones submitted."
|
900 |
|
901 |
|
902 |
-
<p class="description"><small><?php _e( "<strong>Update</strong>: Update <em>only</em> the ones submitted. Leave existing interest groups as is."
|
903 |
|
904 |
</label></p>
|
905 |
|
@@ -912,9 +991,9 @@
|
|
912 |
|
913 |
<span class="form-buttons-container" id="major-publishing-actions">
|
914 |
<?php
|
915 |
-
echo submit_button( __( 'Update Form' )
|
916 |
-
$url = esc_url_raw( add_query_arg( array( 'action' => 'yikes-easy-mc-delete-form', 'mailchimp-form' => $form['id']
|
917 |
-
echo '<a href="' . $url . '" class="yikes-delete-mailchimp-form" onclick="return confirm(\'' . __( "Are you sure you want to delete this form? This cannot be undone."
|
918 |
?>
|
919 |
</span>
|
920 |
|
1 |
<div class="wrap">
|
2 |
+
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
+
// If an error was returned.
|
5 |
+
if ( isset( $_GET['sql_error'] ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
+
if ( get_option( 'yikes-mailchimp-debug-status', '' ) === '1' ) {
|
8 |
+
wp_die( '<strong>' . __( 'Error Creating Form', 'yikes-inc-easy-mailchimp-extender' ) . '</strong> <p>' . stripslashes( urldecode( $_GET['sql_error'] ) ) . '</p>' . __( 'Error Creating Form', 'yikes-inc-easy-mailchimp-extender' ) );
|
9 |
+
} else {
|
10 |
+
wp_die( '<strong>' . __( 'Error Creating Form', 'yikes-inc-easy-mailchimp-extender' ) . '</strong><p>' . __( "Please try again. If the error persists please get in contact with the YIKES Inc. support team.", 'yikes-inc-easy-mailchimp-extender' ) . '</p>' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
}
|
12 |
+
}
|
13 |
+
|
14 |
+
// Get The Form ID.
|
15 |
+
if ( ! isset( $_GET['id'] ) ) {
|
16 |
+
wp_die( esc_html_e( 'Oh No!', 'yikes-inc-easy-mailchimp-extender' ), esc_html_e( 'Error', 'yikes-inc-easy-mailchimp-extender' ) );
|
17 |
+
}
|
18 |
+
$form_id = (int) filter_var( wp_unslash( $_GET['id'] ), FILTER_SANITIZE_NUMBER_INT );
|
19 |
+
|
20 |
+
// Get our form interface.
|
21 |
+
$form_interface = yikes_easy_mailchimp_extender_get_form_interface();
|
22 |
+
$form = $form_interface->get_form( $form_id );
|
23 |
+
$all_forms = $form_interface->get_all_forms();
|
24 |
+
|
25 |
+
// If the form was not found return an error.
|
26 |
+
if ( empty( $form ) ) {
|
27 |
+
wp_die(
|
28 |
+
printf(
|
29 |
+
/* translators: the placeholder is a link to the debug settings page. */
|
30 |
+
__( "Whoops! It looks like this form doesn't exist. If this error persists you may want to toggle on debugging on the $1%1s", 'yikes-inc-easy-mailchimp-extender' ),
|
31 |
+
'<a href="' . esc_url_raw( admin_url( 'admin.php?page=yikes-inc-easy-mailchimp-settings§ion=debug-settings' ) ) . '">' . esc_html__( 'debug settings page', 'yikes-inc-easy-mailchimp-extender' ) . '</a>'
|
32 |
+
),
|
33 |
+
esc_html__( 'Error', 'yikes-inc-easy-mailchimp-extender' )
|
34 |
+
);
|
35 |
+
}
|
36 |
+
|
37 |
+
// Set global form data, mainly for use in custom form field declarations or add-ons.
|
38 |
+
$GLOBALS['form_data'] = $form;
|
39 |
+
$custom_styles = $form['custom_styles'];
|
40 |
+
$optin_settings = $form['optin_settings'];
|
41 |
+
$submission_settings = $form['submission_settings'];
|
42 |
+
$error_messages = $form['error_messages'];
|
43 |
+
|
44 |
+
if ( isset( $form['form_settings'] ) ) {
|
45 |
+
$form_settings = $form['form_settings'];
|
46 |
+
}
|
47 |
+
|
48 |
+
// Get defaults if none are saved in the database yet.
|
49 |
+
if ( empty( $form_settings ) ) {
|
50 |
+
$form_settings = array(
|
51 |
+
'yikes-easy-mc-form-class-names' => '',
|
52 |
+
'yikes-easy-mc-inline-form' => '0',
|
53 |
+
'yikes-easy-mc-submit-button-type' => 'text',
|
54 |
+
'yikes-easy-mc-submit-button-text' => __( 'Submit', 'yikes-inc-easy-mailchimp-extender' ),
|
55 |
+
'yikes-easy-mc-submit-button-image' => '',
|
56 |
+
'yikes-easy-mc-submit-button-classes' => '',
|
57 |
+
'yikes-easy-mc-form-schedule' => '0',
|
58 |
+
'yikes-easy-mc-form-restriction-start' => strtotime( current_time( 'm/d/Y g:iA' ) ),
|
59 |
+
'yikes-easy-mc-form-restriction-end' => strtotime( current_time( 'm/d/Y g:iA' ) ) + ( 3600 * 24 ),
|
60 |
+
/* translators: the placeholder is a datetime string */
|
61 |
+
'yikes-easy-mc-form-restriction-pending-message' => sprintf( __( 'Signup is not yet open, and will be available on %s. Please come back then to signup.', 'yikes-inc-easy-mailchimp-extender' ), current_time( str_replace( '-', '/', get_option( 'date_format' ) ) ) . ' ' . __( 'at', 'yikes-inc-easy-mailchimp-extender' ) . ' ' . current_time( 'g:iA' ) ),
|
62 |
+
/* translators: the placeholder is a datetime string */
|
63 |
+
'yikes-easy-mc-form-restriction-expired-message' => sprintf( __( 'The signup period for this form ended on %s.', 'yikes-inc-easy-mailchimp-extender' ), date( str_replace( '-', '/', get_option( 'date_format' ) ), strtotime( current_time( str_replace( '-', '/', get_option( 'date_format' ) ) ) ) + ( 3600 * 24 ) ) . ' ' . __( 'at', 'yikes-inc-easy-mailchimp-extender' ) . ' ' . date( 'g:iA', strtotime( current_time( 'g:iA' ) ) + ( 3600 * 24 ) ) ),
|
64 |
+
'yikes-easy-mc-form-login-required' => '0',
|
65 |
+
'yikes-easy-mc-form-restriction-login-message' => __( 'You need to be logged in to sign up for this mailing list.', 'yikes-inc-easy-mailchimp-extender' ),
|
66 |
+
);
|
67 |
+
}
|
68 |
+
|
69 |
+
// Set up our list_handler object.
|
70 |
+
$list_handler = yikes_get_mc_api_manager()->get_list_handler();
|
71 |
+
$list_data = $list_handler->get_lists();
|
72 |
+
if ( is_wp_error( $list_data ) ) {
|
73 |
+
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
74 |
+
$error_logging->maybe_write_to_log(
|
75 |
+
$list_data->get_error_code(),
|
76 |
+
__( 'Get Account Lists', 'yikes-inc-easy-mailchimp-extender' ),
|
77 |
+
'Edit Form Page'
|
78 |
+
);
|
79 |
+
$list_data = array();
|
80 |
+
}
|
81 |
+
|
82 |
+
// Get the merge fields.
|
83 |
+
$available_merge_variables = $list_handler->get_merge_fields( $form['list_id'] );
|
84 |
+
if ( is_wp_error( $available_merge_variables ) ) {
|
85 |
+
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
86 |
+
$error_logging->maybe_write_to_log(
|
87 |
+
$available_merge_variables->get_error_code(),
|
88 |
+
__( 'Get Merge Variables', 'yikes-inc-easy-mailchimp-extender' ),
|
89 |
+
'Edit Form Page'
|
90 |
);
|
91 |
+
$available_merge_variables = array();
|
92 |
+
}
|
93 |
+
|
94 |
+
// Get the interest groups.
|
95 |
+
$interest_groupings = $list_handler->get_interest_categories( $form['list_id'] );
|
96 |
+
if ( is_wp_error( $interest_groupings ) ) {
|
97 |
+
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
98 |
+
$error_logging->maybe_write_to_log(
|
99 |
+
$interest_groupings->get_error_code(),
|
100 |
+
__( 'Get Interest Groups', 'yikes-inc-easy-mailchimp-extender' ),
|
101 |
+
'Edit Form Page'
|
102 |
+
);
|
103 |
+
$interest_groupings = array();
|
104 |
+
}
|
105 |
+
|
106 |
+
// Get the tags.
|
107 |
+
$tags = $list_handler->get_segments( $form['list_id'], 'static' );
|
108 |
+
if ( is_wp_error( $tags ) ) {
|
109 |
+
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
110 |
+
$error_logging->maybe_write_to_log(
|
111 |
+
$tags->get_error_code(),
|
112 |
+
__( 'Get Tags', 'yikes-inc-easy-mailchimp-extender' ),
|
113 |
+
'Edit Form Page'
|
114 |
+
);
|
115 |
+
$tags = array();
|
116 |
+
}
|
117 |
+
|
118 |
+
// Update Form URL.
|
119 |
+
$url = add_query_arg(
|
120 |
+
array(
|
121 |
+
'action' => 'yikes-easy-mc-update-form',
|
122 |
+
'nonce' => wp_create_nonce( 'update-mailchimp-form-' . $form['id'] ),
|
123 |
+
)
|
124 |
+
);
|
125 |
+
?>
|
126 |
+
<!-- Freddie Logo -->
|
127 |
+
<img src="<?php echo esc_url( YIKES_MC_URL . 'includes/images/MailChimp_Assets/Freddie_60px.png' ); ?>" alt="<?php esc_attr_e( 'Freddie - MailChimp Mascot', 'yikes-inc-easy-mailchimp-extender' ); ?>" class="yikes-mc-freddie-logo" />
|
128 |
+
|
129 |
+
<?php /* translators: the placeholder is the form's name */ ?>
|
130 |
+
<h1>YIKES Easy Forms for MailChimp | <?php echo sprintf( esc_html__( 'Edit %1s', 'yikes-inc-easy-mailchimp-extender' ), esc_html( $form['form_name'] ) ); ?></h1>
|
131 |
+
|
132 |
+
<!-- Settings Page Description -->
|
133 |
+
<p class="yikes-easy-mc-about-text about-text"><?php esc_html_e( 'Update this MailChimp form\'s fields, styles and settings below.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
134 |
+
|
135 |
+
<?php
|
136 |
+
if ( isset( $_REQUEST['updated-form'] ) && filter_var( $_REQUEST['updated-form'], FILTER_SANITIZE_STRING ) === 'true' ) {
|
137 |
?>
|
138 |
+
<div class="updated manage-form-admin-notice">
|
139 |
+
<p><?php esc_html_e( 'Opt-in form successfully updated.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
140 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
141 |
<?php
|
142 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
|
144 |
+
// Hooks to allow extensions to display notices.
|
145 |
+
do_action( 'yikes-mailchimp-edit-form-notice' );
|
146 |
+
?>
|
147 |
|
148 |
+
<div id="poststuff">
|
149 |
+
<form id="edit-yikes-mc-form" method="POST" action="<?php echo esc_url( $url ); ?>">
|
150 |
<div id="post-body" class="metabox-holder columns-2">
|
|
|
|
|
151 |
<div id="post-body-content">
|
152 |
<div class="meta-box-sortables ui-sortable">
|
153 |
<div class="postbox yikes-easy-mc-postbox">
|
154 |
<div class="inside">
|
155 |
|
156 |
<label for="form-name">
|
157 |
+
<h3 class="bg-transparent"><?php esc_html_e( 'Form Name', 'yikes-inc-easy-mailchimp-extender' ); ?></h3>
|
158 |
+
<input autocomplete="disabled" id="form-name" name="form-name" type="text" value="<?php echo esc_html( stripslashes( $form['form_name'] ) ); ?>" class="widefat" />
|
159 |
+
<p class="description"><?php esc_html_e( 'The title of this signup form.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
160 |
</label>
|
161 |
|
162 |
<label for="form-description">
|
163 |
+
<h3 class="bg-transparent"><?php esc_html_e( 'Form Description', 'yikes-inc-easy-mailchimp-extender' ); ?></h3>
|
164 |
+
<textarea name="form-description" id="form-description" class="large-text edit-form-form-description"><?php echo isset( $form['form_description'] ) ? esc_textarea( stripslashes( $form['form_description'] ) ) : ''; ?></textarea>
|
165 |
+
<p class="description"><?php esc_html_e( 'Descriptions are optional and you may choose to display it to visitors to your site.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
166 |
+
<p class="description"><?php printf( esc_html_e( 'To display the number of subscribers for the list associated with this form, use %s in the form description field above.', 'yikes-inc-easy-mailchimp-extender' ), '<code>[yikes-mailchimp-subscriber-count]</code>' ); ?><p>
|
167 |
</label>
|
168 |
|
169 |
</div>
|
178 |
|
179 |
<ul id="yikes_easy_mc_toolbar_links">
|
180 |
<li class="hidden_setting_list">
|
181 |
+
<a class="hidden_setting form-builder selected_hidden_setting" data-attr-container="form-builder" onclick="return false;" title="<?php esc_attr_e( 'Customize Form Fields', 'yikes-inc-easy-mailchimp-extender' ); ?>" href="#"> <?php _e( 'Form Builder', 'yikes-inc-easy-mailchimp-extender' ); ?></a>
|
182 |
<div class="selected_setting_triangle"></div>
|
183 |
</li>
|
184 |
<li class="hidden_setting_list">
|
185 |
+
<a class="hidden_setting form-settings" onclick="return false;" data-attr-container="form-settings" title="<?php esc_attr_e( 'Form Settings', 'yikes-inc-easy-mailchimp-extender' ); ?>" href="#"> <?php _e( 'Form Settings', 'yikes-inc-easy-mailchimp-extender' ); ?></a>
|
186 |
</li>
|
187 |
<li class="hidden_setting_list">
|
188 |
+
<a class="hidden_setting error-messages" onclick="return false;" data-attr-container="error-messages" title="<?php esc_attr_e( 'Customize Form Messages', 'yikes-inc-easy-mailchimp-extender' ); ?>" href="#"> <?php _e( 'Custom Messages', 'yikes-inc-easy-mailchimp-extender' ); ?></a>
|
189 |
</li>
|
190 |
+
<?php do_action( 'yikes-mailchimp-edit-form-section-links', $form ); ?>
|
191 |
</ul>
|
192 |
|
193 |
</div>
|
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-form-id="<?php echo esc_attr( $form['id'] ); ?>" data-list-id="<?php echo esc_attr( $form['list_id'] ); ?>" ><?php _e( 'Form Builder', 'yikes-inc-easy-mailchimp-extender' ); ?></h3>
|
212 |
+
<div class="tags-title" style="display: none;">
|
213 |
+
<span class="tags-title-text">Tags</span>
|
214 |
+
<div class="tags-title-container"></div>
|
215 |
+
</div>
|
216 |
+
<p id="edit-form-description" class="description edit-form-description-form-builder"><?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>
|
217 |
<div id="form-builder-container" class="inside">
|
218 |
<!-- #poststuff -->
|
219 |
+
<?php echo $this->generate_form_editor( $form['fields'], $form['list_id'], $available_merge_variables, isset( $interest_groupings ) ? $interest_groupings : array() ); ?>
|
220 |
</div>
|
221 |
|
222 |
<!-- Bulk Delete Form Fields -->
|
227 |
?>
|
228 |
|
229 |
<!-- Save Fields Button -->
|
230 |
+
<?php submit_button( __( 'Update Form' ), 'primary', '', false, array( 'onclick' => '', 'style' => 'float:right;margin-right:12px;'.$display_none ) ); ?>
|
231 |
|
232 |
<!-- .inside -->
|
233 |
</div>
|
240 |
<div id="postbox-container-1" class="postbox-container">
|
241 |
<div class="meta-box-sortables">
|
242 |
<div class="postbox yikes-easy-mc-postbox">
|
243 |
+
<h3 class="edit-form-title"><span><?php esc_html_e( "Form Fields, Interest Groups, & Tags", 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
|
244 |
<div class="inside">
|
245 |
|
246 |
<h3 class="nav-tab-wrapper mv_ig_list">
|
247 |
+
<a href="#" class="nav-tab nav-tab-active" id="nav-tab-merge-variables" alt="<?php esc_attr_e( 'Merge Variables', 'yikes-inc-easy-mailchimp-extender' ); ?>">
|
248 |
+
<div class="arrow-down"></div><?php esc_html_e( 'Form Fields', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
249 |
+
</a>
|
250 |
+
<?php if ( ! isset( $merge_variable_error ) ) { ?>
|
251 |
+
<a href="#" class="nav-tab" id="nav-tab-interest-groups"><?php esc_html_e( 'Interest Groups', 'yikes-inc-easy-mailchimp-extender' ); ?></a>
|
252 |
<?php } else { ?>
|
253 |
+
<a href="#" class="nav-tab no-interest-groups-found-message" id="nav-tab-interest-groups" disabled="disabled" title="<?php esc_attr_e( "No Interest Groups Exist", 'yikes-inc-easy-mailchimp-extender' ); ?>"><?php esc_html_e( 'Interest Groups', 'yikes-inc-easy-mailchimp-extender' ); ?></a>
|
254 |
<?php } ?>
|
255 |
+
<a href="#" class="nav-tab" id="nav-tab-tags" alt="<?php esc_attr_e( 'Tags', 'yikes-inc-easy-mailchimp-extender' ); ?>"><?php esc_html_e( 'Tags', 'yikes-inc-easy-mailchimp-extender' ); ?></a>
|
256 |
</h3>
|
257 |
|
258 |
<div id="container-container">
|
259 |
|
260 |
<div id="merge-variables-container" class="list-container">
|
261 |
<?php
|
262 |
+
if ( ! isset( $merge_variable_error ) ) {
|
263 |
+
echo '<p class="description">' . __( "Select the fields below to add to the form builder.", 'yikes-inc-easy-mailchimp-extender' ) . '</p>';
|
264 |
+
$this->build_available_merge_vars( $form['fields'], $available_merge_variables );
|
265 |
+
} else {
|
266 |
+
echo $merge_variable_error;
|
267 |
+
}
|
|
|
|
|
268 |
?>
|
269 |
</div>
|
270 |
|
271 |
<div id="interest-groups-container" class="list-container">
|
272 |
<?php
|
273 |
+
if ( isset( $interest_groupings ) && ! isset( $interest_groupings['error'] ) ) {
|
274 |
+
echo '<p class="description">' . __( "Select an interest group below to add to the form builder.", 'yikes-inc-easy-mailchimp-extender' ) . '</p>';
|
275 |
+
$this->build_available_interest_groups( $form['fields'], $interest_groupings, $form['list_id'] );
|
276 |
+
} else {
|
277 |
+
echo '<p class="description">' . $interest_groupings['error'] . '</p>';
|
278 |
+
}
|
279 |
+
?>
|
280 |
+
</div>
|
281 |
+
|
282 |
+
<div id="tags-container" class="list-container">
|
283 |
+
<?php
|
284 |
+
if ( isset( $tags ) && ! isset( $tags['error'] ) ) {
|
285 |
+
echo '<p class="description">' . __( "Select a tag to add to the form builder. Selected tags will be added to all subscribers of this form.", 'yikes-inc-easy-mailchimp-extender' ) . '</p>';
|
286 |
+
$this->build_available_tags( isset( $form['tags'] ) ? $form['tags'] : array(), $tags, $form['list_id'] );
|
287 |
+
} else {
|
288 |
+
echo '<p class="description">' . $interest_groupings['error'] . '</p>';
|
289 |
+
}
|
290 |
?>
|
291 |
</div>
|
292 |
|
318 |
<div id="post-body-content">
|
319 |
<div class="meta-box-sortables ui-sortable">
|
320 |
<div class="postbox yikes-easy-mc-postbox">
|
321 |
+
<h3 class="edit-form-title"><span><?php _e( "Additional Form Settings", 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
|
322 |
|
323 |
<div class="inside form-settings-container">
|
324 |
|
325 |
+
<p class="edit-form-description"><?php _e( "Adjust some additional form settings below.", 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
326 |
|
327 |
<!-- begin form classes section -->
|
328 |
<strong class="section-title first"><?php _e( 'Overall Form Classes', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
329 |
<section class="section-interior">
|
330 |
|
331 |
<!-- form classes -->
|
332 |
+
<label for="yikes-easy-mc-form-class-names"><strong><?php _e( 'Form Classes', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
333 |
<input type="text" class="widefat" name="yikes-easy-mc-form-class-names" id="yikes-easy-mc-form-class-names" value="<?php echo $form_settings['yikes-easy-mc-form-class-names']; ?>" placeholder="<?php _e( 'Add additional classes to this opt-in form.', 'yikes-inc-easy-mailchimp-extender' ); ?>" >
|
334 |
<p class="description"><?php printf( __( 'Add additional class names to the %s element.', 'yikes-inc-easy-mailchimp-extender' ), '<code>' . htmlentities( '<form>' ) . '</code>' ); ?></p>
|
335 |
</label>
|
343 |
|
344 |
<!-- setup the checked state here -->
|
345 |
<!-- inline form -->
|
346 |
+
<strong><?php _e( 'Inline Form', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
347 |
<label class="inline-form-label">
|
348 |
<input type="radio" name="yikes-easy-mc-inline-form[]" value="1" <?php checked( $form_settings['yikes-easy-mc-inline-form'], '1' ); ?>/><?php _e( 'Enable', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
349 |
</label>
|
361 |
<section class="section-interior">
|
362 |
|
363 |
<!-- Submit button type -->
|
364 |
+
<strong><?php _e( 'Submit Button Type', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
365 |
<label class="inline-form-label">
|
366 |
<input type="radio" onclick="toggle_nested_section( jQuery(this) );" name="yikes-easy-mc-submit-button-type[]" value="text" <?php checked( $form_settings['yikes-easy-mc-submit-button-type'], 'text' ); ?> /><?php _e( 'Text', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
367 |
</label>
|
374 |
<!-- Text submit button type -->
|
375 |
<section class="submit-button-type-text nested-child<?php if( $form_settings['yikes-easy-mc-submit-button-type'] == 'image' ) { echo ' hidden'; } ?>">
|
376 |
<!-- submit button text -->
|
377 |
+
<label for="yikes-easy-mc-submit-button-text"><strong><?php _e( 'Submit Button Text', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
378 |
<input type="text" class="widefat" name="yikes-easy-mc-submit-button-text" id="yikes-easy-mc-submit-button-text" value="<?php echo $form_settings['yikes-easy-mc-submit-button-text']; ?>" placeholder="<?php _e( 'Submit', 'yikes-inc-easy-mailchimp-extender' ); ?>">
|
379 |
<p class="description"><?php printf( __( 'Set the submit button text. Leaving this blank will default to %s.', 'yikes-inc-easy-mailchimp-extender' ), '"' . __( 'Submit', 'yikes-inc-easy-mailchimp-extender' ) . '"' ); ?></p>
|
380 |
|
385 |
|
386 |
<!-- Image submit button type -->
|
387 |
<section class="submit-button-type-image nested-child<?php if( $form_settings['yikes-easy-mc-submit-button-type'] == 'text' ) { echo ' hidden'; } ?>">
|
388 |
+
<label for="yikes-easy-mc-submit-button-image"><strong><?php _e( 'Submit Button URL', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
389 |
<input type="text" class="widefat" name="yikes-easy-mc-submit-button-image" id="yikes-easy-mc-submit-button-image" value="<?php echo $form_settings['yikes-easy-mc-submit-button-image']; ?>" placeholder="<?php _e( 'http://', 'yikes-inc-easy-mailchimp-extender' ); ?>">
|
390 |
<p class="description"><?php _e( 'Enter the URL of an image you would like to use as the submit button for this form.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
391 |
</label>
|
394 |
|
395 |
|
396 |
<!-- submit button classes -->
|
397 |
+
<label for="yikes-easy-mc-form-submit-button-classes"><strong style="float:left;"><?php _e( 'Submit Button Classes', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
398 |
<input type="text" class="widefat" name="yikes-easy-mc-submit-button-classes" id="yikes-easy-mc-submit-button-classes" value="<?php echo $form_settings['yikes-easy-mc-submit-button-classes']; ?>" placeholder="<?php _e( 'Add additional classes to this submit button.', 'yikes-inc-easy-mailchimp-extender' ); ?>" >
|
399 |
<p class="description"><?php _e( 'Add custom classes to the submit button.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
400 |
</label>
|
415 |
<!-- Start Date Limitation Nested -->
|
416 |
<section class="date-restriction-section nested-child<?php if( $form_settings['yikes-easy-mc-form-schedule'] == '0' ) { echo ' hidden'; } ?>">
|
417 |
<!-- Start Date -->
|
418 |
+
<label for="yikes-easy-mc-form-restriction-start-date"><strong><?php _e( 'Start Date', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
419 |
<input type="text" class="date-picker" name="yikes-easy-mc-form-restriction-start-date" id="yikes-easy-mc-form-restriction-start-date" value="<?php echo ! empty($form_settings['yikes-easy-mc-form-restriction-start'] ) ? date( $this->yikes_jQuery_datepicker_date_format( get_option( 'date_format' ) ), $form_settings['yikes-easy-mc-form-restriction-start'] ) : ''; ?>" >
|
420 |
<?php _e( 'at', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
421 |
</label>
|
422 |
|
423 |
<!-- Start Time -->
|
424 |
+
<label for="yikes-easy-mc-form-restriction-start-time"><strong><?php _e( 'Start Time', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
425 |
<input type="text" class="time-picker" name="yikes-easy-mc-form-restriction-start-time" id="yikes-easy-mc-form-restriction-start-time" value="<?php echo ! empty( $form_settings['yikes-easy-mc-form-restriction-start'] ) ? date( 'g:iA', $form_settings['yikes-easy-mc-form-restriction-start'] ) : ''; ?>" >
|
426 |
</label>
|
427 |
<p class="description"><?php _e( 'Set the dates that this form should display on your site.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
431 |
<!-- End Date Limitation Nested -->
|
432 |
<section class="date-restriction-section nested-child<?php if( $form_settings['yikes-easy-mc-form-schedule'] == '0' ) { echo ' hidden'; } ?> last">
|
433 |
<!-- End Date -->
|
434 |
+
<label for="yikes-easy-mc-form-restriction-end-date"><strong><?php _e( 'End Date', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
435 |
<input type="text" class="date-picker" name="yikes-easy-mc-form-restriction-end-date" id="yikes-easy-mc-form-restriction-end-date" value="<?php echo ! empty( $form_settings['yikes-easy-mc-form-restriction-end'] ) ? date( $this->yikes_jQuery_datepicker_date_format( get_option( 'date_format' ) ), $form_settings['yikes-easy-mc-form-restriction-end'] ) : ''; ?>" >
|
436 |
<?php _e( 'at', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
437 |
</label>
|
438 |
|
439 |
<!-- End Time -->
|
440 |
+
<label for="yikes-easy-mc-form-restriction-end-time"><strong><?php _e( 'End Time', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
441 |
<input type="text" class="time-picker" name="yikes-easy-mc-form-restriction-end-time" id="yikes-easy-mc-form-restriction-end-time" value="<?php echo ! empty( $form_settings['yikes-easy-mc-form-restriction-end'] ) ? date( 'g:iA', $form_settings['yikes-easy-mc-form-restriction-end'] ) : ''; ?>" >
|
442 |
</label>
|
443 |
<p class="description"><?php _e( 'Set the dates that this form should no longer display on your site.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
444 |
|
445 |
<!-- Form pending message -->
|
446 |
+
<label for="yikes-easy-mc-form-restriction-pending-message"><strong><?php _e( 'Pending Message', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
447 |
<?php
|
448 |
wp_editor(
|
449 |
$form_settings['yikes-easy-mc-form-restriction-pending-message'],
|
458 |
<p class="description"><?php _e( 'Set the message that should display prior to the form being active.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
459 |
|
460 |
<!-- form expired message -->
|
461 |
+
<label for="yikes-easy-mc-form-restriction-expired-message"><strong><?php _e( 'Expired Message', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
462 |
<?php
|
463 |
wp_editor(
|
464 |
$form_settings['yikes-easy-mc-form-restriction-expired-message'],
|
482 |
|
483 |
<!-- Require Login Message -->
|
484 |
<section class="login-restriction-section nested-child<?php if( $form_settings['yikes-easy-mc-form-login-required'] == '0' ) { echo ' hidden'; } ?>">
|
485 |
+
<label for="yikes-easy-mc-form-restriction-login-message"><strong><?php _e( 'Required Login Message', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
486 |
<?php
|
487 |
wp_editor(
|
488 |
$form_settings['yikes-easy-mc-form-restriction-login-message'],
|
514 |
<div id="postbox-container-1" class="postbox-container">
|
515 |
<div class="meta-box-sortables">
|
516 |
<div class="postbox yikes-easy-mc-postbox">
|
517 |
+
<h3 class="edit-form-title"><span><?php _e( "Form Settings Explained", 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
|
518 |
<div class="inside">
|
519 |
|
520 |
<ul>
|
521 |
+
<li><strong><?php _e( 'Classes', 'yikes-inc-easy-mailchimp-extender' ); ?></strong> : <?php _e( 'Add additional classes to this form, allowing you to target it more easily for customization via CSS.', 'yikes-inc-easy-mailchimp-extender' ); ?></li>
|
522 |
+
<li><strong><?php _e( 'Form Layout', 'yikes-inc-easy-mailchimp-extender' ); ?></strong> : <?php _e( 'Toggle the layout of this form between single column and an inline layout. The inline layout places all of your form fields and the submit button on a single line.', 'yikes-inc-easy-mailchimp-extender' ); ?></li>
|
523 |
+
<li><strong><?php _e( 'Submit Button', 'yikes-inc-easy-mailchimp-extender' ); ?></strong> : <?php _e( 'Adjust setting specific to the submit button. Change the submit button text, or set it to a specified image. Use the "Submit Button Classes" to assign additional classes to your submit button - ensuring it fits better into your theme.', 'yikes-inc-easy-mailchimp-extender' ); ?></li>
|
524 |
+
<li><strong><?php _e( 'Form Restrictions', 'yikes-inc-easy-mailchimp-extender' ); ?></strong> : <?php _e( 'Adjust the restrictions for this form. Limit form visibility to a given time period, require users to be logged in to sign up or combine the two!', 'yikes-inc-easy-mailchimp-extender' ); ?></li>
|
525 |
</ul>
|
526 |
|
527 |
</div>
|
549 |
<div id="post-body-content">
|
550 |
<div class="meta-box-sortables ui-sortable">
|
551 |
<div class="postbox yikes-easy-mc-postbox">
|
552 |
+
<h3 class="edit-form-title"><span><?php _e( "Custom Messages", 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
|
553 |
|
554 |
<div class="inside error-message-container">
|
555 |
<?php
|
556 |
// build our default options
|
557 |
$error_message_array = array(
|
558 |
+
'success' => __( 'Thank You for subscribing! Check your email for the confirmation message.', 'yikes-inc-easy-mailchimp-extender' ),
|
559 |
+
'success-single-optin' => __( 'Thank you for subscribing!', 'yikes-inc-easy-mailchimp-extender' ),
|
560 |
'success-resubscribed' => __( 'Thank you for already being a subscriber! Your profile info has been updated.', 'yikes-inc-easy-mailchimp-extender' ),
|
561 |
+
'general-error' => __( "Whoops! It looks like something went wrong. Please try again.", 'yikes-inc-easy-mailchimp-extender' ),
|
562 |
+
'email-exists-error' => __( "The email you entered is already a subscriber to this list.", 'yikes-inc-easy-mailchimp-extender' ),
|
563 |
'update-link' => __( "You're already subscribed. To update your MailChimp profile, please [link]click to send yourself an update link[/link].", 'yikes-inc-easy-mailchimp-extender' ),
|
564 |
'email-subject' => __( 'MailChimp Profile Update', 'yikes-inc-easy-mailchimp-extender' ),
|
565 |
'update-email-success' => sprintf( __( '%s Update email successfully sent. Please check your inbox for the message.', 'yikes-inc-easy-mailchimp-extender' ), '✔' ),
|
566 |
'update-email-failure' => sprintf( __( '%s Email failed to send. Please contact the site administrator.', 'yikes-inc-easy-mailchimp-extender' ), '✕' ),
|
567 |
|
568 |
);
|
569 |
+
$global_error_messages = get_option( 'yikes-easy-mc-global-error-messages', $error_message_array );
|
570 |
?>
|
571 |
+
<p class="edit-form-description"><?php _e( "Customize the response messages for this form. Leave the field blank to use the default message. The messages shown below depend on the Opt-in Settings chosen.", 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
572 |
|
573 |
<!-- Success Message (refactored @ 6.3.0 for double optin) -->
|
574 |
+
<label for="yikes-easy-mc-success-message"><strong><?php _e( 'Success: Double opt-in', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
575 |
<input type="text" class="widefat" name="yikes-easy-mc-success-message" id="yikes-easy-mc-success-message" value="<?php echo isset( $error_messages['success'] ) ? stripslashes( esc_html( $error_messages['success'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['success']; ?>" >
|
576 |
</label>
|
577 |
<!-- Success Message (for single optin) -->
|
578 |
+
<label for="yikes-easy-mc-success-single-optin-message"><strong><?php _e( 'Success: Single opt-in', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
579 |
<input type="text" class="widefat" name="yikes-easy-mc-success-single-optin-message" id="yikes-easy-mc-success-single-optin-message" value="<?php echo isset( $error_messages['success-single-optin'] ) ? stripslashes( esc_html( $error_messages['success-single-optin'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['success-single-optin']; ?>" >
|
580 |
</label>
|
581 |
<!-- Resubscribing users when updating your profile via the form is allowed -->
|
582 |
+
<label for="yikes-easy-mc-user-resubscribed-success-message"><strong><?php _e( 'Success: Re-subscriber', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
583 |
<input type="text" class="widefat" name="yikes-easy-mc-user-resubscribed-success-message" id="yikes-easy-mc-user-resubscribed-success-message" value="<?php echo isset( $error_messages['success-resubscribed'] ) ? stripslashes( esc_html( $error_messages['success-resubscribed'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['success-resubscribed']; ?>">
|
584 |
</label>
|
585 |
|
586 |
<!-- Click the link to update user profile etc. etc. -->
|
587 |
+
<label for="yikes-easy-mc-user-subscribed-update-link"><strong><?php _e( 'Success: Re-subscriber with link to email profile update message', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
588 |
<input type="text" class="widefat" name="yikes-easy-mc-user-update-link" id="yikes-easy-mc-user-update-link" value="<?php echo isset( $error_messages['update-link'] ) ? stripslashes( esc_html( $error_messages['update-link'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['update-link']; ?>">
|
589 |
</label>
|
590 |
|
591 |
<!-- Email Address is already subscribed -->
|
592 |
+
<label for="yikes-easy-mc-user-subscribed-message"><strong><?php _e( 'Error: Re-subscribers not permitted', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
593 |
<input type="text" class="widefat" name="yikes-easy-mc-user-subscribed-message" id="yikes-easy-mc-user-subscribed-message" value="<?php echo isset( $error_messages['already-subscribed'] ) ? stripslashes( esc_html( $error_messages['already-subscribed'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['email-exists-error']; ?>">
|
594 |
</label>
|
595 |
|
596 |
<!-- Update email successfully sent -->
|
597 |
+
<label for="yikes-easy-mc-update-email-successful"><strong><?php _e( 'Success: Update email successfully sent', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
598 |
<input type="text" class="widefat" name="yikes-easy-mc-update-email-successful" id="yikes-easy-mc-update-email-successful" value="<?php echo isset( $error_messages['update-email-success'] ) ? stripslashes( esc_attr( $error_messages['update-email-success'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['update-email-success']; ?>" >
|
599 |
</label>
|
600 |
|
601 |
<!-- Update email failed to send -->
|
602 |
+
<label for="yikes-easy-mc-update-email-failure"><strong><?php _e( 'Error: Update email failed to send', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
603 |
<input type="text" class="widefat" name="yikes-easy-mc-update-email-failure" id="yikes-easy-mc-update-email-failure" value="<?php echo isset( $error_messages['update-email-failure'] ) ? stripslashes( esc_attr( $error_messages['update-email-failure'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['update-email-failure']; ?>" >
|
604 |
</label>
|
605 |
|
606 |
<!-- General Error Message -->
|
607 |
+
<label for="yikes-easy-mc-general-error-message"><strong><?php _e( 'Error: General', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
608 |
<input type="text" class="widefat" name="yikes-easy-mc-general-error-message" id="yikes-easy-mc-general-error-message" value="<?php echo isset( $error_messages['general-error'] ) ? stripslashes( esc_html( $error_messages['general-error'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['general-error']; ?>" >
|
609 |
</label>
|
610 |
|
612 |
|
613 |
<hr>
|
614 |
<div class="yikes-easy-mc-custom-messages-email-section">
|
615 |
+
<p class="edit-form-description"><?php _e( 'Customize the profile verification email sent to re-subscribers. Leave the text unedited to use the default message.', 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
616 |
<!-- Email Subject -->
|
617 |
+
<label for="yikes-easy-mc-user-email-subject"><strong><?php _e( 'Email Subject', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
618 |
<input type="text" class="widefat" name="yikes-easy-mc-user-email-subject" id="yikes-easy-mc-user-email-subject" value="<?php echo isset( $error_messages['email-subject'] ) ? stripslashes( esc_html( $error_messages['email-subject'] ) ) : ''; ?>" placeholder="<?php echo $global_error_messages['email-subject']; ?>">
|
619 |
</label>
|
620 |
<!-- Email Body -->
|
621 |
+
<label for="yikes-easy-mc-user-email-body"><strong><?php _e( 'Email Body', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
622 |
<?php
|
623 |
$editor_content = ( isset( $error_messages['email-body'] ) && ! empty( $error_messages['email-body'] ) ) ? $error_messages['email-body'] : Yikes_Inc_Easy_Mailchimp_Forms_Admin::generate_default_email_body();
|
624 |
wp_editor( $editor_content, 'yikes-easy-mc-user-email-body', array( 'textarea_id' => 'yikes-easy-mc-user-email-body' ) );
|
638 |
<div id="postbox-container-1" class="postbox-container yikes-easy-mc-custom-messages-section-help">
|
639 |
<div class="meta-box-sortables">
|
640 |
<div class="postbox yikes-easy-mc-postbox">
|
641 |
+
<h3 class="edit-form-title"><span><?php esc_html_e( "Custom Message Help", 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
|
642 |
<div class="inside">
|
643 |
<ul>
|
644 |
+
<li class="yikes-easy-mc-success-message-help">
|
645 |
+
<strong><?php esc_html_e( 'Success: Double opt-in', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
646 |
+
<?php
|
647 |
+
esc_html_e( 'The message displayed after a double opt-in form has been submitted.', 'yikes-inc-easy-mailchimp-extender' );
|
648 |
+
?>
|
649 |
+
</li>
|
650 |
+
<li class="yikes-easy-mc-success-single-optin-message-help">
|
651 |
+
<strong><?php esc_html_e( 'Success Message: Single opt-in', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
652 |
+
<?php
|
653 |
+
esc_html_e( 'The message displayed after a single opt-in form has been submitted.', 'yikes-inc-easy-mailchimp-extender' );
|
654 |
+
?>
|
655 |
+
</li>
|
656 |
+
<li class="yikes-easy-mc-user-resubscribed-success-message-help">
|
657 |
+
<strong><?php esc_html_e( 'Success: Re-subscriber', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
658 |
+
<?php
|
659 |
+
esc_html_e( 'The message displayed after a subscriber submits a form for a list they are already subscribed to.', 'yikes-inc-easy-mailchimp-extender' );
|
660 |
+
?>
|
661 |
+
</li>
|
662 |
+
<li class="yikes-easy-mc-user-subscribed-update-link-help">
|
663 |
+
<strong><?php esc_html_e( 'Success: Re-subscriber with link to email profile update message', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
664 |
+
<?php
|
665 |
+
/* translators: HTML <code> tags */
|
666 |
+
echo sprintf( esc_html__( 'The message displayed after a subscriber submits a form for a list they are already subscribed to. Wrap the text you want to be the link in %1$1s[link][/link]%2$2s tags.', 'yikes-inc-easy-mailchimp-extender' ), '<code>', '</code>' );
|
667 |
+
?>
|
668 |
+
</li>
|
669 |
+
<li class="yikes-easy-mc-update-email-successful-help">
|
670 |
+
<strong><?php esc_html_e( 'Success: Update email successfully sent', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
671 |
+
<?php
|
672 |
+
esc_html_e( 'The message displayed after an update profile email is successfully sent.', 'yikes-inc-easy-mailchimp-extender' );
|
673 |
+
?>
|
674 |
+
</li>
|
675 |
+
<li class="yikes-easy-mc-update-email-failure-help">
|
676 |
+
<strong><?php esc_html_e( 'Error: Update email failed to send', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
677 |
+
<?php
|
678 |
+
esc_html_e( 'The message displayed after an update profile email failed to send.', 'yikes-inc-easy-mailchimp-extender' );
|
679 |
+
?>
|
680 |
+
</li>
|
681 |
+
<li class="yikes-easy-mc-user-subscribed-message-help">
|
682 |
+
<strong><?php esc_html_e( 'Error: Re-subscribers not permitted', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
683 |
+
<?php
|
684 |
+
/* translators: HTML <code> tags */
|
685 |
+
echo sprintf( esc_html__( 'The message displayed after a subscriber tries to join a list they are already subscribed to. You can display the user\'s email in the message using an %1$1s[email]%2$2s tag.', 'yikes-inc-easy-mailchimp-extender' ), '<code>', '</code>' );
|
686 |
+
?>
|
687 |
+
</li>
|
688 |
+
<li class="yikes-easy-mc-general-error-message-help"><strong><?php esc_html_e( 'Error: General', 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php esc_html_e( 'The message displayed if a form error has occurred.', 'yikes-inc-easy-mailchimp-extender' ); ?></li>
|
689 |
</ul>
|
690 |
|
691 |
</div>
|
693 |
</div>
|
694 |
|
695 |
<div class="postbox yikes-easy-mc-postbox yikes-easy-mc-custom-messages-email-section-help">
|
696 |
+
<h3 class="edit-form-title"><span><?php esc_html_e( "Email Message Help", 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
|
697 |
<div class="inside">
|
698 |
|
699 |
<ul>
|
700 |
+
<li class="yikes-easy-mc-user-email-subject-help"><strong><?php esc_html_e( 'Email Subject', 'yikes-inc-easy-mailchimp-extender' ); ?></strong> <?php esc_html_e( 'The subject of the email sent to the user.', 'yikes-inc-easy-mailchimp-extender' ); ?></li>
|
701 |
<li class="yikes-easy-mc-user-email-body-help">
|
702 |
+
<strong><?php esc_html_e( 'Email Body', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
703 |
+
<?php
|
704 |
+
/* translators: HTML <code> tags */
|
705 |
+
echo sprintf( esc_html__( 'The text in the profile update verification email sent to the subscriber. Wrap the text you want to be the link in %1$1s[link][/link]%2$2s tags. The link is required in the email, please don\'t leave these tags out.', 'yikes-inc-easy-mailchimp-extender' ), '<code>', '</code>' );
|
706 |
+
?>
|
707 |
</li>
|
708 |
<li class="yikes-easy-mc-user-email-body-help">
|
709 |
+
<strong><?php esc_html_e( 'Tags', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
710 |
+
<?php esc_html_e( 'You can also use these tags in your email:', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
711 |
<ul>
|
712 |
+
<li>
|
713 |
+
<?php
|
714 |
+
/* translators: First two placeholders are HTML <code> tags, third one is the website's home URL */
|
715 |
+
echo sprintf( esc_html__( '%1$1s[url]%2$2s displays your website\'s URL (i.e. %3$3s).', 'yikes-inc-easy-mailchimp-extender' ), '<code>', '</code>', esc_url( get_home_url() ) );
|
716 |
+
?>
|
717 |
+
</li>
|
718 |
+
<li>
|
719 |
+
<?php
|
720 |
+
/* translators: HTML <code> tags */
|
721 |
+
echo sprintf( esc_html__( '%1$1s[email]%2$2s displays the subscriber\'s email address.', 'yikes-inc-easy-mailchimp-extender' ), '<code>', '</code>' );
|
722 |
+
?>
|
723 |
+
</li>
|
724 |
+
<li>
|
725 |
+
<?php
|
726 |
+
/* translators: HTML <code> tags */
|
727 |
+
echo sprintf( esc_html__( '%1$1s[subscriber_id]%2$2s displays the subscriber\'s unique email ID.', 'yikes-inc-easy-mailchimp-extender' ), '<code>', '</code>' );
|
728 |
+
?>
|
729 |
+
</li>
|
730 |
+
<li>
|
731 |
+
<?php
|
732 |
+
/* translators: First two placeholders are HTML <code> tags, third one is the form's name */
|
733 |
+
echo sprintf( esc_html__( '%1$1s[form_name]%2$2s displays your form\'s name (i.e. %3$3s).', 'yikes-inc-easy-mailchimp-extender' ), '<code>', '</code>', esc_html( $form['form_name'] ) );
|
734 |
+
?>
|
735 |
+
</li>
|
736 |
+
<li>
|
737 |
+
<?php
|
738 |
+
/* translators: HTML <code> tags */
|
739 |
+
echo sprintf( esc_html__( '%1$1s[fname]/[lname]%2$2s displays your subscriber\'s first name/last name.', 'yikes-inc-easy-mailchimp-extender' ), '<code>', '</code>' );
|
740 |
+
?>
|
741 |
+
</li>
|
742 |
</ul>
|
743 |
</li>
|
744 |
</ul>
|
764 |
</label>
|
765 |
<!-- End Error Messages -->
|
766 |
|
767 |
+
<?php do_action( 'yikes-mailchimp-edit-form-sections', $form ); ?>
|
768 |
|
769 |
</div>
|
770 |
<!-- .inside -->
|
776 |
<!-- post-body-content -->
|
777 |
|
778 |
<!-- sidebar -->
|
779 |
+
<div id="postbox-container-1" class="postbox-container yikes-easy-forms-sidebar">
|
780 |
<div class="meta-box-sortables">
|
781 |
<div class="postbox yikes-easy-mc-postbox">
|
782 |
+
<h3><span><?php esc_html_e( 'Form Settings', 'yikes-inc-easy-mailchimp-extender' ); ?></span></h3>
|
783 |
|
784 |
<div class="inside">
|
785 |
<p class="inside-section-1">
|
786 |
+
<label for="shortcode"><?php esc_html_e( 'Edit Another Form', 'yikes-inc-easy-mailchimp-extender' ); ?><br />
|
787 |
<select class="widefat" name="form_switcher" id="form_switcher" onchange="YIKES_Easy_MC_SwitchForm(jQuery(this).val());">
|
788 |
+
<?php foreach ( $all_forms as $single_form ) { ?>
|
789 |
+
<option <?php selected( $form_id, $single_form['id'] ); ?> value="<?php echo esc_attr( $single_form['id'] ); ?>"><?php echo esc_html( $single_form['form_name'] ); ?></option>
|
790 |
<?php } ?>
|
791 |
</select>
|
792 |
</label>
|
793 |
</p>
|
794 |
|
795 |
<p class="inside-section-2">
|
796 |
+
<label for="shortcode"><?php esc_html_e( 'Shortcode', 'yikes-inc-easy-mailchimp-extender' ); ?><br />
|
797 |
+
<input type="text" onclick="this.setSelectionRange(0, this.value.length)" class="widefat shortcode-input-field" readonly value='[yikes-mailchimp form="<?php echo esc_attr( $form['id'] ); ?>"]' />
|
798 |
</label>
|
799 |
</p>
|
800 |
|
801 |
|
802 |
<a href="#" class="expansion-section-title settings-sidebar">
|
803 |
+
<span class="dashicons dashicons-plus yikes-mc-expansion-toggle"></span><?php esc_html_e( 'Associated List Settings', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
804 |
</a>
|
805 |
<div class="yikes-mc-settings-expansion-section">
|
806 |
<!-- Associated List -->
|
807 |
<p class="form-field-container">
|
808 |
<!-- necessary to prevent skipping on slideToggle(); -->
|
809 |
+
<label for="associated-list"><strong><?php esc_html_e( 'Associated List', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
810 |
<select name="associated-list" id="associated-list" <?php if ( empty( $list_data ) ) { echo 'disabled="disabled"'; } ?> onchange="jQuery('.view-list-link').attr( 'href', '<?php echo esc_url( admin_url( 'admin.php?page=yikes-mailchimp-view-list&list-id=' ) ); ?>' + jQuery( this ).val() );">
|
811 |
<?php
|
812 |
if ( ! empty( $list_data ) ) {
|
813 |
foreach( $list_data as $mailing_list ) {
|
814 |
?>
|
815 |
+
<option <?php selected( $form['list_id'], $mailing_list['id'] ); ?> value="<?php echo $mailing_list['id']; ?>"><?php echo stripslashes( $mailing_list['name'] ) . ' (' . $mailing_list['stats']['member_count'] . ') '; ?></option>
|
816 |
<?php
|
817 |
}
|
818 |
} else {
|
819 |
?>
|
820 |
+
<option value="no-forms"><?php esc_html_e( 'No Lists Found', 'yikes-inc-easy-mailchimp-extender' ); ?></option>
|
821 |
<?php
|
822 |
}
|
823 |
?>
|
827 |
<a href="<?php echo esc_url( admin_url( 'admin.php?page=yikes-mailchimp-view-list&list-id=' . $form['list_id'] ) ); ?>" class="view-list-link"><?php _e( 'View List', 'yikes-inc-easy-mailchimp-extender' ); ?></a>
|
828 |
</p>
|
829 |
<p class="description">
|
830 |
+
<?php _e( "Users who sign up via this form will be added to the list selected above.", 'yikes-inc-easy-mailchimp-extender' ); ?>
|
831 |
</p>
|
832 |
<?php } else { ?>
|
833 |
<p class="description">
|
834 |
+
<?php _e( "It looks like you first need to create a list to assign this form to. Head over to", 'yikes-inc-easy-mailchimp-extender' ); ?> <a href="http://www.MailChimp.com" title="<?php _e( 'Create a new list', 'yikes-inc-easy-mailchimp-extender' ); ?>">MailChimp</a> <?php _e( 'to create your first list', 'yikes-inc-easy-mailchimp-extender' ); ?>.
|
835 |
</p>
|
836 |
<?php } ?>
|
837 |
|
838 |
<!-- Display our Clear API Cache button -->
|
839 |
<?php if ( false === get_transient( 'yikes-easy-mailchimp-list-data' ) && false === get_transient( 'yikes-easy-mailchimp-profile-data' ) && false === get_transient( 'yikes-easy-mailchimp-account-data' ) && false === get_transient( 'yikesinc_eme_list_ids' ) && false === get_transient( 'yikes_eme_lists' ) ) { ?>
|
840 |
+
<p><a href="#" class="button-secondary" disabled="disabled" title="<?php _e( 'No MailChimp data found in temporary cache storage.', 'yikes-inc-easy-mailchimp-extender' ); ?>"><?php _e( 'Clear MailChimp API Cache', 'yikes-inc-easy-mailchimp-extender' ); ?></a></p>
|
841 |
<?php } else { ?>
|
842 |
+
<p><a href="<?php echo esc_url_raw( add_query_arg( array( 'action' => 'yikes-easy-mc-clear-transient-data', 'nonce' => wp_create_nonce( 'clear-mc-transient-data' ) ) ) ); ?>" class="button-primary"><?php _e( 'Clear MailChimp API Cache', 'yikes-inc-easy-mailchimp-extender' ); ?></a></p>
|
843 |
<?php } ?>
|
844 |
</label>
|
845 |
</p>
|
846 |
</div>
|
847 |
|
848 |
<a href="#" class="expansion-section-title settings-sidebar">
|
849 |
+
<span class="dashicons dashicons-plus yikes-mc-expansion-toggle"></span><?php _e( 'Opt-in Settings', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
850 |
</a>
|
851 |
<div class="yikes-mc-settings-expansion-section">
|
852 |
|
856 |
$optin_settings['optin'] = '1';
|
857 |
}
|
858 |
?>
|
859 |
+
<p class="form-field-container"><!-- necessary to prevent skipping on slideToggle(); --><label for="single-double-optin"><strong><?php _e( 'Single or Double Opt-in', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
860 |
<span class="edit-form-field-container-span">
|
861 |
+
<label for="single"><input id="single" type="radio" name="single-double-optin" value="0" <?php checked( $optin_settings['optin'], '0' ); ?>><?php _e( 'Single', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
862 |
+
<label for="double"><input id="double" type="radio" name="single-double-optin" value="1" <?php checked( $optin_settings['optin'], '1' ); ?>><?php _e( 'Double', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
863 |
</span>
|
864 |
+
<p class="description"><?php _e( "Double opt-in requires users to confirm their email address before being added to a list (recommended)", 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
865 |
</label></p>
|
866 |
|
867 |
<!-- Update Existing Users -->
|
870 |
$optin_settings['update_existing_user'] = '1';
|
871 |
}
|
872 |
?>
|
873 |
+
<p class="form-field-container"><!-- necessary to prevent skipping on slideToggle(); --><label for="update-existing-user"><strong><?php _e( 'Update Existing Subscriber', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
874 |
<span class="form-field-container-span">
|
875 |
+
<label for="update-user"><input type="radio" id="update-user" onchange="toggleUpdateEmailContainer(this);return false;" name="update-existing-user" value="1" <?php checked( $optin_settings['update_existing_user'], '1' ); ?>><?php _e( 'Yes', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
876 |
+
<label for="do-not-update-user"><input type="radio" onchange="toggleUpdateEmailContainer(this);return false;" id="do-not-update-user" name="update-existing-user" value="0" <?php checked( $optin_settings['update_existing_user'], '0' ); ?>><?php _e( 'No', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
877 |
</span>
|
878 |
+
<p class="description"><?php printf( __( "Update an existing subscriber's profile information instead of displaying a %s message.", "yikes-inc-easy-mailchimp-extender" ), __( '"user already subscribed"', 'yikes-inc-easy-mailchimp-extender' ) ); ?></p>
|
879 |
</label></p>
|
880 |
|
881 |
<!--
|
886 |
<?php
|
887 |
$send_update_email = ( isset( $optin_settings['send_update_email'] ) && '' !== $optin_settings['send_update_email'] ) ? $optin_settings['send_update_email'] : 0;
|
888 |
?>
|
889 |
+
<p class="form-field-container send-update-email" <?php if ( 1 !== absint( $optin_settings['update_existing_user'] ) ) { ?>style="display:none;"<?php } ?>><!-- necessary to prevent skipping on slideToggle(); --><label for="update-existing-user"><strong><?php _e( 'Send Update Email', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
890 |
<span class="form-field-container-span">
|
891 |
+
<label for="update-email"><input type="radio" id="update-email" name="update-existing-email" value="1" <?php checked( $send_update_email, '1' ); ?>><?php _e( 'Yes', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
892 |
+
<label for="do-not-update-email"><input type="radio" id="do-not-update-email" name="update-existing-email" value="0" <?php checked( $send_update_email, '0' ); ?>><?php _e( 'No', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
893 |
</span>
|
894 |
+
<em><?php printf( __( "Send an email to the user granting their permission to update their profile information. Otherwise, an existing subscriber filling out this form, will have their profile information updated without any further interaction.", "yikes-inc-easy-mailchimp-extender" ), __( '"user already subscribed"', 'yikes-inc-easy-mailchimp-extender' ) ); ?></em>
|
895 |
</label></p>
|
896 |
|
897 |
</div>
|
898 |
|
899 |
<a href="#" class="expansion-section-title settings-sidebar">
|
900 |
+
<span class="dashicons dashicons-plus yikes-mc-expansion-toggle"></span><?php _e( 'Submission Settings', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
901 |
</a>
|
902 |
<div class="yikes-mc-settings-expansion-section">
|
903 |
<!-- AJAX form Submission -->
|
906 |
$submission_settings['ajax'] = '1';
|
907 |
}
|
908 |
?>
|
909 |
+
<p class="form-field-container"><!-- necessary to prevent skipping on slideToggle(); --><label for="form-ajax-submission"><strong><?php _e( 'Enable AJAX Submission', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
910 |
<span class="form-field-container-span">
|
911 |
+
<label for="enable-ajax"><input type="radio" id="enable-ajax" name="form-ajax-submission" class="yikes-enable-disable-ajax" value="1" <?php checked( $submission_settings['ajax'], '1' ); ?>><?php _e( 'Yes', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
912 |
+
<label for="disable-ajax"><input type="radio" id="disable-ajax" name="form-ajax-submission" class="yikes-enable-disable-ajax" value="0" <?php checked( $submission_settings['ajax'], '0' ); ?>><?php _e( 'No', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
913 |
</span>
|
914 |
+
<p class="description"><?php _e( "AJAX form submissions transmit data without requiring the page to refresh.", 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
915 |
</label></p>
|
916 |
|
917 |
<!-- Redirect User On Submission -->
|
921 |
$submission_settings['redirect_page'] = '';
|
922 |
}
|
923 |
?>
|
924 |
+
<p><label for="redirect-user-on-submission"><strong><?php _e( 'Redirect On Submission', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
925 |
<span class="form-field-container-span">
|
926 |
+
<label for="redirect-user"><input type="radio" id="redirect-user" onclick="togglePageRedirection( this );" name="redirect-user-on-submission" value="1" <?php checked( $submission_settings['redirect_on_submission'], '1' ); ?>><?php _e( 'Yes', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
927 |
+
<label for="do-not-redirect-user"><input type="radio" id="do-not-redirect-user" onclick="togglePageRedirection( this );" name="redirect-user-on-submission" value="0" <?php checked( $submission_settings['redirect_on_submission'], '0' ); ?>><?php _e( 'No', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
928 |
</span>
|
929 |
+
<?php $this->generate_page_redirect_dropdown( $submission_settings['redirect_on_submission'], $submission_settings['redirect_page'], ( isset( $submission_settings['custom_redirect_url'] ) ) ? esc_url( $submission_settings['custom_redirect_url'] ) : '' ); ?>
|
930 |
+
<p class="description"><?php _e( "When the user signs up would you like to redirect them to another page?", 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
931 |
</label></p>
|
932 |
|
933 |
<?php
|
938 |
|
939 |
<!-- Option to open the redirect URL in a new window -->
|
940 |
<div class="redirect-new-window-div" <?php if ( ( ! isset( $submission_settings['redirect_on_submission'] ) || $submission_settings['redirect_on_submission'] === '0' ) || ( ! isset( $submission_settings['ajax'] ) || $submission_settings['ajax'] !== '1' ) ) { echo 'style="display:none;"'; } ?>>
|
941 |
+
<p><strong><?php _e( "Open Redirect URL in a New Window", 'yikes-inc-easy-mailchimp-extender' ); ?></strong></p>
|
942 |
<label for="redirect-new-window-yes">
|
943 |
+
<input type="radio" class="widefat custom-redirect-new-window" id="redirect-new-window-yes" name="redirect_new_window" value="1" <?php checked( $submission_settings['redirect_new_window'], '1' ); ?>/><?php _e( 'Yes', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
944 |
</label>
|
945 |
|
946 |
<label for="redirect-new-window-no">
|
947 |
+
<input type="radio" class="widefat redirect-new-window" id="redirect-new-window-no" name="redirect_new_window" value="0" <?php checked( $submission_settings['redirect_new_window'], '0' ); ?>/><?php _e( 'No', 'yikes-inc-easy-mailchimp-extender' ); ?>
|
948 |
</label>
|
949 |
+
<p class="description"><?php _e( "Should the redirect URL open in a new window/tab?", 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
950 |
</div>
|
951 |
|
952 |
<!-- Hide Form On Submission -->
|
955 |
$submission_settings['hide_form_post_signup'] = '0';
|
956 |
}
|
957 |
?>
|
958 |
+
<p><label for="hide-form-post-signup"><strong><?php _e( 'Hide Form After Sign Up', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
959 |
<span class="form-field-container-span">
|
960 |
+
<label for="hide-form"><input type="radio" id="hide-form" name="hide-form-post-signup" value="1" <?php checked( $submission_settings['hide_form_post_signup'], '1' ); ?> checked><?php _e( 'Yes', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
961 |
+
<label for="do-not-hide-form"><input type="radio" id="do-not-hide-form" name="hide-form-post-signup" value="0" <?php checked( $submission_settings['hide_form_post_signup'], '0' ); ?>><?php _e( 'No', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
962 |
</span>
|
963 |
+
<p class="description"><?php _e( "Should the form be hidden after the user successfully signs up?", 'yikes-inc-easy-mailchimp-extender' ); ?></p>
|
964 |
</label></p>
|
965 |
|
966 |
<!-- Append or Replace Interest Groups -->
|
969 |
$submission_settings['replace_interests'] = '1'; // defaults to true
|
970 |
}
|
971 |
?>
|
972 |
+
<p><label for="replace-interest-groups"><strong><?php _e( 'Existing Interest Groups', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
973 |
<span class="form-field-container-span">
|
974 |
+
<label for="replace-interest-groups"><input type="radio" id="replace-interest-groups" name="replace-interest-groups" value="1" <?php checked( $submission_settings['replace_interests'], '1' ); ?> checked><?php _e( 'Replace', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
975 |
+
<label for="update-interest-groups"><input type="radio" id="update-interest-groups" name="replace-interest-groups" value="0" <?php checked( $submission_settings['replace_interests'], '0' ); ?>><?php _e( 'Update', 'yikes-inc-easy-mailchimp-extender' ); ?></label>
|
976 |
</span>
|
977 |
|
978 |
+
<p class="description"><small><?php _e( "<strong>Replace</strong>: Replace all interest groups with the new ones submitted.", 'yikes-inc-easy-mailchimp-extender' ); ?></small></p>
|
979 |
|
980 |
|
981 |
+
<p class="description"><small><?php _e( "<strong>Update</strong>: Update <em>only</em> the ones submitted. Leave existing interest groups as is.", 'yikes-inc-easy-mailchimp-extender' ); ?></small></p>
|
982 |
|
983 |
</label></p>
|
984 |
|
991 |
|
992 |
<span class="form-buttons-container" id="major-publishing-actions">
|
993 |
<?php
|
994 |
+
echo submit_button( __( 'Update Form' ), 'primary', '', false, array( 'onclick' => 'jQuery(this).parent().prev().css({"display":"block","visibility":"inherit"});' ) );
|
995 |
+
$url = esc_url_raw( add_query_arg( array( 'action' => 'yikes-easy-mc-delete-form', 'mailchimp-form' => $form['id'], 'nonce' => wp_create_nonce( 'delete-mailchimp-form-'.$form['id'] ) ), admin_url( 'admin.php?page=yikes-inc-easy-mailchimp' ) ) );
|
996 |
+
echo '<a href="' . $url . '" class="yikes-delete-mailchimp-form" onclick="return confirm(\'' . __( "Are you sure you want to delete this form? This cannot be undone.", 'yikes-inc-easy-mailchimp-extender' ) . '\');">' . __( "Delete Form", 'yikes-inc-easy-mailchimp-extender' ) . '</a>';
|
997 |
?>
|
998 |
</span>
|
999 |
|
admin/partials/menu/options-sections/general-settings.php
CHANGED
@@ -4,8 +4,8 @@
|
|
4 |
* @since 1.0
|
5 |
*/
|
6 |
|
7 |
-
// Check if an API Constant is set
|
8 |
-
$yikes_mc_api_constant =
|
9 |
?>
|
10 |
|
11 |
<h3><span><?php _e( 'General Settings' , 'yikes-inc-easy-mailchimp-extender' ); ?></span><?php echo $api_connection; ?></h3>
|
4 |
* @since 1.0
|
5 |
*/
|
6 |
|
7 |
+
// Check if an API Constant is set.
|
8 |
+
$yikes_mc_api_constant = defined( 'YIKES_MC_API_KEY' );
|
9 |
?>
|
10 |
|
11 |
<h3><span><?php _e( 'General Settings' , 'yikes-inc-easy-mailchimp-extender' ); ?></span><?php echo $api_connection; ?></h3>
|
admin/partials/menu/options.php
CHANGED
@@ -27,8 +27,7 @@
|
|
27 |
$_REQUEST['section'] = preg_replace('/[^\w-]/', '', strip_tags ( $_REQUEST['section'] ) );
|
28 |
}
|
29 |
?>
|
30 |
-
<!-- Actual Settings Form
|
31 |
-
Chyea -->
|
32 |
<div class="wrap">
|
33 |
|
34 |
<!-- Freddie Logo -->
|
27 |
$_REQUEST['section'] = preg_replace('/[^\w-]/', '', strip_tags ( $_REQUEST['section'] ) );
|
28 |
}
|
29 |
?>
|
30 |
+
<!-- Actual Settings Form -->
|
|
|
31 |
<div class="wrap">
|
32 |
|
33 |
<!-- Freddie Logo -->
|
admin/partials/view-list.php
CHANGED
@@ -44,8 +44,8 @@ if ( is_wp_error( $interest_groupings ) ) {
|
|
44 |
}
|
45 |
|
46 |
$no_interest_groupings = '<p class="description">' . __( 'Interest groups are not enabled for this list.', 'yikes-inc-easy-mailchimp-extender' ) . '</p>';
|
47 |
-
$no_segments
|
48 |
-
$segments
|
49 |
|
50 |
// Get the full list of members.
|
51 |
$members = $list_helper->get_members( $list_id );
|
@@ -177,7 +177,7 @@ $subscribers_list = array_slice( $members, $page_offset, $limit );
|
|
177 |
'mailchimp-list' => $list_id,
|
178 |
'email-id' => $user_id,
|
179 |
), admin_url() . 'admin.php?page=yikes-mailchimp-view-user' ) ); ?>
|
180 |
-
<span><a href="<?php echo $view_user_info_url; ?>"><?php _e(
|
181 |
<?php $url = esc_url_raw( add_query_arg( array(
|
182 |
'action' => 'yikes-easy-mc-unsubscribe-user',
|
183 |
'mailchimp-list' => $list_id,
|
44 |
}
|
45 |
|
46 |
$no_interest_groupings = '<p class="description">' . __( 'Interest groups are not enabled for this list.', 'yikes-inc-easy-mailchimp-extender' ) . '</p>';
|
47 |
+
$no_segments = __( 'No segments set up for this list.', 'yikes-inc-easy-mailchimp-extender' );
|
48 |
+
$segments = $list_helper->get_segments( $list_id );
|
49 |
|
50 |
// Get the full list of members.
|
51 |
$members = $list_helper->get_members( $list_id );
|
177 |
'mailchimp-list' => $list_id,
|
178 |
'email-id' => $user_id,
|
179 |
), admin_url() . 'admin.php?page=yikes-mailchimp-view-user' ) ); ?>
|
180 |
+
<span><a href="<?php echo $view_user_info_url; ?>"><?php _e( 'View Info', 'yikes-inc-easy-mailchimp-extender' ); ?></a> |</span>
|
181 |
<?php $url = esc_url_raw( add_query_arg( array(
|
182 |
'action' => 'yikes-easy-mc-unsubscribe-user',
|
183 |
'mailchimp-list' => $list_id,
|
admin/partials/view-user.php
CHANGED
@@ -125,62 +125,64 @@ $list_name = $additional_lists[ $list_id ];
|
|
125 |
</a>
|
126 |
»
|
127 |
<span title="<?php echo $user_email; ?>">
|
128 |
-
|
129 |
-
|
130 |
</section>
|
131 |
|
132 |
<!-- Customer Container -->
|
133 |
<div id="yikes-mc-subscriber-card-wrapper">
|
134 |
<section class="yikes-mc-card-top">
|
135 |
<?php echo $gravatar_image; ?>
|
136 |
-
<h2><?php echo $user_email; ?></h2>
|
137 |
-
<?php
|
|
|
|
|
|
|
138 |
<span class="member-subscription-date">
|
139 |
-
<?php
|
|
|
|
|
|
|
140 |
</span>
|
141 |
-
<?php if ( isset( $user_data['location'] ) && ! empty( $user_data['location'] ) ) { ?>
|
142 |
-
|
143 |
-
<span class="member-location-data">
|
144 |
-
<?php echo __( 'Location:', 'yikes-inc-easy-mailchimp-extender' ) . ' ' . yikes_mc_geocode_subscriber_data( $user_data['location']['latitude'], $user_data['location']['longitude'] ); ?>
|
145 |
-
</span>
|
146 |
-
<?php } else { ?>
|
147 |
-
<span class="member-location-data">
|
148 |
-
<?php echo __( 'Location:', 'yikes-inc-easy-mailchimp-extender' ) . ' ' . $user_data['location']['timezone'] . ', ' . $user_data['location']['country_code']; ?>
|
149 |
-
</span>
|
150 |
<?php
|
151 |
-
|
152 |
-
|
153 |
-
|
|
|
|
|
154 |
</section>
|
155 |
|
156 |
<hr class="yikes-mc-subscriber-hr" />
|
157 |
|
158 |
<?php
|
159 |
-
if ( ! isset( $_GET['section'] ) || ( isset( $_GET['section'] ) && $_GET['section']
|
160 |
-
|
161 |
<section class="yikes-mc-card-body merge-variable-section">
|
162 |
-
<h3><?php
|
163 |
<?php
|
164 |
if ( ! empty( $merge_variable_fields ) ) {
|
165 |
?>
|
166 |
<?php foreach ( $merge_variable_fields as $field_name => $value ) { ?>
|
167 |
<li>
|
168 |
<label>
|
169 |
-
<strong class="section-label"><?php echo $field_name; ?></strong>
|
170 |
-
<p class="section-value"><em><?php echo $value; ?></em></p>
|
171 |
</label>
|
172 |
</li>
|
173 |
<?php }
|
174 |
} else {
|
175 |
?>
|
176 |
-
<strong><?php
|
177 |
<?php
|
178 |
}
|
179 |
-
if ( isset( $user_data['ip_signup'] ) && $user_data['ip_signup']
|
180 |
?>
|
181 |
<li>
|
182 |
<label>
|
183 |
-
<strong class="section-label"><?php
|
|
|
184 |
</label>
|
185 |
</li>
|
186 |
<?php
|
@@ -312,23 +314,3 @@ $list_name = $additional_lists[ $list_id ];
|
|
312 |
</div>
|
313 |
|
314 |
</div>
|
315 |
-
<?php
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
function yikes_mc_geocode_subscriber_data( $latitude, $longitude ) {
|
320 |
-
$geocode_url = 'https://maps.googleapis.com/maps/api/geocode/json?latlng=' . $latitude . ',' . $longitude;
|
321 |
-
$geocode_response = wp_remote_get( $geocode_url );
|
322 |
-
if ( is_wp_error( $geocode_response ) ) {
|
323 |
-
return;
|
324 |
-
}
|
325 |
-
$geocode_response_body = json_decode( wp_remote_retrieve_body( $geocode_response ), true );
|
326 |
-
if ( is_wp_error( $geocode_response_body ) ) {
|
327 |
-
return;
|
328 |
-
}
|
329 |
-
$city = $geocode_response_body['results'][0]['address_components'][2]['short_name'];
|
330 |
-
$state = $geocode_response_body['results'][0]['address_components'][5]['short_name'];
|
331 |
-
$country = $geocode_response_body['results'][0]['address_components'][6]['short_name'];
|
332 |
-
|
333 |
-
return $link = '<a href="http://maps.google.com/maps?q=' . $latitude . ',' . $longitude . '" target="_blank" title="' . __( 'View Google Map', 'yikes-inc-easy-mailchimp-extender' ) . '">' . $city . ', ' . $state . ', ' . $country . '</a> <span class="flag-icon flag-icon-' . strtolower( $country ) . '"></span>';
|
334 |
-
}
|
125 |
</a>
|
126 |
»
|
127 |
<span title="<?php echo $user_email; ?>">
|
128 |
+
<?php echo esc_html( $user_email ); ?>
|
129 |
+
</span>
|
130 |
</section>
|
131 |
|
132 |
<!-- Customer Container -->
|
133 |
<div id="yikes-mc-subscriber-card-wrapper">
|
134 |
<section class="yikes-mc-card-top">
|
135 |
<?php echo $gravatar_image; ?>
|
136 |
+
<h2><?php echo esc_html( $user_email ); ?></h2>
|
137 |
+
<?php /* translators: the placeholder is a number between 1-5 */ ?>
|
138 |
+
<span class="member-star-rating-container" title="<?php echo esc_html( sprintf( _n( 'Member Rating: %s star', 'Member Rating: %s stars', esc_attr( $member_rating ), 'yikes-inc-easy-mailchimp-extender' ), esc_attr( $member_rating ) ) ); ?>">
|
139 |
+
<?php echo $member_rating_stars; ?>
|
140 |
+
</span>
|
141 |
<span class="member-subscription-date">
|
142 |
+
<?php
|
143 |
+
/* translators: the placeholder is a datetime string. */
|
144 |
+
echo sprintf( esc_html__( 'Subscribed: %1$1s', 'yikes-inc-easy-mailchimp-extender' ), esc_html( gmdate( 'F jS, Y h:i a', $last_changed ) ) );
|
145 |
+
?>
|
146 |
</span>
|
147 |
+
<?php if ( isset( $user_data['location'] ) && isset( $user_data['location']['timezone'] ) && ! empty( $user_data['location']['timezone'] ) && isset( $user_data['location']['country_code'] ) && ! empty( $user_data['location']['country_code'] ) ) { ?>
|
148 |
+
<span class="member-location-data">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
<?php
|
150 |
+
/* translators: the placeholders are a timezone and a country code */
|
151 |
+
echo sprintf( esc_html__( 'Location: %1$1s, %2$2s', 'yikes-inc-easy-mailchimp-extender' ), esc_html( $user_data['location']['timezone'] ), esc_html( $user_data['location']['country_code'] ) );
|
152 |
+
?>
|
153 |
+
</span>
|
154 |
+
<?php } ?>
|
155 |
</section>
|
156 |
|
157 |
<hr class="yikes-mc-subscriber-hr" />
|
158 |
|
159 |
<?php
|
160 |
+
if ( ! isset( $_GET['section'] ) || ( isset( $_GET['section'] ) && filter_var( wp_unslash( $_GET['section'] ), FILTER_SANITIZE_STRING ) === 'subscriber-data' ) ) {
|
161 |
+
?>
|
162 |
<section class="yikes-mc-card-body merge-variable-section">
|
163 |
+
<h3><?php esc_html_e( 'Fields:', 'yikes-inc-easy-mailchimp-extender' ); ?></h3>
|
164 |
<?php
|
165 |
if ( ! empty( $merge_variable_fields ) ) {
|
166 |
?>
|
167 |
<?php foreach ( $merge_variable_fields as $field_name => $value ) { ?>
|
168 |
<li>
|
169 |
<label>
|
170 |
+
<strong class="section-label"><?php echo esc_html( $field_name ); ?></strong>
|
171 |
+
<p class="section-value"><em><?php echo esc_html( $value ); ?></em></p>
|
172 |
</label>
|
173 |
</li>
|
174 |
<?php }
|
175 |
} else {
|
176 |
?>
|
177 |
+
<strong><?php esc_html_e( 'No Subscriber Data Found', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
178 |
<?php
|
179 |
}
|
180 |
+
if ( isset( $user_data['ip_signup'] ) && ! empty( $user_data['ip_signup'] ) ) {
|
181 |
?>
|
182 |
<li>
|
183 |
<label>
|
184 |
+
<strong class="section-label"><?php esc_html_e( 'Signup IP', 'yikes-inc-easy-mailchimp-extender' ); ?></strong>
|
185 |
+
<p class="section-value"><em><?php esc_html_e( $user_data['ip_signup'] ); ?></em></p>
|
186 |
</label>
|
187 |
</li>
|
188 |
<?php
|
314 |
</div>
|
315 |
|
316 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
blocks/blocks.php
CHANGED
@@ -1,31 +1,4 @@
|
|
1 |
<?php
|
2 |
-
add_action( 'init', 'yikes_maybe_activate_blocks' );
|
3 |
-
|
4 |
-
/**
|
5 |
-
* If Gutenberg is active && PHP Version is >= 5.6, activate our blocks.
|
6 |
-
*
|
7 |
-
* We check if Gutenberg is active by looking for the existence of the `gutenberg_init()` function (Gutenberg plugin) or WordPress version >= 5.0.0.
|
8 |
-
*/
|
9 |
-
function yikes_maybe_activate_blocks() {
|
10 |
-
include ABSPATH . WPINC . '/version.php';
|
11 |
-
if ( version_compare( PHP_VERSION, '5.6.0', '>=' ) && ( function_exists( 'gutenberg_init' ) || isset( $wp_version ) && version_compare( $wp_version, '5.0', '>=' ) ) ) {
|
12 |
-
|
13 |
-
// Wrap the init of block functionality into a Try/Catch until everything is stable.
|
14 |
-
try {
|
15 |
-
require_once YIKES_MC_PATH . 'blocks/api/api.php';
|
16 |
-
require_once YIKES_MC_PATH . 'blocks/easy-forms-block/easy-forms-block.php';
|
17 |
-
$yikes_easy_form_block = new YIKES_Easy_Form_Block();
|
18 |
-
$yikes_easy_form_blocks_api = new YIKES_Easy_Forms_Blocks_API();
|
19 |
-
} catch ( Exception $e ) {
|
20 |
-
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
21 |
-
$error_logging->maybe_write_to_log( $e->getMessage(),
|
22 |
-
__( 'Error initializing the Easy Forms\' Gutenberg block functions.', 'yikes-inc-easy-mailchimp-extender' ),
|
23 |
-
'blocks.php'
|
24 |
-
);
|
25 |
-
}
|
26 |
-
}
|
27 |
-
}
|
28 |
-
|
29 |
/**
|
30 |
* Class YIKES_Easy_Forms_Blocks.
|
31 |
*/
|
@@ -50,9 +23,12 @@ abstract class YIKES_Easy_Forms_Blocks {
|
|
50 |
* Register our Easy Forms block callback.
|
51 |
*/
|
52 |
public function register_blocks() {
|
53 |
-
register_block_type(
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
56 |
}
|
57 |
|
58 |
/**
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
* Class YIKES_Easy_Forms_Blocks.
|
4 |
*/
|
23 |
* Register our Easy Forms block callback.
|
24 |
*/
|
25 |
public function register_blocks() {
|
26 |
+
register_block_type(
|
27 |
+
static::BLOCK_NAMESPACE . static::BLOCK,
|
28 |
+
array(
|
29 |
+
'render_callback' => array( $this, 'render_block' ),
|
30 |
+
)
|
31 |
+
);
|
32 |
}
|
33 |
|
34 |
/**
|
blocks/easy-forms-block/easy-forms-block.php
CHANGED
@@ -51,7 +51,7 @@ class YIKES_Easy_Form_Block extends YIKES_Easy_Forms_Blocks {
|
|
51 |
) );
|
52 |
wp_enqueue_script( 'yikes-easy-forms-blocks' );
|
53 |
|
54 |
-
wp_enqueue_script( 'yikes-google-recaptcha', 'https://www.google.com/recaptcha/api.js', array( 'jquery' ),
|
55 |
|
56 |
if ( ! defined( 'YIKES_MAILCHIMP_EXCLUDE_STYLES' ) ) {
|
57 |
wp_enqueue_style( 'yikes-inc-easy-mailchimp-public-styles', YIKES_MC_URL . 'public/css/yikes-inc-easy-mailchimp-extender-public.min.css', array(), YIKES_MC_VERSION );
|
@@ -78,7 +78,7 @@ class YIKES_Easy_Form_Block extends YIKES_Easy_Forms_Blocks {
|
|
78 |
'description' => isset( $attributes['show_description'] ) && true === $attributes['show_description'] ? '1' : '0',
|
79 |
'custom_description' => isset( $attributes['form_description'] ) ? $attributes['form_description'] : '',
|
80 |
'ajax' => isset( $attributes['is_ajax'] ) && true === $attributes['is_ajax'] ? '1' : '0',
|
81 |
-
'recaptcha' => isset( $attributes['recaptcha'] ) && false === $attributes['recaptcha'] ? '0' : '',
|
82 |
'recaptcha_lang' => isset( $attributes['recaptcha_lang'] ) ? $attributes['recaptcha_lang'] : '',
|
83 |
'recaptcha_type' => isset( $attributes['recaptcha_type'] ) ? $attributes['recaptcha_type'] : '',
|
84 |
'recaptcha_theme' => isset( $attributes['recaptcha_theme'] ) ? $attributes['recaptcha_theme'] : '',
|
@@ -89,6 +89,23 @@ class YIKES_Easy_Form_Block extends YIKES_Easy_Forms_Blocks {
|
|
89 |
);
|
90 |
|
91 |
// We want to run process_mailchimp_shortcode() but we need to return the plaintext shortcode or Gutenberg will autop() the shortcode content.
|
92 |
-
return
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
}
|
94 |
}
|
51 |
) );
|
52 |
wp_enqueue_script( 'yikes-easy-forms-blocks' );
|
53 |
|
54 |
+
wp_enqueue_script( 'yikes-google-recaptcha', 'https://www.google.com/recaptcha/api.js', array( 'jquery' ), null, true );
|
55 |
|
56 |
if ( ! defined( 'YIKES_MAILCHIMP_EXCLUDE_STYLES' ) ) {
|
57 |
wp_enqueue_style( 'yikes-inc-easy-mailchimp-public-styles', YIKES_MC_URL . 'public/css/yikes-inc-easy-mailchimp-extender-public.min.css', array(), YIKES_MC_VERSION );
|
78 |
'description' => isset( $attributes['show_description'] ) && true === $attributes['show_description'] ? '1' : '0',
|
79 |
'custom_description' => isset( $attributes['form_description'] ) ? $attributes['form_description'] : '',
|
80 |
'ajax' => isset( $attributes['is_ajax'] ) && true === $attributes['is_ajax'] ? '1' : '0',
|
81 |
+
'recaptcha' => ! isset( $attributes['recaptcha'] ) || isset( $attributes['recaptcha'] ) && false === $attributes['recaptcha'] ? '0' : '',
|
82 |
'recaptcha_lang' => isset( $attributes['recaptcha_lang'] ) ? $attributes['recaptcha_lang'] : '',
|
83 |
'recaptcha_type' => isset( $attributes['recaptcha_type'] ) ? $attributes['recaptcha_type'] : '',
|
84 |
'recaptcha_theme' => isset( $attributes['recaptcha_theme'] ) ? $attributes['recaptcha_theme'] : '',
|
89 |
);
|
90 |
|
91 |
// We want to run process_mailchimp_shortcode() but we need to return the plaintext shortcode or Gutenberg will autop() the shortcode content.
|
92 |
+
return sprintf(
|
93 |
+
'[yikes-mailchimp form="%s" submit="%s" title="%s" custom_title="%s" description="%s" custom_description="%s" ajax="%s" recaptcha="%s" recaptcha_lang="%s" recaptcha_type="%s" recaptcha_theme="%s" recaptcha_size="%s" recaptcha_data_callback="%s" recaptcha_expired_callback="%s" inline="%s"]',
|
94 |
+
$shortcode_attributes['form'],
|
95 |
+
$shortcode_attributes['submit'],
|
96 |
+
$shortcode_attributes['title'],
|
97 |
+
$shortcode_attributes['custom_title'],
|
98 |
+
$shortcode_attributes['description'],
|
99 |
+
$shortcode_attributes['custom_description'],
|
100 |
+
$shortcode_attributes['ajax'],
|
101 |
+
$shortcode_attributes['recaptcha'],
|
102 |
+
$shortcode_attributes['recaptcha_lang'],
|
103 |
+
$shortcode_attributes['recaptcha_type'],
|
104 |
+
$shortcode_attributes['recaptcha_theme'],
|
105 |
+
$shortcode_attributes['recaptcha_size'],
|
106 |
+
$shortcode_attributes['recaptcha_data_callback'],
|
107 |
+
$shortcode_attributes['recaptcha_expired_callback'],
|
108 |
+
$shortcode_attributes['inline']
|
109 |
+
);
|
110 |
}
|
111 |
}
|
blocks/maybe-do-blocks.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
add_action( 'init', 'yikes_maybe_activate_blocks' );
|
3 |
+
|
4 |
+
/**
|
5 |
+
* If Gutenberg is active && PHP Version is >= 5.6, activate our blocks.
|
6 |
+
*
|
7 |
+
* We check if Gutenberg is active by looking for the existence of the `gutenberg_init()` function (Gutenberg plugin) or WordPress version >= 5.0.0.
|
8 |
+
*/
|
9 |
+
function yikes_maybe_activate_blocks() {
|
10 |
+
include ABSPATH . WPINC . '/version.php';
|
11 |
+
if ( version_compare( PHP_VERSION, '5.6.0', '>=' ) && ( function_exists( 'gutenberg_init' ) || isset( $wp_version ) && version_compare( $wp_version, '5.0', '>=' ) ) ) {
|
12 |
+
|
13 |
+
// Wrap the init of block functionality into a Try/Catch until everything is stable.
|
14 |
+
try {
|
15 |
+
require_once YIKES_MC_PATH . 'blocks/blocks.php';
|
16 |
+
require_once YIKES_MC_PATH . 'blocks/api/api.php';
|
17 |
+
require_once YIKES_MC_PATH . 'blocks/easy-forms-block/easy-forms-block.php';
|
18 |
+
$yikes_easy_form_block = new YIKES_Easy_Form_Block();
|
19 |
+
$yikes_easy_form_blocks_api = new YIKES_Easy_Forms_Blocks_API();
|
20 |
+
} catch ( Exception $e ) {
|
21 |
+
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
22 |
+
$error_logging->maybe_write_to_log( $e->getMessage(),
|
23 |
+
__( 'Error initializing the Easy Forms\' Gutenberg block functions.', 'yikes-inc-easy-mailchimp-extender' ),
|
24 |
+
'blocks.php'
|
25 |
+
);
|
26 |
+
}
|
27 |
+
}
|
28 |
+
}
|
changelog.txt
CHANGED
@@ -1,5 +1,14 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
= 6.4.11 - December 11th, 2018 =
|
4 |
* Properly enabling the Easy Forms for MailChimp gutenberg block.
|
5 |
|
1 |
== Changelog ==
|
2 |
|
3 |
+
|
4 |
+
= 6.5.0 - February 6th, 2019 =
|
5 |
+
* Added tags! You can now add tags to your Easy Form's Forms! Any tag attached to a form will be attached to subscribers of that form. When applying tags to new subscribers, they can be filtered with the following filters: `yikes_mailchimp_subscriber_tags` (filters the list of tabs being applied) and `yikes_mailchimp_subscriber_tag_active` (decides whether a certain tag will be added).
|
6 |
+
* Added `[fname]` and `[lname]` as email replacement tags.
|
7 |
+
* Cleaned up code.
|
8 |
+
* Fixed some PHP warnings/notices.
|
9 |
+
* Fixed some styling issues inside the form builder.
|
10 |
+
* Fixed & cleaned some things in the Easy Form's Gutenberg block.
|
11 |
+
|
12 |
= 6.4.11 - December 11th, 2018 =
|
13 |
* Properly enabling the Easy Forms for MailChimp gutenberg block.
|
14 |
|
includes/api/class-yikes-inc-easy-mailchimp-api-abstract-items.php
CHANGED
@@ -234,6 +234,7 @@ abstract class Yikes_Inc_Easy_MailChimp_API_Abstract_Items {
|
|
234 |
|
235 |
// MailChimp uses the application/problem+json type for errors
|
236 |
$headers = wp_remote_retrieve_headers( $response );
|
|
|
237 |
if ( isset( $headers['content-type'] ) ) {
|
238 |
if ( false !== strpos( $headers['content-type'], 'application/problem+json' ) ) {
|
239 |
$body['error'] = true;
|
234 |
|
235 |
// MailChimp uses the application/problem+json type for errors
|
236 |
$headers = wp_remote_retrieve_headers( $response );
|
237 |
+
|
238 |
if ( isset( $headers['content-type'] ) ) {
|
239 |
if ( false !== strpos( $headers['content-type'], 'application/problem+json' ) ) {
|
240 |
$body['error'] = true;
|
includes/api/class-yikes-inc-easy-mailchimp-api-lists.php
CHANGED
@@ -258,26 +258,27 @@ class Yikes_Inc_Easy_MailChimp_API_Lists extends Yikes_Inc_Easy_MailChimp_API_Ab
|
|
258 |
* @author Jeremy Pry
|
259 |
*
|
260 |
* @param string $list_id The list ID.
|
|
|
261 |
* @param bool $use_transient Whether to use a transient.
|
262 |
*
|
263 |
* @return array|WP_Error
|
264 |
*/
|
265 |
-
public function get_segments( $list_id, $use_transient = true ) {
|
266 |
-
$transient = get_transient( "yikes_eme_segments_{$list_id}" );
|
267 |
if ( false !== $transient && $use_transient ) {
|
268 |
return $transient;
|
269 |
}
|
270 |
|
271 |
// @todo: Include members in the segments?
|
272 |
$base_path = "{$this->base_path}/{$list_id}/segments";
|
273 |
-
$base_path = add_query_arg( 'type',
|
274 |
$segments = $this->maybe_return_error( $this->loop_items( $base_path, 'segments' ) );
|
275 |
|
276 |
if ( is_wp_error( $segments ) ) {
|
277 |
return $segments;
|
278 |
}
|
279 |
|
280 |
-
set_transient( "yikes_eme_segments_{$list_id}", $segments, HOUR_IN_SECONDS );
|
281 |
|
282 |
return $segments;
|
283 |
}
|
@@ -440,6 +441,24 @@ class Yikes_Inc_Easy_MailChimp_API_Lists extends Yikes_Inc_Easy_MailChimp_API_Ab
|
|
440 |
return $this->maybe_return_error( $response );
|
441 |
}
|
442 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
/**
|
444 |
* Ensure that an array of limit fields includes defaults.
|
445 |
*
|
258 |
* @author Jeremy Pry
|
259 |
*
|
260 |
* @param string $list_id The list ID.
|
261 |
+
* @param string $type The segment type. Valid types are saved, static, or fuzzy.
|
262 |
* @param bool $use_transient Whether to use a transient.
|
263 |
*
|
264 |
* @return array|WP_Error
|
265 |
*/
|
266 |
+
public function get_segments( $list_id, $type = 'saved', $use_transient = true ) {
|
267 |
+
$transient = get_transient( "yikes_eme_segments_{$list_id}_{$type}" );
|
268 |
if ( false !== $transient && $use_transient ) {
|
269 |
return $transient;
|
270 |
}
|
271 |
|
272 |
// @todo: Include members in the segments?
|
273 |
$base_path = "{$this->base_path}/{$list_id}/segments";
|
274 |
+
$base_path = add_query_arg( 'type', $type, $base_path );
|
275 |
$segments = $this->maybe_return_error( $this->loop_items( $base_path, 'segments' ) );
|
276 |
|
277 |
if ( is_wp_error( $segments ) ) {
|
278 |
return $segments;
|
279 |
}
|
280 |
|
281 |
+
set_transient( "yikes_eme_segments_{$list_id}_{$type}", $segments, HOUR_IN_SECONDS );
|
282 |
|
283 |
return $segments;
|
284 |
}
|
441 |
return $this->maybe_return_error( $response );
|
442 |
}
|
443 |
|
444 |
+
/**
|
445 |
+
* Add a tag to a subscriber.
|
446 |
+
*
|
447 |
+
* @author Kevin Utz
|
448 |
+
*
|
449 |
+
* @param string $list_id The list ID.
|
450 |
+
* @param string $tag_id The tag ID.
|
451 |
+
* @param array $email The user's email, in the format array( 'email_address' => 'theemail' ).
|
452 |
+
*
|
453 |
+
* @return array|WP_Error
|
454 |
+
*/
|
455 |
+
public function create_member_tags( $list_id, $tag_id, $email ) {
|
456 |
+
$path = "{$this->base_path}/{$list_id}/segments/{$tag_id}/members";
|
457 |
+
$response = $this->post_to_api( $path, $email );
|
458 |
+
|
459 |
+
return $this->maybe_return_error( $response );
|
460 |
+
}
|
461 |
+
|
462 |
/**
|
463 |
* Ensure that an array of limit fields includes defaults.
|
464 |
*
|
includes/class-yikes-inc-easy-mailchimp-extender.php
CHANGED
@@ -111,7 +111,7 @@ class Yikes_Inc_Easy_Mailchimp_Extender {
|
|
111 |
/**
|
112 |
* The class responsible for orchestrating the actions and filters for the Gutenberg blocks
|
113 |
*/
|
114 |
-
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'blocks/blocks.php';
|
115 |
$this->loader = new Yikes_Inc_Easy_Mailchimp_Extender_Loader();
|
116 |
}
|
117 |
/**
|
111 |
/**
|
112 |
* The class responsible for orchestrating the actions and filters for the Gutenberg blocks
|
113 |
*/
|
114 |
+
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'blocks/maybe-do-blocks.php';
|
115 |
$this->loader = new Yikes_Inc_Easy_Mailchimp_Extender_Loader();
|
116 |
}
|
117 |
/**
|
languages/yikes-inc-easy-mailchimp-extender.pot
CHANGED
@@ -6,9 +6,9 @@
|
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
-
"Project-Id-Version: yikes-inc-easy-mailchimp-extender 6.
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
-
"POT-Creation-Date:
|
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:280
|
22 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
23 |
msgid "Settings"
|
24 |
msgstr ""
|
25 |
|
@@ -41,14 +41,14 @@ msgstr ""
|
|
41 |
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:387
|
42 |
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:409
|
43 |
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:429
|
44 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
45 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
46 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
47 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
48 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
49 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
50 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
51 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
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:387
|
57 |
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:409
|
58 |
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:429
|
59 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
60 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
61 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
62 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
63 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
64 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
65 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
66 |
msgid "Failed nonce validation"
|
67 |
msgstr ""
|
68 |
|
@@ -151,139 +151,139 @@ msgstr ""
|
|
151 |
msgid "Locating Interest Groups"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
155 |
msgid ""
|
156 |
"No fields assigned to this form. Select some fields to add to this form from "
|
157 |
"the right hand column."
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
161 |
msgid ""
|
162 |
"Are you sure you want to delete all of the fields assigned to this form?"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
166 |
msgid "Done"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
170 |
msgid "Today"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
174 |
msgid "Show a different month"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
178 |
msgid ""
|
179 |
"Error: The start date and time cannot occur after the end date and time. "
|
180 |
"Chosen date reverted to previous selection."
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
184 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
185 |
msgid "Click to edit the label"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
189 |
msgid "Click to cancel editing. Your changes will not be saved."
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
193 |
msgid "Easy Forms"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
197 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
198 |
msgid "Opt-in Forms"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
202 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
203 |
msgid "Mailing Lists"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
207 |
msgid "Settings."
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
211 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
212 |
#: admin/partials/menu/support.php:14
|
213 |
msgid "Support"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
217 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
218 |
#: admin/partials/menu/add-ons.php:12
|
219 |
msgid "Add-Ons"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
223 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
224 |
#: public/partials/shortcodes/process_form_shortcode.php:205
|
225 |
msgid "Edit Form"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
229 |
msgid "Us Easy Forms for MailChimp Upgrade Options Structure"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
233 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
234 |
-
#: admin/partials/edit-form.php:
|
235 |
msgid "View List"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
239 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
240 |
msgid "View User"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
244 |
msgid "API Connection"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
248 |
#: admin/partials/menu/options-sections/general-settings.php:26
|
249 |
#: admin/partials/menu/options-sections/general-settings.php:28
|
250 |
msgid "MailChimp API Key"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
254 |
msgid "Select Checkboxes to Generate"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
258 |
msgid "Enter reCAPTCHA Site Key"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
262 |
msgid "Enter reCAPTCHA Secret Key"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
266 |
msgid "Enable ReCaptcha"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
270 |
#: admin/partials/menu/options-sections/debug-settings.php:16
|
271 |
msgid "Enable Debugging"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
275 |
msgid "Your API key appears to be invalid."
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
279 |
msgid "Connecting to MailChimp"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
283 |
msgid "Settings Page/General Settings"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
287 |
#, php-format
|
288 |
msgid ""
|
289 |
"The previously stored options for %s have been cleared from the database. "
|
@@ -293,12 +293,12 @@ msgid ""
|
|
293 |
"previously set-up."
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
297 |
#, php-format
|
298 |
msgid "It looks like you're upgrading from a previous version of %s."
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
302 |
#, php-format
|
303 |
msgid ""
|
304 |
"In the newest version of %s, the options data structure has changed. We've "
|
@@ -307,166 +307,166 @@ msgid ""
|
|
307 |
"assign them to the same mailing list."
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
311 |
msgid ""
|
312 |
"Before you continue, it's strongly recommended you the perform the migration "
|
313 |
"to ensure the plugin continues to function properly."
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
317 |
msgid "It's also strongly recommended that you take a backup of your database."
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
321 |
msgid "Perform Migration"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
325 |
msgid "Dismiss Notice"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
329 |
msgid "Additional Settings"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
333 |
#: admin/partials/menu/options-sections/general-settings.php:11
|
334 |
#: admin/partials/menu/options-sections/integration-settings.php:98
|
335 |
-
#: admin/partials/menu/options.php:
|
336 |
msgid "General Settings"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
340 |
#: admin/partials/menu/options-sections/integration-settings.php:79
|
341 |
msgid "Integration Settings"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
345 |
#: public/partials/shortcodes/process_form_shortcode.php:62
|
346 |
#: public/partials/shortcodes/process_form_shortcode.php:65
|
347 |
msgid "ReCaptcha Settings"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
351 |
#: admin/partials/menu/options-sections/api-cache-settings.php:6
|
352 |
msgid "API Cache Settings"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
356 |
#: admin/partials/menu/options-sections/debug-settings.php:7
|
357 |
msgid "Debug Settings"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
361 |
msgid "Import/Export"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
365 |
msgid "Addon Settings"
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
369 |
msgid "Create a New Signup Form"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
373 |
msgid ""
|
374 |
"Give your form a name, select a MailChimp list to assign users to, then "
|
375 |
"click 'Create'."
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
379 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
380 |
#: admin/partials/edit-form.php:157 admin/partials/menu/manage-forms.php:103
|
381 |
#: admin/partials/menu/manage-forms.php:118
|
382 |
msgid "Form Name"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
386 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
387 |
#: admin/partials/edit-form.php:163 admin/partials/menu/manage-forms.php:104
|
388 |
#: admin/partials/menu/manage-forms.php:119
|
389 |
msgid "Form Description"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
393 |
-
#: admin/partials/edit-form.php:
|
394 |
msgid "Associated List"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
398 |
msgid "Please enter a valid API key."
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
402 |
msgid "No lists were found on the account."
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
406 |
msgid "MailChimp list data has been succesfully refreshed."
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
410 |
#, php-format
|
411 |
msgid ""
|
412 |
"Head over to <a href=\"http://www.MailChimp.com\" title=\"%s\">MailChimp</a> "
|
413 |
"to create a new list."
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
417 |
msgid "Create a list"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
421 |
msgid "Create"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
425 |
msgid "Please enter a valid MailChimp API key to get started."
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
429 |
msgid "general settings"
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
433 |
msgid "Refresh Lists"
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
437 |
msgid "Select A Page or Post"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
441 |
msgid "Custom URL"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
445 |
msgid "Enter Custom URL"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
449 |
msgid "About YIKES, Inc."
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
453 |
msgid "Show Us Some Love"
|
454 |
msgstr ""
|
455 |
|
456 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
457 |
msgid "Leave a review"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
461 |
msgid "Tweet about it"
|
462 |
msgstr ""
|
463 |
|
464 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
465 |
#, php-format
|
466 |
msgid "This plugin made with %s by %s"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
470 |
msgid ""
|
471 |
"is a web design and development company located in Philadelphia, "
|
472 |
"Pennsylvania, US. YIKES specializes in custom WordPress theme and plugin "
|
@@ -474,102 +474,102 @@ msgid ""
|
|
474 |
"applications and more."
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
478 |
msgid "Show YIKES Some Love"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
482 |
msgid "About YIKES"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
486 |
msgid "Easy Forms for MailChimp Add-Ons"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
490 |
msgid "Check out available add-ons for some seriously enhanced features."
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
494 |
msgid "View Add-Ons"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
498 |
msgid "We've encountered an error. No list ID was sent."
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
502 |
msgid ""
|
503 |
"We've encountered an error. Reload the page and try again. If the error "
|
504 |
"persists, please reach out to support."
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
508 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
509 |
msgid "Field no longer exists."
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
513 |
msgid "Click to save changes."
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
517 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
518 |
#: admin/partials/ajax/add_field_to_form.php:41
|
519 |
#: admin/partials/ajax/add_interest_group_to_form.php:65
|
520 |
msgid "type"
|
521 |
msgstr ""
|
522 |
|
523 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
524 |
msgid ""
|
525 |
"This field no longer exists in this list. Delete this field from the form to "
|
526 |
"prevent issues on your website."
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
530 |
#: admin/partials/ajax/add_field_to_form.php:65
|
531 |
msgid "Merge Tag"
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
535 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
536 |
#: admin/partials/ajax/add_field_to_form.php:90
|
537 |
#: admin/partials/ajax/add_field_to_form.php:136
|
538 |
msgid "Placeholder"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
542 |
#: admin/partials/ajax/add_field_to_form.php:95
|
543 |
msgid "Assign a placeholder value to this field."
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
547 |
#: admin/partials/ajax/add_field_to_form.php:141
|
548 |
msgid ""
|
549 |
"Use placeholders for this field (these will be automatically filled in with "
|
550 |
"field names)."
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
554 |
#: admin/partials/ajax/add_field_to_form.php:159
|
555 |
msgid "Default Value"
|
556 |
msgstr ""
|
557 |
|
558 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
559 |
#: admin/partials/ajax/add_field_to_form.php:164
|
560 |
msgid ""
|
561 |
"Assign a default value to populate this field with on initial page load."
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
565 |
#: admin/partials/ajax/add_field_to_form.php:169
|
566 |
msgid "View Pre-Defined Tags"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
570 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
571 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
572 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
573 |
#: admin/partials/ajax/add_field_to_form.php:183
|
574 |
#: admin/partials/ajax/add_field_to_form.php:216
|
575 |
#: admin/partials/ajax/add_interest_group_to_form.php:89
|
@@ -578,44 +578,44 @@ msgstr ""
|
|
578 |
msgid "Default Selection"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
582 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
583 |
#: admin/partials/ajax/add_field_to_form.php:204
|
584 |
#: admin/partials/ajax/add_interest_group_to_form.php:103
|
585 |
#: admin/partials/ajax/add_interest_group_to_form.php:129
|
586 |
msgid "Select the option that should be selected by default."
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
590 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
591 |
#: admin/partials/ajax/add_field_to_form.php:227
|
592 |
#: admin/partials/ajax/add_interest_group_to_form.php:152
|
593 |
msgid "Which option should be selected by default?"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
597 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
598 |
#: admin/partials/ajax/add_field_to_form.php:240
|
599 |
#: admin/partials/ajax/add_interest_group_to_form.php:164
|
600 |
msgid "Description"
|
601 |
msgstr ""
|
602 |
|
603 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
604 |
msgid ""
|
605 |
"Enter the description for the form field. This will be displayed to the user "
|
606 |
"and will provide some direction on how the field should be filled out or "
|
607 |
"selected."
|
608 |
msgstr ""
|
609 |
|
610 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
611 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
612 |
#: admin/partials/ajax/add_field_to_form.php:252
|
613 |
#: admin/partials/ajax/add_interest_group_to_form.php:177
|
614 |
msgid "Description Above Field"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
618 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
619 |
#: admin/partials/ajax/add_field_to_form.php:257
|
620 |
#: admin/partials/ajax/add_interest_group_to_form.php:182
|
621 |
msgid ""
|
@@ -623,98 +623,98 @@ msgid ""
|
|
623 |
"if you'd like the description to appear above the field."
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
627 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
628 |
#: admin/partials/ajax/add_field_to_form.php:264
|
629 |
#: admin/partials/ajax/add_interest_group_to_form.php:190
|
630 |
msgid "Additional Classes"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
634 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
635 |
#: admin/partials/ajax/add_field_to_form.php:269
|
636 |
#: admin/partials/ajax/add_interest_group_to_form.php:195
|
637 |
#, php-format
|
638 |
msgid "Assign additional classes to this field. %s."
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
642 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
643 |
#: admin/partials/ajax/add_field_to_form.php:269
|
644 |
#: admin/partials/ajax/add_interest_group_to_form.php:195
|
645 |
msgid "View bundled classes"
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
649 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
650 |
#: admin/partials/ajax/add_field_to_form.php:276
|
651 |
#: admin/partials/ajax/add_interest_group_to_form.php:202
|
652 |
msgid "Field Required?"
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
656 |
#: admin/partials/ajax/add_field_to_form.php:280
|
657 |
msgid "Email is a required field."
|
658 |
msgstr ""
|
659 |
|
660 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
661 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
662 |
#: admin/partials/ajax/add_field_to_form.php:281
|
663 |
#: admin/partials/ajax/add_interest_group_to_form.php:207
|
664 |
msgid "Require this field to be filled in before the form can be submitted."
|
665 |
msgstr ""
|
666 |
|
667 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
668 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
669 |
#: admin/partials/ajax/add_field_to_form.php:288
|
670 |
#: admin/partials/ajax/add_interest_group_to_form.php:214
|
671 |
msgid "Hide Field"
|
672 |
msgstr ""
|
673 |
|
674 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
675 |
#: admin/partials/ajax/add_field_to_form.php:292
|
676 |
msgid "Cannot toggle email field visibility."
|
677 |
msgstr ""
|
678 |
|
679 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
680 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
681 |
#: admin/partials/ajax/add_field_to_form.php:293
|
682 |
#: admin/partials/ajax/add_interest_group_to_form.php:219
|
683 |
msgid "Hide this field from being displayed on the front end."
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
687 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
688 |
#: admin/partials/ajax/add_field_to_form.php:300
|
689 |
#: admin/partials/ajax/add_interest_group_to_form.php:226
|
690 |
msgid "Hide Label"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
694 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
695 |
#: admin/partials/ajax/add_field_to_form.php:305
|
696 |
#: admin/partials/ajax/add_interest_group_to_form.php:231
|
697 |
msgid "Toggle field label visibility."
|
698 |
msgstr ""
|
699 |
|
700 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
701 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
702 |
#: admin/partials/ajax/add_field_to_form.php:324
|
703 |
#: admin/partials/ajax/add_field_to_form.php:330
|
704 |
msgid "Date Format"
|
705 |
msgstr ""
|
706 |
|
707 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
708 |
#: admin/partials/ajax/add_field_to_form.php:336
|
709 |
msgid "Phone Format"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
713 |
#: admin/partials/ajax/add_field_to_form.php:337
|
714 |
msgid "International"
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
718 |
#: admin/partials/ajax/add_field_to_form.php:349
|
719 |
#, php-format
|
720 |
msgid ""
|
@@ -723,27 +723,27 @@ msgid ""
|
|
723 |
"import this field."
|
724 |
msgstr ""
|
725 |
|
726 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
727 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
728 |
#: admin/partials/ajax/add_field_to_form.php:368
|
729 |
#: admin/partials/ajax/add_interest_group_to_form.php:241
|
730 |
msgid "Close"
|
731 |
msgstr ""
|
732 |
|
733 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
734 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
735 |
#: admin/partials/ajax/add_field_to_form.php:369
|
736 |
#: admin/partials/ajax/add_interest_group_to_form.php:242
|
737 |
msgid "Remove Field"
|
738 |
msgstr ""
|
739 |
|
740 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
741 |
msgid ""
|
742 |
"This field no longer exists in this list. Delete this field from the form to "
|
743 |
"prevent issues on the front end."
|
744 |
msgstr ""
|
745 |
|
746 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
747 |
#: admin/partials/ajax/add_field_to_form.php:245
|
748 |
#: admin/partials/ajax/add_interest_group_to_form.php:169
|
749 |
msgid ""
|
@@ -751,142 +751,143 @@ msgid ""
|
|
751 |
"and provide some direction on how the field should be filled out or selected."
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
755 |
msgid ""
|
756 |
"No fields are assigned to this form. Select fields from the right hand "
|
757 |
"column to add to this form."
|
758 |
msgstr ""
|
759 |
|
760 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
761 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
762 |
msgid "Page Title"
|
763 |
msgstr ""
|
764 |
|
765 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
766 |
msgid ""
|
767 |
"Pre-populate the field with the current page or post title that the user is "
|
768 |
"on when opting in to your mailing list."
|
769 |
msgstr ""
|
770 |
|
771 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
772 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
773 |
msgid "Page ID"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
777 |
msgid ""
|
778 |
"Pre-populate the field with the current page or post ID that the user is on "
|
779 |
"when opting in to your mailing list."
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
783 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
784 |
msgid "Page URL"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
788 |
msgid ""
|
789 |
"Pre-populate the field with the current page URL that the user is on when "
|
790 |
"opting in to your mailing list."
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
794 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
795 |
msgid "Blog Name"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
799 |
msgid ""
|
800 |
"Pre-populate the field with the current blog name that the user is on when "
|
801 |
"opting in to your mailing list. This is especially helpful for multi-site "
|
802 |
"networks."
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
806 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
807 |
msgid "User Logged In"
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
811 |
msgid ""
|
812 |
"Detects if a user is logged in and pre-populates the field with an "
|
813 |
"appropriate value."
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
817 |
msgid "Pre Defined Tags"
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
821 |
msgid ""
|
822 |
"You can use any of the following tags to populate a MailChimp text field "
|
823 |
"with dynamic content. This can be used to determine which page the user "
|
824 |
"signed up on, if the user was logged in and more."
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
828 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
|
|
829 |
msgid "Already assigned to your form"
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
833 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2490
|
834 |
msgid "required field"
|
835 |
msgstr ""
|
836 |
|
837 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
838 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
|
|
839 |
msgid "Add to Form Builder"
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
843 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
844 |
msgid "Error creating a new form"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
848 |
msgid "Creating a new form"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
852 |
msgid "Forms"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
856 |
msgid "Greetings,"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
860 |
msgid ""
|
861 |
"A request has been made to update your MailChimp account profile information."
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
865 |
msgid " To do so please use the following link: "
|
866 |
msgstr ""
|
867 |
|
868 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
869 |
msgid "Update MailChimp Profile Info"
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
873 |
msgid "If you did not request this update, please disregard this email."
|
874 |
msgstr ""
|
875 |
|
876 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
877 |
#, php-format
|
878 |
msgid "This email was sent from: %s"
|
879 |
msgstr ""
|
880 |
|
881 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
882 |
msgid "Unsubscribe User"
|
883 |
msgstr ""
|
884 |
|
885 |
-
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:
|
886 |
msgid "Manage List Page"
|
887 |
msgstr ""
|
888 |
|
889 |
-
#: admin/partials/ajax/add_field_to_form.php:17 admin/partials/edit-form.php:
|
890 |
#: admin/partials/view-list.php:28 admin/partials/view-user.php:70
|
891 |
msgid "Get Merge Variables"
|
892 |
msgstr ""
|
@@ -915,7 +916,7 @@ msgid "Could not find interest group data. "
|
|
915 |
msgstr ""
|
916 |
|
917 |
#: admin/partials/ajax/add_interest_group_to_form.php:30
|
918 |
-
#: admin/partials/ajax/class.ajax.php:
|
919 |
#: admin/partials/view-list.php:40
|
920 |
msgid "Get Interest Groups"
|
921 |
msgstr ""
|
@@ -928,9 +929,9 @@ msgstr ""
|
|
928 |
msgid " Please refresh and try again."
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: admin/partials/ajax/class.ajax.php:
|
932 |
#: admin/partials/dashboard-widgets/class.list-activity-widget.php:73
|
933 |
-
#: admin/partials/edit-form.php:
|
934 |
#: admin/partials/menu/manage-lists.php:19
|
935 |
#: admin/partials/menu/options-sections/integration-settings.php:90
|
936 |
#: admin/partials/view-list.php:17 admin/partials/view-user.php:55
|
@@ -938,19 +939,19 @@ msgstr ""
|
|
938 |
msgid "Get Account Lists"
|
939 |
msgstr ""
|
940 |
|
941 |
-
#: admin/partials/ajax/class.ajax.php:
|
942 |
msgid "MailChimp Widget"
|
943 |
msgstr ""
|
944 |
|
945 |
-
#: admin/partials/ajax/class.ajax.php:
|
946 |
msgid "Could not update the field label: missing required field."
|
947 |
msgstr ""
|
948 |
|
949 |
-
#: admin/partials/ajax/class.ajax.php:
|
950 |
msgid "Updating merge field"
|
951 |
msgstr ""
|
952 |
|
953 |
-
#: admin/partials/ajax/class.ajax.php:
|
954 |
msgid "Could not update the field label: API request failed."
|
955 |
msgstr ""
|
956 |
|
@@ -1038,37 +1039,37 @@ msgstr ""
|
|
1038 |
msgid "avg. sub. rate"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
-
#: admin/partials/edit-form.php:
|
1042 |
msgid "Error Creating Form"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
-
#: admin/partials/edit-form.php:
|
1046 |
msgid ""
|
1047 |
"Please try again. If the error persists please get in contact with the YIKES "
|
1048 |
"Inc. support team."
|
1049 |
msgstr ""
|
1050 |
|
1051 |
-
#: admin/partials/edit-form.php:
|
1052 |
msgid "Oh No!"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: admin/partials/edit-form.php:
|
1056 |
msgid "Error"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#: admin/partials/edit-form.php:
|
1060 |
#, php-format
|
1061 |
msgid ""
|
1062 |
"Whoops! It looks like this form doesn't exist. If this error persists you "
|
1063 |
-
"may want to toggle on debugging on the
|
1064 |
msgstr ""
|
1065 |
|
1066 |
-
#: admin/partials/edit-form.php:
|
1067 |
msgid "debug settings page"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
-
#: admin/partials/edit-form.php:
|
1071 |
-
#: admin/partials/edit-form.php:
|
1072 |
#: admin/partials/front-end-widgets/front-end-widget-form.php:45
|
1073 |
#: admin/partials/front-end-widgets/front-end-widget-form.php:110
|
1074 |
#: includes/class-yikes-inc-easy-mailchimp-extender-forms-abstract.php:43
|
@@ -1077,7 +1078,7 @@ msgstr ""
|
|
1077 |
msgid "Submit"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
-
#: admin/partials/edit-form.php:
|
1081 |
#: includes/class-yikes-inc-easy-mailchimp-extender-forms-abstract.php:49
|
1082 |
#, php-format
|
1083 |
msgid ""
|
@@ -1085,43 +1086,47 @@ msgid ""
|
|
1085 |
"to signup."
|
1086 |
msgstr ""
|
1087 |
|
1088 |
-
#: admin/partials/edit-form.php:
|
1089 |
-
#: admin/partials/edit-form.php:
|
1090 |
#: includes/class-yikes-inc-easy-mailchimp-extender-forms-abstract.php:49
|
1091 |
#: includes/class-yikes-inc-easy-mailchimp-extender-forms-abstract.php:50
|
1092 |
msgid "at"
|
1093 |
msgstr ""
|
1094 |
|
1095 |
-
#: admin/partials/edit-form.php:
|
1096 |
#, php-format
|
1097 |
msgid "The signup period for this form ended on %s."
|
1098 |
msgstr ""
|
1099 |
|
1100 |
-
#: admin/partials/edit-form.php:
|
1101 |
#: includes/class-yikes-inc-easy-mailchimp-extender-forms-abstract.php:52
|
1102 |
msgid "You need to be logged in to sign up for this mailing list."
|
1103 |
msgstr ""
|
1104 |
|
|
|
|
|
|
|
|
|
1105 |
#. //www.yikesinc.com
|
1106 |
#.
|
1107 |
-
#: admin/partials/edit-form.php:
|
1108 |
#: admin/partials/menu/manage-forms.php:26
|
1109 |
-
#: admin/partials/menu/manage-lists.php:30 admin/partials/menu/options.php:
|
1110 |
#: admin/partials/menu/support.php:12 admin/partials/view-list.php:93
|
1111 |
#: admin/partials/view-user.php:111
|
1112 |
msgid "Freddie - MailChimp Mascot"
|
1113 |
msgstr ""
|
1114 |
|
1115 |
-
#: admin/partials/edit-form.php:
|
1116 |
-
|
1117 |
-
msgid "Edit"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
-
#: admin/partials/edit-form.php:
|
1121 |
msgid "Update this MailChimp form's fields, styles and settings below."
|
1122 |
msgstr ""
|
1123 |
|
1124 |
-
#: admin/partials/edit-form.php:
|
1125 |
msgid "Opt-in form successfully updated."
|
1126 |
msgstr ""
|
1127 |
|
@@ -1150,7 +1155,7 @@ msgstr ""
|
|
1150 |
msgid "Form Builder"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
-
#: admin/partials/edit-form.php:185 admin/partials/edit-form.php:
|
1154 |
msgid "Form Settings"
|
1155 |
msgstr ""
|
1156 |
|
@@ -1158,42 +1163,50 @@ msgstr ""
|
|
1158 |
msgid "Customize Form Messages"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
-
#: admin/partials/edit-form.php:188 admin/partials/edit-form.php:
|
1162 |
msgid "Custom Messages"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
-
#: admin/partials/edit-form.php:
|
1166 |
msgid ""
|
1167 |
"Click a field to show its advanced options or drag fields to re-arrange "
|
1168 |
"them. Click <span class=\"dashicons dashicons-edit\"></span> to edit a field "
|
1169 |
"label. Make sure you hit \"Update Form\" to save all of your changes."
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: admin/partials/edit-form.php:
|
1173 |
msgid "Clear Form Fields"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: admin/partials/edit-form.php:
|
1177 |
msgid "Update Form"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
-
#: admin/partials/edit-form.php:
|
1181 |
-
msgid "Form Fields
|
|
|
|
|
|
|
|
|
1182 |
msgstr ""
|
1183 |
|
1184 |
-
#: admin/partials/edit-form.php:
|
1185 |
msgid "Form Fields"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
-
#: admin/partials/edit-form.php:
|
1189 |
msgid "Interest Groups"
|
1190 |
msgstr ""
|
1191 |
|
1192 |
-
#: admin/partials/edit-form.php:
|
1193 |
msgid "No Interest Groups Exist"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: admin/partials/edit-form.php:
|
|
|
|
|
|
|
|
|
1197 |
msgid "Select the fields below to add to the form builder."
|
1198 |
msgstr ""
|
1199 |
|
@@ -1201,232 +1214,238 @@ msgstr ""
|
|
1201 |
msgid "Select an interest group below to add to the form builder."
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: admin/partials/edit-form.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
1205 |
msgid "Additional Form Settings"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
-
#: admin/partials/edit-form.php:
|
1209 |
msgid "Adjust some additional form settings below."
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: admin/partials/edit-form.php:
|
1213 |
msgid "Overall Form Classes"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: admin/partials/edit-form.php:
|
1217 |
msgid "Form Classes"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: admin/partials/edit-form.php:
|
1221 |
msgid "Add additional classes to this opt-in form."
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#: admin/partials/edit-form.php:
|
1225 |
#, php-format
|
1226 |
msgid "Add additional class names to the %s element."
|
1227 |
msgstr ""
|
1228 |
|
1229 |
-
#: admin/partials/edit-form.php:
|
1230 |
msgid "Form Layout"
|
1231 |
msgstr ""
|
1232 |
|
1233 |
-
#: admin/partials/edit-form.php:
|
1234 |
msgid "Inline Form"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#: admin/partials/edit-form.php:
|
1238 |
msgid "Enable"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
-
#: admin/partials/edit-form.php:
|
1242 |
msgid "Disable"
|
1243 |
msgstr ""
|
1244 |
|
1245 |
-
#: admin/partials/edit-form.php:
|
1246 |
msgid ""
|
1247 |
"Programatically setup this form so that all fields are on the same line."
|
1248 |
msgstr ""
|
1249 |
|
1250 |
-
#: admin/partials/edit-form.php:
|
1251 |
#, php-format
|
1252 |
msgid ""
|
1253 |
"If you are having issues with your theme not displaying the inline form "
|
1254 |
"properly, please see the following %s."
|
1255 |
msgstr ""
|
1256 |
|
1257 |
-
#: admin/partials/edit-form.php:
|
1258 |
msgid "knowledge base article"
|
1259 |
msgstr ""
|
1260 |
|
1261 |
-
#: admin/partials/edit-form.php:
|
1262 |
msgid "Submit Button"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
-
#: admin/partials/edit-form.php:
|
1266 |
msgid "Submit Button Type"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
-
#: admin/partials/edit-form.php:
|
1270 |
msgid "Text"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
-
#: admin/partials/edit-form.php:
|
1274 |
msgid "Image"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#: admin/partials/edit-form.php:
|
1278 |
msgid "Select the submit button type for this form."
|
1279 |
msgstr ""
|
1280 |
|
1281 |
-
#: admin/partials/edit-form.php:
|
1282 |
#: includes/third-party-integrations/visual-composer/visual-composer.php:87
|
1283 |
msgid "Submit Button Text"
|
1284 |
msgstr ""
|
1285 |
|
1286 |
-
#: admin/partials/edit-form.php:
|
1287 |
#, php-format
|
1288 |
msgid "Set the submit button text. Leaving this blank will default to %s."
|
1289 |
msgstr ""
|
1290 |
|
1291 |
-
#: admin/partials/edit-form.php:
|
1292 |
msgid ""
|
1293 |
"The submit button text set above, can be overwritten on a per-form basis "
|
1294 |
"using shortcodes."
|
1295 |
msgstr ""
|
1296 |
|
1297 |
-
#: admin/partials/edit-form.php:
|
1298 |
msgid "Submit Button URL"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
-
#: admin/partials/edit-form.php:
|
1302 |
msgid "http://"
|
1303 |
msgstr ""
|
1304 |
|
1305 |
-
#: admin/partials/edit-form.php:
|
1306 |
msgid ""
|
1307 |
"Enter the URL of an image you would like to use as the submit button for "
|
1308 |
"this form."
|
1309 |
msgstr ""
|
1310 |
|
1311 |
-
#: admin/partials/edit-form.php:
|
1312 |
msgid "Submit Button Classes"
|
1313 |
msgstr ""
|
1314 |
|
1315 |
-
#: admin/partials/edit-form.php:
|
1316 |
msgid "Add additional classes to this submit button."
|
1317 |
msgstr ""
|
1318 |
|
1319 |
-
#: admin/partials/edit-form.php:
|
1320 |
msgid "Add custom classes to the submit button."
|
1321 |
msgstr ""
|
1322 |
|
1323 |
-
#: admin/partials/edit-form.php:
|
1324 |
msgid "Form Restrictions"
|
1325 |
msgstr ""
|
1326 |
|
1327 |
-
#: admin/partials/edit-form.php:
|
1328 |
msgid "Schedule Form"
|
1329 |
msgstr ""
|
1330 |
|
1331 |
-
#: admin/partials/edit-form.php:
|
1332 |
msgid ""
|
1333 |
"Set a time period that this form should be active on your site. (mm/dd/yyyy)"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
-
#: admin/partials/edit-form.php:
|
1337 |
msgid ""
|
1338 |
"Once the end date & time have passed, users will no longer be able to signup "
|
1339 |
"for your mailing list."
|
1340 |
msgstr ""
|
1341 |
|
1342 |
-
#: admin/partials/edit-form.php:
|
1343 |
msgid "Start Date"
|
1344 |
msgstr ""
|
1345 |
|
1346 |
-
#: admin/partials/edit-form.php:
|
1347 |
msgid "Start Time"
|
1348 |
msgstr ""
|
1349 |
|
1350 |
-
#: admin/partials/edit-form.php:
|
1351 |
msgid "Set the dates that this form should display on your site."
|
1352 |
msgstr ""
|
1353 |
|
1354 |
-
#: admin/partials/edit-form.php:
|
1355 |
msgid "End Date"
|
1356 |
msgstr ""
|
1357 |
|
1358 |
-
#: admin/partials/edit-form.php:
|
1359 |
msgid "End Time"
|
1360 |
msgstr ""
|
1361 |
|
1362 |
-
#: admin/partials/edit-form.php:
|
1363 |
msgid "Set the dates that this form should no longer display on your site."
|
1364 |
msgstr ""
|
1365 |
|
1366 |
-
#: admin/partials/edit-form.php:
|
1367 |
msgid "Pending Message"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
-
#: admin/partials/edit-form.php:
|
1371 |
msgid "Set the message that should display prior to the form being active."
|
1372 |
msgstr ""
|
1373 |
|
1374 |
-
#: admin/partials/edit-form.php:
|
1375 |
msgid "Expired Message"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
-
#: admin/partials/edit-form.php:
|
1379 |
msgid ""
|
1380 |
"Set the message that should display once the end date has passed for this "
|
1381 |
"form."
|
1382 |
msgstr ""
|
1383 |
|
1384 |
-
#: admin/partials/edit-form.php:
|
1385 |
msgid "Require Login"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
-
#: admin/partials/edit-form.php:
|
1389 |
msgid ""
|
1390 |
"Require users to be logged in before they can view and submit this opt-in "
|
1391 |
"form."
|
1392 |
msgstr ""
|
1393 |
|
1394 |
-
#: admin/partials/edit-form.php:
|
1395 |
msgid "Required Login Message"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
-
#: admin/partials/edit-form.php:
|
1399 |
msgid ""
|
1400 |
"Set the message that non-logged in users should see when viewing this form."
|
1401 |
msgstr ""
|
1402 |
|
1403 |
-
#: admin/partials/edit-form.php:
|
1404 |
#, php-format
|
1405 |
msgid "To display a login form, use %s"
|
1406 |
msgstr ""
|
1407 |
|
1408 |
-
#: admin/partials/edit-form.php:
|
1409 |
msgid "Form Settings Explained"
|
1410 |
msgstr ""
|
1411 |
|
1412 |
-
#: admin/partials/edit-form.php:
|
1413 |
msgid "Classes"
|
1414 |
msgstr ""
|
1415 |
|
1416 |
-
#: admin/partials/edit-form.php:
|
1417 |
msgid ""
|
1418 |
"Add additional classes to this form, allowing you to target it more easily "
|
1419 |
"for customization via CSS."
|
1420 |
msgstr ""
|
1421 |
|
1422 |
-
#: admin/partials/edit-form.php:
|
1423 |
msgid ""
|
1424 |
"Toggle the layout of this form between single column and an inline layout. "
|
1425 |
"The inline layout places all of your form fields and the submit button on a "
|
1426 |
"single line."
|
1427 |
msgstr ""
|
1428 |
|
1429 |
-
#: admin/partials/edit-form.php:
|
1430 |
msgid ""
|
1431 |
"Adjust setting specific to the submit button. Change the submit button text, "
|
1432 |
"or set it to a specified image. Use the \"Submit Button Classes\" to assign "
|
@@ -1434,285 +1453,292 @@ msgid ""
|
|
1434 |
"theme."
|
1435 |
msgstr ""
|
1436 |
|
1437 |
-
#: admin/partials/edit-form.php:
|
1438 |
msgid ""
|
1439 |
"Adjust the restrictions for this form. Limit form visibility to a given time "
|
1440 |
"period, require users to be logged in to sign up or combine the two!"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
-
#: admin/partials/edit-form.php:
|
1444 |
msgid ""
|
1445 |
"Thank You for subscribing! Check your email for the confirmation message."
|
1446 |
msgstr ""
|
1447 |
|
1448 |
-
#: admin/partials/edit-form.php:
|
1449 |
#: admin/partials/upgrade-helpers/upgrade-migrate-options.php:22
|
1450 |
#: public/classes/process/class.process_form_submission_handler.php:263
|
1451 |
msgid "Thank you for subscribing!"
|
1452 |
msgstr ""
|
1453 |
|
1454 |
-
#: admin/partials/edit-form.php:
|
1455 |
#: admin/partials/upgrade-helpers/upgrade-migrate-options.php:23
|
1456 |
#: public/classes/process/class.process_form_submission_handler.php:265
|
1457 |
msgid ""
|
1458 |
"Thank you for already being a subscriber! Your profile info has been updated."
|
1459 |
msgstr ""
|
1460 |
|
1461 |
-
#: admin/partials/edit-form.php:
|
1462 |
#: admin/partials/upgrade-helpers/upgrade-migrate-options.php:20
|
1463 |
#: public/classes/process/class.process_form_submission_handler.php:253
|
1464 |
msgid "Whoops! It looks like something went wrong. Please try again."
|
1465 |
msgstr ""
|
1466 |
|
1467 |
-
#: admin/partials/edit-form.php:
|
1468 |
#: admin/partials/upgrade-helpers/upgrade-migrate-options.php:21
|
1469 |
#: public/classes/process/class.process_form_submission_handler.php:252
|
1470 |
msgid "The email you entered is already a subscriber to this list."
|
1471 |
msgstr ""
|
1472 |
|
1473 |
-
#: admin/partials/edit-form.php:
|
1474 |
msgid ""
|
1475 |
"You're already subscribed. To update your MailChimp profile, please "
|
1476 |
"[link]click to send yourself an update link[/link]."
|
1477 |
msgstr ""
|
1478 |
|
1479 |
-
#: admin/partials/edit-form.php:
|
1480 |
#: admin/partials/upgrade-helpers/upgrade-migrate-options.php:25
|
1481 |
#: public/partials/ajax/class.public_ajax.php:143
|
1482 |
msgid "MailChimp Profile Update"
|
1483 |
msgstr ""
|
1484 |
|
1485 |
-
#: admin/partials/edit-form.php:
|
1486 |
#: public/partials/ajax/class.public_ajax.php:155
|
1487 |
#, php-format
|
1488 |
msgid ""
|
1489 |
"%s Update email successfully sent. Please check your inbox for the message."
|
1490 |
msgstr ""
|
1491 |
|
1492 |
-
#: admin/partials/edit-form.php:
|
1493 |
#: public/partials/ajax/class.public_ajax.php:160
|
1494 |
#, php-format
|
1495 |
msgid "%s Email failed to send. Please contact the site administrator."
|
1496 |
msgstr ""
|
1497 |
|
1498 |
-
#: admin/partials/edit-form.php:
|
1499 |
msgid ""
|
1500 |
"Customize the response messages for this form. Leave the field blank to use "
|
1501 |
"the default message. The messages shown below depend on the Opt-in Settings "
|
1502 |
"chosen."
|
1503 |
msgstr ""
|
1504 |
|
1505 |
-
#: admin/partials/edit-form.php:
|
1506 |
msgid "Success: Double opt-in"
|
1507 |
msgstr ""
|
1508 |
|
1509 |
-
#: admin/partials/edit-form.php:
|
1510 |
msgid "Success: Single opt-in"
|
1511 |
msgstr ""
|
1512 |
|
1513 |
-
#: admin/partials/edit-form.php:
|
1514 |
msgid "Success: Re-subscriber"
|
1515 |
msgstr ""
|
1516 |
|
1517 |
-
#: admin/partials/edit-form.php:
|
1518 |
msgid "Success: Re-subscriber with link to email profile update message"
|
1519 |
msgstr ""
|
1520 |
|
1521 |
-
#: admin/partials/edit-form.php:
|
1522 |
msgid "Error: Re-subscribers not permitted"
|
1523 |
msgstr ""
|
1524 |
|
1525 |
-
#: admin/partials/edit-form.php:
|
1526 |
msgid "Success: Update email successfully sent"
|
1527 |
msgstr ""
|
1528 |
|
1529 |
-
#: admin/partials/edit-form.php:
|
1530 |
msgid "Error: Update email failed to send"
|
1531 |
msgstr ""
|
1532 |
|
1533 |
-
#: admin/partials/edit-form.php:
|
1534 |
msgid "Error: General"
|
1535 |
msgstr ""
|
1536 |
|
1537 |
-
#: admin/partials/edit-form.php:
|
1538 |
msgid ""
|
1539 |
"Customize the profile verification email sent to re-subscribers. Leave the "
|
1540 |
"text unedited to use the default message."
|
1541 |
msgstr ""
|
1542 |
|
1543 |
-
#: admin/partials/edit-form.php:
|
1544 |
msgid "Email Subject"
|
1545 |
msgstr ""
|
1546 |
|
1547 |
-
#: admin/partials/edit-form.php:
|
1548 |
msgid "Email Body"
|
1549 |
msgstr ""
|
1550 |
|
1551 |
-
#: admin/partials/edit-form.php:
|
1552 |
msgid "Custom Message Help"
|
1553 |
msgstr ""
|
1554 |
|
1555 |
-
#: admin/partials/edit-form.php:
|
1556 |
msgid "The message displayed after a double opt-in form has been submitted."
|
1557 |
msgstr ""
|
1558 |
|
1559 |
-
#: admin/partials/edit-form.php:
|
1560 |
msgid "Success Message: Single opt-in"
|
1561 |
msgstr ""
|
1562 |
|
1563 |
-
#: admin/partials/edit-form.php:
|
1564 |
msgid "The message displayed after a single opt-in form has been submitted."
|
1565 |
msgstr ""
|
1566 |
|
1567 |
-
#: admin/partials/edit-form.php:
|
1568 |
msgid ""
|
1569 |
"The message displayed after a subscriber submits a form for a list they are "
|
1570 |
"already subscribed to."
|
1571 |
msgstr ""
|
1572 |
|
1573 |
-
#: admin/partials/edit-form.php:
|
|
|
1574 |
msgid ""
|
1575 |
"The message displayed after a subscriber submits a form for a list they are "
|
1576 |
-
"already subscribed to. Wrap the text you want to be the link in
|
1577 |
-
"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
-
#: admin/partials/edit-form.php:
|
1581 |
msgid ""
|
1582 |
"The message displayed after an update profile email is successfully sent."
|
1583 |
msgstr ""
|
1584 |
|
1585 |
-
#: admin/partials/edit-form.php:
|
1586 |
msgid "The message displayed after an update profile email failed to send."
|
1587 |
msgstr ""
|
1588 |
|
1589 |
-
#: admin/partials/edit-form.php:
|
|
|
1590 |
msgid ""
|
1591 |
"The message displayed after a subscriber tries to join a list they are "
|
1592 |
-
"already subscribed to. You can display the user's email in the message
|
1593 |
-
"
|
1594 |
msgstr ""
|
1595 |
|
1596 |
-
#: admin/partials/edit-form.php:
|
1597 |
msgid "The message displayed if a form error has occurred."
|
1598 |
msgstr ""
|
1599 |
|
1600 |
-
#: admin/partials/edit-form.php:
|
1601 |
msgid "Email Message Help"
|
1602 |
msgstr ""
|
1603 |
|
1604 |
-
#: admin/partials/edit-form.php:
|
1605 |
msgid "The subject of the email sent to the user."
|
1606 |
msgstr ""
|
1607 |
|
1608 |
-
#: admin/partials/edit-form.php:
|
|
|
1609 |
msgid ""
|
1610 |
"The text in the profile update verification email sent to the subscriber. "
|
1611 |
-
"Wrap the text you want to be the link in
|
1612 |
-
"
|
1613 |
msgstr ""
|
1614 |
|
1615 |
-
#: admin/partials/edit-form.php:
|
1616 |
-
msgid "
|
1617 |
msgstr ""
|
1618 |
|
1619 |
-
#: admin/partials/edit-form.php:
|
1620 |
-
|
|
|
1621 |
msgstr ""
|
1622 |
|
1623 |
-
#: admin/partials/edit-form.php:
|
1624 |
#, php-format
|
1625 |
-
msgid "
|
1626 |
msgstr ""
|
1627 |
|
1628 |
-
#: admin/partials/edit-form.php:
|
1629 |
-
|
|
|
1630 |
msgstr ""
|
1631 |
|
1632 |
-
#: admin/partials/edit-form.php:
|
1633 |
-
|
|
|
1634 |
msgstr ""
|
1635 |
|
1636 |
-
#: admin/partials/edit-form.php:
|
1637 |
#, php-format
|
1638 |
-
msgid "
|
|
|
1639 |
msgstr ""
|
1640 |
|
1641 |
-
#: admin/partials/edit-form.php:
|
1642 |
msgid "Edit Another Form"
|
1643 |
msgstr ""
|
1644 |
|
1645 |
-
#: admin/partials/edit-form.php:
|
1646 |
msgid "Shortcode"
|
1647 |
msgstr ""
|
1648 |
|
1649 |
-
#: admin/partials/edit-form.php:
|
1650 |
msgid "Associated List Settings"
|
1651 |
msgstr ""
|
1652 |
|
1653 |
-
#: admin/partials/edit-form.php:
|
1654 |
msgid "No Lists Found"
|
1655 |
msgstr ""
|
1656 |
|
1657 |
-
#: admin/partials/edit-form.php:
|
1658 |
msgid ""
|
1659 |
"Users who sign up via this form will be added to the list selected above."
|
1660 |
msgstr ""
|
1661 |
|
1662 |
-
#: admin/partials/edit-form.php:
|
1663 |
msgid ""
|
1664 |
"It looks like you first need to create a list to assign this form to. Head "
|
1665 |
"over to"
|
1666 |
msgstr ""
|
1667 |
|
1668 |
-
#: admin/partials/edit-form.php:
|
1669 |
msgid "Create a new list"
|
1670 |
msgstr ""
|
1671 |
|
1672 |
-
#: admin/partials/edit-form.php:
|
1673 |
msgid "to create your first list"
|
1674 |
msgstr ""
|
1675 |
|
1676 |
-
#: admin/partials/edit-form.php:
|
1677 |
#: admin/partials/menu/options-sections/api-cache-settings.php:15
|
1678 |
msgid "No MailChimp data found in temporary cache storage."
|
1679 |
msgstr ""
|
1680 |
|
1681 |
-
#: admin/partials/edit-form.php:
|
1682 |
#: admin/partials/menu/options-sections/api-cache-settings.php:15
|
1683 |
#: admin/partials/menu/options-sections/api-cache-settings.php:17
|
1684 |
msgid "Clear MailChimp API Cache"
|
1685 |
msgstr ""
|
1686 |
|
1687 |
-
#: admin/partials/edit-form.php:
|
1688 |
msgid "Opt-in Settings"
|
1689 |
msgstr ""
|
1690 |
|
1691 |
-
#: admin/partials/edit-form.php:
|
1692 |
msgid "Single or Double Opt-in"
|
1693 |
msgstr ""
|
1694 |
|
1695 |
-
#: admin/partials/edit-form.php:
|
1696 |
msgid "Single"
|
1697 |
msgstr ""
|
1698 |
|
1699 |
-
#: admin/partials/edit-form.php:
|
1700 |
msgid "Double"
|
1701 |
msgstr ""
|
1702 |
|
1703 |
-
#: admin/partials/edit-form.php:
|
1704 |
msgid ""
|
1705 |
"Double opt-in requires users to confirm their email address before being "
|
1706 |
"added to a list (recommended)"
|
1707 |
msgstr ""
|
1708 |
|
1709 |
-
#: admin/partials/edit-form.php:
|
1710 |
msgid "Update Existing Subscriber"
|
1711 |
msgstr ""
|
1712 |
|
1713 |
-
#: admin/partials/edit-form.php:
|
1714 |
-
#: admin/partials/edit-form.php:
|
1715 |
-
#: admin/partials/edit-form.php:
|
1716 |
#: admin/partials/menu/options-sections/integration-settings.php:188
|
1717 |
#: includes/third-party-integrations/visual-composer/visual-composer.php:68
|
1718 |
#: includes/third-party-integrations/visual-composer/visual-composer.php:79
|
@@ -1720,102 +1746,102 @@ msgstr ""
|
|
1720 |
msgid "Yes"
|
1721 |
msgstr ""
|
1722 |
|
1723 |
-
#: admin/partials/edit-form.php:
|
1724 |
-
#: admin/partials/edit-form.php:
|
1725 |
-
#: admin/partials/edit-form.php:
|
1726 |
#: admin/partials/menu/options-sections/integration-settings.php:189
|
1727 |
#: public/classes/checkbox-integrations/class.contact_form_7-checkbox.php:51
|
1728 |
msgid "No"
|
1729 |
msgstr ""
|
1730 |
|
1731 |
-
#: admin/partials/edit-form.php:
|
1732 |
#, php-format
|
1733 |
msgid ""
|
1734 |
"Update an existing subscriber's profile information instead of displaying a "
|
1735 |
"%s message."
|
1736 |
msgstr ""
|
1737 |
|
1738 |
-
#: admin/partials/edit-form.php:
|
1739 |
msgid "\"user already subscribed\""
|
1740 |
msgstr ""
|
1741 |
|
1742 |
-
#: admin/partials/edit-form.php:
|
1743 |
msgid "Send Update Email"
|
1744 |
msgstr ""
|
1745 |
|
1746 |
-
#: admin/partials/edit-form.php:
|
1747 |
msgid ""
|
1748 |
"Send an email to the user granting their permission to update their profile "
|
1749 |
"information. Otherwise, an existing subscriber filling out this form, will "
|
1750 |
"have their profile information updated without any further interaction."
|
1751 |
msgstr ""
|
1752 |
|
1753 |
-
#: admin/partials/edit-form.php:
|
1754 |
msgid "Submission Settings"
|
1755 |
msgstr ""
|
1756 |
|
1757 |
-
#: admin/partials/edit-form.php:
|
1758 |
msgid "Enable AJAX Submission"
|
1759 |
msgstr ""
|
1760 |
|
1761 |
-
#: admin/partials/edit-form.php:
|
1762 |
msgid ""
|
1763 |
"AJAX form submissions transmit data without requiring the page to refresh."
|
1764 |
msgstr ""
|
1765 |
|
1766 |
-
#: admin/partials/edit-form.php:
|
1767 |
msgid "Redirect On Submission"
|
1768 |
msgstr ""
|
1769 |
|
1770 |
-
#: admin/partials/edit-form.php:
|
1771 |
msgid "When the user signs up would you like to redirect them to another page?"
|
1772 |
msgstr ""
|
1773 |
|
1774 |
-
#: admin/partials/edit-form.php:
|
1775 |
msgid "Open Redirect URL in a New Window"
|
1776 |
msgstr ""
|
1777 |
|
1778 |
-
#: admin/partials/edit-form.php:
|
1779 |
msgid "Should the redirect URL open in a new window/tab?"
|
1780 |
msgstr ""
|
1781 |
|
1782 |
-
#: admin/partials/edit-form.php:
|
1783 |
msgid "Hide Form After Sign Up"
|
1784 |
msgstr ""
|
1785 |
|
1786 |
-
#: admin/partials/edit-form.php:
|
1787 |
msgid "Should the form be hidden after the user successfully signs up?"
|
1788 |
msgstr ""
|
1789 |
|
1790 |
-
#: admin/partials/edit-form.php:
|
1791 |
msgid "Existing Interest Groups"
|
1792 |
msgstr ""
|
1793 |
|
1794 |
-
#: admin/partials/edit-form.php:
|
1795 |
msgid "Replace"
|
1796 |
msgstr ""
|
1797 |
|
1798 |
-
#: admin/partials/edit-form.php:
|
1799 |
msgid "Update"
|
1800 |
msgstr ""
|
1801 |
|
1802 |
-
#: admin/partials/edit-form.php:
|
1803 |
msgid ""
|
1804 |
"<strong>Replace</strong>: Replace all interest groups with the new ones "
|
1805 |
"submitted."
|
1806 |
msgstr ""
|
1807 |
|
1808 |
-
#: admin/partials/edit-form.php:
|
1809 |
msgid ""
|
1810 |
"<strong>Update</strong>: Update <em>only</em> the ones submitted. Leave "
|
1811 |
"existing interest groups as is."
|
1812 |
msgstr ""
|
1813 |
|
1814 |
-
#: admin/partials/edit-form.php:
|
1815 |
msgid "Are you sure you want to delete this form? This cannot be undone."
|
1816 |
msgstr ""
|
1817 |
|
1818 |
-
#: admin/partials/edit-form.php:
|
1819 |
msgid "Delete Form"
|
1820 |
msgstr ""
|
1821 |
|
@@ -2078,6 +2104,11 @@ msgstr ""
|
|
2078 |
msgid "Conversion Rate"
|
2079 |
msgstr ""
|
2080 |
|
|
|
|
|
|
|
|
|
|
|
2081 |
#: admin/partials/menu/manage-forms.php:145
|
2082 |
msgid "Duplicate"
|
2083 |
msgstr ""
|
@@ -2479,45 +2510,45 @@ msgstr ""
|
|
2479 |
msgid "Not Connected"
|
2480 |
msgstr ""
|
2481 |
|
2482 |
-
#: admin/partials/menu/options.php:
|
2483 |
msgid "Manage the overall settings for Easy forms for MailChimp."
|
2484 |
msgstr ""
|
2485 |
|
2486 |
-
#: admin/partials/menu/options.php:
|
2487 |
msgid "Settings successfully updated."
|
2488 |
msgstr ""
|
2489 |
|
2490 |
-
#: admin/partials/menu/options.php:
|
2491 |
msgid "MailChimp API Cache successfully cleared."
|
2492 |
msgstr ""
|
2493 |
|
2494 |
-
#: admin/partials/menu/options.php:
|
2495 |
msgid "Error log successfully cleared."
|
2496 |
msgstr ""
|
2497 |
|
2498 |
-
#: admin/partials/menu/options.php:
|
2499 |
msgid ""
|
2500 |
"Whoops! We've encountered an error while trying to clear the error log. "
|
2501 |
"Please refresh the page and try again. If the error persists please get in "
|
2502 |
"touch with the YIKES Inc. support team."
|
2503 |
msgstr ""
|
2504 |
|
2505 |
-
#: admin/partials/menu/options.php:
|
2506 |
msgid "Error log successfully created. You may now start logging errors."
|
2507 |
msgstr ""
|
2508 |
|
2509 |
-
#: admin/partials/menu/options.php:
|
2510 |
#, php-format
|
2511 |
msgid ""
|
2512 |
"Opt-in forms successfully imported. <a href=\"%s\" title=\"View Forms\">View "
|
2513 |
"Forms</a>"
|
2514 |
msgstr ""
|
2515 |
|
2516 |
-
#: admin/partials/menu/options.php:
|
2517 |
msgid "YIKES Easy Forms for MailChimp settings successfully imported."
|
2518 |
msgstr ""
|
2519 |
|
2520 |
-
#: admin/partials/menu/options.php:
|
2521 |
msgid "Invalid file. If this error persists, please contact support."
|
2522 |
msgstr ""
|
2523 |
|
@@ -2625,7 +2656,7 @@ msgid ""
|
|
2625 |
msgstr ""
|
2626 |
|
2627 |
#: admin/partials/view-list.php:99
|
2628 |
-
#: public/classes/process/class.process_form_submission_handler.php:
|
2629 |
msgid "New Subscriber"
|
2630 |
msgstr ""
|
2631 |
|
@@ -2661,7 +2692,7 @@ msgid "not set"
|
|
2661 |
msgstr ""
|
2662 |
|
2663 |
#: admin/partials/view-list.php:180
|
2664 |
-
msgid "View Info
|
2665 |
msgstr ""
|
2666 |
|
2667 |
#: admin/partials/view-list.php:187
|
@@ -2799,7 +2830,7 @@ msgstr ""
|
|
2799 |
msgid "Get Member Info"
|
2800 |
msgstr ""
|
2801 |
|
2802 |
-
#: admin/partials/view-user.php:113 admin/partials/view-user.php:
|
2803 |
msgid "Subscriber Details"
|
2804 |
msgstr ""
|
2805 |
|
@@ -2812,63 +2843,65 @@ msgstr ""
|
|
2812 |
msgid "Optin Forms"
|
2813 |
msgstr ""
|
2814 |
|
2815 |
-
#: admin/partials/view-user.php:
|
2816 |
#, php-format
|
2817 |
msgid "Member Rating: %s star"
|
2818 |
msgid_plural "Member Rating: %s stars"
|
2819 |
msgstr[0] ""
|
2820 |
msgstr[1] ""
|
2821 |
|
2822 |
-
#: admin/partials/view-user.php:
|
2823 |
-
|
|
|
2824 |
msgstr ""
|
2825 |
|
2826 |
-
#: admin/partials/view-user.php:
|
2827 |
-
|
|
|
2828 |
msgstr ""
|
2829 |
|
2830 |
-
#: admin/partials/view-user.php:
|
2831 |
msgid "Fields:"
|
2832 |
msgstr ""
|
2833 |
|
2834 |
-
#: admin/partials/view-user.php:
|
2835 |
msgid "No Subscriber Data Found"
|
2836 |
msgstr ""
|
2837 |
|
2838 |
-
#: admin/partials/view-user.php:
|
2839 |
msgid "Signup IP"
|
2840 |
msgstr ""
|
2841 |
|
2842 |
-
#: admin/partials/view-user.php:
|
2843 |
msgid "Additional Subscriptions:"
|
2844 |
msgstr ""
|
2845 |
|
2846 |
-
#: admin/partials/view-user.php:
|
2847 |
msgid "No Other Subscriptions Found."
|
2848 |
msgstr ""
|
2849 |
|
2850 |
-
#: admin/partials/view-user.php:
|
2851 |
#, php-format
|
2852 |
msgid ""
|
2853 |
"Deleting this subscriber will completely remove %s from the \"%s\" MailChimp "
|
2854 |
"list."
|
2855 |
msgstr ""
|
2856 |
|
2857 |
-
#: admin/partials/view-user.php:
|
2858 |
#, php-format
|
2859 |
msgid "Are you sure you want to delete \"%s\" from \"%s?\""
|
2860 |
msgstr ""
|
2861 |
|
2862 |
-
#: admin/partials/view-user.php:
|
2863 |
msgid "Delete Subscriber"
|
2864 |
msgstr ""
|
2865 |
|
2866 |
-
#: admin/partials/view-user.php:
|
2867 |
msgid "Additional Subscriptions"
|
2868 |
msgstr ""
|
2869 |
|
2870 |
-
#:
|
2871 |
-
msgid "
|
2872 |
msgstr ""
|
2873 |
|
2874 |
#: includes/add_ons/customizer.php:9
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
+
"Project-Id-Version: yikes-inc-easy-mailchimp-extender 6.5.0\n"
|
10 |
"Report-Msgid-Bugs-To: \n"
|
11 |
+
"POT-Creation-Date: 2019-02-05 14:10-0500\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:280
|
22 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:941
|
23 |
msgid "Settings"
|
24 |
msgstr ""
|
25 |
|
41 |
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:387
|
42 |
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:409
|
43 |
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:429
|
44 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2587
|
45 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2622
|
46 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2642
|
47 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2685
|
48 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2719
|
49 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2860
|
50 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2882
|
51 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2906
|
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:387
|
57 |
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:409
|
58 |
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:429
|
59 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2622
|
60 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2642
|
61 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2685
|
62 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2720
|
63 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2860
|
64 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2882
|
65 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2906
|
66 |
msgid "Failed nonce validation"
|
67 |
msgstr ""
|
68 |
|
151 |
msgid "Locating Interest Groups"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:783
|
155 |
msgid ""
|
156 |
"No fields assigned to this form. Select some fields to add to this form from "
|
157 |
"the right hand column."
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:784
|
161 |
msgid ""
|
162 |
"Are you sure you want to delete all of the fields assigned to this form?"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:785
|
166 |
msgid "Done"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:786
|
170 |
msgid "Today"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:789
|
174 |
msgid "Show a different month"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:802
|
178 |
msgid ""
|
179 |
"Error: The start date and time cannot occur after the end date and time. "
|
180 |
"Chosen date reverted to previous selection."
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:805
|
184 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1806
|
185 |
msgid "Click to edit the label"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:806
|
189 |
msgid "Click to cancel editing. Your changes will not be saved."
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:897
|
193 |
msgid "Easy Forms"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:913
|
197 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:914
|
198 |
msgid "Opt-in Forms"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:923
|
202 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:924
|
203 |
msgid "Mailing Lists"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:940
|
207 |
msgid "Settings."
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:950
|
211 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:951
|
212 |
#: admin/partials/menu/support.php:14
|
213 |
msgid "Support"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:960
|
217 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:961
|
218 |
#: admin/partials/menu/add-ons.php:12
|
219 |
msgid "Add-Ons"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:972
|
223 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:973
|
224 |
#: public/partials/shortcodes/process_form_shortcode.php:205
|
225 |
msgid "Edit Form"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:982
|
229 |
msgid "Us Easy Forms for MailChimp Upgrade Options Structure"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:992
|
233 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:993
|
234 |
+
#: admin/partials/edit-form.php:824 admin/partials/view-user.php:119
|
235 |
msgid "View List"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1002
|
239 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1003
|
240 |
msgid "View User"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1099
|
244 |
msgid "API Connection"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1108
|
248 |
#: admin/partials/menu/options-sections/general-settings.php:26
|
249 |
#: admin/partials/menu/options-sections/general-settings.php:28
|
250 |
msgid "MailChimp API Key"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1129
|
254 |
msgid "Select Checkboxes to Generate"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1151
|
258 |
msgid "Enter reCAPTCHA Site Key"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1158
|
262 |
msgid "Enter reCAPTCHA Secret Key"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1165
|
266 |
msgid "Enable ReCaptcha"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1185
|
270 |
#: admin/partials/menu/options-sections/debug-settings.php:16
|
271 |
msgid "Enable Debugging"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1211
|
275 |
msgid "Your API key appears to be invalid."
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1223
|
279 |
msgid "Connecting to MailChimp"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1223
|
283 |
msgid "Settings Page/General Settings"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1321
|
287 |
#, php-format
|
288 |
msgid ""
|
289 |
"The previously stored options for %s have been cleared from the database. "
|
293 |
"previously set-up."
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1327
|
297 |
#, php-format
|
298 |
msgid "It looks like you're upgrading from a previous version of %s."
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1327
|
302 |
#, php-format
|
303 |
msgid ""
|
304 |
"In the newest version of %s, the options data structure has changed. We've "
|
307 |
"assign them to the same mailing list."
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1328
|
311 |
msgid ""
|
312 |
"Before you continue, it's strongly recommended you the perform the migration "
|
313 |
"to ensure the plugin continues to function properly."
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1329
|
317 |
msgid "It's also strongly recommended that you take a backup of your database."
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1334
|
321 |
msgid "Perform Migration"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1338
|
325 |
msgid "Dismiss Notice"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1445
|
329 |
msgid "Additional Settings"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1448
|
333 |
#: admin/partials/menu/options-sections/general-settings.php:11
|
334 |
#: admin/partials/menu/options-sections/integration-settings.php:98
|
335 |
+
#: admin/partials/menu/options.php:36
|
336 |
msgid "General Settings"
|
337 |
msgstr ""
|
338 |
|
339 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1449
|
340 |
#: admin/partials/menu/options-sections/integration-settings.php:79
|
341 |
msgid "Integration Settings"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1450
|
345 |
#: public/partials/shortcodes/process_form_shortcode.php:62
|
346 |
#: public/partials/shortcodes/process_form_shortcode.php:65
|
347 |
msgid "ReCaptcha Settings"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1451
|
351 |
#: admin/partials/menu/options-sections/api-cache-settings.php:6
|
352 |
msgid "API Cache Settings"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1452
|
356 |
#: admin/partials/menu/options-sections/debug-settings.php:7
|
357 |
msgid "Debug Settings"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1453
|
361 |
msgid "Import/Export"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1460
|
365 |
msgid "Addon Settings"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1494
|
369 |
msgid "Create a New Signup Form"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1498
|
373 |
msgid ""
|
374 |
"Give your form a name, select a MailChimp list to assign users to, then "
|
375 |
"click 'Create'."
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1503
|
379 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1504
|
380 |
#: admin/partials/edit-form.php:157 admin/partials/menu/manage-forms.php:103
|
381 |
#: admin/partials/menu/manage-forms.php:118
|
382 |
msgid "Form Name"
|
383 |
msgstr ""
|
384 |
|
385 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1507
|
386 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1508
|
387 |
#: admin/partials/edit-form.php:163 admin/partials/menu/manage-forms.php:104
|
388 |
#: admin/partials/menu/manage-forms.php:119
|
389 |
msgid "Form Description"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1511
|
393 |
+
#: admin/partials/edit-form.php:806
|
394 |
msgid "Associated List"
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1523
|
398 |
msgid "Please enter a valid API key."
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1527
|
402 |
msgid "No lists were found on the account."
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1540
|
406 |
msgid "MailChimp list data has been succesfully refreshed."
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1550
|
410 |
#, php-format
|
411 |
msgid ""
|
412 |
"Head over to <a href=\"http://www.MailChimp.com\" title=\"%s\">MailChimp</a> "
|
413 |
"to create a new list."
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1550
|
417 |
msgid "Create a list"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1559
|
421 |
msgid "Create"
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1561
|
425 |
msgid "Please enter a valid MailChimp API key to get started."
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1563
|
429 |
msgid "general settings"
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1574
|
433 |
msgid "Refresh Lists"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1591
|
437 |
msgid "Select A Page or Post"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1641
|
441 |
msgid "Custom URL"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1646
|
445 |
msgid "Enter Custom URL"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1682
|
449 |
msgid "About YIKES, Inc."
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1682
|
453 |
msgid "Show Us Some Love"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1686
|
457 |
msgid "Leave a review"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1698
|
461 |
msgid "Tweet about it"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1705
|
465 |
#, php-format
|
466 |
msgid "This plugin made with %s by %s"
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1711
|
470 |
msgid ""
|
471 |
"is a web design and development company located in Philadelphia, "
|
472 |
"Pennsylvania, US. YIKES specializes in custom WordPress theme and plugin "
|
474 |
"applications and more."
|
475 |
msgstr ""
|
476 |
|
477 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1714
|
478 |
msgid "Show YIKES Some Love"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1714
|
482 |
msgid "About YIKES"
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1721
|
486 |
msgid "Easy Forms for MailChimp Add-Ons"
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1723
|
490 |
msgid "Check out available add-ons for some seriously enhanced features."
|
491 |
msgstr ""
|
492 |
|
493 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1724
|
494 |
msgid "View Add-Ons"
|
495 |
msgstr ""
|
496 |
|
497 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1750
|
498 |
msgid "We've encountered an error. No list ID was sent."
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1754
|
502 |
msgid ""
|
503 |
"We've encountered an error. Reload the page and try again. If the error "
|
504 |
"persists, please reach out to support."
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1802
|
508 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2151
|
509 |
msgid "Field no longer exists."
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1805
|
513 |
msgid "Click to save changes."
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1808
|
517 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2153
|
518 |
#: admin/partials/ajax/add_field_to_form.php:41
|
519 |
#: admin/partials/ajax/add_interest_group_to_form.php:65
|
520 |
msgid "type"
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1814
|
524 |
msgid ""
|
525 |
"This field no longer exists in this list. Delete this field from the form to "
|
526 |
"prevent issues on your website."
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1841
|
530 |
#: admin/partials/ajax/add_field_to_form.php:65
|
531 |
msgid "Merge Tag"
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1865
|
535 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1882
|
536 |
#: admin/partials/ajax/add_field_to_form.php:90
|
537 |
#: admin/partials/ajax/add_field_to_form.php:136
|
538 |
msgid "Placeholder"
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1870
|
542 |
#: admin/partials/ajax/add_field_to_form.php:95
|
543 |
msgid "Assign a placeholder value to this field."
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1887
|
547 |
#: admin/partials/ajax/add_field_to_form.php:141
|
548 |
msgid ""
|
549 |
"Use placeholders for this field (these will be automatically filled in with "
|
550 |
"field names)."
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1906
|
554 |
#: admin/partials/ajax/add_field_to_form.php:159
|
555 |
msgid "Default Value"
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1911
|
559 |
#: admin/partials/ajax/add_field_to_form.php:164
|
560 |
msgid ""
|
561 |
"Assign a default value to populate this field with on initial page load."
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1916
|
565 |
#: admin/partials/ajax/add_field_to_form.php:169
|
566 |
msgid "View Pre-Defined Tags"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1930
|
570 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1968
|
571 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2182
|
572 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2252
|
573 |
#: admin/partials/ajax/add_field_to_form.php:183
|
574 |
#: admin/partials/ajax/add_field_to_form.php:216
|
575 |
#: admin/partials/ajax/add_interest_group_to_form.php:89
|
578 |
msgid "Default Selection"
|
579 |
msgstr ""
|
580 |
|
581 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1956
|
582 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2240
|
583 |
#: admin/partials/ajax/add_field_to_form.php:204
|
584 |
#: admin/partials/ajax/add_interest_group_to_form.php:103
|
585 |
#: admin/partials/ajax/add_interest_group_to_form.php:129
|
586 |
msgid "Select the option that should be selected by default."
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1978
|
590 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2262
|
591 |
#: admin/partials/ajax/add_field_to_form.php:227
|
592 |
#: admin/partials/ajax/add_interest_group_to_form.php:152
|
593 |
msgid "Which option should be selected by default?"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:1996
|
597 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2276
|
598 |
#: admin/partials/ajax/add_field_to_form.php:240
|
599 |
#: admin/partials/ajax/add_interest_group_to_form.php:164
|
600 |
msgid "Description"
|
601 |
msgstr ""
|
602 |
|
603 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2001
|
604 |
msgid ""
|
605 |
"Enter the description for the form field. This will be displayed to the user "
|
606 |
"and will provide some direction on how the field should be filled out or "
|
607 |
"selected."
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2008
|
611 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2289
|
612 |
#: admin/partials/ajax/add_field_to_form.php:252
|
613 |
#: admin/partials/ajax/add_interest_group_to_form.php:177
|
614 |
msgid "Description Above Field"
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2013
|
618 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2294
|
619 |
#: admin/partials/ajax/add_field_to_form.php:257
|
620 |
#: admin/partials/ajax/add_interest_group_to_form.php:182
|
621 |
msgid ""
|
623 |
"if you'd like the description to appear above the field."
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2020
|
627 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2302
|
628 |
#: admin/partials/ajax/add_field_to_form.php:264
|
629 |
#: admin/partials/ajax/add_interest_group_to_form.php:190
|
630 |
msgid "Additional Classes"
|
631 |
msgstr ""
|
632 |
|
633 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2025
|
634 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2307
|
635 |
#: admin/partials/ajax/add_field_to_form.php:269
|
636 |
#: admin/partials/ajax/add_interest_group_to_form.php:195
|
637 |
#, php-format
|
638 |
msgid "Assign additional classes to this field. %s."
|
639 |
msgstr ""
|
640 |
|
641 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2025
|
642 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2307
|
643 |
#: admin/partials/ajax/add_field_to_form.php:269
|
644 |
#: admin/partials/ajax/add_interest_group_to_form.php:195
|
645 |
msgid "View bundled classes"
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2032
|
649 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2314
|
650 |
#: admin/partials/ajax/add_field_to_form.php:276
|
651 |
#: admin/partials/ajax/add_interest_group_to_form.php:202
|
652 |
msgid "Field Required?"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2037
|
656 |
#: admin/partials/ajax/add_field_to_form.php:280
|
657 |
msgid "Email is a required field."
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2038
|
661 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2320
|
662 |
#: admin/partials/ajax/add_field_to_form.php:281
|
663 |
#: admin/partials/ajax/add_interest_group_to_form.php:207
|
664 |
msgid "Require this field to be filled in before the form can be submitted."
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2045
|
668 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2327
|
669 |
#: admin/partials/ajax/add_field_to_form.php:288
|
670 |
#: admin/partials/ajax/add_interest_group_to_form.php:214
|
671 |
msgid "Hide Field"
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2050
|
675 |
#: admin/partials/ajax/add_field_to_form.php:292
|
676 |
msgid "Cannot toggle email field visibility."
|
677 |
msgstr ""
|
678 |
|
679 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2051
|
680 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2333
|
681 |
#: admin/partials/ajax/add_field_to_form.php:293
|
682 |
#: admin/partials/ajax/add_interest_group_to_form.php:219
|
683 |
msgid "Hide this field from being displayed on the front end."
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2058
|
687 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2340
|
688 |
#: admin/partials/ajax/add_field_to_form.php:300
|
689 |
#: admin/partials/ajax/add_interest_group_to_form.php:226
|
690 |
msgid "Hide Label"
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2064
|
694 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2346
|
695 |
#: admin/partials/ajax/add_field_to_form.php:305
|
696 |
#: admin/partials/ajax/add_interest_group_to_form.php:231
|
697 |
msgid "Toggle field label visibility."
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2083
|
701 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2089
|
702 |
#: admin/partials/ajax/add_field_to_form.php:324
|
703 |
#: admin/partials/ajax/add_field_to_form.php:330
|
704 |
msgid "Date Format"
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2095
|
708 |
#: admin/partials/ajax/add_field_to_form.php:336
|
709 |
msgid "Phone Format"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2096
|
713 |
#: admin/partials/ajax/add_field_to_form.php:337
|
714 |
msgid "International"
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2108
|
718 |
#: admin/partials/ajax/add_field_to_form.php:349
|
719 |
#, php-format
|
720 |
msgid ""
|
723 |
"import this field."
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2127
|
727 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2356
|
728 |
#: admin/partials/ajax/add_field_to_form.php:368
|
729 |
#: admin/partials/ajax/add_interest_group_to_form.php:241
|
730 |
msgid "Close"
|
731 |
msgstr ""
|
732 |
|
733 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2128
|
734 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2357
|
735 |
#: admin/partials/ajax/add_field_to_form.php:369
|
736 |
#: admin/partials/ajax/add_interest_group_to_form.php:242
|
737 |
msgid "Remove Field"
|
738 |
msgstr ""
|
739 |
|
740 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2160
|
741 |
msgid ""
|
742 |
"This field no longer exists in this list. Delete this field from the form to "
|
743 |
"prevent issues on the front end."
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2281
|
747 |
#: admin/partials/ajax/add_field_to_form.php:245
|
748 |
#: admin/partials/ajax/add_interest_group_to_form.php:169
|
749 |
msgid ""
|
751 |
"and provide some direction on how the field should be filled out or selected."
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2371
|
755 |
msgid ""
|
756 |
"No fields are assigned to this form. Select fields from the right hand "
|
757 |
"column to add to this form."
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2382
|
761 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2383
|
762 |
msgid "Page Title"
|
763 |
msgstr ""
|
764 |
|
765 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2382
|
766 |
msgid ""
|
767 |
"Pre-populate the field with the current page or post title that the user is "
|
768 |
"on when opting in to your mailing list."
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2387
|
772 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2388
|
773 |
msgid "Page ID"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2387
|
777 |
msgid ""
|
778 |
"Pre-populate the field with the current page or post ID that the user is on "
|
779 |
"when opting in to your mailing list."
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2392
|
783 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2393
|
784 |
msgid "Page URL"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2392
|
788 |
msgid ""
|
789 |
"Pre-populate the field with the current page URL that the user is on when "
|
790 |
"opting in to your mailing list."
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2397
|
794 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2398
|
795 |
msgid "Blog Name"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2397
|
799 |
msgid ""
|
800 |
"Pre-populate the field with the current blog name that the user is on when "
|
801 |
"opting in to your mailing list. This is especially helpful for multi-site "
|
802 |
"networks."
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2402
|
806 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2403
|
807 |
msgid "User Logged In"
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2402
|
811 |
msgid ""
|
812 |
"Detects if a user is logged in and pre-populates the field with an "
|
813 |
"appropriate value."
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2430
|
817 |
msgid "Pre Defined Tags"
|
818 |
msgstr ""
|
819 |
|
820 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2431
|
821 |
msgid ""
|
822 |
"You can use any of the following tags to populate a MailChimp text field "
|
823 |
"with dynamic content. This can be used to determine which page the user "
|
824 |
"signed up on, if the user was logged in and more."
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2475
|
828 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2528
|
829 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2561
|
830 |
msgid "Already assigned to your form"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2481
|
|
|
834 |
msgid "required field"
|
835 |
msgstr ""
|
836 |
|
837 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2491
|
838 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2540
|
839 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2572
|
840 |
msgid "Add to Form Builder"
|
841 |
msgstr ""
|
842 |
|
843 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2601
|
844 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2602
|
845 |
msgid "Error creating a new form"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2601
|
849 |
msgid "Creating a new form"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2601
|
853 |
msgid "Forms"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2831
|
857 |
msgid "Greetings,"
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2834
|
861 |
msgid ""
|
862 |
"A request has been made to update your MailChimp account profile information."
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2835
|
866 |
msgid " To do so please use the following link: "
|
867 |
msgstr ""
|
868 |
|
869 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2837
|
870 |
msgid "Update MailChimp Profile Info"
|
871 |
msgstr ""
|
872 |
|
873 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2841
|
874 |
msgid "If you did not request this update, please disregard this email."
|
875 |
msgstr ""
|
876 |
|
877 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2844
|
878 |
#, php-format
|
879 |
msgid "This email was sent from: %s"
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2868
|
883 |
msgid "Unsubscribe User"
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: admin/class-yikes-inc-easy-mailchimp-extender-admin.php:2869
|
887 |
msgid "Manage List Page"
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: admin/partials/ajax/add_field_to_form.php:17 admin/partials/edit-form.php:88
|
891 |
#: admin/partials/view-list.php:28 admin/partials/view-user.php:70
|
892 |
msgid "Get Merge Variables"
|
893 |
msgstr ""
|
916 |
msgstr ""
|
917 |
|
918 |
#: admin/partials/ajax/add_interest_group_to_form.php:30
|
919 |
+
#: admin/partials/ajax/class.ajax.php:89 admin/partials/edit-form.php:100
|
920 |
#: admin/partials/view-list.php:40
|
921 |
msgid "Get Interest Groups"
|
922 |
msgstr ""
|
929 |
msgid " Please refresh and try again."
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: admin/partials/ajax/class.ajax.php:60
|
933 |
#: admin/partials/dashboard-widgets/class.list-activity-widget.php:73
|
934 |
+
#: admin/partials/edit-form.php:76 admin/partials/menu/manage-forms.php:15
|
935 |
#: admin/partials/menu/manage-lists.php:19
|
936 |
#: admin/partials/menu/options-sections/integration-settings.php:90
|
937 |
#: admin/partials/view-list.php:17 admin/partials/view-user.php:55
|
939 |
msgid "Get Account Lists"
|
940 |
msgstr ""
|
941 |
|
942 |
+
#: admin/partials/ajax/class.ajax.php:61
|
943 |
msgid "MailChimp Widget"
|
944 |
msgstr ""
|
945 |
|
946 |
+
#: admin/partials/ajax/class.ajax.php:201
|
947 |
msgid "Could not update the field label: missing required field."
|
948 |
msgstr ""
|
949 |
|
950 |
+
#: admin/partials/ajax/class.ajax.php:215
|
951 |
msgid "Updating merge field"
|
952 |
msgstr ""
|
953 |
|
954 |
+
#: admin/partials/ajax/class.ajax.php:219
|
955 |
msgid "Could not update the field label: API request failed."
|
956 |
msgstr ""
|
957 |
|
1039 |
msgid "avg. sub. rate"
|
1040 |
msgstr ""
|
1041 |
|
1042 |
+
#: admin/partials/edit-form.php:8 admin/partials/edit-form.php:10
|
1043 |
msgid "Error Creating Form"
|
1044 |
msgstr ""
|
1045 |
|
1046 |
+
#: admin/partials/edit-form.php:10
|
1047 |
msgid ""
|
1048 |
"Please try again. If the error persists please get in contact with the YIKES "
|
1049 |
"Inc. support team."
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: admin/partials/edit-form.php:16
|
1053 |
msgid "Oh No!"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: admin/partials/edit-form.php:16 admin/partials/edit-form.php:33
|
1057 |
msgid "Error"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: admin/partials/edit-form.php:30
|
1061 |
#, php-format
|
1062 |
msgid ""
|
1063 |
"Whoops! It looks like this form doesn't exist. If this error persists you "
|
1064 |
+
"may want to toggle on debugging on the $1%1s"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: admin/partials/edit-form.php:31
|
1068 |
msgid "debug settings page"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
+
#: admin/partials/edit-form.php:54 admin/partials/edit-form.php:375
|
1072 |
+
#: admin/partials/edit-form.php:376
|
1073 |
#: admin/partials/front-end-widgets/front-end-widget-form.php:45
|
1074 |
#: admin/partials/front-end-widgets/front-end-widget-form.php:110
|
1075 |
#: includes/class-yikes-inc-easy-mailchimp-extender-forms-abstract.php:43
|
1078 |
msgid "Submit"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
+
#: admin/partials/edit-form.php:61
|
1082 |
#: includes/class-yikes-inc-easy-mailchimp-extender-forms-abstract.php:49
|
1083 |
#, php-format
|
1084 |
msgid ""
|
1086 |
"to signup."
|
1087 |
msgstr ""
|
1088 |
|
1089 |
+
#: admin/partials/edit-form.php:61 admin/partials/edit-form.php:63
|
1090 |
+
#: admin/partials/edit-form.php:417 admin/partials/edit-form.php:433
|
1091 |
#: includes/class-yikes-inc-easy-mailchimp-extender-forms-abstract.php:49
|
1092 |
#: includes/class-yikes-inc-easy-mailchimp-extender-forms-abstract.php:50
|
1093 |
msgid "at"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: admin/partials/edit-form.php:63
|
1097 |
#, php-format
|
1098 |
msgid "The signup period for this form ended on %s."
|
1099 |
msgstr ""
|
1100 |
|
1101 |
+
#: admin/partials/edit-form.php:65
|
1102 |
#: includes/class-yikes-inc-easy-mailchimp-extender-forms-abstract.php:52
|
1103 |
msgid "You need to be logged in to sign up for this mailing list."
|
1104 |
msgstr ""
|
1105 |
|
1106 |
+
#: admin/partials/edit-form.php:112
|
1107 |
+
msgid "Get Tags"
|
1108 |
+
msgstr ""
|
1109 |
+
|
1110 |
#. //www.yikesinc.com
|
1111 |
#.
|
1112 |
+
#: admin/partials/edit-form.php:127 admin/partials/menu/add-ons.php:10
|
1113 |
#: admin/partials/menu/manage-forms.php:26
|
1114 |
+
#: admin/partials/menu/manage-lists.php:30 admin/partials/menu/options.php:34
|
1115 |
#: admin/partials/menu/support.php:12 admin/partials/view-list.php:93
|
1116 |
#: admin/partials/view-user.php:111
|
1117 |
msgid "Freddie - MailChimp Mascot"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: admin/partials/edit-form.php:130
|
1121 |
+
#, php-format
|
1122 |
+
msgid "Edit %1s"
|
1123 |
msgstr ""
|
1124 |
|
1125 |
+
#: admin/partials/edit-form.php:133
|
1126 |
msgid "Update this MailChimp form's fields, styles and settings below."
|
1127 |
msgstr ""
|
1128 |
|
1129 |
+
#: admin/partials/edit-form.php:139
|
1130 |
msgid "Opt-in form successfully updated."
|
1131 |
msgstr ""
|
1132 |
|
1155 |
msgid "Form Builder"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
+
#: admin/partials/edit-form.php:185 admin/partials/edit-form.php:779
|
1159 |
msgid "Form Settings"
|
1160 |
msgstr ""
|
1161 |
|
1163 |
msgid "Customize Form Messages"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
+
#: admin/partials/edit-form.php:188 admin/partials/edit-form.php:549
|
1167 |
msgid "Custom Messages"
|
1168 |
msgstr ""
|
1169 |
|
1170 |
+
#: admin/partials/edit-form.php:213
|
1171 |
msgid ""
|
1172 |
"Click a field to show its advanced options or drag fields to re-arrange "
|
1173 |
"them. Click <span class=\"dashicons dashicons-edit\"></span> to edit a field "
|
1174 |
"label. Make sure you hit \"Update Form\" to save all of your changes."
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: admin/partials/edit-form.php:220
|
1178 |
msgid "Clear Form Fields"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: admin/partials/edit-form.php:227 admin/partials/edit-form.php:991
|
1182 |
msgid "Update Form"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
+
#: admin/partials/edit-form.php:240
|
1186 |
+
msgid "Form Fields, Interest Groups, & Tags"
|
1187 |
+
msgstr ""
|
1188 |
+
|
1189 |
+
#: admin/partials/edit-form.php:244
|
1190 |
+
msgid "Merge Variables"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
+
#: admin/partials/edit-form.php:245 admin/partials/view-list.php:293
|
1194 |
msgid "Form Fields"
|
1195 |
msgstr ""
|
1196 |
|
1197 |
+
#: admin/partials/edit-form.php:248 admin/partials/edit-form.php:250
|
1198 |
msgid "Interest Groups"
|
1199 |
msgstr ""
|
1200 |
|
1201 |
+
#: admin/partials/edit-form.php:250
|
1202 |
msgid "No Interest Groups Exist"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
+
#: admin/partials/edit-form.php:252 admin/partials/edit-form.php:706
|
1206 |
+
msgid "Tags"
|
1207 |
+
msgstr ""
|
1208 |
+
|
1209 |
+
#: admin/partials/edit-form.php:260
|
1210 |
msgid "Select the fields below to add to the form builder."
|
1211 |
msgstr ""
|
1212 |
|
1214 |
msgid "Select an interest group below to add to the form builder."
|
1215 |
msgstr ""
|
1216 |
|
1217 |
+
#: admin/partials/edit-form.php:282
|
1218 |
+
msgid ""
|
1219 |
+
"Select a tag to add to the form builder. Selected tags will be added to all "
|
1220 |
+
"subscribers of this form."
|
1221 |
+
msgstr ""
|
1222 |
+
|
1223 |
+
#: admin/partials/edit-form.php:318
|
1224 |
msgid "Additional Form Settings"
|
1225 |
msgstr ""
|
1226 |
|
1227 |
+
#: admin/partials/edit-form.php:322
|
1228 |
msgid "Adjust some additional form settings below."
|
1229 |
msgstr ""
|
1230 |
|
1231 |
+
#: admin/partials/edit-form.php:325
|
1232 |
msgid "Overall Form Classes"
|
1233 |
msgstr ""
|
1234 |
|
1235 |
+
#: admin/partials/edit-form.php:329
|
1236 |
msgid "Form Classes"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
+
#: admin/partials/edit-form.php:330
|
1240 |
msgid "Add additional classes to this opt-in form."
|
1241 |
msgstr ""
|
1242 |
|
1243 |
+
#: admin/partials/edit-form.php:331
|
1244 |
#, php-format
|
1245 |
msgid "Add additional class names to the %s element."
|
1246 |
msgstr ""
|
1247 |
|
1248 |
+
#: admin/partials/edit-form.php:338 admin/partials/edit-form.php:519
|
1249 |
msgid "Form Layout"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: admin/partials/edit-form.php:343
|
1253 |
msgid "Inline Form"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
+
#: admin/partials/edit-form.php:345
|
1257 |
msgid "Enable"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
+
#: admin/partials/edit-form.php:348
|
1261 |
msgid "Disable"
|
1262 |
msgstr ""
|
1263 |
|
1264 |
+
#: admin/partials/edit-form.php:350
|
1265 |
msgid ""
|
1266 |
"Programatically setup this form so that all fields are on the same line."
|
1267 |
msgstr ""
|
1268 |
|
1269 |
+
#: admin/partials/edit-form.php:351
|
1270 |
#, php-format
|
1271 |
msgid ""
|
1272 |
"If you are having issues with your theme not displaying the inline form "
|
1273 |
"properly, please see the following %s."
|
1274 |
msgstr ""
|
1275 |
|
1276 |
+
#: admin/partials/edit-form.php:351
|
1277 |
msgid "knowledge base article"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
+
#: admin/partials/edit-form.php:357 admin/partials/edit-form.php:520
|
1281 |
msgid "Submit Button"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
+
#: admin/partials/edit-form.php:361
|
1285 |
msgid "Submit Button Type"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
+
#: admin/partials/edit-form.php:363
|
1289 |
msgid "Text"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
+
#: admin/partials/edit-form.php:366
|
1293 |
msgid "Image"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: admin/partials/edit-form.php:368
|
1297 |
msgid "Select the submit button type for this form."
|
1298 |
msgstr ""
|
1299 |
|
1300 |
+
#: admin/partials/edit-form.php:374
|
1301 |
#: includes/third-party-integrations/visual-composer/visual-composer.php:87
|
1302 |
msgid "Submit Button Text"
|
1303 |
msgstr ""
|
1304 |
|
1305 |
+
#: admin/partials/edit-form.php:376
|
1306 |
#, php-format
|
1307 |
msgid "Set the submit button text. Leaving this blank will default to %s."
|
1308 |
msgstr ""
|
1309 |
|
1310 |
+
#: admin/partials/edit-form.php:378
|
1311 |
msgid ""
|
1312 |
"The submit button text set above, can be overwritten on a per-form basis "
|
1313 |
"using shortcodes."
|
1314 |
msgstr ""
|
1315 |
|
1316 |
+
#: admin/partials/edit-form.php:385
|
1317 |
msgid "Submit Button URL"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
+
#: admin/partials/edit-form.php:386
|
1321 |
msgid "http://"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
+
#: admin/partials/edit-form.php:387
|
1325 |
msgid ""
|
1326 |
"Enter the URL of an image you would like to use as the submit button for "
|
1327 |
"this form."
|
1328 |
msgstr ""
|
1329 |
|
1330 |
+
#: admin/partials/edit-form.php:394
|
1331 |
msgid "Submit Button Classes"
|
1332 |
msgstr ""
|
1333 |
|
1334 |
+
#: admin/partials/edit-form.php:395
|
1335 |
msgid "Add additional classes to this submit button."
|
1336 |
msgstr ""
|
1337 |
|
1338 |
+
#: admin/partials/edit-form.php:396
|
1339 |
msgid "Add custom classes to the submit button."
|
1340 |
msgstr ""
|
1341 |
|
1342 |
+
#: admin/partials/edit-form.php:404 admin/partials/edit-form.php:521
|
1343 |
msgid "Form Restrictions"
|
1344 |
msgstr ""
|
1345 |
|
1346 |
+
#: admin/partials/edit-form.php:408
|
1347 |
msgid "Schedule Form"
|
1348 |
msgstr ""
|
1349 |
|
1350 |
+
#: admin/partials/edit-form.php:410
|
1351 |
msgid ""
|
1352 |
"Set a time period that this form should be active on your site. (mm/dd/yyyy)"
|
1353 |
msgstr ""
|
1354 |
|
1355 |
+
#: admin/partials/edit-form.php:411
|
1356 |
msgid ""
|
1357 |
"Once the end date & time have passed, users will no longer be able to signup "
|
1358 |
"for your mailing list."
|
1359 |
msgstr ""
|
1360 |
|
1361 |
+
#: admin/partials/edit-form.php:415
|
1362 |
msgid "Start Date"
|
1363 |
msgstr ""
|
1364 |
|
1365 |
+
#: admin/partials/edit-form.php:421
|
1366 |
msgid "Start Time"
|
1367 |
msgstr ""
|
1368 |
|
1369 |
+
#: admin/partials/edit-form.php:424
|
1370 |
msgid "Set the dates that this form should display on your site."
|
1371 |
msgstr ""
|
1372 |
|
1373 |
+
#: admin/partials/edit-form.php:431
|
1374 |
msgid "End Date"
|
1375 |
msgstr ""
|
1376 |
|
1377 |
+
#: admin/partials/edit-form.php:437
|
1378 |
msgid "End Time"
|
1379 |
msgstr ""
|
1380 |
|
1381 |
+
#: admin/partials/edit-form.php:440
|
1382 |
msgid "Set the dates that this form should no longer display on your site."
|
1383 |
msgstr ""
|
1384 |
|
1385 |
+
#: admin/partials/edit-form.php:443
|
1386 |
msgid "Pending Message"
|
1387 |
msgstr ""
|
1388 |
|
1389 |
+
#: admin/partials/edit-form.php:455
|
1390 |
msgid "Set the message that should display prior to the form being active."
|
1391 |
msgstr ""
|
1392 |
|
1393 |
+
#: admin/partials/edit-form.php:458
|
1394 |
msgid "Expired Message"
|
1395 |
msgstr ""
|
1396 |
|
1397 |
+
#: admin/partials/edit-form.php:470
|
1398 |
msgid ""
|
1399 |
"Set the message that should display once the end date has passed for this "
|
1400 |
"form."
|
1401 |
msgstr ""
|
1402 |
|
1403 |
+
#: admin/partials/edit-form.php:476
|
1404 |
msgid "Require Login"
|
1405 |
msgstr ""
|
1406 |
|
1407 |
+
#: admin/partials/edit-form.php:478
|
1408 |
msgid ""
|
1409 |
"Require users to be logged in before they can view and submit this opt-in "
|
1410 |
"form."
|
1411 |
msgstr ""
|
1412 |
|
1413 |
+
#: admin/partials/edit-form.php:482
|
1414 |
msgid "Required Login Message"
|
1415 |
msgstr ""
|
1416 |
|
1417 |
+
#: admin/partials/edit-form.php:494
|
1418 |
msgid ""
|
1419 |
"Set the message that non-logged in users should see when viewing this form."
|
1420 |
msgstr ""
|
1421 |
|
1422 |
+
#: admin/partials/edit-form.php:495
|
1423 |
#, php-format
|
1424 |
msgid "To display a login form, use %s"
|
1425 |
msgstr ""
|
1426 |
|
1427 |
+
#: admin/partials/edit-form.php:514
|
1428 |
msgid "Form Settings Explained"
|
1429 |
msgstr ""
|
1430 |
|
1431 |
+
#: admin/partials/edit-form.php:518
|
1432 |
msgid "Classes"
|
1433 |
msgstr ""
|
1434 |
|
1435 |
+
#: admin/partials/edit-form.php:518
|
1436 |
msgid ""
|
1437 |
"Add additional classes to this form, allowing you to target it more easily "
|
1438 |
"for customization via CSS."
|
1439 |
msgstr ""
|
1440 |
|
1441 |
+
#: admin/partials/edit-form.php:519
|
1442 |
msgid ""
|
1443 |
"Toggle the layout of this form between single column and an inline layout. "
|
1444 |
"The inline layout places all of your form fields and the submit button on a "
|
1445 |
"single line."
|
1446 |
msgstr ""
|
1447 |
|
1448 |
+
#: admin/partials/edit-form.php:520
|
1449 |
msgid ""
|
1450 |
"Adjust setting specific to the submit button. Change the submit button text, "
|
1451 |
"or set it to a specified image. Use the \"Submit Button Classes\" to assign "
|
1453 |
"theme."
|
1454 |
msgstr ""
|
1455 |
|
1456 |
+
#: admin/partials/edit-form.php:521
|
1457 |
msgid ""
|
1458 |
"Adjust the restrictions for this form. Limit form visibility to a given time "
|
1459 |
"period, require users to be logged in to sign up or combine the two!"
|
1460 |
msgstr ""
|
1461 |
|
1462 |
+
#: admin/partials/edit-form.php:555
|
1463 |
msgid ""
|
1464 |
"Thank You for subscribing! Check your email for the confirmation message."
|
1465 |
msgstr ""
|
1466 |
|
1467 |
+
#: admin/partials/edit-form.php:556
|
1468 |
#: admin/partials/upgrade-helpers/upgrade-migrate-options.php:22
|
1469 |
#: public/classes/process/class.process_form_submission_handler.php:263
|
1470 |
msgid "Thank you for subscribing!"
|
1471 |
msgstr ""
|
1472 |
|
1473 |
+
#: admin/partials/edit-form.php:557
|
1474 |
#: admin/partials/upgrade-helpers/upgrade-migrate-options.php:23
|
1475 |
#: public/classes/process/class.process_form_submission_handler.php:265
|
1476 |
msgid ""
|
1477 |
"Thank you for already being a subscriber! Your profile info has been updated."
|
1478 |
msgstr ""
|
1479 |
|
1480 |
+
#: admin/partials/edit-form.php:558
|
1481 |
#: admin/partials/upgrade-helpers/upgrade-migrate-options.php:20
|
1482 |
#: public/classes/process/class.process_form_submission_handler.php:253
|
1483 |
msgid "Whoops! It looks like something went wrong. Please try again."
|
1484 |
msgstr ""
|
1485 |
|
1486 |
+
#: admin/partials/edit-form.php:559
|
1487 |
#: admin/partials/upgrade-helpers/upgrade-migrate-options.php:21
|
1488 |
#: public/classes/process/class.process_form_submission_handler.php:252
|
1489 |
msgid "The email you entered is already a subscriber to this list."
|
1490 |
msgstr ""
|
1491 |
|
1492 |
+
#: admin/partials/edit-form.php:560
|
1493 |
msgid ""
|
1494 |
"You're already subscribed. To update your MailChimp profile, please "
|
1495 |
"[link]click to send yourself an update link[/link]."
|
1496 |
msgstr ""
|
1497 |
|
1498 |
+
#: admin/partials/edit-form.php:561
|
1499 |
#: admin/partials/upgrade-helpers/upgrade-migrate-options.php:25
|
1500 |
#: public/partials/ajax/class.public_ajax.php:143
|
1501 |
msgid "MailChimp Profile Update"
|
1502 |
msgstr ""
|
1503 |
|
1504 |
+
#: admin/partials/edit-form.php:562
|
1505 |
#: public/partials/ajax/class.public_ajax.php:155
|
1506 |
#, php-format
|
1507 |
msgid ""
|
1508 |
"%s Update email successfully sent. Please check your inbox for the message."
|
1509 |
msgstr ""
|
1510 |
|
1511 |
+
#: admin/partials/edit-form.php:563
|
1512 |
#: public/partials/ajax/class.public_ajax.php:160
|
1513 |
#, php-format
|
1514 |
msgid "%s Email failed to send. Please contact the site administrator."
|
1515 |
msgstr ""
|
1516 |
|
1517 |
+
#: admin/partials/edit-form.php:568
|
1518 |
msgid ""
|
1519 |
"Customize the response messages for this form. Leave the field blank to use "
|
1520 |
"the default message. The messages shown below depend on the Opt-in Settings "
|
1521 |
"chosen."
|
1522 |
msgstr ""
|
1523 |
|
1524 |
+
#: admin/partials/edit-form.php:571 admin/partials/edit-form.php:642
|
1525 |
msgid "Success: Double opt-in"
|
1526 |
msgstr ""
|
1527 |
|
1528 |
+
#: admin/partials/edit-form.php:575
|
1529 |
msgid "Success: Single opt-in"
|
1530 |
msgstr ""
|
1531 |
|
1532 |
+
#: admin/partials/edit-form.php:579 admin/partials/edit-form.php:654
|
1533 |
msgid "Success: Re-subscriber"
|
1534 |
msgstr ""
|
1535 |
|
1536 |
+
#: admin/partials/edit-form.php:584 admin/partials/edit-form.php:660
|
1537 |
msgid "Success: Re-subscriber with link to email profile update message"
|
1538 |
msgstr ""
|
1539 |
|
1540 |
+
#: admin/partials/edit-form.php:589 admin/partials/edit-form.php:679
|
1541 |
msgid "Error: Re-subscribers not permitted"
|
1542 |
msgstr ""
|
1543 |
|
1544 |
+
#: admin/partials/edit-form.php:594 admin/partials/edit-form.php:667
|
1545 |
msgid "Success: Update email successfully sent"
|
1546 |
msgstr ""
|
1547 |
|
1548 |
+
#: admin/partials/edit-form.php:599 admin/partials/edit-form.php:673
|
1549 |
msgid "Error: Update email failed to send"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
+
#: admin/partials/edit-form.php:604 admin/partials/edit-form.php:685
|
1553 |
msgid "Error: General"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
+
#: admin/partials/edit-form.php:612
|
1557 |
msgid ""
|
1558 |
"Customize the profile verification email sent to re-subscribers. Leave the "
|
1559 |
"text unedited to use the default message."
|
1560 |
msgstr ""
|
1561 |
|
1562 |
+
#: admin/partials/edit-form.php:614 admin/partials/edit-form.php:697
|
1563 |
msgid "Email Subject"
|
1564 |
msgstr ""
|
1565 |
|
1566 |
+
#: admin/partials/edit-form.php:618 admin/partials/edit-form.php:699
|
1567 |
msgid "Email Body"
|
1568 |
msgstr ""
|
1569 |
|
1570 |
+
#: admin/partials/edit-form.php:638
|
1571 |
msgid "Custom Message Help"
|
1572 |
msgstr ""
|
1573 |
|
1574 |
+
#: admin/partials/edit-form.php:644
|
1575 |
msgid "The message displayed after a double opt-in form has been submitted."
|
1576 |
msgstr ""
|
1577 |
|
1578 |
+
#: admin/partials/edit-form.php:648
|
1579 |
msgid "Success Message: Single opt-in"
|
1580 |
msgstr ""
|
1581 |
|
1582 |
+
#: admin/partials/edit-form.php:650
|
1583 |
msgid "The message displayed after a single opt-in form has been submitted."
|
1584 |
msgstr ""
|
1585 |
|
1586 |
+
#: admin/partials/edit-form.php:656
|
1587 |
msgid ""
|
1588 |
"The message displayed after a subscriber submits a form for a list they are "
|
1589 |
"already subscribed to."
|
1590 |
msgstr ""
|
1591 |
|
1592 |
+
#: admin/partials/edit-form.php:663
|
1593 |
+
#, php-format
|
1594 |
msgid ""
|
1595 |
"The message displayed after a subscriber submits a form for a list they are "
|
1596 |
+
"already subscribed to. Wrap the text you want to be the link in %1$1s[link][/"
|
1597 |
+
"link]%2$2s tags."
|
1598 |
msgstr ""
|
1599 |
|
1600 |
+
#: admin/partials/edit-form.php:669
|
1601 |
msgid ""
|
1602 |
"The message displayed after an update profile email is successfully sent."
|
1603 |
msgstr ""
|
1604 |
|
1605 |
+
#: admin/partials/edit-form.php:675
|
1606 |
msgid "The message displayed after an update profile email failed to send."
|
1607 |
msgstr ""
|
1608 |
|
1609 |
+
#: admin/partials/edit-form.php:682
|
1610 |
+
#, php-format
|
1611 |
msgid ""
|
1612 |
"The message displayed after a subscriber tries to join a list they are "
|
1613 |
+
"already subscribed to. You can display the user's email in the message using "
|
1614 |
+
"an %1$1s[email]%2$2s tag."
|
1615 |
msgstr ""
|
1616 |
|
1617 |
+
#: admin/partials/edit-form.php:685
|
1618 |
msgid "The message displayed if a form error has occurred."
|
1619 |
msgstr ""
|
1620 |
|
1621 |
+
#: admin/partials/edit-form.php:693
|
1622 |
msgid "Email Message Help"
|
1623 |
msgstr ""
|
1624 |
|
1625 |
+
#: admin/partials/edit-form.php:697
|
1626 |
msgid "The subject of the email sent to the user."
|
1627 |
msgstr ""
|
1628 |
|
1629 |
+
#: admin/partials/edit-form.php:702
|
1630 |
+
#, php-format
|
1631 |
msgid ""
|
1632 |
"The text in the profile update verification email sent to the subscriber. "
|
1633 |
+
"Wrap the text you want to be the link in %1$1s[link][/link]%2$2s tags. The "
|
1634 |
+
"link is required in the email, please don't leave these tags out."
|
1635 |
msgstr ""
|
1636 |
|
1637 |
+
#: admin/partials/edit-form.php:707
|
1638 |
+
msgid "You can also use these tags in your email:"
|
1639 |
msgstr ""
|
1640 |
|
1641 |
+
#: admin/partials/edit-form.php:712
|
1642 |
+
#, php-format
|
1643 |
+
msgid "%1$1s[url]%2$2s displays your website's URL (i.e. %3$3s)."
|
1644 |
msgstr ""
|
1645 |
|
1646 |
+
#: admin/partials/edit-form.php:718
|
1647 |
#, php-format
|
1648 |
+
msgid "%1$1s[email]%2$2s displays the subscriber's email address."
|
1649 |
msgstr ""
|
1650 |
|
1651 |
+
#: admin/partials/edit-form.php:724
|
1652 |
+
#, php-format
|
1653 |
+
msgid "%1$1s[subscriber_id]%2$2s displays the subscriber's unique email ID."
|
1654 |
msgstr ""
|
1655 |
|
1656 |
+
#: admin/partials/edit-form.php:730
|
1657 |
+
#, php-format
|
1658 |
+
msgid "%1$1s[form_name]%2$2s displays your form's name (i.e. %3$3s)."
|
1659 |
msgstr ""
|
1660 |
|
1661 |
+
#: admin/partials/edit-form.php:736
|
1662 |
#, php-format
|
1663 |
+
msgid ""
|
1664 |
+
"%1$1s[fname]/[lname]%2$2s displays your subscriber's first name/last name."
|
1665 |
msgstr ""
|
1666 |
|
1667 |
+
#: admin/partials/edit-form.php:783
|
1668 |
msgid "Edit Another Form"
|
1669 |
msgstr ""
|
1670 |
|
1671 |
+
#: admin/partials/edit-form.php:793 admin/partials/menu/manage-forms.php:147
|
1672 |
msgid "Shortcode"
|
1673 |
msgstr ""
|
1674 |
|
1675 |
+
#: admin/partials/edit-form.php:800
|
1676 |
msgid "Associated List Settings"
|
1677 |
msgstr ""
|
1678 |
|
1679 |
+
#: admin/partials/edit-form.php:817
|
1680 |
msgid "No Lists Found"
|
1681 |
msgstr ""
|
1682 |
|
1683 |
+
#: admin/partials/edit-form.php:827
|
1684 |
msgid ""
|
1685 |
"Users who sign up via this form will be added to the list selected above."
|
1686 |
msgstr ""
|
1687 |
|
1688 |
+
#: admin/partials/edit-form.php:831
|
1689 |
msgid ""
|
1690 |
"It looks like you first need to create a list to assign this form to. Head "
|
1691 |
"over to"
|
1692 |
msgstr ""
|
1693 |
|
1694 |
+
#: admin/partials/edit-form.php:831
|
1695 |
msgid "Create a new list"
|
1696 |
msgstr ""
|
1697 |
|
1698 |
+
#: admin/partials/edit-form.php:831
|
1699 |
msgid "to create your first list"
|
1700 |
msgstr ""
|
1701 |
|
1702 |
+
#: admin/partials/edit-form.php:837
|
1703 |
#: admin/partials/menu/options-sections/api-cache-settings.php:15
|
1704 |
msgid "No MailChimp data found in temporary cache storage."
|
1705 |
msgstr ""
|
1706 |
|
1707 |
+
#: admin/partials/edit-form.php:837 admin/partials/edit-form.php:839
|
1708 |
#: admin/partials/menu/options-sections/api-cache-settings.php:15
|
1709 |
#: admin/partials/menu/options-sections/api-cache-settings.php:17
|
1710 |
msgid "Clear MailChimp API Cache"
|
1711 |
msgstr ""
|
1712 |
|
1713 |
+
#: admin/partials/edit-form.php:846
|
1714 |
msgid "Opt-in Settings"
|
1715 |
msgstr ""
|
1716 |
|
1717 |
+
#: admin/partials/edit-form.php:856
|
1718 |
msgid "Single or Double Opt-in"
|
1719 |
msgstr ""
|
1720 |
|
1721 |
+
#: admin/partials/edit-form.php:858
|
1722 |
msgid "Single"
|
1723 |
msgstr ""
|
1724 |
|
1725 |
+
#: admin/partials/edit-form.php:859
|
1726 |
msgid "Double"
|
1727 |
msgstr ""
|
1728 |
|
1729 |
+
#: admin/partials/edit-form.php:861
|
1730 |
msgid ""
|
1731 |
"Double opt-in requires users to confirm their email address before being "
|
1732 |
"added to a list (recommended)"
|
1733 |
msgstr ""
|
1734 |
|
1735 |
+
#: admin/partials/edit-form.php:870
|
1736 |
msgid "Update Existing Subscriber"
|
1737 |
msgstr ""
|
1738 |
|
1739 |
+
#: admin/partials/edit-form.php:872 admin/partials/edit-form.php:888
|
1740 |
+
#: admin/partials/edit-form.php:908 admin/partials/edit-form.php:923
|
1741 |
+
#: admin/partials/edit-form.php:940 admin/partials/edit-form.php:957
|
1742 |
#: admin/partials/menu/options-sections/integration-settings.php:188
|
1743 |
#: includes/third-party-integrations/visual-composer/visual-composer.php:68
|
1744 |
#: includes/third-party-integrations/visual-composer/visual-composer.php:79
|
1746 |
msgid "Yes"
|
1747 |
msgstr ""
|
1748 |
|
1749 |
+
#: admin/partials/edit-form.php:873 admin/partials/edit-form.php:889
|
1750 |
+
#: admin/partials/edit-form.php:909 admin/partials/edit-form.php:924
|
1751 |
+
#: admin/partials/edit-form.php:944 admin/partials/edit-form.php:958
|
1752 |
#: admin/partials/menu/options-sections/integration-settings.php:189
|
1753 |
#: public/classes/checkbox-integrations/class.contact_form_7-checkbox.php:51
|
1754 |
msgid "No"
|
1755 |
msgstr ""
|
1756 |
|
1757 |
+
#: admin/partials/edit-form.php:875
|
1758 |
#, php-format
|
1759 |
msgid ""
|
1760 |
"Update an existing subscriber's profile information instead of displaying a "
|
1761 |
"%s message."
|
1762 |
msgstr ""
|
1763 |
|
1764 |
+
#: admin/partials/edit-form.php:875 admin/partials/edit-form.php:891
|
1765 |
msgid "\"user already subscribed\""
|
1766 |
msgstr ""
|
1767 |
|
1768 |
+
#: admin/partials/edit-form.php:886
|
1769 |
msgid "Send Update Email"
|
1770 |
msgstr ""
|
1771 |
|
1772 |
+
#: admin/partials/edit-form.php:891
|
1773 |
msgid ""
|
1774 |
"Send an email to the user granting their permission to update their profile "
|
1775 |
"information. Otherwise, an existing subscriber filling out this form, will "
|
1776 |
"have their profile information updated without any further interaction."
|
1777 |
msgstr ""
|
1778 |
|
1779 |
+
#: admin/partials/edit-form.php:897
|
1780 |
msgid "Submission Settings"
|
1781 |
msgstr ""
|
1782 |
|
1783 |
+
#: admin/partials/edit-form.php:906
|
1784 |
msgid "Enable AJAX Submission"
|
1785 |
msgstr ""
|
1786 |
|
1787 |
+
#: admin/partials/edit-form.php:911
|
1788 |
msgid ""
|
1789 |
"AJAX form submissions transmit data without requiring the page to refresh."
|
1790 |
msgstr ""
|
1791 |
|
1792 |
+
#: admin/partials/edit-form.php:921
|
1793 |
msgid "Redirect On Submission"
|
1794 |
msgstr ""
|
1795 |
|
1796 |
+
#: admin/partials/edit-form.php:927
|
1797 |
msgid "When the user signs up would you like to redirect them to another page?"
|
1798 |
msgstr ""
|
1799 |
|
1800 |
+
#: admin/partials/edit-form.php:938
|
1801 |
msgid "Open Redirect URL in a New Window"
|
1802 |
msgstr ""
|
1803 |
|
1804 |
+
#: admin/partials/edit-form.php:946
|
1805 |
msgid "Should the redirect URL open in a new window/tab?"
|
1806 |
msgstr ""
|
1807 |
|
1808 |
+
#: admin/partials/edit-form.php:955
|
1809 |
msgid "Hide Form After Sign Up"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
+
#: admin/partials/edit-form.php:960
|
1813 |
msgid "Should the form be hidden after the user successfully signs up?"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
+
#: admin/partials/edit-form.php:969
|
1817 |
msgid "Existing Interest Groups"
|
1818 |
msgstr ""
|
1819 |
|
1820 |
+
#: admin/partials/edit-form.php:971
|
1821 |
msgid "Replace"
|
1822 |
msgstr ""
|
1823 |
|
1824 |
+
#: admin/partials/edit-form.php:972
|
1825 |
msgid "Update"
|
1826 |
msgstr ""
|
1827 |
|
1828 |
+
#: admin/partials/edit-form.php:975
|
1829 |
msgid ""
|
1830 |
"<strong>Replace</strong>: Replace all interest groups with the new ones "
|
1831 |
"submitted."
|
1832 |
msgstr ""
|
1833 |
|
1834 |
+
#: admin/partials/edit-form.php:978
|
1835 |
msgid ""
|
1836 |
"<strong>Update</strong>: Update <em>only</em> the ones submitted. Leave "
|
1837 |
"existing interest groups as is."
|
1838 |
msgstr ""
|
1839 |
|
1840 |
+
#: admin/partials/edit-form.php:993
|
1841 |
msgid "Are you sure you want to delete this form? This cannot be undone."
|
1842 |
msgstr ""
|
1843 |
|
1844 |
+
#: admin/partials/edit-form.php:993
|
1845 |
msgid "Delete Form"
|
1846 |
msgstr ""
|
1847 |
|
2104 |
msgid "Conversion Rate"
|
2105 |
msgstr ""
|
2106 |
|
2107 |
+
#: admin/partials/menu/manage-forms.php:144
|
2108 |
+
#: public/partials/shortcodes/process_form_shortcode.php:205
|
2109 |
+
msgid "Edit"
|
2110 |
+
msgstr ""
|
2111 |
+
|
2112 |
#: admin/partials/menu/manage-forms.php:145
|
2113 |
msgid "Duplicate"
|
2114 |
msgstr ""
|
2510 |
msgid "Not Connected"
|
2511 |
msgstr ""
|
2512 |
|
2513 |
+
#: admin/partials/menu/options.php:39
|
2514 |
msgid "Manage the overall settings for Easy forms for MailChimp."
|
2515 |
msgstr ""
|
2516 |
|
2517 |
+
#: admin/partials/menu/options.php:45
|
2518 |
msgid "Settings successfully updated."
|
2519 |
msgstr ""
|
2520 |
|
2521 |
+
#: admin/partials/menu/options.php:53
|
2522 |
msgid "MailChimp API Cache successfully cleared."
|
2523 |
msgstr ""
|
2524 |
|
2525 |
+
#: admin/partials/menu/options.php:62
|
2526 |
msgid "Error log successfully cleared."
|
2527 |
msgstr ""
|
2528 |
|
2529 |
+
#: admin/partials/menu/options.php:70
|
2530 |
msgid ""
|
2531 |
"Whoops! We've encountered an error while trying to clear the error log. "
|
2532 |
"Please refresh the page and try again. If the error persists please get in "
|
2533 |
"touch with the YIKES Inc. support team."
|
2534 |
msgstr ""
|
2535 |
|
2536 |
+
#: admin/partials/menu/options.php:79
|
2537 |
msgid "Error log successfully created. You may now start logging errors."
|
2538 |
msgstr ""
|
2539 |
|
2540 |
+
#: admin/partials/menu/options.php:94
|
2541 |
#, php-format
|
2542 |
msgid ""
|
2543 |
"Opt-in forms successfully imported. <a href=\"%s\" title=\"View Forms\">View "
|
2544 |
"Forms</a>"
|
2545 |
msgstr ""
|
2546 |
|
2547 |
+
#: admin/partials/menu/options.php:100
|
2548 |
msgid "YIKES Easy Forms for MailChimp settings successfully imported."
|
2549 |
msgstr ""
|
2550 |
|
2551 |
+
#: admin/partials/menu/options.php:138
|
2552 |
msgid "Invalid file. If this error persists, please contact support."
|
2553 |
msgstr ""
|
2554 |
|
2656 |
msgstr ""
|
2657 |
|
2658 |
#: admin/partials/view-list.php:99
|
2659 |
+
#: public/classes/process/class.process_form_submission_handler.php:713
|
2660 |
msgid "New Subscriber"
|
2661 |
msgstr ""
|
2662 |
|
2692 |
msgstr ""
|
2693 |
|
2694 |
#: admin/partials/view-list.php:180
|
2695 |
+
msgid "View Info"
|
2696 |
msgstr ""
|
2697 |
|
2698 |
#: admin/partials/view-list.php:187
|
2830 |
msgid "Get Member Info"
|
2831 |
msgstr ""
|
2832 |
|
2833 |
+
#: admin/partials/view-user.php:113 admin/partials/view-user.php:281
|
2834 |
msgid "Subscriber Details"
|
2835 |
msgstr ""
|
2836 |
|
2843 |
msgid "Optin Forms"
|
2844 |
msgstr ""
|
2845 |
|
2846 |
+
#: admin/partials/view-user.php:138
|
2847 |
#, php-format
|
2848 |
msgid "Member Rating: %s star"
|
2849 |
msgid_plural "Member Rating: %s stars"
|
2850 |
msgstr[0] ""
|
2851 |
msgstr[1] ""
|
2852 |
|
2853 |
+
#: admin/partials/view-user.php:144
|
2854 |
+
#, php-format
|
2855 |
+
msgid "Subscribed: %1$1s"
|
2856 |
msgstr ""
|
2857 |
|
2858 |
+
#: admin/partials/view-user.php:151
|
2859 |
+
#, php-format
|
2860 |
+
msgid "Location: %1$1s, %2$2s"
|
2861 |
msgstr ""
|
2862 |
|
2863 |
+
#: admin/partials/view-user.php:163
|
2864 |
msgid "Fields:"
|
2865 |
msgstr ""
|
2866 |
|
2867 |
+
#: admin/partials/view-user.php:177
|
2868 |
msgid "No Subscriber Data Found"
|
2869 |
msgstr ""
|
2870 |
|
2871 |
+
#: admin/partials/view-user.php:184
|
2872 |
msgid "Signup IP"
|
2873 |
msgstr ""
|
2874 |
|
2875 |
+
#: admin/partials/view-user.php:205
|
2876 |
msgid "Additional Subscriptions:"
|
2877 |
msgstr ""
|
2878 |
|
2879 |
+
#: admin/partials/view-user.php:215
|
2880 |
msgid "No Other Subscriptions Found."
|
2881 |
msgstr ""
|
2882 |
|
2883 |
+
#: admin/partials/view-user.php:235
|
2884 |
#, php-format
|
2885 |
msgid ""
|
2886 |
"Deleting this subscriber will completely remove %s from the \"%s\" MailChimp "
|
2887 |
"list."
|
2888 |
msgstr ""
|
2889 |
|
2890 |
+
#: admin/partials/view-user.php:240
|
2891 |
#, php-format
|
2892 |
msgid "Are you sure you want to delete \"%s\" from \"%s?\""
|
2893 |
msgstr ""
|
2894 |
|
2895 |
+
#: admin/partials/view-user.php:242 admin/partials/view-user.php:303
|
2896 |
msgid "Delete Subscriber"
|
2897 |
msgstr ""
|
2898 |
|
2899 |
+
#: admin/partials/view-user.php:292
|
2900 |
msgid "Additional Subscriptions"
|
2901 |
msgstr ""
|
2902 |
|
2903 |
+
#: blocks/maybe-do-blocks.php:23
|
2904 |
+
msgid "Error initializing the Easy Forms' Gutenberg block functions."
|
2905 |
msgstr ""
|
2906 |
|
2907 |
#: includes/add_ons/customizer.php:9
|
public/classes/checkbox-integrations/class.woocommerce_checkout_form-checkbox.php
CHANGED
@@ -128,10 +128,10 @@ class Yikes_Easy_MC_WooCommerce_Checkbox_Class extends Yikes_Easy_MC_Checkbox_In
|
|
128 |
|
129 |
if ( '1' === $do_optin ) {
|
130 |
$order = new WC_Order( $order_id );
|
131 |
-
$email = $order->
|
132 |
$merge_vars = array(
|
133 |
-
'FNAME' => $order->
|
134 |
-
'LNAME' => $order->
|
135 |
);
|
136 |
|
137 |
// Subscribe the user.
|
128 |
|
129 |
if ( '1' === $do_optin ) {
|
130 |
$order = new WC_Order( $order_id );
|
131 |
+
$email = $order->get_billing_email();
|
132 |
$merge_vars = array(
|
133 |
+
'FNAME' => $order->get_billing_first_name(),
|
134 |
+
'LNAME' => $order->get_billing_last_name(),
|
135 |
);
|
136 |
|
137 |
// Subscribe the user.
|
public/classes/process/class.process_form_submission_handler.php
CHANGED
@@ -386,13 +386,13 @@ class Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler {
|
|
386 |
}
|
387 |
|
388 |
/**
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
$merge_variables = apply_filters( 'yikes-mailchimp-filter-before-submission', $merge_variables );
|
397 |
$merge_variables = apply_filters( "yikes-mailchimp-filter-before-submission-{$this->form_id}", $merge_variables );
|
398 |
|
@@ -517,6 +517,10 @@ class Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler {
|
|
517 |
// Loop through the interest groups and create a single array like {group_id} => false
|
518 |
foreach ( $interest_groupings as $group_data ) {
|
519 |
|
|
|
|
|
|
|
|
|
520 |
foreach ( $group_data['items'] as $item ) {
|
521 |
$groups[$item['id']] = false;
|
522 |
}
|
@@ -1416,4 +1420,21 @@ class Yikes_Inc_Easy_MailChimp_Extender_Process_Submission_Handler {
|
|
1416 |
return $redirect_array;
|
1417 |
}
|
1418 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1419 |
}
|
386 |
}
|
387 |
|
388 |
/**
|
389 |
+
* yikes-mailchimp-filter-before-submission || yikes-mailchimp-filter-before-submission-{$form_id}
|
390 |
+
*
|
391 |
+
* Catch the merge variables before they get sent over to MailChimp
|
392 |
+
* @since 6.0.0
|
393 |
+
*
|
394 |
+
* @param array | $merge_variables | The user submitted form data
|
395 |
+
*/
|
396 |
$merge_variables = apply_filters( 'yikes-mailchimp-filter-before-submission', $merge_variables );
|
397 |
$merge_variables = apply_filters( "yikes-mailchimp-filter-before-submission-{$this->form_id}", $merge_variables );
|
398 |
|
517 |
// Loop through the interest groups and create a single array like {group_id} => false
|
518 |
foreach ( $interest_groupings as $group_data ) {
|
519 |
|
520 |
+
if ( ! isset( $group_data['items'] ) || isset( $group_data['items'] ) && ( empty( $group_data['items'] ) || ! is_array( $group_data['items'] ) ) ) {
|
521 |
+
continue;
|
522 |
+
}
|
523 |
+
|
524 |
foreach ( $group_data['items'] as $item ) {
|
525 |
$groups[$item['id']] = false;
|
526 |
}
|
1420 |
return $redirect_array;
|
1421 |
}
|
1422 |
|
1423 |
+
public function maybe_add_tags( $form_data, $subscriber_data ) {
|
1424 |
+
|
1425 |
+
// Add the form's tags
|
1426 |
+
$form_tags = isset( $form_data['tags'] ) ? $form_data['tags'] : array();
|
1427 |
+
$form_tags = apply_filters( 'yikes_mailchimp_subscriber_tags', $form_tags, $form_data, $this->list_id, $subscriber_data );
|
1428 |
+
|
1429 |
+
if ( ! empty( $form_tags ) ) {
|
1430 |
+
$list_handler = yikes_get_mc_api_manager()->get_list_handler();
|
1431 |
+
foreach ( $form_tags as $tag ) {
|
1432 |
+
$add_tag = apply_filters( 'yikes_mailchimp_subscriber_tag_active', true, $tag, $this->list_id, $subscriber_data );
|
1433 |
+
|
1434 |
+
if ( $add_tag ) {
|
1435 |
+
$list_handler->create_member_tags( $this->list_id, $tag['id'], array( 'email_address' => $this->email ) );
|
1436 |
+
}
|
1437 |
+
}
|
1438 |
+
}
|
1439 |
+
}
|
1440 |
}
|
public/css/jquery-ui.min.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
/*! jQuery UI - v1.11.4 - 2017-05-15
|
2 |
-
* http://jqueryui.com
|
3 |
-
* Includes: core.css, datepicker.css, theme.css
|
4 |
-
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&fwDefault=normal&cornerRadius=3px&bgColorHeader=e9e9e9&bgTextureHeader=flat&borderColorHeader=dddddd&fcHeader=333333&iconColorHeader=444444&bgColorContent=ffffff&bgTextureContent=flat&borderColorContent=dddddd&fcContent=333333&iconColorContent=444444&bgColorDefault=f6f6f6&bgTextureDefault=flat&borderColorDefault=c5c5c5&fcDefault=454545&iconColorDefault=777777&bgColorHover=ededed&bgTextureHover=flat&borderColorHover=cccccc&fcHover=2b2b2b&iconColorHover=555555&bgColorActive=007fff&bgTextureActive=flat&borderColorActive=003eff&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=fffa90&bgTextureHighlight=flat&borderColorHighlight=dad55e&fcHighlight=777620&iconColorHighlight=777620&bgColorError=fddfdf&bgTextureError=flat&borderColorError=f1a899&fcError=5f3f3f&iconColorError=cc0000&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=666666&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=5px&offsetTopShadow=0px&offsetLeftShadow=0px&cornerRadiusShadow=8px
|
5 |
-
* Copyright jQuery Foundation and other contributors; Licensed MIT */
|
6 |
-
|
7 |
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#2b2b2b;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:0 0 0 0;padding:5px;background:#666;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
|
1 |
+
/*! jQuery UI - v1.11.4 - 2017-05-15
|
2 |
+
* http://jqueryui.com
|
3 |
+
* Includes: core.css, datepicker.css, theme.css
|
4 |
+
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&fwDefault=normal&cornerRadius=3px&bgColorHeader=e9e9e9&bgTextureHeader=flat&borderColorHeader=dddddd&fcHeader=333333&iconColorHeader=444444&bgColorContent=ffffff&bgTextureContent=flat&borderColorContent=dddddd&fcContent=333333&iconColorContent=444444&bgColorDefault=f6f6f6&bgTextureDefault=flat&borderColorDefault=c5c5c5&fcDefault=454545&iconColorDefault=777777&bgColorHover=ededed&bgTextureHover=flat&borderColorHover=cccccc&fcHover=2b2b2b&iconColorHover=555555&bgColorActive=007fff&bgTextureActive=flat&borderColorActive=003eff&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=fffa90&bgTextureHighlight=flat&borderColorHighlight=dad55e&fcHighlight=777620&iconColorHighlight=777620&bgColorError=fddfdf&bgTextureError=flat&borderColorError=f1a899&fcError=5f3f3f&iconColorError=cc0000&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=666666&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=5px&offsetTopShadow=0px&offsetLeftShadow=0px&cornerRadiusShadow=8px
|
5 |
+
* Copyright jQuery Foundation and other contributors; Licensed MIT */
|
6 |
+
|
7 |
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#2b2b2b;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:0 0 0 0;padding:5px;background:#666;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
|
public/css/yikes-inc-easy-mailchimp-extender-public.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.yikes-easy-mc-form{display:block;width:100%}.yikes-easy-mailchimp-edit-form-link{display:block;margin-bottom:1em}.yikes-easy-mc-form.yikes-mailchimp-form-inline{display:inline-block;width:100%}.yikes-easy-mc-form input[type=email],.yikes-easy-mc-form input[type=number],.yikes-easy-mc-form input[type=text],.yikes-easy-mc-form input[type=url],.yikes-easy-mc-form select{padding:.5278em;background-color:#f1f1f1;border:2px solid rgba(51,51,51,.1);display:block;-moz-box-sizing:border-box;margin-bottom:8px}.yikes-easy-mc-form input[type=email]:focus,.yikes-easy-mc-form input[type=number]:focus,.yikes-easy-mc-form input[type=text]:focus,.yikes-easy-mc-form input[type=url]:focus,.yikes-easy-mc-form select:focus{outline:2px solid rgba(51,51,51,.3);outline:2px solid rgba(51,51,51,.3)}.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-top{min-width:258px}.yikes-easy-mc-form .yikes-easy-mc-submit-button{display:block;width:100%;margin-top:.5em;min-height:40px;padding:10px;cursor:pointer}.yikes-easy-mc-form .yikes-easy-mc-submit-button.admin-logged-in{margin-bottom:1em}.yikes-easy-mc-form .empty-form-inline-label .empty-label.labels-hidden{display:none}.yikes-easy-mc-form .submit-button-inline-label{width:20%;min-width:90px;float:left}.yikes-easy-mc-form .submit-button-inline-label .yikes-easy-mc-submit-button{margin-top:0;margin-bottom:.5em}.yikes-easy-mc-form .form-field-description{display:block;margin-top:.25em;margin-bottom:.75em;font-style:italic;font-weight:400;font-size:80%}.yikes-easy-mc-error-message{color:rgba(216,48,57,.87);background:#ffbaba;padding:12px;position:relative}.yikes-easy-mc-success-message{color:#4f8a10;background:#dff2bf;padding:12px;position:relative}.yikes-easy-mc-form .field-no-label,.yikes-easy-mc-form label{display:inline-block;margin-bottom:.5em;width:100%}p.yikes-mailchimp-required-interest-group-error{color:rgba(216,48,57,.87);margin:8px 0}.yikes-easy-mc-form input[type=email],.yikes-easy-mc-form input[type=number],.yikes-easy-mc-form input[type=password],.yikes-easy-mc-form input[type=text],.yikes-easy-mc-form input[type=url],.yikes-easy-mc-form select,.yikes-easy-mc-form textarea{box-sizing:border-box;display:block;width:100%;max-width:100%}.yikes-easy-mc-form .yikes-easy-mc-submit-button-image{padding:0;width:16%;min-width:140px;max-width:200px}.yikes-easy-mc-form .submit-button-inline-label .yikes-easy-mc-submit-button-image{width:100%;max-width:100%}.checkbox-parent-label{width:100%;display:block}.yikes-easy-mc-form .yikes-easy-mc-checkbox-label{display:inline-block}.mailchimp-field-hidden,.yikes-easy-mc-display-none{display:none!important}.yikes-easy-mc-text-align-right{text-align:right}#yikes-mailchimp-container .yikes-form-title{margin-top:0}.yikes-mailchimp-disclaimer-text{display:block;margin-top:1em}.update-email-preloader,.yikes-mailchimp-preloader{position:absolute;top:40%;left:0;right:0;bottom:0;margin:0 auto}img.yikes-mailchimp-preloader{max-height:40px}img.loading-dots.yikes-mc-loading-dots{max-height:20px}.g-recaptcha{transform:scale(.81);-webkit-transform:scale(.81);transform-origin:0 0;-webkit-transform-origin:0 0;margin:7px 0 -3px 0}.yikes-mc-required-field-not-filled{background-color:#ffbaba!important}@media screen and (max-height:575px){-webkit-transform:scale(.81);transform-origin:0 0;-webkit-transform-origin:0 0}.yikes-easy-mc-form label.option-height-25{height:25px}.yikes-easy-mc-form label.option-height-50{height:50px}.yikes-easy-mc-form label.option-height-75{height:75px}.yikes-easy-mc-form label.option-height-100{height:100px}.yikes-easy-mc-form label.option-height-125{height:125px}.yikes-easy-mc-form label.option-height-150{height:150px}.yikes-easy-mc-form label.option-2-col>label{display:inline-block;float:left;width:50%}.yikes-easy-mc-form label.option-3-col>label{display:inline-block;float:left;width:33%}.yikes-easy-mc-form label.option-4-col>label{display:inline-block;float:left;width:25%}.yikes-easy-mc-form input.field-left-half,.yikes-easy-mc-form label.field-left-half{width:48%;float:left;margin-right:2%}.yikes-easy-mc-form input.field-right-half,.yikes-easy-mc-form label.field-right-half{width:48%;float:right;margin-left:2%}.yikes-easy-mc-form input.field-third,.yikes-easy-mc-form label.field-third{width:32%;float:left;margin-right:1.33333%}@media only screen and (max-width:525px){margin-right:0;margin-left:0;float:none}
|
1 |
+
.yikes-easy-mc-form{display:block;width:100%}.yikes-easy-mailchimp-edit-form-link{display:block;margin-bottom:1em}.yikes-easy-mc-form.yikes-mailchimp-form-inline{display:inline-block;width:100%}.yikes-easy-mc-form input[type=email],.yikes-easy-mc-form input[type=number],.yikes-easy-mc-form input[type=text],.yikes-easy-mc-form input[type=url],.yikes-easy-mc-form select{padding:.5278em;background-color:#f1f1f1;border:2px solid rgba(51,51,51,.1);display:block;-moz-box-sizing:border-box;margin-bottom:8px}.yikes-easy-mc-form input[type=email]:focus,.yikes-easy-mc-form input[type=number]:focus,.yikes-easy-mc-form input[type=text]:focus,.yikes-easy-mc-form input[type=url]:focus,.yikes-easy-mc-form select:focus{outline:2px solid rgba(51,51,51,.3);outline:2px solid rgba(51,51,51,.3)}.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-top{min-width:258px}.yikes-easy-mc-form .yikes-easy-mc-submit-button{display:block;width:100%;margin-top:.5em;min-height:40px;padding:10px;cursor:pointer}.yikes-easy-mc-form .yikes-easy-mc-submit-button.admin-logged-in{margin-bottom:1em}.yikes-easy-mc-form .empty-form-inline-label .empty-label.labels-hidden{display:none}.yikes-easy-mc-form .submit-button-inline-label{width:20%;min-width:90px;float:left}.yikes-easy-mc-form .submit-button-inline-label .yikes-easy-mc-submit-button{margin-top:0;margin-bottom:.5em}.yikes-easy-mc-form .form-field-description{display:block;margin-top:.25em;margin-bottom:.75em;font-style:italic;font-weight:400;font-size:80%}.yikes-easy-mc-error-message{color:rgba(216,48,57,.87);background:#ffbaba;padding:12px;position:relative}.yikes-easy-mc-success-message{color:#4f8a10;background:#dff2bf;padding:12px;position:relative}.yikes-easy-mc-form .field-no-label,.yikes-easy-mc-form label{display:inline-block;margin-bottom:.5em;width:100%}p.yikes-mailchimp-required-interest-group-error{color:rgba(216,48,57,.87);margin:8px 0}.yikes-easy-mc-form input[type=email],.yikes-easy-mc-form input[type=number],.yikes-easy-mc-form input[type=password],.yikes-easy-mc-form input[type=text],.yikes-easy-mc-form input[type=url],.yikes-easy-mc-form select,.yikes-easy-mc-form textarea{box-sizing:border-box;display:block;width:100%;max-width:100%}.yikes-easy-mc-form .yikes-easy-mc-submit-button-image{padding:0;width:16%;min-width:140px;max-width:200px}.yikes-easy-mc-form .submit-button-inline-label .yikes-easy-mc-submit-button-image{width:100%;max-width:100%}.checkbox-parent-label{width:100%;display:block}.yikes-easy-mc-form .yikes-easy-mc-checkbox-label{display:inline-block}.mailchimp-field-hidden,.yikes-easy-mc-display-none{display:none!important}.yikes-easy-mc-text-align-right{text-align:right}#yikes-mailchimp-container .yikes-form-title{margin-top:0}.yikes-mailchimp-disclaimer-text{display:block;margin-top:1em}.update-email-preloader,.yikes-mailchimp-preloader{position:absolute;top:40%;left:0;right:0;bottom:0;margin:0 auto}img.yikes-mailchimp-preloader{max-height:40px}img.loading-dots.yikes-mc-loading-dots{max-height:20px}.g-recaptcha{transform:scale(.81);-webkit-transform:scale(.81);transform-origin:0 0;-webkit-transform-origin:0 0;margin:7px 0 -3px 0}.yikes-mc-required-field-not-filled{background-color:#ffbaba!important}@media screen and (max-height:575px){#rc-imageselect,.g-recaptcha{transform:scale(.81);-webkit-transform:scale(.81);transform-origin:0 0;-webkit-transform-origin:0 0}}.yikes-easy-mc-form label.option-inline>label{display:inline-block;float:left;width:auto!important;margin-right:15px}.yikes-easy-mc-form label.option-height-25{height:25px}.yikes-easy-mc-form label.option-height-50{height:50px}.yikes-easy-mc-form label.option-height-75{height:75px}.yikes-easy-mc-form label.option-height-100{height:100px}.yikes-easy-mc-form label.option-height-125{height:125px}.yikes-easy-mc-form label.option-height-150{height:150px}.yikes-easy-mc-form label.option-2-col>label{display:inline-block;float:left;width:50%}.yikes-easy-mc-form label.option-3-col>label{display:inline-block;float:left;width:33%}.yikes-easy-mc-form label.option-4-col>label{display:inline-block;float:left;width:25%}.yikes-easy-mc-form input.field-left-half,.yikes-easy-mc-form label.field-left-half{width:48%;float:left;margin-right:2%}.yikes-easy-mc-form input.field-right-half,.yikes-easy-mc-form label.field-right-half{width:48%;float:right;margin-left:2%}.yikes-easy-mc-form input.field-third,.yikes-easy-mc-form label.field-third{width:32%;float:left;margin-right:1.33333%}@media only screen and (max-width:525px){.yikes-easy-mc-form input.field-left-half,.yikes-easy-mc-form input.field-right-half,.yikes-easy-mc-form label.field-left-half,.yikes-easy-mc-form label.field-right-half{width:100%}}@media only screen and (max-width:955px){.yikes-easy-mc-form input.field-third:nth-child(odd),.yikes-easy-mc-form label.field-third:nth-child(odd){width:48%;float:left;margin-right:2%}.yikes-easy-mc-form input.field-third:nth-child(even),.yikes-easy-mc-form label.field-third:nth-child(even){width:48%;float:right;margin-left:0}}@media only screen and (max-width:525px){.yikes-easy-mc-form input.field-third,.yikes-easy-mc-form label.field-third{width:100%!important;margin-right:0;margin-left:0;float:none}}@media only screen and (max-width:525px){.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-top{min-width:84%}}
|
public/js/form-submission-helpers.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function yikes_mc_redirect_after_submission(e,t,a){var i="1"===a?"_blank":"_self";setTimeout(function(){window.open(e,i)},t)}function yikes_mc_toggle_zip_field_visibility(e,t){void 0!==form_submission_helpers.countries_with_zip[t]?jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="zip-input"]')).fadeIn():jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="zip-input"]')).fadeOut()}function yikes_mc_toggle_state_field_visibility(e,t){!0===yikes_mc_does_country_have_states(e,t)?jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).fadeIn():jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).fadeOut()}function yikes_mc_toggle_state_fields_dropdown(e,t){jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).children("select").children("option").each(function(){jQuery(this).data("country")===t?jQuery(this).show():jQuery(this).hide()})}function yikes_mc_does_country_have_states(e,t){var a=!1;return jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).children("select").children("option").each(function(){if(jQuery(this).data("country")===t)return
|
1 |
+
function yikes_mc_redirect_after_submission(e,t,a){var i="1"===a?"_blank":"_self";setTimeout(function(){window.open(e,i)},t)}function yikes_mc_toggle_zip_field_visibility(e,t){void 0!==form_submission_helpers.countries_with_zip[t]?jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="zip-input"]')).fadeIn():jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="zip-input"]')).fadeOut()}function yikes_mc_toggle_state_field_visibility(e,t){!0===yikes_mc_does_country_have_states(e,t)?jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).fadeIn():jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).fadeOut()}function yikes_mc_toggle_state_fields_dropdown(e,t){jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).children("select").children("option").each(function(){jQuery(this).data("country")===t?jQuery(this).show():jQuery(this).hide()})}function yikes_mc_does_country_have_states(e,t){var a=!1;return jQuery(e).parents(".yikes-mailchimp-container").find(jQuery('label[data-attr-name="state-dropdown"]')).children("select").children("option").each(function(){if(jQuery(this).data("country")===t)return a=!0,!1}),a}function yikes_mc_format_url_field(){var e=jQuery(this).val();"number"==typeof e.length&&e.length>0&&-1===e.indexOf("http://")&&-1===e.indexOf("https://")&&jQuery(this).val("http://"+e)}function yikes_mc_format_us_phone_number_field(){var e=this.value.replace(/\(|\)/g,"").replace(/-/g,"").trim();formatted_us_number=e.substring(0,10),formatted_us_number=formatted_us_number.replace(/(\d\d\d)(\d\d\d)(\d\d\d\d)/,"$1-$2-$3"),jQuery(this).val(formatted_us_number)}function renderReCaptchaCallback(){var e=1;jQuery(".g-recaptcha").each(function(){jQuery(this).attr("id","recaptcha-"+e);var t={sitekey:jQuery(this).data("sitekey"),type:jQuery(this).data("type"),theme:jQuery(this).data("theme"),size:jQuery(this).data("size"),callback:jQuery(this).data("callback"),"expired-callback":jQuery(this).data("expired-callback")};grecaptcha.render("recaptcha-"+e,t),e++})}jQuery(document).ready(function(){jQuery('select[data-country="true"]').change(function(){var e=jQuery(this).val();yikes_mc_toggle_state_fields_dropdown(this,e),yikes_mc_toggle_zip_field_visibility(this,e),yikes_mc_toggle_state_field_visibility(this,e)}),jQuery('select[data-country="true"]').trigger("change"),jQuery("body").on("click",".send-update-email",function(){var e={action:"easy_forms_send_email",user_email:jQuery(this).attr("data-user-email"),list_id:jQuery(this).attr("data-list-id"),form_id:jQuery(this).attr("data-form-id"),page_id:form_submission_helpers.page_data};return jQuery(this).parent("p").fadeTo("fast",.75).append('<img src="'+form_submission_helpers.preloader_url+'" class="update-email-preloader" />'),jQuery.post(form_submission_helpers.ajax_url,e,function(e){e.success?(jQuery(".yikes-easy-mc-error-message").removeClass("yikes-easy-mc-error-message").addClass("yikes-easy-mc-success-message").html(e.data.response_text),1===e.data.redirection&&yikes_mc_redirect_after_submission(e.data.redirect,e.data.redirect_timer,e.data.new_window)):jQuery(".yikes-easy-mc-error-message").fadeTo("fast",1).html(e.data.response_text)}),!1}),jQuery(".yikes-easy-mc-url").blur(yikes_mc_format_url_field),jQuery('.yikes-easy-mc-phone[data-phone-type="us"]').blur(yikes_mc_format_us_phone_number_field)});
|
public/js/yikes-mc-ajax-forms.js
CHANGED
@@ -153,7 +153,9 @@ window.Yikes_Mailchimp_Ajax = window.Yikes_Mailchimp_Ajax || {};
|
|
153 |
}
|
154 |
|
155 |
/* clear the inputs - but don't clear submit button, radio, select, list_id, or form */
|
|
|
156 |
submitted_form.find( 'input' ).not( '.yikes-easy-mc-submit-button, input[type="radio"], input[type="select"], input[type="checkbox"], input[name="yikes-mailchimp-associated-list-id"], input[name="yikes-mailchimp-submitted-form"]' ).val( '' );
|
|
|
157 |
/* ajax to increase submission count by 1 */
|
158 |
var new_data = {
|
159 |
'action' : 'increase_submission_count',
|
153 |
}
|
154 |
|
155 |
/* clear the inputs - but don't clear submit button, radio, select, list_id, or form */
|
156 |
+
submitted_form.trigger( 'yikes_clear_input_fields_after_successful_submission' );
|
157 |
submitted_form.find( 'input' ).not( '.yikes-easy-mc-submit-button, input[type="radio"], input[type="select"], input[type="checkbox"], input[name="yikes-mailchimp-associated-list-id"], input[name="yikes-mailchimp-submitted-form"]' ).val( '' );
|
158 |
+
|
159 |
/* ajax to increase submission count by 1 */
|
160 |
var new_data = {
|
161 |
'action' : 'increase_submission_count',
|
public/js/yikes-mc-ajax-forms.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
window.Yikes_Mailchimp_Ajax=window.Yikes_Mailchimp_Ajax||{},function(e,i,
|
1 |
+
window.Yikes_Mailchimp_Ajax=window.Yikes_Mailchimp_Ajax||{},function(e,i,s,r,a){"use strict";r.l10n=e.yikes_mailchimp_ajax||{},s(i).ready(function(){s("body").on("submit",".yikes-easy-mc-form",function(){var e=s(this);e.addClass("yikes-mc-submitted-form-loading"),e.find("input, label, button").not(":hidden").fadeTo("fast",.5),"string"==typeof r.l10n.preloader_url&&r.l10n.preloader_url.length>1&&e.append('<img src="'+r.l10n.preloader_url+'" class="yikes-mailchimp-preloader" />'),s(".yikes-mc-required-field-not-filled").removeClass("yikes-mc-required-field-not-filled"),s(".yikes-mailchimp-submit-button-span-text").hide(),"string"==typeof r.l10n.loading_dots&&r.l10n.loading_dots.length>1&&e.find(".yikes-easy-mc-submit-button").append('<img src="'+r.l10n.loading_dots+'" class="loading-dots yikes-mc-loading-dots" />');var i=e.attr("data-attr-form-id"),a=[];if(e.find(".yikes-interest-group-required").length>0&&e.find(".yikes-interest-group-required").each(function(){var i=jQuery(this).attr("name").replace("[]","");0==e.find('input[name="'+i+'[]"]:checked').length&&(a[i]=e.find("span."+i+"-label").text())}),a.length>0){if(e.find(".yikes-mailchimp-required-interest-group-error").length>0)e.find(".yikes-mailchimp-required-interest-group-error").fadeOut("fast",function(){for(var i in e.find(".yikes-mailchimp-required-interest-group-error").remove(),a)e.find("span."+i+"-label").after('<p class="yikes-mailchimp-required-interest-group-error">'+r.l10n.interest_group_checkbox_error+"</p>")});else for(var n in a)e.find("span."+n+"-label").after('<p class="yikes-mailchimp-required-interest-group-error">'+r.l10n.interest_group_checkbox_error+"</p>");return e.find(".yikes-easy-mc-submit-button").removeAttr("disabled","disabled"),e.find("input, label, button").not(":hidden").fadeTo("fast",1),e.find(".yikes-mailchimp-preloader").remove(),s(".yikes-mc-loading-dots").remove(),s(".yikes-mailchimp-submit-button-span-text").show(),e.removeClass("yikes-mc-submitted-form-loading"),!1}e.find(".yikes-easy-mc-submit-button").attr("disabled","disabled"),s(".yikes-easy-mc-error-message").remove(),s(".yikes-easy-mc-success-message").remove();var t={action:"process_form_submission",form_data:e.serialize(),form_id:i,page_data:r.l10n.page_data,ajax_security_nonce:r.l10n.ajax_security_nonce};return s.ajax({url:r.l10n.ajax_url,type:"POST",data:t,success:function(a,n,t){if(e.find("input, label, button").not(":hidden").fadeTo("fast",1),e.find(".yikes-mailchimp-preloader").remove(),s(".yikes-mc-loading-dots").remove(),s(".yikes-mailchimp-submit-button-span-text").show(),e.removeClass("yikes-mc-submitted-form-loading"),a.success){a=a.data,"function"==typeof yikes_mailchimp_google_analytics_success&&yikes_mailchimp_google_analytics_success(a),1==a.hide&&(s(".yikes-easy-mc-form-description-"+i).length>0&&s(".yikes-easy-mc-form-description-"+i).hide(),e.hide()),s(".yikes-easy-mc-form-description-"+i).length>0?s(".yikes-easy-mc-form-description-"+i).before('<p class="yikes-easy-mc-success-message yikes-easy-mc-success-message-'+i+' yikes-easy-mc-hidden">'+a.response+"</p>"):e.before('<p class="yikes-easy-mc-success-message yikes-easy-mc-success-message-'+i+' yikes-easy-mc-hidden">'+a.response+"</p>"),s(".yikes-easy-mc-success-message-"+i).fadeIn(),s(".yikes-mailchimp-required-interest-group-error").remove(),1===a.redirection&&yikes_mc_redirect_after_submission(a.redirect,a.redirect_timer,a.new_window),e.trigger("yikes_clear_input_fields_after_successful_submission"),e.find("input").not('.yikes-easy-mc-submit-button, input[type="radio"], input[type="select"], input[type="checkbox"], input[name="yikes-mailchimp-associated-list-id"], input[name="yikes-mailchimp-submitted-form"]').val("");var o={action:"increase_submission_count",form_id:i};s.ajax({url:r.l10n.ajax_url,type:"POST",data:o,success:function(e,i,s){},error:function(e,i,s){console.error(s)}})}else{if(a=a.data,"function"==typeof yikes_mailchimp_google_analytics_failure&&yikes_mailchimp_google_analytics_failure(a),s(".yikes-easy-mc-form-description-"+i).length>0)s(".yikes-easy-mc-form-description-"+i).before('<p class="yikes-easy-mc-error-message yikes-easy-mc-error-message-'+i+'" yikes-easy-mc-hidden"> '+a.response+"</p>");else{var d=void 0!==a&&void 0!==a.response?a.response:"Error collecting the API response.";e.before('<p class="yikes-easy-mc-error-message yikes-easy-mc-error-message-'+i+' yikes-easy-mc-hidden">'+d+"</p>")}if(void 0!==a&&void 0!==a.missing_required_field&&!0===a.missing_required_field)if(void 0!==a.missing_required_field_data)!function(e,i){void 0!==e&&s.each(e,function(e,r){!0===i?s("span."+e+"-label").length>0?s("span."+e+"-label").addClass("yikes-mc-required-field-not-filled"):s("."+e+"-label").addClass("yikes-mc-required-field-not-filled"):s('label[for="'+e+'"]').children("input").addClass("yikes-mc-required-field-not-filled")})}(a.missing_required_field_data,void 0!==a.is_interest_group&&a.is_interest_group);s(".yikes-easy-mc-error-message").fadeIn()}},error:function(e,i,s){console.error(s),console.log(e),console.log(i)},complete:function(i,s){e.find(".yikes-easy-mc-submit-button").removeAttr("disabled","disabled")}}),!1})})}(window,document,jQuery,Yikes_Mailchimp_Ajax);
|
public/partials/ajax/class.public_ajax.php
CHANGED
@@ -163,22 +163,26 @@ class YIKES_Inc_Easy_MailChimp_Public_Ajax {
|
|
163 |
/* Run our replacement strings for the email body. */
|
164 |
|
165 |
// We let the user use [link] text [/link] for the update profile link so replace [link] with the <a> tag.
|
166 |
-
$email_body = str_replace( '[link]', $update_link_tag, $email_body );
|
167 |
|
168 |
// And replace [/link] with the closing </a> tag.
|
169 |
-
$email_body = str_replace( '[/link]', '</a>', $email_body );
|
170 |
|
171 |
// We let the user use [url] for their website so replace [url] with get_home_url().
|
172 |
-
$email_body = str_replace( '[url]', get_home_url(), $email_body );
|
173 |
|
174 |
// We let the user use [email] for the subscriber's email so replace [email] with the subscriber's email.
|
175 |
-
$email_body = str_replace( '[email]', $user_email, $email_body );
|
176 |
|
177 |
// We let the user use [subscriber_id] for the subscriber's unique email ID so replace [subscriber_id] with the subscriber's unique email ID.
|
178 |
-
$email_body = str_replace( '[subscriber_id]', $subscriber_id, $email_body );
|
179 |
|
180 |
// We let the user use [form_name] for the form's name so replace [form_name] with the form's name.
|
181 |
-
$email_body = str_replace( '[form_name]', $form_data['form_name'], $email_body );
|
|
|
|
|
|
|
|
|
182 |
|
183 |
/* Confirm that the email was sent */
|
184 |
if ( wp_mail( $user_email, apply_filters( 'yikes-mailchimp-update-email-subject', $email_subject ), apply_filters( 'yikes-mailchimp-update-email-content', $email_body, $update_link_href ), $headers ) ) {
|
163 |
/* Run our replacement strings for the email body. */
|
164 |
|
165 |
// We let the user use [link] text [/link] for the update profile link so replace [link] with the <a> tag.
|
166 |
+
$email_body = str_replace( array( '[link]', '[LINK]' ), $update_link_tag, $email_body );
|
167 |
|
168 |
// And replace [/link] with the closing </a> tag.
|
169 |
+
$email_body = str_replace( array( '[/link]', '[/LINK]' ), '</a>', $email_body );
|
170 |
|
171 |
// We let the user use [url] for their website so replace [url] with get_home_url().
|
172 |
+
$email_body = str_replace( array( '[url]', '[URL]' ), get_home_url(), $email_body );
|
173 |
|
174 |
// We let the user use [email] for the subscriber's email so replace [email] with the subscriber's email.
|
175 |
+
$email_body = str_replace( array( '[email]', '[EMAIL]' ), $user_email, $email_body );
|
176 |
|
177 |
// We let the user use [subscriber_id] for the subscriber's unique email ID so replace [subscriber_id] with the subscriber's unique email ID.
|
178 |
+
$email_body = str_replace( array( '[subscriber_id]', '[SUBSCRIBER_ID]' ), $subscriber_id, $email_body );
|
179 |
|
180 |
// We let the user use [form_name] for the form's name so replace [form_name] with the form's name.
|
181 |
+
$email_body = str_replace( array( '[form_name]', '[FORM_NAME]' ), $form_data['form_name'], $email_body );
|
182 |
+
|
183 |
+
// We let the user use [fname] and [lname] so replace those.
|
184 |
+
$email_body = str_replace( array( '[fname]', '[FNAME]' ), isset( $subscriber_account_details['merge_fields']['FNAME'] ) ? $subscriber_account_details['merge_fields']['FNAME'] : '', $email_body );
|
185 |
+
$email_body = str_replace( array( '[lname]', '[LNAME]' ), isset( $subscriber_account_details['merge_fields']['LNAME'] ) ? $subscriber_account_details['merge_fields']['LNAME'] : '', $email_body );
|
186 |
|
187 |
/* Confirm that the email was sent */
|
188 |
if ( wp_mail( $user_email, apply_filters( 'yikes-mailchimp-update-email-subject', $email_subject ), apply_filters( 'yikes-mailchimp-update-email-content', $email_body, $update_link_href ), $headers ) ) {
|
public/partials/shortcodes/process/process_form_submission.php
CHANGED
@@ -250,6 +250,10 @@ $subscribe_response = $list_handler->member_subscribe( $list_id, md5( $sanitized
|
|
250 |
if ( is_wp_error( $subscribe_response ) ) {
|
251 |
$success_array = $submission_handler->handle_submission_response_error( $subscribe_response, $form_fields );
|
252 |
} else {
|
|
|
|
|
|
|
|
|
253 |
$submission_handler->handle_submission_response_success( $submission_settings, array(), $merge_variables, $notifications, $optin_settings, $new_subscriber );
|
254 |
}
|
255 |
|
250 |
if ( is_wp_error( $subscribe_response ) ) {
|
251 |
$success_array = $submission_handler->handle_submission_response_error( $subscribe_response, $form_fields );
|
252 |
} else {
|
253 |
+
|
254 |
+
// Check if we have any tags to add.
|
255 |
+
$tags_response = $submission_handler->maybe_add_tags( $form_data, $data );
|
256 |
+
|
257 |
$submission_handler->handle_submission_response_success( $submission_settings, array(), $merge_variables, $notifications, $optin_settings, $new_subscriber );
|
258 |
}
|
259 |
|
public/partials/shortcodes/process/process_form_submission_ajax.php
CHANGED
@@ -210,6 +210,10 @@ $subscribe_response = $list_handler->member_subscribe( $list_id, md5( $sanitized
|
|
210 |
if ( is_wp_error( $subscribe_response ) ) {
|
211 |
$submission_handler->handle_submission_response_error( $subscribe_response, $form_fields );
|
212 |
} else {
|
|
|
|
|
|
|
|
|
213 |
$submission_handler->handle_submission_response_success( $submission_settings, $page_data, $merge_variables, $notifications, $optin_settings, $new_subscriber );
|
214 |
}
|
215 |
|
210 |
if ( is_wp_error( $subscribe_response ) ) {
|
211 |
$submission_handler->handle_submission_response_error( $subscribe_response, $form_fields );
|
212 |
} else {
|
213 |
+
|
214 |
+
// Check if we have any tags to add.
|
215 |
+
$tags_response = $submission_handler->maybe_add_tags( $form_data, $data );
|
216 |
+
|
217 |
$submission_handler->handle_submission_response_success( $submission_settings, $page_data, $merge_variables, $notifications, $optin_settings, $new_subscriber );
|
218 |
}
|
219 |
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: yikesinc, eherman24, liljimmi, JPry, yikesitskevin
|
|
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: 5.0.
|
7 |
Requires PHP: 5.2.13
|
8 |
-
Stable tag: 6.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -172,5 +172,10 @@ For information and code examples on how to implement the hooks and filters prov
|
|
172 |
|
173 |
== Changelog ==
|
174 |
|
175 |
-
= 6.
|
176 |
-
*
|
|
|
|
|
|
|
|
|
|
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: 5.0.3
|
7 |
Requires PHP: 5.2.13
|
8 |
+
Stable tag: 6.5.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
172 |
|
173 |
== Changelog ==
|
174 |
|
175 |
+
= 6.5.0 - February 6th, 2019 =
|
176 |
+
* Added tags! You can now add tags to your Easy Form's Forms! Any tag attached to a form will be attached to subscribers of that form. When applying tags to new subscribers, they can be filtered with the following filters: `yikes_mailchimp_subscriber_tags` (filters the list of tabs being applied) and `yikes_mailchimp_subscriber_tag_active` (decides whether a certain tag will be added).
|
177 |
+
* Added `[fname]` and `[lname]` as email replacement tags.
|
178 |
+
* Cleaned up code.
|
179 |
+
* Fixed some PHP warnings/notices.
|
180 |
+
* Fixed some styling issues inside the form builder.
|
181 |
+
* Fixed & cleaned some things in the Easy Form's Gutenberg block.
|
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.
|
7 |
* Author: YIKES, Inc.
|
8 |
* Author URI: https://www.yikesplugins.com/
|
9 |
* License: GPL-3.0+
|
@@ -43,7 +43,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
43 |
* @since 6.1.3
|
44 |
*/
|
45 |
if ( ! defined( 'YIKES_MC_VERSION' ) ) {
|
46 |
-
define( 'YIKES_MC_VERSION' , '6.
|
47 |
}
|
48 |
|
49 |
/**
|
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.5.0
|
7 |
* Author: YIKES, Inc.
|
8 |
* Author URI: https://www.yikesplugins.com/
|
9 |
* License: GPL-3.0+
|
43 |
* @since 6.1.3
|
44 |
*/
|
45 |
if ( ! defined( 'YIKES_MC_VERSION' ) ) {
|
46 |
+
define( 'YIKES_MC_VERSION' , '6.5.0' );
|
47 |
}
|
48 |
|
49 |
/**
|