| @@ 1056-1059 (lines=4) @@ | ||
| 1053 | if ($source == 'outbox') { |
|
| 1054 | $message_content .= get_lang('From').': <a href="'.api_get_path(WEB_PATH).'main/social/profile.php?u='.$user_sender_id.'">'.$name.'</a> '. |
|
| 1055 | api_strtolower(get_lang('To')).' <b>'.$receiverUserInfo['complete_name'].'</b>'; |
|
| 1056 | } else { |
|
| 1057 | $message_content .= get_lang('From').' <a href="'.api_get_path(WEB_PATH).'main/social/profile.php?u='.$user_sender_id.'">'.$name.'</a> '. |
|
| 1058 | api_strtolower(get_lang('To')).' <b>'.get_lang('Me').'</b>'; |
|
| 1059 | } |
|
| 1060 | } else { |
|
| 1061 | if ($source == 'outbox') { |
|
| 1062 | $message_content .= get_lang('From').': '.$name.'</b> '.api_strtolower(get_lang('To')).' <b>'.$receiverUserInfo['complete_name'].'</b>'; |
|
| @@ 822-828 (lines=7) @@ | ||
| 819 | $userPicture = UserManager::getUserPicture(api_get_user_id()); |
|
| 820 | $content = null; |
|
| 821 | ||
| 822 | if (api_get_setting('allow_social_tool') == 'true') { |
|
| 823 | $content .= '<a style="text-align:center" href="' . api_get_path(WEB_PATH) . 'main/social/home.php"> |
|
| 824 | <img class="img-circle" src="' . $userPicture . '" ></a>'; |
|
| 825 | } else { |
|
| 826 | $content .= '<a style="text-align:center" href="' . api_get_path(WEB_PATH) . 'main/auth/profile.php"> |
|
| 827 | <img class="img-circle" title="' . get_lang('EditProfile') . '" src="' . $userPicture. '" ></a>'; |
|
| 828 | } |
|
| 829 | ||
| 830 | $html = self::show_right_block( |
|
| 831 | null, |
|