[otrs-cvs] otrs/Kernel/Modules AgentTicketBounce.pm, 1.14, 1.15 AgentTicketCompose.pm, 1.38, 1.39 AgentTicketEmail.pm, 1.56, 1.57 AgentTicketForward.pm, 1.28, 1.29
CVS commits notifications of OTRS.org
cvs-log at otrs.org
Fri May 2 13:21:45 GMT 2008
Comments:
Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv13049/Kernel/Modules
Modified Files:
AgentTicketBounce.pm AgentTicketCompose.pm AgentTicketEmail.pm
AgentTicketForward.pm
Log Message:
Deleted textarea wrap in perl code and set browser wrap in dtl files.
Author: rk
Index: AgentTicketBounce.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketBounce.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** AgentTicketBounce.pm 1 Apr 2008 20:35:29 -0000 1.14
--- AgentTicketBounce.pm 2 May 2008 13:21:40 -0000 1.15
***************
*** 260,265 ****
# prepare body ...
- my $NewLine = $Self->{ConfigObject}->Get('Ticket::Frontend::TextAreaEmail') || 75;
- $Article{Body} =~ s/(.{$NewLine}.+?\s)/$1\n/g;
$Article{Body} =~ s/\n/\n> /g;
$Article{Body} = "\n> " . $Article{Body};
--- 260,263 ----
Author: rk
Index: AgentTicketCompose.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketCompose.pm,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** AgentTicketCompose.pm 7 Apr 2008 11:03:34 -0000 1.38
--- AgentTicketCompose.pm 2 May 2008 13:21:40 -0000 1.39
***************
*** 257,265 ****
);
- # rewrap body if exists
- if ( $GetParam{Body} ) {
- my $NewLine = $Self->{ConfigObject}->Get('Ticket::Frontend::TextAreaEmail') || 75;
- $GetParam{Body} =~ s/(^>.+|.{4,$NewLine})(?:\s|\z)/$1\n/gm;
- }
my %ArticleParam = ();
--- 257,260 ----
***************
*** 597,602 ****
# rewrap body if exists
if ( $Data{Body} ) {
- my $NewLine = $Self->{ConfigObject}->Get('Ticket::Frontend::TextAreaEmail') || 75;
- $Data{Body} =~ s/(^>.+|.{4,$NewLine})(?:\s|\z)/$1\n/gm;
$Data{Body} =~ s/\t/ /g;
my $Quote = $Self->{ConfigObject}->Get('Ticket::Frontend::Quote');
--- 592,595 ----
Author: rk
Index: AgentTicketEmail.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketEmail.pm,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** AgentTicketEmail.pm 17 Apr 2008 06:42:33 -0000 1.56
--- AgentTicketEmail.pm 2 May 2008 13:21:40 -0000 1.57
***************
*** 379,387 ****
);
- # rewrap body if exists
- if ( $GetParam{Body} ) {
- $GetParam{Body} =~ s/(^>.+|.{4,$Self->{ConfigObject}->Get('Ticket::Frontend::TextAreaEmail')})(?:\s|\z)/$1\n/gm;
- }
-
# attachment delete
for ( 1 .. 16 ) {
--- 379,382 ----
Author: rk
Index: AgentTicketForward.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketForward.pm,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** AgentTicketForward.pm 31 Mar 2008 22:18:37 -0000 1.28
--- AgentTicketForward.pm 2 May 2008 13:21:40 -0000 1.29
***************
*** 311,316 ****
# prepare body, subject, ReplyTo ...
- my $NewLine = $Self->{ConfigObject}->Get('Ticket::Frontend::TextAreaEmail') || 75;
- $Data{Body} =~ s/(^>.+|.{4,$NewLine})(?:\s|\z)/$1\n/gm;
$Data{Body} =~ s/\t/ /g;
my $Quote = $Self->{ConfigObject}->Get('Ticket::Frontend::Quote');
--- 311,314 ----
***************
*** 510,519 ****
);
- # rewrap body if exists
- if ( $GetParam{Body} ) {
- my $NewLine = $Self->{ConfigObject}->Get('Ticket::Frontend::TextAreaEmail') || 75;
- $GetParam{Body} =~ s/(^>.+|.{4,$NewLine})(?:\s|\z)/$1\n/gm;
- }
-
# prepare free text
my %TicketFree = ();
--- 508,511 ----
More information about the cvs-log
mailing list