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
commita4a58964345a2e39b4e68cbb931dc708e111afbb (patch)
tree0920e8ca4b6e62963a55b55dd867388cf4dfa5ea
parent4f7827d09667e463d120db6b934f7a00c1b4972d (diff)
downloadacf-alpine-conf-a4a58964345a2e39b4e68cbb931dc708e111afbb.tar.bz2
acf-alpine-conf-a4a58964345a2e39b4e68cbb931dc708e111afbb.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/alpine-conf/trunk@1561 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--lbu-config-html.lsp4
-rw-r--r--lbu-listchanges-html.lsp4
2 files changed, 6 insertions, 2 deletions
diff --git a/lbu-config-html.lsp b/lbu-config-html.lsp
index 4b8212d..d138553 100644
--- a/lbu-config-html.lsp
+++ b/lbu-config-html.lsp
@@ -1,4 +1,4 @@
-<% local form, viewlibrary = ...
+<% local form, viewlibrary, page_info, session = ...
require("viewfunctions")
%>
<%
@@ -9,6 +9,8 @@ io.write("</span>")
--]]
%>
+<% displaycommandresults({"editincluded", "editexcluded", "selectbackup"}, session, true) %>
+
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
end %>
diff --git a/lbu-listchanges-html.lsp b/lbu-listchanges-html.lsp
index d2a9692..88c1655 100644
--- a/lbu-listchanges-html.lsp
+++ b/lbu-listchanges-html.lsp
@@ -1,4 +1,4 @@
-<% local view, viewlibrary, pageinfo, session = ...
+<% local view, viewlibrary, page_info, session = ...
require("viewfunctions")
%>
<%
@@ -9,6 +9,8 @@ io.write("</span>")
--]]
%>
+<% displaycommandresults({"commit"}, session, true) %>
+
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
if session.permissions.lbu.commit then