|
@@ 3000-3002 (lines=3) @@
|
| 2997 |
|
$form->addElement('html', '</div>'); |
| 2998 |
|
} |
| 2999 |
|
|
| 3000 |
|
if ($forum_setting['allow_sticky'] && api_is_allowed_to_edit(null, true) && $action == 'newthread') { |
| 3001 |
|
$form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
| 3002 |
|
} |
| 3003 |
|
|
| 3004 |
|
if (in_array($action, ['quote', 'replymessage'])) { |
| 3005 |
|
$form->addFile('user_upload[]', get_lang('Attachment')); |
|
@@ 2823-2825 (lines=3) @@
|
| 2820 |
|
$form->addElement('html', '</div>'); |
| 2821 |
|
} |
| 2822 |
|
|
| 2823 |
|
if ($forumSetting['allow_sticky'] && api_is_allowed_to_edit(null, true)) { |
| 2824 |
|
$form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
| 2825 |
|
} |
| 2826 |
|
|
| 2827 |
|
$form->addElement('html', '</div>'); |
| 2828 |
|
|