andre 3 месяцев назад
Родитель
Сommit
6c8abbd785

+ 2 - 1
app/UI/Client/Setting/Sections/GeneralSection.php

@@ -37,7 +37,8 @@ class GeneralSection extends FreeFieldsSection
         if($dns->selfDns($maildomain)) {
             $infodns = new Info('infodns');
             $infodns->setId('infodns');
-            $infodns->setName($maildomain);
+            $infodns->setName('infodns');
+            $infodns->setTitle($maildomain);
             $infodns->setDescription('infodnsmessage');
             $info->addField($infodns);
         } else {

+ 1 - 1
templates/client/default/ui/core/default/widget/forms/fields/info.tpl

@@ -25,7 +25,7 @@
             {if $rawObject->getDescription()}{debug}
                 {$MGLANG->T($rawObject->getDescription())}
             {/if}
-            <b> {$rawObject->getName()}</b>
+            <b> {$rawObject->getTitle()}</b>
             <div id="infomessage"></div>
         </div>
     </div>