|
|
|
@ -295,7 +295,7 @@ if (api_is_allowed_to_edit(false, true) OR |
|
|
|
|
($current_forum['allow_new_threads'] == 1 AND !isset($_user['user_id']) AND $current_forum['allow_anonymous'] == 1) |
|
|
|
|
) { |
|
|
|
|
if ($current_forum['locked'] <> 1 AND $current_forum['locked'] <> 1) { |
|
|
|
|
if (!api_is_anonymous()) { |
|
|
|
|
if (!api_is_anonymous() && !api_is_invited_user()) { |
|
|
|
|
if ($my_forum == strval(intval($my_forum))) { |
|
|
|
|
echo '<a href="'.$forumUrl.'newthread.php?'.api_get_cidreq().'&forum='.Security::remove_XSS($my_forum).$origin_string.'">'. |
|
|
|
|
Display::return_icon('new_thread.png',get_lang('NewTopic'),'',ICON_SIZE_MEDIUM).'</a>'; |
|
|
|
|