| Server IP : 27.254.66.5 / Your IP : 216.73.217.39 Web Server : Apache/2 System : Linux cs82.hostneverdie.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 User : technic2 ( 1951) PHP Version : 7.4.30 Disable Function : apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd,exec, fp, fput, highlight_file, ini_alter, ini_restore, inject_code, passthru,phpAds_remoteInfo, phpAds_XmlRpc,phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid,posix_setuid, posix_setuid, posix_uname,proc_open,proc_close, proc_get_status, proc_nice, proc_terminate, shell_exec, syslog, system, xmlrpc_entity_decode, show_source,sleep,pcntl_exec,virtual,suexec,dbmopen,dl,symlink,disk_free_space,diskfreespace,leak MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/technic2/public_html/old-website/wp-content/plugins/members/admin/views/ |
Upload File : |
<?php
/**
* Handles the donate settings view.
*
* @package Members
* @subpackage Admin
* @author Justin Tadlock <justintadlock@gmail.com>
* @copyright Copyright (c) 2009 - 2018, Justin Tadlock
* @link https://themehybrid.com/plugins/members
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
namespace Members\Admin;
/**
* Sets up and handles the donate settings view.
*
* @since 2.2.0
* @access public
*/
class View_Donate extends View {
/**
* Enqueues scripts/styles.
*
* @since 2.2.0
* @access public
* @return void
*/
public function enqueue() {
wp_enqueue_style( 'members-admin' );
}
/**
* Renders the settings page.
*
* @since 2.2.0
* @access public
* @return void
*/
public function template() { ?>
<div class="widefat">
<div class="welcome-panel">
<div class="welcome-panel-content">
<h2>
<?php esc_html_e( 'Donate Toward Future Development', 'members' ); ?>
</h2>
<p class="about-description">
<?php esc_html_e( 'The Members plugin needs funding to cover development costs toward version 3.0.', 'members' ); ?>
</p>
<p class="members-short-p">
<?php esc_html_e( "Members itself will always remain free as long as I'm able to work on it. However, it is easily my largest and most complex plugin. A major update takes 100s of hours of development. If every user would donate just $1, it would fund fulltime development of this plugin for at least 3 years. Of course, it's not a reality that everyone is able donate. Pitching in any amount will help.", 'members' ); ?>
</p>
<p>
<a target="_blank" class="button button-primary button-hero" href="<?php echo esc_url( 'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E9D2YGZFM8QT4&source=url' ); ?>"><?php esc_html_e( 'Donate Via PayPal', 'members' ); ?></a>
</p>
<p>
<a target="_blank" href="https://themehybrid.com/plugins/members#donate"><?php esc_html_e( 'Learn More', 'members' ); ?></a>
</p>
</div><!-- .plugin-card-top -->
</div><!-- .plugin-card -->
</div>
<?php }
}