| 1 |
<?php |
| 2 |
/** |
| 3 |
* Settings > Tools view |
| 4 |
* |
| 5 |
* @package ConvertKit |
| 6 |
* @author ConvertKit |
| 7 |
*/ |
| 8 |
|
| 9 |
?> |
| 10 |
<div class="metabox-holder"> |
| 11 |
<div id="oauth" class="postbox"> |
| 12 |
<h2><?php esc_html_e( 'Connect to Kit', 'convertkit' ); ?></h2> |
| 13 |
|
| 14 |
<p class="description"> |
| 15 |
<?php esc_html_e( 'For the Kit Plugin to function, please connect your Kit account using the button below.', 'convertkit' ); ?><br /> |
| 16 |
</p> |
| 17 |
|
| 18 |
<p> |
| 19 |
<a href="<?php echo esc_url( $oauth_url ); ?>" class="button button-primary"><?php esc_html_e( 'Connect', 'convertkit' ); ?></a> |
| 20 |
</p> |
| 21 |
</div><!-- .postbox --> |
| 22 |
|
| 23 |
<?php |
| 24 |
wp_nonce_field( 'convertkit-settings-oauth', '_convertkit_settings_oauth_nonce' ); |
| 25 |
?> |
| 26 |
</div><!-- .metabox-holder --> |
| 27 |
|