getWhmcsParamByKey('domain'); $maildomain = $this->getRequestValue('actionElementId'); if($domain != $maildomain) { $infoalias = new Info('infoaliasdomain'); $infoalias->setId('infoaliasdomain'); $infoalias->setName('infoaliasdomain'); $infoalias->setTitle($maildomain); $infoalias->setDescription('infoaliasmessage'); $this->addField($infoalias); } $dkimsigenabled = new Switcher('dkimsigenabled'); $dkimsigenabled->addHtmlAttribute('disabled', true); $this->generateDoubleSection([$dkimsigenabled]); $tfaenabled = new Switcher('tfaenabled'); $tfaenabled->addHtmlAttribute('disabled', true); $this->generateDoubleSection([$tfaenabled]); } }