Version Description
- Few Bugs Fixed
- Updated Languages
Download this release
Release Info
Developer | contact-banker |
Plugin | Contact Bank: WordPress Form Builder for Contact Forms |
Version | 2.0.2 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.2
- contact-bank.php +21 -5
- includes/cb_checkbox.php +1 -1
- includes/cb_dropdown.php +1 -1
- includes/cb_email.php +1 -1
- includes/cb_multiple.php +1 -1
- includes/cb_text.php +2 -2
- includes/cb_textarea.php +2 -2
- lib/install-script.php +69 -0
- readme.txt +7 -2
- views/contact-bank-system-report.php +0 -8
- views/contact_bank_layout_settings.php +7 -7
- views/contact_bank_pro_version.php +1 -1
- views/contact_frontend_data.php +1 -1
- views/dashboard.php +1 -1
- views/header.php +2 -2
- views/includes_common_after.php +9 -9
contact-bank.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Bank Standard 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 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
@@ -58,9 +58,9 @@ function create_global_menus_for_contact_bank()
|
|
58 |
add_submenu_page("dashboard", "Form Entries", __("Form Entries", contact_bank), "read", "frontend_data","frontend_data");
|
59 |
add_submenu_page("dashboard", "Email Settings", __("Email Settings", contact_bank), "read", "contact_email", "contact_email");
|
60 |
add_submenu_page("dashboard", "Global Settings", __("Global Settings", contact_bank), "read", "layout_settings", "layout_settings");
|
61 |
-
|
62 |
//add_submenu_page("dashboard", "Documentation", __("Documentation", contact_bank), "read", "documentation", "documentation" );
|
63 |
-
add_submenu_page("dashboard", "Purchase PRO
|
64 |
add_submenu_page("","","", "read", "add_contact_email_settings", "add_contact_email_settings" );
|
65 |
add_submenu_page("","","", "read", "form_preview", "form_preview" );
|
66 |
}
|
@@ -283,6 +283,16 @@ function contact_bank_layout_settings_Table()
|
|
283 |
global $wpdb;
|
284 |
return $wpdb->prefix . "cb_layout_settings_table";
|
285 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
function contact_bank_short_code($atts)
|
287 |
{
|
288 |
extract(shortcode_atts(array(
|
@@ -315,6 +325,12 @@ function add_contact_bank_icon($meta = TRUE)
|
|
315 |
"href" => site_url() ."/wp-admin/admin.php?page=dashboard",
|
316 |
"title" => __( "Dashboard", contact_bank) ) /* set the sub-menu name */
|
317 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
$wp_admin_bar->add_menu( array(
|
319 |
"parent" => "contact_bank_links",
|
320 |
"id" => "frontend_data_links",
|
@@ -349,9 +365,9 @@ function add_contact_bank_icon($meta = TRUE)
|
|
349 |
// );
|
350 |
$wp_admin_bar->add_menu( array(
|
351 |
"parent" => "contact_bank_links",
|
352 |
-
"id" => "
|
353 |
"href" => site_url() ."/wp-admin/admin.php?page=pro_version",
|
354 |
-
"title" => __( "Purchase PRO
|
355 |
);
|
356 |
|
357 |
}
|
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.2
|
8 |
Author URI: http://tech-banker.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
58 |
add_submenu_page("dashboard", "Form Entries", __("Form Entries", contact_bank), "read", "frontend_data","frontend_data");
|
59 |
add_submenu_page("dashboard", "Email Settings", __("Email Settings", contact_bank), "read", "contact_email", "contact_email");
|
60 |
add_submenu_page("dashboard", "Global Settings", __("Global Settings", contact_bank), "read", "layout_settings", "layout_settings");
|
61 |
+
add_submenu_page("dashboard", "System Status", __("System Status", contact_bank), "read", "system_status", "system_status" );
|
62 |
//add_submenu_page("dashboard", "Documentation", __("Documentation", contact_bank), "read", "documentation", "documentation" );
|
63 |
+
add_submenu_page("dashboard", "Purchase PRO Edition", __("Purchase PRO Edition", contact_bank), "read", "pro_version", "pro_version" );
|
64 |
add_submenu_page("","","", "read", "add_contact_email_settings", "add_contact_email_settings" );
|
65 |
add_submenu_page("","","", "read", "form_preview", "form_preview" );
|
66 |
}
|
283 |
global $wpdb;
|
284 |
return $wpdb->prefix . "cb_layout_settings_table";
|
285 |
}
|
286 |
+
function contact_bank_licensing()
|
287 |
+
{
|
288 |
+
global $wpdb;
|
289 |
+
return $wpdb->prefix . "cb_licensing";
|
290 |
+
}
|
291 |
+
function contact_bank_roles_capability()
|
292 |
+
{
|
293 |
+
global $wpdb;
|
294 |
+
return $wpdb->prefix . "cb_roles_capability";
|
295 |
+
}
|
296 |
function contact_bank_short_code($atts)
|
297 |
{
|
298 |
extract(shortcode_atts(array(
|
325 |
"href" => site_url() ."/wp-admin/admin.php?page=dashboard",
|
326 |
"title" => __( "Dashboard", contact_bank) ) /* set the sub-menu name */
|
327 |
);
|
328 |
+
$wp_admin_bar->add_menu( array(
|
329 |
+
"parent" => "contact_bank_links",
|
330 |
+
"id" => "short_code_links",
|
331 |
+
"href" => site_url() ."/wp-admin/admin.php?page=short_code",
|
332 |
+
"title" => __( "Short-Codes", contact_bank)) /* set the sub-menu name */
|
333 |
+
);
|
334 |
$wp_admin_bar->add_menu( array(
|
335 |
"parent" => "contact_bank_links",
|
336 |
"id" => "frontend_data_links",
|
365 |
// );
|
366 |
$wp_admin_bar->add_menu( array(
|
367 |
"parent" => "contact_bank_links",
|
368 |
+
"id" => "pro_version_data_links",
|
369 |
"href" => site_url() ."/wp-admin/admin.php?page=pro_version",
|
370 |
+
"title" => __( "Purchase PRO Edition", contact_bank)) /* set the sub-menu name */
|
371 |
);
|
372 |
|
373 |
}
|
includes/cb_checkbox.php
CHANGED
@@ -94,7 +94,7 @@ if(count($control_id) != 0)
|
|
94 |
<div class="layout-control-group">
|
95 |
<label class="layout-control-label"><?php _e("Tooltip Text", contact_bank); ?> :</label>
|
96 |
<div class="layout-controls">
|
97 |
-
<input type="text" class="layout-span12" readonly="readonly" id="ux_tooltip_control_<?php echo $dynamicId; ?>" placeholder="<?php _e( "This Feature is only available in Paid Premium
|
98 |
</div>
|
99 |
</div>
|
100 |
<div class="layout-control-group">
|
94 |
<div class="layout-control-group">
|
95 |
<label class="layout-control-label"><?php _e("Tooltip Text", contact_bank); ?> :</label>
|
96 |
<div class="layout-controls">
|
97 |
+
<input type="text" class="layout-span12" readonly="readonly" id="ux_tooltip_control_<?php echo $dynamicId; ?>" placeholder="<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>" name="ux_tooltip_control_<?php echo $dynamicId; ?>" value="<?php echo isset($form_settings[$dynamicId]["cb_tooltip_txt"]) ? $form_settings[$dynamicId]["cb_tooltip_txt"] : ""; ?>"/>
|
98 |
</div>
|
99 |
</div>
|
100 |
<div class="layout-control-group">
|
includes/cb_dropdown.php
CHANGED
@@ -94,7 +94,7 @@
|
|
94 |
<div class="layout-control-group">
|
95 |
<label class="layout-control-label"><?php _e("Tooltip Text", contact_bank); ?> : </label>
|
96 |
<div class="layout-controls">
|
97 |
-
<input type="text" class="layout-span12" id="ux_tooltip_control_<?php echo $dynamicId; ?>" readonly="readonly" placeholder="<?php _e( "This Feature is only available in Paid Premium
|
98 |
</div>
|
99 |
</div>
|
100 |
<div class="layout-control-group">
|
94 |
<div class="layout-control-group">
|
95 |
<label class="layout-control-label"><?php _e("Tooltip Text", contact_bank); ?> : </label>
|
96 |
<div class="layout-controls">
|
97 |
+
<input type="text" class="layout-span12" id="ux_tooltip_control_<?php echo $dynamicId; ?>" readonly="readonly" placeholder="<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>" name="ux_tooltip_control_<?php echo $dynamicId; ?>" value="<?php echo isset($form_settings[$dynamicId]["cb_tooltip_txt"]) ? $form_settings[$dynamicId]["cb_tooltip_txt"] : ""; ?>"/>
|
98 |
</div>
|
99 |
</div>
|
100 |
<div class="layout-control-group">
|
includes/cb_email.php
CHANGED
@@ -112,7 +112,7 @@
|
|
112 |
<label class="layout-control-label"><?php _e("Tooltip Text", contact_bank); ?> : </label>
|
113 |
<div class="layout-controls">
|
114 |
<input type="text" class="layout-span12" id="ux_tooltip_control_<?php echo $dynamicId; ?>"
|
115 |
-
placeholder="<?php _e( "This Feature is only available in Paid Premium
|
116 |
name="ux_tooltip_control_<?php echo $dynamicId; ?>" readonly="readonly"
|
117 |
value="<?php echo isset($form_settings[$dynamicId]["cb_tooltip_txt"]) ? $form_settings[$dynamicId]["cb_tooltip_txt"] : ""; ?>" />
|
118 |
</div>
|
112 |
<label class="layout-control-label"><?php _e("Tooltip Text", contact_bank); ?> : </label>
|
113 |
<div class="layout-controls">
|
114 |
<input type="text" class="layout-span12" id="ux_tooltip_control_<?php echo $dynamicId; ?>"
|
115 |
+
placeholder="<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>"
|
116 |
name="ux_tooltip_control_<?php echo $dynamicId; ?>" readonly="readonly"
|
117 |
value="<?php echo isset($form_settings[$dynamicId]["cb_tooltip_txt"]) ? $form_settings[$dynamicId]["cb_tooltip_txt"] : ""; ?>" />
|
118 |
</div>
|
includes/cb_multiple.php
CHANGED
@@ -105,7 +105,7 @@
|
|
105 |
<div class="layout-controls">
|
106 |
<input type="text" class="layout-span12" id="ux_tooltip_control_<?php echo $dynamicId; ?>"
|
107 |
name="ux_tooltip_control_<?php echo $dynamicId; ?>" readonly="readonly"
|
108 |
-
placeholder="<?php _e( "This Feature is only available in Paid Premium
|
109 |
value="<?php echo isset($form_settings[$dynamicId]["cb_tooltip_txt"]) ? $form_settings[$dynamicId]["cb_tooltip_txt"] : ""; ?>"/>
|
110 |
</div>
|
111 |
</div>
|
105 |
<div class="layout-controls">
|
106 |
<input type="text" class="layout-span12" id="ux_tooltip_control_<?php echo $dynamicId; ?>"
|
107 |
name="ux_tooltip_control_<?php echo $dynamicId; ?>" readonly="readonly"
|
108 |
+
placeholder="<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>"
|
109 |
value="<?php echo isset($form_settings[$dynamicId]["cb_tooltip_txt"]) ? $form_settings[$dynamicId]["cb_tooltip_txt"] : ""; ?>"/>
|
110 |
</div>
|
111 |
</div>
|
includes/cb_text.php
CHANGED
@@ -111,7 +111,7 @@
|
|
111 |
<label class="layout-control-label"><?php _e( "Tooltip Text", contact_bank ); ?> :</label>
|
112 |
<div class="layout-controls">
|
113 |
<input type="text" class="layout-span12" id="ux_tooltip_control_<?php echo $dynamicId; ?>"
|
114 |
-
placeholder="<?php _e( "This Feature is only available in Paid Premium
|
115 |
name="ux_tooltip_control_<?php echo $dynamicId; ?>" readonly="readonly"
|
116 |
/>
|
117 |
</div>
|
@@ -188,7 +188,7 @@
|
|
188 |
name="ux_checkbox_trim_filter" value="0" />
|
189 |
<span class="rdl"><?php _e( "Trim", contact_bank ); ?></span>
|
190 |
<br>
|
191 |
-
<i class="widget_premium_feature_contact"><?php _e(" (Available in Premium
|
192 |
</div>
|
193 |
|
194 |
|
111 |
<label class="layout-control-label"><?php _e( "Tooltip Text", contact_bank ); ?> :</label>
|
112 |
<div class="layout-controls">
|
113 |
<input type="text" class="layout-span12" id="ux_tooltip_control_<?php echo $dynamicId; ?>"
|
114 |
+
placeholder="<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>"
|
115 |
name="ux_tooltip_control_<?php echo $dynamicId; ?>" readonly="readonly"
|
116 |
/>
|
117 |
</div>
|
188 |
name="ux_checkbox_trim_filter" value="0" />
|
189 |
<span class="rdl"><?php _e( "Trim", contact_bank ); ?></span>
|
190 |
<br>
|
191 |
+
<i class="widget_premium_feature_contact"><?php _e(" (Available in Premium Edition)", contact_bank); ?></i>
|
192 |
</div>
|
193 |
|
194 |
|
includes/cb_textarea.php
CHANGED
@@ -110,7 +110,7 @@ if(count($control_id) != 0)
|
|
110 |
<div class="layout-control-group">
|
111 |
<label class="layout-control-label"><?php _e("Tooltip text", contact_bank); ?> :</label>
|
112 |
<div class="layout-controls">
|
113 |
-
<input placeholder="<?php _e( "This Feature is only available in Paid Premium
|
114 |
class="layout-span12" id="ux_tooltip_control_<?php echo $dynamicId; ?>"
|
115 |
name="ux_tooltip_control_<?php echo $dynamicId; ?>" readonly="readonly"
|
116 |
/>
|
@@ -185,7 +185,7 @@ if(count($control_id) != 0)
|
|
185 |
name="ux_checkbox_trim_filter" value="0" />
|
186 |
<span class="rdl"><?php _e( "Trim", contact_bank ); ?></span>
|
187 |
<br>
|
188 |
-
<i class="widget_premium_feature_contact"><?php _e(" (Available in Premium
|
189 |
</div>
|
190 |
|
191 |
</div>
|
110 |
<div class="layout-control-group">
|
111 |
<label class="layout-control-label"><?php _e("Tooltip text", contact_bank); ?> :</label>
|
112 |
<div class="layout-controls">
|
113 |
+
<input placeholder="<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank);?>" type="text"
|
114 |
class="layout-span12" id="ux_tooltip_control_<?php echo $dynamicId; ?>"
|
115 |
name="ux_tooltip_control_<?php echo $dynamicId; ?>" readonly="readonly"
|
116 |
/>
|
185 |
name="ux_checkbox_trim_filter" value="0" />
|
186 |
<span class="rdl"><?php _e( "Trim", contact_bank ); ?></span>
|
187 |
<br>
|
188 |
+
<i class="widget_premium_feature_contact"><?php _e(" (Available in Premium Edition)", contact_bank); ?></i>
|
189 |
</div>
|
190 |
|
191 |
</div>
|
lib/install-script.php
CHANGED
@@ -444,6 +444,41 @@ if($version != "2.0")
|
|
444 |
)
|
445 |
);
|
446 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
447 |
}
|
448 |
update_option("contact-bank-version-number","2.0");
|
449 |
}
|
@@ -545,5 +580,39 @@ function create_contact_bank_form_settings()
|
|
545 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_general_ci';
|
546 |
dbDelta($sql);
|
547 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
548 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
549 |
?>
|
444 |
)
|
445 |
);
|
446 |
}
|
447 |
+
}
|
448 |
+
if (count($wpdb->get_var("SHOW TABLES LIKE '" . contact_bank_licensing() . "'")) == 0)
|
449 |
+
{
|
450 |
+
create_table_licensing();
|
451 |
+
}
|
452 |
+
if (count($wpdb->get_var("SHOW TABLES LIKE '" . contact_bank_roles_capability() . "'")) == 0)
|
453 |
+
{
|
454 |
+
create_table_roles_capability();
|
455 |
+
$settings_roles = array();
|
456 |
+
$settings_roles["admin_full_control"] = "1";
|
457 |
+
$settings_roles["admin_read_control"] = "0";
|
458 |
+
$settings_roles["admin_write_control"] = "0";
|
459 |
+
$settings_roles["editor_full_control"] = "0";
|
460 |
+
$settings_roles["editor_read_control"] = "1";
|
461 |
+
$settings_roles["editor_write_control"] = "0";
|
462 |
+
$settings_roles["author_full_control"] = "0";
|
463 |
+
$settings_roles["author_read_control"] = "1";
|
464 |
+
$settings_roles["author_write_control"] = "0";
|
465 |
+
$settings_roles["contributor_full_control"] = "0";
|
466 |
+
$settings_roles["contributor_read_control"] = "1";
|
467 |
+
$settings_roles["contributor_write_control"] = "0";
|
468 |
+
$settings_roles["subscriber_full_control"] = "0";
|
469 |
+
$settings_roles["subscriber_read_control"] = "1";
|
470 |
+
$settings_roles["subscriber_write_control"] = "0";
|
471 |
+
foreach($settings_roles as $key => $value)
|
472 |
+
{
|
473 |
+
$sql1[] = '("'.mysql_real_escape_string($key).'", "'.mysql_real_escape_string($value).'")';
|
474 |
+
}
|
475 |
+
$wpdb->query
|
476 |
+
(
|
477 |
+
$wpdb->prepare
|
478 |
+
(
|
479 |
+
"INSERT INTO " . contact_bank_roles_capability() . "(roles_capability_key,roles_capability_value) VALUES ".implode(',', $sql1),""
|
480 |
+
)
|
481 |
+
);
|
482 |
}
|
483 |
update_option("contact-bank-version-number","2.0");
|
484 |
}
|
580 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_general_ci';
|
581 |
dbDelta($sql);
|
582 |
}
|
583 |
+
function create_table_licensing()
|
584 |
+
{
|
585 |
+
global $wpdb;
|
586 |
+
$sql = "CREATE TABLE " . contact_bank_licensing() . "(
|
587 |
+
licensing_id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
588 |
+
version VARCHAR(10) NOT NULL,
|
589 |
+
type VARCHAR(100) NOT NULL,
|
590 |
+
url TEXT NOT NULL,
|
591 |
+
api_key TEXT NOT NULL,
|
592 |
+
order_id VARCHAR(100) NOT NULL,
|
593 |
+
PRIMARY KEY (licensing_id)
|
594 |
+
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_general_ci";
|
595 |
+
dbDelta($sql);
|
596 |
|
597 |
+
$wpdb->query
|
598 |
+
(
|
599 |
+
$wpdb->prepare
|
600 |
+
(
|
601 |
+
"INSERT INTO " . contact_bank_licensing() . "(version, type, url) VALUES(%s, %s, %s)",
|
602 |
+
"2.1.0",
|
603 |
+
"Contact Bank Eco Edition",
|
604 |
+
"" . site_url() . ""
|
605 |
+
)
|
606 |
+
);
|
607 |
+
}
|
608 |
+
function create_table_roles_capability()
|
609 |
+
{
|
610 |
+
$sql = 'CREATE TABLE ' . contact_bank_roles_capability() . '(
|
611 |
+
id INTEGER(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
612 |
+
roles_capability_key VARCHAR(200) NOT NULL,
|
613 |
+
roles_capability_value VARCHAR(200) NOT NULL,
|
614 |
+
PRIMARY KEY (id)
|
615 |
+
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE utf8_general_ci';
|
616 |
+
dbDelta($sql);
|
617 |
+
}
|
618 |
?>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: contact-banker, Gallery-Bank
|
|
3 |
Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact bank, contact form, contact form 7, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, rss, seo, shortcode, sidebar, stats, text, web form, widget, wordpress
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 3.8.1
|
6 |
-
Stable tag: 2.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -19,7 +19,7 @@ It provides a powerful engine for uploading and managing dynamic forms with more
|
|
19 |
|
20 |
***The Contact Bank WordPress Plugin is now proudly maintained by <a href="http://www.tech-banker.com">Tech Banker Pte Ltd.</a> since March 2014.***
|
21 |
|
22 |
-
***March 12, 2014: We're happy to announce that Contact Bank reached 13,
|
23 |
|
24 |
<a href="http://tech-banker.com/forum/contact-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
|
25 |
|
@@ -130,6 +130,11 @@ Visit [here](http://tech-banker.com/contact-bank) to upgrade to Pro Version now.
|
|
130 |
|
131 |
== Changelog ==
|
132 |
|
|
|
|
|
|
|
|
|
|
|
133 |
= 2.0.1 =
|
134 |
|
135 |
* Few Bugs Fixed
|
3 |
Tags: admin, advanced form, AJAX, best contact form plugin, buddypress, category, comment, comments, contact, contact bank, contact form, contact form 7, contact form builder, contact form plugin, contact forms, contact me, contact us, contacts, content, easy contact form, easy contact plugin, email, Facebook, feed, feedback, feedback form, form, form builder, forms, gallery, google, image, images, javascript, jquery, link, links, login, media, page, pages, plugin, Post, posts, request, rss, seo, shortcode, sidebar, stats, text, web form, widget, wordpress
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 3.8.1
|
6 |
+
Stable tag: 2.0.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
19 |
|
20 |
***The Contact Bank WordPress Plugin is now proudly maintained by <a href="http://www.tech-banker.com">Tech Banker Pte Ltd.</a> since March 2014.***
|
21 |
|
22 |
+
***March 12, 2014: We're happy to announce that Contact Bank reached 13,150+ plugin downloads in only 5 months. We frequently receive positive feedback from people using our Contact Bank Plugin for WordPress. Thanks so much for your support!***
|
23 |
|
24 |
<a href="http://tech-banker.com/forum/contact-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
|
25 |
|
130 |
|
131 |
== Changelog ==
|
132 |
|
133 |
+
= 2.0.2 =
|
134 |
+
|
135 |
+
* Few Bugs Fixed
|
136 |
+
* Updated Languages
|
137 |
+
|
138 |
= 2.0.1 =
|
139 |
|
140 |
* Few Bugs Fixed
|
views/contact-bank-system-report.php
CHANGED
@@ -4,14 +4,6 @@ global $wp_version;
|
|
4 |
<form id="system_settings" class="layout-form" method="post">
|
5 |
<div class="fluid-layout">
|
6 |
<div class="layout-span12">
|
7 |
-
<ul class="breadcrumb">
|
8 |
-
<li>
|
9 |
-
<i class="icon-home"></i>
|
10 |
-
<a href="admin.php?page=contact_bank"><?php _e("Contact Bank", contact_bank); ?></a>
|
11 |
-
<span class="divider">/</span>
|
12 |
-
<a href="#"><?php _e("System Status", contact_bank); ?></a>
|
13 |
-
</li>
|
14 |
-
</ul>
|
15 |
<div class="widget-layout">
|
16 |
<div class="widget-layout-title">
|
17 |
<h4><?php _e("System Status", contact_bank); ?></h4>
|
4 |
<form id="system_settings" class="layout-form" method="post">
|
5 |
<div class="fluid-layout">
|
6 |
<div class="layout-span12">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
<div class="widget-layout">
|
8 |
<div class="widget-layout-title">
|
9 |
<h4><?php _e("System Status", contact_bank); ?></h4>
|
views/contact_bank_layout_settings.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<div class="widget-layout">
|
5 |
<div class="widget-layout-title">
|
6 |
<h4><?php _e( "Global Settings", contact_bank ); ?>
|
7 |
-
<i class="widget_premium_feature_contact"><?php _e(" (Premium Feature available in Paid
|
8 |
|
9 |
</div>
|
10 |
<div class="widget-layout-body">
|
@@ -58,7 +58,7 @@
|
|
58 |
<div class="widget-layout">
|
59 |
<div class="widget-layout-title">
|
60 |
<h4><?php _e( "Label Settings", contact_bank ); ?>
|
61 |
-
<i class="widget_premium_feature_contact"><?php _e(" (Available in Premium
|
62 |
</h4>
|
63 |
<span class="tools">
|
64 |
<a data-target="#label_settings" data-toggle="collapse">
|
@@ -246,7 +246,7 @@
|
|
246 |
</div>
|
247 |
<div class="widget-layout">
|
248 |
<div class="widget-layout-title">
|
249 |
-
<h4><?php _e( "Input Field Settings", contact_bank ); ?><i class="widget_premium_feature_contact"><?php _e(" (Available in Premium
|
250 |
<span class="tools">
|
251 |
<a data-target="#input_settings" data-toggle="collapse">
|
252 |
<i class="icon-chevron-down"></i>
|
@@ -456,7 +456,7 @@
|
|
456 |
<div class="layout-span6">
|
457 |
<div class="widget-layout">
|
458 |
<div class="widget-layout-title">
|
459 |
-
<h4><?php _e( "Submit Button Settings", contact_bank ); ?><i class="widget_premium_feature_contact"><?php _e(" (Available in Premium
|
460 |
<span class="tools">
|
461 |
<a data-target="#submit_settings" data-toggle="collapse">
|
462 |
<i class="icon-chevron-down"></i>
|
@@ -649,7 +649,7 @@
|
|
649 |
</div>
|
650 |
<div class="widget-layout">
|
651 |
<div class="widget-layout-title">
|
652 |
-
<h4><?php _e( "Success Message Settings", contact_bank ); ?><i class="widget_premium_feature_contact"><?php _e(" (Available in Premium
|
653 |
<span class="tools">
|
654 |
<a data-target="#success_settings" data-toggle="collapse">
|
655 |
<i class="icon-chevron-down"></i>
|
@@ -777,7 +777,7 @@
|
|
777 |
</div>
|
778 |
<div class="widget-layout">
|
779 |
<div class="widget-layout-title">
|
780 |
-
<h4><?php _e( "Error Message Settings", contact_bank ); ?><i class="widget_premium_feature_contact"><?php _e(" (Available in Premium
|
781 |
<span class="tools">
|
782 |
<a data-target="#error_settings" data-toggle="collapse">
|
783 |
<i class="icon-chevron-down"></i>
|
@@ -918,7 +918,7 @@
|
|
918 |
|
919 |
function ux_button_pro_version()
|
920 |
{
|
921 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
922 |
}
|
923 |
function ux_clr_font_color_label_setting()
|
924 |
{
|
4 |
<div class="widget-layout">
|
5 |
<div class="widget-layout-title">
|
6 |
<h4><?php _e( "Global Settings", contact_bank ); ?>
|
7 |
+
<i class="widget_premium_feature_contact"><?php _e(" (Premium Feature available in Paid Edition)", contact_bank); ?></i></h4>
|
8 |
|
9 |
</div>
|
10 |
<div class="widget-layout-body">
|
58 |
<div class="widget-layout">
|
59 |
<div class="widget-layout-title">
|
60 |
<h4><?php _e( "Label Settings", contact_bank ); ?>
|
61 |
+
<i class="widget_premium_feature_contact"><?php _e(" (Available in Premium Edition)", contact_bank); ?></i>
|
62 |
</h4>
|
63 |
<span class="tools">
|
64 |
<a data-target="#label_settings" data-toggle="collapse">
|
246 |
</div>
|
247 |
<div class="widget-layout">
|
248 |
<div class="widget-layout-title">
|
249 |
+
<h4><?php _e( "Input Field Settings", contact_bank ); ?><i class="widget_premium_feature_contact"><?php _e(" (Available in Premium Edition)", contact_bank); ?></i></h4>
|
250 |
<span class="tools">
|
251 |
<a data-target="#input_settings" data-toggle="collapse">
|
252 |
<i class="icon-chevron-down"></i>
|
456 |
<div class="layout-span6">
|
457 |
<div class="widget-layout">
|
458 |
<div class="widget-layout-title">
|
459 |
+
<h4><?php _e( "Submit Button Settings", contact_bank ); ?><i class="widget_premium_feature_contact"><?php _e(" (Available in Premium Edition)", contact_bank); ?></i></h4>
|
460 |
<span class="tools">
|
461 |
<a data-target="#submit_settings" data-toggle="collapse">
|
462 |
<i class="icon-chevron-down"></i>
|
649 |
</div>
|
650 |
<div class="widget-layout">
|
651 |
<div class="widget-layout-title">
|
652 |
+
<h4><?php _e( "Success Message Settings", contact_bank ); ?><i class="widget_premium_feature_contact"><?php _e(" (Available in Premium Edition)", contact_bank); ?></i></h4>
|
653 |
<span class="tools">
|
654 |
<a data-target="#success_settings" data-toggle="collapse">
|
655 |
<i class="icon-chevron-down"></i>
|
777 |
</div>
|
778 |
<div class="widget-layout">
|
779 |
<div class="widget-layout-title">
|
780 |
+
<h4><?php _e( "Error Message Settings", contact_bank ); ?><i class="widget_premium_feature_contact"><?php _e(" (Available in Premium Edition)", contact_bank); ?></i></h4>
|
781 |
<span class="tools">
|
782 |
<a data-target="#error_settings" data-toggle="collapse">
|
783 |
<i class="icon-chevron-down"></i>
|
918 |
|
919 |
function ux_button_pro_version()
|
920 |
{
|
921 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
922 |
}
|
923 |
function ux_clr_font_color_label_setting()
|
924 |
{
|
views/contact_bank_pro_version.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<div class="widget-layout">
|
4 |
<div class="widget-layout-title">
|
5 |
<h4>
|
6 |
-
<?php _e("Purchase PRO
|
7 |
</h4>
|
8 |
</div>
|
9 |
<div class="widget-layout-body" style="margin-top: 15px;">
|
3 |
<div class="widget-layout">
|
4 |
<div class="widget-layout-title">
|
5 |
<h4>
|
6 |
+
<?php _e("Purchase PRO Edition - Contact Bank", contact_bank); ?>
|
7 |
</h4>
|
8 |
</div>
|
9 |
<div class="widget-layout-body" style="margin-top: 15px;">
|
views/contact_frontend_data.php
CHANGED
@@ -92,6 +92,6 @@ function select_form_id()
|
|
92 |
}
|
93 |
function delete_form_entry()
|
94 |
{
|
95 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
96 |
}
|
97 |
</script>
|
92 |
}
|
93 |
function delete_form_entry()
|
94 |
{
|
95 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
96 |
}
|
97 |
</script>
|
views/dashboard.php
CHANGED
@@ -213,6 +213,6 @@ $last_form_id = $wpdb->get_var
|
|
213 |
}
|
214 |
}
|
215 |
function restore_factory_settings() {
|
216 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
217 |
}
|
218 |
</script>
|
213 |
}
|
214 |
}
|
215 |
function restore_factory_settings() {
|
216 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
217 |
}
|
218 |
</script>
|
views/header.php
CHANGED
@@ -16,7 +16,7 @@ if(in_array($cb_language, $cb_lang))
|
|
16 |
<div class="message red" style="display: block;margin-top:10px">
|
17 |
<span style="padding: 4px 0;">
|
18 |
<strong><p style="font:12px/1.0em Arial !important;">This plugin language is translated with the help of Google Translator.</p>
|
19 |
-
<p style="font:12px/1.0em Arial !important;">If you would like to translate & help us, we will reward you with a free Pro
|
20 |
<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>
|
21 |
</strong>
|
22 |
</span>
|
@@ -26,6 +26,6 @@ if(in_array($cb_language, $cb_lang))
|
|
26 |
?>
|
27 |
<div class="message red" style="display: block;margin-top:10px">
|
28 |
<span>
|
29 |
-
<strong>You will be only allowed to add 1 Form. Kindly purchase Premium
|
30 |
</span>
|
31 |
</div>
|
16 |
<div class="message red" style="display: block;margin-top:10px">
|
17 |
<span style="padding: 4px 0;">
|
18 |
<strong><p style="font:12px/1.0em Arial !important;">This plugin language is translated with the help of Google Translator.</p>
|
19 |
+
<p style="font:12px/1.0em Arial !important;">If you would like to translate & help us, we will reward you with a free Pro Edition License of Contact Bank worth 16£.</p>
|
20 |
<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>
|
21 |
</strong>
|
22 |
</span>
|
26 |
?>
|
27 |
<div class="message red" style="display: block;margin-top:10px">
|
28 |
<span>
|
29 |
+
<strong>You will be only allowed to add 1 Form. Kindly purchase Premium Edition for full access.</strong>
|
30 |
</span>
|
31 |
</div>
|
views/includes_common_after.php
CHANGED
@@ -345,31 +345,31 @@ function create_control(control_type,dynamicId,type)
|
|
345 |
}
|
346 |
break;
|
347 |
case 7:
|
348 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
349 |
break;
|
350 |
case 8:
|
351 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
352 |
break;
|
353 |
case 9:
|
354 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
355 |
break;
|
356 |
case 10:
|
357 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
358 |
break;
|
359 |
case 11:
|
360 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
361 |
break;
|
362 |
case 12:
|
363 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
364 |
break;
|
365 |
case 13:
|
366 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
367 |
break;
|
368 |
case 15:
|
369 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
370 |
break;
|
371 |
case 16:
|
372 |
-
alert("<?php _e( "This Feature is only available in Paid Premium
|
373 |
break;
|
374 |
}
|
375 |
}
|
345 |
}
|
346 |
break;
|
347 |
case 7:
|
348 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
349 |
break;
|
350 |
case 8:
|
351 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
352 |
break;
|
353 |
case 9:
|
354 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
355 |
break;
|
356 |
case 10:
|
357 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
358 |
break;
|
359 |
case 11:
|
360 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
361 |
break;
|
362 |
case 12:
|
363 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
364 |
break;
|
365 |
case 13:
|
366 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
367 |
break;
|
368 |
case 15:
|
369 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
370 |
break;
|
371 |
case 16:
|
372 |
+
alert("<?php _e( "This Feature is only available in Paid Premium Edition!", contact_bank ); ?>");
|
373 |
break;
|
374 |
}
|
375 |
}
|