From: Marcel Werk Date: Fri, 20 May 2016 11:20:02 +0000 (+0200) Subject: page-relevant data-attributes on body tag are now available for all cms pages X-Git-Tag: 3.0.0_Beta_1~1685 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b94eb2c73a2669637205291f9d293a3ea805776;p=GitHub%2FWoltLab%2FWCF.git page-relevant data-attributes on body tag are now available for all cms pages --- diff --git a/com.woltlab.wcf/templates/header.tpl b/com.woltlab.wcf/templates/header.tpl index a828fec112..630517eeef 100644 --- a/com.woltlab.wcf/templates/header.tpl +++ b/com.woltlab.wcf/templates/header.tpl @@ -10,7 +10,7 @@ {/if} - +getActivePage() != null} data-page-id="{@$__wcf->getActivePage()->pageID}" data-page-identifier="{$__wcf->getActivePage()->identifier}"{/if}>