[Rt-commit] r4496 - in rt/branches/CHALDEA-EXPERIMENTAL: html/Ticket
jesse at bestpractical.com
jesse at bestpractical.com
Fri Feb 3 23:13:44 EST 2006
Author: jesse
Date: Fri Feb 3 23:13:43 2006
New Revision: 4496
Modified:
rt/branches/CHALDEA-EXPERIMENTAL/ (props changed)
rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Create.html
rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Modify.html
rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyAll.html
rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyDates.html
rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyLinks.html
rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyPeople.html
rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Update.html
Log:
r23050 at truegrounds: jesse | 2006-02-03 13:34:17 -0500
* Added a bunch more callbacks for great justice.
Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Create.html
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Create.html (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Create.html Fri Feb 3 23:13:43 2006
@@ -49,6 +49,7 @@
Title => loc("Create a new ticket") &>
<& /Elements/ListActions, actions => \@results &>
<FORM ACTION="<%$RT::WebPath%>/Ticket/Create.html" METHOD="POST" ENCTYPE="multipart/form-data" NAME="TicketCreate">
+<& /Elements/Callback, _CallbackName => 'FormStart',ARGSRef =>\%ARGS &>
<INPUT TYPE=HIDDEN Name="id" VALUE="new">
<A NAME="top">
Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Modify.html
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Modify.html (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Modify.html Fri Feb 3 23:13:43 2006
@@ -50,6 +50,7 @@
<& /Elements/ListActions, actions => \@results &>
<FORM METHOD=POST ACTION="Modify.html" ENCTYPE="multipart/form-data">
+<& /Elements/Callback, _CallbackName => 'FormStart',ARGSRef =>\%ARGS &>
<INPUT TYPE=HIDDEN NAME=id VALUE="<%$TicketObj->Id%>">
<& /Elements/TitleBoxStart, title => loc('Modify ticket #[_1]',$TicketObj->Id), color=> "#993333", width => "100%" &>
@@ -65,7 +66,7 @@
my $CustomFields = $TicketObj->QueueObj->TicketCustomFields();
# Now let callbacks have a chance at editing %ARGS
-$m->comp('/Elements/Callback', TicketObj => $TicketObj, CustomFields => $CustomFields, %ARGS);
+$m->comp('/Elements/Callback', TicketObj => $TicketObj, CustomFields => $CustomFields, ARGSRef => \%ARGS);
my @results = ProcessTicketBasics(TicketObj => $TicketObj, ARGSRef => \%ARGS);
my @cf_results = ProcessObjectCustomFieldUpdates(Object => $TicketObj, ARGSRef => \%ARGS);
Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyAll.html
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyAll.html (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyAll.html Fri Feb 3 23:13:43 2006
@@ -52,6 +52,7 @@
<& /Elements/ListActions, actions => \@results &>
<FORM METHOD=POST ACTION="ModifyAll.html" ENCTYPE="multipart/form-data">
+<& /Elements/Callback, _CallbackName => 'FormStart',ARGSRef =>\%ARGS &>
<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Ticket->Id%>">
@@ -145,6 +146,7 @@
$Ticket->CurrentUserHasRight('ModifyTicket') );
+$m->comp('/Elements/Callback', TicketObj => $Ticket, ARGSRef => \%ARGS);
my (@wresults, @results, @dresults, @lresults, @cf_results);
unless ($OnlySearchForPeople) {
Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyDates.html
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyDates.html (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyDates.html Fri Feb 3 23:13:43 2006
@@ -52,6 +52,7 @@
<& /Elements/ListActions, actions => \@results &>
<FORM METHOD=POST ACTION="ModifyDates.html">
+<& /Elements/Callback, _CallbackName => 'FormStart',ARGSRef =>\%ARGS &>
<INPUT TYPE=HIDDEN NAME=id VALUE="<%$TicketObj->Id%>">
<& /Elements/TitleBoxStart, title => loc('Modify dates for ticket # [_1]', $TicketObj->Id), width => "100%", color => "#663366" &>
@@ -64,6 +65,7 @@
<%INIT>
my $TicketObj = LoadTicket($id);
+$m->comp('/Elements/Callback', TicketObj => $TicketObj, ARGSRef => \%ARGS);
my @results = ProcessTicketDates( TicketObj => $TicketObj, ARGSRef => \%ARGS);
</%INIT>
Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyLinks.html
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyLinks.html (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyLinks.html Fri Feb 3 23:13:43 2006
@@ -52,6 +52,7 @@
<& /Elements/ListActions, actions => \@results &>
<form action="ModifyLinks.html" method="post">
+<& /Elements/Callback, _CallbackName => 'FormStart',ARGSRef =>\%ARGS &>
<input type="hidden" name="id" value="<%$Ticket->id%>">
<& /Elements/TitleBoxStart, title => loc('Edit Links'), color => "#336633"&>
@@ -66,6 +67,7 @@
<%INIT>
my $Ticket = LoadTicket($id);
+$m->comp('/Elements/Callback', TicketObj => $Ticket, ARGSRef => \%ARGS);
my @results = ProcessTicketLinks( TicketObj => $Ticket, ARGSRef => \%ARGS);
</%INIT>
Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyPeople.html
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyPeople.html (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyPeople.html Fri Feb 3 23:13:43 2006
@@ -52,6 +52,7 @@
<& /Elements/ListActions, actions => \@results &>
<FORM METHOD=POST ACTION="ModifyPeople.html">
+<& /Elements/Callback, _CallbackName => 'FormStart',ARGSRef =>\%ARGS &>
<INPUT TYPE=HIDDEN NAME=id VALUE="<%$Ticket->Id%>">
<& /Elements/TitleBoxStart, title => loc('Modify people related to ticket #[_1]', $Ticket->Id), width => "100%", color=> "#333399" &>
<& Elements/EditPeople, Ticket => $Ticket, UserField => $UserField, UserString => $UserString, UserOp => $UserOp, GroupString => $GroupString, GroupOp => $GroupOp, GroupField => $GroupField &>
@@ -64,6 +65,7 @@
my (@results, @wresults);
my $Ticket = LoadTicket($id);
+$m->comp('/Elements/Callback', TicketObj => $Ticket, ARGSRef => \%ARGS);
# if we're trying to search for watchers and nothing else
unless ($OnlySearchForPeople or $OnlySearchForGroup) {
Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Update.html
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Update.html (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/Update.html Fri Feb 3 23:13:43 2006
@@ -50,6 +50,7 @@
<FORM ACTION="Update.html" NAME="TicketUpdate"
METHOD=POST enctype="multipart/form-data">
+<& /Elements/Callback, _CallbackName => 'FormStart',ARGSRef =>\%ARGS &>
<input type="hidden" name="QuoteTransaction" value="<% $ARGS{QuoteTransaction} %>">
<input type="hidden" name="DefaultStatus" value="<% $DefaultStatus %>">
<input type="hidden" name="Action" value="<% $ARGS{Action} %>">
More information about the Rt-commit
mailing list