From: Marcel Werk Date: Tue, 9 Feb 2016 19:08:58 +0000 (+0100) Subject: User profile header overhaul X-Git-Tag: 3.0.0_Beta_1~2030^2~94 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=41ec911ac8889c7d2cb4d13fde00920aae5a5fd9;p=GitHub%2FWoltLab%2FWCF.git User profile header overhaul --- diff --git a/com.woltlab.wcf/templates/footer.tpl b/com.woltlab.wcf/templates/footer.tpl index a86014672d..785fbc7d32 100644 --- a/com.woltlab.wcf/templates/footer.tpl +++ b/com.woltlab.wcf/templates/footer.tpl @@ -48,14 +48,16 @@ {hascontent}
-
-
- {content} - {foreach from=$__wcf->getBoxHandler()->getBoxes('bottom') item=box} - {@$box->render()} - {/foreach} - {/content} -
+
+ {content} + {if !$boxesBottom|empty} + {@$boxesBottom} + {/if} + + {foreach from=$__wcf->getBoxHandler()->getBoxes('bottom') item=box} + {@$box->render()} + {/foreach} + {/content}
{/hascontent} diff --git a/com.woltlab.wcf/templates/header.tpl b/com.woltlab.wcf/templates/header.tpl index c6e8bd4429..3864e77913 100644 --- a/com.woltlab.wcf/templates/header.tpl +++ b/com.woltlab.wcf/templates/header.tpl @@ -25,15 +25,17 @@ {hascontent}
-
-
- {content} - {foreach from=$__wcf->getBoxHandler()->getBoxes('top') item=box} - {@$box->render()} - {/foreach} - {/content} -
-
+
+ {content} + {if !$boxesTop|empty} + {@$boxesTop} + {/if} + + {foreach from=$__wcf->getBoxHandler()->getBoxes('top') item=box} + {@$box->render()} + {/foreach} + {/content} +
{/hascontent} diff --git a/com.woltlab.wcf/templates/user.tpl b/com.woltlab.wcf/templates/user.tpl index 97aeb12313..c176a3a40d 100644 --- a/com.woltlab.wcf/templates/user.tpl +++ b/com.woltlab.wcf/templates/user.tpl @@ -134,6 +134,8 @@ +{include file='userHeader' assign='boxesTop'} + {include file='userSidebar' assign='sidebarRight'} {include file='header'} @@ -153,7 +155,7 @@ {/hascontent}
-
+