% local view, viewlibrary, page_info, session = ... require("htmlviewfunctions") html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"editshare", "deleteshare"}, session) %> <% htmlviewfunctions.displaycommandresults({"createshare"}, session, true) %>
Action | Name | Path | Comment |
<% if viewlibrary.check_permission("editshare") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/editshare?name="..share.name.."&redir="..page_info.orig_action, label="Edit "} %> <% end %> <% if viewlibrary.check_permission("deleteshare") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/deleteshare?submit=true&name="..share.name, label="Delete "} %> <% end %> | <%= html.html_escape(share.name) %> | <%= html.html_escape(share.path) %> | <%= html.html_escape(share.comment) %> |