Modulo:Discendenza: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m prova
m risistemazione
Riga 201:
local xx, xp
if (allinea == 'destra') then
agg('<div class="floatright" style="width:'..largo..'px;padding:3px;background:#fff;border:1px solid #c8ccd1"><table cellpadding="1" cellspacing="0" border=0 style="border-collapse:separate;text-align:center;font-size:95%;line-height:110%;margin:0px auto">')
else
agg('<table cellpadding="1" cellspacing="0" border=0 style="border-collapse:separate;text-align:center;font-size:95%;line-height:110%;margin:10px auto">')
end
local lg = math.floor(100/(xy[1]+2))
Riga 218:
 
if (n>1) then
s1 = s1..'<td style="border-right:1px solid #000;border-top:'
if (n1 == xp) then s1 = s1 ..';border-top:1px solid #000' else s1 = s1 ..'0' end
n1 = xp
if (xx-p1>0) then s1 = s1..'" colspan="'..(xx+1-p1) end
Riga 240:
if (n<xy[2]) then
if (#pers[v].figli > 0) then
s3 = s3..'<td style="border-right: 1px solid #000;border-bottom:0'
if (xx-p3>0) then s3 = s3..'" colspan="'..(xx+1-p3) end
p3 = xx + 1