|
|
@ -25,6 +25,13 @@ define('accounts/picture', [
|
|
|
|
defaultAvatar: ajaxify.data.defaultAvatar,
|
|
|
|
defaultAvatar: ajaxify.data.defaultAvatar,
|
|
|
|
allowProfileImageUploads: ajaxify.data.allowProfileImageUploads,
|
|
|
|
allowProfileImageUploads: ajaxify.data.allowProfileImageUploads,
|
|
|
|
iconBackgrounds: config.iconBackgrounds,
|
|
|
|
iconBackgrounds: config.iconBackgrounds,
|
|
|
|
|
|
|
|
user: {
|
|
|
|
|
|
|
|
uid: ajaxify.data.uid,
|
|
|
|
|
|
|
|
username: ajaxify.data.username,
|
|
|
|
|
|
|
|
picture: ajaxify.data.picture,
|
|
|
|
|
|
|
|
'icon:text': ajaxify.data['icon:text'],
|
|
|
|
|
|
|
|
'icon:bgColor': ajaxify.data['icon:bgColor'],
|
|
|
|
|
|
|
|
},
|
|
|
|
}, function (html) {
|
|
|
|
}, function (html) {
|
|
|
|
var modal = bootbox.dialog({
|
|
|
|
var modal = bootbox.dialog({
|
|
|
|
className: 'picture-switcher',
|
|
|
|
className: 'picture-switcher',
|
|
|
|