clipbucket/upload/styles/cbv2new/layout/blocks/manage/account_photo.html
Fawaz bae7755d65 Fixed : Move items within owner collections
Fixed : Ajax response is now in ajax.php
Fixed : Validation of photo uploading
Fixed : List of collections when user is not logged-in
Added : Description of orphan photos and direct link for sharing
Added : Copyright notice in photo_upload.html
Added : Few styles in main.css
2011-01-08 08:20:38 +00:00

62 lines
No EOL
4.5 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&amp;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}&amp;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="{get_photo size='o' details=$photo}">Direct Link</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}&amp;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}