{if ($DISPLAY_NAV_THUMB) && !($nothumbs)}
{if isset($previous) }{/if}
{if isset($next) }{/if}
{/if}
{if $showTitle }
{$ELEMENT_CONTENT}
{if $smarty.config.showDescriptionInsteadOfTitle}
{$COMMENT_IMG|strip_tags:false}
{else}
{$current.TITLE}
{/if}
{assign var='display_info_panel' value=false}
{assign var='display_count' value='0'}
{if $display_info.author}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.created_on}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.posted_on}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.dimensions}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.file}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.filesize}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.categories}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.visits}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.average_rate and isset($rate_summary) }{assign var='display_count' value=$display_count+1}{/if}
{if isset($rating)}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.privacy_level and isset($available_permission_levels) }{assign var='display_count' value=$display_count+1}{/if}
{if (($display_count > 0) && ((isset($U_ADMIN)) || ($smarty.config.infoTabAdminOnly == false)))}
{assign var='display_info_panel' value=true}
{/if}
-
{if $display_description_tab}
- {$meta.TITLE} {/foreach} {/if} {if $display_info_panel}
- {'Informations'|@translate} {/if} {if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) }
- {$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)} {/if}
{if $display_description_tab}
{/foreach}
{/if}
{if $display_info_panel}
{if $display_info.author}
{/if}
{if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) }
{/if}
{/if}
{if ($display_info.tags && (isset($related_tags) || ($usertags)))}
{/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}
{else}
{assign var='empty' value=''}
{$meta.lines.$empty}
{/if}
{$label|@translate} | {$value} |
{'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}{else}{'N/A'|@translate}{/if} |
{'File'|@translate} | {$INFO_FILE} |
{'Filesize'|@translate} | {if isset($INFO_FILESIZE)}{$INFO_FILESIZE}{else}{'N/A'|@translate}{/if} |
{'Categories'|@translate} |
{if isset($related_categories)}
|
{'Visits'|@translate} | {$INFO_VISITS} |
{'Average rate'|@translate} | {if $rate_summary.count} {assign var='rate_text' value='%.2f (rated %d times)'|@translate } {$pwg->sprintf($rate_text, $rate_summary.average, $rate_summary.count) } {else} {'no rate'|@translate} {/if} |
{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this picture'|@translate}{/if} | |
{'Who can see this photo?'|@translate} |
{if !empty($COMMENT_NAV_BAR)}
{/if}
{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
{if isset($comments)}
{/if}
{if isset($comment_add)}
{'Add a comment'|@translate}
{include file='comment_list.tpl'}
{/if}