{'Information'|@translate}
{if $display_info.author and isset($INFO_AUTHOR)}
- {'Author'|@translate}
- {$INFO_AUTHOR}
{/if}
{if isset($CR_INFO_NAME) && !empty($CR_INFO_NAME)}
- {'Copyright'|@translate}
- {if isset($CR_INFO_URL)}{$CR_INFO_NAME}{else}{$CR_INFO_NAME}{/if}
{/if}
{if $display_info.created_on and isset($INFO_CREATION_DATE)}
- {'Created on'|@translate}
- {$INFO_CREATION_DATE}
{/if}
{if $display_info.posted_on}
- {'Posted on'|@translate}
- {$INFO_POSTED_DATE}
{/if}
{if $display_info.visits}
- {'Visits'|@translate}
- {$INFO_VISITS}
{/if}
{if $display_info.dimensions and isset($INFO_DIMENSIONS)}
- {'Dimensions'|@translate}
- {$INFO_DIMENSIONS}
{/if}
{if $display_info.file}
- {'File'|@translate}
- {$INFO_FILE}
{/if}
{if $display_info.filesize and isset($INFO_FILESIZE)}
- {'Filesize'|@translate}
- {$INFO_FILESIZE}
{/if}
{if $display_info.tags and isset($related_tags)}
{/if}
{if $display_info.categories and isset($related_categories)}
- {'Albums'|@translate}
-
{foreach from=$related_categories item=cat name=cat_loop}
{if !$smarty.foreach.cat_loop.first}
{/if}{$cat}
{/foreach}
{/if}
{if $display_info.rating_score and isset($rate_summary)}
- {'Rating score'|@translate}
-
{if $rate_summary.count}
{$rate_summary.score} ({$rate_summary.count|@translate_dec:'%d rate':'%d rates'})
{else}
{'no rate'|@translate}
{/if}
{/if}
{if isset($rating)}
- {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)}
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
{footer_script require='jquery'}{strip}
function setPrivacyLevel(id, level, label) {
(new PwgWS('{$ROOT_URL}')).callService(
"pwg.images.setPrivacyLevel", { image_id:id, level:level},
{
method: "POST",
onFailure: function(num, text) { alert(num + " " + text); },
onSuccess: function(result) {
jQuery('#dropdownPermissions').html(label + ' ');
jQuery('.permission-li').removeClass('active');
jQuery('#permission-' + level).addClass('active');
}
}
);
}
(SwitchBox=window.SwitchBox||[]).push("#privacyLevelLink", "#privacyLevelBox");
{/strip}{/footer_script}
- {'Who can see this photo?'|@translate}
-
{/if}
{if isset($metadata)}
{foreach from=$metadata item=meta}
{$meta.TITLE}
{foreach from=$meta.lines item=value key=label}
- {$label}
- {$value}
{/foreach}
{/foreach}
{/if}