@@ 2683-2685 (lines=3) @@ | ||
2680 | $form->addElement('html', '</div>'); |
|
2681 | } |
|
2682 | ||
2683 | if ($forumSetting['allow_sticky'] && api_is_allowed_to_edit(null, true)) { |
|
2684 | $form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
|
2685 | } |
|
2686 | ||
2687 | $form->addElement('html', '</div>'); |
|
2688 | ||
@@ 2864-2866 (lines=3) @@ | ||
2861 | $form->addElement('html', '</div>'); |
|
2862 | } |
|
2863 | ||
2864 | if ($forum_setting['allow_sticky'] && api_is_allowed_to_edit(null, true) && $action == 'newthread') { |
|
2865 | $form->addElement('checkbox', 'thread_sticky', '', get_lang('StickyPost')); |
|
2866 | } |
|
2867 | ||
2868 | if ($current_forum['allow_attachments'] == '1' || api_is_allowed_to_edit(null, true)) { |
|
2869 | $values = $form->exportValues(); |