diff options
Diffstat (limited to 'fetchmail-config-html.lsp')
-rw-r--r-- | fetchmail-config-html.lsp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fetchmail-config-html.lsp b/fetchmail-config-html.lsp index ded27eb..4a6cba3 100644 --- a/fetchmail-config-html.lsp +++ b/fetchmail-config-html.lsp @@ -7,11 +7,12 @@ io.write("</span>") --]] ?> + <? function informationform(myform,tags) io.write("<DL>") for k,v in pairs(tags) do - if (myform[v]) then + if (myform[v]) and (myform[v].value) then local val = myform[v] io.write("\t<DT") if (#val.errtxt > 0) then io.write(" class='error'") end @@ -30,7 +31,7 @@ end function configform(myform,tags) io.write("<DL>") for k,v in pairs(tags) do - if (myform[v]) then + if (myform[v]) and (myform[v].value) then local val = myform[v] io.write("\t<DT") if (#val.errtxt > 0) then io.write(" class='error'") end |