@@ 1210-1216 (lines=7) @@ | ||
1207 | $selectWrap->appendChild($select); |
|
1208 | $div->appendChild($selectWrap); |
|
1209 | } |
|
1210 | if ($this->is('allow_new')) { |
|
1211 | $div->appendChild(new XMLElement('button', __('Create new'), array( |
|
1212 | 'type' => 'button', |
|
1213 | 'class' => 'create', |
|
1214 | 'data-create' => '', |
|
1215 | ))); |
|
1216 | } |
|
1217 | if ($this->is('allow_link')) { |
|
1218 | $div->appendChild(new XMLElement('button', __('Link to entry'), array( |
|
1219 | 'type' => 'button', |
|
@@ 1217-1223 (lines=7) @@ | ||
1214 | 'data-create' => '', |
|
1215 | ))); |
|
1216 | } |
|
1217 | if ($this->is('allow_link')) { |
|
1218 | $div->appendChild(new XMLElement('button', __('Link to entry'), array( |
|
1219 | 'type' => 'button', |
|
1220 | 'class' => 'link', |
|
1221 | 'data-link' => '', |
|
1222 | ))); |
|
1223 | } |
|
1224 | $fieldset->appendChild($div); |
|
1225 | $wrap->appendChild($fieldset); |
|
1226 | } |