diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-10-02 15:13:14 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-10-02 15:13:14 +0000 |
commit | 0832e6528a88a4213abef85152b08cc4ec3bfe3c (patch) | |
tree | 7f8dd5e37cfd94acba774ef783bd9496d55575f3 | |
parent | 97c9f44f26c854c80985043c6b60f43c21e61000 (diff) | |
download | acf-openvpn-0832e6528a88a4213abef85152b08cc4ec3bfe3c.tar.bz2 acf-openvpn-0832e6528a88a4213abef85152b08cc4ec3bfe3c.tar.xz |
Added require statement for html library
-rw-r--r-- | openvpn-listcerts-html.lsp | 1 | ||||
-rw-r--r-- | openvpn-statusinfo-html.lsp | 1 | ||||
-rw-r--r-- | openvpn-uploadcert-html.lsp | 1 | ||||
-rw-r--r-- | openvpn-viewcert-html.lsp | 1 | ||||
-rw-r--r-- | openvpn-viewconfig-html.lsp | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/openvpn-listcerts-html.lsp b/openvpn-listcerts-html.lsp index 8f1cc6d..7a47e1c 100644 --- a/openvpn-listcerts-html.lsp +++ b/openvpn-listcerts-html.lsp @@ -1,5 +1,6 @@ <% local view, viewlibrary, page_info, session = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"deletecert", "generatedhparams"}, session) %> <% htmlviewfunctions.displaycommandresults({"uploadcert"}, session, true) %> diff --git a/openvpn-statusinfo-html.lsp b/openvpn-statusinfo-html.lsp index bc7ab1a..2167893 100644 --- a/openvpn-statusinfo-html.lsp +++ b/openvpn-statusinfo-html.lsp @@ -1,4 +1,5 @@ <% local view, viewlibrary = ... %> +<% html = require("acf.html") %> <% viewlibrary.dispatch_component("status") %> diff --git a/openvpn-uploadcert-html.lsp b/openvpn-uploadcert-html.lsp index 4e524e6..76ad8c1 100644 --- a/openvpn-uploadcert-html.lsp +++ b/openvpn-uploadcert-html.lsp @@ -1,5 +1,6 @@ <% local form, viewlibrary, page_info = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %> <H1><%= html.html_escape(form.label) %></H1> <% diff --git a/openvpn-viewcert-html.lsp b/openvpn-viewcert-html.lsp index 1c87e92..418a1aa 100644 --- a/openvpn-viewcert-html.lsp +++ b/openvpn-viewcert-html.lsp @@ -1,4 +1,5 @@ <% local view, viewlibrary = ... %> +<% html = require("acf.html") %> <H1>Certificate Details</H1> <pre><%= html.html_escape(view.value.value) %></pre> diff --git a/openvpn-viewconfig-html.lsp b/openvpn-viewconfig-html.lsp index 35118f9..5b76598 100644 --- a/openvpn-viewconfig-html.lsp +++ b/openvpn-viewconfig-html.lsp @@ -1,5 +1,6 @@ <% local view, viewlibrary, page_info, session = ... %> <% format = require("acf.format") %> +<% html = require("acf.html") %> <% local shortname = string.gsub(view.value.name, "^.*/", "") %> <h1><%= html.html_escape(format.cap_begin_word(view.value.type)) %> Config</h1> |