mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-02-04 00:53:04 -08:00
120 lines
5.6 KiB
HTML
120 lines
5.6 KiB
HTML
<?php
|
|
$back = $_SESSION['back'];
|
|
if (empty($back)) {
|
|
$back = "location.href='/list/web/'";
|
|
} else {
|
|
$back = "location.href='".$back."'";
|
|
}
|
|
?>
|
|
<table class="submenu">
|
|
<tr>
|
|
<td style="padding: 20px 10px;" ><a class="name"><b><?php print __('Generating CSR');?></b></a>
|
|
<?php
|
|
if (!empty($_SESSION['error_msg'])) {
|
|
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
|
|
} else {
|
|
if (!empty($_SESSION['ok_msg'])) {
|
|
echo "<span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span>";
|
|
}
|
|
}
|
|
?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<form id="vstobjects" name="v_generate_csr" method="post">
|
|
<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>
|
|
<tr>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
<table class="data-col2">
|
|
<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="<?php print $v_domain ?>">
|
|
</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="<?php print $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="<?php print $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="<?php print $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="<?php print $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="<?php print $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="<?php print __('Ok');?>">
|
|
</td>
|
|
<td style="padding: 24px 0 0 0;">
|
|
<input type="button" class="button" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|