diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/template/picture_content.tpl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/themes/default/template/picture_content.tpl b/themes/default/template/picture_content.tpl index d65a9597a..c4c6da3bf 100644 --- a/themes/default/template/picture_content.tpl +++ b/themes/default/template/picture_content.tpl @@ -1,11 +1,12 @@ -{if isset($high) } +{if isset($high)} +{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} <a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')"> {/if} - <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}" + <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}" {if isset($COMMENT_IMG)} title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}" {/if}> {if isset($high) } </a> - <p>{'Click on the photo to see it in high definition'|@translate}</p> + <p>{'Click on the photo to see it in high definition'|@translate}</p> {/if} |