From: Marcel Werk Date: Fri, 1 Sep 2017 16:46:09 +0000 (+0200) Subject: Added missing section element X-Git-Tag: 3.1.0_Alpha_3~29 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a6b1bb1a6cf6676b5de96daec3a157e303dd7dc4;p=GitHub%2FWoltLab%2FWCF.git Added missing section element --- diff --git a/com.woltlab.wcf/templates/article.tpl b/com.woltlab.wcf/templates/article.tpl index 8cf0232e4e..db0a6d04b6 100644 --- a/com.woltlab.wcf/templates/article.tpl +++ b/com.woltlab.wcf/templates/article.tpl @@ -115,89 +115,91 @@ {include file='header'} -{if $articleContent->getImage() && $articleContent->getImage()->hasThumbnail('large')} -
-
-
{@$articleContent->getImage()->getThumbnailTag('large')}
- {if $articleContent->getImage()->caption} -
{$articleContent->getImage()->caption}
+
+ {if $articleContent->getImage() && $articleContent->getImage()->hasThumbnail('large')} +
+
+
{@$articleContent->getImage()->getThumbnailTag('large')}
+ {if $articleContent->getImage()->caption} +
{$articleContent->getImage()->caption}
+ {/if} +
+ + + +
+ {/if} + +
+
+ {if $articleContent->teaser} + {/if} -
- - - -
-{/if} - -
-
- {if $articleContent->teaser} - + + {@$articleContent->getFormattedContent()} +
+ + {if !$tags|empty} + {/if} - - {@$articleContent->getFormattedContent()} + +
+
+
+
+
+
    +
    +
    - {if !$tags|empty} - + {if ENABLE_SHARE_BUTTONS} +
    +

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

    + + {include file='shareButtons'} +
    {/if} -
    -
    -
    -
    -
    -
      -
      -
      - - -{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}

      - -
      - {@$article->getUserProfile()->getAvatar()->getImageTag(128)} + {if ARTICLE_SHOW_ABOUT_AUTHOR && $article->getUserProfile()->aboutMe} +
      +

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

      -
      -
      {@$article->getUserProfile()->getFormattedUserOption('aboutMe')}
      +
      + {@$article->getUserProfile()->getAvatar()->getImageTag(128)} -
      - {if MESSAGE_SIDEBAR_ENABLE_USER_ONLINE_MARKING}{@$article->getUserProfile()->getFormattedUsername()}{else}{$article->getUserProfile()->username}{/if} +
      +
      {@$article->getUserProfile()->getFormattedUserOption('aboutMe')}
      - {if MODULE_USER_RANK} - {if $article->getUserProfile()->getUserTitle()} - {$article->getUserProfile()->getUserTitle()} - {/if} - {if $article->getUserProfile()->getRank() && $article->getUserProfile()->getRank()->rankImage} - {@$article->getUserProfile()->getRank()->getImage()} +
      + {if MESSAGE_SIDEBAR_ENABLE_USER_ONLINE_MARKING}{@$article->getUserProfile()->getFormattedUsername()}{else}{$article->getUserProfile()->username}{/if} + + {if MODULE_USER_RANK} + {if $article->getUserProfile()->getUserTitle()} + {$article->getUserProfile()->getUserTitle()} + {/if} + {if $article->getUserProfile()->getRank() && $article->getUserProfile()->getRank()->rankImage} + {@$article->getUserProfile()->getRank()->getImage()} + {/if} {/if} - {/if} +
      -
      -{/if} + {/if} +