diff options
Diffstat (limited to 'rt/webrt/Ticket/Modify.html')
-rwxr-xr-x | rt/webrt/Ticket/Modify.html | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/rt/webrt/Ticket/Modify.html b/rt/webrt/Ticket/Modify.html deleted file mode 100755 index 7a8a79216..000000000 --- a/rt/webrt/Ticket/Modify.html +++ /dev/null @@ -1,39 +0,0 @@ -<& /Elements/Header, Title => 'Modify ticket #'.$TicketObj->Id &> -<& /Ticket/Elements/Tabs, Ticket => $TicketObj, current_tab => "Ticket/Modify.html?id=".$TicketObj->Id &> - -<& /Elements/ListActions, actions => \@results &> -<FORM METHOD=POST ACTION="Modify.html"> -<INPUT TYPE=HIDDEN NAME=id VALUE="<%$TicketObj->Id%>"> - -<& /Elements/TitleBoxStart, title => 'Modify ticket #'.$TicketObj->Id, - color=> "#993333", width => "100%" &> -<& Elements/EditBasics, TicketObj => $TicketObj &> -<& /Elements/TitleBoxEnd &> - -<& /Elements/TitleBoxStart, title => 'Keywords', color =>"#993333"&> -<& Elements/EditKeywordSelects, TicketObj=>$TicketObj &> -<& /Elements/TitleBoxEnd &> - -<& /Elements/Submit, Label => 'Save Changes', Caption => "If you've updated anything above, be sure to", color => "#993333" &> -</form> -<%INIT> - -my $TicketObj = LoadTicket($id); - -my @results = ProcessTicketBasics(TicketObj => $TicketObj, ARGSRef => \%ARGS); -my @okresults = ProcessTicketObjectKeywords(TicketObj => $TicketObj, ARGSRef => \%ARGS); - -push (@results, @okresults); - -# TODO: display the results, even if we can't display the ticket - -unless ($TicketObj->CurrentUserHasRight('ShowTicket')) { - Abort("No permission to view ticket"); -} - -</%INIT> - - -<%ARGS> -$id => undef -</%ARGS> |