Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / quoteBBCodeTag.tpl
index acefb454e4e3b3e81034814a93ddffc2316a21a6..faf1774149999b8e11b8d2d6ef452c80417df9ae 100644 (file)
@@ -1,24 +1,26 @@
-{if $quoteAuthorObject}
-<div class="quoteBoxAuthor">
-       <div class="quoteAuthorAvatar"><a href="{link controller='User' object=$quoteAuthorObject}{/link}" class="userLink framed" data-user-id="{@$quoteAuthorObject->userID}">{@$quoteAuthorObject->getAvatar()->getImageTag(64)}</a></div>
-{/if}
-       <blockquote class="quoteBox container containerPadding{if !$quoteAuthorObject} quoteBoxSimple{/if}"{if $quoteLink} cite="{$quoteLink}"{/if}>
-               {if $quoteAuthor}
-                       <header>
-                               <h3>
-                                       {if $quoteLink}
-                                               <a href="{@$quoteLink}"{if $isExternalQuoteLink} class="externalURL"{if EXTERNAL_LINK_REL_NOFOLLOW} rel="nofollow"{/if}{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}{/if}>{lang}wcf.bbcode.quote.title{/lang}</a>
-                                       {else}
-                                               {lang}wcf.bbcode.quote.title{/lang}
-                                       {/if}
-                               </h3>
-                       </header>
-               {/if}
-               
-               <div>
-                       {@$content}
-               </div>
-       </blockquote>
-{if $quoteAuthorObject}
-</div>
-{/if}
+<blockquote class="quoteBox{if !$quoteAuthorObject} quoteBoxSimple{/if}"{if $quoteLink} cite="{$quoteLink}"{/if}>
+       <header class="quoteBoxHeader">
+               <span class="quoteBoxIcon">
+                       {if $quoteAuthorObject}
+                               <a href="{link controller='User' object=$quoteAuthorObject}{/link}" class="userLink" data-user-id="{@$quoteAuthorObject->userID}">{@$quoteAuthorObject->getAvatar()->getImageTag(32)}</a>
+                       {else}
+                               <span class="icon icon24 fa-quote-left"></span>
+                       {/if}
+               </span>
+               <span class="quoteBoxTitle">
+                       {if $quoteAuthor}
+                               {if $quoteLink}
+                                       <a href="{@$quoteLink}"{if $isExternalQuoteLink} class="externalURL"{if EXTERNAL_LINK_REL_NOFOLLOW} rel="nofollow"{/if}{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}{/if}>{lang}wcf.bbcode.quote.title{/lang}</a>
+                               {else}
+                                       {lang}wcf.bbcode.quote.title{/lang}
+                               {/if}
+                       {else}
+                               {lang}wcf.bbcode.quote{/lang}
+                       {/if}
+               </span>
+       </header>
+       
+       <div>
+               {@$content}
+       </div>
+</blockquote>