Changeset 70


Ignore:
Timestamp:
09/20/07 08:37:48 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

Location:
trunk
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/index.php

    r69 r70  
    6060        $GLOBALS['phpgw']->common->phpgw_footer(); 
    6161     
    62         _debug_array($_GLOBALS['phpgw_info']['server']); 
     62    // Loading Admin Config Module 
    6363    $c = CreateObject('phpgwapi.config','expressoMail1_2'); 
    6464    $c->read_repository(); 
    6565    $current_config = $c->config_data; 
     66    // Begin Set Anti-Spam options. 
    6667    $_SESSION['phpgw_info']['server']['expressomail']['expressoMail_command_for_ham'] = $current_config['expressoMail_command_for_ham']; 
    6768    $_SESSION['phpgw_info']['server']['expressomail']['expressoMail_command_for_spam'] = $current_config['expressoMail_command_for_spam']; 
    68     $_SESSION['phpgw_info']['server']['expressomail']['expressoMail_use_spam_filter'] = $current_config['expressoMail_use_spam_filter']; 
     69    $_SESSION['phpgw_info']['server']['expressomail']['expressoMail_use_spam_filter'] = $current_config['expressoMail_use_spam_filter'];    
    6970    echo '<script> var use_spam_filter = \''.$current_config['expressoMail_use_spam_filter'].'\' </script>'; 
     71        // End Set Anti-Spam options. 
    7072 
    7173        $obj = createobject("expressoMail1_2.functions"); 
  • trunk/instant_messenger/js/im_functions.js

    r68 r70  
    568568        { 
    569569                var _this = this; 
    570                 if( _this.count_Vcard < 3) 
     570                if( _this.count_Vcard < 4) 
    571571                { 
    572572                        var handler_getVcard = function(_XMLdata) 
  • trunk/instant_messenger/js/im_preferences.js

    r68 r70  
    389389                        alert('Carregando !!'); 
    390390                }else{ 
    391                         var vcards = document.getElementById('vcard_' + pJid).innerHTML; 
    392                         Templates.information_Contact(vcards); 
     391                        if(document.getElementById('vcard_' + pJid) != null) 
     392                        { 
     393                                var vcards = document.getElementById('vcard_' + pJid); 
     394                                Templates.information_Contact(vcards.innerHTML); 
     395                        }else 
     396                                alert('Vcard não carregado!'); 
    393397                } 
    394398        } 
  • trunk/instant_messenger/js/im_templates.js

    r68 r70  
    231231   } 
    232232 
    233    /* 
    234         * Send File 
    235         */ 
    236  
    237    Templates.prototype.Send_file = function(pJid) 
    238    { 
    239                 var _this = this; 
    240                 var _XmlSendFile = '<send_file path="'+im_path+'" jid="'+pJid+'" lang1="'+IM.get_lang('Send File')+'" lang2="'+IM.get_lang('Send')+'" lang3="'+IM.get_lang('Status of the Transference')+'"/>'; 
    241  
    242                 _this.conf_form("divSendFile",360,110,parse_XmlXsl(_XmlSendFile,'send_file.xsl'),":: Envio de Arquivo - Expresso ::"); 
    243    } 
    244  
    245233   //Templates 
    246234   var Templates = new Templates(); 
  • trunk/instant_messenger/js/im_var_globals.js

    r67 r70  
    3131} 
    3232 
    33 function windowBlur() {focusFlag = false; document.title = window_title;} 
    34 function windowFocus() {focusFlag = true; document.title = window_title;} 
     33function windowBlur()  
     34{ 
     35        try{ 
     36                focusFlag = false;  
     37                document.title = window_title; 
     38        }catch(e){} 
     39} 
     40function windowFocus() 
     41{ 
     42        try{ 
     43                focusFlag = true;  
     44                document.title = window_title; 
     45        }catch(e){} 
     46} 
    3547 
    3648var WINDOW_STATE_REGULAR = "regular"; 
Note: See TracChangeset for help on using the changeset viewer.