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=cd2cf8733b0b650e9f88eb62830c09fdeec4c59c;hb=0694d421eb6b45a8f0ee6c2b158dbb77883f263d;hp=5c1303bb23dd8b4851b5485140c4671fb4d22b09;hpb=eeed712024f1779c35a2bb85caf1fb4b366a0385;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 5c1303bb2..cd2cf8733 100644 --- a/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm +++ b/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm @@ -1,4 +1,4 @@ -<%# +a<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich @@ -49,7 +49,7 @@ require("luci.http").prepare_content("application/xhtml+xml") -<%=striptags( hostname .. ( (node and node.title) and ' - ' .. pcdata(node.title) or '')) %> - LuCI +<%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI @@ -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="<%=luci.util.pcdata(href)%>"><%=pcdata(nnode.title)%><%- +
  • class="active"<%end%> href="<%=pcdata(href)%>"><%=pcdata(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="<%=href%>"><%=pcdata(node.title)%><% +
  • class="preactive"<%end%> href="<%=pcdata(href)%>"><%=pcdata(striptags(node.title))%><% submenu("/" .. category .. "/" .. k.name .. "/", node) %>
  • <% end end @@ -133,7 +133,7 @@ end