Version Description
- Notification email fixed
Download this release
Release Info
Developer | umarbajwa |
Plugin | Form Builder | Create Responsive Contact Forms |
Version | 1.5 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.5
admin/core/class/class-smuzform-entry-model.php
CHANGED
@@ -158,4 +158,4 @@ class SmuzForm_Entry_Model {
|
|
158 |
}
|
159 |
|
160 |
|
161 |
-
}
|
158 |
}
|
159 |
|
160 |
|
161 |
+
}
|
admin/core/class/class-smuzform-error-message.php
CHANGED
@@ -56,4 +56,4 @@ class SmuzForm_Error_Msg {
|
|
56 |
}
|
57 |
|
58 |
|
59 |
-
}
|
56 |
}
|
57 |
|
58 |
|
59 |
+
}
|
admin/core/class/class-smuzform-notification-manager.php
CHANGED
@@ -74,7 +74,7 @@ class SmuzForm_Notification_Manager extends SmuzForm_Form {
|
|
74 |
|
75 |
$subject = $this->processTemplate( $subject, $entry_id, $entry_data );
|
76 |
|
77 |
-
$fromText =
|
78 |
|
79 |
$message = $this->processTemplate( $template, $entry_id, $entry_data );
|
80 |
|
@@ -95,6 +95,13 @@ class SmuzForm_Notification_Manager extends SmuzForm_Form {
|
|
95 |
|
96 |
if ( preg_replace('/\s+/', '', $replyTo) !== '' )
|
97 |
$headers[] = "Reply-To: $replyTo" . "\r\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
|
99 |
$resp = wp_mail( $emailAddr, $subject, $message, $headers );
|
100 |
|
74 |
|
75 |
$subject = $this->processTemplate( $subject, $entry_id, $entry_data );
|
76 |
|
77 |
+
$fromText = $fromText;
|
78 |
|
79 |
$message = $this->processTemplate( $template, $entry_id, $entry_data );
|
80 |
|
95 |
|
96 |
if ( preg_replace('/\s+/', '', $replyTo) !== '' )
|
97 |
$headers[] = "Reply-To: $replyTo" . "\r\n";
|
98 |
+
|
99 |
+
if (!empty($fromText)) {
|
100 |
+
$headers[] = "From: $fromText" . "\r\n";
|
101 |
+
} else {
|
102 |
+
$adm_email = get_option('admin_email');
|
103 |
+
$headers[] = "From: WordPress <$adm_email>" . "\r\n";
|
104 |
+
}
|
105 |
|
106 |
$resp = wp_mail( $emailAddr, $subject, $message, $headers );
|
107 |
|
admin/views/add-ons/main.php
CHANGED
@@ -7,7 +7,9 @@
|
|
7 |
<li>Unobstructed access to new features</li>
|
8 |
</ul>
|
9 |
<br>
|
10 |
-
<
|
|
|
|
|
11 |
</div>
|
12 |
<div id="gr_wrapper" class="w3-row">
|
13 |
<div class="w3-card gr-item">
|
7 |
<li>Unobstructed access to new features</li>
|
8 |
</ul>
|
9 |
<br>
|
10 |
+
<form method="POST" action="http://sites.fastspring.com/wpscrolltotop/product/formbuilderpremium">
|
11 |
+
<p><a href="http://sites.fastspring.com/wpscrolltotop/product/formbuilderpremium"> <button id="premium_cta">Get Everything</button></a></p>
|
12 |
+
</form>
|
13 |
</div>
|
14 |
<div id="gr_wrapper" class="w3-row">
|
15 |
<div class="w3-card gr-item">
|
admin/views/notification/backbone/collection.php
CHANGED
@@ -38,10 +38,10 @@
|
|
38 |
<div class="form-inline">
|
39 |
<div class="form-group">
|
40 |
|
41 |
-
<label class="control-label inlineLabel" for="emailSenderName"><?php smuzform_translate_e( 'Sender
|
42 |
|
43 |
<input id="emailSenderName" type="text" class="form-control inlineField" value="<%= extraData.fromText %>" />
|
44 |
-
|
45 |
</div>
|
46 |
|
47 |
<div class="form-group">
|
@@ -175,7 +175,6 @@
|
|
175 |
<label class="control-label inlineLabel" for="emailReplyToEmail"><?php smuzform_translate_e( 'Reply-To' ) ?></label>
|
176 |
|
177 |
<input id="emailReplyToEmail" type="email" class="form-control inlineField" value="<%- extraData.replyToEmail %>" />
|
178 |
-
<p class="help-block"></p>
|
179 |
|
180 |
</div>
|
181 |
|
38 |
<div class="form-inline">
|
39 |
<div class="form-group">
|
40 |
|
41 |
+
<label class="control-label inlineLabel" for="emailSenderName"><?php smuzform_translate_e( 'Sender Email' ) ?></label>
|
42 |
|
43 |
<input id="emailSenderName" type="text" class="form-control inlineField" value="<%= extraData.fromText %>" />
|
44 |
+
<p class="help-block"><strong>Format:</strong><code> Name <emailAddress></code></p>
|
45 |
</div>
|
46 |
|
47 |
<div class="form-group">
|
175 |
<label class="control-label inlineLabel" for="emailReplyToEmail"><?php smuzform_translate_e( 'Reply-To' ) ?></label>
|
176 |
|
177 |
<input id="emailReplyToEmail" type="email" class="form-control inlineField" value="<%- extraData.replyToEmail %>" />
|
|
|
178 |
|
179 |
</div>
|
180 |
|
forms.php
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
/**
|
3 |
Plugin Name: Contact Form Add
|
4 |
Description: Most beautiful WordPress form builder plugin. A plugin you'll love creating forms.
|
5 |
-
Author:
|
6 |
Author URI: http://web-settler.com/form-builder/
|
7 |
Plugin URI: http://web-settler.com/form-builder/
|
8 |
-
Version: 1.
|
9 |
License: GPL V2+
|
10 |
**/
|
11 |
|
@@ -74,5 +74,4 @@ Executes WordPress action hooks attached to smuzform_loaded
|
|
74 |
|
75 |
Hook to this function using the plugins_loaded hook.
|
76 |
**/
|
77 |
-
smuzform_loaded();
|
78 |
-
|
2 |
/**
|
3 |
Plugin Name: Contact Form Add
|
4 |
Description: Most beautiful WordPress form builder plugin. A plugin you'll love creating forms.
|
5 |
+
Author: Web-Settler
|
6 |
Author URI: http://web-settler.com/form-builder/
|
7 |
Plugin URI: http://web-settler.com/form-builder/
|
8 |
+
Version: 1.5
|
9 |
License: GPL V2+
|
10 |
**/
|
11 |
|
74 |
|
75 |
Hook to this function using the plugins_loaded hook.
|
76 |
**/
|
77 |
+
smuzform_loaded();
|
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: umarbajwa
|
|
3 |
Requires at least: 3.7
|
4 |
Tested up to: 4.6
|
5 |
Tags: contact form, form, form creator, form builder, forms, contact form builder, contact form designer, contact forms, form maker, mailchimp forms, mailchimp form
|
6 |
-
Stable tag: 1.
|
7 |
Donate Link: http://web-settler.com/form-builder/
|
8 |
License: GPL V2 or latest
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -207,11 +207,17 @@ A: Yes, You can edit your entries from entry manager.
|
|
207 |
|
208 |
== Changelog ==
|
209 |
|
|
|
|
|
|
|
|
|
|
|
210 |
= 1.2 =
|
211 |
* Form Styler loaded with new features.
|
212 |
* Plugin core changes.
|
213 |
* AddOn added.
|
214 |
|
|
|
215 |
= 1.0.1 =
|
216 |
* Name field changes.
|
217 |
|
@@ -232,8 +238,11 @@ Contact form plugin give you the ability to apply conditional logic for your not
|
|
232 |
|
233 |
== Upgrade Notice ==
|
234 |
|
235 |
-
= 1.
|
236 |
-
|
|
|
|
|
|
|
237 |
|
238 |
= 1.2 =
|
239 |
* Form Styler loaded with new features.
|
3 |
Requires at least: 3.7
|
4 |
Tested up to: 4.6
|
5 |
Tags: contact form, form, form creator, form builder, forms, contact form builder, contact form designer, contact forms, form maker, mailchimp forms, mailchimp form
|
6 |
+
Stable tag: 1.5
|
7 |
Donate Link: http://web-settler.com/form-builder/
|
8 |
License: GPL V2 or latest
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
207 |
|
208 |
== Changelog ==
|
209 |
|
210 |
+
= 1.5 =
|
211 |
+
|
212 |
+
* Notification email fixed
|
213 |
+
|
214 |
+
|
215 |
= 1.2 =
|
216 |
* Form Styler loaded with new features.
|
217 |
* Plugin core changes.
|
218 |
* AddOn added.
|
219 |
|
220 |
+
|
221 |
= 1.0.1 =
|
222 |
* Name field changes.
|
223 |
|
238 |
|
239 |
== Upgrade Notice ==
|
240 |
|
241 |
+
= 1.5 =
|
242 |
+
|
243 |
+
* Notification email fixed
|
244 |
+
|
245 |
+
|
246 |
|
247 |
= 1.2 =
|
248 |
* Form Styler loaded with new features.
|