From e1da1b798b55de49bdd566181f097ee9829c69ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 9 Nov 2020 17:04:53 +0100 Subject: [PATCH] Remove extra space after class attribute in form builder containers --- com.woltlab.wcf/templates/__formContainer.tpl | 2 +- com.woltlab.wcf/templates/__rowFormContainer.tpl | 2 +- com.woltlab.wcf/templates/__rowFormFieldContainer.tpl | 2 +- com.woltlab.wcf/templates/__tabFormContainer.tpl | 2 +- com.woltlab.wcf/templates/__tabMenuFormContainer.tpl | 2 +- com.woltlab.wcf/templates/__tabTabMenuFormContainer.tpl | 4 ++-- wcfsetup/install/files/acp/templates/__formContainer.tpl | 2 +- wcfsetup/install/files/acp/templates/__rowFormContainer.tpl | 2 +- .../install/files/acp/templates/__rowFormFieldContainer.tpl | 2 +- wcfsetup/install/files/acp/templates/__tabFormContainer.tpl | 2 +- .../install/files/acp/templates/__tabMenuFormContainer.tpl | 2 +- .../install/files/acp/templates/__tabTabMenuFormContainer.tpl | 4 ++-- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/com.woltlab.wcf/templates/__formContainer.tpl b/com.woltlab.wcf/templates/__formContainer.tpl index b7ff418e62..8ef0e75c64 100644 --- a/com.woltlab.wcf/templates/__formContainer.tpl +++ b/com.woltlab.wcf/templates/__formContainer.tpl @@ -1,5 +1,5 @@
getClasses()|empty} class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}" {/if}{* + *}{if !$container->getClasses()|empty} class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{* *}{foreach from=$container->getAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{* *}{if !$container->checkDependencies()} style="display: none;"{/if}{* *}> diff --git a/com.woltlab.wcf/templates/__rowFormContainer.tpl b/com.woltlab.wcf/templates/__rowFormContainer.tpl index 26e58e31c6..6ab23a1bb6 100644 --- a/com.woltlab.wcf/templates/__rowFormContainer.tpl +++ b/com.woltlab.wcf/templates/__rowFormContainer.tpl @@ -1,5 +1,5 @@
getClasses()|empty} class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}" {/if}{* + *}{if !$container->getClasses()|empty} class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{* *}{foreach from=$container->getAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{* *}{if !$container->checkDependencies()} style="display: none;"{/if}{* *}> diff --git a/com.woltlab.wcf/templates/__rowFormFieldContainer.tpl b/com.woltlab.wcf/templates/__rowFormFieldContainer.tpl index cb5582611e..566ca41f01 100644 --- a/com.woltlab.wcf/templates/__rowFormFieldContainer.tpl +++ b/com.woltlab.wcf/templates/__rowFormFieldContainer.tpl @@ -1,5 +1,5 @@
getClasses()|empty} class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}" {/if}{* + *}{if !$container->getClasses()|empty} class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{* *}{foreach from=$container->getAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{* *}{if !$container->checkDependencies()} style="display: none;"{/if}{* *}> diff --git a/com.woltlab.wcf/templates/__tabFormContainer.tpl b/com.woltlab.wcf/templates/__tabFormContainer.tpl index 728c7d0fce..31649726ba 100644 --- a/com.woltlab.wcf/templates/__tabFormContainer.tpl +++ b/com.woltlab.wcf/templates/__tabFormContainer.tpl @@ -1,5 +1,5 @@
getClasses()|empty} class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}" {/if}{* + *}{if !$container->getClasses()|empty} class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{* *}{foreach from=$container->getAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{* *}{if !$container->checkDependencies()} style="display: none;"{/if}{* *}> diff --git a/com.woltlab.wcf/templates/__tabMenuFormContainer.tpl b/com.woltlab.wcf/templates/__tabMenuFormContainer.tpl index e1a7c22c9d..4d622da11a 100644 --- a/com.woltlab.wcf/templates/__tabMenuFormContainer.tpl +++ b/com.woltlab.wcf/templates/__tabMenuFormContainer.tpl @@ -1,5 +1,5 @@
getClasses()|empty} class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}" {/if}{* + *}{if !$container->getClasses()|empty} class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{* *}{foreach from=$container->getAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{* *}{if !$container->checkDependencies()} style="display: none;"{/if}{* *}> diff --git a/com.woltlab.wcf/templates/__tabTabMenuFormContainer.tpl b/com.woltlab.wcf/templates/__tabTabMenuFormContainer.tpl index 86db167713..35d5c087ac 100644 --- a/com.woltlab.wcf/templates/__tabTabMenuFormContainer.tpl +++ b/com.woltlab.wcf/templates/__tabTabMenuFormContainer.tpl @@ -1,5 +1,5 @@ -
getClasses()|empty}class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}" {/if}{* +
getClasses()|empty} class="{implode from=$container->getClasses() item='class' glue=' '}{$class}{/implode}"{/if}{* *}{foreach from=$container->getAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{* *}>