summaryrefslogtreecommitdiffstats
path: root/provisioning-dumpdatabase-html.lsp
blob: e5f182a12e460699972caea0fb4073a9e5144580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<% local form, viewlibrary, page_info = ... 
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>

<% if form.value.data then %>
<H1><%= html.html_escape(form.value.data.label) %></H1>
<DL>
<textarea name="filecontent">
<%= html.html_escape(form.value.data.value) %>
</textarea>
</DL>
<% end %>

<H1><%= html.html_escape(form.label) %></H1>
<%
	form.value.data = nil
	htmlviewfunctions.displayform(form, nil, nil, page_info, 2)
%>