{* $Id: picture.tpl 2903 2008-11-23 17:25:24Z patdenice $ *} {* Example of resizeable *} {* {include file='include/autosize.inc.tpl'} *} {if isset($errors)}
{/if} {if isset($infos)}
{/if} {if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if}
{'home'|@translate} {if !$IS_HOME}{$LEVEL_SEPARATOR}{$SECTION_TITLE}{/if} {$LEVEL_SEPARATOR}{$current.TITLE}
{$PHOTO}
{if $SHOW_PICTURE_NAME_ON_TITLE }

{$current.TITLE}

{/if}
{if isset($U_SLIDESHOW_START) } {'slideshow'|@translate} {/if} {if isset($U_SLIDESHOW_STOP) } {'slideshow_stop'|@translate} {/if} metadata {if isset($current.U_DOWNLOAD) } {'download'|@translate} {/if} {if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if} {if isset($favorite) } favorite {/if} {if !empty($U_SET_AS_REPRESENTATIVE) } {'representative'|@translate} {/if} {if isset($U_ADMIN) } {'edit'|@translate} {/if} {if isset($U_CADDIE) }{*caddie management BEGIN*} {'caddie'|@translate} {/if}{*caddie management END*}
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
{$ELEMENT_CONTENT} {if isset($COMMENT_IMG)}

{$COMMENT_IMG}

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

[ {'slideshow_stop'|@translate} ]

{/if}
{if isset($previous) } {/if} {if isset($next) } {/if} {if isset($rate_summary) } {/if} {if isset($rating)} {/if} {if 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}
{'Tags'|@translate} {if isset($related_tags)} {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if} {$tag.name}{/foreach} {/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, 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} {foreach from=$meta.lines item=value key=label} {/foreach} {/foreach}
{$meta.TITLE}
{$label} {$value}
{/if}
{if isset($COMMENT_COUNT)}
{if $COMMENT_COUNT > 0}

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

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