From e9d1dabb876d1644d83a7961a593af4e15eef9b5 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 2 Oct 2012 15:11:04 +0000 Subject: Added require statement for html library --- iptables-details-html.lsp | 1 + iptables-editchain-html.lsp | 1 + iptables-editrule-html.lsp | 1 + iptables-filterrules-html.lsp | 1 + 4 files changed, 4 insertions(+) diff --git a/iptables-details-html.lsp b/iptables-details-html.lsp index 5310f67..3f6e1e5 100644 --- a/iptables-details-html.lsp +++ b/iptables-details-html.lsp @@ -1,4 +1,5 @@ <% local data, viewlibrary = ... +html = require("acf.html") %> <% viewlibrary.dispatch_component("status") %> diff --git a/iptables-editchain-html.lsp b/iptables-editchain-html.lsp index af06bb6..3648a39 100644 --- a/iptables-editchain-html.lsp +++ b/iptables-editchain-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/iptables-editrule-html.lsp b/iptables-editrule-html.lsp index da1fc61..eb0c497 100644 --- a/iptables-editrule-html.lsp +++ b/iptables-editrule-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/iptables-filterrules-html.lsp b/iptables-filterrules-html.lsp index 7011016..b5f26ee 100644 --- a/iptables-filterrules-html.lsp +++ b/iptables-filterrules-html.lsp @@ -1,5 +1,6 @@ <% local data, viewlibrary, page_info, session = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"editchain", "deletechain", "createrule", "deleterule", "editrule", "createchain"}, session) %> -- cgit v1.2.3