Changeset 235 for trunk/instant_messenger/js/templates.js
- Timestamp:
- 03/19/08 17:15:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/instant_messenger/js/templates.js
r164 r235 26 26 im_window.elementC('add_user_im').innerHTML = this.xtools.parse(XmlDoc,'add_user.xsl'); 27 27 im.ldap(); 28 //im_window.visible('add_user_im','block');29 28 }, 30 29 … … 53 52 "fast_menu" : function() 54 53 { 55 var XmlDoc = "<fast_menu>" + 56 "<lang1>Online</lang1>" + 57 "<lang2>Ausente</lang2>" + 58 "<lang3>Ocupado</lang3>" + 59 "<lang4>Offline</lang4>" + 60 "<lang5>Mensagem</lang5>" + 61 "<img1>"+path_im+"templates/default/images/available.gif</img1>" + 62 "<img2>"+path_im+"templates/default/images/away.gif</img2>" + 63 "<img3>"+path_im+"templates/default/images/dnd.gif</img3>" + 64 "<img4>"+path_im+"templates/default/images/unavailable.gif</img4>" + 65 "<img5>"+path_im+"templates/default/images/icon_edit.gif</img5>" + 66 "</fast_menu>"; 67 68 menu_action.menu('fast_menu_im', this.xtools.parse(XmlDoc,'fast_menu.xsl')); 69 document.getElementById('fast_menu_im').style.top = document.getElementById('fast_menu_im').offsetTop + 60; 70 document.getElementById('fast_menu_im').style.left = document.getElementById('fast_menu_im').offsetLeft + 5; 71 document.getElementById('fast_menu_im').style.zIndex = this.zValue++; 72 document.getElementById('fast_menu_im').style.position = "absolute"; 54 if( document.getElementById('_contacts_im_' + '_window_master') != null ) 55 { 56 var XmlDoc = "<fast_menu>" + 57 "<lang1>Online</lang1>" + 58 "<lang2>Ausente</lang2>" + 59 "<lang3>Ocupado</lang3>" + 60 "<lang4>Offline</lang4>" + 61 "<lang5>Mensagem</lang5>" + 62 "<img1>"+path_im+"templates/default/images/available.gif</img1>" + 63 "<img2>"+path_im+"templates/default/images/away.gif</img2>" + 64 "<img3>"+path_im+"templates/default/images/dnd.gif</img3>" + 65 "<img4>"+path_im+"templates/default/images/unavailable.gif</img4>" + 66 "<img5>"+path_im+"templates/default/images/icon_edit.gif</img5>" + 67 "</fast_menu>"; 68 69 menu_action.menu('fast_menu_im', this.xtools.parse(XmlDoc,'fast_menu.xsl')); 70 document.getElementById('fast_menu_im').style.top = document.getElementById('fast_menu_im').offsetTop + 60; 71 document.getElementById('fast_menu_im').style.left = document.getElementById('fast_menu_im').offsetLeft + 5; 72 document.getElementById('fast_menu_im').style.zIndex = this.zValue++; 73 document.getElementById('fast_menu_im').style.position = "absolute"; 74 } 75 else 76 alert('Aguarde carregando lista de contatos ....'); 77 73 78 }, 74 79 … … 91 96 im_window.elementC('my_settings_im').innerHTML = this.xtools.parse(XmlDoc,'mysettings.xsl'); 92 97 im.get_preferences(); 93 //im_window.visible('my_settings_im','block');94 98 }, 95 99
Note: See TracChangeset
for help on using the changeset viewer.