clipbucket/upload/styles/cbv3/layout/blocks/photo.html
Fawaz d5f43443bb 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

74 lines
No EOL
3.8 KiB
HTML

{if $display_method == 'index_photos'}
<div class="pull-left photos-index" id="photo-{$photo.photo_id}-{$iteration}">
<a href="{$cbphoto->photo_links($photo,'view_photo')}" class="cbv3-index-photo">
<div class="index-photo">
<span>
{get_photo details=$photo size='m' output='html' style='max-width:none' height='140'}
</span>
</div>
<div class="index-photo large display-none">
<span>
{get_photo details=$photo size='l' output='html' style='max-width:none'}
</span>
</div>
</a>
</div>
{/if}
{if $display_method == 'index_sidebar'}
<div class="video-index-sidebar">
<a href="{$cbphoto->photo_links($photo,'view_photo')}" class="block height100" style="overflow: hidden;">
{get_photo details=$photo size='m' output='html' width='300' class='valignMid'}
</a>
<div class="height5"></div>
<a href="{$cbcollection->collection_links($photo,'vc')}" class="inlineblock"><h5>{$photo.collection_name|truncate:35}</h5></a>
<span class="pull-right font_12 muted">{$photo.views|number_format} {lang code='views'}</span>
</div>
<div class="height20"></div>
{/if}
{if !$display_method}
<div class="inlineblock valignTop {$photo.photo_id}-photo video-box" id="photo-{$photo.photo_id}-box" style="float:none;">
<a href="{$cbphoto->photo_links($photo,'view_photo')}" class="thumbnail inlineblock relative">
{get_photo details=$photo size='m' output='html'}
</a>
<div class="video-info-cont relative">
<div class="title"><a href="{$cbphoto->photo_links($photo,'view_photo')}">{$photo.photo_title}</a></div>
</div>
</div>
{/if}
{if $display_method == 'view_collection'}
<div class="view-collection-photos item-block image-not-loaded-background">
<a href="{view_photo_link($photo)}" class="block image-not-loaded-background relative collection-photo">
<div class="view-collection-photos-views display-none">{$photo.views|number_format} {lang code='views'}</div>
{get_photo details=$photo size='m' output='html'}
</a>
{if $add_collection_name == true}<h4><a href="{collection_links($photo,'vc')}">{$photo.collection_name}</a></h4>{/if}
<a href="{$userquery->profile_link($photo)}" class="user-thumb-container pull-left relative" style="background: url('{avatar uid=$photo.userid size=small}') center center no-repeat;"><span class="username">{$photo.username}</span><span class="date_added">{lang code='Added'}: {$photo.date_added|niceTime}</span></a>
</div>
{/if}
{if $display_method == 'view_item_sidebar'}
<li>
<a href="{view_photo_link($photo)}" class="clearfix photo-sidebar">
<div class="pull-left photo-sidebar-photo-thumb image-not-loaded-background">
{get_photo details=$photo size='t' output='html'}
</div>
<h5 class="collection-name">{$photo.collection_name}</h5>
<span class="muted">{$photo.views|number_format} {lang code='views'}</span>
</a>
</li>
{/if}
{if $display_method == 'view_channel'}
<div class="user-photo-block popover-class" rel="popover" data-title="{$photo.collection_name}" data-content="{$photo.photo_description|truncate:100} <div class='popover-footer'> {name($photo)} <div class='pull-right'>{$photo.views|number_format} {lang code='views'}</div> </div>" data-placement="left" data-trigger="hover" data-delay="500">
<a href="{view_photo_link($photo)}">
<div class="user-photo-thumb">
{$pd=json_decode($photo.photo_details,true)}
{$psize='m'}
<img src="{get_photo details=$photo size=$psize}" width="{$pd.$psize.width}" height="{$pd.$psize.height}" alt="{$photo.photo_title}" />
</div>
</a>
</div>
{/if}