
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
62 lines
No EOL
4.4 KiB
HTML
62 lines
No EOL
4.4 KiB
HTML
{if $control == 'full'}
|
|
<div class="account_vid_list clearfix" style="background-color:#{cycle values='FFFFFF,EFF5F8'}; padding:3px 0px">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td width="25"><input type="checkbox" name="check_photo[]" id="check_photo-{$photo.photo_id}" value="{$photo.photo_id}" /></td>
|
|
<td valign="middle">
|
|
<label for="check_photo-{$photo.photo_id}">{get_photo details=$photo output='html' class='acc_usr_video_thumb' style='width:auto;'}</label>
|
|
{$photo.photo_title|truncate:100}<br />
|
|
<span class="video_control">
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}">view</a> - <a href="{$baseurl}/edit_photo.php?photo={$photo.photo_id}">edit</a> - <a href="javascript:void(0)" onmousedown="delete_item('delete_icon_a','{$photo.photo_id}','{lang code="Are you sure you want to delete this photo? This action will delete photo permanently."}','?mode=uploaded&delete_photo={$photo.photo_id}')" id="delete_icon_a-{$photo.photo_id}">delete</a>
|
|
</span>
|
|
</td>
|
|
<td width="100">{$photo.date_added|date_format}</td>
|
|
<td width="100">{$photo.views|number_format}</td>
|
|
<td width="100">{$photo.total_comments|number_format}</td>
|
|
<td width="100" class="last_td">{$photo.total_favorites|number_format}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
{/if}
|
|
|
|
{if $control == "partail"}
|
|
<div class="account_vid_list clearfix" style="background-color:#{cycle values='FFFFFF,EFF5F8'}; padding:3px 0px">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td width="25"><input type="checkbox" name="check_photo[]" id="check_photo-{$photo.photo_id}" value="{$photo.photo_id}" /></td>
|
|
<td valign="middle">
|
|
<label for="check_photo-{$photo.photo_id}">{get_photo details=$photo output='html' class='acc_usr_video_thumb' style='width:auto;'}</label>
|
|
{$photo.photo_title|truncate:100}<br />
|
|
<span class="video_control">
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}">view</a> - <a href="javascript:void(0)" onmousedown="delete_video('delete_icon_a','{$photo.photo_id}','{lang code="Are you sure you want to remove photo from favorites?"}','?mode={$mode}&remove_fav_photo={$photo.photo_id}')" id="delete_icon_a-{$photo.photo_id}">{lang code='delete'}</a>
|
|
</span>
|
|
</td>
|
|
<td width="100">{$photo.date_added|date_format}</td>
|
|
<td width="100">{$photo.views|number_format}</td>
|
|
<td width="100">{$photo.total_comments|number_format}</td>
|
|
<td width="100" class="last_td">{$photo.total_favorites|number_format}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
{/if}
|
|
|
|
{if $control == 'orphan'}
|
|
<div class="account_vid_list clearfix" style="background-color:#{cycle values='FFFFFF,EFF5F8'}; padding:3px 0px">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td width="25"><input type="checkbox" name="check_photo[]" id="check_photo-{$photo.photo_id}" value="{$photo.photo_id}" /></td>
|
|
<td valign="middle">
|
|
<label for="check_photo-{$photo.photo_id}">{get_photo details=$photo output='html' class='acc_usr_video_thumb' style='width:auto;'}</label>
|
|
{$photo.photo_title|truncate:100}<br />
|
|
<span class="video_control">
|
|
<a href="{$baseurl}/edit_photo.php?photo={$photo.photo_id}">edit</a> - <a href="javascript:void(0)" onmousedown="delete_video('delete_icon_a','{$photo.photo_id}','{lang code="Are you sure you want to delete this photo? This action will delete photo permanently."}','?mode={$mode}&delete_orphan_photo={$photo.photo_id}')" id="delete_icon_a-{$photo.photo_id}">{lang code='delete'}</a>
|
|
</span>
|
|
</td>
|
|
<td width="100">{$photo.date_added|date_format}</td>
|
|
<td width="100">{$photo.views|number_format}</td>
|
|
<td width="100">{$photo.total_comments|number_format}</td>
|
|
<td width="100" class="last_td">{$photo.total_favorites|number_format}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
{/if} |