applications/luci-statistics: fix img url

This commit is contained in:
Patrick Grimm 2013-10-18 10:42:15 +00:00
parent 69792fa157
commit 12ede3f2d9

View file

@ -38,7 +38,7 @@ $Id$
<div style="text-align: center"> <div style="text-align: center">
<% for i, img in ipairs(images) do %> <% for i, img in ipairs(images) do %>
<% if is_index then %><a href="<%=pcdata(images[img])%>"><% end %> <% if is_index then %><a href="<%=pcdata(images[img])%>"><% end %>
<img src="<%=REQUEST_URI%>?img=<%=img%>" /> <img src="<%=REQUEST_URI%>?img=<%=img%>&host=<%=current_host%>" />
<% if is_index then %></a><% end %> <% if is_index then %></a><% end %>
<br /> <br />
<% end %> <% end %>