projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3104f34
)
Added pageID as a data attribute to the body tag
author
Marcel Werk
<burntime@woltlab.com>
Thu, 12 May 2016 12:39:08 +0000
(14:39 +0200)
committer
Marcel Werk
<burntime@woltlab.com>
Thu, 12 May 2016 12:40:26 +0000
(14:40 +0200)
com.woltlab.wcf/templates/header.tpl
patch
|
blob
|
blame
|
history
diff --git
a/com.woltlab.wcf/templates/header.tpl
b/com.woltlab.wcf/templates/header.tpl
index 8b5b2ca6f4ae8bca193f54d93f26b8828fef0c48..a828fec112cb42bc6179df041aecf46cc816255e 100644
(file)
--- a/
com.woltlab.wcf/templates/header.tpl
+++ b/
com.woltlab.wcf/templates/header.tpl
@@
-10,7
+10,7
@@
{/if}
</head>
-<body id="tpl_{$templateNameApplication}_{$templateName}" data-template="{$templateName}" data-application="{$templateNameApplication}">
+<body id="tpl_{$templateNameApplication}_{$templateName}" data-template="{$templateName}" data-application="{$templateNameApplication}"
{if !$page|empty} data-page-id="{@$page->pageID}"{/if}
>
<a id="top"></a>