|
|
@@ -40,34 +40,28 @@ class InfoForm extends BaseForm implements ClientArea
|
|
|
|
|
|
private function initFields()
|
|
|
{
|
|
|
- $maildomain = new InputGroup('Test');
|
|
|
- $maildomain->addInputComponent((new InputGroupElements\Text('dnsmessage'))->addHtmlAttribute('readonly','true')->setTitle('Test'));
|
|
|
- $maildomain->addInputAddon('', false, '→');
|
|
|
- $maildomain->addInputComponent((new InputGroupElements\Text('maildomain'))->addHtmlAttribute('readonly','true'));
|
|
|
- $this->addSection($maildomain);
|
|
|
- $this->addSection(new BoxSection('DNS Informationen für ' . new Text('maildomain')));
|
|
|
// $message = di('lang')->absoluteT('dnsinfomessage');
|
|
|
$message = 'dnsinfomessage';
|
|
|
$this->addInternalAlert($message, null, 100);
|
|
|
- $fieldl = new Text("mxthurdata");
|
|
|
- $fieldl->setRawTitle('MX Eintrag ThurData Vorgabe')->addHtmlAttribute('readonly','true');
|
|
|
- $fieldr = new Text("mxactive");
|
|
|
- $fieldr->setRawTitle('Aktueller MX Eintrag')->addHtmlAttribute('readonly','true');
|
|
|
- $this->generateDoubleSection([$fieldl,$fieldr]);
|
|
|
- $fieldl = new Text("spfthurdata");
|
|
|
- $fieldl->setRawTitle('SPF ThurData Vorgabe')->addHtmlAttribute('readonly','true');
|
|
|
- $fieldr = new Text("spf");
|
|
|
- $fieldr->setRawTitle('Aktueller SPF Eintrag:')->addHtmlAttribute('readonly','true');
|
|
|
- $this->generateDoubleSection([$fieldl,$fieldr]);
|
|
|
- $fieldl = new Text("dmarcthurdata");
|
|
|
- $fieldl->setRawTitle('DMACR ThurData Vorgabe')->addHtmlAttribute('readonly','true');
|
|
|
- $fieldr = new Text("dmarc");
|
|
|
- $fieldr->setRawTitle('Aktueller DMARC Eintrag')->addHtmlAttribute('readonly','true');
|
|
|
- $this->generateDoubleSection([$fieldl,$fieldr]);
|
|
|
- $fieldl = new Text("dkimthurdata");
|
|
|
- $fieldl->setRawTitle('DKIM ThurData Vorgabe')->addHtmlAttribute('readonly','true');
|
|
|
- $fieldr = new Text("dkim");
|
|
|
- $fieldr->setRawTitle('Aktueller DKIM Eintrag')->addHtmlAttribute('readonly','true');
|
|
|
- $this->generateDoubleSection([$fieldl,$fieldr]);
|
|
|
+ $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'));
|
|
|
+ $this->addSection($row);
|
|
|
+ $row = new InputGroup('SPF');
|
|
|
+ $row->addInputComponent((new InputGroupElements\Text('spfthurdata'))->addHtmlAttribute('readonly','true'));
|
|
|
+ $row->addInputAddon('', false, '→');
|
|
|
+ $row->addInputComponent((new InputGroupElements\Text('spf'))->addHtmlAttribute('readonly','true'));
|
|
|
+ $this->addSection($row);
|
|
|
+ $row = new InputGroup('DMARC');
|
|
|
+ $row->addInputComponent((new InputGroupElements\Text('dmarcthurdata'))->addHtmlAttribute('readonly','true'));
|
|
|
+ $row->addInputAddon('', false, '→');
|
|
|
+ $row->addInputComponent((new InputGroupElements\Text('dmarc'))->addHtmlAttribute('readonly','true'));
|
|
|
+ $this->addSection($row);
|
|
|
+ $row = new InputGroup('DKIM');
|
|
|
+ $row->addInputComponent((new InputGroupElements\Text('dkimthurdata'))->addHtmlAttribute('readonly','true'));
|
|
|
+ $row->addInputAddon('', false, '→');
|
|
|
+ $row->addInputComponent((new InputGroupElements\Text('dkim'))->addHtmlAttribute('readonly','true'));
|
|
|
+ $this->addSection($row);
|
|
|
}
|
|
|
}
|