summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2008-04-27 20:37:10 +0000
committerChris Buechler <cmb@pfsense.org>2008-04-27 20:37:10 +0000
commit00d0cd41b7175ef966aac260a7bc80f0157b3d80 (patch)
treec79f5dc39c5190b048f7a0791d1f78657ece285d /usr/local
parent5cfb1af8813d515637ea7d66343b767024273fa0 (diff)
downloadpfsense-00d0cd41b7175ef966aac260a7bc80f0157b3d80.zip
pfsense-00d0cd41b7175ef966aac260a7bc80f0157b3d80.tar.gz
fix fields
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/vpn_openvpn_certs_existing.php33
1 files changed, 10 insertions, 23 deletions
diff --git a/usr/local/www/vpn_openvpn_certs_existing.php b/usr/local/www/vpn_openvpn_certs_existing.php
index e194cf8..6583d82 100644
--- a/usr/local/www/vpn_openvpn_certs_existing.php
+++ b/usr/local/www/vpn_openvpn_certs_existing.php
@@ -116,19 +116,6 @@ if ($_POST) {
?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
-<script type="text/javascript">
-function onAuthMethodChanged() {
- var method = document.iform.auth_method;
- var endis = (method.options[method.selectedIndex].value == 'shared_key');
-
- document.iform['shared.key'].disabled = !endis;
- document.iform['ca.crt'].disabled = endis;
- document.iform['server.crt'].disabled = endis;
- document.iform['server.key'].disabled = endis;
- document.iform.dh.disabled = endis;
- document.iform.crl.disabled = endis;
-}
-</script>
<?php include("fbegin.inc"); ?>
@@ -159,35 +146,35 @@ function onAuthMethodChanged() {
<tr>
<td width="35%" class="vncell"><B>CA certificate</td>
<td width="78%" class="vtable">
- <textarea name="ca.crt" disabled="yes" rows="8" cols="40" ><?=$cacrt;?></textarea>
- <br/><span class="gray">Paste your CA certificate in X.509 format here.</span></td>
+ <textarea name="ca.crt" rows="8" cols="40" ><?=$cacrt;?></textarea>
+ <br/><span>Paste your CA certificate in X.509 format here.</span></td>
</tr>
<tr>
<td width="35%" class="vncell"><B>Server certificate</td>
<td width="78%" class="vtable">
- <textarea name="server.crt" disabled="yes" rows="8" cols="40" ><?=$servercrt;?></textarea>
- <br/><span class="gray">Paste your server certificate in X.509 format here.</span>
+ <textarea name="server.crt" rows="8" cols="40" ><?=$servercrt;?></textarea>
+ <br/><span>Paste your server certificate in X.509 format here.</span>
</td>
</tr>
<tr>
<td width="35%" class="vncell"><B>Server key</td>
<td width="78%" class="vtable">
- <textarea name="server.key" disabled="yes" rows="8" cols="40" ><?=$serverkey;?></textarea>
- <br/><span class="gray">Paste your server key in RSA format here.</span>
+ <textarea name="server.key" rows="8" cols="40" ><?=$serverkey;?></textarea>
+ <br/><span>Paste your server key in RSA format here.</span>
</td>
</tr>
<tr>
<td width="35%" class="vncell"><B>DH parameters</td>
<td width="78%" class="vtable">
- <textarea name="dh" disabled="yes" rows="8" cols="40"><?=$dh;?></textarea>
- <br/><span class="gray">Paste your Diffie Hellman parameters in PEM format here.</span>
+ <textarea name="dh" rows="8" cols="40"><?=$dh;?></textarea>
+ <br/><span>Paste your Diffie Hellman parameters in PEM format here.</span>
</td>
</tr>
<tr>
<td width="35%" class="vncell"><B>CRL</td>
<td width="78%" class="vtable">
- <textarea disabled="yes" name="crl" rows="8" cols="40" ><?=$crl;?></textarea>
- <br/><span class="gray">Paste your certificate revocation list (CRL) in PEM format here (optional).</span>
+ <textarea name="crl" rows="8" cols="40" ><?=$crl;?></textarea>
+ <br/><span>Paste your certificate revocation list (CRL) in PEM format here (optional).</span>
</td>
</tr>
<tr>
OpenPOWER on IntegriCloud