summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-18 00:51:02 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-18 00:51:02 +0000
commit1e9ed0f9034c7d4f2d9683eaed422568a0d3aa28 (patch)
tree0d54464a14cbaab1e62b0f5daf21d097cbe599b7
parent6692843935d8e831750a23cea4547de105b0c50b (diff)
downloadacf-clamsmtp-1e9ed0f9034c7d4f2d9683eaed422568a0d3aa28.tar.bz2
acf-clamsmtp-1e9ed0f9034c7d4f2d9683eaed422568a0d3aa28.tar.xz
Modified require statements for acf. libraries, updated for viewfunctions to htmlviewfunctions, deleted startstop view
-rw-r--r--clamsmtp-details-html.lsp4
-rw-r--r--clamsmtp-logfile-html.lsp1
-rw-r--r--clamsmtp-model.lua4
l---------clamsmtp-startstop-html.lsp1
4 files changed, 4 insertions, 6 deletions
diff --git a/clamsmtp-details-html.lsp b/clamsmtp-details-html.lsp
index 8f1363e..ae142cd 100644
--- a/clamsmtp-details-html.lsp
+++ b/clamsmtp-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/clamsmtp-logfile-html.lsp b/clamsmtp-logfile-html.lsp
index 5a14049..1207ce9 100644
--- a/clamsmtp-logfile-html.lsp
+++ b/clamsmtp-logfile-html.lsp
@@ -1,5 +1,4 @@
<% local data, viewlibrary = ...
-require("viewfunctions")
%>
<% if viewlibrary and viewlibrary.dispatch_component then
diff --git a/clamsmtp-model.lua b/clamsmtp-model.lua
index 832b13f..e9dcdb5 100644
--- a/clamsmtp-model.lua
+++ b/clamsmtp-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 configfile = "/etc/clamsmtpd.conf"
diff --git a/clamsmtp-startstop-html.lsp b/clamsmtp-startstop-html.lsp
deleted file mode 120000
index 0ea2627..0000000
--- a/clamsmtp-startstop-html.lsp
+++ /dev/null
@@ -1 +0,0 @@
-../startstop-html.lsp \ No newline at end of file