{* Example of resizeable {include file='include/autosize.inc.tpl'} *} {if isset($errors)}
{$COMMENT_IMG} |
{'Author'|@translate} | {if isset($INFO_AUTHOR)}{$INFO_AUTHOR}{else}{'N/A'|@translate}{/if} | {if isset($COMMENT_LIC)}{'Licence area'|@translate} | {if isset($COMMENT_LIC)}{$COMMENT_LIC}{else}{'N/A'|@translate}{/if} |
{/if}
{/if}
{'Created on'|@translate} | {if isset($INFO_CREATION_DATE)}{$INFO_CREATION_DATE}{else}{'N/A'|@translate}{/if} | {/if} {if $display_info.posted_on}{'Posted on'|@translate} | {$INFO_POSTED_DATE} | {/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} | {/if} {if $display_info.categories}{'Albums'|@translate} |
{if isset($related_categories)}
|
{/if}
{'File'|@translate} | {$INFO_FILE}, {if $display_info.dimensions}{if isset($INFO_DIMENSIONS)}{$INFO_DIMENSIONS}{else}{'N/A'|@translate}{/if}, {/if} {if $display_info.filesize}{if isset($INFO_FILESIZE)}{$INFO_FILESIZE}{else}{'N/A'|@translate}{/if}{/if} {/if} {if $display_info.visits} | {'Visits'|@translate} |
{$INFO_VISITS} {'Visits'|@translate} {if $display_info.average_rate and isset($rate_summary)}, {/if} |
{/if}
{/if}
{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if} | {/if} {if $display_info.privacy_level and isset($available_permission_levels)} | {'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} | {/if} {/strip}
{$meta.TITLE} | |
---|---|
{$label} | {$value} |
{$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}