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=831e315e8d1c98153650023993da2e975a0f33fe;hp=6b831143161a435e5d6aeebe679da5c044e23ba8;hb=c0ba2e06c65e98360d9a98570286a9c0cb82dc67;hpb=0e3fda59e094a272bafc43b67e6393dc6f2b279e 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 6b83114316..831e315e8d 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm @@ -30,68 +30,46 @@ 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 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 -%> + + + - -
+