{$PHOTO}
{'home'|@translate} {if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if} ยป

{$current.TITLE}

{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if}
{if isset($errors) and count($errors)}
{/if} {if isset($infos) and count($infos)}
{/if}
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
{if isset($previous) } {/if} {if isset($next) } {/if}
{if isset($metadata)}
{foreach from=$metadata item=meta}

{$meta.TITLE}

{foreach from=$meta.lines item=value key=label}
{$label}
{$value}
{/foreach}
{/foreach}
{/if}
{if isset($INFO_AUTHOR)}
{'Author'|@translate}
{$INFO_AUTHOR}
{/if} {if isset($INFO_CREATION_DATE)}
{'Created on'|@translate}
{$INFO_CREATION_DATE}
{/if} {if isset($related_tags)}
{'Tags'|@translate}
{foreach from=$related_tags item=tag name=tag_loop} {if !$smarty.foreach.tag_loop.first}, {/if} {$tag.name}{/foreach}
{/if} {if isset($related_categories)}
{'Categories'|@translate}
{foreach from=$related_categories item=cat name=tag_loop} {if !$smarty.foreach.tag_loop.first}, {/if} {' '|@str_ireplace:' ':$cat}{/foreach}
{/if}
{'Visits'|@translate}
{$INFO_VISITS}
{if isset($rate_summary)}
{'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} {if isset($rating)}
{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}
{/if}
{$ELEMENT_CONTENT} {if isset($COMMENT_IMG)}

{$COMMENT_IMG}

{/if}
{if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) }

{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}

{if !empty($COMMENT_NAV_BAR)} {/if} {if isset($comment_add)}

{'comments_add'|@translate}

{if $comment_add.SHOW_AUTHOR}

{/if}

{/if} {if isset($comments)}
{include file='comment_list.tpl' comment_separator=true}
{/if}
{/if} {*comments*}
{if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if}