From 17b82b3f00676537c7268ad8f3112ce78630794c Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 9 Jul 2012 15:26:14 +0000 Subject: Made changes to remove redirect_to_referrer and remote inconsistent and confusing use of 'entry' --- fetchmail-listentries-html.lsp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fetchmail-listentries-html.lsp') 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") - + @@ -17,10 +17,10 @@ require("htmlviewfunctions") <% for i,entry in ipairs(data.value) do %> - + -- cgit v1.2.3
ActionEntryRemote Host Enabled Method Remote Mailbox / Domain
- <% 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 " }) %> <%= html.html_escape(entry.entry) %><%= html.html_escape(entry.remotehost) %> <%= html.html_escape(tostring(entry.enabled)) %> <%= html.html_escape(entry.method) %> <% if entry.localdomain and entry.localdomain ~= "" then io.write(html.html_escape(entry.localdomain)) else io.write(html.html_escape(entry.remotemailbox)) end %>