% local data, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"editdomain", "deletedomain"}, session) %> <% htmlviewfunctions.displaycommandresults({"createdomain"}, session, true) %> <% local header_level = htmlviewfunctions.displaysectionstart(cfe({label="Configuration"}), page_info) local header_level2 = htmlviewfunctions.displaysectionstart(cfe({label="Edit/View DNS server entries"}), page_info, htmlviewfunctions.incrementheader(header_level)) %>
Action | Domain |
---|---|
<% domain.value = d htmlviewfunctions.displayitem(cfe({type="link", value={domain=domain, redir=redir}, label="", option="Edit", action="editdomain"}), page_info, -1) if d ~= "@" then htmlviewfunctions.displayitem(cfe({type="form", value={domain=domain}, label="", option="Delete", action="deletedomain"}), page_info, -1) end %> | <%= html.html_escape(d) %> |