X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=themes%2Fopenwrt.org%2Fluasrc%2Fview%2Fthemes%2Fopenwrt.org%2Fheader.htm;h=ccb01ec30f65a4ce806f62447083fd0c7b5477c5;hp=831e315e8d1c98153650023993da2e975a0f33fe;hb=f372cbda9a3f40d889b0f4a9da399dfdf1435518;hpb=c0ba2e06c65e98360d9a98570286a9c0cb82dc67
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 831e315e8..ccb01ec30 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@ -49,6 +49,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
+
<%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI
@@ -96,7 +97,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="<%=pcdata(href)%>"><%=pcdata(striptags(nnode.title))%><%-
+ class="active"<%end%> href="<%=pcdata(href)%>"><%=striptags(nnode.title)%><%-
submenu(prefix .. v.name .. "/", nnode)
%>
<%-
@@ -122,7 +123,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="<%=pcdata(href)%>"><%=pcdata(striptags(node.title))%><%
+ class="preactive"<%end%> href="<%=pcdata(href)%>"><%=striptags(node.title)%><%
submenu("/" .. category .. "/" .. k.name .. "/", node)
%><% end
end
@@ -133,7 +134,7 @@ end