From 740a6df21aaf7df06fc25ebabc9457baf800443c Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sat, 12 Apr 2014 04:14:24 +0000 Subject: Changes to use new htmlviewfunctions functions --- openvpn-uploadcert-html.lsp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'openvpn-uploadcert-html.lsp') diff --git a/openvpn-uploadcert-html.lsp b/openvpn-uploadcert-html.lsp index 41048e4..68dd7a5 100644 --- a/openvpn-uploadcert-html.lsp +++ b/openvpn-uploadcert-html.lsp @@ -1,13 +1,8 @@ -<% local form, viewlibrary, page_info = ... %> +<% local form, viewlibrary, page_info, session = ... %> <% htmlviewfunctions = require("htmlviewfunctions") %> -<% html = require("acf.html") %> -

<%= html.html_escape(form.label) %>

<% - form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action form.enctype = "multipart/form-data" form.value.cert.type="file" - form.value.password.type="password" - local order = {"cert", "password"} - htmlviewfunctions.displayform(form, order) + htmlviewfunctions.displayitem(form, page_info) %> -- cgit v1.2.3