% local form, viewlibrary, page_info, session = ... %> <% htmlviewfunctions = require("htmlviewfunctions") %> <% html = require("acf.html") %> <% htmlviewfunctions.displaycommandresults({"upgrade", "install"}, session) %> <% local header_level = htmlviewfunctions.displaysectionstart(form, page_info) %>
Action | <% end %>Package Name | Version |
---|---|---|
<% if viewlibrary.check_permission("install") and not packagetable.upgrade then %> <% htmlviewfunctions.displayitem(cfe({type="form", value={package=packagecfe}, label="", option="Install", action="install" }), page_info, -1) %> <% end %> <% if viewlibrary.check_permission("upgrade") and packagetable.upgrade then %> <% htmlviewfunctions.displayitem(cfe({type="form", value={package=packagecfe}, label="", option="Upgrade", action="upgrade" }), page_info, -1) %> <% end %> <% if viewlibrary.check_permission("details") then %> <% htmlviewfunctions.displayitem(cfe({type="form", value={package=packagecfe}, label="", option="View", action="details" }), page_info, -1) %> <% end %> | <% end %><%= html.html_escape(packagetable.name) %> | <%= html.html_escape(packagetable.version) %> |