'wcf.user.avatar.upload.error.tooLarge': '{lang}wcf.user.avatar.upload.error.tooLarge{/lang}',
'wcf.user.avatar.upload.error.uploadFailed': '{lang}wcf.user.avatar.upload.error.uploadFailed{/lang}',
'wcf.user.avatar.upload.error.badImage': '{lang}wcf.user.avatar.upload.error.badImage{/lang}',
- 'wcf.user.avatar.upload.success': '{lang}wcf.user.avatar.upload.success{/lang}',
- 'wcf.global.button.upload': '{lang}wcf.global.button.upload{/lang}'
+ 'wcf.user.avatar.upload.success': '{lang}wcf.user.avatar.upload.success{/lang}'
});
{if !$__wcf->user->disableAvatar}
'wcf.global.button.save': '{lang}wcf.global.button.save{/lang}',
'wcf.global.button.search': '{lang}wcf.global.button.search{/lang}',
'wcf.global.button.submit': '{lang}wcf.global.button.submit{/lang}',
+ 'wcf.global.button.upload': '{lang}wcf.global.button.upload{/lang}',
'wcf.global.confirmation.cancel': '{lang}wcf.global.confirmation.cancel{/lang}',
'wcf.global.confirmation.confirm': '{lang}wcf.global.confirmation.confirm{/lang}',
'wcf.global.confirmation.title': '{lang}wcf.global.confirmation.title{/lang}',
'wcf.attachment.upload.error.reachedLimit': '{lang}wcf.attachment.upload.error.reachedLimit{/lang}',
'wcf.attachment.upload.error.reachedRemainingLimit': '{lang}wcf.attachment.upload.error.reachedRemainingLimit{/lang}',
'wcf.attachment.upload.error.uploadFailed': '{lang}wcf.attachment.upload.error.uploadFailed{/lang}',
- 'wcf.global.button.upload': '{lang}wcf.global.button.upload{/lang}',
'wcf.attachment.insert': '{lang}wcf.attachment.insert{/lang}',
'wcf.attachment.insertAll': '{lang}wcf.attachment.insertAll{/lang}',
'wcf.attachment.delete.sure': '{lang}wcf.attachment.delete.sure{/lang}'
'wcf.global.button.save': '{lang}wcf.global.button.save{/lang}',
'wcf.global.button.search': '{lang}wcf.global.button.search{/lang}',
'wcf.global.button.submit': '{lang}wcf.global.button.submit{/lang}',
+ 'wcf.global.button.upload': '{lang}wcf.global.button.upload{/lang}',
'wcf.global.confirmation.cancel': '{lang}wcf.global.confirmation.cancel{/lang}',
'wcf.global.confirmation.confirm': '{lang}wcf.global.confirmation.confirm{/lang}',
'wcf.global.confirmation.title': '{lang}wcf.global.confirmation.title{/lang}',
useFluidLayout();
WCF.Language.addObject({
- 'wcf.global.button.upload': '{lang}wcf.global.button.upload{/lang}',
'wcf.style.colorPicker': '{lang}wcf.style.colorPicker{/lang}',
'wcf.style.colorPicker.new': '{lang}wcf.style.colorPicker.new{/lang}',
'wcf.style.colorPicker.current': '{lang}wcf.style.colorPicker.current{/lang}',
'wcf.user.avatar.upload.error.tooLarge': '{lang}wcf.user.avatar.upload.error.tooLarge{/lang}',
'wcf.user.avatar.upload.error.uploadFailed': '{lang}wcf.user.avatar.upload.error.uploadFailed{/lang}',
'wcf.user.avatar.upload.error.badImage': '{lang}wcf.user.avatar.upload.error.badImage{/lang}',
- 'wcf.user.avatar.upload.success': '{lang}wcf.user.avatar.upload.success{/lang}',
- 'wcf.global.button.upload': '{lang}wcf.global.button.upload{/lang}'
+ 'wcf.user.avatar.upload.success': '{lang}wcf.user.avatar.upload.success{/lang}'
});
new WCF.User.Avatar.Upload({@$user->userID});