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

Version Description

  • Cross Site Scripting Security Fix
  • Code Optimized
Download this release

Release Info

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

Code changes from version 2.1.22 to 2.1.23

Files changed (3) hide show
  1. contact-bank.php +1 -1
  2. readme.txt +6 -1
  3. views/header.php +9 -4
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.1.22
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.1.23
8
  Author URI: http://tech-banker.com
9
  License: GPLv3 or later
10
  */
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: contact-banker, Gallery-Bank
3
  Tags: admin, advanced form, best contact form plugin, contact, contact button, contact form, contact form builder, Contact Form Builder with recaptcha, contact form plugin, contact forms, contact forms plugin, contact manager, contact us, contact us form, contacts form plugin, custom form, feedback, feedback form, feedback forms, form, forms, forms plugin, post feedback, web form, wordpress contact form, web forms
4
  Requires at least: 3.1
5
  Tested up to: 4.5.3
6
- Stable tag: 2.1.22
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -549,6 +549,11 @@ In order to set Shortcode for a Form, you need to follow these steps :
549
 
550
  == Changelog ==
551
 
 
 
 
 
 
552
  = 2.1.21 =
553
 
554
  * Languages Updated
3
  Tags: admin, advanced form, best contact form plugin, contact, contact button, contact form, contact form builder, Contact Form Builder with recaptcha, contact form plugin, contact forms, contact forms plugin, contact manager, contact us, contact us form, contacts form plugin, custom form, feedback, feedback form, feedback forms, form, forms, forms plugin, post feedback, web form, wordpress contact form, web forms
4
  Requires at least: 3.1
5
  Tested up to: 4.5.3
6
+ Stable tag: 2.1.23
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
549
 
550
  == Changelog ==
551
 
552
+ = 2.1.23 =
553
+
554
+ * Cross Site Scripting Security Fix
555
+ * Code Optimized
556
+
557
  = 2.1.21 =
558
 
559
  * Languages Updated
