| @@ 2881-2883 (lines=3) @@ | ||
| 2878 | $form->addElement('html', '</div>'); |
|
| 2879 | } |
|
| 2880 | ||
| 2881 | if ($forum_setting['allow_sticky'] && api_is_allowed_to_edit(null, true) && $action == 'newthread') { |
|
| 2882 | $form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
|
| 2883 | } |
|
| 2884 | ||
| 2885 | if (in_array($action, ['quote', 'replymessage'])) { |
|
| 2886 | $form->addFile('user_upload[]', get_lang('Attachment')); |
|
| @@ 212-214 (lines=3) @@ | ||
| 209 | $form->addElement('html', '</div>'); |
|
| 210 | } |
|
| 211 | ||
| 212 | if ($forumSettings['allow_sticky'] && api_is_allowed_to_edit(null, true)) { |
|
| 213 | $form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
|
| 214 | } |
|
| 215 | ||
| 216 | $form->addElement('html', '</div>'); |
|
| 217 | ||