[otrs-cvs] CVS: otrs/Kernel/Modules AgentStats.pm,1.5,1.6 AgentTicketSearch.pm,1.21,1.22

cvs-log at otrs.org cvs-log at otrs.org
Mon Aug 7 15:41:56 CEST 2006


Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv13923/Kernel/Modules

Modified Files:
	AgentStats.pm AgentTicketSearch.pm 
Log Message:
use HeadlineLeft and HeadlineRight in PageNew()

Index: AgentStats.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentStats.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** AgentStats.pm	7 Aug 2006 06:58:39 -0000	1.5
--- AgentStats.pm	7 Aug 2006 12:41:54 -0000	1.6
***************
*** 1968,2016 ****
                          FooterLeft => $Url,
                          FooterRight => $Page . ' ' . ($Counter + 1),
!                     );
!                     # output title
!                     $Self->{PDFObject}->PositionSet(
!                         Move => 'relativ',
!                         Y => -10,
!                     );
!                     $Self->{PDFObject}->Text(
!                         Text => $Title,
!                         Width => 375,
!                         Height => 12,
!                         Type => 'Cut',
!                         Font => 'HelveticaBold',
!                         FontSize => 12,
!                     );
!                     # output 'printed by'
!                     $Self->{PDFObject}->PositionSet(
!                         X => 'center',
!                         Y => 'top',
!                     );
!                     $Self->{PDFObject}->PositionSet(
!                         Move => 'relativ',
!                         Y => -14,
!                     );
!                     $Self->{PDFObject}->Text(
!                         Text => $PrintedBy . ' ' .
                                  $Self->{UserFirstname} . ' ' .
                                  $Self->{UserLastname} . ' (' .
                                  $Self->{UserEmail} . ') ' .
                                  $Time,
-                         Height => 8,
-                         Type => 'Cut',
-                         Font => 'Helvetica',
-                         FontSize => 8,
-                         Color => '#404040',
-                         Align => 'right',
                      );
                      # output table
-                     $Self->{PDFObject}->PositionSet(
-                         X => 'left',
-                         Y => 'top',
-                     );
-                     $Self->{PDFObject}->PositionSet(
-                         Move => 'relativ',
-                         Y => -30,
-                     );
                      %Return = $Self->{PDFObject}->Table(
                          CellData => $Return{CellData},
--- 1968,1979 ----
                          FooterLeft => $Url,
                          FooterRight => $Page . ' ' . ($Counter + 1),
!                         HeadlineLeft => $Title,
!                         HeadlineRight => $PrintedBy . ' ' .
                                  $Self->{UserFirstname} . ' ' .
                                  $Self->{UserLastname} . ' (' .
                                  $Self->{UserEmail} . ') ' .
                                  $Time,
                      );
                      # output table
                      %Return = $Self->{PDFObject}->Table(
                          CellData => $Return{CellData},

Index: AgentTicketSearch.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketSearch.pm,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** AgentTicketSearch.pm	7 Aug 2006 06:59:31 -0000	1.21
--- AgentTicketSearch.pm	7 Aug 2006 12:41:54 -0000	1.22
***************
*** 564,612 ****
                          FooterLeft => $Url,
                          FooterRight => $Page . ' ' . ($Counter + 1),
!                     );
!                     # output title
!                     $Self->{PDFObject}->PositionSet(
!                         Move => 'relativ',
!                         Y => -10,
!                     );
!                     $Self->{PDFObject}->Text(
!                         Text => $Title,
!                         Width => 375,
!                         Height => 12,
!                         Type => 'Cut',
!                         Font => 'HelveticaBold',
!                         FontSize => 12,
!                     );
!                     # output 'printed by'
!                     $Self->{PDFObject}->PositionSet(
!                         X => 'center',
!                         Y => 'top',
!                     );
!                     $Self->{PDFObject}->PositionSet(
!                         Move => 'relativ',
!                         Y => -14,
!                     );
!                     $Self->{PDFObject}->Text(
!                         Text => $PrintedBy . ' ' .
                                  $Self->{UserFirstname} . ' ' .
                                  $Self->{UserLastname} . ' (' .
                                  $Self->{UserEmail} . ') ' .
                                  $Time,
-                         Height => 8,
-                         Type => 'Cut',
-                         Font => 'Helvetica',
-                         FontSize => 8,
-                         Color => '#404040',
-                         Align => 'right',
                      );
                      # output table
-                     $Self->{PDFObject}->PositionSet(
-                         X => 'left',
-                         Y => 'top',
-                     );
-                     $Self->{PDFObject}->PositionSet(
-                         Move => 'relativ',
-                         Y => -30,
-                     );
                      %Return = $Self->{PDFObject}->Table(
                          CellData => $Return{CellData},
--- 564,575 ----
                          FooterLeft => $Url,
                          FooterRight => $Page . ' ' . ($Counter + 1),
!                         HeadlineLeft => $Title,
!                         HeadlineRight => $PrintedBy . ' ' .
                                  $Self->{UserFirstname} . ' ' .
                                  $Self->{UserLastname} . ' (' .
                                  $Self->{UserEmail} . ') ' .
                                  $Time,
                      );
                      # output table
                      %Return = $Self->{PDFObject}->Table(
                          CellData => $Return{CellData},



More information about the cvs-log mailing list