summaryrefslogtreecommitdiffstats
path: root/openvpn-viewcert-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-04-12 04:14:24 +0000
committerTed Trask <ttrask01@yahoo.com>2014-04-12 04:14:24 +0000
commit740a6df21aaf7df06fc25ebabc9457baf800443c (patch)
tree2441918cfaa618b0443bf97293a2146c8f9048cc /openvpn-viewcert-html.lsp
parent07f78a295b50630bdc0b6981e6a72c32e3f49185 (diff)
downloadacf-openvpn-740a6df21aaf7df06fc25ebabc9457baf800443c.tar.bz2
acf-openvpn-740a6df21aaf7df06fc25ebabc9457baf800443c.tar.xz
Changes to use new htmlviewfunctions functions
Diffstat (limited to 'openvpn-viewcert-html.lsp')
-rw-r--r--openvpn-viewcert-html.lsp5
1 files changed, 3 insertions, 2 deletions
diff --git a/openvpn-viewcert-html.lsp b/openvpn-viewcert-html.lsp
index dcfb7d6..97edd4e 100644
--- a/openvpn-viewcert-html.lsp
+++ b/openvpn-viewcert-html.lsp
@@ -1,5 +1,6 @@
-<% local view, viewlibrary = ... %>
+<% local view, viewlibrary, page_info, session = ... %>
<% html = require("acf.html") %>
-<h1>Certificate Details</h1>
+<% local header_level = htmlviewfunctions.displaysectionstart(cfe({label="Certificate Details"}), page_info) %>
<pre><%= html.html_escape(view.value.value) %></pre>
+<% htmlviewfunctions.displaysectionend(header_level) %>