From 9b94eb2c73a2669637205291f9d293a3ea805776 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 20 May 2016 13:20:02 +0200 Subject: [PATCH] page-relevant data-attributes on body tag are now available for all cms pages --- com.woltlab.wcf/templates/header.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}> -- 2.20.1