26 lines
934 B
HTML
26 lines
934 B
HTML
{$requests=$userquery->get_friend_requests(userid(),['ignored'=>'no'])}
|
|
|
|
<div class="notifications">
|
|
<div class="notify_title">{lang code='Friends Requests'}</div>
|
|
<div class="seperator"></div>
|
|
|
|
<div class="notifications-container cbv3-scroller">
|
|
<div id="new_friends"></div>
|
|
{if $requests}
|
|
{foreach $requests as $request}
|
|
{if $request}
|
|
|
|
{if $request@last}{$last=true}{else}{$last=false}{/if}
|
|
|
|
{$block=get_template('friends_notifications_block','path')}
|
|
{include file=$block request=$request last=$last}
|
|
{/if}
|
|
{/foreach}
|
|
{else}
|
|
<div class="no_requests_notifications">{lang code='No friend requests'}</div>
|
|
{/if}
|
|
</div>
|
|
|
|
<div class="seperator"></div>
|
|
<div class="all_notifications"><a href="{$baseurl}/manage_contacts.php?mode=requests">{lang code='Show all Requests'}</a></div>
|
|
</div>
|