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

32 lines
938 B
PHP
Raw Normal View History

2024-03-28 09:40:10 +00:00
<?php
namespace W3TC;
if ( ! defined( 'W3TC' ) ) {
die();
}
$key = $config->get_string( 'cdnfsd.limelight.api_key' );
$authorized = ! empty( $key );
?>
<?php Util_Ui::postbox_header( esc_html__( 'Configuration: Full-Site Delivery', 'w3-total-cache' ), '', 'configuration' ); ?>
<table class="form-table">
<tr>
<th style="width: 300px;">
<label>
<?php esc_html_e( 'Specify account credentials:', 'w3-total-cache' ); ?>
</label>
</th>
<td>
<?php if ( $authorized ) : ?>
<input class="w3tc_cdnfsd_limelight_authorize button-primary"
type="button" value="<?php esc_attr_e( 'Reauthorize', 'w3-total-cache' ); ?>" />
<?php else : ?>
<input class="w3tc_cdnfsd_limelight_authorize button-primary"
type="button" value="<?php esc_attr_e( 'Authorize', 'w3-total-cache' ); ?>" />
<?php endif ?>
</td>
</tr>
</table>
<?php Util_Ui::postbox_footer(); ?>