summaryrefslogtreecommitdiffstats
path: root/fetchmail-listentries-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-11-18 21:17:33 +0000
committerTed Trask <ttrask01@yahoo.com>2008-11-18 21:17:33 +0000
commit6c8e660dc5571933730fbd5f717c15d9928c2e17 (patch)
treec4df36fa08e5e3da5846be40af00f024d4b0a823 /fetchmail-listentries-html.lsp
parenta1165702b8adc868c4a6529459d18756afc691e0 (diff)
downloadacf-fetchmail-6c8e660dc5571933730fbd5f717c15d9928c2e17.tar.bz2
acf-fetchmail-6c8e660dc5571933730fbd5f717c15d9928c2e17.tar.xz
Modified fetchmail to specify an entry by server, method, mailbox, and domain instead of just by server.
git-svn-id: svn://svn.alpinelinux.org/acf/fetchmail/trunk@1598 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'fetchmail-listentries-html.lsp')
-rw-r--r--fetchmail-listentries-html.lsp10
1 files changed, 6 insertions, 4 deletions
diff --git a/fetchmail-listentries-html.lsp b/fetchmail-listentries-html.lsp
index 982ce9d..9ddcf64 100644
--- a/fetchmail-listentries-html.lsp
+++ b/fetchmail-listentries-html.lsp
@@ -18,17 +18,19 @@ io.write("</span>")
<TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">Action</TD>
<TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">Entry</TD>
<TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">Enabled</TD>
- <TD style="white-space:nowrap;text-align:left;" class="header">Method</TD>
+ <TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">Method</TD>
+ <TD style="white-space:nowrap;text-align:left;" class="header">Remote Mailbox / Domain</TD>
</TR>
<% for i,entry in ipairs(data.value) do %>
<TR>
<TD style="padding-right:20px;white-space:nowrap;">
- <% io.write(html.link{value = "editentry?entry=" .. entry.entry.."&redir="..page_info.orig_action, label="Edit " }) %>
- <% io.write(html.link{value = "deleteentry?entry=" .. entry.entry, label="Delete " }) %>
+ <% io.write(html.link{value = "editentry?entry=" .. entry.entry.."&method="..entry.method.."&remotemailbox="..entry.remotemailbox.."&localdomain="..entry.localdomain.."&redir="..page_info.orig_action, label="Edit " }) %>
+ <% io.write(html.link{value = "deleteentry?entry=" .. entry.entry.."&method="..entry.method.."&remotemailbox="..entry.remotemailbox.."&localdomain="..entry.localdomain, label="Delete " }) %>
</TD>
<TD style="padding-right:20px;white-space:nowrap;"><%= entry.entry %></TD>
<TD style="padding-right:20px;white-space:nowrap;"><%= entry.enabled %></TD>
- <TD style="white-space:nowrap;" width="90%"><%= entry.method %></TD>
+ <TD style="padding-right:20px;white-space:nowrap;"><%= entry.method %></TD>
+ <TD style="white-space:nowrap;" width="90%"><% if entry.localdomain and entry.localdomain ~= "" then io.write(entry.localdomain) else io.write(entry.remotemailbox) end %></TD>
</TR>
<% end %>
</TABLE>