aboutsummaryrefslogtreecommitdiffstats
path: root/template-extension/distributed/samples/my-thumbnails2.tpl
blob: 33f6e0569c84d7cdbd80d88d432857174b95361d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{* $Id$ *}
<!-- This is a sample of template extensions -->
{if !empty($thumbnails)}
<ul class="thumbnails">
{foreach from=$thumbnails item=thumbnail}
	<li>
	<fieldset class="wrap1">
		<legend class="thumbLegend">
		{if !empty($thumbnail.ELEMENT_NAME)}{$thumbnail.ELEMENT_NAME}{/if}
		</legend>
		<a href="{$thumbnail.U_IMG_LINK}" class="wrap2">
			<img class="thumbnail" src="{$thumbnail.IMAGE}" alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}" />
		</a>
  </fieldset>
	</li>
{/foreach}
</ul>
{/if}