additional_plugins/serendipity_event_picasa/tnt_fiveinarow.tpl
2011-12-13 12:29:05 +01:00

25 lines
1.1 KiB
Smarty

<h4 class='serendipity_event_picasa'>{$serendipity_event_picasa_albumName}</h4>
{if $serendipity_event_picasa_albumCaption}
<h5 class='serendipity_event_picasa'>{$serendipity_event_picasa_albumCaption}</h5>
{/if}
<table width="100%">
<tr>
{foreach from=$serendipity_event_picasa_images item=image}
<td><a href="{$image.itemLargeImage}"
{if $serendipity_event_picasa_use_jswindow}
onClick="window.open('{$image.itemLargeImage}', 'picasa', 'height={$image.itemHeight+20}, width={$image.itemWidth+20}, resizable=no, scrollbars=no, toolbar=no, status=no, menubar=no, location=no')"
{/if}
target="picasa"><img
border="0"
src="{$image.itemThumbnailImage}"
height="{$image.itemThumbnailHeight}"
width="{$image.itemThumbnailWidth}"
alt="{$image.itemCaption}" /></a></td>
{cycle values="1,2,3,4,5" assign=c print=false}
{if $c==5}
</tr><tr>
{/if}
{/foreach}
</tr>
</table>