From: Alexander Ebert Date: Sat, 2 Feb 2019 22:11:35 +0000 (+0100) Subject: Generic placeholder for document data attributes X-Git-Tag: 5.2.0_Alpha_1~313 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=27c16865a773f34e23182d82011b961621a0b345;p=GitHub%2FWoltLab%2FWCF.git Generic placeholder for document data attributes --- diff --git a/com.woltlab.wcf/templates/header.tpl b/com.woltlab.wcf/templates/header.tpl index 57b59a96cd..bc792e9b4e 100644 --- a/com.woltlab.wcf/templates/header.tpl +++ b/com.woltlab.wcf/templates/header.tpl @@ -24,6 +24,7 @@ getActivePage() != null} data-page-id="{@$__wcf->getActivePage()->pageID}" data-page-identifier="{$__wcf->getActivePage()->identifier}"{/if} + {if !$__pageDataAttributes|empty}{@$__pageDataAttributes}{/if} class="{if $__wcf->getActivePage() != null && $__wcf->getActivePage()->cssClassName}{$__wcf->getActivePage()->cssClassName}{/if}{if !$__pageCssClassName|empty} {$__pageCssClassName}{/if}">