[otrs-cvs] otrs/Kernel/Modules AgentStats.pm,1.30,1.31

cvs-log at otrs.org cvs-log at otrs.org
Tue Jul 3 08:42:36 GMT 2007


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

Modified Files:
	AgentStats.pm 
Log Message:
Fixed bug# 2011: Translation problems in stats module.

Author: tr

Index: AgentStats.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentStats.pm,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** AgentStats.pm	10 May 2007 14:18:25 -0000	1.30
--- AgentStats.pm	3 Jul 2007 08:42:31 -0000	1.31
***************
*** 227,232 ****
              if ($#{$Stat->{GraphSize}} > 0) {
                  $Frontend{SelectGraphSize} = $Self->{LayoutObject}->OptionStrgHashRef(
!                     Data => \%GraphSize,
!                     Name => 'GraphSize',
                  );
                  $Self->{LayoutObject}->Block(
--- 227,233 ----
              if ($#{$Stat->{GraphSize}} > 0) {
                  $Frontend{SelectGraphSize} = $Self->{LayoutObject}->OptionStrgHashRef(
!                     Data                => \%GraphSize,
!                     Name                => 'GraphSize',
!                     LanguageTranslation => 0,
                  );
                  $Self->{LayoutObject}->Block(
***************
*** 1283,1295 ****
          }
  
!         foreach my $Key (qw(Format GraphSize)) {
!             $Stat->{'Select' . $Key} = $Self->{LayoutObject}->OptionStrgHashRef(
!                 Data => $Values{$Key},
!                 Name => $Key,
!                 Multiple => 1,
!                 Size => 5,
!                 SelectedIDRefArray => $Stat->{$Key},
!             );
!         }
          # presentation
          $Output = $Self->{LayoutObject}->Header(
--- 1284,1304 ----
          }
  
!         $Stat->{SelectFormat} = $Self->{LayoutObject}->OptionStrgHashRef(
!             Data               => $Values{Format},
!             Name               => 'Format',
!             Multiple           => 1,
!             Size               => 5,
!             SelectedIDRefArray => $Stat->{Format},
!         );
! 
!         $Stat->{SelectGraphSize} = $Self->{LayoutObject}->OptionStrgHashRef(
!             Data                => $Values{GraphSize},
!             Name                => 'GraphSize',
!             Multiple            => 1,
!             Size                => 5,
!             SelectedIDRefArray  => $Stat->{GraphSize},
!             LanguageTranslation => 0,
!         );
! 
          # presentation
          $Output = $Self->{LayoutObject}->Header(


More information about the cvs-log mailing list