| @@ 210-212 (lines=3) @@ | ||
| 207 | $form->addElement('html', '</div>'); |
|
| 208 | } |
|
| 209 | ||
| 210 | if ($forumSettings['allow_sticky'] && api_is_allowed_to_edit(null, true)) { |
|
| 211 | $form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
|
| 212 | } |
|
| 213 | ||
| 214 | $form->addElement('html', '</div>'); |
|
| 215 | ||
| @@ 2928-2930 (lines=3) @@ | ||
| 2925 | $form->addElement('html', '</div>'); |
|
| 2926 | } |
|
| 2927 | ||
| 2928 | if ($forum_setting['allow_sticky'] && api_is_allowed_to_edit(null, true) && $action == 'newthread') { |
|
| 2929 | $form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
|
| 2930 | } |
|
| 2931 | ||
| 2932 | if (in_array($action, ['quote', 'replymessage'])) { |
|
| 2933 | $form->addFile('user_upload[]', get_lang('Attachment')); |
|