Changeset 59


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

* empty log message *

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/draw_api.js

    r58 r59  
    388388        var defaultHeight = screenHeight - offset;               
    389389        _divScroll.style.height         = defaultHeight - 110; 
     390        Element('content_folders').style.height = defaultHeight - (is_ie ? 165 : 150); 
    390391        // Fim: Redimensiona DIV SCROLL 
    391392        _divScroll.appendChild(table_element); 
     
    404405        tdFolders.style.display = preferences.hide_folders == '1'  ? "none" : ""; 
    405406        alternate_border(0); 
    406         //resizeWindow();        
    407407        draw_footer_box(headers_msgs.num_msgs);  
    408408        Element('main_table').style.display = ''; 
     
    660660function draw_message(info_msg, ID){ 
    661661        var content = document.getElementById('content_id_' + ID); 
    662         var defaultWidth = document.body.clientWidth - (is_ie ? 35 : 40); 
     662        var defaultWidth = document.body.clientWidth - (is_ie ? 32 : 37); 
    663663         
    664664        var menuHidden = Element("folderscol").style.display == 'none' ? true : false; 
     
    751751                } 
    752752        }; 
     753 
    753754        option_hide_more.innerHTML = get_lang('Options'); 
    754755        options.appendChild(option_hide_more); 
     
    10681069                tbody_message_others_options.appendChild(tr6); 
    10691070        } 
     1071 
    10701072 
    10711073        // BEGIN MAKE THE SCROLL HEIGHT 
     
    21072109                span_options.style.fontSize = "12"; 
    21082110                span_options.id = "span_options"; 
    2109                 span_options.innerHTML =  
     2111                span_R.appendChild(span_options); 
     2112        } 
     2113        span_options.innerHTML =  
    21102114                '<span title="'+get_lang("Delete")+'" style="margin-left:8px" class="message_options" onclick=delete_msgs(\'null\',\'selected\',\'null\')>'+get_lang("Delete")+'</span> | '+ 
    21112115                '<span title="'+get_lang("Move")+'" class="message_options" onclick=wfolders.makeWindow(\"\",\"move_to\")>'+get_lang("Move")+'</span> | '+ 
    21122116                '<span title="'+get_lang("Print")+'" class="message_options" onclick=print_all()>'+get_lang("Print")+'</span> | '+ 
    21132117                '<span title="'+get_lang("Export")+'" class="message_options" onclick="export_all_selected_msgs()">'+get_lang("Export")+'</span>'; 
    2114                 span_R.appendChild(span_options); 
    2115         }        
     2118         
    21162119        var span_D = Element("span_D");  
    21172120        if(!span_D){ 
  • trunk/expressoMail1_2/js/main.js

    r58 r59  
    1717 
    1818                ConstructMenuTools(); 
    19                 resizeWindow(); 
    2019                cExecute ("$this.imap_functions.get_folders_list", update_menu); 
    2120        } 
     
    5453                // Call function to draw message 
    5554                var id_msg_read = msg_info.msg_number +"_r"; 
     55                // If needed, delete old border 
     56                if (msg_info.reuse_border) 
     57                        delete_border(msg_info.reuse_border,'false'); 
     58 
    5659                 
    5760                if(Element("border_id_" + id_msg_read))  
     
    6770                //Change the tr color to read. 
    6871                set_msg_class_to_read(msg_info['msg_number'], true); 
    69  
    70                 // If needed, delete old border 
    71                 if (msg_info.reuse_border) 
    72                         delete_border(msg_info.reuse_border,'false'); 
    7372                 
    7473                if ((msg_info.DispositionNotificationTo) && ((msg_info.Unseen == 'U') || (msg_info.Recent == 'N'))){ 
  • trunk/expressoMail1_2/js/preferences.js

    r53 r59  
    4848                                "<td><input type='checkBox' id='check_show_previous' name='check_show_previous'></td>"+ 
    4949                                "</tr>"+ 
    50                                 "<tr><td nowrap> - " + get_lang('Do you want receive an alert for new messages?') + "</td>"+ 
     50                                "<tr><td nowrap> - " + get_lang('Do you want to receive an alert for new messages?') + "</td>"+ 
    5151                                "<td><input type='checkBox' id='check_alert' name='check_alert'></td>"+ 
    5252                                "</tr>"+ 
    53                                 "<tr><td nowrap> - " + get_lang('Show ExpressoMail summary at main screen?') + "</td>"+ 
     53                                "<tr><td nowrap> - " + get_lang('Show default view on main screen') + "</td>"+ 
    5454                                "<td><input type='checkBox' id='check_view' name='check_view'></td>"+ 
    5555                                "</tr>"+ 
  • trunk/instant_messenger/inc/im_acl.inc.php

    r55 r59  
    1919         $_port = PORT_NON_SECURITY; 
    2020 
    21                         //$SERVER = $_SERVER['SERVER_NAME']; 
    2221                        $SERVER = "127.0.0.1"; 
    2322 
     23                        $fp  = ""; 
    2424                        @$fp = stream_socket_client($_transport . "://" . $SERVER . ":" . $_port, $errno, $errstr, 10); 
    2525 
  • 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.