diff options
Diffstat (limited to 'dnscache-listdomains-html.lsp')
-rw-r--r-- | dnscache-listdomains-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dnscache-listdomains-html.lsp b/dnscache-listdomains-html.lsp index 8318904..625e5ea 100644 --- a/dnscache-listdomains-html.lsp +++ b/dnscache-listdomains-html.lsp @@ -1,4 +1,4 @@ -<% local data, viewlibrary, page_info, session = ... +<% local data, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> @@ -42,7 +42,7 @@ local header_level2 = htmlviewfunctions.displaysectionstart(cfe({label="Edit/Vie <% domain.value = d htmlviewfunctions.displayitem(cfe({type="link", value={domain=domain, redir=redir}, label="", option="Edit", action="editdomain"}), page_info, -1) - if d ~= "@" then + if d ~= "@" then htmlviewfunctions.displayitem(cfe({type="form", value={domain=domain}, label="", option="Delete", action="deletedomain"}), page_info, -1) end %> |