Version Description
- 24-05-2018 =
- Fix - Appending HTMl instead of text for preview description.
- GDPR - If user details are disabled globally discard the IP address and User Agent.
- Deprecated - Unnecessary general and email settings from global.
Download this release
Release Info
Developer | wpeverest |
Plugin | Everest Forms – Easy Contact Form and Form Builder |
Version | 1.1.6 |
Comparing to | |
See all releases |
Code changes from version 1.1.5.1 to 1.1.6
- assets/js/admin/everest-panel-builder.js +1 -1
- assets/js/admin/everest-panel-builder.min.js +1 -1
- everest-forms.php +1 -1
- includes/admin/class-evf-admin-settings.php +0 -1
- includes/admin/form-panels/class-evf-settings-panel.php +24 -27
- includes/admin/settings/class-evf-settings-email.php +0 -119
- includes/admin/settings/class-evf-settings-general.php +4 -26
- includes/class-everest-forms.php +1 -1
- includes/class-evf-emails.php +2 -2
- includes/class-evf-form-task.php +16 -6
- includes/class-evf-install.php +4 -0
- includes/evf-core-functions.php +0 -17
- includes/evf-deprecated-functions.php +14 -0
- includes/evf-update-functions.php +27 -0
- includes/templates/contact.php +5 -5
- languages/everest-forms.pot +56 -91
- readme.txt +6 -1
assets/js/admin/everest-panel-builder.js
CHANGED
@@ -281,7 +281,7 @@
|
|
281 |
field.find('.label-title .text').text(option_field.val());
|
282 |
break;
|
283 |
case 'description':
|
284 |
-
field.find('.description').
|
285 |
break;
|
286 |
case 'required':
|
287 |
if ( option_field.is(":checked") ) {
|
281 |
field.find('.label-title .text').text(option_field.val());
|
282 |
break;
|
283 |
case 'description':
|
284 |
+
field.find('.description').html(option_field.val());
|
285 |
break;
|
286 |
case 'required':
|
287 |
if ( option_field.is(":checked") ) {
|
assets/js/admin/everest-panel-builder.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(f,c){var s={init:function(){f(document).ready(s.ready),f(window).on("load",s.load),s.bindUI()},ready:function(){jconfirm.defaults={closeIcon:!0,backgroundDismiss:!0,escapeKey:!0,animationBounce:1,useBootstrap:!1,theme:"modern",boxWidth:"400px",columnClass:"evf-responsive-class"},f(document).trigger("everest_forms_ready")},load:function(){},bindUI:function(){s.bindDefaultTabs(),s.checkEmptyGrid(),s.bindFields(),s.bindFormPreview(),s.bindGridSwitcher(),s.bindFieldSettings(),s.bindFieldDelete(),s.bindCloneField(),s.bindSaveOption(),s.bindFieldOptionChange(),s.bindAddNewRow(),s.bindRemoveRow(),s.bindFormSettings(),s.choicesInit(),s.choicesUpdate(),"field-options"===c.tab&&f(".evf-panel-field-options-button").trigger("click")},choicesInit:function(){var e=f(".evf-choices-list");e.sortable({out:function(e,i){var t=f(e.target).attr("data-field-id");s.choiceChange(t)}});var i=e.closest(".everest-forms-field-option").attr("data-field-id");f("#everest-forms-field-"+i)},choicesUpdate:function(){f(".evf-choices-list");f("body").on("click",".evf-choices-list a.add",function(){var e=f(this).closest("li").clone();e.find('input[type="text"]').val("");var i=f(this).closest(".evf-choices-list"),t=i.attr("data-field-id"),n=i.find("li").length;n++,e.find('input[type="checkbox"],input[type="radio"]').prop("checked",!1),e.attr("data-key",n),e.find(".default").attr("name","form_fields["+t+"][choices]["+n+"][default]"),e.find(".label").attr("name","form_fields["+t+"][choices]["+n+"][label]"),e.find(".value").attr("name","form_fields["+t+"][choices]["+n+"][value]"),f(this).closest("li").after(e),s.choiceChange(t)}),f("body").on("click",".evf-choices-list a.remove",function(){var e=f(this).closest(".evf-choices-list"),i=e.attr("data-field-id");e.find("li").length<2?f.alert({title:!1,content:c.i18n_field_error_choice,icon:"dashicons dashicons-info",type:"blue",buttons:{ok:{text:c.i18n_ok,btnClass:"btn-confirm",keys:["enter"]}}}):(f(this).closest("li").remove(),s.choiceChange(i))});f("body").on("keyup paste click",".evf-choices-list input",function(){var e=f(this).closest(".evf-choices-list").attr("data-field-id");"radio"===f(this).attr("type").toLowerCase()&&f(this).is(":checked")&&(f(this).closest(".evf-choices-list").find('input[type="radio"]').prop("checked",!1),f(this).prop("checked",!0)),s.choiceChange(e)})},choiceChange:function(e){var i=f("#everest-forms-field-option-row-"+e+"-choices"),t=f("#everest-forms-field-"+e),n=t.find("ul.primary-input"),o=i.find("ul.evf-choices-list").attr("data-field-type");"select"===o&&(n=t.find("select.primary-input")),n.html(""),f.each(i.find("ul.evf-choices-list").find("li"),function(){var e=f(this).find(".default").attr("type"),i=f("<li/>").append('<input type="'+e+'" disabled="">');"select"===o&&(i=f("<option/>"),f(this).find(".default").is(":checked")&&i.attr("selected","selected")),i.append(f(this).find(".label").val()),f(this).find(".default").is(":checked")&&i.find("input").prop("checked",!0),n.append(i)})},bindFormSettings:function(){f("body").on("click",".evf-setting-panel",function(e){var i=f(this).attr("data-section");f(".evf-setting-panel").removeClass("active"),f(".evf-content-section").removeClass("active"),f(this).addClass("active"),f(".evf-content-"+i+"-settings").addClass("active"),e.preventDefault()}),f(".evf-setting-panel").eq(0).trigger("click")},removeRow:function(e){f.each(e.find(".everest-forms-field"),function(){var e=f(this),i=e.attr("data-field-id"),t=f("#everest-forms-field-option-"+i);e.remove(),t.remove()}),e.remove()},bindRemoveRow:function(){f("body").on("click",".evf-delete-row",function(){var e=f(this).closest(".evf-admin-row");f(".evf-admin-row").length<2?f.alert({title:c.i18n_row_locked,content:c.i18n_row_locked_msg,icon:"dashicons dashicons-info",type:"blue",buttons:{confirm:{text:c.i18n_close,btnClass:"btn-confirm",keys:["enter"]}}}):f.confirm({title:!1,content:c.i18n_delete_row_confirm,type:"red",closeIcon:!1,backgroundDismiss:!1,icon:"dashicons dashicons-warning",buttons:{confirm:{text:c.i18n_ok,btnClass:"btn-confirm",keys:["enter"],action:function(){s.removeRow(e)}},cancel:{text:c.i18n_cancel}}})})},bindAddNewRow:function(){f("body").on("click",".evf-add-row span",function(){var e=f(".evf-admin-row").eq(0).clone(),i=f(".evf-admin-row").length;e.find(".evf-admin-grid").html(""),e.attr("data-row-id",i+1),f(".evf-admin-field-wrapper").append(e),s.bindFields(),s.checkEmptyGrid()})},bindFieldOptionChange:function(){f("body").on("keyup paste click",'.everest-forms-field-option-row input[type="text"][name$="[label]"], .everest-forms-field-option-row textarea[name$="[description]"], .everest-forms-field-option-row input[type="checkbox"][name$="[required]"], .everest-forms-field-option-row input[type="checkbox"][name$="[label_hide]"], .everest-forms-field-option-row input[type="text"][name$="[placeholder]"]',function(){s.bindFormFieldChange(f(this))})},bindFormFieldChange:function(e){var i=e.closest(".everest-forms-field-option-row").attr("data-field-id"),t=f(".evf-admin-grid #everest-forms-field-"+i+".active"),n=e.attr("id");if("undefined"!==n&&n!==undefined)switch(n=n.replace("everest-forms-field-option-"+i+"-","")){case"label":t.find(".label-title .text").text(e.val());break;case"description":t.find(".description").text(e.val());break;case"required":e.is(":checked")?(t.find(".label-title .required").remove(),t.find(".label-title").append('<span class="required">*</span>')):t.find(".label-title .required").remove();break;case"label_hide":e.is(":checked")?t.find(".label-title").hide():t.find(".label-title").show();break;case"placeholder":t.find("input").attr("placeholder",e.val())}},bindCloneField:function(){f("body").on("click",".everest-forms-preview .everest-forms-field .everest-forms-field-duplicate",function(){var e=f(this).closest(".everest-forms-field");e.hasClass("no-duplicate")?f.alert({title:c.i18n_field_locked,content:c.i18n_field_locked_msg,icon:"dashicons dashicons-info",type:"blue",buttons:{confirm:{text:c.i18n_close,btnClass:"btn-confirm",keys:["enter"]}}}):f.confirm({title:!1,content:c.i18n_duplicate_field_confirm,type:"orange",closeIcon:!1,backgroundDismiss:!1,icon:"dashicons dashicons-warning",buttons:{confirm:{text:c.i18n_ok,btnClass:"btn-confirm",keys:["enter"],action:function(){s.cloneFieldAction(e)}},cancel:{text:c.i18n_cancel}}})})},cloneFieldAction:function(n){var o=n.attr("data-field-id"),e=c.form_id,i={action:"everest_forms_get_next_id",security:c.evf_get_next_id,form_id:e};f.ajax({url:c.ajax_url,data:i,type:"POST",beforeSend:function(){},success:function(e){if("boolean"==typeof e.success&&!0===e.success){var i=e.data.field_id,t=e.data.field_key;f("#everest-forms-field-id").val(i),s.render_node(n,o,t)}}})},render_node:function(e,o,r){var i=f(".everest-forms-field-options #everest-forms-field-option-"+o),t=e.attr("data-field-type"),n=i.html(),s=c.copy_of+f("#everest-forms-field-option-"+o+"-label").val(),a=e.clone(),d=new RegExp(o,"g");n=n.replace(d,r);var l=f('<div class="everest-forms-field-option everest-forms-field-option-'+t+'" id="everest-forms-field-option-'+r+'" data-field-id="'+r+'" />');l.append(n),f.each(i.find(":input"),function(){var e=f(this).attr("type"),i=f(this).attr("name").replace(d,r),t="";if("text"===e||"hidden"===e)t=f(this).val(),l.find('input[name="'+i+'"]').val(t),l.find('input[value="'+o+'"]').val(r);else if("checkbox"===e||"radio"===e)f(this).is(":checked")?l.find('input[name="'+i+'"]').prop("checked",!0).attr("checked","checked"):l.find('[name="'+i+'"]').prop("checked",!1).attr("checked",!1);else if(f(this).is("select")){if(f(this).find("option:selected").length){var n=f(this).find("option:selected").val();l.find('[name="'+i+'"]').find('[value="'+n+'"]').prop("selected",!0)}}else""!==f(this).val()&&l.find('[name="'+i+'"]').val(f(this).val())}),f(".everest-forms-field-options").append(l),f("#everest-forms-field-option-"+r+"-label").val(s),a.attr("class",e.attr("class")),a.attr("id","everest-forms-field-"+r),a.attr("data-field-id",r),a.attr("data-field-type",t),a.find(".label-title .text").text(s),e.closest(".evf-admin-grid").find('[data-field-id="'+o+'"]').after(a),f(document).trigger("everest-form-cloned",[r,t])},bindFieldDelete:function(){f("body").on("click",".everest-forms-preview .everest-forms-field .everest-forms-field-delete",function(){var e=f(this).closest(".everest-forms-field"),i=e.attr("data-field-id"),t=f("#everest-forms-field-option-"+i);e.hasClass("no-delete")?f.alert({title:c.i18n_field_locked,content:c.i18n_field_locked_msg,icon:"dashicons dashicons-info",type:"blue",buttons:{confirm:{text:c.i18n_close,btnClass:"btn-confirm",keys:["enter"]}}}):f.confirm({title:!1,content:c.i18n_delete_field_confirm,type:"orange",closeIcon:!1,backgroundDismiss:!1,icon:"dashicons dashicons-warning",buttons:{confirm:{text:c.i18n_ok,btnClass:"btn-confirm",keys:["enter"],action:function(){f(".evf-panel-fields-button").trigger("click"),e.fadeOut("slow",function(){e.remove(),t.remove()})}},cancel:{text:c.i18n_cancel}}})})},bindSaveOption:function(){f("body").on("click",".evf_save_form_action_button",function(){var i=f(this),e=f("form#everest-forms-builder-form"),t=s.getStructure(),n=e.serializeArray().concat(t),o={action:"everest_forms_save_form",security:c.evf_save_form,form_data:JSON.stringify(n)},r=f("#everest-forms-builder");f.ajax({url:c.ajax_url,data:o,type:"POST",beforeSend:function(){var e=f('<div class="evf-overlay"></div>');e.append('<div class="loading"></div>'),i.find(".spinner").remove(),r.find(".evf-overlay").remove(),r.css({position:"relative"}),r.append(e),i.append('<span style="margin-top:-1px;margin-right:0;" class="spinner is-active"></span>')},success:function(e){r.find(".evf-overlay").fadeOut(),r.find(".evf-overlay").remove(),r.removeAttr("style"),i.find(".spinner").remove(),"boolean"==typeof e.success&&!0===e.success&&window.location.reload()}})})},getStructure:function(){var e=f(".evf-admin-field-wrapper"),r=[];return f.each(e.find(".evf-admin-row"),function(){var e=f(this),o=e.attr("data-row-id");f.each(e.find(".evf-admin-grid"),function(){var e=f(this),t=e.attr("data-grid-id"),n=0;f.each(e.find(".everest-forms-field"),function(){var e={name:"",value:""},i=f(this).attr("data-field-id");e.name="structure[row_"+o+"][grid_"+t+"]["+n+"]",n++,e.value=i,r.push(e)}),e.find(".everest-forms-field").length<1&&r.push({name:"structure[row_"+o+"][grid_"+t+"]",value:""})})}),r},getFieldArray:function(e){var i=[];return f.each(e.find(".everest-forms-field"),function(){var e=f(this).attr("data-field-id");i.push(e)}),i},checkEmptyGrid:function(){f.each(f(".evf-admin-grid"),function(){f(this).find(".everest-forms-field").length<1?f(this).addClass("evf-empty-grid"):f(this).removeClass("evf-empty-grid")}),s.choicesInit()},bindDefaultTabs:function(){f(document).on("click","#evf-builder-tabs li",function(e){e.preventDefault(),s.switchTab(f(this).data("panel"))})},switchTab:function(e){var i=f("#everest-forms-panel-"+e),t=f(".evf-panel-"+e+"-button");f("#evf-builder-tabs").find("li a").removeClass("active"),t.find("a").addClass("active"),i.closest(".evf-tab-content").find(".everest-forms-panel").removeClass("active"),i.addClass("active"),"fields"===e&&(f(".everest-forms-field-options").hide(),f(".everest-forms-add-fields").show()),history.replaceState({},null,s.updateQueryString("tab",e)),s.switchPanel(e)},updateQueryString:function(e,i,t){t||(t=window.location.href);var n,o=new RegExp("([?&])"+e+"=.*?(&|#|$)(.*)","gi");if(o.test(t))return null!=i?t.replace(o,"$1"+e+"="+i+"$2$3"):(t=(n=t.split("#"))[0].replace(o,"$1$3").replace(/(&|\?)$/,""),"undefined"!=typeof n[1]&&null!==n[1]&&(t+="#"+n[1]),t);if(null!=i){var r=-1!==t.indexOf("?")?"&":"?";return t=(n=t.split("#"))[0]+r+e+"="+i,"undefined"!=typeof n[1]&&null!==n[1]&&(t+="#"+n[1]),t}return t},switchPanel:function(e){"field-options"===e&&s.switchToFieldOptionPanel()},switchToFieldOptionPanel:function(e){f("li.evf-panel-field-options-button.evf-disabled-tab").show(),f(".everest-forms-field-options").find(".no-fields").hide(),f(".evf-admin-field-wrapper .everest-forms-field").removeClass("active"),f(".everest-forms-panel").removeClass("active"),f("#everest-forms-panel-fields").addClass("active"),f(".everest-forms-add-fields").hide(),f(".everest-forms-field-options").show(),f(".everest-forms-field-options").find(".everest-forms-field-option").hide(),f(".evf-tab-lists").find("li a").removeClass("active"),f(".evf-tab-lists").find("li.evf-panel-field-options-button a").addClass("active"),void 0!==e?(f("#everest-forms-field-option-"+e).show(),f("#everest-forms-field-"+e).addClass("active")):0<f(".evf-admin-field-wrapper .everest-forms-field").length?(f(".evf-admin-field-wrapper .everest-forms-field").eq(0).addClass("active"),f("#everest-forms-field-option-"+f(".evf-admin-field-wrapper .everest-forms-field").eq(0).attr("data-field-id")).show()):f(".everest-forms-field-options").find(".no-fields").show()},bindFields:function(){f(".evf-admin-grid").sortable({containment:".evf-admin-field-wrapper",cancel:!1,over:function(e,i){f(e.target).addClass("evf-item-hover"),f(".evf-admin-grid").addClass("evf-hover"),s.checkEmptyGrid()},out:function(e,i){f(".evf-admin-grid").removeClass("evf-hover"),f(e.target).removeClass("evf-item-hover"),s.checkEmptyGrid()},revert:!0,connectWith:".evf-admin-grid"}).disableSelection(),f(".evf-admin-field-wrapper").sortable({containment:".evf-admin-field-wrapper",tolerance:"pointer",revert:"invalid",placeholder:"evf-admin-row",forceHelperSize:!0,over:function(){f(".evf-admin-field-wrapper").addClass("evf-hover")},out:function(){f(".evf-admin-field-wrapper").removeClass("evf-hover")}}),f(".evf-registered-buttons button.evf-registered-item").draggable({connectToSortable:".evf-admin-grid",containment:"#everest-forms-builder",helper:"clone",revert:"invalid",cancel:!1,start:function(e,i){f(".evf-admin-grid").addClass("evf-hover")},stop:function(e,i){f(".evf-admin-grid").removeClass("evf-hover");i.helper.closest(".evf-admin-grid");var t=i.helper;s.fieldDrop(t)}}).disableSelection()},bindFormPreview:function(){},bindGridSwitcher:function(){f("body").on("click",".evf-show-grid",function(){f(this).closest(".evf-toggle-row").find(".evf-toggle-row-content").slideToggle(200)});f("body").on("click",".evf-grid-selector",function(){var e=f(this).closest(".evf-admin-row");if(!f(this).hasClass("active")){var i=parseInt(f(this).attr("data-evf-grid"),10);if(!(2<i)){var t=f('<div class="evf-admin-grid evf-grid-'+i+' ui-sortable" />'),n=f("<div/>");f.each(e.find(".evf-admin-grid"),function(){f(this).children("*").each(function(){n.append(f(this).clone())})}),e.find(".evf-admin-grid").remove(),e.find(".evf-clear ").remove(),e.append('<div class="clear evf-clear"></div>');for(var o=1;o<=i;o++)t.attr("data-grid-id",o),e.append(t.clone());e.append('<div class="clear evf-clear"></div>'),e.find(".evf-admin-grid").eq(0).append(n.html()),e.find(".evf-grid-selector").removeClass("active"),f(this).addClass("active"),s.bindFields()}}})},fieldDrop:function(o){var e=o.attr("data-field-type");o.css({width:"100%",left:"0"}),o.append('<i class="spinner is-active" style="margin: 0;padding: 0;"></i>');var i={action:"everest_forms_new_field_"+e,security:c.evf_field_drop_nonce,field_type:e,form_id:c.form_id};f.ajax({url:c.ajax_url,data:i,type:"POST",beforeSend:function(){},success:function(e){var i=e.data.preview,t=e.data.options,n=e.data.form_field_id;f("#everest-forms-field-id").val(n),f(".everest-forms-field-options").find(".no-fields").hide(),f(".everest-forms-field-options").append(t),o.after(i),o.remove(),s.checkEmptyGrid()}})},bindFieldSettings:function(){f("body").on("click",".everest-forms-preview .everest-forms-field, .everest-forms-preview .everest-forms-field .everest-forms-field-setting",function(){var e=f(this).closest(".everest-forms-field").attr("data-field-id");s.switchToFieldOptionPanel(e)})}};f(function(){s.init()})}(jQuery,window.evf_data),jQuery(function(){var e=jQuery("#everest-forms-panel-field-settings-redirect_to option:selected").val();"0"==e?(jQuery("#everest-forms-panel-field-settings-custom_page-wrap").hide(),jQuery("#everest-forms-panel-field-settings-external_url-wrap").hide()):"1"==e?(jQuery("#everest-forms-panel-field-settings-custom_page-wrap").show(),jQuery("#everest-forms-panel-field-settings-external_url-wrap").hide()):"2"==e&&(jQuery("#everest-forms-panel-field-settings-external_url-wrap").show(),jQuery("#everest-forms-panel-field-settings-custom_page-wrap").hide()),jQuery("#everest-forms-panel-field-settings-redirect_to").on("change",function(){"0"==this.value?(jQuery("#everest-forms-panel-field-settings-custom_page-wrap").hide(),jQuery("#everest-forms-panel-field-settings-external_url-wrap").hide()):"1"==this.value?(jQuery("#everest-forms-panel-field-settings-custom_page-wrap").show(),jQuery("#everest-forms-panel-field-settings-external_url-wrap").hide()):"2"==this.value&&(jQuery("#everest-forms-panel-field-settings-custom_page-wrap").hide(),jQuery("#everest-forms-panel-field-settings-external_url-wrap").show())}),jQuery("li.evf-panel-field-options-button.evf-disabled-tab").hide()}),jQuery(function(i){i(document.body).on("init_tooltips",function(){i(".tips, .help_tip, .everest-forms-help-tooltip").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200})}).trigger("init_tooltips"),i(".everest-forms-tab-content").on("click",".everest-forms-add-fields-group > a",function(e){e.preventDefault()}),i(".everest-forms-field-option").on("click",".everest-forms-field-option-group > a",function(e){e.preventDefault(),i(this).parent(".everest-forms-field-option-group").toggleClass("closed").toggleClass("open")}),i(".everest-forms-field-option").on("click",".everest-forms-field-option-group a",function(e){i(e.target).filter(":input, option, .sort").length||i(this).next(".everest-forms-field-option-group-inner").stop().slideToggle()}),i(".everest-forms-field-option-group.closed").each(function(){i(this).find(".everest-forms-field-option-group-inner").hide()})});
|
1 |
+
!function(f,c){var s={init:function(){f(document).ready(s.ready),f(window).on("load",s.load),s.bindUI()},ready:function(){jconfirm.defaults={closeIcon:!0,backgroundDismiss:!0,escapeKey:!0,animationBounce:1,useBootstrap:!1,theme:"modern",boxWidth:"400px",columnClass:"evf-responsive-class"},f(document).trigger("everest_forms_ready")},load:function(){},bindUI:function(){s.bindDefaultTabs(),s.checkEmptyGrid(),s.bindFields(),s.bindFormPreview(),s.bindGridSwitcher(),s.bindFieldSettings(),s.bindFieldDelete(),s.bindCloneField(),s.bindSaveOption(),s.bindFieldOptionChange(),s.bindAddNewRow(),s.bindRemoveRow(),s.bindFormSettings(),s.choicesInit(),s.choicesUpdate(),"field-options"===c.tab&&f(".evf-panel-field-options-button").trigger("click")},choicesInit:function(){var e=f(".evf-choices-list");e.sortable({out:function(e,i){var t=f(e.target).attr("data-field-id");s.choiceChange(t)}});var i=e.closest(".everest-forms-field-option").attr("data-field-id");f("#everest-forms-field-"+i)},choicesUpdate:function(){f(".evf-choices-list");f("body").on("click",".evf-choices-list a.add",function(){var e=f(this).closest("li").clone();e.find('input[type="text"]').val("");var i=f(this).closest(".evf-choices-list"),t=i.attr("data-field-id"),n=i.find("li").length;n++,e.find('input[type="checkbox"],input[type="radio"]').prop("checked",!1),e.attr("data-key",n),e.find(".default").attr("name","form_fields["+t+"][choices]["+n+"][default]"),e.find(".label").attr("name","form_fields["+t+"][choices]["+n+"][label]"),e.find(".value").attr("name","form_fields["+t+"][choices]["+n+"][value]"),f(this).closest("li").after(e),s.choiceChange(t)}),f("body").on("click",".evf-choices-list a.remove",function(){var e=f(this).closest(".evf-choices-list"),i=e.attr("data-field-id");e.find("li").length<2?f.alert({title:!1,content:c.i18n_field_error_choice,icon:"dashicons dashicons-info",type:"blue",buttons:{ok:{text:c.i18n_ok,btnClass:"btn-confirm",keys:["enter"]}}}):(f(this).closest("li").remove(),s.choiceChange(i))});f("body").on("keyup paste click",".evf-choices-list input",function(){var e=f(this).closest(".evf-choices-list").attr("data-field-id");"radio"===f(this).attr("type").toLowerCase()&&f(this).is(":checked")&&(f(this).closest(".evf-choices-list").find('input[type="radio"]').prop("checked",!1),f(this).prop("checked",!0)),s.choiceChange(e)})},choiceChange:function(e){var i=f("#everest-forms-field-option-row-"+e+"-choices"),t=f("#everest-forms-field-"+e),n=t.find("ul.primary-input"),o=i.find("ul.evf-choices-list").attr("data-field-type");"select"===o&&(n=t.find("select.primary-input")),n.html(""),f.each(i.find("ul.evf-choices-list").find("li"),function(){var e=f(this).find(".default").attr("type"),i=f("<li/>").append('<input type="'+e+'" disabled="">');"select"===o&&(i=f("<option/>"),f(this).find(".default").is(":checked")&&i.attr("selected","selected")),i.append(f(this).find(".label").val()),f(this).find(".default").is(":checked")&&i.find("input").prop("checked",!0),n.append(i)})},bindFormSettings:function(){f("body").on("click",".evf-setting-panel",function(e){var i=f(this).attr("data-section");f(".evf-setting-panel").removeClass("active"),f(".evf-content-section").removeClass("active"),f(this).addClass("active"),f(".evf-content-"+i+"-settings").addClass("active"),e.preventDefault()}),f(".evf-setting-panel").eq(0).trigger("click")},removeRow:function(e){f.each(e.find(".everest-forms-field"),function(){var e=f(this),i=e.attr("data-field-id"),t=f("#everest-forms-field-option-"+i);e.remove(),t.remove()}),e.remove()},bindRemoveRow:function(){f("body").on("click",".evf-delete-row",function(){var e=f(this).closest(".evf-admin-row");f(".evf-admin-row").length<2?f.alert({title:c.i18n_row_locked,content:c.i18n_row_locked_msg,icon:"dashicons dashicons-info",type:"blue",buttons:{confirm:{text:c.i18n_close,btnClass:"btn-confirm",keys:["enter"]}}}):f.confirm({title:!1,content:c.i18n_delete_row_confirm,type:"red",closeIcon:!1,backgroundDismiss:!1,icon:"dashicons dashicons-warning",buttons:{confirm:{text:c.i18n_ok,btnClass:"btn-confirm",keys:["enter"],action:function(){s.removeRow(e)}},cancel:{text:c.i18n_cancel}}})})},bindAddNewRow:function(){f("body").on("click",".evf-add-row span",function(){var e=f(".evf-admin-row").eq(0).clone(),i=f(".evf-admin-row").length;e.find(".evf-admin-grid").html(""),e.attr("data-row-id",i+1),f(".evf-admin-field-wrapper").append(e),s.bindFields(),s.checkEmptyGrid()})},bindFieldOptionChange:function(){f("body").on("keyup paste click",'.everest-forms-field-option-row input[type="text"][name$="[label]"], .everest-forms-field-option-row textarea[name$="[description]"], .everest-forms-field-option-row input[type="checkbox"][name$="[required]"], .everest-forms-field-option-row input[type="checkbox"][name$="[label_hide]"], .everest-forms-field-option-row input[type="text"][name$="[placeholder]"]',function(){s.bindFormFieldChange(f(this))})},bindFormFieldChange:function(e){var i=e.closest(".everest-forms-field-option-row").attr("data-field-id"),t=f(".evf-admin-grid #everest-forms-field-"+i+".active"),n=e.attr("id");if("undefined"!==n&&n!==undefined)switch(n=n.replace("everest-forms-field-option-"+i+"-","")){case"label":t.find(".label-title .text").text(e.val());break;case"description":t.find(".description").html(e.val());break;case"required":e.is(":checked")?(t.find(".label-title .required").remove(),t.find(".label-title").append('<span class="required">*</span>')):t.find(".label-title .required").remove();break;case"label_hide":e.is(":checked")?t.find(".label-title").hide():t.find(".label-title").show();break;case"placeholder":t.find("input").attr("placeholder",e.val())}},bindCloneField:function(){f("body").on("click",".everest-forms-preview .everest-forms-field .everest-forms-field-duplicate",function(){var e=f(this).closest(".everest-forms-field");e.hasClass("no-duplicate")?f.alert({title:c.i18n_field_locked,content:c.i18n_field_locked_msg,icon:"dashicons dashicons-info",type:"blue",buttons:{confirm:{text:c.i18n_close,btnClass:"btn-confirm",keys:["enter"]}}}):f.confirm({title:!1,content:c.i18n_duplicate_field_confirm,type:"orange",closeIcon:!1,backgroundDismiss:!1,icon:"dashicons dashicons-warning",buttons:{confirm:{text:c.i18n_ok,btnClass:"btn-confirm",keys:["enter"],action:function(){s.cloneFieldAction(e)}},cancel:{text:c.i18n_cancel}}})})},cloneFieldAction:function(n){var o=n.attr("data-field-id"),e=c.form_id,i={action:"everest_forms_get_next_id",security:c.evf_get_next_id,form_id:e};f.ajax({url:c.ajax_url,data:i,type:"POST",beforeSend:function(){},success:function(e){if("boolean"==typeof e.success&&!0===e.success){var i=e.data.field_id,t=e.data.field_key;f("#everest-forms-field-id").val(i),s.render_node(n,o,t)}}})},render_node:function(e,o,r){var i=f(".everest-forms-field-options #everest-forms-field-option-"+o),t=e.attr("data-field-type"),n=i.html(),s=c.copy_of+f("#everest-forms-field-option-"+o+"-label").val(),a=e.clone(),d=new RegExp(o,"g");n=n.replace(d,r);var l=f('<div class="everest-forms-field-option everest-forms-field-option-'+t+'" id="everest-forms-field-option-'+r+'" data-field-id="'+r+'" />');l.append(n),f.each(i.find(":input"),function(){var e=f(this).attr("type"),i=f(this).attr("name").replace(d,r),t="";if("text"===e||"hidden"===e)t=f(this).val(),l.find('input[name="'+i+'"]').val(t),l.find('input[value="'+o+'"]').val(r);else if("checkbox"===e||"radio"===e)f(this).is(":checked")?l.find('input[name="'+i+'"]').prop("checked",!0).attr("checked","checked"):l.find('[name="'+i+'"]').prop("checked",!1).attr("checked",!1);else if(f(this).is("select")){if(f(this).find("option:selected").length){var n=f(this).find("option:selected").val();l.find('[name="'+i+'"]').find('[value="'+n+'"]').prop("selected",!0)}}else""!==f(this).val()&&l.find('[name="'+i+'"]').val(f(this).val())}),f(".everest-forms-field-options").append(l),f("#everest-forms-field-option-"+r+"-label").val(s),a.attr("class",e.attr("class")),a.attr("id","everest-forms-field-"+r),a.attr("data-field-id",r),a.attr("data-field-type",t),a.find(".label-title .text").text(s),e.closest(".evf-admin-grid").find('[data-field-id="'+o+'"]').after(a),f(document).trigger("everest-form-cloned",[r,t])},bindFieldDelete:function(){f("body").on("click",".everest-forms-preview .everest-forms-field .everest-forms-field-delete",function(){var e=f(this).closest(".everest-forms-field"),i=e.attr("data-field-id"),t=f("#everest-forms-field-option-"+i);e.hasClass("no-delete")?f.alert({title:c.i18n_field_locked,content:c.i18n_field_locked_msg,icon:"dashicons dashicons-info",type:"blue",buttons:{confirm:{text:c.i18n_close,btnClass:"btn-confirm",keys:["enter"]}}}):f.confirm({title:!1,content:c.i18n_delete_field_confirm,type:"orange",closeIcon:!1,backgroundDismiss:!1,icon:"dashicons dashicons-warning",buttons:{confirm:{text:c.i18n_ok,btnClass:"btn-confirm",keys:["enter"],action:function(){f(".evf-panel-fields-button").trigger("click"),e.fadeOut("slow",function(){e.remove(),t.remove()})}},cancel:{text:c.i18n_cancel}}})})},bindSaveOption:function(){f("body").on("click",".evf_save_form_action_button",function(){var i=f(this),e=f("form#everest-forms-builder-form"),t=s.getStructure(),n=e.serializeArray().concat(t),o={action:"everest_forms_save_form",security:c.evf_save_form,form_data:JSON.stringify(n)},r=f("#everest-forms-builder");f.ajax({url:c.ajax_url,data:o,type:"POST",beforeSend:function(){var e=f('<div class="evf-overlay"></div>');e.append('<div class="loading"></div>'),i.find(".spinner").remove(),r.find(".evf-overlay").remove(),r.css({position:"relative"}),r.append(e),i.append('<span style="margin-top:-1px;margin-right:0;" class="spinner is-active"></span>')},success:function(e){r.find(".evf-overlay").fadeOut(),r.find(".evf-overlay").remove(),r.removeAttr("style"),i.find(".spinner").remove(),"boolean"==typeof e.success&&!0===e.success&&window.location.reload()}})})},getStructure:function(){var e=f(".evf-admin-field-wrapper"),r=[];return f.each(e.find(".evf-admin-row"),function(){var e=f(this),o=e.attr("data-row-id");f.each(e.find(".evf-admin-grid"),function(){var e=f(this),t=e.attr("data-grid-id"),n=0;f.each(e.find(".everest-forms-field"),function(){var e={name:"",value:""},i=f(this).attr("data-field-id");e.name="structure[row_"+o+"][grid_"+t+"]["+n+"]",n++,e.value=i,r.push(e)}),e.find(".everest-forms-field").length<1&&r.push({name:"structure[row_"+o+"][grid_"+t+"]",value:""})})}),r},getFieldArray:function(e){var i=[];return f.each(e.find(".everest-forms-field"),function(){var e=f(this).attr("data-field-id");i.push(e)}),i},checkEmptyGrid:function(){f.each(f(".evf-admin-grid"),function(){f(this).find(".everest-forms-field").length<1?f(this).addClass("evf-empty-grid"):f(this).removeClass("evf-empty-grid")}),s.choicesInit()},bindDefaultTabs:function(){f(document).on("click","#evf-builder-tabs li",function(e){e.preventDefault(),s.switchTab(f(this).data("panel"))})},switchTab:function(e){var i=f("#everest-forms-panel-"+e),t=f(".evf-panel-"+e+"-button");f("#evf-builder-tabs").find("li a").removeClass("active"),t.find("a").addClass("active"),i.closest(".evf-tab-content").find(".everest-forms-panel").removeClass("active"),i.addClass("active"),"fields"===e&&(f(".everest-forms-field-options").hide(),f(".everest-forms-add-fields").show()),history.replaceState({},null,s.updateQueryString("tab",e)),s.switchPanel(e)},updateQueryString:function(e,i,t){t||(t=window.location.href);var n,o=new RegExp("([?&])"+e+"=.*?(&|#|$)(.*)","gi");if(o.test(t))return null!=i?t.replace(o,"$1"+e+"="+i+"$2$3"):(t=(n=t.split("#"))[0].replace(o,"$1$3").replace(/(&|\?)$/,""),"undefined"!=typeof n[1]&&null!==n[1]&&(t+="#"+n[1]),t);if(null!=i){var r=-1!==t.indexOf("?")?"&":"?";return t=(n=t.split("#"))[0]+r+e+"="+i,"undefined"!=typeof n[1]&&null!==n[1]&&(t+="#"+n[1]),t}return t},switchPanel:function(e){"field-options"===e&&s.switchToFieldOptionPanel()},switchToFieldOptionPanel:function(e){f("li.evf-panel-field-options-button.evf-disabled-tab").show(),f(".everest-forms-field-options").find(".no-fields").hide(),f(".evf-admin-field-wrapper .everest-forms-field").removeClass("active"),f(".everest-forms-panel").removeClass("active"),f("#everest-forms-panel-fields").addClass("active"),f(".everest-forms-add-fields").hide(),f(".everest-forms-field-options").show(),f(".everest-forms-field-options").find(".everest-forms-field-option").hide(),f(".evf-tab-lists").find("li a").removeClass("active"),f(".evf-tab-lists").find("li.evf-panel-field-options-button a").addClass("active"),void 0!==e?(f("#everest-forms-field-option-"+e).show(),f("#everest-forms-field-"+e).addClass("active")):0<f(".evf-admin-field-wrapper .everest-forms-field").length?(f(".evf-admin-field-wrapper .everest-forms-field").eq(0).addClass("active"),f("#everest-forms-field-option-"+f(".evf-admin-field-wrapper .everest-forms-field").eq(0).attr("data-field-id")).show()):f(".everest-forms-field-options").find(".no-fields").show()},bindFields:function(){f(".evf-admin-grid").sortable({containment:".evf-admin-field-wrapper",cancel:!1,over:function(e,i){f(e.target).addClass("evf-item-hover"),f(".evf-admin-grid").addClass("evf-hover"),s.checkEmptyGrid()},out:function(e,i){f(".evf-admin-grid").removeClass("evf-hover"),f(e.target).removeClass("evf-item-hover"),s.checkEmptyGrid()},revert:!0,connectWith:".evf-admin-grid"}).disableSelection(),f(".evf-admin-field-wrapper").sortable({containment:".evf-admin-field-wrapper",tolerance:"pointer",revert:"invalid",placeholder:"evf-admin-row",forceHelperSize:!0,over:function(){f(".evf-admin-field-wrapper").addClass("evf-hover")},out:function(){f(".evf-admin-field-wrapper").removeClass("evf-hover")}}),f(".evf-registered-buttons button.evf-registered-item").draggable({connectToSortable:".evf-admin-grid",containment:"#everest-forms-builder",helper:"clone",revert:"invalid",cancel:!1,start:function(e,i){f(".evf-admin-grid").addClass("evf-hover")},stop:function(e,i){f(".evf-admin-grid").removeClass("evf-hover");i.helper.closest(".evf-admin-grid");var t=i.helper;s.fieldDrop(t)}}).disableSelection()},bindFormPreview:function(){},bindGridSwitcher:function(){f("body").on("click",".evf-show-grid",function(){f(this).closest(".evf-toggle-row").find(".evf-toggle-row-content").slideToggle(200)});f("body").on("click",".evf-grid-selector",function(){var e=f(this).closest(".evf-admin-row");if(!f(this).hasClass("active")){var i=parseInt(f(this).attr("data-evf-grid"),10);if(!(2<i)){var t=f('<div class="evf-admin-grid evf-grid-'+i+' ui-sortable" />'),n=f("<div/>");f.each(e.find(".evf-admin-grid"),function(){f(this).children("*").each(function(){n.append(f(this).clone())})}),e.find(".evf-admin-grid").remove(),e.find(".evf-clear ").remove(),e.append('<div class="clear evf-clear"></div>');for(var o=1;o<=i;o++)t.attr("data-grid-id",o),e.append(t.clone());e.append('<div class="clear evf-clear"></div>'),e.find(".evf-admin-grid").eq(0).append(n.html()),e.find(".evf-grid-selector").removeClass("active"),f(this).addClass("active"),s.bindFields()}}})},fieldDrop:function(o){var e=o.attr("data-field-type");o.css({width:"100%",left:"0"}),o.append('<i class="spinner is-active" style="margin: 0;padding: 0;"></i>');var i={action:"everest_forms_new_field_"+e,security:c.evf_field_drop_nonce,field_type:e,form_id:c.form_id};f.ajax({url:c.ajax_url,data:i,type:"POST",beforeSend:function(){},success:function(e){var i=e.data.preview,t=e.data.options,n=e.data.form_field_id;f("#everest-forms-field-id").val(n),f(".everest-forms-field-options").find(".no-fields").hide(),f(".everest-forms-field-options").append(t),o.after(i),o.remove(),s.checkEmptyGrid()}})},bindFieldSettings:function(){f("body").on("click",".everest-forms-preview .everest-forms-field, .everest-forms-preview .everest-forms-field .everest-forms-field-setting",function(){var e=f(this).closest(".everest-forms-field").attr("data-field-id");s.switchToFieldOptionPanel(e)})}};f(function(){s.init()})}(jQuery,window.evf_data),jQuery(function(){var e=jQuery("#everest-forms-panel-field-settings-redirect_to option:selected").val();"0"==e?(jQuery("#everest-forms-panel-field-settings-custom_page-wrap").hide(),jQuery("#everest-forms-panel-field-settings-external_url-wrap").hide()):"1"==e?(jQuery("#everest-forms-panel-field-settings-custom_page-wrap").show(),jQuery("#everest-forms-panel-field-settings-external_url-wrap").hide()):"2"==e&&(jQuery("#everest-forms-panel-field-settings-external_url-wrap").show(),jQuery("#everest-forms-panel-field-settings-custom_page-wrap").hide()),jQuery("#everest-forms-panel-field-settings-redirect_to").on("change",function(){"0"==this.value?(jQuery("#everest-forms-panel-field-settings-custom_page-wrap").hide(),jQuery("#everest-forms-panel-field-settings-external_url-wrap").hide()):"1"==this.value?(jQuery("#everest-forms-panel-field-settings-custom_page-wrap").show(),jQuery("#everest-forms-panel-field-settings-external_url-wrap").hide()):"2"==this.value&&(jQuery("#everest-forms-panel-field-settings-custom_page-wrap").hide(),jQuery("#everest-forms-panel-field-settings-external_url-wrap").show())}),jQuery("li.evf-panel-field-options-button.evf-disabled-tab").hide()}),jQuery(function(i){i(document.body).on("init_tooltips",function(){i(".tips, .help_tip, .everest-forms-help-tooltip").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200})}).trigger("init_tooltips"),i(".everest-forms-tab-content").on("click",".everest-forms-add-fields-group > a",function(e){e.preventDefault()}),i(".everest-forms-field-option").on("click",".everest-forms-field-option-group > a",function(e){e.preventDefault(),i(this).parent(".everest-forms-field-option-group").toggleClass("closed").toggleClass("open")}),i(".everest-forms-field-option").on("click",".everest-forms-field-option-group a",function(e){i(e.target).filter(":input, option, .sort").length||i(this).next(".everest-forms-field-option-group-inner").stop().slideToggle()}),i(".everest-forms-field-option-group.closed").each(function(){i(this).find(".everest-forms-field-option-group-inner").hide()})});
|
everest-forms.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Everest Forms
|
4 |
* Plugin URI: https://wpeverest.com/wordpress-plugins/everest-forms/
|
5 |
* Description: Drag and Drop form builder to easily create contact forms and more.
|
6 |
-
* Version: 1.1.
|
7 |
* Author: WPEverest
|
8 |
* Author URI: https://wpeverest.com
|
9 |
* Text Domain: everest-forms
|
3 |
* Plugin Name: Everest Forms
|
4 |
* Plugin URI: https://wpeverest.com/wordpress-plugins/everest-forms/
|
5 |
* Description: Drag and Drop form builder to easily create contact forms and more.
|
6 |
+
* Version: 1.1.6
|
7 |
* Author: WPEverest
|
8 |
* Author URI: https://wpeverest.com
|
9 |
* Text Domain: everest-forms
|
includes/admin/class-evf-admin-settings.php
CHANGED
@@ -52,7 +52,6 @@ class EVF_Admin_Settings {
|
|
52 |
|
53 |
$settings[] = include( 'settings/class-evf-settings-general.php' );
|
54 |
$settings[] = include( 'settings/class-evf-settings-recaptcha.php' );
|
55 |
-
$settings[] = include( 'settings/class-evf-settings-email.php' );
|
56 |
$settings[] = include( 'settings/class-evf-settings-validation.php' );
|
57 |
|
58 |
self::$settings = apply_filters( 'everest_forms_get_settings_pages', $settings );
|
52 |
|
53 |
$settings[] = include( 'settings/class-evf-settings-general.php' );
|
54 |
$settings[] = include( 'settings/class-evf-settings-recaptcha.php' );
|
|
|
55 |
$settings[] = include( 'settings/class-evf-settings-validation.php' );
|
56 |
|
57 |
self::$settings = apply_filters( 'everest_forms_get_settings_pages', $settings );
|
includes/admin/form-panels/class-evf-settings-panel.php
CHANGED
@@ -84,16 +84,6 @@ class EVF_Settings_Panel extends EVF_Admin_Form_Panel {
|
|
84 |
'default' => $this->form->post_title,
|
85 |
)
|
86 |
);
|
87 |
-
everest_forms_panel_field(
|
88 |
-
'checkbox',
|
89 |
-
'settings',
|
90 |
-
'recaptcha_support',
|
91 |
-
$this->form_data,
|
92 |
-
sprintf( __( 'Enable %1$s %2$s reCaptcha %3$s support', 'everest-forms' ), '<a title="', 'Please make sure the site key and secret are not empty in setting page." href="' . admin_url() . 'admin.php?page=evf-settings&tab=recaptcha" target="_blank">', '</a>' ),
|
93 |
-
array(
|
94 |
-
'default' => '0',
|
95 |
-
)
|
96 |
-
);
|
97 |
everest_forms_panel_field(
|
98 |
'textarea',
|
99 |
'settings',
|
@@ -101,7 +91,7 @@ class EVF_Settings_Panel extends EVF_Admin_Form_Panel {
|
|
101 |
$this->form_data,
|
102 |
__( 'Successful form submission message', 'everest-forms' ),
|
103 |
array(
|
104 |
-
'default' => isset( $this->form->successful_form_submission_message ) ? $this->form->successful_form_submission_message :
|
105 |
)
|
106 |
);
|
107 |
everest_forms_panel_field(
|
@@ -164,30 +154,37 @@ class EVF_Settings_Panel extends EVF_Admin_Form_Panel {
|
|
164 |
'default' => isset( $this->form->form_class ) ? $this->form->form_class : '',
|
165 |
)
|
166 |
);
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
everest_forms_panel_field(
|
172 |
'checkbox',
|
173 |
'settings',
|
174 |
-
'
|
175 |
$this->form_data,
|
176 |
-
__( '
|
177 |
array(
|
178 |
-
'default' =>
|
179 |
)
|
180 |
);
|
181 |
everest_forms_panel_field(
|
182 |
-
'
|
183 |
'settings',
|
184 |
-
'
|
185 |
$this->form_data,
|
186 |
-
__( '
|
187 |
array(
|
188 |
-
'default' => isset( $this->form_setting['
|
189 |
)
|
190 |
);
|
|
|
191 |
do_action( 'everest_forms_general_settings', $this );
|
192 |
|
193 |
echo '</div>';
|
@@ -206,7 +203,7 @@ class EVF_Settings_Panel extends EVF_Admin_Form_Panel {
|
|
206 |
$this->form_data,
|
207 |
__( 'To Address', 'everest-forms' ),
|
208 |
array(
|
209 |
-
'default' => isset( $this->form_setting['email']['evf_to_email'] ) ? $this->form_setting['email']['evf_to_email'] : get_option( '
|
210 |
)
|
211 |
);
|
212 |
everest_forms_panel_field(
|
@@ -216,7 +213,7 @@ class EVF_Settings_Panel extends EVF_Admin_Form_Panel {
|
|
216 |
$this->form_data,
|
217 |
__( 'From Name', 'everest-forms' ),
|
218 |
array(
|
219 |
-
'default' => isset( $this->form_setting['email']['evf_from_name'] ) ? $this->form_setting['email']['evf_from_name'] :
|
220 |
)
|
221 |
);
|
222 |
everest_forms_panel_field(
|
@@ -226,7 +223,7 @@ class EVF_Settings_Panel extends EVF_Admin_Form_Panel {
|
|
226 |
$this->form_data,
|
227 |
__( 'From Address', 'everest-forms' ),
|
228 |
array(
|
229 |
-
'default' => isset( $this->form_setting['email']['evf_from_email'] ) ? $this->form_setting['email']['evf_from_email'] : get_option( '
|
230 |
)
|
231 |
);
|
232 |
everest_forms_panel_field(
|
@@ -236,7 +233,7 @@ class EVF_Settings_Panel extends EVF_Admin_Form_Panel {
|
|
236 |
$this->form_data,
|
237 |
__( 'Email Subject', 'everest-forms' ),
|
238 |
array(
|
239 |
-
'default' => isset( $this->form_setting['email']['evf_email_subject'] ) ? $this->form_setting['email']['evf_email_subject'] :
|
240 |
)
|
241 |
);
|
242 |
everest_forms_panel_field(
|
@@ -246,7 +243,7 @@ class EVF_Settings_Panel extends EVF_Admin_Form_Panel {
|
|
246 |
$this->form_data,
|
247 |
__( 'Email Message', 'everest-forms' ),
|
248 |
array(
|
249 |
-
'default' => isset( $this->form_setting['email']['evf_email_message'] ) ? $this->form_setting['email']['evf_email_message'] :
|
250 |
)
|
251 |
);
|
252 |
do_action( 'everest_forms_email_settings', $this );
|
84 |
'default' => $this->form->post_title,
|
85 |
)
|
86 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
everest_forms_panel_field(
|
88 |
'textarea',
|
89 |
'settings',
|
91 |
$this->form_data,
|
92 |
__( 'Successful form submission message', 'everest-forms' ),
|
93 |
array(
|
94 |
+
'default' => isset( $this->form->successful_form_submission_message ) ? $this->form->successful_form_submission_message : __( 'Thanks for contacting us! We will be in touch with you shortly', 'everest-forms' ),
|
95 |
)
|
96 |
);
|
97 |
everest_forms_panel_field(
|
154 |
'default' => isset( $this->form->form_class ) ? $this->form->form_class : '',
|
155 |
)
|
156 |
);
|
157 |
+
everest_forms_panel_field(
|
158 |
+
'text',
|
159 |
+
'settings',
|
160 |
+
'submit_button_text',
|
161 |
+
$this->form_data,
|
162 |
+
__( 'Submit button text', 'everest-forms' ),
|
163 |
+
array(
|
164 |
+
'default' => isset( $this->form_setting['submit_button_text'] ) ? $this->form_setting['submit_button_text'] : __( 'Submit', 'everest-forms' ),
|
165 |
+
)
|
166 |
+
);
|
167 |
everest_forms_panel_field(
|
168 |
'checkbox',
|
169 |
'settings',
|
170 |
+
'recaptcha_support',
|
171 |
$this->form_data,
|
172 |
+
sprintf( __( 'Enable %1$s %2$s reCaptcha %3$s support', 'everest-forms' ), '<a title="', 'Please make sure the site key and secret are not empty in setting page." href="' . admin_url() . 'admin.php?page=evf-settings&tab=recaptcha" target="_blank">', '</a>' ),
|
173 |
array(
|
174 |
+
'default' => '0',
|
175 |
)
|
176 |
);
|
177 |
everest_forms_panel_field(
|
178 |
+
'checkbox',
|
179 |
'settings',
|
180 |
+
'disabled_entries',
|
181 |
$this->form_data,
|
182 |
+
__( 'Disable storing entry information', 'everest-forms' ),
|
183 |
array(
|
184 |
+
'default' => isset( $this->form_setting['disabled_entries'] ) ? $this->form_setting['disabled_entries'] : 0,
|
185 |
)
|
186 |
);
|
187 |
+
|
188 |
do_action( 'everest_forms_general_settings', $this );
|
189 |
|
190 |
echo '</div>';
|
203 |
$this->form_data,
|
204 |
__( 'To Address', 'everest-forms' ),
|
205 |
array(
|
206 |
+
'default' => isset( $this->form_setting['email']['evf_to_email'] ) ? $this->form_setting['email']['evf_to_email'] : get_option( 'admin_email' ),
|
207 |
)
|
208 |
);
|
209 |
everest_forms_panel_field(
|
213 |
$this->form_data,
|
214 |
__( 'From Name', 'everest-forms' ),
|
215 |
array(
|
216 |
+
'default' => isset( $this->form_setting['email']['evf_from_name'] ) ? $this->form_setting['email']['evf_from_name'] : get_bloginfo( 'name', 'display' ),
|
217 |
)
|
218 |
);
|
219 |
everest_forms_panel_field(
|
223 |
$this->form_data,
|
224 |
__( 'From Address', 'everest-forms' ),
|
225 |
array(
|
226 |
+
'default' => isset( $this->form_setting['email']['evf_from_email'] ) ? $this->form_setting['email']['evf_from_email'] : get_option( 'admin_email' ),
|
227 |
)
|
228 |
);
|
229 |
everest_forms_panel_field(
|
233 |
$this->form_data,
|
234 |
__( 'Email Subject', 'everest-forms' ),
|
235 |
array(
|
236 |
+
'default' => isset( $this->form_setting['email']['evf_email_subject'] ) ? $this->form_setting['email']['evf_email_subject'] : __( 'New Form Entry', 'everest-forms' ),
|
237 |
)
|
238 |
);
|
239 |
everest_forms_panel_field(
|
243 |
$this->form_data,
|
244 |
__( 'Email Message', 'everest-forms' ),
|
245 |
array(
|
246 |
+
'default' => isset( $this->form_setting['email']['evf_email_message'] ) ? $this->form_setting['email']['evf_email_message'] : __( '{all_fields}', 'everest-forms' ),
|
247 |
)
|
248 |
);
|
249 |
do_action( 'everest_forms_email_settings', $this );
|
includes/admin/settings/class-evf-settings-email.php
DELETED
@@ -1,119 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* EverestForms Email Settings
|
4 |
-
*
|
5 |
-
* @author WPEverest
|
6 |
-
* @category Admin
|
7 |
-
* @package EverestForms/Admin
|
8 |
-
* @version 1.0.0
|
9 |
-
*/
|
10 |
-
|
11 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
12 |
-
exit; // Exit if accessed directly
|
13 |
-
}
|
14 |
-
|
15 |
-
if ( ! class_exists( 'EVF_Settings_Email', false ) ) :
|
16 |
-
|
17 |
-
/**
|
18 |
-
* EVF_Admin_Settings_Email.
|
19 |
-
*/
|
20 |
-
class EVF_Settings_Email extends EVF_Settings_Page {
|
21 |
-
|
22 |
-
/**
|
23 |
-
* Constructor.
|
24 |
-
*/
|
25 |
-
public function __construct() {
|
26 |
-
$this->id = 'email';
|
27 |
-
$this->icon = 'dashicons dashicons-email';
|
28 |
-
$this->label = __( 'Email', 'everest-forms' );
|
29 |
-
|
30 |
-
parent::__construct();
|
31 |
-
}
|
32 |
-
|
33 |
-
/**
|
34 |
-
* Get settings array.
|
35 |
-
*
|
36 |
-
* @return array
|
37 |
-
*/
|
38 |
-
public function get_settings() {
|
39 |
-
|
40 |
-
$settings = apply_filters(
|
41 |
-
'everest_forms_email_settings', array(
|
42 |
-
|
43 |
-
array(
|
44 |
-
'title' => __( 'Email Settings', 'everest-forms' ),
|
45 |
-
'type' => 'title',
|
46 |
-
'desc' => '',
|
47 |
-
'id' => 'email_options',
|
48 |
-
),
|
49 |
-
array(
|
50 |
-
'title' => __( 'To Address', 'everest-forms' ),
|
51 |
-
'desc' => __( 'Enter the email address to send email', 'everest-forms' ),
|
52 |
-
'id' => 'evf_to_email',
|
53 |
-
'type' => 'text',
|
54 |
-
'desc_tip' => true,
|
55 |
-
'css' => 'min-width: 350px;',
|
56 |
-
'default' => get_option('admin_email'),
|
57 |
-
),
|
58 |
-
array(
|
59 |
-
'title' => __( 'From Name', 'everest-forms' ),
|
60 |
-
'desc' => __( 'Email senders name', 'everest-forms' ),
|
61 |
-
'id' => 'evf_from_name',
|
62 |
-
'type' => 'text',
|
63 |
-
'desc_tip' => true,
|
64 |
-
'css' => 'min-width: 350px;',
|
65 |
-
'default' => evf_sender_name(),
|
66 |
-
),
|
67 |
-
array(
|
68 |
-
'title' => __( 'From Address', 'everest-forms' ),
|
69 |
-
'desc' => __( 'Email senders address', 'everest-forms' ),
|
70 |
-
'id' => 'evf_from_address',
|
71 |
-
'type' => 'text',
|
72 |
-
'desc_tip' => true,
|
73 |
-
'css' => 'min-width: 350px;',
|
74 |
-
'default' => evf_sender_address(),
|
75 |
-
),
|
76 |
-
array(
|
77 |
-
'title' => __( 'Email Subject', 'everest-forms' ),
|
78 |
-
'desc' => __( 'Email Subject', 'everest-forms' ),
|
79 |
-
'id' => 'evf_email_subject',
|
80 |
-
'type' => 'text',
|
81 |
-
'desc_tip' => true,
|
82 |
-
'css' => 'min-width: 350px;',
|
83 |
-
'default' => 'New Form Entry'
|
84 |
-
),
|
85 |
-
array(
|
86 |
-
'title' => __( 'Email Message', 'everest-forms' ),
|
87 |
-
'desc' => __( 'Email Message', 'everest-forms' ),
|
88 |
-
'id' => 'evf_email_message',
|
89 |
-
'type' => 'tinymce',
|
90 |
-
'desc_tip' => true,
|
91 |
-
'css' => 'max-width: 350px;',
|
92 |
-
'default' => '{all_fields}'
|
93 |
-
),
|
94 |
-
array(
|
95 |
-
'type' => 'sectionend',
|
96 |
-
'id' => 'email_options',
|
97 |
-
),
|
98 |
-
|
99 |
-
)
|
100 |
-
);
|
101 |
-
|
102 |
-
|
103 |
-
return apply_filters( 'everest_forms_get_settings_' . $this->id, $settings );
|
104 |
-
}
|
105 |
-
|
106 |
-
/**
|
107 |
-
* Save settings.
|
108 |
-
*/
|
109 |
-
public function save() {
|
110 |
-
$settings = $this->get_settings();
|
111 |
-
|
112 |
-
|
113 |
-
EVF_Admin_Settings::save_fields( $settings );
|
114 |
-
}
|
115 |
-
}
|
116 |
-
|
117 |
-
endif;
|
118 |
-
|
119 |
-
return new EVF_Settings_Email();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/admin/settings/class-evf-settings-general.php
CHANGED
@@ -39,7 +39,6 @@ if ( ! class_exists( 'EVF_Settings_General', false ) ) :
|
|
39 |
|
40 |
$settings = apply_filters(
|
41 |
'everest_forms_general_settings', array(
|
42 |
-
|
43 |
array(
|
44 |
'title' => __( 'General Options', 'everest-forms' ),
|
45 |
'type' => 'title',
|
@@ -47,37 +46,16 @@ if ( ! class_exists( 'EVF_Settings_General', false ) ) :
|
|
47 |
'id' => 'general_options',
|
48 |
),
|
49 |
array(
|
50 |
-
'title' => __( '
|
51 |
-
'desc' => __( '
|
52 |
-
'id' => '
|
53 |
-
'
|
54 |
-
'desc_tip' => true,
|
55 |
-
'css' => 'min-width: 350px;',
|
56 |
-
'default' => __('Submit','everest-forms'),
|
57 |
-
),
|
58 |
-
array(
|
59 |
-
'title' => __( 'Disable Form Entries', 'everest-forms' ),
|
60 |
-
'desc' => '',
|
61 |
-
'id' => 'everest_forms_disable_form_entries',
|
62 |
'type' => 'checkbox',
|
63 |
-
'desc_tip' => true,
|
64 |
-
'default' => 'no',
|
65 |
),
|
66 |
-
array(
|
67 |
-
'title' => __( 'Successful Form Submission Message', 'everest-forms' ),
|
68 |
-
'desc' => __( 'Enter the text message after successful form submission.', 'everest-forms' ),
|
69 |
-
'id' => 'everest_forms_successful_form_submission_message',
|
70 |
-
'type' => 'textarea',
|
71 |
-
'desc_tip' => true,
|
72 |
-
'css' => 'min-width: 350px; min-height: 200px;',
|
73 |
-
'default' => __('Thanks for contacting us! We will be in touch with you shortly.','everest-forms'),
|
74 |
-
),
|
75 |
-
|
76 |
array(
|
77 |
'type' => 'sectionend',
|
78 |
'id' => 'general_options',
|
79 |
),
|
80 |
-
|
81 |
)
|
82 |
);
|
83 |
return apply_filters( 'everest_forms_get_settings_' . $this->id, $settings );
|
39 |
|
40 |
$settings = apply_filters(
|
41 |
'everest_forms_general_settings', array(
|
|
|
42 |
array(
|
43 |
'title' => __( 'General Options', 'everest-forms' ),
|
44 |
'type' => 'title',
|
46 |
'id' => 'general_options',
|
47 |
),
|
48 |
array(
|
49 |
+
'title' => __( 'Disable User Details', 'everest-forms' ),
|
50 |
+
'desc' => __( 'Disable storing the IP address and User Agent on all forms.', 'everest-forms' ),
|
51 |
+
'id' => 'everest_forms_disable_user_details',
|
52 |
+
'default' => 'no',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
'type' => 'checkbox',
|
|
|
|
|
54 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
array(
|
56 |
'type' => 'sectionend',
|
57 |
'id' => 'general_options',
|
58 |
),
|
|
|
59 |
)
|
60 |
);
|
61 |
return apply_filters( 'everest_forms_get_settings_' . $this->id, $settings );
|
includes/class-everest-forms.php
CHANGED
@@ -21,7 +21,7 @@ final class EverestForms {
|
|
21 |
*
|
22 |
* @var string
|
23 |
*/
|
24 |
-
public $version = '1.1.
|
25 |
|
26 |
/**
|
27 |
* The form data handler instance.
|
21 |
*
|
22 |
* @var string
|
23 |
*/
|
24 |
+
public $version = '1.1.6';
|
25 |
|
26 |
/**
|
27 |
* The form data handler instance.
|
includes/class-evf-emails.php
CHANGED
@@ -152,7 +152,7 @@ class EVF_Emails {
|
|
152 |
* @return string The email from name
|
153 |
*/
|
154 |
public function get_from_name() {
|
155 |
-
$this->from_name = isset ( $this->from_name ) ? $this->from_name :
|
156 |
return apply_filters( 'everest_forms_email_from_name', wp_specialchars_decode( $this->from_name ), $this );
|
157 |
}
|
158 |
|
@@ -164,7 +164,7 @@ class EVF_Emails {
|
|
164 |
* @return string The email from address.
|
165 |
*/
|
166 |
public function get_from_address() {
|
167 |
-
$this->from_address = isset ( $this->from_address ) ? $this->from_address :
|
168 |
return apply_filters( 'everest_forms_email_from_address', $this->from_address, $this );
|
169 |
}
|
170 |
|
152 |
* @return string The email from name
|
153 |
*/
|
154 |
public function get_from_name() {
|
155 |
+
$this->from_name = isset ( $this->from_name ) ? $this->from_name : get_bloginfo( 'name', 'display' );
|
156 |
return apply_filters( 'everest_forms_email_from_name', wp_specialchars_decode( $this->from_name ), $this );
|
157 |
}
|
158 |
|
164 |
* @return string The email from address.
|
165 |
*/
|
166 |
public function get_from_address() {
|
167 |
+
$this->from_address = isset ( $this->from_address ) ? $this->from_address : get_option( 'admin_email' );
|
168 |
return apply_filters( 'everest_forms_email_from_address', $this->from_address, $this );
|
169 |
}
|
170 |
|
includes/class-evf-form-task.php
CHANGED
@@ -346,13 +346,15 @@ class EVF_Form_Task {
|
|
346 |
|
347 |
$email = array();
|
348 |
|
349 |
-
$email['evf_from_email'] = ! empty( $email_notifications['evf_from_email'] ) ? $email_notifications['evf_from_email'] :
|
350 |
-
$email['evf_from_name'] = ! empty( $email_notifications['evf_from_name'] ) ? $email_notifications['evf_from_name'] :
|
351 |
$email['evf_email_header'] = ! empty( $email_notifications['evf_email_header'] ) ? $email_notifications['evf_email_header'] : '';
|
352 |
$email['evf_email_subject'] = ! empty( $email_notifications['evf_email_subject'] ) ? $email_notifications['evf_email_subject'] : sprintf( _x( 'New %s Entry', 'Form name', 'everest-forms' ), $form_data['settings']['form_title'] );
|
353 |
$email['evf_to_email'] = explode( ',', apply_filters( 'everest_forms_process_smart_tags', $email_notifications['evf_to_email'], $form_data, $fields, $this->entry_id ) );
|
354 |
$email['evf_to_email'] = array_map( 'sanitize_email', $email['evf_to_email'] );
|
355 |
|
|
|
|
|
356 |
if ( ! empty( $email_notifications['evf_email_message'] ) ) {
|
357 |
if ( trim( '{all_fields}' ) == $email_notifications['evf_email_message'] ){
|
358 |
$email['evf_email_message'] = $data_html;
|
@@ -400,15 +402,23 @@ class EVF_Form_Task {
|
|
400 |
return;
|
401 |
}
|
402 |
|
403 |
-
$browser = evf_get_browser();
|
404 |
-
|
405 |
do_action( 'everest_forms_process_entry_save', $fields, $entry, $form_id, $form_data );
|
406 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
407 |
$entry_data = array(
|
408 |
'form_id' => $form_id,
|
409 |
'user_id' => get_current_user_id(),
|
410 |
-
'user_device' => $
|
411 |
-
'user_ip_address' =>
|
412 |
'status' => 'publish',
|
413 |
'referer' => $_SERVER['HTTP_REFERER'],
|
414 |
'date_created' => current_time( 'mysql' )
|
346 |
|
347 |
$email = array();
|
348 |
|
349 |
+
$email['evf_from_email'] = ! empty( $email_notifications['evf_from_email'] ) ? $email_notifications['evf_from_email'] : get_option( 'admin_email' );
|
350 |
+
$email['evf_from_name'] = ! empty( $email_notifications['evf_from_name'] ) ? $email_notifications['evf_from_name'] : get_bloginfo( 'name', 'display' );
|
351 |
$email['evf_email_header'] = ! empty( $email_notifications['evf_email_header'] ) ? $email_notifications['evf_email_header'] : '';
|
352 |
$email['evf_email_subject'] = ! empty( $email_notifications['evf_email_subject'] ) ? $email_notifications['evf_email_subject'] : sprintf( _x( 'New %s Entry', 'Form name', 'everest-forms' ), $form_data['settings']['form_title'] );
|
353 |
$email['evf_to_email'] = explode( ',', apply_filters( 'everest_forms_process_smart_tags', $email_notifications['evf_to_email'], $form_data, $fields, $this->entry_id ) );
|
354 |
$email['evf_to_email'] = array_map( 'sanitize_email', $email['evf_to_email'] );
|
355 |
|
356 |
+
$email['evf_email_message'] = '';
|
357 |
+
|
358 |
if ( ! empty( $email_notifications['evf_email_message'] ) ) {
|
359 |
if ( trim( '{all_fields}' ) == $email_notifications['evf_email_message'] ){
|
360 |
$email['evf_email_message'] = $data_html;
|
402 |
return;
|
403 |
}
|
404 |
|
|
|
|
|
405 |
do_action( 'everest_forms_process_entry_save', $fields, $entry, $form_id, $form_data );
|
406 |
|
407 |
+
$browser = evf_get_browser();
|
408 |
+
$user_ip = evf_get_ip_address();
|
409 |
+
$user_agent = $browser['name'] . '/' . $browser['platform'];
|
410 |
+
|
411 |
+
// GDPR enhancements - If user details are disabled globally discard the IP and UA.
|
412 |
+
if ( 'yes' === get_option( 'everest_forms_disable_user_details' ) ) {
|
413 |
+
$user_agent = '';
|
414 |
+
$user_ip = '';
|
415 |
+
}
|
416 |
+
|
417 |
$entry_data = array(
|
418 |
'form_id' => $form_id,
|
419 |
'user_id' => get_current_user_id(),
|
420 |
+
'user_device' => sanitize_text_field( $user_agent ),
|
421 |
+
'user_ip_address' => sanitize_text_field( $user_ip ),
|
422 |
'status' => 'publish',
|
423 |
'referer' => $_SERVER['HTTP_REFERER'],
|
424 |
'date_created' => current_time( 'mysql' )
|
includes/class-evf-install.php
CHANGED
@@ -35,6 +35,10 @@ class EVF_Install {
|
|
35 |
'evf_update_110_update_forms',
|
36 |
'evf_update_110_db_version',
|
37 |
),
|
|
|
|
|
|
|
|
|
38 |
);
|
39 |
|
40 |
/**
|
35 |
'evf_update_110_update_forms',
|
36 |
'evf_update_110_db_version',
|
37 |
),
|
38 |
+
'1.1.6' => array(
|
39 |
+
'evf_update_116_delete_options',
|
40 |
+
'evf_update_116_db_version',
|
41 |
+
),
|
42 |
);
|
43 |
|
44 |
/**
|
includes/evf-core-functions.php
CHANGED
@@ -1021,23 +1021,6 @@ function evf_get_random_string( $length = 10 ) {
|
|
1021 |
return $string;
|
1022 |
}
|
1023 |
|
1024 |
-
function evf_sender_name() {
|
1025 |
-
$sender_name = get_option( 'evf_forms_email_from_name', esc_attr( get_bloginfo( 'name', 'display' ) ) );
|
1026 |
-
return $sender_name;
|
1027 |
-
}
|
1028 |
-
|
1029 |
-
function evf_sender_address() {
|
1030 |
-
$sitename = isset( $_SERVER['SERVER_NAME'] ) ? strtolower( $_SERVER['SERVER_NAME'] ) : '';
|
1031 |
-
if ( substr( $sitename, 0, 4 ) == 'www.' ) {
|
1032 |
-
$sitename = substr( $sitename, 4 );
|
1033 |
-
}
|
1034 |
-
|
1035 |
-
$from_email = 'wordpress@' . $sitename;
|
1036 |
-
$sender_email = get_option( 'evf_forms_email_from_address', $from_email );
|
1037 |
-
|
1038 |
-
return $sender_email;
|
1039 |
-
}
|
1040 |
-
|
1041 |
function evf_get_all_forms( $skip_disabled_entries = false ) {
|
1042 |
$all_forms = array();
|
1043 |
$posts_array = get_posts( array(
|
1021 |
return $string;
|
1022 |
}
|
1023 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1024 |
function evf_get_all_forms( $skip_disabled_entries = false ) {
|
1025 |
$all_forms = array();
|
1026 |
$posts_array = get_posts( array(
|
includes/evf-deprecated-functions.php
CHANGED
@@ -134,3 +134,17 @@ function evf_deprecated_argument( $argument, $version, $message = null ) {
|
|
134 |
}
|
135 |
// @codingStandardsIgnoreEnd
|
136 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
}
|
135 |
// @codingStandardsIgnoreEnd
|
136 |
}
|
137 |
+
|
138 |
+
/**
|
139 |
+
* @deprecated 1.1.6
|
140 |
+
*/
|
141 |
+
function evf_sender_name() {
|
142 |
+
evf_deprecated_function( 'evf_sender_name', '1.1.6' );
|
143 |
+
}
|
144 |
+
|
145 |
+
/**
|
146 |
+
* @deprecated 1.1.6
|
147 |
+
*/
|
148 |
+
function evf_sender_address() {
|
149 |
+
evf_deprecated_function( 'evf_sender_address', '1.1.6' );
|
150 |
+
}
|
includes/evf-update-functions.php
CHANGED
@@ -67,3 +67,30 @@ function evf_update_110_update_forms() {
|
|
67 |
function evf_update_110_db_version() {
|
68 |
EVF_Install::update_db_version( '1.1.0' );
|
69 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
function evf_update_110_db_version() {
|
68 |
EVF_Install::update_db_version( '1.1.0' );
|
69 |
}
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Delete global email related options.
|
73 |
+
*/
|
74 |
+
function evf_update_116_delete_options() {
|
75 |
+
$delete_options = array(
|
76 |
+
'evf_to_email',
|
77 |
+
'evf_from_name',
|
78 |
+
'evf_from_address',
|
79 |
+
'evf_email_subject',
|
80 |
+
'evf_email_message',
|
81 |
+
'everest_forms_disable_form_entries',
|
82 |
+
'everest_forms_form_submit_button_label',
|
83 |
+
'everest_forms_successful_form_submission_message',
|
84 |
+
);
|
85 |
+
|
86 |
+
foreach ( $delete_options as $delete_option ) {
|
87 |
+
delete_option( $delete_option );
|
88 |
+
}
|
89 |
+
}
|
90 |
+
|
91 |
+
/**
|
92 |
+
* Update DB Version.
|
93 |
+
*/
|
94 |
+
function evf_update_116_db_version() {
|
95 |
+
EVF_Install::update_db_version( '1.1.6' );
|
96 |
+
}
|
includes/templates/contact.php
CHANGED
@@ -65,11 +65,11 @@ $form_template['contact'] = array(
|
|
65 |
'form_class' => '',
|
66 |
'submit_button_text' => get_option( 'everest_forms_form_submit_button_label', __( 'Submit', 'everest-forms' ) ),
|
67 |
'email' => array(
|
68 |
-
'evf_to_email' => get_option( '
|
69 |
-
'evf_from_name' =>
|
70 |
-
'evf_from_email' => get_option( '
|
71 |
-
'evf_email_subject' =>
|
72 |
-
'evf_email_message' =>
|
73 |
),
|
74 |
),
|
75 |
'structure' => array(
|
65 |
'form_class' => '',
|
66 |
'submit_button_text' => get_option( 'everest_forms_form_submit_button_label', __( 'Submit', 'everest-forms' ) ),
|
67 |
'email' => array(
|
68 |
+
'evf_to_email' => get_option( 'admin_email' ),
|
69 |
+
'evf_from_name' => get_bloginfo( 'name', 'display' ),
|
70 |
+
'evf_from_email' => get_option( 'admin_email' ),
|
71 |
+
'evf_email_subject' => __( 'New Form Entry', 'everest-forms' ),
|
72 |
+
'evf_email_message' => '{all_fields}',
|
73 |
),
|
74 |
),
|
75 |
'structure' => array(
|
languages/everest-forms.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Everest Forms package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Everest Forms 1.1.
|
6 |
"Report-Msgid-Bugs-To: https://github.com/wpeverest/everest-forms/issues\n"
|
7 |
-
"POT-Creation-Date: 2018-05-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -137,7 +137,7 @@ msgstr ""
|
|
137 |
#: includes/admin/class-evf-admin-menus.php:380
|
138 |
#: includes/admin/form-panels/class-evf-fields-panel.php:200
|
139 |
#: includes/admin/form-panels/class-evf-settings-panel.php:29
|
140 |
-
#: includes/class-evf-install.php:
|
141 |
msgid "Settings"
|
142 |
msgstr ""
|
143 |
|
@@ -482,7 +482,7 @@ msgstr ""
|
|
482 |
#: includes/admin/class-evf-admin-menus.php:224
|
483 |
#: includes/admin/class-evf-admin-menus.php:256
|
484 |
#: includes/admin/class-evf-admin-notices.php:107
|
485 |
-
#: includes/admin/class-evf-admin-settings.php:
|
486 |
#: includes/admin/class-evf-admin-status.php:154
|
487 |
msgid "Action failed. Please refresh the page and retry."
|
488 |
msgstr ""
|
@@ -513,25 +513,25 @@ msgstr ""
|
|
513 |
msgid "Cheatin’ huh?"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: includes/admin/class-evf-admin-settings.php:
|
517 |
msgid "Your settings have been saved."
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: includes/admin/class-evf-admin-settings.php:
|
521 |
msgid "The changes you made will be lost if you navigate away from this page."
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: includes/admin/class-evf-admin-settings.php:
|
525 |
msgid ""
|
526 |
"The settings of this image size have been disabled because its values are "
|
527 |
"being overwritten by a filter."
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: includes/admin/class-evf-admin-settings.php:
|
531 |
msgid "Hard crop?"
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: includes/admin/class-evf-admin-settings.php:
|
535 |
msgid "Select a page…"
|
536 |
msgstr ""
|
537 |
|
@@ -583,153 +583,112 @@ msgid "General"
|
|
583 |
msgstr ""
|
584 |
|
585 |
#: includes/admin/form-panels/class-evf-settings-panel.php:55
|
586 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
587 |
-
#: includes/admin/settings/class-evf-settings-email.php:28
|
588 |
#: includes/admin/settings/class-evf-settings-validation.php:68
|
589 |
#: includes/form-fields/class-evf-field-email.php:24
|
590 |
msgid "Email"
|
591 |
msgstr ""
|
592 |
|
593 |
#: includes/admin/form-panels/class-evf-settings-panel.php:92
|
594 |
-
msgid "Enable %1$s %2$s reCaptcha %3$s support"
|
595 |
-
msgstr ""
|
596 |
-
|
597 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:102
|
598 |
msgid "Successful form submission message"
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
602 |
msgid "Thanks for contacting us! We will be in touch with you shortly"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
606 |
msgid "Redirect To"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
610 |
msgid "Same Page"
|
611 |
msgstr ""
|
612 |
|
|
|
613 |
#: includes/admin/form-panels/class-evf-settings-panel.php:117
|
614 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:127
|
615 |
msgid "Custom Page"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
619 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
620 |
msgid "External URL"
|
621 |
msgstr ""
|
622 |
|
623 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
624 |
msgid "Layout Design"
|
625 |
msgstr ""
|
626 |
|
627 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
628 |
msgid "Default"
|
629 |
msgstr ""
|
630 |
|
631 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
632 |
msgid "Classic Layout"
|
633 |
msgstr ""
|
634 |
|
635 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
636 |
msgid "Form Class"
|
637 |
msgstr ""
|
638 |
|
639 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
640 |
-
#: includes/admin/settings/class-evf-settings-general.php:59
|
641 |
-
msgid "Disable Form Entries"
|
642 |
-
msgstr ""
|
643 |
-
|
644 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:186
|
645 |
msgid "Submit button text"
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
649 |
-
#: includes/admin/settings/class-evf-settings-general.php:56
|
650 |
#: includes/shortcodes/class-evf-shortcode-form.php:39
|
651 |
#: includes/templates/contact.php:66
|
652 |
msgid "Submit"
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
656 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
657 |
msgid "To Address"
|
658 |
msgstr ""
|
659 |
|
660 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
661 |
-
#: includes/admin/settings/class-evf-settings-email.php:59
|
662 |
msgid "From Name"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
666 |
-
#: includes/admin/settings/class-evf-settings-email.php:68
|
667 |
msgid "From Address"
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
671 |
-
#: includes/admin/settings/class-evf-settings-email.php:77
|
672 |
-
#: includes/admin/settings/class-evf-settings-email.php:78
|
673 |
#: includes/class-evf-forms-feature.php:91
|
674 |
msgid "Email Subject"
|
675 |
msgstr ""
|
676 |
|
677 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
678 |
#: includes/templates/contact.php:71
|
679 |
msgid "New Form Entry"
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
683 |
-
#: includes/admin/settings/class-evf-settings-email.php:86
|
684 |
-
#: includes/admin/settings/class-evf-settings-email.php:87
|
685 |
msgid "Email Message"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
689 |
msgid "{all_fields}"
|
690 |
msgstr ""
|
691 |
|
692 |
-
#: includes/admin/settings/class-evf-settings-
|
693 |
-
msgid "Email Settings"
|
694 |
-
msgstr ""
|
695 |
-
|
696 |
-
#: includes/admin/settings/class-evf-settings-email.php:51
|
697 |
-
msgid "Enter the email address to send email"
|
698 |
-
msgstr ""
|
699 |
-
|
700 |
-
#: includes/admin/settings/class-evf-settings-email.php:60
|
701 |
-
msgid "Email senders name"
|
702 |
-
msgstr ""
|
703 |
-
|
704 |
-
#: includes/admin/settings/class-evf-settings-email.php:69
|
705 |
-
msgid "Email senders address"
|
706 |
-
msgstr ""
|
707 |
-
|
708 |
-
#: includes/admin/settings/class-evf-settings-general.php:44
|
709 |
msgid "General Options"
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: includes/admin/settings/class-evf-settings-general.php:
|
713 |
-
msgid "
|
714 |
-
msgstr ""
|
715 |
-
|
716 |
-
#: includes/admin/settings/class-evf-settings-general.php:51
|
717 |
-
msgid "Button label to register"
|
718 |
-
msgstr ""
|
719 |
-
|
720 |
-
#: includes/admin/settings/class-evf-settings-general.php:67
|
721 |
-
msgid "Successful Form Submission Message"
|
722 |
-
msgstr ""
|
723 |
-
|
724 |
-
#: includes/admin/settings/class-evf-settings-general.php:68
|
725 |
-
msgid "Enter the text message after successful form submission."
|
726 |
msgstr ""
|
727 |
|
728 |
-
#: includes/admin/settings/class-evf-settings-general.php:
|
729 |
-
|
730 |
-
#: includes/shortcodes/class-evf-shortcode-form.php:142
|
731 |
-
#: includes/templates/contact.php:60
|
732 |
-
msgid "Thanks for contacting us! We will be in touch with you shortly."
|
733 |
msgstr ""
|
734 |
|
735 |
#: includes/admin/settings/class-evf-settings-recaptcha.php:28
|
@@ -1017,11 +976,17 @@ msgstr ""
|
|
1017 |
msgid "Form has not been submitted, please see the errors below."
|
1018 |
msgstr ""
|
1019 |
|
1020 |
-
#: includes/class-evf-form-task.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
1021 |
msgid "No form ID was found."
|
1022 |
msgstr ""
|
1023 |
|
1024 |
-
#: includes/class-evf-form-task.php:
|
1025 |
msgid "Could not create an entry"
|
1026 |
msgstr ""
|
1027 |
|
@@ -1042,27 +1007,27 @@ msgstr ""
|
|
1042 |
msgid "Payments"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
-
#: includes/class-evf-install.php:
|
1046 |
msgid "Monthly"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
-
#: includes/class-evf-install.php:
|
1050 |
msgid "View Everest Forms Settings"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
-
#: includes/class-evf-install.php:
|
1054 |
msgid "View Everest Forms documentation"
|
1055 |
msgstr ""
|
1056 |
|
1057 |
-
#: includes/class-evf-install.php:
|
1058 |
msgid "Docs"
|
1059 |
msgstr ""
|
1060 |
|
1061 |
-
#: includes/class-evf-install.php:
|
1062 |
msgid "Visit free customer support"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
-
#: includes/class-evf-install.php:
|
1066 |
msgid "Free support"
|
1067 |
msgstr ""
|
1068 |
|
2 |
# This file is distributed under the same license as the Everest Forms package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Everest Forms 1.1.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/wpeverest/everest-forms/issues\n"
|
7 |
+
"POT-Creation-Date: 2018-05-24 06:25:32+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
137 |
#: includes/admin/class-evf-admin-menus.php:380
|
138 |
#: includes/admin/form-panels/class-evf-fields-panel.php:200
|
139 |
#: includes/admin/form-panels/class-evf-settings-panel.php:29
|
140 |
+
#: includes/class-evf-install.php:564
|
141 |
msgid "Settings"
|
142 |
msgstr ""
|
143 |
|
482 |
#: includes/admin/class-evf-admin-menus.php:224
|
483 |
#: includes/admin/class-evf-admin-menus.php:256
|
484 |
#: includes/admin/class-evf-admin-notices.php:107
|
485 |
+
#: includes/admin/class-evf-admin-settings.php:70
|
486 |
#: includes/admin/class-evf-admin-status.php:154
|
487 |
msgid "Action failed. Please refresh the page and retry."
|
488 |
msgstr ""
|
513 |
msgid "Cheatin’ huh?"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: includes/admin/class-evf-admin-settings.php:77
|
517 |
msgid "Your settings have been saved."
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: includes/admin/class-evf-admin-settings.php:133
|
521 |
msgid "The changes you made will be lost if you navigate away from this page."
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: includes/admin/class-evf-admin-settings.php:507
|
525 |
msgid ""
|
526 |
"The settings of this image size have been disabled because its values are "
|
527 |
"being overwritten by a filter."
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: includes/admin/class-evf-admin-settings.php:516
|
531 |
msgid "Hard crop?"
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: includes/admin/class-evf-admin-settings.php:543
|
535 |
msgid "Select a page…"
|
536 |
msgstr ""
|
537 |
|
583 |
msgstr ""
|
584 |
|
585 |
#: includes/admin/form-panels/class-evf-settings-panel.php:55
|
586 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:197
|
|
|
587 |
#: includes/admin/settings/class-evf-settings-validation.php:68
|
588 |
#: includes/form-fields/class-evf-field-email.php:24
|
589 |
msgid "Email"
|
590 |
msgstr ""
|
591 |
|
592 |
#: includes/admin/form-panels/class-evf-settings-panel.php:92
|
|
|
|
|
|
|
|
|
593 |
msgid "Successful form submission message"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:94
|
597 |
msgid "Thanks for contacting us! We will be in touch with you shortly"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:102
|
601 |
msgid "Redirect To"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:106
|
605 |
msgid "Same Page"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:107
|
609 |
#: includes/admin/form-panels/class-evf-settings-panel.php:117
|
|
|
610 |
msgid "Custom Page"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:108
|
614 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:128
|
615 |
msgid "External URL"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:138
|
619 |
msgid "Layout Design"
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:142
|
623 |
msgid "Default"
|
624 |
msgstr ""
|
625 |
|
626 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:143
|
627 |
msgid "Classic Layout"
|
628 |
msgstr ""
|
629 |
|
630 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:152
|
631 |
msgid "Form Class"
|
632 |
msgstr ""
|
633 |
|
634 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:162
|
|
|
|
|
|
|
|
|
|
|
635 |
msgid "Submit button text"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:164
|
|
|
639 |
#: includes/shortcodes/class-evf-shortcode-form.php:39
|
640 |
#: includes/templates/contact.php:66
|
641 |
msgid "Submit"
|
642 |
msgstr ""
|
643 |
|
644 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:172
|
645 |
+
msgid "Enable %1$s %2$s reCaptcha %3$s support"
|
646 |
+
msgstr ""
|
647 |
+
|
648 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:182
|
649 |
+
msgid "Disable storing entry information"
|
650 |
+
msgstr ""
|
651 |
+
|
652 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:204
|
653 |
msgid "To Address"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:214
|
|
|
657 |
msgid "From Name"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:224
|
|
|
661 |
msgid "From Address"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:234
|
|
|
|
|
665 |
#: includes/class-evf-forms-feature.php:91
|
666 |
msgid "Email Subject"
|
667 |
msgstr ""
|
668 |
|
669 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:236
|
670 |
#: includes/templates/contact.php:71
|
671 |
msgid "New Form Entry"
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:244
|
|
|
|
|
675 |
msgid "Email Message"
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:246
|
679 |
msgid "{all_fields}"
|
680 |
msgstr ""
|
681 |
|
682 |
+
#: includes/admin/settings/class-evf-settings-general.php:43
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
683 |
msgid "General Options"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: includes/admin/settings/class-evf-settings-general.php:49
|
687 |
+
msgid "Disable User Details"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: includes/admin/settings/class-evf-settings-general.php:50
|
691 |
+
msgid "Disable storing the IP address and User Agent on all forms."
|
|
|
|
|
|
|
692 |
msgstr ""
|
693 |
|
694 |
#: includes/admin/settings/class-evf-settings-recaptcha.php:28
|
976 |
msgid "Form has not been submitted, please see the errors below."
|
977 |
msgstr ""
|
978 |
|
979 |
+
#: includes/class-evf-form-task.php:187
|
980 |
+
#: includes/shortcodes/class-evf-shortcode-form.php:142
|
981 |
+
#: includes/templates/contact.php:60
|
982 |
+
msgid "Thanks for contacting us! We will be in touch with you shortly."
|
983 |
+
msgstr ""
|
984 |
+
|
985 |
+
#: includes/class-evf-form-task.php:428
|
986 |
msgid "No form ID was found."
|
987 |
msgstr ""
|
988 |
|
989 |
+
#: includes/class-evf-form-task.php:434
|
990 |
msgid "Could not create an entry"
|
991 |
msgstr ""
|
992 |
|
1007 |
msgid "Payments"
|
1008 |
msgstr ""
|
1009 |
|
1010 |
+
#: includes/class-evf-install.php:259
|
1011 |
msgid "Monthly"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
+
#: includes/class-evf-install.php:564
|
1015 |
msgid "View Everest Forms Settings"
|
1016 |
msgstr ""
|
1017 |
|
1018 |
+
#: includes/class-evf-install.php:580
|
1019 |
msgid "View Everest Forms documentation"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: includes/class-evf-install.php:580
|
1023 |
msgid "Docs"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
+
#: includes/class-evf-install.php:581
|
1027 |
msgid "Visit free customer support"
|
1028 |
msgstr ""
|
1029 |
|
1030 |
+
#: includes/class-evf-install.php:581
|
1031 |
msgid "Free support"
|
1032 |
msgstr ""
|
1033 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: form, form builder, easy form, clean form, login form, contact, contact fo
|
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -79,6 +79,11 @@ Yes, the plugin is designed to work with any themes that have been coded followi
|
|
79 |
|
80 |
== Changelog ==
|
81 |
|
|
|
|
|
|
|
|
|
|
|
82 |
= 1.1.5.1 - 04-05-2018 =
|
83 |
* Fix - reCaptcha displaying after every inserted row issue
|
84 |
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 1.1.6
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 1.1.6 - 24-05-2018 =
|
83 |
+
* Fix - Appending HTMl instead of text for preview description.
|
84 |
+
* GDPR - If user details are disabled globally discard the IP address and User Agent.
|
85 |
+
* Deprecated - Unnecessary general and email settings from global.
|
86 |
+
|
87 |
= 1.1.5.1 - 04-05-2018 =
|
88 |
* Fix - reCaptcha displaying after every inserted row issue
|
89 |
|