clipbucket/upload/styles/cbv3/layout/view_item.html
Fawaz ef791c0b7c Fixed : Admin Area Recreate thumbs page
Added : Set as avatar code
Added : Avatar Collection for user
Added : new param avatar_collection in get_collections() method
Fixed : crop value in thumbs_dimensions
Added : is_avatar param in get_photos() method
Added : photo_dimensions filter in generate_photos() method
Fixed : insert_photo() method
Moved : insert_photo_colors in insert_photo() method from view_item.php page
Updated : get_image_type() method
Updated : getFileSmarty() method
Added : An anchor in getFileSmarty() 'photo_thumb'
Fixed : cropping cases in resizer.class.php
Updated : $Upload->upload_user_file to upload_new_avatar
Removed : cb_create_user_avatar_collection() from common.php
Registered : delete_photo_avatar() function @delete_photo
Added : validate_image_file() function. It uses our old image.class.php method
Added : get_mature_thumb() function. It has three parameters, object_array, size, output. You can also register custom thumb @mature_thumb
Added : Few new functions for photos. get_all_custom_size_photos(), get_photo_dimensions(), clean_custom_photo_size(), get_avatar_photos() and is_photo_viewable()
Added : new js function, displayConfirm(). It accepts four parameters. id( modal box id), confirmMessage( modal box body), onConfirm( either url or function ) and heading(modal box header)
2012-05-28 07:10:27 +00:00

39 lines
No EOL
2.2 KiB
HTML

{assign var=pd value=$photo.photo_details|json_decode}
<h3 class="page-header"><a href="{$cbcollection->collection_links( $c, 'view_collection' )}">{$c.collection_name}</a> &raquo; {$photo.photo_title}</h3>
<div class="thumbnail inlineblock" style="width: {$pd.l.width}px">
{get_photo details=$object size='l' output='html'}
</div>
<div id="some" class="inlineblock marginL10 well" style="padding: 8px 0; vertical-align: top"></div>
<div id="private_message_photo_form" class="hide fade modal">
<div class="modal-header">
<h3>{lang code='new_private_msg'}</h3>
</div>
<form id="pm_msg" name="pm_msg" method="post" action="" class="form-horizontal" style="margin:0px;">
<div class="modal-body">
<div id="private_message_response" class="alert hide"></div>
{assign var='form_fields' value=$cbpm->load_compose_form()}
<fieldset>
{foreach from=$form_fields item=field}
{if $field.type != 'hidden'}
<div class="control-group">
<label for="{$field.id}" class="control-label">{$field.title}</label>
<div class="controls">
{if $field.hint_1}<p class="help-block">{$field.hint_1}</p>{/if}
{$formObj->createField($field)}
{if $field.hint_2}<p class="help-block">{$field.hint_2}</p>{/if}
</div>
</div>
{else}
{$formObj->createField($field)}
{/if}
{/foreach}
</fieldset>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" type="button">{lang code='Close'}</button>
<button class="btn btn-primary" id="cb_send_photo_pm" data-loading-text='{lang code="Sending ..."}' data-complete-text="{lang code='Sent'}" type="button" onclick="send_private_message( event );">{lang code='com_send_message'}</button>
</div>
</form>
</div>