From a6b1bb1a6cf6676b5de96daec3a157e303dd7dc4 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 1 Sep 2017 18:46:09 +0200 Subject: [PATCH] Added missing section element --- com.woltlab.wcf/templates/article.tpl | 142 +++++++++++++------------- 1 file changed, 72 insertions(+), 70 deletions(-) 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} +