Added code box viewer
authorAlexander Ebert <ebert@woltlab.com>
Thu, 4 Apr 2013 14:18:49 +0000 (16:18 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 4 Apr 2013 14:18:49 +0000 (16:18 +0200)
templates/conversation.tpl

index ef62865e897ae9e4e032c099cfc3f903cc27ca1c..e879ffc28e1df59580091aa9c6f234bf2b84b4d1 100644 (file)
@@ -18,6 +18,7 @@
                                'wcf.conversation.edit.open': '{lang}wcf.conversation.edit.open{/lang}',
                                'wcf.conversation.leave.title': '{lang}wcf.conversation.leave.title{/lang}',
                                'wcf.global.state.closed': '{lang}wcf.global.state.closed{/lang}',
+                               'wcf.message.bbcode.code.copy': '{lang}wcf.message.bbcode.code.copy{/lang}',
                                'wcf.message.error.editorAlreadyInUse': '{lang}wcf.message.error.editorAlreadyInUse{/lang}',
                                'wcf.moderation.report.reportContent': '{lang}wcf.moderation.report.reportContent{/lang}',
                                'wcf.moderation.report.success': '{lang}wcf.moderation.report.success{/lang}',
@@ -39,6 +40,7 @@
                        
                        new WCF.Moderation.Report.Content('com.woltlab.wcf.conversation.message', '.jsReportConversationMessage');
                        new WCF.Conversation.RemoveParticipant({@$conversation->conversationID});
+                       new WCF.Message.BBCode.CodeViewer();
                });
                //]]>
        </script>