summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openvpn-client_config-html.lsp10
-rw-r--r--openvpn-server_config-html.lsp12
2 files changed, 11 insertions, 11 deletions
diff --git a/openvpn-client_config-html.lsp b/openvpn-client_config-html.lsp
index 03cbea3..3130f9f 100644
--- a/openvpn-client_config-html.lsp
+++ b/openvpn-client_config-html.lsp
@@ -43,27 +43,27 @@
<? if (view.config.ca) then ?>
<dt>CA Certificate</dt>
-<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.ca , label=view.config.ca } ?></dd>
+<dd><?= view.config.ca ?><? -- html.link{value = view.url .. "/pem_info?name=" .. view.config.ca , label=view.config.ca } ?></dd>
<? end ?>
<? if (view.config.cert) then ?>
<dt>Client Certificate</dt>
-<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.cert , label=view.config.cert } ?></dd>
+<dd><?= view.config.cert ?><? -- html.link{value = view.url .. "/pem_info?name=" .. view.config.cert , label=view.config.cert } ?></dd>
<? end ?>
<? if (view.config.key) then ?>
<dt>Client Private Key</dt>
-<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.key , label=view.config.key } ?></dd>
+<dd><?= view.config.key ?><? -- html.link{value = view.url .. "/pem_info?name=" .. view.config.key , label=view.config.key } ?></dd>
<? end ?>
<? if (view.config.tls) then ?>
<dt>TLS Authentication</dt>
-<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.tls , label=view.config.tls } ?></dd>
+<dd><?= view.config.tls ?><? -- html.link{value = view.url .. "/pem_info?name=" .. view.config.tls , label=view.config.tls } ?></dd>
<? end ?>
<? if (view.config.crl) then ?>
<dt>CRL Verify File</dt>
-<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.crl , label=view.config.crl } ?> (client side)</dd>
+<dd><?= view.config.crl ?><? -- html.link{value = view.url .. "/pem_info?name=" .. view.config.crl , label=view.config.crl } ?> (client side)</dd>
<? end ?>
</body>
diff --git a/openvpn-server_config-html.lsp b/openvpn-server_config-html.lsp
index d6e177c..6b4b215 100644
--- a/openvpn-server_config-html.lsp
+++ b/openvpn-server_config-html.lsp
@@ -40,32 +40,32 @@
<? if (view.config.dh) then ?>
<dt>DH</dt>
-<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.dh , label=view.config.dh } ?></dd>
+<dd><?= view.config.dh ?><? -- html.link{value = view.url .. "/pem_info?name=" .. view.config.dh , label=view.config.dh } ?></dd>
<? end ?>
<? if (view.config.ca) then ?>
<dt>CA Certificate</dt>
-<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.ca , label=view.config.ca } ?></dd>
+<dd><?= view.config.ca ?><? -- html.link{value = view.url .. "/pem_info?name=" .. view.config.ca , label=view.config.ca } ?></dd>
<? end ?>
<? if (view.config.cert) then ?>
<dt>Server Certificate</dt>
-<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.cert , label=view.config.cert } ?></dd>
+<dd><?= view.config.cert ?><? -- html.link{value = view.url .. "/pem_info?name=" .. view.config.cert , label=view.config.cert } ?></dd>
<? end ?>
<? if (view.config.key) then ?>
<dt>Server Private Key</dt>
-<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.key , label=view.config.key } ?></dd>
+<dd><?= view.config.key ?><? -- html.link{value = view.url .. "/pem_info?name=" .. view.config.key , label=view.config.key } ?></dd>
<? end ?>
<? if (view.config.tls) then ?>
<dt>TLS Authentication</dt>
-<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.tls , label=view.config.tls } ?></dd>
+<dd><?= view.config.tls ?><? -- html.link{value = view.url .. "/pem_info?name=" .. view.config.tls , label=view.config.tls } ?></dd>
<? end ?>
<? if (view.config.crl) then ?>
<dt>CRL Verify File</dt>
-<dd><?= html.link{value = view.url .. "/pem_info?name=" .. view.config.crl , label=view.config.crl } ?></dd>
+<dd><?= view.config.crl ?><? -- html.link{value = view.url .. "/pem_info?name=" .. view.config.crl , label=view.config.crl } ?></dd>
<? end ?>
</body>