diff options
Diffstat (limited to 'tinydns-model.lua')
-rw-r--r-- | tinydns-model.lua | 15 |
1 files changed, 0 insertions, 15 deletions
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 |