source: trunk/themes/default/template/picture_content.tpl @ 11062

Revision 11062, 599 bytes checked in by mistic100, 9 years ago (diff)

add an id=theMainImage for main image and class=imageComment for image comment

  • Property svn:eol-style set to LF
Line 
1{if isset($high)}
2{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
3<a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
4{/if}
5        <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}" id="theMainImage"
6        {if isset($COMMENT_IMG)}
7                title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}"
8        {/if}>
9{if isset($high) }
10</a>
11        <p>{'Click on the photo to see it in high definition'|@translate}</p>
12{/if}
Note: See TracBrowser for help on using the repository browser.