{* $Id: picture.tpl 2352 2008-05-20 00:27:26Z patdenice $ *} {if isset($errors)}
{/if} {if isset($infos)}
{/if}
{'home'|@translate} {$LEVEL_SEPARATOR}{$SECTION_TITLE} {$LEVEL_SEPARATOR}{$current.TITLE}
{$PHOTO}
{if $SHOW_PICTURE_NAME_ON_TITLE }

{$current.TITLE}

{/if}
{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/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'|@translate} {/if}
{include file=$FILE_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}
{'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($metadata)} {foreach from=$metadata item=meta} {foreach from=$meta.lines item=value key=label} {/foreach} {/foreach}
{$meta.TITLE}
{$label} {$value}
{/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}
{if isset($COMMENT_COUNT)}

[{$COMMENT_COUNT}] {'comments_title'|@translate}

{if isset($comments)} {foreach from=$comments item=comment}
{if isset($comment.U_DELETE)}

[{'delete'|@translate}]

{/if}

{$comment.AUTHOR} - {$comment.DATE}

{$comment.CONTENT}
{/foreach} {/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}