blob: 6f540bcf422dc9e0aecf043b8aba9b85d3332e32 (
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
25
26
27
28
29
30
31
|
<%= $url = "$selfurl?session=$session_id;action="; ''; %>
<%= include('header', "View ticket #$ticket_id") %>
<%=
if($error) {
$OUT .= qq! <div style="font-weight: bold; color: red; font-size: 110%">Error: $error</div> !;
}
elsif(@transactions) {
$OUT .= qq! <TABLE border="1">!;
foreach my $txn ( @transactions ) {
next if $txn->{content} eq 'This transaction appears to have no content';
$OUT .= "<TR><TD><B>$txn->{created} $txn->{description}</B>";
$OUT .= "<PRE>$txn->{content}</PRE></TD></TR>";
}
$OUT .= "</TABLE>";
}
else {
$OUT .= "No transactions on this ticket";
}
%>
<BR><BR><BR>
<FORM ACTION="<%=$selfurl%>" METHOD=POST>
<input type="hidden" name="session" value="<%=$session_id%>">
<input type="hidden" name="ticket_id" value="<%=$ticket_id%>">
<input type="hidden" name="action" value="tktview">
Add reply to ticket:
<BR><textarea name="reply" cols="60" rows="10"></textarea>
<BR><input type="submit" value="Reply">
</form>
<%= include('footer') %>
|