{$PHOTO}
{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*}
{$ELEMENT_CONTENT}
{if isset($COMMENT_IMG)}
{*
*}{*
*}{$COMMENT_IMG}
{/if} {if isset($U_SLIDESHOW_STOP)} {/if}-
{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} {if $rate_summary.count == 1} {assign var='rate_text' value='%d rate'|@translate} {else} {assign var='rate_text' value='%d rates'|@translate} {/if} {$rate_summary.score} ({$pwg->sprintf($rate_text, $rate_summary.count)}) {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 require='jquery'} {literal}function setPrivacyLevel(rootUrl, id, level) { var y = new PwgWS(rootUrl); y.callService( "pwg.images.setPrivacyLevel", {image_id: id, level:level} , { method: "POST", onFailure: function(num, text) { alert(num + " " + text); }, onSuccess: function(result) { jQuery('#privacyLevelBox .switchCheck').css('visibility','hidden'); jQuery('#levelCheck'+level).css('visibility','visible'); } } ); } function togglePrivacyLevelBox() { var elt = document.getElementById("privacyLevelBox"), ePos = document.getElementById("privacyLevelLink"); if (elt.style.display == "none") { elt.style.left = (ePos.offsetLeft)+"px"; elt.style.top = (ePos.offsetTop+ePos.offsetHeight)+"px"; elt.style.display="block"; } else elt.style.display="none"; } {/literal} {/footer_script}
-
{foreach from=$metadata item=meta}
- {$label}
- {$value}
{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}
{'Add a comment'|@translate}