1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 05:55:02 +03:00
ifhub.club/application/frontend/skin/synio/user_list_avatar.tpl

23 lines
654 B
Smarty

{**
* Список пользователей (аватары)
*}
{if $aUsersList}
<ul class="user-list-avatar">
{foreach $aUsersList as $oUserList}
{$oSession = $oUserList->getSession()}
<li>
<a href="{$oUserList->getUserWebPath()}" title="{$oUserList->getDisplayName()}"><img src="{$oUserList->getProfileAvatarPath(48)}" alt="avatar" class="avatar" /></a>
</li>
{/foreach}
</ul>
{else}
{if $sUserListEmpty}
{include file='alert.tpl' mAlerts=$sUserListEmpty sAlertStyle='empty'}
{else}
{include file='alert.tpl' mAlerts=$aLang.user_empty sAlertStyle='empty'}
{/if}
{/if}
{include file='pagination.tpl' aPaging=$aPaging}