summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-12-21 01:34:40 +0100
committerMichael Tänzer <neo@nhng.de>2011-12-21 01:34:40 +0100
commit30ac5366838978bd685da21208974c83883cd9d6 (patch)
tree60e7bd7852c847d3355b17e4a9c14ef434c350e5 /includes
parent327d40464b9ad672db38ea6bd1e271c1f771afde (diff)
downloadcacert-devel-30ac5366838978bd685da21208974c83883cd9d6.tar.gz
cacert-devel-30ac5366838978bd685da21208974c83883cd9d6.tar.xz
cacert-devel-30ac5366838978bd685da21208974c83883cd9d6.zip
bug 964: Move the selection box to the right form
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'includes')
-rw-r--r--includes/keygen.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/includes/keygen.php b/includes/keygen.php
index 974d56e..fcbc48c 100644
--- a/includes/keygen.php
+++ b/includes/keygen.php
@@ -27,15 +27,21 @@ if (array_key_exists('HTTP_USER_AGENT',$_SERVER) &&
<?=_("Go to Extras->Internet Options->Security->Trusted Websites, click on Custom Level, check ActiveX control elements that are not marked as safe initialized on start in scripts")?>
</object>
- <form method="post" action="account.php" name="CertReqForm"><p>
- <input type="hidden" name="session" value="UsedXenroll">
- <?=_("Key Strength:")?> <select name="CspProvider"></select>
+ <form method="post" action="account.php" name="CertReqForm">
+ <p><input type="hidden" name="session" value="UsedXenroll">
+ <?=_("Key Strength:")?> <select name="CspProvider"></select></p>
+
+ <p>Select Keysize: <select name="keySize" id="keySize">
+ <option value="2048" selected="selected">2048</option>
+ <option value="3072">3072</option>
+ <option value="4096">4096</option>
+ </select></p>
<input type="hidden" name="oldid" value="<?=$id?>">
<INPUT TYPE=HIDDEN NAME="CSR">
<input type="hidden" name="keytype" value="MS">
- <input type="submit" name="GenReq" value="Create Certificate"><br>
- </p></form>
+ <p><input type="submit" name="GenReq" value="Create Certificate"></p>
+ </form>
<script type="text/vbscript" language="vbscript">
<!--
@@ -209,12 +215,6 @@ GetProviderList()
<? } else { ?>
<p>
<form method="post" action="account.php">
- Select Keysize: <select name="keySize" id="keySize">
- <option value="2048" selected="selected">2048</option>
- <option value="3072">3072</option>
- <option value="4096">4096</option>
- </select>
-
<input type="hidden" name="keytype" value="NS">
<?=_("Keysize:")?> <keygen name="SPKAC" challenge="<? $_SESSION['spkac_hash']=make_hash(); echo $_SESSION['spkac_hash']; ?>">