From 12d63fad788f48b8af369daef0317ea572f438dc Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 28 Oct 2019 15:47:58 +0100 Subject: [PATCH] Fixed wrong content header position --- com.woltlab.wcf/templates/articleAdd.tpl | 56 +++++++++++++----------- 1 file changed, 31 insertions(+), 25 deletions(-) diff --git a/com.woltlab.wcf/templates/articleAdd.tpl b/com.woltlab.wcf/templates/articleAdd.tpl index ba4433ff91..cb487193e7 100644 --- a/com.woltlab.wcf/templates/articleAdd.tpl +++ b/com.woltlab.wcf/templates/articleAdd.tpl @@ -1,7 +1,34 @@ +{capture assign='__contentHeader'} +
+
+

{if $action == 'add'}{lang}wcf.acp.article.add{/lang}{else}{lang}wcf.acp.article.edit{/lang}{/if}

+
+ + +
+{/capture} + {if $articleIsFrontend|empty} {include file='header' pageTitle='wcf.acp.article.'|concat:$action} {else} - {include file='header' __disableContentHeader=true} + {include file='header' contentHeader=$__contentHeader} {/if} {if $__wcf->session->getPermission('admin.content.article.canManageArticle')} @@ -58,30 +85,9 @@ {/if} -
-
-

{if $action == 'add'}{lang}wcf.acp.article.add{/lang}{else}{lang}wcf.acp.article.edit{/lang}{/if}

-
- - -
+{if $articleIsFrontend|empty} + {@$__contentHeader} +{/if} {include file='formError'} -- 2.20.1