mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-11-09 15:20:08 +00:00
20 lines
1.0 KiB
Smarty
20 lines
1.0 KiB
Smarty
<div id="chatAttachmentUploadDialog" class="jsStaticDialogContent" data-title="{lang}wcf.attachment.attachments{/lang}">
|
|
<div class="attachmentPreview"></div>
|
|
|
|
{* placeholder for the upload button *}
|
|
<div class="upload"></div>
|
|
<small>{lang}wcf.attachment.upload.limits{/lang}</small>
|
|
</div>
|
|
<script data-relocate="true">
|
|
require([ 'Language' ], function (Language) {
|
|
Language.addObject({
|
|
'wcf.attachment.upload.error.invalidExtension': '{lang}wcf.attachment.upload.error.invalidExtension{/lang}',
|
|
'wcf.attachment.upload.error.tooLarge': '{lang}wcf.attachment.upload.error.tooLarge{/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.attachment.upload.error.uploadPhpLimit': '{lang}wcf.attachment.upload.error.uploadPhpLimit{/lang}',
|
|
})
|
|
})
|
|
</script>
|