From f0dcd211ed5fca855655d8b60b588b1d193e92fd Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Thu, 22 May 2008 12:07:29 +0000 Subject: Graphical bugfix - Modifying path to images. version bump on Makefiles git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1175 ab2d0c66-481e-0410-8bed-d214d4d58bed --- Makefile | 2 +- tinydns-model.lua | 15 --------------- tinydns-status-html.lsp | 4 ++-- 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(" ".. - tostring(v) .. "
") - else - io.write(" ".. - tostring(k) .. "
") - 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
") for k,v in pairs(myform.value) do - io.write(" " .. tostring(k) .. "") + io.write(" " .. tostring(k) .. "") for kk,vv in pairs(v) do io.write(tostring("
" .. vv .. "\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 " .. tostring(v.label) .. "
") io.write("\n\t\t\t") for k1,v1 in pairs(v.option) do -- cgit v1.2.3