getWhmcsParamByKey('domain'); $maildomain = $this->getRequestValue('actionElementId'); if($domain != $maildomain) { $infoalias = new Info('infoalias'); $infoalias->setId('infoalias'); $infoalias->setName('infoalias'); $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]); } }