<% local view, viewlibrary, page_info, session = ... require("viewfunctions") %> <% displaycommandresults({"deleteclass", "editclass"}, session) %> <% displaycommandresults({"createclass"}, session, true) %>

Classes

<% for k,v in ipairs( view.value ) do %> <% end %>
Action Class Group Label Sequence
<% if viewlibrary.check_permission("deleteclass") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/deleteclass?class_id="..v.class_id, label="Delete ", class="deleteclass"} %> <% end %> <% if viewlibrary.check_permission("editclass") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/editclass?class_id="..v.class_id.."&redir="..page_info.orig_action, label="Edit "} %> <% end %> <%= html.html_escape(v.group) %> <%= html.html_escape(v.label) %> <%= html.html_escape(v.seq) %>
<% if view.errtxt then %>

<%= html.html_escape(view.errtxt) %>

<% end %> <% if #view.value == 0 then %>

No classes found

<% end %> <% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createclass") then viewlibrary.dispatch_component("createclass") end %>