blob: 6e729516e001c9081ba5d739a9cc3734c0c87606 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<% local data, viewlibrary, page_info, session = ... %>
<% require("viewfunctions") %>
<% displaycommandresults({"kdestroy"}, session) %>
<% displaycommandresults({"kinit"}, session, true) %>
<H1><%= data.label %></H1>
<DL>
<pre>
<%= html.html_escape(data.value) %>
</pre>
<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("kdestroy") then %>
<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>
<% end %>
</DL>
<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("kinit") then
viewlibrary.dispatch_component("kinit")
end %>
|