|
@@ 2675-2677 (lines=3) @@
|
| 2672 |
|
$form->addElement('html', '</div>'); |
| 2673 |
|
} |
| 2674 |
|
|
| 2675 |
|
if ($forumSetting['allow_sticky'] && api_is_allowed_to_edit(null, true)) { |
| 2676 |
|
$form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
| 2677 |
|
} |
| 2678 |
|
|
| 2679 |
|
$form->addElement('html', '</div>'); |
| 2680 |
|
|
|
@@ 2854-2856 (lines=3) @@
|
| 2851 |
|
$form->addElement('html', '</div>'); |
| 2852 |
|
} |
| 2853 |
|
|
| 2854 |
|
if ($forum_setting['allow_sticky'] && api_is_allowed_to_edit(null, true) && $action == 'newthread') { |
| 2855 |
|
$form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
| 2856 |
|
} |
| 2857 |
|
|
| 2858 |
|
if ($current_forum['allow_attachments'] == '1' || api_is_allowed_to_edit(null, true)) { |
| 2859 |
|
$values = $form->exportValues(); |