summaryrefslogtreecommitdiffstats
path: root/fetchmail-config-html.lsp
blob: 811fd200319811425348e54e40fb6300423b1aaf (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 view, viewlibrary, page_info, session = ... %>
<% require("viewfunctions") %>

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

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

<H1>Global Settings</H1>

<DL>
<dt>Edit global settings</dt>
<dd><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></dd>
</DL>

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

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