summaryrefslogtreecommitdiffstats
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
commit1b59afce723941226141db95a64d3799f614b185 (patch)
tree4c79077d7eab29c41f100b71e7e885b66db3033e
parent47d9287e2a56aaa6b81a63b52be6e78a6775f6b9 (diff)
downloadacf-squid-1b59afce723941226141db95a64d3799f614b185.tar.bz2
acf-squid-1b59afce723941226141db95a64d3799f614b185.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/squid/trunk@1561 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--squid-config-html.lsp4
1 files changed, 3 insertions, 1 deletions
diff --git a/squid-config-html.lsp b/squid-config-html.lsp
index 5b7ce79..5a9da1a 100644
--- a/squid-config-html.lsp
+++ b/squid-config-html.lsp
@@ -1,7 +1,9 @@
-<% local form, viewlibrary, page_info = ...
+<% local form, viewlibrary, page_info, session = ...
require("viewfunctions")
%>
+<% displaycommandresults({"startstop"}, session) %>
+
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
end %>