Файл: base-sys/base/views/components/floatbox_user_list.html
Строк: 21
<?php
{style}{literal}
div.peep_floatbox_user_list .peep_floatbox_user_list_row .peep_item_set3 {
width: 31%;
}
.peep_floatbox_user_list_scroll {
height: 400px;
overflow-y: auto;
}
{/literal}{/style}
{if !empty($list)}
<div class="peep_user_list peep_floatbox_user_list peep_full{if $scroll} peep_floatbox_user_list_scroll {/if}">
{foreach from=$list item=id name='user_list'}
{if $smarty.foreach.user_list.first}
<div class="clearfix peep_floatbox_user_list_row {cycle name="rows" values="peep_alt2, peep_alt1"}">
{/if}
{capture assign="_fields"}
{if !empty($fields)}
{foreach from=$fields[$id] item="field"}
{$field.label}{$field.value}<br />
{/foreach}
{/if}
{/capture}
{assign var="username" value=$usernameList[$id]}
{assign var="name" value=$displayNameList[$id]}
{capture assign='userUrl'}
{url_for_route for="base_user_profile:[username=>$username]"}
{/capture}
{decorator name="user_list_item"
avatar=$avatarList[$id]
userUrl= $userUrl
username=$username
displayName=$name
fields=$_fields
activity=''
set_class='peep_item_set3'}
{if $smarty.foreach.user_list.iteration % 3 == 0 && !$smarty.foreach.user_list.last}
</div>
<div class="clearfix peep_floatbox_user_list_row {cycle name="rows" values="peep_alt1,peep_alt2"}">
{/if}
{if $smarty.foreach.user_list.last}
</div>
{/if}
{/foreach}
</div>
{else}
<center>{text key="base+user_no_users"}</center>
{/if}
?>