@@ 1134-1140 (lines=7) @@ | ||
1131 | $selectWrap->appendChild($select); |
|
1132 | $fieldset->appendChild($selectWrap); |
|
1133 | } |
|
1134 | if ($this->is('allow_new')) { |
|
1135 | $fieldset->appendChild(new XMLElement('button', __('Create new'), array( |
|
1136 | 'type' => 'button', |
|
1137 | 'class' => 'create', |
|
1138 | 'data-create' => '', |
|
1139 | ))); |
|
1140 | } |
|
1141 | if ($this->is('allow_link')) { |
|
1142 | $fieldset->appendChild(new XMLElement('button', __('Link to entry'), array( |
|
1143 | 'type' => 'button', |
|
@@ 1141-1147 (lines=7) @@ | ||
1138 | 'data-create' => '', |
|
1139 | ))); |
|
1140 | } |
|
1141 | if ($this->is('allow_link')) { |
|
1142 | $fieldset->appendChild(new XMLElement('button', __('Link to entry'), array( |
|
1143 | 'type' => 'button', |
|
1144 | 'class' => 'link', |
|
1145 | 'data-link' => '', |
|
1146 | ))); |
|
1147 | } |
|
1148 | $wrap->appendChild($fieldset); |
|
1149 | } |
|
1150 | else { |