}
return <<<HTML
-<dl>
- <dt><label>{$this->getLabel()}</label></dt>
- <dd>
- <fieldset>
- <legend>{$this->getLabel()}</legend>
-
- <div>
- {$content}
- </div>
- </fieldset>
- <small>{$this->getDescription()}</small>
- </dd>
-</dl>
+<fieldset>
+ <legend>{$this->getLabel()}</legend>
+
+ <small>{$this->getDescription()}</small>
+
+ <dl>
+ <dd>{$content}</dd>
+ </dl>
+</fieldset>
HTML;
}
}
}
return <<<HTML
-<dl>
- <dt><label>{$this->getLabel()}</label></dt>
- <dd>
- <fieldset>
- <legend>{$this->getLabel()}</legend>
-
- <div>
- {$content}
- </div>
- </fieldset>
- </dd>
+<fieldset>
+ <legend>{$this->getLabel()}</legend>
+
<small>{$this->getDescription()}</small>
- </div>
-</dl>
+
+ <dl>
+ <dd>{$content}</dd>
+ </dl>
+</fieldset>
HTML;
}
}
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);
<item name="wcf.acp.package.version"><![CDATA[Version]]></item>
<item name="wcf.acp.package.packageDir.input"><![CDATA[Installationsverzeichnis]]></item>
<item name="wcf.acp.package.upload"><![CDATA[Paket hochladen]]></item>
+ <item name="wcf.acp.package.optionalPackages"><![CDATA[Optionale Pakete]]></item>
+ <item name="wcf.acp.package.optionalPackages.description"><![CDATA[Es stehen folgende optionale Pakete zur Auswahl:]]></item>
</category>
<category name="wcf.acp.pageMenu">
<item name="wcf.acp.package.version"><![CDATA[Version]]></item>
<item name="wcf.acp.package.packageDir.input"><![CDATA[Installation Directory]]></item>
<item name="wcf.acp.package.upload"><![CDATA[TODO: Paket hochladen]]></item>
+ <item name="wcf.acp.package.optionalPackages"><![CDATA[TODO: Optionale Pakete]]></item>
+ <item name="wcf.acp.package.optionalPackages.description"><![CDATA[TODO: Es stehen folgende optionale Pakete zur Auswahl:]]></item>
</category>
<category name="wcf.acp.pageMenu">