Selaa lähdekoodia

test use sections

andre 3 kuukautta sitten
vanhempi
commit
c1aadb9504
1 muutettua tiedostoa jossa 3 lisäystä ja 10 poistoa
  1. 3 10
      app/UI/Client/Setting/Sections/AdditionalSection.php

+ 3 - 10
app/UI/Client/Setting/Sections/AdditionalSection.php

@@ -4,6 +4,7 @@ namespace ThurData\Servers\KerioEmail\App\UI\Client\Setting\Sections;
 
 use ThurData\Servers\KerioEmail\App\Traits\FormExtendedTrait;
 use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Sections\FreeFieldsSection;
+use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\BaseField;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Text;
 
 /**
@@ -23,17 +24,9 @@ class AdditionalSection extends FreeFieldsSection
 
     public function initContent()
     {
-        $this->generateDoubleSection([new Text('contact'), new Text('site')]);
+        $this->generateDoubleSection([new BaseField('test1'), new Text('test2')]);
 
-        $this->generateDoubleSection([new Text('contact_mail'), new Text('contact_phone')]);
-
-        $this->generateDoubleSection([new Text('street'), new Text('building')]);
-
-        $this->generateDoubleSection([new Text('floor'), new Text('room')]);
-
-        $this->generateDoubleSection([new Text('post_code'), new Text('town')]);
-
-        $this->generateDoubleSection([new Text('state'), new Text('county')]);
+        $this->generateDoubleSection([new Text('test3'), new Text('test4')]);
 
     }
 }