laipower/wp-content/upgrade-temp-backup/plugins/w3-total-cache/Cdnfsd_StackPath_Popup_View_Intro.php

40 lines
1.1 KiB
PHP
Raw Normal View History

2024-03-28 09:40:10 +00:00
<?php
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
?>
<form class="w3tc_popup_form">
<?php
if ( isset( $details['error_message'] ) ) {
echo '<div class="error">' . esc_html( $details['error_message'] ) . '</div>';
}
?>
<div class="metabox-holder">
<?php Util_Ui::postbox_header( esc_html__( 'Your StackPath Account credentials', 'w3-total-cache' ) ); ?>
<table class="form-table">
<tr>
<td>API Key:</td>
<td>
<input name="api_key" type="text" class="w3tc-ignore-change"
style="width: 550px"
value="<?php echo esc_attr( $details['api_key'] ); ?>" />
<p class="description">
To obtain API key you can
<a target="_blank" href="<?php echo esc_url( $url_obtain_key ); ?>">click here</a>,
log in, and paste the key in above field.
</p>
</td>
</tr>
</table>
<p class="submit">
<input type="button"
class="w3tc_cdn_stackpath_fsd_list_zones w3tc-button-save button-primary"
value="<?php esc_attr_e( 'Next', 'w3-total-cache' ); ?>" />
</p>
<?php Util_Ui::postbox_footer(); ?>
</div>
</form>