X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Fopenwrt.org-oxygen%2Fluasrc%2Fview%2Fthemes%2Fopenwrt.org-oxygen%2Fheader.htm;h=5e4e05425d3aa8949568f46ab0860ccd25983b49;hb=0694d421eb6b45a8f0ee6c2b158dbb77883f263d;hp=582db0106c652470fdcc76e6101d1ecc6100b2d4;hpb=eeed712024f1779c35a2bb85caf1fb4b366a0385;p=project%2Fluci.git diff --git a/themes/openwrt.org-oxygen/luasrc/view/themes/openwrt.org-oxygen/header.htm b/themes/openwrt.org-oxygen/luasrc/view/themes/openwrt.org-oxygen/header.htm index 582db0106..5e4e05425 100644 --- a/themes/openwrt.org-oxygen/luasrc/view/themes/openwrt.org-oxygen/header.htm +++ b/themes/openwrt.org-oxygen/luasrc/view/themes/openwrt.org-oxygen/header.htm @@ -1,4 +1,4 @@ -<%# +a<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich @@ -51,7 +51,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 @@ -98,7 +98,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) %>
  • <%- @@ -124,7 +124,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 @@ -135,7 +135,7 @@ end