summaryrefslogtreecommitdiffstats
path: root/opennhrp-show-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-02-16 08:57:45 +0000
committerTed Trask <ttrask01@yahoo.com>2010-02-16 08:57:45 +0000
commit86d883be51b6158704ce627b8a821b5581520ec4 (patch)
tree41f08a834fb76f764b2f56b422eee2f45e265614 /opennhrp-show-html.lsp
parent05b9bab1d0abf6fe99c4dc1a0df86b48254f6be1 (diff)
downloadacf-opennhrp-86d883be51b6158704ce627b8a821b5581520ec4.tar.bz2
acf-opennhrp-86d883be51b6158704ce627b8a821b5581520ec4.tar.xz
Added wwwprefix to web path.
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 83ca91c..2480df5 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='<%= 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>
+ <TR><TD STYLE='font-weight:bold;border:none;'><IMG SRC='<%= html.html_escape(page_info.wwwprefix..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='<%= html.html_escape(page_info.staticdir) %>/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.wwwprefix..page_info.staticdir).."/tango/16x16/status/")
if entries.Type and (entries.Type.value == "incomplete") then
io.write("network-error")