Contact Form by Supsystic - Version 1.7.18

Version Description

Download this release

Release Info

Developer supsystic.com
Plugin Icon 128x128 Contact Form by Supsystic
Version 1.7.18
Comparing to
See all releases

Code changes from version 1.7.17 to 1.7.18

cfs.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Contact Form by Supsystic
4
  * Description: Contact Form Builder with drag-and-drop editor to create responsive, mobile ready contact forms in a second. Custom fields and contact form templates
5
- * Version: 1.7.17
6
  * Author: supsystic.com
7
  * Author URI: https://supsystic.com
8
  * Text Domain: contact-form-by-supsystic
2
  /**
3
  * Plugin Name: Contact Form by Supsystic
4
  * Description: Contact Form Builder with drag-and-drop editor to create responsive, mobile ready contact forms in a second. Custom fields and contact form templates
5
+ * Version: 1.7.18
6
  * Author: supsystic.com
7
  * Author URI: https://supsystic.com
8
  * Text Domain: contact-form-by-supsystic
config.php CHANGED
@@ -49,7 +49,7 @@
49
  define('CFS_EOL', "\n");
50
 
51
  define('CFS_PLUGIN_INSTALLED', true);
52
- define('CFS_VERSION', '1.7.17');
53
  define('CFS_USER', 'user');
54
 
55
  define('CFS_CLASS_PREFIX', 'cfsc');
49
  define('CFS_EOL', "\n");
50
 
51
  define('CFS_PLUGIN_INSTALLED', true);
52
+ define('CFS_VERSION', '1.7.18');
53
  define('CFS_USER', 'user');
54
 
55
  define('CFS_CLASS_PREFIX', 'cfsc');
js/lib/chosen/chosen.min.css CHANGED
@@ -72,4 +72,4 @@
72
  .chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #000;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(#eee 20%,#fff 80%);background-image:-moz-linear-gradient(#eee 20%,#fff 80%);background-image:-o-linear-gradient(#eee 20%,#fff 80%);background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:transparent}
73
  .chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 7px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#111!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single-nosearch .chosen-search,.chosen-rtl .chosen-drop{left:9999px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:#fff url(chosen-sprite.png) no-repeat -30px -20px;background:url(chosen-sprite.png) no-repeat -30px -20px;direction:rtl}
74
  .chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}
75
- @media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:144dpi){.chosen-rtl .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-container-single .chosen-search input[type=text],.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background-image:url("chosen-sprite@2x.png")!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}
72
  .chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #000;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(#eee 20%,#fff 80%);background-image:-moz-linear-gradient(#eee 20%,#fff 80%);background-image:-o-linear-gradient(#eee 20%,#fff 80%);background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:0;background:transparent}
73
  .chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 7px}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#111!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single-nosearch .chosen-search,.chosen-rtl .chosen-drop{left:9999px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:0}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;background:#fff url(chosen-sprite.png) no-repeat -30px -20px;background:url(chosen-sprite.png) no-repeat -30px -20px;direction:rtl}
74
  .chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}
75
+ @media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:144dpi){.chosen-rtl .chosen-search input[type=text],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-container-single .chosen-search input[type=text],.chosen-container-multi .chosen-choices .search-choice .search-choice-close,.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background-image:url("chosen-sprite@2x.png")!important;background-size:52px 37px!important;background-repeat:no-repeat!important}}
modules/forms/models/forms.php CHANGED
@@ -18,9 +18,14 @@ class formsModelCfs extends modelCfs {
18
  }
19
  return $allForms;
20
  }
21
- // public function getAllForms() {
22
- // return $this->addWhere('original_id != 0 AND ab_id = 0')->getFromTbl();
23
- // }
 
 
 
 
 
24
  public function supGetById($id, $customTable = '') {
25
  global $wpdb;
26
  $res = $wpdb->get_results(
18
  }
19
  return $allForms;
20
  }
21
+ public function getAllForms() {
22
+ global $wpdb;
23
+ $allForms = $wpdb->get_results("SELECT * FROM {$wpdb->prefix}cfs_forms WHERE original_id != 0 AND ab_id = 0", ARRAY_A);
24
+ foreach ($allForms as $key => $forms) {
25
+ $allForms[$key] = $this->_afterGetFromTbl($forms);
26
+ }
27
+ return $allForms;
28
+ }
29
  public function supGetById($id, $customTable = '') {
30
  global $wpdb;
31
  $res = $wpdb->get_results(
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Contact Form by Supsystic ===
2
  Contributors: supsystic.com
3
  Tags: contact, contact form, contact form builder, contact form maker, contact form manager, contact form plugin, contact forms, custom form, feedback form, form, forms, forms creator
4
- Tested up to: 5.7
5
- Stable tag: 1.7.17
6
 
7
  Contact Form Builder with drag-and-drop editor to create responsive, mobile ready contact forms in a second. Custom fields and contact form templates
8
 
@@ -202,6 +202,8 @@ Using Contact Form plugin on your WordPress site, you start a really responsive
202
  Contact Form admin interface
203
 
204
  == Changelog ==
 
 
205
 
206
  = 1.7.17 / 22.06.2021 =
207
  * Add fix for license
1
  === Contact Form by Supsystic ===
2
  Contributors: supsystic.com
3
  Tags: contact, contact form, contact form builder, contact form maker, contact form manager, contact form plugin, contact forms, custom form, feedback form, form, forms, forms creator
4
+ Tested up to: 5.8
5
+ Stable tag: 1.7.18
6
 
7
  Contact Form Builder with drag-and-drop editor to create responsive, mobile ready contact forms in a second. Custom fields and contact form templates
8
 
202
  Contact Form admin interface
203
 
204
  == Changelog ==
205
+ 1.7.18 / 21.09.2021 =
206
+ * Add fixes for Data Table integration
207
 
208
  = 1.7.17 / 22.06.2021 =
209
  * Add fix for license