2012-10-03 19:00:29 +00:00
|
|
|
{if $display_method == 'index_sidebar'}
|
|
|
|
{if $subs == 'true'}
|
|
|
|
<li><a href="javascript:void(0)"><img src="{avatar uid=$user.subscribed_to size='small'}" width="25" class="marginR5" /> {$user.username}</a></li>
|
|
|
|
{else}
|
|
|
|
<li><a href="{$userquery->profile_link($user)}"><img src="{avatar uid=$user.userid size='small'}" width="25" class="marginR5" /> {$user.username}</a></li>
|
|
|
|
{/if}
|
Updated : upgrade_3.0.sql
Updated : edit_account.php, Now when avatar is set it redirects to user profile
Updated : EXIF Data url
Updated : queryString function regex. Old one was removing complete query string
Updated : display_manager_links(), now all variables except omo are removed from url
Added : Make profile link for photos @startup.php
Added : return_object_order in template_functions.php, This returns the order of provided omo value
Updated : Order checking @manage_collections.php and @manage_photos.php. Now only return_object_order is used
Updated : Updating of photo when it is uploaded
Updated : photo.html, single_feed.html, single_feed_comment.html, photo_form.html, user.html, video.html, /view_channel/feed.html, manage_photos.html, view_channel.html
Added : user_contacts.html, user_photos.html and user_videos.html
Added : autoComplete parameter for photo tagging
Updated : default.css, feeds.css and view_channel.css
Updated : user_contacts.php
Added : Next and Previous photos links @view_item.php
Fixed : Avatar Delete
Fixed : getProfileItem method of $userquery
2012-12-04 13:27:13 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $display_method == 'user_contacts'}
|
|
|
|
<li><a href="{$userquery->profile_link($user)}"><img src="{avatar details=$user}" width="60" height="60" /></a> <a href="{$userquery->profile_link($user)}">{name($user)}</a></li>
|
2012-12-24 13:53:48 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if !$display_method || $display_method == 'normal'}
|
|
|
|
<div class="user-block clearfix">
|
|
|
|
<div class="user-block-avatar"><a href="{$userquery->profile_link( $user )}"><img src="{avatar uid=$user.userid}" width="140" height="140" /></a></div>
|
|
|
|
<div class="user-block-details">
|
|
|
|
<h4 class="user-block-username"><a href="{$userquery->profile_link( $user )}">{name($user)}</a></h4>
|
|
|
|
<ul class="user-block-description unstyled">
|
|
|
|
<li>{$user.total_videos|number_format} {lang code='videos'}</li>
|
|
|
|
<li>{$user.total_photos|number_format} {lang code='photos'}</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<button class="btn btn-small btn-subscribe"><i class="icon-user"></i> Subscribe</button>
|
2012-12-31 13:39:09 +00:00
|
|
|
<button class="btn btn-small btn-add-friend" data-userid="{$user.userid}"><i class="icon-user"></i> Add friend</button>
|
2012-12-24 13:53:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-12-27 13:06:35 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $display_method == 'manage_subscriptions'}
|
|
|
|
<li>
|
|
|
|
<a href="{$userquery->profile_link($user)}"><img src="{avatar details=$user}" width="60" height="60" /></a> <a href="{$userquery->profile_link($user)}" class="sub-name">{name($user)}</a>
|
|
|
|
<a href="{$userquery->get_user_videos_link($user)}" class="sub-content">{lang code='View videos'}</a>
|
|
|
|
<a href="?mode=subscriptions&delete_subs={$user.subscribed_to}" class="btn btn-small sub-action"><i class="icon icon-remove"></i> {lang code='Remove'}</a>
|
|
|
|
</li>
|
2012-10-03 19:00:29 +00:00
|
|
|
{/if}
|