Version Description
- Few Bugs Fixed
- Few Possible Security Issues Addressed
Download this release
Release Info
Developer | contact-banker |
Plugin | 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 +12 -12
- assets/js/jquery.Tooltip.js +11 -11
- contact-bank.php +1 -1
- languages/contact_bank-pl_PL.mo +0 -0
- languages/contact_bank-pl_PL.po +1 -1
- readme.txt +11 -2
- views/contact_bank_form_preview.php +1 -1
- views/contact_bank_layout_settings.php +1 -1
- views/contact_email_settings.php +3 -3
- views/contact_frontend_data.php +1 -1
- views/dashboard.php +1 -1
- views/includes_common_after.php +6 -6
assets/css/stylesheet.css
CHANGED
@@ -2303,18 +2303,18 @@ button.close {
|
|
2303 |
/* # Tooltips & popovers
|
2304 |
================================================== */
|
2305 |
|
2306 |
-
.
|
2307 |
-
.
|
2308 |
-
.
|
2309 |
-
.
|
2310 |
-
.
|
2311 |
-
.
|
2312 |
-
.
|
2313 |
-
.
|
2314 |
-
.
|
2315 |
-
.
|
2316 |
-
.
|
2317 |
-
.
|
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('
|
30 |
}
|
31 |
|
32 |
Tooltip.prototype = {
|
@@ -152,7 +152,7 @@
|
|
152 |
var $tip = this.tip()
|
153 |
, title = this.getTitle()
|
154 |
|
155 |
-
$tip.find('.
|
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.
|
252 |
|
253 |
-
$.fn.
|
254 |
return this.each(function () {
|
255 |
var $this = $(this)
|
256 |
-
, data = $this.data('
|
257 |
, options = typeof option == 'object' && option
|
258 |
-
if (!data) $this.data('
|
259 |
if (typeof option == 'string') data[option]()
|
260 |
})
|
261 |
}
|
262 |
|
263 |
-
$.fn.
|
264 |
|
265 |
-
$.fn.
|
266 |
animation: true
|
267 |
, placement: 'top'
|
268 |
, selector: false
|
269 |
-
, template: '<div class="
|
270 |
, trigger: 'hover'
|
271 |
, title: ''
|
272 |
, delay: 0
|
@@ -277,8 +277,8 @@
|
|
277 |
/* TOOLTIP NO CONFLICT
|
278 |
* =================== */
|
279 |
|
280 |
-
$.fn.
|
281 |
-
$.fn.
|
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.
|
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 "
|
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.
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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[
|
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 |
-
|
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 |
-
|
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 |
-
|
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 |
-
|
118 |
if(typeof type == "undefined")
|
119 |
{
|
120 |
jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add¶m=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 |
-
|
156 |
if(typeof type == "undefined")
|
157 |
{
|
158 |
jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add¶m=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 |
-
|
193 |
if(typeof type == "undefined")
|
194 |
{
|
195 |
jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add¶m=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 |
-
|
229 |
if(typeof type == "undefined")
|
230 |
{
|
231 |
jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add¶m=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 |
-
|
271 |
if(typeof type == "undefined")
|
272 |
{
|
273 |
jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add¶m=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 |
-
|
314 |
if(typeof type == "undefined")
|
315 |
{
|
316 |
jQuery.post(ajaxurl,"form_id="+form_id+"&ux_hd_textbox_dynamic_id="+dynamicId+"&event=add¶m=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¶m=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¶m=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¶m=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¶m=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¶m=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¶m=save_multiple_control&action=add_contact_form_library", function(data)
|