Explorar el Código

test use sections

andre hace 3 meses
padre
commit
2578f83fc2
Se han modificado 1 ficheros con 0 adiciones y 8 borrados
  1. 0 8
      app/UI/Client/Setting/Sections/GeneralSection.php

+ 0 - 8
app/UI/Client/Setting/Sections/GeneralSection.php

@@ -9,7 +9,6 @@ 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;
-use function ThurData\Servers\KerioEmail\Core\Helper\di;
 
 /**
  *
@@ -28,13 +27,6 @@ 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');