|
@@ 1044-1050 (lines=7) @@
|
| 1041 |
|
|
| 1042 |
|
$this->pageAlert($message, Alert::ERROR); |
| 1043 |
|
} else { |
| 1044 |
|
if (is_array($main_fields) && !empty($main_fields)) { |
| 1045 |
|
foreach ($main_fields as $field) { |
| 1046 |
|
$primary->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1047 |
|
} |
| 1048 |
|
|
| 1049 |
|
$this->Form->appendChild($primary); |
| 1050 |
|
} |
| 1051 |
|
|
| 1052 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1053 |
|
$sidebar = new XMLElement('fieldset'); |
|
@@ 1358-1364 (lines=7) @@
|
| 1355 |
|
|
| 1356 |
|
$this->pageAlert($message, Alert::ERROR); |
| 1357 |
|
} else { |
| 1358 |
|
if (is_array($main_fields) && !empty($main_fields)) { |
| 1359 |
|
foreach ($main_fields as $field) { |
| 1360 |
|
$primary->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1361 |
|
} |
| 1362 |
|
|
| 1363 |
|
$this->Form->appendChild($primary); |
| 1364 |
|
} |
| 1365 |
|
|
| 1366 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1367 |
|
$sidebar = new XMLElement('fieldset'); |