This repository has been archived by the owner on May 23, 2023. It is now read-only.
forked from BoldGrid/w3-total-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cdn_LimeLight_Popup_View_Intro.php
57 lines (55 loc) · 1.97 KB
/
Cdn_LimeLight_Popup_View_Intro.php
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
namespace W3TC;
if ( !defined( 'W3TC' ) )
die();
?>
<form class="w3tc_popup_form">
<?php
if ( isset( $details['error_message'] ) )
echo '<div class="error">' . $details['error_message'] . '</div>';
?>
<div class="metabox-holder">
<?php Util_Ui::postbox_header(
__( 'Your LimeLight Account credentials', 'w3-total-cache' ) ); ?>
<table class="form-table">
<tr>
<td>Account Short Name:</td>
<td>
<input name="short_name" type="text" class="w3tc-ignore-change"
style="width: 550px"
value="<?php echo $config->get_string( 'cdn.limelight.short_name' ) ?>" />
</td>
</tr>
<tr>
<td>Username:</td>
<td>
<input name="username" type="text" class="w3tc-ignore-change"
style="width: 550px"
value="<?php echo $config->get_string( 'cdn.limelight.username' ) ?>" />
</td>
</tr>
<tr>
<td>API Key:</td>
<td>
<input name="api_key" type="text" class="w3tc-ignore-change"
style="width: 550px"
value="<?php echo $config->get_string( 'cdn.limelight.api_key' ) ?>" />
</td>
</tr>
<tr>
<td>CDN hostname:</td>
<td>
<input name="domain" type="text" class="w3tc-ignore-change"
style="width: 550px"
value="<?php echo esc_attr($domain) ?>" />
</td>
</tr>
</table>
<p class="submit">
<input type="button"
class="w3tc_cdn_limelight_save w3tc-button-save button-primary"
value="<?php _e( 'Next', 'w3-total-cache' ); ?>" />
</p>
<?php Util_Ui::postbox_footer(); ?>
</div>
</form>