{if isset($errors)}
{/if} {if isset($infos)}
{/if}
{$SECTION_TITLE} {if ($smarty.config.showTitleOnBrowsePath)}{$LEVEL_SEPARATOR}{$current.TITLE}{/if}
{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if}
{assign var='display_description_tab' value=false} {if (!($smarty.config.showDescriptionInsteadOfTitle) && isset($COMMENT_IMG))} {assign var='display_description_tab' value=true} {/if} {assign var='showTitle' value=false} {if ($SHOW_PICTURE_NAME_ON_TITLE && (isset($COMMENT_IMG) || !($smarty.config.showDescriptionInsteadOfTitle) ))} {assign var='showTitle' value=true} {/if} {php} global $pwg_loaded_plugins; $this->assign('nothumbs', (isset($pwg_loaded_plugins[ 'Autosize' ]) || isset($pwg_loaded_plugins[ 'look_like_gbo2' ]))); $this->assign('usertags', (isset($pwg_loaded_plugins[ 'user_tags' ]))); {/php}
{if ($DISPLAY_NAV_THUMB) && !($nothumbs)} {if isset($previous) }
{/if} {if isset($next) }
{/if} {/if}
{$ELEMENT_CONTENT}
{if $showTitle }
{if $smarty.config.showDescriptionInsteadOfTitle} {$COMMENT_IMG|strip_tags:false} {else} {$current.TITLE} {/if}
{/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}
  • {'Description'|@translate}
  • {/if} {if ($display_info.tags && (isset($related_tags) || ($usertags)))}
  • {'Tags'|@translate}
  • {/if} {if isset($metadata)} {foreach from=$metadata item=meta key=id}
  • {$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}
{$COMMENT_IMG}
{/if} {if ($display_info.tags && (isset($related_tags) || ($usertags)))}
{if ($usertags)}
{/if} {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if} {$tag.name} {/foreach} {if ($usertags)}
{/if}
{/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} {/foreach}
{$label|@translate} {$value}
{else} {assign var='empty' value=''} {$meta.lines.$empty} {/if}
{/foreach} {/if} {if $display_info_panel}
{if $display_info.author} {/if} {if $display_info.created_on} {/if} {if $display_info.posted_on} {/if} {if $display_info.dimensions} {/if} {if $display_info.file} {/if} {if $display_info.filesize} {/if} {if $display_info.categories} {/if} {if $display_info.visits} {/if} {if $display_info.average_rate and isset($rate_summary) } {/if} {if isset($rating)} {/if} {if $display_info.privacy_level and isset($available_permission_levels) } {/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}{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)}
    {foreach from=$related_categories item=cat}
  • {$cat}
  • {/foreach}
{/if}
{'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}
  {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}
{'Who can see this photo?'|@translate}
{/if} {if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) }
{if !empty($COMMENT_NAV_BAR)} {/if} {if isset($comment_add)}

{'Add a comment'|@translate}

{if $comment_add.SHOW_AUTHOR}

{/if}

{/if} {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} {if isset($comments)}
{include file='comment_list.tpl'}
{/if}
{/if}
{if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if}