summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--tinydns-model.lua15
-rw-r--r--tinydns-status-html.lsp4
3 files changed, 3 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 004eb79..9e05fc6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
APP_NAME=tinydns
PACKAGE=acf-$(APP_NAME)
-VERSION=0.2.2
+VERSION=0.2.3
APP_DIST=\
tinydns* \
diff --git a/tinydns-model.lua b/tinydns-model.lua
index bdadc24..1ace06f 100644
--- a/tinydns-model.lua
+++ b/tinydns-model.lua
@@ -129,21 +129,6 @@ local function searchforconfigfiles()
end
searchforconfigfiles()
-local function recurseoutput(table,cnt)
- if not (cnt) then cnt=0 end
- cnt = cnt + 1
- for k,v in pairs(table or {}) do
- if (type(v) == "string") then
- io.write("<IMG SRC='/static/tango/16x16/devices/computer.png' width='16' height='16' alt STYLE='margin-left:"..cnt.."0px'> "..
- tostring(v) .. "</SPAN><BR>")
- else
- io.write("<SPAN STYLE='margin-left:"..cnt.."0px;font-wegith:strong;'> "..
- tostring(k) .. "</SPAN><BR>")
- recurseoutput(v,cnt)
- end
- end
-end
-
-- Create table with doman levels
local function recursedomains(t,array,maxn,currnum)
if not (currnum) then currnum = maxn + 1 end
diff --git a/tinydns-status-html.lsp b/tinydns-status-html.lsp
index f0288b8..28c7ee2 100644
--- a/tinydns-status-html.lsp
+++ b/tinydns-status-html.lsp
@@ -35,7 +35,7 @@ if (myform) and (myform.value) then
io.write("\n\t\t<DD>")
for k,v in pairs(myform.value) do
- io.write("<IMG SRC='/static/tango/16x16/places/start-here.png' width='16' height='16' alt> <B>" .. tostring(k) .. "</B>")
+ io.write("<IMG SRC='/skins/static/tango/16x16/places/start-here.png' width='16' height='16' alt> <B>" .. tostring(k) .. "</B>")
for kk,vv in pairs(v) do
io.write(tostring("<BR><SPAN STYLE='margin-left:30px;'>" .. vv .. "</SPAN>\n"))
end
@@ -57,7 +57,7 @@ local function recurseoutput(table,cnt)
if (table[k].label) then
if not (tonumber(k)) or (v.value) then
-- if v.label then
- io.write("\n\t\t\t<IMG SRC='/static/tango/16x16/devices/computer.png' width='16' height='16' alt STYLE='margin-left:"..cnt..
+ io.write("\n\t\t\t<IMG SRC='/skins/static/tango/16x16/devices/computer.png' width='16' height='16' alt STYLE='margin-left:"..cnt..
"0px'><SPAN STYLE=''> " .. tostring(v.label) .. "</SPAN><BR>")
io.write("\n\t\t\t<TABLE STYLE='margin-left:90px;'>")
for k1,v1 in pairs(v.option) do