Version Description
- June 17, 2014 =
Fixes
- Fixed undefined index notice in Contact Form 7 integration class
Improvements
- Reset form width in all stylesheets
Download this release
Release Info
Developer | DvanKooten |
Plugin | MailChimp for WordPress |
Version | 2.0.3 |
Comparing to | |
See all releases |
Code changes from version 2.0.2 to 2.0.3
- README.md +1 -1
- assets/css/form-theme-blue.css +1 -1
- assets/css/form-theme-dark.css +1 -1
- assets/css/form-theme-green.css +1 -1
- assets/css/form-theme-light.css +1 -1
- assets/css/form-theme-red.css +1 -1
- assets/css/form.css +1 -1
- assets/sass/partials/_form-reset.scss +5 -0
- assets/sass/partials/_form-theme-base.scss +6 -4
- includes/class-admin.php +3 -3
- includes/class-form-manager.php +1 -1
- includes/integrations/class-general.php +0 -4
- includes/integrations/class-integration.php +11 -10
- includes/integrations/class-registration-form.php +6 -0
- includes/views/form-settings.php +1 -1
- includes/views/parts/admin-footer.php +1 -1
- includes/views/parts/admin-need-support.php +2 -2
- includes/views/parts/admin-upgrade-to-pro.php +1 -1
- mailchimp-for-wp.php +3 -3
- readme.txt +22 -12
README.md
CHANGED
@@ -24,7 +24,7 @@ Support
|
|
24 |
This is a developer's portal for the MailChimp for WordPress plugin and should not be used for support. Please visit the
|
25 |
[plugin support forums on WordPress.org](http://wordpress.org/support/plugin/mailchimp-for-wp).
|
26 |
|
27 |
-
If you need priority support, please consider upgrading to [MailChimp for WordPress Pro](
|
28 |
|
29 |
Contributions
|
30 |
-------------
|
24 |
This is a developer's portal for the MailChimp for WordPress plugin and should not be used for support. Please visit the
|
25 |
[plugin support forums on WordPress.org](http://wordpress.org/support/plugin/mailchimp-for-wp).
|
26 |
|
27 |
+
If you need priority support, please consider upgrading to [MailChimp for WordPress Pro](https://dannyvankooten.com/mailchimp-for-wordpress/).
|
28 |
|
29 |
Contributions
|
30 |
-------------
|
assets/css/form-theme-blue.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.mc4wp-form{box-shadow:none !important;-webkit-box-shadow:none;-moz-box-shadow:none}.mc4wp-form p{margin:0 0 15px !important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555555;vertical-align:middle;background-color:#ffffff;border:1px solid #cccccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;background-image:none;text-shadow:none}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[readonly],.mc4wp-form input[disabled]{background-color:#eeeeee}.mc4wp-form input[type="submit"],.mc4wp-form button{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:none;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#333333;text-decoration:none;background:none}.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.mc4wp-form input[type="submit"],.mc4wp-form button{color:#ffffff !important;background-color:#428bca !important;border-color:#357ebd}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#ffffff !important;background-color:#3276b1 !important;border-color:#285e8e}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form input[type="date"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#428bca}
|
1 |
+
.mc4wp-form{margin:1em 0}form.mc4wp-form,.mc4wp-form form{width:auto}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}form.mc4wp-form,.mc4wp-form form{box-shadow:none !important;-webkit-box-shadow:none;-moz-box-shadow:none;width:auto}.mc4wp-form p{margin:0 0 15px !important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555555;vertical-align:middle;background-color:#ffffff;border:1px solid #cccccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;background-image:none;text-shadow:none}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[readonly],.mc4wp-form input[disabled]{background-color:#eeeeee}.mc4wp-form input[type="submit"],.mc4wp-form button{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:none;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#333333;text-decoration:none;background:none}.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.mc4wp-form input[type="submit"],.mc4wp-form button{color:#ffffff !important;background-color:#428bca !important;border-color:#357ebd}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#ffffff !important;background-color:#3276b1 !important;border-color:#285e8e}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form input[type="date"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#428bca}
|
assets/css/form-theme-dark.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.mc4wp-form{box-shadow:none !important;-webkit-box-shadow:none;-moz-box-shadow:none}.mc4wp-form p{margin:0 0 15px !important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555555;vertical-align:middle;background-color:#ffffff;border:1px solid #cccccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;background-image:none;text-shadow:none}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[readonly],.mc4wp-form input[disabled]{background-color:#eeeeee}.mc4wp-form input[type="submit"],.mc4wp-form button{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:none;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#333333;text-decoration:none;background:none}.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.mc4wp-form input[type="submit"],.mc4wp-form button{color:#ffffff !important;background-color:#444444 !important;border-color:#282828}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#ffffff !important;background-color:#282828 !important;border-color:#111111}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form input[type="date"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#444444}
|
1 |
+
.mc4wp-form{margin:1em 0}form.mc4wp-form,.mc4wp-form form{width:auto}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}form.mc4wp-form,.mc4wp-form form{box-shadow:none !important;-webkit-box-shadow:none;-moz-box-shadow:none;width:auto}.mc4wp-form p{margin:0 0 15px !important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555555;vertical-align:middle;background-color:#ffffff;border:1px solid #cccccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;background-image:none;text-shadow:none}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[readonly],.mc4wp-form input[disabled]{background-color:#eeeeee}.mc4wp-form input[type="submit"],.mc4wp-form button{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:none;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#333333;text-decoration:none;background:none}.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.mc4wp-form input[type="submit"],.mc4wp-form button{color:#ffffff !important;background-color:#444444 !important;border-color:#282828}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#ffffff !important;background-color:#282828 !important;border-color:#111111}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form input[type="date"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#444444}
|
assets/css/form-theme-green.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.mc4wp-form{box-shadow:none !important;-webkit-box-shadow:none;-moz-box-shadow:none}.mc4wp-form p{margin:0 0 15px !important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555555;vertical-align:middle;background-color:#ffffff;border:1px solid #cccccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;background-image:none;text-shadow:none}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[readonly],.mc4wp-form input[disabled]{background-color:#eeeeee}.mc4wp-form input[type="submit"],.mc4wp-form button{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:none;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#333333;text-decoration:none;background:none}.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.mc4wp-form input[type="submit"],.mc4wp-form button{color:#ffffff !important;background-color:#5cb85c !important;border-color:#4cae4c}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#ffffff !important;background-color:#47a447 !important;border-color:#398439}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form input[type="date"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#5cb85c}
|
1 |
+
.mc4wp-form{margin:1em 0}form.mc4wp-form,.mc4wp-form form{width:auto}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}form.mc4wp-form,.mc4wp-form form{box-shadow:none !important;-webkit-box-shadow:none;-moz-box-shadow:none;width:auto}.mc4wp-form p{margin:0 0 15px !important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555555;vertical-align:middle;background-color:#ffffff;border:1px solid #cccccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;background-image:none;text-shadow:none}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[readonly],.mc4wp-form input[disabled]{background-color:#eeeeee}.mc4wp-form input[type="submit"],.mc4wp-form button{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:none;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#333333;text-decoration:none;background:none}.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.mc4wp-form input[type="submit"],.mc4wp-form button{color:#ffffff !important;background-color:#5cb85c !important;border-color:#4cae4c}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#ffffff !important;background-color:#47a447 !important;border-color:#398439}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form input[type="date"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#5cb85c}
|
assets/css/form-theme-light.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.mc4wp-form{box-shadow:none !important;-webkit-box-shadow:none;-moz-box-shadow:none}.mc4wp-form p{margin:0 0 15px !important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555555;vertical-align:middle;background-color:#ffffff;border:1px solid #cccccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;background-image:none;text-shadow:none}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[readonly],.mc4wp-form input[disabled]{background-color:#eeeeee}.mc4wp-form input[type="submit"],.mc4wp-form button{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:none;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#333333;text-decoration:none;background:none}.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.mc4wp-form input[type="submit"],.mc4wp-form button{color:#333333 !important;background-color:#ffffff !important;border-color:#E6E6E6}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#E6E6E6 !important;background-color:#ebebeb !important;border-color:#CCCCCC}
|
1 |
+
.mc4wp-form{margin:1em 0}form.mc4wp-form,.mc4wp-form form{width:auto}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}form.mc4wp-form,.mc4wp-form form{box-shadow:none !important;-webkit-box-shadow:none;-moz-box-shadow:none;width:auto}.mc4wp-form p{margin:0 0 15px !important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555555;vertical-align:middle;background-color:#ffffff;border:1px solid #cccccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;background-image:none;text-shadow:none}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[readonly],.mc4wp-form input[disabled]{background-color:#eeeeee}.mc4wp-form input[type="submit"],.mc4wp-form button{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:none;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#333333;text-decoration:none;background:none}.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.mc4wp-form input[type="submit"],.mc4wp-form button{color:#333333 !important;background-color:#ffffff !important;border-color:#E6E6E6}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#E6E6E6 !important;background-color:#ebebeb !important;border-color:#CCCCCC}
|
assets/css/form-theme-red.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.mc4wp-form{box-shadow:none !important;-webkit-box-shadow:none;-moz-box-shadow:none}.mc4wp-form p{margin:0 0 15px !important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555555;vertical-align:middle;background-color:#ffffff;border:1px solid #cccccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;background-image:none;text-shadow:none}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[readonly],.mc4wp-form input[disabled]{background-color:#eeeeee}.mc4wp-form input[type="submit"],.mc4wp-form button{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:none;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#333333;text-decoration:none;background:none}.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.mc4wp-form input[type="submit"],.mc4wp-form button{color:#ffffff !important;background-color:#d9534f !important;border-color:#d43f3a}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#ffffff !important;background-color:#d2322d !important;border-color:#ac2925}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form input[type="date"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#d9534f}
|
1 |
+
.mc4wp-form{margin:1em 0}form.mc4wp-form,.mc4wp-form form{width:auto}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}form.mc4wp-form,.mc4wp-form form{box-shadow:none !important;-webkit-box-shadow:none;-moz-box-shadow:none;width:auto}.mc4wp-form p{margin:0 0 15px !important;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555555;vertical-align:middle;background-color:#ffffff;border:1px solid #cccccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;background-image:none;text-shadow:none}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[readonly],.mc4wp-form input[disabled]{background-color:#eeeeee}.mc4wp-form input[type="submit"],.mc4wp-form button{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;box-shadow:none;background:none;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#333333;text-decoration:none;background:none}.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.mc4wp-form input[type="submit"],.mc4wp-form button{color:#ffffff !important;background-color:#d9534f !important;border-color:#d43f3a}.mc4wp-form input[type="submit"]:hover,.mc4wp-form button:hover,.mc4wp-form input[type="submit"]:active,.mc4wp-form button:active,.mc4wp-form input[type="submit"]:focus,.mc4wp-form button:focus{color:#ffffff !important;background-color:#d2322d !important;border-color:#ac2925}.mc4wp-form input[type="text"]:focus,.mc4wp-form input[type="email"]:focus,.mc4wp-form input[type="tel"]:focus,.mc4wp-form input[type="url"]:focus,.mc4wp-form input[type="date"]:focus,.mc4wp-form textarea:focus,.mc4wp-form select:focus{border-color:#d9534f}
|
assets/css/form.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}
|
1 |
+
.mc4wp-form{margin:1em 0}form.mc4wp-form,.mc4wp-form form{width:auto}.mc4wp-form label{display:block;font-weight:bold;margin-bottom:5px}.mc4wp-form ul,.mc4wp-form li{list-style:none;margin:0;padding:0}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:normal}.mc4wp-form p>label:nth-child(2){margin-top:10px}.mc4wp-form input{vertical-align:baseline}.mc4wp-form input.placeholdersjs{color:#aaa !important}.mc4wp-form input[type="text"],.mc4wp-form input[type="email"],.mc4wp-form input[type="tel"],.mc4wp-form input[type="url"],.mc4wp-form input[type="date"],.mc4wp-form textarea,.mc4wp-form select{cursor:auto;display:block;width:100%;height:auto;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.mc4wp-form input[type="checkbox"],.mc4wp-form input[type="radio"]{position:relative;margin:0 6px 0 0;padding:0;height:13px;width:13px;display:inline-block;border:0}.mc4wp-form input[type="checkbox"]{-webkit-appearance:checkbox}.mc4wp-form input[type="radio"]{-webkit-appearance:radio}.mc4wp-form input[type="submit"],.mc4wp-form button,.mc4wp-form input[type="button"]{cursor:pointer;display:inline-block}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}
|
assets/sass/partials/_form-reset.scss
CHANGED
@@ -4,6 +4,11 @@
|
|
4 |
margin: 1em 0;
|
5 |
}
|
6 |
|
|
|
|
|
|
|
|
|
|
|
7 |
.mc4wp-form label{
|
8 |
display: block;
|
9 |
font-weight: bold;
|
4 |
margin: 1em 0;
|
5 |
}
|
6 |
|
7 |
+
form.mc4wp-form,
|
8 |
+
.mc4wp-form form {
|
9 |
+
width: auto;
|
10 |
+
}
|
11 |
+
|
12 |
.mc4wp-form label{
|
13 |
display: block;
|
14 |
font-weight: bold;
|
assets/sass/partials/_form-theme-base.scss
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
/* Form base theme */
|
2 |
-
.mc4wp-form
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
6 |
}
|
7 |
|
8 |
.mc4wp-form p {
|
1 |
/* Form base theme */
|
2 |
+
form.mc4wp-form,
|
3 |
+
.mc4wp-form form {
|
4 |
+
box-shadow: none !important;
|
5 |
+
-webkit-box-shadow: none;
|
6 |
+
-moz-box-shadow: none;
|
7 |
+
width: auto;
|
8 |
}
|
9 |
|
10 |
.mc4wp-form p {
|
includes/class-admin.php
CHANGED
@@ -33,7 +33,7 @@ class MC4WP_Lite_Admin
|
|
33 |
|
34 |
// did the user click on upgrade to pro link?
|
35 |
if( isset( $_GET['page'] ) && $_GET['page'] === 'mc4wp-lite-upgrade' && false === headers_sent() ) {
|
36 |
-
header("Location:
|
37 |
exit;
|
38 |
}
|
39 |
|
@@ -108,7 +108,7 @@ class MC4WP_Lite_Admin
|
|
108 |
}
|
109 |
|
110 |
$links[] = '<a href="http://wordpress.org/plugins/mailchimp-for-wp/faq/">FAQ</a>';
|
111 |
-
$links[] = '<a href="
|
112 |
return $links;
|
113 |
}
|
114 |
|
@@ -223,7 +223,7 @@ class MC4WP_Lite_Admin
|
|
223 |
*/
|
224 |
public function redirect_to_pro()
|
225 |
{
|
226 |
-
?><script type="text/javascript">window.location.replace('
|
227 |
}
|
228 |
|
229 |
/**
|
33 |
|
34 |
// did the user click on upgrade to pro link?
|
35 |
if( isset( $_GET['page'] ) && $_GET['page'] === 'mc4wp-lite-upgrade' && false === headers_sent() ) {
|
36 |
+
header("Location: https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=lite-plugin&utm_medium=link&utm_campaign=menu-upgrade-link");
|
37 |
exit;
|
38 |
}
|
39 |
|
108 |
}
|
109 |
|
110 |
$links[] = '<a href="http://wordpress.org/plugins/mailchimp-for-wp/faq/">FAQ</a>';
|
111 |
+
$links[] = '<a href="https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=lite-plugin&utm_medium=link&utm_campaign=plugins-upgrade-link">' . __( 'Upgrade to Pro', 'mailchimp-for-wp' ) . '</a>';
|
112 |
return $links;
|
113 |
}
|
114 |
|
223 |
*/
|
224 |
public function redirect_to_pro()
|
225 |
{
|
226 |
+
?><script type="text/javascript">window.location.replace('https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=lite-plugin&utm_medium=link&utm_campaign=menu-upgrade-link'); </script><?php
|
227 |
}
|
228 |
|
229 |
/**
|
includes/class-form-manager.php
CHANGED
@@ -141,7 +141,7 @@ class MC4WP_Lite_Form_Manager {
|
|
141 |
|
142 |
$form_action = apply_filters( 'mc4wp_form_action', mc4wp_get_current_url() );
|
143 |
|
144 |
-
$content = "\n<!-- Form by MailChimp for WordPress plugin v". MC4WP_LITE_VERSION ." -
|
145 |
$content .= '<form method="post" action="'. $form_action .'" id="mc4wp-form-'.$this->form_instance_number.'" class="'.$css_classes.'">';
|
146 |
|
147 |
// maybe hide the form
|
141 |
|
142 |
$form_action = apply_filters( 'mc4wp_form_action', mc4wp_get_current_url() );
|
143 |
|
144 |
+
$content = "\n<!-- Form by MailChimp for WordPress plugin v". MC4WP_LITE_VERSION ." - https://dannyvankooten.com/mailchimp-for-wordpress/ -->\n";
|
145 |
$content .= '<form method="post" action="'. $form_action .'" id="mc4wp-form-'.$this->form_instance_number.'" class="'.$css_classes.'">';
|
146 |
|
147 |
// maybe hide the form
|
includes/integrations/class-general.php
CHANGED
@@ -80,10 +80,6 @@ class MC4WP_General_Integration extends MC4WP_Integration {
|
|
80 |
*/
|
81 |
public function try_subscribe( $trigger = 'other_form' ) {
|
82 |
|
83 |
-
if ( $this->checkbox_was_checked() === false ) {
|
84 |
-
return false;
|
85 |
-
}
|
86 |
-
|
87 |
// start running..
|
88 |
$email = null;
|
89 |
$merge_vars = array(
|
80 |
*/
|
81 |
public function try_subscribe( $trigger = 'other_form' ) {
|
82 |
|
|
|
|
|
|
|
|
|
83 |
// start running..
|
84 |
$email = null;
|
85 |
$merge_vars = array(
|
includes/integrations/class-integration.php
CHANGED
@@ -8,8 +8,9 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
|
|
8 |
|
9 |
abstract class MC4WP_Integration {
|
10 |
|
11 |
-
|
12 |
-
|
|
|
13 |
protected $type = 'integration';
|
14 |
|
15 |
/**
|
@@ -27,7 +28,7 @@ abstract class MC4WP_Integration {
|
|
27 |
return false;
|
28 |
}
|
29 |
|
30 |
-
return ( isset( $_POST[
|
31 |
}
|
32 |
|
33 |
/**
|
@@ -83,7 +84,7 @@ abstract class MC4WP_Integration {
|
|
83 |
// checkbox
|
84 |
$content .= '<p id="mc4wp-checkbox">';
|
85 |
$content .= '<label>';
|
86 |
-
$content .= '<input type="checkbox" name="
|
87 |
$content .= $label;
|
88 |
$content .= '</label>';
|
89 |
$content .= '</p>';
|
@@ -140,11 +141,11 @@ abstract class MC4WP_Integration {
|
|
140 |
|
141 |
if( empty( $lists) ) {
|
142 |
if( ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) && current_user_can( 'manage_options' ) ) {
|
143 |
-
wp_die(
|
144 |
-
<h3>MailChimp for WP - Error</h3>
|
145 |
-
<p>Please select a list to subscribe to in the <a href="'. admin_url( 'admin.php?page=mc4wp-checkbox-settings' ) .'">checkbox settings</a>.</p>
|
146 |
-
<p style="font-style:italic; font-size:12px;">This message is only visible to administrators for debugging purposes.</p>
|
147 |
-
'
|
148 |
}
|
149 |
|
150 |
return 'no_lists_selected';
|
@@ -169,7 +170,7 @@ abstract class MC4WP_Integration {
|
|
169 |
do_action( 'mc4wp_before_subscribe', $email, $merge_vars );
|
170 |
|
171 |
foreach( $lists as $list_id ) {
|
172 |
-
$result = $api->subscribe( $list_id, $email, $merge_vars, $email_type, $opts['double_optin'], false, true
|
173 |
}
|
174 |
|
175 |
do_action( 'mc4wp_after_subscribe', $email, $merge_vars, $result );
|
8 |
|
9 |
abstract class MC4WP_Integration {
|
10 |
|
11 |
+
/**
|
12 |
+
* @var string
|
13 |
+
*/
|
14 |
protected $type = 'integration';
|
15 |
|
16 |
/**
|
28 |
return false;
|
29 |
}
|
30 |
|
31 |
+
return ( isset( $_POST[ '_mc4wp_subscribe' ] ) && $_POST[ '_mc4wp_subscribe' ] == 1 );
|
32 |
}
|
33 |
|
34 |
/**
|
84 |
// checkbox
|
85 |
$content .= '<p id="mc4wp-checkbox">';
|
86 |
$content .= '<label>';
|
87 |
+
$content .= '<input type="checkbox" name="_mc4wp_subscribe" value="1" '. $checked . ' /> ';
|
88 |
$content .= $label;
|
89 |
$content .= '</label>';
|
90 |
$content .= '</p>';
|
141 |
|
142 |
if( empty( $lists) ) {
|
143 |
if( ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) && current_user_can( 'manage_options' ) ) {
|
144 |
+
wp_die(
|
145 |
+
'<h3>MailChimp for WP - Error</h3>
|
146 |
+
<p>Please select a list to subscribe to in the <a href="'. admin_url( 'admin.php?page=mc4wp-lite-checkbox-settings' ) .'">checkbox settings</a>.</p>
|
147 |
+
<p style="font-style:italic; font-size:12px;">This message is only visible to administrators for debugging purposes.</p>',
|
148 |
+
'Error - MailChimp for WP', array( 'back_link' => true ) );
|
149 |
}
|
150 |
|
151 |
return 'no_lists_selected';
|
170 |
do_action( 'mc4wp_before_subscribe', $email, $merge_vars );
|
171 |
|
172 |
foreach( $lists as $list_id ) {
|
173 |
+
$result = $api->subscribe( $list_id, $email, $merge_vars, $email_type, $opts['double_optin'], false, true );
|
174 |
}
|
175 |
|
176 |
do_action( 'mc4wp_after_subscribe', $email, $merge_vars, $result );
|
includes/integrations/class-registration-form.php
CHANGED
@@ -9,8 +9,14 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
|
|
9 |
|
10 |
class MC4WP_Registration_Form_Integration extends MC4WP_Integration {
|
11 |
|
|
|
|
|
|
|
12 |
protected $type = 'registration_form';
|
13 |
|
|
|
|
|
|
|
14 |
public function __construct() {
|
15 |
add_action( 'register_form', array( $this, 'output_checkbox' ), 20 );
|
16 |
add_action( 'user_register', array( $this, 'subscribe_from_registration' ), 90, 1 );
|
9 |
|
10 |
class MC4WP_Registration_Form_Integration extends MC4WP_Integration {
|
11 |
|
12 |
+
/**
|
13 |
+
* @var string
|
14 |
+
*/
|
15 |
protected $type = 'registration_form';
|
16 |
|
17 |
+
/**
|
18 |
+
* Constructor, adds the registration hooks
|
19 |
+
*/
|
20 |
public function __construct() {
|
21 |
add_action( 'register_form', array( $this, 'output_checkbox' ), 20 );
|
22 |
add_action( 'user_register', array( $this, 'subscribe_from_registration' ), 90, 1 );
|
includes/views/form-settings.php
CHANGED
@@ -151,7 +151,7 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
|
|
151 |
<input type="radio" readonly /> <label><?php _e("Yes"); ?></label>
|
152 |
<input type="radio" checked readonly /> <label><?php _e("No"); ?></label>
|
153 |
</td>
|
154 |
-
<td class="desc"><?php _e( 'Select "yes" if you want to use AJAX (JavaScript) to submit forms.', 'mailchimp-for-wp' ); ?> <a href="
|
155 |
</tr>
|
156 |
<tr valign="top">
|
157 |
<th scope="row"><label for="mc4wp_form_hide_after_success"><?php _e( 'Hide form after a successful sign-up?', 'mailchimp-for-wp' ); ?></label></th>
|
151 |
<input type="radio" readonly /> <label><?php _e("Yes"); ?></label>
|
152 |
<input type="radio" checked readonly /> <label><?php _e("No"); ?></label>
|
153 |
</td>
|
154 |
+
<td class="desc"><?php _e( 'Select "yes" if you want to use AJAX (JavaScript) to submit forms.', 'mailchimp-for-wp' ); ?> <a href="https://dannyvankooten.com/mailchimp-for-wordpress/demo/#utm_source=lite-plugin&utm_medium=link&utm_campaign=settings-demo-link">(demo)</a></td>
|
155 |
</tr>
|
156 |
<tr valign="top">
|
157 |
<th scope="row"><label for="mc4wp_form_hide_after_success"><?php _e( 'Hide form after a successful sign-up?', 'mailchimp-for-wp' ); ?></label></th>
|
includes/views/parts/admin-footer.php
CHANGED
@@ -6,6 +6,6 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
|
|
6 |
}
|
7 |
?>
|
8 |
<br style="clear:both;" />
|
9 |
-
<p class="help">Enjoying this plugin? <a href="
|
10 |
<p class="help">Submit your feature requests or vote for new features <a href="http://www.google.com/moderator/#15/e=20c6b7&t=20c6b7.40">here</a>.</p>
|
11 |
<p class="help"><?php _e( 'This plugin is not developed by or affiliated with MailChimp in any way.', 'mailchimp-for-wp' ); ?></p>
|
6 |
}
|
7 |
?>
|
8 |
<br style="clear:both;" />
|
9 |
+
<p class="help">Enjoying this plugin? <a href="https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=lite-plugin&utm_medium=link&utm_campaign=footer-link">Upgrade to MailChimp for WordPress Pro now</a> for an even better plugin, you will love it.</p>
|
10 |
<p class="help">Submit your feature requests or vote for new features <a href="http://www.google.com/moderator/#15/e=20c6b7&t=20c6b7.40">here</a>.</p>
|
11 |
<p class="help"><?php _e( 'This plugin is not developed by or affiliated with MailChimp in any way.', 'mailchimp-for-wp' ); ?></p>
|
includes/views/parts/admin-need-support.php
CHANGED
@@ -8,7 +8,7 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
|
|
8 |
<div class="mc4wp-box">
|
9 |
<h4 class="mc4wp-title">Looking for support?</h4>
|
10 |
<p>Make sure to look at the <a href="http://wordpress.org/plugins/mailchimp-for-wp/faq/">frequently asked questions</a> or use the <a href="http://wordpress.org/support/plugin/mailchimp-for-wp">support forums</a> on WordPress.org.</p>
|
11 |
-
<p>If you need priority support, please <a href="
|
12 |
</div>
|
13 |
|
14 |
<div class="mc4wp-box">
|
@@ -16,7 +16,7 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
|
|
16 |
<ul class="ul-square">
|
17 |
<li><a target="_blank" href="http://wordpress.org/support/view/plugin-reviews/mailchimp-for-wp?rate=5#postform">Leave a ★★★★★ plugin review on WordPress.org</a></li>
|
18 |
<li><a target="_blank" href="http://twitter.com/?status=Showing%20my%20appreciation%20to%20%40DannyvanKooten%20for%20his%20WordPress%20plugin%3A%20MailChimp%20for%20WP%20%20-%20check%20it%20out!%20http%3A%2F%2Fwordpress.org%2Fplugins%2Fmailchimp-for-wp%2F">Tweet about MailChimp for WordPress</a></li>
|
19 |
-
<li>Review the plugin on your blog and link to <a href="
|
20 |
<li><a target="_blank" href="http://wordpress.org/plugins/mailchimp-for-wp/">Vote "works" on the WordPress.org plugin page</a></li>
|
21 |
</ul>
|
22 |
</div>
|
8 |
<div class="mc4wp-box">
|
9 |
<h4 class="mc4wp-title">Looking for support?</h4>
|
10 |
<p>Make sure to look at the <a href="http://wordpress.org/plugins/mailchimp-for-wp/faq/">frequently asked questions</a> or use the <a href="http://wordpress.org/support/plugin/mailchimp-for-wp">support forums</a> on WordPress.org.</p>
|
11 |
+
<p>If you need priority support, please <a href="https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=lite-plugin&utm_medium=link&utm_campaign=support-link">upgrade to the premium version</a>.</p>
|
12 |
</div>
|
13 |
|
14 |
<div class="mc4wp-box">
|
16 |
<ul class="ul-square">
|
17 |
<li><a target="_blank" href="http://wordpress.org/support/view/plugin-reviews/mailchimp-for-wp?rate=5#postform">Leave a ★★★★★ plugin review on WordPress.org</a></li>
|
18 |
<li><a target="_blank" href="http://twitter.com/?status=Showing%20my%20appreciation%20to%20%40DannyvanKooten%20for%20his%20WordPress%20plugin%3A%20MailChimp%20for%20WP%20%20-%20check%20it%20out!%20http%3A%2F%2Fwordpress.org%2Fplugins%2Fmailchimp-for-wp%2F">Tweet about MailChimp for WordPress</a></li>
|
19 |
+
<li>Review the plugin on your blog and link to <a href="https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=lite-plugin&utm_medium=link&utm_campaign=show-appreciation">the plugin page</a></li>
|
20 |
<li><a target="_blank" href="http://wordpress.org/plugins/mailchimp-for-wp/">Vote "works" on the WordPress.org plugin page</a></li>
|
21 |
</ul>
|
22 |
</div>
|
includes/views/parts/admin-upgrade-to-pro.php
CHANGED
@@ -12,5 +12,5 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
|
|
12 |
|
13 |
<p>Pro features include better and multiple forms, advanced and easy form styling, more default themes, detailed statistics and priority support.</p>
|
14 |
|
15 |
-
<p><a href="
|
16 |
</div>
|
12 |
|
13 |
<p>Pro features include better and multiple forms, advanced and easy form styling, more default themes, detailed statistics and priority support.</p>
|
14 |
|
15 |
+
<p><a href="https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=lite-plugin&utm_medium=link&utm_campaign=upgrade-box">More information about MailChimp for WP Pro »</a></p>
|
16 |
</div>
|
mailchimp-for-wp.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: MailChimp for WordPress Lite
|
4 |
-
Plugin URI:
|
5 |
Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website.
|
6 |
-
Version: 2.0.
|
7 |
Author: Danny van Kooten
|
8 |
Author URI: http://dannyvankooten.com
|
9 |
Text Domain: mailchimp-for-wp
|
@@ -47,7 +47,7 @@ function mc4wp_load_plugin() {
|
|
47 |
}
|
48 |
|
49 |
// bootstrap the lite plugin
|
50 |
-
define( "MC4WP_LITE_VERSION", "2.0.
|
51 |
define( "MC4WP_LITE_PLUGIN_DIR", plugin_dir_path( __FILE__ ) );
|
52 |
define( "MC4WP_LITE_PLUGIN_URL", plugins_url( '/' , __FILE__ ) );
|
53 |
define( "MC4WP_LITE_PLUGIN_FILE", __FILE__ );
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: MailChimp for WordPress Lite
|
4 |
+
Plugin URI: https://dannyvankooten.com/mailchimp-for-wordpress/
|
5 |
Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website.
|
6 |
+
Version: 2.0.3
|
7 |
Author: Danny van Kooten
|
8 |
Author URI: http://dannyvankooten.com
|
9 |
Text Domain: mailchimp-for-wp
|
47 |
}
|
48 |
|
49 |
// bootstrap the lite plugin
|
50 |
+
define( "MC4WP_LITE_VERSION", "2.0.3" );
|
51 |
define( "MC4WP_LITE_PLUGIN_DIR", plugin_dir_path( __FILE__ ) );
|
52 |
define( "MC4WP_LITE_PLUGIN_URL", plugins_url( '/' , __FILE__ ) );
|
53 |
define( "MC4WP_LITE_PLUGIN_FILE", __FILE__ );
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== MailChimp for WordPress ===
|
2 |
Contributors: DvanKooten
|
3 |
-
Donate link:
|
4 |
Tags: mailchimp,form,shortcode,widget,checkbox,comment,newsletter,buddypress,multisite,bbpress,woocommerce,easy digital downloads,contact form,contact form 7
|
5 |
-
Requires at least: 3.
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -37,7 +37,7 @@ Add sign-up checkboxes to *any* form on your website. The plugin offers built-in
|
|
37 |
>
|
38 |
> Multiple forms, AJAX, form designer, custom themes, detailed statistics, more built-in checkbox integrations and priority support.
|
39 |
>
|
40 |
-
> [More information](
|
41 |
|
42 |
**Translators**
|
43 |
|
@@ -78,7 +78,7 @@ If you have created your own language pack (or have an update of an existing one
|
|
78 |
Need help? Please take a look at the [frequently asked questions](http://wordpress.org/plugins/mailchimp-for-wp/faq/) first
|
79 |
|
80 |
= Upgrade to Pro =
|
81 |
-
If you like the plugin, upgrade to [MailChimp for WordPress Pro](
|
82 |
|
83 |
== Frequently Asked Questions ==
|
84 |
|
@@ -91,7 +91,7 @@ If you like the plugin, upgrade to [MailChimp for WordPress Pro](http://dannyvan
|
|
91 |
> 1. Custom color themes and a form designer (CSS Builder)
|
92 |
> 1. Statistics & log. Learn when, where and how your visitors subscribed.
|
93 |
>
|
94 |
-
> [More Pro features](
|
95 |
|
96 |
= How to display a form in posts or pages? =
|
97 |
Use the `[mc4wp_form]` shortcode.
|
@@ -133,7 +133,7 @@ You can use CSS rules to style the sign-up form, use the following CSS selectors
|
|
133 |
|
134 |
Add your custom CSS rules to the end of your theme stylesheet, **/wp-content/themes/your-theme-name/style.css**. Do not add them to the plugin stylesheet as they will be automatically overwritten on the next plugin update.
|
135 |
|
136 |
-
[PS: With the Pro version, you can design beautiful forms easily >>](
|
137 |
|
138 |
= Where can I find my MailChimp API key? =
|
139 |
[Here](http://kb.mailchimp.com/article/where-can-i-find-my-api-key)
|
@@ -210,7 +210,17 @@ Your theme folder can be found by browsing to `/wp-content/themes/your-theme-nam
|
|
210 |
|
211 |
== Changelog ==
|
212 |
|
213 |
-
= 2.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
|
215 |
**Fixes**
|
216 |
|
@@ -226,7 +236,7 @@ Your theme folder can be found by browsing to `/wp-content/themes/your-theme-nam
|
|
226 |
- Various CSS improvements to colored form themes
|
227 |
- Updated Spanish translations
|
228 |
|
229 |
-
= 2.0.1 =
|
230 |
|
231 |
**Improvements**
|
232 |
|
@@ -367,7 +377,7 @@ Your theme folder can be found by browsing to `/wp-content/themes/your-theme-nam
|
|
367 |
* Added: filter to add more variables to Checkbox Sign-Ups.
|
368 |
* Improved: more fields unlocked in "add field" tool when editing forms.
|
369 |
* Improved: smarter auto-detection of name fields when integrating with third-party forms like Contact Form 7
|
370 |
-
* Changed: links point to new [MailChimp for WordPress](
|
371 |
|
372 |
= 1.3.1 - October 20, 2013 =
|
373 |
* Fixed: bug when calling MailChimp API for PHP 5.2
|
@@ -412,5 +422,5 @@ Your theme folder can be found by browsing to `/wp-content/themes/your-theme-nam
|
|
412 |
|
413 |
== Upgrade Notice ==
|
414 |
|
415 |
-
= 2.0.
|
416 |
-
|
1 |
=== MailChimp for WordPress ===
|
2 |
Contributors: DvanKooten
|
3 |
+
Donate link: https://dannyvankooten.com/mailchimp-for-wordpress/
|
4 |
Tags: mailchimp,form,shortcode,widget,checkbox,comment,newsletter,buddypress,multisite,bbpress,woocommerce,easy digital downloads,contact form,contact form 7
|
5 |
+
Requires at least: 3.6
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 2.0.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
37 |
>
|
38 |
> Multiple forms, AJAX, form designer, custom themes, detailed statistics, more built-in checkbox integrations and priority support.
|
39 |
>
|
40 |
+
> [More information](https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=after-features-link) | [Form demo's](https://dannyvankooten.com/mailchimp-for-wordpress/demo/#utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=after-features-link) | [Upgrade now >>](https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=after-features-link)
|
41 |
|
42 |
**Translators**
|
43 |
|
78 |
Need help? Please take a look at the [frequently asked questions](http://wordpress.org/plugins/mailchimp-for-wp/faq/) first
|
79 |
|
80 |
= Upgrade to Pro =
|
81 |
+
If you like the plugin, upgrade to [MailChimp for WordPress Pro](https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=installation-instructions-link) for an even better plugin.
|
82 |
|
83 |
== Frequently Asked Questions ==
|
84 |
|
91 |
> 1. Custom color themes and a form designer (CSS Builder)
|
92 |
> 1. Statistics & log. Learn when, where and how your visitors subscribed.
|
93 |
>
|
94 |
+
> [More Pro features](https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=faq-link) | [Demo](https://dannyvankooten.com/mailchimp-for-wordpress/demo/#utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=faq-link)
|
95 |
|
96 |
= How to display a form in posts or pages? =
|
97 |
Use the `[mc4wp_form]` shortcode.
|
133 |
|
134 |
Add your custom CSS rules to the end of your theme stylesheet, **/wp-content/themes/your-theme-name/style.css**. Do not add them to the plugin stylesheet as they will be automatically overwritten on the next plugin update.
|
135 |
|
136 |
+
[PS: With the Pro version, you can design beautiful forms easily >>](https://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=after-css-link)
|
137 |
|
138 |
= Where can I find my MailChimp API key? =
|
139 |
[Here](http://kb.mailchimp.com/article/where-can-i-find-my-api-key)
|
210 |
|
211 |
== Changelog ==
|
212 |
|
213 |
+
= 2.0.3 - June 17, 2014 =
|
214 |
+
|
215 |
+
**Fixes**
|
216 |
+
|
217 |
+
- Fixed undefined index notice in Contact Form 7 integration class
|
218 |
+
|
219 |
+
**Improvements**
|
220 |
+
|
221 |
+
- Reset form width in all stylesheets
|
222 |
+
|
223 |
+
= 2.0.2 - June 12, 2014 =
|
224 |
|
225 |
**Fixes**
|
226 |
|
236 |
- Various CSS improvements to colored form themes
|
237 |
- Updated Spanish translations
|
238 |
|
239 |
+
= 2.0.1 - May 15, 2014 =
|
240 |
|
241 |
**Improvements**
|
242 |
|
377 |
* Added: filter to add more variables to Checkbox Sign-Ups.
|
378 |
* Improved: more fields unlocked in "add field" tool when editing forms.
|
379 |
* Improved: smarter auto-detection of name fields when integrating with third-party forms like Contact Form 7
|
380 |
+
* Changed: links point to new [MailChimp for WordPress](https://dannyvankooten.com/mailchimp-for-wordpress/) page now.
|
381 |
|
382 |
= 1.3.1 - October 20, 2013 =
|
383 |
* Fixed: bug when calling MailChimp API for PHP 5.2
|
422 |
|
423 |
== Upgrade Notice ==
|
424 |
|
425 |
+
= 2.0.3 =
|
426 |
+
Fix undefined index notice in Contact Form 7 integrations.
|