summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-02-16 08:27:09 +0000
committerTed Trask <ttrask01@yahoo.com>2010-02-16 08:27:09 +0000
commit4fdbfdaaf0ce5367b7da537517aee542c54cc7ec (patch)
tree0e2f09067bff515e544d539f253679077b1d01b1
parent3558a69202c7cd7566b239fcf6ed3b00b363317f (diff)
downloadacf-openssh-4fdbfdaaf0ce5367b7da537517aee542c54cc7ec.tar.bz2
acf-openssh-4fdbfdaaf0ce5367b7da537517aee542c54cc7ec.tar.xz
Added wwwprefix to web path.
-rw-r--r--openssh-connectedpeers-html.lsp4
-rw-r--r--openssh-listusers-html.lsp2
2 files changed, 3 insertions, 3 deletions
diff --git a/openssh-connectedpeers-html.lsp b/openssh-connectedpeers-html.lsp
index b42c62f..6b3d7a0 100644
--- a/openssh-connectedpeers-html.lsp
+++ b/openssh-connectedpeers-html.lsp
@@ -16,7 +16,7 @@ for k,v in pairs(data) do
for i=1, v.cnt do
io.write("<TR>")
if (v.tty[i]) then
- io.write("<TD WIDTH='20px' STYLE='padding-left:20px;vertical-align:top;'><IMG SRC='".. html.html_escape(page_info.staticdir) .. "/tango/16x16/apps/utilities-terminal.png' HEIGHT='16' WIDTH='16'></TD>")
+ io.write("<TD WIDTH='20px' STYLE='padding-left:20px;vertical-align:top;'><IMG SRC='".. html.html_escape(page_info.wwwprefix..page_info.staticdir) .. "/tango/16x16/apps/utilities-terminal.png' HEIGHT='16' WIDTH='16'></TD>")
io.write("<TD STYLE='padding-bottom:10px'>\n")
io.write("<TABLE>")
io.write("<TR><TD WIDTH='"..col1.."' STYLE='font-weight:bold;'>Session user:</TD><TD>".. html.html_escape(v.tty[i].user) .. "</TD></TR>\n")
@@ -28,7 +28,7 @@ for k,v in pairs(data) do
io.write("</TD>\n")
else
- io.write("<TD WIDTH='20px' STYLE='padding-left:20px;vertical-align:top;'><IMG SRC='".. html.html_escape(page_info.staticdir) .. "/tango/16x16/emblems/emblem-unreadable.png' HEIGHT='16' WIDTH='16'></TD>")
+ io.write("<TD WIDTH='20px' STYLE='padding-left:20px;vertical-align:top;'><IMG SRC='".. html.html_escape(page_info.wwwprefix..page_info.staticdir) .. "/tango/16x16/emblems/emblem-unreadable.png' HEIGHT='16' WIDTH='16'></TD>")
io.write("<TD STYLE='padding-bottom:10px'>\n")
io.write("<TABLE>")
io.write("<TR><TD WIDTH='"..col1.."' STYLE='font-weight:bold;'>Session user:</TD><TD>No records</TD></TR>\n")
diff --git a/openssh-listusers-html.lsp b/openssh-listusers-html.lsp
index a1f740d..d5e0fbc 100644
--- a/openssh-listusers-html.lsp
+++ b/openssh-listusers-html.lsp
@@ -4,7 +4,7 @@
<H1>System User Accounts</H1>
<DL>
<% for i,user in ipairs(view.value) do %>
- <DT><IMG SRC='<%= html.html_escape(page_info.staticdir) %>/tango/16x16/apps/system-users.png' HEIGHT='16' WIDTH='16'> <%= html.html_escape(user) %></DT>
+ <DT><IMG SRC='<%= html.html_escape(page_info.wwwprefix..page_info.staticdir) %>/tango/16x16/apps/system-users.png' HEIGHT='16' WIDTH='16'> <%= html.html_escape(user) %></DT>
<DD><A HREF='listauth?user=<%= html.html_escape(user) %>'>Edit this account</A></DD>
<% end %>
</DL>