From 8de88823055770e63fdba0a381770ea75eb4abd4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 28 Jul 2008 06:48:16 +0000 Subject: use <% %> instead of git-svn-id: svn://svn.alpinelinux.org/acf/fetchmail/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed --- fetchmail-config-html.lsp | 82 +++++++++++++++++++++++------------------------ 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'fetchmail-config-html.lsp') diff --git a/fetchmail-config-html.lsp b/fetchmail-config-html.lsp index 8dc090d..ac6dbd6 100644 --- a/fetchmail-config-html.lsp +++ b/fetchmail-config-html.lsp @@ -1,50 +1,50 @@ - - +<% --[[ DEBUG INFORMATION io.write("

DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(form)) io.write("
") --]] -?> +%>

SYSTEM INFO

- +%>

CONFIGURATION

- -
" method="POST"> +<% local myform = form.config %> +" method="POST">

GUIDED CONFIGURATION

- +<% --[[ %>

FREQUENCY

Select how often the mailboxes will be checked. For ETRN transfers (below) this specifies how often transfers are initiated

- - +%> +<% --]] %>

MAILBOXES

You will need to specify the remote mailbox and password, as well as the local (internal) mailbox to forward the mail to. The SMTP host is the name or address of the SMTP server to send the mail to.

If you want to use POP3 account for the entire domain, selecting the pop3domain method will setup the appropriate configuration for retrieving and distributing the mail appropriately. The domain information should be your internet smtp domain. The mailbox field is ignored when this method is selected.

When selecting the pop3 or imap methods, the domain field should be left blank.

- - +<% local tags = "mailboxes" local mailboxform = myform[tags]["value"] -?> +%>
-\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t") end io.write("
") io.write("
METHOD
") io.write("
REMOTE
") @@ -97,64 +97,64 @@ for i=1, table.maxn(mailboxform) do io.write("\n\t\t

") -?> +%>
- +<% -- START - SPECIAL VIEW FOR SHOWING AVAILABLE MAILBOXES %>

LAST RESORT

The Postmaster address is the address of last resort when fetchmail cannot determine how to send a mail message. If left blank, undelieverable mail may be discarded.

- +%>

ETRN

This is for branches that have DNS mail domains hosted by an ISP that allows for ETRN dequeueing. ETRN dequeueing causes the SMTP mail exchanger at the ISP to forward mail to you via SMTP. You will need to make sure that DNS is setup appropriately and that your ISP supports ETRN. If you have not arranged with your ISP to have ETRN support, leave these fields blank.

- +%> - +<% --[[ %>

ADVANCED CONFIGURATION

GENERAL

- +%> - +<% --]] %>

SAVE AND APPLY ABOVE SETTINGS

- +%>
- +%>

MANAGEMENT

-
+
<%= cmdform[tags[1]]["label"] %>
- - - - - + <% for k,v in pairs(tags) do %> + <% if (cmdform[v]) then %> + <% io.write(html.form[cmdform[v].type](cmdform[v])) %> + <% end %> + <% end %>
- 0) then ?> + <% if (form.cmdmanagement) and (#form.cmdmanagement.descr > 0) then %>
Previous action result
-
- +
<%= form.cmdmanagement.descr %>
+ <% end %>
- +<% end %> -- cgit v1.2.3