{$ELEMENT_CONTENT}
{if ($stripped_responsive.imageCaption == 'description' )}
{$COMMENT_IMG}
{/if}
{if ($stripped_responsive.imageCaption == 'title' )}
{$current.TITLE}
{/if}
{assign var='display_info_panel' value=false}
{assign var='display_count' value='0'}
{if $display_info.author}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.created_on}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.posted_on}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.dimensions}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.file}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.filesize}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.categories}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.visits}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.rating_score and isset($rate_summary) }{assign var='display_count' value=$display_count+1}{/if}
{if isset($rating)}{assign var='display_count' value=$display_count+1}{/if}
{if $display_info.privacy_level and isset($available_permission_levels) }{assign var='display_count' value=$display_count+1}{/if}
{if (($display_count > 0) && ((isset($U_ADMIN)) || ($stripped_responsive.infoTabAdminOnly == false)))}
{assign var='display_info_panel' value=true}
{/if}
-
{if $display_description_tab}
- {$meta.TITLE} {/foreach} {/if} {if $display_info_panel}
- {'Information'|@translate} {/if} {if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) }
- {$COMMENT_COUNT|translate_dec:'%d comment':'%d comments'} {/if}
{if $display_description_tab}
{/foreach}
{/if}
{if $display_info_panel}
{if $display_info.privacy_level and isset($available_permission_levels)}
{/if}
{if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) }
{/if}
{/if}
{if ($display_info.tags && (isset($related_tags) || ($usertags)))}
{/if}
{if isset($metadata)}
{foreach from=$metadata item=meta key=id}
{if count($meta.lines)>0 and !array_key_exists('', $meta.lines)}
{foreach from=$meta.lines item=value key=label}
{else}
{assign var='empty' value=''}
{$meta.lines.$empty}
{/if}
{$label|@translate} | {$value} |
-
{strip}
{if $display_info.author and isset($INFO_AUTHOR)}
- {'Author'|@translate}
- {$INFO_AUTHOR}
- {'Created on'|@translate}
- {$INFO_CREATION_DATE}
- {'Posted on'|@translate}
- {$INFO_POSTED_DATE}
- {'Dimensions'|@translate}
- {$INFO_DIMENSIONS}
- {'File'|@translate}
- {$INFO_FILE}
- {'Filesize'|@translate}
- {$INFO_FILESIZE}
- {'Tags'|@translate}
- {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}
- {'Albums'|@translate}
-
-
{foreach from=$related_categories item=cat}
- {$cat} {/foreach}
- {'Visits'|@translate}
- {$INFO_VISITS}
- {'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 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} |
{if !empty($COMMENT_NAV_BAR)}
{/if}
{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
{if isset($comments)}
{/if}
{if isset($comment_add)}
{'Add a comment'|@translate}
{if isset($COMMENT_LIST)}
{$COMMENT_LIST}
{else}
{include file='comment_list.tpl'}
{/if}
{/if}