-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new feature to reset options, improve new installs.
* Add feature to reset all the StCR options including the option to delete all subscriptions or keep them. * Merge the **You can help** and **Support Panel**. * Improve the default settings on a fresh install to have all links workings and the default comment message template. * Clean code and made more OOP the creation of default/new options.
- Loading branch information
Showing
7 changed files
with
192 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,34 @@ | ||
<?php | ||
// Avoid direct access to this piece of code | ||
if ( ! function_exists( 'is_admin' ) || ! is_admin() ) { | ||
header( 'Location: /' ); | ||
exit; | ||
header( 'Location: /' ); | ||
exit; | ||
} | ||
?> | ||
<h3><?php _e( 'Support the developers', 'subscribe-reloaded' ) ?></h3> | ||
<style type="text/css"> | ||
p { font-size: 1.2em; } | ||
</style> | ||
<h3><?php _e( 'Support the developer, You can donate via <i class="fa fa-paypal" aria-hidden="true"></i>', 'subscribe-reloaded' ) ?> Paypal</h3> | ||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> | ||
<input type="hidden" name="cmd" value="_s-xclick"> | ||
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZI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vbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTMxMjE2MjIwOTE0WjAjBgkqhkiG9w0BCQQxFgQUaLU4NUKaF2Z+15I8flHXkTcwmgYwDQYJKoZIhvcNAQEBBQAEgYANW3n0y1EzwHcMIbMvKDpm1s89WKEr8URnsj2JKoNzAF8icZGcjELB7DJarAoreKDTpumFA1bGJWvJk7SJ0B/5CF7vDdTlNE9V4WU5yQfXAZJt3Vqv62SLGmLuyaqj+gwETY3MZimMXDYcuTQ+y5oxF1DIC4GHHioRhsu5DqaVhQ==-----END PKCS7----- | ||
<input type="hidden" name="cmd" value="_s-xclick"> | ||
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHRwYJKoZIhvcNAQcEoIIHODCCBzQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYA8SoFTW+K57dYTdcPfLxx8ZbNmWcyntG422taFxfD/YxlfgNCnAFBwW/SvmBwTMDJ6FIsQcI5ip3nh2K8Dh49sUHPyew+Vq+yF9wh7JVNq5rca+LOe8v76uF3R/1NIvu5YB4E81kjTjBEcsAaCjtxIWR39ozOJMTYYKmtqoMmbLDELMAkGBSsOAwIaBQAwgcQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIL4G6y7TbIF+AgaCyJsiBGYdu+gmMrBCEfVvBlAEDwzGjmxW77e31UKVUOTxoMOlG2F7kiC1bDWXfiOJB9m9M4+s8GCViaWZ94vDvBT60cWxFDogbWwNG7h6X3VXEJsRyjCZSFkfCzIazg9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BheXBhbC5jb22CAQAwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQCBXzpWmoBa5e9fo6ujionW1hUhPkOBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTMxMjE2MjIwOTE0WjAjBgkqhkiG9w0BCQQxFgQUaLU4NUKaF2Z+15I8flHXkTcwmgYwDQYJKoZIhvcNAQEBBQAEgYANW3n0y1EzwHcMIbMvKDpm1s89WKEr8URnsj2JKoNzAF8icZGcjELB7DJarAoreKDTpumFA1bGJWvJk7SJ0B/5CF7vDdTlNE9V4WU5yQfXAZJt3Vqv62SLGmLuyaqj+gwETY3MZimMXDYcuTQ+y5oxF1DIC4GHHioRhsu5DqaVhQ==-----END PKCS7----- | ||
"> | ||
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> | ||
<img alt="" border="0" src="https://www.paypalobjects.com/es_XC/i/scr/pixel.gif" width="1" height="1"> | ||
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> | ||
<img alt="" border="0" src="https://www.paypalobjects.com/es_XC/i/scr/pixel.gif" width="1" height="1"> | ||
</form> | ||
<hr> | ||
|
||
<p><?php _e( 'How valuable is the feature offered by this plugin to your visitors? please consider supporting the author if this plugin made your web site better, especially if you are making money out of it.<br><br> You can donate <strong>$5.00, $10.00, $20.00</strong> or more, $Any donation received will be reinvested in the development of <strong>Subscribe to Comments Reloaded</strong>, and to buy some food for my hungry family.', 'subscribe-reloaded' ) ?></p> | ||
|
||
<h3><?php _e( "You can still help", 'subscribe-reloaded' ) ?></h3> | ||
<p><?php _e( "Please consider blogging about my plugin with a link to the plugin's page. Please let your readers know what makes your blog better. You can also contribute donating your time: do not hesitate to send me bug reports, your localization files, ideas on how to improve <strong>Subscribe to Comments Reloaded</strong> and so on. Whatever you do, thanks for using my plugin!", 'subscribe-reloaded' ) ?></p> | ||
|
||
<h3><?php _e( "Subscribe to the Beta testers", 'subscribe-reloaded' ) ?></h3> | ||
<p><?php _e( "Before a new Update we release a Beta version so that our current users can give us feedback if they find a bug, If you want to join the tester list you can add your email <a href='http://eepurl.com/biCk1b' target='_blank'>here</a>", 'subscribe-reloaded' ) ?></h3></p> | ||
|
||
<h3><?php _e( "Vote and show your appreciation", 'subscribe-reloaded' ) ?></h3> | ||
<p><?php _e( 'Tell other people if <strong>Subscribe to Comments Reloaded</strong> works for you and how good it is. <a href="http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/">Rate it</a> on its Plugin Directory page.', 'subscribe-reloaded' ) ?></p> | ||
|
||
<h3><?php _e( "Did you find a Bug on the plugin?", 'subscribe-reloaded' ) ?></h3> | ||
<p><?php _e( 'Please report any bug on the <a href="https://github.com/stcr/subscribe-to-comments-reloaded/issues/new?title=Bug%20Report:%20%3Cshort%20description%3E&labels=bug" target="_blank">GitHub</a> Page rather than on the WordPress Support page.', 'subscribe-reloaded' ) ?> | ||
</p> | ||
|
||
<hr> | ||
</p> |
Oops, something went wrong.