| 1 |
<?php |
| 2 |
/** |
| 3 |
* Suggest to login template |
| 4 |
* |
| 5 |
* @package Mailchimp |
| 6 |
*/ |
| 7 |
|
| 8 |
$button_text = $login_button_text ?? __( 'Log in', 'mailchimp' ); |
| 9 |
?> |
| 10 |
<button id="mailchimp_sf_oauth_connect" class="button mailchimp-sf-button button-primary"> |
| 11 |
<span class="mailchimp-sf-loading hidden"> |
| 12 |
<svg class="animate-spin" width="24" height="24" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"> |
| 13 |
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle> |
| 14 |
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path> |
| 15 |
</svg> |
| 16 |
</span> |
| 17 |
<?php echo esc_html( $button_text ); ?> |
| 18 |
</button> |
| 19 |
<p class="mailchimp-sf-oauth-error error-field" style="display:none;"></p> |
| 20 |
<div id="mailchimp-sf-popup-blocked-modal" style="display:none;"> |
| 21 |
<p><?php esc_html_e( 'Please allow your browser to show popups for this page.', 'mailchimp' ); ?></p> |
| 22 |
</div> |
| 23 |
|