|
|
|
@ -8,12 +8,13 @@ $this_section = SECTION_MYPROFILE; |
|
|
|
|
$_SESSION['this_section']=$this_section; |
|
|
|
|
api_block_anonymous_users(); |
|
|
|
|
$request=api_is_xml_http_request(); |
|
|
|
|
$language_variable=($request===true) ? mb_convert_encoding(get_lang('SocialInvitesComment'),'UTF-8',$charset) : get_lang('SocialInvitesComment'); |
|
|
|
|
$language_variable=($request===true) ? mb_convert_encoding(get_lang('PendingInvitations'),'UTF-8',$charset) : get_lang('PendingInvitations'); |
|
|
|
|
$language_comment=($request===true) ? mb_convert_encoding(get_lang('SocialInvitesComment'),'UTF-8',$charset) : get_lang('SocialInvitesComment'); |
|
|
|
|
api_display_tool_title($language_variable); |
|
|
|
|
?> |
|
|
|
|
<div class="actions"> |
|
|
|
|
<?php |
|
|
|
|
echo $language_variable; |
|
|
|
|
echo $language_comment; |
|
|
|
|
?> |
|
|
|
|
</div> |
|
|
|
|
<div id="id_response" align="center"></div> |
|
|
|
@ -25,7 +26,7 @@ $list_get_invitation=UserFriend::get_list_invitation_of_friends_by_user_id($user |
|
|
|
|
$list_get_path_web=UserFriend::get_list_web_path_user_invitation_by_user_id($user_id); |
|
|
|
|
$number_loop=count($list_get_invitation); |
|
|
|
|
if ($number_loop==0) { |
|
|
|
|
Display::display_normal_message(utf8_encode(get_lang('YouDontHaveInvites'))); |
|
|
|
|
Display::display_normal_message(mb_convert_encoding(get_lang('YouDontHaveInvites'),'UTF-8',$charset)); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
for ($i=0;$i<$number_loop;$i++) { |
|
|
|
|