From: Marcel Werk Date: Mon, 23 Oct 2017 09:53:07 +0000 (+0200) Subject: Small style optimizations X-Git-Tag: 3.1.0_Beta_2~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db3e8036d846074d23f7734bc652571f9a56d72b;p=GitHub%2FWoltLab%2FWCF.git Small style optimizations --- diff --git a/com.woltlab.wcf/templates/article.tpl b/com.woltlab.wcf/templates/article.tpl index b64ceb5e0d..f084874247 100644 --- a/com.woltlab.wcf/templates/article.tpl +++ b/com.woltlab.wcf/templates/article.tpl @@ -165,14 +165,6 @@ - {if ENABLE_SHARE_BUTTONS} -
-

{lang}wcf.message.share{/lang}

- - {include file='shareButtons'} -
- {/if} - {if ARTICLE_SHOW_ABOUT_AUTHOR && $article->getUserProfile()->aboutMe}

{lang}wcf.article.aboutAuthor{/lang}

@@ -201,6 +193,18 @@ {/if}
+{if ENABLE_SHARE_BUTTONS} + {capture assign='footerBoxes'} +
+

{lang}wcf.message.share{/lang}

+ +
+ {include file='shareButtons'} +
+
+ {/capture} +{/if} +