Commit 56b31de6 authored by Mika Havela's avatar Mika Havela
Browse files

Creating tags folder for 'dhcp'

git-svn-id: svn://svn.alpinelinux.org/acf/fetchmail/trunk@739 ab2d0c66-481e-0410-8bed-d214d4d58bed
parent 505284e5
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment