andre 5 месяцев назад
Родитель
Сommit
1598df8667
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      app/UI/Client/Setting/Forms/InfoForm.php

+ 2 - 6
app/UI/Client/Setting/Forms/InfoForm.php

@@ -43,12 +43,6 @@ class InfoForm extends BaseForm implements ClientArea
 //        $message = di('lang')->absoluteT('dnsinfomessage');
         $message = 'DNS Information für <div id="maildomain"></div><br><i>Schr&auml;g</i><table width="100%"><tr><td>test1</td><td>Test2</td></tr></table>';
         $this->addInternalAlert($message, null, 100);
-        $row = new InputGroup('domain');
-        $row->addInputComponent((new InputGroupElements\Text('maildomain')));
-        $row->addInputAddon('', false, '');
-        $row->addInputComponent((new InputGroupElements\Text('mxactive')));
-        $row->addClass('hidden');
-        $this->addSection($row);
         $row = new InputGroup('MX');
         $row->addInputComponent((new InputGroupElements\Text('mxthurdata'))->addHtmlAttribute('readonly','true'));
         $row->addInputAddon('', false, '&rarr;');
@@ -69,5 +63,7 @@ class InfoForm extends BaseForm implements ClientArea
         $row->addInputAddon('', false, '&rarr;');
         $row->addInputComponent((new InputGroupElements\Text('dkim'))->addHtmlAttribute('readonly','true'));
         $this->addSection($row);
+        $this->generateDoubleSection([new Text('maildomain'), new Select('id')]);
+
     }
 }