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

48 lines
1.3 KiB
PHP
Raw Normal View History

2024-03-28 09:40:10 +00:00
<?php
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
?>
<form class="w3tc_cdn_stackpath2_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 Client ID:</td>
<td>
<input name="client_id" type="text" class="w3tc-ignore-change"
style="width: 550px"
value="<?php echo esc_attr( $details['client_id'] ); ?>" />
</td>
</tr>
<tr>
<td>API Client Secret:</td>
<td>
<input name="client_secret" type="text" class="w3tc-ignore-change"
style="width: 550px"
value="<?php echo esc_attr( $details['client_secret'] ); ?>" />
<p class="description">
To obtain API key you can
<a target="_blank" href="<?php echo esc_attr( $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_stackpath2_list_stacks w3tc-button-save button-primary"
value="<?php esc_attr_e( 'Next', 'w3-total-cache' ); ?>" />
</p>
<?php Util_Ui::postbox_footer(); ?>
</div>
</form>