projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libs/web: fix missing escapes in network_ifacelist widget
[project/luci.git]
/
libs
/
web
/
luasrc
/
view
/
cbi
/
network_ifacelist.htm
diff --git
a/libs/web/luasrc/view/cbi/network_ifacelist.htm
b/libs/web/luasrc/view/cbi/network_ifacelist.htm
index
727b0a4
..
643d849
100644
(file)
--- a/
libs/web/luasrc/view/cbi/network_ifacelist.htm
+++ b/
libs/web/luasrc/view/cbi/network_ifacelist.htm
@@
-49,7
+49,7
@@
%> />  
<label<%=attr("for", cbid .. "." .. iface:name())%>>
<% if link then -%><a href="<%=link%>"><% end -%>
%> />  
<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 %>(
<% if link then -%></a><% end -%>
<%=pcdata(iface:get_i18n())%>
<% local ns = iface:get_networks(); if #ns > 0 then %>(