<% local view, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"unlockuser", "unlockip"}, session, true) %> <% local header_level = htmlviewfunctions.displaysectionstart(view, page_info) %> <% for i,lock in ipairs( view.value ) do %> <% end %>
User ID IP Address Time
<%= html.html_escape(lock.userid) %> <%= html.html_escape(lock.ip) %> <%= format.formattime(lock.time) %>
<% htmlviewfunctions.displaysectionend(header_level) %> <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("unlockuser") viewlibrary.dispatch_component("unlockip") end %>