
Added : user account files for photos and collections Added : function add onReload() in head.html Updated : photo_upload.html Updated : view_collection.html Updated : view_item.html to more simple page Added : view_photo.html Updated : watch_video.html. Displayed Collection form Updated : collections.class.php Added : new smarty functions Added : Photo Download Added : New function updateObjectStats Added : Photo Comment case Added : orphan_photos.php Fixed : Admin photo settings Updated : photo_uploader.php Updated : photo.class.php
24 lines
No EOL
1.5 KiB
HTML
24 lines
No EOL
1.5 KiB
HTML
{if $display_type == ""}
|
|
<div class="clearfix photo_block">
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' class='photoThumbBox moveL' style='margin-right:5px;'}</a>
|
|
<div class="photoTitle" style="margin-bottom:5px; font:bold 12px Arial;">
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a></div>
|
|
<span class="photoInfo" style="font:normal 11px Tahoma">
|
|
{$photo.views|number_format} {lang code="views"} <br/> {$photo.total_comments} {lang code="comments"}
|
|
<br />
|
|
<a href="{$cbcollection->collection_links($photo.collection_id,'view')}">{$photo.collection_id|get_collection_field}</a>
|
|
</span>
|
|
|
|
|
|
</div>
|
|
{/if}
|
|
|
|
{if $display_type == 'related_photos'}
|
|
<div class="relatedPhotos clearfix">
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' class='photoThumbBox moveL' style='margin-right:5px;'}</a>
|
|
<div class="photoTitle" style="margin-bottom:5px;"><a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a></div>
|
|
<span class="photoInfo">{$photo.views|number_format} {lang code="views"} <br/> {$photo.total_comments} {lang code="comments"}</span>
|
|
<div style="height:5px;"></div>
|
|
{show_rating rating=$photo.rating total='10' class='rating moveL'}
|
|
</div>
|
|
{/if} |