6,834
edits
No edit summary |
No edit summary |
||
Line 842: | Line 842: | ||
line1 = line1.."via the observer pattern. [https://wiki.gtaconnected.com/HowTo/Events Read more.]" | line1 = line1.."via the observer pattern. [https://wiki.gtaconnected.com/HowTo/Events Read more.]" | ||
end | end | ||
table.insert(out, "<div style='margin-top: 20px;'>"..line1.."</div>") | |||
table.insert(out, "<div style='margin-top: 20px;'></div>") | |||
local getTypeSide = function(type) | local getTypeSide = function(type) | ||
Line 872: | Line 871: | ||
types[i] = p.loadTemplate(frame, 'Side', {[getTypeSide(type)]='1'}).." "..type | types[i] = p.loadTemplate(frame, 'Side', {[getTypeSide(type)]='1'}).." "..type | ||
end | end | ||
table.insert(out, table.concat(types, "")) | table.insert(out, "<div style='margin-top: 20px;'>"..table.concat(types, "").."</div>") | ||
local parts = p.split(p.getDisplayedName(frame), ".") | local parts = p.split(p.getDisplayedName(frame), ".") | ||
Line 890: | Line 889: | ||
end | end | ||
return table.concat(out, " | return table.concat(out, "") | ||
end | end | ||
edits