clipbucket/upload/styles/cbv2new/layout/blocks/upload_head.html
Fawaz 828cd40cb4 Added : SEO Links for item
Added : CSS for collections and photos
Added : New Ajax Requests in ajax.php
Updated : collection.class.php
Added : ID parameter in radio and checkbox type input fields
Fixed : get_users count_only parameter
Added : photos.class.php in common.php
Added : function fetch() which will store all Template HTML in a variable. Is useful for JSON
Added : New functions in function.js
Fixed : PakPlayer autoPlay Feature
Added : A lot of new pages
2010-12-14 13:53:51 +00:00

54 lines
No EOL
3.1 KiB
HTML

{if $smarty.get.collection}
{assign var=c value=$cbphoto->collection->get_collection($smarty.get.collection)}
{if $cbphoto->is_addable($c.collection_id)}
<div class="clearfix photoBox">
<div style="background:#FFF; text-align:center; border-bottom:1px solid #ccc; color:#666; padding:8px; font:normal 11px Tahoma;">You are about to add new photos in <strong>{$c.collection_name}</strong></div>
<div class="clearfix" style="padding:8px">
<div class="moveL">
<img src="{$cbcollection->get_thumb($c,'small',TRUE)}" style="padding:2px; border:1px solid #ccc; background:#FFF;" />
</div>
<div class="moveL" style="margin-left:10px;">
<div class="photoTitle"><a href="{$cbcollection->collection_links($c,'view')}" style="text-transform:uppercase;">{$c.collection_name}</a></div>
<div style="height:5px;"></div>
<div style="color:#666; font:normal 10px Tahoma, Geneva, sans-serif;">
Total Items: {$c.total_objects} <div style="height:3px;"></div>
Views: {$c.views|number_format} <div style="height:3px;"></div>
Date Added: {$c.date_added|niceTime}
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
{else}
<div class="clearfix photoBox">
<div style="background:#FFF; text-align:center; border-bottom:1px solid #ccc; color:#666; padding:8px; font:normal 11px Tahoma;">You can not add new photos in collection because of following reasons:</div>
<div style="padding:8px; font:normal 11px Tahoma; color:#666;">
<li style="list-style:none">Collection does not exist.</li>
<li style="list-style:none">It is unactive.</li>
<li style="list-style:none">It is private.</li>
<li style="list-style:none">Your are not own of collection.</li>
<li style="list-style:none; margin-top:5px; font-weight:bold;">You can select collection once your photos have been uploaded.</li>
</div>
</div>
{/if}
{else}
{if !$c}
<div class="photoBox clearfix">
<div style="background:#FFF; text-align:center; border-bottom:1px solid #ccc; color:#666; padding:8px; font:bold 11px Tahoma;">Create Collection</div>
{assign var='reqFields' value=$cbcollection->load_required_fields()}
<div class="CollectionResult" id="CollectionResult" style="display:none;"></div>
<div class="clearfix" style="padding:8px;" id="CollectionDIV" >
{foreach from=$reqFields item=field}
{if $field.id != 'type'}
<div class="field clearfix" style="margin-bottom:3px;">
<label for="{$field.id}" style="font:bold 11px Tahoma; width:100px;" class="moveL">{$field.title}</label> &nbsp;
{$formObj->createField($field)}
</div>
{/if}
{/foreach}
<div class="moveR"><button type="button" onclick="ajax_add_collection(this);" class="LoadMoreButton">Add Collection</button></div>
</div>
</div>
{/if}
{/if}