diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-02-18 14:56:32 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-02-18 14:56:32 +0000 |
commit | 56b31de6ff13318c5d0ad39f483119042a0f1668 (patch) | |
tree | 4027323d5723bcb0e646451f3b1dfa16036436b1 | |
parent | 505284e5b2ed3a31e5a1134247ebd98e7e8c7cd8 (diff) | |
download | acf-fetchmail-56b31de6ff13318c5d0ad39f483119042a0f1668.tar.bz2 acf-fetchmail-56b31de6ff13318c5d0ad39f483119042a0f1668.tar.xz |
Creating tags folder for 'dhcp'
git-svn-id: svn://svn.alpinelinux.org/acf/fetchmail/trunk@739 ab2d0c66-481e-0410-8bed-d214d4d58bed
-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 |