X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Fopenwrt.org%2Fluasrc%2Fview%2Fthemes%2Fopenwrt.org%2Fheader.htm;h=ccb01ec30f65a4ce806f62447083fd0c7b5477c5;hb=f372cbda9a3f40d889b0f4a9da399dfdf1435518;hp=9feb8c020c325fd996079bad779e2d7416ab1f3b;hpb=5fc15890732835a5fcfebb99f6642c8b4b23e325;p=project%2Fluci.git 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 9feb8c020..ccb01ec30 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm @@ -30,71 +30,50 @@ for i,r in ipairs(request) do end end -require("luci.i18n").loadc("default") -require("luci.http").prepare_content("text/html") +require("luci.i18n").loadc("base") +require("luci.http").prepare_content("application/xhtml+xml") -%> - - + + - - <% if node and node.css then %><% end %> - - - <%= hostname .. ( 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 -%> + + + - -
+
+