summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-01-22 09:54:45 +0000
committerTed Trask <ttrask01@yahoo.com>2010-01-22 09:54:45 +0000
commit9502165d8080c61d0b04b9fadb4062577be73f48 (patch)
tree602ceb7664241d957bf003670f559d5dcd58fbaf
parent0578503a5c4cdeb3a11384b13a7eb859c947681e (diff)
downloadacf-openssh-9502165d8080c61d0b04b9fadb4062577be73f48.tar.bz2
acf-openssh-9502165d8080c61d0b04b9fadb4062577be73f48.tar.xz
Updated for skin change in acf-core 0.10.0
-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 5313638..50b535a 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='/skins/static/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.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='/skins/static/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.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 df941b6..a1f740d 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='/skins/static/tango/16x16/apps/system-users.png' HEIGHT='16' WIDTH='16'> <%= html.html_escape(user) %></DT>
+ <DT><IMG SRC='<%= html.html_escape(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>