2013-08-29 16:26:11 +04:00
|
|
|
$(document).ready(function(){
|
2013-09-17 21:25:03 +04:00
|
|
|
if (OC.currentUser) {
|
2013-10-04 04:27:53 +04:00
|
|
|
$('#header .avatardiv').avatar(OC.currentUser, 32, undefined, true);
|
2013-09-17 21:25:03 +04:00
|
|
|
// Personal settings
|
|
|
|
$('#avatar .avatardiv').avatar(OC.currentUser, 128);
|
|
|
|
}
|
2013-08-29 16:26:11 +04:00
|
|
|
// User settings
|
2013-09-01 18:04:39 +04:00
|
|
|
$.each($('td.avatar .avatardiv'), function(i, element) {
|
|
|
|
$(element).avatar($(element).parent().parent().data('uid'), 32);
|
2013-08-29 16:26:11 +04:00
|
|
|
});
|
|
|
|
});
|