Show
Ignore:
Timestamp:
2007-09-27 01:18:43 (14 months ago)
Author:
wwalc
Message:

Enabling Safari and Opera compatibility in Perl integration file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/fckeditor.pl

    r132 r888  
    108108                $iVersion = substr($sAgent,index($sAgent,'Gecko/') + 6,8); 
    109109                return($iVersion >= 20030210) ; 
     110        } elsif($sAgent =~ /Opera\//i) { 
     111                $iVersion = substr($sAgent,index($sAgent,'Opera/') + 6,4); 
     112                return($iVersion >= 9.5) ; 
     113        } elsif($sAgent =~ /AppleWebKit\/(\d+)/i) { 
     114                return($1 >= 522) ; 
    110115        } else { 
    111116                return(0);              # 2.0 PR fix