summaryrefslogtreecommitdiffstats
path: root/fetchcrl-startstop-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-18 16:22:30 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-18 16:22:30 +0000
commit3456da773e17156008cc6767ab425b87b737eafa (patch)
tree6b1724dcce94d22fcceb9c30f2fd359c9efc0419 /fetchcrl-startstop-html.lsp
parente6a179c95704f7013b2024bb3491f1344ee695d4 (diff)
downloadacf-fetch-crl-3456da773e17156008cc6767ab425b87b737eafa.tar.bz2
acf-fetch-crl-3456da773e17156008cc6767ab425b87b737eafa.tar.xz
Fixed startstop to match new method
Diffstat (limited to 'fetchcrl-startstop-html.lsp')
-rw-r--r--fetchcrl-startstop-html.lsp19
1 files changed, 7 insertions, 12 deletions
diff --git a/fetchcrl-startstop-html.lsp b/fetchcrl-startstop-html.lsp
index 3a5f6f7..438b129 100644
--- a/fetchcrl-startstop-html.lsp
+++ b/fetchcrl-startstop-html.lsp
@@ -1,20 +1,15 @@
-<% local data, viewlibrary, page_info = ... %>
+<% local form, viewlibrary, page_info = ... %>
<H1>Management</H1>
-
-<% if data.value.result then %>
-<H2>Previous action result</H2>
-<% if data.value.result.value ~= "" then %>
-<P CLASS='descr'><%= string.gsub(html.html_escape(data.value.result.value), "\n", "<BR>") %></P>
-<% end if data.value.result.errtxt then %>
-<P CLASS='error'><%= string.gsub(html.html_escape(data.value.result.errtxt), "\n", "<BR>") %></P>
-<% end end %>
-
<DL>
+<%
+if form.descr then io.write('<P CLASS="descr">' .. string.gsub(html.html_escape(myform.descr), "\n", "<BR>") .. "</P>\n") end
+if form.errtxt then io.write('<P CLASS="error">' .. string.gsub(html.html_escape(myform.errtxt), "\n", "<BR>") .. "</P>\n") end
+%>
<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action) %>" method="POST">
<DT>Download CRL</DT>
-<DD><input class="submit" type="submit" name="action" value="Download"></DD>
+<DD><input class="submit" type="submit" name="submit" value="Download"></DD>
<DT>Delete Local CRLs</DT>
-<DD><input class="submit" type="submit" name="action" value="Delete"></DD>
+<DD><input class="submit" type="submit" name="submit" value="Delete"></DD>
</form>
</DL>