summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-12-25 02:43:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-12-25 02:43:03 +0000
commit018cbe69a9f92db1aa0aced41656a2aa37019f94 (patch)
treeeb19a476dc42c27ddc47e1d831d5ccd2de7a376e
parentabb2ed69e3ce1b299c4d8fd4ba2b74ab9b2d3553 (diff)
libs/web: fix missing escapes in network_ifacelist widget
-rw-r--r--libs/web/luasrc/view/cbi/network_ifacelist.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/view/cbi/network_ifacelist.htm b/libs/web/luasrc/view/cbi/network_ifacelist.htm
index 727b0a4a66..643d849a50 100644
--- a/libs/web/luasrc/view/cbi/network_ifacelist.htm
+++ b/libs/web/luasrc/view/cbi/network_ifacelist.htm
@@ -49,7 +49,7 @@
%> /> &#160;
<label<%=attr("for", cbid .. "." .. iface:name())%>>
<% if link then -%><a href="<%=link%>"><% end -%>
- <img title="<%=iface:get_type_i18n()%>" style="width:16px; height:16px; vertical-align:middle" src="<%=resource%>/icons/<%=iface:type()%><%=iface:is_up() and "" or "_disabled"%>.png" />
+ <img<%=attr("title", iface:get_i18n())%> style="width:16px; height:16px; vertical-align:middle" src="<%=resource%>/icons/<%=iface:type()%><%=iface:is_up() and "" or "_disabled"%>.png" />
<% if link then -%></a><% end -%>
<%=pcdata(iface:get_i18n())%>
<% local ns = iface:get_networks(); if #ns > 0 then %>(