Browse Source

test use sections

andre 3 tháng trước cách đây
mục cha
commit
77a452f680

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

@@ -59,10 +59,10 @@ class GeneralSection extends FreeFieldsSection
         $this->generateDoubleSection([$dmarcthurdata, $dmarc]);
         $this->generateDoubleSection([$dmarcthurdata, $dmarc]);
 
 
         $dkimname = new Text('dkimname');
         $dkimname = new Text('dkimname');
-        $dkimname->addHtmlAttribute('readonly','true');
+        $dkimname->addHtmlAttribute('readonly','true')->addHtmlAttribute('border', 0);
         $dkimname->setDescription('description');
         $dkimname->setDescription('description');
 
 
-        $this->addField($dkimname);
+        $this->generateDoubleSection([$dkimname]);
 
 
         $dkimthurdata = new Text('dkimthurdata');
         $dkimthurdata = new Text('dkimthurdata');
         $dkimthurdata->addHtmlAttribute('readonly','true');
         $dkimthurdata->addHtmlAttribute('readonly','true');