[Rt-commit] r8704 - in rtir/branches/2.3-EXPERIMENTAL/html/RTIR: .
ruz at bestpractical.com
ruz at bestpractical.com
Thu Aug 23 14:42:26 EDT 2007
Author: ruz
Date: Thu Aug 23 14:42:25 2007
New Revision: 8704
Modified:
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Edit.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Edit.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/LinkToIncident.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Merge.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html
Log:
* ARGSref -> ARGSRef
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Create.html Thu Aug 23 14:42:25 2007
@@ -47,7 +47,7 @@
&>
% }
-% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Actions => \@results, ARGSref => \%ARGS, Ticket => $TicketObj);
+% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $TicketObj);
<& /Elements/ListActions, actions => \@results &>
% if ( $Split && !$TicketObj->CurrentUserHasRight('ModifyTicket') ) {
@@ -424,7 +424,7 @@
unless ( $checks_failure ) {
$ARGS{'new-MemberOf'} = $parentvalue if $parentvalue;
- $m->callback(CallbackName => 'BeforeDisplay', Ticket => $TicketObj, ARGSref => \%ARGS);
+ $m->callback(CallbackName => 'BeforeDisplay', Ticket => $TicketObj, ARGSRef => \%ARGS);
return $m->comp( 'Display.html', %ARGS, SkipNotification => \@SkipNotification, results => \@results );
}
unshift @results, loc("Creation failed:");
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html Thu Aug 23 14:42:25 2007
@@ -30,7 +30,7 @@
current_subtab => 'RTIR/Display.html?id='.$Ticket->id,
Title => $Title &>
-% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Actions => \@results, ARGSref => \%ARGS, Ticket => $Ticket);
+% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $Ticket);
<& /Elements/ListActions, actions => \@results &>
<table border="0" cellpadding="0" cellspacing="2" width="100%">
<tr>
@@ -242,7 +242,7 @@
$m->callback(CallbackName => 'ProcessArguments',
Ticket => $Ticket,
- ARGSref => \%ARGS,
+ ARGSRef => \%ARGS,
Actions => \@results);
if ( $ARGS{'Action'} && $ARGS{'Action'} =~ /^(Steal|Kill|Take|SetTold)$/ ) {
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Edit.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Edit.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Edit.html Thu Aug 23 14:42:25 2007
@@ -29,7 +29,7 @@
current_subtab => "RTIR/Edit.html?id=".$Ticket->Id,
Title => $Title &>
-% $m->callback(CallbackName => 'BeforeActionList', Actions => \@results, ARGSref => \%ARGS, Ticket => $Ticket);
+% $m->callback(CallbackName => 'BeforeActionList', Actions => \@results, ARGSRef => \%ARGS, Ticket => $Ticket);
<& /Elements/ListActions, actions => \@results &>
% if (!$Ticket->CurrentUserHasRight('ModifyTicket')) {
@@ -297,7 +297,7 @@
push (@results, loc("State changed from [_1] to [_2]", $oldstate, $newstate));
}
if ( !$checks_failure && RT->Config->Get('DisplayAfterEdit', $session{'CurrentUser'}) ) {
- $m->callback(CallbackName => 'BeforeDisplay', ARGSref => \%ARGS, Ticket => $Ticket);
+ $m->callback(CallbackName => 'BeforeDisplay', ARGSRef => \%ARGS, Ticket => $Ticket);
return $m->comp("/RTIR/Display.html", %ARGS, results => [@results], id => $id);
}
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html Thu Aug 23 14:42:25 2007
@@ -30,7 +30,7 @@
Ticket => $TicketObj &>
-% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Actions => \@results, ARGSref => \%ARGS, Ticket => $TicketObj);
+% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $TicketObj);
<& /Elements/ListActions, actions => \@results &>
<%PERL>
@@ -212,7 +212,7 @@
$ARGS{'Subject'} ||= $ChildObj->Subject;
}
-$m->callback(CallbackName => 'ProcessArguments', ARGSref => \%ARGS, Ticket => $TicketObj, Child => $ChildObj);
+$m->callback(CallbackName => 'ProcessArguments', ARGSRef => \%ARGS, Ticket => $TicketObj, Child => $ChildObj);
my $QueueObj = RT::Queue->new( $session{'CurrentUser'} );
@@ -287,7 +287,7 @@
}
}
if( $inc_obj ) {
- $m->callback(CallbackName => 'BeforeDisplay', ARGSref => \%ARGS, Child => $ChildObj);
+ $m->callback(CallbackName => 'BeforeDisplay', ARGSRef => \%ARGS, Child => $ChildObj);
return $m->comp('Display.html', %ARGS, id => $inc_obj->id, results => \@results );
}
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html Thu Aug 23 14:42:25 2007
@@ -30,7 +30,7 @@
current_subtab => 'RTIR/Display.html?id='.$id,
Title => loc("Incident #[_1]: [_2]", $id, $TicketObj->Subject) &>
-% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Actions => \@results, ARGSref => \%ARGS, Ticket => $TicketObj);
+% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Actions => \@results, ARGSRef => \%ARGS, Ticket => $TicketObj);
<& /Elements/ListActions, actions => \@results &>
<table border="0" cellpadding="0" cellspacing="2" width="100%"><tr><td valign="top" width="50%">
@@ -254,7 +254,7 @@
if( $Child ) {
my $ChildObj = RT::Ticket->new( $session{'CurrentUser'} );
$ChildObj->Load($Child);
- $m->callback(CallbackName => 'ThisLinkedToIR', ARGSref => \%ARGS, Child => $ChildObj);
+ $m->callback(CallbackName => 'ThisLinkedToIR', ARGSRef => \%ARGS, Child => $ChildObj);
}
@@ -325,7 +325,7 @@
$m->callback(CallbackName => 'ProcessArguments',
Ticket => $TicketObj,
- ARGSref => \%ARGS,
+ ARGSRef => \%ARGS,
Actions => \@results);
unless( $TicketObj->QueueObj->Name eq 'Incidents' ) {
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Edit.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Edit.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Edit.html Thu Aug 23 14:42:25 2007
@@ -30,7 +30,7 @@
Title => loc("Edit Incident #[_1]: [_2]",
$Ticket->Id, $Ticket->Subject) &>
-% $m->callback(CallbackName => 'BeforeActionList', Actions => \@results, ARGSref => \%ARGS, Ticket => $Ticket);
+% $m->callback(CallbackName => 'BeforeActionList', Actions => \@results, ARGSRef => \%ARGS, Ticket => $Ticket);
<& /Elements/ListActions, actions => \@results &>
% unless ( $Ticket->CurrentUserHasRight('ModifyTicket') ) {
@@ -212,7 +212,7 @@
push (@results, loc("State changed from [_1] to [_2]", $oldstate, $newstate));
}
if ( !$checks_failure && RT->Config->Get('DisplayAfterEdit', $session{'CurrentUser'}) ) {
- $m->callback(CallbackName => 'BeforeDisplay', ARGSref => \%ARGS, Ticket => $Ticket);
+ $m->callback(CallbackName => 'BeforeDisplay', ARGSRef => \%ARGS, Ticket => $Ticket);
return $m->comp("/RTIR/Incident/Display.html", %ARGS, results => [@results], id => $id );
}
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/LinkToIncident.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/LinkToIncident.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/LinkToIncident.html Thu Aug 23 14:42:25 2007
@@ -38,7 +38,7 @@
current_subtab => "RTIR/Search/Refine.html",
&>
-% $m->callback(CallbackName => 'BeforeActionList', ARGSref => \%ARGS, Ticket => $ChildObj);
+% $m->callback(CallbackName => 'BeforeActionList', ARGSRef => \%ARGS, Ticket => $ChildObj);
<form action="<% RT->Config->Get('WebPath') %>/RTIR/Incident/Display.html" method="post">
<input type="hidden" name="Child" value="<% $id %>" />
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html Thu Aug 23 14:42:25 2007
@@ -35,7 +35,7 @@
current_subtab => "RTIR/Search/Refine.html",
&>
-% $m->callback(CallbackName => 'BeforeActionList', Actions => \@results, ARGSref => \%ARGS, Ticket => $IncidentObj);
+% $m->callback(CallbackName => 'BeforeActionList', Actions => \@results, ARGSRef => \%ARGS, Ticket => $IncidentObj);
<& /Elements/ListActions, actions => \@results &>
<form action="Reply.html" method="get">
@@ -218,7 +218,7 @@
push @results, loc("State of the Incident left unchanged; not all children were updated");
}
- $m->callback(CallbackName => 'BeforeDisplay', ARGSref => \%ARGS, Ticket => $IncidentObj);
+ $m->callback(CallbackName => 'BeforeDisplay', ARGSRef => \%ARGS, Ticket => $IncidentObj);
# NOTE: don't pass %ARGS further as we've done everything we need here
return $m->comp("Display.html", results => \@results, id => $id);
}
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Merge.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Merge.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Merge.html Thu Aug 23 14:42:25 2007
@@ -35,7 +35,7 @@
current_subtab => 'RTIR/Search/Refine.html',
&>
-% $m->callback(CallbackName => 'BeforeActionList', Actions => \@results, ARGSref => \%ARGS, Ticket => $Ticket);
+% $m->callback(CallbackName => 'BeforeActionList', Actions => \@results, ARGSRef => \%ARGS, Ticket => $Ticket);
<& /Elements/ListActions, actions => \@results &>
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html Thu Aug 23 14:42:25 2007
@@ -29,7 +29,7 @@
Title => $title &>
-% $m->callback(CallbackName => 'BeforeActionList', ARGSref => \%ARGS, Ticket => $Ticket);
+% $m->callback(CallbackName => 'BeforeActionList', ARGSRef => \%ARGS, Ticket => $Ticket);
<form action="Update.html" name="TicketUpdate"
method="post" enctype="multipart/form-data">
<input type="hidden" name="QuoteTransaction" value="<% $ARGS{'QuoteTransaction'} || '' %>" />
@@ -171,7 +171,7 @@
$m->comp( '/RTIR/Create.html:ProcessAttachments', %ARGS );
if ( exists $ARGS{SubmitTicket} ) {
- $m->callback(CallbackName => 'BeforeDisplay', ARGSref => \%ARGS, Ticket => $Ticket);
+ $m->callback(CallbackName => 'BeforeDisplay', ARGSRef => \%ARGS, Ticket => $Ticket);
return $m->comp('/RTIR/Display.html', %ARGS);
}
More information about the Rt-commit
mailing list