DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(form)) io.write("
") --]] ?> 0) then val.class = "error" io.write(" class='error'") end io.write(">" .. val.label .. "\n") if (viewonly) then io.write("\t\t
" .. val.value .. "\n") else io.write("\t\t
" .. html.form[val.type](val) .. "\n") end if (val.descr) and (#val.descr > 0) then io.write("\t\t

" .. string.gsub(val.descr, "\n", "
") .. "

\n") end if (#val.errtxt > 0) then io.write("\t\t

" .. string.gsub(val.errtxt, "\n", "
") .. "

\n") end io.write("\t\t
\n") end end end ?>

SYSTEM INFO

Configured interfaces

" .. (myform.name.value or '') .. "
") io.write("") -- io.write("") local tags = {"method", "address", "netmask", "gateway", "provider", "hostname", "pre-up", "up", "down", "post-down", "comment", } for k1,v1 in pairs(tags) do if (myform[v1]['value'] ~= "") then io.write("") io.write("") end end io.write("
" .. (myform.name.value or '') .. "
" .. myform[v1]['label'] .. "" .. string.gsub(myform[v1]['value'], "\n", "
") .. "
") end end io.write("
") ?>
DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(form)) io.write("
") --]] ?>