comparison MoinMoin/web/static/htdocs/applets/FCKeditor/fckeditor.pl @ 6113:a0ec7f89be84

upgrade FCKEditor to 2.6.11
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 20 Sep 2016 05:46:18 +0200
parents 9c27b8589342
children
comparison
equal deleted inserted replaced
6112:4716268c34e3 6113:a0ec7f89be84
101 101
102 $sAgent = $ENV{'HTTP_USER_AGENT'}; 102 $sAgent = $ENV{'HTTP_USER_AGENT'};
103 if(($sAgent =~ /MSIE/i) && !($sAgent =~ /mac/i) && !($sAgent =~ /Opera/i)) { 103 if(($sAgent =~ /MSIE/i) && !($sAgent =~ /mac/i) && !($sAgent =~ /Opera/i)) {
104 $iVersion = substr($sAgent,index($sAgent,'MSIE') + 5,3); 104 $iVersion = substr($sAgent,index($sAgent,'MSIE') + 5,3);
105 return($iVersion >= 5.5) ; 105 return($iVersion >= 5.5) ;
106 } elsif($sAgent =~ /Gecko\/\d+\.\d+/i) {
107 return true;
106 } elsif($sAgent =~ /Gecko\//i) { 108 } elsif($sAgent =~ /Gecko\//i) {
107 $iVersion = substr($sAgent,index($sAgent,'Gecko/') + 6,8); 109 $iVersion = substr($sAgent,index($sAgent,'Gecko/') + 6,8);
108 return($iVersion >= 20030210) ; 110 return($iVersion >= 20030210) ;
109 } elsif($sAgent =~ /Opera\//i) { 111 } elsif($sAgent =~ /Opera\//i) {
110 $iVersion = substr($sAgent,index($sAgent,'Opera/') + 6,4); 112 $iVersion = substr($sAgent,index($sAgent,'Opera/') + 6,4);