--- AgentForward.pm.org	2004-02-11 22:51:16.000000000 +0100
+++ AgentForward.pm	2004-02-11 22:53:11.000000000 +0100
@@ -99,8 +99,17 @@
     my %Param = @_;
     my $Output;
  
+    # --
+    # Check if ticket is locked and owned by current user
+    # --
+    my %Ticket = $Self->{TicketObject}->GetTicket(TicketID => $Self->{TicketID});
+    my $BgColor = "";
+    if($Self->{TicketObject}->IsTicketLocked(TicketID => $Self->{TicketID}) && $Ticket{OwnerID} == $Self->{UserID}) {
+        $BgColor = $Self->{ConfigObject}->Get('LockedTicketBackground');
+    }
+
     # start with page ...
-    $Output .= $Self->{LayoutObject}->Header(Area => 'Agent', Title => 'Forward');
+    $Output .= $Self->{LayoutObject}->Header(Area => 'Agent', Title => 'Forward', BgColor => $BgColor);
  
     my $Tn = $Self->{TicketObject}->GetTNOfId(ID => $Self->{TicketID});
     my $QueueID = $Self->{TicketObject}->GetQueueIDOfTicketID(TicketID => $Self->{TicketID});
