From 3456da773e17156008cc6767ab425b87b737eafa Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 18 Apr 2012 16:22:30 +0000 Subject: Fixed startstop to match new method --- fetchcrl-startstop-html.lsp | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'fetchcrl-startstop-html.lsp') 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 = ... %>

Management

- -<% if data.value.result then %> -

Previous action result

-<% if data.value.result.value ~= "" then %> -

<%= string.gsub(html.html_escape(data.value.result.value), "\n", "
") %>

-<% end if data.value.result.errtxt then %> -

<%= string.gsub(html.html_escape(data.value.result.errtxt), "\n", "
") %>

-<% end end %> -
+<% +if form.descr then io.write('

' .. string.gsub(html.html_escape(myform.descr), "\n", "
") .. "

\n") end +if form.errtxt then io.write('

' .. string.gsub(html.html_escape(myform.errtxt), "\n", "
") .. "

\n") end +%>
" method="POST">
Download CRL
-
+
Delete Local CRLs
-
+
-- cgit v1.2.3