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

56 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 style="padding: 20px">
<?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__( 'Specify API Key', 'w3-total-cache' ) ); ?>
<table class="form-table">
<tr>
<th>
<label for="newrelic_api_key">
<?php
echo wp_kses(
sprintf(
// translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag.
__(
'%1$sAPI%2$s key:',
'w3-total-cache'
),
'<acronym title="' . esc_attr__( 'Application Programming Interface', 'w3-total-cache' ) . '">',
'</acronym>'
),
array(
'acronym' => array(
'title' => array(),
),
)
);
?>
</label>
</th>
<td>
<input name="api_key" class="w3tcnr_api_key" type="text"
value="<?php echo esc_attr( $details['api_key'] ); ?>" size="45"/>
</td>
</tr>
</table>
<p class="submit">
<input type="button"
class="w3tcnr_list_applications w3tc-button-save button-primary"
value="<?php esc_attr_e( 'Apply', 'w3-total-cache' ); ?>" />
</p>
<?php Util_Ui::postbox_footer(); ?>
</div>
</form>