Changeset 59
- Timestamp:
- 08/21/07 13:58:17 (17 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r58 r59 388 388 var defaultHeight = screenHeight - offset; 389 389 _divScroll.style.height = defaultHeight - 110; 390 Element('content_folders').style.height = defaultHeight - (is_ie ? 165 : 150); 390 391 // Fim: Redimensiona DIV SCROLL 391 392 _divScroll.appendChild(table_element); … … 404 405 tdFolders.style.display = preferences.hide_folders == '1' ? "none" : ""; 405 406 alternate_border(0); 406 //resizeWindow();407 407 draw_footer_box(headers_msgs.num_msgs); 408 408 Element('main_table').style.display = ''; … … 660 660 function draw_message(info_msg, ID){ 661 661 var content = document.getElementById('content_id_' + ID); 662 var defaultWidth = document.body.clientWidth - (is_ie ? 3 5 : 40);662 var defaultWidth = document.body.clientWidth - (is_ie ? 32 : 37); 663 663 664 664 var menuHidden = Element("folderscol").style.display == 'none' ? true : false; … … 751 751 } 752 752 }; 753 753 754 option_hide_more.innerHTML = get_lang('Options'); 754 755 options.appendChild(option_hide_more); … … 1068 1069 tbody_message_others_options.appendChild(tr6); 1069 1070 } 1071 1070 1072 1071 1073 // BEGIN MAKE THE SCROLL HEIGHT … … 2107 2109 span_options.style.fontSize = "12"; 2108 2110 span_options.id = "span_options"; 2109 span_options.innerHTML = 2111 span_R.appendChild(span_options); 2112 } 2113 span_options.innerHTML = 2110 2114 '<span title="'+get_lang("Delete")+'" style="margin-left:8px" class="message_options" onclick=delete_msgs(\'null\',\'selected\',\'null\')>'+get_lang("Delete")+'</span> | '+ 2111 2115 '<span title="'+get_lang("Move")+'" class="message_options" onclick=wfolders.makeWindow(\"\",\"move_to\")>'+get_lang("Move")+'</span> | '+ 2112 2116 '<span title="'+get_lang("Print")+'" class="message_options" onclick=print_all()>'+get_lang("Print")+'</span> | '+ 2113 2117 '<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 2116 2119 var span_D = Element("span_D"); 2117 2120 if(!span_D){ -
trunk/expressoMail1_2/js/main.js
r58 r59 17 17 18 18 ConstructMenuTools(); 19 resizeWindow();20 19 cExecute ("$this.imap_functions.get_folders_list", update_menu); 21 20 } … … 54 53 // Call function to draw message 55 54 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 56 59 57 60 if(Element("border_id_" + id_msg_read)) … … 67 70 //Change the tr color to read. 68 71 set_msg_class_to_read(msg_info['msg_number'], true); 69 70 // If needed, delete old border71 if (msg_info.reuse_border)72 delete_border(msg_info.reuse_border,'false');73 72 74 73 if ((msg_info.DispositionNotificationTo) && ((msg_info.Unseen == 'U') || (msg_info.Recent == 'N'))){ -
trunk/expressoMail1_2/js/preferences.js
r53 r59 48 48 "<td><input type='checkBox' id='check_show_previous' name='check_show_previous'></td>"+ 49 49 "</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>"+ 51 51 "<td><input type='checkBox' id='check_alert' name='check_alert'></td>"+ 52 52 "</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>"+ 54 54 "<td><input type='checkBox' id='check_view' name='check_view'></td>"+ 55 55 "</tr>"+ -
trunk/instant_messenger/inc/im_acl.inc.php
r55 r59 19 19 $_port = PORT_NON_SECURITY; 20 20 21 //$SERVER = $_SERVER['SERVER_NAME'];22 21 $SERVER = "127.0.0.1"; 23 22 23 $fp = ""; 24 24 @$fp = stream_socket_client($_transport . "://" . $SERVER . ":" . $_port, $errno, $errstr, 10); 25 25 -
trunk/instant_messenger/js/im_preferences.js
r57 r59 37 37 select_org[0].selected = true; 38 38 } 39 XMLTools.request('$this.ldap_im.list_organizations_ldap',' POST',handler_organizations);39 XMLTools.request('$this.ldap_im.list_organizations_ldap','GET',handler_organizations); 40 40 } 41 41 … … 277 277 { 278 278 var div_child = document.getElementById(pJid); 279 var name = div_child.innerHTML.substr((div_child.innerHTML.indexOf('>') + 1 ),div_child.innerHTML.length);280 279 var group = div_child.parentNode.id; 281 280 var name = div_child.firstChild; 281 name = name.nextSibling.nodeValue; 282 282 283 if(pType) 283 284 { … … 471 472 IM.im_time_ = this.LoadPreferences('ch_offline'); 472 473 } 473 XMLTools.request('$this.db_im.get_preferences',' POST',handler_getPreferences);474 XMLTools.request('$this.db_im.get_preferences','GET',handler_getPreferences); 474 475 } 475 476 } -
trunk/instant_messenger/js/im_templates.js
r57 r59 45 45 '</adduser>'; 46 46 47 _this.conf_form("divAddUser",5 15,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 ::"); 48 48 } 49 49 -
trunk/instant_messenger/js/im_win.js
r55 r59 351 351 if ( newH < 100) newH = 100; 352 352 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 353 360 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); 354 361 var windowItem = windowItems[objName]; … … 629 636 { 630 637 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>'; 632 639 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>'; 636 643 text += ' <div id="' + pId + '_composing" class="composing"><img src="' + img_typing.src + '" /></div>'; 637 644 text += '</div>'; 638 text += '<br style="clear:both;"/>' 639 text += '<dl>' 640 text += ' <dd class="small">' 641 text += ' <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 += ' <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>'; 661 668 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>'; 662 669 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.