Ignore:
Timestamp:
08/21/07 13:58:17 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

Location:
trunk/instant_messenger/js
Files:
3 edited

Legend:

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

    r57 r59  
    3737                        select_org[0].selected = true; 
    3838                } 
    39                 XMLTools.request('$this.ldap_im.list_organizations_ldap','POST',handler_organizations); 
     39                XMLTools.request('$this.ldap_im.list_organizations_ldap','GET',handler_organizations); 
    4040        } 
    4141         
     
    277277   { 
    278278                var div_child = document.getElementById(pJid); 
    279                 var name  = div_child.innerHTML.substr((div_child.innerHTML.indexOf('>') + 1 ),div_child.innerHTML.length); 
    280279                var group = div_child.parentNode.id; 
    281                  
     280                var name  = div_child.firstChild; 
     281                        name = name.nextSibling.nodeValue; 
     282 
    282283                if(pType) 
    283284                { 
     
    471472                                IM.im_time_ = this.LoadPreferences('ch_offline'); 
    472473                        } 
    473                         XMLTools.request('$this.db_im.get_preferences','POST',handler_getPreferences); 
     474                        XMLTools.request('$this.db_im.get_preferences','GET',handler_getPreferences); 
    474475                } 
    475476        } 
  • trunk/instant_messenger/js/im_templates.js

    r57 r59  
    4545                                                  '</adduser>'; 
    4646                 
    47                 _this.conf_form("divAddUser",515,285,parse_XmlXsl(_XmlAddUser,'add_user.xsl'),":: " + IM.get_lang('Add New Contact') + " - Expresso ::"); 
     47                _this.conf_form("divAddUser",525,295,parse_XmlXsl(_XmlAddUser,'add_user.xsl'),":: " + IM.get_lang('Add New Contact') + " - Expresso ::"); 
    4848        } 
    4949         
  • trunk/instant_messenger/js/im_win.js

    r55 r59  
    351351            if ( newH < 100) newH = 100; 
    352352            dd.elements[objName + "_im_window_fantom"].resizeTo(newW, newH); 
     353 
     354                if( document.getElementById(objName + "_chatMessages")) 
     355                { 
     356                                func.confEl(document.getElementById(objName + "_chatMessages"),"style","width:" + (newW - 105) +";height:" + (newH - 150) +";margin: 2px 0px 2px 2px; overflow:auto;"); 
     357                                func.confEl(document.getElementById(objName + '_edita'),"style","width:" + (newW - 105) + ";height: 50px;margin: 3px 1px 0px 2px;float: left;"); 
     358                        } 
     359 
    353360            dd.elements[objName + "_im_window_resize"].moveTo(dd.elements[objName + "_im_window_fantom"].x+dd.elements[objName + "_im_window_fantom"].w-dd.elements[objName + "_im_window_resize"].w-2, dd.elements[objName + "_im_window_fantom"].y+dd.elements[objName + "_im_window_fantom"].h-dd.elements[objName + "_im_window_resize"].h-2); 
    354361            var windowItem = windowItems[objName]; 
     
    629636      { 
    630637         text = ''; 
    631          text += '<div class="border" id="' + pId + '_chatMessages" style="width:220px; height:130px; margin: 2px 0px 2px 2px; overflow:auto;"></div>' 
     638         text += '<div class="border" id="' + pId + '_chatMessages" style="width:220px; height:130px; margin: 2px 0px 2px 2px; overflow:auto;"></div>'; 
    632639         text += '<div style="float: left; position: relative; height:130px;">'; 
    633          text += '   <div class="myAvatar">' 
    634          text += '      <img id="' + pId + '_avatar" alt="Display Picture" title="Display Picture" src="' + im_path + 'templates/default/images/photo.png" width="49" height="65" border="0" />' 
    635          text += '   </div>' 
     640         text += '   <div class="myAvatar">'; 
     641         text += '      <img id="' + pId + '_avatar" alt="Display Picture" title="Display Picture" src="' + im_path + 'templates/default/images/photo.png" width="49" height="65" border="0" />'; 
     642         text += '   </div>'; 
    636643         text += '   <div id="' + pId + '_composing" class="composing"><img src="' + img_typing.src + '" /></div>'; 
    637644         text += '</div>'; 
    638          text += '<br style="clear:both;"/>' 
    639          text += '<dl>' 
    640          text += '   <dd class="small">' 
    641          text += '      &nbsp;<span id="selectEmotionsDiv" class="des-small" onmouseover="selectDiv(this)" onmouseout="unselectDiv(this)" onclick="im_win.showEmotionSelection(\'' + pId + '\');" title="Select Imotions here!"><img src="' + im_path + 'templates/default/images/img/1.gif" width="15" height="15" alt="Select Imotions here!" style="vertical-align:  text-top;" /></span>' 
    642          text += '   </dd>' 
    643          text += '   <dd class="small">|</dd>' 
    644          text += '   <dd class="small">' 
    645          text += '      <span id="selectFontNameDiv" class="des-small" onmouseover="selectDiv(this)" onmouseout="unselectDiv(this)" onclick="im_win.showFontNameSelection(\'' + pId + '\');" title="Select Font Name here!" style="height:19px;">'+IM.get_lang('Font')+'</span>' 
    646          text += '   </dd>' 
    647          text += '   <dd class="small">|</dd>' 
    648          text += '   <dd class="small">' 
    649          text += '      <span id="selectFontSizeDiv" class="des-small" onmouseover="selectDiv(this)" onmouseout="unselectDiv(this)" onclick="im_win.showFontSizeSelection(\'' + pId + '\')" title="Select Font Size here!" style="height:19px;">'+IM.get_lang('Size')+'</span>' 
    650          text += '   </dd>' 
    651          text += '   <dd class="small">|</dd>' 
    652          text += '   <dd class="small">' 
    653          text += '      <span id="selectFontColorDiv" class="des-small" onmouseover="selectDiv(this)" onmouseout="unselectDiv(this)" onclick="im_win.showFontColorSelection(\'' + pId + '\')" title="Select Font Color here!" style="height:19px;">'+IM.get_lang('Color')+'</span>' 
    654          text += '   </dd>' 
    655          text += '   <dd class="small">|</dd>' 
    656          text += '   <dd class="small">' 
    657          text += '      <span id="selectFontStyleDiv" class="des-small" onmouseover="selectDiv(this)" onmouseout="unselectDiv(this)" onclick="im_win.showFontStyleSelection(\'' + pId + '\')" title="Select Font Color here!" style="height:19px;">'+IM.get_lang('Style')+'</span>' 
    658          text += '   </dd>' 
    659          text += '</dl>' 
    660          text += '<div id="' + pId + '_divEdita" style="margin: 0px 2px"><iframe name="' + pId.replace('@', '_at_').replace(/\./g, '_dot_') + '_edita" class="edit_message" id="' + pId + '_edita" frameborder="0" style="margin: 3px 1px 0px 2px; width:220px; height:50px; float:left;"></iframe></div>' 
     645         text += '<br style="clear:both;"/>'; 
     646         text += '<dl>'; 
     647         text += '   <dd class="small">'; 
     648         text += '      &nbsp;<span id="selectEmotionsDiv" class="des-small" onmouseover="selectDiv(this)" onmouseout="unselectDiv(this)" onclick="im_win.showEmotionSelection(\'' + pId + '\');" title="Select Imotions here!"><img src="' + im_path + 'templates/default/images/img/1.gif" width="15" height="15" alt="Select Imotions here!" style="vertical-align:  text-top;" /></span>'; 
     649         text += '   </dd>'; 
     650         text += '   <dd class="small">|</dd>'; 
     651         text += '   <dd class="small">'; 
     652         text += '      <span id="selectFontNameDiv" class="des-small" onmouseover="selectDiv(this)" onmouseout="unselectDiv(this)" onclick="im_win.showFontNameSelection(\'' + pId + '\');" title="Select Font Name here!" style="height:19px;">'+IM.get_lang('Font')+'</span>'; 
     653         text += '   </dd>'; 
     654         text += '   <dd class="small">|</dd>'; 
     655         text += '   <dd class="small">'; 
     656         text += '      <span id="selectFontSizeDiv" class="des-small" onmouseover="selectDiv(this)" onmouseout="unselectDiv(this)" onclick="im_win.showFontSizeSelection(\'' + pId + '\')" title="Select Font Size here!" style="height:19px;">'+IM.get_lang('Size')+'</span>'; 
     657         text += '   </dd>'; 
     658         text += '   <dd class="small">|</dd>'; 
     659         text += '   <dd class="small">'; 
     660         text += '      <span id="selectFontColorDiv" class="des-small" onmouseover="selectDiv(this)" onmouseout="unselectDiv(this)" onclick="im_win.showFontColorSelection(\'' + pId + '\')" title="Select Font Color here!" style="height:19px;">'+IM.get_lang('Color')+'</span>'; 
     661         text += '   </dd>'; 
     662         text += '   <dd class="small">|</dd>'; 
     663         text += '   <dd class="small">'; 
     664         text += '      <span id="selectFontStyleDiv" class="des-small" onmouseover="selectDiv(this)" onmouseout="unselectDiv(this)" onclick="im_win.showFontStyleSelection(\'' + pId + '\')" title="Select Font Color here!" style="height:19px;">'+IM.get_lang('Style')+'</span>'; 
     665         text += '   </dd>'; 
     666         text += '</dl>'; 
     667         text += '<div id="' + pId + '_divEdita" style="margin: 0px 2px"><iframe name="' + pId.replace('@', '_at_').replace(/\./g, '_dot_') + '_edita" class="edit_message" id="' + pId + '_edita" frameborder="0" style="margin: 3px 1px 0px 2px; width:220px; height:50px; float:left;"></iframe></div>'; 
    661668         text += '<br/><a onclick="javascript:IM.sendMessage(\'' + pId + '\')" title="Send a message" style="float:left;margin: 0px 2px;"><img src="' + im_path + 'templates/default/images/img/skins/deathdart/send.gif" width="50" height="25" border=0 style="margin-top:3px"></a>'; 
    662669         text += '<br style="clear:both" /><span id="' + pId + '_im_window_message" style="margin-left: 2px" />'; 
Note: See TracChangeset for help on using the changeset viewer.