Contact Form Builder – a plugin for creating contact and feedback forms - Version 1.0.12

Version Description

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Contact Form Builder – a plugin for creating contact and feedback forms
Version 1.0.12
Comparing to
See all releases

Code changes from version 1.0.11 to 1.0.12

admin/views/CFMViewLicensing_cfm.php CHANGED
@@ -24,11 +24,110 @@ class CFMViewLicensing_cfm {
24
  ////////////////////////////////////////////////////////////////////////////////////////
25
  public function display() {
26
  ?>
27
- <div style="width:99%">
28
- <p>This plugin is the non-commercial version of the Contact Form Builder. The plugin can be used free of charge. There are some limitations with this version of the plugin - no access to Submissions section (only emails sent), as well as Themes. If you want to use those two sections, you are required to purchase a license.</p>
29
- <br/>
30
- <a href="http://web-dorado.com/files/fromContactFormBuilder.php" class="button-primary" target="_blank">Purchase a License</a>
31
- <br/><br/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  <p>After the purchasing the commercial version follow this steps:</p>
33
  <ol>
34
  <li>Deactivate Contact Form Builder Plugin.</li>
24
  ////////////////////////////////////////////////////////////////////////////////////////
25
  public function display() {
26
  ?>
27
+ <div style="text-align:center; float: left;">
28
+ <table class="data-bordered">
29
+ <thead>
30
+ <tr>
31
+ <th class="top first" nowrap="nowrap" scope="col">Features of the Contact form builder</th>
32
+ <th class="top notranslate" nowrap="nowrap" scope="col">Free</th>
33
+ <th class="top notranslate" nowrap="nowrap" scope="col">Pro Version</th>
34
+ </tr>
35
+ </thead>
36
+ <tbody>
37
+ <tr class="alt">
38
+ <td>Responsive design and layout</td>
39
+ <td class="icon-replace yes">yes</td>
40
+ <td class="icon-replace yes">yes</td>
41
+ </tr>
42
+ <tr>
43
+ <td>Email Options</td>
44
+ <td class="icon-replace yes">yes</td>
45
+ <td class="icon-replace yes">yes</td>
46
+ </tr>
47
+ <tr class="alt">
48
+ <td>Customizable labels and attributes</td>
49
+ <td class="icon-replace yes">yes</td>
50
+ <td class="icon-replace yes">yes</td>
51
+ </tr>
52
+ <tr>
53
+ <td>Custom HTML field</td>
54
+ <td class="icon-replace yes">yes</td>
55
+ <td class="icon-replace yes">yes</td>
56
+ </tr>
57
+ <tr class="alt">
58
+ <td>Possibility to send a copy of message to user</td>
59
+ <td class="icon-replace yes">yes</td>
60
+ <td class="icon-replace yes">yes</td>
61
+ </tr>
62
+ <tr>
63
+ <td>Activation/deactivation of fields</td>
64
+ <td class="icon-replace yes">yes</td>
65
+ <td class="icon-replace yes">yes</td>
66
+ </tr>
67
+ <tr class="alt">
68
+ <td>Customizable form layout</td>
69
+ <td class="icon-replace yes">yes</td>
70
+ <td class="icon-replace yes">yes</td>
71
+ </tr>
72
+ <tr>
73
+ <td>Captcha/Repatcha protection</td>
74
+ <td class="icon-replace yes">yes</td>
75
+ <td class="icon-replace yes">yes</td>
76
+ </tr>
77
+ <tr class="alt">
78
+ <td>Blocking IPs</td>
79
+ <td class="icon-replace yes">yes</td>
80
+ <td class="icon-replace yes">yes</td>
81
+ </tr>
82
+ <tr>
83
+ <td>Sample Forms</td>
84
+ <td style="text-align:center;">10</td>
85
+ <td style="text-align:center;">10</td>
86
+ </tr>
87
+ <tr class="alt">
88
+ <td>Possibility to create new forms based on the samples</td>
89
+ <td class="icon-replace yes">yes</td>
90
+ <td class="icon-replace yes">yes</td>
91
+ </tr>
92
+ <tr>
93
+ <td>Google Map Integration</td>
94
+ <td class="icon-replace yes">yes</td>
95
+ <td class="icon-replace yes">yes</td>
96
+ </tr>
97
+ <tr class="alt">
98
+ <td>Themes</td>
99
+ <td class="icon-replace yes">1</td>
100
+ <td class="icon-replace yes">37</td>
101
+ </tr>
102
+ <tr class="alt">
103
+ <td>Possibility to add themes</td>
104
+ <td class="icon-replace no">no</td>
105
+ <td class="icon-replace yes">yes</td>
106
+ </tr>
107
+ <tr>
108
+ <td>Submissions page</td>
109
+ <td class="icon-replace no">no</td>
110
+ <td class="icon-replace yes">yes</td>
111
+ </tr>
112
+ <tr class="alt">
113
+ <td>Statistical Data</td>
114
+ <td class="icon-replace no">no</td>
115
+ <td class="icon-replace yes">yes</td>
116
+ </tr>
117
+ <tr>
118
+ <td>Data Import in CSV/XML</td>
119
+ <td class="icon-replace no">no</td>
120
+ <td class="icon-replace yes">yes</td>
121
+ </tr>
122
+ </tbody>
123
+ </table>
124
+ </div>
125
+ <div style="float: right; text-align: right;">
126
+ <a style="text-decoration: none;" target="_blank" href="http://web-dorado.com/files/fromContactFormBuilder.php">
127
+ <img width="215" border="0" alt="web-dorado.com" src="<?php echo WD_CFM_URL . '/images/wd_logo.png'; ?>" />
128
+ </a>
129
+ </div>
130
+ <div style="float: left; clear: both;">
131
  <p>After the purchasing the commercial version follow this steps:</p>
132
  <ol>
133
  <li>Deactivate Contact Form Builder Plugin.</li>
contact-form-builder.php CHANGED
@@ -3,8 +3,9 @@
3
  * Plugin Name: Contact Form Builder
4
  * Plugin URI: http://web-dorado.com/products/wordpress-contact-form-builder.html
5
  * Description: Contact Form Builder is an advanced plugin to add contact forms into your website. It comes along with multiple default templates which can be customized.
6
- * Version: 1.0.11
7
- * Author: http://web-dorado.com/
 
8
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
10
  define('WD_CFM_DIR', WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__)));
@@ -27,9 +28,9 @@ function contact_form_maker_options_panel() {
27
  $themes_page = add_submenu_page('manage_cfm', 'Themes', 'Themes', 'manage_options', 'themes_cfm', 'contact_form_maker');
28
 
29
  $licensing_plugins_page = add_submenu_page('manage_cfm', 'Licensing/Donation', 'Licensing/Donation', 'manage_options', 'licensing_cfm', 'contact_form_maker');
 
30
 
31
- $featured_plugins_page = add_submenu_page('manage_cfm', 'Featured Plugins', 'Featured Plugins', 'manage_options', 'featured_plugins_cfm', 'contact_form_maker');
32
- add_action('admin_print_styles-' . $featured_plugins_page, 'contact_form_maker_featured_plugins_styles');
33
 
34
  $uninstall_page = add_submenu_page('manage_cfm', 'Uninstall', 'Uninstall', 'manage_options', 'uninstall_cfm', 'contact_form_maker');
35
  add_action('admin_print_styles-' . $uninstall_page, 'contact_form_maker_styles');
@@ -40,7 +41,7 @@ add_action('admin_menu', 'contact_form_maker_options_panel');
40
  function contact_form_maker() {
41
  require_once(WD_CFM_DIR . '/framework/WDW_CFM_Library.php');
42
  $page = WDW_CFM_Library::get('page');
43
- if (($page != '') && (($page == 'manage_cfm') || ($page == 'submissions_cfm') || ($page == 'blocked_ips_cfm') || ($page == 'themes_cfm') || ($page == 'licensing_cfm') || ($page == 'featured_plugins_cfm') || ($page == 'uninstall_cfm') || ($page == 'CFMShortcode'))) {
44
  require_once (WD_CFM_DIR . '/admin/controllers/CFMController' . ucfirst(strtolower($page)) . '.php');
45
  $controller_class = 'CFMController' . ucfirst(strtolower($page));
46
  $controller = new $controller_class();
@@ -48,6 +49,13 @@ function contact_form_maker() {
48
  }
49
  }
50
 
 
 
 
 
 
 
 
51
  add_action('wp_ajax_ContactFormMakerPreview', 'contact_form_maker_ajax');
52
  add_action('wp_ajax_ContactFormmakerwdcaptcha', 'contact_form_maker_ajax'); // Generete captcha image and save it code in session.
53
  add_action('wp_ajax_nopriv_ContactFormmakerwdcaptcha', 'contact_form_maker_ajax'); // Generete captcha image and save it code in session for all users.
@@ -149,7 +157,7 @@ if (class_exists('WP_Widget')) {
149
  // Activate plugin.
150
  function contact_form_maker_activate() {
151
  $version = get_option("wd_contact_form_maker_version");
152
- $new_version = '1.0.10';
153
  if ($version && version_compare($version, $new_version, '<')) {
154
  require_once WD_CFM_DIR . "/contact-form-builder-update.php";
155
  contact_form_maker_update($version);
@@ -203,11 +211,6 @@ function contact_form_maker_manage_scripts() {
203
  wp_enqueue_script('contact_form_maker_htmlmixed', WD_CFM_URL . '/js/layout/htmlmixed.js', array(), '1.0.0');
204
  }
205
 
206
- // Contact Form Builder Featured plugins page styles.
207
- function contact_form_maker_featured_plugins_styles() {
208
- wp_enqueue_style('Featured_Plugins', WD_CFM_URL . '/css/contact_form_maker_featured_plugins.css');
209
- }
210
-
211
  function contact_form_maker_styles() {
212
  wp_enqueue_style('contact_form_maker_tables', WD_CFM_URL . '/css/contact_form_maker_tables.css', array(), get_option("wd_contact_form_maker_version"));
213
  }
@@ -215,6 +218,10 @@ function contact_form_maker_scripts() {
215
  wp_enqueue_script('contact_form_maker_admin', WD_CFM_URL . '/js/contact_form_maker_admin.js', array(), get_option("wd_contact_form_maker_version"));
216
  }
217
 
 
 
 
 
218
  function contact_form_maker_front_end_scripts() {
219
  $version = get_option("wd_contact_form_maker_version");
220
  wp_enqueue_script('jquery');
3
  * Plugin Name: Contact Form Builder
4
  * Plugin URI: http://web-dorado.com/products/wordpress-contact-form-builder.html
5
  * Description: Contact Form Builder is an advanced plugin to add contact forms into your website. It comes along with multiple default templates which can be customized.
6
+ * Version: 1.0.12
7
+ * Author: WebDorado
8
+ * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
11
  define('WD_CFM_DIR', WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__)));
28
  $themes_page = add_submenu_page('manage_cfm', 'Themes', 'Themes', 'manage_options', 'themes_cfm', 'contact_form_maker');
29
 
30
  $licensing_plugins_page = add_submenu_page('manage_cfm', 'Licensing/Donation', 'Licensing/Donation', 'manage_options', 'licensing_cfm', 'contact_form_maker');
31
+ add_action('admin_print_styles-' . $licensing_plugins_page, 'contact_form_maker_licensing_styles');
32
 
33
+ $featured_plugins_page = add_submenu_page('manage_cfm', 'Featured Plugins', 'Featured Plugins', 'manage_options', 'featured_plugins_cfm', 'cfm_featured');
 
34
 
35
  $uninstall_page = add_submenu_page('manage_cfm', 'Uninstall', 'Uninstall', 'manage_options', 'uninstall_cfm', 'contact_form_maker');
36
  add_action('admin_print_styles-' . $uninstall_page, 'contact_form_maker_styles');
41
  function contact_form_maker() {
42
  require_once(WD_CFM_DIR . '/framework/WDW_CFM_Library.php');
43
  $page = WDW_CFM_Library::get('page');
44
+ if (($page != '') && (($page == 'manage_cfm') || ($page == 'submissions_cfm') || ($page == 'blocked_ips_cfm') || ($page == 'themes_cfm') || ($page == 'licensing_cfm') || ($page == 'uninstall_cfm') || ($page == 'CFMShortcode'))) {
45
  require_once (WD_CFM_DIR . '/admin/controllers/CFMController' . ucfirst(strtolower($page)) . '.php');
46
  $controller_class = 'CFMController' . ucfirst(strtolower($page));
47
  $controller = new $controller_class();
49
  }
50
  }
51
 
52
+ function cfm_featured() {
53
+ require_once(WD_CFM_DIR . '/featured/featured.php');
54
+ wp_register_style('cfm_featured', WD_CFM_URL . '/featured/style.css', array(), get_option("wd_contact_form_maker_version"));
55
+ wp_print_styles('cfm_featured');
56
+ spider_featured('contact-form-builder');
57
+ }
58
+
59
  add_action('wp_ajax_ContactFormMakerPreview', 'contact_form_maker_ajax');
60
  add_action('wp_ajax_ContactFormmakerwdcaptcha', 'contact_form_maker_ajax'); // Generete captcha image and save it code in session.
61
  add_action('wp_ajax_nopriv_ContactFormmakerwdcaptcha', 'contact_form_maker_ajax'); // Generete captcha image and save it code in session for all users.
157
  // Activate plugin.
158
  function contact_form_maker_activate() {
159
  $version = get_option("wd_contact_form_maker_version");
160
+ $new_version = '1.0.12';
161
  if ($version && version_compare($version, $new_version, '<')) {
162
  require_once WD_CFM_DIR . "/contact-form-builder-update.php";
163
  contact_form_maker_update($version);
211
  wp_enqueue_script('contact_form_maker_htmlmixed', WD_CFM_URL . '/js/layout/htmlmixed.js', array(), '1.0.0');
212
  }
213
 
 
 
 
 
 
214
  function contact_form_maker_styles() {
215
  wp_enqueue_style('contact_form_maker_tables', WD_CFM_URL . '/css/contact_form_maker_tables.css', array(), get_option("wd_contact_form_maker_version"));
216
  }
218
  wp_enqueue_script('contact_form_maker_admin', WD_CFM_URL . '/js/contact_form_maker_admin.js', array(), get_option("wd_contact_form_maker_version"));
219
  }
220
 
221
+ function contact_form_maker_licensing_styles() {
222
+ wp_enqueue_style('ontact_form_maker_licensing', WD_CFM_URL . '/css/contact_form_maker_licensing.css');
223
+ }
224
+
225
  function contact_form_maker_front_end_scripts() {
226
  $version = get_option("wd_contact_form_maker_version");
227
  wp_enqueue_script('jquery');
css/contact_form_maker_featured_plugins.css DELETED
@@ -1,81 +0,0 @@
1
- #main_featured_plugins_page #featured-plugins-list {
2
- position:relative;
3
- margin:0px auto;
4
- width:90%;
5
- height:auto;
6
- display:table;
7
- list-style:none;
8
- }
9
-
10
- #main_featured_plugins_page #featured-plugins-list li {
11
- display:block;
12
- height:113px;
13
- padding:15px 5% 15px 5%;
14
- margin:0px 0px 12px 0px;
15
- background:#ededed;
16
- }
17
-
18
- #main_featured_plugins_page #featured-plugins-list li .product {
19
- position:relative;
20
- float:left;
21
- width:35%;
22
- height:113px;
23
- }
24
-
25
- #main_featured_plugins_page #featured-plugins-list li .title {
26
- float:left;
27
- height:113px;
28
- width:90%;
29
- margin:0px 0px 0px 109px;
30
- background:#cacaca;
31
- border-top-right-radius:3px;
32
- border-bottom-right-radius:3px;
33
- }
34
-
35
- #main_featured_plugins_page #featured-plugins-list li.photo-gallery .product {background:url("images/photo-gallery.jpg") left center no-repeat;}
36
- #main_featured_plugins_page #featured-plugins-list li.twitter-widget .product {background:url("images/twitter-widget.jpg") left center no-repeat;}
37
- #main_featured_plugins_page #featured-plugins-list li.form-maker .product {background:url("images/form.jpg") left center no-repeat;}
38
- #main_featured_plugins_page #featured-plugins-list li.catalog .product {background:url("images/catalog.jpg") left center no-repeat;}
39
- #main_featured_plugins_page #featured-plugins-list li.contact-maker .product {background:url("images/contact.maker.jpg") left center no-repeat;}
40
- #main_featured_plugins_page #featured-plugins-list li.contacts .product {background:url("images/contacts.jpg") left center no-repeat;}
41
- #main_featured_plugins_page #featured-plugins-list li.facebook .product {background:url("images/facebook.jpg") left center no-repeat;}
42
- #main_featured_plugins_page #featured-plugins-list li.faq .product {background:url("images/faq.jpg") left center no-repeat;}
43
- #main_featured_plugins_page #featured-plugins-list li.flash-calendar .product {background:url("images/flash.calendar.jpg") left center no-repeat;}
44
- #main_featured_plugins_page #featured-plugins-list li.folder-menu .product {background:url("images/folder.menu.jpg") left center no-repeat;}
45
- #main_featured_plugins_page #featured-plugins-list li.player .product {background:url("images/player.jpg") left center no-repeat;}
46
- #main_featured_plugins_page #featured-plugins-list li.spider-calendar .product {background:url("images/spider.calendar.jpg") left center no-repeat;}
47
- #main_featured_plugins_page #featured-plugins-list li.zoom .product {background:url("images/zoom.jpg") left center no-repeat;}
48
-
49
-
50
- #main_featured_plugins_page #featured-plugins-list li .title .heading {
51
- display:block;
52
- position:relative;
53
- font-size:24px;
54
- color:#014f73;
55
- margin:30px 0px -10px 20px;
56
- }
57
-
58
- #main_featured_plugins_page #featured-plugins-list li .title p {
59
- font-size:14px;
60
- color:#444;
61
- margin-left:20px;
62
- }
63
-
64
- #main_featured_plugins_page #featured-plugins-list li .description {
65
- float:right;
66
- width:50%;
67
- height:113px;
68
- }
69
-
70
- #main_featured_plugins_page #featured-plugins-list li .description p {
71
- text-align:right;
72
- }
73
-
74
- #main_featured_plugins_page #featured-plugins-list li .description a.download, #main_featured_plugins_page #featured-plugins-list li .description a.download:link, #main_featured_plugins_page #featured-plugins-list li .description a.download:visited {
75
- display:block;
76
- width:106px;
77
- height:32px;
78
- text-indent:-9999px;
79
- background:url(images/download.jpg) left top no-repeat;
80
- float:right;
81
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/contact_form_maker_licensing.css ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .data-bordered th {
2
+ background-color: #106EA2;
3
+ border-left: solid 1px #f28705;
4
+ border-top: none;
5
+ border-right: solid 1px #f28705;
6
+ color: #ffffff;
7
+ font: bold 0.85em;
8
+ font-size: 30px;
9
+ line-height: normal;
10
+ text-transform: none;
11
+ }
12
+
13
+ .data-bordered td.yes {
14
+ background-image: url("images/Plus.png");
15
+ }
16
+ .data-bordered th,
17
+ .data-bordered td {
18
+ border-left: solid 1px #b4b4b4;
19
+ border-top: solid 1px #b4b4b4;
20
+ border-right: solid 1px #b4b4b4;
21
+ padding: 5px 10px;
22
+ vertical-align: top;
23
+ }
24
+ .data-bordered {
25
+ color: #555;
26
+ border-bottom: 1px solid #B4B4B4;
27
+ border-collapse: collapse;
28
+ border-spacing: 0;
29
+ margin: 10px 0px;
30
+ text-align: center;
31
+ width: 543px;
32
+ }
33
+ .data-bordered .alt td {
34
+ background-color: #E5E5E5;
35
+ }
36
+ .data-bordered td {
37
+ font-size: 13px;
38
+ line-height: 15px;
39
+ text-align:left;
40
+ vertical-align: middle;
41
+ }
42
+ .data-bordered td.no,
43
+ .data-bordered td.yes {
44
+ background-position: center center;
45
+ background-repeat: no-repeat;
46
+ overflow: hidden;
47
+ text-indent: -9999px;
48
+ }
49
+ .data-bordered .alt td {
50
+ background-color: #E5E5E5;
51
+ }
52
+ .data-bordered .icon-replace {
53
+ min-width: 74px;
54
+ }
css/images/Plus.png ADDED
Binary file
featured/featured.php ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function spider_featured($current_plugin = '') {
3
+ $plugins = array(
4
+ "form-maker" => array(
5
+ 'title' => 'Form Maker',
6
+ 'text' => 'Wordpress form builder plugin',
7
+ 'content' => 'Form Maker is a modern and advanced tool for creating WordPress forms easily and fast.',
8
+ 'href' => 'http://web-dorado.com/products/wordpress-form.html'
9
+ ),
10
+ "photo-gallery" => array(
11
+ 'title' => 'Photo Gallery',
12
+ 'text' => 'WordPress Photo Gallery plugin',
13
+ 'content' => 'Photo Gallery is a fully responsive WordPress Gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages, as well as different widgets.',
14
+ 'href' => 'http://web-dorado.com/products/wordpress-photo-gallery-plugin.html'
15
+ ),
16
+ "contact-form-builder" => array(
17
+ 'title' => 'Contact Form Builder',
18
+ 'text' => 'WordPress contact form builder plugin',
19
+ 'content' => 'WordPress Contact Form Builder is an intuitive tool for creating contact forms.',
20
+ 'href' => 'http://web-dorado.com/products/wordpress-contact-form-builder.html'
21
+ ),
22
+ "slider" => array(
23
+ 'title' => 'Slider WD',
24
+ 'text' => 'WordPress slider plugin',
25
+ 'content' => 'Slider WD is a responsive plugin for adding sliders to your site. Slides can use individual effects as well as effects for the layers (textual content, images, social sharing buttons).',
26
+ 'href' => 'http://web-dorado.com/products/wordpress-slider-plugin.html'
27
+ ),
28
+ "contact-form-maker" => array(
29
+ 'title' => 'Contact Form Maker',
30
+ 'text' => 'WordPress contact form maker plugin',
31
+ 'content' => 'WordPress Contact Form Maker is an advanced and easy-to-use tool for creating forms.',
32
+ 'href' => 'http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html'
33
+ ),
34
+ "spider-calendar" => array(
35
+ 'title' => 'Spider Calendar',
36
+ 'text' => 'WordPress event calendar plugin',
37
+ 'content' => 'Spider Event Calendar is a highly configurable product which allows you to have multiple organized events.',
38
+ 'href' => 'http://web-dorado.com/products/wordpress-calendar.html'
39
+ ),
40
+ "catalog" => array(
41
+ 'title' => 'Spider Catalog',
42
+ 'text' => 'WordPress product catalog plugin',
43
+ 'content' => 'Spider Catalog for WordPress is a convenient tool for organizing the products represented on your website into catalogs.',
44
+ 'href' => 'http://web-dorado.com/products/wordpress-catalog.html'
45
+ ),
46
+ "player" => array(
47
+ 'title' => 'Video Player',
48
+ 'text' => 'WordPress Video player plugin',
49
+ 'content' => 'Spider Video Player for WordPress is a Flash & HTML5 video player plugin that allows you to easily add videos to your website with the possibility',
50
+ 'href' => 'http://web-dorado.com/products/wordpress-player.html'
51
+ ),
52
+ "contacts" => array(
53
+ 'title' => 'Spider Contacts',
54
+ 'text' => 'Wordpress staff list plugin',
55
+ 'content' => 'Spider Contacts helps you to display information about the group of people more intelligible, effective and convenient.',
56
+ 'href' => 'http://web-dorado.com/products/wordpress-contacts-plugin.html'
57
+ ),
58
+ "facebook" => array(
59
+ 'title' => 'Spider Facebook',
60
+ 'text' => 'WordPress Facebook plugin',
61
+ 'content' => 'Spider Facebook is a WordPress integration tool for Facebook.It includes all the available Facebook social plugins and widgets to be added to your web',
62
+ 'href' => 'http://web-dorado.com/products/wordpress-facebook.html'
63
+ ),
64
+ "twitter-widget" => array(
65
+ 'title' => 'Widget Twitter',
66
+ 'text' => 'WordPress Widget Twitter plugin',
67
+ 'content' => 'The Widget Twitter plugin lets you to fully integrate your WordPress site with your Twitter account.',
68
+ 'href' => 'http://web-dorado.com/products/wordpress-twitter-integration-plugin.html'
69
+ ),
70
+ "faq" => array(
71
+ 'title' => 'Spider FAQ',
72
+ 'text' => 'WordPress FAQ Plugin',
73
+ 'content' => 'The Spider FAQ WordPress plugin is for creating an FAQ (Frequently Asked Questions) section for your website.',
74
+ 'href' => 'http://web-dorado.com/products/wordpress-faq-plugin.html'
75
+ ),
76
+ "zoom" => array(
77
+ 'title' => 'Zoom',
78
+ 'text' => 'WordPress text zoom plugin',
79
+ 'content' => 'Zoom enables site users to resize the predefined areas of the web site.',
80
+ 'href' => 'http://web-dorado.com/products/wordpress-zoom.html'
81
+ ),
82
+ "flash-calendar" => array(
83
+ 'title' => 'Flash Calendar',
84
+ 'text' => 'WordPress flash calendar plugin',
85
+ 'content' => 'Spider Flash Calendar is a highly configurable Flash calendar plugin which allows you to have multiple organized events.',
86
+ 'href' => 'http://web-dorado.com/products/wordpress-events-calendar.html'
87
+ )
88
+ );
89
+ ?>
90
+ <div id="main_featured_plugins_page">
91
+ <h3>Featured Plugins</h3>
92
+ <ul id="featured-plugins-list">
93
+ <?php
94
+ foreach ($plugins as $key => $plugins) {
95
+ if ($current_plugin != $key) {
96
+ ?>
97
+ <li class="<?php echo $key; ?>">
98
+ <div class="product">
99
+ <div class="title">
100
+ <strong class="heading"><?php echo $plugins['title']; ?></strong>
101
+ <p><?php echo $plugins['text']; ?></p>
102
+ </div>
103
+ </div>
104
+ <div class="description">
105
+ <p><?php echo $plugins['content']; ?></p>
106
+ <a target="_blank" href="<?php echo $plugins['href']; ?>" class="download">Download</a>
107
+ </div>
108
+ </li>
109
+ <?php
110
+ }
111
+ }
112
+ ?>
113
+ </ul>
114
+ </div>
115
+ <?php
116
+ }
featured/images/catalog.jpg ADDED
Binary file
featured/images/contact-form-builder.jpg ADDED
Binary file
featured/images/contact-form-maker.jpg ADDED
Binary file
featured/images/contacts.jpg ADDED
Binary file
featured/images/download.jpg ADDED
Binary file
featured/images/facebook.jpg ADDED
Binary file
featured/images/faq.jpg ADDED
Binary file
featured/images/flash.calendar.jpg ADDED
Binary file
featured/images/folder.menu.jpg ADDED
Binary file
featured/images/form.jpg ADDED
Binary file
featured/images/photo-gallery.jpg ADDED
Binary file
featured/images/player.jpg ADDED
Binary file
featured/images/slider.jpg ADDED
Binary file
featured/images/spider-calendar.jpg ADDED
Binary file
featured/images/twitter-widget.jpg ADDED
Binary file
featured/images/zoom.jpg ADDED
Binary file
featured/style.css ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #main_featured_plugins_page #featured-plugins-list li.form-maker .product {background: url("images/form.jpg") left center no-repeat;}
2
+ #main_featured_plugins_page #featured-plugins-list li.photo-gallery .product {background: url("images/photo-gallery.jpg") left center no-repeat;}
3
+ #main_featured_plugins_page #featured-plugins-list li.slider .product {background: url("images/slider.jpg") left center no-repeat;}
4
+ #main_featured_plugins_page #featured-plugins-list li.twitter-widget .product {background: url("images/twitter-widget.jpg") left center no-repeat;}
5
+ #main_featured_plugins_page #featured-plugins-list li.catalog .product {background: url("images/catalog.jpg") left center no-repeat;}
6
+ #main_featured_plugins_page #featured-plugins-list li.contact-form-maker .product {background: url("images/contact-form-maker.jpg") left center no-repeat;}
7
+ #main_featured_plugins_page #featured-plugins-list li.contact-form-builder .product {background: url("images/contact-form-builder.jpg") left center no-repeat;}
8
+ #main_featured_plugins_page #featured-plugins-list li.contacts .product {background: url("images/contacts.jpg") left center no-repeat;}
9
+ #main_featured_plugins_page #featured-plugins-list li.facebook .product {background: url("images/facebook.jpg") left center no-repeat;}
10
+ #main_featured_plugins_page #featured-plugins-list li.faq .product {background: url("images/faq.jpg") left center no-repeat;}
11
+ #main_featured_plugins_page #featured-plugins-list li.flash-calendar .product {background: url("images/flash.calendar.jpg") left center no-repeat;}
12
+ #main_featured_plugins_page #featured-plugins-list li.folder-menu .product {background: url("images/folder.menu.jpg") left center no-repeat;}
13
+ #main_featured_plugins_page #featured-plugins-list li.player .product {background: url("images/player.jpg") left center no-repeat;}
14
+ #main_featured_plugins_page #featured-plugins-list li.spider-calendar .product {background: url("images/spider-calendar.jpg") left center no-repeat;}
15
+ #main_featured_plugins_page #featured-plugins-list li.zoom .product {background: url("images/zoom.jpg") left center no-repeat;}
16
+
17
+ #main_featured_plugins_page * {
18
+ color: #444;
19
+ font-family: "Open Sans",sans-serif;
20
+ padding: 0;
21
+ }
22
+
23
+ #main_featured_plugins_page p {
24
+ font-size: 13px;
25
+ line-height: 1.5;
26
+ margin-right: 0px;
27
+ margin-top: 7px;
28
+ }
29
+
30
+ #main_featured_plugins_page h3 {
31
+ border-bottom: 2px solid rgb(111, 111, 111);
32
+ color: rgb(111, 111, 111);
33
+ font-family: Segoe UI;
34
+ font-size: 30px;
35
+ margin: 0px;
36
+ padding: 20px 0;
37
+ width: 99%;
38
+ }
39
+
40
+ #main_featured_plugins_page #featured-plugins-list {
41
+ display: table;
42
+ height: auto;
43
+ list-style: none;
44
+ margin: 0;
45
+ position: relative;
46
+ width: 99%;
47
+ }
48
+
49
+ #main_featured_plugins_page #featured-plugins-list li {
50
+ background: #ededed;
51
+ display: block;
52
+ height: 113px;
53
+ margin: 0px 0px 12px 0px;
54
+ padding: 15px 5%;
55
+ }
56
+
57
+ #main_featured_plugins_page #featured-plugins-list li .product {
58
+ float: left;
59
+ height: 113px;
60
+ position: relative;
61
+ width: 35%;
62
+ }
63
+
64
+ #main_featured_plugins_page #featured-plugins-list li .title {
65
+ background: #cacaca;
66
+ border-top-right-radius: 3px;
67
+ border-bottom-right-radius: 3px;
68
+ float: left;
69
+ height: 113px;
70
+ margin: 0px 0px 0px 109px;
71
+ width: 90%;
72
+ }
73
+
74
+ #main_featured_plugins_page #featured-plugins-list li .title .heading {
75
+ color: #014f73;
76
+ display: block;
77
+ font-size: 24px;
78
+ margin: 25px 0 0 20px;
79
+ position: relative;
80
+ }
81
+
82
+ #main_featured_plugins_page #featured-plugins-list li .title p {
83
+ color: #444;
84
+ font-size: 14px;
85
+ margin-left: 20px;
86
+ }
87
+
88
+ #main_featured_plugins_page #featured-plugins-list li .description {
89
+ float: right;
90
+ height: 113px;
91
+ width: 50%;
92
+ }
93
+
94
+ #main_featured_plugins_page #featured-plugins-list li .description p {
95
+ text-align: right;
96
+ }
97
+
98
+ #main_featured_plugins_page #featured-plugins-list li .description a.download,
99
+ #main_featured_plugins_page #featured-plugins-list li .description a.download:link,
100
+ #main_featured_plugins_page #featured-plugins-list li .description a.download:visited {
101
+ background: url("images/download.jpg") left top no-repeat;
102
+ display: block;
103
+ float: right;
104
+ height: 32px;
105
+ text-indent: -9999px;
106
+ width: 106px;
107
+ }
framework/WDW_CFM_Library.php CHANGED
@@ -171,8 +171,8 @@ class WDW_CFM_Library {
171
  }
