' 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.."" end markup = markup.."
  • " return markup end ?>