getRequestValue('actionElementId'); $dns = new DnsHelper(); $info = new RawSection(); if($dns->selfDns($maildomain)) { $infodns = new Info('infodns'); $infodns->setId('infodns'); $infodns->setName('infodns'); $infodns->setTitle($maildomain); $infodns->setDescription('infodnsmessage'); $info->addField($infodns); } else { $infoextdns = new Info('infoextdns'); $infoextdns->setId('infoextdns'); $infoextdns->setName('infoextdns'); $infoextdns->setTitle($maildomain); $infoextdns->setDescription('infoextdnsmessage'); $info->addField($infoextdns); } $this->addSection($info); $mxthurdata = new Text('mxthurdata'); $mxthurdata->addHtmlAttribute('readonly','true'); $mxthurdata->setDescription('description'); $mxactive = new Text('mxactive'); $mxactive->addHtmlAttribute('readonly','true'); $mxactive->setDescription('description'); $this->generateDoubleSection([$mxthurdata, $mxactive]); $spfthurdata = new Text('spfthurdata'); $spfthurdata->addHtmlAttribute('readonly','true'); $spfthurdata->setDescription('description'); $spf = new Text('spf'); $spf->addHtmlAttribute('readonly','true'); $spf->setDescription('description'); $this->generateDoubleSection([$spfthurdata, $spf]); $dmarcthurdata = new Text('dmarcthurdata'); $dmarcthurdata->addHtmlAttribute('readonly','true'); $dmarcthurdata->setDescription('description'); $dmarc = new Text('dmarc'); $dmarc->addHtmlAttribute('readonly','true'); $dmarc->setDescription('description'); $this->generateDoubleSection([$dmarcthurdata, $dmarc]); $dkimname = new Text('dkimname'); $dkimname->addHtmlAttribute('readonly','true')->addHtmlAttribute('border', 0); $dkimname->setDescription('description'); $this->generateDoubleSection([$dkimname]); $dkimthurdata = new Text('dkimthurdata'); $dkimthurdata->addHtmlAttribute('readonly','true'); $dkimthurdata->setDescription('description'); $dkim = new Text('dkim'); $dkim->addHtmlAttribute('readonly','true'); $this->generateDoubleSection([$dkimthurdata, $dkim]); $this->generateDoubleSection([new Hidden('infomaildomain'), new Hidden('id')]); $this->generateDoubleSection([new Hidden('selfdns'), new Hidden('dnsok')]); } }