|
|
@@ -9,6 +9,7 @@ use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Forms\SortedFieldForm;
|
|
|
use ThurData\Servers\KerioEmail\App\UI\Client\Setting\Sections\AdditionalSection;
|
|
|
use ThurData\Servers\KerioEmail\App\UI\Client\Setting\Sections\GeneralSection;
|
|
|
use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\FormConstants;
|
|
|
+use function ThurData\Servers\KerioEmail\Core\Helper\di;
|
|
|
|
|
|
class InfoForm extends SortedFieldForm implements ClientArea
|
|
|
{
|
|
|
@@ -31,7 +32,12 @@ class InfoForm extends SortedFieldForm implements ClientArea
|
|
|
|
|
|
private function initFields()
|
|
|
{
|
|
|
- $this->addSection(new GeneralSection());
|
|
|
+ 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>';
|
|
|
+ $section = new GeneralSection();
|
|
|
+ $sectionaddInternalAlert($message, null, 100);
|
|
|
+ $this->addSection($section);
|
|
|
$this->addSection(new AdditionalSection());
|
|
|
|
|
|
}
|