From: Matthias Schmidt Date: Thu, 14 Aug 2014 16:16:07 +0000 (+0200) Subject: Add data attributes to body X-Git-Tag: 2.1.0_Alpha_1~453 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=887a31532479599673569d89416342a13336b9d7;p=GitHub%2FWoltLab%2FWCF.git Add data attributes to body Furthermore, the body id for new templates will be `tpl_{$templateNameApplication}_{$templateName}`, the old format `tpl{$templateName|ucfirst}` is deprecated and you should not rely on it anymore. --- diff --git a/com.woltlab.wcf/templates/accountManagement.tpl b/com.woltlab.wcf/templates/accountManagement.tpl index 393f617640..3ac519e053 100644 --- a/com.woltlab.wcf/templates/accountManagement.tpl +++ b/com.woltlab.wcf/templates/accountManagement.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='userMenuSidebar'} diff --git a/com.woltlab.wcf/templates/avatarEdit.tpl b/com.woltlab.wcf/templates/avatarEdit.tpl index 638300f9be..56c25c17cf 100644 --- a/com.woltlab.wcf/templates/avatarEdit.tpl +++ b/com.woltlab.wcf/templates/avatarEdit.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='userMenuSidebar'} diff --git a/com.woltlab.wcf/templates/cookiePolicy.tpl b/com.woltlab.wcf/templates/cookiePolicy.tpl index 57b8c6d802..b5d3a1b9a2 100644 --- a/com.woltlab.wcf/templates/cookiePolicy.tpl +++ b/com.woltlab.wcf/templates/cookiePolicy.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/dashboard.tpl b/com.woltlab.wcf/templates/dashboard.tpl index 4bef0a4e57..a3b3daf148 100644 --- a/com.woltlab.wcf/templates/dashboard.tpl +++ b/com.woltlab.wcf/templates/dashboard.tpl @@ -8,7 +8,7 @@ - + {if $__boxSidebar|isset && $__boxSidebar} {capture assign='sidebar'} diff --git a/com.woltlab.wcf/templates/deletedContentList.tpl b/com.woltlab.wcf/templates/deletedContentList.tpl index b9f095503a..23ea687f88 100644 --- a/com.woltlab.wcf/templates/deletedContentList.tpl +++ b/com.woltlab.wcf/templates/deletedContentList.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {capture assign='sidebar'}
diff --git a/com.woltlab.wcf/templates/disclaimer.tpl b/com.woltlab.wcf/templates/disclaimer.tpl index 22e25911ec..7fe579bbfa 100644 --- a/com.woltlab.wcf/templates/disclaimer.tpl +++ b/com.woltlab.wcf/templates/disclaimer.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/editHistory.tpl b/com.woltlab.wcf/templates/editHistory.tpl index 1fc8253ebb..f24b23eb37 100644 --- a/com.woltlab.wcf/templates/editHistory.tpl +++ b/com.woltlab.wcf/templates/editHistory.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/emailActivation.tpl b/com.woltlab.wcf/templates/emailActivation.tpl index da398c23c6..beaf43ae08 100644 --- a/com.woltlab.wcf/templates/emailActivation.tpl +++ b/com.woltlab.wcf/templates/emailActivation.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/emailNewActivationCode.tpl b/com.woltlab.wcf/templates/emailNewActivationCode.tpl index 2958ac6c85..2e3c4a8ed7 100644 --- a/com.woltlab.wcf/templates/emailNewActivationCode.tpl +++ b/com.woltlab.wcf/templates/emailNewActivationCode.tpl @@ -5,7 +5,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/following.tpl b/com.woltlab.wcf/templates/following.tpl index 61e8afcb0c..53fc307c05 100644 --- a/com.woltlab.wcf/templates/following.tpl +++ b/com.woltlab.wcf/templates/following.tpl @@ -13,7 +13,7 @@ - + {include file='userMenuSidebar'} diff --git a/com.woltlab.wcf/templates/ignoredUsers.tpl b/com.woltlab.wcf/templates/ignoredUsers.tpl index 112045b79c..3da0757b9d 100644 --- a/com.woltlab.wcf/templates/ignoredUsers.tpl +++ b/com.woltlab.wcf/templates/ignoredUsers.tpl @@ -13,7 +13,7 @@ - + {include file='userMenuSidebar'} diff --git a/com.woltlab.wcf/templates/login.tpl b/com.woltlab.wcf/templates/login.tpl index cc68f2bf82..8a5a247941 100644 --- a/com.woltlab.wcf/templates/login.tpl +++ b/com.woltlab.wcf/templates/login.tpl @@ -14,7 +14,7 @@ - + {include file='header' __disableLoginLink=true}
diff --git a/com.woltlab.wcf/templates/lostPassword.tpl b/com.woltlab.wcf/templates/lostPassword.tpl index d8d4929f76..66f87a2908 100644 --- a/com.woltlab.wcf/templates/lostPassword.tpl +++ b/com.woltlab.wcf/templates/lostPassword.tpl @@ -13,7 +13,7 @@ - + {include file='header'} diff --git a/com.woltlab.wcf/templates/mail.tpl b/com.woltlab.wcf/templates/mail.tpl index 71b2beecc8..9f9eeea2a0 100644 --- a/com.woltlab.wcf/templates/mail.tpl +++ b/com.woltlab.wcf/templates/mail.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='header'}
diff --git a/com.woltlab.wcf/templates/membersList.tpl b/com.woltlab.wcf/templates/membersList.tpl index f98c3d5c27..81524be4d7 100644 --- a/com.woltlab.wcf/templates/membersList.tpl +++ b/com.woltlab.wcf/templates/membersList.tpl @@ -36,7 +36,7 @@ - + {capture assign='sidebar'} {assign var=encodedLetter value=$letter|rawurlencode} diff --git a/com.woltlab.wcf/templates/moderationActivation.tpl b/com.woltlab.wcf/templates/moderationActivation.tpl index 0ad592644f..84eec7f9f0 100644 --- a/com.woltlab.wcf/templates/moderationActivation.tpl +++ b/com.woltlab.wcf/templates/moderationActivation.tpl @@ -24,7 +24,7 @@ - + {include file='header'} diff --git a/com.woltlab.wcf/templates/moderationList.tpl b/com.woltlab.wcf/templates/moderationList.tpl index 9ac6db16a7..228e8b9f50 100644 --- a/com.woltlab.wcf/templates/moderationList.tpl +++ b/com.woltlab.wcf/templates/moderationList.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {capture assign='sidebar'} {* moderation type *} diff --git a/com.woltlab.wcf/templates/moderationReport.tpl b/com.woltlab.wcf/templates/moderationReport.tpl index b5da14e9a4..bdb16a53d6 100644 --- a/com.woltlab.wcf/templates/moderationReport.tpl +++ b/com.woltlab.wcf/templates/moderationReport.tpl @@ -25,7 +25,7 @@ - + {include file='header'} diff --git a/com.woltlab.wcf/templates/newPassword.tpl b/com.woltlab.wcf/templates/newPassword.tpl index 7a54de71b2..851513f7ba 100644 --- a/com.woltlab.wcf/templates/newPassword.tpl +++ b/com.woltlab.wcf/templates/newPassword.tpl @@ -5,7 +5,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/notificationList.tpl b/com.woltlab.wcf/templates/notificationList.tpl index 6c4843ac00..8548245ea3 100644 --- a/com.woltlab.wcf/templates/notificationList.tpl +++ b/com.woltlab.wcf/templates/notificationList.tpl @@ -17,7 +17,7 @@ - + {include file='userMenuSidebar'} diff --git a/com.woltlab.wcf/templates/notificationSettings.tpl b/com.woltlab.wcf/templates/notificationSettings.tpl index 5129d75e96..2b3b5af428 100644 --- a/com.woltlab.wcf/templates/notificationSettings.tpl +++ b/com.woltlab.wcf/templates/notificationSettings.tpl @@ -23,7 +23,7 @@ - + {include file='userMenuSidebar'} diff --git a/com.woltlab.wcf/templates/offline.tpl b/com.woltlab.wcf/templates/offline.tpl index d67f20f393..c5a5e02729 100644 --- a/com.woltlab.wcf/templates/offline.tpl +++ b/com.woltlab.wcf/templates/offline.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='header' skipBreadcrumbs=true} diff --git a/com.woltlab.wcf/templates/permissionDenied.tpl b/com.woltlab.wcf/templates/permissionDenied.tpl index 7c56d4546a..a8c5f8ad03 100644 --- a/com.woltlab.wcf/templates/permissionDenied.tpl +++ b/com.woltlab.wcf/templates/permissionDenied.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/privacyPolicy.tpl b/com.woltlab.wcf/templates/privacyPolicy.tpl index 390e9e61b0..0432c5607c 100644 --- a/com.woltlab.wcf/templates/privacyPolicy.tpl +++ b/com.woltlab.wcf/templates/privacyPolicy.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/recentActivityList.tpl b/com.woltlab.wcf/templates/recentActivityList.tpl index 4ffb353541..4397e8bfc7 100644 --- a/com.woltlab.wcf/templates/recentActivityList.tpl +++ b/com.woltlab.wcf/templates/recentActivityList.tpl @@ -21,7 +21,7 @@ - + {capture assign='sidebar'} {@$__boxSidebar} diff --git a/com.woltlab.wcf/templates/redirect.tpl b/com.woltlab.wcf/templates/redirect.tpl index 4827f3cd58..c34cd40401 100644 --- a/com.woltlab.wcf/templates/redirect.tpl +++ b/com.woltlab.wcf/templates/redirect.tpl @@ -8,7 +8,7 @@ - + {include file='header'} diff --git a/com.woltlab.wcf/templates/register.tpl b/com.woltlab.wcf/templates/register.tpl index 6ebc9c6c0a..ac83cbb709 100644 --- a/com.woltlab.wcf/templates/register.tpl +++ b/com.woltlab.wcf/templates/register.tpl @@ -39,7 +39,7 @@ - + {include file='header' __disableLoginLink=true}
diff --git a/com.woltlab.wcf/templates/registerActivation.tpl b/com.woltlab.wcf/templates/registerActivation.tpl index 98d455f5c9..408d587bb5 100644 --- a/com.woltlab.wcf/templates/registerActivation.tpl +++ b/com.woltlab.wcf/templates/registerActivation.tpl @@ -5,7 +5,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/registerNewActivationCode.tpl b/com.woltlab.wcf/templates/registerNewActivationCode.tpl index 6d8ee1ca36..4b71f4ff8d 100644 --- a/com.woltlab.wcf/templates/registerNewActivationCode.tpl +++ b/com.woltlab.wcf/templates/registerNewActivationCode.tpl @@ -5,7 +5,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/search.tpl b/com.woltlab.wcf/templates/search.tpl index b91643c86f..02e8240cc8 100644 --- a/com.woltlab.wcf/templates/search.tpl +++ b/com.woltlab.wcf/templates/search.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/searchResult.tpl b/com.woltlab.wcf/templates/searchResult.tpl index 30308b0202..20f9c3909c 100644 --- a/com.woltlab.wcf/templates/searchResult.tpl +++ b/com.woltlab.wcf/templates/searchResult.tpl @@ -6,7 +6,7 @@ {include file='headInclude'} - + {include file='header'} diff --git a/com.woltlab.wcf/templates/settings.tpl b/com.woltlab.wcf/templates/settings.tpl index 17ca02b2a1..cf30d23fd9 100644 --- a/com.woltlab.wcf/templates/settings.tpl +++ b/com.woltlab.wcf/templates/settings.tpl @@ -5,7 +5,7 @@ {include file='headInclude'} - + {include file='userMenuSidebar'} diff --git a/com.woltlab.wcf/templates/signatureEdit.tpl b/com.woltlab.wcf/templates/signatureEdit.tpl index c456d63203..0d61687c67 100644 --- a/com.woltlab.wcf/templates/signatureEdit.tpl +++ b/com.woltlab.wcf/templates/signatureEdit.tpl @@ -18,7 +18,7 @@ - + {include file='userMenuSidebar'} diff --git a/com.woltlab.wcf/templates/tagged.tpl b/com.woltlab.wcf/templates/tagged.tpl index 3caa1aae74..82c279061b 100644 --- a/com.woltlab.wcf/templates/tagged.tpl +++ b/com.woltlab.wcf/templates/tagged.tpl @@ -14,7 +14,7 @@ - + {capture assign='sidebar'}
diff --git a/com.woltlab.wcf/templates/team.tpl b/com.woltlab.wcf/templates/team.tpl index f43761271a..7c33e88f5d 100644 --- a/com.woltlab.wcf/templates/team.tpl +++ b/com.woltlab.wcf/templates/team.tpl @@ -24,7 +24,7 @@ - + {capture assign='sidebar'} {@$__boxSidebar} diff --git a/com.woltlab.wcf/templates/user.tpl b/com.woltlab.wcf/templates/user.tpl index ad5ffae20e..e4be82e018 100644 --- a/com.woltlab.wcf/templates/user.tpl +++ b/com.woltlab.wcf/templates/user.tpl @@ -140,7 +140,7 @@ - + {include file='userSidebar' assign='sidebar'} diff --git a/com.woltlab.wcf/templates/userSearch.tpl b/com.woltlab.wcf/templates/userSearch.tpl index ba522b247f..ccc48528f9 100644 --- a/com.woltlab.wcf/templates/userSearch.tpl +++ b/com.woltlab.wcf/templates/userSearch.tpl @@ -14,7 +14,7 @@ - + {capture assign='sidebar'} {@$__boxSidebar} diff --git a/com.woltlab.wcf/templates/usersOnlineList.tpl b/com.woltlab.wcf/templates/usersOnlineList.tpl index 90bb553f5e..dde3f8e689 100644 --- a/com.woltlab.wcf/templates/usersOnlineList.tpl +++ b/com.woltlab.wcf/templates/usersOnlineList.tpl @@ -28,7 +28,7 @@ {/if} - + {capture assign='sidebar'}
diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index a2b21c5863..2cfa04346d 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -124,7 +124,7 @@ - +