';
}
/* This was moved to user_portal.php
if (api_get_setting('allow_message_tool') == 'true') {
include api_get_path(LIBRARY_PATH).'message.lib.php';
$number_of_new_messages = MessageManager::get_new_messages();
$number_of_outbox_message = MessageManager::get_number_of_messages_sent();
$cant_out_box = ' ('.$number_of_outbox_message.')';
$cant_msg = ' ('.$number_of_new_messages.')';
$number_of_new_messages_of_friend = SocialManager::get_message_number_invitation_by_user_id(api_get_user_id());
//echo '
'.get_lang('Messages').'
'.get_lang('Inbox').$cant_msg.'
'.get_lang('Outbox').$cant_out_box.'
';
//if (api_get_setting('allow_social_tool') == 'true') {
// if ($number_of_new_messages_of_friend > 0) {
// echo '
';
// }
// }
echo '
.'delete.gif)
';
if ($number_of_new_messages_of_friend > 0) {
echo '
';
}
echo '