|
@@ 1043-1049 (lines=7) @@
|
| 1040 |
|
|
| 1041 |
|
$this->pageAlert($message, Alert::ERROR); |
| 1042 |
|
} else { |
| 1043 |
|
if (is_array($main_fields) && !empty($main_fields)) { |
| 1044 |
|
foreach ($main_fields as $field) { |
| 1045 |
|
$primary->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1046 |
|
} |
| 1047 |
|
|
| 1048 |
|
$this->Form->appendChild($primary); |
| 1049 |
|
} |
| 1050 |
|
|
| 1051 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1052 |
|
$sidebar = new XMLElement('fieldset'); |
|
@@ 1342-1348 (lines=7) @@
|
| 1339 |
|
|
| 1340 |
|
$this->pageAlert($message, Alert::ERROR); |
| 1341 |
|
} else { |
| 1342 |
|
if (is_array($main_fields) && !empty($main_fields)) { |
| 1343 |
|
foreach ($main_fields as $field) { |
| 1344 |
|
$primary->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1345 |
|
} |
| 1346 |
|
|
| 1347 |
|
$this->Form->appendChild($primary); |
| 1348 |
|
} |
| 1349 |
|
|
| 1350 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1351 |
|
$sidebar = new XMLElement('fieldset'); |