| @@ 238-240 (lines=3) @@ | ||
| 235 | // sections |
|
| 236 | $sections = new XMLElement('div', null, array('class' => 'column')); |
|
| 237 | $this->appendSelectionSelect($sections); |
|
| 238 | if (is_array($errors) && isset($errors['sections'])) { |
|
| 239 | $sections = Widget::Error($sections, $errors['sections']); |
|
| 240 | } |
|
| 241 | $group->appendChild($sections); |
|
| 242 | ||
| 243 | // field |
|
| @@ 246-248 (lines=3) @@ | ||
| 243 | // field |
|
| 244 | $field = new XMLElement('div', null, array('class' => 'column')); |
|
| 245 | $this->appendFieldSelect($field); |
|
| 246 | if (is_array($errors) && isset($errors['field'])) { |
|
| 247 | $field = Widget::Error($field, $errors['field']); |
|
| 248 | } |
|
| 249 | $group->appendChild($field); |
|
| 250 | ||
| 251 | $wrapper->appendChild($fieldset); |
|
| @@ 1154-1156 (lines=3) @@ | ||
| 1151 | $sections = new XMLElement('fieldset'); |
|
| 1152 | ||
| 1153 | $this->appendSelectionSelect($sections); |
|
| 1154 | if (is_array($errors) && isset($errors['sections'])) { |
|
| 1155 | $sections = Widget::Error($sections, $errors['sections']); |
|
| 1156 | } |
|
| 1157 | $wrapper->appendChild($sections); |
|
| 1158 | ||
| 1159 | // elements |
|