blob: c6997ffe3d6387158973721144958b1387f1587d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<% local data, viewlibrary, page_info, session = ... %>
<% require("viewfunctions") %>
<% displaycommandresults({"kdestroy"}, session) %>
<% displaycommandresults({"kinit"}, session, true) %>
<H1><%= data.label %></H1>
<pre>
<%= html.html_escape(data.value) %>
</pre>
<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].kdestroy then %>
<DL>
<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/kdestroy") %>">
<DT>Destroy Tickets</DT>
<DD><input class="submit" type="submit" value="Destroy"></DD>
</form>
</DL>
<% end %>
<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].kinit then
viewlibrary.dispatch_component("kinit")
end %>
|