{if isset($MENUBAR) and #menuAnimated# == "noswitch"}
{$MENUBAR}
{/if} {include file='dialogs.tpl'}
{if isset($MENUBAR) and #menuAnimated# != "noswitch"} {$MENUBAR} {/if}

[ {$SECTION_TITLE}{$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($U_METADATA)} {/if} {if #displayHighResIcon#=="yes" and isset($high) } {/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}
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} {if $SHOW_PICTURE_NAME_ON_TITLE }

{$current.TITLE}

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

{$COMMENT_IMG}

{else}

 

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

[ {'stop the slideshow'|@translate} ]

{/if}
{assign var='display_info_panel' value=false} {foreach from=$display_info item=displayitem} {if $displayitem} {assign var='display_info_panel' value=true} {/if} {/foreach}
{if $display_info_panel}
 
{if $display_info.author or $display_info.created_on or $display_info.posted_on} {assign var='colspan' value=8} {if $display_info.author} {assign var='colspan' value=`$colspan-3`} {/if} {if $display_info.created_on} {assign var='colspan' value=`$colspan-3`} {/if} {if $display_info.posted_on} {assign var='colspan' value=`$colspan-2`} {/if} {if $colspan!=0} {/if} {/if} {if $display_info.dimensions or $display_info.file or $display_info.filesize} {assign var='colspan' value=8} {if $display_info.dimensions} {assign var='colspan' value=`$colspan-3`} {/if} {if $display_info.file} {assign var='colspan' value=`$colspan-3`} {/if} {if $display_info.filesize} {assign var='colspan' value=`$colspan-2`} {/if} {if $colspan!=0} {/if} {/if} {if isset($related_tags) and $display_info.tags} {/if} {if isset($related_categories) and $display_info.categories} {/if} {if $display_info.visits} {/if} {if (isset($rate_summary) or isset($rating)) and $display_info.rating_score} {if isset($rate_summary)} {else} {/if} {if isset($rating)} {else} {/if} {/if} {if isset($available_permission_levels) and $display_info.privacy_level} {/if}
             
{'Author'|@translate} {if isset($INFO_AUTHOR)}{$INFO_AUTHOR}{else}{'N/A'|@translate}{/if}  {'Created on'|@translate} {if isset($INFO_CREATION_DATE)}{$INFO_CREATION_DATE}{else}{'N/A'|@translate}{/if}  {'Posted on'|@translate} {$INFO_POSTED_DATE} 
{'Dimensions'|@translate} {if isset($INFO_DIMENSIONS)}{$INFO_DIMENSIONS|@replace:"*":"x"}{else}{'N/A'|@translate}{/if}  {'File'|@translate} {$INFO_FILE}  {'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}
 
{'Albums'|@translate} {foreach from=$related_categories item=cat name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if} {$cat} {/foreach}
 
{'Visits'|@translate} {$INFO_VISITS}
{'Rating score'|@translate} {if $rate_summary.count} {$rate_summary.score} ({assign var='rate_text' value='%d rates'|@translate}{$pwg->sprintf($rate_text, $rate_summary.count)}) {else} {'no rate'|@translate} {/if}    {if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@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} {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {combine_script id='rating' load='async' require='core.scripts' path='themes/default/js/rating.js'} {footer_script} var _pwgRatingAutoQueue = _pwgRatingAutoQueue||[]; _pwgRatingAutoQueue.push( {ldelim}rootUrl: '{$ROOT_URL}', image_id: {$current.id}, onSuccess : function(rating) {ldelim} var e = document.getElementById("updateRate"); if (e) e.innerHTML = "{'Update your rating'|@translate|@escape:'javascript'}"; e = document.getElementById("ratingScore"); if (e) e.innerHTML = rating.score; e = document.getElementById("ratingCount"); if (e) e.innerHTML = "({'%d rates'|@translate|@escape:'javascript'})".replace( "%d", rating.count); {rdelim}{rdelim} ); {/footer_script}
 
{'Who can see this photo?'|@translate}:
{/if} {if isset($metadata)} {foreach from=$metadata item=meta key=id}
 
{if count($meta.lines)>0 and !array_key_exists('', $meta.lines)} {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}
{else} {assign var='empty' value=''} {$meta.lines.$empty} {/if}
{/foreach} {/if} {if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) }
 
{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/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}

{'Add a comment'|@translate}

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