summaryrefslogtreecommitdiffstats
path: root/fetchmail-listentries-html.lsp
diff options
context:
space:
mode:
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>