summaryrefslogtreecommitdiffstats
path: root/fetchmail-editentry-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail-editentry-html.lsp')
-rw-r--r--fetchmail-editentry-html.lsp13
1 files changed, 13 insertions, 0 deletions
diff --git a/fetchmail-editentry-html.lsp b/fetchmail-editentry-html.lsp
new file mode 100644
index 0000000..410b3ef
--- /dev/null
+++ b/fetchmail-editentry-html.lsp
@@ -0,0 +1,13 @@
+<% local form, viewlibrary, page_info = ...
+require("viewfunctions")
+%>
+
+<H1><%= form.label %></H1>
+<%
+ form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
+ if page_info.action == "editentry" then
+ form.value.remotehost.contenteditable = false
+ end
+ local order = { "remotehost", "enabled", "method", "remotemailbox", "remotepassword", "localhost", "localmailbox", "localdomain" }
+ displayform(form, order)
+%>