diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-10 06:50:28 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-10 06:50:28 +0000 |
commit | 10c0b646cc0aa525e5b607f928d7b14f7868bfe6 (patch) | |
tree | 627e076cfa80721e25952b0fd32169c0446dba57 /ipsectools-uploadcert-html.lsp | |
parent | cc4fd41686f103acdc72c72a8e8295c3c169a28f (diff) | |
download | acf-ipsec-tools-10c0b646cc0aa525e5b607f928d7b14f7868bfe6.tar.bz2 acf-ipsec-tools-10c0b646cc0aa525e5b607f928d7b14f7868bfe6.tar.xz |
Changes to use new htmlviewfunctions functions
Diffstat (limited to 'ipsectools-uploadcert-html.lsp')
-rw-r--r-- | ipsectools-uploadcert-html.lsp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ipsectools-uploadcert-html.lsp b/ipsectools-uploadcert-html.lsp index 41048e4..68dd7a5 100644 --- a/ipsectools-uploadcert-html.lsp +++ b/ipsectools-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") %> -<h1><%= html.html_escape(form.label) %></h1> <% - 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) %> |