clipbucket/upload/styles/cbv3/layout/user_contacts.html
Fawaz 78060d00bb Added : get_private_thumb function
Updated : functions_dashboard.php functions comments
Removed : Unwanted options from add_dashboard_widget
Added : Private collections photos will now show private thumb
Registered : get_photo_private_function @custom_get_photo_funcs
Changed : video thumb size to 300x250
Updated : default, search and view_channel styles
Fixed : Search options z-index bug
2013-01-02 07:01:24 +00:00

61 lines
No EOL
3.4 KiB
HTML

{lang code='channel' assign='object_type'}
{include file="$style_dir/global_header.html"}
<body class="relative view_channel">
{display_user_custom_background( $u )}
<div class="container view-channel-container">
{include_template_file file="header.html" }
<div id="global-container" class="relative clearfix">
{include file="$style_dir/message.html"}
<div class="view-channel-box user-info-box clearfix">
<a href="{$userquery->profile_link($u)}"><img src="{avatar size='small' details=$u}" width="30" height="30" /> {name($u)}</a>
</div>
<div class="view-channel-box user-pages-navigation-container clearfix">
<div class="user-pages-navigation">
<ul class="user-pages-list">
<li{if $mode == '' || $mode == 'contacts'} class="active"{/if}><a href="{link name='user_contacts'}{$u.username}">{lang code='Contacts'}<span>{count($friends)}</span></a></li>
<li{if $mode == 'subscriptions'} class="active"{/if}><a href="{link name='user_subscriptions'}{$u.username}">{lang code='Subscriptions'}<span>{$u.total_subscriptions}</span></a></li>
<li{if $mode == 'subscribers'} class="active"{/if}><a href="{link name='user_subscribers'}{$u.username}">{lang code='Subscribers'}<span>{$u.subscribers|number_format}</span></a></li>
</ul>
</div>
</div>
<div class="view-channel-box clearfix">
{if $mode == '' || $mode == 'contacts'}
<div class="view-channel-box-header"><h4>{lang code="%s's Contacts"|sprintf:$u.username}</h4></div>
<div class="view-channel-box-content clearfix">
{if $friends}
<ul class="user-contacts">
{foreach $friends as $friend}
{if $u.userid!=$friend.userid}
{assign var=user_detail value=$userquery->get_user_details($friend.userid)}
{else}
{assign var=user_detail value=$userquery->get_user_details($friend.contact_userid)}
{/if}
{include_template_file file='blocks/user.html' user=$user_detail display_method='user_contacts'}
{/foreach}
</ul>
{else}
<p class="alert alert-large">This user has no contacts</p>
{/if}
</div>
{else}
<div class="view-channel-box-header"><h4>{$heading}</h4></div>
<div class="view-channel-box-content clearfix">
{if $userSubs}
<ul class="user-contacts">
{foreach $userSubs as $sub}
{include_template_file file='blocks/user.html' user=$sub display_method='user_contacts'}
{/foreach}
</ul>
{else}
<p class="alert alert-large">{$no_subs_found}</p>
{/if}
</div>
{/if}
<div class="view-channel-box-footer">
this is footer
</div>
</div>
</div>
</div>
</body>
</html>