Files
medicalalert-web-reloaded/wp/wp-content/plugins/imagify/views/notice-wrong-api-key.php
Rachit Bhargava 5d0f0734d8 first commit
2023-07-21 17:12:10 -04:00

25 lines
834 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
$this->print_template( 'notice-header', array(
'title' => __( 'Your API key isn\'t valid!', 'imagify' ),
'classes' => array( 'error' ),
) );
?>
<p>
<?php wp_nonce_field( 'imagify-signup', 'imagifysignupnonce', false ); ?>
<?php
printf(
/* translators: 1 and 2 are link tag starts, 3 is a link tag end. */
__( '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' ),
'<a href="' . esc_url( get_imagify_admin_url() ) . '">',
'<a id="imagify-signup" target="_blank" href="' . esc_url( imagify_get_external_url( 'register' ) ) . '">',
'</a>'
);
?>
</p>
<?php
$this->print_template( 'notice-footer', array(
'dismissible' => 'wrong-api-key',
) );