statistics: fix '»' being displayed as '»'
[project/luci.git] / applications / luci-statistics / luasrc / view / public_statistics / graph.htm
index 4e7a2a1..c0fbfb4 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 <%+header%>
 
-<h1>Statistik</h1>
+<h2><a id="content" name="content"><%:Statistics%></a></h2>
 
 <form action="" method="get">
        <select name="timespan">
@@ -22,7 +22,7 @@ $Id$
                        <option<% if span == current_timespan then %> selected="selected"<% end %>><%=span%></option>
                <% end %>
        </select>
-       <input type="submit" name="submit" value="<%:stat_showtimespan Display timespan &raquo;%>" />
+       <input type="submit" name="submit" value="<%:Display timespan »%>" />
 </form>
 
 <br />
@@ -31,7 +31,7 @@ $Id$
 
 <div style="text-align: center">
        <% for i, img in ipairs(images) do %>
-               <img src="/rrdimg/<%=img%>" />
+               <img src="<%=REQUEST_URI%>?img=<%=img%>" />
                <br />
        <% end %>
 </div>