From: Matthias Schmidt Date: Sat, 25 May 2013 16:22:16 +0000 (+0200) Subject: Improves visual appearance of MultipleSelectionFormElementContainer X-Git-Tag: 2.0.0_Beta_1~56 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5f8b451c3d49ad39a280586f5f03a275b122a183;p=GitHub%2FWoltLab%2FWCF.git Improves visual appearance of MultipleSelectionFormElementContainer Previous the gap between the label and the matching description in the small element was larger than the gap between the small-element and the label of the next checkbox. --- diff --git a/wcfsetup/install/files/lib/system/form/container/MultipleSelectionFormElementContainer.class.php b/wcfsetup/install/files/lib/system/form/container/MultipleSelectionFormElementContainer.class.php index 53e7b42373..243808203b 100644 --- a/wcfsetup/install/files/lib/system/form/container/MultipleSelectionFormElementContainer.class.php +++ b/wcfsetup/install/files/lib/system/form/container/MultipleSelectionFormElementContainer.class.php @@ -33,7 +33,7 @@ class MultipleSelectionFormElementContainer extends SelectionFormElementContaine public function getHTML($formName) { $content = ''; foreach ($this->getChildren() as $element) { - $content .= $element->getHTML($formName); + $content .= '
'.$element->getHTML($formName).'
'; } return <<{$this->getDescription()}
-
{$content}
+ {$content}
HTML;