views/header.php CHANGED
@@ -6,13 +6,18 @@ array_push($cb_lang_translated_languages,"fr_BE","fr_BE","fr_CA","fr_CH","fr_FR"
6
 
7
  array_push($cb_lang, "ar", "et", "bg_BG", "id_ID", "ja", "ko_KR", "ms_MY", "ro_RO", "sl_SL", "sq", "sr_RS", "th", "et");
8
  $cb_language = get_locale();
 
 
9
  ?>
10
  <script>
11
  jQuery(document).ready(function()
12
  {
13
- jQuery(".nav-tab-wrapper > a#<?php echo $_REQUEST["page"];?>").addClass("nav-tab-active");
14
  });
15
  </script>
 
 
 
16
  <div id="welcome-panel" class="welcome-panel" style="padding:0px !important;background-color: #f9f9f9 !important">
17
  <div class="welcome-panel-content">
18
  <img src="<?php echo plugins_url("/assets/images/contact-bank.png" , dirname(__FILE__)); ?>" />
@@ -112,7 +117,7 @@ switch ($cb_role) {
112
  case "administrator":
113
  ?>
114
  <h2 class="nav-tab-wrapper">
115
- <a class="nav-tab custom-nav-tab" id="dashboard" href="admin.php?page=contact_dashboard"><?php _e("Dashboard",contact_bank) ;?></a>
116
  <a class="nav-tab custom-nav-tab" id="contact_short_code" href="admin.php?page=contact_short_code"><?php _e("Short-Codes",contact_bank) ;?></a>
117
  <a class="nav-tab custom-nav-tab" id="contact_frontend_data" href="admin.php?page=contact_frontend_data"><?php _e("Form Entries",contact_bank) ;?></a>
118
  <a class="nav-tab custom-nav-tab" id="contact_email" href="admin.php?page=contact_email"><?php _e("Email Settings",contact_bank) ;?></a>
@@ -126,7 +131,7 @@ switch ($cb_role) {
126
  case "editor":
127
  ?>
128
  <h2 class="nav-tab-wrapper">
129
- <a class="nav-tab custom-nav-tab" id="dashboard" href="admin.php?page=contact_dashboard"><?php _e("Dashboard",contact_bank) ;?></a>
130
  <a class="nav-tab custom-nav-tab" id="contact_short_code" href="admin.php?page=contact_short_code"><?php _e("Short-Codes",contact_bank) ;?></a>
131
  <a class="nav-tab custom-nav-tab" id="contact_frontend_data" href="admin.php?page=contact_frontend_data"><?php _e("Form Entries",contact_bank) ;?></a>
132
  <a class="nav-tab custom-nav-tab" id="contact_email" href="admin.php?page=contact_email"><?php _e("Email Settings",contact_bank) ;?></a>
@@ -140,7 +145,7 @@ switch ($cb_role) {
140
  case "author":
141
  ?>
142
  <h2 class="nav-tab-wrapper">
143
- <a class="nav-tab custom-nav-tab" id="dashboard" href="admin.php?page=contact_dashboard"><?php _e("Dashboard",contact_bank) ;?></a>
144
  <a class="nav-tab custom-nav-tab" id="contact_short_code" href="admin.php?page=contact_short_code"><?php _e("Short-Codes",contact_bank) ;?></a>
145
  <a class="nav-tab custom-nav-tab" id="contact_frontend_data" href="admin.php?page=contact_frontend_data"><?php _e("Form Entries",contact_bank) ;?></a>
146
  <a class="nav-tab custom-nav-tab" id="contact_email" href="admin.php?page=contact_email"><?php _e("Email Settings",contact_bank) ;?></a>
6
 
7
  array_push($cb_lang, "ar", "et", "bg_BG", "id_ID", "ja", "ko_KR", "ms_MY", "ro_RO", "sl_SL", "sq", "sr_RS", "th", "et");
8
  $cb_language = get_locale();
9
+ if(isset($_GET["page"]))
10
+ {
11
  ?>
12
  <script>
13
  jQuery(document).ready(function()
14
  {
15
+ jQuery(".nav-tab-wrapper > a#<?php echo esc_attr($_GET["page"]);?>").addClass("nav-tab-active");
16
  });
17
  </script>
18
+ <?php
19
+ }
20
+ ?>
21
  <div id="welcome-panel" class="welcome-panel" style="padding:0px !important;background-color: #f9f9f9 !important">
22
  <div class="welcome-panel-content">
23
  <img src="<?php echo plugins_url("/assets/images/contact-bank.png" , dirname(__FILE__)); ?>" />
117
  case "administrator":
118
  ?>
119
  <h2 class="nav-tab-wrapper">
120
+ <a class="nav-tab custom-nav-tab" id="contact_dashboard" href="admin.php?page=contact_dashboard"><?php _e("Dashboard",contact_bank) ;?></a>
121
  <a class="nav-tab custom-nav-tab" id="contact_short_code" href="admin.php?page=contact_short_code"><?php _e("Short-Codes",contact_bank) ;?></a>
122
  <a class="nav-tab custom-nav-tab" id="contact_frontend_data" href="admin.php?page=contact_frontend_data"><?php _e("Form Entries",contact_bank) ;?></a>
123
  <a class="nav-tab custom-nav-tab" id="contact_email" href="admin.php?page=contact_email"><?php _e("Email Settings",contact_bank) ;?></a>
131
  case "editor":
132
  ?>
133
  <h2 class="nav-tab-wrapper">
134
+ <a class="nav-tab custom-nav-tab" id="contact_dashboard" href="admin.php?page=contact_dashboard"><?php _e("Dashboard",contact_bank) ;?></a>
135
  <a class="nav-tab custom-nav-tab" id="contact_short_code" href="admin.php?page=contact_short_code"><?php _e("Short-Codes",contact_bank) ;?></a>
136
  <a class="nav-tab custom-nav-tab" id="contact_frontend_data" href="admin.php?page=contact_frontend_data"><?php _e("Form Entries",contact_bank) ;?></a>
137
  <a class="nav-tab custom-nav-tab" id="contact_email" href="admin.php?page=contact_email"><?php _e("Email Settings",contact_bank) ;?></a>
145
  case "author":
146
  ?>
147
  <h2 class="nav-tab-wrapper">
148
+ <a class="nav-tab custom-nav-tab" id="contact_dashboard" href="admin.php?page=contact_dashboard"><?php _e("Dashboard",contact_bank) ;?></a>
149
  <a class="nav-tab custom-nav-tab" id="contact_short_code" href="admin.php?page=contact_short_code"><?php _e("Short-Codes",contact_bank) ;?></a>
150
  <a class="nav-tab custom-nav-tab" id="contact_frontend_data" href="admin.php?page=contact_frontend_data"><?php _e("Form Entries",contact_bank) ;?></a>
151
  <a class="nav-tab custom-nav-tab" id="contact_email" href="admin.php?page=contact_email"><?php _e("Email Settings",contact_bank) ;?></a>