| @@ 1067-1073 (lines=7) @@ | ||
| 1064 | $selectWrap->appendChild($select); |
|
| 1065 | $fieldset->appendChild($selectWrap); |
|
| 1066 | } |
|
| 1067 | if ($this->is('allow_new')) { |
|
| 1068 | $fieldset->appendChild(new XMLElement('button', __('Create new'), array( |
|
| 1069 | 'type' => 'button', |
|
| 1070 | 'class' => 'create', |
|
| 1071 | 'data-create' => '', |
|
| 1072 | ))); |
|
| 1073 | } |
|
| 1074 | if ($this->is('allow_link')) { |
|
| 1075 | $fieldset->appendChild(new XMLElement('button', __('Link to entry'), array( |
|
| 1076 | 'type' => 'button', |
|
| @@ 1074-1080 (lines=7) @@ | ||
| 1071 | 'data-create' => '', |
|
| 1072 | ))); |
|
| 1073 | } |
|
| 1074 | if ($this->is('allow_link')) { |
|
| 1075 | $fieldset->appendChild(new XMLElement('button', __('Link to entry'), array( |
|
| 1076 | 'type' => 'button', |
|
| 1077 | 'class' => 'link', |
|
| 1078 | 'data-link' => '', |
|
| 1079 | ))); |
|
| 1080 | } |
|
| 1081 | $wrap->appendChild($fieldset); |
|
| 1082 | } |
|
| 1083 | else { |
|