From: Tim Düsterhus Date: Mon, 9 Nov 2020 16:04:53 +0000 (+0100) Subject: Remove extra space after class attribute in form builder containers X-Git-Tag: 5.4.0_Alpha_1~615 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e1da1b798b55de49bdd566181f097ee9829c69ef;p=GitHub%2FWoltLab%2FWCF.git Remove extra space after class attribute in form builder containers --- 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}{* *}>