Modul:Citace: Porovnání verzí
Smazaný obsah Přidaný obsah
opravy v p.citYearNumberPage() a refactoring v p.citChapterPage() |
opravy v p.citYearNumberPage() |
||
Řádek 839:
end
-- refact/fix 1.6.2018
function p.citYearNumberPage(c)
if c.trace then p.trace(c, debug.getinfo(1, "n")) end
local t = {}
t.ar = {}
if not p.empty(c.args["ročník"]) then
table.insert(t.
end
if not p.empty(c.args["číslo"]) then
table.insert(t.
end
if
end
-- test array length
if
if c.state.isDatum then
table.insert(c.r, ", " .. table.concat(t.
else
table.insert(c.r, " " .. p.upperFirst(table.concat(t.
table.insert(c.r, ""▼
▲ .. c.args["strany"]
if c.state.isDatum then▼
end
end
end
|