[otrs-cvs] CVS: otrs/Kernel/Modules AgentStats.pm,1.18,1.19

cvs-log at otrs.org cvs-log at otrs.org
Wed Nov 8 09:20:22 CET 2006


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

Modified Files:
	AgentStats.pm 
Log Message:
first suggestion for the solution of the filenameproblem

Index: AgentStats.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentStats.pm,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** AgentStats.pm	6 Oct 2006 14:41:43 -0000	1.18
--- AgentStats.pm	8 Nov 2006 08:20:19 -0000	1.19
***************
*** 254,258 ****
          }
  
- 
          # get static attributes
          if ($Stat->{StatType} eq 'static') {
--- 254,257 ----
***************
*** 852,856 ****
                                  }
  
- 
                                  $Data{UseAsXvalue}[0]{"Time$Limit"} =
                                      sprintf("%04d-%02d-%02d %02d:%02d:%02d",
--- 851,854 ----
***************
*** 1077,1080 ****
--- 1075,1094 ----
          }
  
+ # this is the second suggestion for the filenameproblem, delet it, if the first
+ # solution is enough
+ #         # show the filename inputfield if conigured
+ #         if ($Self->{ConfigObject}->Get('Stats::ExportFilename')) {
+ #             $Self->{LayoutObject}->Block(
+ #                 Name => 'Filename',
+ #                 Data => {
+ #                     Name      => 'Dynamic-Object',
+ #                     StateType => 'dynamic',
+ #                 }
+ #             );
+ #             $Self->{LayoutObject}->Block(
+ #                 Name => 'FilenameExplanation',
+ #             );
+ #         }
+ 
          # build the dynamic or/and static stats selection if nothing is selected
          if (!$Stat->{StatType}) {
***************
*** 1105,1109 ****
                              Name      => 'Dynamic-Object',
                              StateType => 'dynamic',
!                         }                    );
                  }
                  # need a dropdown menue if more dynamic objects available
--- 1119,1124 ----
                              Name      => 'Dynamic-Object',
                              StateType => 'dynamic',
!                         }
!                     );
                  }
                  # need a dropdown menue if more dynamic objects available
***************
*** 1312,1317 ****
              }
  
- 
- 
              if ($ObjectAttribute->{Block} eq 'MultiSelectField') {
                  $BlockData{SelectField} = $Self->{LayoutObject}->OptionStrgHashRef(
--- 1327,1330 ----
***************
*** 1485,1489 ****
                  }
  
- 
                  my %TimeData = _Timeoutput($Self, %{$ObjectAttribute});
                  %BlockData = (%BlockData, %TimeData);
--- 1498,1501 ----
***************
*** 1890,1894 ****
          # Gernerate Filename
          my $Filename = $Self->{StatsObject}->StringAndTimestamp2Filename(
!             String => $Title . " Created",
          );
  
--- 1902,1906 ----
          # Gernerate Filename
          my $Filename = $Self->{StatsObject}->StringAndTimestamp2Filename(
!             String => $Stat->{Title} . " Created",
          );
  



More information about the cvs-log mailing list