X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=themes%2Foxygen%2Fluasrc%2Fview%2Fthemes%2Foxygen%2Fheader.htm;h=9b951e8a6a06d1da778cc4746be5a05a4224cd43;hp=6df6c8754eefd57955b5a7d3bd72155f6df06d91;hb=eeed712024f1779c35a2bb85caf1fb4b366a0385;hpb=cffba70b2ebff664e385f077d30cf701cab49a70 diff --git a/themes/oxygen/luasrc/view/themes/oxygen/header.htm b/themes/oxygen/luasrc/view/themes/oxygen/header.htm index 6df6c8754..9b951e8a6 100644 --- a/themes/oxygen/luasrc/view/themes/oxygen/header.htm +++ b/themes/oxygen/luasrc/view/themes/oxygen/header.htm @@ -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 ' - ' .. node.title or '')) %> - LuCI +<%=striptags( hostname .. ( (node and node.title) and ' - ' .. pcdata(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 %> - > <%=nnode.title%> + > <%=pcdata(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] %> - » <%=pointer.title or v%> + » <%=pcdata(pointer.title or v)%> <% end end