X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Fopenwrt-light%2Fluasrc%2Fview%2Fthemes%2Fopenwrt-light%2Fheader.htm;fp=themes%2Fopenwrt-light%2Fluasrc%2Fview%2Fthemes%2Fopenwrt-light%2Fheader.htm;h=33998da72132f35631c1bfdb9ebb446a1ade8539;hb=c9cbd9fe29942b3c09c36938e724cc7dd3111568;hp=5a1993425552dce83612bc58e1147bd9d4d4ecc5;hpb=88f92d1dd8e003490d81ca7512c7bd2d9acd4714;p=project%2Fluci.git diff --git a/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm b/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm index 5a1993425..33998da72 100644 --- a/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm +++ b/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm @@ -96,7 +96,7 @@ local function submenu(prefix, node) local href = controller .. prefix .. v.name .. "/" href = (nnode.query) and href .. luci.http.build_querystring(nnode.query) or href %> -
  • class="active"<%end%> href="<%=pcdata(href)%>"><%=pcdata(striptags(nnode.title))%><%- +
  • class="active"<%end%> href="<%=pcdata(href)%>"><%=striptags(nnode.title)%><%- submenu(prefix .. v.name .. "/", nnode) %>
  • <%- @@ -122,7 +122,7 @@ if cattree and cattree.nodes then local href = controller.."/"..category.."/"..k.name.."/" href = (k.query) and href .. luci.http.build_querystring(k.query) or href %> -
  • class="preactive"<%end%> href="<%=pcdata(href)%>"><%=pcdata(striptags(node.title))%><% +
  • class="preactive"<%end%> href="<%=pcdata(href)%>"><%=striptags(node.title)%><% submenu("/" .. category .. "/" .. k.name .. "/", node) %>
  • <% end end @@ -133,7 +133,7 @@ end