| 1 |
<?php |
| 2 |
defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); |
| 3 |
|
| 4 |
$this->print_template( 'notice-header', array( |
| 5 |
'title' => __( 'Your API key isn\'t valid!', 'imagify' ), |
| 6 |
'classes' => array( 'error' ), |
| 7 |
) ); |
| 8 |
?> |
| 9 |
<p> |
| 10 |
<?php wp_nonce_field( 'imagify-signup', 'imagifysignupnonce', false ); ?> |
| 11 |
<?php |
| 12 |
printf( |
| 13 |
/* translators: 1 and 2 are link tag starts, 3 is a link tag end. */ |
| 14 |
__( 'Go to your Imagify account page to get your API Key and specify it on %1$syour settings%3$s or %2$screate an account for free%3$s if you don\'t have one yet.', 'imagify' ), |
| 15 |
'<a href="' . esc_url( get_imagify_admin_url() ) . '">', |
| 16 |
'<a id="imagify-signup" target="_blank" href="' . esc_url( imagify_get_external_url( 'register' ) ) . '">', |
| 17 |
'</a>' |
| 18 |
); |
| 19 |
?> |
| 20 |
</p> |
| 21 |
<?php |
| 22 |
$this->print_template( 'notice-footer', array( |
| 23 |
'dismissible' => 'wrong-api-key', |
| 24 |
) ); |
| 25 |
|