Changeset 886
- Timestamp:
- 2007-09-27 01:17:49 (14 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 2 modified
-
fckeditor_php4.php (modified) (1 diff)
-
fckeditor_php5.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/fckeditor_php4.php
r710 r886 130 130 return ($iVersion >= 20030210) ; 131 131 } 132 else if ( strpos($sAgent, 'Opera/') !== false ) 133 { 134 $fVersion = (float)substr($sAgent, strpos($sAgent, 'Opera/') + 6, 4) ; 135 return ($fVersion >= 9.5) ; 136 } 137 else if ( preg_match( "|AppleWebKit/(\d+)|i", $sAgent, $matches ) ) 138 { 139 $iVersion = $matches[1] ; 140 return ( $matches[1] >= 522 ) ; 141 } 132 142 else 133 143 return false ; -
FCKeditor/trunk/fckeditor_php5.php
r132 r886 120 120 return ($iVersion >= 20030210) ; 121 121 } 122 else if ( strpos($sAgent, 'Opera/') !== false ) 123 { 124 $fVersion = (float)substr($sAgent, strpos($sAgent, 'Opera/') + 6, 4) ; 125 return ($fVersion >= 9.5) ; 126 } 127 else if ( preg_match( "|AppleWebKit/(\d+)|i", $sAgent, $matches ) ) 128 { 129 $iVersion = $matches[1] ; 130 return ( $matches[1] >= 522 ) ; 131 } 122 132 else 123 return false ; 133 return false ; 124 134 } 125 135