#1807: fail with Opera 9.20
--------------------+-------------------------------------------------------
 Reporter:  caroso  |        Type:  Bug    
   Status:  new     |    Priority:  Normal 
Milestone:          |   Component:  General
  Version:          |    Keywords:         
--------------------+-------------------------------------------------------
 A possible solution:
 In file "fckeditor.php"


 {{{
         else if ( strpos($sAgent, 'Opera/') !== false )
         {
                 $fVersion = (float)substr($sAgent, strpos($sAgent,
 'Opera/') + 6, strpos($sAgent, '.') - strpos($sAgent, 'Opera/') - 6) ;
                 if ($fVersion > 9)
                         {
                         return true;
                         }
                 else if ($fVersion == 9)
                         {
                         return ( (int)substr($sAgent, strpos($sAgent, '.')
 +1, strpos($sAgent, '(') - strpos($sAgent, '.') ) >= 5);
                         }
                 else
                         {
                         return false;
                         }
         }
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/1807>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to