summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Hassine <yehuda@myinbox.in>2019-04-22 08:49:37 +0300
committerYehuda Hassine <yehuda@myinbox.in>2019-04-22 08:49:37 +0300
commitee4e4461dc0c1ffffc00fbde9698dd379153aa8f (patch)
treee80585d8f361488668b6f366b71db23f764cc783
parent7781aa65cef32d8c8196979edb21ec4551e5b904 (diff)
downloadPost-SMTP-ee4e4461dc0c1ffffc00fbde9698dd379153aa8f.zip
donate links
-rw-r--r--Postman/Postman-Configuration/PostmanConfigurationController.php11
-rw-r--r--Postman/PostmanAdminController.php1
2 files changed, 12 insertions, 0 deletions
diff --git a/Postman/Postman-Configuration/PostmanConfigurationController.php b/Postman/Postman-Configuration/PostmanConfigurationController.php
index 2b11b6c..d2c0350 100644
--- a/Postman/Postman-Configuration/PostmanConfigurationController.php
+++ b/Postman/Postman-Configuration/PostmanConfigurationController.php
@@ -591,6 +591,17 @@ 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
print '</section>';
print '</fieldset>';
print '</form>';
diff --git a/Postman/PostmanAdminController.php b/Postman/PostmanAdminController.php
index 99cc6b8..f92bc2c 100644
--- a/Postman/PostmanAdminController.php
+++ b/Postman/PostmanAdminController.php
@@ -299,6 +299,7 @@ if ( ! class_exists( 'PostmanAdminController' ) ) {
// only administrators should be able to trigger this
if ( PostmanUtils::isAdmin() ) {
$mylinks = array(
+ sprintf( '<a href="%s" target="_blank" class="postman_settings">%s</a>', 'https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=yehuda@myinbox.in&item_name=Donation+for+PostSMTP', __( 'Donate', 'post-smtp' ) ),
sprintf( '<a href="%s" class="postman_settings">%s</a>', PostmanUtils::getSettingsPageUrl(), __( 'Settings', 'post-smtp' ) ),
sprintf( '<a href="%s" class="postman_settings">%s</a>', 'https://postmansmtp.com', __( 'Visit us', 'post-smtp' ) ),
);