17.707
Bearbeitungen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 249: | Zeile 249: | ||
end | end | ||
function p.zeile(a1, v1, a2, v2) | function p.zeile(a1, v1, a2, v2, id1) -- Tabellenzeile mit max. 2x2 Einträgen | ||
local t = "" | local t = "" | ||
if v1 ~= "" then | if v1 ~= "" then | ||
t = t .. "<tr>" | t = t .. "<tr>" | ||
t = t .. "<td>'''" .. a1 .. "'''</td>" | if id == nil then | ||
t = t .. "<td>'''" .. a1 .. "'''</td>" | |||
else | |||
t = t .. "<td id=\"" .. id1 .. "\" class=\"fileinfo-paramfield\">'''" .. a1 .. "'''</td>" | |||
end | |||
if a2 == nil or v2 == nil or v2 == "" then | if a2 == nil or v2 == nil or v2 == "" then | ||
t = t .. "<td colspan = \"3\">" .. v1 .. "</td>" | t = t .. "<td colspan = \"3\">" .. v1 .. "</td>" | ||