first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
$email_label = esc_html__('Email address', 'mailchimp-for-wp');
|
||||
$email_placeholder = esc_html__('Your email address', 'mailchimp-for-wp');
|
||||
$signup_button = esc_html__('Sign up', 'mailchimp-for-wp');
|
||||
|
||||
$content = "<p>\n\t<label>{$email_label}: \n";
|
||||
$content .= "\t\t<input type=\"email\" name=\"EMAIL\" placeholder=\"{$email_placeholder}\" required />\n</label>\n</p>\n\n";
|
||||
$content .= "<p>\n\t<input type=\"submit\" value=\"{$signup_button}\" />\n</p>";
|
||||
|
||||
return $content;
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'subscribed' => array(
|
||||
'type' => 'success',
|
||||
'text' => esc_html__('Thank you, your sign-up request was successful! Please check your email inbox to confirm.', 'mailchimp-for-wp'),
|
||||
),
|
||||
'updated' => array(
|
||||
'type' => 'success',
|
||||
'text' => esc_html__('Thank you, your records have been updated!', 'mailchimp-for-wp'),
|
||||
),
|
||||
'unsubscribed' => array(
|
||||
'type' => 'success',
|
||||
'text' => esc_html__('You were successfully unsubscribed.', 'mailchimp-for-wp'),
|
||||
),
|
||||
'not_subscribed' => array(
|
||||
'type' => 'notice',
|
||||
'text' => esc_html__('Given email address is not subscribed.', 'mailchimp-for-wp'),
|
||||
),
|
||||
'error' => array(
|
||||
'type' => 'error',
|
||||
'text' => esc_html__('Oops. Something went wrong. Please try again later.', 'mailchimp-for-wp'),
|
||||
),
|
||||
'invalid_email' => array(
|
||||
'type' => 'error',
|
||||
'text' => esc_html__('Please provide a valid email address.', 'mailchimp-for-wp'),
|
||||
),
|
||||
'already_subscribed' => array(
|
||||
'type' => 'notice',
|
||||
'text' => esc_html__('Given email address is already subscribed, thank you!', 'mailchimp-for-wp'),
|
||||
),
|
||||
'required_field_missing' => array(
|
||||
'type' => 'error',
|
||||
'text' => esc_html__('Please fill in the required fields.', 'mailchimp-for-wp'),
|
||||
),
|
||||
'no_lists_selected' => array(
|
||||
'type' => 'error',
|
||||
'text' => esc_html__('Please select at least one list.', 'mailchimp-for-wp'),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'css' => 0,
|
||||
'double_optin' => 1,
|
||||
'hide_after_success' => 0,
|
||||
'lists' => array(),
|
||||
'redirect' => '',
|
||||
'replace_interests' => 1,
|
||||
'required_fields' => '',
|
||||
'update_existing' => 0,
|
||||
'subscriber_tags' => '',
|
||||
);
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'api_key' => '',
|
||||
'allow_usage_tracking' => 0,
|
||||
'debug_log_level' => 'warning',
|
||||
);
|
||||
Reference in New Issue
Block a user