From f3bfda4068bf098d2549f3b54cd3100beacae8b2 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 2 Oct 2012 15:06:51 +0000 Subject: Added require statement for html library --- cron-listjobs-html.lsp | 1 + health-network-html.lsp | 1 + health-networkstats-html.lsp | 1 + health-proc-html.lsp | 1 + health-storage-html.lsp | 1 + health-system-html.lsp | 1 + hostname-html.lsp | 1 + interfaces-read-html.lsp | 1 + interfaces-update-html.lsp | 1 + logfiles-status-html.lsp | 1 + logfiles-tail-html.lsp | 1 + logfiles-view-html.lsp | 1 + modules-edit-html.lsp | 1 + modules-status-html.lsp | 1 + password-edit-html.lsp | 1 + rc-edit-html.lsp | 1 + rc-status-html.lsp | 1 + 17 files changed, 17 insertions(+) diff --git a/cron-listjobs-html.lsp b/cron-listjobs-html.lsp index c9859ec..d748d61 100644 --- a/cron-listjobs-html.lsp +++ b/cron-listjobs-html.lsp @@ -1,5 +1,6 @@ <% local view, viewlibrary, page_info, session = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"editjob", "deletejob", "movejob"}, session) %> <% htmlviewfunctions.displaycommandresults({"createjob"}, session, true) %> diff --git a/health-network-html.lsp b/health-network-html.lsp index b94707f..da90a68 100644 --- a/health-network-html.lsp +++ b/health-network-html.lsp @@ -1,4 +1,5 @@ <% local view = ... %> +<% html = require("acf.html") %>

Network

diff --git a/health-networkstats-html.lsp b/health-networkstats-html.lsp index 0ba89bd..78401d9 100644 --- a/health-networkstats-html.lsp +++ b/health-networkstats-html.lsp @@ -1,5 +1,6 @@ <% local view, viewlibrary, page_info = ... %> <% require("json") %> +<% html = require("acf.html") %> <% -- Table of colors local rgb = { diff --git a/health-proc-html.lsp b/health-proc-html.lsp index f479152..d5f0a0a 100644 --- a/health-proc-html.lsp +++ b/health-proc-html.lsp @@ -1,4 +1,5 @@ <% local view = ... %> +<% html = require("acf.html") %>

Hardware information

diff --git a/health-storage-html.lsp b/health-storage-html.lsp index 7e1e78a..0aa11ae 100644 --- a/health-storage-html.lsp +++ b/health-storage-html.lsp @@ -1,4 +1,5 @@ <% local view = ... %> +<% html = require("acf.html") %> <% displaydisk = function(disk, name) io.write("
"..html.html_escape(disk.value).."
\n") diff --git a/health-system-html.lsp b/health-system-html.lsp index 99036e9..d07b155 100644 --- a/health-system-html.lsp +++ b/health-system-html.lsp @@ -1,4 +1,5 @@ <% local view = ... %> +<% html = require("acf.html") %>

System

diff --git a/hostname-html.lsp b/hostname-html.lsp index 4563279..604d9b0 100644 --- a/hostname-html.lsp +++ b/hostname-html.lsp @@ -1,5 +1,6 @@ <% local view = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %>

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

diff --git a/interfaces-read-html.lsp b/interfaces-read-html.lsp index 5094332..a3f174b 100644 --- a/interfaces-read-html.lsp +++ b/interfaces-read-html.lsp @@ -1,5 +1,6 @@ <% local view, viewlibrary, page_info, session = ... require("htmlviewfunctions") +html = require("acf.html") %> <% showoption = function(option) diff --git a/interfaces-update-html.lsp b/interfaces-update-html.lsp index b8a9d99..06c88e0 100644 --- a/interfaces-update-html.lsp +++ b/interfaces-update-html.lsp @@ -1,5 +1,6 @@ <% local form, viewlibrary, page_info = ... require("htmlviewfunctions") +html = require("acf.html") %> diff --git a/logfiles-status-html.lsp b/logfiles-status-html.lsp index 3706253..743daea 100644 --- a/logfiles-status-html.lsp +++ b/logfiles-status-html.lsp @@ -1,5 +1,6 @@ <% local view, viewlibrary, page_info, session = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"delete"}, session) %> diff --git a/logfiles-tail-html.lsp b/logfiles-tail-html.lsp index 1f63e91..ca7a9d7 100644 --- a/logfiles-tail-html.lsp +++ b/logfiles-tail-html.lsp @@ -1,5 +1,6 @@ <% local form, viewlibrary, page_info = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %>