summaryrefslogtreecommitdiffstats
path: root/openssl-checkenvironment-html.lsp
blob: 54e90f88979e39767db80b4535e39d3a2985a6d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<% local form, viewlibrary, page_info, session = ... %>
<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>

<%
if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("getcachain") and page_info.orig_action == page_info.prefix..page_info.controller.."/"..page_info.action then
	viewlibrary.dispatch_component("getcachain", {cadir=form.value.cadir.value})
end
%>

<%
local header_level = htmlviewfunctions.displaysectionstart(form, page_info)
if form.value.status.errtxt then
	htmlviewfunctions.displayformstart(form, page_info)
	for name,value in pairs(form.value) do
		if value.type == "hidden" then
			htmlviewfunctions.displayformitem(value, name)
		end
	end
end
htmlviewfunctions.displayitem(form.value.status)
if form.value.status.errtxt then
	htmlviewfunctions.displayformend(form)
end
htmlviewfunctions.displaysectionend(header_level)
%>