summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--openssh-connectedpeers-html.lsp6
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b1c6416..d2ddf06 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
APP_NAME=openssh
PACKAGE=acf-$(APP_NAME)
-VERSION=0.4.0
+VERSION=0.4.1
APP_DIST=\
openssh* \
diff --git a/openssh-connectedpeers-html.lsp b/openssh-connectedpeers-html.lsp
index 50b535a..b42c62f 100644
--- a/openssh-connectedpeers-html.lsp
+++ b/openssh-connectedpeers-html.lsp
@@ -1,4 +1,4 @@
-<% local data = ...
+<% local data, viewlibrary, page_info = ...
require("viewfunctions")
%>
@@ -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.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.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")