"

uci:foreach("freifunk-widgets", "widget",
			function(s)
				if s.enabled == "1" then
					table.insert(widgets, s)
				end
			end)

for k, v in ipairs(widgets) do
	if v['template'] and fs.access(dir .. "/" .. v['template'] .. "/main.htm") then
		tpl.render("freifunk/widgets/" .. v['template'] .. "/main", { data = v })
	end
end

%>
<%+footer%>
