projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
abb2ed6
)
libs/web: fix missing escapes in network_ifacelist widget
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 25 Dec 2012 02:43:03 +0000
(
02:43
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 25 Dec 2012 02:43:03 +0000
(
02:43
+0000)
libs/web/luasrc/view/cbi/network_ifacelist.htm
patch
|
blob
|
history
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 %>(