Merge branch '5.2' into 5.3
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / quoteMetaCode.tpl
1 <blockquote class="quoteBox collapsibleBbcode jsCollapsibleBbcode{if $collapseQuote} collapsed{/if}{if !$quoteAuthorObject} quoteBoxSimple{/if}"{if $quoteLink} cite="{$quoteLink}"{/if}>
2 <div class="quoteBoxIcon">
3 {if $quoteAuthorObject}
4 <a href="{$quoteAuthorObject->getLink()}" class="userLink" data-object-id="{@$quoteAuthorObject->userID}" aria-hidden="true">{@$quoteAuthorObject->getAvatar()->getImageTag(64)}</a>
5 {else}
6 <span class="quoteBoxQuoteSymbol"></span>
7 {/if}
8 </div>
9
10 <div class="quoteBoxTitle">
11 <span class="quoteBoxTitle">
12 {if $quoteAuthor}
13 {if $quoteLink}
14 <a {anchorAttributes url=$quoteLink isUgc=true}>{lang}wcf.bbcode.quote.title{/lang}</a>
15 {else}
16 {lang}wcf.bbcode.quote.title{/lang}
17 {/if}
18 {else}
19 {lang}wcf.bbcode.quote{/lang}
20 {/if}
21 </span>
22 </div>
23
24 <div class="quoteBoxContent">
25 <!-- META_CODE_INNER_CONTENT -->
26 </div>
27
28 {if $collapseQuote}
29 <span class="toggleButton" data-title-collapse="{lang}wcf.bbcode.button.collapse{/lang}" data-title-expand="{lang}wcf.bbcode.button.showAll{/lang}">{lang}wcf.bbcode.button.showAll{/lang}</span>
30
31 <script data-relocate="true">
32 require(['WoltLabSuite/Core/Bbcode/Collapsible'], function(BbcodeCollapsible) {
33 BbcodeCollapsible.observe();
34 });
35 </script>
36 {/if}
37 </blockquote>