X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Foxygen%2Fluasrc%2Fview%2Fthemes%2Foxygen%2Fheader.htm;h=01c5afdfdffd2e64b89bfd595012279c6f9d6bd8;hb=0694d421eb6b45a8f0ee6c2b158dbb77883f263d;hp=9b951e8a6a06d1da778cc4746be5a05a4224cd43;hpb=eeed712024f1779c35a2bb85caf1fb4b366a0385;p=project%2Fluci.git diff --git a/themes/oxygen/luasrc/view/themes/oxygen/header.htm b/themes/oxygen/luasrc/view/themes/oxygen/header.htm index 9b951e8a6..01c5afdfd 100644 --- a/themes/oxygen/luasrc/view/themes/oxygen/header.htm +++ b/themes/oxygen/luasrc/view/themes/oxygen/header.htm @@ -1,4 +1,4 @@ -<%# +a<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich @@ -44,7 +44,7 @@ require("luci.http").prepare_content("application/xhtml+xml") <% if node and node.css then %> <% end -%> -<%=striptags( hostname .. ( (node and node.title) and ' - ' .. pcdata(node.title) or '')) %> - LuCI +<%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI
@@ -77,7 +77,7 @@ local function ucimenu(prefix, node) local href = controller .. prefix .. v.name .. "/" href = (nnode.query) and href .. luci.http.build_querystring(nnode.query) or href %> - > <%=pcdata(nnode.title)%> + > <%=pcdata(striptags(nnode.title))%> <%- end end @@ -119,7 +119,7 @@ ucimenu("/" .. category .. "/uci/", tree.nodes[category].nodes["uci"], "changes" if pointer.nodes and pointer.nodes[v] then pointer = pointer.nodes[v] %> - » <%=pcdata(pointer.title or v)%> + » <%=pcdata(striptags(pointer.title or v))%> <% end end