2012-05-28 07:10:27 +00:00
|
|
|
{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> » {$photo.photo_title}</h3>
|
|
|
|
<div class="thumbnail inlineblock" style="width: {$pd.l.width}px">
|
2012-05-18 13:47:20 +00:00
|
|
|
{get_photo details=$object size='l' output='html'}
|
|
|
|
</div>
|
2012-05-28 07:10:27 +00:00
|
|
|
<div id="some" class="inlineblock marginL10 well" style="padding: 8px 0; vertical-align: top"></div>
|
2012-05-18 13:47:20 +00:00
|
|
|
|
|
|
|
<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">
|
2012-05-28 07:10:27 +00:00
|
|
|
<div id="private_message_response" class="alert hide"></div>
|
2012-05-18 13:47:20 +00:00
|
|
|
{assign var='form_fields' value=$cbpm->load_compose_form()}
|
|
|
|
<fieldset>
|
|
|
|
{foreach from=$form_fields item=field}
|
2012-05-28 07:10:27 +00:00
|
|
|
{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>
|
2012-05-18 13:47:20 +00:00
|
|
|
</div>
|
2012-05-28 07:10:27 +00:00
|
|
|
{else}
|
|
|
|
{$formObj->createField($field)}
|
|
|
|
{/if}
|
2012-05-18 13:47:20 +00:00
|
|
|
{/foreach}
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2012-05-28 07:10:27 +00:00
|
|
|
<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>
|
2012-05-18 13:47:20 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|