forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenerate_ssl.html
More file actions
134 lines (132 loc) · 6.32 KB
/
generate_ssl.html
File metadata and controls
134 lines (132 loc) · 6.32 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<div class="l-center">
<div class="l-sort clearfix">
<div class="l-sort-toolbar clearfix float-left">
<?php
if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".htmlentities($_SESSION['error_msg'])."</span>";
} else {
if (!empty($_SESSION['ok_msg'])) {
echo "<span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
}
}
?>
</div>
</div>
</div>
<div class="l-separator"></div>
<div class="l-center animated fadeIn">
<?php
$back = $_SESSION['back'];
if (empty($back)) {
$back = "location.href='/list/web/'";
} else {
$back = "location.href='".$back."'";
}
?>
<form id="vstobjects" name="v_generate_csr" method="post">
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
<input type="hidden" name="generate" value="generate" />
<table class='data'>
<tr class="data-add">
<td class="data-dotted">
<table class="data-col1">
<tr>
<td>
</td>
</tr>
</table>
</td>
<td class="data-dotted">
<table class="data-col2">
<tr>
<td class="step-top">
<span class="page-title"><?=_('Generating CSR')?></span>
</td>
</tr>
<tr>
<td class="vst-text" style="padding: 24px 0 0 0;">
<?php print _('Domain');?>
</td>
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_domain" value="<?=htmlentities(trim($v_domain, "'")) ?>">
</td>
</tr>
<tr>
<td class="vst-text" style="padding: 24px 0 0 0;">
<?php print _('Aliases');?>
</td>
</tr>
<tr>
<td>
<textarea size="20" class="vst-textinput short" name="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea>
</td>
</tr>
<tr>
<td class="vst-text" style="padding: 12px 0 0 0;">
<?php print _('Email');?>
</td>
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_email" value="<?=htmlentities(trim($v_email, "'")) ?>">
</td>
</tr>
<tr>
<td class="vst-text" style="padding: 12px 0 0 0;">
<?php print _('Country'); ?>
<span class="optional">(<?php print _('2 letter code');?>)</span>
</td>
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_country" value="<?=htmlentities(trim($v_country, "'"))?>">
</td>
</tr>
<tr>
<td class="vst-text" style="padding: 12px 0 0 0;">
<?php print _('State / Province');?>
</td>
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_state" value="<?=htmlentities(trim($v_state, "'")) ?>">
</td>
</tr>
<tr>
<td class="vst-text" style="padding: 12px 0 0 0;">
<?php print _('City / Locality');?>
</td>
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_locality" value="<?=htmlentities(trim($v_locality, "'")) ?>">
</td>
</tr>
<tr>
<td class="vst-text" style="padding: 12px 0 0 0;">
<?php print _('Organization');?>
</td>
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_org" value="<?=htmlentities(trim($v_org, "'")) ?>">
</td>
</tr>
</table>
<table class="data-col2">
<tr>
<td style="padding: 24px 0 0 0;" width="116px">
<input type="submit" class="button" name="generate" value="<?=_('Ok')?>">
</td>
<td style="padding: 24px 0 0 0;">
<input type="button" class="button cancel" value="<?=_('Back')?>" onclick="<?=$back?>">
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>