@ -919,7 +919,9 @@ class MessageManager
$html.= '< / div > ';
$html.= '< br / > ';
$html.= '< div class = "message-group-author" > '.get_lang('From').' < a href = "'.api_get_path(WEB_PATH).'main/social/profile.php?u='.$topic['user_sender_id'].'" > '.$name.' < / a > < / div > ';
$image_path = UserManager::get_user_picture_path_by_id($topic['user_sender_id'], 'web', false, true); $image_repository = $image_path['dir'];
$existing_image = $image_path['file'];
$html.= '< div class = "message-group-author" > < img src = "'.$image_repository.$existing_image.'" alt = "'.$name.'" width = "44" height = "44" title = "'.$name.'" / > < a href = "'.api_get_path(WEB_PATH).'main/social/profile.php?u='.$topic['user_sender_id'].'" > '.$name.' < / a > < / div > ';
$html.= '< div class = "message-group-content" > '.$topic['content'].'< / div > ';
$html.= '< div class = "message-attach" > '.(!empty($files_attachments)?implode(' | ',$files_attachments):'').'< / div > ';
$html.= '< / div > ';
@ -947,8 +949,10 @@ class MessageManager
$html_items.= ' < a href = "'.api_get_path(WEB_CODE_PATH).'social/message_for_group_form.inc.php?view_panel=1&height=390&width=610&&user_friend='.$current_user_id.'&group_id='.$group_id.'&message_id='.$item['id'].'&action=edit_message_group&anchor_topic=topic_'.$topic['id'].'&topics_page_nr='.intval($_GET['topics_page_nr']).'&items_page_nr='.intval($items_page_nr).'&topic_id='.$topic['id'].'" class = "thickbox" title = "'.get_lang('Edit').'" > '.Display :: return_icon('edit.gif', get_lang('Edit')).'< / a > ';
}
$html_items.= '< / div > ';
$html_items.= '< div class = "message-group-title" > '.Security::remove_XSS($item['title']).' < / div > ';
$html_items.= '< div class = "message-group-author" > '.get_lang('From').' < a href = "'.api_get_path(WEB_PATH).'main/social/profile.php?u='.$item['user_sender_id'].'" > '.$name.' < / a > < / div > ';
$html_items.= '< div class = "message-group-title" > '.Security::remove_XSS($item['title']).' < / div > ';
$image_path = UserManager::get_user_picture_path_by_id($topic['user_sender_id'], 'web', false, true); $image_repository = $image_path['dir'];
$existing_image = $image_path['file'];
$html_items.= '< div class = "message-group-author" > < img src = "'.$image_repository.$existing_image.'" alt = "'.$name.'" width = "44" height = "44" title = "'.$name.'" / > < a href = "'.api_get_path(WEB_PATH).'main/social/profile.php?u='.$item['user_sender_id'].'" > '.$name.' < / a > < / div > ';
$html_items.= '< div class = "message-group-content" > '.$item['content'].'< / div > ';
if ($item['send_date'] != $item['update_date']) {