X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=themes%2Ffreifunk-hannover%2Fluasrc%2Fview%2Fthemes%2Ffreifunk-hannover%2Fheader.htm;fp=themes%2Ffreifunk-hannover%2Fluasrc%2Fview%2Fthemes%2Ffreifunk-hannover%2Fheader.htm;h=bdd17ac4a484e8fa36a9331bba21473db328d6fc;hp=06aae3b59863fb7fb08d6d6f19af1a4158563c52;hb=eeed712024f1779c35a2bb85caf1fb4b366a0385;hpb=cffba70b2ebff664e385f077d30cf701cab49a70 diff --git a/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm b/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm index 06aae3b59..bdd17ac4a 100644 --- a/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm +++ b/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm @@ -49,7 +49,7 @@ require("luci.http").prepare_content("application/xhtml+xml") -<%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI +<%=striptags( hostname .. ( (node and node.title) and ' - ' .. pcdata(node.title) or '')) %> - LuCI @@ -96,7 +96,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)%>"><%=nnode.title%><%- +
  • class="active"<%end%> href="<%=luci.util.pcdata(href)%>"><%=pcdata(nnode.title)%><%- submenu(prefix .. v.name .. "/", nnode) %>
  • <%- @@ -122,7 +122,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%>"><%=node.title%><% +
  • class="preactive"<%end%> href="<%=href%>"><%=pcdata(node.title)%><% submenu("/" .. category .. "/" .. k.name .. "/", node) %>
  • <% end end @@ -133,7 +133,7 @@ end