[otrs-cvs] CVS: otrs/Kernel/Output/HTML PreferencesTimeZone.pm, 1.2, 1.3

cvs-log at otrs.org cvs-log at otrs.org
Fri Nov 10 10:07:06 CET 2006


Update of /home/cvs/otrs/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv4414/Kernel/Output/HTML

Modified Files:
	PreferencesTimeZone.pm 
Log Message:
added check if  TimeZoneUserBrowserAutoOffset is used and java script is enable, then dont show this options

Index: PreferencesTimeZone.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/PreferencesTimeZone.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** PreferencesTimeZone.pm	27 Aug 2006 22:23:35 -0000	1.2
--- PreferencesTimeZone.pm	10 Nov 2006 09:07:04 -0000	1.3
***************
*** 43,47 ****
      my %Param = @_;
      my @Params = ();
!     if ($Self->{ConfigObject}->Get('TimeZoneUser')) {
          push (@Params, {
              %Param,
--- 43,51 ----
      my %Param = @_;
      my @Params = ();
!     if ($Self->{ConfigObject}->Get('TimeZoneUser') &&
!         ((!$Self->{ConfigObject}->Get('TimeZoneUserBrowserAutoOffset')) ||
!         ($Self->{ConfigObject}->Get('TimeZoneUserBrowserAutoOffset') &&
!          !$Self->{LayoutObject}->{BrowserJavaScriptSupport}))
!     ) {
          push (@Params, {
              %Param,



More information about the cvs-log mailing list