Version Description
- September 7, 2015 =
Fixes
- Showing "not connected" when the plugin was actually connected to MailChimp.
- Issue with
address
fields whenaddr1
was not given. - Comment form checkbox not outputted for some older themes.
Improvements
- Do not flush MailChimp cache on every settings save.
- Add default CSS styles for
number
fields. - Placeholders will now work in older version of IE as well.
Download this release
Release Info
Developer | DvanKooten |
Plugin | MailChimp for WordPress |
Version | 2.3.10 |
Comparing to | |
See all releases |
Code changes from version 2.3.8 to 2.3.10
- assets/css/admin.css +7 -0
- assets/css/admin.min.css +1 -1
- assets/css/form-theme-blue.css +7 -3
- assets/css/form-theme-blue.css.map +1 -1
- assets/css/form-theme-blue.min.css +1 -1
- assets/css/form-theme-dark.css +7 -3
- assets/css/form-theme-dark.css.map +1 -1
- assets/css/form-theme-dark.min.css +1 -1
- assets/css/form-theme-green.css +7 -3
- assets/css/form-theme-green.css.map +1 -1
- assets/css/form-theme-green.min.css +1 -1
- assets/css/form-theme-light.css +7 -3
- assets/css/form-theme-light.css.map +1 -1
- assets/css/form-theme-light.min.css +1 -1
- assets/css/form-theme-red.css +7 -3
- assets/css/form-theme-red.css.map +1 -1
- assets/css/form-theme-red.min.css +1 -1
- assets/css/form.css +1 -0
- assets/css/form.css.map +1 -1
- assets/css/form.min.css +1 -1
- assets/img/icon-large.png +0 -0
- assets/img/icon.png +0 -0
- assets/img/menu-icon.png +0 -0
- assets/js/form-request.js +53 -72
- assets/js/form-request.min.js +1 -1
- includes/admin/class-admin.php +66 -16
- includes/class-api.php +14 -2
- includes/class-field-mapper.php +12 -2
- includes/class-form-manager.php +5 -0
- includes/class-form.php +32 -1
- includes/class-mailchimp.php +59 -15
- includes/class-request.php +1 -1
- includes/class-tools.php +19 -1
- includes/functions/general.php +13 -21
- includes/integrations/class-comment-form.php +39 -8
- includes/integrations/class-integration.php +2 -1
- includes/views/api-settings.php +3 -1
- includes/views/checkbox-settings.php +1 -1
- includes/views/form-settings.php +1 -1
- languages/mailchimp-for-wp-es_ES.mo +0 -0
- languages/mailchimp-for-wp-es_ES.po +65 -64
- mailchimp-for-wp.php +2 -2
- readme.txt +32 -3
- vendor/autoload_52.php +1 -1
- vendor/composer/ClassLoader.php +4 -4
- vendor/composer/autoload_files.php +0 -10
- vendor/composer/autoload_real_52.php +3 -3
- vendor/composer/include_paths.php +0 -12
- wpml-config.xml +1 -0
assets/css/admin.css
CHANGED
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
#mc4wp-content{
|
3 |
float:left;
|
1 |
+
/* settings pages */
|
2 |
+
#mc4wp-admin .page-title {
|
3 |
+
background: url( "../img/icon-large.png" ) no-repeat left center;
|
4 |
+
padding-left: 42px;
|
5 |
+
line-height: 32px;
|
6 |
+
margin-bottom: 20px;
|
7 |
+
}
|
8 |
|
9 |
#mc4wp-content{
|
10 |
float:left;
|
assets/css/admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#mc4wp-content{float:left;width:65%}#mc4wp-sidebar{float:left;width:33%;margin-left:2%;border-left:1px solid #ccc;padding:0 0 0 2%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.valigntop{vertical-align:top!important}.mc4wp-box{margin-bottom:20px}.mc4wp-box label{font-weight:700}#mc4wp-upgrade-box{background:#222;color:#ddd;padding:20px}#mc4wp-upgrade-box h3{margin:0;color:#fff}#mc4wp-fw h4{margin-top:0}#mc4wp-fw p{margin-bottom:1em}#mc4wp-fw-fields{display:none}#mc4wp-fw-preview{font-family:"Courier New",Courier,monospace;min-height:200px;font-size:11px;background:#fff;z-index:99}#mc4wp-lists{margin:0}#mc4wp-lists input{margin-right:5px}.mc4wp-settings tr.pro-feature td,.mc4wp-settings tr.pro-feature th,.pro-feature{color:#aaa}#mc4wp-admin .status{display:inline-block;margin-left:1em;padding:3px 6px;color:#fff;font-size:12px;font-weight:700}#mc4wp-admin .positive{background-color:#32cd32}#mc4wp-admin .negative{background-color:red}#mc4wp-admin .neutral{background:gray}#mc4wp-admin table th{text-align:left}#mc4wp-admin table.form-table tr td:first-child,#mc4wp-admin table.form-table tr th:first-child{padding-left:0}#mc4wp-admin td.nowrap{white-space:nowrap}#mc4wp-admin td.desc{font-style:italic;font-size:11px}.mc4wp-notice{padding:6px 8px;color:#31708f;background:#d9edf7;border:1px solid #bce8f1;margin:1em 0!important}#mc4wp-admin .mc4wp-col{float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:50%;padding:0 5px}#mc4wp-admin .mc4wp-first{padding-left:0}#mc4wp-admin .mc4wp-last{padding-right:0}.mc4wp-well{background:#fff;padding:10px;border:1px solid #ccc}.mc4wp-title{font-size:1.4em;margin:1.6em 0 1em;padding:0 0 6px;border-bottom:1px solid #ddd}table.mc4wp-help,table.mc4wp-help td,table.mc4wp-help th{border:1px solid #ddd;border-collapse:collapse;font-size:12px}table.mc4wp-help td,table.mc4wp-help th{vertical-align:text-top;text-align:left;padding:5px 10px}table.mc4wp-help tr:hover{background-color:#ddd}#mc4wp-admin .wp-list-table code{float:right}.mc4wp-lists-overview{border-collapse:collapse;background:#fff;padding:20px;max-height:500px;overflow-y:scroll}.mc4wp-lists-overview table{border:0}.mc4wp-lists-overview th{font-weight:700;vertical-align:top}.mc4wp-lists-overview td,.mc4wp-lists-overview th{border:1px solid #efefef}.mc4wp-lists-overview h3{margin:0!important}@media(max-width:1279px){#mc4wp-content,#mc4wp-sidebar{float:none;width:100%;padding:0;margin:0}#mc4wp-sidebar{border-left:0;border-top:1px solid #ccc;margin-top:25px;padding-top:25px}#mc4wp-admin .wp-list-table code{float:none}}@media(max-width:860px){.mc4wp-hide-smallscreens{display:none}}
|
1 |
+
#mc4wp-admin .page-title{background:url("../img/icon-large.png") left center no-repeat;padding-left:42px;line-height:32px;margin-bottom:20px}#mc4wp-content{float:left;width:65%}#mc4wp-sidebar{float:left;width:33%;margin-left:2%;border-left:1px solid #ccc;padding:0 0 0 2%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.valigntop{vertical-align:top!important}.mc4wp-box{margin-bottom:20px}.mc4wp-box label{font-weight:700}#mc4wp-upgrade-box{background:#222;color:#ddd;padding:20px}#mc4wp-upgrade-box h3{margin:0;color:#fff}#mc4wp-fw h4{margin-top:0}#mc4wp-fw p{margin-bottom:1em}#mc4wp-fw-fields{display:none}#mc4wp-fw-preview{font-family:"Courier New",Courier,monospace;min-height:200px;font-size:11px;background:#fff;z-index:99}#mc4wp-lists{margin:0}#mc4wp-lists input{margin-right:5px}.mc4wp-settings tr.pro-feature td,.mc4wp-settings tr.pro-feature th,.pro-feature{color:#aaa}#mc4wp-admin .status{display:inline-block;margin-left:1em;padding:3px 6px;color:#fff;font-size:12px;font-weight:700}#mc4wp-admin .positive{background-color:#32cd32}#mc4wp-admin .negative{background-color:red}#mc4wp-admin .neutral{background:gray}#mc4wp-admin table th{text-align:left}#mc4wp-admin table.form-table tr td:first-child,#mc4wp-admin table.form-table tr th:first-child{padding-left:0}#mc4wp-admin td.nowrap{white-space:nowrap}#mc4wp-admin td.desc{font-style:italic;font-size:11px}.mc4wp-notice{padding:6px 8px;color:#31708f;background:#d9edf7;border:1px solid #bce8f1;margin:1em 0!important}#mc4wp-admin .mc4wp-col{float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:50%;padding:0 5px}#mc4wp-admin .mc4wp-first{padding-left:0}#mc4wp-admin .mc4wp-last{padding-right:0}.mc4wp-well{background:#fff;padding:10px;border:1px solid #ccc}.mc4wp-title{font-size:1.4em;margin:1.6em 0 1em;padding:0 0 6px;border-bottom:1px solid #ddd}table.mc4wp-help,table.mc4wp-help td,table.mc4wp-help th{border:1px solid #ddd;border-collapse:collapse;font-size:12px}table.mc4wp-help td,table.mc4wp-help th{vertical-align:text-top;text-align:left;padding:5px 10px}table.mc4wp-help tr:hover{background-color:#ddd}#mc4wp-admin .wp-list-table code{float:right}.mc4wp-lists-overview{border-collapse:collapse;background:#fff;padding:20px;max-height:500px;overflow-y:scroll}.mc4wp-lists-overview table{border:0}.mc4wp-lists-overview th{font-weight:700;vertical-align:top}.mc4wp-lists-overview td,.mc4wp-lists-overview th{border:1px solid #efefef}.mc4wp-lists-overview h3{margin:0!important}@media(max-width:1279px){#mc4wp-content,#mc4wp-sidebar{float:none;width:100%;padding:0;margin:0}#mc4wp-sidebar{border-left:0;border-top:1px solid #ccc;margin-top:25px;padding-top:25px}#mc4wp-admin .wp-list-table code{float:none}}@media(max-width:860px){.mc4wp-hide-smallscreens{display:none}}
|
assets/css/form-theme-blue.css
CHANGED
@@ -29,6 +29,7 @@
|
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
|
|
32 |
.mc4wp-form textarea,
|
33 |
.mc4wp-form select {
|
34 |
width: 100%;
|
@@ -100,14 +101,14 @@
|
|
100 |
/* Form base theme */
|
101 |
form.mc4wp-form,
|
102 |
.mc4wp-form form {
|
103 |
-
box-shadow: none !important;
|
104 |
-webkit-box-shadow: none;
|
105 |
-moz-box-shadow: none;
|
|
|
106 |
width: auto;
|
107 |
}
|
108 |
|
109 |
.mc4wp-form p {
|
110 |
-
margin:
|
111 |
padding: 0;
|
112 |
}
|
113 |
|
@@ -121,6 +122,7 @@ form.mc4wp-form,
|
|
121 |
.mc4wp-form input[type="tel"],
|
122 |
.mc4wp-form input[type="url"],
|
123 |
.mc4wp-form input[type="date"],
|
|
|
124 |
.mc4wp-form textarea,
|
125 |
.mc4wp-form select {
|
126 |
width: 100%;
|
@@ -129,7 +131,7 @@ form.mc4wp-form,
|
|
129 |
padding: 6px 12px;
|
130 |
font-size: 14px;
|
131 |
line-height: 1.428571429;
|
132 |
-
color: #555555;
|
133 |
vertical-align: middle;
|
134 |
background-color: #ffffff;
|
135 |
border: 1px solid #cccccc;
|
@@ -150,6 +152,8 @@ form.mc4wp-form,
|
|
150 |
.mc4wp-form input[type="email"]:focus,
|
151 |
.mc4wp-form input[type="tel"]:focus,
|
152 |
.mc4wp-form input[type="url"]:focus,
|
|
|
|
|
153 |
.mc4wp-form textarea:focus,
|
154 |
.mc4wp-form select:focus {
|
155 |
border-color: #66afe9;
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
32 |
+
.mc4wp-form input[type="number"],
|
33 |
.mc4wp-form textarea,
|
34 |
.mc4wp-form select {
|
35 |
width: 100%;
|
101 |
/* Form base theme */
|
102 |
form.mc4wp-form,
|
103 |
.mc4wp-form form {
|
|
|
104 |
-webkit-box-shadow: none;
|
105 |
-moz-box-shadow: none;
|
106 |
+
box-shadow: none !important;
|
107 |
width: auto;
|
108 |
}
|
109 |
|
110 |
.mc4wp-form p {
|
111 |
+
margin: 20px 0;
|
112 |
padding: 0;
|
113 |
}
|
114 |
|
122 |
.mc4wp-form input[type="tel"],
|
123 |
.mc4wp-form input[type="url"],
|
124 |
.mc4wp-form input[type="date"],
|
125 |
+
.mc4wp-form input[type="number"],
|
126 |
.mc4wp-form textarea,
|
127 |
.mc4wp-form select {
|
128 |
width: 100%;
|
131 |
padding: 6px 12px;
|
132 |
font-size: 14px;
|
133 |
line-height: 1.428571429;
|
134 |
+
color: #555555 !important;
|
135 |
vertical-align: middle;
|
136 |
background-color: #ffffff;
|
137 |
border: 1px solid #cccccc;
|
152 |
.mc4wp-form input[type="email"]:focus,
|
153 |
.mc4wp-form input[type="tel"]:focus,
|
154 |
.mc4wp-form input[type="url"]:focus,
|
155 |
+
.mc4wp-form input[type="date"]:focus,
|
156 |
+
.mc4wp-form input[type="number"]:focus,
|
157 |
.mc4wp-form textarea:focus,
|
158 |
.mc4wp-form select:focus {
|
159 |
border-color: #66afe9;
|
assets/css/form-theme-blue.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,cAAc,EAAE,QAAQ;EACxB,WAAW,EAAE,MAAM;;AAInB,iBAAM;EACN,WAAW,EAAE,IAAI;EACf,aAAa,EAAE,GAAG;;AAMlB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-blue.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-blue.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,cAAc,EAAE,QAAQ;EACxB,WAAW,EAAE,MAAM;;AAInB,iBAAM;EACN,WAAW,EAAE,IAAI;EACf,aAAa,EAAE,GAAG;;AAMlB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B;;;;;;;kBAOO;EACL,KAAK,EAAE,IAAI;;AAGd,gCAAqB;EACpB,SAAS,EAAE,IAAI;;AAGf;+BACoB;EAClB,QAAQ,EAAE,QAAQ;EAClB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,YAAY;EACrB,MAAM,EAAE,CAAC;;AAGX,kCAAuB;EACrB,kBAAkB,EAAE,QAAQ;;AAG9B,+BAAoB;EAClB,kBAAkB,EAAE,KAAK;;AAG3B,wDAA6C;EAC3C,OAAO,EAAE,eA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BAE0B;EACxB,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,CAAC;EACV,eAAe,EAAE,oCAAoC;EACrD,kBAAkB,EAAE,oCAAoC;EACxD,UAAU,EAAE,oCAAoC;;;AC7HlD;kBACmB;EACjB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;wBAKyB;EACvB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;;wBAMyB;EACvB,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-blue.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-blue.css"
|
assets/css/form-theme-blue.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.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 form,form.mc4wp-form{box-shadow:none
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.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 form,form.mc4wp-form{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none!important;width:auto}.mc4wp-form p{margin:20px 0;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=number],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555!important;vertical-align:middle;background-color:#fff;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;background-image:none;text-shadow:none}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=number]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[disabled],.mc4wp-form input[readonly]{background-color:#eee}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;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:0 0;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form button:focus,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=submit]:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=button]:hover,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#333;text-decoration:none;background:0 0}.mc4wp-form button:active,.mc4wp-form input[type=button]:active,.mc4wp-form input[type=submit]:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.mc4wp-form button,.mc4wp-form input[type=submit]{color:#fff!important;background-color:#428bca!important;border-color:#357ebd}.mc4wp-form button:active,.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=submit]:active,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#fff!important;background-color:#3276b1!important;border-color:#285e8e}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#428bca}
|
assets/css/form-theme-dark.css
CHANGED
@@ -29,6 +29,7 @@
|
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
|
|
32 |
.mc4wp-form textarea,
|
33 |
.mc4wp-form select {
|
34 |
width: 100%;
|
@@ -100,14 +101,14 @@
|
|
100 |
/* Form base theme */
|
101 |
form.mc4wp-form,
|
102 |
.mc4wp-form form {
|
103 |
-
box-shadow: none !important;
|
104 |
-webkit-box-shadow: none;
|
105 |
-moz-box-shadow: none;
|
|
|
106 |
width: auto;
|
107 |
}
|
108 |
|
109 |
.mc4wp-form p {
|
110 |
-
margin:
|
111 |
padding: 0;
|
112 |
}
|
113 |
|
@@ -121,6 +122,7 @@ form.mc4wp-form,
|
|
121 |
.mc4wp-form input[type="tel"],
|
122 |
.mc4wp-form input[type="url"],
|
123 |
.mc4wp-form input[type="date"],
|
|
|
124 |
.mc4wp-form textarea,
|
125 |
.mc4wp-form select {
|
126 |
width: 100%;
|
@@ -129,7 +131,7 @@ form.mc4wp-form,
|
|
129 |
padding: 6px 12px;
|
130 |
font-size: 14px;
|
131 |
line-height: 1.428571429;
|
132 |
-
color: #555555;
|
133 |
vertical-align: middle;
|
134 |
background-color: #ffffff;
|
135 |
border: 1px solid #cccccc;
|
@@ -150,6 +152,8 @@ form.mc4wp-form,
|
|
150 |
.mc4wp-form input[type="email"]:focus,
|
151 |
.mc4wp-form input[type="tel"]:focus,
|
152 |
.mc4wp-form input[type="url"]:focus,
|
|
|
|
|
153 |
.mc4wp-form textarea:focus,
|
154 |
.mc4wp-form select:focus {
|
155 |
border-color: #66afe9;
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
32 |
+
.mc4wp-form input[type="number"],
|
33 |
.mc4wp-form textarea,
|
34 |
.mc4wp-form select {
|
35 |
width: 100%;
|
101 |
/* Form base theme */
|
102 |
form.mc4wp-form,
|
103 |
.mc4wp-form form {
|
|
|
104 |
-webkit-box-shadow: none;
|
105 |
-moz-box-shadow: none;
|
106 |
+
box-shadow: none !important;
|
107 |
width: auto;
|
108 |
}
|
109 |
|
110 |
.mc4wp-form p {
|
111 |
+
margin: 20px 0;
|
112 |
padding: 0;
|
113 |
}
|
114 |
|
122 |
.mc4wp-form input[type="tel"],
|
123 |
.mc4wp-form input[type="url"],
|
124 |
.mc4wp-form input[type="date"],
|
125 |
+
.mc4wp-form input[type="number"],
|
126 |
.mc4wp-form textarea,
|
127 |
.mc4wp-form select {
|
128 |
width: 100%;
|
131 |
padding: 6px 12px;
|
132 |
font-size: 14px;
|
133 |
line-height: 1.428571429;
|
134 |
+
color: #555555 !important;
|
135 |
vertical-align: middle;
|
136 |
background-color: #ffffff;
|
137 |
border: 1px solid #cccccc;
|
152 |
.mc4wp-form input[type="email"]:focus,
|
153 |
.mc4wp-form input[type="tel"]:focus,
|
154 |
.mc4wp-form input[type="url"]:focus,
|
155 |
+
.mc4wp-form input[type="date"]:focus,
|
156 |
+
.mc4wp-form input[type="number"]:focus,
|
157 |
.mc4wp-form textarea:focus,
|
158 |
.mc4wp-form select:focus {
|
159 |
border-color: #66afe9;
|
assets/css/form-theme-dark.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,cAAc,EAAE,QAAQ;EACxB,WAAW,EAAE,MAAM;;AAInB,iBAAM;EACN,WAAW,EAAE,IAAI;EACf,aAAa,EAAE,GAAG;;AAMlB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-dark.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-dark.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,cAAc,EAAE,QAAQ;EACxB,WAAW,EAAE,MAAM;;AAInB,iBAAM;EACN,WAAW,EAAE,IAAI;EACf,aAAa,EAAE,GAAG;;AAMlB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B;;;;;;;kBAOO;EACL,KAAK,EAAE,IAAI;;AAGd,gCAAqB;EACpB,SAAS,EAAE,IAAI;;AAGf;+BACoB;EAClB,QAAQ,EAAE,QAAQ;EAClB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,CAAC;EACV,MAAM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,IAAI;;;AAGb;;wBAEyB;EACvB,OAAO,EAAE,gBAAgB;EACzB,OAAO,EAAE,iCAAiC;EAC1C,cAAc,EAAE,IAAI;;;AAGtB;;;;;wBAKyB;EACvB,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,IAAI;EACtB,UAAU,EAAE,IAAI;;;AAGjB;;yBAE0B;EACxB,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,CAAC;EACV,eAAe,EAAE,oCAAoC;EACrD,kBAAkB,EAAE,oCAAoC;EACxD,UAAU,EAAE,oCAAoC;;;AC7HlD;kBACmB;EACjB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;wBAKyB;EACvB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;;wBAMyB;EACvB,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-dark.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-dark.css"
|
assets/css/form-theme-dark.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.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 form,form.mc4wp-form{box-shadow:none
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.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 form,form.mc4wp-form{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none!important;width:auto}.mc4wp-form p{margin:20px 0;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=number],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555!important;vertical-align:middle;background-color:#fff;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;background-image:none;text-shadow:none}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=number]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[disabled],.mc4wp-form input[readonly]{background-color:#eee}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;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:0 0;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form button:focus,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=submit]:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=button]:hover,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#333;text-decoration:none;background:0 0}.mc4wp-form button:active,.mc4wp-form input[type=button]:active,.mc4wp-form input[type=submit]:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.mc4wp-form button,.mc4wp-form input[type=submit]{color:#fff!important;background-color:#444!important;border-color:#282828}.mc4wp-form button:active,.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=submit]:active,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#fff!important;background-color:#282828!important;border-color:#111}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#444}
|
assets/css/form-theme-green.css
CHANGED
@@ -29,6 +29,7 @@
|
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
|
|
32 |
.mc4wp-form textarea,
|
33 |
.mc4wp-form select {
|
34 |
width: 100%;
|
@@ -100,14 +101,14 @@
|
|
100 |
/* Form base theme */
|
101 |
form.mc4wp-form,
|
102 |
.mc4wp-form form {
|
103 |
-
box-shadow: none !important;
|
104 |
-webkit-box-shadow: none;
|
105 |
-moz-box-shadow: none;
|
|
|
106 |
width: auto;
|
107 |
}
|
108 |
|
109 |
.mc4wp-form p {
|
110 |
-
margin:
|
111 |
padding: 0;
|
112 |
}
|
113 |
|
@@ -121,6 +122,7 @@ form.mc4wp-form,
|
|
121 |
.mc4wp-form input[type="tel"],
|
122 |
.mc4wp-form input[type="url"],
|
123 |
.mc4wp-form input[type="date"],
|
|
|
124 |
.mc4wp-form textarea,
|
125 |
.mc4wp-form select {
|
126 |
width: 100%;
|
@@ -129,7 +131,7 @@ form.mc4wp-form,
|
|
129 |
padding: 6px 12px;
|
130 |
font-size: 14px;
|
131 |
line-height: 1.428571429;
|
132 |
-
color: #555555;
|
133 |
vertical-align: middle;
|
134 |
background-color: #ffffff;
|
135 |
border: 1px solid #cccccc;
|
@@ -150,6 +152,8 @@ form.mc4wp-form,
|
|
150 |
.mc4wp-form input[type="email"]:focus,
|
151 |
.mc4wp-form input[type="tel"]:focus,
|
152 |
.mc4wp-form input[type="url"]:focus,
|
|
|
|
|
153 |
.mc4wp-form textarea:focus,
|
154 |
.mc4wp-form select:focus {
|
155 |
border-color: #66afe9;
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
32 |
+
.mc4wp-form input[type="number"],
|
33 |
.mc4wp-form textarea,
|
34 |
.mc4wp-form select {
|
35 |
width: 100%;
|
101 |
/* Form base theme */
|
102 |
form.mc4wp-form,
|
103 |
.mc4wp-form form {
|
|
|
104 |
-webkit-box-shadow: none;
|
105 |
-moz-box-shadow: none;
|
106 |
+
box-shadow: none !important;
|
107 |
width: auto;
|
108 |
}
|
109 |
|
110 |
.mc4wp-form p {
|
111 |
+
margin: 20px 0;
|
112 |
padding: 0;
|
113 |
}
|
114 |
|
122 |
.mc4wp-form input[type="tel"],
|
123 |
.mc4wp-form input[type="url"],
|
124 |
.mc4wp-form input[type="date"],
|
125 |
+
.mc4wp-form input[type="number"],
|
126 |
.mc4wp-form textarea,
|
127 |
.mc4wp-form select {
|
128 |
width: 100%;
|
131 |
padding: 6px 12px;
|
132 |
font-size: 14px;
|
133 |
line-height: 1.428571429;
|
134 |
+
color: #555555 !important;
|
135 |
vertical-align: middle;
|
136 |
background-color: #ffffff;
|
137 |
border: 1px solid #cccccc;
|
152 |
.mc4wp-form input[type="email"]:focus,
|
153 |
.mc4wp-form input[type="tel"]:focus,
|
154 |
.mc4wp-form input[type="url"]:focus,
|
155 |
+
.mc4wp-form input[type="date"]:focus,
|
156 |
+
.mc4wp-form input[type="number"]:focus,
|
157 |
.mc4wp-form textarea:focus,
|
158 |
.mc4wp-form select:focus {
|
159 |
border-color: #66afe9;
|
assets/css/form-theme-green.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,cAAc,EAAE,QAAQ;EACxB,WAAW,EAAE,MAAM;;AAInB,iBAAM;EACN,WAAW,EAAE,IAAI;EACf,aAAa,EAAE,GAAG;;AAMlB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-green.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-green.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,cAAc,EAAE,QAAQ;EACxB,WAAW,EAAE,MAAM;;AAInB,iBAAM;EACN,WAAW,EAAE,IAAI;EACf,aAAa,EAAE,GAAG;;AAMlB,gCAAiB;EACb,KAAK,EAAE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IAAI;EACrB,cAAc,EAAE,IAAI;EACpB,WAAW,EAAE,IAAI;EACjB,UAAU,EAAE,IAAI;EAChB,UAAU,EAAE,IAAI;EAChB,WAAW,EAAE,IAAI;EACjB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;;;AAGb;;wBAEyB;EACvB,OAAO,EAAE,gBAAgB;EACzB,OAAO,EAAE,iCAAiC;EAC1C,cAAc,EAAE,IAAI;;;AAGtB;;;;;wBAKyB;EACvB,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,IAAI;EACtB,UAAU,EAAE,IAAI;;;AAGjB;;yBAE0B;EACxB,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,CAAC;EACV,eAAe,EAAE,oCAAoC;EACrD,kBAAkB,EAAE,oCAAoC;EACxD,UAAU,EAAE,oCAAoC;;;AC7HlD;kBACmB;EACjB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;wBAKyB;EACvB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;;wBAMyB;EACvB,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-green.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-green.css"
|
assets/css/form-theme-green.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.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 form,form.mc4wp-form{box-shadow:none
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.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 form,form.mc4wp-form{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none!important;width:auto}.mc4wp-form p{margin:20px 0;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=number],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555!important;vertical-align:middle;background-color:#fff;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;background-image:none;text-shadow:none}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=number]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[disabled],.mc4wp-form input[readonly]{background-color:#eee}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;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:0 0;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form button:focus,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=submit]:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=button]:hover,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#333;text-decoration:none;background:0 0}.mc4wp-form button:active,.mc4wp-form input[type=button]:active,.mc4wp-form input[type=submit]:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.mc4wp-form button,.mc4wp-form input[type=submit]{color:#fff!important;background-color:#5cb85c!important;border-color:#4cae4c}.mc4wp-form button:active,.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=submit]:active,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#fff!important;background-color:#47a447!important;border-color:#398439}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#5cb85c}
|
assets/css/form-theme-light.css
CHANGED
@@ -29,6 +29,7 @@
|
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
|
|
32 |
.mc4wp-form textarea,
|
33 |
.mc4wp-form select {
|
34 |
width: 100%;
|
@@ -100,14 +101,14 @@
|
|
100 |
/* Form base theme */
|
101 |
form.mc4wp-form,
|
102 |
.mc4wp-form form {
|
103 |
-
box-shadow: none !important;
|
104 |
-webkit-box-shadow: none;
|
105 |
-moz-box-shadow: none;
|
|
|
106 |
width: auto;
|
107 |
}
|
108 |
|
109 |
.mc4wp-form p {
|
110 |
-
margin:
|
111 |
padding: 0;
|
112 |
}
|
113 |
|
@@ -121,6 +122,7 @@ form.mc4wp-form,
|
|
121 |
.mc4wp-form input[type="tel"],
|
122 |
.mc4wp-form input[type="url"],
|
123 |
.mc4wp-form input[type="date"],
|
|
|
124 |
.mc4wp-form textarea,
|
125 |
.mc4wp-form select {
|
126 |
width: 100%;
|
@@ -129,7 +131,7 @@ form.mc4wp-form,
|
|
129 |
padding: 6px 12px;
|
130 |
font-size: 14px;
|
131 |
line-height: 1.428571429;
|
132 |
-
color: #555555;
|
133 |
vertical-align: middle;
|
134 |
background-color: #ffffff;
|
135 |
border: 1px solid #cccccc;
|
@@ -150,6 +152,8 @@ form.mc4wp-form,
|
|
150 |
.mc4wp-form input[type="email"]:focus,
|
151 |
.mc4wp-form input[type="tel"]:focus,
|
152 |
.mc4wp-form input[type="url"]:focus,
|
|
|
|
|
153 |
.mc4wp-form textarea:focus,
|
154 |
.mc4wp-form select:focus {
|
155 |
border-color: #66afe9;
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
32 |
+
.mc4wp-form input[type="number"],
|
33 |
.mc4wp-form textarea,
|
34 |
.mc4wp-form select {
|
35 |
width: 100%;
|
101 |
/* Form base theme */
|
102 |
form.mc4wp-form,
|
103 |
.mc4wp-form form {
|
|
|
104 |
-webkit-box-shadow: none;
|
105 |
-moz-box-shadow: none;
|
106 |
+
box-shadow: none !important;
|
107 |
width: auto;
|
108 |
}
|
109 |
|
110 |
.mc4wp-form p {
|
111 |
+
margin: 20px 0;
|
112 |
padding: 0;
|
113 |
}
|
114 |
|
122 |
.mc4wp-form input[type="tel"],
|
123 |
.mc4wp-form input[type="url"],
|
124 |
.mc4wp-form input[type="date"],
|
125 |
+
.mc4wp-form input[type="number"],
|
126 |
.mc4wp-form textarea,
|
127 |
.mc4wp-form select {
|
128 |
width: 100%;
|
131 |
padding: 6px 12px;
|
132 |
font-size: 14px;
|
133 |
line-height: 1.428571429;
|
134 |
+
color: #555555 !important;
|
135 |
vertical-align: middle;
|
136 |
background-color: #ffffff;
|
137 |
border: 1px solid #cccccc;
|
152 |
.mc4wp-form input[type="email"]:focus,
|
153 |
.mc4wp-form input[type="tel"]:focus,
|
154 |
.mc4wp-form input[type="url"]:focus,
|
155 |
+
.mc4wp-form input[type="date"]:focus,
|
156 |
+
.mc4wp-form input[type="number"]:focus,
|
157 |
.mc4wp-form textarea:focus,
|
158 |
.mc4wp-form select:focus {
|
159 |
border-color: #66afe9;
|
assets/css/form-theme-light.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,cAAc,EAAE,QAAQ;EACxB,WAAW,EAAE,MAAM;;AAInB,iBAAM;EACN,WAAW,EAAE,IAAI;EACf,aAAa,EAAE,GAAG;;AAMlB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-light.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-light.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,UAAU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AE,MAAM;EAClB,WAAW,EAAE,MAAM;EACnB,cAAc,EAAE,MAAM;EACtB,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,qBAAqB;EAC7B,aAAa,EAAE,GAAG;EAClB,mBAAmB,EAAE,IAAI;EACzB,gBAAgB,EAAE,IAAI;EACtB,eAAe,EAAE,IAAI;EACrB,cAAc,EAAE,IAAI;EACpB,WAAW,EAAE,IAAI;EACjB,UAAU,EAAE,IAAI;EAChB,UAAU,EAAE,IAAI;EAChB,WAAW,EAAE,IAAI;EACjB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;;;AAGb;;wBAEyB;EACvB,OAAO,EAAE,gBAAgB;EACzB,OAAO,EAAE,iCAAiC;EAC1C,cAAc,EAAE,IAAI;;;AAGtB;;;;;wBAKyB;EACvB,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,IAAI;EACtB,UAAU,EAAE,IAAI;;;AAGjB;;yBAE0B;EACxB,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,CAAC;EACV,eAAe,EAAE,oCAAoC;EACrD,kBAAkB,EAAE,oCAAoC;EACxD,UAAU,EAAE,oCAAoC;;;AC7HlD;kBACmB;EACjB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;wBAKyB;EACvB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-light.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-light.css"
|
assets/css/form-theme-light.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.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 form,form.mc4wp-form{box-shadow:none
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.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 form,form.mc4wp-form{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none!important;width:auto}.mc4wp-form p{margin:20px 0;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=number],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555!important;vertical-align:middle;background-color:#fff;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;background-image:none;text-shadow:none}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=number]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[disabled],.mc4wp-form input[readonly]{background-color:#eee}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;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:0 0;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form button:focus,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=submit]:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=button]:hover,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#333;text-decoration:none;background:0 0}.mc4wp-form button:active,.mc4wp-form input[type=button]:active,.mc4wp-form input[type=submit]:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.mc4wp-form button,.mc4wp-form input[type=submit]{color:#333!important;background-color:#fff!important;border-color:#E6E6E6}.mc4wp-form button:active,.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=submit]:active,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#E6E6E6!important;background-color:#ebebeb!important;border-color:#CCC}
|
assets/css/form-theme-red.css
CHANGED
@@ -29,6 +29,7 @@
|
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
|
|
32 |
.mc4wp-form textarea,
|
33 |
.mc4wp-form select {
|
34 |
width: 100%;
|
@@ -100,14 +101,14 @@
|
|
100 |
/* Form base theme */
|
101 |
form.mc4wp-form,
|
102 |
.mc4wp-form form {
|
103 |
-
box-shadow: none !important;
|
104 |
-webkit-box-shadow: none;
|
105 |
-moz-box-shadow: none;
|
|
|
106 |
width: auto;
|
107 |
}
|
108 |
|
109 |
.mc4wp-form p {
|
110 |
-
margin:
|
111 |
padding: 0;
|
112 |
}
|
113 |
|
@@ -121,6 +122,7 @@ form.mc4wp-form,
|
|
121 |
.mc4wp-form input[type="tel"],
|
122 |
.mc4wp-form input[type="url"],
|
123 |
.mc4wp-form input[type="date"],
|
|
|
124 |
.mc4wp-form textarea,
|
125 |
.mc4wp-form select {
|
126 |
width: 100%;
|
@@ -129,7 +131,7 @@ form.mc4wp-form,
|
|
129 |
padding: 6px 12px;
|
130 |
font-size: 14px;
|
131 |
line-height: 1.428571429;
|
132 |
-
color: #555555;
|
133 |
vertical-align: middle;
|
134 |
background-color: #ffffff;
|
135 |
border: 1px solid #cccccc;
|
@@ -150,6 +152,8 @@ form.mc4wp-form,
|
|
150 |
.mc4wp-form input[type="email"]:focus,
|
151 |
.mc4wp-form input[type="tel"]:focus,
|
152 |
.mc4wp-form input[type="url"]:focus,
|
|
|
|
|
153 |
.mc4wp-form textarea:focus,
|
154 |
.mc4wp-form select:focus {
|
155 |
border-color: #66afe9;
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
32 |
+
.mc4wp-form input[type="number"],
|
33 |
.mc4wp-form textarea,
|
34 |
.mc4wp-form select {
|
35 |
width: 100%;
|
101 |
/* Form base theme */
|
102 |
form.mc4wp-form,
|
103 |
.mc4wp-form form {
|
|
|
104 |
-webkit-box-shadow: none;
|
105 |
-moz-box-shadow: none;
|
106 |
+
box-shadow: none !important;
|
107 |
width: auto;
|
108 |
}
|
109 |
|
110 |
.mc4wp-form p {
|
111 |
+
margin: 20px 0;
|
112 |
padding: 0;
|
113 |
}
|
114 |
|
122 |
.mc4wp-form input[type="tel"],
|
123 |
.mc4wp-form input[type="url"],
|
124 |
.mc4wp-form input[type="date"],
|
125 |
+
.mc4wp-form input[type="number"],
|
126 |
.mc4wp-form textarea,
|
127 |
.mc4wp-form select {
|
128 |
width: 100%;
|
131 |
padding: 6px 12px;
|
132 |
font-size: 14px;
|
133 |
line-height: 1.428571429;
|
134 |
+
color: #555555 !important;
|
135 |
vertical-align: middle;
|
136 |
background-color: #ffffff;
|
137 |
border: 1px solid #cccccc;
|
152 |
.mc4wp-form input[type="email"]:focus,
|
153 |
.mc4wp-form input[type="tel"]:focus,
|
154 |
.mc4wp-form input[type="url"]:focus,
|
155 |
+
.mc4wp-form input[type="date"]:focus,
|
156 |
+
.mc4wp-form input[type="number"]:focus,
|
157 |
.mc4wp-form textarea:focus,
|
158 |
.mc4wp-form select:focus {
|
159 |
border-color: #66afe9;
|
assets/css/form-theme-red.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,cAAc,EAAE,QAAQ;EACxB,WAAW,EAAE,MAAM;;AAInB,iBAAM;EACN,WAAW,EAAE,IAAI;EACf,aAAa,EAAE,GAAG;;AAMlB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-red.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-red.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,U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,EAAE,MAAM;EAClB,WAAW,EAAE,MAAM;EACnB,cAAc,EAAE,MAAM;EACtB,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,qBAAqB;EAC7B,aAAa,EAAE,GAAG;EAClB,mBAAmB,EAAE,IAAI;EACzB,gBAAgB,EAAE,IAAI;EACtB,eAAe,EAAE,IAAI;EACrB,cAAc,EAAE,IAAI;EACpB,WAAW,EAAE,IAAI;EACjB,UAAU,EAAE,IAAI;EAChB,UAAU,EAAE,IAAI;EAChB,WAAW,EAAE,IAAI;EACjB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;;;AAGb;;wBAEyB;EACvB,OAAO,EAAE,gBAAgB;EACzB,OAAO,EAAE,iCAAiC;EAC1C,cAAc,EAAE,IAAI;;;AAGtB;;;;;wBAKyB;EACvB,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,IAAI;EACtB,UAAU,EAAE,IAAI;;;AAGjB;;yBAE0B;EACxB,gBAAgB,EAAE,IAAI;EACtB,OAAO,EAAE,CAAC;EACV,eAAe,EAAE,oCAAoC;EACrD,kBAAkB,EAAE,oCAAoC;EACxD,UAAU,EAAE,oCAAoC;;;AC7HlD;kBACmB;EACjB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;wBAKyB;EACvB,KAAK,EAAE,kBAAkB;EACzB,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,OAAO;;;AAGvB;;;;;;wBAMyB;EACvB,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss","../sass/partials/_form-theme-base.scss","../sass/form-theme-red.scss"],
|
5 |
"names": [],
|
6 |
"file": "form-theme-red.css"
|
assets/css/form-theme-red.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.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 form,form.mc4wp-form{box-shadow:none
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.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 form,form.mc4wp-form{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none!important;width:auto}.mc4wp-form p{margin:20px 0;padding:0}.mc4wp-form label{font-size:1em;margin:6px 0}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=number],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%;height:34px;margin:0;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555!important;vertical-align:middle;background-color:#fff;border:1px solid #ccc;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-moz-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;background-image:none;text-shadow:none}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=number]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#66afe9;outline:0;-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.mc4wp-form textarea{height:auto}.mc4wp-form input[disabled],.mc4wp-form input[readonly]{background-color:#eee}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{display:inline-block;padding:6px 12px;margin:0;font-size:14px;font-weight:400;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:0 0;text-shadow:none;filter:none;height:auto;width:auto}.mc4wp-form button:focus,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=submit]:focus{outline:#333 dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=button]:focus,.mc4wp-form input[type=button]:hover,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#333;text-decoration:none;background:0 0}.mc4wp-form button:active,.mc4wp-form input[type=button]:active,.mc4wp-form input[type=submit]:active{background-image:none;outline:0;-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.mc4wp-form button,.mc4wp-form input[type=submit]{color:#fff!important;background-color:#d9534f!important;border-color:#d43f3a}.mc4wp-form button:active,.mc4wp-form button:focus,.mc4wp-form button:hover,.mc4wp-form input[type=submit]:active,.mc4wp-form input[type=submit]:focus,.mc4wp-form input[type=submit]:hover{color:#fff!important;background-color:#d2322d!important;border-color:#ac2925}.mc4wp-form input[type=date]:focus,.mc4wp-form input[type=email]:focus,.mc4wp-form input[type=tel]:focus,.mc4wp-form input[type=text]:focus,.mc4wp-form input[type=url]:focus,.mc4wp-form select:focus,.mc4wp-form textarea:focus{border-color:#d9534f}
|
assets/css/form.css
CHANGED
@@ -29,6 +29,7 @@
|
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
|
|
32 |
.mc4wp-form textarea,
|
33 |
.mc4wp-form select {
|
34 |
width: 100%;
|
29 |
.mc4wp-form input[type="tel"],
|
30 |
.mc4wp-form input[type="url"],
|
31 |
.mc4wp-form input[type="date"],
|
32 |
+
.mc4wp-form input[type="number"],
|
33 |
.mc4wp-form textarea,
|
34 |
.mc4wp-form select {
|
35 |
width: 100%;
|
assets/css/form.css.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"version": 3,
|
3 |
-
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,cAAc,EAAE,QAAQ;EACxB,WAAW,EAAE,MAAM;;AAInB,iBAAM;EACN,WAAW,EAAE,IAAI;EACf,aAAa,EAAE,GAAG;;AAMlB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B
|
4 |
"sources": ["../sass/partials/_form-reset.scss"],
|
5 |
"names": [],
|
6 |
"file": "form.css"
|
1 |
{
|
2 |
"version": 3,
|
3 |
+
"mappings": ";AAEA,WAAW;EACT,MAAM,EAAE,KAAK;;;;AAEd;;iBAEM;EACL,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,KAAK;EACd,kBAAkB,EAAE,UAAU;EAC9B,eAAe,EAAE,UAAU;EAC3B,UAAU,EAAE,UAAU;EACtB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,cAAc,EAAE,QAAQ;EACxB,WAAW,EAAE,MAAM;;AAInB,iBAAM;EACN,WAAW,EAAE,IAAI;EACf,aAAa,EAAE,GAAG;;AAMlB,gCAAiB;EACb,KAAK,EAAE,eAAe;;AAK5B;;;;;;;kBAOO;EACL,KAAK,EAAE,IAAI;;AAGd,gCAAqB;EACpB,SAAS,EAAE,IAAI;;AAGf;+BACoB;EAClB,QAAQ,EAAE,QAAQ;EAClB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,YAAY;EACrB,MAAM,EAAE,CAAC;;AAGX,kCAAuB;EACrB,kBAAkB,EAAE,QAAQ;;AAG9B,+BAAoB;EAClB,kBAAkB,EAAE,KAAK;;AAG3B,wDAA6C;EAC3C,OAAO,EAAE,eAAe;;AAG1B;;gCAEqB;EACnB,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,YAAY;;AAIvB;sBACW;EACT,WAAW,EAAE,MAAM;;;AAMvB,YAAY;EACV,MAAM,EAAE,KAAK;EACb,OAAO,EAAE,SAAS;EAClB,KAAK,EAAE,OAAO;EACd,gBAAgB,EAAE,OAAO;EACzB,MAAM,EAAE,iBAAiB;EACzB,aAAa,EAAE,GAAG;EAClB,kBAAkB,EAAE,GAAG;EACvB,qBAAqB,EAAE,GAAG;EAC1B,OAAO,EAAE,KAAK;EACd,QAAQ,EAAE,QAAQ;;;AAGpB,cAAe;EACb,KAAK,EAAE,OAAO;EACd,gBAAgB,EAAE,OAAO;EACzB,YAAY,EAAE,OAAO;;;AAGvB,aAAc;EACZ,KAAK,EAAE,OAAO;EACd,gBAAgB,EAAE,OAAO;EACzB,YAAY,EAAE,OAAO;;;AAGvB,YAAa;EACX,KAAK,EAAE,OAAO;EACd,gBAAgB,EAAE,OAAO;EACzB,YAAY,EAAE,OAAO",
|
4 |
"sources": ["../sass/partials/_form-reset.scss"],
|
5 |
"names": [],
|
6 |
"file": "form.css"
|
assets/css/form.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700;margin-bottom:5px}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{cursor:pointer;display:inline-block}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}
|
1 |
+
.mc4wp-form{margin:1em 0}.mc4wp-form form,.mc4wp-form input,.mc4wp-form label{width:auto;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:auto;height:auto;vertical-align:baseline;line-height:normal}.mc4wp-form label{font-weight:700;margin-bottom:5px}.mc4wp-form input.placeholdersjs{color:#aaa!important}.mc4wp-form input[type=date],.mc4wp-form input[type=email],.mc4wp-form input[type=number],.mc4wp-form input[type=tel],.mc4wp-form input[type=text],.mc4wp-form input[type=url],.mc4wp-form select,.mc4wp-form textarea{width:100%}.mc4wp-form input[type=number]{min-width:40px}.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[name="_mc4wp_required_but_not_really"]{display:none!important}.mc4wp-form button,.mc4wp-form input[type=button],.mc4wp-form input[type=submit]{cursor:pointer;display:inline-block}.mc4wp-form label>span,.mc4wp-form li>label{font-weight:400}.mc4wp-alert{margin:1em 0;padding:10px 15px;color:#c09853;background-color:#fcf8e3;border:1px solid #fbeed5;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;display:block;position:relative}.mc4wp-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.mc4wp-notice{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.mc4wp-error{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}
|
assets/img/icon-large.png
ADDED
Binary file
|
assets/img/icon.png
ADDED
Binary file
|
assets/img/menu-icon.png
DELETED
Binary file
|
assets/js/form-request.js
CHANGED
@@ -70,7 +70,7 @@
|
|
70 |
* Repopulates the form fields
|
71 |
*/
|
72 |
this.repopulate = function() {
|
73 |
-
|
74 |
};
|
75 |
|
76 |
// Call "init" on window.load event
|
@@ -94,91 +94,62 @@
|
|
94 |
}
|
95 |
}
|
96 |
|
97 |
-
|
98 |
-
|
99 |
-
*
|
100 |
-
* @param DOMElement container
|
101 |
-
* @param object data
|
102 |
-
* @param string basename
|
103 |
-
*/
|
104 |
-
function populateFields( container, data, basename ) {
|
105 |
-
|
106 |
-
for( var key in data ) {
|
107 |
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
|
|
115 |
|
116 |
-
|
117 |
-
if(typeof(basename) !== "undefined") {
|
118 |
-
name = basename + "[" + key + "]";
|
119 |
-
}
|
120 |
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
populateFields(container, value, name);
|
125 |
-
continue;
|
126 |
-
}
|
127 |
|
128 |
-
|
129 |
-
|
130 |
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
|
136 |
-
|
137 |
-
|
|
|
|
|
|
|
|
|
138 |
|
139 |
-
|
|
|
|
|
|
|
|
|
140 |
|
141 |
// check element type
|
142 |
-
switch(element.type || element.
|
143 |
-
|
144 |
-
case 'email':
|
145 |
-
case 'date':
|
146 |
-
case 'tel':
|
147 |
-
case 'number':
|
148 |
element.value = value;
|
149 |
-
|
150 |
-
// remove IE placeholder fallback class
|
151 |
-
element.className = element.className.replace('placeholdersjs','');
|
152 |
-
break;
|
153 |
-
|
154 |
-
case 'radio':
|
155 |
-
element.checked = (element.value === value);
|
156 |
break;
|
157 |
|
158 |
-
case
|
159 |
-
for(var j
|
160 |
-
|
161 |
-
// check element if its in the values array
|
162 |
-
var checked = (element.value === value[j]);
|
163 |
-
if( checked ) {
|
164 |
-
element.checked = (element.value === value[j]);
|
165 |
-
break;
|
166 |
-
}
|
167 |
-
|
168 |
-
// uncheck if it isn't
|
169 |
-
element.checked = false;
|
170 |
}
|
171 |
break;
|
172 |
|
173 |
case 'select-multiple':
|
174 |
var values = value.constructor == Array ? value : [value];
|
175 |
|
176 |
-
for(var k = 0; k < element.options.length; k++)
|
177 |
-
|
178 |
-
for(var l = 0; l < values.length; l++)
|
179 |
-
{
|
180 |
-
element.options[k].selected |= (element.options[k].value == values[l]);
|
181 |
-
}
|
182 |
}
|
183 |
break;
|
184 |
|
@@ -187,15 +158,25 @@
|
|
187 |
element.value = value.toString() || value;
|
188 |
break;
|
189 |
|
190 |
-
case 'textarea':
|
191 |
-
element.innerText = value;
|
192 |
-
break;
|
193 |
}
|
|
|
|
|
|
|
194 |
}
|
195 |
|
|
|
196 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
}
|
198 |
|
199 |
-
}
|
200 |
|
201 |
})();
|
70 |
* Repopulates the form fields
|
71 |
*/
|
72 |
this.repopulate = function() {
|
73 |
+
populate( self.element.querySelector('form'), request.data );
|
74 |
};
|
75 |
|
76 |
// Call "init" on window.load event
|
94 |
}
|
95 |
}
|
96 |
|
97 |
+
/*! populate.js v1.0 by @dannyvankooten | MIT license */
|
98 |
+
;(function(root) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
+
/**
|
101 |
+
* Populate form fields from a JSON object.
|
102 |
+
*
|
103 |
+
* @param form object The form element containing your input fields.
|
104 |
+
* @param data array JSON data to populate the fields with.
|
105 |
+
* @param basename string Optional basename which is added to `name` attributes
|
106 |
+
*/
|
107 |
+
var populate = function( form, data, basename) {
|
108 |
|
109 |
+
for(var key in data) {
|
|
|
|
|
|
|
110 |
|
111 |
+
if( ! data.hasOwnProperty( key ) ) {
|
112 |
+
continue;
|
113 |
+
}
|
|
|
|
|
|
|
114 |
|
115 |
+
var name = key;
|
116 |
+
var value = data[key];
|
117 |
|
118 |
+
// handle array name attributes
|
119 |
+
if(typeof(basename) !== "undefined") {
|
120 |
+
name = basename + "[" + key + "]";
|
121 |
+
}
|
122 |
|
123 |
+
if(value.constructor === Array) {
|
124 |
+
name += '[]';
|
125 |
+
} else if(typeof value == "object") {
|
126 |
+
populate( form, value, name);
|
127 |
+
continue;
|
128 |
+
}
|
129 |
|
130 |
+
// only proceed if element is set
|
131 |
+
var element = form.elements.namedItem( name );
|
132 |
+
if( ! element ) {
|
133 |
+
continue;
|
134 |
+
}
|
135 |
|
136 |
// check element type
|
137 |
+
switch(element.type || element.constructor ) {
|
138 |
+
default:
|
|
|
|
|
|
|
|
|
139 |
element.value = value;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
break;
|
141 |
|
142 |
+
case RadioNodeList:
|
143 |
+
for( var j=0; j < element.length; j++ ) {
|
144 |
+
element[j].checked = ( value.indexOf(element[j].value) > -1 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
}
|
146 |
break;
|
147 |
|
148 |
case 'select-multiple':
|
149 |
var values = value.constructor == Array ? value : [value];
|
150 |
|
151 |
+
for(var k = 0; k < element.options.length; k++) {
|
152 |
+
element.options[k].selected |= (values.indexOf(element.options[k].value) > -1 );
|
|
|
|
|
|
|
|
|
153 |
}
|
154 |
break;
|
155 |
|
158 |
element.value = value.toString() || value;
|
159 |
break;
|
160 |
|
|
|
|
|
|
|
161 |
}
|
162 |
+
|
163 |
+
|
164 |
+
|
165 |
}
|
166 |
|
167 |
+
};
|
168 |
|
169 |
+
// Play nice with AMD, CommonJS or a plain global object.
|
170 |
+
if ( typeof define == 'function' && typeof define.amd == 'object' && define.amd ) {
|
171 |
+
define(function() {
|
172 |
+
return populate;
|
173 |
+
});
|
174 |
+
} else if ( typeof exports === 'object' ) {
|
175 |
+
exports.populate = populate;
|
176 |
+
} else {
|
177 |
+
root.populate = populate;
|
178 |
}
|
179 |
|
180 |
+
}(this));
|
181 |
|
182 |
})();
|
assets/js/form-request.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){function a(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent("on"+b,c)}function b(a,c,d){for(var e in c){var f=e,g=c[e];if("
|
1 |
+
!function(){function a(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent("on"+b,c)}var b=function(b){function c(){return d.element=document.getElementById(b.formElementId),d.element?(1!=b.success&&d.repopulate(),void d.scrollTo()):!1}var d=this;this.scrollTo=function(){var a=d.element,c=0,e=a,f=window.innerHeight;if(e.offsetParent){do c+=e.offsetTop;while(e=e.offsetParent)}else c=a.offsetTop;c-=f-80>a.clientHeight?(f-a.clientHeight)/2:80,b.animate_scroll&&void 0!==window.jQuery?jQuery("html, body").animate({scrollTop:c},800):window.scrollTo(0,c)},this.repopulate=function(){populate(d.element.querySelector("form"),b.data)},a(window,"load",c)};window.mc4wpFormRequest=new b(mc4wpFormRequestData),function(a){var b=function(a,c,d){for(var e in c)if(c.hasOwnProperty(e)){var f=e,g=c[e];if("undefined"!=typeof d&&(f=d+"["+e+"]"),g.constructor===Array)f+="[]";else if("object"==typeof g){b(a,g,f);continue}var h=a.elements.namedItem(f);if(h)switch(h.type||h.constructor){default:h.value=g;break;case RadioNodeList:for(var i=0;i<h.length;i++)h[i].checked=g.indexOf(h[i].value)>-1;break;case"select-multiple":for(var j=g.constructor==Array?g:[g],k=0;k<h.options.length;k++)h.options[k].selected|=j.indexOf(h.options[k].value)>-1;break;case"select":case"select-one":h.value=g.toString()||g}}};"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return b}):"object"==typeof exports?exports.populate=b:a.populate=b}(this)}();
|
includes/admin/class-admin.php
CHANGED
@@ -13,13 +13,18 @@ class MC4WP_Lite_Admin
|
|
13 |
*/
|
14 |
private $plugin_file;
|
15 |
|
|
|
|
|
|
|
|
|
|
|
16 |
/**
|
17 |
* Constructor
|
18 |
*/
|
19 |
public function __construct() {
|
20 |
|
21 |
$this->plugin_file = plugin_basename( MC4WP_LITE_PLUGIN_FILE );
|
22 |
-
|
23 |
$this->load_translations();
|
24 |
$this->setup_hooks();
|
25 |
$this->listen();
|
@@ -52,6 +57,7 @@ class MC4WP_Lite_Admin
|
|
52 |
add_action( 'admin_init', array( $this, 'initialize' ) );
|
53 |
add_action( 'admin_menu', array( $this, 'build_menu' ) );
|
54 |
add_action( 'admin_enqueue_scripts', array( $this, 'load_css_and_js' ) );
|
|
|
55 |
|
56 |
// Hooks for Plugins overview page
|
57 |
if( $current_page === 'plugins.php' ) {
|
@@ -66,6 +72,29 @@ class MC4WP_Lite_Admin
|
|
66 |
add_filter( 'quicktags_settings', array( $this, 'set_quicktags_buttons' ), 10, 2 );
|
67 |
}
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
}
|
70 |
|
71 |
/**
|
@@ -203,7 +232,7 @@ class MC4WP_Lite_Admin
|
|
203 |
$menu_items = apply_filters( 'mc4wp_menu_items', $menu_items );
|
204 |
|
205 |
// add top menu item
|
206 |
-
add_menu_page( 'MailChimp for WP Lite', 'MailChimp for WP', $required_cap, 'mailchimp-for-wp', array( $this, 'show_api_settings' ), MC4WP_LITE_PLUGIN_URL . 'assets/img/
|
207 |
|
208 |
// add submenu pages
|
209 |
foreach( $menu_items as $item ) {
|
@@ -222,6 +251,8 @@ class MC4WP_Lite_Admin
|
|
222 |
*/
|
223 |
public function validate_settings( array $settings ) {
|
224 |
|
|
|
|
|
225 |
// sanitize simple text fields (no HTML, just chars & numbers)
|
226 |
$simple_text_fields = array( 'api_key', 'redirect', 'css' );
|
227 |
foreach( $simple_text_fields as $field ) {
|
@@ -230,6 +261,11 @@ class MC4WP_Lite_Admin
|
|
230 |
}
|
231 |
}
|
232 |
|
|
|
|
|
|
|
|
|
|
|
233 |
// validate woocommerce checkbox position
|
234 |
if( isset( $settings['woocommerce_position'] ) ) {
|
235 |
// make sure position is either 'order' or 'billing'
|
@@ -267,7 +303,6 @@ class MC4WP_Lite_Admin
|
|
267 |
}
|
268 |
|
269 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
270 |
-
$mailchimp = new MC4WP_MailChimp();
|
271 |
|
272 |
// css
|
273 |
wp_enqueue_style( 'mc4wp-admin-css', MC4WP_LITE_PLUGIN_URL . 'assets/css/admin' . $suffix . '.css' );
|
@@ -292,7 +327,7 @@ class MC4WP_Lite_Admin
|
|
292 |
'unsubscribe' => __( 'Unsubscribe', 'mailchimp-for-wp' ),
|
293 |
)
|
294 |
),
|
295 |
-
'mailchimpLists' => $mailchimp->get_lists()
|
296 |
)
|
297 |
);
|
298 |
|
@@ -358,19 +393,20 @@ class MC4WP_Lite_Admin
|
|
358 |
|
359 |
// cache renewal triggered manually?
|
360 |
$force_cache_refresh = isset( $_POST['mc4wp-renew-cache'] ) && $_POST['mc4wp-renew-cache'] == 1;
|
361 |
-
$
|
362 |
-
$lists = $mailchimp->get_lists( $force_cache_refresh );
|
363 |
-
|
364 |
-
if( $lists && count( $lists ) === 100 ) {
|
365 |
-
add_settings_error( 'mc4wp', 'mc4wp-lists-at-limit', __( 'The plugin can only fetch a maximum of 100 lists from MailChimp, only your first 100 lists are shown.', 'mailchimp-for-wp' ) );
|
366 |
-
}
|
367 |
|
368 |
if ( $force_cache_refresh ) {
|
369 |
-
|
370 |
-
|
|
|
|
|
|
|
|
|
|
|
371 |
} else {
|
372 |
add_settings_error( 'mc4wp', 'mc4wp-cache-error', __( 'Failed to renew MailChimp cache - please try again later.', 'mailchimp-for-wp' ) );
|
373 |
}
|
|
|
374 |
}
|
375 |
|
376 |
require MC4WP_LITE_PLUGIN_DIR . 'includes/views/api-settings.php';
|
@@ -381,9 +417,8 @@ class MC4WP_Lite_Admin
|
|
381 |
*/
|
382 |
public function show_checkbox_settings()
|
383 |
{
|
384 |
-
$mailchimp = new MC4WP_MailChimp();
|
385 |
$opts = mc4wp_get_options( 'checkbox' );
|
386 |
-
$lists = $mailchimp->get_lists();
|
387 |
require MC4WP_LITE_PLUGIN_DIR . 'includes/views/checkbox-settings.php';
|
388 |
}
|
389 |
|
@@ -393,8 +428,7 @@ class MC4WP_Lite_Admin
|
|
393 |
public function show_form_settings()
|
394 |
{
|
395 |
$opts = mc4wp_get_options( 'form' );
|
396 |
-
$
|
397 |
-
$lists = $mailchimp->get_lists();
|
398 |
|
399 |
require MC4WP_LITE_PLUGIN_DIR . 'includes/views/form-settings.php';
|
400 |
}
|
@@ -406,4 +440,20 @@ class MC4WP_Lite_Admin
|
|
406 |
return isset( $_GET['page'] ) ? $_GET['page'] : '';
|
407 |
}
|
408 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
}
|
13 |
*/
|
14 |
private $plugin_file;
|
15 |
|
16 |
+
/**
|
17 |
+
* @var MC4WP_MailChimp
|
18 |
+
*/
|
19 |
+
protected $mailchimp;
|
20 |
+
|
21 |
/**
|
22 |
* Constructor
|
23 |
*/
|
24 |
public function __construct() {
|
25 |
|
26 |
$this->plugin_file = plugin_basename( MC4WP_LITE_PLUGIN_FILE );
|
27 |
+
$this->mailchimp = new MC4WP_MailChimp();
|
28 |
$this->load_translations();
|
29 |
$this->setup_hooks();
|
30 |
$this->listen();
|
57 |
add_action( 'admin_init', array( $this, 'initialize' ) );
|
58 |
add_action( 'admin_menu', array( $this, 'build_menu' ) );
|
59 |
add_action( 'admin_enqueue_scripts', array( $this, 'load_css_and_js' ) );
|
60 |
+
add_action( 'admin_footer_text', array( $this, 'footer_text' ) );
|
61 |
|
62 |
// Hooks for Plugins overview page
|
63 |
if( $current_page === 'plugins.php' ) {
|
72 |
add_filter( 'quicktags_settings', array( $this, 'set_quicktags_buttons' ), 10, 2 );
|
73 |
}
|
74 |
|
75 |
+
// if PHP is lower than 5.3, show a notice and hide major updates
|
76 |
+
// since v3.0 will require PHP 5.3 or higher
|
77 |
+
if( version_compare( PHP_VERSION, '5.3', '<' ) ) {
|
78 |
+
add_filter( 'site_transient_update_plugins', array( $this, 'hide_major_plugin_updates' ) );
|
79 |
+
}
|
80 |
+
|
81 |
+
}
|
82 |
+
|
83 |
+
/**
|
84 |
+
* Prevents v3.x updates from showing when PHP version is lower than 5.3
|
85 |
+
*/
|
86 |
+
public function hide_major_plugin_updates( $data ) {
|
87 |
+
|
88 |
+
// do we have an update for this plugin?
|
89 |
+
if( isset( $data->response[ $this->plugin_file ]->new_version ) ) {
|
90 |
+
|
91 |
+
// check if this is a major update and if so, remove it from the response object
|
92 |
+
if( version_compare( $data->response[ $this->plugin_file ]->new_version, '3.0.0', '>=' ) ) {
|
93 |
+
unset( $data->response[ $this->plugin_file ]);
|
94 |
+
}
|
95 |
+
}
|
96 |
+
|
97 |
+
return $data;
|
98 |
}
|
99 |
|
100 |
/**
|
232 |
$menu_items = apply_filters( 'mc4wp_menu_items', $menu_items );
|
233 |
|
234 |
// add top menu item
|
235 |
+
add_menu_page( 'MailChimp for WP Lite', 'MailChimp for WP', $required_cap, 'mailchimp-for-wp', array( $this, 'show_api_settings' ), MC4WP_LITE_PLUGIN_URL . 'assets/img/icon.png', '99.68491' );
|
236 |
|
237 |
// add submenu pages
|
238 |
foreach( $menu_items as $item ) {
|
251 |
*/
|
252 |
public function validate_settings( array $settings ) {
|
253 |
|
254 |
+
$current = mc4wp_get_options();
|
255 |
+
|
256 |
// sanitize simple text fields (no HTML, just chars & numbers)
|
257 |
$simple_text_fields = array( 'api_key', 'redirect', 'css' );
|
258 |
foreach( $simple_text_fields as $field ) {
|
261 |
}
|
262 |
}
|
263 |
|
264 |
+
// if api key changed, empty cache
|
265 |
+
if( isset( $settings['api_key'] ) && $settings['api_key'] !== $current['general']['api_key'] ) {
|
266 |
+
$this->mailchimp->empty_cache();
|
267 |
+
}
|
268 |
+
|
269 |
// validate woocommerce checkbox position
|
270 |
if( isset( $settings['woocommerce_position'] ) ) {
|
271 |
// make sure position is either 'order' or 'billing'
|
303 |
}
|
304 |
|
305 |
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
|
|
306 |
|
307 |
// css
|
308 |
wp_enqueue_style( 'mc4wp-admin-css', MC4WP_LITE_PLUGIN_URL . 'assets/css/admin' . $suffix . '.css' );
|
327 |
'unsubscribe' => __( 'Unsubscribe', 'mailchimp-for-wp' ),
|
328 |
)
|
329 |
),
|
330 |
+
'mailchimpLists' => $this->mailchimp->get_lists()
|
331 |
)
|
332 |
);
|
333 |
|
393 |
|
394 |
// cache renewal triggered manually?
|
395 |
$force_cache_refresh = isset( $_POST['mc4wp-renew-cache'] ) && $_POST['mc4wp-renew-cache'] == 1;
|
396 |
+
$lists = $this->mailchimp->get_lists( $force_cache_refresh );
|
|
|
|
|
|
|
|
|
|
|
397 |
|
398 |
if ( $force_cache_refresh ) {
|
399 |
+
|
400 |
+
if( is_array( $lists ) ) {
|
401 |
+
if( count( $lists ) === 100 ) {
|
402 |
+
add_settings_error( 'mc4wp', 'mc4wp-lists-at-limit', __( 'The plugin can only fetch a maximum of 100 lists from MailChimp, only your first 100 lists are shown.', 'mailchimp-for-wp' ) );
|
403 |
+
} else {
|
404 |
+
add_settings_error( 'mc4wp', 'mc4wp-cache-success', __( 'Renewed MailChimp cache.', 'mailchimp-for-wp' ), 'updated' );
|
405 |
+
}
|
406 |
} else {
|
407 |
add_settings_error( 'mc4wp', 'mc4wp-cache-error', __( 'Failed to renew MailChimp cache - please try again later.', 'mailchimp-for-wp' ) );
|
408 |
}
|
409 |
+
|
410 |
}
|
411 |
|
412 |
require MC4WP_LITE_PLUGIN_DIR . 'includes/views/api-settings.php';
|
417 |
*/
|
418 |
public function show_checkbox_settings()
|
419 |
{
|
|
|
420 |
$opts = mc4wp_get_options( 'checkbox' );
|
421 |
+
$lists = $this->mailchimp->get_lists();
|
422 |
require MC4WP_LITE_PLUGIN_DIR . 'includes/views/checkbox-settings.php';
|
423 |
}
|
424 |
|
428 |
public function show_form_settings()
|
429 |
{
|
430 |
$opts = mc4wp_get_options( 'form' );
|
431 |
+
$lists = $this->mailchimp->get_lists();
|
|
|
432 |
|
433 |
require MC4WP_LITE_PLUGIN_DIR . 'includes/views/form-settings.php';
|
434 |
}
|
440 |
return isset( $_GET['page'] ) ? $_GET['page'] : '';
|
441 |
}
|
442 |
|
443 |
+
/**
|
444 |
+
* Ask for a plugin review in the WP Admin footer, if this is one of the plugin pages.
|
445 |
+
*
|
446 |
+
* @param $text
|
447 |
+
*
|
448 |
+
* @return string
|
449 |
+
*/
|
450 |
+
public function footer_text( $text ) {
|
451 |
+
|
452 |
+
if( isset( $_GET['page'] ) && strpos( $_GET['page'], 'mailchimp-for-wp' ) === 0 ) {
|
453 |
+
$text = sprintf( 'If you enjoy using <strong>MailChimp for WordPress</strong>, please leave us a <a href="%s" target="_blank">★★★★★</a> rating. A <strong style="text-decoration: underline;">huge</strong> thank you in advance!', 'https://wordpress.org/support/view/plugin-reviews/mailchimp-for-wp?rate=5#postform' );
|
454 |
+
}
|
455 |
+
|
456 |
+
return $text;
|
457 |
+
}
|
458 |
+
|
459 |
}
|
includes/class-api.php
CHANGED
@@ -84,10 +84,17 @@ class MC4WP_API {
|
|
84 |
$result = $this->call( 'helper/ping' );
|
85 |
|
86 |
if( $result !== false ) {
|
87 |
-
|
88 |
-
|
|
|
|
|
|
|
|
|
|
|
89 |
} elseif( isset( $result->error ) ) {
|
90 |
$this->show_error( 'MailChimp Error: ' . $result->error );
|
|
|
|
|
91 |
}
|
92 |
}
|
93 |
|
@@ -198,6 +205,11 @@ class MC4WP_API {
|
|
198 |
* @return array|bool
|
199 |
*/
|
200 |
public function get_subscriber_info( $list_id, $emails ) {
|
|
|
|
|
|
|
|
|
|
|
201 |
$result = $this->call( 'lists/member-info', array(
|
202 |
'id' => $list_id,
|
203 |
'emails' => $emails,
|
84 |
$result = $this->call( 'helper/ping' );
|
85 |
|
86 |
if( $result !== false ) {
|
87 |
+
|
88 |
+
if( isset( $result->msg ) ) {
|
89 |
+
if( $result->msg === "Everything's Chimpy!" ) {
|
90 |
+
$this->connected = true;
|
91 |
+
} else {
|
92 |
+
$this->show_error( $result->msg );
|
93 |
+
}
|
94 |
} elseif( isset( $result->error ) ) {
|
95 |
$this->show_error( 'MailChimp Error: ' . $result->error );
|
96 |
+
} else {
|
97 |
+
$this->show_error( 'Could not connect to MailChimp. The following response was received. <br><pre><code style="display: block; padding: 20px;">' . print_r( $result, true ) . '</code></pre>' );
|
98 |
}
|
99 |
}
|
100 |
|
205 |
* @return array|bool
|
206 |
*/
|
207 |
public function get_subscriber_info( $list_id, $emails ) {
|
208 |
+
|
209 |
+
if( is_string( $emails ) ) {
|
210 |
+
$emails = array( $emails );
|
211 |
+
}
|
212 |
+
|
213 |
$result = $this->call( 'lists/member-info', array(
|
214 |
'id' => $list_id,
|
215 |
'emails' => $emails,
|
includes/class-field-mapper.php
CHANGED
@@ -263,8 +263,8 @@ class MC4WP_Field_Mapper {
|
|
263 |
|
264 |
case 'address':
|
265 |
|
266 |
-
// auto-format if
|
267 |
-
if(
|
268 |
|
269 |
// addr1, addr2, city, state, zip, country
|
270 |
$address_pieces = explode( ',', $field_value );
|
@@ -276,7 +276,17 @@ class MC4WP_Field_Mapper {
|
|
276 |
'state' => ( isset( $address_pieces[2] ) ) ? $address_pieces[2] : '',
|
277 |
'zip' => ( isset( $address_pieces[3] ) ) ? $address_pieces[3] : ''
|
278 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
|
|
|
280 |
}
|
281 |
|
282 |
break;
|
263 |
|
264 |
case 'address':
|
265 |
|
266 |
+
// auto-format if this is a string
|
267 |
+
if( is_string( $field_value ) ) {
|
268 |
|
269 |
// addr1, addr2, city, state, zip, country
|
270 |
$address_pieces = explode( ',', $field_value );
|
276 |
'state' => ( isset( $address_pieces[2] ) ) ? $address_pieces[2] : '',
|
277 |
'zip' => ( isset( $address_pieces[3] ) ) ? $address_pieces[3] : ''
|
278 |
);
|
279 |
+
} elseif( is_array( $field_value ) ) {
|
280 |
+
|
281 |
+
// merge with array of empty defaults to allow skipping certain fields
|
282 |
+
$default_address = array(
|
283 |
+
'addr1' => '',
|
284 |
+
'city' => '',
|
285 |
+
'state' => '',
|
286 |
+
'zip' => ''
|
287 |
+
);
|
288 |
|
289 |
+
$field_value = array_merge( $default_address, $field_value );
|
290 |
}
|
291 |
|
292 |
break;
|
includes/class-form-manager.php
CHANGED
@@ -157,6 +157,11 @@ class MC4WP_Lite_Form_Manager {
|
|
157 |
// Print small JS snippet later on in the footer.
|
158 |
add_action( 'wp_footer', array( $this, 'print_js' ), 99 );
|
159 |
|
|
|
|
|
|
|
|
|
|
|
160 |
// output form
|
161 |
return $form->output( $attributes['element_id'], $attributes, false );
|
162 |
}
|
157 |
// Print small JS snippet later on in the footer.
|
158 |
add_action( 'wp_footer', array( $this, 'print_js' ), 99 );
|
159 |
|
160 |
+
// make sure scripts are enqueued later
|
161 |
+
if( isset( $is_IE ) && $is_IE ) {
|
162 |
+
wp_enqueue_script( 'mc4wp-placeholders' );
|
163 |
+
}
|
164 |
+
|
165 |
// output form
|
166 |
return $form->output( $attributes['element_id'], $attributes, false );
|
167 |
}
|
includes/class-form.php
CHANGED
@@ -207,6 +207,29 @@ class MC4WP_Form {
|
|
207 |
return $after_fields;
|
208 |
}
|
209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
/**
|
211 |
* @param string $element_id
|
212 |
* @param array $attributes
|
@@ -237,7 +260,7 @@ class MC4WP_Form {
|
|
237 |
|| ! $this->settings['hide_after_success']
|
238 |
|| ! $this->request->success ) {
|
239 |
|
240 |
-
$form_opening_html = '<form method="post">';
|
241 |
$visible_fields = $this->get_visible_fields( $element_id, $attributes, $response_html );
|
242 |
$hidden_fields = $this->get_hidden_fields( $element_id, $attributes );
|
243 |
$form_closing_html = '</form>';
|
@@ -391,6 +414,14 @@ class MC4WP_Form {
|
|
391 |
),
|
392 |
);
|
393 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
/**
|
395 |
* @filter mc4wp_form_messages
|
396 |
* @expects array
|
207 |
return $after_fields;
|
208 |
}
|
209 |
|
210 |
+
/**
|
211 |
+
* Get the `action` attribute of the form element.
|
212 |
+
*
|
213 |
+
* @return string
|
214 |
+
*/
|
215 |
+
protected function get_form_action_attribute() {
|
216 |
+
|
217 |
+
/**
|
218 |
+
* @filter `mc4wp_form_action`
|
219 |
+
* @expects string
|
220 |
+
* @param MC4WP_Form $form
|
221 |
+
*/
|
222 |
+
$form_action = apply_filters( 'mc4wp_form_action', null, $this );
|
223 |
+
|
224 |
+
if( is_string( $form_action ) ) {
|
225 |
+
$form_action_attribute = sprintf( 'action="%s"', esc_attr( $form_action ) );
|
226 |
+
} else {
|
227 |
+
$form_action_attribute = '';
|
228 |
+
}
|
229 |
+
|
230 |
+
return $form_action_attribute;
|
231 |
+
}
|
232 |
+
|
233 |
/**
|
234 |
* @param string $element_id
|
235 |
* @param array $attributes
|
260 |
|| ! $this->settings['hide_after_success']
|
261 |
|| ! $this->request->success ) {
|
262 |
|
263 |
+
$form_opening_html = '<form method="post" '. $this->get_form_action_attribute() .'>';
|
264 |
$visible_fields = $this->get_visible_fields( $element_id, $attributes, $response_html );
|
265 |
$hidden_fields = $this->get_hidden_fields( $element_id, $attributes );
|
266 |
$form_closing_html = '</form>';
|
414 |
),
|
415 |
);
|
416 |
|
417 |
+
// add some admin-only messages
|
418 |
+
if( current_user_can( 'manage_options' ) ) {
|
419 |
+
$messages['no_lists_selected'] = array(
|
420 |
+
'type' => 'notice',
|
421 |
+
'text' => sprintf( __( 'You did not select a list in <a href="%s">your form settings</a>.', 'mailchimp-for-wp' ), admin_url( 'admin.php?page=mailchimp-for-wp-form-settings' ) )
|
422 |
+
);
|
423 |
+
}
|
424 |
+
|
425 |
/**
|
426 |
* @filter mc4wp_form_messages
|
427 |
* @expects array
|
includes/class-mailchimp.php
CHANGED
@@ -2,31 +2,43 @@
|
|
2 |
|
3 |
class MC4WP_MailChimp {
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
/**
|
6 |
* Get MailChimp lists
|
7 |
* Try cache first, then try API, then try fallback cache.
|
8 |
*
|
9 |
-
* @param bool $
|
10 |
* @param bool $force_fallback
|
11 |
*
|
12 |
* @return array
|
13 |
*/
|
14 |
-
public function get_lists( $
|
15 |
|
16 |
-
if( $
|
17 |
-
|
18 |
-
delete_transient( 'mc4wp_mailchimp_lists_fallback' );
|
19 |
}
|
20 |
|
21 |
-
$cached_lists = get_transient(
|
22 |
|
23 |
// if force_fallback is true, get lists from older transient
|
24 |
if( $force_fallback ) {
|
25 |
-
$cached_lists = get_transient( '
|
26 |
}
|
27 |
|
28 |
// got lists? if not, proceed with API call.
|
29 |
-
if(
|
30 |
|
31 |
// make api request for lists
|
32 |
$api = mc4wp_get_api();
|
@@ -64,16 +76,16 @@ class MC4WP_MailChimp {
|
|
64 |
}
|
65 |
|
66 |
// store lists in transients
|
67 |
-
set_transient(
|
68 |
-
set_transient( '
|
69 |
|
70 |
return $lists;
|
71 |
} else {
|
72 |
// api request failed, get fallback data (with longer lifetime)
|
73 |
-
$cached_lists = get_transient( '
|
74 |
|
75 |
-
if ( ! $cached_lists ) {
|
76 |
-
return
|
77 |
}
|
78 |
}
|
79 |
|
@@ -153,7 +165,7 @@ class MC4WP_MailChimp {
|
|
153 |
public function get_list_grouping_name( $list_id, $grouping_id ) {
|
154 |
|
155 |
$grouping = $this->get_list_grouping( $list_id, $grouping_id );
|
156 |
-
if( $grouping ) {
|
157 |
return $grouping->name;
|
158 |
}
|
159 |
|
@@ -198,7 +210,7 @@ class MC4WP_MailChimp {
|
|
198 |
|
199 |
$list_counts = get_transient( 'mc4wp_list_counts' );
|
200 |
|
201 |
-
if
|
202 |
// make api call
|
203 |
$api = mc4wp_get_api();
|
204 |
$lists = $api->get_lists();
|
@@ -281,4 +293,36 @@ class MC4WP_MailChimp {
|
|
281 |
|
282 |
}
|
283 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
284 |
}
|
2 |
|
3 |
class MC4WP_MailChimp {
|
4 |
|
5 |
+
/**
|
6 |
+
* @var string
|
7 |
+
*/
|
8 |
+
protected $transient_name = 'mc4wp_mailchimp_lists';
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Empty the Lists cache
|
12 |
+
*/
|
13 |
+
public function empty_cache() {
|
14 |
+
delete_transient( $this->transient_name );
|
15 |
+
delete_transient( $this->transient_name . '_fallback' );
|
16 |
+
}
|
17 |
+
|
18 |
/**
|
19 |
* Get MailChimp lists
|
20 |
* Try cache first, then try API, then try fallback cache.
|
21 |
*
|
22 |
+
* @param bool $force_refresh
|
23 |
* @param bool $force_fallback
|
24 |
*
|
25 |
* @return array
|
26 |
*/
|
27 |
+
public function get_lists( $force_refresh = false, $force_fallback = false ) {
|
28 |
|
29 |
+
if( $force_refresh ) {
|
30 |
+
$this->empty_cache();
|
|
|
31 |
}
|
32 |
|
33 |
+
$cached_lists = get_transient( $this->transient_name );
|
34 |
|
35 |
// if force_fallback is true, get lists from older transient
|
36 |
if( $force_fallback ) {
|
37 |
+
$cached_lists = get_transient( $this->transient_name . '_fallback' );
|
38 |
}
|
39 |
|
40 |
// got lists? if not, proceed with API call.
|
41 |
+
if( ! is_array( $cached_lists ) ) {
|
42 |
|
43 |
// make api request for lists
|
44 |
$api = mc4wp_get_api();
|
76 |
}
|
77 |
|
78 |
// store lists in transients
|
79 |
+
set_transient( $this->transient_name, $lists, ( 24 * 3600 ) ); // 1 day
|
80 |
+
set_transient( $this->transient_name . '_fallback', $lists, 1209600 ); // 2 weeks
|
81 |
|
82 |
return $lists;
|
83 |
} else {
|
84 |
// api request failed, get fallback data (with longer lifetime)
|
85 |
+
$cached_lists = get_transient( $this->transient_name . '_fallback' );
|
86 |
|
87 |
+
if ( ! is_array( $cached_lists ) ) {
|
88 |
+
return false;
|
89 |
}
|
90 |
}
|
91 |
|
165 |
public function get_list_grouping_name( $list_id, $grouping_id ) {
|
166 |
|
167 |
$grouping = $this->get_list_grouping( $list_id, $grouping_id );
|
168 |
+
if( isset( $grouping->name ) ) {
|
169 |
return $grouping->name;
|
170 |
}
|
171 |
|
210 |
|
211 |
$list_counts = get_transient( 'mc4wp_list_counts' );
|
212 |
|
213 |
+
if( false === $list_counts ) {
|
214 |
// make api call
|
215 |
$api = mc4wp_get_api();
|
216 |
$lists = $api->get_lists();
|
293 |
|
294 |
}
|
295 |
|
296 |
+
/**
|
297 |
+
* Get the name of a list field by its merge tag
|
298 |
+
*
|
299 |
+
* @param $list_id
|
300 |
+
* @param $tag
|
301 |
+
*
|
302 |
+
* @return string
|
303 |
+
*/
|
304 |
+
public function get_list_field_name_by_tag( $list_id, $tag ) {
|
305 |
+
// try default fields
|
306 |
+
switch( $tag ) {
|
307 |
+
case 'EMAIL':
|
308 |
+
return __( 'Email address', 'mailchimp-for-wp' );
|
309 |
+
break;
|
310 |
+
case 'OPTIN_IP':
|
311 |
+
return __( 'IP Address', 'mailchimp-for-wp' );
|
312 |
+
break;
|
313 |
+
}
|
314 |
+
// try to find field in list
|
315 |
+
$list = $this->get_list( $list_id, false, true );
|
316 |
+
if( is_object( $list ) && isset( $list->merge_vars ) ) {
|
317 |
+
// try list merge vars first
|
318 |
+
foreach( $list->merge_vars as $field ) {
|
319 |
+
if( $field->tag !== $tag ) {
|
320 |
+
continue;
|
321 |
+
}
|
322 |
+
return $field->name;
|
323 |
+
}
|
324 |
+
}
|
325 |
+
return '';
|
326 |
+
}
|
327 |
+
|
328 |
}
|
includes/class-request.php
CHANGED
@@ -203,7 +203,7 @@ abstract class MC4WP_Request implements iMC4WP_Request {
|
|
203 |
'{form_element}' => $this->form_element_id,
|
204 |
'{email}' => urlencode( $this->user_data['EMAIL'] )
|
205 |
);
|
206 |
-
$url = MC4WP_Tools::replace_variables( $this->form->settings['redirect'], $additional_replacements );
|
207 |
return $url;
|
208 |
}
|
209 |
|
203 |
'{form_element}' => $this->form_element_id,
|
204 |
'{email}' => urlencode( $this->user_data['EMAIL'] )
|
205 |
);
|
206 |
+
$url = MC4WP_Tools::replace_variables( $this->form->settings['redirect'], $additional_replacements, null, 'url' );
|
207 |
return $url;
|
208 |
}
|
209 |
|
includes/class-tools.php
CHANGED
@@ -2,6 +2,11 @@
|
|
2 |
|
3 |
class MC4WP_Tools {
|
4 |
|
|
|
|
|
|
|
|
|
|
|
5 |
/**
|
6 |
* @param array $merge_vars
|
7 |
*
|
@@ -35,7 +40,9 @@ class MC4WP_Tools {
|
|
35 |
* @return string $text The text with {variables} replaced.
|
36 |
* replaced.
|
37 |
*/
|
38 |
-
public static function replace_variables( $string, $additional_replacements = array(), $list_ids = array() ) {
|
|
|
|
|
39 |
|
40 |
// replace general vars
|
41 |
$replacements = array(
|
@@ -76,6 +83,11 @@ class MC4WP_Tools {
|
|
76 |
$replacements['{subscriber_count}'] = $subscriber_count;
|
77 |
}
|
78 |
|
|
|
|
|
|
|
|
|
|
|
79 |
// perform the replacement
|
80 |
$string = str_ireplace( array_keys( $replacements ), array_values( $replacements ), $string );
|
81 |
|
@@ -101,6 +113,12 @@ class MC4WP_Tools {
|
|
101 |
$request_data = array_change_key_case( $_REQUEST, CASE_UPPER );
|
102 |
|
103 |
if( isset( $request_data[ $variable ] ) && is_scalar( $request_data[ $variable ] ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
return esc_html( $request_data[ $variable ] );
|
105 |
}
|
106 |
|
2 |
|
3 |
class MC4WP_Tools {
|
4 |
|
5 |
+
/*
|
6 |
+
* Replacement output when performing string replacements
|
7 |
+
*/
|
8 |
+
public static $replacement_output = 'string';
|
9 |
+
|
10 |
/**
|
11 |
* @param array $merge_vars
|
12 |
*
|
40 |
* @return string $text The text with {variables} replaced.
|
41 |
* replaced.
|
42 |
*/
|
43 |
+
public static function replace_variables( $string, $additional_replacements = array(), $list_ids = array(), $output = 'string' ) {
|
44 |
+
|
45 |
+
self::$replacement_output = $output;
|
46 |
|
47 |
// replace general vars
|
48 |
$replacements = array(
|
83 |
$replacements['{subscriber_count}'] = $subscriber_count;
|
84 |
}
|
85 |
|
86 |
+
// encode replacements when output type is set to 'url'
|
87 |
+
if( self::$replacement_output === 'url' ) {
|
88 |
+
$replacements = urlencode_deep( $replacements );
|
89 |
+
}
|
90 |
+
|
91 |
// perform the replacement
|
92 |
$string = str_ireplace( array_keys( $replacements ), array_values( $replacements ), $string );
|
93 |
|
113 |
$request_data = array_change_key_case( $_REQUEST, CASE_UPPER );
|
114 |
|
115 |
if( isset( $request_data[ $variable ] ) && is_scalar( $request_data[ $variable ] ) ) {
|
116 |
+
|
117 |
+
// return urlencoded variable if replacement output is set to 'url'
|
118 |
+
if( self::$replacement_output === 'url' ) {
|
119 |
+
return urlencode( $request_data[ $variable ] );
|
120 |
+
}
|
121 |
+
|
122 |
return esc_html( $request_data[ $variable ] );
|
123 |
}
|
124 |
|
includes/functions/general.php
CHANGED
@@ -8,10 +8,8 @@
|
|
8 |
* @return array
|
9 |
*/
|
10 |
function mc4wp_get_options( $key = '' ) {
|
11 |
-
static $
|
12 |
-
|
13 |
-
if( null === $options ) {
|
14 |
-
|
15 |
$email_label = __( 'Email address', 'mailchimp-for-wp' );
|
16 |
$email_placeholder = __( 'Your email address', 'mailchimp-for-wp' );
|
17 |
$signup_button = __( 'Sign up', 'mailchimp-for-wp' );
|
@@ -58,26 +56,20 @@ function mc4wp_get_options( $key = '' ) {
|
|
58 |
'send_welcome' => 0,
|
59 |
),
|
60 |
);
|
|
|
61 |
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
$options = array();
|
69 |
-
foreach ( $db_keys_option_keys as $db_key => $option_key ) {
|
70 |
-
$option = (array) get_option( $db_key, array() );
|
71 |
-
|
72 |
-
// add option to database to prevent query on every pageload
|
73 |
-
if ( count( $option ) === 0 ) {
|
74 |
-
add_option( $db_key, $defaults[$option_key] );
|
75 |
-
}
|
76 |
|
77 |
-
|
78 |
-
|
|
|
|
|
79 |
}
|
80 |
-
|
81 |
if( '' !== $key ) {
|
82 |
return $options[$key];
|
83 |
}
|
8 |
* @return array
|
9 |
*/
|
10 |
function mc4wp_get_options( $key = '' ) {
|
11 |
+
static $defaults;
|
12 |
+
if( is_null( $defaults ) ) {
|
|
|
|
|
13 |
$email_label = __( 'Email address', 'mailchimp-for-wp' );
|
14 |
$email_placeholder = __( 'Your email address', 'mailchimp-for-wp' );
|
15 |
$signup_button = __( 'Sign up', 'mailchimp-for-wp' );
|
56 |
'send_welcome' => 0,
|
57 |
),
|
58 |
);
|
59 |
+
}
|
60 |
|
61 |
+
$db_keys_option_keys = array(
|
62 |
+
'mc4wp_lite' => 'general',
|
63 |
+
'mc4wp_lite_checkbox' => 'checkbox',
|
64 |
+
'mc4wp_lite_form' => 'form',
|
65 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
+
$options = array();
|
68 |
+
foreach ( $db_keys_option_keys as $db_key => $option_key ) {
|
69 |
+
$option = (array) get_option( $db_key, array() );
|
70 |
+
$options[$option_key] = array_merge( $defaults[$option_key], $option );
|
71 |
}
|
72 |
+
|
73 |
if( '' !== $key ) {
|
74 |
return $options[$key];
|
75 |
}
|
includes/integrations/class-comment-form.php
CHANGED
@@ -1,27 +1,58 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
|
4 |
-
header( 'Status: 403 Forbidden' );
|
5 |
-
header( 'HTTP/1.1 403 Forbidden' );
|
6 |
-
exit;
|
7 |
-
}
|
8 |
|
9 |
class MC4WP_Comment_Form_Integration extends MC4WP_Integration {
|
10 |
|
|
|
|
|
|
|
11 |
protected $type = 'comment_form';
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public function __construct() {
|
14 |
|
15 |
parent::__construct();
|
16 |
|
17 |
// hooks for outputting the checkbox
|
18 |
-
|
19 |
-
|
|
|
|
|
20 |
|
21 |
// hooks for checking if we should subscribe the commenter
|
22 |
add_action( 'comment_post', array( $this, 'subscribe_from_comment' ), 40, 2 );
|
23 |
}
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
/**
|
26 |
* Grabs data from WP Comment Form
|
27 |
*
|
@@ -54,6 +85,6 @@ class MC4WP_Comment_Form_Integration extends MC4WP_Integration {
|
|
54 |
'OPTIN_IP' => $comment->comment_author_IP,
|
55 |
);
|
56 |
|
57 |
-
return $this->subscribe( $email, $merge_vars,
|
58 |
}
|
59 |
}
|
1 |
<?php
|
2 |
|
3 |
+
defined( 'ABSPATH' ) or exit;
|
|
|
|
|
|
|
|
|
4 |
|
5 |
class MC4WP_Comment_Form_Integration extends MC4WP_Integration {
|
6 |
|
7 |
+
/**
|
8 |
+
* @var string
|
9 |
+
*/
|
10 |
protected $type = 'comment_form';
|
11 |
|
12 |
+
/**
|
13 |
+
* @var bool
|
14 |
+
*/
|
15 |
+
protected $added_through_filter = false;
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Constructor
|
19 |
+
*/
|
20 |
public function __construct() {
|
21 |
|
22 |
parent::__construct();
|
23 |
|
24 |
// hooks for outputting the checkbox
|
25 |
+
add_filter( 'comment_form_submit_field', array( $this, 'add_checkbox_before_submit_button' ), 90 );
|
26 |
+
|
27 |
+
add_action( 'thesis_hook_after_comment_box', array( $this, 'maybe_output_checkbox' ), 90 );
|
28 |
+
add_action( 'comment_form', array( $this, 'maybe_output_checkbox' ), 90 );
|
29 |
|
30 |
// hooks for checking if we should subscribe the commenter
|
31 |
add_action( 'comment_post', array( $this, 'subscribe_from_comment' ), 40, 2 );
|
32 |
}
|
33 |
|
34 |
+
/**
|
35 |
+
* This adds the checkbox just before the submit button and sets a flag to prevent it from outputting twice
|
36 |
+
*
|
37 |
+
* @param $submit_button_html
|
38 |
+
*
|
39 |
+
* @return string
|
40 |
+
*/
|
41 |
+
public function add_checkbox_before_submit_button( $submit_button_html ) {
|
42 |
+
$this->added_through_filter = true;
|
43 |
+
return $this->get_checkbox() . $submit_button_html;
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Output fallback
|
48 |
+
* Will output the checkbox if comment_form() function does not use `comment_form_submit_field` filter yet.
|
49 |
+
*/
|
50 |
+
public function maybe_output_checkbox() {
|
51 |
+
if( ! $this->added_through_filter ) {
|
52 |
+
$this->output_checkbox();
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
/**
|
57 |
* Grabs data from WP Comment Form
|
58 |
*
|
85 |
'OPTIN_IP' => $comment->comment_author_IP,
|
86 |
);
|
87 |
|
88 |
+
return $this->subscribe( $email, $merge_vars, $this->type, $comment_id );
|
89 |
}
|
90 |
}
|
includes/integrations/class-integration.php
CHANGED
@@ -215,7 +215,8 @@ abstract class MC4WP_Integration {
|
|
215 |
*
|
216 |
* @param string $email
|
217 |
* @param array $merge_vars
|
218 |
-
* @param
|
|
|
219 |
* @return string|boolean
|
220 |
*/
|
221 |
protected function subscribe( $email, array $merge_vars = array(), $type = '', $related_object_id = 0 ) {
|
215 |
*
|
216 |
* @param string $email
|
217 |
* @param array $merge_vars
|
218 |
+
* @param string $type
|
219 |
+
* @param int $related_object_id
|
220 |
* @return string|boolean
|
221 |
*/
|
222 |
protected function subscribe( $email, array $merge_vars = array(), $type = '', $related_object_id = 0 ) {
|
includes/views/api-settings.php
CHANGED
@@ -9,7 +9,9 @@ if( ! defined( 'MC4WP_LITE_VERSION' ) ) {
|
|
9 |
?>
|
10 |
<div id="mc4wp-admin" class="wrap mc4wp-settings">
|
11 |
|
12 |
-
<
|
|
|
|
|
13 |
|
14 |
<div id="mc4wp-content">
|
15 |
|
9 |
?>
|
10 |
<div id="mc4wp-admin" class="wrap mc4wp-settings">
|
11 |
|
12 |
+
<h1 class="page-title">
|
13 |
+
<?php _e( 'MailChimp for WordPress', 'mailchimp-for-wp' ); ?>: <?php _e( 'MailChimp Settings', 'mailchimp-for-wp' ); ?>
|
14 |
+
</h1>
|
15 |
|
16 |
<div id="mc4wp-content">
|
17 |
|
includes/views/checkbox-settings.php
CHANGED
@@ -8,7 +8,7 @@ if( ! defined( 'MC4WP_LITE_VERSION' ) ) {
|
|
8 |
?>
|
9 |
<div id="mc4wp-admin" class="wrap mc4wp-settings">
|
10 |
|
11 |
-
<
|
12 |
|
13 |
<div id="mc4wp-content">
|
14 |
|
8 |
?>
|
9 |
<div id="mc4wp-admin" class="wrap mc4wp-settings">
|
10 |
|
11 |
+
<h1 class="page-title"><?php _e( 'MailChimp for WordPress', 'mailchimp-for-wp' ); ?>: <?php _e( 'Checkbox Settings', 'mailchimp-for-wp' ); ?></h1>
|
12 |
|
13 |
<div id="mc4wp-content">
|
14 |
|
includes/views/form-settings.php
CHANGED
@@ -6,7 +6,7 @@ if( ! defined( 'MC4WP_LITE_VERSION' ) ) {
|
|
6 |
} ?>
|
7 |
<div id="mc4wp-admin" class="wrap mc4wp-settings">
|
8 |
|
9 |
-
<
|
10 |
|
11 |
<div id="mc4wp-content">
|
12 |
|
6 |
} ?>
|
7 |
<div id="mc4wp-admin" class="wrap mc4wp-settings">
|
8 |
|
9 |
+
<h1 class="page-title"><?php _e( 'MailChimp for WordPress', 'mailchimp-for-wp' ); ?>: <?php _e( 'Form Settings', 'mailchimp-for-wp' ); ?></h1>
|
10 |
|
11 |
<div id="mc4wp-content">
|
12 |
|
languages/mailchimp-for-wp-es_ES.mo
CHANGED
Binary file
|
languages/mailchimp-for-wp-es_ES.po
CHANGED
@@ -5,6 +5,7 @@
|
|
5 |
# eldietista <info@eldietista.es>, 2014
|
6 |
# José Manuel Lucas <josemanuel@jmlweb.es>, 2015
|
7 |
# jose Miranda <joseamirandavelez@gmail.com>, 2014
|
|
|
8 |
# Oscar Islas <oislas@gmail.com>, 2015
|
9 |
# Tane <yosoytane@gmail.com>, 2014
|
10 |
# violeta gau <violetagau@gmail.com>, 2015
|
@@ -13,8 +14,8 @@ msgstr ""
|
|
13 |
"Project-Id-Version: MailChimp for WordPress\n"
|
14 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mailchimp-for-wp\n"
|
15 |
"POT-Creation-Date: 2015-05-26 14:41:46+00:00\n"
|
16 |
-
"PO-Revision-Date: 2015-
|
17 |
-
"Last-Translator:
|
18 |
"Language-Team: Spanish (Spain) (http://www.transifex.com/ibericode/mailchimp-for-wordpress/language/es_ES/)\n"
|
19 |
"MIME-Version: 1.0\n"
|
20 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -757,7 +758,7 @@ msgstr "Suscrito con éxito"
|
|
757 |
msgid ""
|
758 |
"The text that shows when an email address is successfully subscribed to the "
|
759 |
"selected list(s)."
|
760 |
-
msgstr ""
|
761 |
|
762 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:202
|
763 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:160
|
@@ -769,7 +770,7 @@ msgstr "Dirección de email no válida"
|
|
769 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:163
|
770 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:150
|
771 |
msgid "The text that shows when an invalid email address is given."
|
772 |
-
msgstr ""
|
773 |
|
774 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:209
|
775 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:167
|
@@ -783,7 +784,7 @@ msgstr "Necesita cubrir todos los campos requeridos"
|
|
783 |
msgid ""
|
784 |
"The text that shows when a required field for the selected list(s) is "
|
785 |
"missing."
|
786 |
-
msgstr ""
|
787 |
|
788 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:216
|
789 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:174
|
@@ -797,7 +798,7 @@ msgstr "Ya está suscrito"
|
|
797 |
msgid ""
|
798 |
"The text that shows when the given email is already subscribed to the "
|
799 |
"selected list(s)."
|
800 |
-
msgstr ""
|
801 |
|
802 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:224
|
803 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:182
|
@@ -808,19 +809,19 @@ msgstr "CAPTCHA no válido"
|
|
808 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:229
|
809 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:174
|
810 |
msgid "General error"
|
811 |
-
msgstr ""
|
812 |
|
813 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:232
|
814 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:193
|
815 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:177
|
816 |
msgid "The text that shows when a general error occured."
|
817 |
-
msgstr ""
|
818 |
|
819 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:236
|
820 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:197
|
821 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:181
|
822 |
msgid "Unsubscribed"
|
823 |
-
msgstr ""
|
824 |
|
825 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:239
|
826 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:200
|
@@ -828,13 +829,13 @@ msgstr ""
|
|
828 |
msgid ""
|
829 |
"When using the unsubscribe method, this is the text that shows when the "
|
830 |
"given email address is successfully unsubscribed from the selected list(s)."
|
831 |
-
msgstr ""
|
832 |
|
833 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:243
|
834 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:204
|
835 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:188
|
836 |
msgid "Not subscribed"
|
837 |
-
msgstr ""
|
838 |
|
839 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:246
|
840 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:207
|
@@ -842,7 +843,7 @@ msgstr ""
|
|
842 |
msgid ""
|
843 |
"When using the unsubscribe method, this is the text that shows when the "
|
844 |
"given email address is not on the selected list(s)."
|
845 |
-
msgstr ""
|
846 |
|
847 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:252
|
848 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:213
|
@@ -862,7 +863,7 @@ msgstr "Modifica la apariencia del formulario aplicando estilos CSS a %s."
|
|
862 |
msgid ""
|
863 |
"You can add the CSS rules to your theme stylesheet using the <a "
|
864 |
"href=\"%s\">Theme Editor</a> or by using a plugin like %s"
|
865 |
-
msgstr ""
|
866 |
|
867 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:269
|
868 |
msgid ""
|
@@ -880,19 +881,19 @@ msgstr ""
|
|
880 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:272
|
881 |
#: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:366
|
882 |
msgid "Variables"
|
883 |
-
msgstr ""
|
884 |
|
885 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:274
|
886 |
#: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:11
|
887 |
msgid ""
|
888 |
"The following list of variables can be used to <a href=\"%s\">add some "
|
889 |
"dynamic content to your form or success and error messages</a>."
|
890 |
-
msgstr ""
|
891 |
|
892 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:274
|
893 |
#: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:11
|
894 |
msgid "This allows you to personalise your form or response messages."
|
895 |
-
msgstr ""
|
896 |
|
897 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:282
|
898 |
#: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:16
|
@@ -964,7 +965,7 @@ msgstr "URL actual"
|
|
964 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:336
|
965 |
#: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:70
|
966 |
msgid "The value of the <strong>FNAME</strong> field, if set."
|
967 |
-
msgstr ""
|
968 |
|
969 |
#: mailchimp-for-wordpress/includes/views/parts/admin-field-wizard.php:10
|
970 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:31
|
@@ -986,12 +987,12 @@ msgstr "Botón de alta"
|
|
986 |
|
987 |
#: mailchimp-for-wordpress/includes/views/parts/admin-field-wizard.php:20
|
988 |
msgid "Subscribe / unsubscribe choice"
|
989 |
-
msgstr ""
|
990 |
|
991 |
#: mailchimp-for-wordpress/includes/views/parts/admin-field-wizard.php:21
|
992 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:40
|
993 |
msgid "List choice"
|
994 |
-
msgstr ""
|
995 |
|
996 |
#: mailchimp-for-wordpress/includes/views/parts/admin-field-wizard.php:29
|
997 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:49
|
@@ -1066,11 +1067,11 @@ msgid ""
|
|
1066 |
"Make sure to look at the <a href=\"%s\">MailChimp for WordPress "
|
1067 |
"documentation</a>, the plugin <a href=\"%s\">FAQ</a> or use the <a "
|
1068 |
"href=\"%s\">support forums</a> on WordPress.org."
|
1069 |
-
msgstr ""
|
1070 |
|
1071 |
#: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:14
|
1072 |
msgid "Do you enjoy this plugin?"
|
1073 |
-
msgstr ""
|
1074 |
|
1075 |
#: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:17
|
1076 |
msgid "Leave a %s plugin review on WordPress.org"
|
@@ -1092,7 +1093,7 @@ msgstr "Valora el plugin en tu blog y enlázanos a <a href=\"%s\">la página del
|
|
1092 |
|
1093 |
#: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:19
|
1094 |
msgid "There is an <a href=\"%s\">affiliate program</a> as well."
|
1095 |
-
msgstr ""
|
1096 |
|
1097 |
#: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:20
|
1098 |
msgid "Vote \"works\" on the WordPress.org plugin page"
|
@@ -1109,19 +1110,19 @@ msgstr ""
|
|
1109 |
|
1110 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:14
|
1111 |
msgid "Multiple forms"
|
1112 |
-
msgstr ""
|
1113 |
|
1114 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:15
|
1115 |
msgid "Each subscribing to one or multiple MailChimp lists."
|
1116 |
-
msgstr ""
|
1117 |
|
1118 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:18
|
1119 |
msgid "AJAX forms"
|
1120 |
-
msgstr ""
|
1121 |
|
1122 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:19
|
1123 |
msgid "Forms do not require a full page reload."
|
1124 |
-
msgstr ""
|
1125 |
|
1126 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:22
|
1127 |
#: mailchimp-for-wordpress-pro/includes/views/pages/admin-reports.php:14
|
@@ -1721,112 +1722,112 @@ msgstr "Necesitas tener habilitado el JavaScript para previsualizar tu formulari
|
|
1721 |
|
1722 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:62
|
1723 |
msgid "Form container style"
|
1724 |
-
msgstr ""
|
1725 |
|
1726 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:66
|
1727 |
msgid "Form width"
|
1728 |
-
msgstr ""
|
1729 |
|
1730 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:66
|
1731 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:118
|
1732 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:160
|
1733 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:202
|
1734 |
msgid "px or %"
|
1735 |
-
msgstr ""
|
1736 |
|
1737 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:70
|
1738 |
msgid "Text alignment"
|
1739 |
-
msgstr ""
|
1740 |
|
1741 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:73
|
1742 |
msgid "Choose alignment"
|
1743 |
-
msgstr ""
|
1744 |
|
1745 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:74
|
1746 |
msgid "Left"
|
1747 |
-
msgstr ""
|
1748 |
|
1749 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:75
|
1750 |
msgid "Center"
|
1751 |
-
msgstr ""
|
1752 |
|
1753 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:76
|
1754 |
msgid "Right"
|
1755 |
-
msgstr ""
|
1756 |
|
1757 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:81
|
1758 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:210
|
1759 |
msgid "Background color"
|
1760 |
-
msgstr ""
|
1761 |
|
1762 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:83
|
1763 |
msgid "Padding"
|
1764 |
-
msgstr ""
|
1765 |
|
1766 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:89
|
1767 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:168
|
1768 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:219
|
1769 |
msgid "Border color"
|
1770 |
-
msgstr ""
|
1771 |
|
1772 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:91
|
1773 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:170
|
1774 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:215
|
1775 |
msgid "Border width"
|
1776 |
-
msgstr ""
|
1777 |
|
1778 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:95
|
1779 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:126
|
1780 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:228
|
1781 |
msgid "Text color"
|
1782 |
-
msgstr ""
|
1783 |
|
1784 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:97
|
1785 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:128
|
1786 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:230
|
1787 |
msgid "Text size"
|
1788 |
-
msgstr ""
|
1789 |
|
1790 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:101
|
1791 |
msgid "Background image"
|
1792 |
-
msgstr ""
|
1793 |
|
1794 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:114
|
1795 |
msgid "Label styles"
|
1796 |
-
msgstr ""
|
1797 |
|
1798 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:118
|
1799 |
msgid "Label width"
|
1800 |
-
msgstr ""
|
1801 |
|
1802 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:132
|
1803 |
msgid "Text style"
|
1804 |
-
msgstr ""
|
1805 |
|
1806 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:135
|
1807 |
msgid "Choose text style.."
|
1808 |
-
msgstr ""
|
1809 |
|
1810 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:136
|
1811 |
msgid "Normal"
|
1812 |
-
msgstr ""
|
1813 |
|
1814 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:137
|
1815 |
msgid "Bold"
|
1816 |
-
msgstr ""
|
1817 |
|
1818 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:138
|
1819 |
msgid "Italic"
|
1820 |
-
msgstr ""
|
1821 |
|
1822 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:139
|
1823 |
msgid "Bold & Italic"
|
1824 |
-
msgstr ""
|
1825 |
|
1826 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:142
|
1827 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:174
|
1828 |
msgid "Display"
|
1829 |
-
msgstr ""
|
1830 |
|
1831 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:146
|
1832 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:178
|
@@ -1836,24 +1837,24 @@ msgstr ""
|
|
1836 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:147
|
1837 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:179
|
1838 |
msgid "New line"
|
1839 |
-
msgstr ""
|
1840 |
|
1841 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:156
|
1842 |
msgid "Field styles"
|
1843 |
-
msgstr ""
|
1844 |
|
1845 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:160
|
1846 |
msgid "Field width"
|
1847 |
-
msgstr ""
|
1848 |
|
1849 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:164
|
1850 |
msgid "Field height"
|
1851 |
-
msgstr ""
|
1852 |
|
1853 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:182
|
1854 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:224
|
1855 |
msgid "Border radius"
|
1856 |
-
msgstr ""
|
1857 |
|
1858 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:186
|
1859 |
msgid "Focus outline"
|
@@ -1861,27 +1862,27 @@ msgstr ""
|
|
1861 |
|
1862 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:198
|
1863 |
msgid "Button styles"
|
1864 |
-
msgstr ""
|
1865 |
|
1866 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:202
|
1867 |
msgid "Button width"
|
1868 |
-
msgstr ""
|
1869 |
|
1870 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:206
|
1871 |
msgid "Button height"
|
1872 |
-
msgstr ""
|
1873 |
|
1874 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:238
|
1875 |
msgid "Error and success messages"
|
1876 |
-
msgstr ""
|
1877 |
|
1878 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:242
|
1879 |
msgid "Success text color"
|
1880 |
-
msgstr ""
|
1881 |
|
1882 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:244
|
1883 |
msgid "Error text color"
|
1884 |
-
msgstr ""
|
1885 |
|
1886 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:252
|
1887 |
msgid "Advanced"
|
@@ -1889,13 +1890,13 @@ msgstr "Avanzado"
|
|
1889 |
|
1890 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:256
|
1891 |
msgid "CSS Selector Prefix"
|
1892 |
-
msgstr ""
|
1893 |
|
1894 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:258
|
1895 |
msgid ""
|
1896 |
"Use this to create a more specific (and thus more \"important\") CSS "
|
1897 |
"selector."
|
1898 |
-
msgstr ""
|
1899 |
|
1900 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:261
|
1901 |
msgid "Manual CSS"
|
@@ -1904,7 +1905,7 @@ msgstr "CSS Manual"
|
|
1904 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:261
|
1905 |
msgid ""
|
1906 |
"The CSS rules you enter here will be appended to the custom stylesheet."
|
1907 |
-
msgstr ""
|
1908 |
|
1909 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:269
|
1910 |
msgid "Copy styles from other form"
|
5 |
# eldietista <info@eldietista.es>, 2014
|
6 |
# José Manuel Lucas <josemanuel@jmlweb.es>, 2015
|
7 |
# jose Miranda <joseamirandavelez@gmail.com>, 2014
|
8 |
+
# nomeacuer <nomeacuer@gmail.com>, 2015
|
9 |
# Oscar Islas <oislas@gmail.com>, 2015
|
10 |
# Tane <yosoytane@gmail.com>, 2014
|
11 |
# violeta gau <violetagau@gmail.com>, 2015
|
14 |
"Project-Id-Version: MailChimp for WordPress\n"
|
15 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mailchimp-for-wp\n"
|
16 |
"POT-Creation-Date: 2015-05-26 14:41:46+00:00\n"
|
17 |
+
"PO-Revision-Date: 2015-08-18 15:24+0000\n"
|
18 |
+
"Last-Translator: nomeacuer <nomeacuer@gmail.com>\n"
|
19 |
"Language-Team: Spanish (Spain) (http://www.transifex.com/ibericode/mailchimp-for-wordpress/language/es_ES/)\n"
|
20 |
"MIME-Version: 1.0\n"
|
21 |
"Content-Type: text/plain; charset=UTF-8\n"
|
758 |
msgid ""
|
759 |
"The text that shows when an email address is successfully subscribed to the "
|
760 |
"selected list(s)."
|
761 |
+
msgstr "Texto a mostrar cuando una dirección email se ha suscrito correctamente a la(s) lista(s) seleccionada(s)."
|
762 |
|
763 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:202
|
764 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:160
|
770 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:163
|
771 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:150
|
772 |
msgid "The text that shows when an invalid email address is given."
|
773 |
+
msgstr "Texto a mostrar cuando una dirección email inválida es dada."
|
774 |
|
775 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:209
|
776 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:167
|
784 |
msgid ""
|
785 |
"The text that shows when a required field for the selected list(s) is "
|
786 |
"missing."
|
787 |
+
msgstr "Texto a mostrar cuando falta un campo obligatorio para la(s) lista(s) seleccionada(s)."
|
788 |
|
789 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:216
|
790 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:174
|
798 |
msgid ""
|
799 |
"The text that shows when the given email is already subscribed to the "
|
800 |
"selected list(s)."
|
801 |
+
msgstr "Texto a mostrar cuando el email dado ya está suscrito a la(s) lista(s) seleccionada(s)."
|
802 |
|
803 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:224
|
804 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:182
|
809 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:229
|
810 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:174
|
811 |
msgid "General error"
|
812 |
+
msgstr "Error general"
|
813 |
|
814 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:232
|
815 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:193
|
816 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:177
|
817 |
msgid "The text that shows when a general error occured."
|
818 |
+
msgstr "Texto a mostrar cuando ocurra un error general."
|
819 |
|
820 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:236
|
821 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:197
|
822 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:181
|
823 |
msgid "Unsubscribed"
|
824 |
+
msgstr "No suscrito"
|
825 |
|
826 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:239
|
827 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:200
|
829 |
msgid ""
|
830 |
"When using the unsubscribe method, this is the text that shows when the "
|
831 |
"given email address is successfully unsubscribed from the selected list(s)."
|
832 |
+
msgstr "Cuando se usa el método desuscribir, éste es el texto a mostrar cuando el email facilitado se ha desuscrito correctamente de la(s) lista(s) seleccionada(s)."
|
833 |
|
834 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:243
|
835 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:204
|
836 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:188
|
837 |
msgid "Not subscribed"
|
838 |
+
msgstr "No suscrito"
|
839 |
|
840 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:246
|
841 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:207
|
843 |
msgid ""
|
844 |
"When using the unsubscribe method, this is the text that shows when the "
|
845 |
"given email address is not on the selected list(s)."
|
846 |
+
msgstr "Cuando se usa el método desuscribir, éste es el texto a mostrar cuando el email facilitado no está en la(s) lista(s) seleccionada(s)."
|
847 |
|
848 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:252
|
849 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/optional-form-settings.php:213
|
863 |
msgid ""
|
864 |
"You can add the CSS rules to your theme stylesheet using the <a "
|
865 |
"href=\"%s\">Theme Editor</a> or by using a plugin like %s"
|
866 |
+
msgstr "Puede añadir reglas CSS a su hoja de estilos usado el <a href=\"%s\">Editor de tema</a> o usando un plugin como %s"
|
867 |
|
868 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:269
|
869 |
msgid ""
|
881 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:272
|
882 |
#: mailchimp-for-wordpress-pro/includes/admin/class-admin.php:366
|
883 |
msgid "Variables"
|
884 |
+
msgstr "Variables"
|
885 |
|
886 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:274
|
887 |
#: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:11
|
888 |
msgid ""
|
889 |
"The following list of variables can be used to <a href=\"%s\">add some "
|
890 |
"dynamic content to your form or success and error messages</a>."
|
891 |
+
msgstr "La siguiente lista de variables puede ser usada para <a href=\"%s\">añadir algún contenido dinámico a su formulario o a sus mensajes de éxito y error</a>."
|
892 |
|
893 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:274
|
894 |
#: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:11
|
895 |
msgid "This allows you to personalise your form or response messages."
|
896 |
+
msgstr "Le permite personalizar su formulario o sus mensajes de respuesta."
|
897 |
|
898 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:282
|
899 |
#: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:16
|
965 |
#: mailchimp-for-wordpress/includes/views/form-settings.php:336
|
966 |
#: mailchimp-for-wordpress-pro/includes/views/parts/admin-text-variables.php:70
|
967 |
msgid "The value of the <strong>FNAME</strong> field, if set."
|
968 |
+
msgstr "El valor del campo <strong>FNAME</strong>, si está definido."
|
969 |
|
970 |
#: mailchimp-for-wordpress/includes/views/parts/admin-field-wizard.php:10
|
971 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:31
|
987 |
|
988 |
#: mailchimp-for-wordpress/includes/views/parts/admin-field-wizard.php:20
|
989 |
msgid "Subscribe / unsubscribe choice"
|
990 |
+
msgstr "Opción de suscribirse / desuscribirse"
|
991 |
|
992 |
#: mailchimp-for-wordpress/includes/views/parts/admin-field-wizard.php:21
|
993 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:40
|
994 |
msgid "List choice"
|
995 |
+
msgstr "Lista de opciones"
|
996 |
|
997 |
#: mailchimp-for-wordpress/includes/views/parts/admin-field-wizard.php:29
|
998 |
#: mailchimp-for-wordpress-pro/includes/views/metaboxes/required-form-settings.php:49
|
1067 |
"Make sure to look at the <a href=\"%s\">MailChimp for WordPress "
|
1068 |
"documentation</a>, the plugin <a href=\"%s\">FAQ</a> or use the <a "
|
1069 |
"href=\"%s\">support forums</a> on WordPress.org."
|
1070 |
+
msgstr "Asegúrese de leer <a href=\"%s\"> la documentación de MailChimp para WordPress</a>, las <a href=\"%s\">preguntas más frecuentes</a> del plugin o use los <a href=\"%s\">foros de soporte</a> en WordPress.org."
|
1071 |
|
1072 |
#: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:14
|
1073 |
msgid "Do you enjoy this plugin?"
|
1074 |
+
msgstr "Le gustó este plugin?"
|
1075 |
|
1076 |
#: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:17
|
1077 |
msgid "Leave a %s plugin review on WordPress.org"
|
1093 |
|
1094 |
#: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:19
|
1095 |
msgid "There is an <a href=\"%s\">affiliate program</a> as well."
|
1096 |
+
msgstr "Hay un <a href=\"%s\">programa de afiliados</a> también."
|
1097 |
|
1098 |
#: mailchimp-for-wordpress/includes/views/parts/admin-need-support.php:20
|
1099 |
msgid "Vote \"works\" on the WordPress.org plugin page"
|
1110 |
|
1111 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:14
|
1112 |
msgid "Multiple forms"
|
1113 |
+
msgstr "Formularios múltiples"
|
1114 |
|
1115 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:15
|
1116 |
msgid "Each subscribing to one or multiple MailChimp lists."
|
1117 |
+
msgstr "Cada suscripción a una o varias listas de MailChimp."
|
1118 |
|
1119 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:18
|
1120 |
msgid "AJAX forms"
|
1121 |
+
msgstr "Formularios AJAX"
|
1122 |
|
1123 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:19
|
1124 |
msgid "Forms do not require a full page reload."
|
1125 |
+
msgstr "Los formularios no necesitan una recarga completa de página"
|
1126 |
|
1127 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:22
|
1128 |
#: mailchimp-for-wordpress-pro/includes/views/pages/admin-reports.php:14
|
1722 |
|
1723 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:62
|
1724 |
msgid "Form container style"
|
1725 |
+
msgstr "Estilo del contenedor del formulario"
|
1726 |
|
1727 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:66
|
1728 |
msgid "Form width"
|
1729 |
+
msgstr "Ancho del formulario"
|
1730 |
|
1731 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:66
|
1732 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:118
|
1733 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:160
|
1734 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:202
|
1735 |
msgid "px or %"
|
1736 |
+
msgstr "px o %"
|
1737 |
|
1738 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:70
|
1739 |
msgid "Text alignment"
|
1740 |
+
msgstr "Alineación de texto"
|
1741 |
|
1742 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:73
|
1743 |
msgid "Choose alignment"
|
1744 |
+
msgstr "Elija alineación"
|
1745 |
|
1746 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:74
|
1747 |
msgid "Left"
|
1748 |
+
msgstr "Izquierda"
|
1749 |
|
1750 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:75
|
1751 |
msgid "Center"
|
1752 |
+
msgstr "Centro"
|
1753 |
|
1754 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:76
|
1755 |
msgid "Right"
|
1756 |
+
msgstr "Derecha"
|
1757 |
|
1758 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:81
|
1759 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:210
|
1760 |
msgid "Background color"
|
1761 |
+
msgstr "Color de fondo"
|
1762 |
|
1763 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:83
|
1764 |
msgid "Padding"
|
1765 |
+
msgstr "Acolchado (padding)"
|
1766 |
|
1767 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:89
|
1768 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:168
|
1769 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:219
|
1770 |
msgid "Border color"
|
1771 |
+
msgstr "Color del borde"
|
1772 |
|
1773 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:91
|
1774 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:170
|
1775 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:215
|
1776 |
msgid "Border width"
|
1777 |
+
msgstr "Ancho del borde"
|
1778 |
|
1779 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:95
|
1780 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:126
|
1781 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:228
|
1782 |
msgid "Text color"
|
1783 |
+
msgstr "Color del texto"
|
1784 |
|
1785 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:97
|
1786 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:128
|
1787 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:230
|
1788 |
msgid "Text size"
|
1789 |
+
msgstr "Tamaño del texto"
|
1790 |
|
1791 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:101
|
1792 |
msgid "Background image"
|
1793 |
+
msgstr "Imagen de fondo"
|
1794 |
|
1795 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:114
|
1796 |
msgid "Label styles"
|
1797 |
+
msgstr "Estilos de etiquetas"
|
1798 |
|
1799 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:118
|
1800 |
msgid "Label width"
|
1801 |
+
msgstr "Ancho de etiqueta"
|
1802 |
|
1803 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:132
|
1804 |
msgid "Text style"
|
1805 |
+
msgstr "Estilo del texto"
|
1806 |
|
1807 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:135
|
1808 |
msgid "Choose text style.."
|
1809 |
+
msgstr "Elije el estilo del texto"
|
1810 |
|
1811 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:136
|
1812 |
msgid "Normal"
|
1813 |
+
msgstr "Normal"
|
1814 |
|
1815 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:137
|
1816 |
msgid "Bold"
|
1817 |
+
msgstr "Negrita"
|
1818 |
|
1819 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:138
|
1820 |
msgid "Italic"
|
1821 |
+
msgstr "Cursiva"
|
1822 |
|
1823 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:139
|
1824 |
msgid "Bold & Italic"
|
1825 |
+
msgstr "Negrita & cursiva"
|
1826 |
|
1827 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:142
|
1828 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:174
|
1829 |
msgid "Display"
|
1830 |
+
msgstr "Visualización"
|
1831 |
|
1832 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:146
|
1833 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:178
|
1837 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:147
|
1838 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:179
|
1839 |
msgid "New line"
|
1840 |
+
msgstr "Nueva linea"
|
1841 |
|
1842 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:156
|
1843 |
msgid "Field styles"
|
1844 |
+
msgstr "Estilos de campo"
|
1845 |
|
1846 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:160
|
1847 |
msgid "Field width"
|
1848 |
+
msgstr "Ancho de campo"
|
1849 |
|
1850 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:164
|
1851 |
msgid "Field height"
|
1852 |
+
msgstr "Altura de campo"
|
1853 |
|
1854 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:182
|
1855 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:224
|
1856 |
msgid "Border radius"
|
1857 |
+
msgstr "radio del borde"
|
1858 |
|
1859 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:186
|
1860 |
msgid "Focus outline"
|
1862 |
|
1863 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:198
|
1864 |
msgid "Button styles"
|
1865 |
+
msgstr "Estilos de botón"
|
1866 |
|
1867 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:202
|
1868 |
msgid "Button width"
|
1869 |
+
msgstr "Ancho del botón"
|
1870 |
|
1871 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:206
|
1872 |
msgid "Button height"
|
1873 |
+
msgstr "Altura del botón"
|
1874 |
|
1875 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:238
|
1876 |
msgid "Error and success messages"
|
1877 |
+
msgstr "Mensajes de error y éxito"
|
1878 |
|
1879 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:242
|
1880 |
msgid "Success text color"
|
1881 |
+
msgstr "Color del texto exitoso"
|
1882 |
|
1883 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:244
|
1884 |
msgid "Error text color"
|
1885 |
+
msgstr "Color del texto erróneo"
|
1886 |
|
1887 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:252
|
1888 |
msgid "Advanced"
|
1890 |
|
1891 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:256
|
1892 |
msgid "CSS Selector Prefix"
|
1893 |
+
msgstr "Prefijo del selector CSS"
|
1894 |
|
1895 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:258
|
1896 |
msgid ""
|
1897 |
"Use this to create a more specific (and thus more \"important\") CSS "
|
1898 |
"selector."
|
1899 |
+
msgstr "Use esto para crear un CSS más específico (y por lo tanto más \"importante\")"
|
1900 |
|
1901 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:261
|
1902 |
msgid "Manual CSS"
|
1905 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:261
|
1906 |
msgid ""
|
1907 |
"The CSS rules you enter here will be appended to the custom stylesheet."
|
1908 |
+
msgstr "Las reglas CSS que introduzca aquí serán añadidas al final de la hoja de estilos a medida"
|
1909 |
|
1910 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:269
|
1911 |
msgid "Copy styles from other form"
|
mailchimp-for-wp.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: MailChimp for WordPress Lite
|
4 |
Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page
|
5 |
Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website.
|
6 |
-
Version: 2.3.
|
7 |
Author: ibericode
|
8 |
Author URI: http://ibericode.com/
|
9 |
Text Domain: mailchimp-for-wp
|
@@ -47,7 +47,7 @@ function mc4wp_load_plugin() {
|
|
47 |
}
|
48 |
|
49 |
// bootstrap the lite plugin
|
50 |
-
define( 'MC4WP_LITE_VERSION', '2.3.
|
51 |
define( 'MC4WP_LITE_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
|
52 |
define( 'MC4WP_LITE_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
|
53 |
define( 'MC4WP_LITE_PLUGIN_FILE', __FILE__ );
|
3 |
Plugin Name: MailChimp for WordPress Lite
|
4 |
Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page
|
5 |
Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website.
|
6 |
+
Version: 2.3.10
|
7 |
Author: ibericode
|
8 |
Author URI: http://ibericode.com/
|
9 |
Text Domain: mailchimp-for-wp
|
47 |
}
|
48 |
|
49 |
// bootstrap the lite plugin
|
50 |
+
define( 'MC4WP_LITE_VERSION', '2.3.10' );
|
51 |
define( 'MC4WP_LITE_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
|
52 |
define( 'MC4WP_LITE_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
|
53 |
define( 'MC4WP_LITE_PLUGIN_FILE', __FILE__ );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://mc4wp.com/#utm_source=wp-plugin-repo&utm_medium=mailchimp-f
|
|
4 |
Tags: email, mailchimp, marketing, newsletter, signup, widget, mc4wp, contact form 7, woocommerce, buddypress,ibericode
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -167,6 +167,37 @@ MailChimp for WordPress is being developed on GitHub. If you want to collaborate
|
|
167 |
|
168 |
== Changelog ==
|
169 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
= 2.3.8 - August 18, 2015 =
|
171 |
|
172 |
**Fixes**
|
@@ -653,5 +684,3 @@ Minor improvements and additions for compatibility with the [MailChimp Sync plug
|
|
653 |
|
654 |
== Upgrade Notice ==
|
655 |
|
656 |
-
= 2.3.6 =
|
657 |
-
Fixes undefined index notice for visitors with empty USER_AGENT. Updated languages.
|
4 |
Tags: email, mailchimp, marketing, newsletter, signup, widget, mc4wp, contact form 7, woocommerce, buddypress,ibericode
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 2.3.10
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
167 |
|
168 |
== Changelog ==
|
169 |
|
170 |
+
= 2.3.10 - September 7, 2015 =
|
171 |
+
|
172 |
+
**Fixes**
|
173 |
+
|
174 |
+
- Showing "not connected" when the plugin was actually connected to MailChimp.
|
175 |
+
- Issue with `address` fields when `addr1` was not given.
|
176 |
+
- Comment form checkbox not outputted for some older themes.
|
177 |
+
|
178 |
+
**Improvements**
|
179 |
+
|
180 |
+
- Do not flush MailChimp cache on every settings save.
|
181 |
+
- Add default CSS styles for `number` fields.
|
182 |
+
- Placeholders will now work in older version of IE as well.
|
183 |
+
|
184 |
+
= 2.3.9 - September 1, 2015 =
|
185 |
+
|
186 |
+
**Improvements**
|
187 |
+
|
188 |
+
- MailChimp lists cache is now automatically flushed after changing your API key setting.
|
189 |
+
- Better field population after submitting a form with errors.
|
190 |
+
- More helpful error message when no list is selected.
|
191 |
+
- Translate options when installing plugin from a language other than English.
|
192 |
+
- Add form mark-up to WPML configuration file.
|
193 |
+
- Sign-up checkbox in comment form is now shown before the "submit comment" button.
|
194 |
+
- URL-encode variables in "Redirect URL" setting.
|
195 |
+
- Better error message when connected to MailChimp but account has no lists.
|
196 |
+
|
197 |
+
**Additions**
|
198 |
+
|
199 |
+
- Add `mc4wp_form_action` filter to set a custom `action` attribute on the form element.
|
200 |
+
|
201 |
= 2.3.8 - August 18, 2015 =
|
202 |
|
203 |
**Fixes**
|
684 |
|
685 |
== Upgrade Notice ==
|
686 |
|
|
|
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitac2ed5d2f14cb452a4d019ebabf84b62::getLoader();
|
vendor/composer/ClassLoader.php
CHANGED
@@ -351,7 +351,7 @@ class ClassLoader
|
|
351 |
foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
|
352 |
if (0 === strpos($class, $prefix)) {
|
353 |
foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
|
354 |
-
if (
|
355 |
return $file;
|
356 |
}
|
357 |
}
|
@@ -361,7 +361,7 @@ class ClassLoader
|
|
361 |
|
362 |
// PSR-4 fallback dirs
|
363 |
foreach ($this->fallbackDirsPsr4 as $dir) {
|
364 |
-
if (
|
365 |
return $file;
|
366 |
}
|
367 |
}
|
@@ -380,7 +380,7 @@ class ClassLoader
|
|
380 |
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
|
381 |
if (0 === strpos($class, $prefix)) {
|
382 |
foreach ($dirs as $dir) {
|
383 |
-
if (
|
384 |
return $file;
|
385 |
}
|
386 |
}
|
@@ -390,7 +390,7 @@ class ClassLoader
|
|
390 |
|
391 |
// PSR-0 fallback dirs
|
392 |
foreach ($this->fallbackDirsPsr0 as $dir) {
|
393 |
-
if (
|
394 |
return $file;
|
395 |
}
|
396 |
}
|
351 |
foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
|
352 |
if (0 === strpos($class, $prefix)) {
|
353 |
foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
|
354 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
|
355 |
return $file;
|
356 |
}
|
357 |
}
|
361 |
|
362 |
// PSR-4 fallback dirs
|
363 |
foreach ($this->fallbackDirsPsr4 as $dir) {
|
364 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
|
365 |
return $file;
|
366 |
}
|
367 |
}
|
380 |
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
|
381 |
if (0 === strpos($class, $prefix)) {
|
382 |
foreach ($dirs as $dir) {
|
383 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
384 |
return $file;
|
385 |
}
|
386 |
}
|
390 |
|
391 |
// PSR-0 fallback dirs
|
392 |
foreach ($this->fallbackDirsPsr0 as $dir) {
|
393 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
394 |
return $file;
|
395 |
}
|
396 |
}
|
vendor/composer/autoload_files.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// autoload_files.php @generated by Composer
|
4 |
-
|
5 |
-
$vendorDir = dirname(dirname(__FILE__));
|
6 |
-
$baseDir = dirname($vendorDir);
|
7 |
-
|
8 |
-
return array(
|
9 |
-
$vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest.php',
|
10 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit4b2ab9300ae20bfc0336b6ee89e61fb5 {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInitac2ed5d2f14cb452a4d019ebabf84b62 {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitac2ed5d2f14cb452a4d019ebabf84b62', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitac2ed5d2f14cb452a4d019ebabf84b62', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
vendor/composer/include_paths.php
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// include_paths.php @generated by Composer
|
4 |
-
|
5 |
-
$vendorDir = dirname(dirname(__FILE__));
|
6 |
-
$baseDir = dirname($vendorDir);
|
7 |
-
|
8 |
-
return array(
|
9 |
-
$vendorDir . '/phpunit/php-text-template',
|
10 |
-
$vendorDir . '/phpunit/php-timer',
|
11 |
-
$vendorDir . '/phpunit/php-file-iterator',
|
12 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wpml-config.xml
CHANGED
@@ -12,6 +12,7 @@
|
|
12 |
<key name="text_required_field_missing" />
|
13 |
<key name="text_unsubscribed" />
|
14 |
<key name="text_not_subscribed" />
|
|
|
15 |
</key>
|
16 |
</admin-texts>
|
17 |
</wpml-config>
|
12 |
<key name="text_required_field_missing" />
|
13 |
<key name="text_unsubscribed" />
|
14 |
<key name="text_not_subscribed" />
|
15 |
+
<key name="markup" />
|
16 |
</key>
|
17 |
</admin-texts>
|
18 |
</wpml-config>
|