MailChimp for WordPress - Version 2.0.2

Version Description

Fixes

  • Fix fatal error when using mc4wp_checkbox() function
  • No more double API request when integrating with Contact Form 7

Improvements

  • Template functions are now always loaded when needed
  • A warning will now show when required fields are missing in the form mark-up
  • Required form classes can no longer be accidentally removed
  • Various checkbox integration improvements
  • Various CSS improvements to colored form themes
  • Updated Spanish translations
Download this release

Release Info

Developer DvanKooten
Plugin Icon 128x128 MailChimp for WordPress
Version 2.0.2
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0.2

assets/css/admin.css CHANGED
@@ -15,13 +15,6 @@
15
  box-sizing: border-box;
16
  }
17
 
18
- .mc4wp-info {
19
- padding: 5px 15px;
20
- color: #3a87ad;
21
- background-color: #d9edf7;
22
- border-color: #bce8f1;
23
- }
24
-
25
  .valigntop{
26
  vertical-align: top !important;
27
  }
@@ -109,10 +102,11 @@
109
  }
110
 
111
  .mc4wp-notice{
112
- padding:5px;
113
  color: #31708f;
114
- background-color: #d9edf7;
115
- border:1px solid #bce8f1;
 
116
  }
117
 
118
  .mc4wp-col {
15
  box-sizing: border-box;
16
  }
17
 
 
 
 
 
 
 
 
18
  .valigntop{
19
  vertical-align: top !important;
20
  }
102
  }
103
 
104
  .mc4wp-notice{
105
+ padding: 6px 8px;
106
  color: #31708f;
107
+ background: #d9edf7;
108
+ border: 1px solid #bce8f1;
109
+ margin: 1em 0 !important;
110
  }
111
 
112
  .mc4wp-col {
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;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;background-color:#3276b1;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}.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}
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;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;background-color:#282828;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}.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}
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;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;background-color:#47a447;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}.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}
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;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;background-color:#ebebeb;border-color:#CCCCCC}
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}
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}.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;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;background-color:#d2322d;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}.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}
assets/js/admin.js CHANGED
@@ -11,6 +11,17 @@
11
  event.stopPropagation();
12
  });
13
 
 
 
 
 
 
 
 
 
 
 
 
14
  $(document).delegate('#mc4wpformmarkup', 'keydown', function(e) {
15
  var keyCode = e.keyCode || e.which;
16
 
11
  event.stopPropagation();
12
  });
13
 
14
+ (function() {
15
+ $lists = $("#mc4wp-lists :input");
16
+ $lists.change( toggleNotices );
17
+
18
+ function toggleNotices() {
19
+ var hasListSelected = $lists.filter(':checked').length > 0;
20
+ $(".mc4wp-notice.no-lists-selected").toggle( ! hasListSelected );
21
+ $('#mc4wp-fw-mailchimp-fields').toggle( hasListSelected );
22
+ }
23
+ })();
24
+
25
  $(document).delegate('#mc4wpformmarkup', 'keydown', function(e) {
26
  var keyCode = e.keyCode || e.which;
27
 
assets/sass/form-theme-blue.scss CHANGED
@@ -4,7 +4,7 @@
4
  .mc4wp-form input[type="submit"],
5
  .mc4wp-form button {
6
  color: #ffffff !important;
7
- background-color: #428bca;
8
  border-color: #357ebd;
9
  }
10
 
@@ -14,8 +14,8 @@
14
  .mc4wp-form button:active,
15
  .mc4wp-form input[type="submit"]:focus,
16
  .mc4wp-form button:focus {
17
- color: #ffffff;
18
- background-color: #3276b1;
19
  border-color: #285e8e;
20
  }
21
 
4
  .mc4wp-form input[type="submit"],
5
  .mc4wp-form button {
6
  color: #ffffff !important;
7
+ background-color: #428bca !important;
8
  border-color: #357ebd;
9
  }
10
 
14
  .mc4wp-form button:active,
15
  .mc4wp-form input[type="submit"]:focus,
16
  .mc4wp-form button:focus {
17
+ color: #ffffff !important;
18
+ background-color: #3276b1 !important;
19
  border-color: #285e8e;
20
  }
21
 
assets/sass/form-theme-dark.scss CHANGED
@@ -4,7 +4,7 @@
4
  .mc4wp-form input[type="submit"],
5
  .mc4wp-form button {
6
  color: #ffffff !important;
7
- background-color: #444444;
8
  border-color: #282828;
9
  }
10
 
@@ -14,8 +14,8 @@
14
  .mc4wp-form button:active,
15
  .mc4wp-form input[type="submit"]:focus,
16
  .mc4wp-form button:focus {
17
- color: #ffffff;
18
- background-color: #282828;
19
  border-color: #111111;
20
  }
21
 
@@ -27,4 +27,4 @@
27
  .mc4wp-form textarea:focus,
28
  .mc4wp-form select:focus {
29
  border-color: #444444;
30
- }
4
  .mc4wp-form input[type="submit"],
5
  .mc4wp-form button {
6
  color: #ffffff !important;
7
+ background-color: #444444 !important;
8
  border-color: #282828;
9
  }
10
 
14
  .mc4wp-form button:active,
15
  .mc4wp-form input[type="submit"]:focus,
16
  .mc4wp-form button:focus {
17
+ color: #ffffff !important;
18
+ background-color: #282828 !important;
19
  border-color: #111111;
20
  }
21
 
27
  .mc4wp-form textarea:focus,
28
  .mc4wp-form select:focus {
29
  border-color: #444444;
30
+ }
assets/sass/form-theme-green.scss CHANGED
@@ -4,7 +4,7 @@
4
  .mc4wp-form input[type="submit"],
5
  .mc4wp-form button {
6
  color: #ffffff !important;
7
- background-color: #5cb85c;
8
  border-color: #4cae4c;
9
  }
10
 
@@ -14,8 +14,8 @@
14
  .mc4wp-form button:active,
15
  .mc4wp-form input[type="submit"]:focus,
16
  .mc4wp-form button:focus {
17
- color: #ffffff;
18
- background-color: #47a447;
19
  border-color: #398439;
20
  }
21
 
4
  .mc4wp-form input[type="submit"],
5
  .mc4wp-form button {
6
  color: #ffffff !important;
7
+ background-color: #5cb85c !important;
8
  border-color: #4cae4c;
9
  }
10
 
14
  .mc4wp-form button:active,
15
  .mc4wp-form input[type="submit"]:focus,
16
  .mc4wp-form button:focus {
17
+ color: #ffffff !important;
18
+ background-color: #47a447 !important;
19
  border-color: #398439;
20
  }
21
 
assets/sass/form-theme-light.scss CHANGED
@@ -4,7 +4,7 @@
4
  .mc4wp-form input[type="submit"],
5
  .mc4wp-form button {
6
  color: #333333 !important;
7
- background-color: #ffffff;
8
  border-color: #E6E6E6;
9
  }
10
 
@@ -14,7 +14,7 @@
14
  .mc4wp-form button:active,
15
  .mc4wp-form input[type="submit"]:focus,
16
  .mc4wp-form button:focus {
17
- color: #E6E6E6;
18
- background-color: #ebebeb;
19
  border-color: #CCCCCC;
20
  }
4
  .mc4wp-form input[type="submit"],
5
  .mc4wp-form button {
6
  color: #333333 !important;
7
+ background-color: #ffffff !important;
8
  border-color: #E6E6E6;
9
  }
10
 
14
  .mc4wp-form button:active,
15
  .mc4wp-form input[type="submit"]:focus,
16
  .mc4wp-form button:focus {
17
+ color: #E6E6E6 !important;
18
+ background-color: #ebebeb !important;
19
  border-color: #CCCCCC;
20
  }
assets/sass/form-theme-red.scss CHANGED
@@ -1,12 +1,10 @@
1
  @import "form-reset";
2
  @import "form-theme-base";
3
 
4
-
5
-
6
  .mc4wp-form input[type="submit"],
7
  .mc4wp-form button {
8
  color: #ffffff !important;
9
- background-color: #d9534f;
10
  border-color: #d43f3a;
11
  }
12
 
@@ -16,8 +14,8 @@
16
  .mc4wp-form button:active,
17
  .mc4wp-form input[type="submit"]:focus,
18
  .mc4wp-form button:focus {
19
- color: #ffffff;
20
- background-color: #d2322d;
21
  border-color: #ac2925;
22
  }
23
 
1
  @import "form-reset";
2
  @import "form-theme-base";
3
 
 
 
4
  .mc4wp-form input[type="submit"],
5
  .mc4wp-form button {
6
  color: #ffffff !important;
7
+ background-color: #d9534f !important;
8
  border-color: #d43f3a;
9
  }
10
 
14
  .mc4wp-form button:active,
15
  .mc4wp-form input[type="submit"]:focus,
16
  .mc4wp-form button:focus {
17
+ color: #ffffff !important;
18
+ background-color: #d2322d !important;
19
  border-color: #ac2925;
20
  }
21
 
includes/class-admin.php CHANGED
@@ -32,7 +32,7 @@ class MC4WP_Lite_Admin
32
  add_filter( 'quicktags_settings', array( $this, 'set_quicktags_buttons' ), 10, 2 );
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: http://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=lite-plugin&utm_medium=link&utm_campaign=menu-upgrade-link");
37
  exit;
38
  }
@@ -154,22 +154,6 @@ class MC4WP_Lite_Admin
154
  // strip form tags (to prevent people from adding them)
155
  $settings['markup'] = preg_replace( '/<\/?form(.|\s)*?>/i', '', $settings['markup'] );
156
 
157
- // check if form contains EMAIL field
158
- // <(input|textarea)(?=[^>]*name="EMAIL")[^>]*>
159
- $search = preg_match( '/<(input|textarea)(?=[^>]*name="EMAIL")[^>]*>/i', $settings['markup'] );
160
- if( ! $search) {
161
- add_settings_error( 'mc4wp', 'mc4wp-form', sprintf( __( 'Your form should contain an EMAIL field. Example: <code>%s</code>', 'mailchimp-for-wp' ), '&lt;input type="email" name="EMAIL" /&gt;' ), 'updated' );
162
- }
163
-
164
- // check if form contains submit button
165
- // <(input|button)(?=[^>]*type="submit")[^>]*>
166
- $search = preg_match( '/<(input|button)(?=[^>]*type="submit")[^>]*>/i', $settings['markup'] );
167
- if( ! $search ) {
168
- add_settings_error( 'mc4wp', 'mc4wp-form', sprintf( __( 'Your form should contain a submit button. Example: <code>%s</code>', 'mailchimp-for-wp' ), '&lt;input type="submit" value="'. __( 'Sign Up', 'mailchimp-for-wp' ) .'" /&gt;' ), 'updated' );
169
- }
170
-
171
- // TODO: Check if form contains all the required form fields
172
-
173
  }
174
 
175
  return $settings;
@@ -275,6 +259,52 @@ class MC4WP_Lite_Admin
275
  $opts = mc4wp_get_options( 'form' );
276
  $lists = $this->get_mailchimp_lists();
277
  $tab = 'form-settings';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
278
  require MC4WP_LITE_PLUGIN_DIR . 'includes/views/form-settings.php';
279
  }
280
 
@@ -352,6 +382,23 @@ class MC4WP_Lite_Admin
352
  return $cached_lists;
353
  }
354
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
355
  /**
356
  * Build the group array object which will be stored in cache
357
  * @param object $group
32
  add_filter( 'quicktags_settings', array( $this, 'set_quicktags_buttons' ), 10, 2 );
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: http://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=lite-plugin&utm_medium=link&utm_campaign=menu-upgrade-link");
37
  exit;
38
  }
154
  // strip form tags (to prevent people from adding them)
155
  $settings['markup'] = preg_replace( '/<\/?form(.|\s)*?>/i', '', $settings['markup'] );
156
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  }
158
 
159
  return $settings;
259
  $opts = mc4wp_get_options( 'form' );
260
  $lists = $this->get_mailchimp_lists();
261
  $tab = 'form-settings';
262
+
263
+ // create array of missing form fields
264
+ $missing_form_fields = array();
265
+
266
+ // check if form contains EMAIL field
267
+ $search = preg_match( '/<(input|textarea)(?=[^>]*name="EMAIL")[^>]*>/i', $opts['markup'] );
268
+ if( ! $search) {
269
+ $missing_form_fields[] = sprintf( __( 'An EMAIL field. Example: <code>%s</code>', 'mailchimp-for-wp' ), '&lt;input type="email" name="EMAIL" /&gt;' );
270
+ }
271
+
272
+ // check if form contains submit button
273
+ $search = preg_match( '/<(input|button)(?=[^>]*type="submit")[^>]*>/i', $opts['markup'] );
274
+ if( ! $search ) {
275
+ $missing_form_fields[] = sprintf( __( 'A submit button. Example: <code>%s</code>', 'mailchimp-for-wp' ), '&lt;input type="submit" value="'. __( 'Sign Up', 'mailchimp-for-wp' ) .'" /&gt;' );
276
+ }
277
+
278
+ // loop through selected list ids
279
+ if( isset( $opts['lists'] ) && is_array( $opts['lists'] ) ) {
280
+
281
+ foreach( $opts['lists'] as $list_id ) {
282
+
283
+ // get list object
284
+ $list = $this->get_mailchimp_list( $list_id );
285
+ if( ! is_object( $list ) ) {
286
+ continue;
287
+ }
288
+
289
+ // loop through merge vars of this list
290
+ foreach( $list->merge_vars as $merge_var ) {
291
+
292
+ // if field is required, make sure it's in the form mark-up
293
+ if( ! $merge_var->req || $merge_var->tag === 'EMAIL' ) {
294
+ continue;
295
+ }
296
+
297
+ // search for field tag in form mark-up
298
+ $search = stristr( $opts['markup'], 'name="'. $merge_var->tag .'"' );
299
+ if( false === $search ) {
300
+ $missing_form_fields[] = sprintf( __( 'A \'%s\' field', 'mailchimp-for-wp' ), $merge_var->tag );
301
+ }
302
+
303
+ }
304
+
305
+ }
306
+ }
307
+
308
  require MC4WP_LITE_PLUGIN_DIR . 'includes/views/form-settings.php';
309
  }
310
 
382
  return $cached_lists;
383
  }
384
 
385
+ /**
386
+ * @param $list_id
387
+ *
388
+ * @return bool
389
+ */
390
+ private function get_mailchimp_list( $list_id ) {
391
+ $lists = $this->get_mailchimp_lists();
392
+
393
+ foreach( $lists as $list ) {
394
+ if( $list->id === $list_id ) {
395
+ return $list;
396
+ }
397
+ }
398
+
399
+ return false;
400
+ }
401
+
402
  /**
403
  * Build the group array object which will be stored in cache
404
  * @param object $group
includes/class-checkbox-manager.php CHANGED
@@ -8,13 +8,16 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
8
 
9
  class MC4WP_Lite_Checkbox_Manager
10
  {
11
-
 
 
 
 
12
  /**
13
  * Constructor
14
  */
15
  public function __construct()
16
  {
17
-
18
  $opts = mc4wp_get_options( 'checkbox' );
19
 
20
  // load checkbox css if necessary
@@ -23,37 +26,36 @@ class MC4WP_Lite_Checkbox_Manager
23
 
24
  // Load WP Comment Form Integration
25
  if ( $opts['show_at_comment_form'] ) {
26
- new MC4WP_Comment_Form_Integration();
27
  }
28
 
29
  // Load WordPress Registration Form Integration
30
  if ( $opts['show_at_registration_form'] ) {
31
- new MC4WP_Registration_Form_Integration();
32
  }
33
 
34
  // Load BuddyPress Integration
35
  if ( $opts['show_at_buddypress_form'] ) {
36
- new MC4WP_BuddyPress_Integration();
37
  }
38
 
39
  // Load MultiSite Integration
40
  if ( $opts['show_at_multisite_form'] ) {
41
- new MC4WP_MultiSite_Integration();
42
  }
43
 
44
  // Load bbPress Integration
45
  if ( $opts['show_at_bbpress_forms'] ) {
46
- new MC4WP_bbPress_Integration();
47
  }
48
 
49
  // Load CF7 Integration
50
  if( function_exists( 'wpcf7_add_shortcode' ) ) {
51
- new MC4WP_CF7_Integration();
52
  }
53
 
54
  // Always load General Integration
55
- new MC4WP_General_Integration();
56
-
57
  }
58
 
59
  /**
@@ -61,7 +63,7 @@ class MC4WP_Lite_Checkbox_Manager
61
  */
