| @@ 1102-1108 (lines=7) @@ | ||
| 1099 | $selectWrap->appendChild($select); |
|
| 1100 | $fieldset->appendChild($selectWrap); |
|
| 1101 | } |
|
| 1102 | if ($this->is('allow_new')) { |
|
| 1103 | $fieldset->appendChild(new XMLElement('button', __('Create new'), array( |
|
| 1104 | 'type' => 'button', |
|
| 1105 | 'class' => 'create', |
|
| 1106 | 'data-create' => '', |
|
| 1107 | ))); |
|
| 1108 | } |
|
| 1109 | if ($this->is('allow_link')) { |
|
| 1110 | $fieldset->appendChild(new XMLElement('button', __('Link to entry'), array( |
|
| 1111 | 'type' => 'button', |
|
| @@ 1109-1115 (lines=7) @@ | ||
| 1106 | 'data-create' => '', |
|
| 1107 | ))); |
|
| 1108 | } |
|
| 1109 | if ($this->is('allow_link')) { |
|
| 1110 | $fieldset->appendChild(new XMLElement('button', __('Link to entry'), array( |
|
| 1111 | 'type' => 'button', |
|
| 1112 | 'class' => 'link', |
|
| 1113 | 'data-link' => '', |
|
| 1114 | ))); |
|
| 1115 | } |
|
| 1116 | $wrap->appendChild($fieldset); |
|
| 1117 | } |
|
| 1118 | else { |
|