Version Description
- 12-03-2018 =
- Feature - Entries panel to save form in database.
See changelog for all versions.
Download this release
Release Info
Developer | wpeverest |
Plugin | Everest Forms – Easy Contact Form and Form Builder |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.1.0
- assets/css/admin-entries-rtl.css +1 -0
- assets/css/admin-entries.css +1 -0
- assets/css/admin-entries.scss +89 -0
- assets/css/admin-settings-rtl.css +1 -1
- assets/css/admin-settings.css +1 -1
- assets/css/admin-settings.scss +6 -1
- assets/css/everest-builder-rtl.css +1 -1
- assets/css/everest-builder.css +1 -1
- assets/css/everest-forms-rtl.css +1 -1
- assets/css/everest-forms.css +1 -1
- assets/css/everest-forms.scss +3 -0
- assets/css/evf-form-modal-rtl.css +1 -1
- assets/css/evf-form-modal.css +1 -1
- assets/css/scss/_admin.scss +1 -1
- assets/css/scss/_clearings.scss +3 -3
- everest-forms.php +1 -1
- includes/abstracts/abstract-evf-form-fields.php +19 -6
- includes/admin/class-evf-admin-assets.php +7 -6
- includes/admin/class-evf-admin-entries-table-list.php +436 -0
- includes/admin/class-evf-admin-entries.php +300 -0
- includes/admin/class-evf-admin-forms-table-list.php +17 -2
- includes/admin/class-evf-admin-forms.php +1 -1
- includes/admin/class-evf-admin-menus.php +60 -11
- includes/admin/class-evf-admin-settings.php +4 -1
- includes/admin/class-evf-admin.php +8 -8
- includes/admin/evf-admin-functions.php +9 -0
- includes/admin/form-panels/class-evf-settings-panel.php +14 -0
- includes/admin/settings/class-evf-settings-general.php +8 -0
- includes/admin/settings/class-evf-settings-recaptcha.php +3 -3
- includes/admin/views/html-admin-page-entries-view.php +169 -0
- includes/class-everest-forms.php +25 -5
- includes/class-evf-autoloader.php +15 -20
- includes/class-evf-form-handler.php +55 -11
- includes/class-evf-form-task.php +54 -61
- includes/class-evf-install.php +31 -0
- includes/evf-core-functions.php +168 -11
- includes/evf-entry-functions.php +147 -0
- includes/evf-update-functions.php +44 -0
- includes/form-fields/class-evf-field-checkbox.php +3 -0
- includes/form-fields/class-evf-field-date-time.php +3 -0
- includes/form-fields/class-evf-field-email.php +3 -0
- includes/form-fields/class-evf-field-first-name.php +3 -0
- includes/form-fields/class-evf-field-last-name.php +3 -0
- includes/form-fields/class-evf-field-number.php +3 -0
- includes/form-fields/class-evf-field-radio.php +3 -0
- includes/form-fields/class-evf-field-select.php +4 -1
- includes/form-fields/class-evf-field-text.php +3 -0
- includes/form-fields/class-evf-field-textarea.php +4 -1
- includes/form-fields/class-evf-field-url.php +3 -0
- includes/shortcodes/class-evf-shortcode-form.php +3 -2
- includes/templates/contact.php +23 -19
- languages/everest-forms.pot +307 -121
- package-lock.json +10 -10
- phpcs.xml +1 -0
- readme.txt +6 -16
assets/css/admin-entries-rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.wp-list-table.forms .column-entries{width:75px}.wp-list-table.entries .column-actions{width:175px}.wp-list-table.entries .submitdelete:hover{color:#a00}#everest-forms-entry-fields table{border:none}#everest-forms-entry-fields span.list{display:block}#everest-forms-entry-fields .everest-forms-empty-field-toggle{float:left;padding:3px 0 0;text-decoration:none}#everest-forms-entry-details .submitdelete{color:#a00;padding:1px 2px;text-decoration:none}#everest-forms-entry-details .everest-forms-entry-details-meta{padding:6px 0 0}#everest-forms-entry-details .everest-forms-entry-details-meta p{margin:0;padding:6px 10px 8px}#everest-forms-entry-details .hndle,#everest-forms-entry-fields .hndle{cursor:inherit}#everest-forms-entry-details .inside,#everest-forms-entry-fields .inside{margin:0;padding:0}.everest-forms-BlankState{text-align:center;padding:5em 0 0}.everest-forms-BlankState .everest-forms-BlankState-icon{fill:#ddd;width:128px;height:128px;margin:0 0 .875em}.everest-forms-BlankState .everest-forms-BlankState-message{color:#aaa;margin:0 auto 1.5em;line-height:1.5em;font-size:1.2em;max-width:500px}.everest-forms-BlankState .everest-forms-BlankState-cta{font-size:1.2em;padding:.75em 1.5em;height:auto;display:inline-block!important}
|
assets/css/admin-entries.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.wp-list-table.forms .column-entries{width:75px}.wp-list-table.entries .column-actions{width:175px}.wp-list-table.entries .submitdelete:hover{color:#a00}#everest-forms-entry-fields table{border:none}#everest-forms-entry-fields span.list{display:block}#everest-forms-entry-fields .everest-forms-empty-field-toggle{float:right;padding:3px 0 0;text-decoration:none}#everest-forms-entry-details .submitdelete{color:#a00;padding:1px 2px;text-decoration:none}#everest-forms-entry-details .everest-forms-entry-details-meta{padding:6px 0 0}#everest-forms-entry-details .everest-forms-entry-details-meta p{margin:0;padding:6px 10px 8px}#everest-forms-entry-details .hndle,#everest-forms-entry-fields .hndle{cursor:inherit}#everest-forms-entry-details .inside,#everest-forms-entry-fields .inside{margin:0;padding:0}.everest-forms-BlankState{text-align:center;padding:5em 0 0}.everest-forms-BlankState .everest-forms-BlankState-icon{fill:#ddd;width:128px;height:128px;margin:0 0 .875em}.everest-forms-BlankState .everest-forms-BlankState-message{color:#aaa;margin:0 auto 1.5em;line-height:1.5em;font-size:1.2em;max-width:500px}.everest-forms-BlankState .everest-forms-BlankState-cta{font-size:1.2em;padding:.75em 1.5em;height:auto;display:inline-block!important}
|
assets/css/admin-entries.scss
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* admin-entries.scss
|
3 |
+
*/
|
4 |
+
.wp-list-table.forms {
|
5 |
+
.column-entries {
|
6 |
+
width: 75px;
|
7 |
+
}
|
8 |
+
}
|
9 |
+
|
10 |
+
.wp-list-table.entries {
|
11 |
+
.column-actions {
|
12 |
+
width: 175px;
|
13 |
+
}
|
14 |
+
.submitdelete:hover {
|
15 |
+
color: #a00;
|
16 |
+
}
|
17 |
+
}
|
18 |
+
|
19 |
+
#everest-forms-entry-fields {
|
20 |
+
|
21 |
+
table {
|
22 |
+
border: none;
|
23 |
+
}
|
24 |
+
|
25 |
+
span.list {
|
26 |
+
display: block;
|
27 |
+
}
|
28 |
+
|
29 |
+
.everest-forms-empty-field-toggle {
|
30 |
+
float: right;
|
31 |
+
padding: 3px 0 0;
|
32 |
+
text-decoration: none;
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
#everest-forms-entry-details {
|
37 |
+
.submitdelete {
|
38 |
+
color: #a00;
|
39 |
+
padding: 1px 2px;
|
40 |
+
text-decoration: none;
|
41 |
+
}
|
42 |
+
|
43 |
+
.everest-forms-entry-details-meta {
|
44 |
+
padding: 6px 0 0;
|
45 |
+
|
46 |
+
p {
|
47 |
+
margin: 0;
|
48 |
+
padding: 6px 10px 8px;
|
49 |
+
}
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
#everest-forms-entry-fields,
|
54 |
+
#everest-forms-entry-details {
|
55 |
+
.hndle {
|
56 |
+
cursor: inherit;
|
57 |
+
}
|
58 |
+
.inside {
|
59 |
+
margin: 0;
|
60 |
+
padding: 0;
|
61 |
+
}
|
62 |
+
}
|
63 |
+
|
64 |
+
.everest-forms-BlankState {
|
65 |
+
text-align: center;
|
66 |
+
padding: 5em 0 0;
|
67 |
+
|
68 |
+
.everest-forms-BlankState-icon {
|
69 |
+
fill: #ddd;
|
70 |
+
width: 128px;
|
71 |
+
height: 128px;
|
72 |
+
margin: 0 0 .875em;
|
73 |
+
}
|
74 |
+
|
75 |
+
.everest-forms-BlankState-message {
|
76 |
+
color: #aaa;
|
77 |
+
margin: 0 auto 1.5em;
|
78 |
+
line-height: 1.5em;
|
79 |
+
font-size: 1.2em;
|
80 |
+
max-width: 500px;
|
81 |
+
}
|
82 |
+
|
83 |
+
.everest-forms-BlankState-cta {
|
84 |
+
font-size: 1.2em;
|
85 |
+
padding: 0.75em 1.5em;
|
86 |
+
height: auto;
|
87 |
+
display: inline-block !important;
|
88 |
+
}
|
89 |
+
}
|
assets/css/admin-settings-rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.
|
1 |
+
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.evf-row::after,.evf-row::before{display:table;content:""}.clearfix::after,.container-fluid::after,.container::after,.evf-row::after{clear:both}.everest-forms_page_evf-settings #wpcontent{padding-right:0}*{box-sizing:border-box}.everest-forms{margin:0;background-color:#f9fafc}.everest-forms .evf-nav-tab-wrapper{padding:0;margin:0;list-style:none;display:flex;border-bottom:none transparent;background-color:#7f5aec}.everest-forms .evf-nav-tab-wrapper a.nav-tab{border:none transparent;background-color:transparent;margin-right:0;font-size:12px;line-height:24px;color:#fff;padding:10px 30px;display:block;cursor:pointer;transition:.5s background-color ease-in-out}.everest-forms .evf-nav-tab-wrapper a.nav-tab .dashicons,.everest-forms .evf-nav-tab-wrapper a.nav-tab .dashicons-before:before{display:block;font-size:32px;width:auto;height:auto}.everest-forms .evf-nav-tab-wrapper a.nav-tab.nav-tab-active{background-color:#f9fafc;color:#575757}.everest-forms .evf-nav-tab-wrapper a.nav-tab:focus{box-shadow:0 0 0 0 transparent}.everest-forms .nav-tab.nav-tab-active:focus{box-shadow:none}.everest-forms p.submit{padding-right:30px;padding-left:30px}.everest-forms p.submit .everest-forms-save-button{padding:10px 20px;height:auto;border-radius:0;border:0 transparent;text-shadow:0 0 0 transparent;box-shadow:0 0 0 0 transparent;background:#8ce99a;transition:.5s background ease-in-out}.everest-forms p.submit .everest-forms-save-button:hover{background:#7f5aec}.everest-forms .evf-setting-tab-content{display:none;padding:30px}.everest-forms .evf-setting-tab-content h2{margin-top:0;color:#292929}.everest-forms .evf-setting-tab-content .form-table{margin-top:0;border-top:1px solid #efefef}.everest-forms .evf-setting-tab-content.active{display:block}.everest-forms .evf-setting-tab-content label{font-size:12px;color:#575757}.everest-forms .evf-setting-tab-content textarea{height:100px}.everest-forms .evf-setting-tab-content .forminp:not(.forminp-tinymce) input,.everest-forms .evf-setting-tab-content .forminp:not(.forminp-tinymce) select,.everest-forms .evf-setting-tab-content .forminp:not(.forminp-tinymce) textarea{border-color:#d5d9e2;padding:10px;box-shadow:0 0 0 0 transparent;color:#555;height:45px;border-radius:3px;min-width:100%!important}.everest-forms .evf-setting-tab-content .forminp:not(.forminp-tinymce) input[type=checkbox],.everest-forms .evf-setting-tab-content .forminp:not(.forminp-tinymce) input[type=radio]{height:16px;min-width:16px!important}@media screen and (max-width:782px){.everest-forms .evf-setting-tab-content .form-table th{padding-top:15px;padding-bottom:15px}}@media screen and (max-width:480px){.everest-forms .evf-nav-tab-wrapper a.nav-tab{padding:10px}.everest-forms .evf-nav-tab-wrapper a.nav-tab .dashicons,.everest-forms .evf-nav-tab-wrapper a.nav-tab .dashicons-before:before{display:none}}
|
assets/css/admin-settings.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.
|
1 |
+
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.evf-row::after,.evf-row::before{display:table;content:""}.clearfix::after,.container-fluid::after,.container::after,.evf-row::after{clear:both}.everest-forms_page_evf-settings #wpcontent{padding-left:0}*{box-sizing:border-box}.everest-forms{margin:0;background-color:#f9fafc}.everest-forms .evf-nav-tab-wrapper{padding:0;margin:0;list-style:none;display:flex;border-bottom:none transparent;background-color:#7f5aec}.everest-forms .evf-nav-tab-wrapper a.nav-tab{border:none transparent;background-color:transparent;margin-left:0;font-size:12px;line-height:24px;color:#fff;padding:10px 30px;display:block;cursor:pointer;transition:.5s background-color ease-in-out}.everest-forms .evf-nav-tab-wrapper a.nav-tab .dashicons,.everest-forms .evf-nav-tab-wrapper a.nav-tab .dashicons-before:before{display:block;font-size:32px;width:auto;height:auto}.everest-forms .evf-nav-tab-wrapper a.nav-tab.nav-tab-active{background-color:#f9fafc;color:#575757}.everest-forms .evf-nav-tab-wrapper a.nav-tab:focus{box-shadow:0 0 0 0 transparent}.everest-forms .nav-tab.nav-tab-active:focus{box-shadow:none}.everest-forms p.submit{padding-left:30px;padding-right:30px}.everest-forms p.submit .everest-forms-save-button{padding:10px 20px;height:auto;border-radius:0;border:0 transparent;text-shadow:0 0 0 transparent;box-shadow:0 0 0 0 transparent;background:#8ce99a;transition:.5s background ease-in-out}.everest-forms p.submit .everest-forms-save-button:hover{background:#7f5aec}.everest-forms .evf-setting-tab-content{display:none;padding:30px}.everest-forms .evf-setting-tab-content h2{margin-top:0;color:#292929}.everest-forms .evf-setting-tab-content .form-table{margin-top:0;border-top:1px solid #efefef}.everest-forms .evf-setting-tab-content.active{display:block}.everest-forms .evf-setting-tab-content label{font-size:12px;color:#575757}.everest-forms .evf-setting-tab-content textarea{height:100px}.everest-forms .evf-setting-tab-content .forminp:not(.forminp-tinymce) input,.everest-forms .evf-setting-tab-content .forminp:not(.forminp-tinymce) select,.everest-forms .evf-setting-tab-content .forminp:not(.forminp-tinymce) textarea{border-color:#d5d9e2;padding:10px;box-shadow:0 0 0 0 transparent;color:#555;height:45px;border-radius:3px;min-width:100%!important}.everest-forms .evf-setting-tab-content .forminp:not(.forminp-tinymce) input[type=checkbox],.everest-forms .evf-setting-tab-content .forminp:not(.forminp-tinymce) input[type=radio]{height:16px;min-width:16px!important}@media screen and (max-width:782px){.everest-forms .evf-setting-tab-content .form-table th{padding-top:15px;padding-bottom:15px}}@media screen and (max-width:480px){.everest-forms .evf-nav-tab-wrapper a.nav-tab{padding:10px}.everest-forms .evf-nav-tab-wrapper a.nav-tab .dashicons,.everest-forms .evf-nav-tab-wrapper a.nav-tab .dashicons-before:before{display:none}}
|
assets/css/admin-settings.scss
CHANGED
@@ -112,9 +112,14 @@
|
|
112 |
color: #555;
|
113 |
height:45px;
|
114 |
border-radius:3px;
|
115 |
-
width: 100%;
|
116 |
min-width: 100% !important;
|
117 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
}
|
119 |
}
|
120 |
}
|
112 |
color: #555;
|
113 |
height:45px;
|
114 |
border-radius:3px;
|
|
|
115 |
min-width: 100% !important;
|
116 |
}
|
117 |
+
|
118 |
+
input[type="checkbox"],
|
119 |
+
input[type="radio"] {
|
120 |
+
height:16px;
|
121 |
+
min-width:16px !important;
|
122 |
+
}
|
123 |
}
|
124 |
}
|
125 |
}
|
assets/css/everest-builder-rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.tg-row::after,.tg-row::before{display:table;content:""}.clearfix::after,.container-fluid::after,.container::after,.tg-row::after{clear:both}body{margin:0}*{box-sizing:border-box}.everest-forms_page_edit-evf-form #wpcontent{padding-right:0}.everest-forms-add-fields-group .handlediv,.everest-forms-field-option-group .handlediv{float:left}.everest-forms-add-fields-group .handlediv::before,.everest-forms-field-option-group .handlediv::before{content:'\f142'!important;cursor:pointer;display:inline-block;font:400 20px/1 Dashicons;line-height:.5!important;padding:4px;position:relative;left:0;top:0}.everest-forms-add-fields-group.closed .handlediv::before,.everest-forms-field-option-group.closed .handlediv::before{content:'\f140'!important}#everest-forms-builder{margin:0}#everest-forms-builder .evf-builder-tabs{background-color:#7f5aec}#everest-forms-builder a{text-decoration:none}#everest-forms-builder a:focus{outline:0;box-shadow:0 0 0 transparent}#everest-forms-builder .evf-tab-lists{padding:0;margin:0;float:right;list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex}#everest-forms-builder .evf-tab-lists li{margin-bottom:0}#everest-forms-builder .evf-tab-lists li a{font-size:12px;line-height:24px;color:#fff;padding:10px 30px;display:block;cursor:pointer;-webkit-transition:.5s background-color ease-in-out;transition:.5s background-color ease-in-out}#everest-forms-builder .evf-tab-lists li a.active,#everest-forms-builder .evf-tab-lists li a:hover{color:#575757;background-color:#f9fafc;outline:0}#everest-forms-builder .evf-tab-lists li a:focus{outline:0}#everest-forms-builder .evf-tab-lists li .dashicons{display:block;font-size:32px;width:auto;height:auto}#everest-forms-builder .evf_save_form_action_button{float:left;padding:7px 22px;background-color:#fff;color:#000;font-size:12px;text-transform:uppercase;border:0 none;border-radius:100px;margin:20px 20px 0 45px;cursor:pointer}#everest-forms-builder .evf_save_form_action_button:focus{outline:0}#everest-forms-builder .evf-tab-content .everest-forms-panel{width:100%;display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel.active{display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar-content{display:-webkit-box;display:-ms-flexbox;display:flex}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar{background-color:#f9fafc;width:30%;border-left:1px solid #ebedf0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields{padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields-heading{display:block;font-size:14px;font-weight:500;margin-bottom:15px;padding-bottom:10px;color:#575757;border-bottom:1px solid #efefef}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields-heading i{float:left;font-size:14px;margin-right:5px;line-height:1.5}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons{margin-left:-1.5%;margin-right:-1.5%;list-style:none;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{margin-right:1.5%;margin-left:1.5%;padding:20px 8px;border:1px solid #ebedf0;width:30.3%;z-index:999;margin-bottom:10px;color:#969696;cursor:pointer;border-radius:2px;font-size:12px;-webkit-transition:.5s color ease-in-out,.5s border-color ease-in-out;transition:.5s color ease-in-out,.5s border-color ease-in-out;text-align:center;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item .dashicons{display:block;margin:0 auto}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover{color:#7ca8eb;border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover .evf-icon{color:inherit}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg{width:40px;height:40px;display:block;margin:0 auto 10px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-3{fill:#414042;-webkit-transition:.5s fill ease-in-out;transition:.5s fill ease-in-out;font-size:7px;font-weight:300}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover{color:#7ca8eb;border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-3{fill:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging{margin:0;border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-3{fill:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox label,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox label{width:auto;padding:0;display:inline-block;vertical-align:top;height:auto}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox input{margin:3px 0 0 5px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options{display:none;background-color:#f0f1f2;height:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group{border-bottom:1px solid #f0f1f2}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row{margin-bottom:15px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row:last-child{margin-bottom:0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row .inline{margin-bottom:0;display:inline-block;vertical-align:top;margin-right:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option{display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group-toggle{background-color:#f9fafc;padding:15px 20px;font-size:14px;font-weight:600;display:block;color:#404040}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group-inner{background-color:#f0f1f2;padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel{background-color:#f0f1f2;padding:15px 20px;font-size:14px;font-weight:600;display:block;color:#404040;border-bottom:3px solid #f0f1f2}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel .everest-forms-toggle-arrow{float:left;font-size:14px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel.active{background-color:#fff;position:relative;color:#7f5aec;border-color:#7f5aec}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel.active::after{position:absolute;content:"";top:0;left:-1px;bottom:0;width:1px;height:100%;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap{background-color:#fff;width:70%;padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-title-desc .everest-forms-form-name{margin-top:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-field-wrapper{padding:0 15px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-field-wrapper.evf-hover{background-color:#d4e3f9}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row{text-align:center}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span{width:40px;height:40px;line-height:30px;padding:5px;color:#fff;background-color:#969696;border-radius:5px;cursor:pointer;-webkit-transition:.5s ease-in-out background-color;transition:.5s ease-in-out background-color;margin-bottom:20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:active,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:focus,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:hover{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row{background-color:transparent;display:-webkit-box;display:-ms-flexbox;display:flex;margin:0 -15px 30px;position:relative;border:1px solid transparent;-webkit-transition:.5s border,.5s background-color;transition:.5s border,.5s background-color}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:last-child{margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row{background-color:#8ce99a;color:#fff;position:absolute;left:0;top:0;z-index:9999;visibility:hidden;opacity:0;-webkit-transition:.7s all;transition:.7s all;padding:5px 10px;cursor:pointer}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-show-grid{display:inline-block;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-delete-row{display:inline-block;padding-left:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-delete-row span{font-size:14px;height:auto;line-height:1.2;color:#d9534f}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content{display:none;position:absolute;width:200px;padding:30px;text-align:center;left:-20px;border-radius:11px;background-color:#fff;font-weight:600;font-size:12px;top:40px;box-shadow:0 0 39px rgba(0,0,0,.1);-webkit-transition:.9s background-color;transition:.9s background-color}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content::before{top:-5px;content:"";left:45px;border-left:6px solid transparent;border-bottom:6px solid #fff;border-right:6px solid transparent;position:absolute}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content>span{color:#575757;display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content small{color:#c6ccd7;margin-bottom:10px;display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector{height:30px;width:40px;border:1px solid #d6d8da;display:inline-block;margin:3px;border-radius:3px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span{height:100%;display:inline-block;background:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span:nth-child(n+1){border-right:1px solid #d6d8da}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span:nth-child(1){border-right:0 none}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector.active{border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector.active span{border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover{background-color:#f7fafc;border:1px dashed #5d96ee}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover .evf-admin-grid{border:1px dashed #bdbdbd}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover .evf-toggle-row{opacity:1;visibility:visible}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid{background:#fff;min-height:200px;margin:15px;padding:5px;border:1px solid transparent;-webkit-transition:.5s border,.5s background-color;transition:.5s border,.5s background-color;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover{border:1px dashed #bdbdbd}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover.evf-item-hover{position:relative;box-shadow:0 0 5px rgba(0,100,251,.5)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover.evf-item-hover::after{position:absolute;content:"";top:-1px;right:-1px;left:-1px;width:auto;height:15px;background-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-1{width:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-2{width:50%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-3{width:30%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid .evf-registered-item{padding:20px;font-size:18px;text-align:right}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid .evf-registered-item .dashicons{font-size:22px;margin-top:3px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-empty-grid{border:1px dashed #bdbdbd;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-empty-grid:before{position:absolute;margin:auto;content:"\f132";font-size:40px;display:block;font-family:dashicons;-webkit-transform:translate(50%,-50%);-ms-transform:translate(50%,-50%);transform:translate(50%,-50%);right:50%;top:50%;color:#d6d8da}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field{margin-bottom:30px;padding:15px;position:relative;box-shadow:0 0 15px transparent;-webkit-transition:.5s box-shadow;transition:.5s box-shadow}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:last-child{margin-bottom:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--first,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--last{width:48.5%;margin-left:3%;float:right}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--last{margin-left:0;float:left}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action{position:absolute;top:10px;left:5px;visibility:hidden;opacity:0;-webkit-transition:.5s all;transition:.5s all}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action a{color:#7ca8eb;margin-right:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action a.everest-forms-field-delete:hover{color:#d9534f}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:hover{box-shadow:0 0 15px rgba(0,0,0,.1)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:hover .evf-field-action{visibility:visible;opacity:1}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper{box-shadow:-1px 5px 35px rgba(0,0,0,.2);padding:20px 30px;height:auto!important;right:-20px;left:-20px;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper::before{position:absolute;right:0;top:0;width:5px;height:100%;background-color:#7f5aec;content:""}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper:hover .evf-field-action{display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader{width:100%;border:2px dashed #d5d9e2;background-color:#fbfdfe;border-radius:3px;cursor:pointer;text-align:center;padding-top:30px;padding-bottom:30px;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader svg{width:30px;height:30px;fill:#bbbcbd;margin-bottom:20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader input.file-input{-ms-touch-action:manipulation;touch-action:manipulation;max-width:100%;min-width:14px;margin:0;opacity:0;height:18px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .drop{display:block;font-size:14px;font-weight:600;color:#969696;margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .or{font-size:12px;color:#bdbdbd;font-weight:500;display:block;margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .file-control{position:absolute;bottom:30px;color:#5d96ee;padding-bottom:2px;display:block;right:0;left:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .file-control::before{content:"";width:45px;background-color:#5d96ee;height:1px;display:block;right:50%;bottom:-2px;position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .publishing-action{width:100%;text-align:left}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .submit-button{display:inline-block;font-size:12px;font-weight:600;color:#fff;padding:15px 20px;border:0 none;background-color:#8ce99a;border-radius:3px}#everest-forms-builder .evf-tab-content label{font-size:12px;margin-bottom:15px;color:#575757;display:block;font-weight:600}#everest-forms-builder .evf-tab-content label i{color:#bdbdbd;font-size:16px;line-height:1.2}#everest-forms-builder .evf-tab-content label .required{margin-right:5px}#everest-forms-builder .evf-tab-content input:not(.ed_button),#everest-forms-builder .evf-tab-content select,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area){border:1px solid #d5d9e2;border-radius:3px;height:45px;width:100%;padding:10px 15px;color:#575757;font-size:14px}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox],#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio],#everest-forms-builder .evf-tab-content select[type=checkbox],#everest-forms-builder .evf-tab-content select[type=radio],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]{width:16px;height:16px;background-color:#fff}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio],#everest-forms-builder .evf-tab-content select[type=radio],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]{border-radius:10px}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox]:checked,#everest-forms-builder .evf-tab-content select[type=checkbox]:checked,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox]:checked{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox]:checked::before,#everest-forms-builder .evf-tab-content select[type=checkbox]:checked::before,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox]:checked::before{color:#fff;background-color:transparent}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio]:checked::before,#everest-forms-builder .evf-tab-content select[type=radio]:checked::before,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]:checked::before{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content input:not(.ed_button)::-webkit-input-placeholder,#everest-forms-builder .evf-tab-content select::-webkit-input-placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)::-webkit-input-placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button)::-moz-placeholder,#everest-forms-builder .evf-tab-content select::-moz-placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)::-moz-placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button):-ms-input-placeholder,#everest-forms-builder .evf-tab-content select:-ms-input-placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area):-ms-input-placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button)::-ms-input-placeholder,#everest-forms-builder .evf-tab-content select::-ms-input-placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)::-ms-input-placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button)::placeholder,#everest-forms-builder .evf-tab-content select::placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)::placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button):focus,#everest-forms-builder .evf-tab-content select:focus,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area):focus{outline:0}#everest-forms-builder .evf-tab-content textarea,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area){height:120px}#everest-forms-builder .evf-tab-content .evf-grid-lists{margin-right:-1.5%;margin-left:1.5%;background-color:#f9fafc;display:-webkit-box;display:-ms-flexbox;display:flex}#everest-forms-builder .evf-tab-content .evf-grid-lists .evf-grid-lists-item{padding-right:1.5%;padding-left:1.5%;background-color:#fff}#everest-forms-builder .evf-tab-content .evf-content-section-title{font-size:24px;font-weight:500;margin-bottom:20px;padding-bottom:20px;line-height:34px;border-bottom:1px solid #efefef}#everest-forms-builder .evf-tab-content .everest-forms-panel-field{margin-bottom:20px}#everest-forms-builder .evf-registered-item{z-index:999;cursor:pointer;border-radius:2px;font-size:12px;text-align:center;margin:0;background-color:#fff;border:1px solid #ebedf0;color:#969696}#everest-forms-builder .evf-registered-item .evf-icon{color:inherit;display:block!important;font-size:32px!important}#everest-forms-builder .evf-registered-item.ui-draggable-dragging{border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;text-align:center!important;font-size:12px!important;box-shadow:0 0 32px rgba(0,0,0,.15)}#everest-forms-builder .evf-choices-list li{clear:both;padding:5px 5px;cursor:pointer}#everest-forms-builder .evf-choices-list li input.value{display:none}#everest-forms-builder .evf-choices-list li input[type=checkbox],#everest-forms-builder .evf-choices-list li input[type=radio]{float:right;margin-top:6px}#everest-forms-builder .evf-choices-list li input[type=text]{height:30px;font-size:12px;width:70%;line-height:12px}#everest-forms-builder .evf-choices-list li a.add,#everest-forms-builder .evf-choices-list li a.remove{margin-top:5px;margin-right:2px;display:inline-block;float:left}#everest-forms-builder .evf-choices-list li:hover{background:#f9f9f9}#everest-forms-builder .everest-forms-field.ui-draggable-dragging{margin:0;border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;background-color:#fff;text-align:center;font-size:12px!important}#everest-forms-builder .everest-forms-field.ui-draggable-dragging .evf-icon{color:inherit;display:block!important;font-size:302x!important}#everest-forms-panel-settings .evf-content-section{display:none}#everest-forms-panel-settings .evf-content-section.active{display:block}.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.evf-cancel-btn,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.evf-confirm-btn,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.evf-cancel-btn,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.evf-confirm-btn{padding:7px 15px;background-color:#292929;color:#fff;font-size:12px;text-transform:uppercase;border:0 none;border-radius:5px;cursor:pointer;font-weight:600}@media screen and (max-width:1200px){#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:47%}}@media screen and (max-width:782px){.everest-forms_page_edit-evf-form.auto-fold #wpcontent{padding-right:0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar-content{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-content-wrap,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar{width:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:30.3%}}@media screen and (max-width:600px){#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap{padding:20px 20px 0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:0 0 20px;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-1,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-2,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-3{width:auto}}@media screen and (max-width:480px){#everest-forms-builder .evf-tab-lists li a{padding:15px}#everest-forms-builder .evf-tab-lists li .dashicons{font-size:24px}#everest-forms-builder .evf_save_form_action_button{margin:12px 5px 0 15px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:47%}.jconfirm.jconfirm-light .jconfirm-box,.jconfirm.jconfirm-white .jconfirm-box{width:90%!important}}.evf-overlay{height:100%;width:100%;background:0 0;position:absolute;top:0;left:0;right:0;bottom:0;z-index:1000;padding:20px}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0}#tiptip_holder{display:none;z-index:8675309;position:absolute;top:0;left:0}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-right:-6px;border-top-color:#333}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-right:-6px;border-bottom-color:#333}#tiptip_holder.tip_right{padding-right:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-right:-5px;border-left-color:#333}#tiptip_holder.tip_left{padding-left:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-right:-7px;border-right-color:#333}#tiptip_content,.chart-tooltip,.evf_error_tip{color:#fff;font-size:.8em;max-width:150px;background:#333;text-align:center;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2)}#tiptip_content code,.chart-tooltip code,.evf_error_tip code{padding:1px;background:#888}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}#tiptip_arrow{right:50%;margin-right:-6px}.evf_error_tip{max-width:20em;line-height:1.8em;position:absolute;white-space:normal;background:#d82223;margin:1.5em -1em 0 1px;z-index:9999999}.evf_error_tip::after{content:'';display:block;border:8px solid #d82223;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;position:absolute;top:-3px;right:50%;margin:-1em -3px 0 0}@font-face{font-family:evf-icon;src:url(../fonts/evf-icon.eot?5fwmb3);src:url(../fonts/evf-icon.eot?5fwmb3#iefix) format("embedded-opentype"),url(../fonts/evf-icon.ttf?5fwmb3) format("truetype"),url(../fonts/evf-icon.woff?5fwmb3) format("woff"),url(../fonts/evf-icon.svg?5fwmb3#evf-icon) format("svg");font-weight:400;font-style:normal}[class*=" evf-icon-"],[class^=evf-icon-]{font-family:evf-icon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.evf-icon-last-name:before{content:"\e900"}.evf-icon-first-name:before{content:"\e901"}.evf-icon-checkbox:before{content:"\e902"}.evf-icon-radio:before{content:"\e903"}.evf-icon-file-upload:before{content:"\e904"}.evf-icon-hidden-field:before{content:"\e90a"}.evf-icon-address:before{content:"\e911"}.evf-icon-phone:before{content:"\e912"}.evf-icon-website:before{content:"\e913"}.evf-icon-number:before{content:"\e914"}.evf-icon-dropdown:before{content:"\e915"}.evf-icon-paragraph:before{content:"\e916"}.evf-icon-multiple-choices:before{content:"\e917"}.evf-icon-date-time:before{content:"\e918"}.evf-icon-email:before{content:"\e919"}.evf-icon-text:before{content:"\e91a"}
|
1 |
+
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.evf-row::after,.evf-row::before{display:table;content:""}.clearfix::after,.container-fluid::after,.container::after,.evf-row::after{clear:both}body{margin:0}*{box-sizing:border-box}.everest-forms_page_edit-evf-form #wpcontent{padding-right:0}.everest-forms-add-fields-group .handlediv,.everest-forms-field-option-group .handlediv{float:left}.everest-forms-add-fields-group .handlediv::before,.everest-forms-field-option-group .handlediv::before{content:'\f142'!important;cursor:pointer;display:inline-block;font:400 20px/1 Dashicons;line-height:.5!important;padding:4px;position:relative;left:0;top:0}.everest-forms-add-fields-group.closed .handlediv::before,.everest-forms-field-option-group.closed .handlediv::before{content:'\f140'!important}#everest-forms-builder{margin:0}#everest-forms-builder .evf-builder-tabs{background-color:#7f5aec}#everest-forms-builder a{text-decoration:none}#everest-forms-builder a:focus{outline:0;box-shadow:0 0 0 transparent}#everest-forms-builder .evf-tab-lists{padding:0;margin:0;float:right;list-style:none;display:flex}#everest-forms-builder .evf-tab-lists li{margin-bottom:0}#everest-forms-builder .evf-tab-lists li a{font-size:12px;line-height:24px;color:#fff;padding:10px 30px;display:block;cursor:pointer;transition:.5s background-color ease-in-out}#everest-forms-builder .evf-tab-lists li a.active,#everest-forms-builder .evf-tab-lists li a:hover{color:#575757;background-color:#f9fafc;outline:0}#everest-forms-builder .evf-tab-lists li a:focus{outline:0}#everest-forms-builder .evf-tab-lists li .dashicons{display:block;font-size:32px;width:auto;height:auto}#everest-forms-builder .evf_save_form_action_button{float:left;padding:7px 22px;background-color:#fff;color:#000;font-size:12px;text-transform:uppercase;border:0 none;border-radius:100px;margin:20px 20px 0 45px;cursor:pointer}#everest-forms-builder .evf_save_form_action_button:focus{outline:0}#everest-forms-builder .evf-tab-content .everest-forms-panel{width:100%;display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel.active{display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar-content{display:flex}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar{background-color:#f9fafc;width:30%;border-left:1px solid #ebedf0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields{padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields-heading{display:block;font-size:14px;font-weight:500;margin-bottom:15px;padding-bottom:10px;color:#575757;border-bottom:1px solid #efefef}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields-heading i{float:left;font-size:14px;margin-right:5px;line-height:1.5}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons{margin-left:-1.5%;margin-right:-1.5%;list-style:none;padding:0;display:flex;flex-wrap:wrap}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{margin-right:1.5%;margin-left:1.5%;padding:20px 8px;border:1px solid #ebedf0;width:30.3%;z-index:999;margin-bottom:10px;color:#969696;cursor:pointer;border-radius:2px;font-size:12px;transition:.5s color ease-in-out,.5s border-color ease-in-out;text-align:center;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item .dashicons{display:block;margin:0 auto}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover{color:#7ca8eb;border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover .evf-icon{color:inherit}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg{width:40px;height:40px;display:block;margin:0 auto 10px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-3{fill:#414042;transition:.5s fill ease-in-out;font-size:7px;font-weight:300}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover{color:#7ca8eb;border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-3{fill:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging{margin:0;border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-3{fill:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox label,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox label{width:auto;padding:0;display:inline-block;vertical-align:top;height:auto}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox input{margin:3px 0 0 5px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options{display:none;background-color:#f0f1f2;height:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group{border-bottom:1px solid #f0f1f2}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row{margin-bottom:15px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row:last-child{margin-bottom:0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row .inline{margin-bottom:0;display:inline-block;vertical-align:top;margin-right:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option{display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group-toggle{background-color:#f9fafc;padding:15px 20px;font-size:14px;font-weight:600;display:block;color:#404040}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group-inner{background-color:#f0f1f2;padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel{background-color:#f0f1f2;padding:15px 20px;font-size:14px;font-weight:600;display:block;color:#404040;border-bottom:3px solid #f0f1f2}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel .everest-forms-toggle-arrow{float:left;font-size:14px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel.active{background-color:#fff;position:relative;color:#7f5aec;border-color:#7f5aec}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel.active::after{position:absolute;content:"";top:0;left:-1px;bottom:0;width:1px;height:100%;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap{background-color:#fff;width:70%;padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-title-desc .everest-forms-form-name{margin-top:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-field-wrapper{padding:0 15px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-field-wrapper.evf-hover{background-color:#d4e3f9}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row{text-align:center}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span{width:40px;height:40px;line-height:30px;padding:5px;color:#fff;background-color:#969696;border-radius:5px;cursor:pointer;transition:.5s ease-in-out background-color;margin-bottom:20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:active,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:focus,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:hover{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row{background-color:transparent;display:flex;margin:0 -15px 30px;position:relative;border:1px solid transparent;transition:.5s border,.5s background-color}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:last-child{margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row{background-color:#8ce99a;color:#fff;position:absolute;left:0;top:0;z-index:9999;visibility:hidden;opacity:0;transition:.7s all;padding:5px 10px;cursor:pointer}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-show-grid{display:inline-block;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-delete-row{display:inline-block;padding-left:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-delete-row span{font-size:14px;height:auto;line-height:1.2;color:#d9534f}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content{display:none;position:absolute;width:200px;padding:30px;text-align:center;left:-20px;border-radius:11px;background-color:#fff;font-weight:600;font-size:12px;top:40px;box-shadow:0 0 39px rgba(0,0,0,.1);transition:.9s background-color}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content::before{top:-5px;content:"";left:45px;border-left:6px solid transparent;border-bottom:6px solid #fff;border-right:6px solid transparent;position:absolute}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content>span{color:#575757;display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content small{color:#c6ccd7;margin-bottom:10px;display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector{height:30px;width:40px;border:1px solid #d6d8da;display:inline-block;margin:3px;border-radius:3px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span{height:100%;display:inline-block;background:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span:nth-child(n+1){border-right:1px solid #d6d8da}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span:nth-child(1){border-right:0 none}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector.active{border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector.active span{border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover{background-color:#f7fafc;border:1px dashed #5d96ee}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover .evf-admin-grid{border:1px dashed #bdbdbd}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover .evf-toggle-row{opacity:1;visibility:visible}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid{background:#fff;min-height:200px;margin:15px;padding:5px;border:1px solid transparent;transition:.5s border,.5s background-color;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover{border:1px dashed #bdbdbd}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover.evf-item-hover{position:relative;box-shadow:0 0 5px rgba(0,100,251,.5)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover.evf-item-hover::after{position:absolute;content:"";top:-1px;right:-1px;left:-1px;width:auto;height:15px;background-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-1{width:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-2{width:50%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-3{width:30%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid .evf-registered-item{padding:20px;font-size:18px;text-align:right}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid .evf-registered-item .dashicons{font-size:22px;margin-top:3px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-empty-grid{border:1px dashed #bdbdbd;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-empty-grid:before{position:absolute;margin:auto;content:"\f132";font-size:40px;display:block;font-family:dashicons;transform:translate(50%,-50%);right:50%;top:50%;color:#d6d8da}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field{margin-bottom:30px;padding:15px;position:relative;box-shadow:0 0 15px transparent;transition:.5s box-shadow}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:last-child{margin-bottom:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--first,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--last{width:48.5%;margin-left:3%;float:right}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--last{margin-left:0;float:left}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action{position:absolute;top:10px;left:5px;visibility:hidden;opacity:0;transition:.5s all}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action a{color:#7ca8eb;margin-right:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action a.everest-forms-field-delete:hover{color:#d9534f}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:hover{box-shadow:0 0 15px rgba(0,0,0,.1)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:hover .evf-field-action{visibility:visible;opacity:1}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper{box-shadow:-1px 5px 35px rgba(0,0,0,.2);padding:20px 30px;height:auto!important;right:-20px;left:-20px;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper::before{position:absolute;right:0;top:0;width:5px;height:100%;background-color:#7f5aec;content:""}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper:hover .evf-field-action{display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader{width:100%;border:2px dashed #d5d9e2;background-color:#fbfdfe;border-radius:3px;cursor:pointer;text-align:center;padding-top:30px;padding-bottom:30px;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader svg{width:30px;height:30px;fill:#bbbcbd;margin-bottom:20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader input.file-input{touch-action:manipulation;max-width:100%;min-width:14px;margin:0;opacity:0;height:18px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .drop{display:block;font-size:14px;font-weight:600;color:#969696;margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .or{font-size:12px;color:#bdbdbd;font-weight:500;display:block;margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .file-control{position:absolute;bottom:30px;color:#5d96ee;padding-bottom:2px;display:block;right:0;left:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .file-control::before{content:"";width:45px;background-color:#5d96ee;height:1px;display:block;right:50%;bottom:-2px;position:absolute;transform:translateX(50%)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .publishing-action{width:100%;text-align:left}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .submit-button{display:inline-block;font-size:12px;font-weight:600;color:#fff;padding:15px 20px;border:0 none;background-color:#8ce99a;border-radius:3px}#everest-forms-builder .evf-tab-content label{font-size:12px;margin-bottom:15px;color:#575757;display:block;font-weight:600}#everest-forms-builder .evf-tab-content label i{color:#bdbdbd;font-size:16px;line-height:1.2}#everest-forms-builder .evf-tab-content label .required{margin-right:5px}#everest-forms-builder .evf-tab-content input:not(.ed_button),#everest-forms-builder .evf-tab-content select,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area){border:1px solid #d5d9e2;border-radius:3px;height:45px;width:100%;padding:10px 15px;color:#575757;font-size:14px}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox],#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio],#everest-forms-builder .evf-tab-content select[type=checkbox],#everest-forms-builder .evf-tab-content select[type=radio],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]{width:16px;height:16px;background-color:#fff}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio],#everest-forms-builder .evf-tab-content select[type=radio],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]{border-radius:10px}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox]:checked,#everest-forms-builder .evf-tab-content select[type=checkbox]:checked,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox]:checked{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox]:checked::before,#everest-forms-builder .evf-tab-content select[type=checkbox]:checked::before,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox]:checked::before{color:#fff;background-color:transparent}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio]:checked::before,#everest-forms-builder .evf-tab-content select[type=radio]:checked::before,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]:checked::before{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content input:not(.ed_button)::placeholder,#everest-forms-builder .evf-tab-content select::placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)::placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button):focus,#everest-forms-builder .evf-tab-content select:focus,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area):focus{outline:0}#everest-forms-builder .evf-tab-content textarea,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area){height:120px}#everest-forms-builder .evf-tab-content .evf-grid-lists{margin-right:-1.5%;margin-left:1.5%;background-color:#f9fafc;display:flex}#everest-forms-builder .evf-tab-content .evf-grid-lists .evf-grid-lists-item{padding-right:1.5%;padding-left:1.5%;background-color:#fff}#everest-forms-builder .evf-tab-content .evf-content-section-title{font-size:24px;font-weight:500;margin-bottom:20px;padding-bottom:20px;line-height:34px;border-bottom:1px solid #efefef}#everest-forms-builder .evf-tab-content .everest-forms-panel-field{margin-bottom:20px}#everest-forms-builder .evf-registered-item{z-index:999;cursor:pointer;border-radius:2px;font-size:12px;text-align:center;margin:0;background-color:#fff;border:1px solid #ebedf0;color:#969696}#everest-forms-builder .evf-registered-item .evf-icon{color:inherit;display:block!important;font-size:32px!important}#everest-forms-builder .evf-registered-item.ui-draggable-dragging{border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;text-align:center!important;font-size:12px!important;box-shadow:0 0 32px rgba(0,0,0,.15)}#everest-forms-builder .evf-choices-list li{clear:both;padding:5px 5px;cursor:pointer}#everest-forms-builder .evf-choices-list li input.value{display:none}#everest-forms-builder .evf-choices-list li input[type=checkbox],#everest-forms-builder .evf-choices-list li input[type=radio]{float:right;margin-top:6px}#everest-forms-builder .evf-choices-list li input[type=text]{height:30px;font-size:12px;width:70%;line-height:12px}#everest-forms-builder .evf-choices-list li a.add,#everest-forms-builder .evf-choices-list li a.remove{margin-top:5px;margin-right:2px;display:inline-block;float:left}#everest-forms-builder .evf-choices-list li:hover{background:#f9f9f9}#everest-forms-builder .everest-forms-field.ui-draggable-dragging{margin:0;border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;background-color:#fff;text-align:center;font-size:12px!important}#everest-forms-builder .everest-forms-field.ui-draggable-dragging .evf-icon{color:inherit;display:block!important;font-size:302x!important}#everest-forms-panel-settings .evf-content-section{display:none}#everest-forms-panel-settings .evf-content-section.active{display:block}.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.evf-cancel-btn,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.evf-confirm-btn,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.evf-cancel-btn,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.evf-confirm-btn{padding:7px 15px;background-color:#292929;color:#fff;font-size:12px;text-transform:uppercase;border:0 none;border-radius:5px;cursor:pointer;font-weight:600}@media screen and (max-width:1200px){#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:47%}}@media screen and (max-width:782px){.everest-forms_page_edit-evf-form.auto-fold #wpcontent{padding-right:0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar-content{flex-direction:column}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-content-wrap,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar{width:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:30.3%}}@media screen and (max-width:600px){#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap{padding:20px 20px 0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row{flex-direction:column;margin:0 0 20px;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-1,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-2,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-3{width:auto}}@media screen and (max-width:480px){#everest-forms-builder .evf-tab-lists li a{padding:15px}#everest-forms-builder .evf-tab-lists li .dashicons{font-size:24px}#everest-forms-builder .evf_save_form_action_button{margin:12px 5px 0 15px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:47%}.jconfirm.jconfirm-light .jconfirm-box,.jconfirm.jconfirm-white .jconfirm-box{width:90%!important}}.evf-overlay{height:100%;width:100%;background:100% 0;position:absolute;top:0;left:0;right:0;bottom:0;z-index:1000;padding:20px}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0}#tiptip_holder{display:none;z-index:8675309;position:absolute;top:0;right:0}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-right:-6px;border-top-color:#333}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-right:-6px;border-bottom-color:#333}#tiptip_holder.tip_right{padding-right:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-right:-5px;border-left-color:#333}#tiptip_holder.tip_left{padding-left:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-right:-7px;border-right-color:#333}#tiptip_content,.chart-tooltip,.evf_error_tip{color:#fff;font-size:.8em;max-width:150px;background:#333;text-align:center;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2)}#tiptip_content code,.chart-tooltip code,.evf_error_tip code{padding:1px;background:#888}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}.evf_error_tip{max-width:20em;line-height:1.8em;position:absolute;white-space:normal;background:#d82223;margin:1.5em -1em 0 1px;z-index:9999999}.evf_error_tip::after{content:'';display:block;border:8px solid #d82223;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;position:absolute;top:-3px;right:50%;margin:-1em -3px 0 0}@font-face{font-family:evf-icon;src:url(../fonts/evf-icon.eot?5fwmb3);src:url(../fonts/evf-icon.eot?5fwmb3#iefix) format("embedded-opentype"),url(../fonts/evf-icon.ttf?5fwmb3) format("truetype"),url(../fonts/evf-icon.woff?5fwmb3) format("woff"),url(../fonts/evf-icon.svg?5fwmb3#evf-icon) format("svg");font-weight:400;font-style:normal}[class*=" evf-icon-"],[class^=evf-icon-]{font-family:evf-icon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.evf-icon-last-name:before{content:"\e900"}.evf-icon-first-name:before{content:"\e901"}.evf-icon-checkbox:before{content:"\e902"}.evf-icon-radio:before{content:"\e903"}.evf-icon-file-upload:before{content:"\e904"}.evf-icon-hidden-field:before{content:"\e90a"}.evf-icon-address:before{content:"\e911"}.evf-icon-phone:before{content:"\e912"}.evf-icon-website:before{content:"\e913"}.evf-icon-number:before{content:"\e914"}.evf-icon-dropdown:before{content:"\e915"}.evf-icon-paragraph:before{content:"\e916"}.evf-icon-multiple-choices:before{content:"\e917"}.evf-icon-date-time:before{content:"\e918"}.evf-icon-email:before{content:"\e919"}.evf-icon-text:before{content:"\e91a"}
|
assets/css/everest-builder.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.tg-row::after,.tg-row::before{display:table;content:""}.clearfix::after,.container-fluid::after,.container::after,.tg-row::after{clear:both}body{margin:0}*{box-sizing:border-box}.everest-forms_page_edit-evf-form #wpcontent{padding-left:0}.everest-forms-add-fields-group .handlediv,.everest-forms-field-option-group .handlediv{float:right}.everest-forms-add-fields-group .handlediv::before,.everest-forms-field-option-group .handlediv::before{content:'\f142'!important;cursor:pointer;display:inline-block;font:400 20px/1 Dashicons;line-height:.5!important;padding:4px;position:relative;right:0;top:0}.everest-forms-add-fields-group.closed .handlediv::before,.everest-forms-field-option-group.closed .handlediv::before{content:'\f140'!important}#everest-forms-builder{margin:0}#everest-forms-builder .evf-builder-tabs{background-color:#7f5aec}#everest-forms-builder a{text-decoration:none}#everest-forms-builder a:focus{outline:0;box-shadow:0 0 0 transparent}#everest-forms-builder .evf-tab-lists{padding:0;margin:0;float:left;list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex}#everest-forms-builder .evf-tab-lists li{margin-bottom:0}#everest-forms-builder .evf-tab-lists li a{font-size:12px;line-height:24px;color:#fff;padding:10px 30px;display:block;cursor:pointer;-webkit-transition:.5s background-color ease-in-out;transition:.5s background-color ease-in-out}#everest-forms-builder .evf-tab-lists li a.active,#everest-forms-builder .evf-tab-lists li a:hover{color:#575757;background-color:#f9fafc;outline:0}#everest-forms-builder .evf-tab-lists li a:focus{outline:0}#everest-forms-builder .evf-tab-lists li .dashicons{display:block;font-size:32px;width:auto;height:auto}#everest-forms-builder .evf_save_form_action_button{float:right;padding:7px 22px;background-color:#fff;color:#000;font-size:12px;text-transform:uppercase;border:0 none;border-radius:100px;margin:20px 45px 0 20px;cursor:pointer}#everest-forms-builder .evf_save_form_action_button:focus{outline:0}#everest-forms-builder .evf-tab-content .everest-forms-panel{width:100%;display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel.active{display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar-content{display:-webkit-box;display:-ms-flexbox;display:flex}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar{background-color:#f9fafc;width:30%;border-right:1px solid #ebedf0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields{padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields-heading{display:block;font-size:14px;font-weight:500;margin-bottom:15px;padding-bottom:10px;color:#575757;border-bottom:1px solid #efefef}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields-heading i{float:right;font-size:14px;margin-left:5px;line-height:1.5}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons{margin-right:-1.5%;margin-left:-1.5%;list-style:none;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{margin-left:1.5%;margin-right:1.5%;padding:20px 8px;border:1px solid #ebedf0;width:30.3%;z-index:999;margin-bottom:10px;color:#969696;cursor:pointer;border-radius:2px;font-size:12px;-webkit-transition:.5s color ease-in-out,.5s border-color ease-in-out;transition:.5s color ease-in-out,.5s border-color ease-in-out;text-align:center;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item .dashicons{display:block;margin:0 auto}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover{color:#7ca8eb;border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover .evf-icon{color:inherit}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg{width:40px;height:40px;display:block;margin:0 auto 10px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-3{fill:#414042;-webkit-transition:.5s fill ease-in-out;transition:.5s fill ease-in-out;font-size:7px;font-weight:300}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover{color:#7ca8eb;border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-3{fill:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging{margin:0;border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-3{fill:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox label,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox label{width:auto;padding:0;display:inline-block;vertical-align:top;height:auto}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox input{margin:3px 5px 0 0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options{display:none;background-color:#f0f1f2;height:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group{border-bottom:1px solid #f0f1f2}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row{margin-bottom:15px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row:last-child{margin-bottom:0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row .inline{margin-bottom:0;display:inline-block;vertical-align:top;margin-left:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option{display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group-toggle{background-color:#f9fafc;padding:15px 20px;font-size:14px;font-weight:600;display:block;color:#404040}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group-inner{background-color:#f0f1f2;padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel{background-color:#f0f1f2;padding:15px 20px;font-size:14px;font-weight:600;display:block;color:#404040;border-bottom:3px solid #f0f1f2}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel .everest-forms-toggle-arrow{float:right;font-size:14px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel.active{background-color:#fff;position:relative;color:#7f5aec;border-color:#7f5aec}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel.active::after{position:absolute;content:"";top:0;right:-1px;bottom:0;width:1px;height:100%;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap{background-color:#fff;width:70%;padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-title-desc .everest-forms-form-name{margin-top:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-field-wrapper{padding:0 15px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-field-wrapper.evf-hover{background-color:#d4e3f9}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row{text-align:center}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span{width:40px;height:40px;line-height:30px;padding:5px;color:#fff;background-color:#969696;border-radius:5px;cursor:pointer;-webkit-transition:.5s ease-in-out background-color;transition:.5s ease-in-out background-color;margin-bottom:20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:active,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:focus,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:hover{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row{background-color:transparent;display:-webkit-box;display:-ms-flexbox;display:flex;margin:0 -15px 30px;position:relative;border:1px solid transparent;-webkit-transition:.5s border,.5s background-color;transition:.5s border,.5s background-color}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:last-child{margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row{background-color:#8ce99a;color:#fff;position:absolute;right:0;top:0;z-index:9999;visibility:hidden;opacity:0;-webkit-transition:.7s all;transition:.7s all;padding:5px 10px;cursor:pointer}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-show-grid{display:inline-block;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-delete-row{display:inline-block;padding-right:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-delete-row span{font-size:14px;height:auto;line-height:1.2;color:#d9534f}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content{display:none;position:absolute;width:200px;padding:30px;text-align:center;right:-20px;border-radius:11px;background-color:#fff;font-weight:600;font-size:12px;top:40px;box-shadow:0 0 39px rgba(0,0,0,.1);-webkit-transition:.9s background-color;transition:.9s background-color}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content::before{top:-5px;content:"";right:45px;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;position:absolute}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content>span{color:#575757;display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content small{color:#c6ccd7;margin-bottom:10px;display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector{height:30px;width:40px;border:1px solid #d6d8da;display:inline-block;margin:3px;border-radius:3px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span{height:100%;display:inline-block;background:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span:nth-child(n+1){border-left:1px solid #d6d8da}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span:nth-child(1){border-left:0 none}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector.active{border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector.active span{border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover{background-color:#f7fafc;border:1px dashed #5d96ee}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover .evf-admin-grid{border:1px dashed #bdbdbd}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover .evf-toggle-row{opacity:1;visibility:visible}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid{background:#fff;min-height:200px;margin:15px;padding:5px;border:1px solid transparent;-webkit-transition:.5s border,.5s background-color;transition:.5s border,.5s background-color;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover{border:1px dashed #bdbdbd}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover.evf-item-hover{position:relative;box-shadow:0 0 5px rgba(0,100,251,.5)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover.evf-item-hover::after{position:absolute;content:"";top:-1px;left:-1px;right:-1px;width:auto;height:15px;background-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-1{width:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-2{width:50%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-3{width:30%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid .evf-registered-item{padding:20px;font-size:18px;text-align:left}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid .evf-registered-item .dashicons{font-size:22px;margin-top:3px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-empty-grid{border:1px dashed #bdbdbd;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-empty-grid:before{position:absolute;margin:auto;content:"\f132";font-size:40px;display:block;font-family:dashicons;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);left:50%;top:50%;color:#d6d8da}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field{margin-bottom:30px;padding:15px;position:relative;box-shadow:0 0 15px transparent;-webkit-transition:.5s box-shadow;transition:.5s box-shadow}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:last-child{margin-bottom:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--first,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--last{width:48.5%;margin-right:3%;float:left}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--last{margin-right:0;float:right}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action{position:absolute;top:10px;right:5px;visibility:hidden;opacity:0;-webkit-transition:.5s all;transition:.5s all}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action a{color:#7ca8eb;margin-left:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action a.everest-forms-field-delete:hover{color:#d9534f}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:hover{box-shadow:0 0 15px rgba(0,0,0,.1)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:hover .evf-field-action{visibility:visible;opacity:1}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper{box-shadow:1px 5px 35px rgba(0,0,0,.2);padding:20px 30px;height:auto!important;left:-20px;right:-20px;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper::before{position:absolute;left:0;top:0;width:5px;height:100%;background-color:#7f5aec;content:""}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper:hover .evf-field-action{display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader{width:100%;border:2px dashed #d5d9e2;background-color:#fbfdfe;border-radius:3px;cursor:pointer;text-align:center;padding-top:30px;padding-bottom:30px;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader svg{width:30px;height:30px;fill:#bbbcbd;margin-bottom:20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader input.file-input{-ms-touch-action:manipulation;touch-action:manipulation;max-width:100%;min-width:14px;margin:0;opacity:0;height:18px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .drop{display:block;font-size:14px;font-weight:600;color:#969696;margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .or{font-size:12px;color:#bdbdbd;font-weight:500;display:block;margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .file-control{position:absolute;bottom:30px;color:#5d96ee;padding-bottom:2px;display:block;left:0;right:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .file-control::before{content:"";width:45px;background-color:#5d96ee;height:1px;display:block;left:50%;bottom:-2px;position:absolute;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .publishing-action{width:100%;text-align:right}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .submit-button{display:inline-block;font-size:12px;font-weight:600;color:#fff;padding:15px 20px;border:0 none;background-color:#8ce99a;border-radius:3px}#everest-forms-builder .evf-tab-content label{font-size:12px;margin-bottom:15px;color:#575757;display:block;font-weight:600}#everest-forms-builder .evf-tab-content label i{color:#bdbdbd;font-size:16px;line-height:1.2}#everest-forms-builder .evf-tab-content label .required{margin-left:5px}#everest-forms-builder .evf-tab-content input:not(.ed_button),#everest-forms-builder .evf-tab-content select,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area){border:1px solid #d5d9e2;border-radius:3px;height:45px;width:100%;padding:10px 15px;color:#575757;font-size:14px}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox],#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio],#everest-forms-builder .evf-tab-content select[type=checkbox],#everest-forms-builder .evf-tab-content select[type=radio],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]{width:16px;height:16px;background-color:#fff}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio],#everest-forms-builder .evf-tab-content select[type=radio],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]{border-radius:10px}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox]:checked,#everest-forms-builder .evf-tab-content select[type=checkbox]:checked,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox]:checked{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox]:checked::before,#everest-forms-builder .evf-tab-content select[type=checkbox]:checked::before,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox]:checked::before{color:#fff;background-color:transparent}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio]:checked::before,#everest-forms-builder .evf-tab-content select[type=radio]:checked::before,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]:checked::before{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content input:not(.ed_button)::-webkit-input-placeholder,#everest-forms-builder .evf-tab-content select::-webkit-input-placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)::-webkit-input-placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button)::-moz-placeholder,#everest-forms-builder .evf-tab-content select::-moz-placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)::-moz-placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button):-ms-input-placeholder,#everest-forms-builder .evf-tab-content select:-ms-input-placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area):-ms-input-placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button)::-ms-input-placeholder,#everest-forms-builder .evf-tab-content select::-ms-input-placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)::-ms-input-placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button)::placeholder,#everest-forms-builder .evf-tab-content select::placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)::placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button):focus,#everest-forms-builder .evf-tab-content select:focus,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area):focus{outline:0}#everest-forms-builder .evf-tab-content textarea,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area){height:120px}#everest-forms-builder .evf-tab-content .evf-grid-lists{margin-left:-1.5%;margin-right:1.5%;background-color:#f9fafc;display:-webkit-box;display:-ms-flexbox;display:flex}#everest-forms-builder .evf-tab-content .evf-grid-lists .evf-grid-lists-item{padding-left:1.5%;padding-right:1.5%;background-color:#fff}#everest-forms-builder .evf-tab-content .evf-content-section-title{font-size:24px;font-weight:500;margin-bottom:20px;padding-bottom:20px;line-height:34px;border-bottom:1px solid #efefef}#everest-forms-builder .evf-tab-content .everest-forms-panel-field{margin-bottom:20px}#everest-forms-builder .evf-registered-item{z-index:999;cursor:pointer;border-radius:2px;font-size:12px;text-align:center;margin:0;background-color:#fff;border:1px solid #ebedf0;color:#969696}#everest-forms-builder .evf-registered-item .evf-icon{color:inherit;display:block!important;font-size:32px!important}#everest-forms-builder .evf-registered-item.ui-draggable-dragging{border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;text-align:center!important;font-size:12px!important;box-shadow:0 0 32px rgba(0,0,0,.15)}#everest-forms-builder .evf-choices-list li{clear:both;padding:5px 5px;cursor:pointer}#everest-forms-builder .evf-choices-list li input.value{display:none}#everest-forms-builder .evf-choices-list li input[type=checkbox],#everest-forms-builder .evf-choices-list li input[type=radio]{float:left;margin-top:6px}#everest-forms-builder .evf-choices-list li input[type=text]{height:30px;font-size:12px;width:70%;line-height:12px}#everest-forms-builder .evf-choices-list li a.add,#everest-forms-builder .evf-choices-list li a.remove{margin-top:5px;margin-left:2px;display:inline-block;float:right}#everest-forms-builder .evf-choices-list li:hover{background:#f9f9f9}#everest-forms-builder .everest-forms-field.ui-draggable-dragging{margin:0;border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;background-color:#fff;text-align:center;font-size:12px!important}#everest-forms-builder .everest-forms-field.ui-draggable-dragging .evf-icon{color:inherit;display:block!important;font-size:302x!important}#everest-forms-panel-settings .evf-content-section{display:none}#everest-forms-panel-settings .evf-content-section.active{display:block}.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.evf-cancel-btn,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.evf-confirm-btn,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.evf-cancel-btn,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.evf-confirm-btn{padding:7px 15px;background-color:#292929;color:#fff;font-size:12px;text-transform:uppercase;border:0 none;border-radius:5px;cursor:pointer;font-weight:600}@media screen and (max-width:1200px){#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:47%}}@media screen and (max-width:782px){.everest-forms_page_edit-evf-form.auto-fold #wpcontent{padding-left:0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar-content{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-content-wrap,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar{width:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:30.3%}}@media screen and (max-width:600px){#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap{padding:20px 20px 0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:0 0 20px;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-1,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-2,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-3{width:auto}}@media screen and (max-width:480px){#everest-forms-builder .evf-tab-lists li a{padding:15px}#everest-forms-builder .evf-tab-lists li .dashicons{font-size:24px}#everest-forms-builder .evf_save_form_action_button{margin:12px 15px 0 5px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:47%}.jconfirm.jconfirm-light .jconfirm-box,.jconfirm.jconfirm-white .jconfirm-box{width:90%!important}}.evf-overlay{height:100%;width:100%;background:0 0;position:absolute;top:0;right:0;left:0;bottom:0;z-index:1000;padding:20px}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0}#tiptip_holder{display:none;z-index:8675309;position:absolute;top:0;left:0}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#333}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#333}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#333}#tiptip_holder.tip_left{padding-right:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#333}#tiptip_content,.chart-tooltip,.evf_error_tip{color:#fff;font-size:.8em;max-width:150px;background:#333;text-align:center;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2)}#tiptip_content code,.chart-tooltip code,.evf_error_tip code{padding:1px;background:#888}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}.evf_error_tip{max-width:20em;line-height:1.8em;position:absolute;white-space:normal;background:#d82223;margin:1.5em 1px 0 -1em;z-index:9999999}.evf_error_tip::after{content:'';display:block;border:8px solid #d82223;border-right-color:transparent;border-left-color:transparent;border-top-color:transparent;position:absolute;top:-3px;left:50%;margin:-1em 0 0 -3px}@font-face{font-family:evf-icon;src:url(../fonts/evf-icon.eot?5fwmb3);src:url(../fonts/evf-icon.eot?5fwmb3#iefix) format("embedded-opentype"),url(../fonts/evf-icon.ttf?5fwmb3) format("truetype"),url(../fonts/evf-icon.woff?5fwmb3) format("woff"),url(../fonts/evf-icon.svg?5fwmb3#evf-icon) format("svg");font-weight:400;font-style:normal}[class*=" evf-icon-"],[class^=evf-icon-]{font-family:evf-icon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.evf-icon-last-name:before{content:"\e900"}.evf-icon-first-name:before{content:"\e901"}.evf-icon-checkbox:before{content:"\e902"}.evf-icon-radio:before{content:"\e903"}.evf-icon-file-upload:before{content:"\e904"}.evf-icon-hidden-field:before{content:"\e90a"}.evf-icon-address:before{content:"\e911"}.evf-icon-phone:before{content:"\e912"}.evf-icon-website:before{content:"\e913"}.evf-icon-number:before{content:"\e914"}.evf-icon-dropdown:before{content:"\e915"}.evf-icon-paragraph:before{content:"\e916"}.evf-icon-multiple-choices:before{content:"\e917"}.evf-icon-date-time:before{content:"\e918"}.evf-icon-email:before{content:"\e919"}.evf-icon-text:before{content:"\e91a"}
|
1 |
+
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.evf-row::after,.evf-row::before{display:table;content:""}.clearfix::after,.container-fluid::after,.container::after,.evf-row::after{clear:both}body{margin:0}*{box-sizing:border-box}.everest-forms_page_edit-evf-form #wpcontent{padding-left:0}.everest-forms-add-fields-group .handlediv,.everest-forms-field-option-group .handlediv{float:right}.everest-forms-add-fields-group .handlediv::before,.everest-forms-field-option-group .handlediv::before{content:'\f142'!important;cursor:pointer;display:inline-block;font:400 20px/1 Dashicons;line-height:.5!important;padding:4px;position:relative;right:0;top:0}.everest-forms-add-fields-group.closed .handlediv::before,.everest-forms-field-option-group.closed .handlediv::before{content:'\f140'!important}#everest-forms-builder{margin:0}#everest-forms-builder .evf-builder-tabs{background-color:#7f5aec}#everest-forms-builder a{text-decoration:none}#everest-forms-builder a:focus{outline:0;box-shadow:0 0 0 transparent}#everest-forms-builder .evf-tab-lists{padding:0;margin:0;float:left;list-style:none;display:flex}#everest-forms-builder .evf-tab-lists li{margin-bottom:0}#everest-forms-builder .evf-tab-lists li a{font-size:12px;line-height:24px;color:#fff;padding:10px 30px;display:block;cursor:pointer;transition:.5s background-color ease-in-out}#everest-forms-builder .evf-tab-lists li a.active,#everest-forms-builder .evf-tab-lists li a:hover{color:#575757;background-color:#f9fafc;outline:0}#everest-forms-builder .evf-tab-lists li a:focus{outline:0}#everest-forms-builder .evf-tab-lists li .dashicons{display:block;font-size:32px;width:auto;height:auto}#everest-forms-builder .evf_save_form_action_button{float:right;padding:7px 22px;background-color:#fff;color:#000;font-size:12px;text-transform:uppercase;border:0 none;border-radius:100px;margin:20px 45px 0 20px;cursor:pointer}#everest-forms-builder .evf_save_form_action_button:focus{outline:0}#everest-forms-builder .evf-tab-content .everest-forms-panel{width:100%;display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel.active{display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar-content{display:flex}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar{background-color:#f9fafc;width:30%;border-right:1px solid #ebedf0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields{padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields-heading{display:block;font-size:14px;font-weight:500;margin-bottom:15px;padding-bottom:10px;color:#575757;border-bottom:1px solid #efefef}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-add-fields-heading i{float:right;font-size:14px;margin-left:5px;line-height:1.5}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons{margin-right:-1.5%;margin-left:-1.5%;list-style:none;padding:0;display:flex;flex-wrap:wrap}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{margin-left:1.5%;margin-right:1.5%;padding:20px 8px;border:1px solid #ebedf0;width:30.3%;z-index:999;margin-bottom:10px;color:#969696;cursor:pointer;border-radius:2px;font-size:12px;transition:.5s color ease-in-out,.5s border-color ease-in-out;text-align:center;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item .dashicons{display:block;margin:0 auto}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover{color:#7ca8eb;border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover .evf-icon{color:inherit}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg{width:40px;height:40px;display:block;margin:0 auto 10px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item svg .cls-3{fill:#414042;transition:.5s fill ease-in-out;font-size:7px;font-weight:300}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover{color:#7ca8eb;border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item:hover svg .cls-3{fill:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging{margin:0;border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-1,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-2,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item.ui-draggable-dragging svg .cls-3{fill:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox label,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox label{width:auto;padding:0;display:inline-block;vertical-align:top;height:auto}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-field-option--checkbox input,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting--checkbox input{margin:3px 5px 0 0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options{display:none;background-color:#f0f1f2;height:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group{border-bottom:1px solid #f0f1f2}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row{margin-bottom:15px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row:last-child{margin-bottom:0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-row .inline{margin-bottom:0;display:inline-block;vertical-align:top;margin-left:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option{display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group-toggle{background-color:#f9fafc;padding:15px 20px;font-size:14px;font-weight:600;display:block;color:#404040}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .everest-forms-field-options .everest-forms-field-option-group-inner{background-color:#f0f1f2;padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel{background-color:#f0f1f2;padding:15px 20px;font-size:14px;font-weight:600;display:block;color:#404040;border-bottom:3px solid #f0f1f2}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel .everest-forms-toggle-arrow{float:right;font-size:14px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel.active{background-color:#fff;position:relative;color:#7f5aec;border-color:#7f5aec}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-setting-panel.active::after{position:absolute;content:"";top:0;right:-1px;bottom:0;width:1px;height:100%;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap{background-color:#fff;width:70%;padding:15px 20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-title-desc .everest-forms-form-name{margin-top:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-field-wrapper{padding:0 15px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-field-wrapper.evf-hover{background-color:#d4e3f9}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row{text-align:center}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span{width:40px;height:40px;line-height:30px;padding:5px;color:#fff;background-color:#969696;border-radius:5px;cursor:pointer;transition:.5s ease-in-out background-color;margin-bottom:20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:active,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:focus,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-add-row span:hover{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row{background-color:transparent;display:flex;margin:0 -15px 30px;position:relative;border:1px solid transparent;transition:.5s border,.5s background-color}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:last-child{margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row{background-color:#8ce99a;color:#fff;position:absolute;right:0;top:0;z-index:9999;visibility:hidden;opacity:0;transition:.7s all;padding:5px 10px;cursor:pointer}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-show-grid{display:inline-block;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-delete-row{display:inline-block;padding-right:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-delete-row span{font-size:14px;height:auto;line-height:1.2;color:#d9534f}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content{display:none;position:absolute;width:200px;padding:30px;text-align:center;right:-20px;border-radius:11px;background-color:#fff;font-weight:600;font-size:12px;top:40px;box-shadow:0 0 39px rgba(0,0,0,.1);transition:.9s background-color}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content::before{top:-5px;content:"";right:45px;border-right:6px solid transparent;border-bottom:6px solid #fff;border-left:6px solid transparent;position:absolute}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content>span{color:#575757;display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content small{color:#c6ccd7;margin-bottom:10px;display:block}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector{height:30px;width:40px;border:1px solid #d6d8da;display:inline-block;margin:3px;border-radius:3px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span{height:100%;display:inline-block;background:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span:nth-child(n+1){border-left:1px solid #d6d8da}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector span:nth-child(1){border-left:0 none}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector.active{border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-toggle-row .evf-toggle-row-content .evf-grid-selector.active span{border-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover{background-color:#f7fafc;border:1px dashed #5d96ee}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover .evf-admin-grid{border:1px dashed #bdbdbd}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row:hover .evf-toggle-row{opacity:1;visibility:visible}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid{background:#fff;min-height:200px;margin:15px;padding:5px;border:1px solid transparent;transition:.5s border,.5s background-color;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover{border:1px dashed #bdbdbd}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover.evf-item-hover{position:relative;box-shadow:0 0 5px rgba(0,100,251,.5)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-hover.evf-item-hover::after{position:absolute;content:"";top:-1px;left:-1px;right:-1px;width:auto;height:15px;background-color:#7ca8eb}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-1{width:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-2{width:50%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-3{width:30%}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid .evf-registered-item{padding:20px;font-size:18px;text-align:left}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid .evf-registered-item .dashicons{font-size:22px;margin-top:3px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-empty-grid{border:1px dashed #bdbdbd;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-empty-grid:before{position:absolute;margin:auto;content:"\f132";font-size:40px;display:block;font-family:dashicons;transform:translate(-50%,-50%);left:50%;top:50%;color:#d6d8da}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field{margin-bottom:30px;padding:15px;position:relative;box-shadow:0 0 15px transparent;transition:.5s box-shadow}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:last-child{margin-bottom:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--first,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--last{width:48.5%;margin-right:3%;float:left}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.everest-forms-field--last{margin-right:0;float:right}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action{position:absolute;top:10px;right:5px;visibility:hidden;opacity:0;transition:.5s all}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action a{color:#7ca8eb;margin-left:5px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field .evf-field-action a.everest-forms-field-delete:hover{color:#d9534f}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:hover{box-shadow:0 0 15px rgba(0,0,0,.1)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field:hover .evf-field-action{visibility:visible;opacity:1}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper{box-shadow:1px 5px 35px rgba(0,0,0,.2);padding:20px 30px;height:auto!important;left:-20px;right:-20px;background-color:#fff}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper::before{position:absolute;left:0;top:0;width:5px;height:100%;background-color:#7f5aec;content:""}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .everest-forms-field.ui-sortable-helper:hover .evf-field-action{display:none}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader{width:100%;border:2px dashed #d5d9e2;background-color:#fbfdfe;border-radius:3px;cursor:pointer;text-align:center;padding-top:30px;padding-bottom:30px;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader svg{width:30px;height:30px;fill:#bbbcbd;margin-bottom:20px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader input.file-input{touch-action:manipulation;max-width:100%;min-width:14px;margin:0;opacity:0;height:18px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .drop{display:block;font-size:14px;font-weight:600;color:#969696;margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .or{font-size:12px;color:#bdbdbd;font-weight:500;display:block;margin-bottom:10px}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .file-control{position:absolute;bottom:30px;color:#5d96ee;padding-bottom:2px;display:block;left:0;right:0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .file-uploader .file-control::before{content:"";width:45px;background-color:#5d96ee;height:1px;display:block;left:50%;bottom:-2px;position:absolute;transform:translateX(-50%)}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .publishing-action{width:100%;text-align:right}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .submit-button{display:inline-block;font-size:12px;font-weight:600;color:#fff;padding:15px 20px;border:0 none;background-color:#8ce99a;border-radius:3px}#everest-forms-builder .evf-tab-content label{font-size:12px;margin-bottom:15px;color:#575757;display:block;font-weight:600}#everest-forms-builder .evf-tab-content label i{color:#bdbdbd;font-size:16px;line-height:1.2}#everest-forms-builder .evf-tab-content label .required{margin-left:5px}#everest-forms-builder .evf-tab-content input:not(.ed_button),#everest-forms-builder .evf-tab-content select,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area){border:1px solid #d5d9e2;border-radius:3px;height:45px;width:100%;padding:10px 15px;color:#575757;font-size:14px}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox],#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio],#everest-forms-builder .evf-tab-content select[type=checkbox],#everest-forms-builder .evf-tab-content select[type=radio],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]{width:16px;height:16px;background-color:#fff}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio],#everest-forms-builder .evf-tab-content select[type=radio],#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]{border-radius:10px}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox]:checked,#everest-forms-builder .evf-tab-content select[type=checkbox]:checked,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox]:checked{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=checkbox]:checked::before,#everest-forms-builder .evf-tab-content select[type=checkbox]:checked::before,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=checkbox]:checked::before{color:#fff;background-color:transparent}#everest-forms-builder .evf-tab-content input:not(.ed_button)[type=radio]:checked::before,#everest-forms-builder .evf-tab-content select[type=radio]:checked::before,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)[type=radio]:checked::before{background-color:#7ca8eb}#everest-forms-builder .evf-tab-content input:not(.ed_button)::placeholder,#everest-forms-builder .evf-tab-content select::placeholder,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area)::placeholder{color:#c6ccd7}#everest-forms-builder .evf-tab-content input:not(.ed_button):focus,#everest-forms-builder .evf-tab-content select:focus,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area):focus{outline:0}#everest-forms-builder .evf-tab-content textarea,#everest-forms-builder .evf-tab-content textarea:not(.wp-editor-area){height:120px}#everest-forms-builder .evf-tab-content .evf-grid-lists{margin-left:-1.5%;margin-right:1.5%;background-color:#f9fafc;display:flex}#everest-forms-builder .evf-tab-content .evf-grid-lists .evf-grid-lists-item{padding-left:1.5%;padding-right:1.5%;background-color:#fff}#everest-forms-builder .evf-tab-content .evf-content-section-title{font-size:24px;font-weight:500;margin-bottom:20px;padding-bottom:20px;line-height:34px;border-bottom:1px solid #efefef}#everest-forms-builder .evf-tab-content .everest-forms-panel-field{margin-bottom:20px}#everest-forms-builder .evf-registered-item{z-index:999;cursor:pointer;border-radius:2px;font-size:12px;text-align:center;margin:0;background-color:#fff;border:1px solid #ebedf0;color:#969696}#everest-forms-builder .evf-registered-item .evf-icon{color:inherit;display:block!important;font-size:32px!important}#everest-forms-builder .evf-registered-item.ui-draggable-dragging{border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;text-align:center!important;font-size:12px!important;box-shadow:0 0 32px rgba(0,0,0,.15)}#everest-forms-builder .evf-choices-list li{clear:both;padding:5px 5px;cursor:pointer}#everest-forms-builder .evf-choices-list li input.value{display:none}#everest-forms-builder .evf-choices-list li input[type=checkbox],#everest-forms-builder .evf-choices-list li input[type=radio]{float:left;margin-top:6px}#everest-forms-builder .evf-choices-list li input[type=text]{height:30px;font-size:12px;width:70%;line-height:12px}#everest-forms-builder .evf-choices-list li a.add,#everest-forms-builder .evf-choices-list li a.remove{margin-top:5px;margin-left:2px;display:inline-block;float:right}#everest-forms-builder .evf-choices-list li:hover{background:#f9f9f9}#everest-forms-builder .everest-forms-field.ui-draggable-dragging{margin:0;border:1px solid #7ca8eb;width:105px!important;color:#7ca8eb;background-color:#fff;text-align:center;font-size:12px!important}#everest-forms-builder .everest-forms-field.ui-draggable-dragging .evf-icon{color:inherit;display:block!important;font-size:302x!important}#everest-forms-panel-settings .evf-content-section{display:none}#everest-forms-panel-settings .evf-content-section.active{display:block}.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.evf-cancel-btn,.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.evf-confirm-btn,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.evf-cancel-btn,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.evf-confirm-btn{padding:7px 15px;background-color:#292929;color:#fff;font-size:12px;text-transform:uppercase;border:0 none;border-radius:5px;cursor:pointer;font-weight:600}@media screen and (max-width:1200px){#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:47%}}@media screen and (max-width:782px){.everest-forms_page_edit-evf-form.auto-fold #wpcontent{padding-left:0}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar-content{flex-direction:column}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-content-wrap,#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar{width:100%}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:30.3%}}@media screen and (max-width:600px){#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap{padding:20px 20px 0}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row{flex-direction:column;margin:0 0 20px;position:relative}#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-1,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-2,#everest-forms-builder .evf-tab-content .everest-forms-panel-content-wrap .evf-admin-row .evf-admin-grid.evf-grid-3{width:auto}}@media screen and (max-width:480px){#everest-forms-builder .evf-tab-lists li a{padding:15px}#everest-forms-builder .evf-tab-lists li .dashicons{font-size:24px}#everest-forms-builder .evf_save_form_action_button{margin:12px 15px 0 5px}#everest-forms-builder .evf-tab-content .everest-forms-panel .everest-forms-panel-sidebar .evf-registered-buttons .evf-registered-item{width:47%}.jconfirm.jconfirm-light .jconfirm-box,.jconfirm.jconfirm-white .jconfirm-box{width:90%!important}}.evf-overlay{height:100%;width:100%;background:0 0;position:absolute;top:0;right:0;left:0;bottom:0;z-index:1000;padding:20px}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0}#tiptip_holder{display:none;z-index:8675309;position:absolute;top:0;left:0}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#333}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#333}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#333}#tiptip_holder.tip_left{padding-right:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#333}#tiptip_content,.chart-tooltip,.evf_error_tip{color:#fff;font-size:.8em;max-width:150px;background:#333;text-align:center;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2)}#tiptip_content code,.chart-tooltip code,.evf_error_tip code{padding:1px;background:#888}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}.evf_error_tip{max-width:20em;line-height:1.8em;position:absolute;white-space:normal;background:#d82223;margin:1.5em 1px 0 -1em;z-index:9999999}.evf_error_tip::after{content:'';display:block;border:8px solid #d82223;border-right-color:transparent;border-left-color:transparent;border-top-color:transparent;position:absolute;top:-3px;left:50%;margin:-1em 0 0 -3px}@font-face{font-family:evf-icon;src:url(../fonts/evf-icon.eot?5fwmb3);src:url(../fonts/evf-icon.eot?5fwmb3#iefix) format("embedded-opentype"),url(../fonts/evf-icon.ttf?5fwmb3) format("truetype"),url(../fonts/evf-icon.woff?5fwmb3) format("woff"),url(../fonts/evf-icon.svg?5fwmb3#evf-icon) format("svg");font-weight:400;font-style:normal}[class*=" evf-icon-"],[class^=evf-icon-]{font-family:evf-icon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.evf-icon-last-name:before{content:"\e900"}.evf-icon-first-name:before{content:"\e901"}.evf-icon-checkbox:before{content:"\e902"}.evf-icon-radio:before{content:"\e903"}.evf-icon-file-upload:before{content:"\e904"}.evf-icon-hidden-field:before{content:"\e90a"}.evf-icon-address:before{content:"\e911"}.evf-icon-phone:before{content:"\e912"}.evf-icon-website:before{content:"\e913"}.evf-icon-number:before{content:"\e914"}.evf-icon-dropdown:before{content:"\e915"}.evf-icon-paragraph:before{content:"\e916"}.evf-icon-multiple-choices:before{content:"\e917"}.evf-icon-date-time:before{content:"\e918"}.evf-icon-email:before{content:"\e919"}.evf-icon-text:before{content:"\e91a"}
|
assets/css/everest-forms-rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.
|
1 |
+
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.evf-row::after,.evf-row::before{display:table;content:""}.clearfix::after,.container-fluid::after,.container::after,.evf-row::after{clear:both}*{box-sizing:border-box}.everest-forms .evf-frontend-row{margin-right:-20px;margin-left:-20px;display:flex;flex-wrap:wrap}.everest-forms .evf-frontend-row .evf-frontend-grid{padding-right:20px;padding-left:20px;margin-bottom:30px}.everest-forms .evf-frontend-row .evf-frontend-grid.evf-grid-1{width:100%}.everest-forms .evf-frontend-row .evf-frontend-grid.evf-grid-2{width:50%}.everest-forms .evf-frontend-row .evf-frontend-grid.evf-grid-3{width:30%}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field{margin-bottom:30px}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field:last-child{margin-bottom:0}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field .evf-label-hide{display:none}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul{margin:0;padding:0;list-style:none}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li{display:block;margin-left:20px}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li input,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li label{display:inline-block;vertical-align:middle;margin-bottom:0}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li input[type=checkbox],.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li input[type=radio]{margin-left:8px}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li label{font-weight:500;color:#575757!important}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-invalid label{color:#d9534f}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-invalid .select2-container,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-invalid input.input-text,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-invalid select,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-invalid textarea{border-color:#d9534f}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-validated .select2-container,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-validated input.input-text,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-validated select,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-validated textarea{border-color:#5cb85c}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ::-webkit-input-placeholder{line-height:normal}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field :-moz-placeholder{line-height:normal}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field :-ms-input-placeholder{line-height:normal}.everest-forms .evf-frontend-row label{font-size:14px;margin-bottom:20px;color:#575757;display:block;font-weight:600}.everest-forms .evf-frontend-row label .required{color:red;font-weight:700;border:0}.everest-forms .evf-frontend-row label.evf-error{border:1px solid #d9534f;background-color:#f9e2e2;padding:7px 10px;color:#c9302c;display:inline-block;margin-top:15px;margin-bottom:0;border-radius:3px;font-weight:300}.everest-forms .evf-frontend-row input,.everest-forms .evf-frontend-row select,.everest-forms .evf-frontend-row textarea{border:1px solid #969696;height:45px;width:100%;padding:10px 15px;color:#575757;font-size:14px;margin-bottom:0;background-color:transparent;box-shadow:0 0 0 0 transparent;border-radius:0}.everest-forms .evf-frontend-row input[type=checkbox],.everest-forms .evf-frontend-row input[type=radio],.everest-forms .evf-frontend-row select[type=checkbox],.everest-forms .evf-frontend-row select[type=radio],.everest-forms .evf-frontend-row textarea[type=checkbox],.everest-forms .evf-frontend-row textarea[type=radio]{width:14px;height:14px;background-color:#fff}.everest-forms .evf-frontend-row input[type=radio],.everest-forms .evf-frontend-row select[type=radio],.everest-forms .evf-frontend-row textarea[type=radio]{border-radius:10px}.everest-forms .evf-frontend-row input[type=checkbox]:checked,.everest-forms .evf-frontend-row select[type=checkbox]:checked,.everest-forms .evf-frontend-row textarea[type=checkbox]:checked{background-color:#7ca8eb}.everest-forms .evf-frontend-row input[type=checkbox]:checked::before,.everest-forms .evf-frontend-row select[type=checkbox]:checked::before,.everest-forms .evf-frontend-row textarea[type=checkbox]:checked::before{color:#fff;background-color:transparent}.everest-forms .evf-frontend-row input[type=radio]:checked::before,.everest-forms .evf-frontend-row select[type=radio]:checked::before,.everest-forms .evf-frontend-row textarea[type=radio]:checked::before{background-color:#7ca8eb}.everest-forms .evf-frontend-row input::placeholder,.everest-forms .evf-frontend-row select::placeholder,.everest-forms .evf-frontend-row textarea::placeholder{color:#c6ccd7}.everest-forms .evf-frontend-row input:focus,.everest-forms .evf-frontend-row select:focus,.everest-forms .evf-frontend-row textarea:focus{outline:0;border:1px solid #7ca8eb}.everest-forms .evf-frontend-row textarea{height:100px}.everest-forms .evf-submit-container{margin-top:30px;text-align:left}.everest-forms .evf-submit{padding:15px 30px;font-size:12px;border:0 none;cursor:pointer;transition:.5s background-color ease-in-out;border-radius:0}.everest-forms .layout-two label{margin-bottom:0}.everest-forms .layout-two .evf-field-checkbox label,.everest-forms .layout-two .evf-field-radio label{margin-bottom:20px}.everest-forms .layout-two input,.everest-forms .layout-two select,.everest-forms .layout-two textarea{border-top:none transparent;border-left:none transparent;border-right:none transparent;border-bottom:1px solid #969696;height:40px;padding:10px 0;background-color:transparent}.everest-forms .layout-two input:focus,.everest-forms .layout-two select:focus,.everest-forms .layout-two textarea:focus{border-top:none transparent;border-left:none transparent;border-right:none transparent}.everest-forms .layout-two textarea{height:80px}.everest-forms .everest-forms-notice{padding:1em 3em;margin:0 0 2em;position:relative;background-color:#7ca8eb;color:#fff;border-radius:5px}.everest-forms .everest-forms-notice::after,.everest-forms .everest-forms-notice::before{content:' ';display:table}.everest-forms .everest-forms-notice::after{clear:both}.everest-forms .everest-forms-notice::before{font-family:dashicons;content:"\f348";position:absolute;top:1em;right:1.5em;color:inherit}.everest-forms .everest-forms-notice .button{float:left}.everest-forms .everest-forms-notice li{list-style:none outside!important;padding-right:0!important;margin-right:0!important}.everest-forms .everest-forms-notice--success{background-color:#5cb85c}.everest-forms .everest-forms-notice--success::before{content:"\f147"}.everest-forms .everest-forms-notice--error{background-color:#d9534f}.everest-forms .everest-forms-notice--error::before{content:"\f534";color:inherit}.everest-forms .everest-forms-notice--error .everest-forms-notice-list{margin:0;list-style:none outside}.everest-forms .everest-forms-notice--error .everest-forms-notice-list .everest-forms-notice-list__item{margin-bottom:.5em}.everest-forms .everest-forms-notice--error .everest-forms-notice-list .everest-forms-notice-list__item:last-child{margin-bottom:0}.evf-recaptcha-row .evf-error{border:1px solid #d9534f;background-color:#f9e2e2;padding:7px 10px;color:#c9302c;display:inline-block;margin-top:15px;margin-bottom:0;border-radius:3px;font-weight:300}@media screen and (max-width:768px){.everest-forms .evf-frontend-row{flex-direction:column}.everest-forms .evf-frontend-row .evf-frontend-grid{margin-bottom:30px}.everest-forms .evf-frontend-row .evf-frontend-grid:last-child{margin-bottom:0}.everest-forms .evf-frontend-row .evf-frontend-grid.evf-grid-2,.everest-forms .evf-frontend-row .evf-frontend-grid.evf-grid-3{width:100%}}
|
assets/css/everest-forms.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.
|
1 |
+
.clearfix::after,.clearfix::before,.container-fluid::after,.container-fluid::before,.container::after,.container::before,.evf-row::after,.evf-row::before{display:table;content:""}.clearfix::after,.container-fluid::after,.container::after,.evf-row::after{clear:both}*{box-sizing:border-box}.everest-forms .evf-frontend-row{margin-left:-20px;margin-right:-20px;display:flex;flex-wrap:wrap}.everest-forms .evf-frontend-row .evf-frontend-grid{padding-left:20px;padding-right:20px;margin-bottom:30px}.everest-forms .evf-frontend-row .evf-frontend-grid.evf-grid-1{width:100%}.everest-forms .evf-frontend-row .evf-frontend-grid.evf-grid-2{width:50%}.everest-forms .evf-frontend-row .evf-frontend-grid.evf-grid-3{width:30%}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field{margin-bottom:30px}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field:last-child{margin-bottom:0}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field .evf-label-hide{display:none}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul{margin:0;padding:0;list-style:none}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li{display:block;margin-right:20px}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li input,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li label{display:inline-block;vertical-align:middle;margin-bottom:0}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li input[type=checkbox],.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li input[type=radio]{margin-right:8px}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ul li label{font-weight:500;color:#575757!important}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-invalid label{color:#d9534f}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-invalid .select2-container,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-invalid input.input-text,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-invalid select,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-invalid textarea{border-color:#d9534f}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-validated .select2-container,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-validated input.input-text,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-validated select,.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field.everest-forms-validated textarea{border-color:#5cb85c}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field ::-webkit-input-placeholder{line-height:normal}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field :-moz-placeholder{line-height:normal}.everest-forms .evf-frontend-row .evf-frontend-grid .evf-field :-ms-input-placeholder{line-height:normal}.everest-forms .evf-frontend-row label{font-size:14px;margin-bottom:20px;color:#575757;display:block;font-weight:600}.everest-forms .evf-frontend-row label .required{color:red;font-weight:700;border:0}.everest-forms .evf-frontend-row label.evf-error{border:1px solid #d9534f;background-color:#f9e2e2;padding:7px 10px;color:#c9302c;display:inline-block;margin-top:15px;margin-bottom:0;border-radius:3px;font-weight:300}.everest-forms .evf-frontend-row input,.everest-forms .evf-frontend-row select,.everest-forms .evf-frontend-row textarea{border:1px solid #969696;height:45px;width:100%;padding:10px 15px;color:#575757;font-size:14px;margin-bottom:0;background-color:transparent;box-shadow:0 0 0 0 transparent;border-radius:0}.everest-forms .evf-frontend-row input[type=checkbox],.everest-forms .evf-frontend-row input[type=radio],.everest-forms .evf-frontend-row select[type=checkbox],.everest-forms .evf-frontend-row select[type=radio],.everest-forms .evf-frontend-row textarea[type=checkbox],.everest-forms .evf-frontend-row textarea[type=radio]{width:14px;height:14px;background-color:#fff}.everest-forms .evf-frontend-row input[type=radio],.everest-forms .evf-frontend-row select[type=radio],.everest-forms .evf-frontend-row textarea[type=radio]{border-radius:10px}.everest-forms .evf-frontend-row input[type=checkbox]:checked,.everest-forms .evf-frontend-row select[type=checkbox]:checked,.everest-forms .evf-frontend-row textarea[type=checkbox]:checked{background-color:#7ca8eb}.everest-forms .evf-frontend-row input[type=checkbox]:checked::before,.everest-forms .evf-frontend-row select[type=checkbox]:checked::before,.everest-forms .evf-frontend-row textarea[type=checkbox]:checked::before{color:#fff;background-color:transparent}.everest-forms .evf-frontend-row input[type=radio]:checked::before,.everest-forms .evf-frontend-row select[type=radio]:checked::before,.everest-forms .evf-frontend-row textarea[type=radio]:checked::before{background-color:#7ca8eb}.everest-forms .evf-frontend-row input::placeholder,.everest-forms .evf-frontend-row select::placeholder,.everest-forms .evf-frontend-row textarea::placeholder{color:#c6ccd7}.everest-forms .evf-frontend-row input:focus,.everest-forms .evf-frontend-row select:focus,.everest-forms .evf-frontend-row textarea:focus{outline:0;border:1px solid #7ca8eb}.everest-forms .evf-frontend-row textarea{height:100px}.everest-forms .evf-submit-container{margin-top:30px;text-align:right}.everest-forms .evf-submit{padding:15px 30px;font-size:12px;border:0 none;cursor:pointer;transition:.5s background-color ease-in-out;border-radius:0}.everest-forms .layout-two label{margin-bottom:0}.everest-forms .layout-two .evf-field-checkbox label,.everest-forms .layout-two .evf-field-radio label{margin-bottom:20px}.everest-forms .layout-two input,.everest-forms .layout-two select,.everest-forms .layout-two textarea{border-top:none transparent;border-right:none transparent;border-left:none transparent;border-bottom:1px solid #969696;height:40px;padding:10px 0;background-color:transparent}.everest-forms .layout-two input:focus,.everest-forms .layout-two select:focus,.everest-forms .layout-two textarea:focus{border-top:none transparent;border-right:none transparent;border-left:none transparent}.everest-forms .layout-two textarea{height:80px}.everest-forms .everest-forms-notice{padding:1em 3em;margin:0 0 2em;position:relative;background-color:#7ca8eb;color:#fff;border-radius:5px}.everest-forms .everest-forms-notice::after,.everest-forms .everest-forms-notice::before{content:' ';display:table}.everest-forms .everest-forms-notice::after{clear:both}.everest-forms .everest-forms-notice::before{font-family:dashicons;content:"\f348";position:absolute;top:1em;left:1.5em;color:inherit}.everest-forms .everest-forms-notice .button{float:right}.everest-forms .everest-forms-notice li{list-style:none outside!important;padding-left:0!important;margin-left:0!important}.everest-forms .everest-forms-notice--success{background-color:#5cb85c}.everest-forms .everest-forms-notice--success::before{content:"\f147"}.everest-forms .everest-forms-notice--error{background-color:#d9534f}.everest-forms .everest-forms-notice--error::before{content:"\f534";color:inherit}.everest-forms .everest-forms-notice--error .everest-forms-notice-list{margin:0;list-style:none outside}.everest-forms .everest-forms-notice--error .everest-forms-notice-list .everest-forms-notice-list__item{margin-bottom:.5em}.everest-forms .everest-forms-notice--error .everest-forms-notice-list .everest-forms-notice-list__item:last-child{margin-bottom:0}.evf-recaptcha-row .evf-error{border:1px solid #d9534f;background-color:#f9e2e2;padding:7px 10px;color:#c9302c;display:inline-block;margin-top:15px;margin-bottom:0;border-radius:3px;font-weight:300}@media screen and (max-width:768px){.everest-forms .evf-frontend-row{flex-direction:column}.everest-forms .evf-frontend-row .evf-frontend-grid{margin-bottom:30px}.everest-forms .evf-frontend-row .evf-frontend-grid:last-child{margin-bottom:0}.everest-forms .evf-frontend-row .evf-frontend-grid.evf-grid-2,.everest-forms .evf-frontend-row .evf-frontend-grid.evf-grid-3{width:100%}}
|
assets/css/everest-forms.scss
CHANGED
@@ -36,6 +36,9 @@
|
|
36 |
&:last-child {
|
37 |
margin-bottom: 0;
|
38 |
}
|
|
|
|
|
|
|
39 |
|
40 |
ul {
|
41 |
margin: 0;
|
36 |
&:last-child {
|
37 |
margin-bottom: 0;
|
38 |
}
|
39 |
+
.evf-label-hide{
|
40 |
+
display:none;
|
41 |
+
}
|
42 |
|
43 |
ul {
|
44 |
margin: 0;
|
assets/css/evf-form-modal-rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.evf-backbone-modal *{box-sizing:border-box}.evf-backbone-modal .evf-backbone-modal-content{position:fixed;background:#fff;z-index:100000;right:50%;top:50
|
1 |
+
.evf-backbone-modal *{box-sizing:border-box}.evf-backbone-modal .evf-backbone-modal-content{position:fixed;background:#fff;z-index:100000;right:50%;top:50%;transform:translate(50%,-50%);width:500px}.evf-backbone-modal .evf-backbone-modal-content article{overflow:auto}.evf-backbone-modal .select2-container{width:100%!important}.evf-backbone-modal-backdrop{position:fixed;top:0;right:0;left:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:99900}.evf-backbone-modal-main{padding-bottom:55px}.evf-backbone-modal-main article,.evf-backbone-modal-main header{display:block;position:relative}.evf-backbone-modal-main .evf-backbone-modal-header{height:auto;background:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.evf-backbone-modal-main .evf-backbone-modal-header h1{margin:0;font-size:18px;font-weight:700;line-height:1.5em}.evf-backbone-modal-main .evf-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;left:0;text-align:center;border:0;border-right:1px solid #ddd;background-color:transparent;transition:color .1s ease-in-out,background .1s ease-in-out}.evf-backbone-modal-main .evf-backbone-modal-header .modal-close-link::before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:'\f335';font-weight:300}.evf-backbone-modal-main .evf-backbone-modal-header .modal-close-link:focus,.evf-backbone-modal-main .evf-backbone-modal-header .modal-close-link:hover{background:#ddd;border-color:#ccc;color:#000}.evf-backbone-modal-main .evf-backbone-modal-header .modal-close-link:focus{outline:0}.evf-backbone-modal-main article{padding:1.5em}.evf-backbone-modal-main article p{margin:1.5em 0}.evf-backbone-modal-main article p:first-child{margin-top:0}.evf-backbone-modal-main article p:last-child{margin-bottom:0}.evf-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.evf-backbone-modal-main footer{position:absolute;right:0;left:0;bottom:0;z-index:100;padding:1em 1.5em;background:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.evf-backbone-modal-main footer .inner{float:left;line-height:23px}.evf-backbone-modal-main footer .inner .button{margin-bottom:0}.everest-forms_page_edit-evf-form *{box-sizing:border-box}.everest-forms_page_edit-evf-form #wpcontent{padding-right:0}.everest-forms_page_edit-evf-form .everest-forms{width:600px;margin:100px auto 50px;background-color:#fff;border:1px solid #d6d8da}.everest-forms_page_edit-evf-form .everest-forms span{font-size:12px;margin-bottom:15px;color:#575757;display:inline-block;font-weight:600}.everest-forms_page_edit-evf-form .everest-forms .everest-forms-setup-form-name{padding:15px 20px;border-bottom:1px solid #d6d8da}.everest-forms_page_edit-evf-form .everest-forms .everest-forms-setup-form-name .everest-forms-setup-name{margin-right:40px;padding:10px;height:45px;width:400px}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-title{width:auto;font-size:24px;line-height:34px;font-weight:600;color:#575757;padding:15px 20px 10px}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-title p.desc{font-weight:400}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates{height:290px;display:block;padding:0 20px;text-align:right}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template{width:48%;float:right;display:inline-block;vertical-align:top;position:relative}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template img{width:100%;display:block}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template:nth-child(even){float:left}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay{position:absolute;background-color:rgba(0,0,0,.5);top:0;right:0;left:0;bottom:0;opacity:0;visibility:hidden;transition:.5s background-color ease-in-out;color:#fff;text-align:center;padding:40% 0}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay .evf-template-select{text-decoration:none}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button,.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:after,.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:before{background:#fff;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em;padding:0;border-radius:0}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button{color:#fff;text-indent:-9999em;margin:0 auto;position:relative;font-size:11px;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:after,.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:before{position:absolute;top:0;content:''}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:before{right:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:after{right:1.5em}@-webkit-keyframes load1{0%,100%,80%{box-shadow:0 0;height:4em}40%{box-shadow:0 -2em;height:5em}}@keyframes load1{0%,100%,80%{box-shadow:0 0;height:4em}40%{box-shadow:0 -2em;height:5em}}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading,.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template:hover .evf-template-overlay{opacity:1;visibility:visible}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-button{display:inline-block;padding:15px 22px;background-color:#fff;color:#000;font-size:12px;text-transform:uppercase;border:none;border-radius:100px}@media screen and (max-width:782px){.everest-forms_page_edit-evf-form .everest-forms #everest-forms-setup-name{width:auto}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-desc a{width:200px}}@media screen and (max-width:600px){.everest-forms_page_edit-evf-form .everest-forms{width:100%;margin:20px 0}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-desc a{display:block;margin-bottom:30px;text-align:center;width:100%;margin-right:0}}
|
assets/css/evf-form-modal.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.evf-backbone-modal *{box-sizing:border-box}.evf-backbone-modal .evf-backbone-modal-content{position:fixed;background:#fff;z-index:100000;left:50%;top:50
|
1 |
+
.evf-backbone-modal *{box-sizing:border-box}.evf-backbone-modal .evf-backbone-modal-content{position:fixed;background:#fff;z-index:100000;left:50%;top:50%;transform:translate(-50%,-50%);width:500px}.evf-backbone-modal .evf-backbone-modal-content article{overflow:auto}.evf-backbone-modal .select2-container{width:100%!important}.evf-backbone-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:99900}.evf-backbone-modal-main{padding-bottom:55px}.evf-backbone-modal-main article,.evf-backbone-modal-main header{display:block;position:relative}.evf-backbone-modal-main .evf-backbone-modal-header{height:auto;background:#fcfcfc;padding:1em 1.5em;border-bottom:1px solid #ddd}.evf-backbone-modal-main .evf-backbone-modal-header h1{margin:0;font-size:18px;font-weight:700;line-height:1.5em}.evf-backbone-modal-main .evf-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:54px;width:54px;padding:0;position:absolute;top:0;right:0;text-align:center;border:0;border-left:1px solid #ddd;background-color:transparent;transition:color .1s ease-in-out,background .1s ease-in-out}.evf-backbone-modal-main .evf-backbone-modal-header .modal-close-link::before{font:normal 22px/50px dashicons!important;color:#666;display:block;content:'\f335';font-weight:300}.evf-backbone-modal-main .evf-backbone-modal-header .modal-close-link:focus,.evf-backbone-modal-main .evf-backbone-modal-header .modal-close-link:hover{background:#ddd;border-color:#ccc;color:#000}.evf-backbone-modal-main .evf-backbone-modal-header .modal-close-link:focus{outline:0}.evf-backbone-modal-main article{padding:1.5em}.evf-backbone-modal-main article p{margin:1.5em 0}.evf-backbone-modal-main article p:first-child{margin-top:0}.evf-backbone-modal-main article p:last-child{margin-bottom:0}.evf-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.evf-backbone-modal-main footer{position:absolute;left:0;right:0;bottom:0;z-index:100;padding:1em 1.5em;background:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.evf-backbone-modal-main footer .inner{float:right;line-height:23px}.evf-backbone-modal-main footer .inner .button{margin-bottom:0}.everest-forms_page_edit-evf-form *{box-sizing:border-box}.everest-forms_page_edit-evf-form #wpcontent{padding-left:0}.everest-forms_page_edit-evf-form .everest-forms{width:600px;margin:100px auto 50px;background-color:#fff;border:1px solid #d6d8da}.everest-forms_page_edit-evf-form .everest-forms span{font-size:12px;margin-bottom:15px;color:#575757;display:inline-block;font-weight:600}.everest-forms_page_edit-evf-form .everest-forms .everest-forms-setup-form-name{padding:15px 20px;border-bottom:1px solid #d6d8da}.everest-forms_page_edit-evf-form .everest-forms .everest-forms-setup-form-name .everest-forms-setup-name{margin-left:40px;padding:10px;height:45px;width:400px}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-title{width:auto;font-size:24px;line-height:34px;font-weight:600;color:#575757;padding:15px 20px 10px}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-title p.desc{font-weight:400}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates{height:290px;display:block;padding:0 20px;text-align:left}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template{width:48%;float:left;display:inline-block;vertical-align:top;position:relative}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template img{width:100%;display:block}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template:nth-child(even){float:right}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay{position:absolute;background-color:rgba(0,0,0,.5);top:0;left:0;right:0;bottom:0;opacity:0;visibility:hidden;transition:.5s background-color ease-in-out;color:#fff;text-align:center;padding:40% 0}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay .evf-template-select{text-decoration:none}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button,.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:after,.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:before{background:#fff;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em;padding:0;border-radius:0}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button{color:#fff;text-indent:-9999em;margin:0 auto;position:relative;font-size:11px;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:after,.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:before{position:absolute;top:0;content:''}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading .evf-button:after{left:1.5em}@-webkit-keyframes load1{0%,100%,80%{box-shadow:0 0;height:4em}40%{box-shadow:0 -2em;height:5em}}@keyframes load1{0%,100%,80%{box-shadow:0 0;height:4em}40%{box-shadow:0 -2em;height:5em}}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-template-overlay.loading,.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template:hover .evf-template-overlay{opacity:1;visibility:visible}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-templates .evf-template .evf-button{display:inline-block;padding:15px 22px;background-color:#fff;color:#000;font-size:12px;text-transform:uppercase;border:none;border-radius:100px}@media screen and (max-width:782px){.everest-forms_page_edit-evf-form .everest-forms #everest-forms-setup-name{width:auto}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-desc a{width:200px}}@media screen and (max-width:600px){.everest-forms_page_edit-evf-form .everest-forms{width:100%;margin:20px 0}.everest-forms_page_edit-evf-form .everest-forms .evf-setup-desc a{display:block;margin-bottom:30px;text-align:center;width:100%;margin-left:0}}
|
assets/css/scss/_admin.scss
CHANGED
@@ -547,7 +547,7 @@ body {
|
|
547 |
padding: 20px;
|
548 |
font-size: 18px;
|
549 |
text-align: left;
|
550 |
-
|
551 |
.dashicons {
|
552 |
font-size: 22px;
|
553 |
margin-top: 3px;
|
547 |
padding: 20px;
|
548 |
font-size: 18px;
|
549 |
text-align: left;
|
550 |
+
|
551 |
.dashicons {
|
552 |
font-size: 22px;
|
553 |
margin-top: 3px;
|
assets/css/scss/_clearings.scss
CHANGED
@@ -4,15 +4,15 @@
|
|
4 |
.container::after,
|
5 |
.container-fluid::before,
|
6 |
.container-fluid::after,
|
7 |
-
.
|
8 |
-
.
|
9 |
display: table;
|
10 |
content: "";
|
11 |
}
|
12 |
.clearfix::after,
|
13 |
.container::after,
|
14 |
.container-fluid::after,
|
15 |
-
.
|
16 |
clear: both;
|
17 |
}
|
18 |
|
4 |
.container::after,
|
5 |
.container-fluid::before,
|
6 |
.container-fluid::after,
|
7 |
+
.evf-row::before,
|
8 |
+
.evf-row::after {
|
9 |
display: table;
|
10 |
content: "";
|
11 |
}
|
12 |
.clearfix::after,
|
13 |
.container::after,
|
14 |
.container-fluid::after,
|
15 |
+
.evf-row::after {
|
16 |
clear: both;
|
17 |
}
|
18 |
|
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.0
|
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.0
|
7 |
* Author: WPEverest
|
8 |
* Author URI: https://wpeverest.com
|
9 |
* Text Domain: everest-forms
|
includes/abstracts/abstract-evf-form-fields.php
CHANGED
@@ -331,6 +331,25 @@ abstract class EVF_Form_Fields {
|
|
331 |
), false );
|
332 |
break;
|
333 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
// Field Description. ---------------------------------------------//
|
335 |
|
336 |
case 'description':
|
@@ -368,12 +387,6 @@ abstract class EVF_Form_Fields {
|
|
368 |
), false );
|
369 |
break;
|
370 |
|
371 |
-
// EVF meta fields
|
372 |
-
case 'meta':
|
373 |
-
$output = sprintf( '<label>%s</label>', 'Type' );
|
374 |
-
$output .= sprintf( '<p class="meta">%s <span class="id">(ID #%s)</span></p>', $this->name, $field['id'] );
|
375 |
-
$output = $this->field_element( 'row', $field, array( 'slug' => 'meta', 'content' => $output ), false );
|
376 |
-
break;
|
377 |
case 'choices':
|
378 |
$tooltip = __( 'Add choices for the form field.', 'everest-forms' );
|
379 |
$toggle = '';
|
331 |
), false );
|
332 |
break;
|
333 |
|
334 |
+
// EVF meta fields
|
335 |
+
case 'meta':
|
336 |
+
$value = ! empty( $field['meta-key'] ) ? esc_attr( $field['meta-key'] ) : evf_get_meta_key_field_option( $field );
|
337 |
+
$tooltip = __( 'Enter meta key to be stored in database.', 'everest-forms' );
|
338 |
+
$output = $this->field_element( 'label', $field, array(
|
339 |
+
'slug' => 'meta-key',
|
340 |
+
'value' => __( 'Meta Key', 'everest-forms' ),
|
341 |
+
'tooltip' => $tooltip
|
342 |
+
), false );
|
343 |
+
$output .= $this->field_element( 'text', $field, array(
|
344 |
+
'slug' => 'meta-key',
|
345 |
+
'value' => $value
|
346 |
+
), false );
|
347 |
+
$output = $this->field_element( 'row', $field, array(
|
348 |
+
'slug' => 'meta-key',
|
349 |
+
'content' => $output
|
350 |
+
), false );
|
351 |
+
break;
|
352 |
+
|
353 |
// Field Description. ---------------------------------------------//
|
354 |
|
355 |
case 'description':
|
387 |
), false );
|
388 |
break;
|
389 |
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
case 'choices':
|
391 |
$tooltip = __( 'Add choices for the form field.', 'everest-forms' );
|
392 |
$toggle = '';
|
includes/admin/class-evf-admin-assets.php
CHANGED
@@ -123,27 +123,28 @@ if ( ! class_exists( 'EVF_Admin_Assets', false ) ) :
|
|
123 |
|
124 |
$jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.11.4';
|
125 |
|
126 |
-
//
|
127 |
wp_register_style( 'everest_forms_admin_menu_styles', EVF()->plugin_url() . '/assets/css/menu.css', array(), EVF_VERSION );
|
128 |
|
129 |
wp_register_style ( 'evf_add_form_css', EVF()->plugin_url() . '/assets/css/evf-add-form.css', array(), EVF_VERSION );
|
130 |
wp_enqueue_style('evf_add_form_css');
|
131 |
|
132 |
-
// JQuery confirm registration
|
133 |
// Add RTL support for admin styles
|
134 |
wp_style_add_data( 'everest_forms_admin_menu_styles', 'rtl', 'replace' );
|
135 |
|
136 |
-
//
|
137 |
-
|
138 |
wp_register_style( 'evf-admin-setting-style', EVF()->plugin_url() . '/assets/css/admin-settings.css', array(), EVF_VERSION );
|
139 |
|
|
|
|
|
|
|
|
|
140 |
if ( $screen_id === 'everest-forms_page_evf-settings' ) {
|
141 |
wp_enqueue_style( 'evf-admin-setting-style' );
|
142 |
}
|
143 |
-
|
144 |
}
|
145 |
|
146 |
-
|
147 |
/**
|
148 |
* Enqueue scripts.
|
149 |
*/
|
123 |
|
124 |
$jquery_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.11.4';
|
125 |
|
126 |
+
// Sitewide menu CSS
|
127 |
wp_register_style( 'everest_forms_admin_menu_styles', EVF()->plugin_url() . '/assets/css/menu.css', array(), EVF_VERSION );
|
128 |
|
129 |
wp_register_style ( 'evf_add_form_css', EVF()->plugin_url() . '/assets/css/evf-add-form.css', array(), EVF_VERSION );
|
130 |
wp_enqueue_style('evf_add_form_css');
|
131 |
|
|
|
132 |
// Add RTL support for admin styles
|
133 |
wp_style_add_data( 'everest_forms_admin_menu_styles', 'rtl', 'replace' );
|
134 |
|
135 |
+
// Register admin styles
|
136 |
+
wp_register_style( 'evf-admin-entries-style', EVF()->plugin_url() . '/assets/css/admin-entries.css', array(), EVF_VERSION );
|
137 |
wp_register_style( 'evf-admin-setting-style', EVF()->plugin_url() . '/assets/css/admin-settings.css', array(), EVF_VERSION );
|
138 |
|
139 |
+
if ( in_array( $screen_id, array( 'toplevel_page_everest-forms', 'everest-forms_page_evf-entries' ), true ) ) {
|
140 |
+
wp_enqueue_style( 'evf-admin-entries-style' );
|
141 |
+
}
|
142 |
+
|
143 |
if ( $screen_id === 'everest-forms_page_evf-settings' ) {
|
144 |
wp_enqueue_style( 'evf-admin-setting-style' );
|
145 |
}
|
|
|
146 |
}
|
147 |
|
|
|
148 |
/**
|
149 |
* Enqueue scripts.
|
150 |
*/
|
includes/admin/class-evf-admin-entries-table-list.php
ADDED
@@ -0,0 +1,436 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* EverestForms Entries Table List
|
4 |
+
*
|
5 |
+
* @package EverestForms\Admin
|
6 |
+
* @since 1.1.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
+
if ( ! class_exists( 'WP_List_Table' ) ) {
|
12 |
+
require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
|
13 |
+
}
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Entries table list class.
|
17 |
+
*/
|
18 |
+
class EVF_Admin_Entries_Table_List extends WP_List_Table {
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Form ID.
|
22 |
+
*
|
23 |
+
* @var int
|
24 |
+
*/
|
25 |
+
public $form_id;
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Forms object.
|
29 |
+
*
|
30 |
+
* @var EVF_Form_Handler
|
31 |
+
*/
|
32 |
+
public $form;
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Forms object.
|
36 |
+
*
|
37 |
+
* @var EVF_Form_Handler[]
|
38 |
+
*/
|
39 |
+
public $forms;
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Form data as an array.
|
43 |
+
*
|
44 |
+
* @var array
|
45 |
+
*/
|
46 |
+
public $form_data;
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Initialize the log table list.
|
50 |
+
*/
|
51 |
+
public function __construct() {
|
52 |
+
// Fetch all forms.
|
53 |
+
$this->forms = evf_get_all_forms( true );
|
54 |
+
|
55 |
+
// Check that the user has created at least one form.
|
56 |
+
if ( ! empty( $this->forms ) ) {
|
57 |
+
$this->form_id = ! empty( $_REQUEST['form_id'] ) ? absint( $_REQUEST['form_id'] ) : apply_filters( 'everest_forms_entry_list_default_form_id', key( $this->forms ) );
|
58 |
+
$this->form = EVF()->form->get( $this->form_id );
|
59 |
+
$this->form_data = ! empty( $this->form->post_content ) ? evf_decode( $this->form->post_content ) : '';
|
60 |
+
}
|
61 |
+
|
62 |
+
parent::__construct( array(
|
63 |
+
'singular' => 'entry',
|
64 |
+
'plural' => 'entries',
|
65 |
+
'ajax' => false,
|
66 |
+
) );
|
67 |
+
}
|
68 |
+
|
69 |
+
/**
|
70 |
+
* No items found text.
|
71 |
+
*/
|
72 |
+
public function no_items() {
|
73 |
+
esc_html_e( 'Whoops, it appears you do not have any form entries yet.', 'everest-forms' );
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Get list columns.
|
78 |
+
*
|
79 |
+
* @return array
|
80 |
+
*/
|
81 |
+
public function get_columns() {
|
82 |
+
$columns = array();
|
83 |
+
$columns['cb'] = '<input type="checkbox" />';
|
84 |
+
$columns = $this->get_columns_form_fields( $columns );
|
85 |
+
$columns['date'] = esc_html__( 'Date', 'everest-forms' );
|
86 |
+
$columns['actions'] = esc_html__( 'Actions', 'everest-forms' );
|
87 |
+
|
88 |
+
return apply_filters( 'everest_forms_entries_table_columns', $columns, $this->form_data );
|
89 |
+
}
|
90 |
+
|
91 |
+
/**
|
92 |
+
* Get a list of sortable columns.
|
93 |
+
*
|
94 |
+
* @return array
|
95 |
+
*/
|
96 |
+
protected function get_sortable_columns() {
|
97 |
+
return array(
|
98 |
+
'id' => array( 'title', false ),
|
99 |
+
'date' => array( 'date', false ),
|
100 |
+
);
|
101 |
+
}
|
102 |
+
|
103 |
+
/**
|
104 |
+
* Get the list of fields, that are disallowed to be displayed as column in a table.
|
105 |
+
*
|
106 |
+
* @return array
|
107 |
+
*/
|
108 |
+
public static function get_columns_form_disallowed_fields() {
|
109 |
+
return (array) apply_filters( 'everest_forms_entries_table_fields_disallow', array( 'divider', 'html', 'pagebreak', 'captcha' ) );
|
110 |
+
}
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Logic to determine which fields are displayed in the table columns.
|
114 |
+
*
|
115 |
+
* @param array $columns
|
116 |
+
* @param int $display
|
117 |
+
*
|
118 |
+
* @return array
|
119 |
+
*/
|
120 |
+
public function get_columns_form_fields( $columns = array(), $display = 3 ) {
|
121 |
+
$entry_columns = EVF()->form->get_meta( $this->form_id, 'entry_columns' );
|
122 |
+
|
123 |
+
if ( ! $entry_columns && ! empty( $this->form_data['form_fields'] ) ) {
|
124 |
+
$x = 0;
|
125 |
+
foreach ( $this->form_data['form_fields'] as $id => $field ) {
|
126 |
+
if ( ! in_array( $field['type'], self::get_columns_form_disallowed_fields(), true ) && $x < $display ) {
|
127 |
+
$columns[ 'evf_field_' . $id ] = ! empty( $field['label'] ) ? wp_strip_all_tags( $field['label'] ) : esc_html__( 'Field', 'everest-forms' );
|
128 |
+
$x++;
|
129 |
+
}
|
130 |
+
}
|
131 |
+
} elseif ( ! empty( $entry_columns ) ) {
|
132 |
+
foreach ( $entry_columns as $id ) {
|
133 |
+
// Check to make sure the field as not been removed.
|
134 |
+
if ( empty( $this->form_data['form_fields'][ $id ] ) ) {
|
135 |
+
continue;
|
136 |
+
}
|
137 |
+
|
138 |
+
$columns[ 'evf_field_' . $id ] = ! empty( $this->form_data['form_fields'][ $id ]['label'] ) ? wp_strip_all_tags( $this->form_data['form_fields'][ $id ]['label'] ) : esc_html__( 'Field', 'everest-forms' );
|
139 |
+
}
|
140 |
+
}
|
141 |
+
|
142 |
+
return $columns;
|
143 |
+
}
|
144 |
+
|
145 |
+
/**
|
146 |
+
* Column cb.
|
147 |
+
*
|
148 |
+
* @param object $entry Entry object.
|
149 |
+
* @return string
|
150 |
+
*/
|
151 |
+
public function column_cb( $entry ) {
|
152 |
+
return sprintf( '<input type="checkbox" name="%1$s[]" value="%2$s" />', $this->_args['singular'], $entry->entry_id );
|
153 |
+
}
|
154 |
+
|
155 |
+
/**
|
156 |
+
* Show specific form fields.
|
157 |
+
*
|
158 |
+
* @param object $entry
|
159 |
+
* @param string $column_name
|
160 |
+
* @return string
|
161 |
+
*/
|
162 |
+
public function column_form_field( $entry, $column_name ) {
|
163 |
+
$field_id = str_replace( 'evf_field_', '', $column_name );
|
164 |
+
$meta_value = isset( $this->form_data['form_fields'][ $field_id ]['meta-key'] ) ? $this->form_data['form_fields'][ $field_id ]['meta-key'] : $field_id;
|
165 |
+
|
166 |
+
if ( ! empty( $entry->meta[ $meta_value ] ) ) {
|
167 |
+
$value = $entry->meta[ $meta_value ];
|
168 |
+
|
169 |
+
// Limit to 5 lines.
|
170 |
+
$lines = explode( "\n", $value );
|
171 |
+
$value = array_slice( $lines, 0, 4 );
|
172 |
+
$value = implode( "\n", $value );
|
173 |
+
|
174 |
+
if ( count( $lines ) > 5 ) {
|
175 |
+
$value .= '…';
|
176 |
+
} elseif ( strlen( $value ) > 75 ) {
|
177 |
+
$value = substr( $value, 0, 75 ) . '…';
|
178 |
+
}
|
179 |
+
|
180 |
+
$value = nl2br( wp_strip_all_tags( trim( $value ) ) );
|
181 |
+
|
182 |
+
if ( is_serialized( $value ) ) {
|
183 |
+
$field_html = array();
|
184 |
+
$field_value = maybe_unserialize( $value );
|
185 |
+
|
186 |
+
foreach ( $field_value as $field => $meta_val ) {
|
187 |
+
$field_html[] = $meta_val;
|
188 |
+
}
|
189 |
+
|
190 |
+
$value = implode( ' | ', $field_html );
|
191 |
+
}
|
192 |
+
|
193 |
+
return apply_filters( 'everest_forms_html_field_value', $value, $entry->meta[ $meta_value ], $this->form_data, 'entry-table' );
|
194 |
+
} else {
|
195 |
+
return '<span class="na">—</span>';
|
196 |
+
}
|
197 |
+
}
|
198 |
+
|
199 |
+
/**
|
200 |
+
* Renders the columns.
|
201 |
+
*
|
202 |
+
* @param object $entry
|
203 |
+
* @param string $column_name
|
204 |
+
* @return string
|
205 |
+
*/
|
206 |
+
public function column_default( $entry, $column_name ) {
|
207 |
+
switch ( $column_name ) {
|
208 |
+
case 'id':
|
209 |
+
$value = absint( $entry->entry_id );
|
210 |
+
break;
|
211 |
+
|
212 |
+
case 'date':
|
213 |
+
$value = date_i18n( get_option( 'date_format' ), strtotime( $entry->date_created ) + ( get_option( 'gmt_offset' ) * 3600 ) );
|
214 |
+
break;
|
215 |
+
|
216 |
+
default:
|
217 |
+
if ( false !== strpos( $column_name, 'evf_field_' ) ) {
|
218 |
+
$value = $this->column_form_field( $entry, $column_name );
|
219 |
+
} else {
|
220 |
+
$value = '';
|
221 |
+
}
|
222 |
+
break;
|
223 |
+
}
|
224 |
+
|
225 |
+
return apply_filters( 'everest_forms_entry_table_column_value', $value, $entry, $column_name );
|
226 |
+
}
|
227 |
+
|
228 |
+
/**
|
229 |
+
* Render the actions column.
|
230 |
+
*
|
231 |
+
* @param object $entry
|
232 |
+
* @return string
|
233 |
+
*/
|
234 |
+
public function column_actions( $entry ) {
|
235 |
+
if ( 'trash' !== $entry->status ) {
|
236 |
+
$actions = array(
|
237 |
+
'view' => '<a href="' . esc_url( admin_url( 'admin.php?page=evf-entries&form_id=' . $entry->form_id . '&view-entry=' . $entry->entry_id ) ) . '">' . esc_html__( 'View', 'everest-forms' ) . '</a>',
|
238 |
+
/* translators: %s: entry name */
|
239 |
+
'trash' => '<a class="submitdelete" aria-label="' . esc_attr__( 'Trash form entry', 'everest-forms' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array(
|
240 |
+
'trash' => $entry->entry_id,
|
241 |
+
'form_id' => $this->form_id,
|
242 |
+
), admin_url( 'admin.php?page=evf-entries' ) ), 'trash-entry' ) ) . '">' . esc_html__( 'Trash', 'everest-forms' ) . '</a>',
|
243 |
+
);
|
244 |
+
} else {
|
245 |
+
$actions = array(
|
246 |
+
'untrash' => '<a aria-label="' . esc_attr__( 'Restore form entry from trash', 'everest-forms' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array(
|
247 |
+
'untrash' => $entry->entry_id,
|
248 |
+
'form_id' => $this->form_id,
|
249 |
+
), admin_url( 'admin.php?page=evf-entries' ) ), 'untrash-entry' ) ) . '">' . esc_html__( 'Restore', 'everest-forms' ) . '</a>',
|
250 |
+
'delete' => '<a class="submitdelete" aria-label="' . esc_attr__( 'Delete form entry permanently', 'everest-forms' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array(
|
251 |
+
'delete' => $entry->entry_id,
|
252 |
+
'form_id' => $this->form_id,
|
253 |
+
), admin_url( 'admin.php?page=evf-entries' ) ), 'delete-entry' ) ) . '">' . esc_html__( 'Delete Permanently', 'everest-forms' ) . '</a>',
|
254 |
+
);
|
255 |
+
}
|
256 |
+
|
257 |
+
return implode( ' <span class="sep">|</span> ', apply_filters( 'everest_forms_entry_table_actions', $actions, $entry ) );
|
258 |
+
}
|
259 |
+
|
260 |
+
/**
|
261 |
+
* Get the status label for entries.
|
262 |
+
*
|
263 |
+
* @param string $status_name Status name.
|
264 |
+
* @param int $amount Amount of entries.
|
265 |
+
* @return array
|
266 |
+
*/
|
267 |
+
private function get_status_label( $status_name, $amount ) {
|
268 |
+
$statuses = evf_get_entry_statuses();
|
269 |
+
|
270 |
+
if ( isset( $statuses[ $status_name ] ) ) {
|
271 |
+
return array(
|
272 |
+
'singular' => sprintf( '%s <span class="count">(%s)</span>', esc_html( $statuses[ $status_name ] ), $amount ),
|
273 |
+
'plural' => sprintf( '%s <span class="count">(%s)</span>', esc_html( $statuses[ $status_name ] ), $amount ),
|
274 |
+
'context' => '',
|
275 |
+
'domain' => 'everest-forms',
|
276 |
+
);
|
277 |
+
}
|
278 |
+
|
279 |
+
return array(
|
280 |
+
'singular' => sprintf( '%s <span class="count">(%s)</span>', esc_html( $status_name ), $amount ),
|
281 |
+
'plural' => sprintf( '%s <span class="count">(%s)</span>', esc_html( $status_name ), $amount ),
|
282 |
+
'context' => '',
|
283 |
+
'domain' => 'everest-forms',
|
284 |
+
);
|
285 |
+
}
|
286 |
+
|
287 |
+
/**
|
288 |
+
* Table list views.
|
289 |
+
*
|
290 |
+
* @return array
|
291 |
+
*/
|
292 |
+
protected function get_views() {
|
293 |
+
$status_links = array();
|
294 |
+
$num_entries = evf_get_count_entries_by_status( $this->form_id );
|
295 |
+
$total_entries = array_sum( (array) $num_entries ) - $num_entries['trash'];
|
296 |
+
$statuses = array_keys( evf_get_entry_statuses() );
|
297 |
+
$class = empty( $_REQUEST['status'] ) ? ' class="current"' : ''; // WPCS: input var okay. CSRF ok.
|
298 |
+
|
299 |
+
/* translators: %s: count */
|
300 |
+
$status_links['all'] = "<a href='admin.php?page=evf-entries&form_id=$this->form_id'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_entries, 'entries', 'everest-forms' ), number_format_i18n( $total_entries ) ) . '</a>';
|
301 |
+
|
302 |
+
foreach ( $statuses as $status_name ) {
|
303 |
+
$class = '';
|
304 |
+
|
305 |
+
if ( empty( $num_entries[ $status_name ] ) || 'publish' === $status_name ) {
|
306 |
+
continue;
|
307 |
+
}
|
308 |
+
|
309 |
+
if ( isset( $_REQUEST['status'] ) && sanitize_key( wp_unslash( $_REQUEST['status'] ) ) === $status_name ) { // WPCS: input var okay, CSRF ok.
|
310 |
+
$class = ' class="current"';
|
311 |
+
}
|
312 |
+
|
313 |
+
$label = $this->get_status_label( $status_name, $num_entries[ $status_name ] );
|
314 |
+
|
315 |
+
$status_links[ $status_name ] = "<a href='admin.php?page=evf-entries&form_id=$this->form_id&status=$status_name'$class>" . sprintf( translate_nooped_plural( $label, $num_entries[ $status_name ] ), number_format_i18n( $num_entries[ $status_name ] ) ) . '</a>';
|
316 |
+
}
|
317 |
+
|
318 |
+
return $status_links;
|
319 |
+
}
|
320 |
+
|
321 |
+
/**
|
322 |
+
* Get bulk actions.
|
323 |
+
*
|
324 |
+
* @return array
|
325 |
+
*/
|
326 |
+
protected function get_bulk_actions() {
|
327 |
+
if ( isset( $_GET['status'] ) && 'trash' == $_GET['status'] ) {
|
328 |
+
return array(
|
329 |
+
'untrash' => __( 'Restore', 'everest-forms' ),
|
330 |
+
'delete' => __( 'Delete Permanently', 'everest-forms' )
|
331 |
+
);
|
332 |
+
}
|
333 |
+
|
334 |
+
return array(
|
335 |
+
'trash' => __( 'Move to Trash', 'everest-forms' )
|
336 |
+
);
|
337 |
+
}
|
338 |
+
|
339 |
+
/**
|
340 |
+
* Extra controls to be displayed between bulk actions and pagination.
|
341 |
+
*
|
342 |
+
* @param string $which
|
343 |
+
*/
|
344 |
+
protected function extra_tablenav( $which ) {
|
345 |
+
?>
|
346 |
+
<div class="alignleft actions">
|
347 |
+
<?php
|
348 |
+
if ( ! empty( $this->forms ) && 'top' == $which ) {
|
349 |
+
ob_start();
|
350 |
+
$this->forms_dropdown();
|
351 |
+
$output = ob_get_clean();
|
352 |
+
|
353 |
+
if ( ! empty( $output ) ) {
|
354 |
+
echo $output;
|
355 |
+
submit_button( __( 'Filter', 'everest-forms' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
|
356 |
+
}
|
357 |
+
}
|
358 |
+
|
359 |
+
if ( isset( $_GET['status'] ) && 'trash' == $_GET['status'] && current_user_can( 'manage_everest_forms' ) ) {
|
360 |
+
submit_button( __( 'Empty Trash', 'everest-forms' ), 'apply', 'delete_all', false );
|
361 |
+
}
|
362 |
+
?>
|
363 |
+
</div>
|
364 |
+
<?php
|
365 |
+
}
|
366 |
+
|
367 |
+
/**
|
368 |
+
* Display a form dropdown for filtering entries.
|
369 |
+
*/
|
370 |
+
public function forms_dropdown() {
|
371 |
+
$forms = evf_get_all_forms( true );
|
372 |
+
$form_id = isset( $_REQUEST['form_id'] ) ? absint( $_REQUEST['form_id'] ) : $this->form_id;
|
373 |
+
|
374 |
+
?>
|
375 |
+
<label for="filter-by-form" class="screen-reader-text"><?php esc_html_e( 'Filter by form', 'everest-forms' ); ?></label>
|
376 |
+
<select name="form_id" id="filter-by-form">
|
377 |
+
<?php foreach( $forms as $id => $form ) : ?>
|
378 |
+
<option value="<?php echo esc_attr( $id ); ?>" <?php selected( $form_id, $id ); ?>><?php echo esc_html( $form ); ?></option>
|
379 |
+
<?php endforeach; ?>
|
380 |
+
</select>
|
381 |
+
<?php
|
382 |
+
}
|
383 |
+
|
384 |
+
/**
|
385 |
+
* Prepare table list items.
|
386 |
+
*
|
387 |
+
* @global wpdb $wpdb
|
388 |
+
*/
|
389 |
+
public function prepare_items( $args = array() ) {
|
390 |
+
global $wpdb;
|
391 |
+
|
392 |
+
$per_page = $this->get_items_per_page( 'evf_forms_per_page' );
|
393 |
+
$current_page = $this->get_pagenum();
|
394 |
+
|
395 |
+
// Query args.
|
396 |
+
$args = array(
|
397 |
+
'status' => 'publish',
|
398 |
+
'form_id' => $this->form_id,
|
399 |
+
'limit' => $per_page,
|
400 |
+
'offset' => $per_page * ( $current_page - 1 ),
|
401 |
+
);
|
402 |
+
|
403 |
+
// Handle the status query.
|
404 |
+
if ( ! empty( $_REQUEST['status'] ) ) { // WPCS: input var okay, CSRF ok.
|
405 |
+
$args['status'] = sanitize_key( wp_unslash( $_REQUEST['status'] ) ); // WPCS: input var okay, CSRF ok.
|
406 |
+
}
|
407 |
+
|
408 |
+
if ( ! empty( $_REQUEST['s'] ) ) { // WPCS: input var okay, CSRF ok.
|
409 |
+
$args['search'] = sanitize_text_field( wp_unslash( $_REQUEST['s'] ) ); // WPCS: input var okay, CSRF ok.
|
410 |
+
}
|
411 |
+
|
412 |
+
if ( ! empty( $_REQUEST['orderby'] ) ) { // WPCS: input var okay, CSRF ok.
|
413 |
+
$args['orderby'] = sanitize_text_field( wp_unslash( $_REQUEST['orderby'] ) ); // WPCS: input var okay, CSRF ok.
|
414 |
+
}
|
415 |
+
|
416 |
+
if ( ! empty( $_REQUEST['order'] ) ) { // WPCS: input var okay, CSRF ok.
|
417 |
+
$args['order'] = sanitize_text_field( wp_unslash( $_REQUEST['order'] ) ); // WPCS: input var okay, CSRF ok.
|
418 |
+
}
|
419 |
+
|
420 |
+
// Get the entries.
|
421 |
+
$entries = evf_search_entries( $args );
|
422 |
+
$this->items = array_map( 'evf_get_entry', $entries );
|
423 |
+
|
424 |
+
// Get total items.
|
425 |
+
$args['limit'] = -1;
|
426 |
+
$args['offset'] = 0;
|
427 |
+
$total_items = count( evf_search_entries( $args ) );
|
428 |
+
|
429 |
+
// Set the pagination.
|
430 |
+
$this->set_pagination_args( array(
|
431 |
+
'total_items' => $total_items,
|
432 |
+
'per_page' => $per_page,
|
433 |
+
'total_pages' => ceil( $total_items / $per_page ),
|
434 |
+
) );
|
435 |
+
}
|
436 |
+
}
|
includes/admin/class-evf-admin-entries.php
ADDED
@@ -0,0 +1,300 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* EverestForms Admin Entries Class
|
4 |
+
*
|
5 |
+
* @package EverestForms\Admin
|
6 |
+
* @since 1.1.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
+
/**
|
12 |
+
* EVF_Admin_Entries class.
|
13 |
+
*/
|
14 |
+
class EVF_Admin_Entries {
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Initialize the entries admin actions.
|
18 |
+
*/
|
19 |
+
public function __construct() {
|
20 |
+
add_action( 'admin_init', array( $this, 'actions' ) );
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Check if is entries page.
|
25 |
+
*
|
26 |
+
* @return bool
|
27 |
+
*/
|
28 |
+
private function is_entries_page() {
|
29 |
+
return isset( $_GET['page'] ) && 'evf-entries' === $_GET['page']; // WPCS: input var okay, CSRF ok.
|
30 |
+
}
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Page output.
|
34 |
+
*/
|
35 |
+
public static function page_output() {
|
36 |
+
if ( isset( $_GET['view-entry'] ) ) {
|
37 |
+
$form_id = isset( $_GET['form_id'] ) ? absint( $_GET['form_id'] ) : 0; // WPCS: input var okay, CSRF ok.
|
38 |
+
$entry_id = isset( $_GET['view-entry'] ) ? absint( $_GET['view-entry'] ) : 0; // WPCS: input var okay, CSRF ok.
|
39 |
+
$entry = evf_get_entry( $entry_id );
|
40 |
+
|
41 |
+
include 'views/html-admin-page-entries-view.php';
|
42 |
+
} else {
|
43 |
+
self::table_list_output();
|
44 |
+
}
|
45 |
+
}
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Table list output.
|
49 |
+
*/
|
50 |
+
private static function table_list_output() {
|
51 |
+
global $entries_table_list;
|
52 |
+
|
53 |
+
// Get the entries count.
|
54 |
+
$count = count( evf_get_entries_ids( $entries_table_list->form_id ) );
|
55 |
+
|
56 |
+
$entries_table_list->prepare_items();
|
57 |
+
?>
|
58 |
+
<div class="wrap">
|
59 |
+
<h1 class="wp-heading-inline"><?php esc_html_e( 'Entries', 'everest-forms' ); ?></h1>
|
60 |
+
<hr class="wp-header-end">
|
61 |
+
<?php if ( 0 < $count ) : ?>
|
62 |
+
<form id="entries-list" method="post">
|
63 |
+
<input type="hidden" name="page" value="evf-entries" />
|
64 |
+
<?php
|
65 |
+
$entries_table_list->views();
|
66 |
+
$entries_table_list->search_box( __( 'Search Entries', 'everest-forms' ), 'everest-forms' );
|
67 |
+
$entries_table_list->display();
|
68 |
+
?>
|
69 |
+
</form>
|
70 |
+
<?php else : ?>
|
71 |
+
<div class="everest-forms-BlankState">
|
72 |
+
<svg aria-hidden="true" class="octicon octicon-graph everest-forms-BlankState-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M16 14v1H0V0h1v14h15zM5 13H3V8h2v5zm4 0H7V3h2v10zm4 0h-2V6h2v7z"/></svg>
|
73 |
+
<h2 class="everest-forms-BlankState-message"><?php esc_html_e( 'Whoops, it appears you do not have any form entries yet.', 'everest-forms' ); ?></h2>
|
74 |
+
<?php if ( ! empty( $entries_table_list->forms ) ) : ?>
|
75 |
+
<form id="entries-list" method="post"><?php
|
76 |
+
ob_start();
|
77 |
+
$entries_table_list->forms_dropdown();
|
78 |
+
$output = ob_get_clean();
|
79 |
+
|
80 |
+
if ( ! empty( $output ) ) {
|
81 |
+
echo $output;
|
82 |
+
submit_button( __( 'Filter', 'everest-forms' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
|
83 |
+
}
|
84 |
+
?></form>
|
85 |
+
<?php else : ?>
|
86 |
+
<a class="everest-forms-BlankState-cta button-primary button" target="_blank" href="https://docs.wpeverest.com/docs/everest-forms/entry-management/?utm_source=blankslate&utm_medium=entry&utm_content=entriesdoc&utm_campaign=everestformplugin"><?php esc_html_e( 'Learn more about entries', 'everest-forms' ); ?></a>
|
87 |
+
<a class="everest-forms-BlankState-cta button" href="<?php echo esc_url( admin_url( 'admin.php?page=edit-evf-form&create-form=1' ) ); ?>"><?php esc_html_e( 'Create your first form!', 'everest-forms' ); ?></a>
|
88 |
+
<?php endif; ?>
|
89 |
+
<style type="text/css">#posts-filter .wp-list-table, #posts-filter .tablenav.top, .tablenav.bottom .actions, .wrap .subsubsub { display: none; }</style>
|
90 |
+
</div>
|
91 |
+
<?php endif; ?>
|
92 |
+
</div>
|
93 |
+
<?php
|
94 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* Entries admin actions.
|
98 |
+
*/
|
99 |
+
public function actions() {
|
100 |
+
if ( $this->is_entries_page() ) {
|
101 |
+
// Trash entry.
|
102 |
+
if ( isset( $_GET['trash'] ) ) { // WPCS: input var okay, CSRF ok.
|
103 |
+
$this->trash_entry();
|
104 |
+
}
|
105 |
+
|
106 |
+
// Untrash entry.
|
107 |
+
if ( isset( $_GET['untrash'] ) ) { // WPCS: input var okay, CSRF ok.
|
108 |
+
$this->untrash_entry();
|
109 |
+
}
|
110 |
+
|
111 |
+
// Delete entry.
|
112 |
+
if ( isset( $_GET['delete'] ) ) { // WPCS: input var okay, CSRF ok.
|
113 |
+
$this->delete_entry();
|
114 |
+
}
|
115 |
+
|
116 |
+
// Bulk actions.
|
117 |
+
if ( isset( $_REQUEST['action'] ) && isset( $_REQUEST['entry'] ) ) { // WPCS: input var okay, CSRF ok.
|
118 |
+
$this->bulk_actions();
|
119 |
+
}
|
120 |
+
|
121 |
+
if ( isset( $_REQUEST['delete_all'] ) || isset( $_REQUEST['delete_all2'] ) ) { // WPCS: input var okay, CSRF ok.
|
122 |
+
$this->empty_trash();
|
123 |
+
}
|
124 |
+
}
|
125 |
+
}
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Trash entry.
|
129 |
+
*/
|
130 |
+
private function trash_entry() {
|
131 |
+
check_admin_referer( 'trash-entry' );
|
132 |
+
|
133 |
+
$form_id = isset( $_GET['form_id'] ) ? absint( $_GET['form_id'] ) : '';
|
134 |
+
|
135 |
+
if ( isset( $_GET['trash'] ) ) { // WPCS: input var okay, CSRF ok.
|
136 |
+
$entry_id = absint( $_GET['trash'] ); // WPCS: input var okay, CSRF ok.
|
137 |
+
|
138 |
+
if ( $entry_id ) {
|
139 |
+
$this->update_status( $entry_id, 'trash' );
|
140 |
+
}
|
141 |
+
}
|
142 |
+
|
143 |
+
wp_redirect( esc_url_raw( add_query_arg( array( 'form_id' => $form_id, 'trashed' => 1 ), admin_url( 'admin.php?page=evf-entries' ) ) ) );
|
144 |
+
exit();
|
145 |
+
}
|
146 |
+
|
147 |
+
/**
|
148 |
+
* Trash entry.
|
149 |
+
*/
|
150 |
+
private function untrash_entry() {
|
151 |
+
check_admin_referer( 'untrash-entry' );
|
152 |
+
|
153 |
+
$form_id = isset( $_GET['form_id'] ) ? absint( $_GET['form_id'] ) : '';
|
154 |
+
|
155 |
+
if ( isset( $_GET['untrash'] ) ) { // WPCS: input var okay, CSRF ok.
|
156 |
+
$entry_id = absint( $_GET['untrash'] ); // WPCS: input var okay, CSRF ok.
|
157 |
+
|
158 |
+
if ( $entry_id ) {
|
159 |
+
$this->update_status( $entry_id, 'publish' );
|
160 |
+
}
|
161 |
+
}
|
162 |
+
|
163 |
+
wp_redirect( esc_url_raw( add_query_arg( array( 'form_id' => $form_id, 'untrashed' => 1 ), admin_url( 'admin.php?page=evf-entries' ) ) ) );
|
164 |
+
exit();
|
165 |
+
}
|
166 |
+
|
167 |
+
/**
|
168 |
+
* Delete entry.
|
169 |
+
*/
|
170 |
+
private function delete_entry() {
|
171 |
+
check_admin_referer( 'delete-entry' );
|
172 |
+
|
173 |
+
$form_id = isset( $_GET['form_id'] ) ? absint( $_GET['form_id'] ) : '';
|
174 |
+
|
175 |
+
if ( isset( $_GET['delete'] ) ) { // WPCS: input var okay, CSRF ok.
|
176 |
+
$entry_id = absint( $_GET['delete'] ); // WPCS: input var okay, CSRF ok.
|
177 |
+
|
178 |
+
if ( $entry_id ) {
|
179 |
+
$this->remove_entry( $entry_id );
|
180 |
+
}
|
181 |
+
}
|
182 |
+
|
183 |
+
wp_redirect( esc_url_raw( add_query_arg( array( 'form_id' => $form_id, 'deleted' => 1 ), admin_url( 'admin.php?page=evf-entries' ) ) ) );
|
184 |
+
exit();
|
185 |
+
}
|
186 |
+
|
187 |
+
/**
|
188 |
+
* Empty Trash
|
189 |
+
*/
|
190 |
+
public function empty_trash() {
|
191 |
+
global $wpdb;
|
192 |
+
|
193 |
+
if ( ! current_user_can( 'manage_everest_forms' ) ) {
|
194 |
+
wp_die( __( 'You do not have permissions to delete Entries!', 'everest-forms' ) );
|
195 |
+
}
|
196 |
+
|
197 |
+
if ( isset( $_GET['form_id'] ) ) { // WPCS: input var okay, CSRF ok.
|
198 |
+
$form_id = absint( $_GET['form_id'] ); // WPCS: input var okay, CSRF ok.
|
199 |
+
|
200 |
+
if ( $form_id ) {
|
201 |
+
$results = $wpdb->get_results( $wpdb->prepare( "SELECT entry_id FROM {$wpdb->prefix}evf_entries WHERE `status` = 'trash' AND form_id = %d", $form_id ) ); // WPCS: cache ok, DB call ok.
|
202 |
+
$entries = array_map( 'intval', wp_list_pluck( $results, 'entry_id' ) );
|
203 |
+
|
204 |
+
foreach ( $entries as $entry_id ) {
|
205 |
+
$this->remove_entry( $entry_id );
|
206 |
+
}
|
207 |
+
|
208 |
+
$qty = count( $entries );
|
209 |
+
}
|
210 |
+
}
|
211 |
+
|
212 |
+
wp_redirect( esc_url_raw( add_query_arg( array( 'form_id' => $form_id, 'deleted' => $qty ), admin_url( 'admin.php?page=evf-entries' ) ) ) );
|
213 |
+
exit();
|
214 |
+
}
|
215 |
+
|
216 |
+
/**
|
217 |
+
* Bulk actions.
|
218 |
+
*/
|
219 |
+
private function bulk_actions() {
|
220 |
+
check_admin_referer( 'bulk-entries' );
|
221 |
+
|
222 |
+
if ( ! current_user_can( 'manage_everest_forms' ) ) {
|
223 |
+
wp_die( esc_html__( 'You do not have permission to edit Entries', 'everest-forms' ) );
|
224 |
+
}
|
225 |
+
|
226 |
+
if ( isset( $_REQUEST['action'] ) ) { // WPCS: input var okay, CSRF ok.
|
227 |
+
$action = sanitize_text_field( wp_unslash( $_REQUEST['action'] ) ); // WPCS: input var okay, CSRF ok.
|
228 |
+
$entries = isset( $_REQUEST['entry'] ) ? array_map( 'absint', (array) $_REQUEST['entry'] ) : array(); // WPCS: input var okay, CSRF ok.
|
229 |
+
|
230 |
+
if ( 'delete' === $action ) {
|
231 |
+
$this->bulk_delete_entry( $entries );
|
232 |
+
} elseif ( 'trash' === $action ) {
|
233 |
+
$this->bulk_update_status( $entries, 'trash' );
|
234 |
+
} elseif ( 'untrash' === $action ) {
|
235 |
+
$this->bulk_update_status( $entries, 'publish' );
|
236 |
+
}
|
237 |
+
}
|
238 |
+
}
|
239 |
+
|
240 |
+
/**
|
241 |
+
* Bulk delete entry.
|
242 |
+
*
|
243 |
+
* @param array $entries Entries.
|
244 |
+
*/
|
245 |
+
private function bulk_delete_entry( $entries ) {
|
246 |
+
foreach ( $entries as $entry_id ) {
|
247 |
+
$this->remove_entry( $entry_id );
|
248 |
+
}
|
249 |
+
}
|
250 |
+
|
251 |
+
/**
|
252 |
+
* Bulk update entry status.
|
253 |
+
*
|
254 |
+
* @param array $entries Entries.
|
255 |
+
* @param string $status Entry status.
|
256 |
+
*/
|
257 |
+
private function bulk_update_status( $entries, $status = '' ) {
|
258 |
+
foreach ( $entries as $entry_id ) {
|
259 |
+
$this->update_status( $entry_id, $status );
|
260 |
+
}
|
261 |
+
}
|
262 |
+
|
263 |
+
/**
|
264 |
+
* Remove entry.
|
265 |
+
*
|
266 |
+
* @param int $entry_id Entry ID.
|
267 |
+
* @return bool
|
268 |
+
*/
|
269 |
+
private function remove_entry( $entry_id ) {
|
270 |
+
global $wpdb;
|
271 |
+
|
272 |
+
$delete = $wpdb->delete( $wpdb->prefix . 'evf_entries', array( 'entry_id' => $entry_id ), array( '%d' ) );
|
273 |
+
|
274 |
+
if ( apply_filters( 'everest_forms_delete_entrymeta', true ) ) {
|
275 |
+
$wpdb->delete( $wpdb->prefix . 'evf_entrymeta', array( 'entry_id' => $entry_id ), array( '%d' ) );
|
276 |
+
}
|
277 |
+
|
278 |
+
return $delete;
|
279 |
+
}
|
280 |
+
|
281 |
+
/**
|
282 |
+
* Set entry status.
|
283 |
+
*
|
284 |
+
* @param int $entry_id Entry ID.
|
285 |
+
* @param string $status Entry status.
|
286 |
+
*/
|
287 |
+
private function update_status( $entry_id, $status = 'publish' ) {
|
288 |
+
global $wpdb;
|
289 |
+
|
290 |
+
$wpdb->update(
|
291 |
+
$wpdb->prefix . 'evf_entries',
|
292 |
+
array( 'status' => $status ),
|
293 |
+
array( 'entry_id' => $entry_id ),
|
294 |
+
array( '%s' ),
|
295 |
+
array( '%d' )
|
296 |
+
);
|
297 |
+
}
|
298 |
+
}
|
299 |
+
|
300 |
+
new EVF_Admin_Entries();
|
includes/admin/class-evf-admin-forms-table-list.php
CHANGED
@@ -47,6 +47,7 @@ class EVF_Admin_Forms_Table_List extends WP_List_Table {
|
|
47 |
'shortcode' => __( 'Shortcode', 'everest-forms' ),
|
48 |
'author' => __( 'Author', 'everest-forms' ),
|
49 |
'date' => __( 'Date', 'everest-forms' ),
|
|
|
50 |
);
|
51 |
}
|
52 |
|
@@ -101,6 +102,8 @@ class EVF_Admin_Forms_Table_List extends WP_List_Table {
|
|
101 |
$actions['edit'] = '<a href="' . esc_url( $edit_link ) . '">' . __( 'Edit', 'everest-forms' ) . '</a>';
|
102 |
}
|
103 |
|
|
|
|
|
104 |
if ( current_user_can( $post_type_object->cap->delete_post, $posts->ID ) ) {
|
105 |
if ( 'trash' == $post_status ) {
|
106 |
$actions['untrash'] = '<a aria-label="' . esc_attr__( 'Restore this item from the Trash', 'everest-forms' ) . '" href="' . wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&action=untrash', $posts->ID ) ), 'untrash-post_' . $posts->ID ) . '">' . esc_html__( 'Restore', 'everest-forms' ) . '</a>';
|
@@ -133,7 +136,6 @@ class EVF_Admin_Forms_Table_List extends WP_List_Table {
|
|
133 |
* Return shortcode column.
|
134 |
*
|
135 |
* @param object $posts
|
136 |
-
*
|
137 |
* @return string
|
138 |
*/
|
139 |
function column_shortcode( $posts ) {
|
@@ -199,6 +201,20 @@ class EVF_Admin_Forms_Table_List extends WP_List_Table {
|
|
199 |
return '<abbr title="' . $t_time . '">' . $h_time . '</abbr>';
|
200 |
}
|
201 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
/**
|
203 |
* Get the status label for licenses.
|
204 |
*
|
@@ -260,7 +276,6 @@ class EVF_Admin_Forms_Table_List extends WP_List_Table {
|
|
260 |
// Subtract post types that are not included in the admin all list.
|
261 |
$post_stati = get_post_stati( array( 'show_in_admin_all_list' => false ) );
|
262 |
foreach ( $post_stati as $state ) {
|
263 |
-
|
264 |
$total_posts -= isset( $num_posts->$state ) ? $num_posts->$state : 0;
|
265 |
}
|
266 |
|
47 |
'shortcode' => __( 'Shortcode', 'everest-forms' ),
|
48 |
'author' => __( 'Author', 'everest-forms' ),
|
49 |
'date' => __( 'Date', 'everest-forms' ),
|
50 |
+
'entries' => __( 'Entries', 'everest-forms' ),
|
51 |
);
|
52 |
}
|
53 |
|
102 |
$actions['edit'] = '<a href="' . esc_url( $edit_link ) . '">' . __( 'Edit', 'everest-forms' ) . '</a>';
|
103 |
}
|
104 |
|
105 |
+
$actions['entries'] = '<a href="' . esc_url( admin_url( 'admin.php?page=evf-entries&form_id=' . $posts->ID ) ) . '">' . __( 'Entries', 'everest-forms' ) . '</a>';
|
106 |
+
|
107 |
if ( current_user_can( $post_type_object->cap->delete_post, $posts->ID ) ) {
|
108 |
if ( 'trash' == $post_status ) {
|
109 |
$actions['untrash'] = '<a aria-label="' . esc_attr__( 'Restore this item from the Trash', 'everest-forms' ) . '" href="' . wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&action=untrash', $posts->ID ) ), 'untrash-post_' . $posts->ID ) . '">' . esc_html__( 'Restore', 'everest-forms' ) . '</a>';
|
136 |
* Return shortcode column.
|
137 |
*
|
138 |
* @param object $posts
|
|
|
139 |
* @return string
|
140 |
*/
|
141 |
function column_shortcode( $posts ) {
|
201 |
return '<abbr title="' . $t_time . '">' . $h_time . '</abbr>';
|
202 |
}
|
203 |
|
204 |
+
/**
|
205 |
+
* Return shortcode entries.
|
206 |
+
*
|
207 |
+
* @param object $posts
|
208 |
+
* @return string
|
209 |
+
*/
|
210 |
+
public function column_entries( $posts ) {
|
211 |
+
global $wpdb;
|
212 |
+
|
213 |
+
$entries = isset( $_GET['status'] ) && 'trash' === $_GET['status'] ? array() : $wpdb->get_results( $wpdb->prepare( "SELECT form_id FROM {$wpdb->prefix}evf_entries WHERE `status` != 'trash' AND form_id = %d", $posts->ID ) ); // WPCS: cache ok, DB call ok.
|
214 |
+
|
215 |
+
return '<a href="' . esc_url( admin_url( 'admin.php?page=evf-entries&form_id=' . $posts->ID ) ) . '">' . count( $entries ) . '</a>';
|
216 |
+
}
|
217 |
+
|
218 |
/**
|
219 |
* Get the status label for licenses.
|
220 |
*
|
276 |
// Subtract post types that are not included in the admin all list.
|
277 |
$post_stati = get_post_stati( array( 'show_in_admin_all_list' => false ) );
|
278 |
foreach ( $post_stati as $state ) {
|
|
|
279 |
$total_posts -= isset( $num_posts->$state ) ? $num_posts->$state : 0;
|
280 |
}
|
281 |
|
includes/admin/class-evf-admin-forms.php
CHANGED
@@ -24,7 +24,7 @@ class EVF_Admin_Forms {
|
|
24 |
?>
|
25 |
<div class="wrap">
|
26 |
<h1 class="wp-heading-inline"><?php esc_html_e( 'All Forms', 'everest-forms' ); ?></h1>
|
27 |
-
<a href="<?php echo esc_url( admin_url( 'admin.php
|
28 |
<hr class="wp-header-end">
|
29 |
<form id="form-list" method="post">
|
30 |
<input type="hidden" name="page" value="everest-forms"/>
|
24 |
?>
|
25 |
<div class="wrap">
|
26 |
<h1 class="wp-heading-inline"><?php esc_html_e( 'All Forms', 'everest-forms' ); ?></h1>
|
27 |
+
<a href="<?php echo esc_url( admin_url( 'admin.php?page=edit-evf-form' ) ); ?>" class="page-title-action"><?php esc_html_e( 'Add New', 'everest-forms' ); ?></a>
|
28 |
<hr class="wp-header-end">
|
29 |
<form id="form-list" method="post">
|
30 |
<input type="hidden" name="page" value="everest-forms"/>
|
includes/admin/class-evf-admin-menus.php
CHANGED
@@ -24,11 +24,13 @@ class EVF_Admin_Menus {
|
|
24 |
*/
|
25 |
public function __construct() {
|
26 |
add_action( 'admin_init', array( $this, 'actions' ) );
|
|
|
27 |
|
28 |
// Add menus.
|
29 |
add_action( 'admin_menu', array( $this, 'admin_menu' ), 9 );
|
30 |
add_action( 'admin_menu', array( $this, 'forms_menu' ), 20 );
|
31 |
add_action( 'admin_menu', array( $this, 'add_new_form' ), 30 );
|
|
|
32 |
add_action( 'admin_menu', array( $this, 'settings_menu' ), 50 );
|
33 |
add_action( 'admin_menu', array( $this, 'status_menu' ), 60 );
|
34 |
add_filter( 'admin_footer', array( $this, 'admin_footer' ), 1 );
|
@@ -98,6 +100,34 @@ class EVF_Admin_Menus {
|
|
98 |
add_submenu_page( 'everest-forms', __( 'Add New', 'everest-forms' ), __( 'Add New', 'everest-forms' ), 'manage_everest_forms', 'edit-evf-form', array( $this, 'add_everest_forms' ) );
|
99 |
}
|
100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
/**
|
102 |
* Everest forms admin actions.
|
103 |
*/
|
@@ -113,28 +143,40 @@ class EVF_Admin_Menus {
|
|
113 |
$this->empty_trash();
|
114 |
}
|
115 |
|
116 |
-
$action
|
117 |
-
|
118 |
-
$nonce = isset( $_GET['_wpnonce'] ) ? sanitize_text_field( $_GET['_wpnonce'] ) : '';
|
119 |
-
|
120 |
$form_id = isset( $_GET['form'] ) && is_numeric( $_GET['form'] ) ? $_GET['form'] : '';
|
121 |
|
122 |
if ( ! empty( $action ) && ! empty( $nonce ) && ! empty( $form_id ) ) {
|
123 |
-
|
124 |
$flag = wp_verify_nonce( $nonce, 'everest_forms_form_duplicate' . $form_id );
|
125 |
|
126 |
if ( $flag == true && ! is_wp_error( $flag ) ) {
|
127 |
|
128 |
if ( 'duplicate' === $action ) {
|
129 |
-
|
130 |
$this->duplicate( $form_id );
|
131 |
-
|
132 |
}
|
133 |
}
|
134 |
}
|
135 |
}
|
136 |
}
|
137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
/**
|
139 |
* Bulk trash.
|
140 |
*
|
@@ -196,8 +238,8 @@ class EVF_Admin_Menus {
|
|
196 |
'fields' => 'ids',
|
197 |
) );
|
198 |
|
199 |
-
foreach ( $registration as $
|
200 |
-
wp_delete_post( $
|
201 |
}
|
202 |
|
203 |
$qty = count( $registration );
|
@@ -397,6 +439,13 @@ class EVF_Admin_Menus {
|
|
397 |
}
|
398 |
}
|
399 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
400 |
/**
|
401 |
* Init the settings page.
|
402 |
*/
|
@@ -421,7 +470,7 @@ class EVF_Admin_Menus {
|
|
421 |
* Validate screen options on update.
|
422 |
*/
|
423 |
public function set_screen_option( $status, $option, $value ) {
|
424 |
-
if ( in_array( $option, array( 'evf_forms_per_page' ), true ) ) {
|
425 |
return $value;
|
426 |
}
|
427 |
|
@@ -442,7 +491,7 @@ class EVF_Admin_Menus {
|
|
442 |
$args = array(
|
443 |
'id' => 'everest_forms',
|
444 |
'title' => 'Everest Forms',
|
445 |
-
'href' => admin_url( 'admin.php?page=
|
446 |
'parent' => 'new-content',
|
447 |
);
|
448 |
$wp_admin_bar->add_node( $args );
|
24 |
*/
|
25 |
public function __construct() {
|
26 |
add_action( 'admin_init', array( $this, 'actions' ) );
|
27 |
+
add_action( 'deleted_post', array( $this, 'delete_entries' ) );
|
28 |
|
29 |
// Add menus.
|
30 |
add_action( 'admin_menu', array( $this, 'admin_menu' ), 9 );
|
31 |
add_action( 'admin_menu', array( $this, 'forms_menu' ), 20 );
|
32 |
add_action( 'admin_menu', array( $this, 'add_new_form' ), 30 );
|
33 |
+
add_action( 'admin_menu', array( $this, 'entries_menu' ), 40 );
|
34 |
add_action( 'admin_menu', array( $this, 'settings_menu' ), 50 );
|
35 |
add_action( 'admin_menu', array( $this, 'status_menu' ), 60 );
|
36 |
add_filter( 'admin_footer', array( $this, 'admin_footer' ), 1 );
|
100 |
add_submenu_page( 'everest-forms', __( 'Add New', 'everest-forms' ), __( 'Add New', 'everest-forms' ), 'manage_everest_forms', 'edit-evf-form', array( $this, 'add_everest_forms' ) );
|
101 |
}
|
102 |
|
103 |
+
/**
|
104 |
+
* Add menu item.
|
105 |
+
*/
|
106 |
+
public function entries_menu() {
|
107 |
+
$entries_page = add_submenu_page( 'everest-forms', __( 'Entries', 'everest-forms' ), __( 'Entries', 'everest-forms' ), 'manage_everest_forms', 'evf-entries', array( $this, 'entries_page' ) );
|
108 |
+
|
109 |
+
add_action( 'load-' . $entries_page, array( $this, 'entries_page_init' ) );
|
110 |
+
}
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Loads entries into memory.
|
114 |
+
*/
|
115 |
+
public function entries_page_init() {
|
116 |
+
global $entries_table_list;
|
117 |
+
|
118 |
+
if ( ! isset( $_GET['view-entry'] ) ) { // WPCS: input var okay, CSRF ok.
|
119 |
+
$entries_table_list = new EVF_Admin_Entries_Table_List();
|
120 |
+
|
121 |
+
// Add screen option.
|
122 |
+
add_screen_option( 'per_page', array(
|
123 |
+
'default' => 20,
|
124 |
+
'option' => 'evf_entries_per_page'
|
125 |
+
) );
|
126 |
+
}
|
127 |
+
|
128 |
+
do_action( 'everest_forms_entries_page_init' );
|
129 |
+
}
|
130 |
+
|
131 |
/**
|
132 |
* Everest forms admin actions.
|
133 |
*/
|
143 |
$this->empty_trash();
|
144 |
}
|
145 |
|
146 |
+
$action = isset( $_GET['action'] ) ? sanitize_text_field( $_GET['action'] ) : '';
|
147 |
+
$nonce = isset( $_GET['_wpnonce'] ) ? sanitize_text_field( $_GET['_wpnonce'] ) : '';
|
|
|
|
|
148 |
$form_id = isset( $_GET['form'] ) && is_numeric( $_GET['form'] ) ? $_GET['form'] : '';
|
149 |
|
150 |
if ( ! empty( $action ) && ! empty( $nonce ) && ! empty( $form_id ) ) {
|
|
|
151 |
$flag = wp_verify_nonce( $nonce, 'everest_forms_form_duplicate' . $form_id );
|
152 |
|
153 |
if ( $flag == true && ! is_wp_error( $flag ) ) {
|
154 |
|
155 |
if ( 'duplicate' === $action ) {
|
|
|
156 |
$this->duplicate( $form_id );
|
|
|
157 |
}
|
158 |
}
|
159 |
}
|
160 |
}
|
161 |
}
|
162 |
|
163 |
+
/**
|
164 |
+
* Remove entry and its associated meta.
|
165 |
+
*/
|
166 |
+
public function delete_entries( $postid ) {
|
167 |
+
global $wpdb;
|
168 |
+
|
169 |
+
$entries = evf_get_entries_ids( $postid );
|
170 |
+
|
171 |
+
// Delete entry.
|
172 |
+
if ( ! empty( $entries ) ) {
|
173 |
+
foreach ( $entries as $entry_id ) {
|
174 |
+
$wpdb->delete( $wpdb->prefix . 'evf_entries', array( 'entry_id' => $entry_id ), array( '%d' ) );
|
175 |
+
$wpdb->delete( $wpdb->prefix . 'evf_entrymeta', array( 'entry_id' => $entry_id ), array( '%d' ) );
|
176 |
+
}
|
177 |
+
}
|
178 |
+
}
|
179 |
+
|
180 |
/**
|
181 |
* Bulk trash.
|
182 |
*
|
238 |
'fields' => 'ids',
|
239 |
) );
|
240 |
|
241 |
+
foreach ( $registration as $registration_id ) {
|
242 |
+
wp_delete_post( $registration_id, true );
|
243 |
}
|
244 |
|
245 |
$qty = count( $registration );
|
439 |
}
|
440 |
}
|
441 |
|
442 |
+
/**
|
443 |
+
* Init the entries page.
|
444 |
+
*/
|
445 |
+
public function entries_page() {
|
446 |
+
EVF_Admin_Entries::page_output();
|
447 |
+
}
|
448 |
+
|
449 |
/**
|
450 |
* Init the settings page.
|
451 |
*/
|
470 |
* Validate screen options on update.
|
471 |
*/
|
472 |
public function set_screen_option( $status, $option, $value ) {
|
473 |
+
if ( in_array( $option, array( 'evf_forms_per_page', 'evf_entries_per_page' ), true ) ) {
|
474 |
return $value;
|
475 |
}
|
476 |
|
491 |
$args = array(
|
492 |
'id' => 'everest_forms',
|
493 |
'title' => 'Everest Forms',
|
494 |
+
'href' => admin_url( 'admin.php?page=edit-evf-form' ),
|
495 |
'parent' => 'new-content',
|
496 |
);
|
497 |
$wp_admin_bar->add_node( $args );
|
includes/admin/class-evf-admin-settings.php
CHANGED
@@ -446,7 +446,9 @@ class EVF_Admin_Settings {
|
|
446 |
if ( ! isset( $value['checkboxgroup'] ) || 'start' == $value['checkboxgroup'] ) {
|
447 |
?>
|
448 |
<tr valign="top" class="<?php echo esc_attr( implode( ' ', $visibility_class ) ); ?>">
|
449 |
-
<th scope="row" class="titledesc"
|
|
|
|
|
450 |
<td class="forminp forminp-checkbox">
|
451 |
<fieldset>
|
452 |
<?php
|
@@ -592,6 +594,7 @@ class EVF_Admin_Settings {
|
|
592 |
* @return array The description and tip as a 2 element array
|
593 |
*/
|
594 |
public static function get_field_description( $value ) {
|
|
|
595 |
$description = '';
|
596 |
$tooltip_html = '';
|
597 |
|
446 |
if ( ! isset( $value['checkboxgroup'] ) || 'start' == $value['checkboxgroup'] ) {
|
447 |
?>
|
448 |
<tr valign="top" class="<?php echo esc_attr( implode( ' ', $visibility_class ) ); ?>">
|
449 |
+
<th scope="row" class="titledesc">
|
450 |
+
<label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
|
451 |
+
</th>
|
452 |
<td class="forminp forminp-checkbox">
|
453 |
<fieldset>
|
454 |
<?php
|
594 |
* @return array The description and tip as a 2 element array
|
595 |
*/
|
596 |
public static function get_field_description( $value ) {
|
597 |
+
|
598 |
$description = '';
|
599 |
$tooltip_html = '';
|
600 |
|
includes/admin/class-evf-admin.php
CHANGED
@@ -33,14 +33,14 @@ class EVF_Admin {
|
|
33 |
* Include any classes we need within admin.
|
34 |
*/
|
35 |
public function includes() {
|
36 |
-
include_once
|
37 |
-
include_once
|
38 |
-
include_once
|
39 |
-
include_once
|
40 |
-
include_once
|
41 |
-
include_once
|
42 |
-
include_once
|
43 |
-
|
44 |
}
|
45 |
|
46 |
/**
|
33 |
* Include any classes we need within admin.
|
34 |
*/
|
35 |
public function includes() {
|
36 |
+
include_once dirname( __FILE__ ) . '/evf-admin-functions.php';
|
37 |
+
include_once dirname( __FILE__ ) . '/class-evf-admin-post-types.php';
|
38 |
+
include_once dirname( __FILE__ ) . '/class-evf-admin-menus.php';
|
39 |
+
include_once dirname( __FILE__ ) . '/class-evf-admin-notices.php';
|
40 |
+
include_once dirname( __FILE__ ) . '/class-evf-admin-assets.php';
|
41 |
+
include_once dirname( __FILE__ ) . '/class-evf-admin-form-builder.php';
|
42 |
+
include_once dirname( __FILE__ ) . '/class-evf-add-form.php';
|
43 |
+
include_once dirname( __FILE__ ) . '/class-evf-admin-entries.php';
|
44 |
}
|
45 |
|
46 |
/**
|
includes/admin/evf-admin-functions.php
CHANGED
@@ -278,6 +278,15 @@ function everest_forms_panel_field( $option, $panel, $field, $form_data, $label,
|
|
278 |
case 'checkbox':
|
279 |
$checked = checked( '1', $value, false );
|
280 |
$checkbox = sprintf(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
281 |
'<input type="checkbox" id="everest-forms-panel-field-%s-%s" name="%s" value="1" class="%s" %s %s>',
|
282 |
sanitize_html_class( $panel_id ),
|
283 |
sanitize_html_class( $field ),
|
278 |
case 'checkbox':
|
279 |
$checked = checked( '1', $value, false );
|
280 |
$checkbox = sprintf(
|
281 |
+
'<input type="hidden" id="everest-forms-panel-field-%s-%s" name="%s" value="0" class="%s" %s %s>',
|
282 |
+
sanitize_html_class( $panel_id ),
|
283 |
+
sanitize_html_class( $field ),
|
284 |
+
$field_name,
|
285 |
+
$input_class,
|
286 |
+
$checked,
|
287 |
+
$data_attr
|
288 |
+
);
|
289 |
+
$checkbox .= sprintf(
|
290 |
'<input type="checkbox" id="everest-forms-panel-field-%s-%s" name="%s" value="1" class="%s" %s %s>',
|
291 |
sanitize_html_class( $panel_id ),
|
292 |
sanitize_html_class( $field ),
|
includes/admin/form-panels/class-evf-settings-panel.php
CHANGED
@@ -164,6 +164,20 @@ class EVF_Settings_Panel extends EVF_Admin_Form_Panel {
|
|
164 |
'default' => isset( $this->form->form_class ) ? $this->form->form_class : '',
|
165 |
)
|
166 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
everest_forms_panel_field(
|
168 |
'text',
|
169 |
'settings',
|
164 |
'default' => isset( $this->form->form_class ) ? $this->form->form_class : '',
|
165 |
)
|
166 |
);
|
167 |
+
|
168 |
+
$disable = get_option( 'everest_forms_disable_form_entries' );
|
169 |
+
$disable = $disable === 'yes' ? 1 : 0;
|
170 |
+
|
171 |
+
everest_forms_panel_field(
|
172 |
+
'checkbox',
|
173 |
+
'settings',
|
174 |
+
'disabled_entries',
|
175 |
+
$this->form_data,
|
176 |
+
__( 'Disable Form Entries', 'everest-forms' ),
|
177 |
+
array(
|
178 |
+
'default' => isset( $this->form_setting['disabled_entries'] ) ? $this->form_setting['disabled_entries'] : $disable,
|
179 |
+
)
|
180 |
+
);
|
181 |
everest_forms_panel_field(
|
182 |
'text',
|
183 |
'settings',
|
includes/admin/settings/class-evf-settings-general.php
CHANGED
@@ -55,6 +55,14 @@ if ( ! class_exists( 'EVF_Settings_General', false ) ) :
|
|
55 |
'css' => 'min-width: 350px;',
|
56 |
'default' => __('Submit','everest-forms'),
|
57 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
array(
|
59 |
'title' => __( 'Successful Form Submission Message', 'everest-forms' ),
|
60 |
'desc' => __( 'Enter the text message after successful form submission.', 'everest-forms' ),
|
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' ),
|
includes/admin/settings/class-evf-settings-recaptcha.php
CHANGED
@@ -43,13 +43,13 @@ if ( ! class_exists( 'EVF_Settings_reCAPTCHA', false ) ) :
|
|
43 |
array(
|
44 |
'title' => __( 'Google reCaptcha Integation', 'everest-forms' ),
|
45 |
'type' => 'title',
|
46 |
-
'desc' => '',
|
47 |
'id' => 'integration_options',
|
48 |
),
|
49 |
-
|
50 |
array(
|
51 |
'title' => __( 'Site Key', 'everest-forms' ),
|
52 |
-
'desc' => sprintf( __('Get site key from google %1$s reCaptcha %2$s.', 'everest-forms' ), '<a href="https://www.google.com/recaptcha" target="_blank">', '</a>' ),
|
|
|
53 |
'default' => '',
|
54 |
'type' => 'text',
|
55 |
'class' => '',
|
43 |
array(
|
44 |
'title' => __( 'Google reCaptcha Integation', 'everest-forms' ),
|
45 |
'type' => 'title',
|
46 |
+
'desc' => sprintf( __('Get site key and secret key from google %1$s reCaptcha %2$s.', 'everest-forms' ), '<a href="https://www.google.com/recaptcha" target="_blank">', '</a>' ),
|
47 |
'id' => 'integration_options',
|
48 |
),
|
|
|
49 |
array(
|
50 |
'title' => __( 'Site Key', 'everest-forms' ),
|
51 |
+
'desc' => sprintf( __('Get site key from google %1$s reCaptcha %2$s.', 'everest-forms' ), '<a href="https://www.google.com/recaptcha" target="_blank">', '</a>' ),
|
52 |
+
'id' => 'evf_recaptcha_site_key',
|
53 |
'default' => '',
|
54 |
'type' => 'text',
|
55 |
'class' => '',
|
includes/admin/views/html-admin-page-entries-view.php
ADDED
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Admin View: Entries
|
4 |
+
*
|
5 |
+
* @package EverestForms/Admin/Entries/Views
|
6 |
+
*/
|
7 |
+
|
8 |
+
defined( 'ABSPATH' ) || exit;
|
9 |
+
|
10 |
+
$hide_empty = isset( $_COOKIE['everest_forms_entry_hide_empty'] ) && 'true' === $_COOKIE['everest_forms_entry_hide_empty'];
|
11 |
+
|
12 |
+
?>
|
13 |
+
<div class="wrap everest-forms">
|
14 |
+
<h1 class="wp-heading-inline"><?php esc_html_e( 'View Entry', 'everest-forms' ); ?></h1>
|
15 |
+
<a href="<?php echo esc_url( admin_url( 'admin.php?page=evf-entries&form_id=' . $form_id ) ); ?>" class="page-title-action"><?php esc_html_e( 'Back to All Entries', 'everest-forms' ); ?></a>
|
16 |
+
<hr class="wp-header-end">
|
17 |
+
<div class="everest-forms-entry">
|
18 |
+
<div id="poststuff">
|
19 |
+
<div id="post-body" class="metabox-holder columns-2">
|
20 |
+
<!-- Entry Fields metabox -->
|
21 |
+
<div id="post-body-content" style="position: relative;">
|
22 |
+
<div id="everest-forms-entry-fields" class="postbox">
|
23 |
+
<h2 class="hndle">
|
24 |
+
<span><?php printf( __( '%s : Entry #%s', 'everest-forms' ), esc_html( _draft_or_post_title( $form_id ) ), absint( $entry_id ) ); ?></span>
|
25 |
+
<a href="#" class="everest-forms-empty-field-toggle">
|
26 |
+
<?php echo $hide_empty ? esc_html__( 'Show Empty Fields', 'everest-forms' ) : esc_html__( 'Hide Empty Fields', 'everest-forms' ); ?>
|
27 |
+
</a>
|
28 |
+
</h2>
|
29 |
+
<div class="inside">
|
30 |
+
<table class="wp-list-table widefat fixed striped posts">
|
31 |
+
<tbody>
|
32 |
+
<?php
|
33 |
+
$entry_meta = apply_filters( 'everest_forms_entry_single_data', $entry->meta );
|
34 |
+
|
35 |
+
if ( empty( $entry_meta ) ) {
|
36 |
+
// Whoops, no fields! This shouldn't happen under normal use cases.
|
37 |
+
echo '<p class="no-fields">' . esc_html__( 'This entry does not have any fields.', 'everest-forms' ) . '</p>';
|
38 |
+
} else {
|
39 |
+
// Display the fields and their values.
|
40 |
+
foreach ( $entry_meta as $meta_key => $meta_value ) {
|
41 |
+
$field_value = apply_filters( 'everest_forms_html_field_value', wp_strip_all_tags( $meta_value ) );
|
42 |
+
$field_class = empty( $field_value ) ? ' empty' : '';
|
43 |
+
$field_style = $hide_empty && empty( $field_value ) ? 'display:none;' : '';
|
44 |
+
|
45 |
+
// Field name.
|
46 |
+
echo '<tr class="everest-forms-entry-field field-name' . $field_class . '" style="' . $field_style . '"><th><strong>';
|
47 |
+
/* translators: %d - field ID. */
|
48 |
+
echo ! empty( $meta_key ) ? get_form_data_by_meta_key( $form_id, $meta_key ) : esc_html__( 'Field ID', 'everest-forms' );
|
49 |
+
echo '</strong></th></tr>';
|
50 |
+
|
51 |
+
// Field value.
|
52 |
+
echo '<tr class="everest-forms-entry-field field-value' . $field_class . '" style="' . $field_style . '"><td>';
|
53 |
+
if ( ! empty( $field_value ) ) {
|
54 |
+
if ( is_serialized( $field_value ) ) {
|
55 |
+
$field_value = maybe_unserialize( $field_value );
|
56 |
+
|
57 |
+
foreach ( $field_value as $field => $value ) {
|
58 |
+
echo '<span class="list">' . $value . '</span>';
|
59 |
+
}
|
60 |
+
} else {
|
61 |
+
echo nl2br( make_clickable( $field_value ) );
|
62 |
+
}
|
63 |
+
} else {
|
64 |
+
esc_html_e( 'Empty', 'everest-forms' );
|
65 |
+
}
|
66 |
+
echo '</td></tr>';
|
67 |
+
}
|
68 |
+
}
|
69 |
+
?>
|
70 |
+
</tbody>
|
71 |
+
</table>
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
</div>
|
75 |
+
<!-- Entry Details metabox -->
|
76 |
+
<div id="postbox-container-1" class="postbox-container">
|
77 |
+
<div id="everest-forms-entry-details" class="postbox">
|
78 |
+
<h2 class="hndle">
|
79 |
+
<span><?php esc_html_e( 'Entry Details' , 'everest-forms' ); ?></span>
|
80 |
+
</h2>
|
81 |
+
<div class="inside">
|
82 |
+
<div class="everest-forms-entry-details-meta">
|
83 |
+
<p class="everest-forms-entry-id">
|
84 |
+
<span class="dashicons dashicons-admin-network"></span>
|
85 |
+
<?php esc_html_e( 'Entry ID:', 'everest-forms' ); ?>
|
86 |
+
<strong><?php echo absint( $entry_id ); ?></strong>
|
87 |
+
</p>
|
88 |
+
|
89 |
+
<p class="everest-forms-entry-date">
|
90 |
+
<span class="dashicons dashicons-calendar"></span>
|
91 |
+
<?php esc_html_e( 'Submitted:', 'everest-forms' ); ?>
|
92 |
+
<strong><?php echo date_i18n( esc_html__( 'M j, Y @ g:ia', 'everest-forms' ), strtotime( $entry->date_created ) + ( get_option( 'gmt_offset' ) * 3600 ) ); ?> </strong>
|
93 |
+
</p>
|
94 |
+
|
95 |
+
<?php if ( ! empty( $entry->user_id ) && 0 !== $entry->user_id ) : ?>
|
96 |
+
<p class="everest-forms-entry-user">
|
97 |
+
<span class="dashicons dashicons-admin-users"></span>
|
98 |
+
<?php
|
99 |
+
esc_html_e( 'User:', 'everest-forms' );
|
100 |
+
$user = get_userdata( $entry->user_id );
|
101 |
+
$user_name = esc_html( ! empty( $user->display_name ) ? $user->display_name : $user->user_login );
|
102 |
+
$user_url = esc_url(
|
103 |
+
add_query_arg(
|
104 |
+
array(
|
105 |
+
'user_id' => absint( $user->ID ),
|
106 |
+
),
|
107 |
+
admin_url( 'user-edit.php' )
|
108 |
+
)
|
109 |
+
);
|
110 |
+
?>
|
111 |
+
<strong><a href="<?php echo $user_url; ?>"><?php echo $user_name; ?></a></strong>
|
112 |
+
</p>
|
113 |
+
<?php endif; ?>
|
114 |
+
|
115 |
+
<?php if ( ! empty( $entry->user_ip_address ) ) : ?>
|
116 |
+
<p class="everest-forms-entry-ip">
|
117 |
+
<span class="dashicons dashicons-location"></span>
|
118 |
+
<?php esc_html_e( 'User IP:', 'everest-forms' ); ?>
|
119 |
+
<strong><?php echo esc_html( $entry->user_ip_address ); ?></strong>
|
120 |
+
</p>
|
121 |
+
<?php endif; ?>
|
122 |
+
|
123 |
+
<?php if ( apply_filters( 'everest_forms_entry_details_sidebar_details_status', false, $entry ) ) : ?>
|
124 |
+
<p class="everest-forms-entry-status">
|
125 |
+
<span class="dashicons dashicons-category"></span>
|
126 |
+
<?php esc_html_e( 'Status:', 'everest-forms' ); ?>
|
127 |
+
<strong><?php echo ! empty( $entry->status ) ? ucwords( sanitize_text_field( $entry->status ) ) : esc_html__( 'Completed', 'everest-forms' ); ?></strong>
|
128 |
+
</p>
|
129 |
+
<?php endif; ?>
|
130 |
+
|
131 |
+
<?php do_action( 'everest_forms_entry_details_sidebar_details', $entry, $entry_meta ); ?>
|
132 |
+
</div>
|
133 |
+
|
134 |
+
<div id="major-publishing-actions">
|
135 |
+
<div id="delete-action">
|
136 |
+
<a class="submitdelete" aria-label="<?php echo esc_attr__( 'Move to trash', 'everest-forms' ); ?>" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array(
|
137 |
+
'trash' => $entry_id,
|
138 |
+
), admin_url( 'admin.php?page=evf-entries&form_id=' . $form_id ) ), 'trash-entry' ) ); ?>"><?php esc_html_e( 'Move to trash', 'everest-forms' ); ?></a>
|
139 |
+
</div>
|
140 |
+
<div class="clear"></div>
|
141 |
+
</div>
|
142 |
+
</div>
|
143 |
+
</div>
|
144 |
+
</div>
|
145 |
+
</div>
|
146 |
+
</div>
|
147 |
+
</div>
|
148 |
+
</div>
|
149 |
+
<!-- Toggle displaying empty fields. -->
|
150 |
+
<script type="text/javascript">
|
151 |
+
jQuery( document ).on( 'click', '#everest-forms-entry-fields .everest-forms-empty-field-toggle', function( event ) {
|
152 |
+
event.preventDefault();
|
153 |
+
|
154 |
+
// Handle cookie.
|
155 |
+
if ( wpCookies.get( 'everest_forms_entry_hide_empty' ) === 'true' ) {
|
156 |
+
|
157 |
+
// User was hiding empty fields, so now display them.
|
158 |
+
wpCookies.remove( 'everest_forms_entry_hide_empty' );
|
159 |
+
jQuery( this ).text( 'Hide Empty Fields' );
|
160 |
+
} else {
|
161 |
+
|
162 |
+
// User was seeing empty fields, so now hide them.
|
163 |
+
wpCookies.set( 'everest_forms_entry_hide_empty', 'true', 2592000 ); // 1month.
|
164 |
+
jQuery( this ).text( 'Show Empty Fields' );
|
165 |
+
}
|
166 |
+
|
167 |
+
jQuery( '.everest-forms-entry-field.empty' ).toggle();
|
168 |
+
});
|
169 |
+
</script>
|
includes/class-everest-forms.php
CHANGED
@@ -21,13 +21,12 @@ final class EverestForms {
|
|
21 |
*
|
22 |
* @var string
|
23 |
*/
|
24 |
-
public $version = '1.0
|
25 |
|
26 |
/**
|
27 |
* The form data handler instance.
|
28 |
*
|
29 |
-
* @since
|
30 |
-
*
|
31 |
* @var object everest_forms_Form_Handler
|
32 |
*/
|
33 |
public $form;
|
@@ -35,12 +34,21 @@ final class EverestForms {
|
|
35 |
/**
|
36 |
* The entry data handler instance.
|
37 |
*
|
38 |
-
* @since
|
39 |
*
|
40 |
-
* @var
|
41 |
*/
|
42 |
public $entry;
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
/*
|
45 |
* Number of grid in form
|
46 |
*/
|
@@ -145,6 +153,8 @@ final class EverestForms {
|
|
145 |
add_action( 'init', array( $this, 'init' ), 0 );
|
146 |
add_action( 'init', array( 'EVF_Shortcodes', 'init' ) );
|
147 |
add_action( 'init', array( 'EVF_Template_Loader', 'init' ) );
|
|
|
|
|
148 |
}
|
149 |
|
150 |
/**
|
@@ -304,6 +314,7 @@ final class EverestForms {
|
|
304 |
|
305 |
// Global objects.
|
306 |
$this->form = new EVF_Form_Handler;
|
|
|
307 |
//$this->frontend = new EVF_Forms_Frontend;
|
308 |
$this->task = new EVF_Form_Task;
|
309 |
//$this->smart_tags = new EVF_Forms_Smart_Tags;
|
@@ -365,4 +376,13 @@ final class EverestForms {
|
|
365 |
public function ajax_url() {
|
366 |
return admin_url( 'admin-ajax.php', 'relative' );
|
367 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
368 |
}
|
21 |
*
|
22 |
* @var string
|
23 |
*/
|
24 |
+
public $version = '1.1.0';
|
25 |
|
26 |
/**
|
27 |
* The form data handler instance.
|
28 |
*
|
29 |
+
* @since 1.0.0
|
|
|
30 |
* @var object everest_forms_Form_Handler
|
31 |
*/
|
32 |
public $form;
|
34 |
/**
|
35 |
* The entry data handler instance.
|
36 |
*
|
37 |
+
* @since 1.1.0
|
38 |
*
|
39 |
+
* @var EVF_Entry_Handler
|
40 |
*/
|
41 |
public $entry;
|
42 |
|
43 |
+
/**
|
44 |
+
* The entry meta data handler instance.
|
45 |
+
*
|
46 |
+
* @since 1.1.0
|
47 |
+
*
|
48 |
+
* @var EVF_Entry_Meta_Handler
|
49 |
+
*/
|
50 |
+
public $entry_meta;
|
51 |
+
|
52 |
/*
|
53 |
* Number of grid in form
|
54 |
*/
|
153 |
add_action( 'init', array( $this, 'init' ), 0 );
|
154 |
add_action( 'init', array( 'EVF_Shortcodes', 'init' ) );
|
155 |
add_action( 'init', array( 'EVF_Template_Loader', 'init' ) );
|
156 |
+
add_action( 'init', array( $this, 'wpdb_table_fix' ), 0 );
|
157 |
+
add_action( 'switch_blog', array( $this, 'wpdb_table_fix' ), 0 );
|
158 |
}
|
159 |
|
160 |
/**
|
314 |
|
315 |
// Global objects.
|
316 |
$this->form = new EVF_Form_Handler;
|
317 |
+
|
318 |
//$this->frontend = new EVF_Forms_Frontend;
|
319 |
$this->task = new EVF_Form_Task;
|
320 |
//$this->smart_tags = new EVF_Forms_Smart_Tags;
|
376 |
public function ajax_url() {
|
377 |
return admin_url( 'admin-ajax.php', 'relative' );
|
378 |
}
|
379 |
+
|
380 |
+
/**
|
381 |
+
* Everest Forms Entry Meta - set table names.
|
382 |
+
*/
|
383 |
+
public function wpdb_table_fix() {
|
384 |
+
global $wpdb;
|
385 |
+
$wpdb->form_entrymeta = $wpdb->prefix . 'evf_entrymeta';
|
386 |
+
$wpdb->tables[] = 'evf_entrymeta';
|
387 |
+
}
|
388 |
}
|
includes/class-evf-autoloader.php
CHANGED
@@ -1,16 +1,15 @@
|
|
1 |
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
-
exit;
|
4 |
-
}
|
5 |
-
|
6 |
/**
|
7 |
* EverestForms Autoloader.
|
8 |
*
|
9 |
-
* @
|
10 |
-
* @
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
14 |
*/
|
15 |
class EVF_Autoloader {
|
16 |
|
@@ -22,11 +21,11 @@ class EVF_Autoloader {
|
|
22 |
private $include_path = '';
|
23 |
|
24 |
/**
|
25 |
-
*
|
26 |
*/
|
27 |
public function __construct() {
|
28 |
-
if ( function_exists(
|
29 |
-
spl_autoload_register(
|
30 |
}
|
31 |
|
32 |
spl_autoload_register( array( $this, 'autoload' ) );
|
@@ -37,8 +36,7 @@ class EVF_Autoloader {
|
|
37 |
/**
|
38 |
* Take a class name and turn it into a file name.
|
39 |
*
|
40 |
-
* @param string $class
|
41 |
-
*
|
42 |
* @return string
|
43 |
*/
|
44 |
private function get_file_name_from_class( $class ) {
|
@@ -48,24 +46,21 @@ class EVF_Autoloader {
|
|
48 |
/**
|
49 |
* Include a class file.
|
50 |
*
|
51 |
-
* @param string $path
|
52 |
-
*
|
53 |
* @return bool successful or not
|
54 |
*/
|
55 |
private function load_file( $path ) {
|
56 |
if ( $path && is_readable( $path ) ) {
|
57 |
-
include_once
|
58 |
-
|
59 |
return true;
|
60 |
}
|
61 |
-
|
62 |
return false;
|
63 |
}
|
64 |
|
65 |
/**
|
66 |
* Auto-load EVF classes on demand to reduce memory consumption.
|
67 |
*
|
68 |
-
* @param string $class
|
69 |
*/
|
70 |
public function autoload( $class ) {
|
71 |
$class = strtolower( $class );
|
1 |
<?php
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
* EverestForms Autoloader.
|
4 |
*
|
5 |
+
* @package EverestForms\Classes
|
6 |
+
* @since 1.0.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
+
/**
|
12 |
+
* EVF_Autoloader Class.
|
13 |
*/
|
14 |
class EVF_Autoloader {
|
15 |
|
21 |
private $include_path = '';
|
22 |
|
23 |
/**
|
24 |
+
* Class Constructor Method.
|
25 |
*/
|
26 |
public function __construct() {
|
27 |
+
if ( function_exists( '__autoload' ) ) {
|
28 |
+
spl_autoload_register( '__autoload' );
|
29 |
}
|
30 |
|
31 |
spl_autoload_register( array( $this, 'autoload' ) );
|
36 |
/**
|
37 |
* Take a class name and turn it into a file name.
|
38 |
*
|
39 |
+
* @param string $class Class name.
|
|
|
40 |
* @return string
|
41 |
*/
|
42 |
private function get_file_name_from_class( $class ) {
|
46 |
/**
|
47 |
* Include a class file.
|
48 |
*
|
49 |
+
* @param string $path The path to file.
|
|
|
50 |
* @return bool successful or not
|
51 |
*/
|
52 |
private function load_file( $path ) {
|
53 |
if ( $path && is_readable( $path ) ) {
|
54 |
+
include_once $path;
|
|
|
55 |
return true;
|
56 |
}
|
|
|
57 |
return false;
|
58 |
}
|
59 |
|
60 |
/**
|
61 |
* Auto-load EVF classes on demand to reduce memory consumption.
|
62 |
*
|
63 |
+
* @param string $class Class name.
|
64 |
*/
|
65 |
public function autoload( $class ) {
|
66 |
$class = strtolower( $class );
|
includes/class-evf-form-handler.php
CHANGED
@@ -11,13 +11,6 @@
|
|
11 |
*/
|
12 |
class EVF_Form_Handler {
|
13 |
|
14 |
-
/**
|
15 |
-
* Constructor.
|
16 |
-
*/
|
17 |
-
public function __construct() {
|
18 |
-
|
19 |
-
}
|
20 |
-
|
21 |
/**
|
22 |
* Fetches forms
|
23 |
*
|
@@ -41,23 +34,23 @@ class EVF_Form_Handler {
|
|
41 |
$forms = get_post( absint( $id ) );
|
42 |
|
43 |
if ( ! empty( $args['content_only'] ) && ! empty( $forms ) && 'everest_form' === $forms->post_type ) {
|
44 |
-
|
45 |
$forms = evf_decode( $forms->post_content );
|
46 |
}
|
47 |
} else {
|
48 |
|
|
|
49 |
// No ID provided, get multiple forms
|
50 |
$defaults = array(
|
51 |
-
'post_type' => '
|
52 |
'orderby' => 'id',
|
53 |
-
'order' => '
|
54 |
'no_found_rows' => true,
|
55 |
'nopaging' => true,
|
56 |
);
|
57 |
|
58 |
$args = wp_parse_args( $args, $defaults );
|
59 |
|
60 |
-
$args['post_type'] = '
|
61 |
|
62 |
$forms = get_posts( $args );
|
63 |
}
|
@@ -289,6 +282,37 @@ class EVF_Form_Handler {
|
|
289 |
return true;
|
290 |
}
|
291 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
292 |
/**
|
293 |
* Get the next available field ID and increment by one.
|
294 |
*
|
@@ -346,4 +370,24 @@ class EVF_Form_Handler {
|
|
346 |
|
347 |
return isset( $data['form_fields'][ $field_id ] ) ? $data['form_fields'][ $field_id ] : false;
|
348 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
}
|
11 |
*/
|
12 |
class EVF_Form_Handler {
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
/**
|
15 |
* Fetches forms
|
16 |
*
|
34 |
$forms = get_post( absint( $id ) );
|
35 |
|
36 |
if ( ! empty( $args['content_only'] ) && ! empty( $forms ) && 'everest_form' === $forms->post_type ) {
|
|
|
37 |
$forms = evf_decode( $forms->post_content );
|
38 |
}
|
39 |
} else {
|
40 |
|
41 |
+
|
42 |
// No ID provided, get multiple forms
|
43 |
$defaults = array(
|
44 |
+
'post_type' => 'everest_form',
|
45 |
'orderby' => 'id',
|
46 |
+
'order' => 'DESC',
|
47 |
'no_found_rows' => true,
|
48 |
'nopaging' => true,
|
49 |
);
|
50 |
|
51 |
$args = wp_parse_args( $args, $defaults );
|
52 |
|
53 |
+
$args['post_type'] = 'everest_form';
|
54 |
|
55 |
$forms = get_posts( $args );
|
56 |
}
|
282 |
return true;
|
283 |
}
|
284 |
|
285 |
+
/**
|
286 |
+
* Get private meta information for a form.
|
287 |
+
*
|
288 |
+
* @since 1.1.0
|
289 |
+
*
|
290 |
+
* @param string $form_id
|
291 |
+
* @param string $field
|
292 |
+
*
|
293 |
+
* @return bool
|
294 |
+
*/
|
295 |
+
public function get_meta( $form_id, $field = '' ) {
|
296 |
+
|
297 |
+
if ( empty( $form_id ) ) {
|
298 |
+
return false;
|
299 |
+
}
|
300 |
+
|
301 |
+
$data = $this->get( $form_id, array(
|
302 |
+
'content_only' => true,
|
303 |
+
) );
|
304 |
+
|
305 |
+
if ( isset( $data['meta'] ) ) {
|
306 |
+
if ( empty( $field ) ) {
|
307 |
+
return $data['meta'];
|
308 |
+
} elseif ( isset( $data['meta'][ $field ] ) ) {
|
309 |
+
return $data['meta'][ $field ];
|
310 |
+
}
|
311 |
+
}
|
312 |
+
|
313 |
+
return false;
|
314 |
+
}
|
315 |
+
|
316 |
/**
|
317 |
* Get the next available field ID and increment by one.
|
318 |
*
|
370 |
|
371 |
return isset( $data['form_fields'][ $field_id ] ) ? $data['form_fields'][ $field_id ] : false;
|
372 |
}
|
373 |
+
|
374 |
+
/**
|
375 |
+
* Get private meta information for a form field.
|
376 |
+
*
|
377 |
+
* @since 1.0.0
|
378 |
+
*
|
379 |
+
* @param string $form_id
|
380 |
+
* @param string $field
|
381 |
+
*
|
382 |
+
* @return bool
|
383 |
+
*/
|
384 |
+
public function get_field_meta( $form_id, $field = '' ) {
|
385 |
+
|
386 |
+
$field = $this->get_field( $form_id, $field );
|
387 |
+
if ( ! $field ) {
|
388 |
+
return false;
|
389 |
+
}
|
390 |
+
|
391 |
+
return isset( $field['meta'] ) ? $field['meta'] : false;
|
392 |
+
}
|
393 |
}
|
includes/class-evf-form-task.php
CHANGED
@@ -100,7 +100,7 @@ class EVF_Form_Task {
|
|
100 |
$field_submit = isset( $entry['form_fields'][ $field_id ] ) ? $entry['form_fields'][ $field_id ] : '';
|
101 |
do_action( "everest_forms_process_validate_{$field_type}", $field_id, $field_type, $field_submit, $form_data );
|
102 |
}
|
103 |
-
|
104 |
// Recaptcha Validation
|
105 |
if( isset( $form_data['settings']['recaptcha_support'] ) && 1 == $form_data['settings']['recaptcha_support'] && empty( $_POST['g-recaptcha-response'] ) ){
|
106 |
evf_add_notice( get_option('evf_recaptcha_validation', __('Invalid recaptcha code.', 'everest-forms') ),'error');
|
@@ -224,7 +224,7 @@ class EVF_Form_Task {
|
|
224 |
* @param string $hash
|
225 |
*/
|
226 |
public function entry_confirmation_redirect( $form_data = '', $hash = '' ) {
|
227 |
-
|
228 |
$_POST = array(); //clear fields after successful form submission
|
229 |
|
230 |
if ( ! empty( $hash ) ) {
|
@@ -240,7 +240,7 @@ class EVF_Form_Task {
|
|
240 |
'content_only' => true,
|
241 |
) );
|
242 |
}
|
243 |
-
$settings = $form_data['settings'];
|
244 |
if( isset( $settings['redirect_to'] ) && '1' == $settings['redirect_to'] ) {
|
245 |
?>
|
246 |
<script>
|
@@ -308,9 +308,6 @@ class EVF_Form_Task {
|
|
308 |
|
309 |
$email_notifications = isset( $form_data['settings']['email'] ) ? $form_data['settings']['email'] : array();
|
310 |
|
311 |
-
// $this->send_entry_email( $entry, $form_data );
|
312 |
-
|
313 |
-
|
314 |
if ( empty( $email_notifications['evf_to_email'] ) ) {
|
315 |
return;
|
316 |
}
|
@@ -328,7 +325,7 @@ class EVF_Form_Task {
|
|
328 |
$field_value = isset( $entry['form_fields'][ $field_key ] ) ? $entry['form_fields'][ $field_key ] : '';
|
329 |
|
330 |
if( $field_type == 'email' ){
|
331 |
-
$user_email = $field_value;
|
332 |
}
|
333 |
if ( ! empty( $field_type ) ) {
|
334 |
|
@@ -380,59 +377,6 @@ class EVF_Form_Task {
|
|
380 |
|
381 |
}
|
382 |
|
383 |
-
/**
|
384 |
-
* @param $entry
|
385 |
-
* @param $form_data
|
386 |
-
*
|
387 |
-
* @return bool
|
388 |
-
*/
|
389 |
-
// public function send_entry_email( $entry, $form_data ) {
|
390 |
-
|
391 |
-
// $send_entry_email = apply_filters( 'everest_forms_entry_data_email', true );
|
392 |
-
|
393 |
-
// if ( ! $send_entry_email ) {
|
394 |
-
|
395 |
-
// return false;
|
396 |
-
// }
|
397 |
-
|
398 |
-
// $form_fields = isset( $form_data['form_fields'] ) ? $form_data['form_fields'] : array();
|
399 |
-
|
400 |
-
// $data_html = '';
|
401 |
-
|
402 |
-
// foreach ( $form_fields as $field_key => $field ) {
|
403 |
-
|
404 |
-
// $field_type = isset( $field['type'] ) ? $field['type'] : '';
|
405 |
-
|
406 |
-
// $label = isset( $field['label'] ) ? $field['label'] : '';
|
407 |
-
|
408 |
-
// $field_value = isset( $entry['form_fields'][ $field_key ] ) ? $entry['form_fields'][ $field_key ] : '';
|
409 |
-
|
410 |
-
// if ( ! empty( $field_type ) ) {
|
411 |
-
|
412 |
-
// $process_field_email = apply_filters( 'everest_forms_entry_email_' . $field_type, true );
|
413 |
-
|
414 |
-
// if ( $process_field_email ) {
|
415 |
-
|
416 |
-
// if ( is_array( $field_value ) ) {
|
417 |
-
// $field_value = implode( ',', $field_value );
|
418 |
-
// }
|
419 |
-
// $data_html .= $label . ' : ' . $field_value . PHP_EOL;
|
420 |
-
|
421 |
-
// }
|
422 |
-
// }
|
423 |
-
// }
|
424 |
-
|
425 |
-
// $admin_email = get_option( 'admin_email' );
|
426 |
-
|
427 |
-
// $emails = new EVF_Emails;
|
428 |
-
|
429 |
-
// $status = $emails->send( $admin_email, __( 'New entry recieved', 'everest-forms' ), $data_html );
|
430 |
-
|
431 |
-
|
432 |
-
// $_POST['evf_success'] = isset( $status ) ? true : false;
|
433 |
-
|
434 |
-
// return $status;
|
435 |
-
// }
|
436 |
|
437 |
/**
|
438 |
* Saves entry to database.
|
@@ -447,9 +391,58 @@ class EVF_Form_Task {
|
|
447 |
* @return int
|
448 |
*/
|
449 |
public function entry_save( $fields, $entry, $form_id, $form_data = '' ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
|
451 |
do_action( 'everest_forms_process_entry_save', $fields, $entry, $form_id, $form_data );
|
452 |
|
453 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
454 |
}
|
455 |
}
|
100 |
$field_submit = isset( $entry['form_fields'][ $field_id ] ) ? $entry['form_fields'][ $field_id ] : '';
|
101 |
do_action( "everest_forms_process_validate_{$field_type}", $field_id, $field_type, $field_submit, $form_data );
|
102 |
}
|
103 |
+
|
104 |
// Recaptcha Validation
|
105 |
if( isset( $form_data['settings']['recaptcha_support'] ) && 1 == $form_data['settings']['recaptcha_support'] && empty( $_POST['g-recaptcha-response'] ) ){
|
106 |
evf_add_notice( get_option('evf_recaptcha_validation', __('Invalid recaptcha code.', 'everest-forms') ),'error');
|
224 |
* @param string $hash
|
225 |
*/
|
226 |
public function entry_confirmation_redirect( $form_data = '', $hash = '' ) {
|
227 |
+
|
228 |
$_POST = array(); //clear fields after successful form submission
|
229 |
|
230 |
if ( ! empty( $hash ) ) {
|
240 |
'content_only' => true,
|
241 |
) );
|
242 |
}
|
243 |
+
$settings = $form_data['settings'];
|
244 |
if( isset( $settings['redirect_to'] ) && '1' == $settings['redirect_to'] ) {
|
245 |
?>
|
246 |
<script>
|
308 |
|
309 |
$email_notifications = isset( $form_data['settings']['email'] ) ? $form_data['settings']['email'] : array();
|
310 |
|
|
|
|
|
|
|
311 |
if ( empty( $email_notifications['evf_to_email'] ) ) {
|
312 |
return;
|
313 |
}
|
325 |
$field_value = isset( $entry['form_fields'][ $field_key ] ) ? $entry['form_fields'][ $field_key ] : '';
|
326 |
|
327 |
if( $field_type == 'email' ){
|
328 |
+
$user_email = $field_value;
|
329 |
}
|
330 |
if ( ! empty( $field_type ) ) {
|
331 |
|
377 |
|
378 |
}
|
379 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
380 |
|
381 |
/**
|
382 |
* Saves entry to database.
|
391 |
* @return int
|
392 |
*/
|
393 |
public function entry_save( $fields, $entry, $form_id, $form_data = '' ) {
|
394 |
+
global $wpdb;
|
395 |
+
|
396 |
+
if ( isset( $form_data['settings']['disabled_entries'] ) && '1' === $form_data['settings']['disabled_entries'] ) {
|
397 |
+
return;
|
398 |
+
}
|
399 |
+
|
400 |
+
$browser = evf_get_browser();
|
401 |
|
402 |
do_action( 'everest_forms_process_entry_save', $fields, $entry, $form_id, $form_data );
|
403 |
|
404 |
+
$entry_data = array(
|
405 |
+
'form_id' => $form_id,
|
406 |
+
'user_id' => get_current_user_id(),
|
407 |
+
'user_device' => $browser['name'] . '/' . $browser['platform'],
|
408 |
+
'user_ip_address' => evf_get_ip_address(),
|
409 |
+
'status' => 'publish',
|
410 |
+
'referer' => $_SERVER['HTTP_REFERER'],
|
411 |
+
'date_created' => current_time( 'mysql' )
|
412 |
+
);
|
413 |
+
|
414 |
+
if ( ! $entry_data['form_id'] ) {
|
415 |
+
return new WP_Error( 'no-form-id', __( 'No form ID was found.', 'everest-forms' ) );
|
416 |
+
}
|
417 |
+
|
418 |
+
$success = $wpdb->insert( $wpdb->prefix . 'evf_entries', $entry_data );
|
419 |
+
|
420 |
+
if ( is_wp_error( $success ) || ! $success ) {
|
421 |
+
return new WP_Error( 'could-not-create', __( 'Could not create an entry', 'everest-forms' ) );
|
422 |
+
}
|
423 |
+
|
424 |
+
$entry_id = $wpdb->insert_id;
|
425 |
+
|
426 |
+
$form_fields = isset( $form_data['form_fields'] ) ? $form_data['form_fields'] : array();
|
427 |
+
|
428 |
+
foreach ( $form_fields as $field_key => $field ) {
|
429 |
+
|
430 |
+
$meta_key = isset( $field['meta-key'] ) ? $field['meta-key'] : '';
|
431 |
+
|
432 |
+
$field_value = isset( $entry['form_fields'][ $field_key ] ) ? $entry['form_fields'][ $field_key ] : '';
|
433 |
+
|
434 |
+
if ( is_array( $field_value ) ) {
|
435 |
+
$field_value = serialize( $field_value );
|
436 |
+
}
|
437 |
+
|
438 |
+
$entry_metadata = array(
|
439 |
+
'entry_id' => $entry_id,
|
440 |
+
'meta_key' => $meta_key,
|
441 |
+
'meta_value' => $field_value,
|
442 |
+
);
|
443 |
+
$wpdb->insert( $wpdb->prefix . 'evf_entrymeta', $entry_metadata );
|
444 |
+
}
|
445 |
+
|
446 |
+
do_action( 'everest_forms_complete_entry_save', $fields, $entry, $form_id, $form_data);
|
447 |
}
|
448 |
}
|
includes/class-evf-install.php
CHANGED
@@ -25,6 +25,16 @@ class EVF_Install {
|
|
25 |
'1.0.1' => array(
|
26 |
'evf_update_101_db_version',
|
27 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
);
|
29 |
|
30 |
/**
|
@@ -312,6 +322,27 @@ class EVF_Install {
|
|
312 |
}
|
313 |
|
314 |
$tables = "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
CREATE TABLE {$wpdb->prefix}evf_sessions (
|
316 |
session_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
317 |
session_key char(32) NOT NULL,
|
25 |
'1.0.1' => array(
|
26 |
'evf_update_101_db_version',
|
27 |
),
|
28 |
+
'1.0.2' => array(
|
29 |
+
'evf_update_102_db_version',
|
30 |
+
),
|
31 |
+
'1.0.3' => array(
|
32 |
+
'evf_update_103_db_version',
|
33 |
+
),
|
34 |
+
'1.1.0' => array(
|
35 |
+
'evf_update_110_update_forms',
|
36 |
+
'evf_update_110_db_version',
|
37 |
+
),
|
38 |
);
|
39 |
|
40 |
/**
|
322 |
}
|
323 |
|
324 |
$tables = "
|
325 |
+
CREATE TABLE {$wpdb->prefix}evf_entries (
|
326 |
+
entry_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
327 |
+
form_id BIGINT UNSIGNED NOT NULL,
|
328 |
+
user_id BIGINT UNSIGNED NOT NULL,
|
329 |
+
user_device varchar(100) NOT NULL,
|
330 |
+
user_ip_address VARCHAR(100) NULL DEFAULT '',
|
331 |
+
referer text NOT NULL,
|
332 |
+
status varchar(20) NOT NULL,
|
333 |
+
date_created datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
334 |
+
PRIMARY KEY (entry_id),
|
335 |
+
KEY form_id (form_id)
|
336 |
+
) $charset_collate;
|
337 |
+
CREATE TABLE {$wpdb->prefix}evf_entrymeta (
|
338 |
+
meta_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
339 |
+
entry_id BIGINT UNSIGNED NOT NULL,
|
340 |
+
meta_key varchar(255) default NULL,
|
341 |
+
meta_value longtext NULL,
|
342 |
+
PRIMARY KEY (meta_id),
|
343 |
+
KEY entry_id (entry_id),
|
344 |
+
KEY meta_key (meta_key(32))
|
345 |
+
) $charset_collate;
|
346 |
CREATE TABLE {$wpdb->prefix}evf_sessions (
|
347 |
session_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
348 |
session_key char(32) NOT NULL,
|
includes/evf-core-functions.php
CHANGED
@@ -16,6 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
include EVF_ABSPATH . 'includes/evf-user-functions.php';
|
17 |
require EVF_ABSPATH . 'includes/evf-deprecated-functions.php';
|
18 |
include EVF_ABSPATH . 'includes/evf-formatting-functions.php';
|
|
|
19 |
|
20 |
/**
|
21 |
* Define a constant if it is not already defined.
|
@@ -1006,30 +1007,186 @@ function evf_sender_name() {
|
|
1006 |
}
|
1007 |
|
1008 |
function evf_sender_address() {
|
1009 |
-
$sitename = strtolower( $_SERVER['SERVER_NAME'] );
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
|
1014 |
-
|
1015 |
$sender_email = get_option( 'evf_forms_email_from_address', $from_email );
|
1016 |
|
1017 |
return $sender_email;
|
1018 |
}
|
1019 |
|
1020 |
-
function evf_get_all_forms() {
|
1021 |
-
|
1022 |
-
$
|
1023 |
'post_type' => 'everest_form',
|
1024 |
'status' => 'publish',
|
1025 |
-
);
|
1026 |
-
|
1027 |
-
$posts_array = get_posts( $args );
|
1028 |
|
1029 |
foreach ( $posts_array as $post ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
1030 |
|
1031 |
$all_forms[ $post->ID ] = $post->post_title;
|
1032 |
}
|
1033 |
|
1034 |
return $all_forms;
|
1035 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
include EVF_ABSPATH . 'includes/evf-user-functions.php';
|
17 |
require EVF_ABSPATH . 'includes/evf-deprecated-functions.php';
|
18 |
include EVF_ABSPATH . 'includes/evf-formatting-functions.php';
|
19 |
+
include EVF_ABSPATH . 'includes/evf-entry-functions.php';
|
20 |
|
21 |
/**
|
22 |
* Define a constant if it is not already defined.
|
1007 |
}
|
1008 |
|
1009 |
function evf_sender_address() {
|
1010 |
+
$sitename = isset( $_SERVER['SERVER_NAME'] ) ? strtolower( $_SERVER['SERVER_NAME'] ) : '';
|
1011 |
+
if ( substr( $sitename, 0, 4 ) == 'www.' ) {
|
1012 |
+
$sitename = substr( $sitename, 4 );
|
1013 |
+
}
|
1014 |
|
1015 |
+
$from_email = 'wordpress@' . $sitename;
|
1016 |
$sender_email = get_option( 'evf_forms_email_from_address', $from_email );
|
1017 |
|
1018 |
return $sender_email;
|
1019 |
}
|
1020 |
|
1021 |
+
function evf_get_all_forms( $skip_disabled_entries = false ) {
|
1022 |
+
$all_forms = array();
|
1023 |
+
$posts_array = get_posts( array(
|
1024 |
'post_type' => 'everest_form',
|
1025 |
'status' => 'publish',
|
1026 |
+
) );
|
|
|
|
|
1027 |
|
1028 |
foreach ( $posts_array as $post ) {
|
1029 |
+
$form_obj = EVF()->form->get( $post->ID );
|
1030 |
+
$form_data = ! empty( $form_obj->post_content ) ? evf_decode( $form_obj->post_content ) : '';
|
1031 |
+
|
1032 |
+
if ( $skip_disabled_entries && ( isset( $form_data['settings']['disabled_entries'] ) && '1' === $form_data['settings']['disabled_entries'] ) ) {
|
1033 |
+
continue;
|
1034 |
+
}
|
1035 |
|
1036 |
$all_forms[ $post->ID ] = $post->post_title;
|
1037 |
}
|
1038 |
|
1039 |
return $all_forms;
|
1040 |
}
|
1041 |
+
|
1042 |
+
function evf_get_meta_key_field_option( $field ) {
|
1043 |
+
|
1044 |
+
$random_number = rand( pow(10, 3 ), pow( 10, 4 ) -1 );
|
1045 |
+
return strtolower( str_replace( " ", "_", $field['label'] ) ) . '_' . $random_number;
|
1046 |
+
}
|
1047 |
+
|
1048 |
+
/**
|
1049 |
+
* Get current user IP Address.
|
1050 |
+
*
|
1051 |
+
* @return string
|
1052 |
+
*/
|
1053 |
+
function evf_get_ip_address() {
|
1054 |
+
if ( isset( $_SERVER['HTTP_X_REAL_IP'] ) ) { // WPCS: input var ok, CSRF ok.
|
1055 |
+
return sanitize_text_field( wp_unslash( $_SERVER['HTTP_X_REAL_IP'] ) ); // WPCS: input var ok, CSRF ok.
|
1056 |
+
} elseif ( isset( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) { // WPCS: input var ok, CSRF ok.
|
1057 |
+
// Proxy servers can send through this header like this: X-Forwarded-For: client1, proxy1, proxy2
|
1058 |
+
// Make sure we always only send through the first IP in the list which should always be the client IP.
|
1059 |
+
return (string) rest_is_ip_address( trim( current( preg_split( '/[,:]/', sanitize_text_field( wp_unslash( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) ) ) ) ); // WPCS: input var ok, CSRF ok.
|
1060 |
+
} elseif ( isset( $_SERVER['REMOTE_ADDR'] ) ) { // @codingStandardsIgnoreLine
|
1061 |
+
return sanitize_text_field( wp_unslash( $_SERVER['REMOTE_ADDR'] ) ); // @codingStandardsIgnoreLine
|
1062 |
+
}
|
1063 |
+
return '';
|
1064 |
+
}
|
1065 |
+
|
1066 |
+
/**
|
1067 |
+
* Get User Agent browser and OS type
|
1068 |
+
*
|
1069 |
+
* @since 1.1.0
|
1070 |
+
* @return array
|
1071 |
+
*/
|
1072 |
+
function evf_get_browser() {
|
1073 |
+
$u_agent = $_SERVER['HTTP_USER_AGENT'];
|
1074 |
+
$bname = 'Unknown';
|
1075 |
+
$platform = 'Unknown';
|
1076 |
+
$version = '';
|
1077 |
+
|
1078 |
+
// First get the platform.
|
1079 |
+
if ( preg_match( '/linux/i', $u_agent ) ) {
|
1080 |
+
$platform = 'Linux';
|
1081 |
+
} elseif ( preg_match( '/macintosh|mac os x/i', $u_agent ) ) {
|
1082 |
+
$platform = 'MAC OS';
|
1083 |
+
} elseif ( preg_match( '/windows|win32/i', $u_agent ) ) {
|
1084 |
+
$platform = 'Windows';
|
1085 |
+
}
|
1086 |
+
|
1087 |
+
// Next get the name of the useragent yes seperately and for good reason.
|
1088 |
+
if ( preg_match( '/MSIE/i',$u_agent ) && ! preg_match( '/Opera/i',$u_agent ) ) {
|
1089 |
+
$bname = 'Internet Explorer';
|
1090 |
+
$ub = 'MSIE';
|
1091 |
+
} elseif ( preg_match( '/Trident/i',$u_agent ) ) {
|
1092 |
+
// this condition is for IE11
|
1093 |
+
$bname = 'Internet Explorer';
|
1094 |
+
$ub = 'rv';
|
1095 |
+
} elseif ( preg_match( '/Firefox/i',$u_agent ) ) {
|
1096 |
+
$bname = 'Mozilla Firefox';
|
1097 |
+
$ub = 'Firefox';
|
1098 |
+
} elseif ( preg_match( '/Chrome/i',$u_agent ) ) {
|
1099 |
+
$bname = 'Google Chrome';
|
1100 |
+
$ub = 'Chrome';
|
1101 |
+
} elseif ( preg_match( '/Safari/i',$u_agent ) ) {
|
1102 |
+
$bname = 'Apple Safari';
|
1103 |
+
$ub = 'Safari';
|
1104 |
+
} elseif ( preg_match( '/Opera/i',$u_agent ) ) {
|
1105 |
+
$bname = 'Opera';
|
1106 |
+
$ub = 'Opera';
|
1107 |
+
} elseif ( preg_match( '/Netscape/i',$u_agent ) ) {
|
1108 |
+
$bname = 'Netscape';
|
1109 |
+
$ub = 'Netscape';
|
1110 |
+
}
|
1111 |
+
|
1112 |
+
// Finally get the correct version number.
|
1113 |
+
// Added "|:"
|
1114 |
+
$known = array( 'Version', $ub, 'other' );
|
1115 |
+
$pattern = '#(?<browser>' . join( '|', $known ) .
|
1116 |
+
')[/|: ]+(?<version>[0-9.|a-zA-Z.]*)#';
|
1117 |
+
if ( ! preg_match_all( $pattern, $u_agent, $matches ) ) {
|
1118 |
+
// We have no matching number just continue.
|
1119 |
+
}
|
1120 |
+
|
1121 |
+
// See how many we have.
|
1122 |
+
$i = count( $matches['browser'] );
|
1123 |
+
|
1124 |
+
if ( $i != 1 ) {
|
1125 |
+
// we will have two since we are not using 'other' argument yet.
|
1126 |
+
// see if version is before or after the name.
|
1127 |
+
if ( strripos( $u_agent,'Version' ) < strripos( $u_agent,$ub ) ) {
|
1128 |
+
$version = $matches['version'][0];
|
1129 |
+
} else {
|
1130 |
+
$version = $matches['version'][1];
|
1131 |
+
}
|
1132 |
+
} else {
|
1133 |
+
$version = $matches['version'][0];
|
1134 |
+
}
|
1135 |
+
|
1136 |
+
// Check if we have a number.
|
1137 |
+
if ( $version == null || $version == '' ) {
|
1138 |
+
$version = '';
|
1139 |
+
}
|
1140 |
+
|
1141 |
+
return array(
|
1142 |
+
'userAgent' => $u_agent,
|
1143 |
+
'name' => $bname,
|
1144 |
+
'version' => $version,
|
1145 |
+
'platform' => $platform,
|
1146 |
+
'pattern' => $pattern
|
1147 |
+
);
|
1148 |
+
}
|
1149 |
+
|
1150 |
+
/**
|
1151 |
+
* Get the certain date of a specified day in a specified format.
|
1152 |
+
*
|
1153 |
+
* @since 1.1.0
|
1154 |
+
*
|
1155 |
+
* @param string $period Supported values: start, end.
|
1156 |
+
* @param string $timestamp Default is the current timestamp, if left empty.
|
1157 |
+
* @param string $format Default is a MySQL format.
|
1158 |
+
*
|
1159 |
+
* @return string
|
1160 |
+
*/
|
1161 |
+
function evf_get_day_period_date( $period, $timestamp = '', $format = 'Y-m-d H:i:s' ) {
|
1162 |
+
$date = '';
|
1163 |
+
|
1164 |
+
if ( empty( $timestamp ) ) {
|
1165 |
+
$timestamp = time();
|
1166 |
+
}
|
1167 |
+
|
1168 |
+
switch ( $period ) {
|
1169 |
+
case 'start_of_day':
|
1170 |
+
$date = date( $format, strtotime( 'today', $timestamp ) );
|
1171 |
+
break;
|
1172 |
+
|
1173 |
+
case 'end_of_day':
|
1174 |
+
$date = date( $format, strtotime( 'tomorrow', $timestamp ) - 1 );
|
1175 |
+
break;
|
1176 |
+
|
1177 |
+
}
|
1178 |
+
|
1179 |
+
return $date;
|
1180 |
+
}
|
1181 |
+
|
1182 |
+
function get_form_data_by_meta_key( $form_id, $meta_key ) {
|
1183 |
+
$get_post = get_post( $form_id );
|
1184 |
+
$post_content = json_decode( $get_post->post_content, true ) ;
|
1185 |
+
$form_fields = $post_content['form_fields'];
|
1186 |
+
|
1187 |
+
foreach( $form_fields as $field ) {
|
1188 |
+
if ( $meta_key == $field['meta-key'] ) {
|
1189 |
+
return $field['label'];
|
1190 |
+
}
|
1191 |
+
}
|
1192 |
+
}
|
includes/evf-entry-functions.php
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* EverestForms Entry Functions
|
4 |
+
*
|
5 |
+
* @package EverestForms\Functions
|
6 |
+
* @since 1.1.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
defined( 'ABSPATH' ) || exit;
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Get entry.
|
13 |
+
*
|
14 |
+
* @param int|EVF_Entry $id Entry ID or object.
|
15 |
+
* @return EVF_Entry|null
|
16 |
+
*/
|
17 |
+
function evf_get_entry( $id ) {
|
18 |
+
global $wpdb;
|
19 |
+
|
20 |
+
$entry = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}evf_entries WHERE entry_id = %d LIMIT 1;", $id ) ); // WPCS: cache ok, DB call ok.
|
21 |
+
|
22 |
+
if ( apply_filters( 'everest_forms_get_entry_metadata', true ) ) {
|
23 |
+
$results = $wpdb->get_results( $wpdb->prepare( "SELECT meta_key,meta_value FROM {$wpdb->prefix}evf_entrymeta WHERE entry_id = %d", $id ), ARRAY_A );
|
24 |
+
$entry->meta = wp_list_pluck( $results, 'meta_value', 'meta_key' );
|
25 |
+
}
|
26 |
+
|
27 |
+
return 0 !== $entry ? $entry : null;
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Get all entries IDs.
|
32 |
+
*
|
33 |
+
* @param int $form_id Form ID.
|
34 |
+
* @return int[]
|
35 |
+
*/
|
36 |
+
function evf_get_entries_ids( $form_id ) {
|
37 |
+
global $wpdb;
|
38 |
+
|
39 |
+
$results = $wpdb->get_results( $wpdb->prepare( "SELECT entry_id FROM {$wpdb->prefix}evf_entries WHERE form_id = %d", $form_id ) ); // WPCS: cache ok, DB call ok.
|
40 |
+
|
41 |
+
return array_map( 'intval', wp_list_pluck( $results, 'entry_id' ) );
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Get entry statuses.
|
46 |
+
*
|
47 |
+
* @return array
|
48 |
+
*/
|
49 |
+
function evf_get_entry_statuses() {
|
50 |
+
return apply_filters( 'everest_forms_entry_statuses', array(
|
51 |
+
'publish' => __( 'Published', 'everest-forms' ),
|
52 |
+
'trash' => __( 'Trash', 'everest-forms' ),
|
53 |
+
) );
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Search entries.
|
58 |
+
*
|
59 |
+
* @param array $args Search arguments.
|
60 |
+
* @return array
|
61 |
+
*/
|
62 |
+
function evf_search_entries( $args ) {
|
63 |
+
global $wpdb;
|
64 |
+
|
65 |
+
$args = wp_parse_args( $args, array(
|
66 |
+
'limit' => 10,
|
67 |
+
'offset' => 0,
|
68 |
+
'order' => 'DESC',
|
69 |
+
'orderby' => 'entry_id',
|
70 |
+
) );
|
71 |
+
|
72 |
+
// Check if form ID is valid for entries.
|
73 |
+
if ( ! array_key_exists( $args['form_id'], evf_get_all_forms() ) ) {
|
74 |
+
return array();
|
75 |
+
}
|
76 |
+
|
77 |
+
$orderby = isset( $args['orderby'] ) ? $args['orderby'] : 'entry_id';
|
78 |
+
$limit = -1 < $args['limit'] ? sprintf( 'LIMIT %d', $args['limit'] ) : '';
|
79 |
+
$offset = 0 < $args['offset'] ? sprintf( 'OFFSET %d', $args['offset'] ) : '';
|
80 |
+
$status = ! empty( $args['status'] ) ? "AND `status` = '" . sanitize_key( $args['status'] ) . "'" : '';
|
81 |
+
$search = ! empty( $args['search'] ) ? "AND `meta_value` LIKE '%" . $wpdb->esc_like( sanitize_text_field( $args['search'] ) ) . "%'" : '';
|
82 |
+
$include = ! empty( $args['form_id'] ) ? "AND `form_id` = '" . absint( $args['form_id'] ) . "'" : '';
|
83 |
+
$exclude = '';
|
84 |
+
$date_created = '';
|
85 |
+
$date_modified = '';
|
86 |
+
|
87 |
+
if ( ! empty( $args['after'] ) || ! empty( $args['before'] ) ) {
|
88 |
+
$args['after'] = empty( $args['after'] ) ? '0000-00-00' : $args['after'];
|
89 |
+
$args['before'] = empty( $args['before'] ) ? current_time( 'mysql', 1 ) : $args['before'];
|
90 |
+
|
91 |
+
$date_created = "AND `date_created_gmt` BETWEEN STR_TO_DATE('" . $args['after'] . "', '%Y-%m-%d %H:%i:%s') and STR_TO_DATE('" . $args['before'] . "', '%Y-%m-%d %H:%i:%s')";
|
92 |
+
}
|
93 |
+
|
94 |
+
if ( ! empty( $args['modified_after'] ) || ! empty( $args['modified_before'] ) ) {
|
95 |
+
$args['modified_after'] = empty( $args['modified_after'] ) ? '0000-00-00' : $args['modified_after'];
|
96 |
+
$args['modified_before'] = empty( $args['modified_before'] ) ? current_time( 'mysql', 1 ) : $args['modified_before'];
|
97 |
+
|
98 |
+
$date_modified = "AND `date_modified_gmt` BETWEEN STR_TO_DATE('" . $args['modified_after'] . "', '%Y-%m-%d %H:%i:%s') and STR_TO_DATE('" . $args['modified_before'] . "', '%Y-%m-%d %H:%i:%s')";
|
99 |
+
}
|
100 |
+
|
101 |
+
$order = "ORDER BY {$orderby} " . strtoupper( sanitize_key( $args['order'] ) );
|
102 |
+
|
103 |
+
$query = trim( "
|
104 |
+
SELECT DISTINCT {$wpdb->prefix}evf_entries.entry_id
|
105 |
+
FROM {$wpdb->prefix}evf_entries
|
106 |
+
INNER JOIN {$wpdb->prefix}evf_entrymeta
|
107 |
+
WHERE {$wpdb->prefix}evf_entries.entry_id = {$wpdb->prefix}evf_entrymeta.entry_id
|
108 |
+
{$status}
|
109 |
+
{$search}
|
110 |
+
{$include}
|
111 |
+
{$exclude}
|
112 |
+
{$date_created}
|
113 |
+
{$date_modified}
|
114 |
+
{$order}
|
115 |
+
{$limit}
|
116 |
+
{$offset}
|
117 |
+
" );
|
118 |
+
|
119 |
+
$results = $wpdb->get_results( $query ); // WPCS: cache ok, DB call ok, unprepared SQL ok.
|
120 |
+
|
121 |
+
$ids = wp_list_pluck( $results, 'entry_id' );
|
122 |
+
|
123 |
+
return $ids;
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Get total entries counts by status.
|
128 |
+
*
|
129 |
+
* @param int $form_id Form ID.
|
130 |
+
* @return array
|
131 |
+
*/
|
132 |
+
function evf_get_count_entries_by_status( $form_id ) {
|
133 |
+
$statuses = array_keys( evf_get_entry_statuses() );
|
134 |
+
$counts = array();
|
135 |
+
|
136 |
+
foreach ( $statuses as $status ) {
|
137 |
+
$count = count( evf_search_entries( array(
|
138 |
+
'limit' => -1,
|
139 |
+
'status' => $status,
|
140 |
+
'form_id' => $form_id,
|
141 |
+
) ) );
|
142 |
+
|
143 |
+
$counts[ $status ] = $count;
|
144 |
+
}
|
145 |
+
|
146 |
+
return $counts;
|
147 |
+
}
|
includes/evf-update-functions.php
CHANGED
@@ -23,3 +23,47 @@ function evf_update_100_db_version() {
|
|
23 |
function evf_update_101_db_version() {
|
24 |
EVF_Install::update_db_version( '1.0.1' );
|
25 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
function evf_update_101_db_version() {
|
24 |
EVF_Install::update_db_version( '1.0.1' );
|
25 |
}
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Update DB Version.
|
29 |
+
*/
|
30 |
+
function evf_update_102_db_version() {
|
31 |
+
EVF_Install::update_db_version( '1.0.2' );
|
32 |
+
}
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Update DB Version.
|
36 |
+
*/
|
37 |
+
function evf_update_103_db_version() {
|
38 |
+
EVF_Install::update_db_version( '1.0.3' );
|
39 |
+
}
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Update all forms for meta-key.
|
43 |
+
*/
|
44 |
+
function evf_update_110_update_forms() {
|
45 |
+
$forms = evf_get_all_forms();
|
46 |
+
|
47 |
+
foreach ( $forms as $form_id => $form ) {
|
48 |
+
$form_obj = EVF()->form->get( $form_id );
|
49 |
+
$form_data = ! empty( $form_obj->post_content ) ? evf_decode( $form_obj->post_content ) : '';
|
50 |
+
|
51 |
+
if ( ! empty( $form_data['form_fields'] ) ) {
|
52 |
+
foreach ( $form_data['form_fields'] as &$form_fields ) {
|
53 |
+
if ( ! isset( $form_fields['meta-key'] ) ) {
|
54 |
+
$form_fields['meta-key'] = evf_get_meta_key_field_option( $form_fields );
|
55 |
+
}
|
56 |
+
}
|
57 |
+
}
|
58 |
+
|
59 |
+
// Update form data.
|
60 |
+
EVF()->form->update( $form_id, $form_data );
|
61 |
+
}
|
62 |
+
}
|
63 |
+
|
64 |
+
/**
|
65 |
+
* Update DB Version.
|
66 |
+
*/
|
67 |
+
function evf_update_110_db_version() {
|
68 |
+
EVF_Install::update_db_version( '1.1.0' );
|
69 |
+
}
|
includes/form-fields/class-evf-field-checkbox.php
CHANGED
@@ -66,6 +66,9 @@ class EVF_Field_Checkbox extends EVF_Form_Fields {
|
|
66 |
// Label
|
67 |
$this->field_option( 'label', $field );
|
68 |
|
|
|
|
|
|
|
69 |
// Choices
|
70 |
$this->field_option( 'choices', $field );
|
71 |
|
66 |
// Label
|
67 |
$this->field_option( 'label', $field );
|
68 |
|
69 |
+
// Meta.
|
70 |
+
$this->field_option( 'meta', $field );
|
71 |
+
|
72 |
// Choices
|
73 |
$this->field_option( 'choices', $field );
|
74 |
|
includes/form-fields/class-evf-field-date-time.php
CHANGED
@@ -48,6 +48,9 @@ class EVF_Field_Date extends EVF_Form_Fields {
|
|
48 |
// Label.
|
49 |
$this->field_option( 'label', $field );
|
50 |
|
|
|
|
|
|
|
51 |
// Description.
|
52 |
$this->field_option( 'description', $field );
|
53 |
|
48 |
// Label.
|
49 |
$this->field_option( 'label', $field );
|
50 |
|
51 |
+
// Meta.
|
52 |
+
$this->field_option( 'meta', $field );
|
53 |
+
|
54 |
// Description.
|
55 |
$this->field_option( 'description', $field );
|
56 |
|
includes/form-fields/class-evf-field-email.php
CHANGED
@@ -43,6 +43,9 @@ class EVF_Field_Email extends EVF_Form_Fields {
|
|
43 |
// Label.
|
44 |
$this->field_option( 'label', $field );
|
45 |
|
|
|
|
|
|
|
46 |
// Description.
|
47 |
$this->field_option( 'description', $field );
|
48 |
|
43 |
// Label.
|
44 |
$this->field_option( 'label', $field );
|
45 |
|
46 |
+
// Meta.
|
47 |
+
$this->field_option( 'meta', $field );
|
48 |
+
|
49 |
// Description.
|
50 |
$this->field_option( 'description', $field );
|
51 |
|
includes/form-fields/class-evf-field-first-name.php
CHANGED
@@ -47,6 +47,9 @@ class EVF_Field_First_Name extends EVF_Form_Fields {
|
|
47 |
// Label.
|
48 |
$this->field_option( 'label', $field );
|
49 |
|
|
|
|
|
|
|
50 |
// Description.
|
51 |
$this->field_option( 'description', $field );
|
52 |
|
47 |
// Label.
|
48 |
$this->field_option( 'label', $field );
|
49 |
|
50 |
+
// Meta.
|
51 |
+
$this->field_option( 'meta', $field );
|
52 |
+
|
53 |
// Description.
|
54 |
$this->field_option( 'description', $field );
|
55 |
|
includes/form-fields/class-evf-field-last-name.php
CHANGED
@@ -47,6 +47,9 @@ class EVF_Field_Last_Name extends EVF_Form_Fields {
|
|
47 |
// Label.
|
48 |
$this->field_option( 'label', $field );
|
49 |
|
|
|
|
|
|
|
50 |
// Description.
|
51 |
$this->field_option( 'description', $field );
|
52 |
|
47 |
// Label.
|
48 |
$this->field_option( 'label', $field );
|
49 |
|
50 |
+
// Meta.
|
51 |
+
$this->field_option( 'meta', $field );
|
52 |
+
|
53 |
// Description.
|
54 |
$this->field_option( 'description', $field );
|
55 |
|
includes/form-fields/class-evf-field-number.php
CHANGED
@@ -48,6 +48,9 @@ class EVF_Field_Number extends EVF_Form_Fields {
|
|
48 |
// Label.
|
49 |
$this->field_option( 'label', $field );
|
50 |
|
|
|
|
|
|
|
51 |
// Description.
|
52 |
$this->field_option( 'description', $field );
|
53 |
|
48 |
// Label.
|
49 |
$this->field_option( 'label', $field );
|
50 |
|
51 |
+
// Meta.
|
52 |
+
$this->field_option( 'meta', $field );
|
53 |
+
|
54 |
// Description.
|
55 |
$this->field_option( 'description', $field );
|
56 |
|
includes/form-fields/class-evf-field-radio.php
CHANGED
@@ -66,6 +66,9 @@ class EVF_Field_Radio extends EVF_Form_Fields {
|
|
66 |
// Label
|
67 |
$this->field_option( 'label', $field );
|
68 |
|
|
|
|
|
|
|
69 |
// Choices
|
70 |
$this->field_option( 'choices', $field );
|
71 |
|
66 |
// Label
|
67 |
$this->field_option( 'label', $field );
|
68 |
|
69 |
+
// Meta.
|
70 |
+
$this->field_option( 'meta', $field );
|
71 |
+
|
72 |
// Choices
|
73 |
$this->field_option( 'choices', $field );
|
74 |
|
includes/form-fields/class-evf-field-select.php
CHANGED
@@ -59,7 +59,10 @@ class EVF_Field_Select extends EVF_Form_Fields {
|
|
59 |
|
60 |
// Label.
|
61 |
$this->field_option( 'label', $field );
|
62 |
-
|
|
|
|
|
|
|
63 |
// Choices.
|
64 |
$this->field_option( 'choices', $field );
|
65 |
|
59 |
|
60 |
// Label.
|
61 |
$this->field_option( 'label', $field );
|
62 |
+
|
63 |
+
// Meta.
|
64 |
+
$this->field_option( 'meta', $field );
|
65 |
+
|
66 |
// Choices.
|
67 |
$this->field_option( 'choices', $field );
|
68 |
|
includes/form-fields/class-evf-field-text.php
CHANGED
@@ -47,6 +47,9 @@ class EVF_Field_Text extends EVF_Form_Fields {
|
|
47 |
// Label.
|
48 |
$this->field_option( 'label', $field );
|
49 |
|
|
|
|
|
|
|
50 |
// Description.
|
51 |
$this->field_option( 'description', $field );
|
52 |
|
47 |
// Label.
|
48 |
$this->field_option( 'label', $field );
|
49 |
|
50 |
+
// Meta.
|
51 |
+
$this->field_option( 'meta', $field );
|
52 |
+
|
53 |
// Description.
|
54 |
$this->field_option( 'description', $field );
|
55 |
|
includes/form-fields/class-evf-field-textarea.php
CHANGED
@@ -47,7 +47,10 @@ class EVF_Field_Textarea extends EVF_Form_Fields {
|
|
47 |
|
48 |
// Label.
|
49 |
$this->field_option( 'label', $field );
|
50 |
-
|
|
|
|
|
|
|
51 |
// Description
|
52 |
$this->field_option( 'description', $field );
|
53 |
|
47 |
|
48 |
// Label.
|
49 |
$this->field_option( 'label', $field );
|
50 |
+
|
51 |
+
// Meta.
|
52 |
+
$this->field_option( 'meta', $field );
|
53 |
+
|
54 |
// Description
|
55 |
$this->field_option( 'description', $field );
|
56 |
|
includes/form-fields/class-evf-field-url.php
CHANGED
@@ -48,6 +48,9 @@ class EVF_Field_URL extends EVF_Form_Fields {
|
|
48 |
// Label.
|
49 |
$this->field_option( 'label', $field );
|
50 |
|
|
|
|
|
|
|
51 |
// Description.
|
52 |
$this->field_option( 'description', $field );
|
53 |
|
48 |
// Label.
|
49 |
$this->field_option( 'label', $field );
|
50 |
|
51 |
+
// Meta.
|
52 |
+
$this->field_option( 'meta', $field );
|
53 |
+
|
54 |
// Description.
|
55 |
$this->field_option( 'description', $field );
|
56 |
|
includes/shortcodes/class-evf-shortcode-form.php
CHANGED
@@ -62,7 +62,7 @@ class EVF_Shortcode_Form {
|
|
62 |
);
|
63 |
|
64 |
do_action( 'evf_display_submit_after', $form_data );
|
65 |
-
|
66 |
echo '</div>';
|
67 |
}
|
68 |
|
@@ -232,8 +232,8 @@ class EVF_Shortcode_Form {
|
|
232 |
do_action( 'evf_display_field_before', $field, $form_data );
|
233 |
|
234 |
do_action( "evf_display_field_{$field['type']}", $field, $attributes, $form_data );
|
235 |
-
|
236 |
do_action( 'evf_display_field_after', $field, $form_data );
|
|
|
237 |
}
|
238 |
|
239 |
echo '</div>';
|
@@ -543,6 +543,7 @@ class EVF_Shortcode_Form {
|
|
543 |
echo '</div>';
|
544 |
|
545 |
do_action( 'evf_frontend_output_after', $form_data, $form );
|
|
|
546 |
}
|
547 |
|
548 |
}
|
62 |
);
|
63 |
|
64 |
do_action( 'evf_display_submit_after', $form_data );
|
65 |
+
|
66 |
echo '</div>';
|
67 |
}
|
68 |
|
232 |
do_action( 'evf_display_field_before', $field, $form_data );
|
233 |
|
234 |
do_action( "evf_display_field_{$field['type']}", $field, $attributes, $form_data );
|
|
|
235 |
do_action( 'evf_display_field_after', $field, $form_data );
|
236 |
+
|
237 |
}
|
238 |
|
239 |
echo '</div>';
|
543 |
echo '</div>';
|
544 |
|
545 |
do_action( 'evf_frontend_output_after', $form_data, $form );
|
546 |
+
|
547 |
}
|
548 |
|
549 |
}
|
includes/templates/contact.php
CHANGED
@@ -13,38 +13,42 @@ $form_title = isset( $title ) ? sanitize_text_field( $title ) : es
|
|
13 |
$form_template['contact'] = array(
|
14 |
'form_field_id' => '1',
|
15 |
'form_fields' => array(
|
16 |
-
'
|
17 |
-
'id' => '
|
18 |
'type' => 'text',
|
19 |
'label' => 'Name',
|
|
|
20 |
'description' => '',
|
21 |
'required' => '1',
|
22 |
'placeholder' => '',
|
23 |
'css' => '',
|
24 |
),
|
25 |
-
'
|
26 |
-
'id'
|
27 |
-
'type' => 'text',
|
28 |
-
'label' => 'Subject',
|
29 |
-
'description' => '',
|
30 |
-
'required' => '1',
|
31 |
-
'placeholder' => '',
|
32 |
-
'css' => '',
|
33 |
-
),
|
34 |
-
'XYnMdkQDKM-3' => array(
|
35 |
-
'id' => 'XYnMdkQDKM-3',
|
36 |
'type' => 'email',
|
37 |
'label' => 'Email',
|
|
|
38 |
'description' => '',
|
39 |
'required' => '1',
|
40 |
'placeholder' => '',
|
41 |
'default_value' => '',
|
42 |
'css' => '',
|
43 |
),
|
44 |
-
'
|
45 |
-
'id' => '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
'type' => 'textarea',
|
47 |
'label' => 'Message',
|
|
|
48 |
'description' => '',
|
49 |
'placeholder' => '',
|
50 |
'css' => '',
|
@@ -71,10 +75,10 @@ $form_template['contact'] = array(
|
|
71 |
'structure' => array(
|
72 |
'row_1' => array(
|
73 |
'grid_1' => array(
|
74 |
-
'
|
75 |
-
'
|
76 |
-
'
|
77 |
-
'
|
78 |
),
|
79 |
),
|
80 |
),
|
13 |
$form_template['contact'] = array(
|
14 |
'form_field_id' => '1',
|
15 |
'form_fields' => array(
|
16 |
+
'name' => array(
|
17 |
+
'id' => 'name',
|
18 |
'type' => 'text',
|
19 |
'label' => 'Name',
|
20 |
+
'meta-key' => 'name',
|
21 |
'description' => '',
|
22 |
'required' => '1',
|
23 |
'placeholder' => '',
|
24 |
'css' => '',
|
25 |
),
|
26 |
+
'email' => array(
|
27 |
+
'id' => 'email',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
'type' => 'email',
|
29 |
'label' => 'Email',
|
30 |
+
'meta-key' => 'email',
|
31 |
'description' => '',
|
32 |
'required' => '1',
|
33 |
'placeholder' => '',
|
34 |
'default_value' => '',
|
35 |
'css' => '',
|
36 |
),
|
37 |
+
'subject' => array(
|
38 |
+
'id' => 'subject',
|
39 |
+
'type' => 'text',
|
40 |
+
'label' => 'Subject',
|
41 |
+
'meta-key' => 'subject',
|
42 |
+
'description' => '',
|
43 |
+
'required' => '1',
|
44 |
+
'placeholder' => '',
|
45 |
+
'css' => '',
|
46 |
+
),
|
47 |
+
'message' => array(
|
48 |
+
'id' => 'message',
|
49 |
'type' => 'textarea',
|
50 |
'label' => 'Message',
|
51 |
+
'meta-key' => 'message',
|
52 |
'description' => '',
|
53 |
'placeholder' => '',
|
54 |
'css' => '',
|
75 |
'structure' => array(
|
76 |
'row_1' => array(
|
77 |
'grid_1' => array(
|
78 |
+
'name',
|
79 |
+
'email',
|
80 |
+
'subject',
|
81 |
+
'message',
|
82 |
),
|
83 |
),
|
84 |
),
|
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.0
|
6 |
"Report-Msgid-Bugs-To: https://github.com/wpeverest/everest-forms/issues\n"
|
7 |
-
"POT-Creation-Date: 2018-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -31,122 +31,130 @@ msgstr ""
|
|
31 |
msgid "Label"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
msgid "Enter text for the form field description."
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
39 |
msgid "Description"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
43 |
msgid "Check this option to mark the field required."
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
47 |
#: includes/admin/settings/class-evf-settings-validation.php:50
|
48 |
#: includes/shortcodes/class-evf-shortcode-form.php:127
|
49 |
msgid "Required"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
53 |
msgid "Add choices for the form field."
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
57 |
msgid "Choices"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
61 |
msgid "Enter text for the default form field value."
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
65 |
msgid "Default Value"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
69 |
msgid "Advanced Options"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
73 |
msgid "Enter text for the form field placeholder."
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
77 |
msgid "Placeholder Text"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
81 |
msgid ""
|
82 |
"Enter CSS class for this field container. Class names should be separated "
|
83 |
"with spaces."
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
87 |
msgid "CSS Classes"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
91 |
msgid "Check this option to hide the form field label."
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
95 |
msgid "Hide Label"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
99 |
msgid "Check this option to hide the form field sub-label."
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
103 |
msgid "Hide Sub-Labels"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
107 |
msgid "You do no have permission."
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
111 |
msgid "No form ID found"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
115 |
msgid "No field type found"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
119 |
#: includes/admin/form-panels/class-evf-fields-panel.php:198
|
120 |
msgid "Duplicate Field"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
124 |
#: includes/admin/form-panels/class-evf-fields-panel.php:199
|
125 |
msgid "Delete Field"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
129 |
-
#: includes/admin/class-evf-admin-menus.php:
|
130 |
#: includes/admin/form-panels/class-evf-fields-panel.php:200
|
131 |
#: includes/admin/form-panels/class-evf-settings-panel.php:29
|
132 |
-
#: includes/class-evf-install.php:
|
133 |
msgid "Settings"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
137 |
#: includes/admin/settings/class-evf-settings-validation.php:56
|
138 |
msgid "This field is required."
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
142 |
msgid "Please enter a valid url"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
146 |
msgid "Please enter a valid email address"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: includes/abstracts/abstract-evf-form-fields.php:
|
150 |
msgid "Please enter a valid number"
|
151 |
msgstr ""
|
152 |
|
@@ -205,7 +213,7 @@ msgid "Are you sure want to delete this row?"
|
|
205 |
msgstr ""
|
206 |
|
207 |
#: includes/admin/class-evf-admin-assets.php:91
|
208 |
-
#: includes/admin/class-evf-admin-menus.php:
|
209 |
msgid "Copy of "
|
210 |
msgstr ""
|
211 |
|
@@ -226,10 +234,110 @@ msgstr ""
|
|
226 |
msgid "Could not delete single choice."
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: includes/admin/class-evf-admin-assets.php:
|
230 |
msgid "EverestForms"
|
231 |
msgstr ""
|
232 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
#: includes/admin/class-evf-admin-form-builder.php:144
|
234 |
msgid "Options"
|
235 |
msgstr ""
|
@@ -283,93 +391,81 @@ msgstr ""
|
|
283 |
msgid "Author"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
287 |
-
#: includes/form-fields/class-evf-field-date-time.php:23
|
288 |
-
msgid "Date"
|
289 |
-
msgstr ""
|
290 |
-
|
291 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:101
|
292 |
#: includes/admin/form-panels/class-evf-fields-panel.php:228
|
293 |
#: includes/class-evf-post-types.php:51
|
294 |
msgid "Edit"
|
295 |
msgstr ""
|
296 |
|
297 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
298 |
msgid "Restore this item from the Trash"
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
302 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:317
|
303 |
-
msgid "Restore"
|
304 |
-
msgstr ""
|
305 |
-
|
306 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:108
|
307 |
msgid "Move this item to the Trash"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
311 |
-
msgid "Trash"
|
312 |
-
msgstr ""
|
313 |
-
|
314 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:111
|
315 |
msgid "Delete this item permanently"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
319 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
320 |
msgid "Delete permanently"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
324 |
msgid "Duplicate"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
328 |
msgid "Y/m/d g:i:s A"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
332 |
msgid "%s ago"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
336 |
msgid "Y/m/d"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
340 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
341 |
#. translators: %s: count
|
342 |
msgid "Published <span class=\"count\">(%s)</span>"
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
346 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
347 |
#. translators: %s: count
|
348 |
msgid "Draft <span class=\"count\">(%s)</span>"
|
349 |
msgstr ""
|
350 |
|
351 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
352 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
353 |
#. translators: %s: count
|
354 |
msgid "Pending <span class=\"count\">(%s)</span>"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
|
|
|
|
358 |
msgid "Move to trash"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
362 |
msgid "Empty trash"
|
363 |
msgstr ""
|
364 |
|
365 |
#: includes/admin/class-evf-admin-forms.php:26
|
366 |
-
#: includes/admin/class-evf-admin-menus.php:
|
367 |
#: includes/class-evf-post-types.php:47
|
368 |
msgid "All Forms"
|
369 |
msgstr ""
|
370 |
|
371 |
#: includes/admin/class-evf-admin-forms.php:27
|
372 |
-
#: includes/admin/class-evf-admin-menus.php:
|
373 |
#: includes/class-evf-post-types.php:49
|
374 |
msgid "Add New"
|
375 |
msgstr ""
|
@@ -382,37 +478,37 @@ msgstr ""
|
|
382 |
msgid "Everest Forms"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: includes/admin/class-evf-admin-menus.php:
|
386 |
-
#: includes/admin/class-evf-admin-menus.php:
|
387 |
#: includes/admin/class-evf-admin-notices.php:107
|
388 |
#: includes/admin/class-evf-admin-settings.php:71
|
389 |
#: includes/admin/class-evf-admin-status.php:168
|
390 |
msgid "Action failed. Please refresh the page and retry."
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: includes/admin/class-evf-admin-menus.php:
|
394 |
-
#: includes/admin/class-evf-admin-menus.php:
|
395 |
msgid "You do not have permissions to delete forms!"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: includes/admin/class-evf-admin-menus.php:
|
399 |
msgid "You do not have permissions to edit forms!"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: includes/admin/class-evf-admin-menus.php:
|
403 |
msgid "Everest Forms settings"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: includes/admin/class-evf-admin-menus.php:
|
407 |
msgid "Everest Forms status"
|
408 |
msgstr ""
|
409 |
|
410 |
-
#: includes/admin/class-evf-admin-menus.php:
|
411 |
msgid "Status"
|
412 |
msgstr ""
|
413 |
|
414 |
#: includes/admin/class-evf-admin-notices.php:111
|
415 |
-
#: includes/class-everest-forms.php:
|
416 |
msgid "Cheatin’ huh?"
|
417 |
msgstr ""
|
418 |
|
@@ -424,17 +520,17 @@ msgstr ""
|
|
424 |
msgid "The changes you made will be lost if you navigate away from this page."
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: includes/admin/class-evf-admin-settings.php:
|
428 |
msgid ""
|
429 |
"The settings of this image size have been disabled because its values are "
|
430 |
"being overwritten by a filter."
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: includes/admin/class-evf-admin-settings.php:
|
434 |
msgid "Hard crop?"
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: includes/admin/class-evf-admin-settings.php:
|
438 |
msgid "Select a page…"
|
439 |
msgstr ""
|
440 |
|
@@ -451,7 +547,7 @@ msgstr ""
|
|
451 |
msgid "Thank you for selling with EverestForms."
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: includes/admin/evf-admin-functions.php:
|
455 |
msgid "Field #"
|
456 |
msgstr ""
|
457 |
|
@@ -486,7 +582,7 @@ msgid "General"
|
|
486 |
msgstr ""
|
487 |
|
488 |
#: includes/admin/form-panels/class-evf-settings-panel.php:55
|
489 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
490 |
#: includes/admin/settings/class-evf-settings-email.php:28
|
491 |
#: includes/admin/settings/class-evf-settings-validation.php:68
|
492 |
#: includes/form-fields/class-evf-field-email.php:24
|
@@ -539,51 +635,56 @@ msgstr ""
|
|
539 |
msgid "Form Class"
|
540 |
msgstr ""
|
541 |
|
542 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
|
|
|
|
|
|
|
|
|
|
543 |
msgid "Submit button text"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
547 |
#: includes/admin/settings/class-evf-settings-general.php:56
|
548 |
#: includes/shortcodes/class-evf-shortcode-form.php:39
|
549 |
-
#: includes/templates/contact.php:
|
550 |
msgid "Submit"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
554 |
#: includes/admin/settings/class-evf-settings-email.php:50
|
555 |
msgid "To Address"
|
556 |
msgstr ""
|
557 |
|
558 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
559 |
#: includes/admin/settings/class-evf-settings-email.php:59
|
560 |
msgid "From Name"
|
561 |
msgstr ""
|
562 |
|
563 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
564 |
#: includes/admin/settings/class-evf-settings-email.php:68
|
565 |
msgid "From Address"
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
569 |
#: includes/admin/settings/class-evf-settings-email.php:77
|
570 |
#: includes/admin/settings/class-evf-settings-email.php:78
|
571 |
#: includes/class-evf-forms-feature.php:91
|
572 |
msgid "Email Subject"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
576 |
-
#: includes/templates/contact.php:
|
577 |
msgid "New Form Entry"
|
578 |
msgstr ""
|
579 |
|
580 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
581 |
#: includes/admin/settings/class-evf-settings-email.php:86
|
582 |
#: includes/admin/settings/class-evf-settings-email.php:87
|
583 |
msgid "Email Message"
|
584 |
msgstr ""
|
585 |
|
586 |
-
#: includes/admin/form-panels/class-evf-settings-panel.php:
|
587 |
msgid "{all_fields}"
|
588 |
msgstr ""
|
589 |
|
@@ -615,18 +716,18 @@ msgstr ""
|
|
615 |
msgid "Button label to register"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: includes/admin/settings/class-evf-settings-general.php:
|
619 |
msgid "Successful Form Submission Message"
|
620 |
msgstr ""
|
621 |
|
622 |
-
#: includes/admin/settings/class-evf-settings-general.php:
|
623 |
msgid "Enter the text message after successful form submission."
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: includes/admin/settings/class-evf-settings-general.php:
|
627 |
#: includes/class-evf-form-task.php:184
|
628 |
#: includes/shortcodes/class-evf-shortcode-form.php:142
|
629 |
-
#: includes/templates/contact.php:
|
630 |
msgid "Thanks for contacting us! We will be in touch with you shortly."
|
631 |
msgstr ""
|
632 |
|
@@ -639,11 +740,15 @@ msgstr ""
|
|
639 |
msgid "Google reCaptcha Integation"
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: includes/admin/settings/class-evf-settings-recaptcha.php:
|
|
|
|
|
|
|
|
|
643 |
msgid "Site Key"
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: includes/admin/settings/class-evf-settings-recaptcha.php:
|
647 |
msgid "Get site key from google %1$s reCaptcha %2$s."
|
648 |
msgstr ""
|
649 |
|
@@ -724,12 +829,73 @@ msgstr ""
|
|
724 |
msgid "Create"
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: includes/admin/views/html-admin-page-
|
728 |
-
msgid "
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: includes/admin/views/html-admin-page-
|
732 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
733 |
msgstr ""
|
734 |
|
735 |
#: includes/admin/views/html-admin-page-status-logs.php:37
|
@@ -816,9 +982,9 @@ msgid ""
|
|
816 |
msgstr ""
|
817 |
|
818 |
#: includes/class-evf-emails.php:424 includes/class-evf-emails.php:445
|
819 |
-
#: includes/form-fields/class-evf-field-checkbox.php:
|
820 |
-
#: includes/form-fields/class-evf-field-radio.php:
|
821 |
-
#: includes/form-fields/class-evf-field-select.php:
|
822 |
msgid "(empty)"
|
823 |
msgstr ""
|
824 |
|
@@ -846,6 +1012,14 @@ msgstr ""
|
|
846 |
msgid "Form has not been submitted, please see the errors below."
|
847 |
msgstr ""
|
848 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
849 |
#: includes/class-evf-forms-feature.php:52
|
850 |
msgid "New %s Entry"
|
851 |
msgstr ""
|
@@ -863,27 +1037,27 @@ msgstr ""
|
|
863 |
msgid "Payments"
|
864 |
msgstr ""
|
865 |
|
866 |
-
#: includes/class-evf-install.php:
|
867 |
msgid "Monthly"
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: includes/class-evf-install.php:
|
871 |
msgid "View Everest Forms Settings"
|
872 |
msgstr ""
|
873 |
|
874 |
-
#: includes/class-evf-install.php:
|
875 |
msgid "View Everest Forms documentation"
|
876 |
msgstr ""
|
877 |
|
878 |
-
#: includes/class-evf-install.php:
|
879 |
msgid "Docs"
|
880 |
msgstr ""
|
881 |
|
882 |
-
#: includes/class-evf-install.php:
|
883 |
msgid "Visit free customer support"
|
884 |
msgstr ""
|
885 |
|
886 |
-
#: includes/class-evf-install.php:
|
887 |
msgid "Free support"
|
888 |
msgstr ""
|
889 |
|
@@ -977,16 +1151,20 @@ msgstr ""
|
|
977 |
msgid "This is where you can add new forms."
|
978 |
msgstr ""
|
979 |
|
980 |
-
#: includes/evf-core-functions.php:
|
981 |
msgid "%s does not exist."
|
982 |
msgstr ""
|
983 |
|
984 |
-
#: includes/evf-core-functions.php:
|
985 |
#. translators: 1: class name 2: everest_forms_logging_class 3:
|
986 |
#. EVF_Logger_Interface
|
987 |
msgid "The class %1$s provided by %2$s filter must implement %3$s."
|
988 |
msgstr ""
|
989 |
|
|
|
|
|
|
|
|
|
990 |
#: includes/evf-notice-functions.php:25 includes/evf-notice-functions.php:56
|
991 |
#: includes/evf-notice-functions.php:74 includes/evf-notice-functions.php:98
|
992 |
#: includes/evf-notice-functions.php:111 includes/evf-notice-functions.php:124
|
@@ -1013,18 +1191,18 @@ msgstr ""
|
|
1013 |
msgid "Third Choice"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
-
#: includes/form-fields/class-evf-field-checkbox.php:
|
1017 |
-
#: includes/form-fields/class-evf-field-radio.php:
|
1018 |
msgid "Show Values"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: includes/form-fields/class-evf-field-checkbox.php:
|
1022 |
-
#: includes/form-fields/class-evf-field-radio.php:
|
1023 |
msgid "Check this to manually set form field values."
|
1024 |
msgstr ""
|
1025 |
|
1026 |
-
#: includes/form-fields/class-evf-field-checkbox.php:
|
1027 |
-
#: includes/form-fields/class-evf-field-radio.php:
|
1028 |
msgid ""
|
1029 |
"Showing the first 20 choices.<br> All %d choices will be displayed when "
|
1030 |
"viewing the form."
|
@@ -1090,6 +1268,14 @@ msgstr ""
|
|
1090 |
msgid "https://wpeverest.com"
|
1091 |
msgstr ""
|
1092 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1093 |
#: includes/admin/class-evf-admin-form-builder.php:198
|
1094 |
msgctxt "Template name"
|
1095 |
msgid "%s template"
|
@@ -1100,7 +1286,7 @@ msgctxt "Template name"
|
|
1100 |
msgid "Create a %s"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
-
#: includes/admin/class-evf-admin-forms-table-list.php:
|
1104 |
#. translators: %s: count
|
1105 |
msgctxt "posts"
|
1106 |
msgid "All <span class=\"count\">(%s)</span>"
|
@@ -1108,7 +1294,7 @@ msgid_plural "All <span class=\"count\">(%s)</span>"
|
|
1108 |
msgstr[0] ""
|
1109 |
msgstr[1] ""
|
1110 |
|
1111 |
-
#: includes/class-evf-form-task.php:
|
1112 |
msgctxt "Form name"
|
1113 |
msgid "New %s Entry"
|
1114 |
msgstr ""
|
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.0\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/wpeverest/everest-forms/issues\n"
|
7 |
+
"POT-Creation-Date: 2018-03-09 11:48:28+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
31 |
msgid "Label"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: includes/abstracts/abstract-evf-form-fields.php:337
|
35 |
+
msgid "Enter meta key to be stored in database."
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: includes/abstracts/abstract-evf-form-fields.php:340
|
39 |
+
msgid "Meta Key"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: includes/abstracts/abstract-evf-form-fields.php:357
|
43 |
msgid "Enter text for the form field description."
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: includes/abstracts/abstract-evf-form-fields.php:360
|
47 |
msgid "Description"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: includes/abstracts/abstract-evf-form-fields.php:377
|
51 |
msgid "Check this option to mark the field required."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: includes/abstracts/abstract-evf-form-fields.php:381
|
55 |
#: includes/admin/settings/class-evf-settings-validation.php:50
|
56 |
#: includes/shortcodes/class-evf-shortcode-form.php:127
|
57 |
msgid "Required"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: includes/abstracts/abstract-evf-form-fields.php:391
|
61 |
msgid "Add choices for the form field."
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: includes/abstracts/abstract-evf-form-fields.php:404
|
65 |
msgid "Choices"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: includes/abstracts/abstract-evf-form-fields.php:445
|
69 |
msgid "Enter text for the default form field value."
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: includes/abstracts/abstract-evf-form-fields.php:449
|
73 |
msgid "Default Value"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: includes/abstracts/abstract-evf-form-fields.php:471
|
77 |
msgid "Advanced Options"
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: includes/abstracts/abstract-evf-form-fields.php:482
|
81 |
msgid "Enter text for the form field placeholder."
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: includes/abstracts/abstract-evf-form-fields.php:485
|
85 |
msgid "Placeholder Text"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: includes/abstracts/abstract-evf-form-fields.php:502
|
89 |
msgid ""
|
90 |
"Enter CSS class for this field container. Class names should be separated "
|
91 |
"with spaces."
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: includes/abstracts/abstract-evf-form-fields.php:507
|
95 |
msgid "CSS Classes"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: includes/abstracts/abstract-evf-form-fields.php:519
|
99 |
msgid "Check this option to hide the form field label."
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: includes/abstracts/abstract-evf-form-fields.php:524
|
103 |
msgid "Hide Label"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: includes/abstracts/abstract-evf-form-fields.php:537
|
107 |
msgid "Check this option to hide the form field sub-label."
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: includes/abstracts/abstract-evf-form-fields.php:542
|
111 |
msgid "Hide Sub-Labels"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: includes/abstracts/abstract-evf-form-fields.php:623
|
115 |
msgid "You do no have permission."
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: includes/abstracts/abstract-evf-form-fields.php:629
|
119 |
msgid "No form ID found"
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: includes/abstracts/abstract-evf-form-fields.php:634
|
123 |
msgid "No field type found"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: includes/abstracts/abstract-evf-form-fields.php:666
|
127 |
#: includes/admin/form-panels/class-evf-fields-panel.php:198
|
128 |
msgid "Duplicate Field"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: includes/abstracts/abstract-evf-form-fields.php:667
|
132 |
#: includes/admin/form-panels/class-evf-fields-panel.php:199
|
133 |
msgid "Delete Field"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: includes/abstracts/abstract-evf-form-fields.php:668
|
137 |
+
#: includes/admin/class-evf-admin-menus.php:382
|
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:525
|
141 |
msgid "Settings"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: includes/abstracts/abstract-evf-form-fields.php:777
|
145 |
#: includes/admin/settings/class-evf-settings-validation.php:56
|
146 |
msgid "This field is required."
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: includes/abstracts/abstract-evf-form-fields.php:784
|
150 |
msgid "Please enter a valid url"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: includes/abstracts/abstract-evf-form-fields.php:789
|
154 |
msgid "Please enter a valid email address"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: includes/abstracts/abstract-evf-form-fields.php:794
|
158 |
msgid "Please enter a valid number"
|
159 |
msgstr ""
|
160 |
|
213 |
msgstr ""
|
214 |
|
215 |
#: includes/admin/class-evf-admin-assets.php:91
|
216 |
+
#: includes/admin/class-evf-admin-menus.php:291
|
217 |
msgid "Copy of "
|
218 |
msgstr ""
|
219 |
|
234 |
msgid "Could not delete single choice."
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: includes/admin/class-evf-admin-assets.php:156
|
238 |
msgid "EverestForms"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:73
|
242 |
+
#: includes/admin/class-evf-admin-entries.php:73
|
243 |
+
msgid "Whoops, it appears you do not have any form entries yet."
|
244 |
+
msgstr ""
|
245 |
+
|
246 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:85
|
247 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:49
|
248 |
+
#: includes/form-fields/class-evf-field-date-time.php:23
|
249 |
+
msgid "Date"
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:86
|
253 |
+
msgid "Actions"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:127
|
257 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:138
|
258 |
+
msgid "Field"
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:237
|
262 |
+
#: includes/admin/views/html-admin-page-status-logs.php:28
|
263 |
+
msgid "View"
|
264 |
+
msgstr ""
|
265 |
+
|
266 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:239
|
267 |
+
#. translators: %s: entry name
|
268 |
+
msgid "Trash form entry"
|
269 |
+
msgstr ""
|
270 |
+
|
271 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:242
|
272 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:111
|
273 |
+
#: includes/evf-entry-functions.php:52
|
274 |
+
msgid "Trash"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:246
|
278 |
+
msgid "Restore form entry from trash"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:249
|
282 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:329
|
283 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:109
|
284 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:332
|
285 |
+
msgid "Restore"
|
286 |
+
msgstr ""
|
287 |
+
|
288 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:250
|
289 |
+
msgid "Delete form entry permanently"
|
290 |
+
msgstr ""
|
291 |
+
|
292 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:253
|
293 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:330
|
294 |
+
msgid "Delete Permanently"
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:335
|
298 |
+
msgid "Move to Trash"
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:355
|
302 |
+
#: includes/admin/class-evf-admin-entries.php:82
|
303 |
+
msgid "Filter"
|
304 |
+
msgstr ""
|
305 |
+
|
306 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:360
|
307 |
+
msgid "Empty Trash"
|
308 |
+
msgstr ""
|
309 |
+
|
310 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:375
|
311 |
+
msgid "Filter by form"
|
312 |
+
msgstr ""
|
313 |
+
|
314 |
+
#: includes/admin/class-evf-admin-entries.php:59
|
315 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:50
|
316 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:105
|
317 |
+
#: includes/admin/class-evf-admin-menus.php:107
|
318 |
+
msgid "Entries"
|
319 |
+
msgstr ""
|
320 |
+
|
321 |
+
#: includes/admin/class-evf-admin-entries.php:66
|
322 |
+
msgid "Search Entries"
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: includes/admin/class-evf-admin-entries.php:86
|
326 |
+
msgid "Learn more about entries"
|
327 |
+
msgstr ""
|
328 |
+
|
329 |
+
#: includes/admin/class-evf-admin-entries.php:87
|
330 |
+
msgid "Create your first form!"
|
331 |
+
msgstr ""
|
332 |
+
|
333 |
+
#: includes/admin/class-evf-admin-entries.php:194
|
334 |
+
msgid "You do not have permissions to delete Entries!"
|
335 |
+
msgstr ""
|
336 |
+
|
337 |
+
#: includes/admin/class-evf-admin-entries.php:223
|
338 |
+
msgid "You do not have permission to edit Entries"
|
339 |
+
msgstr ""
|
340 |
+
|
341 |
#: includes/admin/class-evf-admin-form-builder.php:144
|
342 |
msgid "Options"
|
343 |
msgstr ""
|
391 |
msgid "Author"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:102
|
|
|
|
|
|
|
|
|
|
|
395 |
#: includes/admin/form-panels/class-evf-fields-panel.php:228
|
396 |
#: includes/class-evf-post-types.php:51
|
397 |
msgid "Edit"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:109
|
401 |
msgid "Restore this item from the Trash"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:111
|
|
|
|
|
|
|
|
|
|
|
405 |
msgid "Move this item to the Trash"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:114
|
|
|
|
|
|
|
|
|
409 |
msgid "Delete this item permanently"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:114
|
413 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:333
|
414 |
msgid "Delete permanently"
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:121
|
418 |
msgid "Duplicate"
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:186
|
422 |
msgid "Y/m/d g:i:s A"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:196
|
426 |
msgid "%s ago"
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:198
|
430 |
msgid "Y/m/d"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:231
|
434 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:232
|
435 |
#. translators: %s: count
|
436 |
msgid "Published <span class=\"count\">(%s)</span>"
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:240
|
440 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:241
|
441 |
#. translators: %s: count
|
442 |
msgid "Draft <span class=\"count\">(%s)</span>"
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:249
|
446 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:250
|
447 |
#. translators: %s: count
|
448 |
msgid "Pending <span class=\"count\">(%s)</span>"
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:338
|
452 |
+
#: includes/admin/views/html-admin-page-entries-view.php:136
|
453 |
+
#: includes/admin/views/html-admin-page-entries-view.php:138
|
454 |
msgid "Move to trash"
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:349
|
458 |
msgid "Empty trash"
|
459 |
msgstr ""
|
460 |
|
461 |
#: includes/admin/class-evf-admin-forms.php:26
|
462 |
+
#: includes/admin/class-evf-admin-menus.php:72
|
463 |
#: includes/class-evf-post-types.php:47
|
464 |
msgid "All Forms"
|
465 |
msgstr ""
|
466 |
|
467 |
#: includes/admin/class-evf-admin-forms.php:27
|
468 |
+
#: includes/admin/class-evf-admin-menus.php:100
|
469 |
#: includes/class-evf-post-types.php:49
|
470 |
msgid "Add New"
|
471 |
msgstr ""
|
478 |
msgid "Everest Forms"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: includes/admin/class-evf-admin-menus.php:226
|
482 |
+
#: includes/admin/class-evf-admin-menus.php:258
|
483 |
#: includes/admin/class-evf-admin-notices.php:107
|
484 |
#: includes/admin/class-evf-admin-settings.php:71
|
485 |
#: includes/admin/class-evf-admin-status.php:168
|
486 |
msgid "Action failed. Please refresh the page and retry."
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: includes/admin/class-evf-admin-menus.php:230
|
490 |
+
#: includes/admin/class-evf-admin-menus.php:262
|
491 |
msgid "You do not have permissions to delete forms!"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: includes/admin/class-evf-admin-menus.php:358
|
495 |
msgid "You do not have permissions to edit forms!"
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: includes/admin/class-evf-admin-menus.php:382
|
499 |
msgid "Everest Forms settings"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: includes/admin/class-evf-admin-menus.php:421
|
503 |
msgid "Everest Forms status"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: includes/admin/class-evf-admin-menus.php:421
|
507 |
msgid "Status"
|
508 |
msgstr ""
|
509 |
|
510 |
#: includes/admin/class-evf-admin-notices.php:111
|
511 |
+
#: includes/class-everest-forms.php:122 includes/class-everest-forms.php:131
|
512 |
msgid "Cheatin’ huh?"
|
513 |
msgstr ""
|
514 |
|
520 |
msgid "The changes you made will be lost if you navigate away from this page."
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: includes/admin/class-evf-admin-settings.php:507
|
524 |
msgid ""
|
525 |
"The settings of this image size have been disabled because its values are "
|
526 |
"being overwritten by a filter."
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: includes/admin/class-evf-admin-settings.php:516
|
530 |
msgid "Hard crop?"
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: includes/admin/class-evf-admin-settings.php:543
|
534 |
msgid "Select a page…"
|
535 |
msgstr ""
|
536 |
|
547 |
msgid "Thank you for selling with EverestForms."
|
548 |
msgstr ""
|
549 |
|
550 |
+
#: includes/admin/evf-admin-functions.php:357
|
551 |
msgid "Field #"
|
552 |
msgstr ""
|
553 |
|
582 |
msgstr ""
|
583 |
|
584 |
#: includes/admin/form-panels/class-evf-settings-panel.php:55
|
585 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:200
|
586 |
#: includes/admin/settings/class-evf-settings-email.php:28
|
587 |
#: includes/admin/settings/class-evf-settings-validation.php:68
|
588 |
#: includes/form-fields/class-evf-field-email.php:24
|
635 |
msgid "Form Class"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:176
|
639 |
+
#: includes/admin/settings/class-evf-settings-general.php:59
|
640 |
+
msgid "Disable Form Entries"
|
641 |
+
msgstr ""
|
642 |
+
|
643 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:186
|
644 |
msgid "Submit button text"
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:188
|
648 |
#: includes/admin/settings/class-evf-settings-general.php:56
|
649 |
#: includes/shortcodes/class-evf-shortcode-form.php:39
|
650 |
+
#: includes/templates/contact.php:66
|
651 |
msgid "Submit"
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:207
|
655 |
#: includes/admin/settings/class-evf-settings-email.php:50
|
656 |
msgid "To Address"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:217
|
660 |
#: includes/admin/settings/class-evf-settings-email.php:59
|
661 |
msgid "From Name"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:227
|
665 |
#: includes/admin/settings/class-evf-settings-email.php:68
|
666 |
msgid "From Address"
|
667 |
msgstr ""
|
668 |
|
669 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:237
|
670 |
#: includes/admin/settings/class-evf-settings-email.php:77
|
671 |
#: includes/admin/settings/class-evf-settings-email.php:78
|
672 |
#: includes/class-evf-forms-feature.php:91
|
673 |
msgid "Email Subject"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:239
|
677 |
+
#: includes/templates/contact.php:71
|
678 |
msgid "New Form Entry"
|
679 |
msgstr ""
|
680 |
|
681 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:247
|
682 |
#: includes/admin/settings/class-evf-settings-email.php:86
|
683 |
#: includes/admin/settings/class-evf-settings-email.php:87
|
684 |
msgid "Email Message"
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: includes/admin/form-panels/class-evf-settings-panel.php:249
|
688 |
msgid "{all_fields}"
|
689 |
msgstr ""
|
690 |
|
716 |
msgid "Button label to register"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: includes/admin/settings/class-evf-settings-general.php:67
|
720 |
msgid "Successful Form Submission Message"
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: includes/admin/settings/class-evf-settings-general.php:68
|
724 |
msgid "Enter the text message after successful form submission."
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: includes/admin/settings/class-evf-settings-general.php:73
|
728 |
#: includes/class-evf-form-task.php:184
|
729 |
#: includes/shortcodes/class-evf-shortcode-form.php:142
|
730 |
+
#: includes/templates/contact.php:60
|
731 |
msgid "Thanks for contacting us! We will be in touch with you shortly."
|
732 |
msgstr ""
|
733 |
|
740 |
msgid "Google reCaptcha Integation"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: includes/admin/settings/class-evf-settings-recaptcha.php:46
|
744 |
+
msgid "Get site key and secret key from google %1$s reCaptcha %2$s."
|
745 |
+
msgstr ""
|
746 |
+
|
747 |
+
#: includes/admin/settings/class-evf-settings-recaptcha.php:50
|
748 |
msgid "Site Key"
|
749 |
msgstr ""
|
750 |
|
751 |
+
#: includes/admin/settings/class-evf-settings-recaptcha.php:51
|
752 |
msgid "Get site key from google %1$s reCaptcha %2$s."
|
753 |
msgstr ""
|
754 |
|
829 |
msgid "Create"
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: includes/admin/views/html-admin-page-entries-view.php:14
|
833 |
+
msgid "View Entry"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: includes/admin/views/html-admin-page-entries-view.php:15
|
837 |
+
msgid "Back to All Entries"
|
838 |
+
msgstr ""
|
839 |
+
|
840 |
+
#: includes/admin/views/html-admin-page-entries-view.php:24
|
841 |
+
msgid "%s : Entry #%s"
|
842 |
+
msgstr ""
|
843 |
+
|
844 |
+
#: includes/admin/views/html-admin-page-entries-view.php:26
|
845 |
+
msgid "Show Empty Fields"
|
846 |
+
msgstr ""
|
847 |
+
|
848 |
+
#: includes/admin/views/html-admin-page-entries-view.php:26
|
849 |
+
msgid "Hide Empty Fields"
|
850 |
+
msgstr ""
|
851 |
+
|
852 |
+
#: includes/admin/views/html-admin-page-entries-view.php:37
|
853 |
+
msgid "This entry does not have any fields."
|
854 |
+
msgstr ""
|
855 |
+
|
856 |
+
#: includes/admin/views/html-admin-page-entries-view.php:48
|
857 |
+
#. translators: %d - field ID.
|
858 |
+
msgid "Field ID"
|
859 |
+
msgstr ""
|
860 |
+
|
861 |
+
#: includes/admin/views/html-admin-page-entries-view.php:64
|
862 |
+
msgid "Empty"
|
863 |
+
msgstr ""
|
864 |
+
|
865 |
+
#: includes/admin/views/html-admin-page-entries-view.php:79
|
866 |
+
msgid "Entry Details"
|
867 |
+
msgstr ""
|
868 |
+
|
869 |
+
#: includes/admin/views/html-admin-page-entries-view.php:85
|
870 |
+
msgid "Entry ID:"
|
871 |
+
msgstr ""
|
872 |
+
|
873 |
+
#: includes/admin/views/html-admin-page-entries-view.php:91
|
874 |
+
msgid "Submitted:"
|
875 |
+
msgstr ""
|
876 |
+
|
877 |
+
#: includes/admin/views/html-admin-page-entries-view.php:92
|
878 |
+
msgid "M j, Y @ g:ia"
|
879 |
+
msgstr ""
|
880 |
+
|
881 |
+
#: includes/admin/views/html-admin-page-entries-view.php:99
|
882 |
+
msgid "User:"
|
883 |
+
msgstr ""
|
884 |
+
|
885 |
+
#: includes/admin/views/html-admin-page-entries-view.php:118
|
886 |
+
msgid "User IP:"
|
887 |
+
msgstr ""
|
888 |
+
|
889 |
+
#: includes/admin/views/html-admin-page-entries-view.php:126
|
890 |
+
msgid "Status:"
|
891 |
+
msgstr ""
|
892 |
+
|
893 |
+
#: includes/admin/views/html-admin-page-entries-view.php:127
|
894 |
+
msgid "Completed"
|
895 |
+
msgstr ""
|
896 |
+
|
897 |
+
#: includes/admin/views/html-admin-page-status-logs.php:17
|
898 |
+
msgid "Delete log"
|
899 |
msgstr ""
|
900 |
|
901 |
#: includes/admin/views/html-admin-page-status-logs.php:37
|
982 |
msgstr ""
|
983 |
|
984 |
#: includes/class-evf-emails.php:424 includes/class-evf-emails.php:445
|
985 |
+
#: includes/form-fields/class-evf-field-checkbox.php:151
|
986 |
+
#: includes/form-fields/class-evf-field-radio.php:151
|
987 |
+
#: includes/form-fields/class-evf-field-select.php:133
|
988 |
msgid "(empty)"
|
989 |
msgstr ""
|
990 |
|
1012 |
msgid "Form has not been submitted, please see the errors below."
|
1013 |
msgstr ""
|
1014 |
|
1015 |
+
#: includes/class-evf-form-task.php:415
|
1016 |
+
msgid "No form ID was found."
|
1017 |
+
msgstr ""
|
1018 |
+
|
1019 |
+
#: includes/class-evf-form-task.php:421
|
1020 |
+
msgid "Could not create an entry"
|
1021 |
+
msgstr ""
|
1022 |
+
|
1023 |
#: includes/class-evf-forms-feature.php:52
|
1024 |
msgid "New %s Entry"
|
1025 |
msgstr ""
|
1037 |
msgid "Payments"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: includes/class-evf-install.php:254
|
1041 |
msgid "Monthly"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: includes/class-evf-install.php:525
|
1045 |
msgid "View Everest Forms Settings"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: includes/class-evf-install.php:541
|
1049 |
msgid "View Everest Forms documentation"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: includes/class-evf-install.php:541
|
1053 |
msgid "Docs"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: includes/class-evf-install.php:542
|
1057 |
msgid "Visit free customer support"
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: includes/class-evf-install.php:542
|
1061 |
msgid "Free support"
|
1062 |
msgstr ""
|
1063 |
|
1151 |
msgid "This is where you can add new forms."
|
1152 |
msgstr ""
|
1153 |
|
1154 |
+
#: includes/evf-core-functions.php:88
|
1155 |
msgid "%s does not exist."
|
1156 |
msgstr ""
|
1157 |
|
1158 |
+
#: includes/evf-core-functions.php:499
|
1159 |
#. translators: 1: class name 2: everest_forms_logging_class 3:
|
1160 |
#. EVF_Logger_Interface
|
1161 |
msgid "The class %1$s provided by %2$s filter must implement %3$s."
|
1162 |
msgstr ""
|
1163 |
|
1164 |
+
#: includes/evf-entry-functions.php:51
|
1165 |
+
msgid "Published"
|
1166 |
+
msgstr ""
|
1167 |
+
|
1168 |
#: includes/evf-notice-functions.php:25 includes/evf-notice-functions.php:56
|
1169 |
#: includes/evf-notice-functions.php:74 includes/evf-notice-functions.php:98
|
1170 |
#: includes/evf-notice-functions.php:111 includes/evf-notice-functions.php:124
|
1191 |
msgid "Third Choice"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
+
#: includes/form-fields/class-evf-field-checkbox.php:104
|
1195 |
+
#: includes/form-fields/class-evf-field-radio.php:104
|
1196 |
msgid "Show Values"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
+
#: includes/form-fields/class-evf-field-checkbox.php:105
|
1200 |
+
#: includes/form-fields/class-evf-field-radio.php:105
|
1201 |
msgid "Check this to manually set form field values."
|
1202 |
msgstr ""
|
1203 |
|
1204 |
+
#: includes/form-fields/class-evf-field-checkbox.php:169
|
1205 |
+
#: includes/form-fields/class-evf-field-radio.php:169
|
1206 |
msgid ""
|
1207 |
"Showing the first 20 choices.<br> All %d choices will be displayed when "
|
1208 |
"viewing the form."
|
1268 |
msgid "https://wpeverest.com"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
+
#: includes/admin/class-evf-admin-entries-table-list.php:300
|
1272 |
+
#. translators: %s: count
|
1273 |
+
msgctxt "entries"
|
1274 |
+
msgid "All <span class=\"count\">(%s)</span>"
|
1275 |
+
msgid_plural "All <span class=\"count\">(%s)</span>"
|
1276 |
+
msgstr[0] ""
|
1277 |
+
msgstr[1] ""
|
1278 |
+
|
1279 |
#: includes/admin/class-evf-admin-form-builder.php:198
|
1280 |
msgctxt "Template name"
|
1281 |
msgid "%s template"
|
1286 |
msgid "Create a %s"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
+
#: includes/admin/class-evf-admin-forms-table-list.php:285
|
1290 |
#. translators: %s: count
|
1291 |
msgctxt "posts"
|
1292 |
msgid "All <span class=\"count\">(%s)</span>"
|
1294 |
msgstr[0] ""
|
1295 |
msgstr[1] ""
|
1296 |
|
1297 |
+
#: includes/class-evf-form-task.php:346
|
1298 |
msgctxt "Form name"
|
1299 |
msgid "New %s Entry"
|
1300 |
msgstr ""
|
package-lock.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "everest-forms",
|
3 |
-
"version": "1.
|
4 |
"lockfileVersion": 1,
|
5 |
"requires": true,
|
6 |
"dependencies": {
|
@@ -7701,6 +7701,15 @@
|
|
7701 |
"limiter": "1.1.2"
|
7702 |
}
|
7703 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7704 |
"string-width": {
|
7705 |
"version": "1.0.2",
|
7706 |
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
@@ -7712,15 +7721,6 @@
|
|
7712 |
"strip-ansi": "3.0.1"
|
7713 |
}
|
7714 |
},
|
7715 |
-
"string_decoder": {
|
7716 |
-
"version": "1.0.3",
|
7717 |
-
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
7718 |
-
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
7719 |
-
"dev": true,
|
7720 |
-
"requires": {
|
7721 |
-
"safe-buffer": "5.1.1"
|
7722 |
-
}
|
7723 |
-
},
|
7724 |
"stringify-entities": {
|
7725 |
"version": "1.3.1",
|
7726 |
"resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-1.3.1.tgz",
|
1 |
{
|
2 |
"name": "everest-forms",
|
3 |
+
"version": "1.1.0",
|
4 |
"lockfileVersion": 1,
|
5 |
"requires": true,
|
6 |
"dependencies": {
|
7701 |
"limiter": "1.1.2"
|
7702 |
}
|
7703 |
},
|
7704 |
+
"string_decoder": {
|
7705 |
+
"version": "1.0.3",
|
7706 |
+
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
7707 |
+
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
7708 |
+
"dev": true,
|
7709 |
+
"requires": {
|
7710 |
+
"safe-buffer": "5.1.1"
|
7711 |
+
}
|
7712 |
+
},
|
7713 |
"string-width": {
|
7714 |
"version": "1.0.2",
|
7715 |
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
7721 |
"strip-ansi": "3.0.1"
|
7722 |
}
|
7723 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7724 |
"stringify-entities": {
|
7725 |
"version": "1.3.1",
|
7726 |
"resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-1.3.1.tgz",
|
phpcs.xml
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
|
8 |
<!-- Exclude paths -->
|
9 |
<exclude-pattern>includes/libraries/</exclude-pattern>
|
|
|
10 |
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
11 |
<exclude-pattern>*/vendor/*</exclude-pattern>
|
12 |
|
7 |
|
8 |
<!-- Exclude paths -->
|
9 |
<exclude-pattern>includes/libraries/</exclude-pattern>
|
10 |
+
<exclude-pattern>includes/evf-deprecated-functions.php</exclude-pattern>
|
11 |
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
12 |
<exclude-pattern>*/vendor/*</exclude-pattern>
|
13 |
|
readme.txt
CHANGED
@@ -3,7 +3,8 @@ Contributors: WPEverest
|
|
3 |
Tags: form, form builder, easy form, clean form, login form, contact, contact form
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
-
|
|
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -28,6 +29,7 @@ Check [documentation](http://docs.wpeverest.com/docs/everest-forms/)
|
|
28 |
* 100% responsive form template
|
29 |
* Supports multiple column layout
|
30 |
* Shortcode support
|
|
|
31 |
* Provides two different form template design
|
32 |
* Google Recaptcha Supported
|
33 |
* Editable successful form submission message
|
@@ -68,19 +70,7 @@ Yes, the plugin is designed to work with any themes that have been coded followi
|
|
68 |
|
69 |
== Changelog ==
|
70 |
|
71 |
-
= 1.0
|
72 |
-
*
|
73 |
|
74 |
-
|
75 |
-
* Fix - Box-sizing issue with list tables.
|
76 |
-
* Fix - Header already sent error on plugin activation.
|
77 |
-
* Tweak - Refactor list tables and menu related hooks placement.
|
78 |
-
|
79 |
-
= 1.0.1 - 13-02-2018 =
|
80 |
-
* Feature - JS validation on submit.
|
81 |
-
* Fix - Select field option display.
|
82 |
-
* Fix - Checkbox validation styling.
|
83 |
-
* Fix - Create default form on first install.
|
84 |
-
|
85 |
-
= 1.0.0 - 02-02-2018 =
|
86 |
-
* Initial Release
|
3 |
Tags: form, form builder, easy form, clean form, login form, contact, contact form
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.9
|
6 |
+
Requires PHP: 5.4
|
7 |
+
Stable tag: 1.1.0
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
29 |
* 100% responsive form template
|
30 |
* Supports multiple column layout
|
31 |
* Shortcode support
|
32 |
+
* View Form entries from your dashboard
|
33 |
* Provides two different form template design
|
34 |
* Google Recaptcha Supported
|
35 |
* Editable successful form submission message
|
70 |
|
71 |
== Changelog ==
|
72 |
|
73 |
+
= 1.1.0 - 12-03-2018 =
|
74 |
+
* Feature - Entries panel to save form in database.
|
75 |
|
76 |
+
[See changelog for all versions](https://github.com/wpeverest/everest-forms/raw/master/CHANGELOG.txt).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|