|
@@ 1052-1061 (lines=10) @@
|
| 1049 |
|
$this->Form->appendChild($primary); |
| 1050 |
|
} |
| 1051 |
|
|
| 1052 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1053 |
|
$sidebar = new XMLElement('fieldset'); |
| 1054 |
|
$sidebar->setAttribute('class', 'secondary column'); |
| 1055 |
|
|
| 1056 |
|
foreach ($sidebar_fields as $field) { |
| 1057 |
|
$sidebar->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1058 |
|
} |
| 1059 |
|
|
| 1060 |
|
$this->Form->appendChild($sidebar); |
| 1061 |
|
} |
| 1062 |
|
|
| 1063 |
|
$div = new XMLElement('div'); |
| 1064 |
|
$div->setAttribute('class', 'actions'); |
|
@@ 1366-1375 (lines=10) @@
|
| 1363 |
|
$this->Form->appendChild($primary); |
| 1364 |
|
} |
| 1365 |
|
|
| 1366 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1367 |
|
$sidebar = new XMLElement('fieldset'); |
| 1368 |
|
$sidebar->setAttribute('class', 'secondary column'); |
| 1369 |
|
|
| 1370 |
|
foreach ($sidebar_fields as $field) { |
| 1371 |
|
$sidebar->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1372 |
|
} |
| 1373 |
|
|
| 1374 |
|
$this->Form->appendChild($sidebar); |
| 1375 |
|
} |
| 1376 |
|
|
| 1377 |
|
$div = new XMLElement('div'); |
| 1378 |
|
$div->setAttribute('class', 'actions'); |