|
|
@@ -8,6 +8,7 @@ use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Text;
|
|
|
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Sections\InputGroup;
|
|
|
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\InputGroupElements;
|
|
|
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Hidden;
|
|
|
+use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Textarea;
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
@@ -26,6 +27,13 @@ class GeneralSection extends FreeFieldsSection
|
|
|
|
|
|
public function initContent()
|
|
|
{
|
|
|
+ di('lang')->absoluteT('dnsinfomessage') ? $message = di('lang')->absoluteT('dnsinfomessage') :
|
|
|
+ $message = 'DNS Informations for <b id="infoalertmaildomain" class="lu-alert--lg"></b>
|
|
|
+ <div id="addalertheader" class="lu-alert--lg"></div>';
|
|
|
+ $alert = new Textarea();
|
|
|
+ $alert->addInternalAlert($message, null, 100);
|
|
|
+ $this->addField($alert);
|
|
|
+
|
|
|
$mxthurdata = new Text('mxthurdata');
|
|
|
$mxthurdata->addHtmlAttribute('readonly','true');
|
|
|
$mxthurdata->setDescription('description');
|