From: Marcel Werk Date: Fri, 17 May 2013 16:17:57 +0000 (+0200) Subject: Small optimizations X-Git-Tag: 2.0.0_Beta_1~168 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6fb536503adc200ce6037e7361ae0db844ee6ed4;p=GitHub%2FWoltLab%2FWCF.git Small optimizations --- 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 bda265a0ae..32d74185d1 100644 --- a/wcfsetup/install/files/lib/system/form/container/MultipleSelectionFormElementContainer.class.php +++ b/wcfsetup/install/files/lib/system/form/container/MultipleSelectionFormElementContainer.class.php @@ -37,19 +37,15 @@ class MultipleSelectionFormElementContainer extends SelectionFormElementContaine } return << -
-
-
- {$this->getLabel()} - -
- {$content} -
-
- {$this->getDescription()} -
- +
+ {$this->getLabel()} + + {$this->getDescription()} + +
+
{$content}
+
+
HTML; } } diff --git a/wcfsetup/install/files/lib/system/form/container/SingleSelectionFormElementContainer.class.php b/wcfsetup/install/files/lib/system/form/container/SingleSelectionFormElementContainer.class.php index c8e690cc4d..8e9e0c8016 100644 --- a/wcfsetup/install/files/lib/system/form/container/SingleSelectionFormElementContainer.class.php +++ b/wcfsetup/install/files/lib/system/form/container/SingleSelectionFormElementContainer.class.php @@ -47,20 +47,15 @@ class SingleSelectionFormElementContainer extends SelectionFormElementContainer } return << -
-
-
- {$this->getLabel()} - -
- {$content} -
-
-
+
+ {$this->getLabel()} + {$this->getDescription()} - - + +
+
{$content}
+
+
HTML; } } diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php index 05b801f4ad..cbe7973011 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php @@ -647,6 +647,8 @@ class PackageInstallationDispatcher { if (!PackageInstallationFormManager::findForm($this->queue, 'optionalPackages')) { $container = new MultipleSelectionFormElementContainer(); $container->setName('optionalPackages'); + $container->setLabel(WCF::getLanguage()->get('wcf.acp.package.optionalPackages')); + $container->setDescription(WCF::getLanguage()->get('wcf.acp.package.optionalPackages.description')); foreach ($packages as $package) { $optionalPackage = new MultipleSelectionFormElement($container); diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 6a57bf0853..e8f9dd5e2f 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -532,6 +532,8 @@ + + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 2fc16097fa..6f19a32791 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -532,6 +532,8 @@ + +