-
{foreach from=$errors item=error}
- {$error} {/foreach}
-
{foreach from=$infos item=info}
- {$info} {/foreach}
{$SECTION_TITLE} {$LEVEL_SEPARATOR}{$current.TITLE}
{$PHOTO}
{if $SHOW_PICTURE_NAME_ON_TITLE}
{$current.TITLE}
{/if}
{strip}{if isset($U_SLIDESHOW_START)}
{/if}{/strip}
{strip}{if isset($U_METADATA)}
{/if}{/strip}
{strip}{if isset($current.U_DOWNLOAD)}
{/if}{/strip}
{if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if}
{strip}{if isset($favorite)}
{/if}{/strip}
{strip}{if isset($U_SET_AS_REPRESENTATIVE)}
{/if}{/strip}
{strip}{if isset($U_ADMIN)}
{/if}{/strip}
{strip}{if isset($U_CADDIE)}{*caddie management BEGIN*}
{footer_script}
{literal}function addToCadie(aElement, rootUrl, id)
{
if (aElement.disabled) return;
aElement.disabled=true;
var y = new PwgWS(rootUrl);
y.callService(
"pwg.caddie.add", {image_id: id} ,
{
onFailure: function(num, text) { alert(num + " " + text); document.location=aElement.href; },
onSuccess: function(result) { aElement.disabled = false; }
}
);
}{/literal}
{/footer_script}
{/if}{/strip}{*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)} {/if}
{if $DISPLAY_NAV_THUMB}
{if isset($previous)}
{/if}
{if isset($next)}
{/if}
{/if}
{strip}
{if $display_info.author}
{if isset($metadata)}
{foreach from=$metadata item=meta}
{/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} |
{'Albums'|@translate} |
{if isset($related_categories)}
|
{'Visits'|@translate} | {$INFO_VISITS} |
{'Rating'|@translate} | {if $rate_summary.count} {assign var='rate_text' value='%.2f (rated %d times)'|@translate} {$pwg->sprintf($rate_text, $rate_summary.score, $rate_summary.count, $rate_summary.average)} {else} {'no rate'|@translate} {/if} |
{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if} | |
{'Who can see this photo?'|@translate} | {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {footer_script} {literal}function setPrivacyLevel(selectElement, rootUrl, id, level) { selectElement.disabled = true; var y = new PwgWS(rootUrl); y.callService( "pwg.images.setPrivacyLevel", {image_id: id, level:level} , { method: "POST", onFailure: function(num, text) { selectElement.disabled = false; alert(num + " " + text); }, onSuccess: function(result) { selectElement.disabled = false; } } ); }{/literal} {/footer_script} |
{$meta.TITLE} | |
---|---|
{$label} | {$value} |
{if isset($COMMENT_COUNT)}
{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}
{/if} {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} {if isset($comments)} {include file='comment_list.tpl'} {/if} {if isset($comment_add)} {/if}