% local view, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"editpasswdentry"}, session) %> <% local header_level = htmlviewfunctions.displaysectionstart(view, page_info) %> <% htmlviewfunctions.displayitem(view.value.filename) %> <% if view.value.data then %>
Action | <% for i,f in ipairs(view.value.fields.value) do %><%= html.html_escape(f) %> | <% end %>
---|---|
<% entry.value = i %> <% if viewlibrary.check_permission("editpasswdentry") then %> <% htmlviewfunctions.displayitem(cfe({type="link", value={filename=filename, entry=entry, redir=redir}, label="", option="Edit", action="editpasswdentry"}), page_info, -1) %> <% end %> | <% for j,f in ipairs(r) do %><%= html.html_escape(f) %> | <% end %>