From b9997890f266def9882f4efd7753f1d59e458f2b Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Thu, 27 Mar 2008 14:24:10 +0000 Subject: Reorganized the output of data. Added information of Autostart sequence. git-svn-id: svn://svn.alpinelinux.org/acf/opennhrp/trunk@846 ab2d0c66-481e-0410-8bed-d214d4d58bed --- opennhrp-status-html.lsp | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) (limited to 'opennhrp-status-html.lsp') diff --git a/opennhrp-status-html.lsp b/opennhrp-status-html.lsp index 6137246..1fa098a 100644 --- a/opennhrp-status-html.lsp +++ b/opennhrp-status-html.lsp @@ -29,18 +29,14 @@ end
-

PROGRAM SPECIFIC OPTIONS/INFORMATION

" .. myform.label .. "\n") io.write("\t\t
\n") for k,v in pairs(myform.option or {}) do io.write("\t\t\t") - io.write("\n\t\t\t\n") + io.write("\n\t\t\t\n") for k1,v1 in pairs(v) do - if (k1 ~= "Protocol-Address") then - io.write("\n") + io.write("\n\t\t\t\n") + for k2,v2 in pairs(v1) do + if (k2) and not ((string.lower(k2) == "protocol-address") or + (string.lower(k2) == "tooltip") or + (string.lower(k2) == "interface")) then + io.write("\n") + end end + end + io.write("\t\t\t
Protocol-Address" .. v["Protocol-Address"] .. "
" .. k .. "
"..k1..""..v1.."
" .. v1["Protocol-Address"] .. "
"..k2..""..v2.."
") end io.write("\t\t
\n") ?>
- - - DEBUGGING

DEBUG INFO: CFE

") -- cgit v1.2.3