summaryrefslogtreecommitdiffstats
path: root/fetchmail-config-html.lsp
blob: d23df939ed3eb23b3eb600f12ffed89cf8161c18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<% local view, viewlibrary, page_info, session = ... %>
<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>

<% htmlviewfunctions.displaycommandresults({"editconfig", "editentry", "deleteentry", "createentry"}, session) %>

<% if viewlibrary and viewlibrary.dispatch_component then
	viewlibrary.dispatch_component("status")
end %>

<h1>Global Settings</h1>
<div class='item'><p class='left'>Edit global settings</p>
<div class='right'>
<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/editconfig") %>" method="post">
<input class="hidden" type="hidden"  name="redir"  value="<%= html.html_escape(page_info.orig_action) %>" >
<input type=submit value="Edit" class="submit">
</form>
</div></div><!-- end .item -->

<% if viewlibrary and viewlibrary.dispatch_component then
	viewlibrary.dispatch_component("listentries")
end %>