From 0694d421eb6b45a8f0ee6c2b158dbb77883f263d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 31 Oct 2009 20:25:56 +0000 Subject: themes: entity fixes for theme headers --- themes/oxygen/luasrc/view/themes/oxygen/header.htm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'themes/oxygen') 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 -- cgit v1.2.3