'
end
local active = ""
local selected = ""
local highlight = ""
if data.tpath and cpath then
if cpath:match("^"..data.tpath) then
active = "active"
highlight = "class = 'highlight'"
end
if data.path == cpath then
selected = "class = 'selected'"
end
end
local markup = '
'..caret..''..data.name..""
if data.entries then
markup = markup..""
for k,v in pairs(data.entries) do
markup = markup..gentree(v, controller, cpath)
end
markup = markup.."
"
end
markup = markup..""
return markup
end
?>
Unable to read TOC")
end
for k,v in pairs(data.data.entries) do
echo(gentree(v, data.controller, data.cpath))
end
?>