diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-10-22 20:36:29 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-10-22 20:36:29 +0000 |
commit | 5065978f3bb67cb316ee7b621c206392ede04736 (patch) | |
tree | 23d1ac015c7070f4483a7e6d080e4ab19d5dc52e | |
parent | 52ad6edf74ca2e903972849b6a47a14786520449 (diff) | |
download | acf-dansguardian-5065978f3bb67cb316ee7b621c206392ede04736.tar.bz2 acf-dansguardian-5065978f3bb67cb316ee7b621c206392ede04736.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/dansguardian/trunk@1561 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | dansguardian-general-html.lsp | 4 | ||||
-rw-r--r-- | dansguardian-html.lsp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/dansguardian-general-html.lsp b/dansguardian-general-html.lsp index 0873344..c170a05 100644 --- a/dansguardian-general-html.lsp +++ b/dansguardian-general-html.lsp @@ -1,6 +1,6 @@ <% require("viewfunctions") - local form, viewlibrary, page_info = ... + local form, viewlibrary, page_info, session = ... %> <% @@ -11,6 +11,8 @@ io.write("</span>") --]] %> +<% displaycommandresults({"startstop"}, session) %> + <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("status") end %> diff --git a/dansguardian-html.lsp b/dansguardian-html.lsp index 824ba19..83a17d3 100644 --- a/dansguardian-html.lsp +++ b/dansguardian-html.lsp @@ -10,7 +10,7 @@ io.write("</span>") --]] %> -<% displaycommandresults({"edit"}, session) %> +<% displaycommandresults({"edit", "startstop"}, session) %> <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("status") |