- {capture assign='__sidebar'} - {if $sidebar|isset} - + {/hascontent}
{if MODULE_WCF_AD && $__disableAds|empty}{@$__wcf->getAdHandler()->getAds('com.woltlab.wcf.header.content')}{/if} + {hascontent} +
+ {content} + {foreach from=$__wcf->getBoxHandler()->getBoxes('contentTop') item=box} + {@$box} + {/foreach} + {/content} +
+ {/hascontent} + {event name='contents'} diff --git a/com.woltlab.wcf/templates/pageHeader.tpl b/com.woltlab.wcf/templates/pageHeader.tpl index 1b8091f325..4b1451e7f3 100644 --- a/com.woltlab.wcf/templates/pageHeader.tpl +++ b/com.woltlab.wcf/templates/pageHeader.tpl @@ -1,25 +1,41 @@ - \ No newline at end of file + {hascontent} +
+
+ {content} + {foreach from=$__wcf->getBoxHandler()->getBoxes('hero') item=box} + {@$box} + {/foreach} + {/content} +
+
+ {/hascontent} +
diff --git a/wcfsetup/install/files/acp/templates/styleAdd.tpl b/wcfsetup/install/files/acp/templates/styleAdd.tpl index e66878db7c..831a65ef4a 100644 --- a/wcfsetup/install/files/acp/templates/styleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/styleAdd.tpl @@ -696,6 +696,7 @@