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