|
|
@@ -26,11 +26,16 @@ class GeneralSection extends FreeFieldsSection
|
|
|
|
|
|
public function initContent()
|
|
|
{
|
|
|
- $row = new InputGroup('MX');
|
|
|
- $row->addInputComponent((new Text('mxthurdata'))->addHtmlAttribute('readonly','true')->setDescription('description'));
|
|
|
- $row->addInputAddon('', false, '⇔');
|
|
|
- $row->addInputComponent((new InputGroupElements\Text('mxactive'))->addHtmlAttribute('readonly','true'));
|
|
|
- $this->addSection($row);
|
|
|
+ $mxthurdata = new Text('mxthurdata');
|
|
|
+ $mxthurdata->addHtmlAttribute('readonly','true');
|
|
|
+ $mxthurdata->setDescription('description');
|
|
|
+
|
|
|
+ $mxactive = new Text('mxactive');
|
|
|
+ $mxactive->addHtmlAttribute('readonly','true');
|
|
|
+ $mxactive->setDescription('description');
|
|
|
+
|
|
|
+ $this->generateDoubleSection([$mxthurdata, $mxactive]);
|
|
|
+
|
|
|
$row = new InputGroup('SPF');
|
|
|
$row->addInputComponent((new InputGroupElements\Text('spfthurdata'))->addHtmlAttribute('readonly','true'));
|
|
|
$row->addInputAddon('', false, '⇔');
|