</script>
{/if}
-{if $__wcf->session->getPermission('user.profile.canReportContent')}
- <script data-relocate="true">
- $(function() {
- WCF.Language.addObject({
- 'wcf.moderation.report.reportContent': '{jslang}wcf.moderation.report.reportContent{/jslang}',
- 'wcf.moderation.report.success': '{jslang}wcf.moderation.report.success{/jslang}'
- });
- });
- </script>
-{/if}
-
{include file='footer'}
'wcf.comment.guestDialog.title': '{jslang}wcf.comment.guestDialog.title{/jslang}',
'wcf.comment.more': '{jslang}wcf.comment.more{/jslang}',
'wcf.comment.response.more': '{jslang}wcf.comment.response.more{/jslang}',
- 'wcf.moderation.report.reportContent': '{jslang}wcf.moderation.report.reportContent{/jslang}',
- 'wcf.moderation.report.success': '{jslang}wcf.moderation.report.success{/jslang}'
});
setup('{@$commentContainerID|encodeJS}');
new WCF.User.Profile.Editor({@$user->userID}, {if $editOnInit}true{else}false{/if});
{/if}
- {if $__wcf->session->getPermission('user.profile.canReportContent')}
- WCF.Language.addObject({
- 'wcf.moderation.report.reportContent': '{jslang}wcf.user.profile.report{/jslang}',
- 'wcf.moderation.report.success': '{jslang}wcf.moderation.report.success{/jslang}'
- });
- {/if}
-
{event name='javascriptInit'}
});
$event->preload('wcf.message.share.permalink.html');
$event->preload('wcf.message.share.socialMedia');
+ $event->preload('wcf.moderation.report.reportContent');
+
$event->preload('wcf.page.jumpTo');
$event->preload('wcf.page.jumpTo.description');
$event->preload('wcf.page.jumpTo.pageNo');