Version Description
- Fix form submission download bug
Download this release
Release Info
Developer | tlovett1 |
Plugin | Custom Contact Forms |
Version | 6.6.3 |
Comparing to | |
See all releases |
Code changes from version 6.6.2 to 6.6.3
- README.md +4 -0
- build/js/form-manager.js +24 -1
- build/js/form-manager.min.js +2 -2
- build/js/form.min.js +1 -1
- classes/class-ccf-api.php +18 -0
- classes/class-ccf-field-renderer.php +1 -1
- classes/class-ccf-form-cpt.php +1 -1
- classes/class-ccf-form-manager.php +14 -1
- classes/class-ccf-form-renderer.php +16 -1
- custom-contact-forms.php +1 -1
- js/manager/models.js +3 -1
- js/manager/views.js +21 -0
- languages/custom-contact-forms-de_DE.mo +0 -0
- languages/custom-contact-forms-de_DE.po +1362 -0
- languages/custom-contact-forms.mo +0 -0
- languages/custom-contact-forms.po +281 -266
- readme.txt +4 -1
README.md
CHANGED
@@ -55,6 +55,10 @@ Each form has a number of settings that you should understand.
|
|
55 |
* `Completion Message` - If you choose to show a message, you can customize the message to be shown.
|
56 |
* `Redirect URL` - If you choose to perform a redirect, you can customize the redirect URL.
|
57 |
|
|
|
|
|
|
|
|
|
58 |
### Form Notifications
|
59 |
|
60 |
* `Send email notifications` - When a form is completed, you can have an email sent with submission information.
|
55 |
* `Completion Message` - If you choose to show a message, you can customize the message to be shown.
|
56 |
* `Redirect URL` - If you choose to perform a redirect, you can customize the redirect URL.
|
57 |
|
58 |
+
* `Pause` - Pausing a form will temporarily disable new form submissions on the front end.
|
59 |
+
|
60 |
+
* `Pause Message` - This message will be shown if the form is paused.
|
61 |
+
|
62 |
### Form Notifications
|
63 |
|
64 |
* `Send email notifications` - When a form is completed, you can have an email sent with submission information.
|
build/js/form-manager.js
CHANGED
@@ -360,7 +360,9 @@
|
|
360 |
emailNotificationAddresses: ccfSettings.adminEmail,
|
361 |
emailNotificationFromType: 'default',
|
362 |
emailNotificationFromAddress: '',
|
363 |
-
emailNotificationFromField: ''
|
|
|
|
|
364 |
};
|
365 |
|
366 |
defaults = _.defaults( defaults, this.constructor.__super__.defaults );
|
@@ -1673,6 +1675,7 @@
|
|
1673 |
'blur input': 'save',
|
1674 |
'change select': 'save',
|
1675 |
'change select.form-completion-action-type': 'toggleCompletionFields',
|
|
|
1676 |
'change select.form-send-email-notifications': 'toggleNotificationFields'
|
1677 |
},
|
1678 |
|
@@ -1700,6 +1703,18 @@
|
|
1700 |
}
|
1701 |
},
|
1702 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1703 |
save: function( $promise ) {
|
1704 |
var SELF = this;
|
1705 |
|
@@ -1717,6 +1732,12 @@
|
|
1717 |
var buttonText = this.el.querySelectorAll( '.form-button-text' )[0].value;
|
1718 |
this.model.set( 'buttonText', buttonText );
|
1719 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1720 |
var completionMessage = this.el.querySelectorAll( '.form-completion-message' )[0].value;
|
1721 |
this.model.set( 'completionMessage', completionMessage );
|
1722 |
|
@@ -1740,6 +1761,8 @@
|
|
1740 |
|
1741 |
this.toggleCompletionFields();
|
1742 |
|
|
|
|
|
1743 |
wp.ccf.dispatcher.on( 'saveFormSettings', this.save, this );
|
1744 |
wp.ccf.dispatcher.on( 'mainViewChange', this.save, this );
|
1745 |
|
360 |
emailNotificationAddresses: ccfSettings.adminEmail,
|
361 |
emailNotificationFromType: 'default',
|
362 |
emailNotificationFromAddress: '',
|
363 |
+
emailNotificationFromField: '',
|
364 |
+
pause: false,
|
365 |
+
pauseMessage: ccfSettings.pauseMessage
|
366 |
};
|
367 |
|
368 |
defaults = _.defaults( defaults, this.constructor.__super__.defaults );
|
1675 |
'blur input': 'save',
|
1676 |
'change select': 'save',
|
1677 |
'change select.form-completion-action-type': 'toggleCompletionFields',
|
1678 |
+
'change select.form-pause': 'togglePauseFields',
|
1679 |
'change select.form-send-email-notifications': 'toggleNotificationFields'
|
1680 |
},
|
1681 |
|
1703 |
}
|
1704 |
},
|
1705 |
|
1706 |
+
togglePauseFields: function() {
|
1707 |
+
|
1708 |
+
var pause = this.el.querySelectorAll( '.form-pause' )[0].value;
|
1709 |
+
var pauseMessage = this.el.querySelectorAll( '.pause-message' )[0];
|
1710 |
+
|
1711 |
+
if ( parseInt( pause ) ) {
|
1712 |
+
pauseMessage.style.display = 'block';
|
1713 |
+
} else {
|
1714 |
+
pauseMessage.style.display = 'none';
|
1715 |
+
}
|
1716 |
+
},
|
1717 |
+
|
1718 |
save: function( $promise ) {
|
1719 |
var SELF = this;
|
1720 |
|
1732 |
var buttonText = this.el.querySelectorAll( '.form-button-text' )[0].value;
|
1733 |
this.model.set( 'buttonText', buttonText );
|
1734 |
|
1735 |
+
var pause = this.el.querySelectorAll( '.form-pause' )[0].value;
|
1736 |
+
this.model.set( 'pause', ( parseInt( pause ) ) ? true : false );
|
1737 |
+
|
1738 |
+
var pauseMessage = this.el.querySelectorAll( '.form-pause-message' )[0].value;
|
1739 |
+
this.model.set( 'pauseMessage', pauseMessage );
|
1740 |
+
|
1741 |
var completionMessage = this.el.querySelectorAll( '.form-completion-message' )[0].value;
|
1742 |
this.model.set( 'completionMessage', completionMessage );
|
1743 |
|
1761 |
|
1762 |
this.toggleCompletionFields();
|
1763 |
|
1764 |
+
this.togglePauseFields();
|
1765 |
+
|
1766 |
wp.ccf.dispatcher.on( 'saveFormSettings', this.save, this );
|
1767 |
wp.ccf.dispatcher.on( 'mainViewChange', this.save, this );
|
1768 |
|
build/js/form-manager.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
(function(e,t,i,l){"use strict";window.wp=window.wp||{},wp.ccf=wp.ccf||{},wp.ccf.utils=wp.ccf.utils||{},wp.ccf.utils.cleanDateFields=function(e){delete e.date,delete e.date_gmt,delete e.modified,delete e.modified_gmt,delete e.date_tz,delete e.modified_tz},wp.ccf.utils.template=i.memoize(function(e){var t={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g};return i.template(document.getElementById(e).innerHTML,null,t)}),wp.ccf.utils.insertFormShortcode=function(e){var t=wp.ccf.forms.findWhere({ID:e.get("ID")});t||wp.ccf.forms.add(e);var i=tinymce.get(wpActiveEditor),l='[ccf_form id="'+e.get("ID")+'"]';i&&!i.isHidden()?tinymce.activeEditor.execCommand("mceInsertContent",!1,l):document.getElementById(wpActiveEditor).value+=l},wp.ccf.utils.getPrettyPostDate=function(e){return e=moment.utc(e),l.gmtOffset&&(e=e.utcOffset(60*parseInt(l.gmtOffset))),e.format("h:mm a M/D/YYYY")},wp.ccf.utils.wordChop=function(e,t){var i=e.substr(0,t);return i.substr(0,Math.min(i.length,i.lastIndexOf(" "))),i.length<e.length&&(i+="..."),i},wp.ccf.utils.isFieldDate=function(e){return e.date!==void 0||e.hour!==void 0&&e.minute!==void 0&&e["am-pm"]!==void 0?!0:!1},wp.ccf.utils.isFieldName=function(e){return e.name!==void 0||e.last!==void 0?!0:!1},wp.ccf.utils.isFieldEmailConfirm=function(e){return e.email!==void 0||e.confirm!==void 0?!0:!1},wp.ccf.utils.isFieldAddress=function(e){return e.street!==void 0&&e.city!==void 0&&e.zipcode!==void 0&&e.line_two!==void 0?!0:!1},wp.ccf.utils.isFieldFile=function(e){return e.id!==void 0&&e.url!==void 0&&e.file_name!==void 0?!0:!1},wp.ccf.utils.getPrettyFieldEmailConfirm=function(e){return e.email?e.email:e.confirm?e.confirm:"-"},wp.ccf.utils.getPrettyFieldDate=function(e){var t="",i="";if(e.hour&&e.minute&&e["am-pm"]&&(t+=e.hour+":"+e.minute+" "+e["am-pm"]),e.date&&(t+=" "+e.date),!t)return"-";var s=moment.utc(t);return s.isValid()?(e.hour&&e.minute&&e["am-pm"]&&(i+=s.format("h:mm a")),e.date&&(i&&(i+=" "),i+=s.format("M/D/YYYY")),i):l.invalidDate},wp.ccf.utils.getPrettyFieldName=function(e){var t=e.first;return t.length>0&&(t+=" "),e.last&&(t+=e.last),t||(t="-"),t},wp.ccf.utils.getPrettyFieldAddress=function(e){if(!e.street||!e.city)return"-";var t=e.street;return e.line_two&&(t+=" "+e.line_two),t+=", "+e.city,e.state&&(t+=", "+e.state),e.zipcode&&(t+=" "+e.zipcode),e.country&&(t+=" "+e.country),t}})(jQuery,Backbone,_,ccfSettings),function(e,t,i){"use strict";wp.ccf.mixins=wp.ccf.mixins||{},wp.ccf.mixins.subViewable=wp.ccf.mixins.subViewable||{subViews:{},initRenderSubViews:function(e,t,l){this.renderedSubViews||(this.renderedSubViews={});for(var s in this.subViews){var c={el:this.$el.find(".ccf-"+s),parent:this};l&&i.extend(c,l),this.renderedSubViews[s]&&this.renderedSubViews[s].destroy&&this.renderedSubViews[s].destroy(),(t||!this.renderedSubViews[s])&&(this.renderedSubViews[s]=new this.subViews[s](c)),this.renderedSubViews[s].render(),e&&(this.renderedSubViews[s].el.style.display="block")}return this},showView:function(e,t,i){if(this.renderedSubViews!==void 0&&this.renderedSubViews[e]!==void 0){var l=this.renderedSubViews[e];i||l.render(t),l.el.style.display="block",this.currentView=e;for(var s in this.subViews)s!==e&&(this.renderedSubViews[s].el.style.display="none")}}}}(jQuery,Backbone,_,ccfSettings),function(e,t,i,l,s){"use strict";wp.ccf.models=wp.ccf.models||{},wp.ccf.models.Fields=wp.ccf.models.Fields||{};var c=function(e,i,l){return"object"!=typeof i&&""===i&&(i=""),t.Model.prototype.set.call(this,e,i,l)},r=function(e,t,i){return i=i||{},i.emulateHTTP=!0,this.constructor.__super__.sync.call(this,e,t,i)},n=function(e){for(var t in this.attributes)if(-1===i.indexOf(e,t)){var l=this.get(t);"string"==typeof l&&""!==l&&(l=(l+"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/“/g,"”").replace(/”/g,"”").replace(/‘/g,"‘").replace(/&/g,"&").replace(/'/g,"'"),this.set(t,l))}return this};wp.ccf.models.FieldChoice=wp.ccf.models.FieldChoice||t.Model.extend({defaults:{label:"",value:"",selected:!1},decode:function(){return n.call(this,[])},set:c}),wp.ccf.models.Form=wp.ccf.models.Form||wp.api.models.Post.extend({urlRoot:s.root+"/ccf/forms",set:c,sync:r,initialize:function(){this.on("sync",this.decode,this)},defaults:function(){var e={fields:new wp.ccf.collections.Fields,type:"ccf_form",status:"publish",description:"",buttonText:"Submit Form",completionActionType:"text",completionRedirectUrl:"",completionMessage:"",sendEmailNotifications:!1,emailNotificationAddresses:l.adminEmail,emailNotificationFromType:"default",emailNotificationFromAddress:"",emailNotificationFromField:""};return e=i.defaults(e,this.constructor.__super__.defaults),wp.ccf.utils.cleanDateFields(e),e},decode:function(){var e=i.keys(wp.api.models.Post.prototype.defaults);return e=i.without(e,"title"),n.call(this,e)},getFieldSlugs:function(e){var t=wp.ccf.currentForm.get("fields"),i=[];return t.each(function(t){e&&t.isImmutable||i.push(t.get("slug"))}),i},parse:function(e){var t=this;if(e.fields){var l=t.get("fields");if(l&&l.length>0){for(var s=0;e.fields.length>s;s++){var c=e.fields[s],r=l.findWhere({slug:c.slug});if(r){if(c.choices!==void 0){var n=t.get("choices");if(n&&n.length>0)for(var o=0;c.choices>o;o++){var a=n.at(o);a.set(c.choices[o]),a.decode()}delete e.fields[s].choices}r.set(c),r.decode()}}delete e.fields}else{var d=[];i.each(e.fields,function(e){var t=new wp.ccf.models.Fields[e.type](e);t.decode(),d.push(t)}),e.fields=new wp.ccf.collections.Fields(d,{formId:e.ID})}}return this.constructor.__super__.parse.call(this,e)},toJSON:function(){var e=this.constructor.__super__.toJSON.call(this);return e.fields&&(e.fields=e.fields.toJSON()),e.author&&(e.author=e.author.toJSON()),e}}),wp.ccf.models.Submission=wp.api.models.Submission||wp.api.models.Post.extend({idAttribute:"ID",defaults:{ID:null,data:{}},sync:r}),wp.ccf.models.Field=wp.api.models.Field||wp.api.models.Post.extend({idAttribute:"ID",defaults:{ID:null},set:c,required:function(){return["slug"]},decode:function(){return n.call(this,i.keys(wp.api.models.Post.prototype.defaults))},hasRequiredAttributes:function(){var e=this,t=!0;return i.each(this.required(),function(i){(e.get(i)===void 0||""===e.get(i))&&(t=!1)}),t},sync:r}),wp.ccf.models.StandardField=wp.ccf.models.StandardField||wp.ccf.models.Field.extend({idAttribute:"ID",defaults:function(){var e={label:"Field Label",value:"",placeholder:"",slug:"",type:"",required:!1,className:"",description:""};return i.defaults(e,this.constructor.__super__.defaults)}}),wp.ccf.models.Fields["single-line-text"]=wp.ccf.models.Fields["single-line-text"]||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"single-line-text"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.file=wp.ccf.models.Fields.file||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"file",fileExtensions:"",maxFileSize:l.maxFileSize};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields["paragraph-text"]=wp.ccf.models.Fields["paragraph-text"]||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"paragraph-text"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.hidden=wp.ccf.models.Fields.hidden||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"hidden"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.email=wp.ccf.models.Fields.email||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"email",emailConfirmation:!1};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.website=wp.ccf.models.Fields.website||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"website",placeholder:"http://"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.phone=wp.ccf.models.Fields.phone||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"phone",phoneFormat:"us"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.date=wp.ccf.models.Fields.date||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"date",showDate:!0,showTime:!0};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.name=wp.ccf.models.Fields.name||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"name"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.recaptcha=wp.ccf.models.Fields.recaptcha||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"recaptcha",siteKey:"",secretKey:""};return i.defaults(e,this.constructor.__super__.defaults())},required:function(){return["siteKey","secretKey"]},isImmutable:!0}),wp.ccf.models.Fields.address=wp.ccf.models.Fields.address||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"address",addressType:"us"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields["section-header"]=wp.ccf.models.Fields["section-header"]||wp.ccf.models.Field.extend({defaults:function(){var e={type:"section-header",slug:"",heading:"",subheading:"",className:""};return i.defaults(e,this.constructor.__super__.defaults)},required:function(){return[]},isImmutable:!0}),wp.ccf.models.Fields.html=wp.ccf.models.Fields.html||wp.ccf.models.Field.extend({defaults:function(){var e={type:"html",slug:"",html:"",className:""};return i.defaults(e,this.constructor.__super__.defaults)},required:function(){return[]},isImmutable:!0}),wp.ccf.models.ChoiceableField=wp.ccf.models.ChoiceableField||wp.ccf.models.StandardField.extend({defaults:function(){var e={choices:new wp.ccf.collections.FieldChoices};return i.defaults(e,this.constructor.__super__.defaults())},initialize:function(e){if("object"==typeof e&&e.choices){var t=[];i.each(e.choices,function(e){var i=new wp.ccf.models.FieldChoice(e);i.decode(),t.push(i)}),this.set("choices",new wp.ccf.collections.FieldChoices(t))}}}),wp.ccf.models.Fields.radio=wp.ccf.models.Fields.radio||wp.ccf.models.ChoiceableField.extend({defaults:function(){var e={type:"radio"};return i.defaults(e,this.constructor.__super__.defaults())},initialize:function(){return this.constructor.__super__.initialize.apply(this,arguments)}}),wp.ccf.models.Fields.checkboxes=wp.ccf.models.Fields.checkboxes||wp.ccf.models.ChoiceableField.extend({defaults:function(){var e={type:"checkboxes"};return i.defaults(e,this.constructor.__super__.defaults())},initialize:function(){return this.constructor.__super__.initialize.apply(this,arguments)}}),wp.ccf.models.Fields.dropdown=wp.ccf.models.Fields.dropdown||wp.ccf.models.ChoiceableField.extend({defaults:function(){var e={type:"dropdown"};return i.defaults(e,this.constructor.__super__.defaults())},initialize:function(){return this.constructor.__super__.initialize.apply(this,arguments)}})}(jQuery,Backbone,_,ccfSettings,WP_API_Settings),function(e,t,i){"use strict";var l=function(e,t,i){return i=i||{},i.emulateHTTP=!0,this.constructor.__super__.sync.call(this,e,t,i)};wp.ccf.collections=wp.ccf.collections||{},wp.ccf.collections.Forms=wp.ccf.collections.Forms||wp.api.collections.Posts.extend({model:wp.ccf.models.Form,url:WP_API_Settings.root+"/ccf/forms",formsFetching:{},initialize:function(){this.constructor.__super__.initialize(),this.formsFetching={}},sync:l,remove:function(e,t){t=t||{};var l=this.constructor.__super__.remove.call(this,e,t);return t.destroy&&(e instanceof Array?i.each(e,function(e){e.destroy()}):e.destroy()),l}}),wp.ccf.collections.Fields=wp.ccf.collections.Fields||wp.api.collections.Posts.extend({model:wp.ccf.models.Field,url:function(){return WP_API_Settings.root+"/ccf/forms/"+this.formId+"/fields"},initialize:function(e,t){t&&t.formId&&(this.formId=t.formId)},sync:l}),wp.ccf.collections.Submissions=wp.ccf.collections.Submissions||wp.api.collections.Posts.extend({model:wp.ccf.models.Submission,url:function(){return WP_API_Settings.root+"/ccf/forms/"+this.formId+"/submissions"},initialize:function(e,t){this.constructor.__super__.initialize.apply(this,arguments),t&&t.formId&&(this.formId=t.formId)},sync:l}),wp.ccf.collections.FieldChoices=wp.ccf.collections.FieldChoices||t.Collection.extend({model:wp.ccf.models.FieldChoice})}(jQuery,Backbone,_,ccfSettings),function(e,t,i,l){"use strict";wp.ccf.views=wp.ccf.views||{},wp.ccf.views.Fields=wp.ccf.views.Fields||{},wp.ccf.views.FieldChoice=t.View.extend({template:wp.ccf.utils.template("ccf-field-choice-template"),className:"choice",events:{"click .add":"triggerAdd","click .delete":"triggerDelete","blur input":"saveChoice",saveChoice:"saveChoice",sorted:"triggerUpdateSort"},initialize:function(e){this.field=e.field},destroy:function(){wp.ccf.dispatcher.off("mainViewChange",this.saveChoice),this.unbind()},triggerUpdateSort:function(e,t){this.field.get("choices").remove(this.model,{silent:!0}),this.field.get("choices").add(this.model,{at:t,silent:!0})},saveChoice:function(){if(""!==this.el.innerHTML){var e=this.el.querySelectorAll(".choice-label")[0].value,t=this.el.querySelectorAll(".choice-value")[0].value;this.model.set("label",e),this.model.set("value",t);var i=this.el.querySelectorAll(".choice-selected")[0],l=i.checked?!0:!1;return this.model.set("selected",l),this}},render:function(){var e={};return this.model&&(e.choice=this.model.toJSON()),this.el.innerHTML=this.template(e),wp.ccf.dispatcher.on("mainViewChange",this.saveChoice,this),this},triggerAdd:function(){this.field.get("choices").add(new wp.ccf.models.FieldChoice)},triggerDelete:function(){var e=this.field.get("choices");if(e.length>1)e.remove(this.model),this.destroy(),this.remove();else{for(var t=this.el.querySelectorAll(".choice-label, .choice-value"),i=this.el.querySelectorAll(".choice-selected"),l=0;t.length>l;l++)t[l].value="";i[0].checked=!1}}}),wp.ccf.views.FieldBase=wp.ccf.views.FieldBase||t.View.extend({events:{"blur input":"saveField","blur input.field-slug":"checkSlug","blur textarea":"saveField","change select":"saveField",'change input[type="checkbox"]':"saveField"},checkSlug:function(){var e=this.el.querySelectorAll(".field-slug");if(e.length>0){var t=e[0],i=!1;t.parentNode.className=t.value&&!t.value.match(/^[a-zA-Z0-9\-_]+$/)?t.parentNode.className.replace(/ field-error/i,"")+" field-error":t.parentNode.className.replace(/ field-error/i,""),this.collection.length>0&&""!==t.value?(this.collection.each(function(e){e!==this.model&&t.value===e.get("slug")&&(i=!0)},this),t.parentNode.className=i?t.parentNode.className.replace(/ field-duplicate-slug/i,"")+" field-duplicate-slug":t.parentNode.className.replace(/ field-duplicate-slug/i,"")):t.parentNode.className=t.parentNode.className.replace(/ field-duplicate-slug/i,"")}},destroy:function(){this.unbind()},render:function(){return this.el.innerHTML=this.template({field:this.model.toJSON()}),this.checkSlug(),this}}),wp.ccf.views.Fields["single-line-text"]=wp.ccf.views.Fields["single-line-text"]||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-single-line-text-template"),initialize:function(){},saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("value",this.el.querySelectorAll(".field-value")[0].value),this.model.set("placeholder",this.el.querySelectorAll(".field-placeholder")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.file=wp.ccf.views.Fields.file||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-file-template"),initialize:function(){},saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this.model.set("fileExtensions",this.el.querySelectorAll(".field-file-extensions")[0].value),this.model.set("maxFileSize",this.el.querySelectorAll(".field-max-file-size")[0].value),this):void 0}}),wp.ccf.views.Fields.recaptcha=wp.ccf.views.Fields.recaptcha||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-recaptcha-template"),initialize:function(){},saveField:function(){return""!==this.el.innerHTML?(this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("siteKey",this.el.querySelectorAll(".field-site-key")[0].value),this.model.set("secretKey",this.el.querySelectorAll(".field-secret-key")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this):void 0}}),wp.ccf.views.Fields["section-header"]=wp.ccf.views.Fields["section-header"]||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-section-header-template"),initialize:function(){},saveField:function(){return""!==this.el.innerHTML?(this.model.set("heading",this.el.querySelectorAll(".field-heading")[0].value),this.model.set("subheading",this.el.querySelectorAll(".field-subheading")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this):void 0}}),wp.ccf.views.Fields.html=wp.ccf.views.Fields.html||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-html-template"),initialize:function(){},saveField:function(){return""!==this.el.innerHTML?(this.model.set("html",this.el.querySelectorAll(".field-html")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this):void 0}}),wp.ccf.views.Fields["paragraph-text"]=wp.ccf.views.Fields["paragraph-text"]||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-paragraph-text-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("value",this.el.querySelectorAll(".field-value")[0].value),this.model.set("placeholder",this.el.querySelectorAll(".field-placeholder")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.hidden=wp.ccf.views.Fields.hidden||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-hidden-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("value",this.el.querySelectorAll(".field-value")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this):void 0}}),wp.ccf.views.Fields.date=wp.ccf.views.Fields.date||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-date-template"),saveField:function(){if(""!==this.el.innerHTML){this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value);var e=this.el.querySelectorAll(".field-value");e.length>0&&this.model.set("value",e[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("showDate",this.el.querySelectorAll(".field-show-date")[0].checked?!0:!1);var t=this.model.get("showTime"),i=this.el.querySelectorAll(".field-show-time")[0].checked?!0:!1;return this.model.set("showTime",i),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),i!=t&&this.render(),this}}}),wp.ccf.views.Fields.name=wp.ccf.views.Fields.name||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-name-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.website=wp.ccf.views.Fields.website||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-website-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("value",this.el.querySelectorAll(".field-value")[0].value),this.model.set("placeholder",this.el.querySelectorAll(".field-placeholder")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.phone=wp.ccf.views.Fields.phone||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-phone-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("value",this.el.querySelectorAll(".field-value")[0].value),this.model.set("placeholder",this.el.querySelectorAll(".field-placeholder")[0].value),this.model.set("phoneFormat",this.el.querySelectorAll(".field-phone-format")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.address=wp.ccf.views.Fields.address||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-address-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("addressType",this.el.querySelectorAll(".field-address-type")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.email=wp.ccf.views.Fields.email||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-email-template"),saveField:function(){if(""!==this.el.innerHTML){this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value);var e=this.el.querySelectorAll(".field-value");e.length&&this.model.set("value",e[0].value);var t=this.el.querySelectorAll(".field-placeholder");t.length&&this.model.set("placeholder",t[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1);var i=1==this.el.querySelectorAll(".field-email-confirmation")[0].value?!0:!1,l=this.model.get("emailConfirmation");return this.model.set("emailConfirmation",i),l!=i&&this.render(),this}}}),wp.ccf.views.ChoiceableField=wp.ccf.views.ChoiceableField||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-dropdown-template"),initialize:function(){var e=this.model.get("choices");this.listenTo(e,"add",this.addChoice)},addChoice:function(e){var t=new wp.ccf.views.FieldChoice({model:e,field:this.model}).render(),i=this.el.querySelectorAll(".repeatable-choices")[0];i.appendChild(t.el)},saveField:function(){if(""!==this.el.innerHTML){this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1);var t=this.el.querySelectorAll(".repeatable-choices")[0].querySelectorAll(".choice");return i.each(t,function(t){e(t).trigger("saveChoice")}),this}},render:function(){var t=this;t.el.innerHTML=t.template({field:t.model.toJSON()}),t.checkSlug();var i=t.model.get("choices"),l=this.el.querySelectorAll(".repeatable-choices")[0];if(i.length>=1)i.each(function(e){var i=new wp.ccf.views.FieldChoice({model:e,field:t.model}).render();l.appendChild(i.el)});else{var s=new wp.ccf.models.FieldChoice;i.add(s)}return l=this.el.querySelectorAll(".repeatable-choices")[0],e(l).sortable({handle:".move",axis:"y",stop:function(e,t){t.item.trigger("sorted",t.item.index())}}),t}}),wp.ccf.views.Fields.dropdown=wp.ccf.views.Fields.dropdown||wp.ccf.views.ChoiceableField.extend({template:wp.ccf.utils.template("ccf-dropdown-template"),events:function(){return this.constructor.__super__.events}}),wp.ccf.views.Fields.radio=wp.ccf.views.Fields.radio||wp.ccf.views.ChoiceableField.extend({template:wp.ccf.utils.template("ccf-radio-template"),events:function(){return this.constructor.__super__.events}}),wp.ccf.views.Fields.checkboxes=wp.ccf.views.Fields.checkboxes||wp.ccf.views.ChoiceableField.extend({template:wp.ccf.utils.template("ccf-checkboxes-template"),events:function(){return this.constructor.__super__.events}}),wp.ccf.views.FieldSidebar=wp.ccf.views.FieldSidebar||t.View.extend({initialize:function(e){this.currentFieldView=null,this.form=e.form},save:function(e){this.currentFieldView&&""!==this.currentFieldView.el.innerHTML&&this.currentFieldView.saveField(),e&&e instanceof Object&&e.resolve()},fieldRemoved:function(){this.currentFieldView&&(this.form.get("fields").get(this.currentFieldView.model)||this.render())},destroy:function(){wp.ccf.dispatcher.off("saveField",this.save),wp.ccf.dispatcher.off("mainViewChange",this.save),this.unbind()},render:function(e){var t={};if(e){var i=e.get("type");this.currentFieldView&&(this.currentFieldView.saveField(),this.currentFieldView.destroy&&this.currentFieldView.destroy()),this.currentFieldView=new wp.ccf.views.Fields[i]({model:e,collection:this.form.get("fields")}),this.currentFieldView.render(),this.el.innerHTML="",this.el.appendChild(this.currentFieldView.el);var l=this.form.get("fields");this.listenTo(l,"remove",this.fieldRemoved)}else{var s=wp.ccf.utils.template("ccf-empty-field-template");this.el.innerHTML=s(t)}return wp.ccf.dispatcher.on("saveField",this.save,this),wp.ccf.dispatcher.on("mainViewChange",this.save,this),this}}),wp.ccf.views.FieldRowPlaceholder=wp.ccf.views.FieldRowPlaceholder||t.View.extend({template:wp.ccf.utils.template("ccf-field-row-template"),tagName:"div",className:"field",initialize:function(e){this.type=e.type},render:function(){return this.el.innerHTML=this.template({label:l.allLabels[this.type]}),this.el.setAttribute("data-field-type",this.type),this.el.className+=" "+this.type,this}}),wp.ccf.views.FieldRow=wp.ccf.views.FieldRow||t.View.extend({template:wp.ccf.utils.template("ccf-field-row-template"),tagName:"div",className:"field",events:{"click .delete":"triggerDelete","click h4":"triggerEdit",sorted:"triggerUpdateSort"},initialize:function(e){i.bindAll(this,"triggerDelete"),this.form=e.form,this.listenTo(this.model,"change",this.handleChange,this),this.listenTo(this.model,"requirementsNotMet",this.requirementsNotMet,this),this.listenTo(this.model,"requirementsMet",this.requirementsMet,this),this.listenTo(this.model,"duplicateSlug",this.duplicateSlug,this),this.model.attributes.choices&&this.listenTo(this.model.attributes.choices,"change",this.handleChange,this)},duplicateSlug:function(){this.requirementsMet(),this.el.className+=" field-duplicate-slug"},requirementsNotMet:function(){this.requirementsMet(),this.el.className+=" field-incomplete"},requirementsMet:function(){this.el.className=this.el.className.replace(/(field-incomplete|field-duplicate-slug)/i,"")},triggerUpdateSort:function(e,t){this.form.get("fields").remove(this.model),this.form.get("fields").add(this.model,{at:t})},handleChange:function(){this.render()},triggerDelete:function(e){e.stopPropagation(),this.form.get("fields").remove(this.model),this.undelegateEvents(),this.remove()},triggerEdit:function(){var e=this.el.parentNode.querySelectorAll(".ccf-editing");i.each(e,function(e){e.className=e.className.replace(/ccf-editing/i,"")}),this.el.className=this.el.className.replace(/ccf-editing/i,"")+" ccf-editing",wp.ccf.dispatcher.trigger("openEditField",this.model)},render:function(e){this.el.innerHTML=this.template({label:l.allLabels[this.model.get("type")]}),this.el.setAttribute("data-field-type",this.model.get("type"));var t=RegExp(" "+this.model.get("type"),"i");this.el.className=this.el.className.replace(t,"")+" "+this.model.get("type"),e&&(this.el.className=this.el.className.replace(/ instantiated/i,"")+" instantiated");var i=document.getElementById("ccf-"+this.model.get("type")+"-preview-template");if(i){var s=this.el.querySelectorAll(".preview")[0];s.style.display="block",s.innerHTML=wp.ccf.utils.template("ccf-"+this.model.get("type")+"-preview-template")({field:this.model.toJSON()})}return this}}),wp.ccf.views.FormSettings=wp.ccf.views.FormSettings||t.View.extend({template:wp.ccf.utils.template("ccf-form-settings-template"),events:{"blur input":"save","change select":"save","change select.form-completion-action-type":"toggleCompletionFields","change select.form-send-email-notifications":"toggleNotificationFields"},initialize:function(e){this.model=e.form},destroy:function(){wp.ccf.dispatcher.off("saveFormSettings",this.save),wp.ccf.dispatcher.off("mainViewChange",this.save)},toggleCompletionFields:function(){var e=this.el.querySelectorAll(".form-completion-action-type")[0].value,t=this.el.querySelectorAll(".completion-message")[0],i=this.el.querySelectorAll(".completion-redirect-url")[0];"text"===e?(t.style.display="block",i.style.display="none"):(t.style.display="none",i.style.display="block")},save:function(e){if(""!==this.el.innerHTML){var t=this.el.querySelectorAll(".form-title")[0].value;this.model.set("title",t);var i=this.el.querySelectorAll(".form-description")[0].value;this.model.set("description",i);var l=this.el.querySelectorAll(".form-button-text")[0].value;this.model.set("buttonText",l);var s=this.el.querySelectorAll(".form-completion-message")[0].value;this.model.set("completionMessage",s);var c=this.el.querySelectorAll(".form-completion-redirect-url")[0].value;this.model.set("completionRedirectUrl",c);var r=this.el.querySelectorAll(".form-completion-action-type")[0].value;this.model.set("completionActionType",r),e!==void 0&&e.promise!==void 0&&e.resolve()}},render:function(){var e={form:this.model.toJSON()};return this.el.innerHTML=this.template(e),this.toggleCompletionFields(),wp.ccf.dispatcher.on("saveFormSettings",this.save,this),wp.ccf.dispatcher.on("mainViewChange",this.save,this),this}}),wp.ccf.views.FormNotifications=wp.ccf.views.FormNotifications||t.View.extend({template:wp.ccf.utils.template("ccf-form-notifications-template"),events:{"blur input":"save","change select":"save","change select.form-send-email-notifications":"toggleNotificationFields","change select.form-email-notification-from-type":"toggleNotificationFields"},initialize:function(e){this.model=e.form
|
2 |
-
},destroy:function(){wp.ccf.dispatcher.off("saveFormNotifications",this.save),wp.ccf.dispatcher.off("mainViewChange",this.save),this.undelegateEvents(),this.unbind()},updateFromAddressFieldField:function(){var e=this.el.querySelectorAll(".form-email-notification-from-field")[0];e.innerHTML="",e.disabled=!1;var t=this.model.get("fields"),i=0,s=this.model.get("emailNotificationFromField");if(t.length>=1&&t.each(function(t){if("email"===t.get("type")){var l=document.createElement("option");l.innerHTML=t.get("slug"),l.value=t.get("slug"),t.get("slug")===s&&(l.selected=!0),e.appendChild(l),i++}}),0===i){var c=document.createElement("option");c.innerHTML=l.noEmailFields,e.appendChild(c),e.disabled=!0}},toggleNotificationFields:function(){var e,t=this.el.querySelectorAll(".form-send-email-notifications")[0].value,i=this.el.querySelectorAll(".email-notification-setting"),l=this.el.querySelectorAll(".email-notification-from-address")[0],s=this.el.querySelectorAll(".email-notification-from-field")[0],c=this.el.querySelectorAll(".form-email-notification-from-type")[0];if(parseInt(t)){for(e=0;i.length>e;e++)i[e].style.display="block";l.style.display="none",s.style.display="none","custom"===c.value?l.style.display="block":"field"===c.value&&(s.style.display="block")}else{for(e=0;i.length>e;e++)i[e].style.display="none";l.style.display="none",s.style.display="none"}},save:function(e){if(""!==this.el.innerHTML){var t=this.el.querySelectorAll(".form-send-email-notifications")[0].value;this.model.set("sendEmailNotifications",parseInt(t)?!0:!1);var i=this.el.querySelectorAll(".form-email-notification-addresses")[0].value;this.model.set("emailNotificationAddresses",i);var l=this.el.querySelectorAll(".form-email-notification-from-type")[0].value;this.model.set("emailNotificationFromType",l);var s=this.el.querySelectorAll(".form-email-notification-from-address")[0].value;this.model.set("emailNotificationFromAddress",s);var c=this.el.querySelectorAll(".form-email-notification-from-field")[0].value;this.model.set("emailNotificationFromField",c),e!==void 0&&e.promise!==void 0&&e.resolve()}},render:function(){var e={form:this.model.toJSON()},t=this.model.get("fields");return this.el.innerHTML=this.template(e),this.toggleNotificationFields(),this.updateFromAddressFieldField(),wp.ccf.dispatcher.on("saveFormNotifications",this.save,this),wp.ccf.dispatcher.on("mainViewChange",this.save,this),this.listenTo(t,"add",this.updateFromAddressFieldField,this),this.listenTo(t,"remove",this.updateFromAddressFieldField,this),this}}),wp.ccf.views.FormPane=wp.ccf.views.FormPane||t.View.extend(i.defaults({template:wp.ccf.utils.template("ccf-form-pane-template"),subViews:{"field-sidebar":wp.ccf.views.FieldSidebar,"form-settings":wp.ccf.views.FormSettings,"form-notifications":wp.ccf.views.FormNotifications},events:{"click .save-button":"sync","click h2":"accordionClick","click .insert-form-button":"insertForm"},initialize:function(){wp.ccf.dispatcher.on("openEditField",this.openEditField,this)},insertForm:function(){wp.ccf.utils.insertFormShortcode(this.model),wp.ccf.toggle()},accordionClick:function(t){var l=e(t.currentTarget).parents(".accordion-container")[0],s=l.querySelectorAll(".accordion-section");t.currentTarget.parentNode.className.match(/expanded/i)?t.currentTarget.parentNode.className=t.currentTarget.parentNode.className.replace(/expanded/i,""):t.currentTarget.parentNode.className+=" expanded",i.each(s,function(e){e!=t.currentTarget.parentNode&&e.className.match(/expanded/i)&&(e.className=e.className.replace(/expanded/i,""))})},openEditField:function(e){this.renderedSubViews["field-sidebar"].render(e).el.style.display="block"},disable:function(){this.el.querySelectorAll(".save-button")[0].setAttribute("disabled","disabled"),this.el.querySelectorAll(".disabled-overlay")[0].style.display="block"},enable:function(){this.el.querySelectorAll(".save-button")[0].removeAttribute("disabled"),this.el.querySelectorAll(".disabled-overlay")[0].style.display="none"},sync:function(){var t=this,i=e(this.el.querySelectorAll(".spinner")[0]);i.fadeIn(),t.disable();var s=e.Deferred(),c=e.Deferred(),r=e.Deferred();wp.ccf.dispatcher.trigger("saveFormSettings",s),wp.ccf.dispatcher.trigger("saveFormNotifications",r),wp.ccf.dispatcher.trigger("saveField",c),e.when(s,c,r).then(function(){var e=t.model.get("fields"),s=!0,c={};e.each(function(e){var t=e.get("slug");e.hasRequiredAttributes()?t&&!t.match(/^[a-zA-Z0-9\-_]+$/)?(s=!1,e.trigger("requirementsNotMet")):c[e.get("slug")]!==void 0?(s=!1,e.trigger("duplicateSlug"),c[e.get("slug")].trigger("duplicateSlug")):e.trigger("requirementsMet"):(s=!1,e.trigger("requirementsNotMet")),e.get("slug")&&(c[e.get("slug")]=e)}),s?t.model.save({},{context:"edit"}).error(function(){var e="sync";wp.ccf.errorModal.render(e).show()}).done(function(){l.single&&!l.postId&&(window.location=l.adminUrl+"post.php?post="+t.model.get("ID")+"&action=edit#ccf-form/"+t.model.get("ID"))}).complete(function(){i.fadeOut(),t.enable(),wp.ccf.dispatcher.trigger("saveFormComplete",t.model)}):(t.enable(),i.fadeOut())})},enableDisableInsert:function(){var e=this.el.querySelectorAll(".insert-form-button")[0];this.model.get("ID")?e.removeAttribute("disabled"):e.setAttribute("disabled","disabled")},getNextFieldOrd:function(){var e=this.model.get("fields"),t=e.length+1;return e.each(function(e){var i=e.get("slug"),l=/\-([0-9]+)$/g,s=l.exec(i);if(s&&s[1]){var c=parseInt(s[1]);c>=t&&(t=c+1)}}),t},render:function(t){var s=this;s.model=t?t:new wp.ccf.models.Form,this.listenTo(s.model,"change",this.enableDisableInsert,this);var c={labels:l.fieldLabels,form:s.model.toJSON()};window.form=s.model,s.el.innerHTML=this.template(c);var r=s.el.querySelectorAll(".fields")[0];i.each(l.fieldLabels,function(e,t){r.appendChild(new wp.ccf.views.FieldRowPlaceholder({type:t}).render().el)});var n=s.el.querySelectorAll(".structure-fields")[0];i.each(l.structureFieldLabels,function(e,t){n.appendChild(new wp.ccf.views.FieldRowPlaceholder({type:t}).render().el)});var o=s.el.querySelectorAll(".special-fields")[0];i.each(l.specialFieldLabels,function(e,t){o.appendChild(new wp.ccf.views.FieldRowPlaceholder({type:t}).render().el)});var a=s.model.get("fields"),d=s.el.querySelectorAll(".form-content")[0],u=e(d);return e(s.el.querySelectorAll(".left-sidebar")[0].querySelectorAll(".field")).draggable({cursor:"move",distance:2,zIndex:160001,scroll:!1,containment:"document",appendTo:".ccf-main-modal",snap:!1,connectToSortable:".form-content",helper:function(t){var i=e(t.currentTarget),l=e('<div class="field" data-field-type="'+i.attr("data-field-type")+'"><h4>'+i.find(".label").html()+"</h4></div>");return l.css({width:u.width(),opacity:".75",height:i.height()})}}),a.length>=1&&(d.innerHTML="",a.each(function(e){var t=new wp.ccf.views.FieldRow({model:e,form:s.model}).render(!0).el;d.appendChild(t)})),e(d).sortable({axis:"y",distance:2,handle:"h4",placeholder:"field-placeholder",stop:function(e,t){if(!t.item.hasClass("instantiated")){var i=t.item.attr("data-field-type"),l={};wp.ccf.models.Fields[i].prototype.defaults().slug!==void 0&&(l.slug=i+"-"+s.getNextFieldOrd());var c=new wp.ccf.models.Fields[i](l),r=s.model.get("fields");r.add(c),new wp.ccf.views.FieldRow({model:c,el:t.item,form:s.model}).render(!0),t.item.attr("style","")}t.item.trigger("sorted",t.item.index())}}),s.initRenderSubViews(!0,!0,{form:s.model}),s.enableDisableInsert(),s}},wp.ccf.mixins.subViewable)),wp.ccf.views.ExistingFormTableRow=wp.ccf.views.ExistingFormTableRow||t.View.extend({tagName:"tr",template:wp.ccf.utils.template("ccf-existing-form-table-row-template"),events:{"click .edit":"triggerMainViewChange","click .delete":"triggerDelete","click .insert-form-button":"insertForm"},initialize:function(e){this.parent=e.parent},insertForm:function(){wp.ccf.utils.insertFormShortcode(this.model),wp.ccf.toggle()},triggerMainViewChange:function(){wp.ccf.switchToForm(this.model)},triggerDelete:function(){var e,t=this,i=t.parent.collection.state.currentPage;t.model.destroy().done(function(){e=i,e===t.parent.collection.state.totalPages&&e-1===(t.parent.collection.state.totalObjects-1)/l.postsPerPage&&e--,t.parent.showPage(e).done(function(){t.parent.renderPagination()})})},render:function(){return this.$el.html(this.template({form:this.model.toJSON(),utils:{getPrettyPostDate:wp.ccf.utils.getPrettyPostDate}})),this}}),wp.ccf.views.EmptyFormTableRow=wp.ccf.views.EmptyFormTableRow||t.View.extend({tagName:"tr",template:wp.ccf.utils.template("ccf-empty-form-table-row-template"),render:function(){return this.$el.html(this.template()),this}}),wp.ccf.views.ExistingFormTable=wp.ccf.views.ExistingFormTable||t.View.extend({template:wp.ccf.utils.template("ccf-existing-form-table-template"),initialize:function(){this.parent=arguments.parent,this.collection=new wp.ccf.collections.Forms,wp.ccf.dispatcher.on("changeFormTablePage",this.showPage,this),wp.ccf.dispatcher.on("saveFormComplete",this.render,this)},showPage:function(e){var t=this,i=this.collection.fetch({data:{page:e}});return i.error(function(){var e="sync";wp.ccf.errorModal.render(e).show()}),i.done(function(){var e=t.el.querySelectorAll(".rows")[0],i=document.createElement("tbody");i.className="rows",t.collection.length>=1?t.collection.each(function(e){var l=new wp.ccf.views.ExistingFormTableRow({model:e,parent:t}).render();i.appendChild(l.el)},t):i.appendChild((new wp.ccf.views.EmptyFormTableRow).render().el),e.parentNode.replaceChild(i,e)}),i},renderPagination:function(){var e=this.el.querySelectorAll(".ccf-pagination")[0];e.innerHTML="",this.collection.state.totalPages>1&&e.appendChild(new wp.ccf.views.Pagination({parent:this}).render(this.collection.state.totalPages,this.collection.state.currentPage).el)},render:function(){var e=this;return this.el.innerHTML=this.template(),this.el.querySelectorAll(".ccf-pagination")[0],this.showPage(1).done(function(){e.renderPagination()}),this}}),wp.ccf.views.ExistingFormPane=wp.ccf.views.ExistingFormPane||t.View.extend(i.defaults({template:wp.ccf.utils.template("ccf-existing-form-pane-template"),subViews:{"existing-form-table":wp.ccf.views.ExistingFormTable},render:function(){return this.rendered?this:(this.rendered=!0,this.el.innerHTML=this.template(),this.initRenderSubViews(!0),this)}},wp.ccf.mixins.subViewable)),wp.ccf.views.MainModal=wp.ccf.views.MainModal||t.View.extend(i.defaults({tagName:"div",className:"ccf-main-modal",template:wp.ccf.utils.template("ccf-main-modal-template"),events:{"click .close-icon":"hide","click .main-menu a":"menuClick"},subViews:{"form-pane":wp.ccf.views.FormPane},initialize:function(){l.single||(this.subViews["existing-form-pane"]=wp.ccf.views.ExistingFormPane),wp.ccf.dispatcher.on("mainViewChange",this.toggleView,this)},toggleView:function(e){this.showView(e,wp.ccf.currentForm);var t=e;"form-pane"===e&&wp.ccf.currentForm&&(t="existing-form-pane");var l=this.el.querySelectorAll(".menu-item");i.each(l,function(e){var i=e.getAttribute("data-view");e.className=i===t?e.className.replace("selected","")+" selected":e.className.replace("selected","")})},menuClick:function(e){var t=e.target.getAttribute("data-view");"form-pane"===t&&(wp.ccf.currentForm=null),wp.ccf.dispatcher.trigger("mainViewChange",t),e.preventDefault()},render:function(e){return e=e||!1,this.overlay(),this.el.innerHTML=this.template({single:e}),this.initRenderSubViews(),this.showView("form-pane",wp.ccf.currentForm,!0),this},overlay:function(){return this.overlayEl===void 0&&(this.overlayEl=document.createElement("div"),this.overlayEl.className="ccf-main-modal-overlay",document.body.appendChild(this.overlayEl)),this.overlayEl},remove:function(){return document.body.removeChild(this.overlay()),this},show:function(){e(this.overlay()).show(),this.$el.show()},hide:function(){e(this.overlay()).hide(),this.$el.hide()}},wp.ccf.mixins.subViewable)),wp.ccf.views.SubmissionRow=wp.ccf.views.SubmissionRow||t.View.extend({tagName:"tr",template:wp.ccf.utils.template("ccf-submission-row-template"),events:{"click .view":"view","click .delete":"delete"},initialize:function(e){this.parent=e.parent},"delete":function(){var e,t=this,i=t.parent.collection.state.currentPage;t.model.destroy().done(function(){e=i,e===t.parent.collection.state.totalPages&&e-1===(t.parent.collection.state.totalObjects-1)/l.postsPerPage&&e--,t.parent.showPage(e).done(function(){t.parent.renderPagination()})})},view:function(e){var t=e.currentTarget.getAttribute("data-submission-id"),i=e.currentTarget.getAttribute("data-submission-date");tb_show(l.thickboxTitle+" - "+wp.ccf.utils.getPrettyPostDate(i),"#TB_inline?height=500&width=700&inlineId=ccf-submission-content-"+parseInt(t),null)},render:function(){return this.$el.html(this.template({submission:this.model.toJSON(),currentColumns:this.parent.columns,columns:wp.ccf.currentForm.getFieldSlugs(!0),utils:{getPrettyPostDate:wp.ccf.utils.getPrettyPostDate,wordChop:wp.ccf.utils.wordChop,isFieldDate:wp.ccf.utils.isFieldDate,isFieldName:wp.ccf.utils.isFieldName,isFieldFile:wp.ccf.utils.isFieldFile,isFieldAddress:wp.ccf.utils.isFieldAddress,isFieldEmailConfirm:wp.ccf.utils.isFieldEmailConfirm,getPrettyFieldDate:wp.ccf.utils.getPrettyFieldDate,getPrettyFieldAddress:wp.ccf.utils.getPrettyFieldAddress,getPrettyFieldName:wp.ccf.utils.getPrettyFieldName,getPrettyFieldEmailConfirm:wp.ccf.utils.getPrettyFieldEmailConfirm}})),this}}),wp.ccf.views.SubmissionsTable=wp.ccf.views.SubmissionsTable||t.View.extend({template:wp.ccf.utils.template("ccf-submission-table-template"),events:{"click .prev:not(.disabled)":"previousPage","click .next:not(.disabled)":"nextPage","click .first:not(.disabled)":"firstPage","click .last:not(.disabled)":"lastPage"},initialize:function(){this.collection=new wp.ccf.collections.Submissions({},{formId:l.postId}),wp.ccf.dispatcher.on("submissionTableRebuild",this.render,this)},showPage:function(e){var t=this,i=this.collection.fetch({data:{page:e}});return i.error(function(){var e="sync";wp.ccf.errorModal.render(e).show()}),i.done(function(){var e=t.el.querySelectorAll(".submission-rows")[0],i=document.createElement("tbody");i.className="submission-rows",t.collection.length>=1?t.collection.each(function(e){var l=new wp.ccf.views.SubmissionRow({model:e,parent:t}).render();i.appendChild(l.el)},t):i.appendChild(new wp.ccf.views.EmptySubmissionTableRow({parent:t}).render(wp.ccf.currentForm.getFieldSlugs(!0).concat("date")).el),e.parentNode.replaceChild(i,e)}),i},renderPagination:function(){var e=this.el.querySelectorAll(".ccf-pagination")[0];e.innerHTML="",this.collection.state.totalPages>1&&e.appendChild(new wp.ccf.views.Pagination({parent:this}).render(this.collection.state.totalPages,this.collection.state.currentPage).el)},render:function(e){var t=this;return t.columns=e?e:wp.ccf.currentForm.getFieldSlugs(!0).slice(0,4).concat("date"),1>t.columns.length?t.el.innerHTML="":(t.el.innerHTML=t.template({columns:t.columns}),t.el.querySelectorAll(".ccf-pagination")[0],t.showPage(1).done(function(){t.renderPagination()})),t}}),wp.ccf.views.ErrorModal=wp.ccf.views.ErrorModal||t.View.extend({template:wp.ccf.utils.template("ccf-error-modal-template"),tagName:"div",className:"ccf-error-modal",events:{"click .close":"hide"},hide:function(){this.el.className=this.el.className.replace(" show","")},show:function(){this.el.className=this.el.className.replace(" show","")+" show"},toggle:function(){this.el.className.match(" show")?this.hide():this.show()},render:function(e){var t={messageType:""};return e&&(t.messageType=e),this.el.innerHTML=this.template(t),this}}),wp.ccf.views.Pagination=wp.ccf.views.Pagination||t.View.extend({template:wp.ccf.utils.template("ccf-pagination-template"),events:{"click .prev:not(.disabled)":"previousPage","click .next:not(.disabled)":"nextPage","click .first:not(.disabled)":"firstPage","click .last:not(.disabled)":"lastPage"},initialize:function(e){this.parent=e.parent},previousPage:function(){var e=this;e.parent.showPage(e.parent.collection.state.currentPage-1).done(function(){e.render()})},nextPage:function(){var e=this;e.parent.showPage(e.parent.collection.state.currentPage+1).done(function(){e.render()})},firstPage:function(){var e=this;e.parent.showPage(1).done(function(){e.render()})},lastPage:function(){var e=this;e.parent.showPage(e.parent.collection.state.totalPages).done(function(){e.render()})},render:function(){return this.el.innerHTML=this.template({totalPages:this.parent.collection.state.totalPages,currentPage:this.parent.collection.state.currentPage,totalObjects:this.parent.collection.state.totalObjects}),this}}),wp.ccf.views.EmptySubmissionTableRow=wp.ccf.views.EmptySubmissionTableRow||t.View.extend({tagName:"tr",template:wp.ccf.utils.template("ccf-no-submissions-row-template"),initialize:function(e){this.parent=e.parent},render:function(){return this.el.innerHTML=this.template({columns:this.parent.columns}),this}}),wp.ccf.views.SubmissionColumnController=wp.ccf.views.SubmissionColumnController||t.View.extend({template:wp.ccf.utils.template("ccf-submissions-controller-template"),events:{"click input[type=checkbox]":"triggerTableRebuild"},render:function(){this.el.innerHTML=this.template({columns:wp.ccf.currentForm.getFieldSlugs(!0).concat("date")})},triggerTableRebuild:function(){var e=[],t=document.querySelectorAll(".submission-column-checkbox");if(t.length>=1)for(var i=0;t.length>i;i++)t[i].checked&&e.push(t[i].value);wp.ccf.dispatcher.trigger("submissionTableRebuild",e)}})}(jQuery,Backbone,_,ccfSettings),function(e,t){"use strict";wp.ccf.router=wp.ccf.router||t.Router.extend({routes:{"ccf-form":"open","ccf-form/:formId":"open"},open:function(e){wp.ccf.show(e)}})}(jQuery,Backbone,_,ccfSettings),function(e,t,i,l){"use strict";wp.ccf=i.defaults(wp.ccf,{forms:new wp.ccf.collections.Forms,currentForm:null,errorModal:null,_currentFormDeferred:null,dispatcher:{},show:function(e){return this.switchToForm(e),this.instance.show(),this.instance},initErrorModal:function(){this.errorModal=(new wp.ccf.views.ErrorModal).render();var e=document.getElementsByTagName("body")[0];e.appendChild(this.errorModal.el)},switchToForm:function(e){var t=this;if(+e===parseInt(e)){var i=parseInt(e);if(e=t.forms.findWhere({ID:parseInt(i)}),!e){var l;return t.forms.formsFetching[i]!==void 0?(l=t.forms.formsFetching[i],e=null):(e=new wp.ccf.models.Form({ID:i}),l=e.fetch(),t.forms.formsFetching[i]=l),l.done(function(){e?(delete t.forms.formsFetching[i],t.forms.add(e)):e=t.forms.findWhere({ID:i}),t.currentForm=e,wp.ccf.dispatcher.trigger("mainViewChange","form-pane")}),l}t.currentForm=e,wp.ccf.dispatcher.trigger("mainViewChange","form-pane")}else t.currentForm=e,wp.ccf.dispatcher.trigger("mainViewChange","form-pane");return!0},hide:function(){return this.instance.hide(),this.instance},toggle:function(e){return this.switchToForm(e),this.instance.$el.is(":visible")?this.instance.hide():this.instance.show(),this.instance},createSubmissionsTable:function(e){var t=document.querySelectorAll(".ccf-submission-column-controller"),i=new wp.ccf.views.SubmissionsTable({el:e});i.render(),t&&new wp.ccf.views.SubmissionColumnController({el:t}).render()},_setupMainModal:function(e){return this.instance=(new wp.ccf.views.MainModal).render(e),document.getElementsByTagName("body")[0].appendChild(this.instance.el),t.history.start(),this.instance},createManager:function(){var s=this,c=document.querySelectorAll(".ccf-open-form-manager")[0];if(!c)return!1;i.extend(this.dispatcher,t.Events),new wp.ccf.router,s.initErrorModal();var r=!1;if(l.single)if(r=!0,l.postId){var n=parseInt(l.postId);if(s.forms.formsFetching[n]===void 0){var o=new wp.ccf.models.Form({ID:n}),a=o.fetch();s.forms.formsFetching[n]=a,s._currentFormDeferred=a,a.done(function(){delete s.forms.formsFetching[n],s.forms.add(o),s.currentForm=o})}else s._currentFormDeferred=s.forms.formsFetching[n],s._currentFormDeferred.done(function(){s.currentForm=s.forms.findWhere({ID:n})});e.when(s._currentFormDeferred).then(function(){s._setupMainModal(!0),c.style.display="inline-block";var e=document.getElementById("ccf-submissions");if(e){var t=e.querySelectorAll(".inside")[0],i=document.createElement("div");i.className="ccf-submission-icon",i.setAttribute("data-icon","");var r=document.createElement("a");r.href="?action=edit&post="+parseInt(l.postId)+"&download_submissions=1&download_submissions_nonce="+l.downloadSubmissionsNonce,r.className="ccf-submission-icon",r.setAttribute("data-icon","");var n=document.getElementById("show-settings-link");i.onclick=function(){n.click()},e.insertBefore(i,e.firstChild.nextSibling.nextSibling),e.insertBefore(r,e.firstChild.nextSibling.nextSibling),wp.ccf.createSubmissionsTable(t)}})}else s._setupMainModal(!0),c.style.display="inline-block";else s._setupMainModal();var d=function(e){e=e||window.event;var t=e.currentTarget?e.currentTarget:e.srcElement,i=t.getAttribute("data-form-id");wp.ccf.toggle(i)};c.addEventListener?c.addEventListener("click",d,!1):c.attachEvent("onclick",d)}}),wp.ccf.createManager()}(jQuery,Backbone,_,ccfSettings);
|
1 |
+
(function(e,t,i,l){"use strict";window.wp=window.wp||{},wp.ccf=wp.ccf||{},wp.ccf.utils=wp.ccf.utils||{},wp.ccf.utils.cleanDateFields=function(e){delete e.date,delete e.date_gmt,delete e.modified,delete e.modified_gmt,delete e.date_tz,delete e.modified_tz},wp.ccf.utils.template=i.memoize(function(e){var t={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g};return i.template(document.getElementById(e).innerHTML,null,t)}),wp.ccf.utils.insertFormShortcode=function(e){var t=wp.ccf.forms.findWhere({ID:e.get("ID")});t||wp.ccf.forms.add(e);var i=tinymce.get(wpActiveEditor),l='[ccf_form id="'+e.get("ID")+'"]';i&&!i.isHidden()?tinymce.activeEditor.execCommand("mceInsertContent",!1,l):document.getElementById(wpActiveEditor).value+=l},wp.ccf.utils.getPrettyPostDate=function(e){return e=moment.utc(e),l.gmtOffset&&(e=e.utcOffset(60*parseInt(l.gmtOffset))),e.format("h:mm a M/D/YYYY")},wp.ccf.utils.wordChop=function(e,t){var i=e.substr(0,t);return i.substr(0,Math.min(i.length,i.lastIndexOf(" "))),i.length<e.length&&(i+="..."),i},wp.ccf.utils.isFieldDate=function(e){return e.date!==void 0||e.hour!==void 0&&e.minute!==void 0&&e["am-pm"]!==void 0?!0:!1},wp.ccf.utils.isFieldName=function(e){return e.name!==void 0||e.last!==void 0?!0:!1},wp.ccf.utils.isFieldEmailConfirm=function(e){return e.email!==void 0||e.confirm!==void 0?!0:!1},wp.ccf.utils.isFieldAddress=function(e){return e.street!==void 0&&e.city!==void 0&&e.zipcode!==void 0&&e.line_two!==void 0?!0:!1},wp.ccf.utils.isFieldFile=function(e){return e.id!==void 0&&e.url!==void 0&&e.file_name!==void 0?!0:!1},wp.ccf.utils.getPrettyFieldEmailConfirm=function(e){return e.email?e.email:e.confirm?e.confirm:"-"},wp.ccf.utils.getPrettyFieldDate=function(e){var t="",i="";if(e.hour&&e.minute&&e["am-pm"]&&(t+=e.hour+":"+e.minute+" "+e["am-pm"]),e.date&&(t+=" "+e.date),!t)return"-";var s=moment.utc(t);return s.isValid()?(e.hour&&e.minute&&e["am-pm"]&&(i+=s.format("h:mm a")),e.date&&(i&&(i+=" "),i+=s.format("M/D/YYYY")),i):l.invalidDate},wp.ccf.utils.getPrettyFieldName=function(e){var t=e.first;return t.length>0&&(t+=" "),e.last&&(t+=e.last),t||(t="-"),t},wp.ccf.utils.getPrettyFieldAddress=function(e){if(!e.street||!e.city)return"-";var t=e.street;return e.line_two&&(t+=" "+e.line_two),t+=", "+e.city,e.state&&(t+=", "+e.state),e.zipcode&&(t+=" "+e.zipcode),e.country&&(t+=" "+e.country),t}})(jQuery,Backbone,_,ccfSettings),function(e,t,i){"use strict";wp.ccf.mixins=wp.ccf.mixins||{},wp.ccf.mixins.subViewable=wp.ccf.mixins.subViewable||{subViews:{},initRenderSubViews:function(e,t,l){this.renderedSubViews||(this.renderedSubViews={});for(var s in this.subViews){var c={el:this.$el.find(".ccf-"+s),parent:this};l&&i.extend(c,l),this.renderedSubViews[s]&&this.renderedSubViews[s].destroy&&this.renderedSubViews[s].destroy(),(t||!this.renderedSubViews[s])&&(this.renderedSubViews[s]=new this.subViews[s](c)),this.renderedSubViews[s].render(),e&&(this.renderedSubViews[s].el.style.display="block")}return this},showView:function(e,t,i){if(this.renderedSubViews!==void 0&&this.renderedSubViews[e]!==void 0){var l=this.renderedSubViews[e];i||l.render(t),l.el.style.display="block",this.currentView=e;for(var s in this.subViews)s!==e&&(this.renderedSubViews[s].el.style.display="none")}}}}(jQuery,Backbone,_,ccfSettings),function(e,t,i,l,s){"use strict";wp.ccf.models=wp.ccf.models||{},wp.ccf.models.Fields=wp.ccf.models.Fields||{};var c=function(e,i,l){return"object"!=typeof i&&""===i&&(i=""),t.Model.prototype.set.call(this,e,i,l)},r=function(e,t,i){return i=i||{},i.emulateHTTP=!0,this.constructor.__super__.sync.call(this,e,t,i)},n=function(e){for(var t in this.attributes)if(-1===i.indexOf(e,t)){var l=this.get(t);"string"==typeof l&&""!==l&&(l=(l+"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/“/g,"”").replace(/”/g,"”").replace(/‘/g,"‘").replace(/&/g,"&").replace(/'/g,"'"),this.set(t,l))}return this};wp.ccf.models.FieldChoice=wp.ccf.models.FieldChoice||t.Model.extend({defaults:{label:"",value:"",selected:!1},decode:function(){return n.call(this,[])},set:c}),wp.ccf.models.Form=wp.ccf.models.Form||wp.api.models.Post.extend({urlRoot:s.root+"/ccf/forms",set:c,sync:r,initialize:function(){this.on("sync",this.decode,this)},defaults:function(){var e={fields:new wp.ccf.collections.Fields,type:"ccf_form",status:"publish",description:"",buttonText:"Submit Form",completionActionType:"text",completionRedirectUrl:"",completionMessage:"",sendEmailNotifications:!1,emailNotificationAddresses:l.adminEmail,emailNotificationFromType:"default",emailNotificationFromAddress:"",emailNotificationFromField:"",pause:!1,pauseMessage:l.pauseMessage};return e=i.defaults(e,this.constructor.__super__.defaults),wp.ccf.utils.cleanDateFields(e),e},decode:function(){var e=i.keys(wp.api.models.Post.prototype.defaults);return e=i.without(e,"title"),n.call(this,e)},getFieldSlugs:function(e){var t=wp.ccf.currentForm.get("fields"),i=[];return t.each(function(t){e&&t.isImmutable||i.push(t.get("slug"))}),i},parse:function(e){var t=this;if(e.fields){var l=t.get("fields");if(l&&l.length>0){for(var s=0;e.fields.length>s;s++){var c=e.fields[s],r=l.findWhere({slug:c.slug});if(r){if(c.choices!==void 0){var n=t.get("choices");if(n&&n.length>0)for(var o=0;c.choices>o;o++){var a=n.at(o);a.set(c.choices[o]),a.decode()}delete e.fields[s].choices}r.set(c),r.decode()}}delete e.fields}else{var d=[];i.each(e.fields,function(e){var t=new wp.ccf.models.Fields[e.type](e);t.decode(),d.push(t)}),e.fields=new wp.ccf.collections.Fields(d,{formId:e.ID})}}return this.constructor.__super__.parse.call(this,e)},toJSON:function(){var e=this.constructor.__super__.toJSON.call(this);return e.fields&&(e.fields=e.fields.toJSON()),e.author&&(e.author=e.author.toJSON()),e}}),wp.ccf.models.Submission=wp.api.models.Submission||wp.api.models.Post.extend({idAttribute:"ID",defaults:{ID:null,data:{}},sync:r}),wp.ccf.models.Field=wp.api.models.Field||wp.api.models.Post.extend({idAttribute:"ID",defaults:{ID:null},set:c,required:function(){return["slug"]},decode:function(){return n.call(this,i.keys(wp.api.models.Post.prototype.defaults))},hasRequiredAttributes:function(){var e=this,t=!0;return i.each(this.required(),function(i){(e.get(i)===void 0||""===e.get(i))&&(t=!1)}),t},sync:r}),wp.ccf.models.StandardField=wp.ccf.models.StandardField||wp.ccf.models.Field.extend({idAttribute:"ID",defaults:function(){var e={label:"Field Label",value:"",placeholder:"",slug:"",type:"",required:!1,className:"",description:""};return i.defaults(e,this.constructor.__super__.defaults)}}),wp.ccf.models.Fields["single-line-text"]=wp.ccf.models.Fields["single-line-text"]||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"single-line-text"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.file=wp.ccf.models.Fields.file||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"file",fileExtensions:"",maxFileSize:l.maxFileSize};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields["paragraph-text"]=wp.ccf.models.Fields["paragraph-text"]||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"paragraph-text"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.hidden=wp.ccf.models.Fields.hidden||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"hidden"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.email=wp.ccf.models.Fields.email||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"email",emailConfirmation:!1};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.website=wp.ccf.models.Fields.website||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"website",placeholder:"http://"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.phone=wp.ccf.models.Fields.phone||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"phone",phoneFormat:"us"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.date=wp.ccf.models.Fields.date||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"date",showDate:!0,showTime:!0};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.name=wp.ccf.models.Fields.name||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"name"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields.recaptcha=wp.ccf.models.Fields.recaptcha||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"recaptcha",siteKey:"",secretKey:""};return i.defaults(e,this.constructor.__super__.defaults())},required:function(){return["siteKey","secretKey"]},isImmutable:!0}),wp.ccf.models.Fields.address=wp.ccf.models.Fields.address||wp.ccf.models.StandardField.extend({defaults:function(){var e={type:"address",addressType:"us"};return i.defaults(e,this.constructor.__super__.defaults())}}),wp.ccf.models.Fields["section-header"]=wp.ccf.models.Fields["section-header"]||wp.ccf.models.Field.extend({defaults:function(){var e={type:"section-header",slug:"",heading:"",subheading:"",className:""};return i.defaults(e,this.constructor.__super__.defaults)},required:function(){return[]},isImmutable:!0}),wp.ccf.models.Fields.html=wp.ccf.models.Fields.html||wp.ccf.models.Field.extend({defaults:function(){var e={type:"html",slug:"",html:"",className:""};return i.defaults(e,this.constructor.__super__.defaults)},required:function(){return[]},isImmutable:!0}),wp.ccf.models.ChoiceableField=wp.ccf.models.ChoiceableField||wp.ccf.models.StandardField.extend({defaults:function(){var e={choices:new wp.ccf.collections.FieldChoices};return i.defaults(e,this.constructor.__super__.defaults())},initialize:function(e){if("object"==typeof e&&e.choices){var t=[];i.each(e.choices,function(e){var i=new wp.ccf.models.FieldChoice(e);i.decode(),t.push(i)}),this.set("choices",new wp.ccf.collections.FieldChoices(t))}}}),wp.ccf.models.Fields.radio=wp.ccf.models.Fields.radio||wp.ccf.models.ChoiceableField.extend({defaults:function(){var e={type:"radio"};return i.defaults(e,this.constructor.__super__.defaults())},initialize:function(){return this.constructor.__super__.initialize.apply(this,arguments)}}),wp.ccf.models.Fields.checkboxes=wp.ccf.models.Fields.checkboxes||wp.ccf.models.ChoiceableField.extend({defaults:function(){var e={type:"checkboxes"};return i.defaults(e,this.constructor.__super__.defaults())},initialize:function(){return this.constructor.__super__.initialize.apply(this,arguments)}}),wp.ccf.models.Fields.dropdown=wp.ccf.models.Fields.dropdown||wp.ccf.models.ChoiceableField.extend({defaults:function(){var e={type:"dropdown"};return i.defaults(e,this.constructor.__super__.defaults())},initialize:function(){return this.constructor.__super__.initialize.apply(this,arguments)}})}(jQuery,Backbone,_,ccfSettings,WP_API_Settings),function(e,t,i){"use strict";var l=function(e,t,i){return i=i||{},i.emulateHTTP=!0,this.constructor.__super__.sync.call(this,e,t,i)};wp.ccf.collections=wp.ccf.collections||{},wp.ccf.collections.Forms=wp.ccf.collections.Forms||wp.api.collections.Posts.extend({model:wp.ccf.models.Form,url:WP_API_Settings.root+"/ccf/forms",formsFetching:{},initialize:function(){this.constructor.__super__.initialize(),this.formsFetching={}},sync:l,remove:function(e,t){t=t||{};var l=this.constructor.__super__.remove.call(this,e,t);return t.destroy&&(e instanceof Array?i.each(e,function(e){e.destroy()}):e.destroy()),l}}),wp.ccf.collections.Fields=wp.ccf.collections.Fields||wp.api.collections.Posts.extend({model:wp.ccf.models.Field,url:function(){return WP_API_Settings.root+"/ccf/forms/"+this.formId+"/fields"},initialize:function(e,t){t&&t.formId&&(this.formId=t.formId)},sync:l}),wp.ccf.collections.Submissions=wp.ccf.collections.Submissions||wp.api.collections.Posts.extend({model:wp.ccf.models.Submission,url:function(){return WP_API_Settings.root+"/ccf/forms/"+this.formId+"/submissions"},initialize:function(e,t){this.constructor.__super__.initialize.apply(this,arguments),t&&t.formId&&(this.formId=t.formId)},sync:l}),wp.ccf.collections.FieldChoices=wp.ccf.collections.FieldChoices||t.Collection.extend({model:wp.ccf.models.FieldChoice})}(jQuery,Backbone,_,ccfSettings),function(e,t,i,l){"use strict";wp.ccf.views=wp.ccf.views||{},wp.ccf.views.Fields=wp.ccf.views.Fields||{},wp.ccf.views.FieldChoice=t.View.extend({template:wp.ccf.utils.template("ccf-field-choice-template"),className:"choice",events:{"click .add":"triggerAdd","click .delete":"triggerDelete","blur input":"saveChoice",saveChoice:"saveChoice",sorted:"triggerUpdateSort"},initialize:function(e){this.field=e.field},destroy:function(){wp.ccf.dispatcher.off("mainViewChange",this.saveChoice),this.unbind()},triggerUpdateSort:function(e,t){this.field.get("choices").remove(this.model,{silent:!0}),this.field.get("choices").add(this.model,{at:t,silent:!0})},saveChoice:function(){if(""!==this.el.innerHTML){var e=this.el.querySelectorAll(".choice-label")[0].value,t=this.el.querySelectorAll(".choice-value")[0].value;this.model.set("label",e),this.model.set("value",t);var i=this.el.querySelectorAll(".choice-selected")[0],l=i.checked?!0:!1;return this.model.set("selected",l),this}},render:function(){var e={};return this.model&&(e.choice=this.model.toJSON()),this.el.innerHTML=this.template(e),wp.ccf.dispatcher.on("mainViewChange",this.saveChoice,this),this},triggerAdd:function(){this.field.get("choices").add(new wp.ccf.models.FieldChoice)},triggerDelete:function(){var e=this.field.get("choices");if(e.length>1)e.remove(this.model),this.destroy(),this.remove();else{for(var t=this.el.querySelectorAll(".choice-label, .choice-value"),i=this.el.querySelectorAll(".choice-selected"),l=0;t.length>l;l++)t[l].value="";i[0].checked=!1}}}),wp.ccf.views.FieldBase=wp.ccf.views.FieldBase||t.View.extend({events:{"blur input":"saveField","blur input.field-slug":"checkSlug","blur textarea":"saveField","change select":"saveField",'change input[type="checkbox"]':"saveField"},checkSlug:function(){var e=this.el.querySelectorAll(".field-slug");if(e.length>0){var t=e[0],i=!1;t.parentNode.className=t.value&&!t.value.match(/^[a-zA-Z0-9\-_]+$/)?t.parentNode.className.replace(/ field-error/i,"")+" field-error":t.parentNode.className.replace(/ field-error/i,""),this.collection.length>0&&""!==t.value?(this.collection.each(function(e){e!==this.model&&t.value===e.get("slug")&&(i=!0)},this),t.parentNode.className=i?t.parentNode.className.replace(/ field-duplicate-slug/i,"")+" field-duplicate-slug":t.parentNode.className.replace(/ field-duplicate-slug/i,"")):t.parentNode.className=t.parentNode.className.replace(/ field-duplicate-slug/i,"")}},destroy:function(){this.unbind()},render:function(){return this.el.innerHTML=this.template({field:this.model.toJSON()}),this.checkSlug(),this}}),wp.ccf.views.Fields["single-line-text"]=wp.ccf.views.Fields["single-line-text"]||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-single-line-text-template"),initialize:function(){},saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("value",this.el.querySelectorAll(".field-value")[0].value),this.model.set("placeholder",this.el.querySelectorAll(".field-placeholder")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.file=wp.ccf.views.Fields.file||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-file-template"),initialize:function(){},saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this.model.set("fileExtensions",this.el.querySelectorAll(".field-file-extensions")[0].value),this.model.set("maxFileSize",this.el.querySelectorAll(".field-max-file-size")[0].value),this):void 0}}),wp.ccf.views.Fields.recaptcha=wp.ccf.views.Fields.recaptcha||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-recaptcha-template"),initialize:function(){},saveField:function(){return""!==this.el.innerHTML?(this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("siteKey",this.el.querySelectorAll(".field-site-key")[0].value),this.model.set("secretKey",this.el.querySelectorAll(".field-secret-key")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this):void 0}}),wp.ccf.views.Fields["section-header"]=wp.ccf.views.Fields["section-header"]||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-section-header-template"),initialize:function(){},saveField:function(){return""!==this.el.innerHTML?(this.model.set("heading",this.el.querySelectorAll(".field-heading")[0].value),this.model.set("subheading",this.el.querySelectorAll(".field-subheading")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this):void 0}}),wp.ccf.views.Fields.html=wp.ccf.views.Fields.html||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-html-template"),initialize:function(){},saveField:function(){return""!==this.el.innerHTML?(this.model.set("html",this.el.querySelectorAll(".field-html")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this):void 0}}),wp.ccf.views.Fields["paragraph-text"]=wp.ccf.views.Fields["paragraph-text"]||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-paragraph-text-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("value",this.el.querySelectorAll(".field-value")[0].value),this.model.set("placeholder",this.el.querySelectorAll(".field-placeholder")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.hidden=wp.ccf.views.Fields.hidden||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-hidden-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("value",this.el.querySelectorAll(".field-value")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this):void 0}}),wp.ccf.views.Fields.date=wp.ccf.views.Fields.date||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-date-template"),saveField:function(){if(""!==this.el.innerHTML){this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value);var e=this.el.querySelectorAll(".field-value");e.length>0&&this.model.set("value",e[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("showDate",this.el.querySelectorAll(".field-show-date")[0].checked?!0:!1);var t=this.model.get("showTime"),i=this.el.querySelectorAll(".field-show-time")[0].checked?!0:!1;return this.model.set("showTime",i),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),i!=t&&this.render(),this}}}),wp.ccf.views.Fields.name=wp.ccf.views.Fields.name||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-name-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.website=wp.ccf.views.Fields.website||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-website-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("value",this.el.querySelectorAll(".field-value")[0].value),this.model.set("placeholder",this.el.querySelectorAll(".field-placeholder")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.phone=wp.ccf.views.Fields.phone||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-phone-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("value",this.el.querySelectorAll(".field-value")[0].value),this.model.set("placeholder",this.el.querySelectorAll(".field-placeholder")[0].value),this.model.set("phoneFormat",this.el.querySelectorAll(".field-phone-format")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.address=wp.ccf.views.Fields.address||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-address-template"),saveField:function(){return""!==this.el.innerHTML?(this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("addressType",this.el.querySelectorAll(".field-address-type")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1),this):void 0}}),wp.ccf.views.Fields.email=wp.ccf.views.Fields.email||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-email-template"),saveField:function(){if(""!==this.el.innerHTML){this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value);var e=this.el.querySelectorAll(".field-value");e.length&&this.model.set("value",e[0].value);var t=this.el.querySelectorAll(".field-placeholder");t.length&&this.model.set("placeholder",t[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1);var i=1==this.el.querySelectorAll(".field-email-confirmation")[0].value?!0:!1,l=this.model.get("emailConfirmation");return this.model.set("emailConfirmation",i),l!=i&&this.render(),this}}}),wp.ccf.views.ChoiceableField=wp.ccf.views.ChoiceableField||wp.ccf.views.FieldBase.extend({template:wp.ccf.utils.template("ccf-dropdown-template"),initialize:function(){var e=this.model.get("choices");this.listenTo(e,"add",this.addChoice)},addChoice:function(e){var t=new wp.ccf.views.FieldChoice({model:e,field:this.model}).render(),i=this.el.querySelectorAll(".repeatable-choices")[0];i.appendChild(t.el)},saveField:function(){if(""!==this.el.innerHTML){this.model.set("slug",this.el.querySelectorAll(".field-slug")[0].value),this.model.set("label",this.el.querySelectorAll(".field-label")[0].value),this.model.set("description",this.el.querySelectorAll(".field-description")[0].value),this.model.set("className",this.el.querySelectorAll(".field-class-name")[0].value),this.model.set("required",1==this.el.querySelectorAll(".field-required")[0].value?!0:!1);var t=this.el.querySelectorAll(".repeatable-choices")[0].querySelectorAll(".choice");return i.each(t,function(t){e(t).trigger("saveChoice")}),this}},render:function(){var t=this;t.el.innerHTML=t.template({field:t.model.toJSON()}),t.checkSlug();var i=t.model.get("choices"),l=this.el.querySelectorAll(".repeatable-choices")[0];if(i.length>=1)i.each(function(e){var i=new wp.ccf.views.FieldChoice({model:e,field:t.model}).render();l.appendChild(i.el)});else{var s=new wp.ccf.models.FieldChoice;i.add(s)}return l=this.el.querySelectorAll(".repeatable-choices")[0],e(l).sortable({handle:".move",axis:"y",stop:function(e,t){t.item.trigger("sorted",t.item.index())}}),t}}),wp.ccf.views.Fields.dropdown=wp.ccf.views.Fields.dropdown||wp.ccf.views.ChoiceableField.extend({template:wp.ccf.utils.template("ccf-dropdown-template"),events:function(){return this.constructor.__super__.events}}),wp.ccf.views.Fields.radio=wp.ccf.views.Fields.radio||wp.ccf.views.ChoiceableField.extend({template:wp.ccf.utils.template("ccf-radio-template"),events:function(){return this.constructor.__super__.events}}),wp.ccf.views.Fields.checkboxes=wp.ccf.views.Fields.checkboxes||wp.ccf.views.ChoiceableField.extend({template:wp.ccf.utils.template("ccf-checkboxes-template"),events:function(){return this.constructor.__super__.events}}),wp.ccf.views.FieldSidebar=wp.ccf.views.FieldSidebar||t.View.extend({initialize:function(e){this.currentFieldView=null,this.form=e.form},save:function(e){this.currentFieldView&&""!==this.currentFieldView.el.innerHTML&&this.currentFieldView.saveField(),e&&e instanceof Object&&e.resolve()},fieldRemoved:function(){this.currentFieldView&&(this.form.get("fields").get(this.currentFieldView.model)||this.render())},destroy:function(){wp.ccf.dispatcher.off("saveField",this.save),wp.ccf.dispatcher.off("mainViewChange",this.save),this.unbind()},render:function(e){var t={};if(e){var i=e.get("type");this.currentFieldView&&(this.currentFieldView.saveField(),this.currentFieldView.destroy&&this.currentFieldView.destroy()),this.currentFieldView=new wp.ccf.views.Fields[i]({model:e,collection:this.form.get("fields")}),this.currentFieldView.render(),this.el.innerHTML="",this.el.appendChild(this.currentFieldView.el);var l=this.form.get("fields");this.listenTo(l,"remove",this.fieldRemoved)}else{var s=wp.ccf.utils.template("ccf-empty-field-template");this.el.innerHTML=s(t)}return wp.ccf.dispatcher.on("saveField",this.save,this),wp.ccf.dispatcher.on("mainViewChange",this.save,this),this}}),wp.ccf.views.FieldRowPlaceholder=wp.ccf.views.FieldRowPlaceholder||t.View.extend({template:wp.ccf.utils.template("ccf-field-row-template"),tagName:"div",className:"field",initialize:function(e){this.type=e.type},render:function(){return this.el.innerHTML=this.template({label:l.allLabels[this.type]}),this.el.setAttribute("data-field-type",this.type),this.el.className+=" "+this.type,this}}),wp.ccf.views.FieldRow=wp.ccf.views.FieldRow||t.View.extend({template:wp.ccf.utils.template("ccf-field-row-template"),tagName:"div",className:"field",events:{"click .delete":"triggerDelete","click h4":"triggerEdit",sorted:"triggerUpdateSort"},initialize:function(e){i.bindAll(this,"triggerDelete"),this.form=e.form,this.listenTo(this.model,"change",this.handleChange,this),this.listenTo(this.model,"requirementsNotMet",this.requirementsNotMet,this),this.listenTo(this.model,"requirementsMet",this.requirementsMet,this),this.listenTo(this.model,"duplicateSlug",this.duplicateSlug,this),this.model.attributes.choices&&this.listenTo(this.model.attributes.choices,"change",this.handleChange,this)},duplicateSlug:function(){this.requirementsMet(),this.el.className+=" field-duplicate-slug"},requirementsNotMet:function(){this.requirementsMet(),this.el.className+=" field-incomplete"},requirementsMet:function(){this.el.className=this.el.className.replace(/(field-incomplete|field-duplicate-slug)/i,"")},triggerUpdateSort:function(e,t){this.form.get("fields").remove(this.model),this.form.get("fields").add(this.model,{at:t})},handleChange:function(){this.render()},triggerDelete:function(e){e.stopPropagation(),this.form.get("fields").remove(this.model),this.undelegateEvents(),this.remove()},triggerEdit:function(){var e=this.el.parentNode.querySelectorAll(".ccf-editing");i.each(e,function(e){e.className=e.className.replace(/ccf-editing/i,"")}),this.el.className=this.el.className.replace(/ccf-editing/i,"")+" ccf-editing",wp.ccf.dispatcher.trigger("openEditField",this.model)},render:function(e){this.el.innerHTML=this.template({label:l.allLabels[this.model.get("type")]}),this.el.setAttribute("data-field-type",this.model.get("type"));var t=RegExp(" "+this.model.get("type"),"i");this.el.className=this.el.className.replace(t,"")+" "+this.model.get("type"),e&&(this.el.className=this.el.className.replace(/ instantiated/i,"")+" instantiated");var i=document.getElementById("ccf-"+this.model.get("type")+"-preview-template");if(i){var s=this.el.querySelectorAll(".preview")[0];s.style.display="block",s.innerHTML=wp.ccf.utils.template("ccf-"+this.model.get("type")+"-preview-template")({field:this.model.toJSON()})}return this}}),wp.ccf.views.FormSettings=wp.ccf.views.FormSettings||t.View.extend({template:wp.ccf.utils.template("ccf-form-settings-template"),events:{"blur input":"save","change select":"save","change select.form-completion-action-type":"toggleCompletionFields","change select.form-pause":"togglePauseFields","change select.form-send-email-notifications":"toggleNotificationFields"},initialize:function(e){this.model=e.form},destroy:function(){wp.ccf.dispatcher.off("saveFormSettings",this.save),wp.ccf.dispatcher.off("mainViewChange",this.save)},toggleCompletionFields:function(){var e=this.el.querySelectorAll(".form-completion-action-type")[0].value,t=this.el.querySelectorAll(".completion-message")[0],i=this.el.querySelectorAll(".completion-redirect-url")[0];"text"===e?(t.style.display="block",i.style.display="none"):(t.style.display="none",i.style.display="block")},togglePauseFields:function(){var e=this.el.querySelectorAll(".form-pause")[0].value,t=this.el.querySelectorAll(".pause-message")[0];t.style.display=parseInt(e)?"block":"none"},save:function(e){if(""!==this.el.innerHTML){var t=this.el.querySelectorAll(".form-title")[0].value;this.model.set("title",t);var i=this.el.querySelectorAll(".form-description")[0].value;this.model.set("description",i);var l=this.el.querySelectorAll(".form-button-text")[0].value;this.model.set("buttonText",l);var s=this.el.querySelectorAll(".form-pause")[0].value;this.model.set("pause",parseInt(s)?!0:!1);var c=this.el.querySelectorAll(".form-pause-message")[0].value;this.model.set("pauseMessage",c);var r=this.el.querySelectorAll(".form-completion-message")[0].value;this.model.set("completionMessage",r);var n=this.el.querySelectorAll(".form-completion-redirect-url")[0].value;this.model.set("completionRedirectUrl",n);var o=this.el.querySelectorAll(".form-completion-action-type")[0].value;
|
2 |
+
this.model.set("completionActionType",o),e!==void 0&&e.promise!==void 0&&e.resolve()}},render:function(){var e={form:this.model.toJSON()};return this.el.innerHTML=this.template(e),this.toggleCompletionFields(),this.togglePauseFields(),wp.ccf.dispatcher.on("saveFormSettings",this.save,this),wp.ccf.dispatcher.on("mainViewChange",this.save,this),this}}),wp.ccf.views.FormNotifications=wp.ccf.views.FormNotifications||t.View.extend({template:wp.ccf.utils.template("ccf-form-notifications-template"),events:{"blur input":"save","change select":"save","change select.form-send-email-notifications":"toggleNotificationFields","change select.form-email-notification-from-type":"toggleNotificationFields"},initialize:function(e){this.model=e.form},destroy:function(){wp.ccf.dispatcher.off("saveFormNotifications",this.save),wp.ccf.dispatcher.off("mainViewChange",this.save),this.undelegateEvents(),this.unbind()},updateFromAddressFieldField:function(){var e=this.el.querySelectorAll(".form-email-notification-from-field")[0];e.innerHTML="",e.disabled=!1;var t=this.model.get("fields"),i=0,s=this.model.get("emailNotificationFromField");if(t.length>=1&&t.each(function(t){if("email"===t.get("type")){var l=document.createElement("option");l.innerHTML=t.get("slug"),l.value=t.get("slug"),t.get("slug")===s&&(l.selected=!0),e.appendChild(l),i++}}),0===i){var c=document.createElement("option");c.innerHTML=l.noEmailFields,e.appendChild(c),e.disabled=!0}},toggleNotificationFields:function(){var e,t=this.el.querySelectorAll(".form-send-email-notifications")[0].value,i=this.el.querySelectorAll(".email-notification-setting"),l=this.el.querySelectorAll(".email-notification-from-address")[0],s=this.el.querySelectorAll(".email-notification-from-field")[0],c=this.el.querySelectorAll(".form-email-notification-from-type")[0];if(parseInt(t)){for(e=0;i.length>e;e++)i[e].style.display="block";l.style.display="none",s.style.display="none","custom"===c.value?l.style.display="block":"field"===c.value&&(s.style.display="block")}else{for(e=0;i.length>e;e++)i[e].style.display="none";l.style.display="none",s.style.display="none"}},save:function(e){if(""!==this.el.innerHTML){var t=this.el.querySelectorAll(".form-send-email-notifications")[0].value;this.model.set("sendEmailNotifications",parseInt(t)?!0:!1);var i=this.el.querySelectorAll(".form-email-notification-addresses")[0].value;this.model.set("emailNotificationAddresses",i);var l=this.el.querySelectorAll(".form-email-notification-from-type")[0].value;this.model.set("emailNotificationFromType",l);var s=this.el.querySelectorAll(".form-email-notification-from-address")[0].value;this.model.set("emailNotificationFromAddress",s);var c=this.el.querySelectorAll(".form-email-notification-from-field")[0].value;this.model.set("emailNotificationFromField",c),e!==void 0&&e.promise!==void 0&&e.resolve()}},render:function(){var e={form:this.model.toJSON()},t=this.model.get("fields");return this.el.innerHTML=this.template(e),this.toggleNotificationFields(),this.updateFromAddressFieldField(),wp.ccf.dispatcher.on("saveFormNotifications",this.save,this),wp.ccf.dispatcher.on("mainViewChange",this.save,this),this.listenTo(t,"add",this.updateFromAddressFieldField,this),this.listenTo(t,"remove",this.updateFromAddressFieldField,this),this}}),wp.ccf.views.FormPane=wp.ccf.views.FormPane||t.View.extend(i.defaults({template:wp.ccf.utils.template("ccf-form-pane-template"),subViews:{"field-sidebar":wp.ccf.views.FieldSidebar,"form-settings":wp.ccf.views.FormSettings,"form-notifications":wp.ccf.views.FormNotifications},events:{"click .save-button":"sync","click h2":"accordionClick","click .insert-form-button":"insertForm"},initialize:function(){wp.ccf.dispatcher.on("openEditField",this.openEditField,this)},insertForm:function(){wp.ccf.utils.insertFormShortcode(this.model),wp.ccf.toggle()},accordionClick:function(t){var l=e(t.currentTarget).parents(".accordion-container")[0],s=l.querySelectorAll(".accordion-section");t.currentTarget.parentNode.className.match(/expanded/i)?t.currentTarget.parentNode.className=t.currentTarget.parentNode.className.replace(/expanded/i,""):t.currentTarget.parentNode.className+=" expanded",i.each(s,function(e){e!=t.currentTarget.parentNode&&e.className.match(/expanded/i)&&(e.className=e.className.replace(/expanded/i,""))})},openEditField:function(e){this.renderedSubViews["field-sidebar"].render(e).el.style.display="block"},disable:function(){this.el.querySelectorAll(".save-button")[0].setAttribute("disabled","disabled"),this.el.querySelectorAll(".disabled-overlay")[0].style.display="block"},enable:function(){this.el.querySelectorAll(".save-button")[0].removeAttribute("disabled"),this.el.querySelectorAll(".disabled-overlay")[0].style.display="none"},sync:function(){var t=this,i=e(this.el.querySelectorAll(".spinner")[0]);i.fadeIn(),t.disable();var s=e.Deferred(),c=e.Deferred(),r=e.Deferred();wp.ccf.dispatcher.trigger("saveFormSettings",s),wp.ccf.dispatcher.trigger("saveFormNotifications",r),wp.ccf.dispatcher.trigger("saveField",c),e.when(s,c,r).then(function(){var e=t.model.get("fields"),s=!0,c={};e.each(function(e){var t=e.get("slug");e.hasRequiredAttributes()?t&&!t.match(/^[a-zA-Z0-9\-_]+$/)?(s=!1,e.trigger("requirementsNotMet")):c[e.get("slug")]!==void 0?(s=!1,e.trigger("duplicateSlug"),c[e.get("slug")].trigger("duplicateSlug")):e.trigger("requirementsMet"):(s=!1,e.trigger("requirementsNotMet")),e.get("slug")&&(c[e.get("slug")]=e)}),s?t.model.save({},{context:"edit"}).error(function(){var e="sync";wp.ccf.errorModal.render(e).show()}).done(function(){l.single&&!l.postId&&(window.location=l.adminUrl+"post.php?post="+t.model.get("ID")+"&action=edit#ccf-form/"+t.model.get("ID"))}).complete(function(){i.fadeOut(),t.enable(),wp.ccf.dispatcher.trigger("saveFormComplete",t.model)}):(t.enable(),i.fadeOut())})},enableDisableInsert:function(){var e=this.el.querySelectorAll(".insert-form-button")[0];this.model.get("ID")?e.removeAttribute("disabled"):e.setAttribute("disabled","disabled")},getNextFieldOrd:function(){var e=this.model.get("fields"),t=e.length+1;return e.each(function(e){var i=e.get("slug"),l=/\-([0-9]+)$/g,s=l.exec(i);if(s&&s[1]){var c=parseInt(s[1]);c>=t&&(t=c+1)}}),t},render:function(t){var s=this;s.model=t?t:new wp.ccf.models.Form,this.listenTo(s.model,"change",this.enableDisableInsert,this);var c={labels:l.fieldLabels,form:s.model.toJSON()};window.form=s.model,s.el.innerHTML=this.template(c);var r=s.el.querySelectorAll(".fields")[0];i.each(l.fieldLabels,function(e,t){r.appendChild(new wp.ccf.views.FieldRowPlaceholder({type:t}).render().el)});var n=s.el.querySelectorAll(".structure-fields")[0];i.each(l.structureFieldLabels,function(e,t){n.appendChild(new wp.ccf.views.FieldRowPlaceholder({type:t}).render().el)});var o=s.el.querySelectorAll(".special-fields")[0];i.each(l.specialFieldLabels,function(e,t){o.appendChild(new wp.ccf.views.FieldRowPlaceholder({type:t}).render().el)});var a=s.model.get("fields"),d=s.el.querySelectorAll(".form-content")[0],u=e(d);return e(s.el.querySelectorAll(".left-sidebar")[0].querySelectorAll(".field")).draggable({cursor:"move",distance:2,zIndex:160001,scroll:!1,containment:"document",appendTo:".ccf-main-modal",snap:!1,connectToSortable:".form-content",helper:function(t){var i=e(t.currentTarget),l=e('<div class="field" data-field-type="'+i.attr("data-field-type")+'"><h4>'+i.find(".label").html()+"</h4></div>");return l.css({width:u.width(),opacity:".75",height:i.height()})}}),a.length>=1&&(d.innerHTML="",a.each(function(e){var t=new wp.ccf.views.FieldRow({model:e,form:s.model}).render(!0).el;d.appendChild(t)})),e(d).sortable({axis:"y",distance:2,handle:"h4",placeholder:"field-placeholder",stop:function(e,t){if(!t.item.hasClass("instantiated")){var i=t.item.attr("data-field-type"),l={};wp.ccf.models.Fields[i].prototype.defaults().slug!==void 0&&(l.slug=i+"-"+s.getNextFieldOrd());var c=new wp.ccf.models.Fields[i](l),r=s.model.get("fields");r.add(c),new wp.ccf.views.FieldRow({model:c,el:t.item,form:s.model}).render(!0),t.item.attr("style","")}t.item.trigger("sorted",t.item.index())}}),s.initRenderSubViews(!0,!0,{form:s.model}),s.enableDisableInsert(),s}},wp.ccf.mixins.subViewable)),wp.ccf.views.ExistingFormTableRow=wp.ccf.views.ExistingFormTableRow||t.View.extend({tagName:"tr",template:wp.ccf.utils.template("ccf-existing-form-table-row-template"),events:{"click .edit":"triggerMainViewChange","click .delete":"triggerDelete","click .insert-form-button":"insertForm"},initialize:function(e){this.parent=e.parent},insertForm:function(){wp.ccf.utils.insertFormShortcode(this.model),wp.ccf.toggle()},triggerMainViewChange:function(){wp.ccf.switchToForm(this.model)},triggerDelete:function(){var e,t=this,i=t.parent.collection.state.currentPage;t.model.destroy().done(function(){e=i,e===t.parent.collection.state.totalPages&&e-1===(t.parent.collection.state.totalObjects-1)/l.postsPerPage&&e--,t.parent.showPage(e).done(function(){t.parent.renderPagination()})})},render:function(){return this.$el.html(this.template({form:this.model.toJSON(),utils:{getPrettyPostDate:wp.ccf.utils.getPrettyPostDate}})),this}}),wp.ccf.views.EmptyFormTableRow=wp.ccf.views.EmptyFormTableRow||t.View.extend({tagName:"tr",template:wp.ccf.utils.template("ccf-empty-form-table-row-template"),render:function(){return this.$el.html(this.template()),this}}),wp.ccf.views.ExistingFormTable=wp.ccf.views.ExistingFormTable||t.View.extend({template:wp.ccf.utils.template("ccf-existing-form-table-template"),initialize:function(){this.parent=arguments.parent,this.collection=new wp.ccf.collections.Forms,wp.ccf.dispatcher.on("changeFormTablePage",this.showPage,this),wp.ccf.dispatcher.on("saveFormComplete",this.render,this)},showPage:function(e){var t=this,i=this.collection.fetch({data:{page:e}});return i.error(function(){var e="sync";wp.ccf.errorModal.render(e).show()}),i.done(function(){var e=t.el.querySelectorAll(".rows")[0],i=document.createElement("tbody");i.className="rows",t.collection.length>=1?t.collection.each(function(e){var l=new wp.ccf.views.ExistingFormTableRow({model:e,parent:t}).render();i.appendChild(l.el)},t):i.appendChild((new wp.ccf.views.EmptyFormTableRow).render().el),e.parentNode.replaceChild(i,e)}),i},renderPagination:function(){var e=this.el.querySelectorAll(".ccf-pagination")[0];e.innerHTML="",this.collection.state.totalPages>1&&e.appendChild(new wp.ccf.views.Pagination({parent:this}).render(this.collection.state.totalPages,this.collection.state.currentPage).el)},render:function(){var e=this;return this.el.innerHTML=this.template(),this.el.querySelectorAll(".ccf-pagination")[0],this.showPage(1).done(function(){e.renderPagination()}),this}}),wp.ccf.views.ExistingFormPane=wp.ccf.views.ExistingFormPane||t.View.extend(i.defaults({template:wp.ccf.utils.template("ccf-existing-form-pane-template"),subViews:{"existing-form-table":wp.ccf.views.ExistingFormTable},render:function(){return this.rendered?this:(this.rendered=!0,this.el.innerHTML=this.template(),this.initRenderSubViews(!0),this)}},wp.ccf.mixins.subViewable)),wp.ccf.views.MainModal=wp.ccf.views.MainModal||t.View.extend(i.defaults({tagName:"div",className:"ccf-main-modal",template:wp.ccf.utils.template("ccf-main-modal-template"),events:{"click .close-icon":"hide","click .main-menu a":"menuClick"},subViews:{"form-pane":wp.ccf.views.FormPane},initialize:function(){l.single||(this.subViews["existing-form-pane"]=wp.ccf.views.ExistingFormPane),wp.ccf.dispatcher.on("mainViewChange",this.toggleView,this)},toggleView:function(e){this.showView(e,wp.ccf.currentForm);var t=e;"form-pane"===e&&wp.ccf.currentForm&&(t="existing-form-pane");var l=this.el.querySelectorAll(".menu-item");i.each(l,function(e){var i=e.getAttribute("data-view");e.className=i===t?e.className.replace("selected","")+" selected":e.className.replace("selected","")})},menuClick:function(e){var t=e.target.getAttribute("data-view");"form-pane"===t&&(wp.ccf.currentForm=null),wp.ccf.dispatcher.trigger("mainViewChange",t),e.preventDefault()},render:function(e){return e=e||!1,this.overlay(),this.el.innerHTML=this.template({single:e}),this.initRenderSubViews(),this.showView("form-pane",wp.ccf.currentForm,!0),this},overlay:function(){return this.overlayEl===void 0&&(this.overlayEl=document.createElement("div"),this.overlayEl.className="ccf-main-modal-overlay",document.body.appendChild(this.overlayEl)),this.overlayEl},remove:function(){return document.body.removeChild(this.overlay()),this},show:function(){e(this.overlay()).show(),this.$el.show()},hide:function(){e(this.overlay()).hide(),this.$el.hide()}},wp.ccf.mixins.subViewable)),wp.ccf.views.SubmissionRow=wp.ccf.views.SubmissionRow||t.View.extend({tagName:"tr",template:wp.ccf.utils.template("ccf-submission-row-template"),events:{"click .view":"view","click .delete":"delete"},initialize:function(e){this.parent=e.parent},"delete":function(){var e,t=this,i=t.parent.collection.state.currentPage;t.model.destroy().done(function(){e=i,e===t.parent.collection.state.totalPages&&e-1===(t.parent.collection.state.totalObjects-1)/l.postsPerPage&&e--,t.parent.showPage(e).done(function(){t.parent.renderPagination()})})},view:function(e){var t=e.currentTarget.getAttribute("data-submission-id"),i=e.currentTarget.getAttribute("data-submission-date");tb_show(l.thickboxTitle+" - "+wp.ccf.utils.getPrettyPostDate(i),"#TB_inline?height=500&width=700&inlineId=ccf-submission-content-"+parseInt(t),null)},render:function(){return this.$el.html(this.template({submission:this.model.toJSON(),currentColumns:this.parent.columns,columns:wp.ccf.currentForm.getFieldSlugs(!0),utils:{getPrettyPostDate:wp.ccf.utils.getPrettyPostDate,wordChop:wp.ccf.utils.wordChop,isFieldDate:wp.ccf.utils.isFieldDate,isFieldName:wp.ccf.utils.isFieldName,isFieldFile:wp.ccf.utils.isFieldFile,isFieldAddress:wp.ccf.utils.isFieldAddress,isFieldEmailConfirm:wp.ccf.utils.isFieldEmailConfirm,getPrettyFieldDate:wp.ccf.utils.getPrettyFieldDate,getPrettyFieldAddress:wp.ccf.utils.getPrettyFieldAddress,getPrettyFieldName:wp.ccf.utils.getPrettyFieldName,getPrettyFieldEmailConfirm:wp.ccf.utils.getPrettyFieldEmailConfirm}})),this}}),wp.ccf.views.SubmissionsTable=wp.ccf.views.SubmissionsTable||t.View.extend({template:wp.ccf.utils.template("ccf-submission-table-template"),events:{"click .prev:not(.disabled)":"previousPage","click .next:not(.disabled)":"nextPage","click .first:not(.disabled)":"firstPage","click .last:not(.disabled)":"lastPage"},initialize:function(){this.collection=new wp.ccf.collections.Submissions({},{formId:l.postId}),wp.ccf.dispatcher.on("submissionTableRebuild",this.render,this)},showPage:function(e){var t=this,i=this.collection.fetch({data:{page:e}});return i.error(function(){var e="sync";wp.ccf.errorModal.render(e).show()}),i.done(function(){var e=t.el.querySelectorAll(".submission-rows")[0],i=document.createElement("tbody");i.className="submission-rows",t.collection.length>=1?t.collection.each(function(e){var l=new wp.ccf.views.SubmissionRow({model:e,parent:t}).render();i.appendChild(l.el)},t):i.appendChild(new wp.ccf.views.EmptySubmissionTableRow({parent:t}).render(wp.ccf.currentForm.getFieldSlugs(!0).concat("date")).el),e.parentNode.replaceChild(i,e)}),i},renderPagination:function(){var e=this.el.querySelectorAll(".ccf-pagination")[0];e.innerHTML="",this.collection.state.totalPages>1&&e.appendChild(new wp.ccf.views.Pagination({parent:this}).render(this.collection.state.totalPages,this.collection.state.currentPage).el)},render:function(e){var t=this;return t.columns=e?e:wp.ccf.currentForm.getFieldSlugs(!0).slice(0,4).concat("date"),1>t.columns.length?t.el.innerHTML="":(t.el.innerHTML=t.template({columns:t.columns}),t.el.querySelectorAll(".ccf-pagination")[0],t.showPage(1).done(function(){t.renderPagination()})),t}}),wp.ccf.views.ErrorModal=wp.ccf.views.ErrorModal||t.View.extend({template:wp.ccf.utils.template("ccf-error-modal-template"),tagName:"div",className:"ccf-error-modal",events:{"click .close":"hide"},hide:function(){this.el.className=this.el.className.replace(" show","")},show:function(){this.el.className=this.el.className.replace(" show","")+" show"},toggle:function(){this.el.className.match(" show")?this.hide():this.show()},render:function(e){var t={messageType:""};return e&&(t.messageType=e),this.el.innerHTML=this.template(t),this}}),wp.ccf.views.Pagination=wp.ccf.views.Pagination||t.View.extend({template:wp.ccf.utils.template("ccf-pagination-template"),events:{"click .prev:not(.disabled)":"previousPage","click .next:not(.disabled)":"nextPage","click .first:not(.disabled)":"firstPage","click .last:not(.disabled)":"lastPage"},initialize:function(e){this.parent=e.parent},previousPage:function(){var e=this;e.parent.showPage(e.parent.collection.state.currentPage-1).done(function(){e.render()})},nextPage:function(){var e=this;e.parent.showPage(e.parent.collection.state.currentPage+1).done(function(){e.render()})},firstPage:function(){var e=this;e.parent.showPage(1).done(function(){e.render()})},lastPage:function(){var e=this;e.parent.showPage(e.parent.collection.state.totalPages).done(function(){e.render()})},render:function(){return this.el.innerHTML=this.template({totalPages:this.parent.collection.state.totalPages,currentPage:this.parent.collection.state.currentPage,totalObjects:this.parent.collection.state.totalObjects}),this}}),wp.ccf.views.EmptySubmissionTableRow=wp.ccf.views.EmptySubmissionTableRow||t.View.extend({tagName:"tr",template:wp.ccf.utils.template("ccf-no-submissions-row-template"),initialize:function(e){this.parent=e.parent},render:function(){return this.el.innerHTML=this.template({columns:this.parent.columns}),this}}),wp.ccf.views.SubmissionColumnController=wp.ccf.views.SubmissionColumnController||t.View.extend({template:wp.ccf.utils.template("ccf-submissions-controller-template"),events:{"click input[type=checkbox]":"triggerTableRebuild"},render:function(){this.el.innerHTML=this.template({columns:wp.ccf.currentForm.getFieldSlugs(!0).concat("date")})},triggerTableRebuild:function(){var e=[],t=document.querySelectorAll(".submission-column-checkbox");if(t.length>=1)for(var i=0;t.length>i;i++)t[i].checked&&e.push(t[i].value);wp.ccf.dispatcher.trigger("submissionTableRebuild",e)}})}(jQuery,Backbone,_,ccfSettings),function(e,t){"use strict";wp.ccf.router=wp.ccf.router||t.Router.extend({routes:{"ccf-form":"open","ccf-form/:formId":"open"},open:function(e){wp.ccf.show(e)}})}(jQuery,Backbone,_,ccfSettings),function(e,t,i,l){"use strict";wp.ccf=i.defaults(wp.ccf,{forms:new wp.ccf.collections.Forms,currentForm:null,errorModal:null,_currentFormDeferred:null,dispatcher:{},show:function(e){return this.switchToForm(e),this.instance.show(),this.instance},initErrorModal:function(){this.errorModal=(new wp.ccf.views.ErrorModal).render();var e=document.getElementsByTagName("body")[0];e.appendChild(this.errorModal.el)},switchToForm:function(e){var t=this;if(+e===parseInt(e)){var i=parseInt(e);if(e=t.forms.findWhere({ID:parseInt(i)}),!e){var l;return t.forms.formsFetching[i]!==void 0?(l=t.forms.formsFetching[i],e=null):(e=new wp.ccf.models.Form({ID:i}),l=e.fetch(),t.forms.formsFetching[i]=l),l.done(function(){e?(delete t.forms.formsFetching[i],t.forms.add(e)):e=t.forms.findWhere({ID:i}),t.currentForm=e,wp.ccf.dispatcher.trigger("mainViewChange","form-pane")}),l}t.currentForm=e,wp.ccf.dispatcher.trigger("mainViewChange","form-pane")}else t.currentForm=e,wp.ccf.dispatcher.trigger("mainViewChange","form-pane");return!0},hide:function(){return this.instance.hide(),this.instance},toggle:function(e){return this.switchToForm(e),this.instance.$el.is(":visible")?this.instance.hide():this.instance.show(),this.instance},createSubmissionsTable:function(e){var t=document.querySelectorAll(".ccf-submission-column-controller"),i=new wp.ccf.views.SubmissionsTable({el:e});i.render(),t&&new wp.ccf.views.SubmissionColumnController({el:t}).render()},_setupMainModal:function(e){return this.instance=(new wp.ccf.views.MainModal).render(e),document.getElementsByTagName("body")[0].appendChild(this.instance.el),t.history.start(),this.instance},createManager:function(){var s=this,c=document.querySelectorAll(".ccf-open-form-manager")[0];if(!c)return!1;i.extend(this.dispatcher,t.Events),new wp.ccf.router,s.initErrorModal();var r=!1;if(l.single)if(r=!0,l.postId){var n=parseInt(l.postId);if(s.forms.formsFetching[n]===void 0){var o=new wp.ccf.models.Form({ID:n}),a=o.fetch();s.forms.formsFetching[n]=a,s._currentFormDeferred=a,a.done(function(){delete s.forms.formsFetching[n],s.forms.add(o),s.currentForm=o})}else s._currentFormDeferred=s.forms.formsFetching[n],s._currentFormDeferred.done(function(){s.currentForm=s.forms.findWhere({ID:n})});e.when(s._currentFormDeferred).then(function(){s._setupMainModal(!0),c.style.display="inline-block";var e=document.getElementById("ccf-submissions");if(e){var t=e.querySelectorAll(".inside")[0],i=document.createElement("div");i.className="ccf-submission-icon",i.setAttribute("data-icon","");var r=document.createElement("a");r.href="?action=edit&post="+parseInt(l.postId)+"&download_submissions=1&download_submissions_nonce="+l.downloadSubmissionsNonce,r.className="ccf-submission-icon",r.setAttribute("data-icon","");var n=document.getElementById("show-settings-link");i.onclick=function(){n.click()},e.insertBefore(i,e.firstChild.nextSibling.nextSibling),e.insertBefore(r,e.firstChild.nextSibling.nextSibling),wp.ccf.createSubmissionsTable(t)}})}else s._setupMainModal(!0),c.style.display="inline-block";else s._setupMainModal();var d=function(e){e=e||window.event;var t=e.currentTarget?e.currentTarget:e.srcElement,i=t.getAttribute("data-form-id");wp.ccf.toggle(i)};c.addEventListener?c.addEventListener("click",d,!1):c.attachEvent("onclick",d)}}),wp.ccf.createManager()}(jQuery,Backbone,_,ccfSettings);
|
build/js/form.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(function(e,t){"use strict";window.wp=window.wp||{},wp.ccf=wp.ccf||{},wp.ccf.validators=wp.ccf.validators||{};var i={},l={};window.ccfRecaptchaOnload=function(){for(var e=document.querySelectorAll(".ccf-recaptcha-wrapper"),l=function(l){grecaptcha.render(e[s],{sitekey:e[s].getAttribute("data-sitekey"),theme:t.recaptcha_theme,callback:function(){i[l]=!0}})},s=0;e.length>s;s++){var r=e[s].getAttribute("data-form-id");l(r)}};var s=function(e){if(this.wrapper=e,this.errors={},e.className.match(" field-required")){this.inputs=this.wrapper.querySelectorAll(".field-input");var i=this.wrapper.querySelectorAll(".error");i.length&&i[0].parentNode.removeChild(i[0]);var l=!1;if(_.each(this.inputs,function(e){(e.checked&&e.value||e.selected)&&(l=!0)}),!l){this.errors[this.inputs[this.inputs.length-1].getAttribute("name")]={required:!0};var s=document.createElement("div");s.className="error required-error",s.innerHTML=t.required,e.appendChild(s)}}},r=function(e,i){return function(l){this.wrapper=l,this.inputs=this.wrapper.querySelectorAll(".field-input"),this.errors={};for(var s=this.wrapper.querySelectorAll(".error"),r=s.length-1;r>=0;r--)s[r].parentNode.removeChild(s[r]);_.each(this.inputs,function(t){var i=t.getAttribute("name");this.errors[i]={},t.getAttribute("aria-required")&&""===t.value&&(this.errors[i].required=t),e&&e.call(this,t)},this),i&&i.call(this);var c;for(var o in this.errors)if(this.errors.hasOwnProperty(o))for(var n in this.errors[o])c=document.createElement("div"),c.className="error "+n+"-error",c.setAttribute("data-field-name",o),c.innerHTML=t[n],this.errors[o][n].parentNode.insertBefore(c,this.errors[o][n].nextSibling)}};wp.ccf.validators["single-line-text"]=wp.ccf.validators["single-line-text"]||r(),wp.ccf.validators["paragraph-text"]=wp.ccf.validators["paragraph-text"]||r(),wp.ccf.validators.name=wp.ccf.validators.name||r(),wp.ccf.validators.email=wp.ccf.validators.email||r(!1,function(){var e=this.inputs[0].value;if(e){2===this.inputs.length&&e!==this.inputs[1].value&&(this.errors[this.inputs[0].getAttribute("name")].match=this.wrapper.lastChild);var t=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;t.test(e)||(this.errors[this.inputs[0].getAttribute("name")].email=this.wrapper.lastChild)}}),wp.ccf.validators.recaptcha=wp.ccf.validators.recaptcha||function(e,l){this.wrapper=e,this.inputs=this.wrapper.querySelectorAll(".g-recaptcha-response"),this.errors={};for(var s=this.wrapper.querySelectorAll(".error"),r=s.length-1;r>=0;r--)s[r].parentNode.removeChild(s[r]);i[l]||(this.errors["g-recaptcha-response"]={},this.errors["g-recaptcha-response"].recaptcha=this.wrapper.lastChild);var c;for(var o in this.errors)if(this.errors.hasOwnProperty(o))for(var n in this.errors[o])c=document.createElement("div"),c.className="error "+n+"-error",c.setAttribute("data-field-name",o),c.innerHTML=t[n],this.errors[o][n].parentNode.insertBefore(c,this.errors[o][n].nextSibling)},wp.ccf.validators.phone=wp.ccf.validators.phone||r(!1,function(){var e=this.inputs[0].value;if(e){var t=/^[0-9+.)(\- ]+$/;if(t.test(e)){if("us"===this.wrapper.getAttribute("data-phone-format")){var i=e.replace(/[^0-9]/gi,"");10!==i.length&&(this.errors[this.inputs[0].getAttribute("name")].digits=this.wrapper.lastChild)}}else this.errors[this.inputs[0].getAttribute("name")].phone=this.wrapper.lastChild}}),wp.ccf.validators.date=wp.ccf.validators.date||function(e){this.wrapper=e,this.errors={},this.inputs=this.wrapper.querySelectorAll(".field-input");for(var i=this.wrapper.querySelectorAll(".error"),l=i.length-1;l>=0;l--)i[l].parentNode.removeChild(i[l]);var s;_.each(this.inputs,function(i){var l=i.getAttribute("name");if(this.errors[l]={},i.getAttribute("aria-required")&&""===i.value&&(this.errors[l].required=!0,s=document.createElement("div"),s.className="error required-error",1===this.inputs.length?(s.innerHTML=t.required,s.className+=" right-error",i.parentNode.insertBefore(s,i.nextSibling)):(s.innerHTML=t[l.replace(/.*\[(.*?)\]/i,"$1")+"_required"],e.appendChild(s))),""!==i.value){var r=l.replace(/^.*\[(.*?)\]$/,"$1");"date"===r?i.value.match(/^([0-9]|\/)+$/)||(s=document.createElement("div"),s.className="error date-error",s.innerHTML=t.date,e.appendChild(s)):"hour"===r?i.value.match(/^[0-9]+$/)||(s=document.createElement("div"),s.className="error hour-error",s.innerHTML=t.hour,e.appendChild(s)):"minute"===r&&(i.value.match(/^[0-9]+$/)||(s=document.createElement("div"),s.className="error minute-error",s.innerHTML=t.minute,e.appendChild(s)))}},this)},wp.ccf.validators.address=wp.ccf.validators.address||r(),wp.ccf.validators.file=wp.ccf.validators.file||function(e){this.wrapper=e,this.inputs=this.wrapper.querySelectorAll(".field-input"),this.errors={};for(var i=this.wrapper.querySelectorAll(".error"),l=i.length-1;l>=0;l--)i[l].parentNode.removeChild(i[l]);_.each(this.inputs,function(e){var t=e.getAttribute("name");this.errors[t]={},e.getAttribute("aria-required")&&""===e.value&&(this.errors[t].required=e)},this);var s=this.inputs[0],r=this.wrapper.getAttribute("data-max-file-size"),c=this.wrapper.getAttribute("data-file-extensions");if(s.value){if(r){var o=1e3*1e3*parseInt(r);if(s.files)s.files[0].size>o&&(this.errors[this.inputs[0].getAttribute("name")].fileSize=this.wrapper.lastChild);else if("undefined"!=typeof ActiveXObject)try{var n=new ActiveXObject("Scripting.FileSystemObject"),a=n.getFile(s.value);a.size>o&&(this.errors[this.inputs[0].getAttribute("name")].fileSize=this.wrapper.lastChild)}catch(d){}}if(c){var
|
1 |
+
(function(e,t){"use strict";window.wp=window.wp||{},wp.ccf=wp.ccf||{},wp.ccf.validators=wp.ccf.validators||{};var i={},l={};window.ccfRecaptchaOnload=function(){for(var e=document.querySelectorAll(".ccf-recaptcha-wrapper"),l=function(l){grecaptcha.render(e[s],{sitekey:e[s].getAttribute("data-sitekey"),theme:t.recaptcha_theme,callback:function(){i[l]=!0}})},s=0;e.length>s;s++){var r=e[s].getAttribute("data-form-id");l(r)}};var s=function(e){if(this.wrapper=e,this.errors={},e.className.match(" field-required")){this.inputs=this.wrapper.querySelectorAll(".field-input");var i=this.wrapper.querySelectorAll(".error");i.length&&i[0].parentNode.removeChild(i[0]);var l=!1;if(_.each(this.inputs,function(e){(e.checked&&e.value||e.selected)&&(l=!0)}),!l){this.errors[this.inputs[this.inputs.length-1].getAttribute("name")]={required:!0};var s=document.createElement("div");s.className="error required-error",s.innerHTML=t.required,e.appendChild(s)}}},r=function(e,i){return function(l){this.wrapper=l,this.inputs=this.wrapper.querySelectorAll(".field-input"),this.errors={};for(var s=this.wrapper.querySelectorAll(".error"),r=s.length-1;r>=0;r--)s[r].parentNode.removeChild(s[r]);_.each(this.inputs,function(t){var i=t.getAttribute("name");this.errors[i]={},t.getAttribute("aria-required")&&""===t.value&&(this.errors[i].required=t),e&&e.call(this,t)},this),i&&i.call(this);var c;for(var o in this.errors)if(this.errors.hasOwnProperty(o))for(var n in this.errors[o])c=document.createElement("div"),c.className="error "+n+"-error",c.setAttribute("data-field-name",o),c.innerHTML=t[n],this.errors[o][n].parentNode.insertBefore(c,this.errors[o][n].nextSibling)}};wp.ccf.validators["single-line-text"]=wp.ccf.validators["single-line-text"]||r(),wp.ccf.validators["paragraph-text"]=wp.ccf.validators["paragraph-text"]||r(),wp.ccf.validators.name=wp.ccf.validators.name||r(),wp.ccf.validators.email=wp.ccf.validators.email||r(!1,function(){var e=this.inputs[0].value;if(e){2===this.inputs.length&&e!==this.inputs[1].value&&(this.errors[this.inputs[0].getAttribute("name")].match=this.wrapper.lastChild);var t=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;t.test(e)||(this.errors[this.inputs[0].getAttribute("name")].email=this.wrapper.lastChild)}}),wp.ccf.validators.recaptcha=wp.ccf.validators.recaptcha||function(e,l){this.wrapper=e,this.inputs=this.wrapper.querySelectorAll(".g-recaptcha-response"),this.errors={};for(var s=this.wrapper.querySelectorAll(".error"),r=s.length-1;r>=0;r--)s[r].parentNode.removeChild(s[r]);i[l]||(this.errors["g-recaptcha-response"]={},this.errors["g-recaptcha-response"].recaptcha=this.wrapper.lastChild);var c;for(var o in this.errors)if(this.errors.hasOwnProperty(o))for(var n in this.errors[o])c=document.createElement("div"),c.className="error "+n+"-error",c.setAttribute("data-field-name",o),c.innerHTML=t[n],this.errors[o][n].parentNode.insertBefore(c,this.errors[o][n].nextSibling)},wp.ccf.validators.phone=wp.ccf.validators.phone||r(!1,function(){var e=this.inputs[0].value;if(e){var t=/^[0-9+.)(\- ]+$/;if(t.test(e)){if("us"===this.wrapper.getAttribute("data-phone-format")){var i=e.replace(/[^0-9]/gi,"");10!==i.length&&(this.errors[this.inputs[0].getAttribute("name")].digits=this.wrapper.lastChild)}}else this.errors[this.inputs[0].getAttribute("name")].phone=this.wrapper.lastChild}}),wp.ccf.validators.date=wp.ccf.validators.date||function(e){this.wrapper=e,this.errors={},this.inputs=this.wrapper.querySelectorAll(".field-input");for(var i=this.wrapper.querySelectorAll(".error"),l=i.length-1;l>=0;l--)i[l].parentNode.removeChild(i[l]);var s;_.each(this.inputs,function(i){var l=i.getAttribute("name");if(this.errors[l]={},i.getAttribute("aria-required")&&""===i.value&&(this.errors[l].required=!0,s=document.createElement("div"),s.className="error required-error",1===this.inputs.length?(s.innerHTML=t.required,s.className+=" right-error",i.parentNode.insertBefore(s,i.nextSibling)):(s.innerHTML=t[l.replace(/.*\[(.*?)\]/i,"$1")+"_required"],e.appendChild(s))),""!==i.value){var r=l.replace(/^.*\[(.*?)\]$/,"$1");"date"===r?i.value.match(/^([0-9]|\/)+$/)||(s=document.createElement("div"),s.className="error date-error",s.innerHTML=t.date,e.appendChild(s)):"hour"===r?i.value.match(/^[0-9]+$/)||(s=document.createElement("div"),s.className="error hour-error",s.innerHTML=t.hour,e.appendChild(s)):"minute"===r&&(i.value.match(/^[0-9]+$/)||(s=document.createElement("div"),s.className="error minute-error",s.innerHTML=t.minute,e.appendChild(s)))}},this)},wp.ccf.validators.address=wp.ccf.validators.address||r(),wp.ccf.validators.file=wp.ccf.validators.file||function(e){this.wrapper=e,this.inputs=this.wrapper.querySelectorAll(".field-input"),this.errors={};for(var i=this.wrapper.querySelectorAll(".error"),l=i.length-1;l>=0;l--)i[l].parentNode.removeChild(i[l]);_.each(this.inputs,function(e){var t=e.getAttribute("name");this.errors[t]={},e.getAttribute("aria-required")&&""===e.value&&(this.errors[t].required=e)},this);var s=this.inputs[0],r=this.wrapper.getAttribute("data-max-file-size"),c=this.wrapper.getAttribute("data-file-extensions");if(s.value){if(r){var o=1e3*1e3*parseInt(r);if(s.files)s.files[0].size>o&&(this.errors[this.inputs[0].getAttribute("name")].fileSize=this.wrapper.lastChild);else if("undefined"!=typeof ActiveXObject)try{var n=new ActiveXObject("Scripting.FileSystemObject"),a=n.getFile(s.value);a.size>o&&(this.errors[this.inputs[0].getAttribute("name")].fileSize=this.wrapper.lastChild)}catch(d){}}if(c){var u=c.replace(";",",").toLowerCase();if(u=u.replace(/\s+/g,""),u=u.split(","),u.length){var f=s.value.replace(/^.*\.(.+)$/g,"$1").toLowerCase();-1===_.indexOf(u,f)&&(this.errors[this.inputs[0].getAttribute("name")].fileExtension=this.wrapper.lastChild)}}}var p;for(var h in this.errors)if(this.errors.hasOwnProperty(h))for(var m in this.errors[h])p=document.createElement("div"),p.className="error "+m+"-error",p.setAttribute("data-field-name",h),p.innerHTML=t[m],"fileExtension"===m&&c?p.innerHTML+=" ("+c+")":"fileSize"===m&&r&&(p.innerHTML+=" "+r+" MB"),this.errors[h][m].parentNode.insertBefore(p,this.errors[h][m].nextSibling)},wp.ccf.validators.website=wp.ccf.validators.website||r(function(e){if(e.value){var t=/^http(s?)\:\/\/(([a-zA-Z0-9\-\._]+(\.[a-zA-Z0-9\-\._]+)+)|localhost)(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_]*)?([\d\w\.\/\%\+\-\=\&\?\:\\\"\'\,\|\~\;]*)$/;t.test(e.value)||(this.errors[e.getAttribute("name")].website=e)}}),wp.ccf.validators.checkboxes=wp.ccf.validators.checkboxes||s,wp.ccf.validators.dropdown=wp.ccf.validators.dropdown||r(),wp.ccf.validators.radio=wp.ccf.validators.radio||s,wp.ccf.iframeOnload=function(e){l[e]&&l[e]()},wp.ccf.setupDOM=wp.ccf.setupDOM||function(){for(var s=document.querySelectorAll(".ccf-datepicker"),r=0;s.length>r;r++)e(s[r]).datepicker();var c=document.querySelectorAll(".ccf-form-wrapper");c.length>=1&&_.each(c,function(s){function r(t){var i=s.querySelectorAll(".field"),l=[];if(_.each(i,function(e){if(!e.className.match(/ skip-field/i)){var t=e.getAttribute("data-field-type"),i=e.getAttribute("data-field-slug");h[i]=e;var s=new wp.ccf.validators[t](e,n);if(_.size(s.errors)){var r=0;for(var c in s.errors)s.errors.hasOwnProperty(c)&&_.size(s.errors[c])&&r++;r>0&&l.push(s)}}}),!l.length)return o.trigger("ccfFormSuccess"),s.className=s.className.replace(/ loading/i,"")+" loading",u.animate({opacity:100}),!0;t.returnFalse=!1,t.preventDefault&&t.preventDefault(),o.trigger("ccfFormError",l);var r=e(window).scrollTop(),c=r+e(window).height(),a=e(l[0].wrapper),d=a.offset(),f=d.top,p=f+a.height();return f>=r&&c>=p||e("html, body").animate({scrollTop:a.offset().top},500),!1}var c=s.querySelectorAll(".ccf-form")[0],o=e(c),n=parseInt(s.getAttribute("data-form-id")),a=c.querySelectorAll(".ccf-submit-button")[0],d=document.getElementById("ccf_form_frame_"+n),u=e(c.querySelectorAll(".loading-img")[0]),f=e(d),p=e(a),h={};l[n]=function(){var l,s=f.contents().find("body").text();if(!s)return!1;c.className=c.className.replace(/ loading/i,""),u.animate({opacity:0}),i[n]=!1;try{l=e.parseJSON(s)}catch(r){var o=document.createElement("div");return o.className="error unknown-error",o.innerText=t.unknown,a.parentNode.appendChild(o),!1}var d=a.parentNode.querySelectorAll(".error");d.length&&d[0].parentNode.removeChild(d[0]),l.success?"text"===l.action_type&&l.completion_message?(c.innerHTML=l.completion_message,e("html, body").animate({scrollTop:e(c).offset().top},500)):"redirect"===l.action_type&&l.completion_redirect_url&&(document.location=l.completion_redirect_url):l.field_errors&&_.each(l.field_errors,function(e,t){var i=h[t].querySelectorAll(".field-input");for(var l in e)if(e.hasOwnProperty(l)){var s=document.createElement("div");s.className="error "+l+"-error",s.innerHTML=e[l],1===i.length?i[i.length-1].parentNode.insertBefore(s,i[i.length-1].nextSibling):h[t].appendChild(s)}})},p.on("click",function(e){return e.preventDefault(),c.target="ccf_form_frame_"+n,c.action=t.ajaxurl,o.submit(),!1}),o.on("submit",r)})},e(document).ready(wp.ccf.setupDOM)})(jQuery,ccfSettings);
|
classes/class-ccf-api.php
CHANGED
@@ -398,6 +398,8 @@ class CCF_API extends WP_JSON_Posts {
|
|
398 |
$_post['completionRedirectUrl'] = esc_url_raw( get_post_meta( $post['ID'], 'ccf_form_completion_redirect_url', true ) );
|
399 |
$_post['completionMessage'] = esc_html( get_post_meta( $post['ID'], 'ccf_form_completion_message', true ) );
|
400 |
$_post['sendEmailNotifications'] = (bool) get_post_meta( $post['ID'], 'ccf_form_send_email_notifications', true );
|
|
|
|
|
401 |
$_post['emailNotificationAddresses'] = esc_html( get_post_meta( $post['ID'], 'ccf_form_email_notification_addresses', true ) );
|
402 |
$_post['emailNotificationFromType'] = esc_html( get_post_meta( $post['ID'], 'ccf_form_email_notification_from_type', true ) );
|
403 |
$_post['emailNotificationFromAddress'] = esc_html( get_post_meta( $post['ID'], 'ccf_form_email_notification_from_address', true ) );
|
@@ -552,6 +554,14 @@ class CCF_API extends WP_JSON_Posts {
|
|
552 |
update_post_meta( $result, 'ccf_form_send_email_notifications', (bool) $data['sendEmailNotifications'] );
|
553 |
}
|
554 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
555 |
if ( isset( $data['emailNotificationAddresses'] ) ) {
|
556 |
update_post_meta( $result, 'ccf_form_email_notification_addresses', sanitize_text_field( $data['emailNotificationAddresses'] ) );
|
557 |
}
|
@@ -822,6 +832,14 @@ class CCF_API extends WP_JSON_Posts {
|
|
822 |
update_post_meta( $result, 'ccf_form_completion_message', sanitize_text_field( $data['completionMessage'] ) );
|
823 |
}
|
824 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
825 |
if ( isset( $data['completionRedirectUrl'] ) ) {
|
826 |
update_post_meta( $result, 'ccf_form_completion_redirect_url', esc_url_raw( $data['completionRedirectUrl'] ) );
|
827 |
}
|
398 |
$_post['completionRedirectUrl'] = esc_url_raw( get_post_meta( $post['ID'], 'ccf_form_completion_redirect_url', true ) );
|
399 |
$_post['completionMessage'] = esc_html( get_post_meta( $post['ID'], 'ccf_form_completion_message', true ) );
|
400 |
$_post['sendEmailNotifications'] = (bool) get_post_meta( $post['ID'], 'ccf_form_send_email_notifications', true );
|
401 |
+
$_post['pause'] = (bool) get_post_meta( $post['ID'], 'ccf_form_pause', true );
|
402 |
+
$_post['pauseMessage'] = esc_html( get_post_meta( $post['ID'], 'ccf_form_pause_message', true ) );
|
403 |
$_post['emailNotificationAddresses'] = esc_html( get_post_meta( $post['ID'], 'ccf_form_email_notification_addresses', true ) );
|
404 |
$_post['emailNotificationFromType'] = esc_html( get_post_meta( $post['ID'], 'ccf_form_email_notification_from_type', true ) );
|
405 |
$_post['emailNotificationFromAddress'] = esc_html( get_post_meta( $post['ID'], 'ccf_form_email_notification_from_address', true ) );
|
554 |
update_post_meta( $result, 'ccf_form_send_email_notifications', (bool) $data['sendEmailNotifications'] );
|
555 |
}
|
556 |
|
557 |
+
if ( isset( $data['pause'] ) ) {
|
558 |
+
update_post_meta( $result, 'ccf_form_pause', (bool) $data['pause'] );
|
559 |
+
}
|
560 |
+
|
561 |
+
if ( isset( $data['pauseMessage'] ) ) {
|
562 |
+
update_post_meta( $result, 'ccf_form_pause_message', sanitize_text_field( $data['pauseMessage'] ) );
|
563 |
+
}
|
564 |
+
|
565 |
if ( isset( $data['emailNotificationAddresses'] ) ) {
|
566 |
update_post_meta( $result, 'ccf_form_email_notification_addresses', sanitize_text_field( $data['emailNotificationAddresses'] ) );
|
567 |
}
|
832 |
update_post_meta( $result, 'ccf_form_completion_message', sanitize_text_field( $data['completionMessage'] ) );
|
833 |
}
|
834 |
|
835 |
+
if ( isset( $data['pause'] ) ) {
|
836 |
+
update_post_meta( $result, 'ccf_form_pause', (bool) $data['pause'] );
|
837 |
+
}
|
838 |
+
|
839 |
+
if ( isset( $data['pauseMessage'] ) ) {
|
840 |
+
update_post_meta( $result, 'ccf_form_pause_message', sanitize_text_field( $data['pauseMessage'] ) );
|
841 |
+
}
|
842 |
+
|
843 |
if ( isset( $data['completionRedirectUrl'] ) ) {
|
844 |
update_post_meta( $result, 'ccf_form_completion_redirect_url', esc_url_raw( $data['completionRedirectUrl'] ) );
|
845 |
}
|
classes/class-ccf-field-renderer.php
CHANGED
@@ -156,7 +156,7 @@ class CCF_Field_Renderer {
|
|
156 |
ob_start();
|
157 |
?>
|
158 |
|
159 |
-
<div data-field-type="recaptcha" data-field-slug="<?php echo esc_attr( $slug ); ?>" class="<?php if ( ! empty( $errors ) ) : ?>field-error<?php endif; ?> field <?php echo esc_attr( $slug ); ?>
|
160 |
<label for="ccf_field_<?php echo esc_attr( $slug ); ?>">
|
161 |
<span class="required">*</span>
|
162 |
<?php echo esc_html( $label ); ?>
|
156 |
ob_start();
|
157 |
?>
|
158 |
|
159 |
+
<div data-field-type="recaptcha" data-field-slug="<?php echo esc_attr( $slug ); ?>" class="<?php if ( ! empty( $errors ) ) : ?>field-error<?php endif; ?> field <?php echo esc_attr( $slug ); ?> recaptcha field-<?php echo (int) $field_id; ?> <?php echo esc_attr( $class_name ); ?> <?php if ( ! empty( $required ) ) : ?>field-required<?php endif; ?>">
|
160 |
<label for="ccf_field_<?php echo esc_attr( $slug ); ?>">
|
161 |
<span class="required">*</span>
|
162 |
<?php echo esc_html( $label ); ?>
|
classes/class-ccf-form-cpt.php
CHANGED
@@ -47,7 +47,7 @@ class CCF_Form_CPT {
|
|
47 |
return;
|
48 |
}
|
49 |
|
50 |
-
if ( ! current_user_can( 'manage_options
|
51 |
return;
|
52 |
}
|
53 |
|
47 |
return;
|
48 |
}
|
49 |
|
50 |
+
if ( ! current_user_can( 'manage_options' ) ) {
|
51 |
return;
|
52 |
}
|
53 |
|
classes/class-ccf-form-manager.php
CHANGED
@@ -170,6 +170,18 @@ class CCF_Form_Manager {
|
|
170 |
<label for="ccf_form_completion_message"><?php esc_html_e( 'Completion Message:', 'custom-contact-forms' ); ?></label>
|
171 |
<textarea class="widefat form-completion-message" id="ccf_form_completion_message" name="completion-message">{{ form.completionMessage }}</textarea>
|
172 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
</div>
|
174 |
</script>
|
175 |
|
@@ -716,7 +728,7 @@ class CCF_Form_Manager {
|
|
716 |
<label for="ccf-field-address-type"><?php esc_html_e( 'Type:', 'custom-contact-forms' ); ?></label>
|
717 |
<select id="ccf-field-address-type" class="field-address-type">
|
718 |
<option value="us"><?php esc_html_e( 'United States', 'custom-contact-forms' ); ?></option>
|
719 |
-
<option value="international" <# if ( 'international' === field.
|
720 |
</select>
|
721 |
</div>
|
722 |
<div>
|
@@ -1509,6 +1521,7 @@ class CCF_Form_Manager {
|
|
1509 |
'invalidDate' => esc_html__( 'Invalid date', 'custom-contact-forms' ),
|
1510 |
'allLabels' => array_merge( $field_labels, $structure_field_labels, $special_field_labels ),
|
1511 |
'thickboxTitle' => esc_html__( 'Form Submission', 'custom-contact-forms' ),
|
|
|
1512 |
'skipFields' => apply_filters( 'ccf_no_submission_display_fields', array( 'html', 'section-header', 'recaptcha' ) ),
|
1513 |
) );
|
1514 |
|
170 |
<label for="ccf_form_completion_message"><?php esc_html_e( 'Completion Message:', 'custom-contact-forms' ); ?></label>
|
171 |
<textarea class="widefat form-completion-message" id="ccf_form_completion_message" name="completion-message">{{ form.completionMessage }}</textarea>
|
172 |
</p>
|
173 |
+
<p>
|
174 |
+
<label for="ccf_form_pause"><?php esc_html_e( 'Pause form:', 'custom-contact-forms' ); ?></label>
|
175 |
+
|
176 |
+
<select name="form_pause" class="form-pause" id="ccf_form_pause">
|
177 |
+
<option value="0"><?php esc_html_e( 'No', 'custom-contact-forms' ); ?></option>
|
178 |
+
<option value="1" <# if ( form.pause ) { #>selected<# } #>><?php esc_html_e( 'Yes', 'custom-contact-forms' ); ?></option>
|
179 |
+
</select>
|
180 |
+
</p>
|
181 |
+
<p class="pause-message">
|
182 |
+
<label for="ccf_form_pause_message"><?php esc_html_e( 'Pause Message:', 'custom-contact-forms' ); ?></label>
|
183 |
+
<textarea class="widefat form-pause-message" id="ccf_form_pause_message" name="pause-message">{{ form.pauseMessage }}</textarea>
|
184 |
+
</p>
|
185 |
</div>
|
186 |
</script>
|
187 |
|
728 |
<label for="ccf-field-address-type"><?php esc_html_e( 'Type:', 'custom-contact-forms' ); ?></label>
|
729 |
<select id="ccf-field-address-type" class="field-address-type">
|
730 |
<option value="us"><?php esc_html_e( 'United States', 'custom-contact-forms' ); ?></option>
|
731 |
+
<option value="international" <# if ( 'international' === field.addressType ) { #>selected="selected"<# } #>><?php esc_html_e( 'International', 'custom-contact-forms' ); ?></option>
|
732 |
</select>
|
733 |
</div>
|
734 |
<div>
|
1521 |
'invalidDate' => esc_html__( 'Invalid date', 'custom-contact-forms' ),
|
1522 |
'allLabels' => array_merge( $field_labels, $structure_field_labels, $special_field_labels ),
|
1523 |
'thickboxTitle' => esc_html__( 'Form Submission', 'custom-contact-forms' ),
|
1524 |
+
'pauseMessage' => esc_html__( 'This form is paused right now. Check back later!', 'custom-contact-forms' ),
|
1525 |
'skipFields' => apply_filters( 'ccf_no_submission_display_fields', array( 'html', 'section-header', 'recaptcha' ) ),
|
1526 |
) );
|
1527 |
|
classes/class-ccf-form-renderer.php
CHANGED
@@ -103,13 +103,28 @@ class CCF_Form_Renderer {
|
|
103 |
|
104 |
$fields = get_post_meta( $form_id, 'ccf_attached_fields', true );
|
105 |
|
|
|
|
|
106 |
if ( empty( $fields ) ) {
|
107 |
return '';
|
108 |
}
|
109 |
|
110 |
ob_start();
|
111 |
|
112 |
-
if ( ! empty( $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
|
114 |
$completion_message = get_post_meta( $form_id, 'ccf_form_completion_message', true );
|
115 |
?>
|
103 |
|
104 |
$fields = get_post_meta( $form_id, 'ccf_attached_fields', true );
|
105 |
|
106 |
+
$pause = get_post_meta( $form_id, 'ccf_form_pause', true );
|
107 |
+
|
108 |
if ( empty( $fields ) ) {
|
109 |
return '';
|
110 |
}
|
111 |
|
112 |
ob_start();
|
113 |
|
114 |
+
if ( ! empty( $pause ) ) {
|
115 |
+
$pause_message = get_post_meta( $form_id, 'ccf_form_pause_message', true );
|
116 |
+
?>
|
117 |
+
|
118 |
+
<div class="ccf-form-pause form-id-<?php echo (int) $form_id; ?>">
|
119 |
+
<?php if ( empty( $pause_message ) ) : ?>
|
120 |
+
<?php esc_html_e( 'This form is paused right now. Check back later!', 'custom-contact-forms' ); ?>
|
121 |
+
<?php else : ?>
|
122 |
+
<?php echo esc_html( $pause_message ); ?>
|
123 |
+
<?php endif; ?>
|
124 |
+
</div>
|
125 |
+
|
126 |
+
<?php
|
127 |
+
} elseif ( ! empty( $_POST['ccf_form'] ) && ! empty( $_POST['form_id'] ) && $_POST['form_id'] == $form_id && empty( CCF_Form_Handler::factory()->errors_by_form[$form_id] ) ) {
|
128 |
|
129 |
$completion_message = get_post_meta( $form_id, 'ccf_form_completion_message', true );
|
130 |
?>
|
custom-contact-forms.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: http://www.taylorlovett.com
|
5 |
* Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
|
6 |
* Author: Taylor Lovett
|
7 |
-
* Version: 6.6.
|
8 |
* Author URI: http://www.taylorlovett.com
|
9 |
*/
|
10 |
|
4 |
* Plugin URI: http://www.taylorlovett.com
|
5 |
* Description: Build beautiful custom forms the WordPress way. View live previews of your forms while you build them.
|
6 |
* Author: Taylor Lovett
|
7 |
+
* Version: 6.6.3
|
8 |
* Author URI: http://www.taylorlovett.com
|
9 |
*/
|
10 |
|
js/manager/models.js
CHANGED
@@ -100,7 +100,9 @@
|
|
100 |
emailNotificationAddresses: ccfSettings.adminEmail,
|
101 |
emailNotificationFromType: 'default',
|
102 |
emailNotificationFromAddress: '',
|
103 |
-
emailNotificationFromField: ''
|
|
|
|
|
104 |
};
|
105 |
|
106 |
defaults = _.defaults( defaults, this.constructor.__super__.defaults );
|
100 |
emailNotificationAddresses: ccfSettings.adminEmail,
|
101 |
emailNotificationFromType: 'default',
|
102 |
emailNotificationFromAddress: '',
|
103 |
+
emailNotificationFromField: '',
|
104 |
+
pause: false,
|
105 |
+
pauseMessage: ccfSettings.pauseMessage
|
106 |
};
|
107 |
|
108 |
defaults = _.defaults( defaults, this.constructor.__super__.defaults );
|
js/manager/views.js
CHANGED
@@ -778,6 +778,7 @@
|
|
778 |
'blur input': 'save',
|
779 |
'change select': 'save',
|
780 |
'change select.form-completion-action-type': 'toggleCompletionFields',
|
|
|
781 |
'change select.form-send-email-notifications': 'toggleNotificationFields'
|
782 |
},
|
783 |
|
@@ -805,6 +806,18 @@
|
|
805 |
}
|
806 |
},
|
807 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
808 |
save: function( $promise ) {
|
809 |
var SELF = this;
|
810 |
|
@@ -822,6 +835,12 @@
|
|
822 |
var buttonText = this.el.querySelectorAll( '.form-button-text' )[0].value;
|
823 |
this.model.set( 'buttonText', buttonText );
|
824 |
|
|
|
|
|
|
|
|
|
|
|
|
|
825 |
var completionMessage = this.el.querySelectorAll( '.form-completion-message' )[0].value;
|
826 |
this.model.set( 'completionMessage', completionMessage );
|
827 |
|
@@ -845,6 +864,8 @@
|
|
845 |
|
846 |
this.toggleCompletionFields();
|
847 |
|
|
|
|
|
848 |
wp.ccf.dispatcher.on( 'saveFormSettings', this.save, this );
|
849 |
wp.ccf.dispatcher.on( 'mainViewChange', this.save, this );
|
850 |
|
778 |
'blur input': 'save',
|
779 |
'change select': 'save',
|
780 |
'change select.form-completion-action-type': 'toggleCompletionFields',
|
781 |
+
'change select.form-pause': 'togglePauseFields',
|
782 |
'change select.form-send-email-notifications': 'toggleNotificationFields'
|
783 |
},
|
784 |
|
806 |
}
|
807 |
},
|
808 |
|
809 |
+
togglePauseFields: function() {
|
810 |
+
|
811 |
+
var pause = this.el.querySelectorAll( '.form-pause' )[0].value;
|
812 |
+
var pauseMessage = this.el.querySelectorAll( '.pause-message' )[0];
|
813 |
+
|
814 |
+
if ( parseInt( pause ) ) {
|
815 |
+
pauseMessage.style.display = 'block';
|
816 |
+
} else {
|
817 |
+
pauseMessage.style.display = 'none';
|
818 |
+
}
|
819 |
+
},
|
820 |
+
|
821 |
save: function( $promise ) {
|
822 |
var SELF = this;
|
823 |
|
835 |
var buttonText = this.el.querySelectorAll( '.form-button-text' )[0].value;
|
836 |
this.model.set( 'buttonText', buttonText );
|
837 |
|
838 |
+
var pause = this.el.querySelectorAll( '.form-pause' )[0].value;
|
839 |
+
this.model.set( 'pause', ( parseInt( pause ) ) ? true : false );
|
840 |
+
|
841 |
+
var pauseMessage = this.el.querySelectorAll( '.form-pause-message' )[0].value;
|
842 |
+
this.model.set( 'pauseMessage', pauseMessage );
|
843 |
+
|
844 |
var completionMessage = this.el.querySelectorAll( '.form-completion-message' )[0].value;
|
845 |
this.model.set( 'completionMessage', completionMessage );
|
846 |
|
864 |
|
865 |
this.toggleCompletionFields();
|
866 |
|
867 |
+
this.togglePauseFields();
|
868 |
+
|
869 |
wp.ccf.dispatcher.on( 'saveFormSettings', this.save, this );
|
870 |
wp.ccf.dispatcher.on( 'mainViewChange', this.save, this );
|
871 |
|
languages/custom-contact-forms-de_DE.mo
ADDED
Binary file
|
languages/custom-contact-forms-de_DE.po
ADDED
@@ -0,0 +1,1362 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2014 Taylor Lovett
|
2 |
+
# This file is distributed under the same license as the Editorial Access Manager package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Custom Contact Forms\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://github.com/tlovett1/editorial-access-manager/issues\n"
|
7 |
+
"POT-Creation-Date: 2015-03-17 23:04-0500\n"
|
8 |
+
"PO-Revision-Date: 2015-03-28 18:08+0100\n"
|
9 |
+
"Last-Translator: Taylor Lovett <tlovett88@gmail.com>\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 1.7.5\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
+
"X-Poedit-Basepath: .\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,"
|
18 |
+
"_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;esc_html_e;esc_html__;esc_attr__;"
|
19 |
+
"esc_attr_e\n"
|
20 |
+
"X-Textdomain-Support: yes\n"
|
21 |
+
"Language-Team: \n"
|
22 |
+
"Language: de\n"
|
23 |
+
"X-Poedit-SearchPath-0: ..\n"
|
24 |
+
|
25 |
+
#: ../classes/class-ccf-api.php:146
|
26 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:82
|
27 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:130
|
28 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:151
|
29 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:157
|
30 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:176
|
31 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:72
|
32 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:143
|
33 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:149
|
34 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:168
|
35 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta-posts.php:30
|
36 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-pages.php:69
|
37 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-pages.php:88
|
38 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-pages.php:106
|
39 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:74
|
40 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:271
|
41 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:319
|
42 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:364
|
43 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:730
|
44 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:758
|
45 |
+
msgid "Invalid post ID."
|
46 |
+
msgstr "Ungültige Artikel-ID."
|
47 |
+
|
48 |
+
#: ../classes/class-ccf-api.php:150
|
49 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:86
|
50 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:275
|
51 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:517
|
52 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:529
|
53 |
+
msgid "Sorry, you cannot read this post."
|
54 |
+
msgstr "Sorry, du darfst diesen Beitrag nicht lesen."
|
55 |
+
|
56 |
+
#: ../classes/class-ccf-api.php:206
|
57 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:122
|
58 |
+
#, php-format
|
59 |
+
msgid "The post type \"%s\" is not valid"
|
60 |
+
msgstr "Der Post-Typ \"%s\" ist nicht gültig."
|
61 |
+
|
62 |
+
#: ../classes/class-ccf-api.php:427 ../classes/class-ccf-api.php:722
|
63 |
+
#: ../classes/class-ccf-api.php:747 ../classes/class-ccf-api.php:776
|
64 |
+
#: ../classes/class-ccf-api.php:869
|
65 |
+
msgid "Invalid form ID."
|
66 |
+
msgstr "Ungültige Form ID."
|
67 |
+
|
68 |
+
#: ../classes/class-ccf-api.php:432 ../classes/class-ccf-api.php:707
|
69 |
+
#: ../classes/class-ccf-api.php:727
|
70 |
+
msgid "Sorry, you cannot view forms."
|
71 |
+
msgstr "Es tut uns leid, Sie können die Formulare nicht sehen."
|
72 |
+
|
73 |
+
#: ../classes/class-ccf-api.php:753 ../classes/class-ccf-api.php:782
|
74 |
+
msgid "Invalid form."
|
75 |
+
msgstr "Ungültiges Formular."
|
76 |
+
|
77 |
+
#: ../classes/class-ccf-api.php:757
|
78 |
+
msgid "Sorry, you cannot view this form."
|
79 |
+
msgstr "Es tut uns leid, Sie können das Formular nicht sehen."
|
80 |
+
|
81 |
+
#: ../classes/class-ccf-api.php:880
|
82 |
+
msgid "The form cannot be deleted."
|
83 |
+
msgstr "Das Formular kann nicht gelöscht werden."
|
84 |
+
|
85 |
+
#: ../classes/class-ccf-api.php:884
|
86 |
+
msgid "Permanently deleted form"
|
87 |
+
msgstr "Dauerhaft gelöschtes Formular"
|
88 |
+
|
89 |
+
#: ../classes/class-ccf-api.php:887
|
90 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:381
|
91 |
+
msgid "Deleted post"
|
92 |
+
msgstr "Gelöschter Beitrag"
|
93 |
+
|
94 |
+
#: ../classes/class-ccf-choice-cpt.php:29
|
95 |
+
msgid "Form Field Choices"
|
96 |
+
msgstr "Formularfelder zur Auswahl"
|
97 |
+
|
98 |
+
#: ../classes/class-ccf-custom-contact-forms.php:46
|
99 |
+
#, php-format
|
100 |
+
msgid ""
|
101 |
+
"Custom Contact Forms will not work unless pretty permalinks (not default) are enabled. "
|
102 |
+
"Please update your <a href=\"%s\">permalinks settings</a>."
|
103 |
+
msgstr ""
|
104 |
+
"Custom Contact Forms funktioniert nur, wenn \"pretty permalinks\" (nicht default) "
|
105 |
+
"aktiviert sibd. Bitte update deine <a href=\"%s\">Permalinks-Einstellungen</a>."
|
106 |
+
|
107 |
+
#: ../classes/class-ccf-custom-contact-forms.php:64
|
108 |
+
#, php-format
|
109 |
+
msgid "<a href=\"%s\">Forms and Submissions</a>"
|
110 |
+
msgstr "<a href=\"%s\">Formulare und Einsendungen</a>"
|
111 |
+
|
112 |
+
#: ../classes/class-ccf-export.php:58 ../classes/class-ccf-form-cpt.php:389
|
113 |
+
msgid "Forms and Submissions"
|
114 |
+
msgstr "Formulare und Einsendungen"
|
115 |
+
|
116 |
+
#: ../classes/class-ccf-export.php:88
|
117 |
+
msgid "Import"
|
118 |
+
msgstr "Import"
|
119 |
+
|
120 |
+
#: ../classes/class-ccf-field-cpt.php:30
|
121 |
+
msgid "Form Fields"
|
122 |
+
msgstr "Formularfelder"
|
123 |
+
|
124 |
+
#: ../classes/class-ccf-field-renderer.php:122
|
125 |
+
#, php-format
|
126 |
+
msgid "Allowed file extensions are %s. "
|
127 |
+
msgstr "Erlaubte Dateierweiterungen sind %s. "
|
128 |
+
|
129 |
+
#: ../classes/class-ccf-field-renderer.php:124
|
130 |
+
#, php-format
|
131 |
+
msgid "Max file size is %d MB. "
|
132 |
+
msgstr "max. Dateigröße %d (in MB):"
|
133 |
+
|
134 |
+
#: ../classes/class-ccf-field-renderer.php:955
|
135 |
+
#: ../classes/class-ccf-field-renderer.php:976 ../classes/class-ccf-form-manager.php:1073
|
136 |
+
#: ../classes/class-ccf-form-manager.php:1094
|
137 |
+
msgid "HH"
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: ../classes/class-ccf-field-renderer.php:959
|
141 |
+
#: ../classes/class-ccf-field-renderer.php:980 ../classes/class-ccf-form-manager.php:1077
|
142 |
+
#: ../classes/class-ccf-form-manager.php:1098
|
143 |
+
msgid "MM"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: ../classes/class-ccf-field-renderer.php:963
|
147 |
+
#: ../classes/class-ccf-field-renderer.php:984 ../classes/class-ccf-form-manager.php:1081
|
148 |
+
#: ../classes/class-ccf-form-manager.php:1102
|
149 |
+
msgid "AM"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: ../classes/class-ccf-field-renderer.php:964
|
153 |
+
#: ../classes/class-ccf-field-renderer.php:985 ../classes/class-ccf-form-manager.php:1082
|
154 |
+
#: ../classes/class-ccf-form-manager.php:1103
|
155 |
+
msgid "PM"
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: ../classes/class-ccf-field-renderer.php:971 ../classes/class-ccf-form-cpt.php:323
|
159 |
+
#: ../classes/class-ccf-form-manager.php:241 ../classes/class-ccf-form-manager.php:254
|
160 |
+
#: ../classes/class-ccf-form-manager.php:1089 ../classes/class-ccf-form-manager.php:1272
|
161 |
+
#: ../classes/class-ccf-form-manager.php:1286 ../classes/class-ccf-form-manager.php:1424
|
162 |
+
msgid "Date"
|
163 |
+
msgstr "Datum"
|
164 |
+
|
165 |
+
#: ../classes/class-ccf-form-cpt.php:90
|
166 |
+
msgid "Form Submission Columns"
|
167 |
+
msgstr "Spalten der Formulareinsendungen"
|
168 |
+
|
169 |
+
#: ../classes/class-ccf-form-cpt.php:139 ../classes/class-ccf-form-cpt.php:157
|
170 |
+
#: ../classes/class-ccf-form-cpt.php:321 ../classes/class-ccf-form-manager.php:244
|
171 |
+
#: ../classes/class-ccf-form-manager.php:257
|
172 |
+
msgid "Submissions"
|
173 |
+
msgstr "Einsendungen"
|
174 |
+
|
175 |
+
#: ../classes/class-ccf-form-cpt.php:153
|
176 |
+
msgid "At a Glance"
|
177 |
+
msgstr "Überblick"
|
178 |
+
|
179 |
+
#: ../classes/class-ccf-form-cpt.php:154
|
180 |
+
msgid "Preview"
|
181 |
+
msgstr "Vorschau"
|
182 |
+
|
183 |
+
#: ../classes/class-ccf-form-cpt.php:174
|
184 |
+
msgid "Save your new form to see a preview."
|
185 |
+
msgstr "Speichere dein neues Formular für eine Vorschau."
|
186 |
+
|
187 |
+
#: ../classes/class-ccf-form-cpt.php:211
|
188 |
+
msgid "Created on:"
|
189 |
+
msgstr "Erstellt am:"
|
190 |
+
|
191 |
+
#: ../classes/class-ccf-form-cpt.php:214
|
192 |
+
msgid "Author:"
|
193 |
+
msgstr "Autor:"
|
194 |
+
|
195 |
+
#: ../classes/class-ccf-form-cpt.php:217
|
196 |
+
msgid "Number of fields:"
|
197 |
+
msgstr "Anzahl an Feldern:"
|
198 |
+
|
199 |
+
#: ../classes/class-ccf-form-cpt.php:220
|
200 |
+
msgid "Number of submissions:"
|
201 |
+
msgstr "Anzahl an Ergebnissen:"
|
202 |
+
|
203 |
+
#: ../classes/class-ccf-form-cpt.php:226
|
204 |
+
msgid "Move to Trash"
|
205 |
+
msgstr "In den Papierkorb"
|
206 |
+
|
207 |
+
#: ../classes/class-ccf-form-cpt.php:230
|
208 |
+
msgid "Export"
|
209 |
+
msgstr "exportieren"
|
210 |
+
|
211 |
+
#: ../classes/class-ccf-form-cpt.php:259 ../classes/class-ccf-form-manager.php:1214
|
212 |
+
msgid "(No title)"
|
213 |
+
msgstr "(kein Titel)"
|
214 |
+
|
215 |
+
#: ../classes/class-ccf-form-cpt.php:264
|
216 |
+
msgid "Manage Form"
|
217 |
+
msgstr "Formular bearbeiten"
|
218 |
+
|
219 |
+
#: ../classes/class-ccf-form-cpt.php:319
|
220 |
+
msgid "Form Title"
|
221 |
+
msgstr "Name des Formulars"
|
222 |
+
|
223 |
+
#: ../classes/class-ccf-form-cpt.php:320 ../classes/class-ccf-form-manager.php:242
|
224 |
+
#: ../classes/class-ccf-form-manager.php:255
|
225 |
+
msgid "Author"
|
226 |
+
msgstr "Autor"
|
227 |
+
|
228 |
+
#: ../classes/class-ccf-form-cpt.php:322 ../classes/class-ccf-form-manager.php:243
|
229 |
+
#: ../classes/class-ccf-form-manager.php:256
|
230 |
+
msgid "Number of Fields"
|
231 |
+
msgstr "Anzahl an Feldern"
|
232 |
+
|
233 |
+
#: ../classes/class-ccf-form-cpt.php:356
|
234 |
+
msgid "Unpublished"
|
235 |
+
msgstr "Unveröffentlicht"
|
236 |
+
|
237 |
+
#: ../classes/class-ccf-form-cpt.php:358
|
238 |
+
msgid "Y/m/d g:i:s A"
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: ../classes/class-ccf-form-cpt.php:365
|
242 |
+
#, php-format
|
243 |
+
msgid "%s ago"
|
244 |
+
msgstr ""
|
245 |
+
|
246 |
+
#: ../classes/class-ccf-form-cpt.php:367
|
247 |
+
msgid "Y/m/d"
|
248 |
+
msgstr "J/M/T"
|
249 |
+
|
250 |
+
#: ../classes/class-ccf-form-cpt.php:383 ../classes/class-ccf-form-cpt.php:395
|
251 |
+
msgid "Forms"
|
252 |
+
msgstr "Formulare"
|
253 |
+
|
254 |
+
#: ../classes/class-ccf-form-cpt.php:384
|
255 |
+
msgid "Form"
|
256 |
+
msgstr "Formular"
|
257 |
+
|
258 |
+
#: ../classes/class-ccf-form-cpt.php:385 ../classes/class-ccf-form-cpt.php:388
|
259 |
+
#: ../classes/class-ccf-form-manager.php:81
|
260 |
+
msgid "New Form"
|
261 |
+
msgstr "Neues Formular"
|
262 |
+
|
263 |
+
#: ../classes/class-ccf-form-cpt.php:386
|
264 |
+
msgid "Add New Form"
|
265 |
+
msgstr "Neues Formular hinzufügen"
|
266 |
+
|
267 |
+
#: ../classes/class-ccf-form-cpt.php:387
|
268 |
+
msgid "Edit Form"
|
269 |
+
msgstr "Formular bearbeiten"
|
270 |
+
|
271 |
+
#: ../classes/class-ccf-form-cpt.php:390
|
272 |
+
msgid "View Form"
|
273 |
+
msgstr "Formular anzeigen"
|
274 |
+
|
275 |
+
#: ../classes/class-ccf-form-cpt.php:391
|
276 |
+
msgid "Search Forms"
|
277 |
+
msgstr "Formular durchsuchen"
|
278 |
+
|
279 |
+
#: ../classes/class-ccf-form-cpt.php:392
|
280 |
+
msgid "No forms found."
|
281 |
+
msgstr "Keine Formulare gefunden."
|
282 |
+
|
283 |
+
#: ../classes/class-ccf-form-cpt.php:393
|
284 |
+
msgid "No forms found in trash."
|
285 |
+
msgstr "Keine Formulare im Papierkorb gefunden."
|
286 |
+
|
287 |
+
#: ../classes/class-ccf-form-handler.php:127 ../classes/class-ccf-form-handler.php:208
|
288 |
+
#: ../classes/class-ccf-form-handler.php:245 ../classes/class-ccf-form-handler.php:323
|
289 |
+
#: ../classes/class-ccf-form-handler.php:327 ../classes/class-ccf-form-handler.php:331
|
290 |
+
#: ../classes/class-ccf-form-handler.php:335 ../classes/class-ccf-form-handler.php:340
|
291 |
+
#: ../classes/class-ccf-form-handler.php:365 ../classes/class-ccf-form-handler.php:373
|
292 |
+
#: ../classes/class-ccf-form-handler.php:381 ../classes/class-ccf-form-handler.php:435
|
293 |
+
#: ../classes/class-ccf-form-renderer.php:49
|
294 |
+
msgid "This field is required."
|
295 |
+
msgstr "Dies ist ein Pflichfeld."
|
296 |
+
|
297 |
+
#: ../classes/class-ccf-form-handler.php:138
|
298 |
+
#, php-format
|
299 |
+
msgid "This file is too big (%d MB max)"
|
300 |
+
msgstr "Die Datei ist zu groß (max. %d MB)"
|
301 |
+
|
302 |
+
#: ../classes/class-ccf-form-handler.php:142
|
303 |
+
msgid "An upload error occurred."
|
304 |
+
msgstr "Beim hochladen gab es einen Fehler."
|
305 |
+
|
306 |
+
#: ../classes/class-ccf-form-handler.php:164
|
307 |
+
msgid "File contains an invalid extension."
|
308 |
+
msgstr "Datei enthält eine ungültige Dateiendung."
|
309 |
+
|
310 |
+
#: ../classes/class-ccf-form-handler.php:261 ../classes/class-ccf-form-renderer.php:56
|
311 |
+
msgid "Your reCAPTCHA response was incorrect."
|
312 |
+
msgstr "Deine CAPTCHA Eingabe war leider nicht korrekt."
|
313 |
+
|
314 |
+
#: ../classes/class-ccf-form-handler.php:280
|
315 |
+
msgid "This field is required"
|
316 |
+
msgstr "Dies ist ein Pflichtfeld."
|
317 |
+
|
318 |
+
#: ../classes/class-ccf-form-handler.php:285
|
319 |
+
msgid "This phone number is too short"
|
320 |
+
msgstr "Die Telefonnummer ist zu kurz."
|
321 |
+
|
322 |
+
#: ../classes/class-ccf-form-handler.php:288
|
323 |
+
msgid "ccf_field_phoneFormat"
|
324 |
+
msgstr ""
|
325 |
+
|
326 |
+
#: ../classes/class-ccf-form-handler.php:291
|
327 |
+
msgid "This phone number contains invalid characters."
|
328 |
+
msgstr "Die Telephonnummer enthält ungültige Werte."
|
329 |
+
|
330 |
+
#: ../classes/class-ccf-form-handler.php:297
|
331 |
+
msgid "This phone number is not 10 digits."
|
332 |
+
msgstr "Die Telephonnummer ist nicht 10 Zeichen lang."
|
333 |
+
|
334 |
+
#: ../classes/class-ccf-form-handler.php:368 ../classes/class-ccf-form-handler.php:384
|
335 |
+
msgid "This is not a valid email"
|
336 |
+
msgstr "Das ist keine gültige E-Mailadresse."
|
337 |
+
|
338 |
+
#: ../classes/class-ccf-form-handler.php:376 ../classes/class-ccf-form-renderer.php:54
|
339 |
+
msgid "Emails do not match."
|
340 |
+
msgstr "E-Mailadressen gleichen sich nicht."
|
341 |
+
|
342 |
+
#: ../classes/class-ccf-form-handler.php:409
|
343 |
+
msgid "First name is required."
|
344 |
+
msgstr "Vorname ist ein Pflichtfeld."
|
345 |
+
|
346 |
+
#: ../classes/class-ccf-form-handler.php:413
|
347 |
+
msgid "Last name is required."
|
348 |
+
msgstr "Nachname ist ein Pflichtfeld."
|
349 |
+
|
350 |
+
#: ../classes/class-ccf-form-handler.php:438 ../classes/class-ccf-form-renderer.php:66
|
351 |
+
msgid "This is not a valid URL. URL's must start with http(s)://"
|
352 |
+
msgstr "Ungültige URL."
|
353 |
+
|
354 |
+
#: ../classes/class-ccf-form-handler.php:466 ../classes/class-ccf-form-handler.php:498
|
355 |
+
#: ../classes/class-ccf-form-renderer.php:50
|
356 |
+
msgid "Date is required."
|
357 |
+
msgstr "Datum ist ein Pflichtfeld."
|
358 |
+
|
359 |
+
#: ../classes/class-ccf-form-handler.php:469 ../classes/class-ccf-form-handler.php:501
|
360 |
+
#: ../classes/class-ccf-form-renderer.php:61
|
361 |
+
msgid "This date is not valid."
|
362 |
+
msgstr "Das Datum ist nicht valide."
|
363 |
+
|
364 |
+
#: ../classes/class-ccf-form-handler.php:474 ../classes/class-ccf-form-handler.php:506
|
365 |
+
#: ../classes/class-ccf-form-renderer.php:51
|
366 |
+
msgid "Hour is required."
|
367 |
+
msgstr "Uhrzeit ist ein Pflichtfeld."
|
368 |
+
|
369 |
+
#: ../classes/class-ccf-form-handler.php:477 ../classes/class-ccf-form-handler.php:509
|
370 |
+
#: ../classes/class-ccf-form-renderer.php:60
|
371 |
+
msgid "This is not a valid hour."
|
372 |
+
msgstr "Dies ist keine valide Stundenangabe."
|
373 |
+
|
374 |
+
#: ../classes/class-ccf-form-handler.php:482 ../classes/class-ccf-form-handler.php:514
|
375 |
+
#: ../classes/class-ccf-form-renderer.php:52
|
376 |
+
msgid "Minute is required."
|
377 |
+
msgstr "Minuten sind ein Pflichtfeld."
|
378 |
+
|
379 |
+
#: ../classes/class-ccf-form-handler.php:485 ../classes/class-ccf-form-handler.php:517
|
380 |
+
#: ../classes/class-ccf-form-renderer.php:62
|
381 |
+
msgid "This is not a valid minute."
|
382 |
+
msgstr "Dies ist keine valide Minutenangabe."
|
383 |
+
|
384 |
+
#: ../classes/class-ccf-form-handler.php:490 ../classes/class-ccf-form-handler.php:522
|
385 |
+
#: ../classes/class-ccf-form-renderer.php:53
|
386 |
+
msgid "AM/PM is required."
|
387 |
+
msgstr "AM/PM ist ein Pflichtfeld."
|
388 |
+
|
389 |
+
#: ../classes/class-ccf-form-handler.php:698
|
390 |
+
msgid "*Hidden Field*"
|
391 |
+
msgstr "*verstecktes Feld*"
|
392 |
+
|
393 |
+
#: ../classes/class-ccf-form-handler.php:772
|
394 |
+
msgid "Form submitted from"
|
395 |
+
msgstr "Formular gesendet von:"
|
396 |
+
|
397 |
+
#: ../classes/class-ccf-form-handler.php:781
|
398 |
+
msgid "Form submitter IP"
|
399 |
+
msgstr "IP-Adresse des Formular-Senders "
|
400 |
+
|
401 |
+
#: ../classes/class-ccf-form-handler.php:815
|
402 |
+
#, php-format
|
403 |
+
msgid "%s: Form Submission to \"%s\""
|
404 |
+
msgstr "%s: Formularsendungen an \"%s\""
|
405 |
+
|
406 |
+
#: ../classes/class-ccf-form-handler.php:828 ../classes/class-ccf-form-renderer.php:119
|
407 |
+
msgid "Thank you for your submission."
|
408 |
+
msgstr "Danke für deine Eingaben."
|
409 |
+
|
410 |
+
#: ../classes/class-ccf-form-manager.php:63
|
411 |
+
msgid "Custom Contact Forms is experiencing issues."
|
412 |
+
msgstr "Custom Contact Forms macht Probleme."
|
413 |
+
|
414 |
+
#: ../classes/class-ccf-form-manager.php:67
|
415 |
+
#, php-format
|
416 |
+
msgid ""
|
417 |
+
"There is an issue with synchronizing data. Please try deactivating all other plugins "
|
418 |
+
"and activating the TwentyFifteen theme. If this fixes the problem, you have a plugin or "
|
419 |
+
"theme conflict. If it does not, please post in the <a href=\"%s\">support forums</a> or "
|
420 |
+
"<a href=\"%s\">Github</a>."
|
421 |
+
msgstr ""
|
422 |
+
"Es gibt ein Problem beim Synchroniseren der Daten. Bitte versuche alle anderen Plugins "
|
423 |
+
"zu deaktivieren und das TwentyFifteen theme zu aktivieren. Wenn damit das Problem "
|
424 |
+
"behoben wurde hast du ein plugin- oder theme-Problem.Falls das Problem weiterhin "
|
425 |
+
"besteht wende dich bitte an das <a href=\"%s\">Support Forum</a> oder <a href=\"%s"
|
426 |
+
"\">Github</a>."
|
427 |
+
|
428 |
+
#: ../classes/class-ccf-form-manager.php:78
|
429 |
+
msgid "Manage Forms"
|
430 |
+
msgstr "Formulare bearbeiten"
|
431 |
+
|
432 |
+
#: ../classes/class-ccf-form-manager.php:82
|
433 |
+
msgid "Existing Forms"
|
434 |
+
msgstr "Bestehende Formulare"
|
435 |
+
|
436 |
+
#: ../classes/class-ccf-form-manager.php:106
|
437 |
+
msgid "Standard Fields"
|
438 |
+
msgstr "Standardfelder"
|
439 |
+
|
440 |
+
#: ../classes/class-ccf-form-manager.php:112
|
441 |
+
msgid "Special Fields"
|
442 |
+
msgstr "Spezialfelder"
|
443 |
+
|
444 |
+
#: ../classes/class-ccf-form-manager.php:118
|
445 |
+
msgid "Structure"
|
446 |
+
msgstr "Struktur"
|
447 |
+
|
448 |
+
#: ../classes/class-ccf-form-manager.php:127
|
449 |
+
msgid "← Drag fields from the left here."
|
450 |
+
msgstr "← Ziehe Felder von der linken Seite hierher."
|
451 |
+
|
452 |
+
#: ../classes/class-ccf-form-manager.php:133 ../classes/class-ccf-form-manager.php:1217
|
453 |
+
msgid "Insert into post"
|
454 |
+
msgstr "In den Beitrag einfügen"
|
455 |
+
|
456 |
+
#: ../classes/class-ccf-form-manager.php:134
|
457 |
+
msgid "Save Form"
|
458 |
+
msgstr "Formular speichern"
|
459 |
+
|
460 |
+
#: ../classes/class-ccf-form-manager.php:140
|
461 |
+
msgid "Form Settings"
|
462 |
+
msgstr "Einstellungen"
|
463 |
+
|
464 |
+
#: ../classes/class-ccf-form-manager.php:143
|
465 |
+
msgid "Form Title:"
|
466 |
+
msgstr "Titel"
|
467 |
+
|
468 |
+
#: ../classes/class-ccf-form-manager.php:148
|
469 |
+
msgid "Form Description:"
|
470 |
+
msgstr "Beschreibung"
|
471 |
+
|
472 |
+
#: ../classes/class-ccf-form-manager.php:153
|
473 |
+
msgid "Button Text:"
|
474 |
+
msgstr "Buttontext"
|
475 |
+
|
476 |
+
#: ../classes/class-ccf-form-manager.php:158
|
477 |
+
msgid "On form completion:"
|
478 |
+
msgstr "Nach dem Ausfüllen des Formulars:"
|
479 |
+
|
480 |
+
#: ../classes/class-ccf-form-manager.php:161
|
481 |
+
msgid "Show text"
|
482 |
+
msgstr "Text anzeigen"
|
483 |
+
|
484 |
+
#: ../classes/class-ccf-form-manager.php:162
|
485 |
+
msgid "Redirect"
|
486 |
+
msgstr "Weiterleitung"
|
487 |
+
|
488 |
+
#: ../classes/class-ccf-form-manager.php:166
|
489 |
+
msgid "Redirect URL:"
|
490 |
+
msgstr "Weiterleitungs-URL:"
|
491 |
+
|
492 |
+
#: ../classes/class-ccf-form-manager.php:170
|
493 |
+
msgid "Completion Message:"
|
494 |
+
msgstr "Nach dem Ausfüllen des Formulars:"
|
495 |
+
|
496 |
+
#: ../classes/class-ccf-form-manager.php:177
|
497 |
+
msgid "Form Notifications"
|
498 |
+
msgstr "Formularmeldungen"
|
499 |
+
|
500 |
+
#: ../classes/class-ccf-form-manager.php:180
|
501 |
+
msgid "Send Email Notifications:"
|
502 |
+
msgstr "Formularmeldungen per E-mail senden:"
|
503 |
+
|
504 |
+
#: ../classes/class-ccf-form-manager.php:183 ../classes/class-ccf-form-manager.php:294
|
505 |
+
#: ../classes/class-ccf-form-manager.php:344 ../classes/class-ccf-form-manager.php:420
|
506 |
+
#: ../classes/class-ccf-form-manager.php:510 ../classes/class-ccf-form-manager.php:575
|
507 |
+
#: ../classes/class-ccf-form-manager.php:617 ../classes/class-ccf-form-manager.php:678
|
508 |
+
#: ../classes/class-ccf-form-manager.php:725 ../classes/class-ccf-form-manager.php:767
|
509 |
+
#: ../classes/class-ccf-form-manager.php:774 ../classes/class-ccf-form-manager.php:825
|
510 |
+
#: ../classes/class-ccf-form-manager.php:868 ../classes/class-ccf-form-manager.php:911
|
511 |
+
msgid "Yes"
|
512 |
+
msgstr "Ja"
|
513 |
+
|
514 |
+
#: ../classes/class-ccf-form-manager.php:184 ../classes/class-ccf-form-manager.php:295
|
515 |
+
#: ../classes/class-ccf-form-manager.php:345 ../classes/class-ccf-form-manager.php:421
|
516 |
+
#: ../classes/class-ccf-form-manager.php:511 ../classes/class-ccf-form-manager.php:576
|
517 |
+
#: ../classes/class-ccf-form-manager.php:618 ../classes/class-ccf-form-manager.php:679
|
518 |
+
#: ../classes/class-ccf-form-manager.php:726 ../classes/class-ccf-form-manager.php:768
|
519 |
+
#: ../classes/class-ccf-form-manager.php:775 ../classes/class-ccf-form-manager.php:826
|
520 |
+
#: ../classes/class-ccf-form-manager.php:869 ../classes/class-ccf-form-manager.php:912
|
521 |
+
msgid "No"
|
522 |
+
msgstr "Nein"
|
523 |
+
|
524 |
+
#: ../classes/class-ccf-form-manager.php:189
|
525 |
+
msgid "\"To\" Email Addresses (comma separated):"
|
526 |
+
msgstr "\"To\" E-Mailadressen (kommagetrennt):"
|
527 |
+
|
528 |
+
#: ../classes/class-ccf-form-manager.php:194
|
529 |
+
msgid "\"From\" Email Address Type:"
|
530 |
+
msgstr "\"Von\" E-Mailadressentyp:"
|
531 |
+
|
532 |
+
#: ../classes/class-ccf-form-manager.php:196
|
533 |
+
msgid "WordPress Default"
|
534 |
+
msgstr "Wordpress default"
|
535 |
+
|
536 |
+
#: ../classes/class-ccf-form-manager.php:197
|
537 |
+
msgid "Custom Email"
|
538 |
+
msgstr "individuelle E-Mailadresse"
|
539 |
+
|
540 |
+
#: ../classes/class-ccf-form-manager.php:198
|
541 |
+
msgid "Form Field"
|
542 |
+
msgstr "Formularfelder"
|
543 |
+
|
544 |
+
#: ../classes/class-ccf-form-manager.php:201
|
545 |
+
msgid ""
|
546 |
+
"You can set the notification emails from address to be the WP default, a custom email "
|
547 |
+
"address, or pull the address from a field in the form."
|
548 |
+
msgstr ""
|
549 |
+
"Du kannst die Formularmeldungsmails von der Standard Wordpress E-Mail-Adresse, einer "
|
550 |
+
"frei wählbaren neuen Adresse oder einer Adresse aus einem Formularfeld versenden."
|
551 |
+
|
552 |
+
#: ../classes/class-ccf-form-manager.php:205
|
553 |
+
msgid "Custom \"From\" Email Address:"
|
554 |
+
msgstr "Eigene \"Von\" E-Mailadresse"
|
555 |
+
|
556 |
+
#: ../classes/class-ccf-form-manager.php:210
|
557 |
+
msgid "Pull \"From\" Email Dynamically from Field:"
|
558 |
+
msgstr "Wähle \"Von\" E-Mailadresse dynamisch aus dem Formularfeld:"
|
559 |
+
|
560 |
+
#: ../classes/class-ccf-form-manager.php:224
|
561 |
+
msgid "items"
|
562 |
+
msgstr ""
|
563 |
+
|
564 |
+
#: ../classes/class-ccf-form-manager.php:239 ../classes/class-ccf-form-manager.php:252
|
565 |
+
msgid "ID"
|
566 |
+
msgstr ""
|
567 |
+
|
568 |
+
#: ../classes/class-ccf-form-manager.php:240 ../classes/class-ccf-form-manager.php:253
|
569 |
+
msgid "Title"
|
570 |
+
msgstr "Titel"
|
571 |
+
|
572 |
+
#: ../classes/class-ccf-form-manager.php:267
|
573 |
+
msgid "<span>←</span> Click on a field to edit it."
|
574 |
+
msgstr "<span>←</span> Klick auf ein Feld um es zu bearbeiten."
|
575 |
+
|
576 |
+
#: ../classes/class-ccf-form-manager.php:276 ../classes/class-ccf-form-manager.php:320
|
577 |
+
#: ../classes/class-ccf-form-manager.php:402 ../classes/class-ccf-form-manager.php:492
|
578 |
+
msgid "Internal Unique Slug"
|
579 |
+
msgstr "interner einzigartiger \"slug\""
|
580 |
+
|
581 |
+
#: ../classes/class-ccf-form-manager.php:280 ../classes/class-ccf-form-manager.php:324
|
582 |
+
#: ../classes/class-ccf-form-manager.php:367 ../classes/class-ccf-form-manager.php:406
|
583 |
+
#: ../classes/class-ccf-form-manager.php:496 ../classes/class-ccf-form-manager.php:565
|
584 |
+
#: ../classes/class-ccf-form-manager.php:601 ../classes/class-ccf-form-manager.php:657
|
585 |
+
#: ../classes/class-ccf-form-manager.php:708 ../classes/class-ccf-form-manager.php:751
|
586 |
+
#: ../classes/class-ccf-form-manager.php:815 ../classes/class-ccf-form-manager.php:858
|
587 |
+
#: ../classes/class-ccf-form-manager.php:901
|
588 |
+
msgid "Label:"
|
589 |
+
msgstr ""
|
590 |
+
|
591 |
+
#: ../classes/class-ccf-form-manager.php:284 ../classes/class-ccf-form-manager.php:328
|
592 |
+
#: ../classes/class-ccf-form-manager.php:371 ../classes/class-ccf-form-manager.php:410
|
593 |
+
#: ../classes/class-ccf-form-manager.php:500 ../classes/class-ccf-form-manager.php:569
|
594 |
+
#: ../classes/class-ccf-form-manager.php:605 ../classes/class-ccf-form-manager.php:661
|
595 |
+
#: ../classes/class-ccf-form-manager.php:712 ../classes/class-ccf-form-manager.php:755
|
596 |
+
#: ../classes/class-ccf-form-manager.php:819 ../classes/class-ccf-form-manager.php:862
|
597 |
+
#: ../classes/class-ccf-form-manager.php:905
|
598 |
+
msgid "Description:"
|
599 |
+
msgstr "Beschreibung:"
|
600 |
+
|
601 |
+
#: ../classes/class-ccf-form-manager.php:288 ../classes/class-ccf-form-manager.php:414
|
602 |
+
#: ../classes/class-ccf-form-manager.php:504 ../classes/class-ccf-form-manager.php:540
|
603 |
+
#: ../classes/class-ccf-form-manager.php:610 ../classes/class-ccf-form-manager.php:665
|
604 |
+
#: ../classes/class-ccf-form-manager.php:760
|
605 |
+
msgid "Initial Value:"
|
606 |
+
msgstr "vorgegebener Wert:"
|
607 |
+
|
608 |
+
#: ../classes/class-ccf-form-manager.php:292 ../classes/class-ccf-form-manager.php:342
|
609 |
+
#: ../classes/class-ccf-form-manager.php:418 ../classes/class-ccf-form-manager.php:508
|
610 |
+
#: ../classes/class-ccf-form-manager.php:573 ../classes/class-ccf-form-manager.php:615
|
611 |
+
#: ../classes/class-ccf-form-manager.php:676 ../classes/class-ccf-form-manager.php:723
|
612 |
+
#: ../classes/class-ccf-form-manager.php:765 ../classes/class-ccf-form-manager.php:823
|
613 |
+
#: ../classes/class-ccf-form-manager.php:866 ../classes/class-ccf-form-manager.php:909
|
614 |
+
msgid "Required:"
|
615 |
+
msgstr "Pflichtfeld:"
|
616 |
+
|
617 |
+
#: ../classes/class-ccf-form-manager.php:301 ../classes/class-ccf-form-manager.php:351
|
618 |
+
#: ../classes/class-ccf-form-manager.php:387 ../classes/class-ccf-form-manager.php:427
|
619 |
+
#: ../classes/class-ccf-form-manager.php:452 ../classes/class-ccf-form-manager.php:477
|
620 |
+
#: ../classes/class-ccf-form-manager.php:517 ../classes/class-ccf-form-manager.php:546
|
621 |
+
#: ../classes/class-ccf-form-manager.php:582 ../classes/class-ccf-form-manager.php:632
|
622 |
+
#: ../classes/class-ccf-form-manager.php:685 ../classes/class-ccf-form-manager.php:732
|
623 |
+
#: ../classes/class-ccf-form-manager.php:781 ../classes/class-ccf-form-manager.php:839
|
624 |
+
#: ../classes/class-ccf-form-manager.php:882 ../classes/class-ccf-form-manager.php:925
|
625 |
+
msgid "Advanced"
|
626 |
+
msgstr "Erweitert"
|
627 |
+
|
628 |
+
#: ../classes/class-ccf-form-manager.php:304 ../classes/class-ccf-form-manager.php:354
|
629 |
+
#: ../classes/class-ccf-form-manager.php:390 ../classes/class-ccf-form-manager.php:430
|
630 |
+
#: ../classes/class-ccf-form-manager.php:455 ../classes/class-ccf-form-manager.php:480
|
631 |
+
#: ../classes/class-ccf-form-manager.php:520 ../classes/class-ccf-form-manager.php:549
|
632 |
+
#: ../classes/class-ccf-form-manager.php:585 ../classes/class-ccf-form-manager.php:635
|
633 |
+
#: ../classes/class-ccf-form-manager.php:688 ../classes/class-ccf-form-manager.php:735
|
634 |
+
#: ../classes/class-ccf-form-manager.php:784 ../classes/class-ccf-form-manager.php:842
|
635 |
+
#: ../classes/class-ccf-form-manager.php:885 ../classes/class-ccf-form-manager.php:928
|
636 |
+
msgid "Class Name:"
|
637 |
+
msgstr "individuelle CSS-Klasse"
|
638 |
+
|
639 |
+
#: ../classes/class-ccf-form-manager.php:308 ../classes/class-ccf-form-manager.php:434
|
640 |
+
#: ../classes/class-ccf-form-manager.php:524 ../classes/class-ccf-form-manager.php:640
|
641 |
+
#: ../classes/class-ccf-form-manager.php:692 ../classes/class-ccf-form-manager.php:789
|
642 |
+
msgid "Placeholder Text:"
|
643 |
+
msgstr "Platzhaltertext"
|
644 |
+
|
645 |
+
#: ../classes/class-ccf-form-manager.php:332
|
646 |
+
msgid "Allowed File Extensions (comma separate):"
|
647 |
+
msgstr "erlaubte Dateiendungen (kommagetrennt):"
|
648 |
+
|
649 |
+
#: ../classes/class-ccf-form-manager.php:334
|
650 |
+
msgid ""
|
651 |
+
"If left blank, will default to all extensions registered by WordPress. If you use a "
|
652 |
+
"file extension or mime type not <a href=\"http://codex.wordpress.org/Function_Reference/"
|
653 |
+
"get_allowed_mime_types\">whitelisted by WordPress</a>, you will need to filter and "
|
654 |
+
"manually whitelist the new extension."
|
655 |
+
msgstr ""
|
656 |
+
|
657 |
+
#: ../classes/class-ccf-form-manager.php:337
|
658 |
+
msgid "Max File Size (in MB):"
|
659 |
+
msgstr "max. Dateigröße (in MB):"
|
660 |
+
|
661 |
+
#: ../classes/class-ccf-form-manager.php:339
|
662 |
+
#, php-format
|
663 |
+
msgid "If left blank, will default to %d MB. Maximum allowed by server is %d MB."
|
664 |
+
msgstr ""
|
665 |
+
|
666 |
+
#: ../classes/class-ccf-form-manager.php:365
|
667 |
+
msgid ""
|
668 |
+
"reCAPTCHA is a simple captcha service provided by Google. <a target=\"_blank\" href="
|
669 |
+
"\"https://www.google.com/recaptcha/intro/index.html\">Learn more</a>"
|
670 |
+
msgstr ""
|
671 |
+
"reCAPTCHA ist ein einfacher captcha service von Google. <a target=\"_blank\" href="
|
672 |
+
"\"https://www.google.com/recaptcha/intro/index.html\">Mehr darüber.</a>"
|
673 |
+
|
674 |
+
#: ../classes/class-ccf-form-manager.php:375
|
675 |
+
msgid "Site Key:"
|
676 |
+
msgstr ""
|
677 |
+
|
678 |
+
#: ../classes/class-ccf-form-manager.php:377 ../classes/class-ccf-form-manager.php:382
|
679 |
+
msgid "Don't have one?"
|
680 |
+
msgstr "Du hast keinen?"
|
681 |
+
|
682 |
+
#: ../classes/class-ccf-form-manager.php:380
|
683 |
+
msgid "Secret Key:"
|
684 |
+
msgstr "Sicherheitsschlüssel:"
|
685 |
+
|
686 |
+
#: ../classes/class-ccf-form-manager.php:443 ../classes/class-ccf-form-manager.php:464
|
687 |
+
#: ../classes/class-ccf-form-manager.php:489 ../classes/class-ccf-form-manager.php:533
|
688 |
+
#: ../classes/class-ccf-form-manager.php:558 ../classes/class-ccf-form-manager.php:594
|
689 |
+
#: ../classes/class-ccf-form-manager.php:650 ../classes/class-ccf-form-manager.php:701
|
690 |
+
#: ../classes/class-ccf-form-manager.php:744 ../classes/class-ccf-form-manager.php:808
|
691 |
+
#: ../classes/class-ccf-form-manager.php:851 ../classes/class-ccf-form-manager.php:894
|
692 |
+
msgid "Basic"
|
693 |
+
msgstr "Basis"
|
694 |
+
|
695 |
+
#: ../classes/class-ccf-form-manager.php:446
|
696 |
+
msgid "HTML Content:"
|
697 |
+
msgstr "HTML Inhalt:"
|
698 |
+
|
699 |
+
#: ../classes/class-ccf-form-manager.php:467
|
700 |
+
msgid "Heading:"
|
701 |
+
msgstr "Überschrift:"
|
702 |
+
|
703 |
+
#: ../classes/class-ccf-form-manager.php:471
|
704 |
+
msgid "Sub Heading:"
|
705 |
+
msgstr "Unter-Überschrift:"
|
706 |
+
|
707 |
+
#: ../classes/class-ccf-form-manager.php:536 ../classes/class-ccf-form-manager.php:561
|
708 |
+
#: ../classes/class-ccf-form-manager.php:597 ../classes/class-ccf-form-manager.php:653
|
709 |
+
#: ../classes/class-ccf-form-manager.php:704 ../classes/class-ccf-form-manager.php:747
|
710 |
+
#: ../classes/class-ccf-form-manager.php:811 ../classes/class-ccf-form-manager.php:854
|
711 |
+
#: ../classes/class-ccf-form-manager.php:897
|
712 |
+
msgid "Internal Unique Slug (a-z, 0-9, -, _):"
|
713 |
+
msgstr "interner, einzigartiger \"slug\" (a-z, 0-9, -, _):"
|
714 |
+
|
715 |
+
#: ../classes/class-ccf-form-manager.php:623
|
716 |
+
msgid "Enable Date Select"
|
717 |
+
msgstr "Datumsauswahl aktivieren"
|
718 |
+
|
719 |
+
#: ../classes/class-ccf-form-manager.php:627
|
720 |
+
msgid "Enable Time Select"
|
721 |
+
msgstr "Zeitauswahl aktivieren"
|
722 |
+
|
723 |
+
#: ../classes/class-ccf-form-manager.php:669
|
724 |
+
msgid "Format:"
|
725 |
+
msgstr "Format:"
|
726 |
+
|
727 |
+
#: ../classes/class-ccf-form-manager.php:672 ../classes/class-ccf-form-manager.php:719
|
728 |
+
msgid "International"
|
729 |
+
msgstr ""
|
730 |
+
|
731 |
+
#: ../classes/class-ccf-form-manager.php:716
|
732 |
+
msgid "Type:"
|
733 |
+
msgstr "Typ:"
|
734 |
+
|
735 |
+
#: ../classes/class-ccf-form-manager.php:718
|
736 |
+
msgid "United States"
|
737 |
+
msgstr "Vereinige Staaten"
|
738 |
+
|
739 |
+
#: ../classes/class-ccf-form-manager.php:772
|
740 |
+
msgid "Require Confirmation:"
|
741 |
+
msgstr ""
|
742 |
+
|
743 |
+
#: ../classes/class-ccf-form-manager.php:800
|
744 |
+
msgid "Label"
|
745 |
+
msgstr ""
|
746 |
+
|
747 |
+
#: ../classes/class-ccf-form-manager.php:801
|
748 |
+
msgid "Value"
|
749 |
+
msgstr "Wert"
|
750 |
+
|
751 |
+
#: ../classes/class-ccf-form-manager.php:830 ../classes/class-ccf-form-manager.php:873
|
752 |
+
#: ../classes/class-ccf-form-manager.php:916
|
753 |
+
msgid "Manage field choices:"
|
754 |
+
msgstr ""
|
755 |
+
|
756 |
+
#: ../classes/class-ccf-form-manager.php:834 ../classes/class-ccf-form-manager.php:877
|
757 |
+
#: ../classes/class-ccf-form-manager.php:920
|
758 |
+
msgid ""
|
759 |
+
"Note: If an option does not have a \"value\", it will not be considered a valid "
|
760 |
+
"selection if the field is required. The \"value\" is what's read, stored, and displayed "
|
761 |
+
"in the submission."
|
762 |
+
msgstr ""
|
763 |
+
|
764 |
+
#: ../classes/class-ccf-form-manager.php:937
|
765 |
+
msgid "You currently have no forms. Add some!"
|
766 |
+
msgstr "Es wurden noch keine Formulare erstellt. Fang jetzt an :) "
|
767 |
+
|
768 |
+
#: ../classes/class-ccf-form-manager.php:960
|
769 |
+
msgid "Allowed file extensions are {{ extensions }}. "
|
770 |
+
msgstr "Die erlaubten Dateiendungen sind {{ extensions }}. "
|
771 |
+
|
772 |
+
#: ../classes/class-ccf-form-manager.php:962
|
773 |
+
msgid "Max file size is {{ file_size }} MB. "
|
774 |
+
msgstr "max. Dateigröße (in MB):"
|
775 |
+
|
776 |
+
#: ../classes/class-ccf-form-manager.php:987 ../classes/class-ccf-form-manager.php:1003
|
777 |
+
#: ../classes/class-ccf-form-manager.php:1021
|
778 |
+
msgid "An example choice"
|
779 |
+
msgstr "Eine beispielhafte Auswahl"
|
780 |
+
|
781 |
+
#: ../classes/class-ccf-form-manager.php:1039
|
782 |
+
msgid "Arbitrary block of HTML."
|
783 |
+
msgstr "Ein HTML Block."
|
784 |
+
|
785 |
+
#: ../classes/class-ccf-form-manager.php:1045
|
786 |
+
msgid "Section Heading"
|
787 |
+
msgstr "Zwischenüberschrift"
|
788 |
+
|
789 |
+
#: ../classes/class-ccf-form-manager.php:1047
|
790 |
+
msgid "This is the sub-heading text."
|
791 |
+
msgstr "Das ist der Text unter der Zwischenüberschrift."
|
792 |
+
|
793 |
+
#: ../classes/class-ccf-form-manager.php:1054
|
794 |
+
msgid "First"
|
795 |
+
msgstr "Vorname"
|
796 |
+
|
797 |
+
#: ../classes/class-ccf-form-manager.php:1058
|
798 |
+
msgid "Last"
|
799 |
+
msgstr "Nachname"
|
800 |
+
|
801 |
+
#: ../classes/class-ccf-form-manager.php:1118 ../classes/class-ccf-form-manager.php:1143
|
802 |
+
msgid "Street Address"
|
803 |
+
msgstr "Straße + Hausnr."
|
804 |
+
|
805 |
+
#: ../classes/class-ccf-form-manager.php:1122 ../classes/class-ccf-form-manager.php:1147
|
806 |
+
msgid "Address Line 2"
|
807 |
+
msgstr "2. Adresszeile"
|
808 |
+
|
809 |
+
#: ../classes/class-ccf-form-manager.php:1126 ../classes/class-ccf-form-manager.php:1151
|
810 |
+
msgid "City"
|
811 |
+
msgstr "Stadt"
|
812 |
+
|
813 |
+
#: ../classes/class-ccf-form-manager.php:1134
|
814 |
+
msgid "State"
|
815 |
+
msgstr "Bundesland"
|
816 |
+
|
817 |
+
#: ../classes/class-ccf-form-manager.php:1138
|
818 |
+
msgid "ZIP Code"
|
819 |
+
msgstr "PLZ"
|
820 |
+
|
821 |
+
#: ../classes/class-ccf-form-manager.php:1155
|
822 |
+
msgid "State / Region / Province"
|
823 |
+
msgstr "Region"
|
824 |
+
|
825 |
+
#: ../classes/class-ccf-form-manager.php:1159
|
826 |
+
msgid "ZIP / Postal Code"
|
827 |
+
msgstr "PLZ"
|
828 |
+
|
829 |
+
#: ../classes/class-ccf-form-manager.php:1167
|
830 |
+
msgid "Country"
|
831 |
+
msgstr "Land"
|
832 |
+
|
833 |
+
#: ../classes/class-ccf-form-manager.php:1178
|
834 |
+
msgid "email@example.com"
|
835 |
+
msgstr "email@beispiel.de"
|
836 |
+
|
837 |
+
#: ../classes/class-ccf-form-manager.php:1182 ../classes/class-ccf-form-manager.php:1483
|
838 |
+
msgid "Email"
|
839 |
+
msgstr "E-Mail"
|
840 |
+
|
841 |
+
#: ../classes/class-ccf-form-manager.php:1186
|
842 |
+
msgid "Confirm Email"
|
843 |
+
msgstr "E-Mailadresse bestätigen"
|
844 |
+
|
845 |
+
#: ../classes/class-ccf-form-manager.php:1216
|
846 |
+
msgid "Edit"
|
847 |
+
msgstr "bearbeiten"
|
848 |
+
|
849 |
+
#: ../classes/class-ccf-form-manager.php:1218
|
850 |
+
msgid "Trash"
|
851 |
+
msgstr "Papierkorb"
|
852 |
+
|
853 |
+
#: ../classes/class-ccf-form-manager.php:1261
|
854 |
+
msgid "There is a problem with this form. Is it trashed or deleted?"
|
855 |
+
msgstr "Es gibt ein Problem mit dem Formular. Wurde es etwa gelöscht?"
|
856 |
+
|
857 |
+
#: ../classes/class-ccf-form-manager.php:1403
|
858 |
+
msgid "IP Address"
|
859 |
+
msgstr "IP Adresse"
|
860 |
+
|
861 |
+
#: ../classes/class-ccf-form-manager.php:1415
|
862 |
+
msgid "There are no submissions."
|
863 |
+
msgstr "Es gibt noch keine Einsendungen."
|
864 |
+
|
865 |
+
#: ../classes/class-ccf-form-manager.php:1444
|
866 |
+
msgid "Add Form"
|
867 |
+
msgstr "Formular hinzufügen"
|
868 |
+
|
869 |
+
#: ../classes/class-ccf-form-manager.php:1468
|
870 |
+
msgid "Single Line Text"
|
871 |
+
msgstr "Textzeile"
|
872 |
+
|
873 |
+
#: ../classes/class-ccf-form-manager.php:1469
|
874 |
+
msgid "Dropdown"
|
875 |
+
msgstr ""
|
876 |
+
|
877 |
+
#: ../classes/class-ccf-form-manager.php:1470
|
878 |
+
msgid "Checkboxes"
|
879 |
+
msgstr "Checkboxen"
|
880 |
+
|
881 |
+
#: ../classes/class-ccf-form-manager.php:1471
|
882 |
+
msgid "Radio Buttons"
|
883 |
+
msgstr ""
|
884 |
+
|
885 |
+
#: ../classes/class-ccf-form-manager.php:1472
|
886 |
+
msgid "Paragraph Text"
|
887 |
+
msgstr "Textabsatz"
|
888 |
+
|
889 |
+
#: ../classes/class-ccf-form-manager.php:1473
|
890 |
+
msgid "Hidden"
|
891 |
+
msgstr "versteckt"
|
892 |
+
|
893 |
+
#: ../classes/class-ccf-form-manager.php:1474
|
894 |
+
msgid "File Upload"
|
895 |
+
msgstr "Dateiupload"
|
896 |
+
|
897 |
+
#: ../classes/class-ccf-form-manager.php:1478
|
898 |
+
msgid "HTML"
|
899 |
+
msgstr ""
|
900 |
+
|
901 |
+
#: ../classes/class-ccf-form-manager.php:1479
|
902 |
+
msgid "Section Header"
|
903 |
+
msgstr "Bereichsüberschrift"
|
904 |
+
|
905 |
+
#: ../classes/class-ccf-form-manager.php:1484
|
906 |
+
msgid "Name"
|
907 |
+
msgstr "Name"
|
908 |
+
|
909 |
+
#: ../classes/class-ccf-form-manager.php:1485
|
910 |
+
msgid "Date/Time"
|
911 |
+
msgstr "Datum/Zeit"
|
912 |
+
|
913 |
+
#: ../classes/class-ccf-form-manager.php:1486
|
914 |
+
msgid "Website"
|
915 |
+
msgstr "Webseite"
|
916 |
+
|
917 |
+
#: ../classes/class-ccf-form-manager.php:1487
|
918 |
+
msgid "Address"
|
919 |
+
msgstr "Adresse"
|
920 |
+
|
921 |
+
#: ../classes/class-ccf-form-manager.php:1488
|
922 |
+
msgid "Phone"
|
923 |
+
msgstr "Telefon"
|
924 |
+
|
925 |
+
#: ../classes/class-ccf-form-manager.php:1489
|
926 |
+
msgid "reCAPTCHA"
|
927 |
+
msgstr ""
|
928 |
+
|
929 |
+
#: ../classes/class-ccf-form-manager.php:1507
|
930 |
+
msgid "You have no email fields"
|
931 |
+
msgstr "Es fehlt ein E-Mail Feld."
|
932 |
+
|
933 |
+
#: ../classes/class-ccf-form-manager.php:1508
|
934 |
+
msgid "Invalid date"
|
935 |
+
msgstr "Ungültiges Datum"
|
936 |
+
|
937 |
+
#: ../classes/class-ccf-form-manager.php:1510
|
938 |
+
msgid "Form Submission"
|
939 |
+
msgstr "Formulareinsendungen"
|
940 |
+
|
941 |
+
#: ../classes/class-ccf-form-renderer.php:55
|
942 |
+
msgid "This is not a valid email address."
|
943 |
+
msgstr "Dies ist keine gültige E-Mailadresse."
|
944 |
+
|
945 |
+
#: ../classes/class-ccf-form-renderer.php:58
|
946 |
+
msgid "This is not a valid phone number."
|
947 |
+
msgstr "Dies ist keine valide Telefonnummer."
|
948 |
+
|
949 |
+
#: ../classes/class-ccf-form-renderer.php:59
|
950 |
+
msgid "This phone number is not 10 digits"
|
951 |
+
msgstr ""
|
952 |
+
|
953 |
+
#: ../classes/class-ccf-form-renderer.php:63
|
954 |
+
msgid "This is not an allowed file extension"
|
955 |
+
msgstr "Dies ist keine erlaubte Dateiendung."
|
956 |
+
|
957 |
+
#: ../classes/class-ccf-form-renderer.php:64
|
958 |
+
msgid "This file is bigger than"
|
959 |
+
msgstr "Die Datei ist größer als"
|
960 |
+
|
961 |
+
#: ../classes/class-ccf-form-renderer.php:65
|
962 |
+
msgid "An unknown error occured."
|
963 |
+
msgstr "Ein unbekannter Fehler ist unbekannterweise aufgetreten."
|
964 |
+
|
965 |
+
#: ../classes/class-ccf-submission-cpt.php:41
|
966 |
+
msgid "Form Submissions"
|
967 |
+
msgstr "Formulareinsendungen."
|
968 |
+
|
969 |
+
#: ../classes/class-ccf-upgrader.php:37
|
970 |
+
msgid ""
|
971 |
+
"Did you just upgrade to a post 6.0 version of Custom Contact Forms? If so, you might "
|
972 |
+
"need to upgrade your database to use your old forms. Please backup your database before "
|
973 |
+
"running the upgrade."
|
974 |
+
msgstr ""
|
975 |
+
|
976 |
+
#: ../classes/class-ccf-upgrader.php:38
|
977 |
+
msgid "Upgrade"
|
978 |
+
msgstr ""
|
979 |
+
|
980 |
+
#: ../classes/class-ccf-upgrader.php:39
|
981 |
+
msgid "Dismiss"
|
982 |
+
msgstr "Verwerfen"
|
983 |
+
|
984 |
+
#: ../classes/class-ccf-upgrader.php:61
|
985 |
+
msgid "Database update complete."
|
986 |
+
msgstr "Datenbankupdate vollständig."
|
987 |
+
|
988 |
+
#: ../classes/class-ccf-widget.php:17
|
989 |
+
msgid "Add a custom contact form to a sidebar."
|
990 |
+
msgstr "Füge ein indivicuelles Formular der Sidebar hinzu."
|
991 |
+
|
992 |
+
#: ../classes/class-ccf-widget.php:18
|
993 |
+
msgid "Custom Contact Form"
|
994 |
+
msgstr ""
|
995 |
+
|
996 |
+
#: ../classes/class-ccf-widget.php:64
|
997 |
+
msgid "Title:"
|
998 |
+
msgstr "Titel:"
|
999 |
+
|
1000 |
+
#: ../classes/class-ccf-widget.php:71
|
1001 |
+
msgid "Choose a form:"
|
1002 |
+
msgstr "Wähle ein Formular:"
|
1003 |
+
|
1004 |
+
#: ../classes/class-ccf-widget.php:80
|
1005 |
+
msgid "Untitled"
|
1006 |
+
msgstr "Unbenannt"
|
1007 |
+
|
1008 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:42
|
1009 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:48
|
1010 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:108
|
1011 |
+
msgid "Invalid comment ID."
|
1012 |
+
msgstr "Ungültige Kommentar-ID."
|
1013 |
+
|
1014 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:52
|
1015 |
+
msgid "Sorry, you are not allowed to delete this comment."
|
1016 |
+
msgstr "Sorry, du darfst diesen Kommentar nicht löschen."
|
1017 |
+
|
1018 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:58
|
1019 |
+
msgid "The comment cannot be deleted."
|
1020 |
+
msgstr "Der Kommentar kann nicht gelöscht werden."
|
1021 |
+
|
1022 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:62
|
1023 |
+
msgid "Permanently deleted comment"
|
1024 |
+
msgstr "Dauerhaft gelöschter Kommentar"
|
1025 |
+
|
1026 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-comments.php:65
|
1027 |
+
msgid "Deleted comment"
|
1028 |
+
msgstr "Gelöschter Kommentar"
|
1029 |
+
|
1030 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:33
|
1031 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:29
|
1032 |
+
msgid "The route base must be overridden"
|
1033 |
+
msgstr ""
|
1034 |
+
|
1035 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:37
|
1036 |
+
msgid "The post type must be overridden"
|
1037 |
+
msgstr ""
|
1038 |
+
|
1039 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:115
|
1040 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:136
|
1041 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:161
|
1042 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-customposttype.php:182
|
1043 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:35
|
1044 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:78
|
1045 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:153
|
1046 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:174
|
1047 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:205
|
1048 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:749
|
1049 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:769
|
1050 |
+
msgid "Invalid post type"
|
1051 |
+
msgstr "Ungültiger post-Typ"
|
1052 |
+
|
1053 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:210
|
1054 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:784
|
1055 |
+
msgid "Sorry, you are not allowed to post on this site."
|
1056 |
+
msgstr "Sorry, du kommst hier nicht rein!"
|
1057 |
+
|
1058 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:215
|
1059 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:776
|
1060 |
+
msgid "Sorry, you are not allowed to edit this post."
|
1061 |
+
msgstr "Sorry, du darfst hier nichts bearbeiten."
|
1062 |
+
|
1063 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:288
|
1064 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:371
|
1065 |
+
msgid "No data supplied"
|
1066 |
+
msgstr "Keine Daten."
|
1067 |
+
|
1068 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:292
|
1069 |
+
msgid "No Content-Type supplied"
|
1070 |
+
msgstr ""
|
1071 |
+
|
1072 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:296
|
1073 |
+
msgid "No Content-Disposition supplied"
|
1074 |
+
msgstr ""
|
1075 |
+
|
1076 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:315
|
1077 |
+
msgid "Invalid Content-Disposition supplied"
|
1078 |
+
msgstr ""
|
1079 |
+
|
1080 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:323
|
1081 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:378
|
1082 |
+
msgid "Content hash did not match expected"
|
1083 |
+
msgstr ""
|
1084 |
+
|
1085 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:336
|
1086 |
+
msgid "Could not open file handle"
|
1087 |
+
msgstr ""
|
1088 |
+
|
1089 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-media.php:414
|
1090 |
+
msgid "Invalid featured image."
|
1091 |
+
msgstr "Ungültiges Bild."
|
1092 |
+
|
1093 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta-posts.php:34
|
1094 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:636
|
1095 |
+
msgid "Sorry, you cannot edit this post"
|
1096 |
+
msgstr "Sorry, du darfst nix bearbeiten."
|
1097 |
+
|
1098 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:33
|
1099 |
+
msgid "The object type must be overridden"
|
1100 |
+
msgstr ""
|
1101 |
+
|
1102 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:134
|
1103 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:241
|
1104 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:388
|
1105 |
+
msgid "Invalid meta ID."
|
1106 |
+
msgstr ""
|
1107 |
+
|
1108 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:138
|
1109 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:245
|
1110 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:392
|
1111 |
+
msgid "Meta does not belong to this object"
|
1112 |
+
msgstr ""
|
1113 |
+
|
1114 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:159
|
1115 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:272
|
1116 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:276
|
1117 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:349
|
1118 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:402
|
1119 |
+
#, php-format
|
1120 |
+
msgid "%s is marked as a protected field."
|
1121 |
+
msgstr ""
|
1122 |
+
|
1123 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:169
|
1124 |
+
#, php-format
|
1125 |
+
msgid "%s contains serialized data."
|
1126 |
+
msgstr ""
|
1127 |
+
|
1128 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:257
|
1129 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:338
|
1130 |
+
msgid "Invalid meta key."
|
1131 |
+
msgstr ""
|
1132 |
+
|
1133 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:263
|
1134 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:398
|
1135 |
+
msgid "Invalid existing meta data for action."
|
1136 |
+
msgstr ""
|
1137 |
+
|
1138 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:268
|
1139 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:345
|
1140 |
+
msgid "Invalid provided meta data for action."
|
1141 |
+
msgstr ""
|
1142 |
+
|
1143 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:289
|
1144 |
+
msgid "Could not update meta."
|
1145 |
+
msgstr ""
|
1146 |
+
|
1147 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:330
|
1148 |
+
msgid "Missing meta key."
|
1149 |
+
msgstr ""
|
1150 |
+
|
1151 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:334
|
1152 |
+
msgid "Missing meta value."
|
1153 |
+
msgstr ""
|
1154 |
+
|
1155 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:358
|
1156 |
+
msgid "Could not add meta."
|
1157 |
+
msgstr ""
|
1158 |
+
|
1159 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:406
|
1160 |
+
msgid "Could not delete meta."
|
1161 |
+
msgstr ""
|
1162 |
+
|
1163 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-meta.php:409
|
1164 |
+
msgid "Deleted meta"
|
1165 |
+
msgstr ""
|
1166 |
+
|
1167 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:78
|
1168 |
+
msgid "Sorry, you cannot view the revisions for this post."
|
1169 |
+
msgstr ""
|
1170 |
+
|
1171 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:337
|
1172 |
+
msgid "There is a revision of this post that is more recent."
|
1173 |
+
msgstr ""
|
1174 |
+
|
1175 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:368
|
1176 |
+
msgid "Sorry, you are not allowed to delete this post."
|
1177 |
+
msgstr ""
|
1178 |
+
|
1179 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:374
|
1180 |
+
msgid "The post cannot be deleted."
|
1181 |
+
msgstr ""
|
1182 |
+
|
1183 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:378
|
1184 |
+
msgid "Permanently deleted post"
|
1185 |
+
msgstr ""
|
1186 |
+
|
1187 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:421
|
1188 |
+
msgid "Cannot view post type"
|
1189 |
+
msgstr ""
|
1190 |
+
|
1191 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:646
|
1192 |
+
msgid "Sorry, you cannot view this revision"
|
1193 |
+
msgstr ""
|
1194 |
+
|
1195 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:682
|
1196 |
+
msgid "There is no excerpt because this is a protected post."
|
1197 |
+
msgstr ""
|
1198 |
+
|
1199 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:780
|
1200 |
+
msgid "The post type may not be changed."
|
1201 |
+
msgstr ""
|
1202 |
+
|
1203 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:798
|
1204 |
+
msgid "Sorry, you are not allowed to create private posts in this post type"
|
1205 |
+
msgstr ""
|
1206 |
+
|
1207 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:804
|
1208 |
+
msgid "Sorry, you are not allowed to publish posts in this post type"
|
1209 |
+
msgstr ""
|
1210 |
+
|
1211 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:845
|
1212 |
+
msgid "Invalid author object."
|
1213 |
+
msgstr ""
|
1214 |
+
|
1215 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:855
|
1216 |
+
msgid "You are not allowed to edit posts as this user."
|
1217 |
+
msgstr ""
|
1218 |
+
|
1219 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:861
|
1220 |
+
msgid "Invalid author ID."
|
1221 |
+
msgstr ""
|
1222 |
+
|
1223 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:873
|
1224 |
+
msgid "Sorry, you are not allowed to create password protected posts in this post type"
|
1225 |
+
msgstr ""
|
1226 |
+
|
1227 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:890
|
1228 |
+
msgid "Invalid post parent ID."
|
1229 |
+
msgstr ""
|
1230 |
+
|
1231 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:916
|
1232 |
+
msgid "Invalid post format."
|
1233 |
+
msgstr ""
|
1234 |
+
|
1235 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:196
|
1236 |
+
msgid "The JSON API is disabled on this site."
|
1237 |
+
msgstr ""
|
1238 |
+
|
1239 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:201
|
1240 |
+
msgid "JSONP support is disabled on this site."
|
1241 |
+
msgstr ""
|
1242 |
+
|
1243 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:207
|
1244 |
+
msgid "The JSONP callback function is invalid."
|
1245 |
+
msgstr ""
|
1246 |
+
|
1247 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:374
|
1248 |
+
msgid "Unsupported request method"
|
1249 |
+
msgstr ""
|
1250 |
+
|
1251 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:393
|
1252 |
+
msgid "The handler for the route is invalid"
|
1253 |
+
msgstr ""
|
1254 |
+
|
1255 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:453
|
1256 |
+
msgid "No route was found matching the URL and request method"
|
1257 |
+
msgstr ""
|
1258 |
+
|
1259 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-server.php:505
|
1260 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:252
|
1261 |
+
#, php-format
|
1262 |
+
msgid "Missing parameter %s"
|
1263 |
+
msgstr ""
|
1264 |
+
|
1265 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-taxonomies.php:106
|
1266 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-taxonomies.php:212
|
1267 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-taxonomies.php:288
|
1268 |
+
msgid "Invalid taxonomy ID."
|
1269 |
+
msgstr ""
|
1270 |
+
|
1271 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-taxonomies.php:138
|
1272 |
+
msgid "Cannot view taxonomy"
|
1273 |
+
msgstr ""
|
1274 |
+
|
1275 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-taxonomies.php:294
|
1276 |
+
msgid "Invalid term ID."
|
1277 |
+
msgstr ""
|
1278 |
+
|
1279 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:56
|
1280 |
+
msgid "Sorry, you are not allowed to list users."
|
1281 |
+
msgstr ""
|
1282 |
+
|
1283 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:97
|
1284 |
+
msgid "You are not currently logged in."
|
1285 |
+
msgstr ""
|
1286 |
+
|
1287 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:130
|
1288 |
+
msgid "Sorry, you are not allowed to view this user."
|
1289 |
+
msgstr ""
|
1290 |
+
|
1291 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:136
|
1292 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:234
|
1293 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:433
|
1294 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:444
|
1295 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:452
|
1296 |
+
msgid "Invalid user ID."
|
1297 |
+
msgstr ""
|
1298 |
+
|
1299 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:238
|
1300 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:355
|
1301 |
+
msgid "Sorry, you are not allowed to edit this user."
|
1302 |
+
msgstr ""
|
1303 |
+
|
1304 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:245
|
1305 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:383
|
1306 |
+
msgid "Sorry, you are not allowed to create users."
|
1307 |
+
msgstr ""
|
1308 |
+
|
1309 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:294
|
1310 |
+
msgid "Invalid user URL."
|
1311 |
+
msgstr ""
|
1312 |
+
|
1313 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:350
|
1314 |
+
msgid "User ID must be supplied."
|
1315 |
+
msgstr ""
|
1316 |
+
|
1317 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:360
|
1318 |
+
msgid "User ID is invalid."
|
1319 |
+
msgstr ""
|
1320 |
+
|
1321 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:387
|
1322 |
+
msgid "Cannot create existing user."
|
1323 |
+
msgstr ""
|
1324 |
+
|
1325 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:438
|
1326 |
+
msgid "Sorry, you are not allowed to delete this user."
|
1327 |
+
msgstr ""
|
1328 |
+
|
1329 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:461
|
1330 |
+
msgid "The user cannot be deleted."
|
1331 |
+
msgstr "Der Nutzer kann nicht entfernt werden."
|
1332 |
+
|
1333 |
+
#: ../vendor/wp-api/wp-api/lib/class-wp-json-users.php:463
|
1334 |
+
msgid "Deleted user"
|
1335 |
+
msgstr "Gelöschter Benutzer"
|
1336 |
+
|
1337 |
+
#: ../vendor/wp-api/wp-api/plugin.php:375
|
1338 |
+
msgid "Cookie nonce is invalid"
|
1339 |
+
msgstr ""
|
1340 |
+
|
1341 |
+
#: ../vendor/wp-api/wp-api/plugin.php:686
|
1342 |
+
#, php-format
|
1343 |
+
msgid "%1$s (since %2$s; use %3$s instead)"
|
1344 |
+
msgstr ""
|
1345 |
+
|
1346 |
+
#: ../vendor/wp-api/wp-api/plugin.php:689 ../vendor/wp-api/wp-api/plugin.php:707
|
1347 |
+
#, php-format
|
1348 |
+
msgid "%1$s (since %2$s; no alternative available)"
|
1349 |
+
msgstr ""
|
1350 |
+
|
1351 |
+
#: ../vendor/wp-api/wp-api/plugin.php:704
|
1352 |
+
#, php-format
|
1353 |
+
msgid "%1$s (since %2$s; %3$s)"
|
1354 |
+
msgstr ""
|
1355 |
+
|
1356 |
+
#: ../vendor/wp-api/wp-api/tests/helper.php:61
|
1357 |
+
msgid "No report data available"
|
1358 |
+
msgstr ""
|
1359 |
+
|
1360 |
+
#: ../vendor/wp-api/wp-api/tests/helper.php:65
|
1361 |
+
msgid "The CodeCoverage classes are missing"
|
1362 |
+
msgstr ""
|
languages/custom-contact-forms.mo
CHANGED
Binary file
|
languages/custom-contact-forms.po
CHANGED
@@ -5,8 +5,8 @@ msgstr ""
|
|
5 |
"Project-Id-Version: Custom Contact Forms\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/tlovett1/custom-contact-forms/"
|
7 |
"issues\n"
|
8 |
-
"POT-Creation-Date: 2015-03-
|
9 |
-
"PO-Revision-Date: 2015-03-
|
10 |
"Last-Translator: Taylor Lovett <tlovett88@gmail.com>\n"
|
11 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
12 |
"Language: en\n"
|
@@ -60,34 +60,34 @@ msgstr ""
|
|
60 |
msgid "The post type \"%s\" is not valid"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: ../classes/class-ccf-api.php:
|
64 |
-
#: ../classes/class-ccf-api.php:
|
65 |
-
#: ../classes/class-ccf-api.php:
|
66 |
msgid "Invalid form ID."
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: ../classes/class-ccf-api.php:
|
70 |
-
#: ../classes/class-ccf-api.php:
|
71 |
msgid "Sorry, you cannot view forms."
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: ../classes/class-ccf-api.php:
|
75 |
msgid "Invalid form."
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: ../classes/class-ccf-api.php:
|
79 |
msgid "Sorry, you cannot view this form."
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: ../classes/class-ccf-api.php:
|
83 |
msgid "The form cannot be deleted."
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: ../classes/class-ccf-api.php:
|
87 |
msgid "Permanently deleted form"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: ../classes/class-ccf-api.php:
|
91 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:381
|
92 |
msgid "Deleted post"
|
93 |
msgstr ""
|
@@ -131,105 +131,105 @@ msgid "Max file size is %d MB. "
|
|
131 |
msgstr ""
|
132 |
|
133 |
#: ../classes/class-ccf-field-renderer.php:556
|
134 |
-
#: ../classes/class-ccf-form-manager.php:
|
135 |
-
#: ../classes/class-ccf-form-manager.php:
|
136 |
msgid "Street Address"
|
137 |
msgstr ""
|
138 |
|
139 |
#: ../classes/class-ccf-field-renderer.php:560
|
140 |
-
#: ../classes/class-ccf-form-manager.php:
|
141 |
-
#: ../classes/class-ccf-form-manager.php:
|
142 |
msgid "Address Line 2"
|
143 |
msgstr ""
|
144 |
|
145 |
#: ../classes/class-ccf-field-renderer.php:567
|
146 |
-
#: ../classes/class-ccf-form-manager.php:
|
147 |
-
#: ../classes/class-ccf-form-manager.php:
|
148 |
msgid "City"
|
149 |
msgstr ""
|
150 |
|
151 |
#: ../classes/class-ccf-field-renderer.php:580
|
152 |
-
#: ../classes/class-ccf-form-manager.php:
|
153 |
msgid "State"
|
154 |
msgstr ""
|
155 |
|
156 |
#: ../classes/class-ccf-field-renderer.php:588
|
157 |
-
#: ../classes/class-ccf-form-manager.php:
|
158 |
msgid "ZIP Code"
|
159 |
msgstr ""
|
160 |
|
161 |
#: ../classes/class-ccf-field-renderer.php:598
|
162 |
-
#: ../classes/class-ccf-form-manager.php:
|
163 |
msgid "State / Region / Province"
|
164 |
msgstr ""
|
165 |
|
166 |
#: ../classes/class-ccf-field-renderer.php:606
|
167 |
-
#: ../classes/class-ccf-form-manager.php:
|
168 |
msgid "ZIP / Postal Code"
|
169 |
msgstr ""
|
170 |
|
171 |
#: ../classes/class-ccf-field-renderer.php:618
|
172 |
-
#: ../classes/class-ccf-form-manager.php:
|
173 |
msgid "Country"
|
174 |
msgstr ""
|
175 |
|
176 |
#: ../classes/class-ccf-field-renderer.php:803
|
177 |
-
#: ../classes/class-ccf-form-manager.php:
|
178 |
-
#: ../classes/class-ccf-form-manager.php:
|
179 |
msgid "Email"
|
180 |
msgstr ""
|
181 |
|
182 |
#: ../classes/class-ccf-field-renderer.php:810
|
183 |
-
#: ../classes/class-ccf-form-manager.php:
|
184 |
msgid "Confirm Email"
|
185 |
msgstr ""
|
186 |
|
187 |
#: ../classes/class-ccf-field-renderer.php:876
|
188 |
-
#: ../classes/class-ccf-form-manager.php:
|
189 |
msgid "First"
|
190 |
msgstr ""
|
191 |
|
192 |
#: ../classes/class-ccf-field-renderer.php:883
|
193 |
-
#: ../classes/class-ccf-form-manager.php:
|
194 |
msgid "Last"
|
195 |
msgstr ""
|
196 |
|
197 |
#: ../classes/class-ccf-field-renderer.php:955
|
198 |
#: ../classes/class-ccf-field-renderer.php:976
|
199 |
-
#: ../classes/class-ccf-form-manager.php:
|
200 |
-
#: ../classes/class-ccf-form-manager.php:
|
201 |
msgid "HH"
|
202 |
msgstr ""
|
203 |
|
204 |
#: ../classes/class-ccf-field-renderer.php:959
|
205 |
#: ../classes/class-ccf-field-renderer.php:980
|
206 |
-
#: ../classes/class-ccf-form-manager.php:
|
207 |
-
#: ../classes/class-ccf-form-manager.php:
|
208 |
msgid "MM"
|
209 |
msgstr ""
|
210 |
|
211 |
#: ../classes/class-ccf-field-renderer.php:963
|
212 |
#: ../classes/class-ccf-field-renderer.php:984
|
213 |
-
#: ../classes/class-ccf-form-manager.php:
|
214 |
-
#: ../classes/class-ccf-form-manager.php:
|
215 |
msgid "AM"
|
216 |
msgstr ""
|
217 |
|
218 |
#: ../classes/class-ccf-field-renderer.php:964
|
219 |
#: ../classes/class-ccf-field-renderer.php:985
|
220 |
-
#: ../classes/class-ccf-form-manager.php:
|
221 |
-
#: ../classes/class-ccf-form-manager.php:
|
222 |
msgid "PM"
|
223 |
msgstr ""
|
224 |
|
225 |
#: ../classes/class-ccf-field-renderer.php:971
|
226 |
#: ../classes/class-ccf-form-cpt.php:510
|
227 |
-
#: ../classes/class-ccf-form-manager.php:
|
228 |
-
#: ../classes/class-ccf-form-manager.php:
|
229 |
-
#: ../classes/class-ccf-form-manager.php:
|
230 |
-
#: ../classes/class-ccf-form-manager.php:
|
231 |
-
#: ../classes/class-ccf-form-manager.php:
|
232 |
-
#: ../classes/class-ccf-form-manager.php:
|
233 |
msgid "Date"
|
234 |
msgstr ""
|
235 |
|
@@ -239,8 +239,8 @@ msgstr ""
|
|
239 |
|
240 |
#: ../classes/class-ccf-form-cpt.php:326 ../classes/class-ccf-form-cpt.php:344
|
241 |
#: ../classes/class-ccf-form-cpt.php:508
|
242 |
-
#: ../classes/class-ccf-form-manager.php:
|
243 |
-
#: ../classes/class-ccf-form-manager.php:
|
244 |
msgid "Submissions"
|
245 |
msgstr ""
|
246 |
|
@@ -281,7 +281,7 @@ msgid "Export"
|
|
281 |
msgstr ""
|
282 |
|
283 |
#: ../classes/class-ccf-form-cpt.php:446
|
284 |
-
#: ../classes/class-ccf-form-manager.php:
|
285 |
msgid "(No title)"
|
286 |
msgstr ""
|
287 |
|
@@ -294,14 +294,14 @@ msgid "Form Title"
|
|
294 |
msgstr ""
|
295 |
|
296 |
#: ../classes/class-ccf-form-cpt.php:507
|
297 |
-
#: ../classes/class-ccf-form-manager.php:
|
298 |
-
#: ../classes/class-ccf-form-manager.php:
|
299 |
msgid "Author"
|
300 |
msgstr ""
|
301 |
|
302 |
#: ../classes/class-ccf-form-cpt.php:509
|
303 |
-
#: ../classes/class-ccf-form-manager.php:
|
304 |
-
#: ../classes/class-ccf-form-manager.php:
|
305 |
msgid "Number of Fields"
|
306 |
msgstr ""
|
307 |
|
@@ -501,7 +501,7 @@ msgid " to \"%s\""
|
|
501 |
msgstr ""
|
502 |
|
503 |
#: ../classes/class-ccf-form-handler.php:838
|
504 |
-
#: ../classes/class-ccf-form-renderer.php:
|
505 |
msgid "Thank you for your submission."
|
506 |
msgstr ""
|
507 |
|
@@ -543,7 +543,7 @@ msgid "← Drag fields from the left here."
|
|
543 |
msgstr ""
|
544 |
|
545 |
#: ../classes/class-ccf-form-manager.php:133
|
546 |
-
#: ../classes/class-ccf-form-manager.php:
|
547 |
msgid "Insert into post"
|
548 |
msgstr ""
|
549 |
|
@@ -587,216 +587,226 @@ msgstr ""
|
|
587 |
msgid "Completion Message:"
|
588 |
msgstr ""
|
589 |
|
590 |
-
#: ../classes/class-ccf-form-manager.php:
|
591 |
-
msgid "
|
592 |
msgstr ""
|
593 |
|
594 |
-
#: ../classes/class-ccf-form-manager.php:
|
595 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
596 |
msgstr ""
|
597 |
|
598 |
-
#: ../classes/class-ccf-form-manager.php:
|
599 |
-
#: ../classes/class-ccf-form-manager.php:
|
600 |
-
#: ../classes/class-ccf-form-manager.php:
|
601 |
-
#: ../classes/class-ccf-form-manager.php:
|
602 |
-
#: ../classes/class-ccf-form-manager.php:
|
603 |
-
#: ../classes/class-ccf-form-manager.php:
|
604 |
-
#: ../classes/class-ccf-form-manager.php:
|
605 |
-
#: ../classes/class-ccf-form-manager.php:
|
606 |
-
#: ../classes/class-ccf-form-manager.php:
|
607 |
-
#: ../classes/class-ccf-form-manager.php:
|
608 |
-
#: ../classes/class-ccf-form-manager.php:
|
609 |
-
#: ../classes/class-ccf-form-manager.php:
|
610 |
-
#: ../classes/class-ccf-form-manager.php:
|
611 |
-
#: ../classes/class-ccf-form-manager.php:
|
|
|
612 |
msgid "Yes"
|
613 |
msgstr ""
|
614 |
|
615 |
-
#: ../classes/class-ccf-form-manager.php:
|
616 |
-
|
617 |
-
#: ../classes/class-ccf-form-manager.php:345
|
618 |
-
#: ../classes/class-ccf-form-manager.php:421
|
619 |
-
#: ../classes/class-ccf-form-manager.php:511
|
620 |
-
#: ../classes/class-ccf-form-manager.php:576
|
621 |
-
#: ../classes/class-ccf-form-manager.php:618
|
622 |
-
#: ../classes/class-ccf-form-manager.php:679
|
623 |
-
#: ../classes/class-ccf-form-manager.php:726
|
624 |
-
#: ../classes/class-ccf-form-manager.php:768
|
625 |
-
#: ../classes/class-ccf-form-manager.php:775
|
626 |
-
#: ../classes/class-ccf-form-manager.php:826
|
627 |
-
#: ../classes/class-ccf-form-manager.php:869
|
628 |
-
#: ../classes/class-ccf-form-manager.php:912
|
629 |
-
msgid "No"
|
630 |
msgstr ""
|
631 |
|
632 |
#: ../classes/class-ccf-form-manager.php:189
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
633 |
msgid "\"To\" Email Addresses (comma separated):"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: ../classes/class-ccf-form-manager.php:
|
637 |
msgid "\"From\" Email Address Type:"
|
638 |
msgstr ""
|
639 |
|
640 |
-
#: ../classes/class-ccf-form-manager.php:
|
641 |
msgid "WordPress Default"
|
642 |
msgstr ""
|
643 |
|
644 |
-
#: ../classes/class-ccf-form-manager.php:
|
645 |
msgid "Custom Email"
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: ../classes/class-ccf-form-manager.php:
|
649 |
msgid "Form Field"
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: ../classes/class-ccf-form-manager.php:
|
653 |
msgid ""
|
654 |
"You can set the notification emails from address to be the WP default, a "
|
655 |
"custom email address, or pull the address from a field in the form."
|
656 |
msgstr ""
|
657 |
|
658 |
-
#: ../classes/class-ccf-form-manager.php:
|
659 |
msgid "Custom \"From\" Email Address:"
|
660 |
msgstr ""
|
661 |
|
662 |
-
#: ../classes/class-ccf-form-manager.php:
|
663 |
msgid "Pull \"From\" Email Dynamically from Field:"
|
664 |
msgstr ""
|
665 |
|
666 |
-
#: ../classes/class-ccf-form-manager.php:
|
667 |
msgid "items"
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: ../classes/class-ccf-form-manager.php:
|
671 |
-
#: ../classes/class-ccf-form-manager.php:
|
672 |
msgid "ID"
|
673 |
msgstr ""
|
674 |
|
675 |
-
#: ../classes/class-ccf-form-manager.php:
|
676 |
-
#: ../classes/class-ccf-form-manager.php:
|
677 |
msgid "Title"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: ../classes/class-ccf-form-manager.php:
|
681 |
msgid "<span>←</span> Click on a field to edit it."
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: ../classes/class-ccf-form-manager.php:276
|
685 |
-
#: ../classes/class-ccf-form-manager.php:320
|
686 |
-
#: ../classes/class-ccf-form-manager.php:402
|
687 |
-
#: ../classes/class-ccf-form-manager.php:492
|
688 |
-
msgid "Internal Unique Slug"
|
689 |
-
msgstr ""
|
690 |
-
|
691 |
-
#: ../classes/class-ccf-form-manager.php:280
|
692 |
-
#: ../classes/class-ccf-form-manager.php:324
|
693 |
-
#: ../classes/class-ccf-form-manager.php:367
|
694 |
-
#: ../classes/class-ccf-form-manager.php:406
|
695 |
-
#: ../classes/class-ccf-form-manager.php:496
|
696 |
-
#: ../classes/class-ccf-form-manager.php:565
|
697 |
-
#: ../classes/class-ccf-form-manager.php:601
|
698 |
-
#: ../classes/class-ccf-form-manager.php:657
|
699 |
-
#: ../classes/class-ccf-form-manager.php:708
|
700 |
-
#: ../classes/class-ccf-form-manager.php:751
|
701 |
-
#: ../classes/class-ccf-form-manager.php:815
|
702 |
-
#: ../classes/class-ccf-form-manager.php:858
|
703 |
-
#: ../classes/class-ccf-form-manager.php:901
|
704 |
-
msgid "Label:"
|
705 |
-
msgstr ""
|
706 |
-
|
707 |
-
#: ../classes/class-ccf-form-manager.php:284
|
708 |
-
#: ../classes/class-ccf-form-manager.php:328
|
709 |
-
#: ../classes/class-ccf-form-manager.php:371
|
710 |
-
#: ../classes/class-ccf-form-manager.php:410
|
711 |
-
#: ../classes/class-ccf-form-manager.php:500
|
712 |
-
#: ../classes/class-ccf-form-manager.php:569
|
713 |
-
#: ../classes/class-ccf-form-manager.php:605
|
714 |
-
#: ../classes/class-ccf-form-manager.php:661
|
715 |
-
#: ../classes/class-ccf-form-manager.php:712
|
716 |
-
#: ../classes/class-ccf-form-manager.php:755
|
717 |
-
#: ../classes/class-ccf-form-manager.php:819
|
718 |
-
#: ../classes/class-ccf-form-manager.php:862
|
719 |
-
#: ../classes/class-ccf-form-manager.php:905
|
720 |
-
msgid "Description:"
|
721 |
-
msgstr ""
|
722 |
-
|
723 |
#: ../classes/class-ccf-form-manager.php:288
|
|
|
724 |
#: ../classes/class-ccf-form-manager.php:414
|
725 |
#: ../classes/class-ccf-form-manager.php:504
|
726 |
-
|
727 |
-
#: ../classes/class-ccf-form-manager.php:610
|
728 |
-
#: ../classes/class-ccf-form-manager.php:665
|
729 |
-
#: ../classes/class-ccf-form-manager.php:760
|
730 |
-
msgid "Initial Value:"
|
731 |
msgstr ""
|
732 |
|
733 |
#: ../classes/class-ccf-form-manager.php:292
|
734 |
-
#: ../classes/class-ccf-form-manager.php:
|
|
|
735 |
#: ../classes/class-ccf-form-manager.php:418
|
736 |
#: ../classes/class-ccf-form-manager.php:508
|
737 |
-
#: ../classes/class-ccf-form-manager.php:
|
738 |
-
#: ../classes/class-ccf-form-manager.php:
|
739 |
-
#: ../classes/class-ccf-form-manager.php:
|
740 |
-
#: ../classes/class-ccf-form-manager.php:
|
741 |
-
#: ../classes/class-ccf-form-manager.php:
|
742 |
-
#: ../classes/class-ccf-form-manager.php:
|
743 |
-
#: ../classes/class-ccf-form-manager.php:
|
744 |
-
#: ../classes/class-ccf-form-manager.php:
|
745 |
-
msgid "
|
746 |
msgstr ""
|
747 |
|
748 |
-
#: ../classes/class-ccf-form-manager.php:
|
749 |
-
#: ../classes/class-ccf-form-manager.php:
|
750 |
-
#: ../classes/class-ccf-form-manager.php:
|
751 |
-
#: ../classes/class-ccf-form-manager.php:
|
752 |
-
#: ../classes/class-ccf-form-manager.php:
|
753 |
-
#: ../classes/class-ccf-form-manager.php:
|
754 |
-
#: ../classes/class-ccf-form-manager.php:
|
755 |
-
#: ../classes/class-ccf-form-manager.php:
|
756 |
-
#: ../classes/class-ccf-form-manager.php:
|
757 |
-
#: ../classes/class-ccf-form-manager.php:
|
758 |
-
#: ../classes/class-ccf-form-manager.php:
|
759 |
-
#: ../classes/class-ccf-form-manager.php:
|
760 |
-
#: ../classes/class-ccf-form-manager.php:
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
765 |
msgstr ""
|
766 |
|
767 |
#: ../classes/class-ccf-form-manager.php:304
|
768 |
#: ../classes/class-ccf-form-manager.php:354
|
769 |
-
#: ../classes/class-ccf-form-manager.php:390
|
770 |
#: ../classes/class-ccf-form-manager.php:430
|
771 |
-
#: ../classes/class-ccf-form-manager.php:455
|
772 |
-
#: ../classes/class-ccf-form-manager.php:480
|
773 |
#: ../classes/class-ccf-form-manager.php:520
|
774 |
-
#: ../classes/class-ccf-form-manager.php:549
|
775 |
#: ../classes/class-ccf-form-manager.php:585
|
776 |
-
#: ../classes/class-ccf-form-manager.php:
|
777 |
#: ../classes/class-ccf-form-manager.php:688
|
778 |
#: ../classes/class-ccf-form-manager.php:735
|
779 |
-
#: ../classes/class-ccf-form-manager.php:
|
780 |
-
#: ../classes/class-ccf-form-manager.php:
|
781 |
-
#: ../classes/class-ccf-form-manager.php:
|
782 |
-
#: ../classes/class-ccf-form-manager.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
783 |
msgid "Class Name:"
|
784 |
msgstr ""
|
785 |
|
786 |
-
#: ../classes/class-ccf-form-manager.php:
|
787 |
-
#: ../classes/class-ccf-form-manager.php:
|
788 |
-
#: ../classes/class-ccf-form-manager.php:
|
789 |
-
#: ../classes/class-ccf-form-manager.php:
|
790 |
-
#: ../classes/class-ccf-form-manager.php:
|
791 |
-
#: ../classes/class-ccf-form-manager.php:
|
792 |
msgid "Placeholder Text:"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: ../classes/class-ccf-form-manager.php:
|
796 |
msgid "Allowed File Extensions (comma separate):"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: ../classes/class-ccf-form-manager.php:
|
800 |
msgid ""
|
801 |
"If left blank, will default to all extensions registered by WordPress. If "
|
802 |
"you use a file extension or mime type not <a href=\"http://codex.wordpress."
|
@@ -804,256 +814,261 @@ msgid ""
|
|
804 |
"a>, you will need to filter and manually whitelist the new extension."
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: ../classes/class-ccf-form-manager.php:
|
808 |
msgid "Max File Size (in MB):"
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: ../classes/class-ccf-form-manager.php:
|
812 |
#, php-format
|
813 |
msgid ""
|
814 |
"If left blank, will default to %d MB. Maximum allowed by server is %d MB."
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: ../classes/class-ccf-form-manager.php:
|
818 |
msgid ""
|
819 |
"reCAPTCHA is a simple captcha service provided by Google. <a target=\"_blank"
|
820 |
"\" href=\"https://www.google.com/recaptcha/intro/index.html\">Learn more</a>"
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: ../classes/class-ccf-form-manager.php:
|
824 |
msgid "Site Key:"
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: ../classes/class-ccf-form-manager.php:
|
828 |
-
#: ../classes/class-ccf-form-manager.php:
|
829 |
msgid "Don't have one?"
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: ../classes/class-ccf-form-manager.php:
|
833 |
msgid "Secret Key:"
|
834 |
msgstr ""
|
835 |
|
836 |
-
#: ../classes/class-ccf-form-manager.php:
|
837 |
-
#: ../classes/class-ccf-form-manager.php:
|
838 |
-
#: ../classes/class-ccf-form-manager.php:
|
839 |
-
#: ../classes/class-ccf-form-manager.php:
|
840 |
-
#: ../classes/class-ccf-form-manager.php:
|
841 |
-
#: ../classes/class-ccf-form-manager.php:
|
842 |
-
#: ../classes/class-ccf-form-manager.php:
|
843 |
-
#: ../classes/class-ccf-form-manager.php:
|
844 |
-
#: ../classes/class-ccf-form-manager.php:
|
845 |
-
#: ../classes/class-ccf-form-manager.php:
|
846 |
-
#: ../classes/class-ccf-form-manager.php:
|
847 |
-
#: ../classes/class-ccf-form-manager.php:
|
848 |
msgid "Basic"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: ../classes/class-ccf-form-manager.php:
|
852 |
msgid "HTML Content:"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: ../classes/class-ccf-form-manager.php:
|
856 |
msgid "Heading:"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: ../classes/class-ccf-form-manager.php:
|
860 |
msgid "Sub Heading:"
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: ../classes/class-ccf-form-manager.php:
|
864 |
-
#: ../classes/class-ccf-form-manager.php:
|
865 |
-
#: ../classes/class-ccf-form-manager.php:
|
866 |
-
#: ../classes/class-ccf-form-manager.php:
|
867 |
-
#: ../classes/class-ccf-form-manager.php:
|
868 |
-
#: ../classes/class-ccf-form-manager.php:
|
869 |
-
#: ../classes/class-ccf-form-manager.php:
|
870 |
-
#: ../classes/class-ccf-form-manager.php:
|
871 |
-
#: ../classes/class-ccf-form-manager.php:
|
872 |
msgid "Internal Unique Slug (a-z, 0-9, -, _):"
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: ../classes/class-ccf-form-manager.php:
|
876 |
msgid "Enable Date Select"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: ../classes/class-ccf-form-manager.php:
|
880 |
msgid "Enable Time Select"
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: ../classes/class-ccf-form-manager.php:
|
884 |
msgid "Format:"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: ../classes/class-ccf-form-manager.php:
|
888 |
-
#: ../classes/class-ccf-form-manager.php:
|
889 |
msgid "International"
|
890 |
msgstr ""
|
891 |
|
892 |
-
#: ../classes/class-ccf-form-manager.php:
|
893 |
msgid "Type:"
|
894 |
msgstr ""
|
895 |
|
896 |
-
#: ../classes/class-ccf-form-manager.php:
|
897 |
msgid "United States"
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: ../classes/class-ccf-form-manager.php:
|
901 |
msgid "Require Confirmation:"
|
902 |
msgstr ""
|
903 |
|
904 |
-
#: ../classes/class-ccf-form-manager.php:
|
905 |
msgid "Label"
|
906 |
msgstr ""
|
907 |
|
908 |
-
#: ../classes/class-ccf-form-manager.php:
|
909 |
msgid "Value"
|
910 |
msgstr ""
|
911 |
|
912 |
-
#: ../classes/class-ccf-form-manager.php:
|
913 |
-
#: ../classes/class-ccf-form-manager.php:
|
914 |
-
#: ../classes/class-ccf-form-manager.php:
|
915 |
msgid "Manage field choices:"
|
916 |
msgstr ""
|
917 |
|
918 |
-
#: ../classes/class-ccf-form-manager.php:
|
919 |
-
#: ../classes/class-ccf-form-manager.php:
|
920 |
-
#: ../classes/class-ccf-form-manager.php:
|
921 |
msgid ""
|
922 |
"Note: If an option does not have a \"value\", it will not be considered a "
|
923 |
"valid selection if the field is required. The \"value\" is what's read, "
|
924 |
"stored, and displayed in the submission."
|
925 |
msgstr ""
|
926 |
|
927 |
-
#: ../classes/class-ccf-form-manager.php:
|
928 |
msgid "You currently have no forms. Add some!"
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: ../classes/class-ccf-form-manager.php:
|
932 |
msgid "Allowed file extensions are {{ extensions }}. "
|
933 |
msgstr ""
|
934 |
|
935 |
-
#: ../classes/class-ccf-form-manager.php:
|
936 |
msgid "Max file size is {{ file_size }} MB. "
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: ../classes/class-ccf-form-manager.php:
|
940 |
-
#: ../classes/class-ccf-form-manager.php:
|
941 |
-
#: ../classes/class-ccf-form-manager.php:
|
942 |
msgid "An example choice"
|
943 |
msgstr ""
|
944 |
|
945 |
-
#: ../classes/class-ccf-form-manager.php:
|
946 |
msgid "Arbitrary block of HTML."
|
947 |
msgstr ""
|
948 |
|
949 |
-
#: ../classes/class-ccf-form-manager.php:
|
950 |
msgid "Section Heading"
|
951 |
msgstr ""
|
952 |
|
953 |
-
#: ../classes/class-ccf-form-manager.php:
|
954 |
msgid "This is the sub-heading text."
|
955 |
msgstr ""
|
956 |
|
957 |
-
#: ../classes/class-ccf-form-manager.php:
|
958 |
msgid "email@example.com"
|
959 |
msgstr ""
|
960 |
|
961 |
-
#: ../classes/class-ccf-form-manager.php:
|
962 |
msgid "Edit"
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: ../classes/class-ccf-form-manager.php:
|
966 |
msgid "Trash"
|
967 |
msgstr ""
|
968 |
|
969 |
-
#: ../classes/class-ccf-form-manager.php:
|
970 |
msgid "There is a problem with this form. Is it trashed or deleted?"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#: ../classes/class-ccf-form-manager.php:
|
974 |
msgid "IP Address"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: ../classes/class-ccf-form-manager.php:
|
978 |
msgid "There are no submissions."
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: ../classes/class-ccf-form-manager.php:
|
982 |
msgid "Add Form"
|
983 |
msgstr ""
|
984 |
|
985 |
-
#: ../classes/class-ccf-form-manager.php:
|
986 |
msgid "Single Line Text"
|
987 |
msgstr ""
|
988 |
|
989 |
-
#: ../classes/class-ccf-form-manager.php:
|
990 |
msgid "Dropdown"
|
991 |
msgstr ""
|
992 |
|
993 |
-
#: ../classes/class-ccf-form-manager.php:
|
994 |
msgid "Checkboxes"
|
995 |
msgstr ""
|
996 |
|
997 |
-
#: ../classes/class-ccf-form-manager.php:
|
998 |
msgid "Radio Buttons"
|
999 |
msgstr ""
|
1000 |
|
1001 |
-
#: ../classes/class-ccf-form-manager.php:
|
1002 |
msgid "Paragraph Text"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
-
#: ../classes/class-ccf-form-manager.php:
|
1006 |
msgid "Hidden"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: ../classes/class-ccf-form-manager.php:
|
1010 |
msgid "File Upload"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: ../classes/class-ccf-form-manager.php:
|
1014 |
msgid "HTML"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: ../classes/class-ccf-form-manager.php:
|
1018 |
msgid "Section Header"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: ../classes/class-ccf-form-manager.php:
|
1022 |
msgid "Name"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#: ../classes/class-ccf-form-manager.php:
|
1026 |
msgid "Date/Time"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: ../classes/class-ccf-form-manager.php:
|
1030 |
msgid "Website"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
-
#: ../classes/class-ccf-form-manager.php:
|
1034 |
msgid "Address"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
-
#: ../classes/class-ccf-form-manager.php:
|
1038 |
msgid "Phone"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
-
#: ../classes/class-ccf-form-manager.php:
|
1042 |
msgid "reCAPTCHA"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
-
#: ../classes/class-ccf-form-manager.php:
|
1046 |
msgid "You have no email fields"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
-
#: ../classes/class-ccf-form-manager.php:
|
1050 |
msgid "Invalid date"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
-
#: ../classes/class-ccf-form-manager.php:
|
1054 |
msgid "Form Submission"
|
1055 |
msgstr ""
|
1056 |
|
|
|
|
|
|
|
|
|
|
|
1057 |
#: ../classes/class-ccf-form-renderer.php:55
|
1058 |
msgid "This is not a valid email address."
|
1059 |
msgstr ""
|
5 |
"Project-Id-Version: Custom Contact Forms\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/tlovett1/custom-contact-forms/"
|
7 |
"issues\n"
|
8 |
+
"POT-Creation-Date: 2015-03-30 23:27-0500\n"
|
9 |
+
"PO-Revision-Date: 2015-03-30 23:27-0500\n"
|
10 |
"Last-Translator: Taylor Lovett <tlovett88@gmail.com>\n"
|
11 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
12 |
"Language: en\n"
|
60 |
msgid "The post type \"%s\" is not valid"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: ../classes/class-ccf-api.php:429 ../classes/class-ccf-api.php:732
|
64 |
+
#: ../classes/class-ccf-api.php:757 ../classes/class-ccf-api.php:786
|
65 |
+
#: ../classes/class-ccf-api.php:887
|
66 |
msgid "Invalid form ID."
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: ../classes/class-ccf-api.php:434 ../classes/class-ccf-api.php:717
|
70 |
+
#: ../classes/class-ccf-api.php:737
|
71 |
msgid "Sorry, you cannot view forms."
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: ../classes/class-ccf-api.php:763 ../classes/class-ccf-api.php:792
|
75 |
msgid "Invalid form."
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: ../classes/class-ccf-api.php:767
|
79 |
msgid "Sorry, you cannot view this form."
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: ../classes/class-ccf-api.php:898
|
83 |
msgid "The form cannot be deleted."
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: ../classes/class-ccf-api.php:902
|
87 |
msgid "Permanently deleted form"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: ../classes/class-ccf-api.php:905
|
91 |
#: ../vendor/wp-api/wp-api/lib/class-wp-json-posts.php:381
|
92 |
msgid "Deleted post"
|
93 |
msgstr ""
|
131 |
msgstr ""
|
132 |
|
133 |
#: ../classes/class-ccf-field-renderer.php:556
|
134 |
+
#: ../classes/class-ccf-form-manager.php:1130
|
135 |
+
#: ../classes/class-ccf-form-manager.php:1155
|
136 |
msgid "Street Address"
|
137 |
msgstr ""
|
138 |
|
139 |
#: ../classes/class-ccf-field-renderer.php:560
|
140 |
+
#: ../classes/class-ccf-form-manager.php:1134
|
141 |
+
#: ../classes/class-ccf-form-manager.php:1159
|
142 |
msgid "Address Line 2"
|
143 |
msgstr ""
|
144 |
|
145 |
#: ../classes/class-ccf-field-renderer.php:567
|
146 |
+
#: ../classes/class-ccf-form-manager.php:1138
|
147 |
+
#: ../classes/class-ccf-form-manager.php:1163
|
148 |
msgid "City"
|
149 |
msgstr ""
|
150 |
|
151 |
#: ../classes/class-ccf-field-renderer.php:580
|
152 |
+
#: ../classes/class-ccf-form-manager.php:1146
|
153 |
msgid "State"
|
154 |
msgstr ""
|
155 |
|
156 |
#: ../classes/class-ccf-field-renderer.php:588
|
157 |
+
#: ../classes/class-ccf-form-manager.php:1150
|
158 |
msgid "ZIP Code"
|
159 |
msgstr ""
|
160 |
|
161 |
#: ../classes/class-ccf-field-renderer.php:598
|
162 |
+
#: ../classes/class-ccf-form-manager.php:1167
|
163 |
msgid "State / Region / Province"
|
164 |
msgstr ""
|
165 |
|
166 |
#: ../classes/class-ccf-field-renderer.php:606
|
167 |
+
#: ../classes/class-ccf-form-manager.php:1171
|
168 |
msgid "ZIP / Postal Code"
|
169 |
msgstr ""
|
170 |
|
171 |
#: ../classes/class-ccf-field-renderer.php:618
|
172 |
+
#: ../classes/class-ccf-form-manager.php:1179
|
173 |
msgid "Country"
|
174 |
msgstr ""
|
175 |
|
176 |
#: ../classes/class-ccf-field-renderer.php:803
|
177 |
+
#: ../classes/class-ccf-form-manager.php:1194
|
178 |
+
#: ../classes/class-ccf-form-manager.php:1495
|
179 |
msgid "Email"
|
180 |
msgstr ""
|
181 |
|
182 |
#: ../classes/class-ccf-field-renderer.php:810
|
183 |
+
#: ../classes/class-ccf-form-manager.php:1198
|
184 |
msgid "Confirm Email"
|
185 |
msgstr ""
|
186 |
|
187 |
#: ../classes/class-ccf-field-renderer.php:876
|
188 |
+
#: ../classes/class-ccf-form-manager.php:1066
|
189 |
msgid "First"
|
190 |
msgstr ""
|
191 |
|
192 |
#: ../classes/class-ccf-field-renderer.php:883
|
193 |
+
#: ../classes/class-ccf-form-manager.php:1070
|
194 |
msgid "Last"
|
195 |
msgstr ""
|
196 |
|
197 |
#: ../classes/class-ccf-field-renderer.php:955
|
198 |
#: ../classes/class-ccf-field-renderer.php:976
|
199 |
+
#: ../classes/class-ccf-form-manager.php:1085
|
200 |
+
#: ../classes/class-ccf-form-manager.php:1106
|
201 |
msgid "HH"
|
202 |
msgstr ""
|
203 |
|
204 |
#: ../classes/class-ccf-field-renderer.php:959
|
205 |
#: ../classes/class-ccf-field-renderer.php:980
|
206 |
+
#: ../classes/class-ccf-form-manager.php:1089
|
207 |
+
#: ../classes/class-ccf-form-manager.php:1110
|
208 |
msgid "MM"
|
209 |
msgstr ""
|
210 |
|
211 |
#: ../classes/class-ccf-field-renderer.php:963
|
212 |
#: ../classes/class-ccf-field-renderer.php:984
|
213 |
+
#: ../classes/class-ccf-form-manager.php:1093
|
214 |
+
#: ../classes/class-ccf-form-manager.php:1114
|
215 |
msgid "AM"
|
216 |
msgstr ""
|
217 |
|
218 |
#: ../classes/class-ccf-field-renderer.php:964
|
219 |
#: ../classes/class-ccf-field-renderer.php:985
|
220 |
+
#: ../classes/class-ccf-form-manager.php:1094
|
221 |
+
#: ../classes/class-ccf-form-manager.php:1115
|
222 |
msgid "PM"
|
223 |
msgstr ""
|
224 |
|
225 |
#: ../classes/class-ccf-field-renderer.php:971
|
226 |
#: ../classes/class-ccf-form-cpt.php:510
|
227 |
+
#: ../classes/class-ccf-form-manager.php:253
|
228 |
+
#: ../classes/class-ccf-form-manager.php:266
|
229 |
+
#: ../classes/class-ccf-form-manager.php:1101
|
230 |
+
#: ../classes/class-ccf-form-manager.php:1284
|
231 |
+
#: ../classes/class-ccf-form-manager.php:1298
|
232 |
+
#: ../classes/class-ccf-form-manager.php:1436
|
233 |
msgid "Date"
|
234 |
msgstr ""
|
235 |
|
239 |
|
240 |
#: ../classes/class-ccf-form-cpt.php:326 ../classes/class-ccf-form-cpt.php:344
|
241 |
#: ../classes/class-ccf-form-cpt.php:508
|
242 |
+
#: ../classes/class-ccf-form-manager.php:256
|
243 |
+
#: ../classes/class-ccf-form-manager.php:269
|
244 |
msgid "Submissions"
|
245 |
msgstr ""
|
246 |
|
281 |
msgstr ""
|
282 |
|
283 |
#: ../classes/class-ccf-form-cpt.php:446
|
284 |
+
#: ../classes/class-ccf-form-manager.php:1226
|
285 |
msgid "(No title)"
|
286 |
msgstr ""
|
287 |
|
294 |
msgstr ""
|
295 |
|
296 |
#: ../classes/class-ccf-form-cpt.php:507
|
297 |
+
#: ../classes/class-ccf-form-manager.php:254
|
298 |
+
#: ../classes/class-ccf-form-manager.php:267
|
299 |
msgid "Author"
|
300 |
msgstr ""
|
301 |
|
302 |
#: ../classes/class-ccf-form-cpt.php:509
|
303 |
+
#: ../classes/class-ccf-form-manager.php:255
|
304 |
+
#: ../classes/class-ccf-form-manager.php:268
|
305 |
msgid "Number of Fields"
|
306 |
msgstr ""
|
307 |
|
501 |
msgstr ""
|
502 |
|
503 |
#: ../classes/class-ccf-form-handler.php:838
|
504 |
+
#: ../classes/class-ccf-form-renderer.php:134
|
505 |
msgid "Thank you for your submission."
|
506 |
msgstr ""
|
507 |
|
543 |
msgstr ""
|
544 |
|
545 |
#: ../classes/class-ccf-form-manager.php:133
|
546 |
+
#: ../classes/class-ccf-form-manager.php:1229
|
547 |
msgid "Insert into post"
|
548 |
msgstr ""
|
549 |
|
587 |
msgid "Completion Message:"
|
588 |
msgstr ""
|
589 |
|
590 |
+
#: ../classes/class-ccf-form-manager.php:174
|
591 |
+
msgid "Pause form:"
|
592 |
msgstr ""
|
593 |
|
594 |
+
#: ../classes/class-ccf-form-manager.php:177
|
595 |
+
#: ../classes/class-ccf-form-manager.php:196
|
596 |
+
#: ../classes/class-ccf-form-manager.php:307
|
597 |
+
#: ../classes/class-ccf-form-manager.php:357
|
598 |
+
#: ../classes/class-ccf-form-manager.php:433
|
599 |
+
#: ../classes/class-ccf-form-manager.php:523
|
600 |
+
#: ../classes/class-ccf-form-manager.php:588
|
601 |
+
#: ../classes/class-ccf-form-manager.php:630
|
602 |
+
#: ../classes/class-ccf-form-manager.php:691
|
603 |
+
#: ../classes/class-ccf-form-manager.php:738
|
604 |
+
#: ../classes/class-ccf-form-manager.php:780
|
605 |
+
#: ../classes/class-ccf-form-manager.php:787
|
606 |
+
#: ../classes/class-ccf-form-manager.php:838
|
607 |
+
#: ../classes/class-ccf-form-manager.php:881
|
608 |
+
#: ../classes/class-ccf-form-manager.php:924
|
609 |
+
msgid "No"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: ../classes/class-ccf-form-manager.php:178
|
613 |
+
#: ../classes/class-ccf-form-manager.php:195
|
614 |
+
#: ../classes/class-ccf-form-manager.php:306
|
615 |
+
#: ../classes/class-ccf-form-manager.php:356
|
616 |
+
#: ../classes/class-ccf-form-manager.php:432
|
617 |
+
#: ../classes/class-ccf-form-manager.php:522
|
618 |
+
#: ../classes/class-ccf-form-manager.php:587
|
619 |
+
#: ../classes/class-ccf-form-manager.php:629
|
620 |
+
#: ../classes/class-ccf-form-manager.php:690
|
621 |
+
#: ../classes/class-ccf-form-manager.php:737
|
622 |
+
#: ../classes/class-ccf-form-manager.php:779
|
623 |
+
#: ../classes/class-ccf-form-manager.php:786
|
624 |
+
#: ../classes/class-ccf-form-manager.php:837
|
625 |
+
#: ../classes/class-ccf-form-manager.php:880
|
626 |
+
#: ../classes/class-ccf-form-manager.php:923
|
627 |
msgid "Yes"
|
628 |
msgstr ""
|
629 |
|
630 |
+
#: ../classes/class-ccf-form-manager.php:182
|
631 |
+
msgid "Pause Message:"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
632 |
msgstr ""
|
633 |
|
634 |
#: ../classes/class-ccf-form-manager.php:189
|
635 |
+
msgid "Form Notifications"
|
636 |
+
msgstr ""
|
637 |
+
|
638 |
+
#: ../classes/class-ccf-form-manager.php:192
|
639 |
+
msgid "Send Email Notifications:"
|
640 |
+
msgstr ""
|
641 |
+
|
642 |
+
#: ../classes/class-ccf-form-manager.php:201
|
643 |
msgid "\"To\" Email Addresses (comma separated):"
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: ../classes/class-ccf-form-manager.php:206
|
647 |
msgid "\"From\" Email Address Type:"
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: ../classes/class-ccf-form-manager.php:208
|
651 |
msgid "WordPress Default"
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: ../classes/class-ccf-form-manager.php:209
|
655 |
msgid "Custom Email"
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: ../classes/class-ccf-form-manager.php:210
|
659 |
msgid "Form Field"
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: ../classes/class-ccf-form-manager.php:213
|
663 |
msgid ""
|
664 |
"You can set the notification emails from address to be the WP default, a "
|
665 |
"custom email address, or pull the address from a field in the form."
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: ../classes/class-ccf-form-manager.php:217
|
669 |
msgid "Custom \"From\" Email Address:"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: ../classes/class-ccf-form-manager.php:222
|
673 |
msgid "Pull \"From\" Email Dynamically from Field:"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: ../classes/class-ccf-form-manager.php:236
|
677 |
msgid "items"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: ../classes/class-ccf-form-manager.php:251
|
681 |
+
#: ../classes/class-ccf-form-manager.php:264
|
682 |
msgid "ID"
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: ../classes/class-ccf-form-manager.php:252
|
686 |
+
#: ../classes/class-ccf-form-manager.php:265
|
687 |
msgid "Title"
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: ../classes/class-ccf-form-manager.php:279
|
691 |
msgid "<span>←</span> Click on a field to edit it."
|
692 |
msgstr ""
|
693 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
694 |
#: ../classes/class-ccf-form-manager.php:288
|
695 |
+
#: ../classes/class-ccf-form-manager.php:332
|
696 |
#: ../classes/class-ccf-form-manager.php:414
|
697 |
#: ../classes/class-ccf-form-manager.php:504
|
698 |
+
msgid "Internal Unique Slug"
|
|
|
|
|
|
|
|
|
699 |
msgstr ""
|
700 |
|
701 |
#: ../classes/class-ccf-form-manager.php:292
|
702 |
+
#: ../classes/class-ccf-form-manager.php:336
|
703 |
+
#: ../classes/class-ccf-form-manager.php:379
|
704 |
#: ../classes/class-ccf-form-manager.php:418
|
705 |
#: ../classes/class-ccf-form-manager.php:508
|
706 |
+
#: ../classes/class-ccf-form-manager.php:577
|
707 |
+
#: ../classes/class-ccf-form-manager.php:613
|
708 |
+
#: ../classes/class-ccf-form-manager.php:669
|
709 |
+
#: ../classes/class-ccf-form-manager.php:720
|
710 |
+
#: ../classes/class-ccf-form-manager.php:763
|
711 |
+
#: ../classes/class-ccf-form-manager.php:827
|
712 |
+
#: ../classes/class-ccf-form-manager.php:870
|
713 |
+
#: ../classes/class-ccf-form-manager.php:913
|
714 |
+
msgid "Label:"
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: ../classes/class-ccf-form-manager.php:296
|
718 |
+
#: ../classes/class-ccf-form-manager.php:340
|
719 |
+
#: ../classes/class-ccf-form-manager.php:383
|
720 |
+
#: ../classes/class-ccf-form-manager.php:422
|
721 |
+
#: ../classes/class-ccf-form-manager.php:512
|
722 |
+
#: ../classes/class-ccf-form-manager.php:581
|
723 |
+
#: ../classes/class-ccf-form-manager.php:617
|
724 |
+
#: ../classes/class-ccf-form-manager.php:673
|
725 |
+
#: ../classes/class-ccf-form-manager.php:724
|
726 |
+
#: ../classes/class-ccf-form-manager.php:767
|
727 |
+
#: ../classes/class-ccf-form-manager.php:831
|
728 |
+
#: ../classes/class-ccf-form-manager.php:874
|
729 |
+
#: ../classes/class-ccf-form-manager.php:917
|
730 |
+
msgid "Description:"
|
731 |
+
msgstr ""
|
732 |
+
|
733 |
+
#: ../classes/class-ccf-form-manager.php:300
|
734 |
+
#: ../classes/class-ccf-form-manager.php:426
|
735 |
+
#: ../classes/class-ccf-form-manager.php:516
|
736 |
+
#: ../classes/class-ccf-form-manager.php:552
|
737 |
+
#: ../classes/class-ccf-form-manager.php:622
|
738 |
+
#: ../classes/class-ccf-form-manager.php:677
|
739 |
+
#: ../classes/class-ccf-form-manager.php:772
|
740 |
+
msgid "Initial Value:"
|
741 |
msgstr ""
|
742 |
|
743 |
#: ../classes/class-ccf-form-manager.php:304
|
744 |
#: ../classes/class-ccf-form-manager.php:354
|
|
|
745 |
#: ../classes/class-ccf-form-manager.php:430
|
|
|
|
|
746 |
#: ../classes/class-ccf-form-manager.php:520
|
|
|
747 |
#: ../classes/class-ccf-form-manager.php:585
|
748 |
+
#: ../classes/class-ccf-form-manager.php:627
|
749 |
#: ../classes/class-ccf-form-manager.php:688
|
750 |
#: ../classes/class-ccf-form-manager.php:735
|
751 |
+
#: ../classes/class-ccf-form-manager.php:777
|
752 |
+
#: ../classes/class-ccf-form-manager.php:835
|
753 |
+
#: ../classes/class-ccf-form-manager.php:878
|
754 |
+
#: ../classes/class-ccf-form-manager.php:921
|
755 |
+
msgid "Required:"
|
756 |
+
msgstr ""
|
757 |
+
|
758 |
+
#: ../classes/class-ccf-form-manager.php:313
|
759 |
+
#: ../classes/class-ccf-form-manager.php:363
|
760 |
+
#: ../classes/class-ccf-form-manager.php:399
|
761 |
+
#: ../classes/class-ccf-form-manager.php:439
|
762 |
+
#: ../classes/class-ccf-form-manager.php:464
|
763 |
+
#: ../classes/class-ccf-form-manager.php:489
|
764 |
+
#: ../classes/class-ccf-form-manager.php:529
|
765 |
+
#: ../classes/class-ccf-form-manager.php:558
|
766 |
+
#: ../classes/class-ccf-form-manager.php:594
|
767 |
+
#: ../classes/class-ccf-form-manager.php:644
|
768 |
+
#: ../classes/class-ccf-form-manager.php:697
|
769 |
+
#: ../classes/class-ccf-form-manager.php:744
|
770 |
+
#: ../classes/class-ccf-form-manager.php:793
|
771 |
+
#: ../classes/class-ccf-form-manager.php:851
|
772 |
+
#: ../classes/class-ccf-form-manager.php:894
|
773 |
+
#: ../classes/class-ccf-form-manager.php:937
|
774 |
+
msgid "Advanced"
|
775 |
+
msgstr ""
|
776 |
+
|
777 |
+
#: ../classes/class-ccf-form-manager.php:316
|
778 |
+
#: ../classes/class-ccf-form-manager.php:366
|
779 |
+
#: ../classes/class-ccf-form-manager.php:402
|
780 |
+
#: ../classes/class-ccf-form-manager.php:442
|
781 |
+
#: ../classes/class-ccf-form-manager.php:467
|
782 |
+
#: ../classes/class-ccf-form-manager.php:492
|
783 |
+
#: ../classes/class-ccf-form-manager.php:532
|
784 |
+
#: ../classes/class-ccf-form-manager.php:561
|
785 |
+
#: ../classes/class-ccf-form-manager.php:597
|
786 |
+
#: ../classes/class-ccf-form-manager.php:647
|
787 |
+
#: ../classes/class-ccf-form-manager.php:700
|
788 |
+
#: ../classes/class-ccf-form-manager.php:747
|
789 |
+
#: ../classes/class-ccf-form-manager.php:796
|
790 |
+
#: ../classes/class-ccf-form-manager.php:854
|
791 |
+
#: ../classes/class-ccf-form-manager.php:897
|
792 |
+
#: ../classes/class-ccf-form-manager.php:940
|
793 |
msgid "Class Name:"
|
794 |
msgstr ""
|
795 |
|
796 |
+
#: ../classes/class-ccf-form-manager.php:320
|
797 |
+
#: ../classes/class-ccf-form-manager.php:446
|
798 |
+
#: ../classes/class-ccf-form-manager.php:536
|
799 |
+
#: ../classes/class-ccf-form-manager.php:652
|
800 |
+
#: ../classes/class-ccf-form-manager.php:704
|
801 |
+
#: ../classes/class-ccf-form-manager.php:801
|
802 |
msgid "Placeholder Text:"
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: ../classes/class-ccf-form-manager.php:344
|
806 |
msgid "Allowed File Extensions (comma separate):"
|
807 |
msgstr ""
|
808 |
|
809 |
+
#: ../classes/class-ccf-form-manager.php:346
|
810 |
msgid ""
|
811 |
"If left blank, will default to all extensions registered by WordPress. If "
|
812 |
"you use a file extension or mime type not <a href=\"http://codex.wordpress."
|
814 |
"a>, you will need to filter and manually whitelist the new extension."
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: ../classes/class-ccf-form-manager.php:349
|
818 |
msgid "Max File Size (in MB):"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: ../classes/class-ccf-form-manager.php:351
|
822 |
#, php-format
|
823 |
msgid ""
|
824 |
"If left blank, will default to %d MB. Maximum allowed by server is %d MB."
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: ../classes/class-ccf-form-manager.php:377
|
828 |
msgid ""
|
829 |
"reCAPTCHA is a simple captcha service provided by Google. <a target=\"_blank"
|
830 |
"\" href=\"https://www.google.com/recaptcha/intro/index.html\">Learn more</a>"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: ../classes/class-ccf-form-manager.php:387
|
834 |
msgid "Site Key:"
|
835 |
msgstr ""
|
836 |
|
837 |
+
#: ../classes/class-ccf-form-manager.php:389
|
838 |
+
#: ../classes/class-ccf-form-manager.php:394
|
839 |
msgid "Don't have one?"
|
840 |
msgstr ""
|
841 |
|
842 |
+
#: ../classes/class-ccf-form-manager.php:392
|
843 |
msgid "Secret Key:"
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: ../classes/class-ccf-form-manager.php:455
|
847 |
+
#: ../classes/class-ccf-form-manager.php:476
|
848 |
+
#: ../classes/class-ccf-form-manager.php:501
|
849 |
+
#: ../classes/class-ccf-form-manager.php:545
|
850 |
+
#: ../classes/class-ccf-form-manager.php:570
|
851 |
+
#: ../classes/class-ccf-form-manager.php:606
|
852 |
+
#: ../classes/class-ccf-form-manager.php:662
|
853 |
+
#: ../classes/class-ccf-form-manager.php:713
|
854 |
+
#: ../classes/class-ccf-form-manager.php:756
|
855 |
+
#: ../classes/class-ccf-form-manager.php:820
|
856 |
+
#: ../classes/class-ccf-form-manager.php:863
|
857 |
+
#: ../classes/class-ccf-form-manager.php:906
|
858 |
msgid "Basic"
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: ../classes/class-ccf-form-manager.php:458
|
862 |
msgid "HTML Content:"
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: ../classes/class-ccf-form-manager.php:479
|
866 |
msgid "Heading:"
|
867 |
msgstr ""
|
868 |
|
869 |
+
#: ../classes/class-ccf-form-manager.php:483
|
870 |
msgid "Sub Heading:"
|
871 |
msgstr ""
|
872 |
|
873 |
+
#: ../classes/class-ccf-form-manager.php:548
|
874 |
+
#: ../classes/class-ccf-form-manager.php:573
|
875 |
+
#: ../classes/class-ccf-form-manager.php:609
|
876 |
+
#: ../classes/class-ccf-form-manager.php:665
|
877 |
+
#: ../classes/class-ccf-form-manager.php:716
|
878 |
+
#: ../classes/class-ccf-form-manager.php:759
|
879 |
+
#: ../classes/class-ccf-form-manager.php:823
|
880 |
+
#: ../classes/class-ccf-form-manager.php:866
|
881 |
+
#: ../classes/class-ccf-form-manager.php:909
|
882 |
msgid "Internal Unique Slug (a-z, 0-9, -, _):"
|
883 |
msgstr ""
|
884 |
|
885 |
+
#: ../classes/class-ccf-form-manager.php:635
|
886 |
msgid "Enable Date Select"
|
887 |
msgstr ""
|
888 |
|
889 |
+
#: ../classes/class-ccf-form-manager.php:639
|
890 |
msgid "Enable Time Select"
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: ../classes/class-ccf-form-manager.php:681
|
894 |
msgid "Format:"
|
895 |
msgstr ""
|
896 |
|
897 |
+
#: ../classes/class-ccf-form-manager.php:684
|
898 |
+
#: ../classes/class-ccf-form-manager.php:731
|
899 |
msgid "International"
|
900 |
msgstr ""
|
901 |
|
902 |
+
#: ../classes/class-ccf-form-manager.php:728
|
903 |
msgid "Type:"
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: ../classes/class-ccf-form-manager.php:730
|
907 |
msgid "United States"
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: ../classes/class-ccf-form-manager.php:784
|
911 |
msgid "Require Confirmation:"
|
912 |
msgstr ""
|
913 |
|
914 |
+
#: ../classes/class-ccf-form-manager.php:812
|
915 |
msgid "Label"
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: ../classes/class-ccf-form-manager.php:813
|
919 |
msgid "Value"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: ../classes/class-ccf-form-manager.php:842
|
923 |
+
#: ../classes/class-ccf-form-manager.php:885
|
924 |
+
#: ../classes/class-ccf-form-manager.php:928
|
925 |
msgid "Manage field choices:"
|
926 |
msgstr ""
|
927 |
|
928 |
+
#: ../classes/class-ccf-form-manager.php:846
|
929 |
+
#: ../classes/class-ccf-form-manager.php:889
|
930 |
+
#: ../classes/class-ccf-form-manager.php:932
|
931 |
msgid ""
|
932 |
"Note: If an option does not have a \"value\", it will not be considered a "
|
933 |
"valid selection if the field is required. The \"value\" is what's read, "
|
934 |
"stored, and displayed in the submission."
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: ../classes/class-ccf-form-manager.php:949
|
938 |
msgid "You currently have no forms. Add some!"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: ../classes/class-ccf-form-manager.php:972
|
942 |
msgid "Allowed file extensions are {{ extensions }}. "
|
943 |
msgstr ""
|
944 |
|
945 |
+
#: ../classes/class-ccf-form-manager.php:974
|
946 |
msgid "Max file size is {{ file_size }} MB. "
|
947 |
msgstr ""
|
948 |
|
949 |
+
#: ../classes/class-ccf-form-manager.php:999
|
950 |
+
#: ../classes/class-ccf-form-manager.php:1015
|
951 |
+
#: ../classes/class-ccf-form-manager.php:1033
|
952 |
msgid "An example choice"
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: ../classes/class-ccf-form-manager.php:1051
|
956 |
msgid "Arbitrary block of HTML."
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: ../classes/class-ccf-form-manager.php:1057
|
960 |
msgid "Section Heading"
|
961 |
msgstr ""
|
962 |
|
963 |
+
#: ../classes/class-ccf-form-manager.php:1059
|
964 |
msgid "This is the sub-heading text."
|
965 |
msgstr ""
|
966 |
|
967 |
+
#: ../classes/class-ccf-form-manager.php:1190
|
968 |
msgid "email@example.com"
|
969 |
msgstr ""
|
970 |
|
971 |
+
#: ../classes/class-ccf-form-manager.php:1228
|
972 |
msgid "Edit"
|
973 |
msgstr ""
|
974 |
|
975 |
+
#: ../classes/class-ccf-form-manager.php:1230
|
976 |
msgid "Trash"
|
977 |
msgstr ""
|
978 |
|
979 |
+
#: ../classes/class-ccf-form-manager.php:1273
|
980 |
msgid "There is a problem with this form. Is it trashed or deleted?"
|
981 |
msgstr ""
|
982 |
|
983 |
+
#: ../classes/class-ccf-form-manager.php:1415
|
984 |
msgid "IP Address"
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: ../classes/class-ccf-form-manager.php:1427
|
988 |
msgid "There are no submissions."
|
989 |
msgstr ""
|
990 |
|
991 |
+
#: ../classes/class-ccf-form-manager.php:1456
|
992 |
msgid "Add Form"
|
993 |
msgstr ""
|
994 |
|
995 |
+
#: ../classes/class-ccf-form-manager.php:1480
|
996 |
msgid "Single Line Text"
|
997 |
msgstr ""
|
998 |
|
999 |
+
#: ../classes/class-ccf-form-manager.php:1481
|
1000 |
msgid "Dropdown"
|
1001 |
msgstr ""
|
1002 |
|
1003 |
+
#: ../classes/class-ccf-form-manager.php:1482
|
1004 |
msgid "Checkboxes"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
+
#: ../classes/class-ccf-form-manager.php:1483
|
1008 |
msgid "Radio Buttons"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
+
#: ../classes/class-ccf-form-manager.php:1484
|
1012 |
msgid "Paragraph Text"
|
1013 |
msgstr ""
|
1014 |
|
1015 |
+
#: ../classes/class-ccf-form-manager.php:1485
|
1016 |
msgid "Hidden"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
+
#: ../classes/class-ccf-form-manager.php:1486
|
1020 |
msgid "File Upload"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
+
#: ../classes/class-ccf-form-manager.php:1490
|
1024 |
msgid "HTML"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
+
#: ../classes/class-ccf-form-manager.php:1491
|
1028 |
msgid "Section Header"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
+
#: ../classes/class-ccf-form-manager.php:1496
|
1032 |
msgid "Name"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
+
#: ../classes/class-ccf-form-manager.php:1497
|
1036 |
msgid "Date/Time"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
+
#: ../classes/class-ccf-form-manager.php:1498
|
1040 |
msgid "Website"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
+
#: ../classes/class-ccf-form-manager.php:1499
|
1044 |
msgid "Address"
|
1045 |
msgstr ""
|
1046 |
|
1047 |
+
#: ../classes/class-ccf-form-manager.php:1500
|
1048 |
msgid "Phone"
|
1049 |
msgstr ""
|
1050 |
|
1051 |
+
#: ../classes/class-ccf-form-manager.php:1501
|
1052 |
msgid "reCAPTCHA"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
+
#: ../classes/class-ccf-form-manager.php:1520
|
1056 |
msgid "You have no email fields"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
+
#: ../classes/class-ccf-form-manager.php:1521
|
1060 |
msgid "Invalid date"
|
1061 |
msgstr ""
|
1062 |
|
1063 |
+
#: ../classes/class-ccf-form-manager.php:1523
|
1064 |
msgid "Form Submission"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: ../classes/class-ccf-form-manager.php:1524
|
1068 |
+
#: ../classes/class-ccf-form-renderer.php:120
|
1069 |
+
msgid "This form is paused right now. Check back later!"
|
1070 |
+
msgstr ""
|
1071 |
+
|
1072 |
#: ../classes/class-ccf-form-renderer.php:55
|
1073 |
msgid "This is not a valid email address."
|
1074 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 6.6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -35,6 +35,9 @@ For questions, feature requests, and support concerning the Custom Contact Forms
|
|
35 |
|
36 |
== Changelog ==
|
37 |
|
|
|
|
|
|
|
38 |
= 6.6.2 =
|
39 |
* Upgrade WP-API to 1.2.1
|
40 |
|
4 |
Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers, forms
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 6.6.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
+
= 6.6.3 =
|
39 |
+
* Fix form submission download bug
|
40 |
+
|
41 |
= 6.6.2 =
|
42 |
* Upgrade WP-API to 1.2.1
|
43 |
|