| 1 |
<?php |
| 2 |
defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); |
| 3 |
?> |
| 4 |
<div class="imagify-welcome"> |
| 5 |
<div class="imagify-title"> |
| 6 |
<img class="imagify-logo" src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>imagify-logo.png" width="225" height="26" alt="Imagify" /> |
| 7 |
<span class="baseline"> |
| 8 |
<?php _e( 'Welcome to Imagify, the best way to easily optimize your images!', 'imagify' ); ?> |
| 9 |
</span> |
| 10 |
<a href="<?php echo esc_url( get_imagify_admin_url( 'dismiss-notice', 'welcome-steps' ) ); ?>" class="imagify-notice-dismiss imagify-welcome-remove" title="<?php esc_attr_e( 'Dismiss this notice', 'imagify' ); ?>"><span class="dashicons dashicons-dismiss"></span><span class="screen-reader-text"><?php _e( 'Dismiss this notice', 'imagify' ); ?></span></a> |
| 11 |
</div> |
| 12 |
<div class="imagify-settings-section"> |
| 13 |
<div class="imagify-columns counter"> |
| 14 |
<div class="col-1-3"> |
| 15 |
<img src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>user.svg" width="48" height="48" alt=""> |
| 16 |
<div class="imagify-col-content"> |
| 17 |
<p class="imagify-col-title"><?php _e( 'Create an Account', 'imagify' ); ?></p> |
| 18 |
<p class="imagify-col-desc"><?php _e( 'Don\'t have an Imagify account yet? Optimize your images by creating an account in a few seconds!', 'imagify' ); ?></p> |
| 19 |
<p> |
| 20 |
<?php wp_nonce_field( 'imagify-signup', 'imagifysignupnonce', false ); ?> |
| 21 |
<a id="imagify-signup" target="_blank" href="<?php echo esc_url( imagify_get_external_url( 'register' ) ); ?>" class="button button-primary"><?php _e( 'Sign up, It\'s FREE!', 'imagify' ); ?></a> |
| 22 |
</p> |
| 23 |
</div> |
| 24 |
</div> |
| 25 |
<div class="col-1-3"> |
| 26 |
<img src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>key.svg" width="48" height="48" alt=""> |
| 27 |
<div class="imagify-col-content"> |
| 28 |
<p class="imagify-col-title"><?php _e( 'Enter your API Key', 'imagify' ); ?></p> |
| 29 |
<p class="imagify-col-desc"> |
| 30 |
<?php |
| 31 |
printf( |
| 32 |
/* translators: 1 is a link tag start, 2 is the link tag end. */ |
| 33 |
__( 'Save your API Key you have received by email or you can get it on your %1$sImagify account page%2$s.', 'imagify' ), |
| 34 |
'<a target="_blank" href="' . esc_url( imagify_get_external_url( 'get-api-key' ) ) . '">', |
| 35 |
'</a>' |
| 36 |
); |
| 37 |
?> |
| 38 |
</p> |
| 39 |
<p> |
| 40 |
<?php wp_nonce_field( 'imagify-check-api-key', 'imagifycheckapikeynonce', false ); ?> |
| 41 |
<a id="imagify-save-api-key" href="<?php echo esc_url( get_imagify_admin_url() ); ?>" class="button button-primary"><?php _e( 'I have my API key', 'imagify' ); ?></a> |
| 42 |
</p> |
| 43 |
</div> |
| 44 |
</div> |
| 45 |
<div class="col-1-3"> |
| 46 |
<img src="<?php echo IMAGIFY_ASSETS_IMG_URL; ?>gear.svg" width="48" height="48" alt=""> |
| 47 |
<div class="imagify-col-content"> |
| 48 |
<p class="imagify-col-title"><?php _e( 'Configure it', 'imagify' ); ?></p> |
| 49 |
<p class="imagify-col-desc"><?php _e( 'It’s almost done! You have just to configure your optimization settings.', 'imagify' ); ?></p> |
| 50 |
<p><a href="<?php echo esc_url( get_imagify_admin_url() ); ?>" class="button button-primary"><?php _e( 'Go to Settings', 'imagify' ); ?></a></p> |
| 51 |
</div> |
| 52 |
</div> |
| 53 |
</div> |
| 54 |
</div> |
| 55 |
</div> |
| 56 |
|