diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-02-23 09:43:19 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-02-23 09:43:19 +0000 |
commit | 122904f71112023b7257ac48239271e05b92fe81 (patch) | |
tree | 99cd41abb01b063f0b2602229b2dd948b1174418 /tinydns-status-html.lsp | |
parent | c9b0ebbd3f0a467f253606a385235f1a8a1304d0 (diff) | |
download | acf-tinydns-122904f71112023b7257ac48239271e05b92fe81.tar.bz2 acf-tinydns-122904f71112023b7257ac48239271e05b92fe81.tar.xz |
Output can now be filtered in levels (can only be done by modifying in the controller for now).
A problem has appeared - We cant sort the output when the tables are constructed as they are. Next commit will/should have changed the table-layout.
git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@767 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'tinydns-status-html.lsp')
-rw-r--r-- | tinydns-status-html.lsp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tinydns-status-html.lsp b/tinydns-status-html.lsp index 03767d1..37a7c53 100644 --- a/tinydns-status-html.lsp +++ b/tinydns-status-html.lsp @@ -41,6 +41,12 @@ displayinfo(myform,tags,"viewonly") <H2>PROGRAM SPECIFIC OPTIONS/INFORMATION</H2> <? +-- DEBUGGING +--local myform = form.config +--local tags = { "debug", } +--displayinfo(myform,tags) + + local myform = form.config.locations --displayinfo(myform,tags) io.write("<DL>") @@ -100,8 +106,8 @@ end ?> <? -local tags = {"nsourdomain", "nsdomain", "host", "alias", "mx", "ptr", "cname", "soa", "generic" } -local myform = form.config +local tags = {"nsourdomain", "nsdomain", "host", "alias", "mx", "ptr", "cname", "soa", "generic", "all" } +local myform = form.config.settings io.write("<DL>") for k,v in pairs(tags) do local myform = myform[v] |