Merge remote-tracking branch 'refs/remotes/origin/3.0'
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / __messageQuoteManager.tpl
1 WCF.Language.addObject({
2 'wcf.message.quote.insertAllQuotes': '{lang}wcf.message.quote.insertAllQuotes{/lang}',
3 'wcf.message.quote.insertSelectedQuotes': '{lang}wcf.message.quote.insertSelectedQuotes{/lang}',
4 'wcf.message.quote.manageQuotes': '{lang}wcf.message.quote.manageQuotes{/lang}',
5 'wcf.message.quote.quoteSelected': '{lang}wcf.message.quote.quoteSelected{/lang}',
6 'wcf.message.quote.quoteAndReply': '{lang}wcf.message.quote.quoteAndReply{/lang}',
7 'wcf.message.quote.removeAllQuotes': '{lang}wcf.message.quote.removeAllQuotes{/lang}',
8 'wcf.message.quote.removeSelectedQuotes': '{lang}wcf.message.quote.removeSelectedQuotes{/lang}',
9 'wcf.message.quote.showQuotes': '{lang}wcf.message.quote.showQuotes{/lang}'
10 });
11
12 {if !$wysiwygSelector|isset}{assign var=wysiwygSelector value=''}{/if}
13 {if !$supportPaste|isset}{assign var=supportPaste value=false}{/if}
14 var $quoteManager = new WCF.Message.Quote.Manager({@$__quoteCount}, '{$wysiwygSelector|encodeJS}', {if $supportPaste}true{else}false{/if}, [ {implode from=$__quoteRemove item=quoteID}'{$quoteID}'{/implode} ]);