From: <gim...@us...> - 2003-08-22 21:35:45
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs1:/tmp/cvs-serv19984/templates Modified Files: Tag: release_eta_carinea_rc1 tiki-browse_image.tpl Log Message: Now only make the 'Click to enlarge' link if there is a larger scale available. Index: tiki-browse_image.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-browse_image.tpl,v retrieving revision 1.17.2.5 retrieving revision 1.17.2.6 diff -u -d -r1.17.2.5 -r1.17.2.6 --- tiki-browse_image.tpl 12 Aug 2003 08:29:14 -0000 1.17.2.5 +++ tiki-browse_image.tpl 22 Aug 2003 21:35:40 -0000 1.17.2.6 @@ -41,11 +41,16 @@ {/if} <div class="showimage" {if ($popup) }height=400{/if}> + {if $nextx != 0} + <a href="tiki-browse_image.php?offset={$offset}&sort_mode={$sort_mode}&desp={$desp}&galleryId={$galleryId}&imageId={$imageId}&xsize={$nextx}&ysize={$nexty}&scaled" title="{tr}Click to enlarge{/tr}"> + {/if} {if $itype=='o'} <img alt="image" src="show_image.php?id={$imageId}" /> {else} - <a href="tiki-browse_image.php?offset={$offset}&sort_mode={$sort_mode}&desp={$desp}&galleryId={$galleryId}&imageId={$imageId}&xsize={$nextx}&ysize={$nexty}&scaled" title="{tr}Klick to enlarge{/tr}"> - <img alt="image" src="show_image.php?id={$imageId}&scaled&xsize={$sxsize}&ysize={$sysize}" /></a> + <img alt="image" src="show_image.php?id={$imageId}&scaled&xsize={$sxsize}&ysize={$sysize}" /> + {/if} + {if $nextx != 0} + </a> {/if} </div> |