Version Description
Download this release
Release Info
Developer | bestwebsoft |
Plugin | Contact Form by BestWebSoft |
Version | 2011.2.02 |
Comparing to | |
See all releases |
Code changes from version 2011.2.01 to 2011.2.02
- contact_form.php +5 -5
- readme.txt +7 -1
contact_form.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Form Plugin
|
|
4 |
Plugin URI: http://bestwebsoft.com/plugin/
|
5 |
Description: Plugin for portfolio.
|
6 |
Author: BestWebSoft
|
7 |
-
Version: 2.
|
8 |
Author URI: http://bestwebsoft.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
@@ -72,7 +72,7 @@ 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',
|
76 |
|
77 |
//call register settings function
|
78 |
add_action( 'admin_init', 'cntctfrm_settings' );
|
@@ -137,7 +137,7 @@ if( ! function_exists( 'cntctfrm_settings_page' ) ) {
|
|
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="
|
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.
|
@@ -355,7 +355,7 @@ function cntctfrm_plugin_action_links( $links, $file ) {
|
|
355 |
if ( ! $this_plugin ) $this_plugin = plugin_basename(__FILE__);
|
356 |
|
357 |
if ( $file == $this_plugin ){
|
358 |
-
$settings_link = '<a href="admin.php?page=
|
359 |
array_unshift( $links, $settings_link );
|
360 |
}
|
361 |
return $links;
|
@@ -364,7 +364,7 @@ function cntctfrm_plugin_action_links( $links, $file ) {
|
|
364 |
function cntctfrm_register_plugin_links($links, $file) {
|
365 |
$base = plugin_basename(__FILE__);
|
366 |
if ($file == $base) {
|
367 |
-
$links[] = '<a href="admin.php?page=
|
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 |
}
|
4 |
Plugin URI: http://bestwebsoft.com/plugin/
|
5 |
Description: Plugin for portfolio.
|
6 |
Author: BestWebSoft
|
7 |
+
Version: 2.02
|
8 |
Author URI: http://bestwebsoft.com/
|
9 |
License: GPLv2 or later
|
10 |
*/
|
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', "contact_form.php", 'cntctfrm_settings_page');
|
76 |
|
77 |
//call register settings function
|
78 |
add_action( 'admin_init', 'cntctfrm_settings' );
|
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="admin.php?page=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.
|
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.php">' . __('Settings', 'cntctfrm_plugin') . '</a>';
|
359 |
array_unshift( $links, $settings_link );
|
360 |
}
|
361 |
return $links;
|
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.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 |
}
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ 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.
|
9 |
|
10 |
Add Contact Form to your WordPress website.
|
11 |
|
@@ -47,6 +47,9 @@ Contact Form allows you to add a feedback form easilly and simply to a post or a
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
|
|
|
|
|
|
50 |
= 2.01 =
|
51 |
*Usability at the settings page of plugin was improved.
|
52 |
|
@@ -64,6 +67,9 @@ Contact Form allows you to add a feedback form easilly and simply to a post or a
|
|
64 |
|
65 |
== Upgrade Notice ==
|
66 |
|
|
|
|
|
|
|
67 |
= 2.01 =
|
68 |
Usability at the settings page of plugin was improved.
|
69 |
|
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.02
|
9 |
|
10 |
Add Contact Form to your WordPress website.
|
11 |
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 2.02 =
|
51 |
+
*The bug of the setting page link is fixed in this version. Please upgrade the plugin immediately. Thank you
|
52 |
+
|
53 |
= 2.01 =
|
54 |
*Usability at the settings page of plugin was improved.
|
55 |
|
67 |
|
68 |
== Upgrade Notice ==
|
69 |
|
70 |
+
= 2.02 =
|
71 |
+
The bug of the setting page link is fixed in this version. Please upgrade the plugin immediately. Thank you
|
72 |
+
|
73 |
= 2.01 =
|
74 |
Usability at the settings page of plugin was improved.
|
75 |
|