From 567e623b8285a1b93440c2aa51a00bffb92e32ab Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 2 Oct 2012 15:11:29 +0000 Subject: Added require statement for html library --- kamailio-createtableentry-html.lsp | 1 + kamailio-createuser-html.lsp | 1 + kamailio-listfiles-html.lsp | 1 + kamailio-listtables-html.lsp | 1 + kamailio-listusers-html.lsp | 1 + kamailio-searchdatabase-html.lsp | 1 + kamailio-viewtable-html.lsp | 1 + 7 files changed, 7 insertions(+) diff --git a/kamailio-createtableentry-html.lsp b/kamailio-createtableentry-html.lsp index fc5113f..e8dc1ca 100644 --- a/kamailio-createtableentry-html.lsp +++ b/kamailio-createtableentry-html.lsp @@ -1,5 +1,6 @@ <% local form, viewlibrary, page_info = ... require("htmlviewfunctions") +html = require("acf.html") %>

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

diff --git a/kamailio-createuser-html.lsp b/kamailio-createuser-html.lsp index a3a8857..b83f2b1 100644 --- a/kamailio-createuser-html.lsp +++ b/kamailio-createuser-html.lsp @@ -1,5 +1,6 @@ <% local form, viewlibrary, page_info = ... require("htmlviewfunctions") +html = require("acf.html") %>

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

diff --git a/kamailio-listfiles-html.lsp b/kamailio-listfiles-html.lsp index bcc9020..e99c936 100644 --- a/kamailio-listfiles-html.lsp +++ b/kamailio-listfiles-html.lsp @@ -1,5 +1,6 @@ <% local view, viewlibrary, page_info, session = ... require("htmlviewfunctions") +html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"edit"}, session) %> diff --git a/kamailio-listtables-html.lsp b/kamailio-listtables-html.lsp index 9460bf6..fec3ac4 100644 --- a/kamailio-listtables-html.lsp +++ b/kamailio-listtables-html.lsp @@ -1,5 +1,6 @@ <% local form, viewlibrary, page_info, session = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"createdatabase"}, session) %> diff --git a/kamailio-listusers-html.lsp b/kamailio-listusers-html.lsp index d380a83..d5ea4f9 100644 --- a/kamailio-listusers-html.lsp +++ b/kamailio-listusers-html.lsp @@ -1,5 +1,6 @@ <% local form, viewlibrary, page_info, session = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"deleteuser", "updateuser"}, session) %> <% htmlviewfunctions.displaycommandresults({"createuser"}, session, true) %> diff --git a/kamailio-searchdatabase-html.lsp b/kamailio-searchdatabase-html.lsp index 6d747b7..e2538fb 100644 --- a/kamailio-searchdatabase-html.lsp +++ b/kamailio-searchdatabase-html.lsp @@ -1,5 +1,6 @@ <% local form, viewlibrary, page_info = ... require("htmlviewfunctions") +html = require("acf.html") %> <% if form.value.result then diff --git a/kamailio-viewtable-html.lsp b/kamailio-viewtable-html.lsp index 38dd720..e1531d0 100644 --- a/kamailio-viewtable-html.lsp +++ b/kamailio-viewtable-html.lsp @@ -1,5 +1,6 @@ <% local form, viewlibrary, page_info, session = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"deletetableentry", "updatetableentry"}, session) %> <% htmlviewfunctions.displaycommandresults({"createtableentry"}, session, true) %> -- cgit v1.2.3