summaryrefslogtreecommitdiffstats
path: root/tcpproxy-smtpstatus-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-08-20 19:02:16 +0000
committerTed Trask <ttrask01@yahoo.com>2008-08-20 19:02:16 +0000
commit8730ef0997957b46d392b981913d8934373e980a (patch)
treeb9cd2e28088756e1441e76790242a5890c14b945 /tcpproxy-smtpstatus-html.lsp
parent4f7c42c67f5e22295d178b924861f150c35132c0 (diff)
downloadacf-tcpproxy-8730ef0997957b46d392b981913d8934373e980a.tar.bz2
acf-tcpproxy-8730ef0997957b46d392b981913d8934373e980a.tar.xz
Modified tcpproxy to add in SMTP proxy support. Entries are directly edited, this still has to be improved.
git-svn-id: svn://svn.alpinelinux.org/acf/tcpproxy/trunk@1388 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'tcpproxy-smtpstatus-html.lsp')
-rw-r--r--tcpproxy-smtpstatus-html.lsp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tcpproxy-smtpstatus-html.lsp b/tcpproxy-smtpstatus-html.lsp
new file mode 100644
index 0000000..c639424
--- /dev/null
+++ b/tcpproxy-smtpstatus-html.lsp
@@ -0,0 +1,15 @@
+<% local view, viewlibrary, page_info, session = ...
+require("viewfunctions")
+%>
+
+<% displaycommandresults({"delsmtpentry", "delsmtpfile"}, session) %>
+
+<H1>SMTP Proxy Status</H1>
+<DL>
+<% displayitem(view.value.version) %>
+</DL>
+
+<% if viewlibrary and viewlibrary.dispatch_component then
+ viewlibrary.dispatch_component("listsmtpentries")
+ viewlibrary.dispatch_component("listsmtpfiles")
+end %>