summaryrefslogtreecommitdiff
path: root/Postman/Postman-Configuration
diff options
context:
space:
mode:
authorYehuda Hassine <yehuda@myinbox.in>2019-05-01 00:25:40 +0300
committerYehuda Hassine <yehuda@myinbox.in>2019-05-01 00:25:40 +0300
commit34356f6d27e564c0d0b687e6cb384e31219222b0 (patch)
tree31cc7bd49e881cc037eca7e2b877e9e9d3a4689f /Postman/Postman-Configuration
parentee4e4461dc0c1ffffc00fbde9698dd379153aa8f (diff)
downloadPost-SMTP-34356f6d27e564c0d0b687e6cb384e31219222b0.zip
smtp mailer + bugs
Diffstat (limited to 'Postman/Postman-Configuration')
-rw-r--r--Postman/Postman-Configuration/PostmanConfigurationController.php15
-rw-r--r--Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php6
2 files changed, 7 insertions, 14 deletions
diff --git a/Postman/Postman-Configuration/PostmanConfigurationController.php b/Postman/Postman-Configuration/PostmanConfigurationController.php
index d2c0350..98e1bac 100644
--- a/Postman/Postman-Configuration/PostmanConfigurationController.php
+++ b/Postman/Postman-Configuration/PostmanConfigurationController.php
@@ -591,17 +591,10 @@ class PostmanConfigurationController {
printf( '<li class="wizard-auth-oauth2">%s</li>', __( 'Grant permission with the Email Provider for Postman to send email and', 'post-smtp' ) );
printf( '<li>%s</li>', __( 'Send yourself a Test Email to make sure everything is working!', 'post-smtp' ) );
print '</ul>';
- ?>
- <p>It is hard to continue development and support for this free plugin without contributions from users like you.
- If you enjoy using Post SMTP and find it useful, please consider making a donation. Your donation will
- help encourage and support the plugin's continued development and better user support.</p>
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
- <input type="hidden" name="cmd" value="_s-xclick" />
- <input type="hidden" name="hosted_button_id" value="4B3PJANHBA7MG" />
- <input type="image" src="https://www.paypalobjects.com/en_US/IL/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
- <img alt="" border="0" src="https://www.paypal.com/en_IL/i/scr/pixel.gif" width="1" height="1" />
- </form>
- <?php
+
+ $in_wizard = true;
+ include_once POST_PATH . '/Postman/extra/donation.php';
+
print '</section>';
print '</fieldset>';
print '</form>';
diff --git a/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php b/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php
index a23094f..e62d430 100644
--- a/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php
+++ b/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php
@@ -34,9 +34,9 @@ class PostmanSettingsRegistry {
), 'transport_options' );
add_settings_field( PostmanOptions::TRANSPORT_TYPE, _x( 'Type', '(i.e.) What kind is it?', 'post-smtp' ), array(
- $this,
- 'transport_type_callback',
- ), 'transport_options', 'transport_section' );
+ $this,
+ 'transport_type_callback',
+ ), 'transport_options', 'transport_section' );
// the Message From section
add_settings_section( PostmanAdminController::MESSAGE_FROM_SECTION, _x( 'From Address', 'The Message Sender Email Address', 'post-smtp' ), array(