use wcf\system\form\element\MultipleSelectionFormElement;
use wcf\system\form\element\TextInputFormElement;
use wcf\system\form\FormDocument;
-use wcf\system\form;
use wcf\system\language\LanguageFactory;
use wcf\system\package\plugin\IPackageInstallationPlugin;
use wcf\system\package\plugin\ObjectTypePackageInstallationPlugin;
if ($this->getPackage()->isApplication && $this->getPackage()->package != 'com.woltlab.wcf' && $this->getAction() == 'install') {
if (empty($this->getPackage()->packageDir)) {
$document = $this->promptPackageDir();
- if ($document !== null && $document instanceof form\FormDocument) {
+ if ($document !== null && $document instanceof FormDocument) {
$installationStep->setDocument($document);
}
$installationStep = new PackageInstallationStep();
$document = $this->promptOptionalPackages($nodeData);
- if ($document !== null && $document instanceof form\FormDocument) {
+ if ($document !== null && $document instanceof FormDocument) {
$installationStep->setDocument($document);
$installationStep->setSplitNode();
}
$packageDir->setValue($defaultPath);
$container->appendChild($packageDir);
- $document = new form\FormDocument('packageDir');
+ $document = new FormDocument('packageDir');
$document->appendContainer($container);
PackageInstallationFormManager::registerForm($this->queue, $document);
$container->appendChild($optionalPackage);
}
- $document = new form\FormDocument('optionalPackages');
+ $document = new FormDocument('optionalPackages');
$document->appendContainer($container);
PackageInstallationFormManager::registerForm($this->queue, $document);