172
  ?>
173
  <script type="text/javascript">
174
- function spider_page(x, y) {
175
- var items_county = <?php echo $items_county; ?>;
176
  switch (y) {
177
  case 1:
178
  if (x >= items_county) {
@@ -201,6 +201,19 @@ class WDW_CFM_Library {
201
  }
202
  document.getElementById('<?php echo $form_id; ?>').submit();
203
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  </script>
205
  <div class="tablenav-pages">
206
  <span class="displaying-num">
@@ -233,7 +246,10 @@ class WDW_CFM_Library {
233
  <a class="<?php echo $first_page; ?>" title="Go to the first page" href="javascript:spider_page(<?php echo $page_number; ?>,-2);">«</a>
234
  <a class="<?php echo $prev_page; ?>" title="Go to the previous page" href="javascript:spider_page(<?php echo $page_number; ?>,-1);">‹</a>
235
  <span class="paging-input">
236
- <span class="total-pages"><?php echo $page_number; ?></span> of <span class="total-pages">
 
 
 
237
  <?php echo $items_county; ?>
238
  </span>
239
  </span>
@@ -292,8 +308,8 @@ class WDW_CFM_Library {
292
  }
293
  ?>
294
  <script type="text/javascript">
 
295
  function spider_page(x, y) {
296
- var items_county = <?php echo $items_county; ?>;
297
  switch (y) {
298
  case 1:
299
  if (x >= items_county) {
@@ -322,6 +338,20 @@ class WDW_CFM_Library {
322
  }
323
  spider_ajax_save('<?php echo $form_id; ?>');
324
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
325
  </script>
326
  <div id="tablenav-pages" class="tablenav-pages">
327
  <span class="displaying-num">
@@ -354,7 +384,10 @@ class WDW_CFM_Library {
354
  <a class="<?php echo $first_page; ?>" title="Go to the first page" onclick="spider_page(<?php echo $page_number; ?>,-2)">«</a>
355
  <a class="<?php echo $prev_page; ?>" title="Go to the previous page" onclick="spider_page(<?php echo $page_number; ?>,-1)">‹</a>
356
  <span class="paging-input">
357
- <span class="total-pages"><?php echo $page_number; ?></span> of <span class="total-pages">
 
 
 
358
  <?php echo $items_county; ?>
359
  </span>
360
  </span>
171
  }
172
  ?>
173
  <script type="text/javascript">
174
+ var items_county = <?php echo $items_county; ?>;
175
+ function spider_page(x, y) {
176
  switch (y) {
177
  case 1:
178
  if (x >= items_county) {
201
  }
202
  document.getElementById('<?php echo $form_id; ?>').submit();
203
  }
204
+ function check_enter_key(e) {
205
+ var key_code = (e.keyCode ? e.keyCode : e.which);
206
+ if (key_code == 13) { /*Enter keycode*/
207
+ if (jQuery('#current_page').val() >= items_county) {
208
+ document.getElementById('page_number').value = items_county;
209
+ }
210
+ else {
211
+ document.getElementById('page_number').value = jQuery('#current_page').val();
212
+ }
213
+ return true;
214
+ }
215
+ return true;
216
+ }
217
  </script>
218
  <div class="tablenav-pages">
219
  <span class="displaying-num">
246
  <a class="<?php echo $first_page; ?>" title="Go to the first page" href="javascript:spider_page(<?php echo $page_number; ?>,-2);">«</a>
247
  <a class="<?php echo $prev_page; ?>" title="Go to the previous page" href="javascript:spider_page(<?php echo $page_number; ?>,-1);">‹</a>
248
  <span class="paging-input">
249
+ <span class="total-pages">
250
+ <input class="current_page" id="current_page" name="current_page" value="<?php echo $page_number; ?>" onkeypress="return check_enter_key(event)" title="Go to the page" type="text" size="1" />
251
+ </span> of
252
+ <span class="total-pages">
253
  <?php echo $items_county; ?>
254
  </span>
255
  </span>
308
  }
309
  ?>
310
  <script type="text/javascript">
311
+ var items_county = <?php echo $items_county; ?>;
312
  function spider_page(x, y) {
 
313
  switch (y) {
314
  case 1:
315
  if (x >= items_county) {
338
  }
339
  spider_ajax_save('<?php echo $form_id; ?>');
340
  }
341
+ function check_enter_key(e) {
342
+ var key_code = (e.keyCode ? e.keyCode : e.which);
343
+ if (key_code == 13) { /*Enter keycode*/
344
+ if (jQuery('#current_page').val() >= items_county) {
345
+ document.getElementById('page_number').value = items_county;
346
+ }
347
+ else {
348
+ document.getElementById('page_number').value = jQuery('#current_page').val();
349
+ }
350
+ spider_ajax_save('<?php echo $form_id; ?>');
351
+ return false;
352
+ }
353
+ return true;
354
+ }
355
  </script>
356
  <div id="tablenav-pages" class="tablenav-pages">
357
  <span class="displaying-num">
384
  <a class="<?php echo $first_page; ?>" title="Go to the first page" onclick="spider_page(<?php echo $page_number; ?>,-2)">«</a>
385
  <a class="<?php echo $prev_page; ?>" title="Go to the previous page" onclick="spider_page(<?php echo $page_number; ?>,-1)">‹</a>
386
  <span class="paging-input">
387
+ <span class="total-pages">
388
+ <input class="current_page" id="current_page" name="current_page" value="<?php echo $page_number; ?>" onkeypress="return check_enter_key(event)" title="Go to the page" type="text" size="1" />
389
+ </span> of
390
+ <span class="total-pages">
391
  <?php echo $items_county; ?>
392
  </span>
393
  </span>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-contact-form-builder.html
4
  Tags: form, forms, contact form, contact forms, contact form plugin,contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contac forms, custom form,Contact Form Builder with recaptcha, contact form with google map, feedback form, feedback forms, contact us, wordpress contact form, email form, feedback, web form, contact me, email, contact manager, contact us form
5
  Requires at least: 3.0
6
  Tested up to: 4.0
7
- Stable tag: 1.0.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -42,6 +42,9 @@ After submitting the form, the users might get a custom text and even receive an
42
  * Possibility of sending the copy of the submitted data to the user.
43
  * Google ReCaptcha support for avoiding spam.
44
  * Possibility to change the form layout using the corresponding section.
 
 
 
45
 
46
  Upgrade to [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html) to add features:
47
 
4
  Tags: form, forms, contact form, contact forms, contact form plugin,contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contac forms, custom form,Contact Form Builder with recaptcha, contact form with google map, feedback form, feedback forms, contact us, wordpress contact form, email form, feedback, web form, contact me, email, contact manager, contact us form
5
  Requires at least: 3.0
6
  Tested up to: 4.0
7
+ Stable tag: 1.0.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
42
  * Possibility of sending the copy of the submitted data to the user.
43
  * Google ReCaptcha support for avoiding spam.
44
  * Possibility to change the form layout using the corresponding section.
45
+ * Preview possibility for each form at the Manager Section.
46
+ * Possibility to create required fields.
47
+ * Support for displaying custom text after hitting submit button, as well as redirection to a custom page
48
 
49
  Upgrade to [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html) to add features:
50