Ignore:
Timestamp:
03/18/08 08:52:27 (16 years ago)
Author:
niltonneto
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/instant_messenger/js/jabber.js

    r171 r227  
    4242 
    4343                function readContacts(pContacts) 
    44                 { 
     44                {  
    4545                        var XmlDoc = "<layer>" + 
    4646                                                        "<lang1>" + im.get_lang("Nickname") + "</lang1>" + 
     
    5151                                                 "</layer>"; 
    5252 
    53                         im_window.load('_contacts_im_','instant_messenger_content','<title>.::Expresso Messenger::.</title>','window.xsl','',true,true,false); 
     53                        im_window.load('_contacts_im_','instant_messenger_content','<title>.::Expresso Messenger::.</title>','window.xsl','',true,true,false ); 
    5454                        im_window.elementC('_contacts_im_').innerHTML  = _this.xtools.parse(XmlDoc,'layer.xsl'); 
    5555                        im_window.elementC('_contacts_im_').innerHTML += _this.xtools.parse(pContacts, 'contacts.xsl'); 
    56                                                  
     56                         
    5757                        var element = func.byId('im_contact_list').firstChild; 
    5858 
     
    7373                                im.ldap_photo('im_avatar'); 
    7474                        } 
     75                         
     76                        function handler(Xmldata) 
     77                        { 
     78                        }; 
     79                        con.go('$this.Ujabber.setStatus', {'request':handler}); 
     80 
     81                        var status = ""; 
     82                        if( status = cookies_im.checkCookie('status')) 
     83                        { 
     84                                status = status.substr(status.indexOf("=") + 1,status.length); 
     85                                im.status = status; 
     86                        } 
     87                        else 
     88                        { 
     89                                im.status = 'type=available'; 
     90                                im.statusFlag = 'available'; 
     91                                func.byId('im_status_src').src = im_available.src; 
     92                        } 
     93         
     94                        im.presence(im.status); 
    7595                } 
    7696 
Note: See TracChangeset for help on using the changeset viewer.