diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-10-02 15:06:51 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-10-02 15:06:51 +0000 |
commit | f3bfda4068bf098d2549f3b54cd3100beacae8b2 (patch) | |
tree | 870375d76ca2c8050ca5a042612653bb4a8a1079 | |
parent | d549d13ce0f8e71f6021b125ab539ed1f1fc21fd (diff) | |
download | acf-alpine-baselayout-f3bfda4068bf098d2549f3b54cd3100beacae8b2.tar.bz2 acf-alpine-baselayout-f3bfda4068bf098d2549f3b54cd3100beacae8b2.tar.xz |
Added require statement for html library
-rw-r--r-- | cron-listjobs-html.lsp | 1 | ||||
-rw-r--r-- | health-network-html.lsp | 1 | ||||
-rw-r--r-- | health-networkstats-html.lsp | 1 | ||||
-rw-r--r-- | health-proc-html.lsp | 1 | ||||
-rw-r--r-- | health-storage-html.lsp | 1 | ||||
-rw-r--r-- | health-system-html.lsp | 1 | ||||
-rw-r--r-- | hostname-html.lsp | 1 | ||||
-rw-r--r-- | interfaces-read-html.lsp | 1 | ||||
-rw-r--r-- | interfaces-update-html.lsp | 1 | ||||
-rw-r--r-- | logfiles-status-html.lsp | 1 | ||||
-rw-r--r-- | logfiles-tail-html.lsp | 1 | ||||
-rw-r--r-- | logfiles-view-html.lsp | 1 | ||||
-rw-r--r-- | modules-edit-html.lsp | 1 | ||||
-rw-r--r-- | modules-status-html.lsp | 1 | ||||
-rw-r--r-- | password-edit-html.lsp | 1 | ||||
-rw-r--r-- | rc-edit-html.lsp | 1 | ||||
-rw-r--r-- | rc-status-html.lsp | 1 |
17 files changed, 17 insertions, 0 deletions
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") %> <h1>Network</h1> 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") %> <h1>Hardware information</h1> 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("<pre>"..html.html_escape(disk.value).."</pre>\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") %> <h1>System</h1> 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") %> <h1><%= html.html_escape(view.label) %></h1> <DL> 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") %> <script type="text/javascript" src="<%= html.html_escape(page_info.wwwprefix) %>/js/jquery-latest.js"></script> 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") %> <script type="text/javascript" src="<%= html.html_escape(page_info.wwwprefix) %>/js/jquery-latest.js"></script> <script type="text/javascript"> diff --git a/logfiles-view-html.lsp b/logfiles-view-html.lsp index 2751941..afb4d13 100644 --- a/logfiles-view-html.lsp +++ b/logfiles-view-html.lsp @@ -1,5 +1,6 @@ <% local form, viewlibrary, page_info = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %> <% if form.type == "form" then %> <H1>Configuration</H1> diff --git a/modules-edit-html.lsp b/modules-edit-html.lsp index d91cd35..ecac2ba 100644 --- a/modules-edit-html.lsp +++ b/modules-edit-html.lsp @@ -1,5 +1,6 @@ <% local form, viewlibrary, page_info, session = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"reload"}, session) %> diff --git a/modules-status-html.lsp b/modules-status-html.lsp index ad14d86..c2fc9dd 100644 --- a/modules-status-html.lsp +++ b/modules-status-html.lsp @@ -1,4 +1,5 @@ <% local view = ... %> +<% html = require("acf.html") %> <h1>Modules</h1> diff --git a/password-edit-html.lsp b/password-edit-html.lsp index b9cc9df..0eeddaa 100644 --- a/password-edit-html.lsp +++ b/password-edit-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/rc-edit-html.lsp b/rc-edit-html.lsp index 79d374d..8c7f360 100644 --- a/rc-edit-html.lsp +++ b/rc-edit-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/rc-status-html.lsp b/rc-status-html.lsp index ad59de9..cbb2b62 100644 --- a/rc-status-html.lsp +++ b/rc-status-html.lsp @@ -1,5 +1,6 @@ <% local view, viewlibrary, page_info, session = ... %> <% require("htmlviewfunctions") %> +<% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"edit", "startstop"}, session) %> |