Browse Source

new info form

andre 5 months ago
parent
commit
6cf19ce43a
1 changed files with 1 additions and 3 deletions
  1. 1 3
      app/UI/Client/Setting/Forms/InfoForm.php

+ 1 - 3
app/UI/Client/Setting/Forms/InfoForm.php

@@ -4,7 +4,6 @@ namespace ThurData\Servers\KerioEmail\App\UI\Client\Setting\Forms;
 use ThurData\Servers\KerioEmail\core\UI\Traits\Alerts;
 use ThurData\Servers\KerioEmail\App\Traits\FormExtendedTrait;
 use ThurData\Servers\KerioEmail\Core\UI\Traits\FormDataProvider;
-use ThurData\Servers\KerioEmail\Core\UI\Traits\HtmlElements;
 use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Forms\SortedFieldForm;
 use ThurData\Servers\KerioEmail\App\UI\Client\Setting\Providers\InfoSettingDataProvider;
 use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
@@ -24,7 +23,6 @@ class InfoForm extends BaseForm implements ClientArea
 {
     use FormExtendedTrait;
     use FormDataProvider;
-    use HtmlElements;
 
     public function initContent()
     {
@@ -48,7 +46,7 @@ class InfoForm extends BaseForm implements ClientArea
         $row = new InputGroup('MX');
         $row->addInputComponent((new InputGroupElements\Text('mxthurdata'))->addHtmlAttribute('readonly','true'));
         $row->addInputAddon('', false, '→');
-        $row->addInputComponent((new InputGroupElements\Text('mxactive'))->addHtmlAttribute('readonly','true')->addClass('ds-copy-on-click'));
+        $row->addInputComponent((new Text('mxactive'))->addHtmlAttribute('readonly','true')->addClass('ds-copy-on-click'));
         $this->addSection($row);
         $row = new InputGroup('SPF');
         $row->addInputComponent((new InputGroupElements\Text('spfthurdata'))->addHtmlAttribute('readonly','true'));