62
  public function load_stylesheet( ) {
63
 
64
- $opts = mc4wp_get_options('checkbox');
65
 
66
  if( $opts['css'] == false ) {
67
  return false;
8
 
9
  class MC4WP_Lite_Checkbox_Manager
10
  {
11
+ /**
12
+ * @var array Array holding all integration instances
13
+ */
14
+ public $integrations = array();
15
+
16
  /**
17
  * Constructor
18
  */
19
  public function __construct()
20
  {
 
21
  $opts = mc4wp_get_options( 'checkbox' );
22
 
23
  // load checkbox css if necessary
26
 
27
  // Load WP Comment Form Integration
28
  if ( $opts['show_at_comment_form'] ) {
29
+ $this->integrations['comment_form'] = new MC4WP_Comment_Form_Integration();
30
  }
31
 
32
  // Load WordPress Registration Form Integration
33
  if ( $opts['show_at_registration_form'] ) {
34
+ $this->integrations['registration_form'] = new MC4WP_Registration_Form_Integration();
35
  }
36
 
37
  // Load BuddyPress Integration
38
  if ( $opts['show_at_buddypress_form'] ) {
39
+ $this->integrations['buddypress_form'] = new MC4WP_BuddyPress_Integration();
40
  }
41
 
42
  // Load MultiSite Integration
43
  if ( $opts['show_at_multisite_form'] ) {
44
+ $this->integrations['multisite_form'] = new MC4WP_MultiSite_Integration();
45
  }
46
 
47
  // Load bbPress Integration
48
  if ( $opts['show_at_bbpress_forms'] ) {
49
+ $this->integrations['bbpress_forms'] = new MC4WP_bbPress_Integration();
50
  }
51
 
52
  // Load CF7 Integration
53
  if( function_exists( 'wpcf7_add_shortcode' ) ) {
54
+ $this->integrations['contact_form_7'] = new MC4WP_CF7_Integration();
55
  }
56
 
57
  // Always load General Integration
58
+ $this->integrations['general'] = new MC4WP_General_Integration();
 
59
  }
60
 
61
  /**
63
  */
64
  public function load_stylesheet( ) {
65
 
66
+ $opts = mc4wp_get_options( 'checkbox' );
67
 
68
  if( $opts['css'] == false ) {
69
  return false;
includes/class-form-manager.php CHANGED
@@ -104,22 +104,20 @@ class MC4WP_Lite_Form_Manager {
104
  */
105
  private function get_css_classes() {
106
 
107
- $css_classes = array(
108
- 'form',
109
- 'mc4wp-form'
110
- );
 
111
 
112
  if( $this->error !== '' ) {
113
  $css_classes[] = 'mc4wp-form-error';
114
  }
115
 
116
- if( $this->success ) {
117
  $css_classes[] = 'mc4wp-form-success';
118
  }
119
 
120
- // Allow devs to add CSS classes
121
- $css_classes = apply_filters( 'mc4wp_form_css_classes', $css_classes );
122
-
123
  return implode( ' ', $css_classes );
124
  }
125
 
@@ -369,7 +367,7 @@ class MC4WP_Lite_Form_Manager {
369
 
370
  // uppercase all variables
371
  $name = trim( strtoupper( $name ) );
372
- $value = ( is_scalar( $value ) ) ? trim( $value ) : $value;
373
 
374
  if( $name === 'EMAIL' && is_email($value) ) {
375
  // set the email address
@@ -393,7 +391,7 @@ class MC4WP_Lite_Form_Manager {
393
  if ( is_numeric( $grouping_id_or_name ) ) {
394
  $grouping['id'] = $grouping_id_or_name;
395
  } else {
396
- $grouping['name'] = $grouping_id_or_name;
397
  }
398
 
399
  // comma separated list should become an array
@@ -449,7 +447,6 @@ class MC4WP_Lite_Form_Manager {
449
  if( isset( $merge_vars['NAME'] ) && !isset( $merge_vars['FNAME'] ) && ! isset( $merge_vars['LNAME'] ) ) {
450
 
451
  $strpos = strpos($merge_vars['NAME'], ' ');
452
-
453
  if( $strpos !== false ) {
454
  $merge_vars['FNAME'] = substr($merge_vars['NAME'], 0, $strpos);
455
  $merge_vars['LNAME'] = substr($merge_vars['NAME'], $strpos);
104
  */
105
  private function get_css_classes() {
106
 
107
+ // Allow devs to add CSS classes
108
+ $css_classes = apply_filters( 'mc4wp_form_css_classes', array( 'form' ) );
109
+
110
+ // the following classes MUST be used
111
+ $css_classes[] = 'mc4wp-form';
112
 
113
  if( $this->error !== '' ) {
114
  $css_classes[] = 'mc4wp-form-error';
115
  }
116
 
117
+ if( $this->success === true ) {
118
  $css_classes[] = 'mc4wp-form-success';
119
  }
120
 
 
 
 
121
  return implode( ' ', $css_classes );
122
  }
123
 
367
 
368
  // uppercase all variables
369
  $name = trim( strtoupper( $name ) );
370
+ $value = ( is_scalar( $value ) ) ? trim( stripslashes( $value ) ) : $value;
371
 
372
  if( $name === 'EMAIL' && is_email($value) ) {
373
  // set the email address
391
  if ( is_numeric( $grouping_id_or_name ) ) {
392
  $grouping['id'] = $grouping_id_or_name;
393
  } else {
394
+ $grouping['name'] = stripslashes( $grouping_id_or_name );
395
  }
396
 
397
  // comma separated list should become an array
447
  if( isset( $merge_vars['NAME'] ) && !isset( $merge_vars['FNAME'] ) && ! isset( $merge_vars['LNAME'] ) ) {
448
 
449
  $strpos = strpos($merge_vars['NAME'], ' ');
 
450
  if( $strpos !== false ) {
451
  $merge_vars['FNAME'] = substr($merge_vars['NAME'], 0, $strpos);
452
  $merge_vars['LNAME'] = substr($merge_vars['NAME'], $strpos);
includes/class-plugin.php CHANGED
@@ -49,12 +49,6 @@ class MC4WP_Lite {
49
 
50
  // widget
51
  add_action( 'widgets_init', array( $this, 'register_widget' ) );
52
-
53
- if ( ! is_admin() ) {
54
- // frontend only
55
- include_once MC4WP_LITE_PLUGIN_DIR . 'includes/functions/template.php';
56
-
57
- }
58
  }
59
 
60
  /**
49
 
50
  // widget
51
  add_action( 'widgets_init', array( $this, 'register_widget' ) );
 
 
 
 
 
 
52
  }
53
 
54
  /**
includes/functions/template.php CHANGED
@@ -6,12 +6,18 @@ if( ! defined( "MC4WP_LITE_VERSION" ) ) {
6
  exit;
7
  }
8
 
 
9
  /**
10
  * Echoes a sign-up checkbox.
11
  */
12
  function mc4wp_checkbox() {
13
  global $mc4wp;
14
- $mc4wp->get_checkbox_manager()->output_checkbox();
 
 
 
 
 
15
  }
16
 
17
  /**
6
  exit;
7
  }
8
 
9
+
10
  /**
11
  * Echoes a sign-up checkbox.
12
  */
13
  function mc4wp_checkbox() {
14
  global $mc4wp;
15
+
16
+ if( ! isset( $mc4wp->get_checkbox_manager()->integrations['comment_form'] ) ) {
17
+ $mc4wp->get_checkbox_manager()->integrations['comment_form'] = new MC4WP_Comment_Form_Integration();
18
+ }
19
+
20
+ $mc4wp->get_checkbox_manager()->integrations['comment_form']->output_checkbox();
21
  }
22
 
23
  /**
includes/integrations/class-bbpress.php CHANGED
@@ -8,7 +8,9 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
8
  }
9
 
10
  class MC4WP_bbPress_Integration extends MC4WP_Integration {
11
-
 
 
12
  public function __construct() {
13
  add_action( 'bbp_theme_after_topic_form_subscriptions', array( $this, 'output_checkbox' ), 10 );
14
  add_action( 'bbp_theme_after_reply_form_subscription', array( $this, 'output_checkbox' ), 10 );
@@ -17,10 +19,6 @@ class MC4WP_bbPress_Integration extends MC4WP_Integration {
17
  add_action( 'bbp_new_reply', array( $this, 'subscribe_from_bbpress_new_reply' ), 10, 5 );
18
  }
19
 
20
- public function output_checkbox( $hook = '' ) {
21
- return parent::output_checkbox( 'bbpress_forms' );
22
- }
23
-
24
  /**
25
  * @param array $anonymous_data
26
  * @param int $user_id
8
  }
9
 
10
  class MC4WP_bbPress_Integration extends MC4WP_Integration {
11
+
12
+ protected $type = 'bbpress_forms';
13
+
14
  public function __construct() {
15
  add_action( 'bbp_theme_after_topic_form_subscriptions', array( $this, 'output_checkbox' ), 10 );
16
  add_action( 'bbp_theme_after_reply_form_subscription', array( $this, 'output_checkbox' ), 10 );
19
  add_action( 'bbp_new_reply', array( $this, 'subscribe_from_bbpress_new_reply' ), 10, 5 );
20
  }
21
 
 
 
 
 
22
  /**
23
  * @param array $anonymous_data
24
  * @param int $user_id
includes/integrations/class-buddypress.php CHANGED
@@ -8,19 +8,14 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
8
  }
9
 
10
  class MC4WP_BuddyPress_Integration extends MC4WP_Integration {
11
-
 
 
12
  public function __construct() {
13
  add_action( 'bp_before_registration_submit_buttons', array( $this, 'output_checkbox' ), 20 );
14
  add_action( 'bp_core_signup_user', array( $this, 'subscribe_from_buddypress' ), 10, 4 );
15
  }
16
 
17
- /**
18
- * Output checkbox for BuddyPress registration form
19
- */
20
- public function output_checkbox( $hook = '' ) {
21
- return parent::output_checkbox( 'buddypress_form' );
22
- }
23
-
24
  /**
25
  * Subscribes from BuddyPress Registration Form
26
  * @param int $user_id
8
  }
9
 
10
  class MC4WP_BuddyPress_Integration extends MC4WP_Integration {
11
+
12
+ protected $type = 'buddypress_form';
13
+
14
  public function __construct() {
15
  add_action( 'bp_before_registration_submit_buttons', array( $this, 'output_checkbox' ), 20 );
16
  add_action( 'bp_core_signup_user', array( $this, 'subscribe_from_buddypress' ), 10, 4 );
17
  }
18
 
 
 
 
 
 
 
 
19
  /**
20
  * Subscribes from BuddyPress Registration Form
21
  * @param int $user_id
includes/integrations/class-cf7.php CHANGED
@@ -9,12 +9,9 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
9
 
10
  class MC4WP_CF7_Integration extends MC4WP_General_Integration {
11
 
12
- protected $checkbox_name_value = '_mc4wp_subscribe';
13
 
14
  public function __construct() {
15
-
16
- $this->upgrade();
17
-
18
  add_action( 'init', array( $this, 'init') );
19
 
20
  add_action( 'wpcf7_mail_sent', array( $this, 'subscribe_from_cf7' ) );
@@ -38,13 +35,13 @@ class MC4WP_CF7_Integration extends MC4WP_General_Integration {
38
  /**
39
  * Alter Contact Form 7 data.
40
  *
41
- * Adds mc4wp_checkbox to post data so users can use `mcwp_checkbox` in their email templates
42
  *
43
  * @param array $data
44
  * @return array
45
  */
46
  public function alter_cf7_data( $data = array() ) {
47
- $data['mc4wp_checkbox'] = $this->checkbox_was_checked() ? __("Yes") : __("No");
48
  return $data;
49
  }
50
 
@@ -53,6 +50,7 @@ class MC4WP_CF7_Integration extends MC4WP_General_Integration {
53
  * @param array $args
54
  */
55
  public function subscribe_from_cf7( $args = null ) {
 
56
  // was sign-up checkbox checked?
57
  if ( $this->checkbox_was_checked() === false ) {
58
  return false;
9
 
10
  class MC4WP_CF7_Integration extends MC4WP_General_Integration {
11
 
12
+ protected $type = 'contact_form_7';
13
 
14
  public function __construct() {
 
 
 
15
  add_action( 'init', array( $this, 'init') );
16
 
17
  add_action( 'wpcf7_mail_sent', array( $this, 'subscribe_from_cf7' ) );
35
  /**
36
  * Alter Contact Form 7 data.
37
  *
38
+ * Adds mc4wp_checkbox to post data so users can use `mc4wp_checkbox` in their email templates
39
  *
40
  * @param array $data
41
  * @return array
42
  */
43
  public function alter_cf7_data( $data = array() ) {
44
+ $data['mc4wp_checkbox'] = $this->checkbox_was_checked() ? __( 'Yes' ) : __( 'No' );
45
  return $data;
46
  }
47
 
50
  * @param array $args
51
  */
52
  public function subscribe_from_cf7( $args = null ) {
53
+
54
  // was sign-up checkbox checked?
55
  if ( $this->checkbox_was_checked() === false ) {
56
  return false;
includes/integrations/class-comment-form.php CHANGED
@@ -7,7 +7,9 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
7
  }
8
 
9
  class MC4WP_Comment_Form_Integration extends MC4WP_Integration {
10
-
 
 
11
  public function __construct() {
12
  // hooks for outputting the checkbox
13
  add_action( 'thesis_hook_after_comment_box', array( $this, 'output_checkbox' ), 10 );
@@ -17,13 +19,6 @@ class MC4WP_Comment_Form_Integration extends MC4WP_Integration {
17
  add_action( 'comment_post', array( $this, 'subscribe_from_comment' ), 40, 2 );
18
  }
19
 
20
- /**
21
- * Outputs the checkbox for the comment form
22
- */
23
- public function output_checkbox( $hook = '' ) {
24
- return parent::output_checkbox( 'comment_form' );
25
- }
26
-
27
  /**
28
  * Grabs data from WP Comment Form
29
  *
@@ -50,6 +45,6 @@ class MC4WP_Comment_Form_Integration extends MC4WP_Integration {
50
  'OPTIN_IP' => $comment->comment_author_IP
51
  );
52
 
53
- return $this->subscribe( $email, $merge_vars, 'comment' );
54
  }
55
  }
7
  }
8
 
9
  class MC4WP_Comment_Form_Integration extends MC4WP_Integration {
10
+
11
+ protected $type = 'comment_form';
12
+
13
  public function __construct() {
14
  // hooks for outputting the checkbox
15
  add_action( 'thesis_hook_after_comment_box', array( $this, 'output_checkbox' ), 10 );
19
  add_action( 'comment_post', array( $this, 'subscribe_from_comment' ), 40, 2 );
20
  }
21
 
 
 
 
 
 
 
 
22
  /**
23
  * Grabs data from WP Comment Form
24
  *
45
  'OPTIN_IP' => $comment->comment_author_IP
46
  );
47
 
48
+ return $this->subscribe( $email, $merge_vars, 'comment', $comment_ID );
49
  }
50
  }
includes/integrations/class-general.php CHANGED
@@ -9,7 +9,8 @@ if( ! defined( "MC4WP_LITE_VERSION" ) ) {
9
 
10
  class MC4WP_General_Integration extends MC4WP_Integration {
11
 
12
- protected $checkbox_name_value = 'mc4wp-subscribe';
 
13
 
14
  /**
15
  * Constructor
@@ -19,19 +20,57 @@ class MC4WP_General_Integration extends MC4WP_Integration {
19
  $this->upgrade();
20
 
21
  // hook actions
22
- add_action( 'init', array( $this, 'try_subscribe' ) );
23
  }
24
 
25
  /**
26
  * Upgrade routine
27
- * - Handles name change of checkbox for third-party form integrations: mc4wp-try-subscribe > mc4wp-subscribe
28
  */
29
  public function upgrade() {
30
  // set new $_POST trigger value
31
  if( isset( $_POST['mc4wp-try-subscribe'] ) ) {
32
- $_POST[ $this->checkbox_name_value ] = 1;
33
  unset( $_POST['mc4wp-try-subscribe'] );
34
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  }
36
 
37
  /**
@@ -41,7 +80,7 @@ class MC4WP_General_Integration extends MC4WP_Integration {
41
  */
42
  public function try_subscribe( $trigger = 'other_form' ) {
43
 
44
- if ( $this->checkbox_was_checked() === false ) {
45
  return false;
46
  }
47
 
@@ -53,13 +92,12 @@ class MC4WP_General_Integration extends MC4WP_Integration {
53
 
54
  foreach( $_POST as $key => $value ) {
55
 
56
- // @todo sanitize value
57
-
58
- if( $key[0] === '_' || $key === $this->checkbox_name_value ) {
59
- continue;
60
  } elseif( strtolower( substr( $key, 0, 6 ) ) === 'mc4wp-' ) {
61
  // find extra fields which should be sent to MailChimp
62
  $key = strtoupper( substr( $key, 6 ) );
 
63
 
64
  switch( $key ) {
65
  case 'EMAIL':
@@ -77,7 +115,7 @@ class MC4WP_General_Integration extends MC4WP_Integration {
77
  if(is_numeric($grouping_id_or_name)) {
78
  $grouping['id'] = $grouping_id_or_name;
79
  } else {
80
- $grouping['name'] = $grouping_id_or_name;
81
  }
82
 
83
  // comma separated list should become an array
9
 
10
  class MC4WP_General_Integration extends MC4WP_Integration {
11
 
12
+
13
+ protected $type = 'general';
14
 
15
  /**
16
  * Constructor
20
  $this->upgrade();
21
 
22
  // hook actions
23
+ add_action( 'init', array( $this, 'maybe_subscribe'), 90 );
24
  }
25
 
26
  /**
27
  * Upgrade routine
 
28
  */
29
  public function upgrade() {
30
  // set new $_POST trigger value
31
  if( isset( $_POST['mc4wp-try-subscribe'] ) ) {
32
+ $_POST[ 'mc4wp-subscribe' ] = 1;
33
  unset( $_POST['mc4wp-try-subscribe'] );
34
  }
35
+
36
+ if( isset( $_POST['mc4wp-do-subscribe'] ) ) {
37
+ $_POST['mc4wp-subscribe'] = 1;
38
+ unset( $_POST['mc4wp-do-subscribe'] );
39
+ }
40
+ }
41
+
42
+ /**
43
+ * Maybe fire a general subscription request
44
+ */
45
+ public function maybe_subscribe() {
46
+ if ( $this->checkbox_was_checked() === false ) {
47
+ return;
48
+ }
49
+
50
+ // don't run if this is a CF7 request
51
+ // @todo handle this in a better way. noob.
52
+ if( isset( $_POST['_wpcf7'] ) ) {
53
+ return false;
54
+ }
55
+
56
+ $this->try_subscribe( 'other_form' );
57
+ }
58
+
59
+ /**
60
+ * @return boolean
61
+ */
62
+ public function checkbox_was_checked() {
63
+
64
+ // Check if honeypot was filled (by spam bots)
65
+ if( isset( $_POST['_mc4wp_required_but_not_really'] ) && ! empty( $_POST['_mc4wp_required_but_not_really'] ) ) {
66
+ return false;
67
+ }
68
+
69
+ if ( isset( $_POST[ '_mc4wp_subscribe' ] ) && $_POST[ '_mc4wp_subscribe' ] == 1 ) {
70
+ return true;
71
+ }
72
+
73
+ return ( isset( $_POST['mc4wp-subscribe'] ) && $_POST['mc4wp-subscribe'] == 1 );
74
  }
75
 
76
  /**
80
  */
81
  public function try_subscribe( $trigger = 'other_form' ) {
82
 
83
+ if ( $this->checkbox_was_checked() === false ) {
84
  return false;
85
  }
86
 
92
 
93
  foreach( $_POST as $key => $value ) {
94
 
95
+ if( $key[0] === '_' || $key === 'mc4wp-subscribe' ) {
96
+ continue;
 
 
97
  } elseif( strtolower( substr( $key, 0, 6 ) ) === 'mc4wp-' ) {
98
  // find extra fields which should be sent to MailChimp
99
  $key = strtoupper( substr( $key, 6 ) );
100
+ $value = ( is_scalar( $value ) ) ? trim( $value ) : $value;
101
 
102
  switch( $key ) {
103
  case 'EMAIL':
115
  if(is_numeric($grouping_id_or_name)) {
116
  $grouping['id'] = $grouping_id_or_name;
117
  } else {
118
+ $grouping['name'] = stripslashes( $grouping_id_or_name );
119
  }
120
 
121
  // comma separated list should become an array
includes/integrations/class-integration.php CHANGED
@@ -8,8 +8,10 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
8
 
9
  abstract class MC4WP_Integration {
10
 
11
- protected $checkbox_name_value = '_mc4wp_subscribe';
12
-
 
 
13
  /**
14
  * Constructor
15
  */
@@ -33,28 +35,27 @@ abstract class MC4WP_Integration {
33
  *
34
  * @param string $hook
35
  */
36
- public function output_checkbox( $hook = '' ) {
37
- echo $this->get_checkbox( $hook );
38
  }
39
 
40
  /**
41
  * @param mixed $hook Array or string
42
  * @return string
43
  */
44
- public function get_checkbox( $hook = '' ) {
45
 
46
- $args = $hook;
47
  $opts = mc4wp_get_options( 'checkbox' );
48
 
49
  $checked = $opts['precheck'] ? "checked" : '';
50
 
51
  // set label text
52
- if ( $hook && is_string( $hook ) && isset( $opts['text_'.$hook.'_label'] ) && !empty( $opts['text_'.$hook.'_label'] ) ) {
53
- // custom label text was set
54
- $label = __( $opts['text_' . $hook . '_label'] );
55
- } elseif ( $args && is_array( $args ) && isset( $args['labels'][0] ) ) {
56
  // cf 7 shortcode
57
  $label = $args['labels'][0];
 
 
 
58
  } else {
59
  // default label text
60
  $label = __( $opts['label'] );
@@ -75,11 +76,11 @@ abstract class MC4WP_Integration {
75
 
76
  }
77
 
78
- // add starting debug marker
79
- $content = "\n<!-- MailChimp for WordPress v". MC4WP_LITE_VERSION ." - http://wordpress.org/plugins/mailchimp-for-wp/ -->\n";
80
 
81
  do_action( 'mc4wp_before_checkbox' );
82
 
 
83
  $content .= '<p id="mc4wp-checkbox">';
84
  $content .= '<label>';
85
  $content .= '<input type="checkbox" name="' . esc_attr( $this->checkbox_name_value ) . '" value="1" '. $checked . ' /> ';
@@ -87,16 +88,41 @@ abstract class MC4WP_Integration {
87
  $content .= '</label>';
88
  $content .= '</p>';
89
 
 
90
  $content .= '<textarea type="text" name="_mc4wp_required_but_not_really" style="display: none !important;"></textarea>';
91
 
92
  do_action( 'mc4wp_after_checkbox' );
93
 
94
- // add ending debug marker
95
- $content .= "\n<!-- / MailChimp for WordPress -->\n";
96
-
97
  return $content;
98
  }
99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  /**
101
  * Makes a subscription request
102
  *
@@ -106,24 +132,26 @@ abstract class MC4WP_Integration {
106
  * @param int $comment_ID
107
  * @return boolean
108
  */
109
- protected function subscribe( $email, array $merge_vars = array(), $signup_type = 'comment' ) {
 
110
  $api = mc4wp_get_api();
111
  $opts = mc4wp_get_options( 'checkbox' );
 
112
 
113
- if( ! isset( $opts['lists'] ) || empty( $opts['lists'] ) ) {
114
- if( ( ! defined( "DOING_AJAX" ) || ! DOING_AJAX ) && current_user_can( 'manage_options' ) ) {
115
  wp_die('
116
- <h3>MailChimp for WordPress - Error</h3>
117
- <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>
118
  <p style="font-style:italic; font-size:12px;">This message is only visible to administrators for debugging purposes.</p>
119
- ', "Error - MailChimp for WP", array( 'back_link' => true ) );
120
  }
121
 
122
  return 'no_lists_selected';
123
  }
124
 
125
  // maybe guess first and last name
126
- if ( isset( $merge_vars['NAME'] ) && ! isset( $merge_vars['FNAME'] ) && ! isset( $merge_vars['LNAME'] ) ) {
127
 
128
  $strpos = strpos( $merge_vars['NAME'], ' ' );
129
  if ( $strpos !== false ) {
@@ -137,18 +165,22 @@ abstract class MC4WP_Integration {
137
  $result = false;
138
  $merge_vars = apply_filters( 'mc4wp_merge_vars', $merge_vars, $signup_type );
139
  $email_type = apply_filters( 'mc4wp_email_type', 'html' );
140
- $lists = apply_filters( 'mc4wp_lists', $opts['lists'], $merge_vars );
141
 
142
  do_action( 'mc4wp_before_subscribe', $email, $merge_vars );
143
 
144
- foreach( $lists as $list_ID ) {
145
- $result = $api->subscribe( $list_ID, $email, $merge_vars, $email_type, $opts['double_optin'], false, true, $opts['send_welcome'] );
146
  }
147
 
148
  do_action( 'mc4wp_after_subscribe', $email, $merge_vars, $result );
149
 
 
 
 
 
 
150
  // check if result succeeded, show debug message to administrators (only in NON-AJAX requests)
151
- if ( $result !== true && $api->has_error() && current_user_can( 'manage_options' ) && ( ! defined( "DOING_AJAX" ) || ! DOING_AJAX ) ) {
152
  wp_die( "<h3>MailChimp for WP - Error</h3>
153
  <p>The MailChimp server returned the following error message as a response to our sign-up request:</p>
154
  <pre>" . $api->get_error_message() . "</pre>
@@ -157,11 +189,10 @@ abstract class MC4WP_Integration {
157
  <pre>{$email}</pre>
158
  <strong>Merge variables</strong>
159
  <pre>" . print_r( $merge_vars, true ) . "</pre>
160
- <p style=\"font-style:italic; font-size:12px; \">This message is only visible to administrators for debugging purposes.</p>
161
  ", "Error - MailChimp for WP", array( 'back_link' => true ) );
162
  }
163
 
164
-
165
  return $result;
166
  }
167
  }
8
 
9
  abstract class MC4WP_Integration {
10
 
11
+ protected $checkbox_name_value = '_mc4wp_subscribe';
12
+
13
+ protected $type = 'integration';
14
+
15
  /**
16
  * Constructor
17
  */
35
  *
36
  * @param string $hook
37
  */
38
+ public function output_checkbox() {
39
+ echo $this->get_checkbox();
40
  }
41
 
42
  /**
43
  * @param mixed $hook Array or string
44
  * @return string
45
  */
46
+ public function get_checkbox( $args = array() ) {
47
 
 
48
  $opts = mc4wp_get_options( 'checkbox' );
49
 
50
  $checked = $opts['precheck'] ? "checked" : '';
51
 
52
  // set label text
53
+ if ( isset( $args['labels'][0] ) ) {
 
 
 
54
  // cf 7 shortcode
55
  $label = $args['labels'][0];
56
+ } else if ( isset( $opts['text_' . $this->type . '_label'] ) && ! empty( $opts['text_' . $this->type . '_label'] ) ) {
57
+ // custom label text was set
58
+ $label = __( $opts['text_' . $this->type . '_label'] );
59
  } else {
60
  // default label text
61
  $label = __( $opts['label'] );
76
 
77
  }
78
 
79
+ $content = "\n<!-- MailChimp for WP v". MC4WP_LITE_VERSION ." -->\n";
 
80
 
81
  do_action( 'mc4wp_before_checkbox' );
82
 
83
+ // checkbox
84
  $content .= '<p id="mc4wp-checkbox">';
85
  $content .= '<label>';
86
  $content .= '<input type="checkbox" name="' . esc_attr( $this->checkbox_name_value ) . '" value="1" '. $checked . ' /> ';
88
  $content .= '</label>';
89
  $content .= '</p>';
90
 
91
+ // honeypot
92
  $content .= '<textarea type="text" name="_mc4wp_required_but_not_really" style="display: none !important;"></textarea>';
93
 
94
  do_action( 'mc4wp_after_checkbox' );
95
 
 
 
 
96
  return $content;
97
  }
98
 
99
+ /**
100
+ * @return array
101
+ */
102
+ protected function get_lists() {
103
+
104
+ // get checkbox lists options
105
+ $opts = mc4wp_get_options( 'checkbox' );
106
+ $lists = $opts['lists'];
107
+
108
+ // get lists from form, if set.
109
+ if( isset( $_POST['_mc4wp_lists'] ) && ! empty( $_POST['_mc4wp_lists'] ) ) {
110
+
111
+ $lists = $_POST['_mc4wp_lists'];
112
+
113
+ // make sure lists is an array
114
+ if( ! is_array( $lists ) ) {
115
+ $lists = array( $lists );
116
+ }
117
+
118
+ }
119
+
120
+ // allow plugins to filter final
121
+ $lists = apply_filters( 'mc4wp_lists', $lists );
122
+
123
+ return $lists;
124
+ }
125
+
126
  /**
127
  * Makes a subscription request
128
  *
132
  * @param int $comment_ID
133
  * @return boolean
134
  */
135
+ protected function subscribe( $email, array $merge_vars = array(), $signup_type = 'comment', $comment_id = null ) {
136
+
137
  $api = mc4wp_get_api();
138
  $opts = mc4wp_get_options( 'checkbox' );
139
+ $lists = $this->get_lists();
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
+ ', 'Error - MailChimp for WP', array( 'back_link' => true ) );
148
  }
149
 
150
  return 'no_lists_selected';
151
  }
152
 
153
  // maybe guess first and last name
154
+ if ( isset( $merge_vars['NAME'] ) && !isset( $merge_vars['FNAME'] ) && !isset( $merge_vars['LNAME'] ) ) {
155
 
156
  $strpos = strpos( $merge_vars['NAME'], ' ' );
157
  if ( $strpos !== false ) {
165
  $result = false;
166
  $merge_vars = apply_filters( 'mc4wp_merge_vars', $merge_vars, $signup_type );
167
  $email_type = apply_filters( 'mc4wp_email_type', 'html' );
 
168
 
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, $opts['send_welcome'] );
173
  }
174
 
175
  do_action( 'mc4wp_after_subscribe', $email, $merge_vars, $result );
176
 
177
+ if ( $result === true ) {
178
+ $from_url = ( isset($_SERVER['HTTP_REFERER'] ) ) ? $_SERVER['HTTP_REFERER'] : '';
179
+ do_action( 'mc4wp_subscribe_checkbox', $email, $lists, $signup_type, $merge_vars, $comment_id, $from_url );
180
+ }
181
+
182
  // check if result succeeded, show debug message to administrators (only in NON-AJAX requests)
183
+ if ( $result !== true && $api->has_error() && current_user_can( 'manage_options' ) && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) && ( ! isset( $_POST['_wpcf7_is_ajax_call'] ) || $_POST['_wpcf7_is_ajax_call'] != 1 ) ) {
184
  wp_die( "<h3>MailChimp for WP - Error</h3>
185
  <p>The MailChimp server returned the following error message as a response to our sign-up request:</p>
186
  <pre>" . $api->get_error_message() . "</pre>
189
  <pre>{$email}</pre>
190
  <strong>Merge variables</strong>
191
  <pre>" . print_r( $merge_vars, true ) . "</pre>
192
+ <p><small>This message is only visible to administrators for debugging purposes.</small></p>
193
  ", "Error - MailChimp for WP", array( 'back_link' => true ) );
194
  }
195
 
 
196
  return $result;
197
  }
198
  }
includes/integrations/class-multisite.php CHANGED
@@ -8,7 +8,9 @@ if( ! defined("MC4WP_LITE_VERSION" ) ) {
8
  }
9
 
10
  class MC4WP_MultiSite_Integration extends MC4WP_Integration {
11
-
 
 
12
  public function __construct() {
13
  add_action( 'signup_extra_fields', array( $this, 'output_checkbox' ), 20 );
14
  add_action( 'signup_blogform', array( $this, 'add_multisite_hidden_checkbox' ), 20 );
@@ -18,13 +20,6 @@ class MC4WP_MultiSite_Integration extends MC4WP_Integration {
18
  add_filter( 'add_signup_meta', array( $this, 'add_multisite_usermeta' ) );
19
  }
20
 
21
- /**
22
- * Output sign-up checkbox for MultiSite registration form
23
- */
24
- public function output_checkbox( $hook = '' ) {
25
- return parent::output_checkbox( 'multsite_form' );
26
- }
27
-
28
  /**
29
  * Add hidden checkbox to 2nd MultiSite registration form
30
  */
8
  }
9
 
10
  class MC4WP_MultiSite_Integration extends MC4WP_Integration {
11
+
12
+ protected $type = 'multisite_form';
13
+
14
  public function __construct() {
15
  add_action( 'signup_extra_fields', array( $this, 'output_checkbox' ), 20 );
16
  add_action( 'signup_blogform', array( $this, 'add_multisite_hidden_checkbox' ), 20 );
20
  add_filter( 'add_signup_meta', array( $this, 'add_multisite_usermeta' ) );
21
  }
22
 
 
 
 
 
 
 
 
23
  /**
24
  * Add hidden checkbox to 2nd MultiSite registration form
25
  */
includes/integrations/class-registration-form.php CHANGED
@@ -8,19 +8,14 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
8
  }
9
 
10
  class MC4WP_Registration_Form_Integration extends MC4WP_Integration {
11
-
 
 
12
  public function __construct() {
13
  add_action( 'register_form', array( $this, 'output_checkbox' ), 20 );
14
  add_action( 'user_register', array( $this, 'subscribe_from_registration' ), 90, 1 );
15
  }
16
 
17
- /**
18
- * Outputs the registration form checkbox
19
- */
20
- public function output_checkbox( $hook = '' ) {
21
- return parent::output_checkbox( 'registration_form' );
22
- }
23
-
24
  /**
25
  * Subscribes from WP Registration Form
26
  *
8
  }
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 );
17
  }
18
 
 
 
 
 
 
 
 
19
  /**
20
  * Subscribes from WP Registration Form
21
  *
includes/views/form-settings.php CHANGED
@@ -48,15 +48,17 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
48
  ?><td colspan="2"><?php printf( __( 'No lists found, %sare you connected to MailChimp?%s', 'mailchimp-for-wp' ), '<a href="'. admin_url( 'admin.php?page=mc4wp-lite' ) .'">', '</a>' ); ?></td><?php
49
  } else { ?>
50
  <td>
 
51
  <ul id="mc4wp-lists">
52
  <?php foreach($lists as $list) { ?>
53
  <li>
54
  <label>
55
- <input type="checkbox" name="mc4wp_lite_form[lists][<?php echo esc_attr( $list->id ); ?>]" value="<?php echo esc_attr($list->id); ?>" data-list-groupings="<?php echo esc_attr(json_encode($list->interest_groupings)); ?>" data-list-fields="<?php echo esc_attr(json_encode($list->merge_vars)); ?>" <?php if(array_key_exists($list->id, $opts['lists'])) echo 'checked="checked"'; ?>> <?php echo esc_html( $list->name ); ?>
56
  </label>
57
  </li>
58
  <?php } ?>
59
  </ul>
 
60
  </td>
61
  <td class="desc"><?php _e( 'Select the list(s) to which people who submit this form should be subscribed.' ,'mailchimp-for-wp' ); ?></td>
62
  <?php } ?>
@@ -65,13 +67,27 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
65
  <tr valign="top">
66
  <td colspan="3">
67
  <h4><?php _e( 'Form mark-up', 'mailchimp-for-wp' ); ?></h4>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  <div class="mc4wp-wrapper">
69
  <div class="mc4wp-col mc4wp-first">
70
  <?php
71
  if( function_exists( 'wp_editor' ) ) {
72
  wp_editor( esc_textarea( $opts['markup'] ), 'mc4wpformmarkup', array( 'tinymce' => false, 'media_buttons' => true, 'textarea_name' => 'mc4wp_lite_form[markup]'));
73
  } else {
74
- ?><textarea class="widefat" cols="160" rows="20" id="mc4wpformmarkup" name="mc4wp_lite_form[markup]"><?php echo esc_textarea($opts['markup']); ?></textarea><?php
75
  } ?>
76
  <p class="mc4wp-form-usage"><?php printf( __( 'Use the shortcode %s to display this form inside a post, page or text widget.' ,'mailchimp-for-wp' ), '<input type="text" onfocus="this.select();" readonly="readonly" value="[mc4wp_form]" class="mc4wp-shortcode-example">' ); ?></p>
77
  </div>
48
  ?><td colspan="2"><?php printf( __( 'No lists found, %sare you connected to MailChimp?%s', 'mailchimp-for-wp' ), '<a href="'. admin_url( 'admin.php?page=mc4wp-lite' ) .'">', '</a>' ); ?></td><?php
49
  } else { ?>
50
  <td>
51
+
52
  <ul id="mc4wp-lists">
53
  <?php foreach($lists as $list) { ?>
54
  <li>
55
  <label>
56
+ <input type="checkbox" name="mc4wp_lite_form[lists][<?php echo esc_attr( $list->id ); ?>]" value="<?php echo esc_attr( $list->id ); ?>" data-list-groupings="<?php echo esc_attr(json_encode($list->interest_groupings)); ?>" data-list-fields="<?php echo esc_attr(json_encode($list->merge_vars)); ?>" <?php if(array_key_exists($list->id, $opts['lists'])) echo 'checked="checked"'; ?>> <?php echo esc_html( $list->name ); ?>
57
  </label>
58
  </li>
59
  <?php } ?>
60
  </ul>
61
+
62
  </td>
63
  <td class="desc"><?php _e( 'Select the list(s) to which people who submit this form should be subscribed.' ,'mailchimp-for-wp' ); ?></td>
64
  <?php } ?>
67
  <tr valign="top">
68
  <td colspan="3">
69
  <h4><?php _e( 'Form mark-up', 'mailchimp-for-wp' ); ?></h4>
70
+
71
+ <?php if ( ! empty( $missing_form_fields ) ) {
72
+
73
+ ?><p class="mc4wp-notice missing-form-fields"><?php
74
+
75
+ echo __( 'Your form is missing the following (required) form fields:', 'mailchimp-for-wp') . ' <br /><br />';
76
+
77
+ foreach( $missing_form_fields as $missing_field ) {
78
+ echo '- ' . $missing_field . '<br />';
79
+ }
80
+ ?></p><?php
81
+
82
+ } ?>
83
+
84
  <div class="mc4wp-wrapper">
85
  <div class="mc4wp-col mc4wp-first">
86
  <?php
87
  if( function_exists( 'wp_editor' ) ) {
88
  wp_editor( esc_textarea( $opts['markup'] ), 'mc4wpformmarkup', array( 'tinymce' => false, 'media_buttons' => true, 'textarea_name' => 'mc4wp_lite_form[markup]'));
89
  } else {
90
+ ?><textarea class="widefat" cols="160" rows="20" id="mc4wpformmarkup" name="mc4wp_lite_form[markup]"><?php echo esc_textarea( $opts['markup'] ); ?></textarea><?php
91
  } ?>
92
  <p class="mc4wp-form-usage"><?php printf( __( 'Use the shortcode %s to display this form inside a post, page or text widget.' ,'mailchimp-for-wp' ), '<input type="text" onfocus="this.select();" readonly="readonly" value="[mc4wp_form]" class="mc4wp-shortcode-example">' ); ?></p>
93
  </div>
includes/views/parts/admin-field-wizard.php CHANGED
@@ -9,11 +9,6 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
9
 
10
  <h4 class="mc4wp-title"><?php _e( 'Add a new field', 'mailchimp-for-wp' ); ?></h4>
11
 
12
-
13
- <p class="mc4wp-notice no-lists-selected" <?php if(!empty($opts['lists'])) { ?>style="display: none;" <?php } ?>>
14
- <?php _e( 'Select at least one list first.', 'mailchimp-for-wp' ); ?>
15
- </p>
16
-
17
  <p><?php _e( 'Use the tool below to generate the HTML for your form fields.', 'mailchimp-for-wp' ); ?></p>
18
  <p>
19
  <select class="widefat" id="mc4wp-fw-mailchimp-fields">
@@ -68,4 +63,9 @@ if( ! defined("MC4WP_LITE_VERSION") ) {
68
  </p>
69
 
70
  </div>
 
 
 
 
 
71
  </div>
9
 
10
  <h4 class="mc4wp-title"><?php _e( 'Add a new field', 'mailchimp-for-wp' ); ?></h4>
11
 
 
 
 
 
 
12
  <p><?php _e( 'Use the tool below to generate the HTML for your form fields.', 'mailchimp-for-wp' ); ?></p>
13
  <p>
14
  <select class="widefat" id="mc4wp-fw-mailchimp-fields">
63
  </p>
64
 
65
  </div>
66
+
67
+ <p class="mc4wp-notice no-lists-selected" <?php if(!empty($opts['lists'])) { ?>style="display: none;" <?php } ?>>
68
+ <?php _e( 'Select at least one list first.', 'mailchimp-for-wp' ); ?>
69
+ </p>
70
+
71
  </div>
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="http://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>
6
  }
7
  ?>
8
  <br style="clear:both;" />
9
+ <p class="help">Enjoying this plugin? <a href="http://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="http://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,14 +16,14 @@ 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 &#9733;&#9733;&#9733;&#9733;&#9733; 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="http://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>
23
  <div class="mc4wp-box">
24
  <h4 class="mc4wp-title">About the developer</h4>
25
  <p>My name is <a href="http://dannyvankooten.com/?utm_source=lite-plugin&utm_medium=link&utm_campaign=about">Danny van Kooten</a>. I develop WordPress plugins which help you build your websites. I love simplicity, happy customers and clean code.</p>
26
- <p>Take a look at my other <a href="http://dannyvankooten.com/wordpress-plugins/?utm_source=lite-plugin&utm_medium=link&utm_campaign=about">plugins for WordPress</a> or <em>like</em> my Facebook page to stay updated.</p>
27
  <p><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2FCodeToTheChase&amp;width&amp;layout=standard&amp;action=like&amp;show_faces=true&amp;share=false&amp;appId=225994527565061" scrolling="no" frameborder="0" style="border:none; width: 100%; overflow:hidden; height: 80px;" allowTransparency="true"></iframe></p>
28
  <p>You should follow me on Twitter <a href="http://twitter.com/dannyvankooten">here</a>.</p>
29
  </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="http://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 &#9733;&#9733;&#9733;&#9733;&#9733; 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="http://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>
23
  <div class="mc4wp-box">
24
  <h4 class="mc4wp-title">About the developer</h4>
25
  <p>My name is <a href="http://dannyvankooten.com/?utm_source=lite-plugin&utm_medium=link&utm_campaign=about">Danny van Kooten</a>. I develop WordPress plugins which help you build your websites. I love simplicity, happy customers and clean code.</p>
26
+ <p>Take a look at my other <a href="http://dannyvankooten.com/wordpress-plugins/#utm_source=lite-plugin&utm_medium=link&utm_campaign=about">plugins for WordPress</a> or <em>like</em> my Facebook page to stay updated.</p>
27
  <p><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2FCodeToTheChase&amp;width&amp;layout=standard&amp;action=like&amp;show_faces=true&amp;share=false&amp;appId=225994527565061" scrolling="no" frameborder="0" style="border:none; width: 100%; overflow:hidden; height: 80px;" allowTransparency="true"></iframe></p>
28
  <p>You should follow me on Twitter <a href="http://twitter.com/dannyvankooten">here</a>.</p>
29
  </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="http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=lite-plugin&utm_medium=link&utm_campaign=upgrade-box">More information about MailChimp for WP Pro &raquo;</a></p>
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="http://dannyvankooten.com/mailchimp-for-wordpress/#utm_source=lite-plugin&utm_medium=link&utm_campaign=upgrade-box">More information about MailChimp for WP Pro &raquo;</a></p>
16
  </div>
languages/mailchimp-for-wp-es_ES.mo CHANGED
Binary file
languages/mailchimp-for-wp-es_ES.po CHANGED
@@ -2,14 +2,14 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: MailChimp for WordPress\n"
4
  "POT-Creation-Date: 2014-05-14 22:19+0100\n"
5
- "PO-Revision-Date: 2014-05-14 22:19+0100\n"
6
  "Last-Translator: Danny <hi@dannyvankooten.com>\n"
7
  "Language-Team: Danny van Kooten <hi@dannyvankooten.com>\n"
8
  "Language: en_EN\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.5\n"
13
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SearchPath-0: ..\n"
@@ -20,23 +20,23 @@ msgstr "Configuración"
20
 
21
  #: ../includes/class-admin.php:197
22
  msgid "Documentation"
23
- msgstr ""
24
 
25
  #: ../includes/class-admin.php:209
26
  msgid "Save Form"
27
- msgstr ""
28
 
29
  #: ../includes/class-admin.php:211
30
  msgid "Update Form"
31
- msgstr ""
32
 
33
  #: ../includes/class-admin.php:248
34
  msgid "Your email address"
35
- msgstr "Tu dirección de correo"
36
 
37
  #: ../includes/class-admin.php:249
38
  msgid "Email address"
39
- msgstr "Tu dirección de correo"
40
 
41
  #: ../includes/class-admin.php:250
42
  msgid "Sign up"
@@ -44,33 +44,33 @@ msgstr "Registro"
44
 
45
  #: ../includes/class-admin.php:261
46
  msgid "Back to general form settings"
47
- msgstr ""
48
 
49
  #: ../includes/class-admin.php:263
50
  msgid "Form updated."
51
- msgstr ""
52
 
53
  #: ../includes/class-admin.php:264
54
  msgid "Form saved."
55
- msgstr ""
56
 
57
  #: ../includes/class-admin.php:321
58
- #, fuzzy
59
  msgid "Form settings"
60
- msgstr "Ajustes del formulario"
61
 
62
  #: ../includes/class-admin.php:322
63
- #, fuzzy
64
  msgid "Optional settings"
65
- msgstr "Ajustes del formulario"
66
 
67
  #: ../includes/class-admin.php:323
68
  msgid "Form variables"
69
- msgstr ""
70
 
71
  #: ../includes/class-admin.php:357
72
  msgid "Use the following variables to add some dynamic content to your form."
73
  msgstr ""
 
 
74
 
75
  #: ../includes/class-admin.php:497
76
  #, php-format
@@ -78,11 +78,14 @@ msgid ""
78
  "Couldn't create the stylesheet. Manually add the generated CSS to your theme "
79
  "stylesheet by using the %sTheme Editor%s or use FTP and edit <em>%s</em>."
80
  msgstr ""
 
 
 
81
 
82
  #: ../includes/class-admin.php:498
83
  #, php-format
84
  msgid "%sShow CSS%s"
85
- msgstr ""
86
 
87
  #: ../includes/class-admin.php:507
88
  #, php-format
@@ -90,31 +93,31 @@ msgid ""
90
  "To apply these styles on your website, select \"load custom form styles\" in "
91
  "the %sform settings%s"
92
  msgstr ""
 
 
93
 
94
  #: ../includes/class-admin.php:508
95
  #, php-format
96
  msgid "The %sCSS Stylesheet%s has been created."
97
- msgstr ""
98
 
99
  #: ../includes/class-admin.php:524
100
- #, fuzzy
101
  msgid "General Settings"
102
- msgstr "Ajustes del formulario"
103
 
104
  #: ../includes/class-admin.php:525
105
- #, fuzzy
106
  msgid "Checkboxes"
107
- msgstr "Configuración de las casillas de verificación"
108
 
109
  #: ../includes/class-admin.php:526
110
  #: ../includes/views/pages/admin-form-settings.php:10
111
  msgid "Forms"
112
- msgstr ""
113
 
114
  #: ../includes/class-admin.php:527
115
  #: ../includes/views/pages/admin-reports.php:10
116
  msgid "Reports"
117
- msgstr ""
118
 
119
  #: ../includes/class-admin.php:596
120
  msgid "Comment form"
@@ -135,7 +138,7 @@ msgstr "Regitro BuddyPress"
135
  #: ../includes/class-admin.php:613 ../includes/class-admin.php:617
136
  #, php-format
137
  msgid "%s checkout"
138
- msgstr ""
139
 
140
  #: ../includes/class-admin.php:653
141
  #, php-format
@@ -143,6 +146,8 @@ msgid ""
143
  "Please make sure the plugin is connected to MailChimp. <a href=\"%s"
144
  "\">Provide a valid API key.</a>"
145
  msgstr ""
 
 
146
 
147
  #: ../includes/class-admin.php:792
148
  #, php-format
@@ -151,11 +156,13 @@ msgid ""
151
  "settings you had set in the Lite version, please <a href=\"%s\">deactivate "
152
  "it now</a> to prevent problems"
153
  msgstr ""
 
 
 
154
 
155
  #: ../includes/class-admin.php:865
156
- #, fuzzy
157
  msgid "Renewed MailChimp cache."
158
- msgstr "Renovar las listas de MailChimp"
159
 
160
  #: ../includes/class-admin.php:867
161
  msgid "Failed to renew MailChimp cache - please try again later."
@@ -167,12 +174,16 @@ msgstr ""
167
  #, php-format
168
  msgid "<strong>Error:</strong> Please specify a form ID. Example: %s."
169
  msgstr ""
 
 
170
 
171
  #: ../includes/class-form-manager.php:261
172
  msgid ""
173
  "<strong>Error:</strong> Sign-up form not found. Please check if you used the "
174
  "correct form ID."
175
  msgstr ""
 
 
176
 
177
  #: ../includes/class-form-manager.php:370
178
  #, php-format
@@ -181,27 +192,32 @@ msgid ""
181
  "for this form. <a target=\"_top\" href=\"%s\">Edit this sign-up form</a> and "
182
  "select at least one list."
183
  msgstr ""
 
 
 
184
 
185
  #: ../includes/class-form-manager.php:833
186
  msgid "New Sign-Up"
187
- msgstr ""
188
 
189
  #: ../includes/class-form-manager.php:834
190
  #, php-format
191
  msgid "<strong>%s</strong> signed-up at %s on %s using the form \"%s\"."
192
  msgstr ""
 
 
193
 
194
  #: ../includes/class-form-manager.php:873
195
  msgid "This email was auto-sent by the MailChimp for WordPress plugin."
196
- msgstr ""
197
 
198
  #: ../includes/class-widget.php:20
199
  msgid "MailChimp for WP Form"
200
- msgstr ""
201
 
202
  #: ../includes/class-widget.php:21
203
  msgid "Displays one of your MailChimp for WordPress sign-up forms"
204
- msgstr ""
205
 
206
  #: ../includes/class-widget.php:39
207
  #, php-format
@@ -209,6 +225,8 @@ msgid ""
209
  "Please select the sign-up form you'd like to show here in the <a href=\"%s"
210
  "\">widget settings</a>."
211
  msgstr ""
 
 
212
 
213
  #: ../includes/class-widget.php:68
214
  msgid "Newsletter"
@@ -220,42 +238,47 @@ msgstr "Título:"
220
 
221
  #: ../includes/class-widget.php:83
222
  msgid "Form:"
223
- msgstr ""
224
 
225
  #: ../includes/class-widget.php:85
226
  msgid "Select the form to show"
227
- msgstr ""
228
 
229
  #: ../includes/class-widget.php:93
230
  #, php-format
231
  msgid "You don't have any sign-up forms. <a href=\"%s\">Create one now.</a>"
232
  msgstr ""
 
 
233
 
234
  #: ../includes/functions/general.php:20
235
  msgid "Sign me up for the newsletter!"
236
- msgstr ""
237
 
238
  #: ../includes/functions/general.php:42
239
  msgid ""
240
  "Thank you, your sign-up request was successful! Please check your e-mail "
241
  "inbox."
242
  msgstr ""
 
 
243
 
244
  #: ../includes/functions/general.php:43
245
  msgid "Oops. Something went wrong. Please try again later."
246
- msgstr ""
247
 
248
  #: ../includes/functions/general.php:44
249
  msgid "Please provide a valid email address."
250
- msgstr ""
251
 
252
  #: ../includes/functions/general.php:45
253
  msgid "Given email address is already subscribed, thank you!"
254
  msgstr ""
 
255
 
256
  #: ../includes/functions/general.php:46
257
  msgid "Please complete the CAPTCHA."
258
- msgstr ""
259
 
260
  #: ../includes/integrations/class-cf7.php:44
261
  #: ../includes/views/metaboxes/optional-form-settings.php:16
@@ -306,21 +329,24 @@ msgid ""
306
  "<b>Warning!</b> You're blocking external requests which means you won't be "
307
  "able to get %s updates. Please add %s to %s."
308
  msgstr ""
 
 
 
309
 
310
  #: ../includes/library/license-manager/class-license-manager.php:175
311
  #, php-format
312
  msgid "Your %s license has been activated. You have an unlimited license. "
313
- msgstr ""
314
 
315
  #: ../includes/library/license-manager/class-license-manager.php:177
316
  #, php-format
317
  msgid "Your %s license has been activated. You have used %d/%d activations. "
318
- msgstr ""
319
 
320
  #: ../includes/library/license-manager/class-license-manager.php:182
321
  #, php-format
322
  msgid "<a href=\"%s\">Did you know you can upgrade your license?</a>"
323
- msgstr ""
324
 
325
  #: ../includes/library/license-manager/class-license-manager.php:186
326
  #, php-format
@@ -328,6 +354,7 @@ msgid ""
328
  "<a href=\"%s\">Your license is expiring in %d days, would you like to extend "
329
  "it?</a>"
330
  msgstr ""
 
331
 
332
  #: ../includes/library/license-manager/class-license-manager.php:195
333
  #, php-format
@@ -335,6 +362,8 @@ msgid ""
335
  "You've reached your activation limit. You must <a href=\"%s\">upgrade your "
336
  "license</a> to use it on this site."
337
  msgstr ""
 
 
338
 
339
  #: ../includes/library/license-manager/class-license-manager.php:198
340
  #, php-format
@@ -342,30 +371,32 @@ msgid ""
342
  "Your license has expired. You must <a href=\"%s\">extend your license</a> in "
343
  "order to use it again."
344
  msgstr ""
 
 
345
 
346
  #: ../includes/library/license-manager/class-license-manager.php:201
347
  msgid "Failed to activate your license, your license key seems to be invalid."
348
- msgstr ""
349
 
350
  #: ../includes/library/license-manager/class-license-manager.php:225
351
  #, php-format
352
  msgid "Your %s license has been deactivated."
353
- msgstr ""
354
 
355
  #: ../includes/library/license-manager/class-license-manager.php:227
356
  #, php-format
357
  msgid "Failed to deactivate your %s license."
358
- msgstr ""
359
 
360
  #: ../includes/library/license-manager/class-license-manager.php:262
361
  #, php-format
362
  msgid "Request error: \"%s\""
363
- msgstr ""
364
 
365
  #: ../includes/library/license-manager/class-license-manager.php:420
366
  #, php-format
367
  msgid "%s: License Settings"
368
- msgstr ""
369
 
370
  #: ../includes/library/license-manager/class-plugin-license-manager.php:72
371
  #, php-format
@@ -373,6 +404,8 @@ msgid ""
373
  "%s is network activated, you can manage your license in the <a href=\"%s"
374
  "\">network admin license page</a>."
375
  msgstr ""
 
 
376
 
377
  #: ../includes/library/license-manager/class-plugin-license-manager.php:74
378
  #, php-format
@@ -380,12 +413,16 @@ msgid ""
380
  "%s is network activated, please contact your site administrator to manage "
381
  "the license."
382
  msgstr ""
 
 
383
 
384
  #: ../includes/library/license-manager/class-update-manager.php:83
385
  #, php-format
386
  msgid ""
387
  "%s failed to check for updates because of the following error: <em>%s</em>"
388
  msgstr ""
 
 
389
 
390
  #: ../includes/library/license-manager/class-update-manager.php:148
391
  msgid ""
@@ -393,112 +430,116 @@ msgid ""
393
  "cannot check for future updates. Please activate your site with a valid "
394
  "license key."
395
  msgstr ""
 
 
 
396
 
397
  #: ../includes/library/license-manager/views/form.php:23
398
  msgid "License status"
399
- msgstr ""
400
 
401
  #: ../includes/library/license-manager/views/form.php:33
402
  msgid "Toggle license status"
403
- msgstr ""
404
 
405
  #: ../includes/library/license-manager/views/form.php:38
406
  msgid ""
407
  "(deactivate your license so you can activate it on another WordPress site)"
408
  msgstr ""
 
409
 
410
  #: ../includes/library/license-manager/views/form.php:44
411
  msgid "Please enter a license key in the field below first."
412
- msgstr ""
413
 
414
  #: ../includes/library/license-manager/views/form.php:52
415
  msgid "License Key"
416
- msgstr ""
417
 
418
  #: ../includes/library/license-manager/views/form.php:54
419
- #, fuzzy, php-format
420
  msgid "Paste your %s license key here.."
421
- msgstr "Obtenga su clave de API aquí."
422
 
423
  #: ../includes/library/license-manager/views/form.php:56
424
  #, php-format
425
  msgid "You defined your license key using the %s PHP constant."
426
- msgstr ""
427
 
428
  #: ../includes/library/license-manager/views/form.php:73
429
  #, php-format
430
  msgid "Your %s license will expire on %s."
431
- msgstr ""
432
 
433
  #: ../includes/library/license-manager/views/form.php:76
434
  #, php-format
435
  msgid "%sRenew your license now%s."
436
- msgstr ""
437
 
438
  #: ../includes/tables/class-forms-table.php:19
439
  msgid "Sign-Up Form"
440
- msgstr ""
441
 
442
  #: ../includes/tables/class-forms-table.php:20
443
- #, fuzzy
444
  msgid "Sign-up Forms"
445
- msgstr "Registro"
446
 
447
  #: ../includes/tables/class-forms-table.php:36
448
  msgid "Form"
449
- msgstr ""
450
 
451
  #: ../includes/tables/class-forms-table.php:37
452
  msgid "Shortcode"
453
- msgstr ""
454
 
455
  #: ../includes/tables/class-forms-table.php:38
456
  msgid "List(s)"
457
- msgstr ""
458
 
459
  #: ../includes/tables/class-forms-table.php:39
460
  msgid "Last edited"
461
- msgstr ""
462
 
463
  #: ../includes/tables/class-forms-table.php:103
464
  msgid "You have not created any sign-up forms yet. Time to do so!"
465
  msgstr ""
 
466
 
467
  #: ../includes/tables/class-log-table.php:23
468
  msgid "Subscriber"
469
- msgstr ""
470
 
471
  #: ../includes/tables/class-log-table.php:24
472
  msgid "Subscribers"
473
- msgstr ""
474
 
475
  #: ../includes/tables/class-log-table.php:44
476
  msgid "Email"
477
- msgstr ""
478
 
479
  #: ../includes/tables/class-log-table.php:45
480
  msgid "List"
481
- msgstr ""
482
 
483
  #: ../includes/tables/class-log-table.php:46
484
  msgid "Type"
485
- msgstr ""
486
 
487
  #: ../includes/tables/class-log-table.php:47
488
  msgid "Source"
489
- msgstr ""
490
 
491
  #: ../includes/tables/class-log-table.php:48
492
  msgid "Extra data"
493
- msgstr ""
494
 
495
  #: ../includes/tables/class-log-table.php:49
496
  msgid "Subscribed"
497
- msgstr ""
498
 
499
  #: ../includes/tables/class-log-table.php:258
500
  msgid "No subscribe requests found."
501
- msgstr ""
502
 
503
  #: ../includes/views/metaboxes/optional-form-settings.php:8
504
  #, php-format
@@ -507,17 +548,19 @@ msgid ""
507
  "settings</a>. If no setting is specified, the corresponding general setting "
508
  "value will be used."
509
  msgstr ""
 
 
 
510
 
511
  #: ../includes/views/metaboxes/optional-form-settings.php:10
512
- #, fuzzy
513
  msgid "MailChimp Settings"
514
- msgstr "Datos de MailChimp"
515
 
516
  #: ../includes/views/metaboxes/optional-form-settings.php:13
517
  #: ../includes/views/pages/admin-checkbox-settings.php:51
518
  #: ../includes/views/tabs/admin-forms-general-settings.php:55
519
  msgid "Double opt-in?"
520
- msgstr ""
521
 
522
  #: ../includes/views/metaboxes/optional-form-settings.php:20
523
  #: ../includes/views/metaboxes/optional-form-settings.php:34
@@ -526,7 +569,7 @@ msgstr ""
526
  #: ../includes/views/metaboxes/optional-form-settings.php:79
527
  #: ../includes/views/metaboxes/optional-form-settings.php:91
528
  msgid "Inherit"
529
- msgstr ""
530
 
531
  #: ../includes/views/metaboxes/optional-form-settings.php:22
532
  #: ../includes/views/pages/admin-checkbox-settings.php:53
@@ -535,13 +578,13 @@ msgid ""
535
  "Select \"yes\" if you want people to confirm their email address before "
536
  "being subscribed (recommended)"
537
  msgstr ""
538
- "Marque \"sí \" si quiere que los suscriptores confirmen su dirección de "
539
  "correo electrónico antes de suscribirse (recomendado)"
540
 
541
  #: ../includes/views/metaboxes/optional-form-settings.php:27
542
  #: ../includes/views/tabs/admin-forms-general-settings.php:76
543
  msgid "Update existing subscribers?"
544
- msgstr ""
545
 
546
  #: ../includes/views/metaboxes/optional-form-settings.php:36
547
  #: ../includes/views/tabs/admin-forms-general-settings.php:83
@@ -549,13 +592,13 @@ msgid ""
549
  "Select \"yes\" if you want to update existing subscribers (instead of "
550
  "showing the \"already subscribed\" message)."
551
  msgstr ""
552
- "Marque \"sí \" si desea actualizar los suscriptores existentes (en lugar de "
553
- "mostrar el mensaje \"ya suscrito \")."
554
 
555
  #: ../includes/views/metaboxes/optional-form-settings.php:41
556
  #: ../includes/views/tabs/admin-forms-general-settings.php:87
557
  msgid "Replace interest groups?"
558
- msgstr ""
559
 
560
  #: ../includes/views/metaboxes/optional-form-settings.php:50
561
  #: ../includes/views/tabs/admin-forms-general-settings.php:94
@@ -564,7 +607,7 @@ msgid ""
564
  "provided instead of adding the provided groups to the member's interest "
565
  "groups (only when updating a subscriber)."
566
  msgstr ""
567
- "Marque \"sí \" si desea reemplazar los grupos de interés con los grupos "
568
  "previstos en lugar de añadir los grupos previstos para los grupos de interés "
569
  "del usuario (sólo cuando se actualiza un suscriptor)."
570
 
@@ -572,7 +615,7 @@ msgstr ""
572
  #: ../includes/views/pages/admin-checkbox-settings.php:57
573
  #: ../includes/views/tabs/admin-forms-general-settings.php:66
574
  msgid "Send Welcome Email?"
575
- msgstr ""
576
 
577
  #: ../includes/views/metaboxes/optional-form-settings.php:64
578
  #: ../includes/views/pages/admin-checkbox-settings.php:64
@@ -581,8 +624,8 @@ msgid ""
581
  "Select \"yes\" if you want to send your lists Welcome Email if a subscribe "
582
  "succeeds (only when double opt-in is disabled)."
583
  msgstr ""
584
- "Marque \"sí \" si desea enviar a sus listas un correo electrónico de "
585
- "bienvenida si se realiza una suscripción correctamente (sólo cuando se el "
586
  "proceso de doble opt-in está desactivado)."
587
 
588
  #: ../includes/views/metaboxes/optional-form-settings.php:69
@@ -592,7 +635,7 @@ msgstr "Configuración de mesajes y formularios"
592
  #: ../includes/views/metaboxes/optional-form-settings.php:72
593
  #: ../includes/views/tabs/admin-forms-general-settings.php:103
594
  msgid "Enable AJAX form submission?"
595
- msgstr ""
596
 
597
  #: ../includes/views/metaboxes/optional-form-settings.php:80
598
  #: ../includes/views/tabs/admin-forms-general-settings.php:105
@@ -609,8 +652,8 @@ msgstr "¿Ocultar formulario después de un registro registro satisfactorio?"
609
  #: ../includes/views/tabs/admin-forms-general-settings.php:110
610
  msgid "Select \"yes\" to hide the form fields after a successful sign-up."
611
  msgstr ""
612
- "Seleccione \"Sí \" para ocultar los campos de formulario después de un "
613
- "registro satisfactorio"
614
 
615
  #: ../includes/views/metaboxes/optional-form-settings.php:97
616
  #: ../includes/views/tabs/admin-forms-general-settings.php:113
@@ -628,17 +671,19 @@ msgstr ""
628
 
629
  #: ../includes/views/metaboxes/optional-form-settings.php:104
630
  msgid "Send an email copy of the form data?"
631
- msgstr ""
632
 
633
  #: ../includes/views/metaboxes/optional-form-settings.php:108
634
  msgid ""
635
  "Tick \"yes\" if you want to receive an email with the form data for every "
636
  "sign-up request."
637
  msgstr ""
 
 
638
 
639
  #: ../includes/views/metaboxes/optional-form-settings.php:111
640
  msgid "Send the copy to this email:"
641
- msgstr ""
642
 
643
  #: ../includes/views/metaboxes/optional-form-settings.php:117
644
  #: ../includes/views/tabs/admin-forms-general-settings.php:119
@@ -673,7 +718,7 @@ msgstr "Las etiquetas HTML como %s están permitidas en los campos del mensaje."
673
 
674
  #: ../includes/views/metaboxes/required-form-settings.php:14
675
  msgid "Lists this form subscribes to"
676
- msgstr ""
677
 
678
  #: ../includes/views/metaboxes/required-form-settings.php:17
679
  #: ../includes/views/pages/admin-checkbox-settings.php:38
@@ -687,19 +732,19 @@ msgstr "Añadir un nuevo campo"
687
 
688
  #: ../includes/views/metaboxes/required-form-settings.php:32
689
  msgid "Select MailChimp field.."
690
- msgstr "Seleccione el campo MailChimp ..."
691
 
692
  #: ../includes/views/metaboxes/required-form-settings.php:36
693
  msgid "Submit Button"
694
- msgstr ""
695
 
696
  #: ../includes/views/metaboxes/required-form-settings.php:37
697
  msgid "Lists Choice"
698
- msgstr ""
699
 
700
  #: ../includes/views/metaboxes/required-form-settings.php:45
701
  msgid "Label"
702
- msgstr ""
703
 
704
  #: ../includes/views/metaboxes/required-form-settings.php:45
705
  #: ../includes/views/metaboxes/required-form-settings.php:50
@@ -709,7 +754,7 @@ msgstr "(opcional)"
709
 
710
  #: ../includes/views/metaboxes/required-form-settings.php:50
711
  msgid "Placeholder"
712
- msgstr ""
713
 
714
  #: ../includes/views/metaboxes/required-form-settings.php:55
715
  msgid "Initial value"
@@ -717,7 +762,7 @@ msgstr "Valor inicial"
717
 
718
  #: ../includes/views/metaboxes/required-form-settings.php:60
719
  msgid "Labels"
720
- msgstr ""
721
 
722
  #: ../includes/views/metaboxes/required-form-settings.php:60
723
  msgid "(leave empty to hide)"
@@ -742,26 +787,26 @@ msgstr "Generado HTML"
742
 
743
  #: ../includes/views/metaboxes/required-form-settings.php:86
744
  msgid "Form usage"
745
- msgstr ""
746
 
747
  #: ../includes/views/metaboxes/required-form-settings.php:87
748
  #, php-format
749
  msgid ""
750
  "Use the shortcode %s to display this form inside a post, page or text widget."
751
  msgstr ""
 
 
752
 
753
  #: ../includes/views/pages/admin-checkbox-settings.php:11
754
  #: ../includes/views/pages/admin-form-settings.php:10
755
  #: ../includes/views/pages/admin-general-settings.php:10
756
  #: ../includes/views/pages/admin-reports.php:10
757
- #, fuzzy
758
  msgid "MailChimp for WordPress"
759
- msgstr "Ajustes de MailChimp para casillas de verificación"
760
 
761
  #: ../includes/views/pages/admin-checkbox-settings.php:11
762
- #, fuzzy
763
  msgid "Checkbox Settings"
764
- msgstr "Configuración de las casillas de verificación"
765
 
766
  #: ../includes/views/pages/admin-checkbox-settings.php:14
767
  msgid ""
@@ -785,16 +830,15 @@ msgstr ""
785
  "menos una lista de MailChimp a las que la gente se suscribirá."
786
 
787
  #: ../includes/views/pages/admin-checkbox-settings.php:34
788
- #, fuzzy
789
  msgid "MailChimp Lists"
790
- msgstr "Renovar las listas de MailChimp"
791
 
792
  #: ../includes/views/pages/admin-checkbox-settings.php:45
793
  msgid ""
794
  "Select the list(s) to which people who check the checkbox should be "
795
  "subscribed."
796
  msgstr ""
797
- "Seleccione la lista(s) a la que se registrarán las personas que marquen las "
798
  "casillas de verificación."
799
 
800
  #: ../includes/views/pages/admin-checkbox-settings.php:68
@@ -840,36 +884,35 @@ msgstr ""
840
  #: ../includes/views/tabs/admin-forms-general-settings.php:48
841
  #: ../includes/views/tabs/admin-forms-general-settings.php:146
842
  msgid "Save all changes"
843
- msgstr ""
844
 
845
  #: ../includes/views/pages/admin-checkbox-settings.php:103
846
- #, fuzzy
847
  msgid "Custom label texts"
848
- msgstr "Texto a mostrar junto a la casilla de verificación."
849
 
850
  #: ../includes/views/pages/admin-checkbox-settings.php:104
851
  msgid ""
852
  "Override the default checkbox label text for any given checkbox using the "
853
  "fields below."
854
  msgstr ""
 
 
855
 
856
  #: ../includes/views/pages/admin-form-settings.php:13
857
- #, fuzzy
858
  msgid "Forms & Settings"
859
- msgstr "Ajustes del formulario"
860
 
861
  #: ../includes/views/pages/admin-form-settings.php:14
862
  msgid "CSS Styles Builder"
863
- msgstr ""
864
 
865
  #: ../includes/views/pages/admin-general-settings.php:10
866
- #, fuzzy
867
  msgid "License & API Settings"
868
- msgstr "Configuración de licencia y de la API"
869
 
870
  #: ../includes/views/pages/admin-general-settings.php:19
871
  msgid "API Settings"
872
- msgstr "Configuración de licencia y de la API"
873
 
874
  #: ../includes/views/pages/admin-general-settings.php:21
875
  msgid "CONNECTED"
@@ -881,11 +924,11 @@ msgstr "NO CONECTADO"
881
 
882
  #: ../includes/views/pages/admin-general-settings.php:29
883
  msgid "API Key"
884
- msgstr ""
885
 
886
  #: ../includes/views/pages/admin-general-settings.php:31
887
  msgid "Your MailChimp API key"
888
- msgstr ""
889
 
890
  #: ../includes/views/pages/admin-general-settings.php:32
891
  msgid "Get your API key here."
@@ -912,15 +955,15 @@ msgstr "Renovar las listas de MailChimp"
912
 
913
  #: ../includes/views/pages/admin-general-settings.php:120
914
  msgid "No lists were found in your MailChimp account."
915
- msgstr ""
916
 
917
  #: ../includes/views/pages/admin-reports.php:14
918
  msgid "Statistics"
919
- msgstr ""
920
 
921
  #: ../includes/views/pages/admin-reports.php:15
922
  msgid "Log"
923
- msgstr ""
924
 
925
  #: ../includes/views/parts/admin-footer.php:8
926
  #, php-format
@@ -928,115 +971,118 @@ msgid ""
928
  "Need help? Email me directly at <a href=\"%s\">support@dannyvankooten.com</"
929
  "a>. Please include your website URL and as many details as possible."
930
  msgstr ""
 
 
 
931
 
932
  #: ../includes/views/parts/admin-text-variables.php:11
933
  msgid "Replaced with the number of subscribers on the selected list(s)"
934
  msgstr ""
 
935
 
936
  #: ../includes/views/parts/admin-text-variables.php:15
937
  msgid "Replaced with the visitor's IP address"
938
- msgstr ""
939
 
940
  #: ../includes/views/parts/admin-text-variables.php:19
941
  #, php-format
942
  msgid "Replaced with the current date (yyyy/mm/dd eg: %s)"
943
- msgstr ""
944
 
945
  #: ../includes/views/parts/admin-text-variables.php:23
946
  #, php-format
947
  msgid "Replaced with the current time (hh:mm:ss eg: %s)"
948
- msgstr ""
949
 
950
  #: ../includes/views/parts/admin-text-variables.php:27
951
  msgid ""
952
  "Replaced with the logged in user's email (or nothing, if there is no logged "
953
  "in user)"
954
  msgstr ""
 
 
955
 
956
  #: ../includes/views/parts/admin-text-variables.php:31
957
  msgid "Display name of the current user"
958
- msgstr ""
959
 
960
  #: ../includes/views/parts/admin-text-variables.php:35
961
  msgid "First name of the current user"
962
- msgstr ""
963
 
964
  #: ../includes/views/parts/admin-text-variables.php:39
965
  msgid "Last name of the current user"
966
- msgstr ""
967
 
968
  #: ../includes/views/parts/admin-text-variables.php:43
969
  msgid "Current user ID"
970
- msgstr ""
971
 
972
  #: ../includes/views/parts/admin-text-variables.php:47
973
  msgid "Current URL"
974
- msgstr ""
975
 
976
  #: ../includes/views/tabs/admin-forms-css-builder.php:10
977
- #, fuzzy
978
  msgid "Use the fields below to create custom styling rules for your forms."
979
  msgstr ""
980
- "Emplear la herramienta inferior para generar el código HTML de los campos "
981
- "del formulario."
982
 
983
  #: ../includes/views/tabs/admin-forms-css-builder.php:214
984
  msgid "Build CSS File"
985
- msgstr ""
986
 
987
  #: ../includes/views/tabs/admin-forms-general-settings.php:8
988
  msgid "Sign-Up Forms"
989
- msgstr ""
990
 
991
  #: ../includes/views/tabs/admin-forms-general-settings.php:8
992
  msgid "Create New Form"
993
- msgstr ""
994
 
995
  #: ../includes/views/tabs/admin-forms-general-settings.php:16
996
- #, fuzzy
997
  msgid "General form settings"
998
- msgstr "Ajustes del formulario"
999
 
1000
  #: ../includes/views/tabs/admin-forms-general-settings.php:19
1001
- #, fuzzy
1002
  msgid "Load form styles (CSS)?"
1003
- msgstr "¿Cargamos algunos CSS por defecto?"
1004
 
1005
  #: ../includes/views/tabs/admin-forms-general-settings.php:23
1006
  msgid "Yes, load basic form styles"
1007
- msgstr ""
1008
 
1009
  #: ../includes/views/tabs/admin-forms-general-settings.php:24
1010
  msgid "Yes, load my custom form styles"
1011
- msgstr ""
1012
 
1013
  #: ../includes/views/tabs/admin-forms-general-settings.php:25
1014
  msgid "Yes, load default form theme"
1015
- msgstr ""
1016
 
1017
  #: ../includes/views/tabs/admin-forms-general-settings.php:26
1018
  msgid "Light Theme"
1019
- msgstr ""
1020
 
1021
  #: ../includes/views/tabs/admin-forms-general-settings.php:27
1022
  msgid "Red Theme"
1023
- msgstr ""
1024
 
1025
  #: ../includes/views/tabs/admin-forms-general-settings.php:28
1026
  msgid "Green Theme"
1027
- msgstr ""
1028
 
1029
  #: ../includes/views/tabs/admin-forms-general-settings.php:29
1030
  msgid "Blue Theme"
1031
- msgstr ""
1032
 
1033
  #: ../includes/views/tabs/admin-forms-general-settings.php:30
1034
  msgid "Dark Theme"
1035
- msgstr ""
1036
 
1037
  #: ../includes/views/tabs/admin-forms-general-settings.php:31
1038
  msgid "Custom Color Theme"
1039
- msgstr ""
1040
 
1041
  #: ../includes/views/tabs/admin-forms-general-settings.php:36
1042
  #, php-format
@@ -1045,15 +1091,17 @@ msgid ""
1045
  "\"custom form styles\". Otherwise, choose the basic formatting styles or one "
1046
  "of the default themes."
1047
  msgstr ""
 
 
 
1048
 
1049
  #: ../includes/views/tabs/admin-forms-general-settings.php:40
1050
  msgid "Select Color"
1051
- msgstr ""
1052
 
1053
  #: ../includes/views/tabs/admin-forms-general-settings.php:50
1054
- #, fuzzy
1055
  msgid "Default MailChimp settings"
1056
- msgstr "Renovar las listas de MailChimp"
1057
 
1058
  #: ../includes/views/tabs/admin-forms-general-settings.php:51
1059
  #: ../includes/views/tabs/admin-forms-general-settings.php:99
@@ -1061,11 +1109,12 @@ msgid ""
1061
  "The following settings apply to <strong>all</strong> forms but can be "
1062
  "overridden on a per-form basis."
1063
  msgstr ""
 
 
1064
 
1065
  #: ../includes/views/tabs/admin-forms-general-settings.php:98
1066
- #, fuzzy
1067
  msgid "Default form settings"
1068
- msgstr "Ajustes del formulario"
1069
 
1070
  #~ msgid "Upgrade to Pro"
1071
  #~ msgstr "Actualizar a la versión pro"
2
  msgstr ""
3
  "Project-Id-Version: MailChimp for WordPress\n"
4
  "POT-Creation-Date: 2014-05-14 22:19+0100\n"
5
+ "PO-Revision-Date: 2014-05-19 12:38+0100\n"
6
  "Last-Translator: Danny <hi@dannyvankooten.com>\n"
7
  "Language-Team: Danny van Kooten <hi@dannyvankooten.com>\n"
8
  "Language: en_EN\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.5\n"
13
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SearchPath-0: ..\n"
20
 
21
  #: ../includes/class-admin.php:197
22
  msgid "Documentation"
23
+ msgstr "Documentacion"
24
 
25
  #: ../includes/class-admin.php:209
26
  msgid "Save Form"
27
+ msgstr "Guardar formulario"
28
 
29
  #: ../includes/class-admin.php:211
30
  msgid "Update Form"
31
+ msgstr "Actualizar formulario"
32
 
33
  #: ../includes/class-admin.php:248
34
  msgid "Your email address"
35
+ msgstr "Tu dirección de correo electrónico"
36
 
37
  #: ../includes/class-admin.php:249
38
  msgid "Email address"
39
+ msgstr "Dirección de correo electrónico"
40
 
41
  #: ../includes/class-admin.php:250
42
  msgid "Sign up"
44
 
45
  #: ../includes/class-admin.php:261
46
  msgid "Back to general form settings"
47
+ msgstr "Volver a las opciones de configuracion generales"
48
 
49
  #: ../includes/class-admin.php:263
50
  msgid "Form updated."
51
+ msgstr "Formulario actualizado."
52
 
53
  #: ../includes/class-admin.php:264
54
  msgid "Form saved."
55
+ msgstr "Formulario guardado."
56
 
57
  #: ../includes/class-admin.php:321
 
58
  msgid "Form settings"
59
+ msgstr "Ajustes de formularios"
60
 
61
  #: ../includes/class-admin.php:322
 
62
  msgid "Optional settings"
63
+ msgstr "Ajustes opcionales"
64
 
65
  #: ../includes/class-admin.php:323
66
  msgid "Form variables"
67
+ msgstr "Variables de formulario."
68
 
69
  #: ../includes/class-admin.php:357
70
  msgid "Use the following variables to add some dynamic content to your form."
71
  msgstr ""
72
+ "Utiliza las siguientes variables para añadir algo de contenido dinámico a tu "
73
+ "formulario"
74
 
75
  #: ../includes/class-admin.php:497
76
  #, php-format
78
  "Couldn't create the stylesheet. Manually add the generated CSS to your theme "
79
  "stylesheet by using the %sTheme Editor%s or use FTP and edit <em>%s</em>."
80
  msgstr ""
81
+ "No se pudo crear la hoja de estilo. Agrega manualmente el CSS generado a tu "
82
+ "hoja de estilo del tema utilizando el %sEditor del Temas%s s o utiliza FTP y "
83
+ "edita <em>%s</ em>."
84
 
85
  #: ../includes/class-admin.php:498
86
  #, php-format
87
  msgid "%sShow CSS%s"
88
+ msgstr "%sMostrar CSS%s"
89
 
90
  #: ../includes/class-admin.php:507
91
  #, php-format
93
  "To apply these styles on your website, select \"load custom form styles\" in "
94
  "the %sform settings%s"
95
  msgstr ""
96
+ "Para aplicar estos estilos en tu sitio web, selecciona \"cargar estilos de "
97
+ "formulario personalizado\" en los %sajustes de formulario%s"
98
 
99
  #: ../includes/class-admin.php:508
100
  #, php-format
101
  msgid "The %sCSS Stylesheet%s has been created."
102
+ msgstr "La %shoja de estilos CSS%s ha sido creada."
103
 
104
  #: ../includes/class-admin.php:524
 
105
  msgid "General Settings"
106
+ msgstr "Ajustes generales"
107
 
108
  #: ../includes/class-admin.php:525
 
109
  msgid "Checkboxes"
110
+ msgstr "Casillas de verificación"
111
 
112
  #: ../includes/class-admin.php:526
113
  #: ../includes/views/pages/admin-form-settings.php:10
114
  msgid "Forms"
115
+ msgstr "Formularios"
116
 
117
  #: ../includes/class-admin.php:527
118
  #: ../includes/views/pages/admin-reports.php:10
119
  msgid "Reports"
120
+ msgstr "Informes"
121
 
122
  #: ../includes/class-admin.php:596
123
  msgid "Comment form"
138
  #: ../includes/class-admin.php:613 ../includes/class-admin.php:617
139
  #, php-format
140
  msgid "%s checkout"
141
+ msgstr "verificación de %s"
142
 
143
  #: ../includes/class-admin.php:653
144
  #, php-format
146
  "Please make sure the plugin is connected to MailChimp. <a href=\"%s"
147
  "\">Provide a valid API key.</a>"
148
  msgstr ""
149
+ "Por favor, asegúrrate de que el plugin está conectado a MailChimp. <a href="
150
+ "\"%s\"> Proporciona una clave de API válida. </a>"
151
 
152
  #: ../includes/class-admin.php:792
153
  #, php-format
156
  "settings you had set in the Lite version, please <a href=\"%s\">deactivate "
157
  "it now</a> to prevent problems"
158
  msgstr ""
159
+ "<strong> ¡Bienvenido a MailChimp para WordPress Pro! </ strong> Hemos "
160
+ "transferido los ajustes que habías establecido en la versión Lite, por favor "
161
+ "<a href=\"%s\">desactívala ahora</a> para evitar problemas."
162
 
163
  #: ../includes/class-admin.php:865
 
164
  msgid "Renewed MailChimp cache."
165
+ msgstr "Renovar cache de MailChimp"
166
 
167
  #: ../includes/class-admin.php:867
168
  msgid "Failed to renew MailChimp cache - please try again later."
174
  #, php-format
175
  msgid "<strong>Error:</strong> Please specify a form ID. Example: %s."
176
  msgstr ""
177
+ "<strong>Error:</strong> Por favor, especifica un ID de formulario. Ejemplo: "
178
+ "%s."
179
 
180
  #: ../includes/class-form-manager.php:261
181
  msgid ""
182
  "<strong>Error:</strong> Sign-up form not found. Please check if you used the "
183
  "correct form ID."
184
  msgstr ""
185
+ "<strong> Error: </strong> formulario de registro no encontrado. Por favor, "
186
+ "comprueba si has utilizado el ID de formulario correcto."
187
 
188
  #: ../includes/class-form-manager.php:370
189
  #, php-format
192
  "for this form. <a target=\"_top\" href=\"%s\">Edit this sign-up form</a> and "
193
  "select at least one list."
194
  msgstr ""
195
+ "<strong> Aviso Admin: </ strong> que todavía no ha seleccionado una lista de "
196
+ "MailChimp (s) para este formulario. <a target=\"_top\" href=\"%s\"> Editar "
197
+ "este formulario de inscripción </ a> y seleccionar al menos una lista."
198
 
199
  #: ../includes/class-form-manager.php:833
200
  msgid "New Sign-Up"
201
+ msgstr "Nuevo registro"
202
 
203
  #: ../includes/class-form-manager.php:834
204
  #, php-format
205
  msgid "<strong>%s</strong> signed-up at %s on %s using the form \"%s\"."
206
  msgstr ""
207
+ "<strong>%s</strong> fomulario de alta en %s en %s está utilizando el formato "
208
+ "\"%s \"."
209
 
210
  #: ../includes/class-form-manager.php:873
211
  msgid "This email was auto-sent by the MailChimp for WordPress plugin."
212
+ msgstr "Este correo fue auto-enviado por el plugin MailChimp para WordPress"
213
 
214
  #: ../includes/class-widget.php:20
215
  msgid "MailChimp for WP Form"
216
+ msgstr "MailChimp para el Formulario de WP"
217
 
218
  #: ../includes/class-widget.php:21
219
  msgid "Displays one of your MailChimp for WordPress sign-up forms"
220
+ msgstr "Muestra uno de tus formularios de MailChimp para Wordpress"
221
 
222
  #: ../includes/class-widget.php:39
223
  #, php-format
225
  "Please select the sign-up form you'd like to show here in the <a href=\"%s"
226
  "\">widget settings</a>."
227
  msgstr ""
228
+ "Por favor, seleccione el formulario de registro que te gustaría mostrar aquí "
229
+ "en los<a href=\"%s\"> ajustes del widget</ a>."
230
 
231
  #: ../includes/class-widget.php:68
232
  msgid "Newsletter"
238
 
239
  #: ../includes/class-widget.php:83
240
  msgid "Form:"
241
+ msgstr "Fomulario:"
242
 
243
  #: ../includes/class-widget.php:85
244
  msgid "Select the form to show"
245
+ msgstr "Seleccione el formulario a mostrar"
246
 
247
  #: ../includes/class-widget.php:93
248
  #, php-format
249
  msgid "You don't have any sign-up forms. <a href=\"%s\">Create one now.</a>"
250
  msgstr ""
251
+ "No tienes ningún formulario de inscripción. <a href=\"%s\">Crea uno ahora.</ "
252
+ "a>"
253
 
254
  #: ../includes/functions/general.php:20
255
  msgid "Sign me up for the newsletter!"
256
+ msgstr "¡Suscríbeme a la lista de suscriptores!"
257
 
258
  #: ../includes/functions/general.php:42
259
  msgid ""
260
  "Thank you, your sign-up request was successful! Please check your e-mail "
261
  "inbox."
262
  msgstr ""
263
+ "Gracias, su solicitud de inscripción se ha realizado correctamente! Por "
264
+ "favor, revise su buzón de correo electrónico."
265
 
266
  #: ../includes/functions/general.php:43
267
  msgid "Oops. Something went wrong. Please try again later."
268
+ msgstr "Ups. Algo salió mal. Por favor, intentalo otra vez más tarde. "
269
 
270
  #: ../includes/functions/general.php:44
271
  msgid "Please provide a valid email address."
272
+ msgstr "Por favor, introduce una cuenta de correo valida"
273
 
274
  #: ../includes/functions/general.php:45
275
  msgid "Given email address is already subscribed, thank you!"
276
  msgstr ""
277
+ "La dirección de correo electrónico facilitada ya está suscrita, ¡gracias!"
278
 
279
  #: ../includes/functions/general.php:46
280
  msgid "Please complete the CAPTCHA."
281
+ msgstr "Por favor, introduce el código de seguridad"
282
 
283
  #: ../includes/integrations/class-cf7.php:44
284
  #: ../includes/views/metaboxes/optional-form-settings.php:16
329
  "<b>Warning!</b> You're blocking external requests which means you won't be "
330
  "able to get %s updates. Please add %s to %s."
331
  msgstr ""
332
+ "<b>Advertencia!</ b> Esta bloqueando solicitudes externas lo que significa "
333
+ "que no será capaz de obtener las actualizaciones de %s. Por favor, añada %s "
334
+ "para %s."
335
 
336
  #: ../includes/library/license-manager/class-license-manager.php:175
337
  #, php-format
338
  msgid "Your %s license has been activated. You have an unlimited license. "
339
+ msgstr "Su licencia de %s ha sido activada. Tiene una licencia ilimitada."
340
 
341
  #: ../includes/library/license-manager/class-license-manager.php:177
342
  #, php-format
343
  msgid "Your %s license has been activated. You have used %d/%d activations. "
344
+ msgstr "Su licencia de %s ha sido activada. Ha utilizado %d/%d activaciones."
345
 
346
  #: ../includes/library/license-manager/class-license-manager.php:182
347
  #, php-format
348
  msgid "<a href=\"%s\">Did you know you can upgrade your license?</a>"
349
+ msgstr "<a href=\"%s\">¿Sabía que usted puede actualizar su licencia?</a>"
350
 
351
  #: ../includes/library/license-manager/class-license-manager.php:186
352
  #, php-format
354
  "<a href=\"%s\">Your license is expiring in %d days, would you like to extend "
355
  "it?</a>"
356
  msgstr ""
357
+ "<a href=\"%s\">Su licencia expira en %d días, ¿le gustaría ampliarla?</a>"
358
 
359
  #: ../includes/library/license-manager/class-license-manager.php:195
360
  #, php-format
362
  "You've reached your activation limit. You must <a href=\"%s\">upgrade your "
363
  "license</a> to use it on this site."
364
  msgstr ""
365
+ "Has alcanzado el límite de activaciones. Debe <a href=\"%s\"> actualizar su "
366
+ "licencia</ a> para utilizarlo en este sitio."
367
 
368
  #: ../includes/library/license-manager/class-license-manager.php:198
369
  #, php-format
371
  "Your license has expired. You must <a href=\"%s\">extend your license</a> in "
372
  "order to use it again."
373
  msgstr ""
374
+ "Su licencia ha expirado. Debes <a href=\"%s\">ampliar la licencia</ a> con "
375
+ "el fin de utilizarlo de nuevo."
376
 
377
  #: ../includes/library/license-manager/class-license-manager.php:201
378
  msgid "Failed to activate your license, your license key seems to be invalid."
379
+ msgstr "No se pudo activar la licencia, la clave de licencia parece inválida."
380
 
381
  #: ../includes/library/license-manager/class-license-manager.php:225
382
  #, php-format
383
  msgid "Your %s license has been deactivated."
384
+ msgstr "Su licencia de %s se ha desactivado."
385
 
386
  #: ../includes/library/license-manager/class-license-manager.php:227
387
  #, php-format
388
  msgid "Failed to deactivate your %s license."
389
+ msgstr "No se pudo desactivar su licencia de %s"
390
 
391
  #: ../includes/library/license-manager/class-license-manager.php:262
392
  #, php-format
393
  msgid "Request error: \"%s\""
394
+ msgstr "Error de solicitud: \"%s\""
395
 
396
  #: ../includes/library/license-manager/class-license-manager.php:420
397
  #, php-format
398
  msgid "%s: License Settings"
399
+ msgstr "%s: Configuración de licencia"
400
 
401
  #: ../includes/library/license-manager/class-plugin-license-manager.php:72
402
  #, php-format
404
  "%s is network activated, you can manage your license in the <a href=\"%s"
405
  "\">network admin license page</a>."
406
  msgstr ""
407
+ "%s está activada por red, usted puede administrar su licencia en la<a ref "
408
+ "href=\"%s\">página de red de administración de licencia</ a>."
409
 
410
  #: ../includes/library/license-manager/class-plugin-license-manager.php:74
411
  #, php-format
413
  "%s is network activated, please contact your site administrator to manage "
414
  "the license."
415
  msgstr ""
416
+ "%s si la red está activada, por favor póngase en contacto con el "
417
+ "administrador del sitio para gestionar la licencia."
418
 
419
  #: ../includes/library/license-manager/class-update-manager.php:83
420
  #, php-format
421
  msgid ""
422
  "%s failed to check for updates because of the following error: <em>%s</em>"
423
  msgstr ""
424
+ "%s fallo al comprobar las actualizaciones debido al siguiente error: <em>"
425
+ "%s</ em>"
426
 
427
  #: ../includes/library/license-manager/class-update-manager.php:148
428
  msgid ""
430
  "cannot check for future updates. Please activate your site with a valid "
431
  "license key."
432
  msgstr ""
433
+ "Este sitio no se ha activado correctamente en dannyvankooten.com y por lo "
434
+ "tanto no se puede comprobar si hay actualizaciones. Por favor, active su "
435
+ "sitio con una clave de licencia válida."
436
 
437
  #: ../includes/library/license-manager/views/form.php:23
438
  msgid "License status"
439
+ msgstr "Estado de la licencia"
440
 
441
  #: ../includes/library/license-manager/views/form.php:33
442
  msgid "Toggle license status"
443
+ msgstr "Estado de la licencia"
444
 
445
  #: ../includes/library/license-manager/views/form.php:38
446
  msgid ""
447
  "(deactivate your license so you can activate it on another WordPress site)"
448
  msgstr ""
449
+ "(desactivar la licencia para que pueda activarla en otro sitio de WordPress)"
450
 
451
  #: ../includes/library/license-manager/views/form.php:44
452
  msgid "Please enter a license key in the field below first."
453
+ msgstr "Por favor, primero introduce una clave de licencia en campo de abajo"
454
 
455
  #: ../includes/library/license-manager/views/form.php:52
456
  msgid "License Key"
457
+ msgstr "Llave de licencia"
458
 
459
  #: ../includes/library/license-manager/views/form.php:54
460
+ #, php-format
461
  msgid "Paste your %s license key here.."
462
+ msgstr "Pega tu %s clave de licencia aquí..."
463
 
464
  #: ../includes/library/license-manager/views/form.php:56
465
  #, php-format
466
  msgid "You defined your license key using the %s PHP constant."
467
+ msgstr "Ha definido la clave de licencia utilizando el %s PHP constante."
468
 
469
  #: ../includes/library/license-manager/views/form.php:73
470
  #, php-format
471
  msgid "Your %s license will expire on %s."
472
+ msgstr "Tu %s licencia expirará el %s."
473
 
474
  #: ../includes/library/license-manager/views/form.php:76
475
  #, php-format
476
  msgid "%sRenew your license now%s."
477
+ msgstr "%sRenovar licencia ahora%s."
478
 
479
  #: ../includes/tables/class-forms-table.php:19
480
  msgid "Sign-Up Form"
481
+ msgstr "Formmulario de alta"
482
 
483
  #: ../includes/tables/class-forms-table.php:20
 
484
  msgid "Sign-up Forms"
485
+ msgstr "Formularios de registro"
486
 
487
  #: ../includes/tables/class-forms-table.php:36
488
  msgid "Form"
489
+ msgstr "Formulario"
490
 
491
  #: ../includes/tables/class-forms-table.php:37
492
  msgid "Shortcode"
493
+ msgstr "Código corto"
494
 
495
  #: ../includes/tables/class-forms-table.php:38
496
  msgid "List(s)"
497
+ msgstr "Lista(s)"
498
 
499
  #: ../includes/tables/class-forms-table.php:39
500
  msgid "Last edited"
501
+ msgstr "Ultima edición"
502
 
503
  #: ../includes/tables/class-forms-table.php:103
504
  msgid "You have not created any sign-up forms yet. Time to do so!"
505
  msgstr ""
506
+ "No has creado ningún formulario de registro todavía. ¡Es hora de hacerlo!"
507
 
508
  #: ../includes/tables/class-log-table.php:23
509
  msgid "Subscriber"
510
+ msgstr "Suscriptor"
511
 
512
  #: ../includes/tables/class-log-table.php:24
513
  msgid "Subscribers"
514
+ msgstr "Suscriptores"
515
 
516
  #: ../includes/tables/class-log-table.php:44
517
  msgid "Email"
518
+ msgstr "Correo"
519
 
520
  #: ../includes/tables/class-log-table.php:45
521
  msgid "List"
522
+ msgstr "Lista"
523
 
524
  #: ../includes/tables/class-log-table.php:46
525
  msgid "Type"
526
+ msgstr "Tipo"
527
 
528
  #: ../includes/tables/class-log-table.php:47
529
  msgid "Source"
530
+ msgstr "Origen"
531
 
532
  #: ../includes/tables/class-log-table.php:48
533
  msgid "Extra data"
534
+ msgstr "Datos adicionales"
535
 
536
  #: ../includes/tables/class-log-table.php:49
537
  msgid "Subscribed"
538
+ msgstr "Suscrito"
539
 
540
  #: ../includes/tables/class-log-table.php:258
541
  msgid "No subscribe requests found."
542
+ msgstr "Ninguna solicitud de suscripcion encontrada"
543
 
544
  #: ../includes/views/metaboxes/optional-form-settings.php:8
545
  #, php-format
548
  "settings</a>. If no setting is specified, the corresponding general setting "
549
  "value will be used."
550
  msgstr ""
551
+ "Los ajustes que especifiques aquí anularán la <a href=\"%s\"> configuración "
552
+ "general de los formularios</ a>. Si no se especifica ningún valor, se "
553
+ "utilizará el valor de ajuste general correspondiente."
554
 
555
  #: ../includes/views/metaboxes/optional-form-settings.php:10
 
556
  msgid "MailChimp Settings"
557
+ msgstr "Configuración de MailChimp"
558
 
559
  #: ../includes/views/metaboxes/optional-form-settings.php:13
560
  #: ../includes/views/pages/admin-checkbox-settings.php:51
561
  #: ../includes/views/tabs/admin-forms-general-settings.php:55
562
  msgid "Double opt-in?"
563
+ msgstr "¿Doble opt-in?"
564
 
565
  #: ../includes/views/metaboxes/optional-form-settings.php:20
566
  #: ../includes/views/metaboxes/optional-form-settings.php:34
569
  #: ../includes/views/metaboxes/optional-form-settings.php:79
570
  #: ../includes/views/metaboxes/optional-form-settings.php:91
571
  msgid "Inherit"
572
+ msgstr "Heredado"
573
 
574
  #: ../includes/views/metaboxes/optional-form-settings.php:22
575
  #: ../includes/views/pages/admin-checkbox-settings.php:53
578
  "Select \"yes\" if you want people to confirm their email address before "
579
  "being subscribed (recommended)"
580
  msgstr ""
581
+ "Selecciona \"sí \" si quieres que los suscriptores confirmen su dirección de "
582
  "correo electrónico antes de suscribirse (recomendado)"
583
 
584
  #: ../includes/views/metaboxes/optional-form-settings.php:27
585
  #: ../includes/views/tabs/admin-forms-general-settings.php:76
586
  msgid "Update existing subscribers?"
587
+ msgstr "¿Actualizar los suscriptores existentes?"
588
 
589
  #: ../includes/views/metaboxes/optional-form-settings.php:36
590
  #: ../includes/views/tabs/admin-forms-general-settings.php:83
592
  "Select \"yes\" if you want to update existing subscribers (instead of "
593
  "showing the \"already subscribed\" message)."
594
  msgstr ""
595
+ "Selecciona \"sí \" si quieres actualizar los suscriptores existentes (en "
596
+ "lugar de mostrar el mensaje \"ya suscrito \")."
597
 
598
  #: ../includes/views/metaboxes/optional-form-settings.php:41
599
  #: ../includes/views/tabs/admin-forms-general-settings.php:87
600
  msgid "Replace interest groups?"
601
+ msgstr "¿Se sustituyen los grupos de interés?"
602
 
603
  #: ../includes/views/metaboxes/optional-form-settings.php:50
604
  #: ../includes/views/tabs/admin-forms-general-settings.php:94
607
  "provided instead of adding the provided groups to the member's interest "
608
  "groups (only when updating a subscriber)."
609
  msgstr ""
610
+ "Selecciona \"sí \" si deseas reemplazar los grupos de interés con los grupos "
611
  "previstos en lugar de añadir los grupos previstos para los grupos de interés "
612
  "del usuario (sólo cuando se actualiza un suscriptor)."
613
 
615
  #: ../includes/views/pages/admin-checkbox-settings.php:57
616
  #: ../includes/views/tabs/admin-forms-general-settings.php:66
617
  msgid "Send Welcome Email?"
618
+ msgstr "¿Enviar email de bienvenida?"
619
 
620
  #: ../includes/views/metaboxes/optional-form-settings.php:64
621
  #: ../includes/views/pages/admin-checkbox-settings.php:64
624
  "Select \"yes\" if you want to send your lists Welcome Email if a subscribe "
625
  "succeeds (only when double opt-in is disabled)."
626
  msgstr ""
627
+ "Selecciona \"sí \" si deseas enviar a tus listas un correo electrónico de "
628
+ "bienvenida si se realiza una suscripción correctamente (sólo cuando el "
629
  "proceso de doble opt-in está desactivado)."
630
 
631
  #: ../includes/views/metaboxes/optional-form-settings.php:69
635
  #: ../includes/views/metaboxes/optional-form-settings.php:72
636
  #: ../includes/views/tabs/admin-forms-general-settings.php:103
637
  msgid "Enable AJAX form submission?"
638
+ msgstr "¿Habilitar AJAX para el envío de formularios?"
639
 
640
  #: ../includes/views/metaboxes/optional-form-settings.php:80
641
  #: ../includes/views/tabs/admin-forms-general-settings.php:105
652
  #: ../includes/views/tabs/admin-forms-general-settings.php:110
653
  msgid "Select \"yes\" to hide the form fields after a successful sign-up."
654
  msgstr ""
655
+ "Selecciona \"Sí \" para ocultar los campos de formulario después de un "
656
+ "registro satisfactorio."
657
 
658
  #: ../includes/views/metaboxes/optional-form-settings.php:97
659
  #: ../includes/views/tabs/admin-forms-general-settings.php:113
671
 
672
  #: ../includes/views/metaboxes/optional-form-settings.php:104
673
  msgid "Send an email copy of the form data?"
674
+ msgstr "¿Quieres una copia de los datos del formulario por email?"
675
 
676
  #: ../includes/views/metaboxes/optional-form-settings.php:108
677
  msgid ""
678
  "Tick \"yes\" if you want to receive an email with the form data for every "
679
  "sign-up request."
680
  msgstr ""
681
+ "Marca \"sí \" si deseas recibir un correo electrónico con los datos del "
682
+ "formulario para cada solicitud de registro."
683
 
684
  #: ../includes/views/metaboxes/optional-form-settings.php:111
685
  msgid "Send the copy to this email:"
686
+ msgstr "Envia una copia a este email: "
687
 
688
  #: ../includes/views/metaboxes/optional-form-settings.php:117
689
  #: ../includes/views/tabs/admin-forms-general-settings.php:119
718
 
719
  #: ../includes/views/metaboxes/required-form-settings.php:14
720
  msgid "Lists this form subscribes to"
721
+ msgstr "Los formularios de esta lista suscriben a"
722
 
723
  #: ../includes/views/metaboxes/required-form-settings.php:17
724
  #: ../includes/views/pages/admin-checkbox-settings.php:38
732
 
733
  #: ../includes/views/metaboxes/required-form-settings.php:32
734
  msgid "Select MailChimp field.."
735
+ msgstr "Seleccione el campo de MailChimp ..."
736
 
737
  #: ../includes/views/metaboxes/required-form-settings.php:36
738
  msgid "Submit Button"
739
+ msgstr "Botón de alta"
740
 
741
  #: ../includes/views/metaboxes/required-form-settings.php:37
742
  msgid "Lists Choice"
743
+ msgstr "Seleccionar listas"
744
 
745
  #: ../includes/views/metaboxes/required-form-settings.php:45
746
  msgid "Label"
747
+ msgstr "Etiqueta"
748
 
749
  #: ../includes/views/metaboxes/required-form-settings.php:45
750
  #: ../includes/views/metaboxes/required-form-settings.php:50
754
 
755
  #: ../includes/views/metaboxes/required-form-settings.php:50
756
  msgid "Placeholder"
757
+ msgstr "Marcador de posición"
758
 
759
  #: ../includes/views/metaboxes/required-form-settings.php:55
760
  msgid "Initial value"
762
 
763
  #: ../includes/views/metaboxes/required-form-settings.php:60
764
  msgid "Labels"
765
+ msgstr "Etiquetas"
766
 
767
  #: ../includes/views/metaboxes/required-form-settings.php:60
768
  msgid "(leave empty to hide)"
787
 
788
  #: ../includes/views/metaboxes/required-form-settings.php:86
789
  msgid "Form usage"
790
+ msgstr "Formulario a emplear"
791
 
792
  #: ../includes/views/metaboxes/required-form-settings.php:87
793
  #, php-format
794
  msgid ""
795
  "Use the shortcode %s to display this form inside a post, page or text widget."
796
  msgstr ""
797
+ "Utiliza el código corto %s para mistrar este formulario dentro de una "
798
+ "entrada, artículo o un widget de texto."
799
 
800
  #: ../includes/views/pages/admin-checkbox-settings.php:11
801
  #: ../includes/views/pages/admin-form-settings.php:10
802
  #: ../includes/views/pages/admin-general-settings.php:10
803
  #: ../includes/views/pages/admin-reports.php:10
 
804
  msgid "MailChimp for WordPress"
805
+ msgstr "MailChimp para WordPress"
806
 
807
  #: ../includes/views/pages/admin-checkbox-settings.php:11
 
808
  msgid "Checkbox Settings"
809
+ msgstr "Ajustes de las casillas de verificación"
810
 
811
  #: ../includes/views/pages/admin-checkbox-settings.php:14
812
  msgid ""
830
  "menos una lista de MailChimp a las que la gente se suscribirá."
831
 
832
  #: ../includes/views/pages/admin-checkbox-settings.php:34
 
833
  msgid "MailChimp Lists"
834
+ msgstr "Listas de MailChimp"
835
 
836
  #: ../includes/views/pages/admin-checkbox-settings.php:45
837
  msgid ""
838
  "Select the list(s) to which people who check the checkbox should be "
839
  "subscribed."
840
  msgstr ""
841
+ "Selecciona la lista(s) a la que se registrarán las personas que marquen las "
842
  "casillas de verificación."
843
 
844
  #: ../includes/views/pages/admin-checkbox-settings.php:68
884
  #: ../includes/views/tabs/admin-forms-general-settings.php:48
885
  #: ../includes/views/tabs/admin-forms-general-settings.php:146
886
  msgid "Save all changes"
887
+ msgstr "Guardar todos los cambios"
888
 
889
  #: ../includes/views/pages/admin-checkbox-settings.php:103
 
890
  msgid "Custom label texts"
891
+ msgstr "Etiquetas personalizadas de textos"
892
 
893
  #: ../includes/views/pages/admin-checkbox-settings.php:104
894
  msgid ""
895
  "Override the default checkbox label text for any given checkbox using the "
896
  "fields below."
897
  msgstr ""
898
+ "Sobreescribir la casilla de verificación por defecto en cualquier casilla de "
899
+ "verificación empleando los campos de abajo"
900
 
901
  #: ../includes/views/pages/admin-form-settings.php:13
 
902
  msgid "Forms & Settings"
903
+ msgstr "Ajustes de los formularios"
904
 
905
  #: ../includes/views/pages/admin-form-settings.php:14
906
  msgid "CSS Styles Builder"
907
+ msgstr "Creador de estilos CSS"
908
 
909
  #: ../includes/views/pages/admin-general-settings.php:10
 
910
  msgid "License & API Settings"
911
+ msgstr "Ajustes de licencia y API"
912
 
913
  #: ../includes/views/pages/admin-general-settings.php:19
914
  msgid "API Settings"
915
+ msgstr "Configuración de la API"
916
 
917
  #: ../includes/views/pages/admin-general-settings.php:21
918
  msgid "CONNECTED"
924
 
925
  #: ../includes/views/pages/admin-general-settings.php:29
926
  msgid "API Key"
927
+ msgstr "Llave API"
928
 
929
  #: ../includes/views/pages/admin-general-settings.php:31
930
  msgid "Your MailChimp API key"
931
+ msgstr "Tu clave API de MailChimp"
932
 
933
  #: ../includes/views/pages/admin-general-settings.php:32
934
  msgid "Get your API key here."
955
 
956
  #: ../includes/views/pages/admin-general-settings.php:120
957
  msgid "No lists were found in your MailChimp account."
958
+ msgstr "No se han encontrado listas en tu cuenta de MailChimp"
959
 
960
  #: ../includes/views/pages/admin-reports.php:14
961
  msgid "Statistics"
962
+ msgstr "Estadísticas"
963
 
964
  #: ../includes/views/pages/admin-reports.php:15
965
  msgid "Log"
966
+ msgstr "Log"
967
 
968
  #: ../includes/views/parts/admin-footer.php:8
969
  #, php-format
971
  "Need help? Email me directly at <a href=\"%s\">support@dannyvankooten.com</"
972
  "a>. Please include your website URL and as many details as possible."
973
  msgstr ""
974
+ "¿Necesitas ayuda? Envíame un correo electrónico directamente a <a href=\"%s"
975
+ "\"> support@dannyvankooten.com</a>. Por favor, incluye la URL de tu sitio "
976
+ "web y el mayor número de detalles posible."
977
 
978
  #: ../includes/views/parts/admin-text-variables.php:11
979
  msgid "Replaced with the number of subscribers on the selected list(s)"
980
  msgstr ""
981
+ "Se sustituye con el número de suscriptores de la lista seleccionada (s)"
982
 
983
  #: ../includes/views/parts/admin-text-variables.php:15
984
  msgid "Replaced with the visitor's IP address"
985
+ msgstr "Se sustituye por la dirección IP del visitante"
986
 
987
  #: ../includes/views/parts/admin-text-variables.php:19
988
  #, php-format
989
  msgid "Replaced with the current date (yyyy/mm/dd eg: %s)"
990
+ msgstr "Se sustituye con la fecha actual (aaaa/mm/dd ejemplo: %s)"
991
 
992
  #: ../includes/views/parts/admin-text-variables.php:23
993
  #, php-format
994
  msgid "Replaced with the current time (hh:mm:ss eg: %s)"
995
+ msgstr "Se susitutiye con la hora actual (hh:mm:ss por ejemplo: %s)"
996
 
997
  #: ../includes/views/parts/admin-text-variables.php:27
998
  msgid ""
999
  "Replaced with the logged in user's email (or nothing, if there is no logged "
1000
  "in user)"
1001
  msgstr ""
1002
+ "Se sustituye con la cuenta de correo del usuario que ha iniciado sesión (o "
1003
+ "ninguna, si no hay un usuario que ha iniciado sesión)"
1004
 
1005
  #: ../includes/views/parts/admin-text-variables.php:31
1006
  msgid "Display name of the current user"
1007
+ msgstr "Mostrar nombre del usuario actual"
1008
 
1009
  #: ../includes/views/parts/admin-text-variables.php:35
1010
  msgid "First name of the current user"
1011
+ msgstr "Apellido del usuario actual"
1012
 
1013
  #: ../includes/views/parts/admin-text-variables.php:39
1014
  msgid "Last name of the current user"
1015
+ msgstr "Segundo apellido del usuario actual"
1016
 
1017
  #: ../includes/views/parts/admin-text-variables.php:43
1018
  msgid "Current user ID"
1019
+ msgstr "ID de usuario actual"
1020
 
1021
  #: ../includes/views/parts/admin-text-variables.php:47
1022
  msgid "Current URL"
1023
+ msgstr "URL actual"
1024
 
1025
  #: ../includes/views/tabs/admin-forms-css-builder.php:10
 
1026
  msgid "Use the fields below to create custom styling rules for your forms."
1027
  msgstr ""
1028
+ "Utiliza los campos inferiores para crear reglas de estilo personalizadas "
1029
+ "para tus formularios."
1030
 
1031
  #: ../includes/views/tabs/admin-forms-css-builder.php:214
1032
  msgid "Build CSS File"
1033
+ msgstr "Crear archivo CSS"
1034
 
1035
  #: ../includes/views/tabs/admin-forms-general-settings.php:8
1036
  msgid "Sign-Up Forms"
1037
+ msgstr "Formularios de suscripción"
1038
 
1039
  #: ../includes/views/tabs/admin-forms-general-settings.php:8
1040
  msgid "Create New Form"
1041
+ msgstr "Crear nuevo formulario"
1042
 
1043
  #: ../includes/views/tabs/admin-forms-general-settings.php:16
 
1044
  msgid "General form settings"
1045
+ msgstr "Configuración general para los formularios"
1046
 
1047
  #: ../includes/views/tabs/admin-forms-general-settings.php:19
 
1048
  msgid "Load form styles (CSS)?"
1049
+ msgstr "¿Cargamos los estilos CSS por defecto?"
1050
 
1051
  #: ../includes/views/tabs/admin-forms-general-settings.php:23
1052
  msgid "Yes, load basic form styles"
1053
+ msgstr "Si, carga los estilos de formulario básicos"
1054
 
1055
  #: ../includes/views/tabs/admin-forms-general-settings.php:24
1056
  msgid "Yes, load my custom form styles"
1057
+ msgstr "Si, carga mis estilos de formulario personalizados"
1058
 
1059
  #: ../includes/views/tabs/admin-forms-general-settings.php:25
1060
  msgid "Yes, load default form theme"
1061
+ msgstr "Si, carga los ajustes de formulario del tema por defecto"
1062
 
1063
  #: ../includes/views/tabs/admin-forms-general-settings.php:26
1064
  msgid "Light Theme"
1065
+ msgstr "Tema claro"
1066
 
1067
  #: ../includes/views/tabs/admin-forms-general-settings.php:27
1068
  msgid "Red Theme"
1069
+ msgstr "Tema rojo"
1070
 
1071
  #: ../includes/views/tabs/admin-forms-general-settings.php:28
1072
  msgid "Green Theme"
1073
+ msgstr "Tema verde"
1074
 
1075
  #: ../includes/views/tabs/admin-forms-general-settings.php:29
1076
  msgid "Blue Theme"
1077
+ msgstr "Tema azul"
1078
 
1079
  #: ../includes/views/tabs/admin-forms-general-settings.php:30
1080
  msgid "Dark Theme"
1081
+ msgstr "Tema oscuro"
1082
 
1083
  #: ../includes/views/tabs/admin-forms-general-settings.php:31
1084
  msgid "Custom Color Theme"
1085
+ msgstr "Color de tema personalizado"
1086
 
1087
  #: ../includes/views/tabs/admin-forms-general-settings.php:36
1088
  #, php-format
1091
  "\"custom form styles\". Otherwise, choose the basic formatting styles or one "
1092
  "of the default themes."
1093
  msgstr ""
1094
+ "Si %screaste una hoja de estilo personalizada%s y deseas que se cargue, "
1095
+ "selecciona \"estilos de formulario personalizados \". De lo contrario, elije "
1096
+ "los estilos de formato básico o uno de los temas por defecto."
1097
 
1098
  #: ../includes/views/tabs/admin-forms-general-settings.php:40
1099
  msgid "Select Color"
1100
+ msgstr "Selección de color"
1101
 
1102
  #: ../includes/views/tabs/admin-forms-general-settings.php:50
 
1103
  msgid "Default MailChimp settings"
1104
+ msgstr "Ajustes de MailChimp por defecto"
1105
 
1106
  #: ../includes/views/tabs/admin-forms-general-settings.php:51
1107
  #: ../includes/views/tabs/admin-forms-general-settings.php:99
1109
  "The following settings apply to <strong>all</strong> forms but can be "
1110
  "overridden on a per-form basis."
1111
  msgstr ""
1112
+ "Los siguientes ajustes se aplican a<strong> todos </ strong>los formularios "
1113
+ "pero pueden reemplazarse uno a uno."
1114
 
1115
  #: ../includes/views/tabs/admin-forms-general-settings.php:98
 
1116
  msgid "Default form settings"
1117
+ msgstr "Ajustes de formulario por defecto"
1118
 
1119
  #~ msgid "Upgrade to Pro"
1120
  #~ msgstr "Actualizar a la versión pro"
mailchimp-for-wp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MailChimp for WordPress Lite
4
  Plugin URI: http://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.1
7
  Author: Danny van Kooten
8
  Author URI: http://dannyvankooten.com
9
  Text Domain: mailchimp-for-wp
@@ -47,12 +47,13 @@ function mc4wp_load_plugin() {
47
  }
48
 
49
  // bootstrap the lite plugin
50
- define( "MC4WP_LITE_VERSION", "2.0.1" );
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__ );
54
 
55
  require_once MC4WP_LITE_PLUGIN_DIR . 'includes/functions/general.php';
 
56
  require_once MC4WP_LITE_PLUGIN_DIR . 'includes/class-plugin.php';
57
  $GLOBALS['mc4wp'] = new MC4WP_Lite();
58
 
3
  Plugin Name: MailChimp for WordPress Lite
4
  Plugin URI: http://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.2
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.2" );
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__ );
54
 
55
  require_once MC4WP_LITE_PLUGIN_DIR . 'includes/functions/general.php';
56
+ require_once MC4WP_LITE_PLUGIN_DIR . 'includes/functions/template.php';
57
  require_once MC4WP_LITE_PLUGIN_DIR . 'includes/class-plugin.php';
58
  $GLOBALS['mc4wp'] = new MC4WP_Lite();
59
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://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.5
6
  Tested up to: 3.9.1
7
- Stable tag: 2.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -210,6 +210,22 @@ Your theme folder can be found by browsing to `/wp-content/themes/your-theme-nam
210
 
211
  == Changelog ==
212
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  = 2.0.1 =
214
 
215
  **Improvements**
@@ -396,5 +412,5 @@ Your theme folder can be found by browsing to `/wp-content/themes/your-theme-nam
396
 
397
  == Upgrade Notice ==
398
 
399
- = 2.0.1 =
400
- Added Spanish translation and updated others. Minor code & usability improvements.
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.5
6
  Tested up to: 3.9.1
7
+ Stable tag: 2.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
210
 
211
  == Changelog ==
212
 
213
+ = 2.0.2 =
214
+
215
+ **Fixes**
216
+
217
+ - Fix fatal error when using `mc4wp_checkbox()` function
218
+ - No more double API request when integrating with Contact Form 7
219
+
220
+ **Improvements**
221
+
222
+ - Template functions are now always loaded when needed
223
+ - A warning will now show when required fields are missing in the form mark-up
224
+ - Required form classes can no longer be accidentally removed
225
+ - Various checkbox integration improvements
226
+ - Various CSS improvements to colored form themes
227
+ - Updated Spanish translations
228
+
229
  = 2.0.1 =
230
 
231
  **Improvements**
412
 
413
  == Upgrade Notice ==
414
 
415
+ = 2.0.2 =
416
+ Various fixes and improvements regarding form fields, checkbox integrations and form colours