forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenerate_ssl.php
More file actions
69 lines (64 loc) · 2.5 KB
/
generate_ssl.php
File metadata and controls
69 lines (64 loc) · 2.5 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
<div class="toolbar">
<div class="toolbar-inner">
<div class="toolbar-right">
<?php show_alert_message($_SESSION);?>
</div>
</div>
</div>
<div class="container animate__animated animate__fadeIn">
<form id="vstobjects" name="v_generate_csr" method="post">
<input type="hidden" name="token" value="<?=$_SESSION['token']?>">
<input type="hidden" name="generate" value="generate">
<div class="form-container">
<h1 class="form-title"><?=_('Generating CSR');?></h1>
<div class="u-mb10">
<label for="v_domain" class="form-label"><?=_('Domain');?></label>
<input type="text" class="form-control" name="v_domain" id="v_domain" value="<?=htmlentities(trim($v_domain, "'")) ?>">
</div>
<div class="u-mb10">
<label for="v_aliases" class="form-label"><?=_('Aliases');?></label>
<textarea class="form-control" name="v_aliases" id="v_aliases"><?=htmlentities(trim($v_aliases, "'"))?></textarea>
</div>
<div class="u-mb10">
<label for="v_email" class="form-label">
<?=_('Email');?>
<span class="optional">(<?php print _('optional');?>)</span>
</label>
<input type="email" class="form-control" name="v_email" id="v_email" value="<?=htmlentities(trim($v_email, "'")) ?>">
</div>
<div class="u-mb10">
<label for="v_country" class="form-label">
<?=_('Country');?>
<span class="optional">(<?=_('2 letter code');?>)</span>
</label>
<input type="text" class="form-control" name="v_country" id="v_country" value="<?=htmlentities(trim($v_country, "'")) ?>">
</div>
<div class="u-mb10">
<label for="v_state" class="form-label">
<?=_('State / Province');?>
</label>
<input type="text" class="form-control" name="v_state" id="v_state" value="<?=htmlentities(trim($v_state, "'")) ?>">
</div>
<div class="u-mb10">
<label for="v_locality" class="form-label">
<?=_('City / Locality');?>
</label>
<input type="text" class="form-control" name="v_locality" id="v_locality" value="<?=htmlentities(trim($v_locality, "'")) ?>">
</div>
<div class="u-mb20">
<label for="v_org" class="form-label">
<?=_('Organization');?>
</label>
<input type="text" class="form-control" name="v_org" id="v_org" value="<?=htmlentities(trim($v_org, "'")) ?>">
</div>
<div class="u-side-by-side">
<button type="submit" class="button" name="generate">
<?=_('Ok');?>
</button>
<button type="button" class="button button-secondary" onclick="<?=$back?>">
<?=_('Back');?>
</button>
</div>
</div>
</form>
</div>