local form = ...
require("viewfunctions")
?>
--[[ DEBUG INFORMATION
io.write("
DEBUGGING
DEBUG INFO: CFE
")
io.write(html.cfe_unpack(form))
io.write("")
--]]
?>
SYSTEM INFO
local myform = form.status
local tags = { "status", "version", "autostart", }
displayinfo(myform,tags,"viewonly")
?>
PROGRAM SPECIFIC OPTIONS/INFORMATION
local myform = form.status.show
io.write("\t- " .. 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 " .. k .. " | |
\n")
for k1,v1 in pairs(v) do
io.write("\n\t\t\t " .. v1["Protocol-Address"]['value'] .. " | |
\n")
for k2,v2 in pairs(v1) do
---[[
if (k2) and not ((string.lower(k2) == "protocol-address") or
(string.lower(k2) == "interface")) then
io.write(""..k2.." | "..v2['value'])
if (v2['descr']) and (#v2['descr'] > 0) then
io.write(" (" .. (v2['descr'] or "") .. ")")
end
io.write(" |
\n")
end
--]]
end
end
io.write("\t\t\t
")
end
io.write("\t\t \n")
?>