|
@@ 1064-1070 (lines=7) @@
|
| 1061 |
|
|
| 1062 |
|
$this->pageAlert($message, Alert::ERROR); |
| 1063 |
|
} else { |
| 1064 |
|
if (is_array($main_fields) && !empty($main_fields)) { |
| 1065 |
|
foreach ($main_fields as $field) { |
| 1066 |
|
$primary->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1067 |
|
} |
| 1068 |
|
|
| 1069 |
|
$this->Form->appendChild($primary); |
| 1070 |
|
} |
| 1071 |
|
|
| 1072 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1073 |
|
$sidebar = new XMLElement('fieldset'); |
|
@@ 1363-1369 (lines=7) @@
|
| 1360 |
|
|
| 1361 |
|
$this->pageAlert($message, Alert::ERROR); |
| 1362 |
|
} else { |
| 1363 |
|
if (is_array($main_fields) && !empty($main_fields)) { |
| 1364 |
|
foreach ($main_fields as $field) { |
| 1365 |
|
$primary->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1366 |
|
} |
| 1367 |
|
|
| 1368 |
|
$this->Form->appendChild($primary); |
| 1369 |
|
} |
| 1370 |
|
|
| 1371 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1372 |
|
$sidebar = new XMLElement('fieldset'); |