Contact Bank: WordPress Form Builder for Contact Forms - Version 2.0.226

Version Description

  • Few Bugs Fixed
  • Few Possible Security Issues Addressed
Download this release

Release Info

Developer contact-banker
Plugin Icon 128x128 Contact Bank: WordPress Form Builder for Contact Forms
Version 2.0.226
Comparing to
See all releases

Code changes from version 2.0.225 to 2.0.226

assets/css/stylesheet.css CHANGED
@@ -2303,18 +2303,18 @@ button.close {
2303
  /* # Tooltips & popovers
2304
  ================================================== */
2305
 
2306
- .tooltip { position: absolute; z-index: 10300; display: block; visibility: visible; padding: 5px; font-size: 11px; opacity: 0; filter: alpha(opacity=0); }
2307
- .tooltip.in { opacity: 0.8; filter: alpha(opacity=80); }
2308
- .tooltip.top { margin-top: -3px; }
2309
- .tooltip.right { margin-left: 3px; }
2310
- .tooltip.bottom { margin-top: 3px; }
2311
- .tooltip.left { margin-left: -3px; }
2312
- .tooltip-inner { max-width: 200px; padding: 3px 8px; color: #ffffff; text-align: center; text-decoration: none; background-color: #202020; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
2313
- .tooltip-arrow { position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; }
2314
- .tooltip.top .tooltip-arrow { bottom: 0; left: 50%; margin-left: -5px; border-width: 5px 5px 0; border-top-color: #000000; }
2315
- .tooltip.right .tooltip-arrow { top: 50%; left: 0; margin-top: -5px; border-width: 5px 5px 5px 0; border-right-color: #000000; }
2316
- .tooltip.left .tooltip-arrow { top: 50%; right: 0; margin-top: -5px; border-width: 5px 0 5px 5px; border-left-color: #000000; }
2317
- .tooltip.bottom .tooltip-arrow { top: 0; left: 50%; margin-left: -5px; border-width: 0 5px 5px; border-bottom-color: #000000; }
2318
 
2319
  .close-report
2320
  {
2303
  /* # Tooltips & popovers
2304
  ================================================== */
2305
 
2306
+ .tooltip_tip { position: absolute; z-index: 10300; display: block; visibility: visible; padding: 5px; font-size: 11px; opacity: 0; filter: alpha(opacity=0); }
2307
+ .tooltip_tip.in { opacity: 0.8; filter: alpha(opacity=80); }
2308
+ .tooltip_tip.top { margin-top: -3px; }
2309
+ .tooltip_tip.right { margin-left: 3px; }
2310
+ .tooltip_tip.bottom { margin-top: 3px; }
2311
+ .tooltip_tip.left { margin-left: -3px; }
2312
+ .tooltip_tip-inner { max-width: 200px; padding: 3px 8px; color: #ffffff; text-align: center; text-decoration: none; background-color: #202020; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
2313
+ .tooltip_tip-arrow { position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; }
2314
+ .tooltip_tip.top .tooltip_tip-arrow { bottom: 0; left: 50%; margin-left: -5px; border-width: 5px 5px 0; border-top-color: #000000; }
2315
+ .tooltip_tip.right .tooltip_tip-arrow { top: 50%; left: 0; margin-top: -5px; border-width: 5px 5px 5px 0; border-right-color: #000000; }
2316
+ .tooltip_tip.left .tooltip_tip-arrow { top: 50%; right: 0; margin-top: -5px; border-width: 5px 0 5px 5px; border-left-color: #000000; }
2317
+ .tooltip_tip.bottom .tooltip_tip-arrow { top: 0; left: 50%; margin-left: -5px; border-width: 0 5px 5px; border-bottom-color: #000000; }
2318
 
2319
  .close-report
2320
  {
assets/js/jquery.Tooltip.js CHANGED
@@ -26,7 +26,7 @@
26
  * =============================== */
27
 
28
  var Tooltip = function (element, options) {
29
- this.init('tooltip', element, options)
30
  }
31
 
32
  Tooltip.prototype = {
@@ -152,7 +152,7 @@
152
  var $tip = this.tip()
153
  , title = this.getTitle()
154
 
155
- $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
156
  $tip.removeClass('fade in top bottom left right')
157
  }
158
 
@@ -248,25 +248,25 @@
248
  /* TOOLTIP PLUGIN DEFINITION
249
  * ========================= */
250
 
251
- var old = $.fn.tooltip
252
 
253
- $.fn.tooltip = function ( option ) {
254
  return this.each(function () {
255
  var $this = $(this)
256
- , data = $this.data('tooltip')
257
  , options = typeof option == 'object' && option
258
- if (!data) $this.data('tooltip', (data = new Tooltip(this, options)))
259
  if (typeof option == 'string') data[option]()
260
  })
261
  }
262
 
263
- $.fn.tooltip.Constructor = Tooltip
264
 
265
- $.fn.tooltip.defaults = {
266
  animation: true
267
  , placement: 'top'
268
  , selector: false
269
- , template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
270
  , trigger: 'hover'
271
  , title: ''
272
  , delay: 0
@@ -277,8 +277,8 @@
277
  /* TOOLTIP NO CONFLICT
278
  * =================== */
279
 
280
- $.fn.tooltip.noConflict = function () {
281
- $.fn.tooltip = old
282
  return this
283
  }
284
 
26
  * =============================== */
27
 
28
  var Tooltip = function (element, options) {
29
+ this.init('tooltip_tip', element, options)
30
  }
31
 
32
  Tooltip.prototype = {
152
  var $tip = this.tip()
153
  , title = this.getTitle()
154
 
155
+ $tip.find('.tooltip_tip-inner')[this.options.html ? 'html' : 'text'](title)
156
  $tip.removeClass('fade in top bottom left right')
157
  }
158
 
248
  /* TOOLTIP PLUGIN DEFINITION
249
  * ========================= */
250
 
251
+ var old = $.fn.tooltip_tip
252
 
253
+ $.fn.tooltip_tip = function ( option ) {
254
  return this.each(function () {
255
  var $this = $(this)
256
+ , data = $this.data('tooltip_tip')
257
  , options = typeof option == 'object' && option
258
+ if (!data) $this.data('tooltip_tip', (data = new Tooltip(this, options)))
259
  if (typeof option == 'string') data[option]()
260
  })
261
  }
262
 
263
+ $.fn.tooltip_tip.Constructor = Tooltip
264
 
265
+ $.fn.tooltip_tip.defaults = {
266
  animation: true
267
  , placement: 'top'
268
  , selector: false
269
+ , template: '<div class="tooltip_tip"><div class="tooltip_tip-arrow"></div><div class="tooltip_tip-inner"></div></div>'
270
  , trigger: 'hover'
271
  , title: ''
272
  , delay: 0
277
  /* TOOLTIP NO CONFLICT
278
  * =================== */
279
 
280
+ $.fn.tooltip_tip.noConflict = function () {
281
+ $.fn.tooltip_tip = old
282
  return this
283
  }
284
 
contact-bank.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Bank Lite Edition
4
  Plugin URI: http://tech-banker.com
5
  Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
6
  Author: Tech Banker
7
- Version: 2.0.224
8
  Author URI: http://tech-banker.com
9
  License: GPLv3 or later
10
  */
4
  Plugin URI: http://tech-banker.com
5
  Description: Build Complex, Powerful Contact Forms in Just Seconds. No Programming Knowledge Required! Yeah, It's Really That Easy.
6
  Author: Tech Banker
7
+ Version: 2.0.226
8
  Author URI: http://tech-banker.com
9
  License: GPLv3 or later
10
  */
languages/contact_bank-pl_PL.mo CHANGED
Binary file
languages/contact_bank-pl_PL.po CHANGED
@@ -404,7 +404,7 @@ msgstr "Proszę podać poprawny adres e-mail"
404
 
405
  #: lib/install-script.php:539 lib/install-script.php:918
406
  msgid "Submit"
407
- msgstr "przedkładać"
408
 
409
  #: lib/install-script.php:626
410
  msgid "Contact Form Demo"
404
 
405
  #: lib/install-script.php:539 lib/install-script.php:918
406
  msgid "Submit"
407
+ msgstr "Wyślij"
408
 
409
  #: lib/install-script.php:626
410
  msgid "Contact Form Demo"
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: contact-banker, Gallery-Bank
3
  Tags: admin, advanced form, Attachment, best contact form plugin, buddypress, category, cnotact, conact, contact, contact button, contact form, contact form builder, Contact Form Builder with recaptcha, contact form manager, contact form plugin, contact form with google map, contact forms, contact forms plugin, contact manager, contact me, contact us, contact us form, contacts, contacts form plugin, contatc, copy, custom form, email, email form, feedback, feedback form, feedback forms, form, forms, forms plugin, insert the shortcode, multiple contact forms, post feedback, request, send, send copy, send messages, shortcode, text, web form, web-page feedback, wordpress contact form
4
  Requires at least: 3.
5
  Tested up to: 4.2.4
6
- Stable tag: 2.0.224
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -549,7 +549,16 @@ In order to set Shortcode for a Form, you need to follow these steps :
549
 
550
  == Changelog ==
551
 
552
- = 2.0.222 =
 
 
 
 
 
 
 
 
 
553
 
554
  * Compatibility with 4.2.4
555
 
3
  Tags: admin, advanced form, Attachment, best contact form plugin, buddypress, category, cnotact, conact, contact, contact button, contact form, contact form builder, Contact Form Builder with recaptcha, contact form manager, contact form plugin, contact form with google map, contact forms, contact forms plugin, contact manager, contact me, contact us, contact us form, contacts, contacts form plugin, contatc, copy, custom form, email, email form, feedback, feedback form, feedback forms, form, forms, forms plugin, insert the shortcode, multiple contact forms, post feedback, request, send, send copy, send messages, shortcode, text, web form, web-page feedback, wordpress contact form
4
  Requires at least: 3.
5
  Tested up to: 4.2.4
6
+ Stable tag: 2.0.226
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
549
 
550
  == Changelog ==
551
 
552
+ = 2.0.226 =
553
+
554
+ * Few Bugs Fixed
555
+ * Few Possible Security Issues Addressed
556
+
557
+ = 2.0.225 =
558
+
559
+ * Few Bug Fixed
560
+
561
+ = 2.0.224 =
562
 
563
  * Compatibility with 4.2.4
564
 
views/contact_bank_form_preview.php CHANGED
@@ -18,7 +18,7 @@ if (!current_user_can($cb_user_role_permission))
18
  }
19
  else
20
  {
21
- $form_id = $_REQUEST['form_id'];
22
  $control_settings_array = array();
23
  $form_settings_array = array();
24
  $layout_settings_array = array();
18
  }
19
  else
20
  {
21
+ $form_id = intval($_REQUEST["form_id"]);
22
  $control_settings_array = array();
23
  $form_settings_array = array();
24
  $layout_settings_array = array();
views/contact_bank_layout_settings.php CHANGED
@@ -1144,7 +1144,7 @@ jQuery(document).ready(function()
1144
  if(isset($_REQUEST["form_id"]))
1145
  {
1146
  ?>
1147
- var form_id = "<?php echo $_REQUEST["form_id"];?>";
1148
  <?php
1149
  }
1150
  else {
1144
  if(isset($_REQUEST["form_id"]))
1145
  {
1146
  ?>
1147
+ var form_id = "<?php echo intval($_REQUEST["form_id"]);?>";
1148
  <?php
1149
  }
1150
  else {
views/contact_email_settings.php CHANGED
@@ -53,7 +53,7 @@ else
53
  <?php
54
  for($flag=0;$flag<count($forms);$flag++)
55
  {
56
- if(isset($_REQUEST["form_id"]) && $_REQUEST["form_id"] == $forms[$flag]->form_id )
57
  {
58
  ?>
59
  <option value="<?php echo $forms[$flag]->form_id ;?>" selected="selected"><?php echo $forms[$flag]->form_name ;?></option>
@@ -112,7 +112,7 @@ else
112
  </form>
113
 
114
  <script type="text/javascript">
115
- jQuery(".hovertip").tooltip();
116
  jQuery(document).ready(function()
117
  {
118
  select_form();
@@ -130,7 +130,7 @@ function select_form()
130
  oTable.fnDestroy();
131
  jQuery("#ux_email_settings_postback").empty();
132
  jQuery("#ux_email_settings_postback").append(data);
133
- jQuery(".hovertip").tooltip();
134
  oTable.fnDraw();
135
  });
136
  }
53
  <?php
54
  for($flag=0;$flag<count($forms);$flag++)
55
  {
56
+ if(isset($_REQUEST["form_id"]) && intval($_REQUEST["form_id"]) == $forms[$flag]->form_id )
57
  {
58
  ?>
59
  <option value="<?php echo $forms[$flag]->form_id ;?>" selected="selected"><?php echo $forms[$flag]->form_name ;?></option>
112
  </form>
113
 
114
  <script type="text/javascript">
115
+
116
  jQuery(document).ready(function()
117
  {
118
  select_form();
130
  oTable.fnDestroy();
131
  jQuery("#ux_email_settings_postback").empty();
132
  jQuery("#ux_email_settings_postback").append(data);
133
+
134
  oTable.fnDraw();
135
  });
136
  }
views/contact_frontend_data.php CHANGED
@@ -56,7 +56,7 @@ else
56
  <?php
57
  for($flag=0;$flag<count($form_data);$flag++)
58
  {
59
- if(isset($_REQUEST["form_id"]) && $_REQUEST["form_id"] == $form_data[$flag]->form_id)
60
  {
61
  ?>
62
  <option value="<?php echo $form_data[$flag]->form_id ;?>" selected="selected"><?php echo $form_data[$flag]->form_name ;?></option>
56
  <?php
57
  for($flag=0;$flag<count($form_data);$flag++)
58
  {
59
+ if(isset($_REQUEST["form_id"]) && intval($_REQUEST["form_id"]) == $form_data[$flag]->form_id)
60
  {
61
  ?>
62
  <option value="<?php echo $form_data[$flag]->form_id ;?>" selected="selected"><?php echo $form_data[$flag]->form_name ;?></option>
views/dashboard.php CHANGED
@@ -155,7 +155,7 @@ else
155
  </div>
156
  </form>
157
  <script type="text/javascript">
158
- jQuery(".hovertip").tooltip();
159
  jQuery(document).ready(function()
160
  {
161
 
155
  </div>
156
  </form>
157
  <script type="text/javascript">
158
+
159
  jQuery(document).ready(function()
160
  {
161
 
views/includes_common_after.php CHANGED
@@ -114,7 +114,7 @@ function create_control(control_type,dynamicId,type)
114
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
115
  jQuery("#show_tooltip"+dynamicId).children("span").attr("id","txt_description_"+dynamicId);
116
  jQuery("#div_"+dynamicId+"_1").attr("style","display:block");
117
- jQuery(".hovertip").tooltip({placement: "left"});
118
  if(typeof type == "undefined")
119
  {
120
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_text_control&action=add_contact_form_library", function(data)
@@ -152,7 +152,7 @@ function create_control(control_type,dynamicId,type)
152
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
153
  jQuery("#show_tooltip"+dynamicId).children("span").attr("id","txt_description_"+dynamicId);
154
  jQuery("#div_"+dynamicId+"_2").attr("style","display:block");
155
- jQuery(".hovertip").tooltip({placement: "left"});
156
  if(typeof type == "undefined")
157
  {
158
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_textarea_control&action=add_contact_form_library", function(data)
@@ -189,7 +189,7 @@ function create_control(control_type,dynamicId,type)
189
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
190
  jQuery("#show_tooltip"+dynamicId).children("span").attr("id","txt_description_"+dynamicId);
191
  jQuery("#div_"+dynamicId+"_3").attr("style","display:block");
192
- jQuery(".hovertip").tooltip({placement: "left"});
193
  if(typeof type == "undefined")
194
  {
195
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_email_control&action=add_contact_form_library", function(data)
@@ -225,7 +225,7 @@ function create_control(control_type,dynamicId,type)
225
  jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",4)");
226
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
227
  jQuery("#div_"+dynamicId+"_4").attr("style","display:block");
228
- jQuery(".hovertip").tooltip({placement: "left"});
229
  if(typeof type == "undefined")
230
  {
231
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_drop_down_control&action=add_contact_form_library", function(data)
@@ -267,7 +267,7 @@ function create_control(control_type,dynamicId,type)
267
  jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",5)");
268
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
269
  jQuery("#div_"+dynamicId+"_5").attr("style","display:block");
270
- jQuery(".hovertip").tooltip({placement: "left"});
271
  if(typeof type == "undefined")
272
  {
273
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_check_box_control&action=add_contact_form_library", function(data)
@@ -310,7 +310,7 @@ function create_control(control_type,dynamicId,type)
310
  jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",6)");
311
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
312
  jQuery("#div_"+dynamicId+"_6").attr("style","display:block");
313
- jQuery(".hovertip").tooltip({placement: "left"});
314
  if(typeof type == "undefined")
315
  {
316
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_multiple_control&action=add_contact_form_library", function(data)
114
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
115
  jQuery("#show_tooltip"+dynamicId).children("span").attr("id","txt_description_"+dynamicId);
116
  jQuery("#div_"+dynamicId+"_1").attr("style","display:block");
117
+
118
  if(typeof type == "undefined")
119
  {
120
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_text_control&action=add_contact_form_library", function(data)
152
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
153
  jQuery("#show_tooltip"+dynamicId).children("span").attr("id","txt_description_"+dynamicId);
154
  jQuery("#div_"+dynamicId+"_2").attr("style","display:block");
155
+
156
  if(typeof type == "undefined")
157
  {
158
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_textarea_control&action=add_contact_form_library", function(data)
189
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
190
  jQuery("#show_tooltip"+dynamicId).children("span").attr("id","txt_description_"+dynamicId);
191
  jQuery("#div_"+dynamicId+"_3").attr("style","display:block");
192
+
193
  if(typeof type == "undefined")
194
  {
195
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_email_control&action=add_contact_form_library", function(data)
225
  jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",4)");
226
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
227
  jQuery("#div_"+dynamicId+"_4").attr("style","display:block");
228
+
229
  if(typeof type == "undefined")
230
  {
231
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_drop_down_control&action=add_contact_form_library", function(data)
267
  jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",5)");
268
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
269
  jQuery("#div_"+dynamicId+"_5").attr("style","display:block");
270
+
271
  if(typeof type == "undefined")
272
  {
273
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_check_box_control&action=add_contact_form_library", function(data)
310
  jQuery("#show_tooltip"+dynamicId).children("a.btn").attr("onclick","add_settings("+dynamicId+",6)");
311
  jQuery("#show_tooltip"+dynamicId).children("#anchor_del_").attr("id","anchor_del_"+dynamicId);
312
  jQuery("#div_"+dynamicId+"_6").attr("style","display:block");
313
+
314
  if(typeof type == "undefined")
315
  {
316
  jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add&param=save_multiple_control&action=add_contact_form_library", function(data)