|
@@ 1072-1081 (lines=10) @@
|
| 1069 |
|
$this->Form->appendChild($primary); |
| 1070 |
|
} |
| 1071 |
|
|
| 1072 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1073 |
|
$sidebar = new XMLElement('fieldset'); |
| 1074 |
|
$sidebar->setAttribute('class', 'secondary column'); |
| 1075 |
|
|
| 1076 |
|
foreach ($sidebar_fields as $field) { |
| 1077 |
|
$sidebar->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1078 |
|
} |
| 1079 |
|
|
| 1080 |
|
$this->Form->appendChild($sidebar); |
| 1081 |
|
} |
| 1082 |
|
|
| 1083 |
|
$div = new XMLElement('div'); |
| 1084 |
|
$div->setAttribute('class', 'actions'); |
|
@@ 1371-1380 (lines=10) @@
|
| 1368 |
|
$this->Form->appendChild($primary); |
| 1369 |
|
} |
| 1370 |
|
|
| 1371 |
|
if (is_array($sidebar_fields) && !empty($sidebar_fields)) { |
| 1372 |
|
$sidebar = new XMLElement('fieldset'); |
| 1373 |
|
$sidebar->setAttribute('class', 'secondary column'); |
| 1374 |
|
|
| 1375 |
|
foreach ($sidebar_fields as $field) { |
| 1376 |
|
$sidebar->appendChild($this->__wrapFieldWithDiv($field, $entry)); |
| 1377 |
|
} |
| 1378 |
|
|
| 1379 |
|
$this->Form->appendChild($sidebar); |
| 1380 |
|
} |
| 1381 |
|
|
| 1382 |
|
$div = new XMLElement('div'); |
| 1383 |
|
$div->setAttribute('class', 'actions'); |