|
@@ 1106-1112 (lines=7) @@
|
| 1103 |
|
|
| 1104 |
|
$this->pageAlert($message, Alert::ERROR); |
| 1105 |
|
} else { |
| 1106 |
|
if (is_array($main_fields) && !empty($main_fields)) { |
| 1107 |
|
foreach ($main_fields as $field) { |
| 1108 |
|
$primary->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1109 |
|
} |
| 1110 |
|
|
| 1111 |
|
$this->Form->appendChild($primary); |
| 1112 |
|
} |
| 1113 |
|
|
| 1114 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1115 |
|
$sidebar = new XMLElement('fieldset'); |
|
@@ 1767-1773 (lines=7) @@
|
| 1764 |
|
|
| 1765 |
|
$this->pageAlert($message, Alert::ERROR); |
| 1766 |
|
} else { |
| 1767 |
|
if (is_array($main_fields) && !empty($main_fields)) { |
| 1768 |
|
foreach ($main_fields as $field) { |
| 1769 |
|
$primary->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1770 |
|
} |
| 1771 |
|
|
| 1772 |
|
$this->Form->appendChild($primary); |
| 1773 |
|
} |
| 1774 |
|
|
| 1775 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1776 |
|
$sidebar = new XMLElement('fieldset'); |