blob: 974dd6b01ae848ec5844f6cc82b8c9fa889c7cc8 (
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
32
33
34
35
36
|
<%= 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="ticket_id" value="<%=$ticket_id%>">
<%= if ( $edit_ticket_subject ) { $OUT .= '
Subject:<BR><input type="text" name="subject" value="' .
$ticket_fields{'subject'} . '" style="width:440px">
<BR><BR>';
}
%>
<input type="hidden" name="action" value="tktview">
Add reply to ticket:
<BR>
<textarea name="reply" cols="60" rows="10" style="width:440px"></textarea>
<BR><input type="submit" value="Reply">
</form>
<%= include('footer') %>
|