Version Description
- Obsolete Code removed
- Unused Files removed
- Code Optimized
- Translation File Updated
Download this release
Release Info
Developer | contact-banker |
Plugin | Contact Bank: WordPress Form Builder for Contact Forms |
Version | 2.1.31 |
Comparing to | |
See all releases |
Code changes from version 2.1.30 to 2.1.31
- contact-bank.php +1 -1
- readme.txt +8 -1
- views/header.php +11 -43
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.
|
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.31
|
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: advanced form, best contact form plugin, contact form builder, contact manager, contact us form, custom form, feedback form, web form, contact us, contact bank, contact form, forms
|
4 |
Requires at least: 3.1
|
5 |
Tested up to: 4.7
|
6 |
-
Stable tag: 2.1.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -549,6 +549,13 @@ In order to set Shortcode for a Form, you need to follow these steps :
|
|
549 |
|
550 |
== Changelog ==
|
551 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
552 |
= 2.1.30 =
|
553 |
|
554 |
* Obsolete Code removed
|
3 |
Tags: advanced form, best contact form plugin, contact form builder, contact manager, contact us form, custom form, feedback form, web form, contact us, contact bank, contact form, forms
|
4 |
Requires at least: 3.1
|
5 |
Tested up to: 4.7
|
6 |
+
Stable tag: 2.1.31
|
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.31 =
|
553 |
+
|
554 |
+
* Obsolete Code removed
|
555 |
+
* Unused Files removed
|
556 |
+
* Code Optimized
|
557 |
+
* Translation File Updated
|
558 |
+
|
559 |
= 2.1.30 =
|
560 |
|
561 |
* Obsolete Code removed
|
views/header.php
CHANGED
@@ -18,23 +18,16 @@ if (!current_user_can($cb_user_role_permission))
|
|
18 |
}
|
19 |
else
|
20 |
{
|
21 |
-
$cb_lang = array();
|
22 |
-
$cb_lang_translated_languages = array();
|
23 |
-
array_push($cb_lang_translated_languages,"fr_BE","fr_BE","fr_CA","fr_CH","fr_FR","ru_RU","ru_UA","en_US","en_GB","es_ES","es_CL","es_PE","es_PR","es_VE","es_CO","nl_NL","nl_BE",
|
24 |
-
"hu_HU","de_DE", "pt_BR","pt_PT","he_IL", "tr_TR","it_IT", "da_DK", "pl_PL", "sv_SE", "zh_CN","zh_HK","zh_sg","zh_TW","zh","cs_CZ","sk_SK","el","hr","fi");
|
25 |
-
|
26 |
-
array_push($cb_lang, "ar", "et", "bg_BG", "id_ID", "ja", "ko_KR", "ms_MY", "ro_RO", "sl_SL", "sq", "sr_RS", "th", "et");
|
27 |
-
$cb_language = get_locale();
|
28 |
if(isset($_GET["page"]))
|
29 |
{
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
}
|
39 |
?>
|
40 |
<div id="welcome-panel" class="welcome-panel" style="padding:0px !important;background-color: #f9f9f9 !important">
|
@@ -187,36 +180,11 @@ else
|
|
187 |
</div>
|
188 |
<?php
|
189 |
}
|
190 |
-
if(in_array($cb_language, $cb_lang))
|
191 |
-
{
|
192 |
-
?>
|
193 |
-
<div class="custom-message red" style="display: block;margin-top:10px">
|
194 |
-
<span style="padding: 4px 0;">
|
195 |
-
<strong><p style="font:12px/1.0em Arial !important;">This plugin language is translated with the help of Google Translator.</p>
|
196 |
-
<p style="font:12px/1.0em Arial !important;">If you would like to translate & help us, we will reward you with a free Eco Edition License of Contact Bank.</p>
|
197 |
-
<p style="font:12px/1.0em Arial !important;">Contact Us at <a target="_blank" href="http://tech-banker.com">http://tech-banker.com</a> or email us at <a href="mailto:support@tech-banker.com">support@tech-banker.com</a></p>
|
198 |
-
</strong>
|
199 |
-
</span>
|
200 |
-
</div>
|
201 |
-
<?php
|
202 |
-
}
|
203 |
-
elseif(!(in_array($cb_language, $cb_lang_translated_languages)) && !(in_array($cb_language, $cb_lang)) && $cb_language != "")
|
204 |
-
{
|
205 |
-
?>
|
206 |
-
<div class="custom-message red" style="display: block;margin-top:10px">
|
207 |
-
<span style="padding: 4px 0;">
|
208 |
-
<strong><p style="font:12px/1.0em Arial !important;">If you would like to translate Contact Bank in your native language, we will reward you with a free Eco Edition License of Contact Bank.</p>
|
209 |
-
<p style="font:12px/1.0em Arial !important;">Contact Us at <a target="_blank" href="http://tech-banker.com">http://tech-banker.com</a> or email us at <a href="mailto:support@tech-banker.com">support@tech-banker.com</a></p>
|
210 |
-
</strong>
|
211 |
-
</span>
|
212 |
-
</div>
|
213 |
-
<?php
|
214 |
-
}
|
215 |
?>
|
216 |
<div class="custom-message red" style="display: block;margin-top:10px;">
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
</div>
|
221 |
<?php
|
222 |
}
|
18 |
}
|
19 |
else
|
20 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
if(isset($_GET["page"]))
|
22 |
{
|
23 |
+
?>
|
24 |
+
<script>
|
25 |
+
jQuery(document).ready(function()
|
26 |
+
{
|
27 |
+
jQuery(".nav-tab-wrapper > a#<?php echo esc_attr($_GET["page"]);?>").addClass("nav-tab-active");
|
28 |
+
});
|
29 |
+
</script>
|
30 |
+
<?php
|
31 |
}
|
32 |
?>
|
33 |
<div id="welcome-panel" class="welcome-panel" style="padding:0px !important;background-color: #f9f9f9 !important">
|
180 |
</div>
|
181 |
<?php
|
182 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
?>
|
184 |
<div class="custom-message red" style="display: block;margin-top:10px;">
|
185 |
+
<span>
|
186 |
+
<strong>You are only allowed to add 2 Forms. Kindly purchase Premium Editions for full access.</strong>
|
187 |
+
</span>
|
188 |
</div>
|
189 |
<?php
|
190 |
}
|