@ -165,7 +165,7 @@ if ($message<>'PostDeletedSpecial') {// in this case the first and only post of
if (api_is_allowed_to_edit(false,true) OR ($current_forum['allow_new_threads']==1 AND isset($_user['user_id'])) 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) {
@ -189,12 +189,12 @@ if ($my_message<>'PostDeletedSpecial') {
if ((api_is_allowed_to_edit(false,true) && !(api_is_course_coach() && $current_forum['session_id']!=$_SESSION['id_session'])) OR ($current_forum['allow_new_threads']==1 AND isset($_user['user_id'])) 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) {
echo ' ';
if ( isset($_GET['gradebook']) && $_GET['gradebook']!=""){
/* if ( isset($_GET['gradebook']) && $_GET['gradebook']!=""){