Version Description
- Few Bugs Fixed
Download this release
Release Info
Developer | contact-banker |
Plugin | Contact Bank: WordPress Form Builder for Contact Forms |
Version | 2.0.4 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.0.4
- contact-bank.php +5 -4
- frontend_views/contact_bank_forms.php +21 -24
- lib/.idea/.name +1 -0
- lib/.idea/encodings.xml +5 -0
- lib/.idea/lib.iml +9 -0
- lib/.idea/misc.xml +8 -0
- lib/.idea/modules.xml +9 -0
- lib/.idea/scopes/scope_settings.xml +5 -0
- lib/.idea/vcs.xml +7 -0
- lib/.idea/workspace.xml +216 -0
- lib/install-script.php +67 -2
- readme.txt +5 -1
- views/add_contact_email.php +1 -1
- views/contact_bank_form_preview.php +1 -1
- views/contact_bank_layout_settings.php +1 -1
- views/contact_view.php +3 -1
- views/dashboard.php +1 -0
contact-bank.php
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
/**
|
3 |
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
|
6 |
Author: Tech Banker
|
7 |
-
Version: 2.0.
|
8 |
Author URI: http://tech-banker.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
@@ -24,7 +24,7 @@ if (!defined("contact_bank")) define("contact_bank", "contact_bank");
|
|
24 |
|
25 |
function plugin_uninstall_script_for_contact_bank()
|
26 |
{
|
27 |
-
|
28 |
}
|
29 |
/* Function Name : plugin_install_script_for_contact_bank
|
30 |
* Paramters : None
|
@@ -498,10 +498,11 @@ function plugin_load_textdomain()
|
|
498 |
}
|
499 |
add_action("plugins_loaded", "plugin_load_textdomain");
|
500 |
$version = get_option("contact-bank-version-number");
|
501 |
-
if($version
|
502 |
{
|
503 |
add_action('admin_init', 'plugin_install_script_for_contact_bank');
|
504 |
}
|
|
|
505 |
/*************************************************************************************/
|
506 |
add_action("admin_bar_menu", "add_contact_bank_icon",100);
|
507 |
// add_action Hook called for function frontend_plugin_css_scripts_contact_bank
|
2 |
/**
|
3 |
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.4
|
8 |
Author URI: http://tech-banker.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
24 |
|
25 |
function plugin_uninstall_script_for_contact_bank()
|
26 |
{
|
27 |
+
// include_once CONTACT_BK_PLUGIN_DIR ."/lib/uninstall-script.php";
|
28 |
}
|
29 |
/* Function Name : plugin_install_script_for_contact_bank
|
30 |
* Paramters : None
|
498 |
}
|
499 |
add_action("plugins_loaded", "plugin_load_textdomain");
|
500 |
$version = get_option("contact-bank-version-number");
|
501 |
+
if($version == "1.0" || $version == "2.0")
|
502 |
{
|
503 |
add_action('admin_init', 'plugin_install_script_for_contact_bank');
|
504 |
}
|
505 |
+
|
506 |
/*************************************************************************************/
|
507 |
add_action("admin_bar_menu", "add_contact_bank_icon",100);
|
508 |
// add_action Hook called for function frontend_plugin_css_scripts_contact_bank
|
frontend_views/contact_bank_forms.php
CHANGED
@@ -299,13 +299,12 @@ $forms_email_settings = $wpdb->get_row
|
|
299 |
<?php
|
300 |
}
|
301 |
?>
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
?>
|
309 |
<div class="layout-controls layout_according_label_position">
|
310 |
<input class="hovertip input_control <?php echo $layout_settings_array[$form_id]["input_field_input_size"]; ?>"
|
311 |
type="text" id="ux_txt_control_<?php echo $form_fields[$flag]->column_dynamicId; ?>"
|
@@ -322,7 +321,6 @@ $forms_email_settings = $wpdb->get_row
|
|
322 |
<br/>
|
323 |
<span class="field_description" id="txt_description_"><?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_description"]; ?></span>
|
324 |
</div>
|
325 |
-
|
326 |
<?php
|
327 |
break;
|
328 |
case 2:
|
@@ -355,27 +353,26 @@ $forms_email_settings = $wpdb->get_row
|
|
355 |
<br/>
|
356 |
<span class="field_description" id="txt_description_"><?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_description"]; ?></span>
|
357 |
</div>
|
358 |
-
<?php
|
359 |
break;
|
360 |
case 4:
|
361 |
$ddl_values = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_dropdown_option_val"]);
|
362 |
$ddl_ids = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_dropdown_option_id"]);
|
363 |
?>
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
</select>
|
379 |
</div>
|
380 |
<?php
|
381 |
break;
|
299 |
<?php
|
300 |
}
|
301 |
?>
|
302 |
+
</label>
|
303 |
+
<?php
|
304 |
+
switch($form_fields[$flag]->field_id)
|
305 |
+
{
|
306 |
+
case 1:
|
307 |
+
?>
|
|
|
308 |
<div class="layout-controls layout_according_label_position">
|
309 |
<input class="hovertip input_control <?php echo $layout_settings_array[$form_id]["input_field_input_size"]; ?>"
|
310 |
type="text" id="ux_txt_control_<?php echo $form_fields[$flag]->column_dynamicId; ?>"
|
321 |
<br/>
|
322 |
<span class="field_description" id="txt_description_"><?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_description"]; ?></span>
|
323 |
</div>
|
|
|
324 |
<?php
|
325 |
break;
|
326 |
case 2:
|
353 |
<br/>
|
354 |
<span class="field_description" id="txt_description_"><?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_description"]; ?></span>
|
355 |
</div>
|
356 |
+
<?php
|
357 |
break;
|
358 |
case 4:
|
359 |
$ddl_values = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_dropdown_option_val"]);
|
360 |
$ddl_ids = unserialize($control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_dropdown_option_id"]);
|
361 |
?>
|
362 |
+
<div class="layout-controls layout_according_label_position">
|
363 |
+
<select class="hovertip input_control <?php echo $layout_settings_array[$form_id]["input_field_input_size"]; ?>" type="select" id="ux_select_default_<?php echo $form_fields[$flag]->column_dynamicId; ?>"
|
364 |
+
data-original-title="<?php echo $control_settings_array[$form_fields[$flag]->column_dynamicId]["cb_tooltip_txt"]; ?>"
|
365 |
+
name="ux_select_default_<?php echo $form_fields[$flag]->column_dynamicId; ?>">
|
366 |
+
<option value="<?php echo count($ddl_values) == 0 ? " " : ""; ?>"><?php _e("Select Option", contact_bank); ?></option>
|
367 |
+
<?php
|
368 |
+
foreach($ddl_ids as $key => $value )
|
369 |
+
{
|
370 |
+
?>
|
371 |
+
<option value="<?php echo $ddl_values[$key]; ?>"><?php echo $ddl_values[$key]; ?></option>
|
372 |
+
<?php
|
373 |
+
}
|
374 |
+
?>
|
375 |
+
</select>
|
|
|
376 |
</div>
|
377 |
<?php
|
378 |
break;
|
lib/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
lib
|
lib/.idea/encodings.xml
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
|
4 |
+
</project>
|
5 |
+
|
lib/.idea/lib.iml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<module type="WEB_MODULE" version="4">
|
3 |
+
<component name="NewModuleRootManager">
|
4 |
+
<content url="file://$MODULE_DIR$" />
|
5 |
+
<orderEntry type="inheritedJdk" />
|
6 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
7 |
+
</component>
|
8 |
+
</module>
|
9 |
+
|
lib/.idea/misc.xml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectRootManager" version="2" />
|
4 |
+
<component name="SvnBranchConfigurationManager">
|
5 |
+
<option name="mySupportsUserInfoFilter" value="true" />
|
6 |
+
</component>
|
7 |
+
</project>
|
8 |
+
|
lib/.idea/modules.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectModuleManager">
|
4 |
+
<modules>
|
5 |
+
<module fileurl="file://$PROJECT_DIR$/.idea/lib.iml" filepath="$PROJECT_DIR$/.idea/lib.iml" />
|
6 |
+
</modules>
|
7 |
+
</component>
|
8 |
+
</project>
|
9 |
+
|
lib/.idea/scopes/scope_settings.xml
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<component name="DependencyValidationManager">
|
2 |
+
<state>
|
3 |
+
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
|
4 |
+
</state>
|
5 |
+
</component>
|
lib/.idea/vcs.xml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="VcsDirectoryMappings">
|
4 |
+
<mapping directory="$PROJECT_DIR$" vcs="svn" />
|
5 |
+
</component>
|
6 |
+
</project>
|
7 |
+
|
lib/.idea/workspace.xml
ADDED
@@ -0,0 +1,216 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ChangeListManager">
|
4 |
+
<list default="true" id="73464306-916e-49bc-806d-b9b0e4de999a" name="Default" comment="">
|
5 |
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/install-script.php" afterPath="$PROJECT_DIR$/install-script.php" />
|
6 |
+
</list>
|
7 |
+
<ignored path="lib.iws" />
|
8 |
+
<ignored path=".idea/workspace.xml" />
|
9 |
+
<option name="TRACKING_ENABLED" value="true" />
|
10 |
+
<option name="SHOW_DIALOG" value="false" />
|
11 |
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
12 |
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
13 |
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
14 |
+
</component>
|
15 |
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
16 |
+
<component name="CreatePatchCommitExecutor">
|
17 |
+
<option name="PATCH_PATH" value="" />
|
18 |
+
</component>
|
19 |
+
<component name="DaemonCodeAnalyzer">
|
20 |
+
<disable_hints />
|
21 |
+
</component>
|
22 |
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
23 |
+
<component name="FavoritesManager">
|
24 |
+
<favorites_list name="lib" />
|
25 |
+
</component>
|
26 |
+
<component name="FileEditorManager">
|
27 |
+
<leaf>
|
28 |
+
<file leaf-file-name="install-script.php" pinned="false" current="true" current-in-tab="true">
|
29 |
+
<entry file="file://$PROJECT_DIR$/install-script.php">
|
30 |
+
<provider selected="true" editor-type-id="text-editor">
|
31 |
+
<state line="495" column="1" selection-start="21327" selection-end="21327" vertical-scroll-proportion="-1.3261868" vertical-offset="9281" max-vertical-offset="11849">
|
32 |
+
<folding />
|
33 |
+
</state>
|
34 |
+
</provider>
|
35 |
+
</entry>
|
36 |
+
</file>
|
37 |
+
</leaf>
|
38 |
+
</component>
|
39 |
+
<component name="FindManager">
|
40 |
+
<FindUsagesManager>
|
41 |
+
<setting name="OPEN_NEW_TAB" value="false" />
|
42 |
+
</FindUsagesManager>
|
43 |
+
</component>
|
44 |
+
<component name="IdeDocumentHistory">
|
45 |
+
<option name="changedFiles">
|
46 |
+
<list>
|
47 |
+
<option value="$PROJECT_DIR$/install-script.php" />
|
48 |
+
</list>
|
49 |
+
</option>
|
50 |
+
</component>
|
51 |
+
<component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
|
52 |
+
<component name="ProjectFrameBounds">
|
53 |
+
<option name="x" value="-8" />
|
54 |
+
<option name="y" value="-8" />
|
55 |
+
<option name="width" value="1616" />
|
56 |
+
<option name="height" value="876" />
|
57 |
+
</component>
|
58 |
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
59 |
+
<OptionsSetting value="true" id="Add" />
|
60 |
+
<OptionsSetting value="true" id="Remove" />
|
61 |
+
<OptionsSetting value="true" id="Checkout" />
|
62 |
+
<OptionsSetting value="true" id="Update" />
|
63 |
+
<OptionsSetting value="true" id="Status" />
|
64 |
+
<OptionsSetting value="true" id="Edit" />
|
65 |
+
<ConfirmationsSetting value="0" id="Add" />
|
66 |
+
<ConfirmationsSetting value="0" id="Remove" />
|
67 |
+
</component>
|
68 |
+
<component name="ProjectReloadState">
|
69 |
+
<option name="STATE" value="0" />
|
70 |
+
</component>
|
71 |
+
<component name="ProjectView">
|
72 |
+
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
|
73 |
+
<flattenPackages />
|
74 |
+
<showMembers />
|
75 |
+
<showModules />
|
76 |
+
<showLibraryContents />
|
77 |
+
<hideEmptyPackages />
|
78 |
+
<abbreviatePackageNames />
|
79 |
+
<autoscrollToSource />
|
80 |
+
<autoscrollFromSource />
|
81 |
+
<sortByType />
|
82 |
+
</navigator>
|
83 |
+
<panes>
|
84 |
+
<pane id="ProjectPane">
|
85 |
+
<subPane>
|
86 |
+
<PATH>
|
87 |
+
<PATH_ELEMENT>
|
88 |
+
<option name="myItemId" value="lib" />
|
89 |
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
90 |
+
</PATH_ELEMENT>
|
91 |
+
</PATH>
|
92 |
+
</subPane>
|
93 |
+
</pane>
|
94 |
+
<pane id="Scope" />
|
95 |
+
</panes>
|
96 |
+
</component>
|
97 |
+
<component name="PropertiesComponent">
|
98 |
+
<property name="options.splitter.main.proportions" value="0.3" />
|
99 |
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
100 |
+
<property name="options.lastSelected" value="web-ide.project.structure" />
|
101 |
+
<property name="FullScreen" value="false" />
|
102 |
+
<property name="options.splitter.details.proportions" value="0.2" />
|
103 |
+
<property name="options.searchVisible" value="true" />
|
104 |
+
</component>
|
105 |
+
<component name="PublishConfig">
|
106 |
+
<servers>
|
107 |
+
<server id="8edf2c37-9e78-4559-a8a8-0f1fb7f54ca7">
|
108 |
+
<serverdata>
|
109 |
+
<mappings>
|
110 |
+
<mapping local="$PROJECT_DIR$" />
|
111 |
+
</mappings>
|
112 |
+
</serverdata>
|
113 |
+
</server>
|
114 |
+
<server id="a6657919-38ac-4e3b-8875-48e6769d12f9">
|
115 |
+
<serverdata>
|
116 |
+
<mappings>
|
117 |
+
<mapping local="$PROJECT_DIR$" />
|
118 |
+
</mappings>
|
119 |
+
</serverdata>
|
120 |
+
</server>
|
121 |
+
</servers>
|
122 |
+
</component>
|
123 |
+
<component name="RunManager">
|
124 |
+
<list size="0" />
|
125 |
+
</component>
|
126 |
+
<component name="ShelveChangesManager" show_recycled="false" />
|
127 |
+
<component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="true" SSL_PROTOCOLS="all">
|
128 |
+
<option name="USER" value="" />
|
129 |
+
<option name="PASSWORD" value="" />
|
130 |
+
<option name="mySSHConnectionTimeout" value="30000" />
|
131 |
+
<option name="mySSHReadTimeout" value="30000" />
|
132 |
+
<option name="LAST_MERGED_REVISION" />
|
133 |
+
<option name="MERGE_DRY_RUN" value="false" />
|
134 |
+
<option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
|
135 |
+
<option name="UPDATE_LOCK_ON_DEMAND" value="false" />
|
136 |
+
<option name="IGNORE_SPACES_IN_MERGE" value="false" />
|
137 |
+
<option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
|
138 |
+
<option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
|
139 |
+
<option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
|
140 |
+
<option name="FORCE_UPDATE" value="false" />
|
141 |
+
<option name="IGNORE_EXTERNALS" value="false" />
|
142 |
+
<configuration useDefault="false">C:\Users\Varun\AppData\Roaming\Subversion</configuration>
|
143 |
+
<myIsUseDefaultProxy>false</myIsUseDefaultProxy>
|
144 |
+
</component>
|
145 |
+
<component name="SvnFileUrlMappingImpl">
|
146 |
+
<option name="myMappingRoots">
|
147 |
+
<list>
|
148 |
+
<SvnCopyRootSimple>
|
149 |
+
<option name="myVcsRoot" value="E:\contact-bank\trunk\lib" />
|
150 |
+
<option name="myCopyRoot" value="E:\contact-bank\trunk\lib" />
|
151 |
+
</SvnCopyRootSimple>
|
152 |
+
</list>
|
153 |
+
</option>
|
154 |
+
<option name="myMoreRealMappingRoots">
|
155 |
+
<list>
|
156 |
+
<SvnCopyRootSimple>
|
157 |
+
<option name="myVcsRoot" value="E:\contact-bank\trunk\lib" />
|
158 |
+
<option name="myCopyRoot" value="E:\contact-bank\trunk\lib" />
|
159 |
+
</SvnCopyRootSimple>
|
160 |
+
</list>
|
161 |
+
</option>
|
162 |
+
</component>
|
163 |
+
<component name="TaskManager">
|
164 |
+
<task active="true" id="Default" summary="Default task">
|
165 |
+
<changelist id="73464306-916e-49bc-806d-b9b0e4de999a" name="Default" comment="" />
|
166 |
+
<created>1394783131392</created>
|
167 |
+
<updated>1394783131392</updated>
|
168 |
+
</task>
|
169 |
+
<servers />
|
170 |
+
</component>
|
171 |
+
<component name="ToolWindowManager">
|
172 |
+
<frame x="-8" y="-8" width="1616" height="876" extended-state="0" />
|
173 |
+
<editor active="false" />
|
174 |
+
<layout>
|
175 |
+
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
176 |
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
177 |
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
178 |
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
179 |
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
180 |
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24967825" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
181 |
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
182 |
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
183 |
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
184 |
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
185 |
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
186 |
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
187 |
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
188 |
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
189 |
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
190 |
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
191 |
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
192 |
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
193 |
+
</layout>
|
194 |
+
</component>
|
195 |
+
<component name="VcsContentAnnotationSettings">
|
196 |
+
<option name="myLimit" value="2678400000" />
|
197 |
+
</component>
|
198 |
+
<component name="VcsManagerConfiguration">
|
199 |
+
<option name="myTodoPanelSettings">
|
200 |
+
<TodoPanelSettings />
|
201 |
+
</option>
|
202 |
+
</component>
|
203 |
+
<component name="XDebuggerManager">
|
204 |
+
<breakpoint-manager />
|
205 |
+
</component>
|
206 |
+
<component name="editorHistoryManager">
|
207 |
+
<entry file="file://$PROJECT_DIR$/install-script.php">
|
208 |
+
<provider selected="true" editor-type-id="text-editor">
|
209 |
+
<state line="495" column="1" selection-start="21327" selection-end="21327" vertical-scroll-proportion="-1.3261868" vertical-offset="9281" max-vertical-offset="11849">
|
210 |
+
<folding />
|
211 |
+
</state>
|
212 |
+
</provider>
|
213 |
+
</entry>
|
214 |
+
</component>
|
215 |
+
</project>
|
216 |
+
|
lib/install-script.php
CHANGED
@@ -3,7 +3,7 @@ global $wpdb;
|
|
3 |
require_once(ABSPATH . "wp-admin/includes/upgrade.php");
|
4 |
update_option("contact-bank-updation-check-url","http://tech-banker.com/wp-admin/admin-ajax.php");
|
5 |
$version = get_option("contact-bank-version-number");
|
6 |
-
if($version
|
7 |
{
|
8 |
if (count($wpdb->get_var('SHOW TABLES LIKE "' . contact_bank_form_settings_Table() . '"')) == 0)
|
9 |
{
|
@@ -489,7 +489,72 @@ if($version != "2.0")
|
|
489 |
)
|
490 |
);
|
491 |
}
|
492 |
-
update_option("contact-bank-version-number","2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
493 |
}
|
494 |
function create_table_contact_bank_forms()
|
495 |
{
|
3 |
require_once(ABSPATH . "wp-admin/includes/upgrade.php");
|
4 |
update_option("contact-bank-updation-check-url","http://tech-banker.com/wp-admin/admin-ajax.php");
|
5 |
$version = get_option("contact-bank-version-number");
|
6 |
+
if($version == "1.0")
|
7 |
{
|
8 |
if (count($wpdb->get_var('SHOW TABLES LIKE "' . contact_bank_form_settings_Table() . '"')) == 0)
|
9 |
{
|
489 |
)
|
490 |
);
|
491 |
}
|
492 |
+
update_option("contact-bank-version-number","2.1");
|
493 |
+
|
494 |
+
}
|
495 |
+
else if($version == "2.0")
|
496 |
+
{
|
497 |
+
if (count($wpdb->get_var('SHOW TABLES LIKE "' . contact_bank_form_settings_Table() . '"')) == 0)
|
498 |
+
{
|
499 |
+
create_contact_bank_form_settings();
|
500 |
+
}
|
501 |
+
else
|
502 |
+
{
|
503 |
+
$contact_forms_settings_table = $wpdb->get_results
|
504 |
+
(
|
505 |
+
$wpdb->prepare
|
506 |
+
(
|
507 |
+
"SELECT * FROM ".contact_bank_form_settings_Table(),""
|
508 |
+
)
|
509 |
+
);
|
510 |
+
|
511 |
+
$sql = "DROP TABLE " . contact_bank_form_settings_Table();
|
512 |
+
$wpdb->query($sql);
|
513 |
+
|
514 |
+
|
515 |
+
$contact_forms_count = $wpdb->get_results
|
516 |
+
(
|
517 |
+
$wpdb->prepare
|
518 |
+
(
|
519 |
+
"SELECT * FROM ".contact_bank_contact_form(),""
|
520 |
+
)
|
521 |
+
);
|
522 |
+
|
523 |
+
|
524 |
+
create_contact_bank_form_settings();
|
525 |
+
|
526 |
+
if(count($contact_forms_settings_table) > 0)
|
527 |
+
{
|
528 |
+
for($flag = 0; $flag < count($contact_forms_settings_table); $flag++)
|
529 |
+
{
|
530 |
+
|
531 |
+
$wpdb->query
|
532 |
+
(
|
533 |
+
$wpdb->prepare
|
534 |
+
(
|
535 |
+
"INSERT INTO ". contact_bank_form_settings_Table() ."(form_id,form_message_key,form_message_value)VALUES(%d, %s, %s)",
|
536 |
+
$contact_forms_settings_table[$flag]->form_id,
|
537 |
+
$contact_forms_settings_table[$flag]->form_message_key,
|
538 |
+
$contact_forms_settings_table[$flag]->form_message_value
|
539 |
+
)
|
540 |
+
);
|
541 |
+
}
|
542 |
+
for($flag = 0; $flag < count($contact_forms_count); $flag++)
|
543 |
+
{
|
544 |
+
$wpdb->query
|
545 |
+
(
|
546 |
+
$wpdb->prepare
|
547 |
+
(
|
548 |
+
"INSERT INTO ". contact_bank_form_settings_Table() ."(form_id,form_message_key,form_message_value)VALUES(%d, %s, %s)",
|
549 |
+
$contact_forms_count[$flag]->form_id,
|
550 |
+
"form_description",
|
551 |
+
""
|
552 |
+
)
|
553 |
+
);
|
554 |
+
}
|
555 |
+
}
|
556 |
+
}
|
557 |
+
update_option("contact-bank-version-number","2.1");
|
558 |
}
|
559 |
function create_table_contact_bank_forms()
|
560 |
{
|
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 |
|
@@ -130,6 +130,10 @@ Visit [here](http://tech-banker.com/contact-bank) to upgrade to Pro Version now.
|
|
130 |
|
131 |
== Changelog ==
|
132 |
|
|
|
|
|
|
|
|
|
133 |
= 2.0.3 =
|
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.4
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
130 |
|
131 |
== Changelog ==
|
132 |
|
133 |
+
= 2.0.4 =
|
134 |
+
|
135 |
+
* Few Bugs Fixed
|
136 |
+
|
137 |
= 2.0.3 =
|
138 |
|
139 |
* Few Bugs Fixed
|
views/add_contact_email.php
CHANGED
@@ -232,7 +232,7 @@ $fields_controls = $wpdb->get_results
|
|
232 |
(
|
233 |
$wpdb->prepare
|
234 |
(
|
235 |
-
"SELECT dynamicId, dynamic_settings_value FROM ". contact_bank_dynamic_settings_form(). " JOIN " . create_control_Table(). " ON " . contact_bank_dynamic_settings_form().". dynamicId = ". create_control_Table(). ".control_id WHERE `dynamic_settings_key` = 'cb_admin_label' and form_id = %d",
|
236 |
$form_id
|
237 |
)
|
238 |
);
|
232 |
(
|
233 |
$wpdb->prepare
|
234 |
(
|
235 |
+
"SELECT dynamicId, dynamic_settings_value FROM ". contact_bank_dynamic_settings_form(). " JOIN " . create_control_Table(). " ON " . contact_bank_dynamic_settings_form().". dynamicId = ". create_control_Table(). ".control_id WHERE `dynamic_settings_key` = 'cb_admin_label' and form_id = %d Order By ".create_control_Table().".sorting_order",
|
236 |
$form_id
|
237 |
)
|
238 |
);
|
views/contact_bank_form_preview.php
CHANGED
@@ -288,7 +288,7 @@ $forms_email_settings = $wpdb->get_row
|
|
288 |
<h4><?php echo $form_name ;?></h4>
|
289 |
</div>
|
290 |
<div style="margin-left: 15px;" class="layout-control-group">
|
291 |
-
<span><?php echo $form_settings_array[$form_id]["form_description"]; ?></span>
|
292 |
</div>
|
293 |
<?php
|
294 |
for($flag=0;$flag<count($form_fields);$flag++)
|
288 |
<h4><?php echo $form_name ;?></h4>
|
289 |
</div>
|
290 |
<div style="margin-left: 15px;" class="layout-control-group">
|
291 |
+
<span class="<?php echo $layout_settings_array[$form_id]["input_field_input_size"]; ?>"><?php echo $form_settings_array[$form_id]["form_description"]; ?></span>
|
292 |
</div>
|
293 |
<?php
|
294 |
for($flag=0;$flag<count($form_fields);$flag++)
|
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
|
8 |
|
9 |
</div>
|
10 |
<div class="widget-layout-body">
|
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 Features available in Paid Edition)", contact_bank); ?></i></h4>
|
8 |
|
9 |
</div>
|
10 |
<div class="widget-layout-body">
|
views/contact_view.php
CHANGED
@@ -427,7 +427,9 @@
|
|
427 |
</div>
|
428 |
<div class="widget-layout">
|
429 |
<div class="widget-layout-title">
|
430 |
-
<h4><?php _e("Advanced Fields", contact_bank);
|
|
|
|
|
431 |
</div>
|
432 |
<div class="widget-layout-body">
|
433 |
<p class="howto"><?php _e("Click on a field to use into your form.", contact_bank); ?></p>
|
427 |
</div>
|
428 |
<div class="widget-layout">
|
429 |
<div class="widget-layout-title">
|
430 |
+
<h4><?php _e("Advanced Fields", contact_bank); ?>
|
431 |
+
<i class="widget_premium_feature_contact"><?php _e(" (Available in Premium Edition)", contact_bank); ?></i>
|
432 |
+
</h4>
|
433 |
</div>
|
434 |
<div class="widget-layout-body">
|
435 |
<p class="howto"><?php _e("Click on a field to use into your form.", contact_bank); ?></p>
|
views/dashboard.php
CHANGED
@@ -8,6 +8,7 @@ $last_form_id = $wpdb->get_var
|
|
8 |
""
|
9 |
)
|
10 |
);
|
|
|
11 |
?>
|
12 |
<div class="fluid-layout">
|
13 |
<div class="layout-span12">
|
8 |
""
|
9 |
)
|
10 |
);
|
11 |
+
|
12 |
?>
|
13 |
<div class="fluid-layout">
|
14 |
<div class="layout-span12">
|