Version Description
Fix quotes and other encoded characters in export
Download this release
Release Info
Developer | mmuro |
Plugin | Visual Form Builder |
Version | 2.8 |
Comparing to | |
See all releases |
Code changes from version 2.7.9 to 2.8
- css/visual-form-builder-admin.css +46 -46
- css/visual-form-builder-admin.min.css +1 -1
- css/visual-form-builder.css +17 -17
- css/visual-form-builder.min.css +1 -1
- includes/class-entries-list.php +8 -4
- includes/class-export.php +9 -6
- includes/class-widget.php +30 -20
- includes/form-output.php +2 -2
- js/vfb-admin.js +6 -0
- js/vfb-admin.min.js +1 -1
- js/vfb-validation.js +1 -0
- js/vfb-validation.min.js +1 -1
- readme.txt +65 -48
- visual-form-builder.php +15 -17
css/visual-form-builder-admin.css
CHANGED
@@ -523,6 +523,7 @@ strong .vfb-meta-entries-total span {
|
|
523 |
|
524 |
#post-body{
|
525 |
padding: 10px;
|
|
|
526 |
}
|
527 |
|
528 |
/* !Form Editor columns */
|
@@ -636,12 +637,12 @@ strong .vfb-meta-entries-total span {
|
|
636 |
/* !Field Item arrows */
|
637 |
.item-edit {
|
638 |
position: absolute;
|
639 |
-
top:
|
640 |
right: -20px;
|
641 |
display: block;
|
642 |
overflow: hidden;
|
643 |
width:30px;
|
644 |
-
height:
|
645 |
background:url('../images/arrows.png?d=20130703') no-repeat scroll 8px 10px transparent;
|
646 |
text-indent:-999em;
|
647 |
}
|
@@ -872,22 +873,29 @@ label.error{
|
|
872 |
border:1px solid red;
|
873 |
}
|
874 |
|
|
|
|
|
|
|
|
|
875 |
.vfb-menu-item-handle {
|
876 |
-
background:
|
877 |
-
box-shadow:0 1px 0 #f1f1f1 inset;
|
878 |
border: 1px solid #DFDFDF;
|
879 |
border-radius: 3px;
|
880 |
height: auto;
|
881 |
line-height: 35px;
|
882 |
overflow: hidden;
|
883 |
-
padding
|
884 |
position: relative;
|
885 |
text-shadow: 0 1px 0 #FFFFFF;
|
886 |
-
width:
|
887 |
word-wrap: break-word;
|
888 |
cursor: move;
|
889 |
}
|
890 |
|
|
|
|
|
|
|
|
|
891 |
/* Blue Admin style */
|
892 |
.admin-color-classic .vfb-menu-item-handle {
|
893 |
background: #F5FAFD;
|
@@ -922,7 +930,6 @@ label.error{
|
|
922 |
font-weight: bold;
|
923 |
line-height: 20px;
|
924 |
margin-right: 13em;
|
925 |
-
padding: 7px 0;
|
926 |
}
|
927 |
|
928 |
.rtl .vfb-menu-item-handle .item-title {
|
@@ -1009,46 +1016,22 @@ label.error{
|
|
1009 |
float: right;
|
1010 |
}
|
1011 |
|
1012 |
-
#promote-vfb
|
1013 |
-
|
1014 |
-
|
1015 |
-
}
|
1016 |
-
|
1017 |
-
.rtl #promote-vfb li {
|
1018 |
-
padding-left: 0;
|
1019 |
-
padding-right: 40px;
|
1020 |
-
text-align: right;
|
1021 |
-
}
|
1022 |
-
|
1023 |
-
#promote-vfb #twitter {
|
1024 |
-
background: url('../images/sprite.png?d=20120921') -10px -746px no-repeat transparent;
|
1025 |
}
|
1026 |
|
1027 |
-
.rtl #promote-vfb
|
1028 |
-
|
|
|
1029 |
}
|
1030 |
|
1031 |
-
#promote-vfb
|
1032 |
-
|
1033 |
-
}
|
1034 |
-
|
1035 |
-
.rtl #promote-vfb #star {
|
1036 |
-
background-position: right -710px;
|
1037 |
-
}
|
1038 |
-
|
1039 |
-
#promote-vfb #paypal,
|
1040 |
-
.paypal {
|
1041 |
-
background: url('../images/sprite.png?d=20120921') -10px -777px no-repeat transparent;
|
1042 |
}
|
1043 |
|
1044 |
-
.rtl #promote-vfb
|
1045 |
-
|
1046 |
-
}
|
1047 |
-
|
1048 |
-
.paypal {
|
1049 |
-
padding-top: 3px;
|
1050 |
-
padding-left: 20px;
|
1051 |
-
height: 20px;
|
1052 |
}
|
1053 |
|
1054 |
.menu .ui-nestedSortable-error {
|
@@ -1103,10 +1086,10 @@ ul#vfb-menu-to-edit ul{
|
|
1103 |
|
1104 |
/* !Form Items */
|
1105 |
#form-items .tabs-panel{
|
1106 |
-
overflow:visible;
|
1107 |
-
padding:0.5em 0 0.5em 4px;
|
1108 |
-
min-height:
|
1109 |
-
height:auto;
|
1110 |
}
|
1111 |
|
1112 |
.rtl #form-items .tabs-panel {
|
@@ -1140,6 +1123,7 @@ ul.vfb-fields-col-2{
|
|
1140 |
color:#464646;
|
1141 |
text-align: left;
|
1142 |
text-decoration: none;
|
|
|
1143 |
}
|
1144 |
|
1145 |
.rtl .vfb-draggable-form-items {
|
@@ -1455,14 +1439,16 @@ ul.vfb-fields-col-2{
|
|
1455 |
margin:5px 0;
|
1456 |
padding:0 0 6px 0;
|
1457 |
border-bottom:1px solid white;
|
1458 |
-
font-weight:
|
1459 |
font-size:13px;
|
1460 |
font-family: sans-serif;
|
|
|
1461 |
}
|
1462 |
|
1463 |
.tooltip p{
|
1464 |
margin-top:10px;
|
1465 |
font-size:12px;
|
|
|
1466 |
}
|
1467 |
|
1468 |
/* !Bulk Add Options */
|
@@ -1497,8 +1483,22 @@ ul.vfb-fields-col-2{
|
|
1497 |
border-radius: 3px;
|
1498 |
margin-left: 10em;
|
1499 |
padding: 5px;
|
|
|
1500 |
}
|
1501 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1502 |
@media print {
|
1503 |
body * {
|
1504 |
float: none;
|
523 |
|
524 |
#post-body{
|
525 |
padding: 10px;
|
526 |
+
background: white;
|
527 |
}
|
528 |
|
529 |
/* !Form Editor columns */
|
637 |
/* !Field Item arrows */
|
638 |
.item-edit {
|
639 |
position: absolute;
|
640 |
+
top: 3px;
|
641 |
right: -20px;
|
642 |
display: block;
|
643 |
overflow: hidden;
|
644 |
width:30px;
|
645 |
+
height: 40px;
|
646 |
background:url('../images/arrows.png?d=20130703') no-repeat scroll 8px 10px transparent;
|
647 |
text-indent:-999em;
|
648 |
}
|
873 |
border:1px solid red;
|
874 |
}
|
875 |
|
876 |
+
#vfb-menu-to-edit .menu-item-settings {
|
877 |
+
width: 402px;
|
878 |
+
}
|
879 |
+
|
880 |
.vfb-menu-item-handle {
|
881 |
+
background: white;
|
|
|
882 |
border: 1px solid #DFDFDF;
|
883 |
border-radius: 3px;
|
884 |
height: auto;
|
885 |
line-height: 35px;
|
886 |
overflow: hidden;
|
887 |
+
padding: 10px 15px;
|
888 |
position: relative;
|
889 |
text-shadow: 0 1px 0 #FFFFFF;
|
890 |
+
width: 382px;
|
891 |
word-wrap: break-word;
|
892 |
cursor: move;
|
893 |
}
|
894 |
|
895 |
+
.vfb-menu-item-handle:hover {
|
896 |
+
border-color: #999;
|
897 |
+
}
|
898 |
+
|
899 |
/* Blue Admin style */
|
900 |
.admin-color-classic .vfb-menu-item-handle {
|
901 |
background: #F5FAFD;
|
930 |
font-weight: bold;
|
931 |
line-height: 20px;
|
932 |
margin-right: 13em;
|
|
|
933 |
}
|
934 |
|
935 |
.rtl .vfb-menu-item-handle .item-title {
|
1016 |
float: right;
|
1017 |
}
|
1018 |
|
1019 |
+
ul#promote-vfb {
|
1020 |
+
margin-left: 20px;
|
1021 |
+
list-style: disc;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1022 |
}
|
1023 |
|
1024 |
+
.rtl ul#promote-vfb {
|
1025 |
+
margin-left: auto;
|
1026 |
+
margin-right: 20px;
|
1027 |
}
|
1028 |
|
1029 |
+
#promote-vfb li {
|
1030 |
+
text-align: left;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
}
|
1032 |
|
1033 |
+
.rtl #promote-vfb li {
|
1034 |
+
text-align: right;
|
|
|
|
|
|
|
|
|
|
|
|
|
1035 |
}
|
1036 |
|
1037 |
.menu .ui-nestedSortable-error {
|
1086 |
|
1087 |
/* !Form Items */
|
1088 |
#form-items .tabs-panel{
|
1089 |
+
overflow: visible;
|
1090 |
+
padding: 0.5em 0 0.5em 4px;
|
1091 |
+
min-height: 325px;
|
1092 |
+
height: auto;
|
1093 |
}
|
1094 |
|
1095 |
.rtl #form-items .tabs-panel {
|
1123 |
color:#464646;
|
1124 |
text-align: left;
|
1125 |
text-decoration: none;
|
1126 |
+
font-size: 12px;
|
1127 |
}
|
1128 |
|
1129 |
.rtl .vfb-draggable-form-items {
|
1439 |
margin:5px 0;
|
1440 |
padding:0 0 6px 0;
|
1441 |
border-bottom:1px solid white;
|
1442 |
+
font-weight:normal;
|
1443 |
font-size:13px;
|
1444 |
font-family: sans-serif;
|
1445 |
+
color: white;
|
1446 |
}
|
1447 |
|
1448 |
.tooltip p{
|
1449 |
margin-top:10px;
|
1450 |
font-size:12px;
|
1451 |
+
color: white;
|
1452 |
}
|
1453 |
|
1454 |
/* !Bulk Add Options */
|
1483 |
border-radius: 3px;
|
1484 |
margin-left: 10em;
|
1485 |
padding: 5px;
|
1486 |
+
background: white;
|
1487 |
}
|
1488 |
|
1489 |
+
#vfb-export-select-all,
|
1490 |
+
#vfb-export-unselect-all {
|
1491 |
+
width: 150px;
|
1492 |
+
display: inline-block;
|
1493 |
+
text-align: left;
|
1494 |
+
}
|
1495 |
+
|
1496 |
+
#vfb-export-unselect-all {
|
1497 |
+
text-align: right;
|
1498 |
+
margin-left: 5px;
|
1499 |
+
}
|
1500 |
+
|
1501 |
+
|
1502 |
@media print {
|
1503 |
body * {
|
1504 |
float: none;
|
css/visual-form-builder-admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.vfb-pro-call-to-action{padding:5px 0;text-align:center}.vfb-btn{display:inline-block;*display:inline;*zoom:1;padding:15px 10px;margin-bottom:0;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;font-size:21px;font-weight:500;text-shadow:0 1px 1px rgba(255,255,255,0.75);background-color:#f5f5f5;background-repeat:repeat-x;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);text-decoration:none}.vfb-btn:hover,.vfb-btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.vfb-btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.vfb-btn.active,.vfb-btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.vfb-btn-primary.active{color:rgba(255,255,255,0.75)}.vfb-btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);border-color:#04c #0044cc #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.vfb-btn-primary:hover,.vfb-btn-primary:focus,.vfb-btn-primary:active,.vfb-btn-primary.active,.vfb-btn-primary.disabled,.vfb-btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.vfb-btn-primary:active,.vfb-btn-primary.active{background-color:#039 \9}.vfb-btn-inverse{background-color:#363636;background-repeat:repeat-x;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.vfb-btn-inverse:hover,.vfb-btn-inverse:focus,.vfb-btn-inverse:active,.vfb-btn-inverse.active,.vfb-btn-inverse.disabled,.vfb-btn-inverse[disabled]{background-color:#222;color:#fff}.vfb-pro-call-to-action .cta-sign-up{color:#fff;display:block;font-size:24px;font-weight:bold;text-align:center;text-decoration:none;text-shadow:1px 1px 1px #2b658c;width:100%;line-height:22px}.vfb-pro-call-to-action .cta-price{color:#ace7ff;display:block;font-size:12px;font-weight:normal;line-height:20px;text-align:center;text-decoration:none;width:100%;line-height:20px}.vfb-pro-upgrade{display:inline;float:left;padding:10px;margin-bottom:20px;background-color:#d3e7ee;border:1px solid #21759b;border-radius:5px}.rtl .vfb-pro-upgrade{float:right}.vfb-pro-upgrade h2,.wrap .vfb-pro-upgrade h2{font-size:23px;font-weight:500;padding:5px 0;text-align:center}.vfb-pro-upgrade h2 a{text-decoration:none}.vfb-pro-upgrade ul{list-style:outside;margin-left:10px}.rtl .vfb-pro-upgrade ul{margin-left:0;margin-right:10px}#vfb-form-builder-frame{display:block;margin:0 -8px 0 290px}.rtl #vfb-form-builder-frame{margin:0 290px 0 -8px}#vfb-form-builder-frame:after,#form-editor-header .vfb-major-publishing-actions:after,#form-editor-footer .vfb-major-publishing-actions:after,#vfb-form-builder-frame .menu-item-settings:after,#vfb-form-list:after,.option:after{display:block;visibility:hidden;clear:both;height:0;content:"."}#vfb-form-builder-sidebar{clear:both;width:281px}#vfb-form-builder-management{position:relative;margin-right:10px}.rtl #vfb-form-builder-management{margin-right:0;margin-left:10px}#vfb-form-builder-management .form-edit{margin-bottom:20px;border:1px solid #dfdfdf;border-radius:3px}.admin-color-classic #vfb-form-builder-management .form-edit{border-color:#d0dfe9}#form-editor-header,#form-editor-footer{padding:0 10px;background-color:#f1f1f1}#form-editor-footer{border-top:1px solid #dfdfdf}.admin-color-classic #form-editor-header,.admin-color-classic #form-editor-footer{background-color:#f5fafd}.admin-color-class #form-editor-footer{border-top-color:#d0dfe9}.vfb-major-publishing-actions{clear:both;padding:3px 0 5px}.vfb-major-publishing-actions .publishing-action{float:right;margin:5px 0 1px;text-align:right;line-height:23px}#form-editor-header .publishing-action{margin-top:12px}.sub-navigation{float:none;margin:8px 0 5px;padding:0;list-style:none;white-space:nowrap;font-size:12px}.sub-navigation li{display:inline;margin:0;padding:0}.sub-navigation a{padding:.2em;text-decoration:none;line-height:2}.sub-navigation a.current{border:medium none;background:0;color:black;font-weight:bold}.sub-navigation a:hover{color:#d54e21}#vfb-sidebar,#vfb-main{float:left;margin:10px 0;width:280px}.rtl #vfb-sidebar,.rtl #vfb-main{float:right}#vfb-main{width:auto}#vfb-main.vfb-order-type-list{width:100%}#vfb-main p a,#vfb-main h3 a{text-decoration:none}#vfb-main .submitdelete{color:#bc0b0b;text-decoration:none}#vfb-main .submitdelete:hover{color:red}#vfb-sidebar{margin-left:-300px}.rtl #vfb-sidebar{margin-left:0;margin-right:-300px}#vfb-form-list{display:block;margin-left:300px}.rtl #vfb-form-list{margin-left:0;margin-right:300px}.vfb-box{position:relative;float:left;padding:0 10px;border:1px solid #dfdfdf;border-radius:3px 3px 3px 3px;background-color:#f5f5f5;background:-moz-linear-gradient(top,#fff 0,#f5f5f5 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(100%,#f5f5f5));background:-webkit-linear-gradient(top,#fff 0,#f5f5f5 100%);background:-o-linear-gradient(top,#fff 0,#f5f5f5 100%);background:-ms-linear-gradient(top,#fff 0,#f5f5f5 100%);background:linear-gradient(to bottom,#fff 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f5f5f5',GradientType=0);box-shadow:0 1px 0 #fff inset;line-height:1.4em}.vfb-form-alpha-list{width:70%;float:left;padding-right:20px}.rtl .vfb-form-alpha-list{float:right;padding-right:0;padding-left:20px}.vfb-form-alpha-list hr{display:block;margin:1em 0;padding:0;height:1px;border:0;border-top:1px solid #ccc}.vfb-form-alpha-group .letter,.wrap h2.letter{float:left;padding:0;color:#666;font-size:14px;line-height:17px}.vfb-form-alpha-form{display:block;margin:10px 0;padding-left:150px;width:auto}.vfb-form-alpha-form h3{float:left;margin:0;width:50%;word-wrap:break-word;font-size:17px}.vfb-form-alpha-form .vfb-publishing-actions,.vfb-form-alpha-form .vfb-form-meta{float:left;width:20%;text-align:center}.vfb-form-alpha-form .vfb-form-meta{width:30%}.vfb-form-alpha-form .vfb-publishing-actions p,.vfb-form-alpha-form .vfb-form-meta p{margin:0}.vfb-form-alpha-form .vfb-form-meta,.vfb-form-alpha-form .paypal{float:left;margin:0;text-align:left}.rtl .vfb-form-alpha-form .vfb-form-meta,.rtl .vfb-form-alpha-form .paypal{float:right;text-align:right}.vfb-sortable-placeholder{display:block;height:35px;width:400px;margin:8px;border:1px dashed #bbb;background-color:#f5f5f5}#vfb-main .vfb-sortable-placeholder{float:left;margin:8px;height:200px;width:210px}.rtl #vfb-main .vfb-sortable-placeholder{float:right}#vfb-menu-to-edit .mjs-nestedSortable-error{border-color:red;background-color:#fbe3e4;color:#8a1f11}.vfb-meta-entries-total span,.vfb-meta-entries-total-today span{font-size:11px;font-weight:bold;height:1.4em;line-height:1.4em;min-width:.7em;padding:0 6px;display:inline-block;border-radius:5px;background-color:#bbb;color:white;text-align:center}.vfb-meta-entries-total:hover span,.vfb-meta-entries-total-today:hover span{background-color:#d54e21}.fixed .column-entries,.fixed .column-form_id{width:8em}strong .vfb-meta-entries-total span{background-color:#21759b}.entries-count-wrapper{font-family:sans-serif;min-width:22px;padding-bottom:1px}#new-form{margin:8px 0;padding-top:10px;width:75px;height:105px;text-align:center}#new-form a{display:block;width:auto;text-decoration:none}#post-body{padding:10px}.vfb-postbox-container{float:left;margin:0 8px;width:100%}.rtl .vfb-postbox-container{float:right}#vfb-postbox-container-1 .postbox{min-width:281px}#vfb-postbox-container-2{min-width:485px}#vfb-form-builder-frame.columns-1{margin-left:-8px}.rtl #vfb-form-builder-frame.columns-1{margin-left:0;margin-right:-8px}#vfb-form-builder-frame.columns-1 #vfb-postbox-container-1{float:none}#vfb-form-builder-frame.columns-1 #vfb-postbox-container-2{width:99%}#vfb-form-builder-frame.columns-2 #vfb-postbox-container-3{display:none}#vfb-form-builder-frame.columns-2 #vfb-postbox-container-1,#vfb-form-builder-frame.columns-3 #vfb-postbox-container-1{margin-left:-290px;width:281px}.rtl #vfb-form-builder-frame.columns-2 #vfb-postbox-container-1,.rtl #vfb-form-builder-frame.columns-3 #vfb-postbox-container-1{margin-left:0;margin-right:-290px}#vfb-form-builder-frame.columns-3 #vfb-form-builder-management{margin-right:0}#vfb-form-builder-frame.columns-3 #vfb-postbox-container-2{width:30%}#vfb-form-builder-frame.columns-3 #vfb-postbox-container-3{display:inline;margin-right:0;width:46.5%}.rtl #vfb-form-builder-frame.columns-3 #vfb-postbox-container-3{margin-right:0;margin-left:0}#vfb-form-meta-preview iframe{width:100%;height:100%}@media only screen and (max-width:799px){#vfb-form-builder-frame .vfb-postbox-container{width:100%}.columns-prefs .columns-prefs-3{display:none}}@media only screen and (min-width:800px) and (max-width:1200px){#vfb-form-builder-frame .vfb-postbox-container{width:49.5%}#vfb-form-builder-frame.columns-3 #vfb-postbox-container-2,#vfb-form-builder-frame.columns-3 #vfb-postbox-container-3{width:50.5%}#vfb-form-builder-frame.columns-1 .vfb-postbox-container{width:100%}}@media only screen and (min-width:1600px){#vfb-form-builder-frame.columns-3 #vfb-postbox-container-3{width:58%}}.item-edit{position:absolute;top:0;right:-20px;display:block;overflow:hidden;width:30px;height:36px;background:url('../images/arrows.png?d=20130703') no-repeat scroll 8px 10px transparent;text-indent:-999em}.admin-color-classic .item-edit{background:url('../images/arrows-vs.png?d=20130703') no-repeat scroll 8px 10px transparent}.rtl .item-edit{right:auto;left:-20px}.item-edit:hover{background:url('../images/arrows-dark.png?d=20130703') no-repeat scroll 8px 10px transparent}.admin-color-classic .item-edit:hover{background:url('../images/arrows-dark-vs.png?d=20130703') no-repeat scroll 8px 10px transparent}.item-edit.opened{background:url('../images/arrows.png?d=20130703') no-repeat scroll 8px -25px transparent}.admin-color-classic .item-edit.opened{background:url('../images/arrows-vs.png?d=20130703') no-repeat scroll 8px -25px transparent}.item-edit.opened:hover{background:url('../images/arrows-dark.png?d=20130703') no-repeat scroll 8px -25px transparent}.admin-color-classic .item-edit.opened:hover{background:url('../images/arrows-dark-vs.png?d=20130703') no-repeat scroll 8px -25px transparent}.option .widefat,.options-other-show .widefat,.options-other-hide .widefat{margin:0 6px 7px 0;width:325px}.rtl .option .widefat,.rtl .options-other-show .widefat,.rtl .options-other-hide .widefat{margin:0 0 7px 6px}#form-settings .description-thin{margin:12px 10px 12px 0}.rtl #form-settings .description-thin{margin:12px 0 12px 10px}.description-thin,.description-wide{float:left;margin-right:10px}.rtl .description-thin,.rtl .description-wide{float:right;margin-right:0;margin-left:10px}.description-thin{width:190px;height:40px}.description-wide{width:390px}.vfb-interface-icon{position:absolute;top:4px;right:4px;display:inline-block;width:16px;height:16px;background-color:transparent;background-image:url('../images/vfb-interface-icons.png?d=20130713');background-repeat:no-repeat;text-indent:-9999px}.vfb-interface-settings{background-position:-32px 0}.vfb-interface-duplicate{background-position:0 0}.vfb-interface-trash{background-position:-64px 0}.vfb-interface-conditional{background-position:-224px 0}.vfb-interface-sort{background-position:-128px 0}.vfb-interface-plus{background-position:-160px 0}.vfb-interface-minus{background-position:-192px 0}.vfb-interface-bulk-add{background-position:-96px 0}.vfb-interface-plus,.vfb-interface-minus{top:0}.addEmail,.deleteEmail{top:21px}.addEmail{right:55px}.rtl .addEmail{right:auto;left:55px}.deleteEmail{right:30px}.rtl .deleteEmail{right:auto;left:30px}.deleteOption,.vfb-interface-sort,.addCondition,.deleteCondition{top:3px}.deleteOption,.addCondition{right:25px}.rtl .deleteOption,.rtl .addCondition{right:auto;left:25px}.vfb-interface-sort,.deleteCondition{right:0}.rtl .vfb-interface-sort,.rtl .deleteCondition{right:auto;left:0}.vfb-interface-sort:hover{cursor:pointer}.ui-state-disabled .menu-item-handle{background:#dfdfdf;box-shadow:none;cursor:default}.option{float:left;width:97%;position:relative}.rtl .option{float:right}#vfb-poststuff{display:block;margin-right:300px}.rtl #vfb-poststuff{margin-right:0;margin-left:300px}#vfb-entries-body-content{float:left;width:100%}.rtl #vfb-entries-body-content{float:right}.metabox-holder #vfb-entries-body-content h3{font-weight:bold;font-family:sans-serif}#entry-edit #side-info-column{margin-right:-300px}.rtl #entry-edit #side-info-column{margin-right:0;margin-left:-300px}label.error{display:block;color:red}#visual-form-builder-update input.error,#visual-form-builder-update textarea.error,#visual-form-builder-update select.error{border:1px solid red}.vfb-menu-item-handle{background:#f1f1f1;box-shadow:0 1px 0 #f1f1f1 inset;border:1px solid #dfdfdf;border-radius:3px;height:auto;line-height:35px;overflow:hidden;padding-left:10px;position:relative;text-shadow:0 1px 0 #fff;width:400px;word-wrap:break-word;cursor:move}.admin-color-classic .vfb-menu-item-handle{background:#f5fafd;box-shadow:0 1px 0 #fff inset;border-color:#d0dfe9}.rtl .vfb-menu-item-handle{padding-left:0;padding-right:10px}.vfb-menu-item-type-fieldset,.vfb-menu-item-type-verification,#form-element-fieldset{background:#e3e3e3;box-shadow:0 1px 0 #e3e3e3 inset}.admin-color-classic .vfb-menu-item-type-fieldset,.admin-color-classic .vfb-menu-item-type-verification,.admin-color-classic #form-element-fieldset{background:#e2f3ff;box-shadow:0 1px 0 #fff inset}.vfb-menu-item-handle .item-title{min-height:20px;display:block;font-size:12px;font-weight:bold;line-height:20px;margin-right:13em;padding:7px 0}.rtl .vfb-menu-item-handle .item-title{margin-right:0;margin-left:13em}.vfb-menu-item-active .vfb-menu-item-handle{border-bottom-left-radius:0;border-bottom-right-radius:0}.sender-labels{width:80px}.is-field-required{color:#bc1212}#form-details-nav{padding-top:10px;font-size:1.0em}#form-details-nav a,.charts-nav a{padding:5px 10px;text-decoration:none;font-weight:bold}#form-details-nav a.current,.charts-nav a.current{height:40px;border-color:#dfdfdf;border-radius:5px;background-color:#777;background-image:-ms-linear-gradient(bottom,#6d6d6d,#808080);background-image:-moz-linear-gradient(bottom,#6d6d6d,#808080);background-image:-o-linear-gradient(bottom,#6d6d6d,#808080);background-image:-webkit-gradient(linear,left bottom,left top,from(#6d6d6d),to(#808080));background-image:-webkit-linear-gradient(bottom,#6d6d6d,#808080);background-image:linear-gradient(bottom,#6d6d6d,#808080);color:white;text-shadow:0 -1px 0 #333}.form-details,#form-success-message-text,#form-success-message-page,#form-success-message-redirect{display:none}.form-details-current,.active{display:block}#confirmation-message textarea,#notification textarea{width:100%;height:10em;font-family:Consolas,Monaco,monospace}#form-success-message-page,#form-success-message-redirect{margin-top:10px;width:100%}.post-body-plain ol li{list-style:decimal}#vfb-upgrade-column{display:inline;float:left;width:auto}.rtl #vfb-upgrade-column{float:right}#promote-vfb li{padding-left:20px;text-align:left}.rtl #promote-vfb li{padding-left:0;padding-right:40px;text-align:right}#promote-vfb #twitter{background:url('../images/sprite.png?d=20120921') -10px -746px no-repeat transparent}.rtl #promote-vfb #twitter{background-position:right -746px}#promote-vfb #star{background:url('../images/sprite.png?d=20120921') -10px -710px no-repeat transparent}.rtl #promote-vfb #star{background-position:right -710px}#promote-vfb #paypal,.paypal{background:url('../images/sprite.png?d=20120921') -10px -777px no-repeat transparent}.rtl #promote-vfb #paypal{background-position:right -777px}.paypal{padding-top:3px;padding-left:20px;height:20px}.menu .ui-nestedSortable-error{background-color:#fbe3e4;border-color:red;color:#8a1f11}ul#vfb-menu-to-edit ul{margin:0 0 0 25px;padding:0;width:98%;list-style-type:none}#vfb-menu-to-edit{margin-top:0;padding:1em 0}#vfb-fieldset-first-warning{display:none}.ui-state-disabled{opacity:100;filter:alpha(Opacity=100)}.vfb-details{margin-bottom:10px;padding:0 10px;border:1px solid #ccc;border-radius:3px}.vfb-details.section{width:97.55%;background-color:#efefef}.vfb-details .postbox{min-height:60px}#poststuff .vfb-details h2{margin-top:0}#poststuff h3.section-heading{padding-left:0}#form-items .tabs-panel{overflow:visible;padding:.5em 0 .5em 4px;min-height:300px;height:auto}.rtl #form-items .tabs-panel{padding:.5em 4px .5em 0}ul.vfb-fields-col-1,ul.vfb-fields-col-2{float:left;width:50%;list-style:none}.rtl ul.vfb-fields-col-1,.rtl ul.vfb-fields-col-2{float:right}#vfb-form-builder-frame.columns-1 #vfb-postbox-container-1 #form-items .tabs-panel{height:auto}.vfb-draggable-form-items{position:relative;position:relative;display:block;margin-right:8px;padding:4px 0 4px 34px;border:1px solid #bbb;border-radius:3px;color:#464646;text-align:left;text-decoration:none}.rtl .vfb-draggable-form-items{margin-right:0;margin-left:8px;padding:4px 34px 4px 10px}.vfb-draggable-form-items:hover{border-color:#aaa}.vfb-draggable-form-items b{position:absolute;left:8px;display:inline-block;width:16px;height:16px;background-color:transparent;background-image:url('../images/vfb-form-items.png?d=20130712');background-repeat:no-repeat;line-height:16px}.rtl .vfb-draggable-form-items b{left:auto;right:8px}#form-element-address b{background-position:-128px 0}#form-element-autocomplete b{background-position:-384px 0}#form-element-checkbox b{background-position:-672px 0}#form-element-color b{background-position:0 0}#form-element-currency b{background-position:-64px 0}#form-element-datepicker b{background-position:-224px 0}#form-element-digits b{background-position:-832px 0}#form-element-email b{background-position:-160px 0}#form-element-file b{background-position:-512px 0}#form-element-hidden b{background-position:-544px 0}#form-element-html b{background-position:-800px 0}#form-element-instructions b{background-position:-256px 0}#form-element-ip b{background-position:-448px 0}#form-element-max b{background-position:-576px 0}#form-element-min b{background-position:-608px 0}#form-element-name b{background-position:-320px 0}#form-element-pagebreak b{background-position:-768px 0}#form-element-password b{background-position:-352px 0}#form-element-phone b{background-position:-96px 0}#form-element-radio b{background-position:-704px 0}#form-element-range b{background-position:-640px 0}#form-element-select b{background-position:-416px 0}#form-element-text b{background-position:-736px 0}#form-element-textarea b{background-position:-32px 0}#form-element-time b{background-position:-192px 0}#form-element-username b{background-position:-288px 0}#form-element-url b{background-position:-480px 0}.static-vars-inactive{display:none}.static-vars-active{display:block}.vfb-button{position:relative;display:inline-block;overflow:visible;margin:0;padding:.5em 2.5em .5em 1em;outline:0;border:1px solid #d4d4d4;border-radius:.2em;background-color:#f5f5f5;color:#333;text-decoration:none;white-space:nowrap;font:12px/normal sans-serif;cursor:pointer;zoom:1;-webkit-background-clip:padding;-moz-background-clip:padding;-o-background-clip:padding-box;*display:inline}.vfb-button:hover,.vfb-button:active,.vfb-button.current{border-color:#929292;border-bottom-color:#929292;background-color:#eee;background-image:-webkit-gradient(linear,0 0,0 100%,from(#eee),to(#ccc));background-image:-moz-linear-gradient(#eee,#ccc);background-image:-o-linear-gradient(#eee,#ccc);background-image:linear-gradient(#eee,#ccc);color:#000}.vfb-button.current{font-weight:bold}.vfb-button::-moz-focus-inner{padding:0;border:0}.vfb-button.vfb-settings:hover,.vfb-button.vfb-settings:focus,.vfb-button.vfb-settings:active{color:#3072b3}.vfb-button.vfb-delete:hover,.vfb-button.vfb-delete:focus,.vfb-button.vfb-delete:active{color:#900}.vfb-button.vfb-duplicate:hover,.vfb-button.vfb-duplicate:focus,.vfb-button.vfb-duplicate:active{color:#008e0d}.vfb-button-group{display:inline-block;margin:10px 0;list-style:none}.rtl .vfb-button-group{margin-left:-2px}.vfb-button-group .vfb-button{float:left;margin-right:5px}.rtl .vfb-button-group .vfb-button{float:right;margin-right:0;margin-left:5px}.vfb-button-group .button-primary{margin-top:2px}.vfb-item-actions{margin-right:10px;margin-bottom:10px;text-align:center}.rtl .vfb-item-actions{margin-right:0;margin-left:10px}.vfb-item-actions .vfb-delete{float:left}.rtl .vfb-item-actions .vfb-delete{float:right}.vfb-item-actions .vfb-conditional-fields{float:right}.rtl .vfb-item-actions .vfb-conditional-fields{float:left}.vfb-item-actions .vfb-delete,.vfb-item-actions .vfb-duplicate,.vfb-item-actions .vfb-conditional-fields{margin-top:10px}#form-settings{display:none;width:100%;max-width:460px;margin-bottom:15px;border-bottom:1px solid #d6d6d6}#form-settings.current{display:block}.form-details{padding:20px;background:#fff;background:rgba(255,255,255,0.5);border-left:1px solid #d6d6d6;border-right:1px solid #d6d6d6}.form-details.on{display:block}.settings-links{position:relative;z-index:1;display:block;padding:5px 15px;height:25px;background:#f5f5f5;border-top:1px solid #ccc;border-left:1px solid #ccc;border-right:1px solid #ccc;color:#333;text-decoration:none;text-transform:uppercase;text-shadow:0 1px 0 #fff;font-weight:normal;font-size:15px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:25px;cursor:pointer}.settings-links .vfb-large-arrow{position:absolute;top:16px;right:25px;width:5px;height:0;z-index:1}.settings-links .vfb-large-arrow:after{content:'';width:0;height:0;border-color:#ccc transparent;border-style:solid;border-width:6px 6px 0;position:absolute;z-index:1}.rtl .settings-links .vfb-large-arrow{right:auto;left:13px}.settings-links.on{border-bottom:1px solid #808080}.settings-links:hover,.settings-links.on{background:#808080;color:#fff;text-shadow:0 -1px 0 #333}.settings-links:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.vfb-tooltip{position:relative;float:right;margin-right:2px;width:16px;height:16px;cursor:pointer}.rtl .vfb-tooltip{float:left;margin-right:0;margin-left:2px}.tooltip{position:absolute;top:-40px;z-index:200;display:none;padding:5px 20px;width:250px;border:2px solid #333;border-radius:5px;background:#222;box-shadow:0 0 7px black;color:white;text-indent:0;font-style:normal}.tooltip h3,.vfb-tooltip .tooltip h3{margin:5px 0;padding:0 0 6px 0;border-bottom:1px solid white;font-weight:bold;font-size:13px;font-family:sans-serif}.tooltip p{margin-top:10px;font-size:12px}.vfb-add-options-group{display:inline-block;margin:10px 0;list-style:none;text-align:center;width:95%}.vfb-add-options-group .vfb-interface-plus{top:4px}.vfb-export-label{width:10em;float:left}.rtl .vfb-export-label{float:right}#vfb-export-entries-fields{height:275px;width:300px;overflow:auto;display:block;border:1px solid #e8e8e8;border-radius:3px;margin-left:10em;padding:5px}@media print{body *{float:none}html,.wrap,#wpbody-content,#vfb-poststuff{background:none!important;padding:0;margin:0;height:auto}#wpadminbar,#adminmenuwrap,#adminmenushadow,#adminmenuback,.screen-reader-shortcut,#screen-meta,#screen-meta-links,#wpfooter,#icon-options-general,.wrap h2,.view-entry,#major-publishing-actions,.clear{display:none}#wpcontent,body #wpcontent{margin-left:0;width:auto;height:auto}#entry-edit h3 span{font-size:23px;font-weight:normal}#vfb-poststuff{page-break-after:auto}#vfb-entries-body-content{width:100%;height:auto;margin:0 0 50px 0;padding:0}#side-info-column{width:100%;height:auto;float:none}#side-info-column .postbox .inside{margin:0;padding:0}#minor-publishing,.misc-pub-section,#submitdiv,#submitdiv h3{background:none!important;border:0;margin:0}#submitdiv h3 span{font-family:sans-serif;font-size:16px}.inner-sidebar #side-sortables,.columns-2 .inner-sidebar #side-sortables{margin:0;padding:0;width:auto}table{page-break-inside:auto}tr textarea{overflow:visible}}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.vfb-interface-icon{top:5px;background-image:url('../images/vfb-interface-icons-2x.png?d=20130712');background-size:cover}.vfb-draggable-form-items b{background-image:url('../images/vfb-form-items-2x.png?d=20130712');background-size:cover}.vfb-add-options-group .vfb-interface-plus{top:5px}.addEmail,.deleteEmail{top:22px}.item-edit{background-image:url('../images/arrows-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .item-edit{background-image:url('../images/arrows-vs-2x.png?d=20130611');background-size:15px 123px}.item-edit:hover{background-image:url('../images/arrows-dark-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .item-edit:hover{background-image:url('../images/arrows-dark-vs-2x.png?d=20130611');background-size:15px 123px}.item-edit.opened{background-image:url('../images/arrows-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .item-edit.opened{background-image:url('../images/arrows-vs-2x.png?d=20130611');background-size:15px 123px}.item-edit.opened:hover{background-image:url('../images/arrows-dark-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .item-edit.opened:hover{background-image:url('../images/arrows-dark-vs-2x.png?d=20130611');background-size:15px 123px}.button-icon.vfb-small-arrow{background-image:url('../images/arrows-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .button-icon.vfb-small-arrow{background-image:url('../images/arrows-vs-2x.png?d=20130611');background-size:15px 123px}.current .button-icon.vfb-small-arrow{background-image:url('../images/arrows-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .current .button-icon.vfb-small-arrow{background-image:url('../images/arrows-vs.png?d=20130611');background-size:15px 123px}}
|
1 |
+
.vfb-pro-call-to-action{padding:5px 0;text-align:center}.vfb-btn{display:inline-block;*display:inline;*zoom:1;padding:15px 10px;margin-bottom:0;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;font-size:21px;font-weight:500;text-shadow:0 1px 1px rgba(255,255,255,0.75);background-color:#f5f5f5;background-repeat:repeat-x;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#e6e6e6;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);border:1px solid #ccc;*border:0;border-bottom-color:#b3b3b3;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;*margin-left:.3em;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);text-decoration:none}.vfb-btn:hover,.vfb-btn:focus{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.vfb-btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.vfb-btn.active,.vfb-btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.vfb-btn-primary.active{color:rgba(255,255,255,0.75)}.vfb-btn-primary{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25);background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);border-color:#04c #0044cc #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false)}.vfb-btn-primary:hover,.vfb-btn-primary:focus,.vfb-btn-primary:active,.vfb-btn-primary.active,.vfb-btn-primary.disabled,.vfb-btn-primary[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.vfb-btn-primary:active,.vfb-btn-primary.active{background-color:#039 \9}.vfb-btn-inverse{background-color:#363636;background-repeat:repeat-x;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.vfb-btn-inverse:hover,.vfb-btn-inverse:focus,.vfb-btn-inverse:active,.vfb-btn-inverse.active,.vfb-btn-inverse.disabled,.vfb-btn-inverse[disabled]{background-color:#222;color:#fff}.vfb-pro-call-to-action .cta-sign-up{color:#fff;display:block;font-size:24px;font-weight:bold;text-align:center;text-decoration:none;text-shadow:1px 1px 1px #2b658c;width:100%;line-height:22px}.vfb-pro-call-to-action .cta-price{color:#ace7ff;display:block;font-size:12px;font-weight:normal;line-height:20px;text-align:center;text-decoration:none;width:100%;line-height:20px}.vfb-pro-upgrade{display:inline;float:left;padding:10px;margin-bottom:20px;background-color:#d3e7ee;border:1px solid #21759b;border-radius:5px}.rtl .vfb-pro-upgrade{float:right}.vfb-pro-upgrade h2,.wrap .vfb-pro-upgrade h2{font-size:23px;font-weight:500;padding:5px 0;text-align:center}.vfb-pro-upgrade h2 a{text-decoration:none}.vfb-pro-upgrade ul{list-style:outside;margin-left:10px}.rtl .vfb-pro-upgrade ul{margin-left:0;margin-right:10px}#vfb-form-builder-frame{display:block;margin:0 -8px 0 290px}.rtl #vfb-form-builder-frame{margin:0 290px 0 -8px}#vfb-form-builder-frame:after,#form-editor-header .vfb-major-publishing-actions:after,#form-editor-footer .vfb-major-publishing-actions:after,#vfb-form-builder-frame .menu-item-settings:after,#vfb-form-list:after,.option:after{display:block;visibility:hidden;clear:both;height:0;content:"."}#vfb-form-builder-sidebar{clear:both;width:281px}#vfb-form-builder-management{position:relative;margin-right:10px}.rtl #vfb-form-builder-management{margin-right:0;margin-left:10px}#vfb-form-builder-management .form-edit{margin-bottom:20px;border:1px solid #dfdfdf;border-radius:3px}.admin-color-classic #vfb-form-builder-management .form-edit{border-color:#d0dfe9}#form-editor-header,#form-editor-footer{padding:0 10px;background-color:#f1f1f1}#form-editor-footer{border-top:1px solid #dfdfdf}.admin-color-classic #form-editor-header,.admin-color-classic #form-editor-footer{background-color:#f5fafd}.admin-color-class #form-editor-footer{border-top-color:#d0dfe9}.vfb-major-publishing-actions{clear:both;padding:3px 0 5px}.vfb-major-publishing-actions .publishing-action{float:right;margin:5px 0 1px;text-align:right;line-height:23px}#form-editor-header .publishing-action{margin-top:12px}.sub-navigation{float:none;margin:8px 0 5px;padding:0;list-style:none;white-space:nowrap;font-size:12px}.sub-navigation li{display:inline;margin:0;padding:0}.sub-navigation a{padding:.2em;text-decoration:none;line-height:2}.sub-navigation a.current{border:medium none;background:0;color:black;font-weight:bold}.sub-navigation a:hover{color:#d54e21}#vfb-sidebar,#vfb-main{float:left;margin:10px 0;width:280px}.rtl #vfb-sidebar,.rtl #vfb-main{float:right}#vfb-main{width:auto}#vfb-main.vfb-order-type-list{width:100%}#vfb-main p a,#vfb-main h3 a{text-decoration:none}#vfb-main .submitdelete{color:#bc0b0b;text-decoration:none}#vfb-main .submitdelete:hover{color:red}#vfb-sidebar{margin-left:-300px}.rtl #vfb-sidebar{margin-left:0;margin-right:-300px}#vfb-form-list{display:block;margin-left:300px}.rtl #vfb-form-list{margin-left:0;margin-right:300px}.vfb-box{position:relative;float:left;padding:0 10px;border:1px solid #dfdfdf;border-radius:3px 3px 3px 3px;background-color:#f5f5f5;background:-moz-linear-gradient(top,#fff 0,#f5f5f5 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(100%,#f5f5f5));background:-webkit-linear-gradient(top,#fff 0,#f5f5f5 100%);background:-o-linear-gradient(top,#fff 0,#f5f5f5 100%);background:-ms-linear-gradient(top,#fff 0,#f5f5f5 100%);background:linear-gradient(to bottom,#fff 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f5f5f5',GradientType=0);box-shadow:0 1px 0 #fff inset;line-height:1.4em}.vfb-form-alpha-list{width:70%;float:left;padding-right:20px}.rtl .vfb-form-alpha-list{float:right;padding-right:0;padding-left:20px}.vfb-form-alpha-list hr{display:block;margin:1em 0;padding:0;height:1px;border:0;border-top:1px solid #ccc}.vfb-form-alpha-group .letter,.wrap h2.letter{float:left;padding:0;color:#666;font-size:14px;line-height:17px}.vfb-form-alpha-form{display:block;margin:10px 0;padding-left:150px;width:auto}.vfb-form-alpha-form h3{float:left;margin:0;width:50%;word-wrap:break-word;font-size:17px}.vfb-form-alpha-form .vfb-publishing-actions,.vfb-form-alpha-form .vfb-form-meta{float:left;width:20%;text-align:center}.vfb-form-alpha-form .vfb-form-meta{width:30%}.vfb-form-alpha-form .vfb-publishing-actions p,.vfb-form-alpha-form .vfb-form-meta p{margin:0}.vfb-form-alpha-form .vfb-form-meta,.vfb-form-alpha-form .paypal{float:left;margin:0;text-align:left}.rtl .vfb-form-alpha-form .vfb-form-meta,.rtl .vfb-form-alpha-form .paypal{float:right;text-align:right}.vfb-sortable-placeholder{display:block;height:35px;width:400px;margin:8px;border:1px dashed #bbb;background-color:#f5f5f5}#vfb-main .vfb-sortable-placeholder{float:left;margin:8px;height:200px;width:210px}.rtl #vfb-main .vfb-sortable-placeholder{float:right}#vfb-menu-to-edit .mjs-nestedSortable-error{border-color:red;background-color:#fbe3e4;color:#8a1f11}.vfb-meta-entries-total span,.vfb-meta-entries-total-today span{font-size:11px;font-weight:bold;height:1.4em;line-height:1.4em;min-width:.7em;padding:0 6px;display:inline-block;border-radius:5px;background-color:#bbb;color:white;text-align:center}.vfb-meta-entries-total:hover span,.vfb-meta-entries-total-today:hover span{background-color:#d54e21}.fixed .column-entries,.fixed .column-form_id{width:8em}strong .vfb-meta-entries-total span{background-color:#21759b}.entries-count-wrapper{font-family:sans-serif;min-width:22px;padding-bottom:1px}#new-form{margin:8px 0;padding-top:10px;width:75px;height:105px;text-align:center}#new-form a{display:block;width:auto;text-decoration:none}#post-body{padding:10px;background:white}.vfb-postbox-container{float:left;margin:0 8px;width:100%}.rtl .vfb-postbox-container{float:right}#vfb-postbox-container-1 .postbox{min-width:281px}#vfb-postbox-container-2{min-width:485px}#vfb-form-builder-frame.columns-1{margin-left:-8px}.rtl #vfb-form-builder-frame.columns-1{margin-left:0;margin-right:-8px}#vfb-form-builder-frame.columns-1 #vfb-postbox-container-1{float:none}#vfb-form-builder-frame.columns-1 #vfb-postbox-container-2{width:99%}#vfb-form-builder-frame.columns-2 #vfb-postbox-container-3{display:none}#vfb-form-builder-frame.columns-2 #vfb-postbox-container-1,#vfb-form-builder-frame.columns-3 #vfb-postbox-container-1{margin-left:-290px;width:281px}.rtl #vfb-form-builder-frame.columns-2 #vfb-postbox-container-1,.rtl #vfb-form-builder-frame.columns-3 #vfb-postbox-container-1{margin-left:0;margin-right:-290px}#vfb-form-builder-frame.columns-3 #vfb-form-builder-management{margin-right:0}#vfb-form-builder-frame.columns-3 #vfb-postbox-container-2{width:30%}#vfb-form-builder-frame.columns-3 #vfb-postbox-container-3{display:inline;margin-right:0;width:46.5%}.rtl #vfb-form-builder-frame.columns-3 #vfb-postbox-container-3{margin-right:0;margin-left:0}#vfb-form-meta-preview iframe{width:100%;height:100%}@media only screen and (max-width:799px){#vfb-form-builder-frame .vfb-postbox-container{width:100%}.columns-prefs .columns-prefs-3{display:none}}@media only screen and (min-width:800px) and (max-width:1200px){#vfb-form-builder-frame .vfb-postbox-container{width:49.5%}#vfb-form-builder-frame.columns-3 #vfb-postbox-container-2,#vfb-form-builder-frame.columns-3 #vfb-postbox-container-3{width:50.5%}#vfb-form-builder-frame.columns-1 .vfb-postbox-container{width:100%}}@media only screen and (min-width:1600px){#vfb-form-builder-frame.columns-3 #vfb-postbox-container-3{width:58%}}.item-edit{position:absolute;top:3px;right:-20px;display:block;overflow:hidden;width:30px;height:40px;background:url('../images/arrows.png?d=20130703') no-repeat scroll 8px 10px transparent;text-indent:-999em}.admin-color-classic .item-edit{background:url('../images/arrows-vs.png?d=20130703') no-repeat scroll 8px 10px transparent}.rtl .item-edit{right:auto;left:-20px}.item-edit:hover{background:url('../images/arrows-dark.png?d=20130703') no-repeat scroll 8px 10px transparent}.admin-color-classic .item-edit:hover{background:url('../images/arrows-dark-vs.png?d=20130703') no-repeat scroll 8px 10px transparent}.item-edit.opened{background:url('../images/arrows.png?d=20130703') no-repeat scroll 8px -25px transparent}.admin-color-classic .item-edit.opened{background:url('../images/arrows-vs.png?d=20130703') no-repeat scroll 8px -25px transparent}.item-edit.opened:hover{background:url('../images/arrows-dark.png?d=20130703') no-repeat scroll 8px -25px transparent}.admin-color-classic .item-edit.opened:hover{background:url('../images/arrows-dark-vs.png?d=20130703') no-repeat scroll 8px -25px transparent}.option .widefat,.options-other-show .widefat,.options-other-hide .widefat{margin:0 6px 7px 0;width:325px}.rtl .option .widefat,.rtl .options-other-show .widefat,.rtl .options-other-hide .widefat{margin:0 0 7px 6px}#form-settings .description-thin{margin:12px 10px 12px 0}.rtl #form-settings .description-thin{margin:12px 0 12px 10px}.description-thin,.description-wide{float:left;margin-right:10px}.rtl .description-thin,.rtl .description-wide{float:right;margin-right:0;margin-left:10px}.description-thin{width:190px;height:40px}.description-wide{width:390px}.vfb-interface-icon{position:absolute;top:4px;right:4px;display:inline-block;width:16px;height:16px;background-color:transparent;background-image:url('../images/vfb-interface-icons.png?d=20130713');background-repeat:no-repeat;text-indent:-9999px}.vfb-interface-settings{background-position:-32px 0}.vfb-interface-duplicate{background-position:0 0}.vfb-interface-trash{background-position:-64px 0}.vfb-interface-conditional{background-position:-224px 0}.vfb-interface-sort{background-position:-128px 0}.vfb-interface-plus{background-position:-160px 0}.vfb-interface-minus{background-position:-192px 0}.vfb-interface-bulk-add{background-position:-96px 0}.vfb-interface-plus,.vfb-interface-minus{top:0}.addEmail,.deleteEmail{top:21px}.addEmail{right:55px}.rtl .addEmail{right:auto;left:55px}.deleteEmail{right:30px}.rtl .deleteEmail{right:auto;left:30px}.deleteOption,.vfb-interface-sort,.addCondition,.deleteCondition{top:3px}.deleteOption,.addCondition{right:25px}.rtl .deleteOption,.rtl .addCondition{right:auto;left:25px}.vfb-interface-sort,.deleteCondition{right:0}.rtl .vfb-interface-sort,.rtl .deleteCondition{right:auto;left:0}.vfb-interface-sort:hover{cursor:pointer}.ui-state-disabled .menu-item-handle{background:#dfdfdf;box-shadow:none;cursor:default}.option{float:left;width:97%;position:relative}.rtl .option{float:right}#vfb-poststuff{display:block;margin-right:300px}.rtl #vfb-poststuff{margin-right:0;margin-left:300px}#vfb-entries-body-content{float:left;width:100%}.rtl #vfb-entries-body-content{float:right}.metabox-holder #vfb-entries-body-content h3{font-weight:bold;font-family:sans-serif}#entry-edit #side-info-column{margin-right:-300px}.rtl #entry-edit #side-info-column{margin-right:0;margin-left:-300px}label.error{display:block;color:red}#visual-form-builder-update input.error,#visual-form-builder-update textarea.error,#visual-form-builder-update select.error{border:1px solid red}#vfb-menu-to-edit .menu-item-settings{width:402px}.vfb-menu-item-handle{background:white;border:1px solid #dfdfdf;border-radius:3px;height:auto;line-height:35px;overflow:hidden;padding:10px 15px;position:relative;text-shadow:0 1px 0 #fff;width:382px;word-wrap:break-word;cursor:move}.vfb-menu-item-handle:hover{border-color:#999}.admin-color-classic .vfb-menu-item-handle{background:#f5fafd;box-shadow:0 1px 0 #fff inset;border-color:#d0dfe9}.rtl .vfb-menu-item-handle{padding-left:0;padding-right:10px}.vfb-menu-item-type-fieldset,.vfb-menu-item-type-verification,#form-element-fieldset{background:#e3e3e3;box-shadow:0 1px 0 #e3e3e3 inset}.admin-color-classic .vfb-menu-item-type-fieldset,.admin-color-classic .vfb-menu-item-type-verification,.admin-color-classic #form-element-fieldset{background:#e2f3ff;box-shadow:0 1px 0 #fff inset}.vfb-menu-item-handle .item-title{min-height:20px;display:block;font-size:12px;font-weight:bold;line-height:20px;margin-right:13em}.rtl .vfb-menu-item-handle .item-title{margin-right:0;margin-left:13em}.vfb-menu-item-active .vfb-menu-item-handle{border-bottom-left-radius:0;border-bottom-right-radius:0}.sender-labels{width:80px}.is-field-required{color:#bc1212}#form-details-nav{padding-top:10px;font-size:1.0em}#form-details-nav a,.charts-nav a{padding:5px 10px;text-decoration:none;font-weight:bold}#form-details-nav a.current,.charts-nav a.current{height:40px;border-color:#dfdfdf;border-radius:5px;background-color:#777;background-image:-ms-linear-gradient(bottom,#6d6d6d,#808080);background-image:-moz-linear-gradient(bottom,#6d6d6d,#808080);background-image:-o-linear-gradient(bottom,#6d6d6d,#808080);background-image:-webkit-gradient(linear,left bottom,left top,from(#6d6d6d),to(#808080));background-image:-webkit-linear-gradient(bottom,#6d6d6d,#808080);background-image:linear-gradient(bottom,#6d6d6d,#808080);color:white;text-shadow:0 -1px 0 #333}.form-details,#form-success-message-text,#form-success-message-page,#form-success-message-redirect{display:none}.form-details-current,.active{display:block}#confirmation-message textarea,#notification textarea{width:100%;height:10em;font-family:Consolas,Monaco,monospace}#form-success-message-page,#form-success-message-redirect{margin-top:10px;width:100%}.post-body-plain ol li{list-style:decimal}#vfb-upgrade-column{display:inline;float:left;width:auto}.rtl #vfb-upgrade-column{float:right}ul#promote-vfb{margin-left:20px;list-style:disc}.rtl ul#promote-vfb{margin-left:auto;margin-right:20px}#promote-vfb li{text-align:left}.rtl #promote-vfb li{text-align:right}.menu .ui-nestedSortable-error{background-color:#fbe3e4;border-color:red;color:#8a1f11}ul#vfb-menu-to-edit ul{margin:0 0 0 25px;padding:0;width:98%;list-style-type:none}#vfb-menu-to-edit{margin-top:0;padding:1em 0}#vfb-fieldset-first-warning{display:none}.ui-state-disabled{opacity:100;filter:alpha(Opacity=100)}.vfb-details{margin-bottom:10px;padding:0 10px;border:1px solid #ccc;border-radius:3px}.vfb-details.section{width:97.55%;background-color:#efefef}.vfb-details .postbox{min-height:60px}#poststuff .vfb-details h2{margin-top:0}#poststuff h3.section-heading{padding-left:0}#form-items .tabs-panel{overflow:visible;padding:.5em 0 .5em 4px;min-height:325px;height:auto}.rtl #form-items .tabs-panel{padding:.5em 4px .5em 0}ul.vfb-fields-col-1,ul.vfb-fields-col-2{float:left;width:50%;list-style:none}.rtl ul.vfb-fields-col-1,.rtl ul.vfb-fields-col-2{float:right}#vfb-form-builder-frame.columns-1 #vfb-postbox-container-1 #form-items .tabs-panel{height:auto}.vfb-draggable-form-items{position:relative;position:relative;display:block;margin-right:8px;padding:4px 0 4px 34px;border:1px solid #bbb;border-radius:3px;color:#464646;text-align:left;text-decoration:none;font-size:12px}.rtl .vfb-draggable-form-items{margin-right:0;margin-left:8px;padding:4px 34px 4px 10px}.vfb-draggable-form-items:hover{border-color:#aaa}.vfb-draggable-form-items b{position:absolute;left:8px;display:inline-block;width:16px;height:16px;background-color:transparent;background-image:url('../images/vfb-form-items.png?d=20130712');background-repeat:no-repeat;line-height:16px}.rtl .vfb-draggable-form-items b{left:auto;right:8px}#form-element-address b{background-position:-128px 0}#form-element-autocomplete b{background-position:-384px 0}#form-element-checkbox b{background-position:-672px 0}#form-element-color b{background-position:0 0}#form-element-currency b{background-position:-64px 0}#form-element-datepicker b{background-position:-224px 0}#form-element-digits b{background-position:-832px 0}#form-element-email b{background-position:-160px 0}#form-element-file b{background-position:-512px 0}#form-element-hidden b{background-position:-544px 0}#form-element-html b{background-position:-800px 0}#form-element-instructions b{background-position:-256px 0}#form-element-ip b{background-position:-448px 0}#form-element-max b{background-position:-576px 0}#form-element-min b{background-position:-608px 0}#form-element-name b{background-position:-320px 0}#form-element-pagebreak b{background-position:-768px 0}#form-element-password b{background-position:-352px 0}#form-element-phone b{background-position:-96px 0}#form-element-radio b{background-position:-704px 0}#form-element-range b{background-position:-640px 0}#form-element-select b{background-position:-416px 0}#form-element-text b{background-position:-736px 0}#form-element-textarea b{background-position:-32px 0}#form-element-time b{background-position:-192px 0}#form-element-username b{background-position:-288px 0}#form-element-url b{background-position:-480px 0}.static-vars-inactive{display:none}.static-vars-active{display:block}.vfb-button{position:relative;display:inline-block;overflow:visible;margin:0;padding:.5em 2.5em .5em 1em;outline:0;border:1px solid #d4d4d4;border-radius:.2em;background-color:#f5f5f5;color:#333;text-decoration:none;white-space:nowrap;font:12px/normal sans-serif;cursor:pointer;zoom:1;-webkit-background-clip:padding;-moz-background-clip:padding;-o-background-clip:padding-box;*display:inline}.vfb-button:hover,.vfb-button:active,.vfb-button.current{border-color:#929292;border-bottom-color:#929292;background-color:#eee;background-image:-webkit-gradient(linear,0 0,0 100%,from(#eee),to(#ccc));background-image:-moz-linear-gradient(#eee,#ccc);background-image:-o-linear-gradient(#eee,#ccc);background-image:linear-gradient(#eee,#ccc);color:#000}.vfb-button.current{font-weight:bold}.vfb-button::-moz-focus-inner{padding:0;border:0}.vfb-button.vfb-settings:hover,.vfb-button.vfb-settings:focus,.vfb-button.vfb-settings:active{color:#3072b3}.vfb-button.vfb-delete:hover,.vfb-button.vfb-delete:focus,.vfb-button.vfb-delete:active{color:#900}.vfb-button.vfb-duplicate:hover,.vfb-button.vfb-duplicate:focus,.vfb-button.vfb-duplicate:active{color:#008e0d}.vfb-button-group{display:inline-block;margin:10px 0;list-style:none}.rtl .vfb-button-group{margin-left:-2px}.vfb-button-group .vfb-button{float:left;margin-right:5px}.rtl .vfb-button-group .vfb-button{float:right;margin-right:0;margin-left:5px}.vfb-button-group .button-primary{margin-top:2px}.vfb-item-actions{margin-right:10px;margin-bottom:10px;text-align:center}.rtl .vfb-item-actions{margin-right:0;margin-left:10px}.vfb-item-actions .vfb-delete{float:left}.rtl .vfb-item-actions .vfb-delete{float:right}.vfb-item-actions .vfb-conditional-fields{float:right}.rtl .vfb-item-actions .vfb-conditional-fields{float:left}.vfb-item-actions .vfb-delete,.vfb-item-actions .vfb-duplicate,.vfb-item-actions .vfb-conditional-fields{margin-top:10px}#form-settings{display:none;width:100%;max-width:460px;margin-bottom:15px;border-bottom:1px solid #d6d6d6}#form-settings.current{display:block}.form-details{padding:20px;background:#fff;background:rgba(255,255,255,0.5);border-left:1px solid #d6d6d6;border-right:1px solid #d6d6d6}.form-details.on{display:block}.settings-links{position:relative;z-index:1;display:block;padding:5px 15px;height:25px;background:#f5f5f5;border-top:1px solid #ccc;border-left:1px solid #ccc;border-right:1px solid #ccc;color:#333;text-decoration:none;text-transform:uppercase;text-shadow:0 1px 0 #fff;font-weight:normal;font-size:15px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;line-height:25px;cursor:pointer}.settings-links .vfb-large-arrow{position:absolute;top:16px;right:25px;width:5px;height:0;z-index:1}.settings-links .vfb-large-arrow:after{content:'';width:0;height:0;border-color:#ccc transparent;border-style:solid;border-width:6px 6px 0;position:absolute;z-index:1}.rtl .settings-links .vfb-large-arrow{right:auto;left:13px}.settings-links.on{border-bottom:1px solid #808080}.settings-links:hover,.settings-links.on{background:#808080;color:#fff;text-shadow:0 -1px 0 #333}.settings-links:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.vfb-tooltip{position:relative;float:right;margin-right:2px;width:16px;height:16px;cursor:pointer}.rtl .vfb-tooltip{float:left;margin-right:0;margin-left:2px}.tooltip{position:absolute;top:-40px;z-index:200;display:none;padding:5px 20px;width:250px;border:2px solid #333;border-radius:5px;background:#222;box-shadow:0 0 7px black;color:white;text-indent:0;font-style:normal}.tooltip h3,.vfb-tooltip .tooltip h3{margin:5px 0;padding:0 0 6px 0;border-bottom:1px solid white;font-weight:normal;font-size:13px;font-family:sans-serif;color:white}.tooltip p{margin-top:10px;font-size:12px;color:white}.vfb-add-options-group{display:inline-block;margin:10px 0;list-style:none;text-align:center;width:95%}.vfb-add-options-group .vfb-interface-plus{top:4px}.vfb-export-label{width:10em;float:left}.rtl .vfb-export-label{float:right}#vfb-export-entries-fields{height:275px;width:300px;overflow:auto;display:block;border:1px solid #e8e8e8;border-radius:3px;margin-left:10em;padding:5px;background:white}#vfb-export-select-all,#vfb-export-unselect-all{width:150px;display:inline-block;text-align:left}#vfb-export-unselect-all{text-align:right;margin-left:5px}@media print{body *{float:none}html,.wrap,#wpbody-content,#vfb-poststuff{background:none!important;padding:0;margin:0;height:auto}#wpadminbar,#adminmenuwrap,#adminmenushadow,#adminmenuback,.screen-reader-shortcut,#screen-meta,#screen-meta-links,#wpfooter,#icon-options-general,.wrap h2,.view-entry,#major-publishing-actions,.clear{display:none}#wpcontent,body #wpcontent{margin-left:0;width:auto;height:auto}#entry-edit h3 span{font-size:23px;font-weight:normal}#vfb-poststuff{page-break-after:auto}#vfb-entries-body-content{width:100%;height:auto;margin:0 0 50px 0;padding:0}#side-info-column{width:100%;height:auto;float:none}#side-info-column .postbox .inside{margin:0;padding:0}#minor-publishing,.misc-pub-section,#submitdiv,#submitdiv h3{background:none!important;border:0;margin:0}#submitdiv h3 span{font-family:sans-serif;font-size:16px}.inner-sidebar #side-sortables,.columns-2 .inner-sidebar #side-sortables{margin:0;padding:0;width:auto}table{page-break-inside:auto}tr textarea{overflow:visible}}@media print,(-o-min-device-pixel-ratio:5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.vfb-interface-icon{top:5px;background-image:url('../images/vfb-interface-icons-2x.png?d=20130712');background-size:cover}.vfb-draggable-form-items b{background-image:url('../images/vfb-form-items-2x.png?d=20130712');background-size:cover}.vfb-add-options-group .vfb-interface-plus{top:5px}.addEmail,.deleteEmail{top:22px}.item-edit{background-image:url('../images/arrows-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .item-edit{background-image:url('../images/arrows-vs-2x.png?d=20130611');background-size:15px 123px}.item-edit:hover{background-image:url('../images/arrows-dark-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .item-edit:hover{background-image:url('../images/arrows-dark-vs-2x.png?d=20130611');background-size:15px 123px}.item-edit.opened{background-image:url('../images/arrows-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .item-edit.opened{background-image:url('../images/arrows-vs-2x.png?d=20130611');background-size:15px 123px}.item-edit.opened:hover{background-image:url('../images/arrows-dark-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .item-edit.opened:hover{background-image:url('../images/arrows-dark-vs-2x.png?d=20130611');background-size:15px 123px}.button-icon.vfb-small-arrow{background-image:url('../images/arrows-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .button-icon.vfb-small-arrow{background-image:url('../images/arrows-vs-2x.png?d=20130611');background-size:15px 123px}.current .button-icon.vfb-small-arrow{background-image:url('../images/arrows-2x.png?d=20130611');background-size:15px 123px}.admin-color-classic .current .button-icon.vfb-small-arrow{background-image:url('../images/arrows-vs.png?d=20130611');background-size:15px 123px}}
|
css/visual-form-builder.css
CHANGED
@@ -57,7 +57,7 @@ form.visual-form-builder li{
|
|
57 |
list-style: none;
|
58 |
list-style-type: none;
|
59 |
list-style-image: none;
|
60 |
-
font-size:
|
61 |
line-height: inherit;
|
62 |
}
|
63 |
|
@@ -268,12 +268,12 @@ textarea.vfb-textarea {
|
|
268 |
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
|
269 |
}
|
270 |
|
271 |
-
input.vfb-text.error:focus,
|
272 |
-
input[type="text"].vfb-text.error:focus,
|
273 |
-
input[type="tel"].vfb-text.error:focus,
|
274 |
-
input[type="email"].vfb-text.error:focus,
|
275 |
-
input[type="url"].vfb-text.error:focus,
|
276 |
-
textarea.vfb-textarea.error:focus {
|
277 |
border-color: rgba(238,83,83,0.8);
|
278 |
|
279 |
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(238,83,83,.6);
|
@@ -448,21 +448,21 @@ li.vfb-right-third .vfb-large,
|
|
448 |
}
|
449 |
|
450 |
/* !Error */
|
451 |
-
label.error{
|
452 |
color:red;
|
453 |
font-weight:bold;
|
454 |
font-size:90%;
|
455 |
}
|
456 |
|
457 |
-
input.error,
|
458 |
-
input.vfb-text.error,
|
459 |
-
input[type="text"].vfb-text.error,
|
460 |
-
input[type="tel"].vfb-text.error,
|
461 |
-
input[type="email"].vfb-text.error,
|
462 |
-
input[type="url"].vfb-text.error,
|
463 |
-
select.error,
|
464 |
-
textarea.error,
|
465 |
-
textarea.vfb-textarea.error,{
|
466 |
border:1px solid red;
|
467 |
}
|
468 |
|
57 |
list-style: none;
|
58 |
list-style-type: none;
|
59 |
list-style-image: none;
|
60 |
+
font-size:13px;
|
61 |
line-height: inherit;
|
62 |
}
|
63 |
|
268 |
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
|
269 |
}
|
270 |
|
271 |
+
input.vfb-text.vfb-error:focus,
|
272 |
+
input[type="text"].vfb-text.vfb-error:focus,
|
273 |
+
input[type="tel"].vfb-text.vfb-error:focus,
|
274 |
+
input[type="email"].vfb-text.vfb-error:focus,
|
275 |
+
input[type="url"].vfb-text.vfb-error:focus,
|
276 |
+
textarea.vfb-textarea.vfb-error:focus {
|
277 |
border-color: rgba(238,83,83,0.8);
|
278 |
|
279 |
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(238,83,83,.6);
|
448 |
}
|
449 |
|
450 |
/* !Error */
|
451 |
+
label.vfb-error{
|
452 |
color:red;
|
453 |
font-weight:bold;
|
454 |
font-size:90%;
|
455 |
}
|
456 |
|
457 |
+
input.vfb-error,
|
458 |
+
input.vfb-text.vfb-error,
|
459 |
+
input[type="text"].vfb-text.vfb-error,
|
460 |
+
input[type="tel"].vfb-text.vfb-error,
|
461 |
+
input[type="email"].vfb-text.vfb-error,
|
462 |
+
input[type="url"].vfb-text.vfb-error,
|
463 |
+
select.vfb-error,
|
464 |
+
textarea.vfb-error,
|
465 |
+
textarea.vfb-textarea.vfb-error,{
|
466 |
border:1px solid red;
|
467 |
}
|
468 |
|
css/visual-form-builder.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
form.visual-form-builder{position:relative;margin:20px 0;background:0;list-style:none;list-style-type:none;list-style-image:none;text-shadow:none;font-family:inherit}form.visual-form-builder li{margin:0;width:auto!important;background:0;list-style:none;list-style-type:none;list-style-image:none;clear:both}form.visual-form-builder li:before{content:none}form.visual-form-builder ul:after,form.visual-form-builder li:after,form.visual-form-builder li div:after{clear:both;content:'.';display:block;height:0;visibility:hidden}.visual-form-builder br{display:none}form.visual-form-builder .vfb-item-instructions br{display:inline}.visual-form-builder ul,.entry-content .visual-form-builder ul,.comment-content .visual-form-builder ul,.mu_register .visual-form-builder ul,.visual-form-builder ol,.entry-content .visual-form-builder ol,.comment-content .visual-form-builder ol,.mu_register .visual-form-builder ol{margin:0 14px;padding:0;background:0;list-style:none;list-style-type:none;list-style-image:none;font-size:
|
1 |
+
form.visual-form-builder{position:relative;margin:20px 0;background:0;list-style:none;list-style-type:none;list-style-image:none;text-shadow:none;font-family:inherit}form.visual-form-builder li{margin:0;width:auto!important;background:0;list-style:none;list-style-type:none;list-style-image:none;clear:both}form.visual-form-builder li:before{content:none}form.visual-form-builder ul:after,form.visual-form-builder li:after,form.visual-form-builder li div:after{clear:both;content:'.';display:block;height:0;visibility:hidden}.visual-form-builder br{display:none}form.visual-form-builder .vfb-item-instructions br{display:inline}.visual-form-builder ul,.entry-content .visual-form-builder ul,.comment-content .visual-form-builder ul,.mu_register .visual-form-builder ul,.visual-form-builder ol,.entry-content .visual-form-builder ol,.comment-content .visual-form-builder ol,.mu_register .visual-form-builder ol{margin:0 14px;padding:0;background:0;list-style:none;list-style-type:none;list-style-image:none;font-size:13px;line-height:inherit}.visual-form-builder ul li{margin:0;background:0;list-style:none;list-style-type:none;list-style-image:none}.visual-form-builder ul li:before{content:none}.visual-form-builder li,.entry-content .visual-form-builder li,.comment-content .visual-form-builder li,.mu_register .visual-form-builder li{clear:both;margin:0;padding:6px 1% 9px;width:64%;background:0;list-style:none;list-style-type:none;list-style-image:none}.visual-form-builder li:before,.entry-content .visual-form-builder li:before,.comment-content .visual-form-builder li:before,.mu_register .visual-form-builder li:before{content:none}.vfb-span,.visual-form-builder li div span.vfb-span,.visual-form-builder [class*="vfb-span"],span.vfb-full input,span.vfb-full input[type="text"].vfb-medium,span.vfb-full select{display:block;float:left;margin:0;width:100%}.visual-form-builder span.vfb-left{float:left;width:48%}.visual-form-builder span.vfb-right{float:right;width:48%}.visual-form-builder span.vfb-span ul li{list-style:disc}.visual-form-builder span.vfb-span ol li{list-style:decimal}.visual-form-builder span.vfb-right input,.visual-form-builder span.vfb-right input[type="text"],.visual-form-builder span.vfb-right select,.visual-form-builder span.vfb-left input,.visual-form-builder span.vfb-left input[type="text"],.visual-form-builder span.vfb-left select{width:100%}.visual-form-builder span.vfb-time{float:left;margin:0 .3em 0 0}.rtl .visual-form-builder span.vfb-time{float:right;margin:0 0 0 .3em}.visual-form-builder li div label,.visual-form-builder li span label{margin:0;font-size:90%}.visual-form-builder fieldset{clear:both;margin:15px 0;padding:0;border:1px solid #d3d3d3;border-radius:3px;background-color:#eee}.visual-form-builder .vfb-legend{margin:5px 14px;padding:0 6px;border-bottom:1px solid #ccc;color:#900;font-size:inherit}.visual-form-builder .vfb-legend h3{margin:0;padding:0;font-size:20px;line-height:2.0em}.visual-form-builder label,label.vfb-desc{display:block;margin:0;padding:0 0 3px 0;color:#000}label.vfb-desc{font-weight:bold}.visual-form-builder.left-label .vfb-desc,.visual-form-builder.right-label .vfb-desc{float:left;margin:0 15px 0 0;width:20%}.visual-form-builder.right-label .vfb-desc{padding-top:2px;text-align:right}.visual-form-builder li div{margin:0;padding:0}.visual-form-builder.left-label li div,.visual-form-builder.right-label li div{float:left;width:65%}.visual-form-builder label.vfb-choice{margin:-16px 0 0 23px;padding:0 0 5px;width:88%;font-size:100%;line-height:150%}.rtl .visual-form-builder label.vfb-choice{margin:-16px 23px 0 0}.visual-form-builder label .vfb-required-asterisk{margin:0;padding:0;color:#bc1212;vertical-align:baseline;font-weight:bold}input.vfb-text,input[type="text"].vfb-text,input[type="tel"].vfb-text,input[type="email"].vfb-text,input[type="url"].vfb-text,textarea.vfb-textarea{padding:3px 0;border:1px solid #ddd;border-radius:3px;background:none repeat scroll 0 0 #fafafa;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border linear .2s,box-shadow linear .2s;-moz-transition:border linear .2s,box-shadow linear .2s;-o-transition:border linear .2s,box-shadow linear .2s;transition:border linear .2s,box-shadow linear .2s}input.vfb-text:focus,input[type="text"].vfb-text:focus,input[type="tel"].vfb-text:focus,input[type="email"].vfb-text:focus,input[type="url"].vfb-text:focus,textarea.vfb-textarea:focus{outline:0;outline:thin dotted \9;border-color:rgba(82,168,236,0.8);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6)}input.vfb-text.vfb-error:focus,input[type="text"].vfb-text.vfb-error:focus,input[type="tel"].vfb-text.vfb-error:focus,input[type="email"].vfb-text.vfb-error:focus,input[type="url"].vfb-text.vfb-error:focus,textarea.vfb-textarea.vfb-error:focus{border-color:rgba(238,83,83,0.8);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(238,83,83,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(238,83,83,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(238,83,83,.6)}input.vfb-text,input[type="text"].vfb-text,input[type="tel"].vfb-text,input[type="email"].vfb-text,input[type="url"].vfb-text,textarea.vfb-textarea,select.vfb-select{margin:0 0 5px 0;height:auto;color:#373737;font-size:100%;font-family:inherit;line-height:normal}select.vfb-select{padding:1px 0 0}input.vfb-small,input[type="text"].vfb-small,input[type="tel"].vfb-small,input[type="email"].vfb-small,input[type="url"].vfb-small,select.vfb-small{width:25%}input.vfb-medium,input[type="text"].vfb-medium,input[type="tel"].vfb-medium,input[type="email"].vfb-medium,input[type="url"].vfb-medium,select.vfb-medium{width:50%}input.vfb-large,input[type="text"].vfb-large,input[type="tel"].vfb-large,input[type="email"].vfb-large,input[type="url"].vfb-large,select.vfb-large,textarea.vfb-textarea{width:100%}input[type="file"].vfb-small,input[type="file"].vfb-medium,input[type="file"].vfb-large{height:auto;line-height:normal}textarea.vfb-medium{height:5.5em}textarea.vfb-medium{height:10em}textarea.vfb-large{height:20em}.vfb-submit,input[type="submit"].vfb-submit{font-size:1.1em}input.vfb-checkbox,input[type="checkbox"].vfb-checkbox,input.vfb-radio,input[type="radio"].vfb-radio{display:block;margin:4px 0 0;width:13px;height:13px;font-size:1.1em}input.vfb-other,input[type="text"].vfb-other{margin:0 0 8px 25px}.visual-form-builder li.vfb-two-column div span,.visual-form-builder li.vfb-three-column div span,.visual-form-builder li.vfb-auto-column div span{margin:0 5px 0 0;width:48%}.visual-form-builder li.vfb-three-column div span{width:30%}.visual-form-builder li.vfb-auto-column div span{width:auto}.visual-form-builder li.vfb-left-half,.visual-form-builder li.vfb-left-third,.visual-form-builder li.vfb-left-two-thirds{float:left;clear:left}.visual-form-builder li.vfb-right-half,.visual-form-builder li.vfb-right-third,.visual-form-builder li.vfb-right-two-thirds{float:right;clear:none}.visual-form-builder li.vfb-middle-third{float:left;clear:none;margin-left:2%}.visual-form-builder li.vfb-left-half,.visual-form-builder li.vfb-right-half{width:47%!important}.visual-form-builder li.vfb-left-third,.visual-form-builder li.vfb-middle-third,.visual-form-builder li.vfb-right-third{width:30%!important}.visual-form-builder li.vfb-left-two-thirds,.visual-form-builder li.vfb-right-two-thirds{width:64%!important}li.vfb-left-half .vfb-small,li.vfb-left-half .vfb-medium,li.vfb-left-half .vfb-large,li.vfb-right-half .vfb-small,li.vfb-right-half .vfb-medium,li.vfb-right-half .vfb-large,li.vfb-left-third .vfb-small,li.vfb-left-third .vfb-medium,li.vfb-left-third .vfb-large,li.vfb-middle-third .vfb-small,li.vfb-middle-third .vfb-medium,li.vfb-middle-third .vfb-large,li.vfb-right-third .vfb-small,li.vfb-right-third .vfb-medium,li.vfb-right-third .vfb-large,.visual-form-builder li.vfb-left-two-thirds .vfb-small,.visual-form-builder li.vfb-left-two-thirds .vfb-medium,.visual-form-builder li.vfb-left-two-thirds .vfb-large,.visual-form-builder li.vfb-right-two-thirds .vfb-small,.visual-form-builder li.vfb-right-two-thirds .vfb-medium,.visual-form-builder li.vfb-right-two-thirds .vfb-large{width:100%}label.vfb-error{color:red;font-weight:bold;font-size:90%}input.vfb-error,input.vfb-text.vfb-error,input[type="text"].vfb-text.vfb-error,input[type="tel"].vfb-text.vfb-error,input[type="email"].vfb-text.vfb-error,input[type="url"].vfb-text.vfb-error,select.vfb-error,textarea.vfb-error,textarea.vfb-textarea.vfb-error,{border:1px solid red}p#form_success,.vfb-form-success{color:green;font-weight:bold}#ui-datepicker-div{display:none;font-size:12px}.vfb-item-instructions{border-radius:3px;background-color:#e3e3e3}.vfb-item-instructions ul,.vfb-item-instructions ul li{padding-bottom:0;list-style:disc}.vfb-item-instructions ol,.vfb-item-instructions ol li{padding-bottom:0;list-style:decimal}.vfb-section-div{float:left;margin:10px 0;padding:10px;width:97%;border-radius:3px;background-color:#d4d4d4}.visual-form-builder .vfb-section-div h4{margin:0;padding:0;border-bottom:1px solid #bababa;font-size:16px;line-height:inherit}.vfb-clear{display:block;visibility:hidden;clear:both;overflow:hidden;width:0;height:0}.vfb-conditional-hide{display:none}
|
includes/class-entries-list.php
CHANGED
@@ -350,21 +350,25 @@ class VisualFormBuilder_Entries_List extends WP_List_Table {
|
|
350 |
function extra_tablenav( $which ) {
|
351 |
global $wpdb;
|
352 |
|
353 |
-
$cols = $wpdb->get_results( "SELECT DISTINCT forms.form_title, forms.form_id FROM $this->form_table_name AS forms ORDER BY forms.
|
354 |
|
355 |
// Only display the dropdown on the top of the table
|
356 |
if ( 'top' == $which ) {
|
357 |
echo '<div class="alignleft actions">';
|
358 |
$this->months_dropdown();
|
359 |
echo '<select id="form-filter" name="form-filter">
|
360 |
-
<option value="-1"' . selected( $this->current_filter_action(), -1 ) . '>' . __( 'View all forms' , 'visual-form-builder') . '</option>';
|
361 |
|
362 |
foreach ( $cols as $form ) {
|
363 |
-
echo '<option value="
|
|
|
|
|
|
|
|
|
364 |
}
|
365 |
|
366 |
echo '</select>
|
367 |
-
<input type="submit" value="' . __( 'Filter' , 'visual-form-builder') . '" class="button-secondary" />
|
368 |
</div>';
|
369 |
}
|
370 |
}
|
350 |
function extra_tablenav( $which ) {
|
351 |
global $wpdb;
|
352 |
|
353 |
+
$cols = $wpdb->get_results( "SELECT DISTINCT forms.form_title, forms.form_id FROM $this->form_table_name AS forms ORDER BY forms.form_id ASC" );
|
354 |
|
355 |
// Only display the dropdown on the top of the table
|
356 |
if ( 'top' == $which ) {
|
357 |
echo '<div class="alignleft actions">';
|
358 |
$this->months_dropdown();
|
359 |
echo '<select id="form-filter" name="form-filter">
|
360 |
+
<option value="-1"' . selected( $this->current_filter_action(), -1 ) . '>' . __( 'View all forms' , 'visual-form-builder-pro') . '</option>';
|
361 |
|
362 |
foreach ( $cols as $form ) {
|
363 |
+
echo sprintf( '<option value="%1$d"%2$s>%1$d - %3$s</option>',
|
364 |
+
$form->form_id,
|
365 |
+
selected( $this->current_filter_action(), $form->form_id ),
|
366 |
+
$form->form_title
|
367 |
+
);
|
368 |
}
|
369 |
|
370 |
echo '</select>
|
371 |
+
<input type="submit" value="' . __( 'Filter' , 'visual-form-builder-pro') . '" class="button-secondary" />
|
372 |
</div>';
|
373 |
}
|
374 |
}
|
includes/class-export.php
CHANGED
@@ -111,7 +111,7 @@ class VisualFormBuilder_Export {
|
|
111 |
<?php
|
112 |
foreach ( $forms as $form ) :
|
113 |
echo sprintf(
|
114 |
-
'<option value="%1$d" id="%2$s">%3$s</option>',
|
115 |
$form->form_id,
|
116 |
$form->form_key,
|
117 |
stripslashes( $form->form_title )
|
@@ -149,7 +149,10 @@ class VisualFormBuilder_Export {
|
|
149 |
<li>
|
150 |
<label class="vfb-export-label"><?php _e( 'Fields', 'visual-form-builder' ); ?>:</label>
|
151 |
|
152 |
-
<p
|
|
|
|
|
|
|
153 |
|
154 |
<div id="vfb-export-entries-fields">
|
155 |
<?php
|
@@ -426,7 +429,7 @@ class VisualFormBuilder_Export {
|
|
426 |
foreach ( $fields as $field ) :
|
427 |
// Strip unique ID for a clean header
|
428 |
$search = preg_replace( '/{{(\d+)}}/', '', $field );
|
429 |
-
$fields_header[] = $search;
|
430 |
|
431 |
// Field with unique ID to use as matching data
|
432 |
$fields_clean[] = wp_specialchars_decode( $field, ENT_QUOTES );
|
@@ -541,7 +544,7 @@ class VisualFormBuilder_Export {
|
|
541 |
// Strip unique ID for a clean list
|
542 |
$search = preg_replace( '/{{(\d+)}}/', '', $v );
|
543 |
|
544 |
-
$output .= sprintf( '<label for="vfb-display-entries-val-%1$d"><input name="entries_columns[]" class="vfb-display-entries-vals" id="vfb-display-entries-val-%1$d" type="checkbox" value="%4$s" %3$s> %2$s</label><br>', $k, $search, $selected, $v );
|
545 |
endforeach;
|
546 |
|
547 |
return $output;
|
@@ -623,7 +626,7 @@ class VisualFormBuilder_Export {
|
|
623 |
|
624 |
$m = isset( $_REQUEST['m'] ) ? (int) $_REQUEST['m'] : 0;
|
625 |
|
626 |
-
foreach ( $months as $arc_row )
|
627 |
if ( 0 == $arc_row->year )
|
628 |
continue;
|
629 |
|
@@ -634,7 +637,7 @@ class VisualFormBuilder_Export {
|
|
634 |
esc_attr( $arc_row->year . '-' . $month ),
|
635 |
sprintf( __( '%1$s %2$d' ), $wp_locale->get_month( $month ), $year )
|
636 |
);
|
637 |
-
|
638 |
|
639 |
}
|
640 |
}
|
111 |
<?php
|
112 |
foreach ( $forms as $form ) :
|
113 |
echo sprintf(
|
114 |
+
'<option value="%1$d" id="%2$s">%1$d - %3$s</option>',
|
115 |
$form->form_id,
|
116 |
$form->form_key,
|
117 |
stripslashes( $form->form_title )
|
149 |
<li>
|
150 |
<label class="vfb-export-label"><?php _e( 'Fields', 'visual-form-builder' ); ?>:</label>
|
151 |
|
152 |
+
<p>
|
153 |
+
<a id="vfb-export-select-all" href="#"><?php _e( 'Select All', 'visual-form-builder' ); ?></a>
|
154 |
+
<a id="vfb-export-unselect-all" href="#"><?php _e( 'Unselect All', 'visual-form-builder' ); ?></a>
|
155 |
+
</p>
|
156 |
|
157 |
<div id="vfb-export-entries-fields">
|
158 |
<?php
|
429 |
foreach ( $fields as $field ) :
|
430 |
// Strip unique ID for a clean header
|
431 |
$search = preg_replace( '/{{(\d+)}}/', '', $field );
|
432 |
+
$fields_header[] = wp_specialchars_decode( $search, ENT_QUOTES );
|
433 |
|
434 |
// Field with unique ID to use as matching data
|
435 |
$fields_clean[] = wp_specialchars_decode( $field, ENT_QUOTES );
|
544 |
// Strip unique ID for a clean list
|
545 |
$search = preg_replace( '/{{(\d+)}}/', '', $v );
|
546 |
|
547 |
+
$output .= sprintf( '<label for="vfb-display-entries-val-%1$d"><input name="entries_columns[]" class="vfb-display-entries-vals" id="vfb-display-entries-val-%1$d" type="checkbox" value="%4$s" %3$s> %2$s</label><br>', $k, $search, $selected, esc_attr( $v ) );
|
548 |
endforeach;
|
549 |
|
550 |
return $output;
|
626 |
|
627 |
$m = isset( $_REQUEST['m'] ) ? (int) $_REQUEST['m'] : 0;
|
628 |
|
629 |
+
foreach ( $months as $arc_row ) :
|
630 |
if ( 0 == $arc_row->year )
|
631 |
continue;
|
632 |
|
637 |
esc_attr( $arc_row->year . '-' . $month ),
|
638 |
sprintf( __( '%1$s %2$d' ), $wp_locale->get_month( $month ), $year )
|
639 |
);
|
640 |
+
endforeach;
|
641 |
|
642 |
}
|
643 |
}
|
includes/class-widget.php
CHANGED
@@ -37,33 +37,42 @@ class VisualFormBuilder_Widget extends WP_Widget {
|
|
37 |
$forms = $wpdb->get_results( "SELECT * FROM $this->form_table_name WHERE 1=1 $where ORDER BY $order" );
|
38 |
|
39 |
$instance = wp_parse_args( (array) $instance );
|
|
|
|
|
40 |
?>
|
41 |
-
<
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
<?php
|
55 |
}
|
56 |
|
57 |
public function widget( $args, $instance ) {
|
58 |
extract( $args );
|
59 |
|
60 |
-
|
61 |
|
62 |
-
|
63 |
-
$atts = wp_parse_args( $instance );
|
64 |
|
65 |
-
//
|
66 |
-
|
|
|
67 |
|
68 |
// Print the output
|
69 |
echo do_shortcode( "[vfb id=$form_id]" );
|
@@ -72,9 +81,10 @@ class VisualFormBuilder_Widget extends WP_Widget {
|
|
72 |
}
|
73 |
|
74 |
public function update( $new_instance, $old_instance ) {
|
75 |
-
$instance =
|
76 |
|
77 |
-
$instance['id'] = $new_instance['id'];
|
|
|
78 |
|
79 |
return $instance;
|
80 |
}
|
37 |
$forms = $wpdb->get_results( "SELECT * FROM $this->form_table_name WHERE 1=1 $where ORDER BY $order" );
|
38 |
|
39 |
$instance = wp_parse_args( (array) $instance );
|
40 |
+
|
41 |
+
$title = isset( $instance[ 'title' ] ) ? $instance[ 'title' ] : '';
|
42 |
?>
|
43 |
+
<p>
|
44 |
+
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label>
|
45 |
+
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
|
46 |
+
</p>
|
47 |
+
<p>
|
48 |
+
<label for="<?php echo $this->get_field_id( 'id' ); ?>"><?php _e( 'Form to display:', 'visual-form-builder' ); ?></label>
|
49 |
+
<select id="<?php echo $this->get_field_id( 'id' ); ?>" name="<?php echo $this->get_field_name( 'id' ); ?>" class="widefat">
|
50 |
+
<?php
|
51 |
+
foreach ( $forms as $form ) {
|
52 |
+
echo sprintf(
|
53 |
+
'<option value="%1$d" id="%2$s"%3$s>%1$d - %4$s</option>',
|
54 |
+
absint( $form->form_id ),
|
55 |
+
esc_html( $form->form_key ),
|
56 |
+
selected( $form->form_id, $instance['id'], 1 ),
|
57 |
+
wp_specialchars_decode( esc_html( stripslashes( $form->form_title ) ), ENT_QUOTES )
|
58 |
+
);
|
59 |
+
}
|
60 |
+
?>
|
61 |
+
</select>
|
62 |
+
</p>
|
63 |
<?php
|
64 |
}
|
65 |
|
66 |
public function widget( $args, $instance ) {
|
67 |
extract( $args );
|
68 |
|
69 |
+
$form_id = absint( $instance['id'] );
|
70 |
|
71 |
+
echo $before_widget;
|
|
|
72 |
|
73 |
+
// Title
|
74 |
+
if ( !empty( $instance['title'] ) )
|
75 |
+
echo $args['before_title'] . $instance['title'] . $args['after_title'];
|
76 |
|
77 |
// Print the output
|
78 |
echo do_shortcode( "[vfb id=$form_id]" );
|
81 |
}
|
82 |
|
83 |
public function update( $new_instance, $old_instance ) {
|
84 |
+
$instance = array();
|
85 |
|
86 |
+
$instance['id'] = !empty( $new_instance['id'] ) ? absint( $new_instance['id'] ) : '';
|
87 |
+
$instance['title'] = !empty( $new_instance['title'] ) ? strip_tags( $new_instance['title'] ) : '';
|
88 |
|
89 |
return $instance;
|
90 |
}
|
includes/form-output.php
CHANGED
@@ -318,7 +318,7 @@ foreach ( $fields as $field ) :
|
|
318 |
|
319 |
$output .= '<div>';
|
320 |
|
321 |
-
$output .= ( !empty( $description ) ) ? sprintf( '<span
|
322 |
|
323 |
$output .= '<div style="clear:both"></div></div>';
|
324 |
|
@@ -349,7 +349,7 @@ foreach ( $fields as $field ) :
|
|
349 |
|
350 |
$output .= '<div>';
|
351 |
|
352 |
-
$output .= ( !empty( $description ) ) ? sprintf( '<span
|
353 |
|
354 |
$output .= '<div style="clear:both"></div></div>';
|
355 |
|
318 |
|
319 |
$output .= '<div>';
|
320 |
|
321 |
+
$output .= ( !empty( $description ) ) ? sprintf( '<span><label>%2$s</label></span>%1$s', $form_item, $description ) : $form_item;
|
322 |
|
323 |
$output .= '<div style="clear:both"></div></div>';
|
324 |
|
349 |
|
350 |
$output .= '<div>';
|
351 |
|
352 |
+
$output .= ( !empty( $description ) ) ? sprintf( '<span><label>%2$s</label></span>%1$s', $form_item, $description ) : $form_item;
|
353 |
|
354 |
$output .= '<div style="clear:both"></div></div>';
|
355 |
|
js/vfb-admin.js
CHANGED
@@ -575,6 +575,12 @@ jQuery(document).ready(function($) {
|
|
575 |
$( '#vfb-export-entries-fields input[type="checkbox"]' ).prop( 'checked', true );
|
576 |
});
|
577 |
|
|
|
|
|
|
|
|
|
|
|
|
|
578 |
// !Entries fields
|
579 |
$( '#vfb-export-entries-forms' ).change( function(){
|
580 |
var id = $( this ).val(),
|
575 |
$( '#vfb-export-entries-fields input[type="checkbox"]' ).prop( 'checked', true );
|
576 |
});
|
577 |
|
578 |
+
$( '#vfb-export-unselect-all' ).click( function( e ) {
|
579 |
+
e.preventDefault();
|
580 |
+
|
581 |
+
$( '#vfb-export-entries-fields input[type="checkbox"]' ).prop( 'checked', false );
|
582 |
+
});
|
583 |
+
|
584 |
// !Entries fields
|
585 |
$( '#vfb-export-entries-forms' ).change( function(){
|
586 |
var id = $( this ).val(),
|
js/vfb-admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(h){if(window.VfbAdminPages){var g=VfbAdminPages.vfb_pages;if(pagenow==g.vfb){h(".if-js-closed").removeClass("if-js-closed").addClass("closed");postboxes.add_postbox_toggles(g.vfb)}}var c=null;h(document).on("mouseenter mouseleave",".vfb-tooltip",function(q){if(q.type=="mouseenter"){if(c){clearTimeout(c);c=null}var n=h(this).attr("title"),p=h(this).attr("rel"),o=h(this).width();h(this).append('<div class="tooltip"><h3>'+n+'</h3><p class="text">'+p+"</p></div>");h.data(this,"title",n);this.title="";h(this).find(".tooltip").css({left:o+22});c=setTimeout(function(){h(".tooltip").fadeIn(300)},500)}else{this.title=h.data(this,"title");h(".tooltip").fadeOut(500);h(this).children().remove()}});h(document).on("click","a.vfb-add-option",function(t){t.preventDefault();var x=h(this).parent().siblings(".vfb-cloned-options"),p=x.children(),r=p.length,q=r+1,n=p[r-1],o=h(n).attr("id"),v=h(n).children("label").attr("for");var u=v.replace(new RegExp(/(\d+)$/g),""),s=o.replace(new RegExp(/(\d+)$/g),"");var w=h("#"+o).clone().attr("id",s+q);w.children("label").attr("for",u+q);w.find('input[type="text"]').attr("id",u+q);w.find('input[type="radio"]').attr("value",q);h("#"+s+r).after(w)});h(document).on("click","a.deleteOption",function(o){o.preventDefault();var n=h(this).parent().parent().find(".clonedOption").length;if(n-1==0){alert("You must have at least one option.")}else{h(this).closest("div").remove()}});h(".vfb-cloned-options").sortable({items:"div.option"});h(document).on("click","a.addEmail",function(t){t.preventDefault();var o=h(this).closest("#email-details").find(".clonedOption").length;var s=o+1;var u=h(this).closest("div").attr("id");var r=h(this).closest("div").find("label").attr("for");var n=r.replace(new RegExp(/(\d+)$/g),"");var q=u.replace(new RegExp(/(\d+)$/g),"");var p=h("#"+u).clone().attr("id",q+s);p.find("label").attr("for",n+s);p.find("input").attr("id",n+s);h("#"+q+o).after(p)});h(document).on("click","a.deleteEmail",function(o){o.preventDefault();var n=h(this).closest("#email-details").find(".clonedOption").length;if(n-1==0){alert("You must have at least one option.")}else{h(this).closest("div").remove()}});h('.option input[type="radio"]').mousedown(function(){h(this).attr("previousValue",h(this).prop("checked"))}).click(function(){var n=h(this).attr("previousValue");if(n=="true"){h(this).prop("checked",false)}});h(".menu-delete").click(function(){var n=(h(this).hasClass("entry-delete"))?"entry":"form";var o=confirm("You are about to permanently delete this "+n+" and all of its data.\n'Cancel' to stop, 'OK' to delete.");if(o){return true}return false});h(document).on("click","a.item-edit",function(o){o.preventDefault();h(o.target).closest("li").children(".menu-item-settings").slideToggle("fast");h(this).toggleClass("opened");var n=h(o.target).closest("dl");if(n.hasClass("vfb-menu-item-inactive")){n.removeClass("vfb-menu-item-inactive").addClass("vfb-menu-item-active")}else{n.removeClass("vfb-menu-item-active").addClass("vfb-menu-item-inactive")}});function m(n){if("FIELDSET"!==n){h("#vfb-fieldset-first-warning").show()}else{h("#vfb-fieldset-first-warning").hide()}}h("#vfb-menu-to-edit").nestedSortable({listType:"ul",maxLevels:3,handle:".vfb-menu-item-handle",placeholder:"vfb-sortable-placeholder",forcePlaceholderSize:true,forceHelperSize:true,tolerance:"pointer",toleranceElement:"> dl",items:"li:not(.ui-state-disabled)",create:function(n,o){h(this).css("min-height",h(this).height())},start:function(n,o){o.placeholder.height(o.item.height())},stop:function(o,p){var n=h("#vfb-menu-to-edit .item-type:first").text();opts={url:ajaxurl,type:"POST",async:true,cache:false,data:{action:"visual_form_builder_sort_field",order:h(this).nestedSortable("toArray")},success:function(q){h("#loading-animation").hide();m(n);return}};h.ajax(opts)}});h("#form-items .vfb-draggable-form-items").click(function(n){n.preventDefault();h(this).data("submit_value",h(this).text())});h("#form-items .vfb-draggable-form-items").click(function(p){p.preventDefault();var q=h(this).closest("form").serializeArray(),o=h(this).data("submit_value"),n=h("#vfb-menu-to-edit li.ui-state-disabled:first").attr("id").match(new RegExp(/(\d+)$/g))[0];h("img.waiting").show();h.post(ajaxurl,{action:"visual_form_builder_create_field",data:q,field_type:o,previous:n,page:pagenow,nonce:h("#_wpnonce").val()}).done(function(r){h("img.waiting").hide();h(r).hide().insertBefore("#vfb-menu-to-edit li.ui-state-disabled:first").fadeIn()})});h(document).on("click","a.item-delete",function(v){v.preventDefault();var r=childs=new Array(),z=0,o=h(this).attr("href"),n=o.split("&"),u=confirm("You are about to permanently delete this field.\n'Cancel' to stop, 'OK' to delete.");if(!u){return false}for(var s=0;s<n.length;s++){var x=n[s].indexOf("=");var w=n[s].substring(0,x);var y=n[s].substring(x+1);r[w]=y}var p=h(this).closest(".form-item").find("ul").children();var q=p.parent().html();p.each(function(t){childs[t]=h(this).attr("id").match(new RegExp(/(\d+)$/g))[0]});var A=h(this).closest("li.form-item").parents("li.form-item");if(A.length){z=A.attr("id").match(new RegExp(/(\d+)$/g))[0]}h.post(ajaxurl,{action:"visual_form_builder_delete_field",form:r.form,field:r.field,child_ids:childs,parent_id:z,page:pagenow,nonce:r._wpnonce}).done(function(t){h("#form_item_"+r.field).addClass("deleting").animate({opacity:0,height:0},350,function(){h(this).before(q).remove()})})});h("#form-settings-button").click(function(p){p.preventDefault();h(this).toggleClass("current");h("#form-settings").slideToggle("fast");var n=h('input[name="form_id"]').val(),o=(h(this).hasClass("current"))?"opened":"closed";h.post(ajaxurl,{action:"visual_form_builder_form_settings",form:n,status:o,page:pagenow}).done(function(q){if(o=="closed"){h(".settings-links").removeClass("on");h(".settings-links:first").addClass("on");h(".form-details").slideUp("normal");h(".form-details:first").show("normal")}})});h(".settings-links").click(function(p){p.preventDefault();h(".settings-links").removeClass("on");h(".form-details").slideUp("fast");if(h(this).next("div").is(":hidden")==true){h(this).addClass("on");h(this).next().slideDown("normal")}var o=h('input[name="form_id"]').val(),n=this.hash.replace(/#/g,"");h.post(ajaxurl,{action:"visual_form_builder_form_settings",form:o,accordion:n,page:pagenow})});var b=false;h("#vfb-form-builder-management input, #vfb-form-builder-management select, #vfb-form-builder-management textarea").change(function(){j()});function j(){b=true}window.onbeforeunload=function(){if(b){return"The changes you made will be lost if you navigate away from this page."}};h(document).on("submit","#visual-form-builder-update",function(){window.onbeforeunload=null});if(h(".columns-2 #side-sortables").length>0){var a=h("#vfb_form_items_meta_box"),d=a.width(),e=a.offset(),f=a.nextAll(),i=false;h(window).on("scroll",function(){if(h(window).scrollTop()>e.top){a.stop().css({top:55,position:"fixed","z-index":"1",width:d});if(f.is(":visible")){i=true;f.stop().css({opacity:0.1})}}else{a.stop().css({top:0,position:"relative"});if(i){f.stop().css({opacity:1})}}})}var l=h(".form-success-type:checked").val();h("#form-success-message-"+l).show();h(".form-success-type").change(function(){var n=h(this).val();switch(n){case"text":h("#form-success-message-text").show();h("#form-success-message-page, #form-success-message-redirect").hide();break;case"page":h("#form-success-message-page").show();h("#form-success-message-text, #form-success-message-redirect").hide();break;case"redirect":h("#form-success-message-redirect").show();h("#form-success-message-text, #form-success-message-page").hide();break}});h(".vfb-field-types").click(function(o){o.preventDefault();h("#vfb-field-tabs li").removeClass("tabs");h(this).parent().addClass("tabs");h(".tabs-panel-active").removeClass("tabs-panel-active").addClass("tabs-panel-inactive");var n=this.hash;h(n).removeClass("tabs-panel-inactive").addClass("tabs-panel-active")});h("#visual-form-builder-update").validate({rules:{"form_email_to[]":{email:true},form_email_from:{email:true},form_success_message_redirect:{url:true},form_notification_email_name:{required:function(n){return h("#form-notification-setting").is(":checked")}},form_notification_email_from:{required:function(n){return h("#form-notification-setting").is(":checked")},email:true},form_notification_email:{required:function(n){return h("#form-notification-setting").is(":checked")}}},errorPlacement:function(n,o){n.insertAfter(o.parent())}});h("#visual-form-builder-new-form").validate();h("#form_email_from_name_override").change(function(){if(h("#form_email_from_name_override").val()==""){h("#form-email-sender-name").prop("readonly",false)}else{h("#form-email-sender-name").prop("readonly","readonly")}});h("#form_email_from_override").change(function(){if(h("#form_email_from_override").val()==""){h("#form-email-sender").prop("readonly",false)}else{h("#form-email-sender").prop("readonly","readonly")}});h("#notification-email").toggle(h("#form-notification-setting").prop("checked"));h("#form-notification-setting").change(function(){var n=h(this).is(":checked");if(n){h("#notification-email").show();h("#form-notification-email-name, #form-notification-email-from, #form-notification-email, #form-notification-subject, #form-notification-message, #form-notification-entry").prop("disabled",false)}else{h("#notification-email").hide();h("#form-notification-email-name, #form-notification-email-from, #form-notification-email, #form-notification-subject, #form-notification-message, #form-notification-entry").prop("disabled","disabled")}});h("#vfb-export-select-all").click(function(n){n.preventDefault();h('#vfb-export-entries-fields input[type="checkbox"]').prop("checked",true)});h("#vfb-export-entries-forms").change(function(){var o=h(this).val(),n=k(o);h("#vfb-export-entries-fields").html("Loading...");h.get(ajaxurl,{action:"visual_form_builder_export_load_options",id:o,count:n,page:pagenow}).done(function(p){h("#vfb-export-entries-fields").html(p)}).fail(function(p){h("#vfb-export-entries-fields").html("Error loading entry fields.")})});h("#vfb-export-entries-rows").change(function(){var o=h("#vfb-export-entries-forms").val();var n=h(this).val();h("#vfb-export-entries-fields").html("Loading...");h.get(ajaxurl,{action:"visual_form_builder_export_load_options",id:o,offset:n,page:pagenow}).done(function(p){h("#vfb-export-entries-fields").html(p)}).fail(function(p){h("#vfb-export-entries-fields").html("Error loading entry fields.")})});function k(o){var n="";h.ajax(ajaxurl,{async:false,data:{action:"visual_form_builder_export_entries_count",id:o,page:pagenow}}).done(function(p){if(p>1000){h("#vfb-export-entries-rows").empty();var r=Math.ceil(parseInt(p)/1000);for(var q=1;q<=r;q++){h("#vfb-export-entries-rows").append(h("<option></option>").attr("value",q).text(q))}h("#vfb-export-entries-pages").show()}else{h("#vfb-export-entries-pages").hide()}n=p}).fail(function(p){});return n}});
|
1 |
+
jQuery(document).ready(function(h){if(window.VfbAdminPages){var g=VfbAdminPages.vfb_pages;if(pagenow==g.vfb){h(".if-js-closed").removeClass("if-js-closed").addClass("closed");postboxes.add_postbox_toggles(g.vfb)}}var c=null;h(document).on("mouseenter mouseleave",".vfb-tooltip",function(q){if(q.type=="mouseenter"){if(c){clearTimeout(c);c=null}var n=h(this).attr("title"),p=h(this).attr("rel"),o=h(this).width();h(this).append('<div class="tooltip"><h3>'+n+'</h3><p class="text">'+p+"</p></div>");h.data(this,"title",n);this.title="";h(this).find(".tooltip").css({left:o+22});c=setTimeout(function(){h(".tooltip").fadeIn(300)},500)}else{this.title=h.data(this,"title");h(".tooltip").fadeOut(500);h(this).children().remove()}});h(document).on("click","a.vfb-add-option",function(t){t.preventDefault();var x=h(this).parent().siblings(".vfb-cloned-options"),p=x.children(),r=p.length,q=r+1,n=p[r-1],o=h(n).attr("id"),v=h(n).children("label").attr("for");var u=v.replace(new RegExp(/(\d+)$/g),""),s=o.replace(new RegExp(/(\d+)$/g),"");var w=h("#"+o).clone().attr("id",s+q);w.children("label").attr("for",u+q);w.find('input[type="text"]').attr("id",u+q);w.find('input[type="radio"]').attr("value",q);h("#"+s+r).after(w)});h(document).on("click","a.deleteOption",function(o){o.preventDefault();var n=h(this).parent().parent().find(".clonedOption").length;if(n-1==0){alert("You must have at least one option.")}else{h(this).closest("div").remove()}});h(".vfb-cloned-options").sortable({items:"div.option"});h(document).on("click","a.addEmail",function(t){t.preventDefault();var o=h(this).closest("#email-details").find(".clonedOption").length;var s=o+1;var u=h(this).closest("div").attr("id");var r=h(this).closest("div").find("label").attr("for");var n=r.replace(new RegExp(/(\d+)$/g),"");var q=u.replace(new RegExp(/(\d+)$/g),"");var p=h("#"+u).clone().attr("id",q+s);p.find("label").attr("for",n+s);p.find("input").attr("id",n+s);h("#"+q+o).after(p)});h(document).on("click","a.deleteEmail",function(o){o.preventDefault();var n=h(this).closest("#email-details").find(".clonedOption").length;if(n-1==0){alert("You must have at least one option.")}else{h(this).closest("div").remove()}});h('.option input[type="radio"]').mousedown(function(){h(this).attr("previousValue",h(this).prop("checked"))}).click(function(){var n=h(this).attr("previousValue");if(n=="true"){h(this).prop("checked",false)}});h(".menu-delete").click(function(){var n=(h(this).hasClass("entry-delete"))?"entry":"form";var o=confirm("You are about to permanently delete this "+n+" and all of its data.\n'Cancel' to stop, 'OK' to delete.");if(o){return true}return false});h(document).on("click","a.item-edit",function(o){o.preventDefault();h(o.target).closest("li").children(".menu-item-settings").slideToggle("fast");h(this).toggleClass("opened");var n=h(o.target).closest("dl");if(n.hasClass("vfb-menu-item-inactive")){n.removeClass("vfb-menu-item-inactive").addClass("vfb-menu-item-active")}else{n.removeClass("vfb-menu-item-active").addClass("vfb-menu-item-inactive")}});function m(n){if("FIELDSET"!==n){h("#vfb-fieldset-first-warning").show()}else{h("#vfb-fieldset-first-warning").hide()}}h("#vfb-menu-to-edit").nestedSortable({listType:"ul",maxLevels:3,handle:".vfb-menu-item-handle",placeholder:"vfb-sortable-placeholder",forcePlaceholderSize:true,forceHelperSize:true,tolerance:"pointer",toleranceElement:"> dl",items:"li:not(.ui-state-disabled)",create:function(n,o){h(this).css("min-height",h(this).height())},start:function(n,o){o.placeholder.height(o.item.height())},stop:function(o,p){var n=h("#vfb-menu-to-edit .item-type:first").text();opts={url:ajaxurl,type:"POST",async:true,cache:false,data:{action:"visual_form_builder_sort_field",order:h(this).nestedSortable("toArray")},success:function(q){h("#loading-animation").hide();m(n);return}};h.ajax(opts)}});h("#form-items .vfb-draggable-form-items").click(function(n){n.preventDefault();h(this).data("submit_value",h(this).text())});h("#form-items .vfb-draggable-form-items").click(function(p){p.preventDefault();var q=h(this).closest("form").serializeArray(),o=h(this).data("submit_value"),n=h("#vfb-menu-to-edit li.ui-state-disabled:first").attr("id").match(new RegExp(/(\d+)$/g))[0];h("img.waiting").show();h.post(ajaxurl,{action:"visual_form_builder_create_field",data:q,field_type:o,previous:n,page:pagenow,nonce:h("#_wpnonce").val()}).done(function(r){h("img.waiting").hide();h(r).hide().insertBefore("#vfb-menu-to-edit li.ui-state-disabled:first").fadeIn()})});h(document).on("click","a.item-delete",function(v){v.preventDefault();var r=childs=new Array(),z=0,o=h(this).attr("href"),n=o.split("&"),u=confirm("You are about to permanently delete this field.\n'Cancel' to stop, 'OK' to delete.");if(!u){return false}for(var s=0;s<n.length;s++){var x=n[s].indexOf("=");var w=n[s].substring(0,x);var y=n[s].substring(x+1);r[w]=y}var p=h(this).closest(".form-item").find("ul").children();var q=p.parent().html();p.each(function(t){childs[t]=h(this).attr("id").match(new RegExp(/(\d+)$/g))[0]});var A=h(this).closest("li.form-item").parents("li.form-item");if(A.length){z=A.attr("id").match(new RegExp(/(\d+)$/g))[0]}h.post(ajaxurl,{action:"visual_form_builder_delete_field",form:r.form,field:r.field,child_ids:childs,parent_id:z,page:pagenow,nonce:r._wpnonce}).done(function(t){h("#form_item_"+r.field).addClass("deleting").animate({opacity:0,height:0},350,function(){h(this).before(q).remove()})})});h("#form-settings-button").click(function(p){p.preventDefault();h(this).toggleClass("current");h("#form-settings").slideToggle("fast");var n=h('input[name="form_id"]').val(),o=(h(this).hasClass("current"))?"opened":"closed";h.post(ajaxurl,{action:"visual_form_builder_form_settings",form:n,status:o,page:pagenow}).done(function(q){if(o=="closed"){h(".settings-links").removeClass("on");h(".settings-links:first").addClass("on");h(".form-details").slideUp("normal");h(".form-details:first").show("normal")}})});h(".settings-links").click(function(p){p.preventDefault();h(".settings-links").removeClass("on");h(".form-details").slideUp("fast");if(h(this).next("div").is(":hidden")==true){h(this).addClass("on");h(this).next().slideDown("normal")}var o=h('input[name="form_id"]').val(),n=this.hash.replace(/#/g,"");h.post(ajaxurl,{action:"visual_form_builder_form_settings",form:o,accordion:n,page:pagenow})});var b=false;h("#vfb-form-builder-management input, #vfb-form-builder-management select, #vfb-form-builder-management textarea").change(function(){j()});function j(){b=true}window.onbeforeunload=function(){if(b){return"The changes you made will be lost if you navigate away from this page."}};h(document).on("submit","#visual-form-builder-update",function(){window.onbeforeunload=null});if(h(".columns-2 #side-sortables").length>0){var a=h("#vfb_form_items_meta_box"),d=a.width(),e=a.offset(),f=a.nextAll(),i=false;h(window).on("scroll",function(){if(h(window).scrollTop()>e.top){a.stop().css({top:55,position:"fixed","z-index":"1",width:d});if(f.is(":visible")){i=true;f.stop().css({opacity:0.1})}}else{a.stop().css({top:0,position:"relative"});if(i){f.stop().css({opacity:1})}}})}var l=h(".form-success-type:checked").val();h("#form-success-message-"+l).show();h(".form-success-type").change(function(){var n=h(this).val();switch(n){case"text":h("#form-success-message-text").show();h("#form-success-message-page, #form-success-message-redirect").hide();break;case"page":h("#form-success-message-page").show();h("#form-success-message-text, #form-success-message-redirect").hide();break;case"redirect":h("#form-success-message-redirect").show();h("#form-success-message-text, #form-success-message-page").hide();break}});h(".vfb-field-types").click(function(o){o.preventDefault();h("#vfb-field-tabs li").removeClass("tabs");h(this).parent().addClass("tabs");h(".tabs-panel-active").removeClass("tabs-panel-active").addClass("tabs-panel-inactive");var n=this.hash;h(n).removeClass("tabs-panel-inactive").addClass("tabs-panel-active")});h("#visual-form-builder-update").validate({rules:{"form_email_to[]":{email:true},form_email_from:{email:true},form_success_message_redirect:{url:true},form_notification_email_name:{required:function(n){return h("#form-notification-setting").is(":checked")}},form_notification_email_from:{required:function(n){return h("#form-notification-setting").is(":checked")},email:true},form_notification_email:{required:function(n){return h("#form-notification-setting").is(":checked")}}},errorPlacement:function(n,o){n.insertAfter(o.parent())}});h("#visual-form-builder-new-form").validate();h("#form_email_from_name_override").change(function(){if(h("#form_email_from_name_override").val()==""){h("#form-email-sender-name").prop("readonly",false)}else{h("#form-email-sender-name").prop("readonly","readonly")}});h("#form_email_from_override").change(function(){if(h("#form_email_from_override").val()==""){h("#form-email-sender").prop("readonly",false)}else{h("#form-email-sender").prop("readonly","readonly")}});h("#notification-email").toggle(h("#form-notification-setting").prop("checked"));h("#form-notification-setting").change(function(){var n=h(this).is(":checked");if(n){h("#notification-email").show();h("#form-notification-email-name, #form-notification-email-from, #form-notification-email, #form-notification-subject, #form-notification-message, #form-notification-entry").prop("disabled",false)}else{h("#notification-email").hide();h("#form-notification-email-name, #form-notification-email-from, #form-notification-email, #form-notification-subject, #form-notification-message, #form-notification-entry").prop("disabled","disabled")}});h("#vfb-export-select-all").click(function(n){n.preventDefault();h('#vfb-export-entries-fields input[type="checkbox"]').prop("checked",true)});h("#vfb-export-unselect-all").click(function(n){n.preventDefault();h('#vfb-export-entries-fields input[type="checkbox"]').prop("checked",false)});h("#vfb-export-entries-forms").change(function(){var o=h(this).val(),n=k(o);h("#vfb-export-entries-fields").html("Loading...");h.get(ajaxurl,{action:"visual_form_builder_export_load_options",id:o,count:n,page:pagenow}).done(function(p){h("#vfb-export-entries-fields").html(p)}).fail(function(p){h("#vfb-export-entries-fields").html("Error loading entry fields.")})});h("#vfb-export-entries-rows").change(function(){var o=h("#vfb-export-entries-forms").val();var n=h(this).val();h("#vfb-export-entries-fields").html("Loading...");h.get(ajaxurl,{action:"visual_form_builder_export_load_options",id:o,offset:n,page:pagenow}).done(function(p){h("#vfb-export-entries-fields").html(p)}).fail(function(p){h("#vfb-export-entries-fields").html("Error loading entry fields.")})});function k(o){var n="";h.ajax(ajaxurl,{async:false,data:{action:"visual_form_builder_export_entries_count",id:o,page:pagenow}}).done(function(p){if(p>1000){h("#vfb-export-entries-rows").empty();var r=Math.ceil(parseInt(p)/1000);for(var q=1;q<=r;q++){h("#vfb-export-entries-rows").append(h("<option></option>").attr("value",q).text(q))}h("#vfb-export-entries-pages").show()}else{h("#vfb-export-entries-pages").hide()}n=p}).fail(function(p){});return n}});
|
js/vfb-validation.js
CHANGED
@@ -9,6 +9,7 @@ jQuery(document).ready(function($) {
|
|
9 |
maxlength:2
|
10 |
}
|
11 |
},
|
|
|
12 |
errorPlacement: function(error, element) {
|
13 |
if ( element.is( ':radio' ) || element.is( ':checkbox' ) )
|
14 |
error.appendTo( element.parent().parent() );
|
9 |
maxlength:2
|
10 |
}
|
11 |
},
|
12 |
+
errorClass : 'vfb-error',
|
13 |
errorPlacement: function(error, element) {
|
14 |
if ( element.is( ':radio' ) || element.is( ':checkbox' ) )
|
15 |
error.appendTo( element.parent().parent() );
|
js/vfb-validation.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(a){a(".visual-form-builder").each(function(){a(this).validate({rules:{"vfb-secret":{required:true,digits:true,maxlength:2}},errorPlacement:function(b,c){if(c.is(":radio")||c.is(":checkbox")){b.appendTo(c.parent().parent())}else{if(c.is(":password")){b.hide()}else{b.insertAfter(c)}}}})});a(".visual-form-builder li:not(.vfb-item-instructions li, .vfb-span li)").filter(function(){return a(this).css("list-style-type")!=="none"}).css("list-style","none");a(".vfb-date-picker").each(function(){var b=a(this).attr("data-dp-dateFormat")?a(this).attr("data-dp-dateFormat"):"mm/dd/yy";a(this).datepicker({dateFormat:b})});a.validator.addMethod("phone",function(c,b){c=c.replace(/[\+\s\(\)\.\-\ ]/g,"");return this.optional(b)||c.length>9&&c.match(/^((\+)?[1-9]{1,2})?([-\s\.])?((\(\d{1,4}\))|\d{1,4})(([-\s\.])?[0-9]{1,12}){1,2}$/)},a.validator.format("Please enter a valid phone number. Most US/Canada and International formats accepted."))});
|
1 |
+
jQuery(document).ready(function(a){a(".visual-form-builder").each(function(){a(this).validate({rules:{"vfb-secret":{required:true,digits:true,maxlength:2}},errorClass:"vfb-error",errorPlacement:function(b,c){if(c.is(":radio")||c.is(":checkbox")){b.appendTo(c.parent().parent())}else{if(c.is(":password")){b.hide()}else{b.insertAfter(c)}}}})});a(".visual-form-builder li:not(.vfb-item-instructions li, .vfb-span li)").filter(function(){return a(this).css("list-style-type")!=="none"}).css("list-style","none");a(".vfb-date-picker").each(function(){var b=a(this).attr("data-dp-dateFormat")?a(this).attr("data-dp-dateFormat"):"mm/dd/yy";a(this).datepicker({dateFormat:b})});a.validator.addMethod("phone",function(c,b){c=c.replace(/[\+\s\(\)\.\-\ ]/g,"");return this.optional(b)||c.length>9&&c.match(/^((\+)?[1-9]{1,2})?([-\s\.])?((\(\d{1,4}\))|\d{1,4})(([-\s\.])?[0-9]{1,12}){1,2}$/)},a.validator.format("Please enter a valid phone number. Most US/Canada and International formats accepted."))});
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: mmuro
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=G87A9UN9CLPH4&lc=US&item_name=Visual%20Form%20Builder¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
|
4 |
Tags: form, forms, contact form, contact forms, form, forms, form to email, email form, email, input, validation, jquery, shortcode, form builder, contact form builder, form manager, form creator
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Build beautiful, fully functional contact forms in only a few minutes without writing PHP, CSS, or HTML.
|
@@ -106,7 +106,7 @@ If you are a fan of Visual Form Builder and want extra features and functionalit
|
|
106 |
|
107 |
= Can I use my own verification system such as a CAPTCHA? =
|
108 |
|
109 |
-
|
110 |
|
111 |
Visual Form Builder uses a [text CAPTCHA](http://textcaptcha.com/). If you decide to upgrade to Visual Form Builder Pro, you will gain [Akismet](https://akismet.com/) support.
|
112 |
|
@@ -237,7 +237,21 @@ function my_scripts_method() {
|
|
237 |
|
238 |
== Changelog ==
|
239 |
|
240 |
-
**Version 2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
|
242 |
* Add "Always load CSS" setting
|
243 |
* Add "Spam word sensitivity" setting
|
@@ -255,7 +269,7 @@ function my_scripts_method() {
|
|
255 |
* Fix a couple screen options calls to use action and not filter
|
256 |
* Reduce number of queries on forms list page
|
257 |
|
258 |
-
**Version 2.7.8
|
259 |
|
260 |
* Add settings page with options for popular filters
|
261 |
* Add vfb_sender_mail_header, vfb_show_version filters
|
@@ -273,11 +287,11 @@ function my_scripts_method() {
|
|
273 |
* Deprecate spam check for empty user agent
|
274 |
* Remove texas from spam words
|
275 |
|
276 |
-
**Version 2.7.7
|
277 |
|
278 |
* Fix bug where confirmation function fails
|
279 |
|
280 |
-
**Version 2.7.6
|
281 |
|
282 |
* Add sorting to checkbox/radio/select options
|
283 |
* Add dateFormat option for Date fields
|
@@ -296,7 +310,7 @@ function my_scripts_method() {
|
|
296 |
* Remove unnecessary queries during email
|
297 |
* Remove old “Display Forms” help image and just use text
|
298 |
|
299 |
-
**Version 2.7.5
|
300 |
|
301 |
* Add Print button to Entry Detail view
|
302 |
* Add Duplicate link to Form List view
|
@@ -309,7 +323,7 @@ function my_scripts_method() {
|
|
309 |
* Fix bug on Export page where Fields were not limited to 1000 in an edge case
|
310 |
* Fix bug where delete link did not work in Form List view
|
311 |
|
312 |
-
**Version 2.7.4
|
313 |
|
314 |
* Update Numbers field to allow either Digits or Number validation and sanitize as float instead of int
|
315 |
* Update Entries Detail "Delete" link to a "Trash" link
|
@@ -319,11 +333,11 @@ function my_scripts_method() {
|
|
319 |
* Fix bug on Entries List to properly display Today's Entries
|
320 |
* Minor updates
|
321 |
|
322 |
-
**Version 2.7.3
|
323 |
|
324 |
* Fix bug where referer URL was not compatible with certain permalink structures
|
325 |
|
326 |
-
**Version 2.7.2
|
327 |
|
328 |
* Add form search in admin
|
329 |
* Add 'Pages to Export' option when more than 1000 entries detected for a single form
|
@@ -338,12 +352,12 @@ function my_scripts_method() {
|
|
338 |
* Fix bug where nesting and sorting would not save
|
339 |
* Fix bug during Export for certain encoded characters
|
340 |
|
341 |
-
**Version 2.7.1
|
342 |
|
343 |
* Fix bug in Export where fields did not load in certain cases
|
344 |
* Minor code updates
|
345 |
|
346 |
-
**Version 2.7
|
347 |
|
348 |
* Add widget for displaying forms in sidebar
|
349 |
* Add dashboard widget for displaying recent entries
|
@@ -358,11 +372,11 @@ function my_scripts_method() {
|
|
358 |
* Rollback Date field type to non-HTML5 to prevent duplicate date pickers in Chrome
|
359 |
* Update language .POT
|
360 |
|
361 |
-
**Version 2.6.9
|
362 |
|
363 |
* Fix bug where Validation would be removed on saving predefined fields
|
364 |
|
365 |
-
**Version 2.6.8
|
366 |
|
367 |
* Add Reply-To to email headers for better compatibility with some email servers
|
368 |
* Add new Fields selection in Export
|
@@ -377,17 +391,17 @@ function my_scripts_method() {
|
|
377 |
* Deprecate use of CDN for certain files in favor of locally hosted versions
|
378 |
* Deprecate Export Selected in favor of more reliable exporting on the Export screen
|
379 |
|
380 |
-
**Version 2.6.7
|
381 |
|
382 |
* Update email headers
|
383 |
* Fix bug where notification email did not send
|
384 |
* Fix textarea value formatting in email
|
385 |
|
386 |
-
**Version 2.6.6
|
387 |
|
388 |
* Turn off script debugging
|
389 |
|
390 |
-
**Version 2.6.5
|
391 |
|
392 |
* Add confirmation to Delete field
|
393 |
* Add new Address label filter
|
@@ -399,11 +413,11 @@ function my_scripts_method() {
|
|
399 |
* Fix media button to use correct action
|
400 |
* Fix missing un-prefixed classes
|
401 |
|
402 |
-
**Version 2.6.4
|
403 |
|
404 |
* Fix bug where SVN commit mangled code
|
405 |
|
406 |
-
**Version 2.6.3
|
407 |
|
408 |
* Update CSS to now prefix all classes to help eliminate theme conflicts
|
409 |
* Update email function to force a From email that exists on the same domain
|
@@ -412,7 +426,7 @@ function my_scripts_method() {
|
|
412 |
* Fix bug preventing Export from displaying filtering options
|
413 |
* Minor code cleanups
|
414 |
|
415 |
-
**Version 2.6.2
|
416 |
|
417 |
* Fix bug where File Upload field would prevent validation
|
418 |
* Fix bug when selecting entries export
|
@@ -420,12 +434,12 @@ function my_scripts_method() {
|
|
420 |
* Fix bug for another missing Save Form button
|
421 |
* Update JS and CSS from CDN to use HTTPS
|
422 |
|
423 |
-
**Version 2.6.1
|
424 |
|
425 |
* Fix bug for missing Save Form button
|
426 |
* Fix bug for entries screen options and pagination
|
427 |
|
428 |
-
**Version 2.6
|
429 |
|
430 |
* Move plugin into its own menu
|
431 |
* Add new 'All Forms' view with an alphabetical group list
|
@@ -437,7 +451,7 @@ function my_scripts_method() {
|
|
437 |
* Fix bug where form rendering would behave erratically in Internet Explorer 9
|
438 |
* Fix bug where sender emails would be cut off after 25 characters in the entries database
|
439 |
|
440 |
-
**Version 2.5
|
441 |
|
442 |
* Add new Export page for exporting all entries
|
443 |
* Add IDs to each form item on output
|
@@ -450,31 +464,31 @@ function my_scripts_method() {
|
|
450 |
* Update server side validation to denote which field is failing
|
451 |
* Minor admin CSS update
|
452 |
|
453 |
-
**Version 2.4.1
|
454 |
|
455 |
* Fix bug where misspelled variable caused email to not send
|
456 |
|
457 |
-
**Version 2.4
|
458 |
|
459 |
* Fix bug where label alignment option was not being saved
|
460 |
* Update spam bot check to only execute when form is submitted
|
461 |
* Update list of spam bots
|
462 |
|
463 |
-
**Version 2.3.3
|
464 |
|
465 |
* Fix bug for missing media button image
|
466 |
|
467 |
-
**Version 2.3.2
|
468 |
|
469 |
* Fix bug that displayed a warning
|
470 |
|
471 |
-
**Version 2.3.1
|
472 |
|
473 |
* Fix bug where Export feature was broken
|
474 |
* Fix bug where server validation failed on certain data types
|
475 |
* Add months drop down filter to Entries list
|
476 |
|
477 |
-
**Version 2.3
|
478 |
|
479 |
* Add media button to Posts/Pages to easily embed forms (thanks to Paul Armstrong Designs!)
|
480 |
* Add search feature to Entries
|
@@ -488,7 +502,7 @@ function my_scripts_method() {
|
|
488 |
* Update how the entries files are included to eliminate PHP notices
|
489 |
* Minor updates to CSS
|
490 |
|
491 |
-
**Version 2.2
|
492 |
|
493 |
* Add Label Alignment option
|
494 |
* Add server side form validation; SPAM hardening
|
@@ -501,7 +515,7 @@ function my_scripts_method() {
|
|
501 |
* Update jQueryUI version
|
502 |
* Fix bug preventing form deletion
|
503 |
|
504 |
-
**Version 2.1
|
505 |
|
506 |
* Add Accepts option to File Upload field
|
507 |
* Add Small size to field options
|
@@ -512,7 +526,7 @@ function my_scripts_method() {
|
|
512 |
* Verification fields now customizable
|
513 |
* Verification field now can be set to not required
|
514 |
|
515 |
-
**Version 2.0
|
516 |
|
517 |
* Fix bug for misspelled languages folder
|
518 |
* Fix bug for slashes appearing in email and admin
|
@@ -521,15 +535,15 @@ function my_scripts_method() {
|
|
521 |
* Update the way Addresses were handled during email
|
522 |
* Add Hungarian translation
|
523 |
|
524 |
-
**Version 1.9.2
|
525 |
|
526 |
* Bug fix for copied forms with nested fields
|
527 |
|
528 |
-
**Version 1.9.1
|
529 |
|
530 |
* Bug fix for Sender Name, Email, and Notification Email overrides
|
531 |
|
532 |
-
**Version 1.9
|
533 |
|
534 |
* Add ability for fields to be nested underneath Fieldsets and Sections
|
535 |
* Add Section Form Item
|
@@ -538,7 +552,7 @@ function my_scripts_method() {
|
|
538 |
* Update new form building to no longer force require email details
|
539 |
* Update Delete Form link to require confirmation before deleting
|
540 |
|
541 |
-
**Version 1.8
|
542 |
|
543 |
* Add Dynamic Add/Delete for Options for Radio, Select, and Checkbox fields
|
544 |
* Add Dynamic Add/Delete for Email(s) To field
|
@@ -546,31 +560,31 @@ function my_scripts_method() {
|
|
546 |
* Update Instructions field to allow for images
|
547 |
* Submit button text value now customizable
|
548 |
|
549 |
-
**Version 1.7
|
550 |
|
551 |
* Add Instructions Form Item
|
552 |
* Add Duplicate Form feature
|
553 |
* Add Sender Name and Sender Email customization fields to Notifications
|
554 |
* Update CSS
|
555 |
|
556 |
-
**Version 1.6
|
557 |
|
558 |
* Fix bug where multiple address blocks could not be used
|
559 |
* Add internationalization support
|
560 |
* Add auto-respond feature to separately notify your users after form submission
|
561 |
* Update jQuery Validation to 1.8.1
|
562 |
|
563 |
-
**Version 1.5.1
|
564 |
|
565 |
* Fix bug where missing jQuery prevented multiple form fix from working
|
566 |
|
567 |
-
**Version 1.5
|
568 |
|
569 |
* Fix bug where multiple forms on same page could not be submitted individually
|
570 |
* Fix bug where Entries form filter did not work
|
571 |
* Update admin CSS to use it's own file instead of one loaded form WordPress
|
572 |
|
573 |
-
**Version 1.4
|
574 |
|
575 |
* Fix bug where database charset wasn't being set and causing character encoding issues
|
576 |
* Fix date submitted to match local date and time settings
|
@@ -579,13 +593,13 @@ function my_scripts_method() {
|
|
579 |
* Add Entries Export feature
|
580 |
* Update View Entries to full page view instead of jQuery show/hide quick view
|
581 |
|
582 |
-
**Version 1.3.1
|
583 |
|
584 |
* Fix bug where new Confirmation screen was not being installed
|
585 |
* Fix bug where escaped names and descriptions were not being stripped of slashes properly
|
586 |
* Add missing sprite image for Form Items
|
587 |
|
588 |
-
**Version 1.3
|
589 |
|
590 |
* Fix bug where jQuery validation was missing from security field
|
591 |
* Update Form Items UI to make it easier and quicker to add fields
|
@@ -593,11 +607,11 @@ function my_scripts_method() {
|
|
593 |
* Add Confirmation customization
|
594 |
* Update CSS output for some elements
|
595 |
|
596 |
-
**Version 1.2.1
|
597 |
|
598 |
* Fix bug where entries table does not install
|
599 |
|
600 |
-
**Version 1.2
|
601 |
|
602 |
* Fix bug where reserved words may have been used
|
603 |
* Fix bug where multiple open validation dropdowns could not be used in the builder
|
@@ -605,18 +619,21 @@ function my_scripts_method() {
|
|
605 |
* Improve form submission by removing wp_redirect
|
606 |
* Add Sender Name and Email override
|
607 |
|
608 |
-
**Version 1.1
|
609 |
|
610 |
* Fix bug that prevented all selected checkbox options from being submitted
|
611 |
* Add more help text on contextual Help tab
|
612 |
* Fix missing closing paragraph tag on success message
|
613 |
|
614 |
-
**Version 1.0
|
615 |
|
616 |
* Plugin launch!
|
617 |
|
618 |
== Upgrade Notice ==
|
619 |
|
|
|
|
|
|
|
620 |
= 2.7.9 =
|
621 |
Add "Always load CSS" setting, various updates and bug fixes
|
622 |
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=G87A9UN9CLPH4&lc=US&item_name=Visual%20Form%20Builder¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted
|
4 |
Tags: form, forms, contact form, contact forms, form, forms, form to email, email form, email, input, validation, jquery, shortcode, form builder, contact form builder, form manager, form creator
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 3.8
|
7 |
+
Stable tag: 2.8
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Build beautiful, fully functional contact forms in only a few minutes without writing PHP, CSS, or HTML.
|
106 |
|
107 |
= Can I use my own verification system such as a CAPTCHA? =
|
108 |
|
109 |
+
reCAPTCHA is available with [Visual Form Builder Pro](http://vfbpro.com).
|
110 |
|
111 |
Visual Form Builder uses a [text CAPTCHA](http://textcaptcha.com/). If you decide to upgrade to Visual Form Builder Pro, you will gain [Akismet](https://akismet.com/) support.
|
112 |
|
237 |
|
238 |
== Changelog ==
|
239 |
|
240 |
+
**Version 2.8 - Dec 3, 2013**
|
241 |
+
|
242 |
+
* Add Title option to widget
|
243 |
+
* Add "Unselect All" link to entries export field selection
|
244 |
+
* Update global form font size
|
245 |
+
* Update errorClass to more specific vfb-error class name
|
246 |
+
* Update various admin form filter drop downs to include form ID
|
247 |
+
* Fix bug where error label border did not display on certain inputs
|
248 |
+
* Fix bug affecting radio/ checkbox descriptions
|
249 |
+
* Fix quotes and other encoded characters in export
|
250 |
+
* Fix PHP notices when global $post is not available
|
251 |
+
* Minor updates to the admin CSS
|
252 |
+
* Remove screen_icon which has been deprecated in WordPress 3.8
|
253 |
+
|
254 |
+
**Version 2.7.9 - Sep 23, 2013**
|
255 |
|
256 |
* Add "Always load CSS" setting
|
257 |
* Add "Spam word sensitivity" setting
|
269 |
* Fix a couple screen options calls to use action and not filter
|
270 |
* Reduce number of queries on forms list page
|
271 |
|
272 |
+
**Version 2.7.8 - Aug 13, 2013**
|
273 |
|
274 |
* Add settings page with options for popular filters
|
275 |
* Add vfb_sender_mail_header, vfb_show_version filters
|
287 |
* Deprecate spam check for empty user agent
|
288 |
* Remove texas from spam words
|
289 |
|
290 |
+
**Version 2.7.7 - Jul 16, 2013**
|
291 |
|
292 |
* Fix bug where confirmation function fails
|
293 |
|
294 |
+
**Version 2.7.6 - Jul 16, 2013**
|
295 |
|
296 |
* Add sorting to checkbox/radio/select options
|
297 |
* Add dateFormat option for Date fields
|
310 |
* Remove unnecessary queries during email
|
311 |
* Remove old “Display Forms” help image and just use text
|
312 |
|
313 |
+
**Version 2.7.5 - Jun 06, 2013**
|
314 |
|
315 |
* Add Print button to Entry Detail view
|
316 |
* Add Duplicate link to Form List view
|
323 |
* Fix bug on Export page where Fields were not limited to 1000 in an edge case
|
324 |
* Fix bug where delete link did not work in Form List view
|
325 |
|
326 |
+
**Version 2.7.4 - May 08, 2013**
|
327 |
|
328 |
* Update Numbers field to allow either Digits or Number validation and sanitize as float instead of int
|
329 |
* Update Entries Detail "Delete" link to a "Trash" link
|
333 |
* Fix bug on Entries List to properly display Today's Entries
|
334 |
* Minor updates
|
335 |
|
336 |
+
**Version 2.7.3 - May 07, 2013**
|
337 |
|
338 |
* Fix bug where referer URL was not compatible with certain permalink structures
|
339 |
|
340 |
+
**Version 2.7.2 - May 05, 2013**
|
341 |
|
342 |
* Add form search in admin
|
343 |
* Add 'Pages to Export' option when more than 1000 entries detected for a single form
|
352 |
* Fix bug where nesting and sorting would not save
|
353 |
* Fix bug during Export for certain encoded characters
|
354 |
|
355 |
+
**Version 2.7.1 - Mar 13, 2013**
|
356 |
|
357 |
* Fix bug in Export where fields did not load in certain cases
|
358 |
* Minor code updates
|
359 |
|
360 |
+
**Version 2.7 - Feb 28, 2013**
|
361 |
|
362 |
* Add widget for displaying forms in sidebar
|
363 |
* Add dashboard widget for displaying recent entries
|
372 |
* Rollback Date field type to non-HTML5 to prevent duplicate date pickers in Chrome
|
373 |
* Update language .POT
|
374 |
|
375 |
+
**Version 2.6.9 - Feb 08, 2013**
|
376 |
|
377 |
* Fix bug where Validation would be removed on saving predefined fields
|
378 |
|
379 |
+
**Version 2.6.8 - Feb 06, 2013**
|
380 |
|
381 |
* Add Reply-To to email headers for better compatibility with some email servers
|
382 |
* Add new Fields selection in Export
|
391 |
* Deprecate use of CDN for certain files in favor of locally hosted versions
|
392 |
* Deprecate Export Selected in favor of more reliable exporting on the Export screen
|
393 |
|
394 |
+
**Version 2.6.7 - Dec 06, 2012**
|
395 |
|
396 |
* Update email headers
|
397 |
* Fix bug where notification email did not send
|
398 |
* Fix textarea value formatting in email
|
399 |
|
400 |
+
**Version 2.6.6 - Dec 04, 2012**
|
401 |
|
402 |
* Turn off script debugging
|
403 |
|
404 |
+
**Version 2.6.5 - Dec 04, 2012**
|
405 |
|
406 |
* Add confirmation to Delete field
|
407 |
* Add new Address label filter
|
413 |
* Fix media button to use correct action
|
414 |
* Fix missing un-prefixed classes
|
415 |
|
416 |
+
**Version 2.6.4 - Nov 12, 2012**
|
417 |
|
418 |
* Fix bug where SVN commit mangled code
|
419 |
|
420 |
+
**Version 2.6.3 - Nov 12, 2012**
|
421 |
|
422 |
* Update CSS to now prefix all classes to help eliminate theme conflicts
|
423 |
* Update email function to force a From email that exists on the same domain
|
426 |
* Fix bug preventing Export from displaying filtering options
|
427 |
* Minor code cleanups
|
428 |
|
429 |
+
**Version 2.6.2 - Oct 23, 2012**
|
430 |
|
431 |
* Fix bug where File Upload field would prevent validation
|
432 |
* Fix bug when selecting entries export
|
434 |
* Fix bug for another missing Save Form button
|
435 |
* Update JS and CSS from CDN to use HTTPS
|
436 |
|
437 |
+
**Version 2.6.1 - Oct 17, 2012**
|
438 |
|
439 |
* Fix bug for missing Save Form button
|
440 |
* Fix bug for entries screen options and pagination
|
441 |
|
442 |
+
**Version 2.6 - Oct 17, 2012**
|
443 |
|
444 |
* Move plugin into its own menu
|
445 |
* Add new 'All Forms' view with an alphabetical group list
|
451 |
* Fix bug where form rendering would behave erratically in Internet Explorer 9
|
452 |
* Fix bug where sender emails would be cut off after 25 characters in the entries database
|
453 |
|
454 |
+
**Version 2.5 - Sep 13, 2012**
|
455 |
|
456 |
* Add new Export page for exporting all entries
|
457 |
* Add IDs to each form item on output
|
464 |
* Update server side validation to denote which field is failing
|
465 |
* Minor admin CSS update
|
466 |
|
467 |
+
**Version 2.4.1 - May 22, 2012**
|
468 |
|
469 |
* Fix bug where misspelled variable caused email to not send
|
470 |
|
471 |
+
**Version 2.4 - May 22, 2012**
|
472 |
|
473 |
* Fix bug where label alignment option was not being saved
|
474 |
* Update spam bot check to only execute when form is submitted
|
475 |
* Update list of spam bots
|
476 |
|
477 |
+
**Version 2.3.3 - Apr 30, 2012**
|
478 |
|
479 |
* Fix bug for missing media button image
|
480 |
|
481 |
+
**Version 2.3.2 - Apr 27, 2012**
|
482 |
|
483 |
* Fix bug that displayed a warning
|
484 |
|
485 |
+
**Version 2.3.1 - Apr 27, 2012**
|
486 |
|
487 |
* Fix bug where Export feature was broken
|
488 |
* Fix bug where server validation failed on certain data types
|
489 |
* Add months drop down filter to Entries list
|
490 |
|
491 |
+
**Version 2.3 - Apr 24, 2012**
|
492 |
|
493 |
* Add media button to Posts/Pages to easily embed forms (thanks to Paul Armstrong Designs!)
|
494 |
* Add search feature to Entries
|
502 |
* Update how the entries files are included to eliminate PHP notices
|
503 |
* Minor updates to CSS
|
504 |
|
505 |
+
**Version 2.2 - Mar 26, 2012**
|
506 |
|
507 |
* Add Label Alignment option
|
508 |
* Add server side form validation; SPAM hardening
|
515 |
* Update jQueryUI version
|
516 |
* Fix bug preventing form deletion
|
517 |
|
518 |
+
**Version 2.1 - Mar 06, 2012**
|
519 |
|
520 |
* Add Accepts option to File Upload field
|
521 |
* Add Small size to field options
|
526 |
* Verification fields now customizable
|
527 |
* Verification field now can be set to not required
|
528 |
|
529 |
+
**Version 2.0 - Feb 10, 2012**
|
530 |
|
531 |
* Fix bug for misspelled languages folder
|
532 |
* Fix bug for slashes appearing in email and admin
|
535 |
* Update the way Addresses were handled during email
|
536 |
* Add Hungarian translation
|
537 |
|
538 |
+
**Version 1.9.2 - Jan 09, 2012**
|
539 |
|
540 |
* Bug fix for copied forms with nested fields
|
541 |
|
542 |
+
**Version 1.9.1 - Jan 04, 2012**
|
543 |
|
544 |
* Bug fix for Sender Name, Email, and Notification Email overrides
|
545 |
|
546 |
+
**Version 1.9 - Jan 03, 2012**
|
547 |
|
548 |
* Add ability for fields to be nested underneath Fieldsets and Sections
|
549 |
* Add Section Form Item
|
552 |
* Update new form building to no longer force require email details
|
553 |
* Update Delete Form link to require confirmation before deleting
|
554 |
|
555 |
+
**Version 1.8 - Nov 22, 2011**
|
556 |
|
557 |
* Add Dynamic Add/Delete for Options for Radio, Select, and Checkbox fields
|
558 |
* Add Dynamic Add/Delete for Email(s) To field
|
560 |
* Update Instructions field to allow for images
|
561 |
* Submit button text value now customizable
|
562 |
|
563 |
+
**Version 1.7 - Nov 09, 2011**
|
564 |
|
565 |
* Add Instructions Form Item
|
566 |
* Add Duplicate Form feature
|
567 |
* Add Sender Name and Sender Email customization fields to Notifications
|
568 |
* Update CSS
|
569 |
|
570 |
+
**Version 1.6 - Oct 07, 2011**
|
571 |
|
572 |
* Fix bug where multiple address blocks could not be used
|
573 |
* Add internationalization support
|
574 |
* Add auto-respond feature to separately notify your users after form submission
|
575 |
* Update jQuery Validation to 1.8.1
|
576 |
|
577 |
+
**Version 1.5.1 - Sep 08, 2011**
|
578 |
|
579 |
* Fix bug where missing jQuery prevented multiple form fix from working
|
580 |
|
581 |
+
**Version 1.5 - Sep 07, 2011**
|
582 |
|
583 |
* Fix bug where multiple forms on same page could not be submitted individually
|
584 |
* Fix bug where Entries form filter did not work
|
585 |
* Update admin CSS to use it's own file instead of one loaded form WordPress
|
586 |
|
587 |
+
**Version 1.4 - Aug 16, 2011**
|
588 |
|
589 |
* Fix bug where database charset wasn't being set and causing character encoding issues
|
590 |
* Fix date submitted to match local date and time settings
|
593 |
* Add Entries Export feature
|
594 |
* Update View Entries to full page view instead of jQuery show/hide quick view
|
595 |
|
596 |
+
**Version 1.3.1 - Jul 28, 2011**
|
597 |
|
598 |
* Fix bug where new Confirmation screen was not being installed
|
599 |
* Fix bug where escaped names and descriptions were not being stripped of slashes properly
|
600 |
* Add missing sprite image for Form Items
|
601 |
|
602 |
+
**Version 1.3 - Jul 27, 2011**
|
603 |
|
604 |
* Fix bug where jQuery validation was missing from security field
|
605 |
* Update Form Items UI to make it easier and quicker to add fields
|
607 |
* Add Confirmation customization
|
608 |
* Update CSS output for some elements
|
609 |
|
610 |
+
**Version 1.2.1 - Jul 19, 2011**
|
611 |
|
612 |
* Fix bug where entries table does not install
|
613 |
|
614 |
+
**Version 1.2 - Jul 19, 2011**
|
615 |
|
616 |
* Fix bug where reserved words may have been used
|
617 |
* Fix bug where multiple open validation dropdowns could not be used in the builder
|
619 |
* Improve form submission by removing wp_redirect
|
620 |
* Add Sender Name and Email override
|
621 |
|
622 |
+
**Version 1.1 - Jun 30, 2011**
|
623 |
|
624 |
* Fix bug that prevented all selected checkbox options from being submitted
|
625 |
* Add more help text on contextual Help tab
|
626 |
* Fix missing closing paragraph tag on success message
|
627 |
|
628 |
+
**Version 1.0 - Jun 23, 2011**
|
629 |
|
630 |
* Plugin launch!
|
631 |
|
632 |
== Upgrade Notice ==
|
633 |
|
634 |
+
= 2.8 =
|
635 |
+
Fix quotes and other encoded characters in export
|
636 |
+
|
637 |
= 2.7.9 =
|
638 |
Add "Always load CSS" setting, various updates and bug fixes
|
639 |
|
visual-form-builder.php
CHANGED
@@ -4,11 +4,11 @@ Plugin Name: Visual Form Builder
|
|
4 |
Description: Dynamically build forms using a simple interface. Forms include jQuery validation, a basic logic-based verification system, and entry tracking.
|
5 |
Author: Matthew Muro
|
6 |
Author URI: http://matthewmuro.com
|
7 |
-
Version: 2.
|
8 |
*/
|
9 |
|
10 |
// Version number to output as meta tag
|
11 |
-
define( 'VFB_VERSION', '2.
|
12 |
|
13 |
/*
|
14 |
This program is free software; you can redistribute it and/or modify
|
@@ -546,7 +546,7 @@ class Visual_Form_Builder{
|
|
546 |
*/
|
547 |
public function meta_box_display_forms() {
|
548 |
?>
|
549 |
-
<p><?php _e( 'Add forms to your Posts or Pages by locating the <strong>Add Form</strong> button
|
550 |
<p><?php _e( 'You may also manually insert the shortcode into a post/page.', 'visual-form-builder' ); ?></p>
|
551 |
<p><?php _e( 'Shortcode', 'visual-form-builder-pro' ); ?> <code>[vfb id='<?php echo (int) $_REQUEST['form']; ?>']</code></p>
|
552 |
<?php
|
@@ -660,10 +660,10 @@ class Visual_Form_Builder{
|
|
660 |
wp_enqueue_script( 'jquery-ui-sortable' );
|
661 |
wp_enqueue_script( 'postbox' );
|
662 |
wp_enqueue_script( 'jquery-form-validation', plugins_url( '/js/jquery.validate.min.js', __FILE__ ), array( 'jquery' ), '1.9.0', true );
|
663 |
-
wp_enqueue_script( 'vfb-admin', plugins_url( "/js/vfb-admin$this->load_dev_files.js", __FILE__ ) , array( 'jquery', 'jquery-form-validation' ), '
|
664 |
wp_enqueue_script( 'nested-sortable', plugins_url( "/js/jquery.ui.nestedSortable$this->load_dev_files.js", __FILE__ ) , array( 'jquery', 'jquery-ui-sortable' ), '1.3.5', true );
|
665 |
|
666 |
-
wp_enqueue_style( 'visual-form-builder-style', plugins_url( "/css/visual-form-builder-admin$this->load_dev_files.css", __FILE__ ), array(), '
|
667 |
|
668 |
wp_localize_script( 'vfb-admin', 'VfbAdminPages', array( 'vfb_pages' => $this->_admin_pages ) );
|
669 |
}
|
@@ -678,7 +678,7 @@ class Visual_Form_Builder{
|
|
678 |
$this->add_scripts = true;
|
679 |
|
680 |
wp_register_script( 'jquery-form-validation', plugins_url( '/js/jquery.validate.min.js', __FILE__ ), array( 'jquery' ), '1.9.0', true );
|
681 |
-
wp_register_script( 'visual-form-builder-validation', plugins_url( "/js/vfb-validation$this->load_dev_files.js", __FILE__ ) , array( 'jquery', 'jquery-form-validation' ), '
|
682 |
wp_register_script( 'visual-form-builder-metadata', plugins_url( '/js/jquery.metadata.js', __FILE__ ) , array( 'jquery', 'jquery-form-validation' ), '2.0', true );
|
683 |
wp_register_script( 'vfb-ckeditor', plugins_url( '/js/ckeditor/ckeditor.js', __FILE__ ), array( 'jquery' ), '4.1', true );
|
684 |
|
@@ -698,8 +698,8 @@ class Visual_Form_Builder{
|
|
698 |
|
699 |
$vfb_settings = get_option( 'vfb-settings' );
|
700 |
|
701 |
-
wp_register_style( 'vfb-jqueryui-css', apply_filters( 'vfb-date-picker-css', plugins_url( '/css/smoothness/jquery-ui-1.10.3.min.css', __FILE__ ) ), array(), '
|
702 |
-
wp_register_style( 'visual-form-builder-css', apply_filters( 'visual-form-builder-css', plugins_url( "/css/visual-form-builder$this->load_dev_files.css", __FILE__ ) ), array(), '
|
703 |
|
704 |
// Settings - Always load CSS
|
705 |
if ( isset( $vfb_settings['always-load-css'] ) ) {
|
@@ -722,6 +722,10 @@ class Visual_Form_Builder{
|
|
722 |
if ( function_exists( 'has_shortcode' ) ) {
|
723 |
global $post;
|
724 |
|
|
|
|
|
|
|
|
|
725 |
if ( !has_shortcode( $post->post_content, 'vfb' ) )
|
726 |
return;
|
727 |
} elseif ( !$this->has_shortcode( 'vfb' ) ) {
|
@@ -1438,7 +1442,6 @@ class Visual_Form_Builder{
|
|
1438 |
public function admin_add_new() {
|
1439 |
?>
|
1440 |
<div class="wrap">
|
1441 |
-
<?php screen_icon( 'options-general' ); ?>
|
1442 |
<h2><?php _e( 'Add New Form', 'visual-form-builder' ); ?></h2>
|
1443 |
<?php
|
1444 |
include_once( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'includes/admin-new-form.php' );
|
@@ -1457,7 +1460,6 @@ class Visual_Form_Builder{
|
|
1457 |
global $entries_list, $entries_detail;
|
1458 |
?>
|
1459 |
<div class="wrap">
|
1460 |
-
<?php screen_icon( 'options-general' ); ?>
|
1461 |
<h2>
|
1462 |
<?php _e( 'Entries', 'visual-form-builder' ); ?>
|
1463 |
<?php
|
@@ -1494,7 +1496,6 @@ class Visual_Form_Builder{
|
|
1494 |
global $export;
|
1495 |
?>
|
1496 |
<div class="wrap">
|
1497 |
-
<?php screen_icon( 'options-general' ); ?>
|
1498 |
<h2><?php _e( 'Export', 'visual-form-builder' ); ?></h2>
|
1499 |
<?php
|
1500 |
$export->display();
|
@@ -1514,7 +1515,6 @@ class Visual_Form_Builder{
|
|
1514 |
$vfb_settings = get_option( 'vfb-settings' );
|
1515 |
?>
|
1516 |
<div class="wrap">
|
1517 |
-
<?php screen_icon( 'themes' ); ?>
|
1518 |
<h2><?php _e( 'Settings', 'visual-form-builder' ); ?></h2>
|
1519 |
<form id="vfb-settings" method="post">
|
1520 |
<input name="action" type="hidden" value="vfb_settings" />
|
@@ -1607,7 +1607,6 @@ class Visual_Form_Builder{
|
|
1607 |
$form_nav_selected_id = ( isset( $_REQUEST['form'] ) ) ? $_REQUEST['form'] : '0';
|
1608 |
?>
|
1609 |
<div class="wrap">
|
1610 |
-
<?php screen_icon( 'options-general' ); ?>
|
1611 |
<h2>
|
1612 |
<?php _e( 'Visual Form Builder', 'visual-form-builder' ); ?>
|
1613 |
<?php
|
@@ -1626,7 +1625,7 @@ class Visual_Form_Builder{
|
|
1626 |
<div class="vfb-pro-upgrade">
|
1627 |
<h2><a href="http://vfbpro.com">Visual Form Builder Pro</a></h2>
|
1628 |
<p class="vfb-pro-call-to-action">
|
1629 |
-
<a class="vfb-btn vfb-btn-inverse" href="http://vfbpro.com
|
1630 |
<a class="vfb-btn vfb-btn-primary" href="http://store.vfbpro.com" target="_blank"><?php _e( 'Buy Now' , 'visual-form-builder'); ?></a>
|
1631 |
</p>
|
1632 |
<p class="vfb-pro-call-to-action">
|
@@ -1634,7 +1633,7 @@ class Visual_Form_Builder{
|
|
1634 |
</p>
|
1635 |
<h3><?php _e( 'New Features' , 'visual-form-builder'); ?></h3>
|
1636 |
<ul>
|
1637 |
-
<li><a href="http://vfbpro.com
|
1638 |
<li><?php _e( 'Akismet Support' , 'visual-form-builder'); ?></li>
|
1639 |
<li><?php _e( 'reCAPTCHA' , 'visual-form-builder'); ?></li>
|
1640 |
<li><?php _e( 'Nested Drag and Drop' , 'visual-form-builder'); ?></li>
|
@@ -1653,11 +1652,10 @@ class Visual_Form_Builder{
|
|
1653 |
<li><?php _e( 'Form Paging' , 'visual-form-builder'); ?></li>
|
1654 |
<li><?php _e( 'Live Preview' , 'visual-form-builder'); ?></li>
|
1655 |
<li><?php _e( 'Custom Capabilities' , 'visual-form-builder'); ?></li>
|
1656 |
-
<li><?php _e( 'No License Key' , 'visual-form-builder'); ?></li>
|
1657 |
<li><?php _e( 'Automatic Updates' , 'visual-form-builder'); ?></li>
|
1658 |
</ul>
|
1659 |
|
1660 |
-
<p><a href="http://vfbpro.com
|
1661 |
</div> <!-- .vfb-pro-upgrade -->
|
1662 |
|
1663 |
<h3><?php _e( 'Promote Visual Form Builder' , 'visual-form-builder'); ?></h3>
|
4 |
Description: Dynamically build forms using a simple interface. Forms include jQuery validation, a basic logic-based verification system, and entry tracking.
|
5 |
Author: Matthew Muro
|
6 |
Author URI: http://matthewmuro.com
|
7 |
+
Version: 2.8
|
8 |
*/
|
9 |
|
10 |
// Version number to output as meta tag
|
11 |
+
define( 'VFB_VERSION', '2.8' );
|
12 |
|
13 |
/*
|
14 |
This program is free software; you can redistribute it and/or modify
|
546 |
*/
|
547 |
public function meta_box_display_forms() {
|
548 |
?>
|
549 |
+
<p><?php _e( 'Add forms to your Posts or Pages by locating the <strong>Add Form</strong> button in the area above your post/page editor.', 'visual-form-builder' ); ?></p>
|
550 |
<p><?php _e( 'You may also manually insert the shortcode into a post/page.', 'visual-form-builder' ); ?></p>
|
551 |
<p><?php _e( 'Shortcode', 'visual-form-builder-pro' ); ?> <code>[vfb id='<?php echo (int) $_REQUEST['form']; ?>']</code></p>
|
552 |
<?php
|
660 |
wp_enqueue_script( 'jquery-ui-sortable' );
|
661 |
wp_enqueue_script( 'postbox' );
|
662 |
wp_enqueue_script( 'jquery-form-validation', plugins_url( '/js/jquery.validate.min.js', __FILE__ ), array( 'jquery' ), '1.9.0', true );
|
663 |
+
wp_enqueue_script( 'vfb-admin', plugins_url( "/js/vfb-admin$this->load_dev_files.js", __FILE__ ) , array( 'jquery', 'jquery-form-validation' ), '20131203', true );
|
664 |
wp_enqueue_script( 'nested-sortable', plugins_url( "/js/jquery.ui.nestedSortable$this->load_dev_files.js", __FILE__ ) , array( 'jquery', 'jquery-ui-sortable' ), '1.3.5', true );
|
665 |
|
666 |
+
wp_enqueue_style( 'visual-form-builder-style', plugins_url( "/css/visual-form-builder-admin$this->load_dev_files.css", __FILE__ ), array(), '20131203' );
|
667 |
|
668 |
wp_localize_script( 'vfb-admin', 'VfbAdminPages', array( 'vfb_pages' => $this->_admin_pages ) );
|
669 |
}
|
678 |
$this->add_scripts = true;
|
679 |
|
680 |
wp_register_script( 'jquery-form-validation', plugins_url( '/js/jquery.validate.min.js', __FILE__ ), array( 'jquery' ), '1.9.0', true );
|
681 |
+
wp_register_script( 'visual-form-builder-validation', plugins_url( "/js/vfb-validation$this->load_dev_files.js", __FILE__ ) , array( 'jquery', 'jquery-form-validation' ), '20131203', true );
|
682 |
wp_register_script( 'visual-form-builder-metadata', plugins_url( '/js/jquery.metadata.js', __FILE__ ) , array( 'jquery', 'jquery-form-validation' ), '2.0', true );
|
683 |
wp_register_script( 'vfb-ckeditor', plugins_url( '/js/ckeditor/ckeditor.js', __FILE__ ), array( 'jquery' ), '4.1', true );
|
684 |
|
698 |
|
699 |
$vfb_settings = get_option( 'vfb-settings' );
|
700 |
|
701 |
+
wp_register_style( 'vfb-jqueryui-css', apply_filters( 'vfb-date-picker-css', plugins_url( '/css/smoothness/jquery-ui-1.10.3.min.css', __FILE__ ) ), array(), '20131203' );
|
702 |
+
wp_register_style( 'visual-form-builder-css', apply_filters( 'visual-form-builder-css', plugins_url( "/css/visual-form-builder$this->load_dev_files.css", __FILE__ ) ), array(), '20131203' );
|
703 |
|
704 |
// Settings - Always load CSS
|
705 |
if ( isset( $vfb_settings['always-load-css'] ) ) {
|
722 |
if ( function_exists( 'has_shortcode' ) ) {
|
723 |
global $post;
|
724 |
|
725 |
+
// If no post exists, exit
|
726 |
+
if ( !$post )
|
727 |
+
return;
|
728 |
+
|
729 |
if ( !has_shortcode( $post->post_content, 'vfb' ) )
|
730 |
return;
|
731 |
} elseif ( !$this->has_shortcode( 'vfb' ) ) {
|
1442 |
public function admin_add_new() {
|
1443 |
?>
|
1444 |
<div class="wrap">
|
|
|
1445 |
<h2><?php _e( 'Add New Form', 'visual-form-builder' ); ?></h2>
|
1446 |
<?php
|
1447 |
include_once( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'includes/admin-new-form.php' );
|
1460 |
global $entries_list, $entries_detail;
|
1461 |
?>
|
1462 |
<div class="wrap">
|
|
|
1463 |
<h2>
|
1464 |
<?php _e( 'Entries', 'visual-form-builder' ); ?>
|
1465 |
<?php
|
1496 |
global $export;
|
1497 |
?>
|
1498 |
<div class="wrap">
|
|
|
1499 |
<h2><?php _e( 'Export', 'visual-form-builder' ); ?></h2>
|
1500 |
<?php
|
1501 |
$export->display();
|
1515 |
$vfb_settings = get_option( 'vfb-settings' );
|
1516 |
?>
|
1517 |
<div class="wrap">
|
|
|
1518 |
<h2><?php _e( 'Settings', 'visual-form-builder' ); ?></h2>
|
1519 |
<form id="vfb-settings" method="post">
|
1520 |
<input name="action" type="hidden" value="vfb_settings" />
|
1607 |
$form_nav_selected_id = ( isset( $_REQUEST['form'] ) ) ? $_REQUEST['form'] : '0';
|
1608 |
?>
|
1609 |
<div class="wrap">
|
|
|
1610 |
<h2>
|
1611 |
<?php _e( 'Visual Form Builder', 'visual-form-builder' ); ?>
|
1612 |
<?php
|
1625 |
<div class="vfb-pro-upgrade">
|
1626 |
<h2><a href="http://vfbpro.com">Visual Form Builder Pro</a></h2>
|
1627 |
<p class="vfb-pro-call-to-action">
|
1628 |
+
<a class="vfb-btn vfb-btn-inverse" href="http://vfbpro.com/pricing" target="_blank"><?php _e( 'View Pricing' , 'visual-form-builder'); ?></a>
|
1629 |
<a class="vfb-btn vfb-btn-primary" href="http://store.vfbpro.com" target="_blank"><?php _e( 'Buy Now' , 'visual-form-builder'); ?></a>
|
1630 |
</p>
|
1631 |
<p class="vfb-pro-call-to-action">
|
1633 |
</p>
|
1634 |
<h3><?php _e( 'New Features' , 'visual-form-builder'); ?></h3>
|
1635 |
<ul>
|
1636 |
+
<li><a href="http://vfbpro.com/add-ons"><?php _e( 'Now with Add-Ons' , 'visual-form-builder'); ?></a></li>
|
1637 |
<li><?php _e( 'Akismet Support' , 'visual-form-builder'); ?></li>
|
1638 |
<li><?php _e( 'reCAPTCHA' , 'visual-form-builder'); ?></li>
|
1639 |
<li><?php _e( 'Nested Drag and Drop' , 'visual-form-builder'); ?></li>
|
1652 |
<li><?php _e( 'Form Paging' , 'visual-form-builder'); ?></li>
|
1653 |
<li><?php _e( 'Live Preview' , 'visual-form-builder'); ?></li>
|
1654 |
<li><?php _e( 'Custom Capabilities' , 'visual-form-builder'); ?></li>
|
|
|
1655 |
<li><?php _e( 'Automatic Updates' , 'visual-form-builder'); ?></li>
|
1656 |
</ul>
|
1657 |
|
1658 |
+
<p><a href="http://vfbpro.com/features"><?php _e( 'View all features' , 'visual-form-builder'); ?></a></p>
|
1659 |
</div> <!-- .vfb-pro-upgrade -->
|
1660 |
|
1661 |
<h3><?php _e( 'Promote Visual Form Builder' , 'visual-form-builder'); ?></h3>
|