summaryrefslogtreecommitdiffstats
path: root/opennhrp-show-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'opennhrp-show-html.lsp')
-rw-r--r--opennhrp-show-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opennhrp-show-html.lsp b/opennhrp-show-html.lsp
index 9b5ac46..83ca91c 100644
--- a/opennhrp-show-html.lsp
+++ b/opennhrp-show-html.lsp
@@ -19,9 +19,9 @@ displayitem(data.value.status)
found = true
%>
<TABLE STYLE='margin-bottom:10px;'>
- <TR><TD STYLE='font-weight:bold;border:none;'><IMG SRC='/skins/static/tango/16x16/places/network-server.png' width='16' height='16' alt> <%= html.html_escape(intf) %></TD><TD STYLE='border:none;'></TD></TR>
+ <TR><TD STYLE='font-weight:bold;border:none;'><IMG SRC='<%= html.html_escape(page_info.staticdir) %>/tango/16x16/places/network-server.png' width='16' height='16' alt> <%= html.html_escape(intf) %></TD><TD STYLE='border:none;'></TD></TR>
<% for i,entries in ipairs(addresses) do
- io.write("<TR STYLE='padding-bottom:10px;'><TD WIDTH='150px' STYLE='font-weight:bold;padding-left:20px;border:none;'><IMG SRC='/skins/static/tango/16x16/status/")
+ io.write("<TR STYLE='padding-bottom:10px;'><TD WIDTH='150px' STYLE='font-weight:bold;padding-left:20px;border:none;'><IMG SRC='<%= html.html_escape(page_info.staticdir) %>/tango/16x16/status/")
if entries.Type and (entries.Type.value == "incomplete") then
io.write("network-error")