|
@@ 1114-1123 (lines=10) @@
|
| 1111 |
|
$this->Form->appendChild($primary); |
| 1112 |
|
} |
| 1113 |
|
|
| 1114 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1115 |
|
$sidebar = new XMLElement('fieldset'); |
| 1116 |
|
$sidebar->setAttribute('class', 'secondary column'); |
| 1117 |
|
|
| 1118 |
|
foreach ($sidebar_fields as $field) { |
| 1119 |
|
$sidebar->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1120 |
|
} |
| 1121 |
|
|
| 1122 |
|
$this->Form->appendChild($sidebar); |
| 1123 |
|
} |
| 1124 |
|
|
| 1125 |
|
$div = new XMLElement('div'); |
| 1126 |
|
$div->setAttribute('class', 'actions'); |
|
@@ 1775-1784 (lines=10) @@
|
| 1772 |
|
$this->Form->appendChild($primary); |
| 1773 |
|
} |
| 1774 |
|
|
| 1775 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1776 |
|
$sidebar = new XMLElement('fieldset'); |
| 1777 |
|
$sidebar->setAttribute('class', 'secondary column'); |
| 1778 |
|
|
| 1779 |
|
foreach ($sidebar_fields as $field) { |
| 1780 |
|
$sidebar->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1781 |
|
} |
| 1782 |
|
|
| 1783 |
|
$this->Form->appendChild($sidebar); |
| 1784 |
|
} |
| 1785 |
|
|
| 1786 |
|
$div = new XMLElement('div'); |
| 1787 |
|
$div->setAttribute('class', 'actions'); |