Added generic events for more box placeholders
authorMarcel Werk <burntime@woltlab.com>
Fri, 31 Mar 2017 14:44:37 +0000 (16:44 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 31 Mar 2017 14:44:37 +0000 (16:44 +0200)
closes #2190

com.woltlab.wcf/templates/footer.tpl
com.woltlab.wcf/templates/header.tpl

index cc9b3cc08be87ee24456b71abb4cbb9abe1b566e..06b6210283e64805f4668cd29e0173e66077db0d 100644 (file)
@@ -4,6 +4,10 @@
                                        <div class="boxesContentBottom">
                                                <div class="boxContainer">
                                                        {content}
+                                                               {if !$boxesContentBottom|empty}
+                                                                       {@$boxesContentBottom}
+                                                               {/if}
+                                                               
                                                                {foreach from=$__wcf->getBoxHandler()->getBoxes('contentBottom') item=box}
                                                                        {@$box->render()}
                                                                {/foreach}
@@ -85,7 +89,9 @@
                        <div class="layoutBoundary">
                                <div class="boxContainer">
                                        {content}
-                                               {if !$footerBoxes|empty}{@$footerBoxes}{/if}
+                                               {if !$footerBoxes|empty}
+                                                       {@$footerBoxes}
+                                               {/if}
                                        
                                                {foreach from=$__wcf->getBoxHandler()->getBoxes('footerBoxes') item=box}
                                                        {@$box->render()}
index 960586fbbf086c7563b94824057b0f4b269db22a..013411941c2e93014095246071121f66bccdb7ca 100644 (file)
                        <div class="layoutBoundary">
                                <div class="boxContainer">
                                        {content}
+                                               {if !$headerBoxes|empty}
+                                                       {@$headerBoxes}
+                                               {/if}
+                                               
                                                {foreach from=$__wcf->getBoxHandler()->getBoxes('headerBoxes') item=box}
                                                        {@$box->render()}
                                                {/foreach}
                                        <div class="boxesContentTop">
                                                <div class="boxContainer">
                                                        {content}
+                                                               {if !$boxesContentTop|empty}
+                                                                       {@$boxesContentTop}
+                                                               {/if}
+                                                               
                                                                {foreach from=$__wcf->getBoxHandler()->getBoxes('contentTop') item=box}
                                                                        {@$box->render()}
                                                                {/foreach}