Ignore:
Timestamp:
07/19/11 16:54:27 (13 years ago)
Author:
airton
Message:

Ticket #2146 - Implementacao da funcionalidade de multiplas assinaturas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/fckeditor.php

    r1059 r4828  
    7272                         
    7373                        if ( $this->ToolbarSet != '' ) 
    74                                 $Link .= "&Toolbar={$this->ToolbarSet}" ; 
     74                                $Link .= "&Toolbar={$this->ToolbarSet}" ; 
    7575 
    7676                        // Render the linked hidden field. 
     
    105105        function IsCompatible() 
    106106        { 
    107                 global $HTTP_USER_AGENT ; 
    108  
    109                 if ( isset( $HTTP_USER_AGENT ) ) 
    110                         $sAgent = $HTTP_USER_AGENT ; 
    111                 else 
    112                         $sAgent = $_SERVER['HTTP_USER_AGENT'] ; 
    113  
    114                 if ( strpos($sAgent, 'MSIE') !== false && strpos($sAgent, 'mac') === false && strpos($sAgent, 'Opera') === false ) 
    115                 { 
    116                         $iVersion = (float)substr($sAgent, strpos($sAgent, 'MSIE') + 5, 3) ; 
    117                         return ($iVersion >= 5.5) ; 
    118                 } 
    119                 else if ( strpos($sAgent, 'Gecko/') !== false ) 
    120                 { 
    121                         $iVersion = (int)substr($sAgent, strpos($sAgent, 'Gecko/') + 6, 8) ; 
    122                         return ($iVersion >= 20030210) ; 
    123                 } 
    124                 else 
    125                         return false ; 
     107                //             global $HTTP_USER_AGENT ;  
     108                //   
     109                //              if ( isset( $HTTP_USER_AGENT ) )  
     110                //                      $sAgent = $HTTP_USER_AGENT ;  
     111                //              else  
     112                //                      $sAgent = $_SERVER['HTTP_USER_AGENT'] ;  
     113                //   
     114                //              if ( strpos($sAgent, 'MSIE') !== false && strpos($sAgent, 'mac') === false && strpos($sAgent, 'Opera') === false )  
     115                //              {  
     116                //                      $iVersion = (float)substr($sAgent, strpos($sAgent, 'MSIE') + 5, 3) ;  
     117                //                      return ($iVersion >= 5.5) ;  
     118                //              }  
     119                //              else if ( strpos($sAgent, 'Gecko/') !== false )  
     120                //              {  
     121                //                      $iVersion = (int)substr($sAgent, strpos($sAgent, 'Gecko/') + 6, 8) ;  
     122                //                      return ($iVersion >= 20030210) ;  
     123                //              }  
     124                //              else  
     125                //                      return false ;  
     126                            return( true );  
    126127        } 
    127128 
     
    149150        } 
    150151 
     152                //      function getConfigFieldString()  
     153                //      {  
     154                //          $sParams = array();  
     155                //        
     156                //          foreach( $this->Config as $sKey => $sValue )  
     157                //              $sParams[] = $this->EncodeConfig( $sKey ).'='.$this->EncodeConfig( $sValue );  
     158                //   
     159                //          return implode( '&', $sParams );  
     160                //      } 
     161         
     162         
    151163        function EncodeConfig( $valueToEncode ) 
    152164        { 
Note: See TracChangeset for help on using the changeset viewer.