summaryrefslogtreecommitdiffstats
path: root/tinydns-config-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-10-22 20:36:29 +0000
committerTed Trask <ttrask01@yahoo.com>2008-10-22 20:36:29 +0000
commite15e054084a0805f70dd307ada18018e42fcc6b4 (patch)
tree5e823d88a8d6729af1a742d2169b7daf0cf64301 /tinydns-config-html.lsp
parente3f8780934093cbf4618bfa39f69f25920dfb28e (diff)
downloadacf-tinydns-e15e054084a0805f70dd307ada18018e42fcc6b4.tar.bz2
acf-tinydns-e15e054084a0805f70dd307ada18018e42fcc6b4.tar.xz
Modified viewfunctions displaycommandresults to not delete the error results of a form so the form can still display it. Modified a bunch of views to display the results of component forms. Also added code to displayform and displayformstart to automatically generate the action if passed page_info.
git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1561 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'tinydns-config-html.lsp')
-rwxr-xr-xtinydns-config-html.lsp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tinydns-config-html.lsp b/tinydns-config-html.lsp
index 47c9191..1193b65 100755
--- a/tinydns-config-html.lsp
+++ b/tinydns-config-html.lsp
@@ -1,4 +1,4 @@
-<% local form, viewlibrary, page_info = ...
+<% local form, viewlibrary, page_info, session = ...
require("viewfunctions")
%>
<%
@@ -9,6 +9,8 @@ io.write("</span>")
--]]
%>
+<% displaycommandresults({"startstop"}, session) %>
+
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
end %>