|
|
@@ -1,17 +1,14 @@
|
|
|
<?php
|
|
|
namespace ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Sections;
|
|
|
-use ThurData\Servers\KerioEmail\App\Libs\Product\ProductManager;
|
|
|
-use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Repository\ClassOfServices;
|
|
|
+
|
|
|
use ThurData\Servers\KerioEmail\App\Traits\FormExtendedTrait;
|
|
|
use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Sections\FreeFieldsSection;
|
|
|
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Validators\Decimal;
|
|
|
use ThurData\Servers\KerioEmail\App\Validators\PasswordsValidator;
|
|
|
use ThurData\Servers\KerioEmail\App\Validators\RepeatPasswordValidator;
|
|
|
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Hidden;
|
|
|
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Password;
|
|
|
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Select;
|
|
|
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Text;
|
|
|
-use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Number;
|
|
|
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Sections\InputGroup;
|
|
|
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\InputGroupElements;
|
|
|
|
|
|
@@ -32,17 +29,6 @@ class GeneralSection extends FreeFieldsSection
|
|
|
|
|
|
public function initContent()
|
|
|
{
|
|
|
- /**
|
|
|
- * hosting id
|
|
|
- */
|
|
|
- $hid = $this->getRequestValue('id');
|
|
|
-
|
|
|
- /**
|
|
|
- * product manager allow to check product settings
|
|
|
- */
|
|
|
- $productManager = new ProductManager();
|
|
|
- $productManager->loadByHostingId($hid);
|
|
|
-
|
|
|
$this->generateDoubleSection([new Text('firstname'), new Text('lastname')]);
|
|
|
|
|
|
$email = new InputGroup('usernameGroup');
|