% local view, viewlibrary, page_info, session = ... require("viewfunctions") %> <% displaycommandresults({"deletetemplate", "edittemplate"}, session) %> <% displaycommandresults({"createtemplate"}, session, true) %>
Action | File Name | Label | Sequence | File Size | Last Modified |
---|---|---|---|---|---|
<% if viewlibrary.check_permission("deletetemplate") and v.label then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/deletetemplate?filename="..v.filename, label="Delete ", class="deletetemplate"} %> <% end %> <% if viewlibrary.check_permission("edittemplate") and v.label then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/edittemplate?filename="..v.filename.."&redir="..page_info.orig_action, label="Edit "} %> <% end %> <% if viewlibrary.check_permission("createtemplate") and not v.label then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/createtemplate?filename="..v.filename.."&redir="..page_info.orig_action, label="Create "} %> <% end %> | <%= html.html_escape(v.filename) %> | <%= html.html_escape(v.label) %> | <%= html.html_escape(v.seq) %> | <%= html.html_escape(v.filesize) %> | <%= html.html_escape(v.mtime) %> |
<%= html.html_escape(view.errtxt) %>
<% end %> <% if #view.value == 0 then %>No templates found
<% end %> <% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createtemplate") then viewlibrary.dispatch_component("createtemplate") end %>