{include file='dialogs.tpl'}

[ {'home'|@translate} {if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if} {$LEVEL_SEPARATOR}{$current.TITLE} ]

{$PHOTO}

 

{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if}
 
{if isset($U_SLIDESHOW_START) } {/if} {if isset($U_SLIDESHOW_STOP) } {/if} {if isset($current.U_DOWNLOAD) } {/if} {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} {if isset($favorite) } {/if} {if !empty($U_SET_AS_REPRESENTATIVE) } {/if} {if isset($U_ADMIN) } {/if} {if isset($U_CADDIE) }{*caddie management BEGIN*} {/if} {*caddie management END*}
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} {if $SHOW_PICTURE_NAME_ON_TITLE }

{$current.TITLE}

{/if}
{if isset($previous) } {/if} {if isset($next) } {/if}
{$ELEMENT_CONTENT} {if isset($COMMENT_IMG)}

{$COMMENT_IMG}

{else}

 

{/if} {if isset($U_SLIDESHOW_STOP) }

[ {'slideshow_stop'|@translate} ]

{/if}
 
{if isset($related_tags)} {/if} {if isset($related_categories)} {/if} {if isset($rate_summary) or isset($rating)} {if isset($rate_summary)} {else} {/if} {if isset($rating)} {else} {/if} {/if} {if isset($available_permission_levels) } {/if}
     
{'Author'|@translate} {if isset($INFO_AUTHOR)}{$INFO_AUTHOR}{else}{'N/A'|@translate}{/if}   {'Dimensions'|@translate} {if isset($INFO_DIMENSIONS)}{$INFO_DIMENSIONS|@replace:"*":"x"}{else}{'N/A'|@translate}{/if}
{'Created on'|@translate} {if isset($INFO_CREATION_DATE)}{$INFO_CREATION_DATE}{else}{'N/A'|@translate}{/if}   {'File'|@translate} {$INFO_FILE}
{'Posted on'|@translate} {$INFO_POSTED_DATE}   {'Filesize'|@translate} {if isset($INFO_FILESIZE)}{$INFO_FILESIZE}{else}{'N/A'|@translate}{/if}
 
{'Tags'|@translate} {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if} {$tag.name}{/foreach}
 
{'Categories'|@translate} {foreach from=$related_categories item=cat name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if} {$cat} {/foreach}
 
{'Visits'|@translate} {$INFO_VISITS}
{'Average rate'|@translate} {if $rate_summary.count} {assign var='rate_text' value='%.2f (rated %d times, standard deviation = %.2f)'|@translate } {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count, $rate_summary.std) } {else} {'no_rate'|@translate} {/if}    {if isset($rating.USER_RATE)}{'update_rate'|@translate}{else}{'new_rate'|@translate}{/if}
  {foreach from=$rating.marks item=mark name=rate_loop} {if !$smarty.foreach.rate_loop.first} | {/if} {if isset($rating.USER_RATE) && $mark==$rating.USER_RATE} {else} {/if} {/foreach}
 
{'Privacy level'|@translate}:
{if isset($metadata)} {foreach from=$metadata item=meta key=id}
 
{foreach from=$meta.lines item=value key=label name=metaloop} {if ($smarty.foreach.metaloop.iteration-1) % #metaNumCols# == 0} {if !$smarty.foreach.metaloop.first}{/if} {if !$smarty.foreach.metaloop.last}{/if} {/if} {/foreach}
{$label|@translate} {$value|@replace:',':', '}
{/foreach} {/if} {if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) }
 
{if !empty($COMMENT_NAV_BAR)} {/if} {if isset($comment_add) or isset($comments)} {if isset($comment_add)} {if isset($comments)} {/if} {if isset($comments)} {if isset($comment_add)} {/if}
{else} {/if}

{'comments_add'|@translate}

{if $comment_add.SHOW_AUTHOR} {/if}
{'upload_author'|@translate}
{else} {/if}
{include file='comment_list.tpl' comment_separator=true}
{/if}
{/if} {*comments*}
{if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if}