Commit f8cbed38 authored by Ted Trask's avatar Ted Trask

Modified viewfunctions displaycommandresults to not delete the error results...

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/dnscache/trunk@1561 ab2d0c66-481e-0410-8bed-d214d4d58bed
parent b827f342
<% 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 %>
......
......@@ -10,6 +10,7 @@ io.write("</span>")
%>
<% displaycommandresults({"editdomain", "deletedomain"}, session) %>
<% displaycommandresults({"createdomain"}, session, true) %>
<h1>Configuration</h1>
<h2>Edit/View DNS server entries</h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment