Version Description
Download this release
Release Info
Developer | bestwebsoft |
Plugin | Contact Form by BestWebSoft |
Version | 2011.2.01 |
Comparing to | |
See all releases |
Code changes from version 2011.05.26 to 2011.2.01
- contact_form.php +119 -63
- images/icon_16.png +0 -0
- images/icon_16_c.png +0 -0
- images/icon_36.png +0 -0
- readme.txt +26 -2
- screenshot-2.jpg +0 -0
contact_form.php
CHANGED
@@ -1,18 +1,14 @@
|
|
1 |
<?php
|
2 |
-
/**
|
3 |
-
* @package Contact Form Plugin
|
4 |
-
* @version 1
|
5 |
-
*/
|
6 |
/*
|
7 |
Plugin Name: Contact Form Plugin
|
8 |
Plugin URI: http://bestwebsoft.com/plugin/
|
9 |
-
Description: Plugin for
|
10 |
Author: BestWebSoft
|
11 |
-
Version:
|
12 |
Author URI: http://bestwebsoft.com/
|
13 |
License: GPLv2 or later
|
14 |
*/
|
15 |
-
/* Copyright 2011 BestWebSoft (
|
16 |
|
17 |
This program is free software; you can redistribute it and/or modify
|
18 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -29,10 +25,54 @@ License: GPLv2 or later
|
|
29 |
*/
|
30 |
wp_enqueue_style( 'cntctfrmStylesheet', WP_PLUGIN_URL .'/contact-form-plugin/contact_form_style.css' );
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
// Add option page in admin menu
|
33 |
if( ! function_exists( 'cntctfrm_admin_menu' ) ) {
|
34 |
function cntctfrm_admin_menu() {
|
35 |
-
add_options_page( "Contact Form Options", "Contact Form", 'manage_options', __FILE__, 'cntctfrm_settings_page' );
|
|
|
|
|
36 |
|
37 |
//call register settings function
|
38 |
add_action( 'admin_init', 'cntctfrm_settings' );
|
@@ -81,7 +121,7 @@ if( ! function_exists( 'cntctfrm_settings_page' ) ) {
|
|
81 |
}
|
82 |
}
|
83 |
else {
|
84 |
-
if( $cntctfrm_options_submit['cntctfrm_custom_email'] != "" && preg_match( "/^(?:[a-z0-9]+(?:[-_\.]?[a-z0-9]+)?@[a-z0-9]+(
|
85 |
update_option( 'cntctfrm_options', $cntctfrm_options, '', 'yes' );
|
86 |
$message = "Options saved.";
|
87 |
}
|
@@ -93,33 +133,33 @@ if( ! function_exists( 'cntctfrm_settings_page' ) ) {
|
|
93 |
// Display form on the setting page
|
94 |
?>
|
95 |
<div class="wrap">
|
96 |
-
<div class="icon32" id="icon-options-general"
|
97 |
<h2>Contact Form Options</h2>
|
98 |
<div class="updated fade" <?php if( ! isset( $_REQUEST['cntctfrm_form_submit'] ) || $error != "" ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
|
99 |
<div class="error" <?php if( "" == $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $error; ?></strong></p></div>
|
100 |
<form method="post" action="options-general.php?page=contact-form-plugin/contact_form.php">
|
101 |
-
<span style="
|
102 |
-
<p>If you would like to add a Contact Form to your website, just copy and put this shortcode onto your post: [contact_form]</p>
|
103 |
If information in the below fields are empty then the message will be send to an address which was specified during registration.
|
104 |
</span>
|
105 |
<table class="form-table">
|
106 |
<tr valign="top">
|
107 |
-
<th scope="row" style="width:
|
108 |
<td>
|
109 |
-
<input type="radio" name="cntctfrm_select_email" value="user" <?php if($cntctfrm_options['cntctfrm_select_email'] == 'user') echo "checked=\"checked\" "; ?>/>
|
110 |
</td>
|
111 |
<td>
|
112 |
-
<input type="text" name="cntctfrm_user_email" value="<?php echo $cntctfrm_options['cntctfrm_user_email']; ?>" />
|
113 |
<span style="color: rgb(136, 136, 136); font-size: 10px;clear:both;">Set a name of user wo will get messages from a contact form.</span>
|
114 |
</td>
|
115 |
</tr>
|
116 |
<tr valign="top">
|
117 |
-
<th scope="row" style="width:
|
118 |
<td>
|
119 |
-
<input type="radio" name="cntctfrm_select_email" value="custom" <?php if($cntctfrm_options['cntctfrm_select_email'] == 'custom') echo "checked=\"checked\" "; ?>/>
|
120 |
</td>
|
121 |
<td>
|
122 |
-
<input type="text" name="cntctfrm_custom_email" value="<?php echo $cntctfrm_options['cntctfrm_custom_email']; ?>" />
|
123 |
<span style="color: rgb(136, 136, 136); font-size: 10px;clear:both;">Set an email address which will be used for messages receiving.</span>
|
124 |
</td>
|
125 |
</tr>
|
@@ -139,6 +179,7 @@ if( ! function_exists( 'cntctfrm_settings_page' ) ) {
|
|
139 |
if( ! function_exists( 'cntctfrm_display_form' ) ) {
|
140 |
function cntctfrm_display_form() {
|
141 |
global $error_message;
|
|
|
142 |
|
143 |
$result = "";
|
144 |
// If contact form submited
|
@@ -153,7 +194,7 @@ if( ! function_exists( 'cntctfrm_display_form' ) ) {
|
|
153 |
}
|
154 |
// If it is good
|
155 |
if( true === $result ) {
|
156 |
-
|
157 |
}
|
158 |
else if( false === $result )
|
159 |
{
|
@@ -162,59 +203,58 @@ if( ! function_exists( 'cntctfrm_display_form' ) ) {
|
|
162 |
}
|
163 |
else {
|
164 |
// Output form
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
<div style="text-align: left; padding-top: 5px;">
|
171 |
<label for="cntctfrm_contact_name">Name:<span class="required"> *</span></label>
|
172 |
-
</div>
|
173 |
-
|
174 |
-
<div style="text-align: left; color: red;"
|
175 |
-
|
176 |
-
<div style="text-align: left;">
|
177 |
-
<input class="text" type="text" size="40" value="
|
178 |
</div>
|
179 |
|
180 |
<div style="text-align: left;">
|
181 |
<label for="cntctfrm_contact_email">E-Mail Address:<span class="required"> *</span></label>
|
182 |
-
</div>
|
183 |
-
|
184 |
-
<div style="text-align: left; color: red;"
|
185 |
-
|
186 |
-
<div style="text-align: left;">
|
187 |
-
<input class="text" type="text" size="40" value="
|
188 |
</div>
|
189 |
|
190 |
<div style="text-align: left;">
|
191 |
<label for="cntctfrm_contact_subject1">Subject:<span class="required"> *</span></label>
|
192 |
-
</div>
|
193 |
-
|
194 |
-
<div style="text-align: left; color: red;"
|
195 |
-
|
196 |
-
<div style="text-align: left;">
|
197 |
-
<input class="text" type="text" size="40" value="
|
198 |
</div>
|
199 |
|
200 |
<div style="text-align: left;">
|
201 |
<label for="cntctfrm_contact_message">Message:<span class="required"> *</span></label>
|
202 |
-
</div>
|
203 |
-
|
204 |
-
<div style="text-align: left; color: red;"
|
205 |
-
|
206 |
-
<div style="text-align: left;">
|
207 |
-
<textarea rows="10" cols="30" name="cntctfrm_contact_message" id="cntctfrm_contact_message1"
|
208 |
-
</div>
|
209 |
-
|
210 |
|
211 |
-
<div style="text-align: left; padding-top: 8px;">
|
212 |
<input type="hidden" value="send" name="cntctfrm_contact_action">
|
213 |
<input type="submit" value="Submit" style="cursor: pointer; margin: 0pt; text-align: center;margin-bottom:10px;">
|
214 |
</div>
|
215 |
-
</form>
|
216 |
-
<?php
|
217 |
}
|
|
|
218 |
}
|
219 |
}
|
220 |
|
@@ -233,7 +273,7 @@ if( ! function_exists( 'cntctfrm_check_form' ) ) {
|
|
233 |
// Check information wich was input in fields
|
234 |
if( "" != $_REQUEST['cntctfrm_contact_name'] )
|
235 |
unset( $error_message['error_name'] );
|
236 |
-
if( "" != $_REQUEST['cntctfrm_contact_emai'] && preg_match( "/^(?:[a-z0-9]+(?:[-_\.]?[a-z0-9]+)?@[a-z0-9]+(
|
237 |
unset( $error_message['error_email'] );
|
238 |
if( "" != $_REQUEST['cntctfrm_contact_subject'] )
|
239 |
unset( $error_message['error_subject'] );
|
@@ -309,18 +349,34 @@ if( ! function_exists( 'cntctfrm_send_mail' ) ) {
|
|
309 |
}
|
310 |
}
|
311 |
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
|
|
|
|
318 |
}
|
319 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
}
|
|
|
321 |
}
|
322 |
|
323 |
-
|
|
|
|
|
|
|
|
|
|
|
324 |
add_shortcode( 'contact_form', 'cntctfrm_display_form' );
|
325 |
add_action( 'admin_menu', 'cntctfrm_admin_menu' );
|
326 |
|
1 |
<?php
|
|
|
|
|
|
|
|
|
2 |
/*
|
3 |
Plugin Name: Contact Form Plugin
|
4 |
Plugin URI: http://bestwebsoft.com/plugin/
|
5 |
+
Description: Plugin for portfolio.
|
6 |
Author: BestWebSoft
|
7 |
+
Version: 2.01
|
8 |
Author URI: http://bestwebsoft.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
+
/* Copyright 2011 BestWebSoft ( plugin@bestwebsoft.com )
|
12 |
|
13 |
This program is free software; you can redistribute it and/or modify
|
14 |
it under the terms of the GNU General Public License, version 2, as
|
25 |
*/
|
26 |
wp_enqueue_style( 'cntctfrmStylesheet', WP_PLUGIN_URL .'/contact-form-plugin/contact_form_style.css' );
|
27 |
|
28 |
+
if( ! function_exists( 'bws_plugin_header' ) ) {
|
29 |
+
function bws_plugin_header() {
|
30 |
+
global $post_type;
|
31 |
+
?>
|
32 |
+
<style>
|
33 |
+
#adminmenu #toplevel_page_my_new_menu div.wp-menu-image
|
34 |
+
{
|
35 |
+
background: url("<?php echo get_bloginfo('url');?>/wp-content/plugins/contact-form-plugin/images/icon_16.png") no-repeat scroll center center transparent;
|
36 |
+
}
|
37 |
+
#adminmenu #toplevel_page_my_new_menu:hover div.wp-menu-image,#adminmenu #toplevel_page_my_new_menu.wp-has-current-submenu div.wp-menu-image
|
38 |
+
{
|
39 |
+
background: url("<?php echo get_bloginfo('url');?>/wp-content/plugins/contact-form-plugin/images/icon_16_c.png") no-repeat scroll center center transparent;
|
40 |
+
}
|
41 |
+
.wrap #icon-options-general.icon32-bws
|
42 |
+
{
|
43 |
+
background: url("<?php echo get_bloginfo('url');?>/wp-content/plugins/contact-form-plugin/images/icon_36.png") no-repeat scroll left top transparent;
|
44 |
+
}
|
45 |
+
</style>
|
46 |
+
<?php
|
47 |
+
}
|
48 |
+
}
|
49 |
+
|
50 |
+
add_action('admin_head', 'bws_plugin_header');
|
51 |
+
|
52 |
+
if( ! function_exists( 'bws_add_menu_render' ) ) {
|
53 |
+
function bws_add_menu_render() {
|
54 |
+
global $title;
|
55 |
+
?>
|
56 |
+
<div class="wrap">
|
57 |
+
<div class="icon32 icon32-bws" id="icon-options-general"></div>
|
58 |
+
<h2><?php echo $title;?></h2>
|
59 |
+
<p><a href="http://wordpress.org/extend/plugins/captcha/">Captcha</a></p>
|
60 |
+
<p><a href="http://wordpress.org/extend/plugins/contact-form-plugin/">Contact Form</a></p>
|
61 |
+
<p><a href="http://wordpress.org/extend/plugins/facebook-button-plugin/">Facebook Like Button Plugin</a></p>
|
62 |
+
<p><a href="http://wordpress.org/extend/plugins/twitter-plugin/">Twitter Plugin</a></p>
|
63 |
+
<p><a href="http://wordpress.org/extend/plugins/portfolio/">Portfolio</a></p>
|
64 |
+
<span style="color: rgb(136, 136, 136); font-size: 10px;">If you have any questions, please contact us via plugin@bestwebsoft.com or fill in our contact form on our site <a href="http://bestwebsoft.com/contact/">http://bestwebsoft.com/contact/</a></span>
|
65 |
+
</div>
|
66 |
+
<?php
|
67 |
+
}
|
68 |
+
}
|
69 |
+
|
70 |
// Add option page in admin menu
|
71 |
if( ! function_exists( 'cntctfrm_admin_menu' ) ) {
|
72 |
function cntctfrm_admin_menu() {
|
73 |
+
//add_options_page( "Contact Form Options", "Contact Form", 'manage_options', __FILE__, 'cntctfrm_settings_page' );
|
74 |
+
add_menu_page(__('BWS Plugins'), __('BWS Plugins'), 'edit_themes', 'my_new_menu', 'bws_add_menu_render', " ", 90);
|
75 |
+
add_submenu_page('my_new_menu', 'Contact Form Options', 'Contact Form', 'edit_themes', __FILE__, 'cntctfrm_settings_page');
|
76 |
|
77 |
//call register settings function
|
78 |
add_action( 'admin_init', 'cntctfrm_settings' );
|
121 |
}
|
122 |
}
|
123 |
else {
|
124 |
+
if( $cntctfrm_options_submit['cntctfrm_custom_email'] != "" && preg_match( "/^(?:[a-z0-9]+(?:[-_\.]?[a-z0-9]+)?@[a-z0-9]+(?:[-\.]?[a-z0-9]+)?\.[a-z]{2,5})$/i", trim( $cntctfrm_options_submit['cntctfrm_custom_email'] ) ) ) {
|
125 |
update_option( 'cntctfrm_options', $cntctfrm_options, '', 'yes' );
|
126 |
$message = "Options saved.";
|
127 |
}
|
133 |
// Display form on the setting page
|
134 |
?>
|
135 |
<div class="wrap">
|
136 |
+
<div class="icon32 icon32-bws" id="icon-options-general"></div>
|
137 |
<h2>Contact Form Options</h2>
|
138 |
<div class="updated fade" <?php if( ! isset( $_REQUEST['cntctfrm_form_submit'] ) || $error != "" ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
|
139 |
<div class="error" <?php if( "" == $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $error; ?></strong></p></div>
|
140 |
<form method="post" action="options-general.php?page=contact-form-plugin/contact_form.php">
|
141 |
+
<span style="margin-bottom:15px;">
|
142 |
+
<p>If you would like to add a Contact Form to your website, just copy and put this shortcode onto your post or page: [contact_form]</p>
|
143 |
If information in the below fields are empty then the message will be send to an address which was specified during registration.
|
144 |
</span>
|
145 |
<table class="form-table">
|
146 |
<tr valign="top">
|
147 |
+
<th scope="row" style="width:195px;">Use email of wordpress user: </th>
|
148 |
<td>
|
149 |
+
<input type="radio" id="cntctfrm_select_email_user" name="cntctfrm_select_email" value="user" <?php if($cntctfrm_options['cntctfrm_select_email'] == 'user') echo "checked=\"checked\" "; ?>/>
|
150 |
</td>
|
151 |
<td>
|
152 |
+
<input type="text" name="cntctfrm_user_email" value="<?php echo $cntctfrm_options['cntctfrm_user_email']; ?>" onfocus="document.getElementById('cntctfrm_select_email_user').checked = true;" />
|
153 |
<span style="color: rgb(136, 136, 136); font-size: 10px;clear:both;">Set a name of user wo will get messages from a contact form.</span>
|
154 |
</td>
|
155 |
</tr>
|
156 |
<tr valign="top">
|
157 |
+
<th scope="row" style="width:195px;">Use this email: </th>
|
158 |
<td>
|
159 |
+
<input type="radio" id="cntctfrm_select_email_custom" name="cntctfrm_select_email" value="custom" <?php if($cntctfrm_options['cntctfrm_select_email'] == 'custom') echo "checked=\"checked\" "; ?>/>
|
160 |
</td>
|
161 |
<td>
|
162 |
+
<input type="text" name="cntctfrm_custom_email" value="<?php echo $cntctfrm_options['cntctfrm_custom_email']; ?>" onfocus="document.getElementById('cntctfrm_select_email_custom').checked = true;" />
|
163 |
<span style="color: rgb(136, 136, 136); font-size: 10px;clear:both;">Set an email address which will be used for messages receiving.</span>
|
164 |
</td>
|
165 |
</tr>
|
179 |
if( ! function_exists( 'cntctfrm_display_form' ) ) {
|
180 |
function cntctfrm_display_form() {
|
181 |
global $error_message;
|
182 |
+
$content = "";
|
183 |
|
184 |
$result = "";
|
185 |
// If contact form submited
|
194 |
}
|
195 |
// If it is good
|
196 |
if( true === $result ) {
|
197 |
+
$content .= __( "Thank you for contact.", "cmntfrm" );
|
198 |
}
|
199 |
else if( false === $result )
|
200 |
{
|
203 |
}
|
204 |
else {
|
205 |
// Output form
|
206 |
+
$content .= '<form method="post" id="cntctfrm_contact_form" action="" enctype="multipart/form-data">';
|
207 |
+
if( isset( $error_message['error_form'] ) ) {
|
208 |
+
$content .= '<div style="text-align: left; color: red;">'.$error_message['error_form'].'</div>';
|
209 |
+
}
|
210 |
+
$content .= '<div style="text-align: left; padding-top: 5px;">
|
|
|
211 |
<label for="cntctfrm_contact_name">Name:<span class="required"> *</span></label>
|
212 |
+
</div>';
|
213 |
+
if( isset( $error_message['error_name'] ) ) {
|
214 |
+
$content .= '<div style="text-align: left; color: red;">'.$error_message['error_name'].'</div>';
|
215 |
+
}
|
216 |
+
$content .= '<div style="text-align: left;">
|
217 |
+
<input class="text" type="text" size="40" value="'.$name.'" name="cntctfrm_contact_name" id="cntctfrm_contact_name" style="text-align: left; margin: 0;">
|
218 |
</div>
|
219 |
|
220 |
<div style="text-align: left;">
|
221 |
<label for="cntctfrm_contact_email">E-Mail Address:<span class="required"> *</span></label>
|
222 |
+
</div>';
|
223 |
+
if( isset( $error_message['error_email'] ) ) {
|
224 |
+
$content .= '<div style="text-align: left; color: red;">'.$error_message['error_email'].'</div>';
|
225 |
+
}
|
226 |
+
$content .= '<div style="text-align: left;">
|
227 |
+
<input class="text" type="text" size="40" value="'.$email.'" name="cntctfrm_contact_emai" id="cntctfrm_contact_email" style="text-align: left; margin: 0;">
|
228 |
</div>
|
229 |
|
230 |
<div style="text-align: left;">
|
231 |
<label for="cntctfrm_contact_subject1">Subject:<span class="required"> *</span></label>
|
232 |
+
</div>';
|
233 |
+
if( isset( $error_message['error_subject'] ) ) {
|
234 |
+
$content .= '<div style="text-align: left; color: red;">'.$error_message['error_subject'].'</div>';
|
235 |
+
}
|
236 |
+
$content .= '<div style="text-align: left;">
|
237 |
+
<input class="text" type="text" size="40" value="'.$subject.'" name="cntctfrm_contact_subject" id="cntctfrm_contact_subject" style="text-align: left; margin: 0;">
|
238 |
</div>
|
239 |
|
240 |
<div style="text-align: left;">
|
241 |
<label for="cntctfrm_contact_message">Message:<span class="required"> *</span></label>
|
242 |
+
</div>';
|
243 |
+
if( isset( $error_message['error_message'] ) ) {
|
244 |
+
$content .= '<div style="text-align: left; color: red;">'.$error_message['error_message'].'</div>';
|
245 |
+
}
|
246 |
+
$content .= '<div style="text-align: left;">
|
247 |
+
<textarea rows="10" cols="30" name="cntctfrm_contact_message" id="cntctfrm_contact_message1">'.$message.'</textarea>
|
248 |
+
</div>';
|
249 |
+
$content .= apply_filters( 'cntctfrm_display_captcha' , $error_message );
|
250 |
|
251 |
+
$content .= '<div style="text-align: left; padding-top: 8px;">
|
252 |
<input type="hidden" value="send" name="cntctfrm_contact_action">
|
253 |
<input type="submit" value="Submit" style="cursor: pointer; margin: 0pt; text-align: center;margin-bottom:10px;">
|
254 |
</div>
|
255 |
+
</form>';
|
|
|
256 |
}
|
257 |
+
return $content ;
|
258 |
}
|
259 |
}
|
260 |
|
273 |
// Check information wich was input in fields
|
274 |
if( "" != $_REQUEST['cntctfrm_contact_name'] )
|
275 |
unset( $error_message['error_name'] );
|
276 |
+
if( "" != $_REQUEST['cntctfrm_contact_emai'] && preg_match( "/^(?:[a-z0-9]+(?:[-_\.]?[a-z0-9]+)?@[a-z0-9]+(?:[-\.]?[a-z0-9]+)?\.[a-z]{2,5})$/i", trim( $_REQUEST['cntctfrm_contact_emai'] ) ) )
|
277 |
unset( $error_message['error_email'] );
|
278 |
if( "" != $_REQUEST['cntctfrm_contact_subject'] )
|
279 |
unset( $error_message['error_subject'] );
|
349 |
}
|
350 |
}
|
351 |
|
352 |
+
function cntctfrm_plugin_action_links( $links, $file ) {
|
353 |
+
//Static so we don't call plugin_basename on every plugin row.
|
354 |
+
static $this_plugin;
|
355 |
+
if ( ! $this_plugin ) $this_plugin = plugin_basename(__FILE__);
|
356 |
+
|
357 |
+
if ( $file == $this_plugin ){
|
358 |
+
$settings_link = '<a href="admin.php?page=contact-form-plugin/contact_form.php">' . __('Settings', 'cntctfrm_plugin') . '</a>';
|
359 |
+
array_unshift( $links, $settings_link );
|
360 |
}
|
361 |
+
return $links;
|
362 |
+
} // end function cntctfrm_plugin_action_links
|
363 |
+
|
364 |
+
function cntctfrm_register_plugin_links($links, $file) {
|
365 |
+
$base = plugin_basename(__FILE__);
|
366 |
+
if ($file == $base) {
|
367 |
+
$links[] = '<a href="admin.php?page=contact-form-plugin/contact_form.php">' . __('Settings','cntctfrm_plugin') . '</a>';
|
368 |
+
$links[] = '<a href="http://wordpress.org/extend/plugins/contact-form-plugin/faq/" target="_blank">' . __('FAQ','cntctfrm_plugin') . '</a>';
|
369 |
+
$links[] = '<a href="Mailto:plugin@bestwebsoft.com">' . __('Support','cntctfrm_plugin') . '</a>';
|
370 |
}
|
371 |
+
return $links;
|
372 |
}
|
373 |
|
374 |
+
// adds "Settings" link to the plugin action page
|
375 |
+
add_filter( 'plugin_action_links', 'cntctfrm_plugin_action_links',10,2);
|
376 |
+
|
377 |
+
//Additional links on the plugin page
|
378 |
+
add_filter( 'plugin_row_meta', 'cntctfrm_register_plugin_links',10,2);
|
379 |
+
|
380 |
add_shortcode( 'contact_form', 'cntctfrm_display_form' );
|
381 |
add_action( 'admin_menu', 'cntctfrm_admin_menu' );
|
382 |
|
images/icon_16.png
ADDED
Binary file
|
images/icon_16_c.png
ADDED
Binary file
|
images/icon_36.png
ADDED
Binary file
|
readme.txt
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
Contributors: bestwebsoft
|
3 |
Contributors: bestwebsoft
|
4 |
Donate link: http://bestwebsoft.com/
|
5 |
-
Tags: Contact Form, text, contact, form
|
6 |
Requires at least: 2.9
|
7 |
Tested up to: 3.1.3
|
8 |
-
Stable tag: 2011.
|
9 |
|
10 |
Add Contact Form to your WordPress website.
|
11 |
|
@@ -47,10 +47,34 @@ Contact Form allows you to add a feedback form easilly and simply to a post or a
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
= 1.00 =
|
51 |
*Ability to add Contact Form into a post. Ability to display form via shortcode.
|
52 |
|
53 |
== Upgrade Notice ==
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
= 1.00 =
|
56 |
Upgrade immediately.
|
2 |
Contributors: bestwebsoft
|
3 |
Contributors: bestwebsoft
|
4 |
Donate link: http://bestwebsoft.com/
|
5 |
+
Tags: Contact Form, text, contact, form, contacts, contakt form, request, contact me, feedback form, feedback, contact button, contact form plugin, contacts form plugin
|
6 |
Requires at least: 2.9
|
7 |
Tested up to: 3.1.3
|
8 |
+
Stable tag: 2011.2.01
|
9 |
|
10 |
Add Contact Form to your WordPress website.
|
11 |
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 2.01 =
|
51 |
+
*Usability at the settings page of plugin was improved.
|
52 |
+
|
53 |
+
= 1.03 =
|
54 |
+
*Contact form email adress bug is fixed.
|
55 |
+
|
56 |
+
= 1.02 =
|
57 |
+
*Display "thanks" message bug is fixed. Radio buttons automatic switching added (for settings page) after setting mouse cursor (clicking) into a text field.
|
58 |
+
|
59 |
+
= 1.01 =
|
60 |
+
*Contact form position bug is fixed.
|
61 |
+
|
62 |
= 1.00 =
|
63 |
*Ability to add Contact Form into a post. Ability to display form via shortcode.
|
64 |
|
65 |
== Upgrade Notice ==
|
66 |
|
67 |
+
= 2.01 =
|
68 |
+
Usability at the settings page of plugin was improved.
|
69 |
+
|
70 |
+
= 1.03 =
|
71 |
+
Contact form email adress bug is fixed. Upgrade immediately.
|
72 |
+
|
73 |
+
= 1.02 =
|
74 |
+
Display "thanks" message bug is fixed. Radio buttons automatic switching added (for settings page) after setting mouse cursor (clicking) into a text field. Upgrade immediately.
|
75 |
+
|
76 |
+
= 1.01 =
|
77 |
+
Contact form position bug is fixed. Upgrade immediately.
|
78 |
+
|
79 |
= 1.00 =
|
80 |
Upgrade immediately.
|
screenshot-2.jpg
CHANGED
Binary file
|