ocal href = controller .. prefix .. v.name
			href = (nnode.query) and href .. luci.http.build_querystring(nnode.query) or href
		%>
		<li>
			<span<% if nnode._menu_selected then %> class="active"<%end%>><a href="<%=pcdata(href)%>"><%=pcdata(striptags(translate(nnode.title)))%></a></span>
			<%- submenu(prefix .. v.name .. "/", nnode) %>
		</li>
		<%- end %>
	<%- end %>
	</ul>
<%-
	end
end

if cattree and cattree.nodes then
	local index = {}
	for k, node in pairs(cattree.nodes) do
		table.insert(index, {na