<?php
/**
 * Paypal Button Template
 * 
 * Handles to load paypal button template
 * 
 * Override this template by copying it to yourtheme/woo-social-login/social-link-buttons/paypal_link.php
 * 
 * @package WooCommerce - Social Login
 * @since 1.4.0
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>

<!-- show button -->
<div class="woo-slg-login-wrapper">
	<?php
	if( $button_type == 1 ) { ?>
		
		<a title="<?php _e( 'Link your account with Paypal', 'wooslg');?>" href="javascript:void(0);" class="woo-slg-social-login-paypal woo-slg-social-btn">
			<i class="woo-slg-icon woo-slg-paypal-icon"></i>
			<?php echo !empty($button_text) ? $button_text : __( 'Link your account with Paypal', 'wooslg' ); ?>
		</a>
	<?php
	} else { ?>
	
		<a title="<?php _e( 'Link your account with Paypal', 'wooslg');?>" href="javascript:void(0);" class="woo-slg-social-login-paypal">
			<img src="<?php echo $paypalimglinkurl;?>" alt="<?php _e( 'Link your account with Paypal', 'wooslg');?>" />
		</a>
	<?php } ?>
</div>