- Timestamp:
- 09/29/10 17:00:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/jabberit_messenger/jmessenger/js/jscode/loadIM.js
r3264 r3308 370 370 try 371 371 { 372 var _divPhoto = getElement( jid + '__photo' ); 373 374 if( _divPhoto.style.backgroundImage.indexOf('photo.png') > 0 ) 375 { 376 var _imgUser = path_jabberit + 'inc/WebService.php?' + Date.parse( new Date ); 377 _imgUser += '&photo_ldap=' + jid; 378 379 _divPhoto.style.backgroundImage = 'url(' + _imgUser + ')'; 380 } 381 } 382 catch(e) 383 {} 372 var _divPhoto = getElement( jid + '__photo' ); 373 374 if( _divPhoto.style.backgroundImage.indexOf('photo.png') > 0 ) 375 { 376 var _imgUser = path_jabberit + 'inc/WebService.php?' + Date.parse( new Date ); 377 _imgUser += '&photo_ldap=' + jid; 378 379 _divPhoto.style.backgroundImage = 'url(' + _imgUser + ')'; 380 } 381 }catch(e){} 384 382 } 385 383 … … 416 414 String = String.replace( /\*\*@#%/g , " <img src='"+path_jabberit+"templates/default/images/smiles/14.gif'/> "); 417 415 String = String.replace( /\(I\)/g , " <img src='"+path_jabberit+"templates/default/images/smiles/15.gif'/> "); 416 String = String.replace( /C28I/g , " <img src='"+path_jabberit+"templates/default/images/smiles/16.gif'/> "); 418 417 419 418 return String; … … 507 506 searchUser( element.value ); 508 507 else 509 alert( 'Your search argument must be longer than 3 characters.');508 alert( i18n.YOUR_SEARCH_ARGUMENT_MUST_BE_LONGER_THAN_3_CHARACTERS + '.' ); 510 509 } 511 510 } … … 884 883 case 'from': 885 884 886 TrophyIM.setAutorization( jidTo, Base64.decode(this.getUserCurrent().jid ), 'subscribed');885 TrophyIM.setAutorization( jidTo, Base64.decode(this.getUserCurrent().jid ), 'subscribe'); 887 886 break; 888 887 889 888 case 'subscribe' : 890 889 891 TrophyIM.setAutorization( jidTo, Base64.decode(this.getUserCurrent().jid ), 'subscribed');890 TrophyIM.setAutorization( jidTo, Base64.decode(this.getUserCurrent().jid ), 'subscribed'); 892 891 break; 893 892 894 893 case 'none' : 895 894 896 TrophyIM.setAutorization( jidTo, Base64.decode(this.getUserCurrent().jid ), 'subscribe');895 TrophyIM.setAutorization( jidTo, Base64.decode(this.getUserCurrent().jid ), 'subscribe'); 897 896 break; 898 897 899 898 case 'to' : 900 899 901 TrophyIM.setAutorization( jidTo, Base64.decode(this.getUserCurrent().jid ), 'subscribed');900 TrophyIM.setAutorization( jidTo, Base64.decode(this.getUserCurrent().jid ), 'subscribed'); 902 901 removeElement( getElement('itenContactNotification_' + jidTo ) ); 903 902 break; … … 905 904 case 'not-in-roster': 906 905 907 TrophyIM.setAutorization( jidTo, Base64.decode(this.getUserCurrent().jid), 'subscribe ');906 TrophyIM.setAutorization( jidTo, Base64.decode(this.getUserCurrent().jid), 'subscribed'); 908 907 addUser.add( jidTo ); 909 908 break; 910 911 default:912 913 alert( "UNDEFINED : " + subscription );914 909 } 915 910 }
Note: See TracChangeset
for help on using the changeset viewer.