mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-04-06 01:35:50 -04:00
Add SPDX license headers and mark source files as GPL-3.0-or-later to preserve the option to relicense under later GPL versions.
36 lines
767 B
PHP
36 lines
767 B
PHP
<?php
|
|
|
|
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
namespace Icinga\Forms;
|
|
|
|
use Icinga\Web\Form;
|
|
|
|
class LdapDiscoveryForm extends Form
|
|
{
|
|
/**
|
|
* Initialize this page
|
|
*/
|
|
public function init()
|
|
{
|
|
$this->setName('form_ldap_discovery');
|
|
}
|
|
|
|
/**
|
|
* @see Form::createElements()
|
|
*/
|
|
public function createElements(array $formData)
|
|
{
|
|
$this->addElement(
|
|
'text',
|
|
'domain',
|
|
array(
|
|
'label' => $this->translate('Search Domain'),
|
|
'description' => $this->translate('Search this domain for records of available servers.'),
|
|
)
|
|
);
|
|
|
|
return $this;
|
|
}
|
|
}
|