From 899e81a4c521b7271ef44867c352632b3f17785d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 21 Oct 2011 15:20:39 +0200 Subject: [PATCH] Changed attribute order ID should always be the first element, followed by all other attributes, the last element should be "class". Metadata (data-* attributes) should always be appended to the end of all attributes, thus after "class" and before the closing tag. --- wcfsetup/install/files/acp/templates/cacheList.tpl | 2 +- wcfsetup/install/files/acp/templates/cronjobList.tpl | 6 +++--- wcfsetup/install/files/acp/templates/header.tpl | 8 ++++---- wcfsetup/install/files/acp/templates/option.tpl | 2 +- .../install/files/acp/templates/optionTypeBoolean.tpl | 2 +- .../files/acp/templates/optionTypeRadiobuttons.tpl | 4 ++-- wcfsetup/install/files/acp/templates/updateServerList.tpl | 4 ++-- .../files/acp/templates/userEmailAddressExport.tpl | 4 ++-- wcfsetup/install/files/acp/templates/userGroupAdd.tpl | 2 +- wcfsetup/install/files/acp/templates/userGroupList.tpl | 2 +- wcfsetup/install/files/acp/templates/userList.tpl | 4 ++-- 11 files changed, 20 insertions(+), 20 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/cacheList.tpl b/wcfsetup/install/files/acp/templates/cacheList.tpl index 46f6373d22..57a4adc904 100644 --- a/wcfsetup/install/files/acp/templates/cacheList.tpl +++ b/wcfsetup/install/files/acp/templates/cacheList.tpl @@ -61,7 +61,7 @@ {counter name=cacheIndex assign=cacheIndex print=false start=0} {if $files|count}
- +

{$cache} {#$files|count}

diff --git a/wcfsetup/install/files/acp/templates/cronjobList.tpl b/wcfsetup/install/files/acp/templates/cronjobList.tpl index cf839a0a3e..628cea433c 100644 --- a/wcfsetup/install/files/acp/templates/cronjobList.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobList.tpl @@ -72,13 +72,13 @@ {if $__wcf->session->getPermission('admin.system.cronjob.canEditCronjob')} - + {else} {/if} {if $cronjob->canBeDisabled()} - + {else} {if $cronjob->active} @@ -93,7 +93,7 @@ {/if} {if $cronjob->isDeletable()} - + {else} {/if} diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index cc173e6db3..d19e3be367 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -148,18 +148,18 @@ {* work-around for unknown core-object during WCFSetup *} {if PACKAGE_ID} {foreach from=$__wcf->getACPMenu()->getMenuItems('') item=parentMenuItem} -