summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt.org
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-25 13:46:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-25 13:46:17 +0000
commitc9cbd9fe29942b3c09c36938e724cc7dd3111568 (patch)
tree199e23bec225da0bf6218b3529d5ebe1ca2e045b /themes/openwrt.org
parent88f92d1dd8e003490d81ca7512c7bd2d9acd4714 (diff)
themes, i18n: fix double encoded entities (#114)
Diffstat (limited to 'themes/openwrt.org')
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm6
1 files changed, 3 insertions, 3 deletions
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..6e1853ebf 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@ -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
%>
-<li><a<% if nnode._menu_selected then %> class="active"<%end%> href="<%=pcdata(href)%>"><%=pcdata(striptags(nnode.title))%></a><%-
+<li><a<% if nnode._menu_selected then %> class="active"<%end%> href="<%=pcdata(href)%>"><%=striptags(nnode.title)%></a><%-
submenu(prefix .. v.name .. "/", nnode)
%></li>
<%-
@@ -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
%>
-<li><a<% if node._menu_selected then %> class="preactive"<%end%> href="<%=pcdata(href)%>"><%=pcdata(striptags(node.title))%></a><%
+<li><a<% if node._menu_selected then %> class="preactive"<%end%> href="<%=pcdata(href)%>"><%=striptags(node.title)%></a><%
submenu("/" .. category .. "/" .. k.name .. "/", node)
%></li><% end
end
@@ -133,7 +133,7 @@ end
<ul id="modemenu"><%
for k,node in pairs(tree.nodes) do
if node.title and not node.hidden then %>
-<li><a<% if request[1] == k then %> class="active"<%end%> href="<%=controller%>/<%=k%>/"><%=pcdata(striptags(node.title))%></a></li><%
+<li><a<% if request[1] == k then %> class="active"<%end%> href="<%=controller%>/<%=k%>/"><%=striptags(node.title)%></a></li><%
end
end
%>