Changeset 889

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

Enabling Safari and Opera compatibility in Lasso integration file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/fckeditor.lasso

    r132 r889  
    8282 
    8383                define_tag('isCompatibleBrowser'); 
    84                         local('result' = true); 
    85                         (client_browser >> 'Apple' || client_browser >> 'Opera' || client_browser >> 'KHTML') ? #result = false; 
     84                        local('result' = false); 
     85                        if (client_browser->Find("MSIE") && !client_browser->Find("mac") && !client_browser->Find("Opera"));     
     86                                #result = client_browser->Substring(client_browser->Find("MSIE")+5,3)>=5.5; 
     87                        /if; 
     88                        if (client_browser->Find("Gecko/"));     
     89                                #result = client_browser->Substring(client_browser->Find("Gecko/")+6,8)>=20030210; 
     90                        /if; 
     91                        if (client_browser->Find("Opera/")); 
     92                                #result = client_browser->Substring(client_browser->Find("Opera/")+6,4)>=9.5; 
     93                        /if; 
     94                        if (client_browser->Find("AppleWebKit/")); 
     95                                #result = client_browser->Substring(client_browser->Find("AppleWebKit/")+12,3)>=522; 
     96                        /if; 
    8697                        return(#result); 
    8798                /define_tag;