|
@@ 2986-2988 (lines=3) @@
|
| 2983 |
|
$form->addElement('html', '</div>'); |
| 2984 |
|
} |
| 2985 |
|
|
| 2986 |
|
if ($forum_setting['allow_sticky'] && api_is_allowed_to_edit(null, true) && $action == 'newthread') { |
| 2987 |
|
$form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
| 2988 |
|
} |
| 2989 |
|
|
| 2990 |
|
if (in_array($action, ['quote', 'replymessage'])) { |
| 2991 |
|
$form->addFile('user_upload[]', get_lang('Attachment')); |
|
@@ 2809-2811 (lines=3) @@
|
| 2806 |
|
$form->addElement('html', '</div>'); |
| 2807 |
|
} |
| 2808 |
|
|
| 2809 |
|
if ($forumSetting['allow_sticky'] && api_is_allowed_to_edit(null, true)) { |
| 2810 |
|
$form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
| 2811 |
|
} |
| 2812 |
|
|
| 2813 |
|
$form->addElement('html', '</div>'); |
| 2814 |
|
|