X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=themes%2Fopenwrt.org%2Fluasrc%2Fview%2Fthemes%2Fopenwrt.org%2Fheader.htm;h=80aad132c283873e66a7ac0edd2f563671e98dad;hp=b3a53c5894af4a24fb9b4d9925f295bda0a9a286;hb=216937af29f22e6a9ee7f2124bb8e22d57f961e3;hpb=75d4cca7ae10a39d9787afd5f1c2f14800491acd diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm index b3a53c5894..80aad132c2 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm @@ -31,67 +31,45 @@ for i,r in ipairs(request) do end require("luci.i18n").loadc("default") -require("luci.http").prepare_content("text/html") +require("luci.http").prepare_content("application/xhtml+xml") -%> - - + + - - <% if node and node.css then %><% end %> - - - <%= hostname .. ( (node and node.title) and ' - ' .. node.title or '') %> - LuCI - - + + + + + +<% if node and node.css then %> +<% end -%> + + + +<%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI - - + -
-<%:path%>: <% -local c = tree -local url = controller -for k,v in pairs(request) do - if c.nodes and c.nodes[v] then - c = c.nodes[v] - url = url .. "/" .. v - %><%=c.title or v%> <% if k ~= #request then %>» <% end - end -end -%> + + + - -
+