<& /Elements/Header, Title => 'Modify people related to ticket # ' . $Ticket->id &> <& /Ticket/Elements/Tabs, Ticket => $Ticket , current_tab => "Ticket/ModifyPeople.html?id=".$Ticket->Id &> <& /Elements/ListActions, actions => \@results &>
<& /Elements/TitleBoxStart, title => 'Modify people related to ticket #'.$Ticket->Id, width => "100%", color=> "#333399" &> <& Elements/EditPeople, Ticket => $Ticket, UserField => $UserField, UserString => $UserString, UserOp => $UserOp &> <& /Elements/TitleBoxEnd &> <& /Elements/Submit, Label => 'Save Changes', Caption => "If you've updated anything above, be sure to", color => "#333399" &>
<%INIT> my (@results, @wresults); my $Ticket = LoadTicket($id); # if we're trying to search for watchers and nothing else unless ($OnlySearchForPeople) { @results = ProcessTicketBasics( TicketObj => $Ticket, ARGSRef => \%ARGS); @wresults = ProcessTicketWatchers( TicketObj => $Ticket, ARGSRef => \%ARGS); } push @results, @wresults; <%ARGS> $OnlySearchForPeople => undef $UserField => undef $UserOp => undef $UserString => undef $id => undef