Extension_NewRelic_Popup_View_Intro.php
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
namespace W3TC;
if ( !defined( 'W3TC' ) )
die();
?>
<form style="padding: 20px">
<?php
if ( isset( $details['error_message'] ) )
echo '<div class="error">' . $details['error_message'] . '</div>';
?>
<div class="metabox-holder">
<?php Util_Ui::postbox_header(
__( 'Specify API Key', 'w3-total-cache' ) ); ?>
<table class="form-table">
<tr>
<th>
<label for="newrelic_api_key"><?php
_e( '<acronym title="Application Programming Interface">API</acronym> key:', 'w3-total-cache' )
?></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 _e( 'Apply', 'w3-total-cache' ); ?>" />
</p>
<?php Util_Ui::postbox_footer(); ?>
</div>
</form>