|
@@ 1051-1060 (lines=10) @@
|
| 1048 |
|
$this->Form->appendChild($primary); |
| 1049 |
|
} |
| 1050 |
|
|
| 1051 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1052 |
|
$sidebar = new XMLElement('fieldset'); |
| 1053 |
|
$sidebar->setAttribute('class', 'secondary column'); |
| 1054 |
|
|
| 1055 |
|
foreach ($sidebar_fields as $field) { |
| 1056 |
|
$sidebar->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1057 |
|
} |
| 1058 |
|
|
| 1059 |
|
$this->Form->appendChild($sidebar); |
| 1060 |
|
} |
| 1061 |
|
|
| 1062 |
|
$div = new XMLElement('div'); |
| 1063 |
|
$div->setAttribute('class', 'actions'); |
|
@@ 1350-1359 (lines=10) @@
|
| 1347 |
|
$this->Form->appendChild($primary); |
| 1348 |
|
} |
| 1349 |
|
|
| 1350 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1351 |
|
$sidebar = new XMLElement('fieldset'); |
| 1352 |
|
$sidebar->setAttribute('class', 'secondary column'); |
| 1353 |
|
|
| 1354 |
|
foreach ($sidebar_fields as $field) { |
| 1355 |
|
$sidebar->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1356 |
|
} |
| 1357 |
|
|
| 1358 |
|
$this->Form->appendChild($sidebar); |
| 1359 |
|
} |
| 1360 |
|
|
| 1361 |
|
$div = new XMLElement('div'); |
| 1362 |
|
$div->setAttribute('class', 'actions'); |