summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-18 00:50:33 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-18 00:50:33 +0000
commit9bb5f5967b53ce365f8ad2813c0e1a0a0865b92a (patch)
tree22fbd4e872180160bb0e291ceb9b4aa757cd5714
parent74cd43acdab91246edf4acaf5f646eed2063f39e (diff)
downloadacf-clamav-9bb5f5967b53ce365f8ad2813c0e1a0a0865b92a.tar.bz2
acf-clamav-9bb5f5967b53ce365f8ad2813c0e1a0a0865b92a.tar.xz
Modified require statements for acf. libraries, updated for viewfunctions to htmlviewfunctions, deleted startstop view
-rw-r--r--clamav-details-html.lsp4
-rw-r--r--clamav-listfiles-html.lsp4
-rw-r--r--clamav-logfile-html.lsp1
-rw-r--r--clamav-model.lua4
l---------clamav-startstop-html.lsp1
5 files changed, 6 insertions, 8 deletions
diff --git a/clamav-details-html.lsp b/clamav-details-html.lsp
index 8f1363e..ae142cd 100644
--- a/clamav-details-html.lsp
+++ b/clamav-details-html.lsp
@@ -1,5 +1,5 @@
<% local data, viewlibrary = ...
-require("viewfunctions")
+require("htmlviewfunctions")
%>
<% viewlibrary.dispatch_component("status") %>
@@ -7,6 +7,6 @@ require("viewfunctions")
<H2><%= html.html_escape(data.label) %></H2>
<DL>
<%
-displayitem(data)
+htmlviewfunctions.displayitem(data)
%>
</DL>
diff --git a/clamav-listfiles-html.lsp b/clamav-listfiles-html.lsp
index 374146c..6420120 100644
--- a/clamav-listfiles-html.lsp
+++ b/clamav-listfiles-html.lsp
@@ -1,8 +1,8 @@
<% local data, viewlibrary, page_info, session = ...
-require("viewfunctions")
+require("htmlviewfunctions")
%>
-<% displaycommandresults({"expert"}, session) %>
+<% htmlviewfunctions.displaycommandresults({"expert"}, session) %>
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
diff --git a/clamav-logfile-html.lsp b/clamav-logfile-html.lsp
index fbe7221..7cedd8b 100644
--- a/clamav-logfile-html.lsp
+++ b/clamav-logfile-html.lsp
@@ -1,5 +1,4 @@
<% local data, viewlibrary = ...
-require("viewfunctions")
%>
<% if viewlibrary and viewlibrary.dispatch_component then
diff --git a/clamav-model.lua b/clamav-model.lua
index 20d1885..60ebd8f 100644
--- a/clamav-model.lua
+++ b/clamav-model.lua
@@ -2,8 +2,8 @@ module(..., package.seeall)
-- Load libraries
require("modelfunctions")
-require("fs")
-require("format")
+fs = require("acf.fs")
+format = require("acf.format")
-- Set variables
local processname = "clamd"
diff --git a/clamav-startstop-html.lsp b/clamav-startstop-html.lsp
deleted file mode 120000
index 0ea2627..0000000
--- a/clamav-startstop-html.lsp
+++ /dev/null
@@ -1 +0,0 @@
-../startstop-html.lsp \ No newline at end of file