|
@@ -3961,16 +3961,16 @@ function get_thread_user_post($course_db, $thread_id, $user_id )
|
|
|
$hand_forums.= '</div>';
|
|
|
}
|
|
|
$i++;
|
|
|
- }
|
|
|
- if ($post_counter > 0 ) {
|
|
|
- $forum_results .='<div id="social-forum">';
|
|
|
- $forum_results .='<div class="clear"></div><br />';
|
|
|
- $forum_results .='<div class="actions" style="margin-left:5px;margin-right:5px;">'.Display::return_icon('forum.gif',get_lang('Forum')).' '.$forum['forum_title'].' <div style="float:right;margin-top:-18px"><a href="../forum/viewforum.php?cidReq='.$my_course_code.'&gidReq=&forum='.$forum['forum_id'].' " >'.get_lang('SeeForum').'</a></div></div>';
|
|
|
- $forum_results .='<br / >';
|
|
|
+ }
|
|
|
+ $forum_results .='<div id="social-forum">';
|
|
|
+ $forum_results .='<div class="clear"></div><br />';
|
|
|
+ $forum_results .='<div class="actions" style="margin-left:5px;margin-right:5px;">'.Display::return_icon('forum.gif',get_lang('Forum')).' '.$forum['forum_title'].' <div style="float:right;margin-top:-18px"><a href="../forum/viewforum.php?cidReq='.$my_course_code.'&gidReq=&forum='.$forum['forum_id'].' " >'.get_lang('SeeForum').'</a></div></div>';
|
|
|
+ $forum_results .='<br / >';
|
|
|
+ if ($post_counter > 0 ) {
|
|
|
$forum_results .=$hand_forums;
|
|
|
- $forum_results .='</div>';
|
|
|
- }
|
|
|
- } $j++;
|
|
|
+ }
|
|
|
+ $forum_results .='</div>';
|
|
|
+ }$j++;
|
|
|
}
|
|
|
}
|
|
|
return $forum_results;
|