summaryrefslogtreecommitdiffstats
path: root/fetchmail-listentries-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-07-09 15:26:14 +0000
committerTed Trask <ttrask01@yahoo.com>2012-07-09 15:26:14 +0000
commit17b82b3f00676537c7268ad8f3112ce78630794c (patch)
treec216dcb58b6f5dc47499e10314dbe0d8312dbca0 /fetchmail-listentries-html.lsp
parent6443949d3f9d588c34452919a6e645af05153374 (diff)
downloadacf-fetchmail-17b82b3f00676537c7268ad8f3112ce78630794c.tar.bz2
acf-fetchmail-17b82b3f00676537c7268ad8f3112ce78630794c.tar.xz
Made changes to remove redirect_to_referrer and remote inconsistent and confusing use of 'entry'
Diffstat (limited to 'fetchmail-listentries-html.lsp')
-rw-r--r--fetchmail-listentries-html.lsp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fetchmail-listentries-html.lsp b/fetchmail-listentries-html.lsp
index 0a4c6fe..68887d9 100644
--- a/fetchmail-listentries-html.lsp
+++ b/fetchmail-listentries-html.lsp
@@ -9,7 +9,7 @@ require("htmlviewfunctions")
<TABLE>
<TR style="background:#eee;font-weight:bold;">
<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">Remote Host</TD>
<TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">Enabled</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>
@@ -17,10 +17,10 @@ require("htmlviewfunctions")
<% 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.."&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 " }) %>
+ <% io.write(html.link{value = "editentry?remotehost=" .. entry.remotehost.."&method="..entry.method.."&remotemailbox="..entry.remotemailbox.."&localdomain="..entry.localdomain.."&redir="..page_info.orig_action, label="Edit " }) %>
+ <% io.write(html.link{value = "deleteentry?submit=true&remotehost=" .. entry.remotehost.."&method="..entry.method.."&remotemailbox="..entry.remotemailbox.."&localdomain="..entry.localdomain, label="Delete " }) %>
</TD>
- <TD style="padding-right:20px;white-space:nowrap;"><%= html.html_escape(entry.entry) %></TD>
+ <TD style="padding-right:20px;white-space:nowrap;"><%= html.html_escape(entry.remotehost) %></TD>
<TD style="padding-right:20px;white-space:nowrap;"><%= html.html_escape(tostring(entry.enabled)) %></TD>
<TD style="padding-right:20px;white-space:nowrap;"><%= html.html_escape(entry.method) %></TD>
<TD style="white-space:nowrap;" width="90%"><% if entry.localdomain and entry.localdomain ~= "" then io.write(html.html_escape(entry.localdomain)) else io.write(html.html_escape(entry.remotemailbox)) end %></TD>