initIds('infoForm'); $this->setFormType('info'); $this->setProvider(new InfoSettingDataProvider()); $this->initFields(); $this->loadDataToForm(); } public function getAllowedActions() { return ['info']; } private function initFields() { $maildomain = new InputGroup(''); $maildomain->addInputComponent((new InputGroupElements\Text('Maildomäne'))->addHtmlAttribute('readonly','true')); $maildomain->addInputAddon('', false, '→'); $maildomain->addInputComponent((new InputGroupElements\Text('maildomain'))->addHtmlAttribute('readonly','true')); $this->addSection($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]); } }