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 --- .../luasrc/view/themes/openwrt.org-oxygen/header.htm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'themes/openwrt.org-oxygen') 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
      <% for k,node in pairs(tree.nodes) do if node.title and not node.hidden then %> -
    • class="active"<%end%> href="<%=controller%>/<%=k%>/"><%=pcdata(node.title)%>
    • <% +
    • class="active"<%end%> href="<%=controller%>/<%=k%>/"><%=pcdata(striptags(node.title))%>
    • <% end end %> -- cgit v1.2.3